You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-250827154105",
|
||||
"version": "1.12.0-SNAPSHOT-250829075109",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -62,6 +62,8 @@ import type { StartWorkflowDeletePartnerAppResult } from "./workflow";
|
||||
import type { StartWorkflowDeletePartnerAppRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteSiteResult } from "./workflow";
|
||||
import type { StartWorkflowDeleteSiteRequest } from "./workflow";
|
||||
import type { StartWorkflowCreateSiteResult } from "./workflow";
|
||||
import type { StartWorkflowCreateSiteRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteCoreResult } from "./workflow";
|
||||
import type { StartWorkflowDeleteCoreRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteProjectResult } from "./workflow";
|
||||
@@ -93,6 +95,10 @@ export interface IWorkflowServiceClient {
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteCore
|
||||
*/
|
||||
startWorkflowDeleteCore(input: StartWorkflowDeleteCoreRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCreateSite
|
||||
*/
|
||||
startWorkflowCreateSite(input: StartWorkflowCreateSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteSite
|
||||
*/
|
||||
@@ -247,207 +253,214 @@ export class WorkflowServiceClient implements IWorkflowServiceClient, ServiceInf
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCreateSite
|
||||
*/
|
||||
startWorkflowCreateSite(input: StartWorkflowCreateSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCreateSiteRequest, StartWorkflowCreateSiteResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteSite
|
||||
*/
|
||||
startWorkflowDeleteSite(input: StartWorkflowDeleteSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeletePartnerApp
|
||||
*/
|
||||
startWorkflowDeletePartnerApp(input: StartWorkflowDeletePartnerAppRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteConnection
|
||||
*/
|
||||
startWorkflowDeleteConnection(input: StartWorkflowDeleteConnectionRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowBilling
|
||||
*/
|
||||
startWorkflowBilling(input: StartWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StartWorkflowBillingRequest, StartWorkflowBillingResult> {
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowBillingRequest, StartWorkflowBillingResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StopWorkflowBilling
|
||||
*/
|
||||
stopWorkflowBilling(input: StopWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StopWorkflowBillingRequest, StopWorkflowBillingResult> {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StopWorkflowBillingRequest, StopWorkflowBillingResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowExtractDataFromDB
|
||||
*/
|
||||
startWorkflowExtractDataFromDB(input: StartWorkflowExtractDataFromDBRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult> {
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: RegisterModuleWorkflows
|
||||
*/
|
||||
registerModuleWorkflows(input: RegisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult> {
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: DeregisterModuleWorkflows
|
||||
*/
|
||||
deregisterModuleWorkflows(input: DeregisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult> {
|
||||
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetModuleWorkflows
|
||||
*/
|
||||
getModuleWorkflows(input: GetModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<GetModuleWorkflowsRequest, GetModuleWorkflowsResult> {
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetModuleWorkflowsRequest, GetModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StopWorkflow
|
||||
*/
|
||||
stopWorkflow(input: StopWorkflowRequest, options?: RpcOptions): UnaryCall<StopWorkflowRequest, StopWorkflowResult> {
|
||||
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StopWorkflowRequest, StopWorkflowResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowOptimizeClickhouse
|
||||
*/
|
||||
startWorkflowOptimizeClickhouse(input: StartWorkflowOptimizeClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult> {
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCreateOrganisation
|
||||
*/
|
||||
startWorkflowCreateOrganisation(input: StartWorkflowCreateOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult> {
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteOrganisation
|
||||
*/
|
||||
startWorkflowDeleteOrganisation(input: StartWorkflowDeleteOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult> {
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowRecoverData
|
||||
*/
|
||||
startWorkflowRecoverData(input: StartWorkflowRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult> {
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCheckAndLaunchRecoverData
|
||||
*/
|
||||
startWorkflowCheckAndLaunchRecoverData(input: StartWorkflowCheckAndLaunchRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult> {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowUpdateMaterializedView
|
||||
*/
|
||||
startWorkflowUpdateMaterializedView(input: StartWorkflowUpdateMaterializedViewRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult> {
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetWorkflowState
|
||||
*/
|
||||
getWorkflowState(input: GetWorkflowStateRequest, options?: RpcOptions): UnaryCall<GetWorkflowStateRequest, GetWorkflowStateResult> {
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetWorkflowStateRequest, GetWorkflowStateResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetWorkflowExecutionInformations
|
||||
*/
|
||||
getWorkflowExecutionInformations(input: GetWorkflowExecutionInformationsRequest, options?: RpcOptions): UnaryCall<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult> {
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDailyProjectsOperations
|
||||
*/
|
||||
startWorkflowDailyProjectsOperations(input: StartWorkflowDailyProjectsOperationsRequest, options?: RpcOptions): UnaryCall<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult> {
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowHealthCheckWorkflows
|
||||
*/
|
||||
startWorkflowHealthCheckWorkflows(input: StartWorkflowHealthCheckWorkflowsRequest, options?: RpcOptions): UnaryCall<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult> {
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowExtractKPI
|
||||
*/
|
||||
startWorkflowExtractKPI(input: StartWorkflowExtractKPIRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult> {
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowPruneData
|
||||
*/
|
||||
startWorkflowPruneData(input: StartWorkflowPruneDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult> {
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowSynchronizeRulesOnGit
|
||||
*/
|
||||
startWorkflowSynchronizeRulesOnGit(input: StartWorkflowSynchronizeRulesOnGitRequest, options?: RpcOptions): UnaryCall<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult> {
|
||||
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowAnonymizeData
|
||||
*/
|
||||
startWorkflowAnonymizeData(input: StartWorkflowAnonymizeDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult> {
|
||||
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowUpgradeModel
|
||||
*/
|
||||
startWorkflowUpgradeModel(input: StartWorkflowUpgradeModelRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult> {
|
||||
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowSweep
|
||||
*/
|
||||
startWorkflowSweep(input: StartWorkflowSweepRequest, options?: RpcOptions): UnaryCall<StartWorkflowSweepRequest, StartWorkflowSweepResult> {
|
||||
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowSweepRequest, StartWorkflowSweepResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCreateClickhouse
|
||||
*/
|
||||
startWorkflowCreateClickhouse(input: StartWorkflowCreateClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateClickhouseRequest, StartWorkflowCreateClickhouseResult> {
|
||||
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCreateClickhouseRequest, StartWorkflowCreateClickhouseResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteClickhouse
|
||||
*/
|
||||
startWorkflowDeleteClickhouse(input: StartWorkflowDeleteClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteClickhouseRequest, StartWorkflowDeleteClickhouseResult> {
|
||||
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteClickhouseRequest, StartWorkflowDeleteClickhouseResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCleanCassandra
|
||||
*/
|
||||
startWorkflowCleanCassandra(input: StartWorkflowCleanCassandraRequest, options?: RpcOptions): UnaryCall<StartWorkflowCleanCassandraRequest, StartWorkflowCleanCassandraResult> {
|
||||
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCleanCassandraRequest, StartWorkflowCleanCassandraResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
148
workflow.ts
148
workflow.ts
@@ -160,6 +160,36 @@ export interface StartWorkflowDeleteSiteResult {
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowCreateSiteRequest
|
||||
*/
|
||||
export interface StartWorkflowCreateSiteRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationId = 1
|
||||
*/
|
||||
OrganisationId: string;
|
||||
/**
|
||||
* @generated from protobuf field: string SiteId = 2
|
||||
*/
|
||||
SiteId: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UserSub = 3
|
||||
*/
|
||||
UserSub: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ManagerEmail = 4
|
||||
*/
|
||||
ManagerEmail: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowCreateSiteResult
|
||||
*/
|
||||
export interface StartWorkflowCreateSiteResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowDeletePartnerAppRequest
|
||||
*/
|
||||
@@ -1476,6 +1506,123 @@ class StartWorkflowDeleteSiteResult$Type extends MessageType<StartWorkflowDelete
|
||||
*/
|
||||
export const StartWorkflowDeleteSiteResult = new StartWorkflowDeleteSiteResult$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowCreateSiteRequest$Type extends MessageType<StartWorkflowCreateSiteRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowCreateSiteRequest", [
|
||||
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "SiteId", kind: "scalar", localName: "SiteId", jsonName: "SiteId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "UserSub", kind: "scalar", localName: "UserSub", jsonName: "UserSub", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "ManagerEmail", kind: "scalar", localName: "ManagerEmail", jsonName: "ManagerEmail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "SiteId", "UserSub", "ManagerEmail"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowCreateSiteRequest>): StartWorkflowCreateSiteRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.OrganisationId = "";
|
||||
message.SiteId = "";
|
||||
message.UserSub = "";
|
||||
message.ManagerEmail = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowCreateSiteRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateSiteRequest): StartWorkflowCreateSiteRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string OrganisationId */ 1:
|
||||
message.OrganisationId = reader.string();
|
||||
break;
|
||||
case /* string SiteId */ 2:
|
||||
message.SiteId = reader.string();
|
||||
break;
|
||||
case /* string UserSub */ 3:
|
||||
message.UserSub = reader.string();
|
||||
break;
|
||||
case /* string ManagerEmail */ 4:
|
||||
message.ManagerEmail = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowCreateSiteRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string OrganisationId = 1; */
|
||||
if (message.OrganisationId !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
|
||||
/* string SiteId = 2; */
|
||||
if (message.SiteId !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.SiteId);
|
||||
/* string UserSub = 3; */
|
||||
if (message.UserSub !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.UserSub);
|
||||
/* string ManagerEmail = 4; */
|
||||
if (message.ManagerEmail !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.ManagerEmail);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.StartWorkflowCreateSiteRequest
|
||||
*/
|
||||
export const StartWorkflowCreateSiteRequest = new StartWorkflowCreateSiteRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowCreateSiteResult$Type extends MessageType<StartWorkflowCreateSiteResult> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowCreateSiteResult", [
|
||||
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowCreateSiteResult>): StartWorkflowCreateSiteResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowCreateSiteResult>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateSiteResult): StartWorkflowCreateSiteResult {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.WorkflowExecutionResult WorkflowExecution */ 1:
|
||||
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowCreateSiteResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.WorkflowExecutionResult WorkflowExecution = 1; */
|
||||
if (message.WorkflowExecution)
|
||||
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.StartWorkflowCreateSiteResult
|
||||
*/
|
||||
export const StartWorkflowCreateSiteResult = new StartWorkflowCreateSiteResult$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowDeletePartnerAppRequest$Type extends MessageType<StartWorkflowDeletePartnerAppRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowDeletePartnerAppRequest", [
|
||||
@@ -4683,6 +4830,7 @@ export const WorkflowService = new ServiceType("api.WorkflowService", [
|
||||
{ name: "StartWorkflowCreateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateProjectRequest, O: StartWorkflowCreateProjectResult },
|
||||
{ name: "StartWorkflowDeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteProjectRequest, O: StartWorkflowDeleteProjectResult },
|
||||
{ name: "StartWorkflowDeleteCore", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteCore" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteCoreRequest, O: StartWorkflowDeleteCoreResult },
|
||||
{ name: "StartWorkflowCreateSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateSite" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateSiteRequest, O: StartWorkflowCreateSiteResult },
|
||||
{ name: "StartWorkflowDeleteSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteSite" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteSiteRequest, O: StartWorkflowDeleteSiteResult },
|
||||
{ name: "StartWorkflowDeletePartnerApp", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeletePartnerApp" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeletePartnerAppRequest, O: StartWorkflowDeletePartnerAppResult },
|
||||
{ name: "StartWorkflowDeleteConnection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteConnection" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteConnectionRequest, O: StartWorkflowDeleteConnectionResult },
|
||||
|
||||
Reference in New Issue
Block a user