Files
npm-core-sdk/partnerApp_pb.ts
2025-03-17 09:56:44 +00:00

799 lines
28 KiB
TypeScript

// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file partnerApp.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import { CoreEndpoint, IntegrationEndpoint, NatsCredentials, OpenIDCredentials, OpenSearchCredentials, RequestPartnerAppHeader, RequestProjectHeader, StorageEndpoint, WorkflowExecutionResult } from "./shared_pb.js";
import { Paging } from "./base_pb.js";
/**
* @generated from message api.PartnerApp
*/
export class PartnerApp extends Message<PartnerApp> {
/**
* @generated from field: string ID = 1;
*/
ID = "";
/**
* @generated from field: string Name = 2;
*/
Name = "";
/**
* @generated from field: string Description = 3;
*/
Description = "";
/**
* @generated from field: string BucketPath = 4;
*/
BucketPath = "";
/**
* @generated from field: string NatsRootSubject = 5;
*/
NatsRootSubject = "";
/**
* @generated from field: string ProjectID = 6;
*/
ProjectID = "";
/**
* @generated from field: string OrganisationID = 7;
*/
OrganisationID = "";
/**
* @generated from field: string NatsServer = 8;
*/
NatsServer = "";
constructor(data?: PartialMessage<PartnerApp>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.PartnerApp";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "BucketPath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "NatsRootSubject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "NatsServer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PartnerApp {
return new PartnerApp().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PartnerApp {
return new PartnerApp().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PartnerApp {
return new PartnerApp().fromJsonString(jsonString, options);
}
static equals(a: PartnerApp | PlainMessage<PartnerApp> | undefined, b: PartnerApp | PlainMessage<PartnerApp> | undefined): boolean {
return proto3.util.equals(PartnerApp, a, b);
}
}
/**
* @generated from message api.CreatePartnerAppRequest
*/
export class CreatePartnerAppRequest extends Message<CreatePartnerAppRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* @generated from field: string Name = 2;
*/
Name = "";
/**
* @generated from field: string Description = 3;
*/
Description = "";
constructor(data?: PartialMessage<CreatePartnerAppRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.CreatePartnerAppRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePartnerAppRequest {
return new CreatePartnerAppRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePartnerAppRequest {
return new CreatePartnerAppRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePartnerAppRequest {
return new CreatePartnerAppRequest().fromJsonString(jsonString, options);
}
static equals(a: CreatePartnerAppRequest | PlainMessage<CreatePartnerAppRequest> | undefined, b: CreatePartnerAppRequest | PlainMessage<CreatePartnerAppRequest> | undefined): boolean {
return proto3.util.equals(CreatePartnerAppRequest, a, b);
}
}
/**
* CreatePartnerAppResult contains all the informations necessary for communication between a partner app and Platform
*
* @generated from message api.CreatePartnerAppResult
*/
export class CreatePartnerAppResult extends Message<CreatePartnerAppResult> {
/**
* Version of this definition of data.
* This number will increment with additions of new fields.
* In this message of any sub-message of it.
* Any implementation MUST ignore unknown fields,
* Any implementation MAY reject versions that are posterior to their implementation,
* Any implementation MUST accept any and all previous versions of this message definition.
* new fields introcuced in any version MUST NOT be mandatory.
*
* @generated from field: int32 Version = 1;
*/
Version = 0;
/**
* Unique identifiers for the organisation & the project the partnerapp belongs to.
* This identifier is guaranteed unique across all organisations/projects.
* Empty string MUST raise an error and forbid registering the settings.
*
* @generated from field: string OrganisationID = 2;
*/
OrganisationID = "";
/**
* @generated from field: string ProjectID = 3;
*/
ProjectID = "";
/**
* Unique identifier for the partner app.
* This identifier is guaranteed unique across all organisations/projects/partnerapps.
* This ID is suitable for updating credential and access options without any content check.
* Empty string MUST raise an error and forbid registering the settings.
*
* @generated from field: string PartnerAppID = 4;
*/
PartnerAppID = "";
/**
* JWT for this partner app holding the partner app ID, the project ID and the organisation ID. This JWT is signed by the platform.
*
* @generated from field: string PartnerAppJWT = 11;
*/
PartnerAppJWT = "";
/**
* How to connect to the REST webservices of Reflex Platform (with JWT auth)
*
* @generated from field: api.CoreEndpoint Core = 5;
*/
Core?: CoreEndpoint;
/**
* How to connect to the REST webservices Integration Platform (with JWT auth)
*
* @generated from field: api.IntegrationEndpoint Integration = 6;
*/
Integration?: IntegrationEndpoint;
/**
* Platform OpenID Connect server configuration and credentials
*
* @generated from field: api.OpenIDCredentials OpenID = 7;
*/
OpenID?: OpenIDCredentials;
/**
* connecting to the NATS endpoint (with decentralized JWT auth)
*
* @generated from field: api.NatsCredentials Nats = 8;
*/
Nats?: NatsCredentials;
/**
* connecting to the OpenSearch endpoint (with basic auth)
*
* @generated from field: api.OpenSearchCredentials OpenDistro = 9;
*/
OpenDistro?: OpenSearchCredentials;
/**
* connecting to the Google Cloud Storage endpoint (with STS auth)
*
* @generated from field: api.StorageEndpoint Storage = 10;
*/
Storage?: StorageEndpoint;
constructor(data?: PartialMessage<CreatePartnerAppResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.CreatePartnerAppResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
{ no: 2, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "PartnerAppID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 11, name: "PartnerAppJWT", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "Core", kind: "message", T: CoreEndpoint },
{ no: 6, name: "Integration", kind: "message", T: IntegrationEndpoint },
{ no: 7, name: "OpenID", kind: "message", T: OpenIDCredentials },
{ no: 8, name: "Nats", kind: "message", T: NatsCredentials },
{ no: 9, name: "OpenDistro", kind: "message", T: OpenSearchCredentials },
{ no: 10, name: "Storage", kind: "message", T: StorageEndpoint },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePartnerAppResult {
return new CreatePartnerAppResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePartnerAppResult {
return new CreatePartnerAppResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePartnerAppResult {
return new CreatePartnerAppResult().fromJsonString(jsonString, options);
}
static equals(a: CreatePartnerAppResult | PlainMessage<CreatePartnerAppResult> | undefined, b: CreatePartnerAppResult | PlainMessage<CreatePartnerAppResult> | undefined): boolean {
return proto3.util.equals(CreatePartnerAppResult, a, b);
}
}
/**
* @generated from message api.UpdatePartnerAppRequest
*/
export class UpdatePartnerAppRequest extends Message<UpdatePartnerAppRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* @generated from field: string ID = 2;
*/
ID = "";
/**
* @generated from field: string Name = 3;
*/
Name = "";
/**
* @generated from field: string Description = 4;
*/
Description = "";
constructor(data?: PartialMessage<UpdatePartnerAppRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.UpdatePartnerAppRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "Description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePartnerAppRequest {
return new UpdatePartnerAppRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePartnerAppRequest {
return new UpdatePartnerAppRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePartnerAppRequest {
return new UpdatePartnerAppRequest().fromJsonString(jsonString, options);
}
static equals(a: UpdatePartnerAppRequest | PlainMessage<UpdatePartnerAppRequest> | undefined, b: UpdatePartnerAppRequest | PlainMessage<UpdatePartnerAppRequest> | undefined): boolean {
return proto3.util.equals(UpdatePartnerAppRequest, a, b);
}
}
/**
* @generated from message api.UpdatePartnerAppResult
*/
export class UpdatePartnerAppResult extends Message<UpdatePartnerAppResult> {
/**
* @generated from field: api.PartnerApp Result = 1;
*/
Result?: PartnerApp;
constructor(data?: PartialMessage<UpdatePartnerAppResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.UpdatePartnerAppResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: PartnerApp },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePartnerAppResult {
return new UpdatePartnerAppResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePartnerAppResult {
return new UpdatePartnerAppResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePartnerAppResult {
return new UpdatePartnerAppResult().fromJsonString(jsonString, options);
}
static equals(a: UpdatePartnerAppResult | PlainMessage<UpdatePartnerAppResult> | undefined, b: UpdatePartnerAppResult | PlainMessage<UpdatePartnerAppResult> | undefined): boolean {
return proto3.util.equals(UpdatePartnerAppResult, a, b);
}
}
/**
* @generated from message api.GetPartnerAppRequest
*/
export class GetPartnerAppRequest extends Message<GetPartnerAppRequest> {
/**
* @generated from field: api.RequestPartnerAppHeader Header = 1;
*/
Header?: RequestPartnerAppHeader;
constructor(data?: PartialMessage<GetPartnerAppRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.GetPartnerAppRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestPartnerAppHeader },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPartnerAppRequest {
return new GetPartnerAppRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPartnerAppRequest {
return new GetPartnerAppRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPartnerAppRequest {
return new GetPartnerAppRequest().fromJsonString(jsonString, options);
}
static equals(a: GetPartnerAppRequest | PlainMessage<GetPartnerAppRequest> | undefined, b: GetPartnerAppRequest | PlainMessage<GetPartnerAppRequest> | undefined): boolean {
return proto3.util.equals(GetPartnerAppRequest, a, b);
}
}
/**
* @generated from message api.GetPartnerAppResult
*/
export class GetPartnerAppResult extends Message<GetPartnerAppResult> {
/**
* @generated from field: api.PartnerApp Result = 1;
*/
Result?: PartnerApp;
constructor(data?: PartialMessage<GetPartnerAppResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.GetPartnerAppResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: PartnerApp },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPartnerAppResult {
return new GetPartnerAppResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPartnerAppResult {
return new GetPartnerAppResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPartnerAppResult {
return new GetPartnerAppResult().fromJsonString(jsonString, options);
}
static equals(a: GetPartnerAppResult | PlainMessage<GetPartnerAppResult> | undefined, b: GetPartnerAppResult | PlainMessage<GetPartnerAppResult> | undefined): boolean {
return proto3.util.equals(GetPartnerAppResult, a, b);
}
}
/**
* @generated from message api.ListPartnerAppsRequest
*/
export class ListPartnerAppsRequest extends Message<ListPartnerAppsRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* @generated from field: api.Paging Paging = 2;
*/
Paging?: Paging;
constructor(data?: PartialMessage<ListPartnerAppsRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.ListPartnerAppsRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "Paging", kind: "message", T: Paging },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPartnerAppsRequest {
return new ListPartnerAppsRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPartnerAppsRequest {
return new ListPartnerAppsRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPartnerAppsRequest {
return new ListPartnerAppsRequest().fromJsonString(jsonString, options);
}
static equals(a: ListPartnerAppsRequest | PlainMessage<ListPartnerAppsRequest> | undefined, b: ListPartnerAppsRequest | PlainMessage<ListPartnerAppsRequest> | undefined): boolean {
return proto3.util.equals(ListPartnerAppsRequest, a, b);
}
}
/**
* @generated from message api.ListPartnerAppsResult
*/
export class ListPartnerAppsResult extends Message<ListPartnerAppsResult> {
/**
* @generated from field: repeated api.PartnerApp Results = 1;
*/
Results: PartnerApp[] = [];
constructor(data?: PartialMessage<ListPartnerAppsResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.ListPartnerAppsResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Results", kind: "message", T: PartnerApp, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPartnerAppsResult {
return new ListPartnerAppsResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPartnerAppsResult {
return new ListPartnerAppsResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPartnerAppsResult {
return new ListPartnerAppsResult().fromJsonString(jsonString, options);
}
static equals(a: ListPartnerAppsResult | PlainMessage<ListPartnerAppsResult> | undefined, b: ListPartnerAppsResult | PlainMessage<ListPartnerAppsResult> | undefined): boolean {
return proto3.util.equals(ListPartnerAppsResult, a, b);
}
}
/**
* @generated from message api.DeletePartnerAppRequest
*/
export class DeletePartnerAppRequest extends Message<DeletePartnerAppRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* @generated from field: string ID = 2;
*/
ID = "";
constructor(data?: PartialMessage<DeletePartnerAppRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeletePartnerAppRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePartnerAppRequest {
return new DeletePartnerAppRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePartnerAppRequest {
return new DeletePartnerAppRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePartnerAppRequest {
return new DeletePartnerAppRequest().fromJsonString(jsonString, options);
}
static equals(a: DeletePartnerAppRequest | PlainMessage<DeletePartnerAppRequest> | undefined, b: DeletePartnerAppRequest | PlainMessage<DeletePartnerAppRequest> | undefined): boolean {
return proto3.util.equals(DeletePartnerAppRequest, a, b);
}
}
/**
* @generated from message api.DeletePartnerAppResult
*/
export class DeletePartnerAppResult extends Message<DeletePartnerAppResult> {
/**
* @generated from field: api.WorkflowExecutionResult WorkflowExecution = 1;
*/
WorkflowExecution?: WorkflowExecutionResult;
constructor(data?: PartialMessage<DeletePartnerAppResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeletePartnerAppResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "WorkflowExecution", kind: "message", T: WorkflowExecutionResult },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePartnerAppResult {
return new DeletePartnerAppResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePartnerAppResult {
return new DeletePartnerAppResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePartnerAppResult {
return new DeletePartnerAppResult().fromJsonString(jsonString, options);
}
static equals(a: DeletePartnerAppResult | PlainMessage<DeletePartnerAppResult> | undefined, b: DeletePartnerAppResult | PlainMessage<DeletePartnerAppResult> | undefined): boolean {
return proto3.util.equals(DeletePartnerAppResult, a, b);
}
}
/**
* @generated from message api.DeletePartnerAppInDBRequest
*/
export class DeletePartnerAppInDBRequest extends Message<DeletePartnerAppInDBRequest> {
/**
* @generated from field: string PartnerAppID = 1;
*/
PartnerAppID = "";
constructor(data?: PartialMessage<DeletePartnerAppInDBRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeletePartnerAppInDBRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "PartnerAppID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePartnerAppInDBRequest {
return new DeletePartnerAppInDBRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePartnerAppInDBRequest {
return new DeletePartnerAppInDBRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePartnerAppInDBRequest {
return new DeletePartnerAppInDBRequest().fromJsonString(jsonString, options);
}
static equals(a: DeletePartnerAppInDBRequest | PlainMessage<DeletePartnerAppInDBRequest> | undefined, b: DeletePartnerAppInDBRequest | PlainMessage<DeletePartnerAppInDBRequest> | undefined): boolean {
return proto3.util.equals(DeletePartnerAppInDBRequest, a, b);
}
}
/**
* @generated from message api.DeletePartnerAppInDBResult
*/
export class DeletePartnerAppInDBResult extends Message<DeletePartnerAppInDBResult> {
constructor(data?: PartialMessage<DeletePartnerAppInDBResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.DeletePartnerAppInDBResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePartnerAppInDBResult {
return new DeletePartnerAppInDBResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePartnerAppInDBResult {
return new DeletePartnerAppInDBResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePartnerAppInDBResult {
return new DeletePartnerAppInDBResult().fromJsonString(jsonString, options);
}
static equals(a: DeletePartnerAppInDBResult | PlainMessage<DeletePartnerAppInDBResult> | undefined, b: DeletePartnerAppInDBResult | PlainMessage<DeletePartnerAppInDBResult> | undefined): boolean {
return proto3.util.equals(DeletePartnerAppInDBResult, a, b);
}
}
/**
* @generated from message api.RenewPartnerAppRequest
*/
export class RenewPartnerAppRequest extends Message<RenewPartnerAppRequest> {
/**
* @generated from field: api.RequestPartnerAppHeader Header = 1;
*/
Header?: RequestPartnerAppHeader;
constructor(data?: PartialMessage<RenewPartnerAppRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.RenewPartnerAppRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestPartnerAppHeader },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenewPartnerAppRequest {
return new RenewPartnerAppRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenewPartnerAppRequest {
return new RenewPartnerAppRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenewPartnerAppRequest {
return new RenewPartnerAppRequest().fromJsonString(jsonString, options);
}
static equals(a: RenewPartnerAppRequest | PlainMessage<RenewPartnerAppRequest> | undefined, b: RenewPartnerAppRequest | PlainMessage<RenewPartnerAppRequest> | undefined): boolean {
return proto3.util.equals(RenewPartnerAppRequest, a, b);
}
}
/**
* @generated from message api.RenewPartnerAppResult
*/
export class RenewPartnerAppResult extends Message<RenewPartnerAppResult> {
/**
* @generated from field: int32 Version = 1;
*/
Version = 0;
/**
* @generated from field: string OrganisationID = 2;
*/
OrganisationID = "";
/**
* @generated from field: string ProjectID = 3;
*/
ProjectID = "";
/**
* @generated from field: string PartnerAppID = 4;
*/
PartnerAppID = "";
/**
* JWT for this partner app holding the partner app ID, the project ID and the organisation ID. This JWT is signed by the platform.
*
* @generated from field: string PartnerAppJWT = 11;
*/
PartnerAppJWT = "";
/**
* @generated from field: api.CoreEndpoint Core = 5;
*/
Core?: CoreEndpoint;
/**
* @generated from field: api.IntegrationEndpoint Integration = 6;
*/
Integration?: IntegrationEndpoint;
/**
* @generated from field: api.OpenIDCredentials OpenID = 7;
*/
OpenID?: OpenIDCredentials;
/**
* @generated from field: api.NatsCredentials Nats = 8;
*/
Nats?: NatsCredentials;
/**
* @generated from field: api.OpenSearchCredentials OpenDistro = 9;
*/
OpenDistro?: OpenSearchCredentials;
/**
* @generated from field: api.StorageEndpoint Storage = 10;
*/
Storage?: StorageEndpoint;
constructor(data?: PartialMessage<RenewPartnerAppResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "api.RenewPartnerAppResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
{ no: 2, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "PartnerAppID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 11, name: "PartnerAppJWT", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "Core", kind: "message", T: CoreEndpoint },
{ no: 6, name: "Integration", kind: "message", T: IntegrationEndpoint },
{ no: 7, name: "OpenID", kind: "message", T: OpenIDCredentials },
{ no: 8, name: "Nats", kind: "message", T: NatsCredentials },
{ no: 9, name: "OpenDistro", kind: "message", T: OpenSearchCredentials },
{ no: 10, name: "Storage", kind: "message", T: StorageEndpoint },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenewPartnerAppResult {
return new RenewPartnerAppResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenewPartnerAppResult {
return new RenewPartnerAppResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenewPartnerAppResult {
return new RenewPartnerAppResult().fromJsonString(jsonString, options);
}
static equals(a: RenewPartnerAppResult | PlainMessage<RenewPartnerAppResult> | undefined, b: RenewPartnerAppResult | PlainMessage<RenewPartnerAppResult> | undefined): boolean {
return proto3.util.equals(RenewPartnerAppResult, a, b);
}
}