Files
npm-core-sdk/workflow.ts
2026-02-23 15:08:19 +00:00

4752 lines
257 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "workflow.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { EntityType } from "./shared";
import { RecoverType } from "./shared";
import { ModelDataSetEnum } from "./shared";
import { ModuleWorkflowTypeEnum } from "./shared";
import { WorkflowTypeEnum } from "./shared";
import { ModuleDeregistration } from "./shared";
import { ModuleRegistration } from "./shared";
import { CHMetric } from "./clickhouse";
import { CHDimension } from "./clickhouse";
import { CHFilter } from "./clickhouse";
import { EntityBlockFilter } from "./clickhouse";
import { CHQueryType } from "./clickhouse";
import { TimeFormat } from "./shared";
import { ExtractColumnFormat } from "./shared";
import { TranslationMap } from "./shared";
import { BlockFilter } from "./shared";
import { ProjectType } from "./shared";
import { Module } from "./module";
import { WorkflowExecutionResult } from "./shared";
/**
* @generated from protobuf message api.RetryWorkflowRequest
*/
export interface RetryWorkflowRequest {
/**
* @generated from protobuf field: string WorkflowId = 1
*/
WorkflowId: string;
/**
* @generated from protobuf field: string RunId = 2
*/
RunId: string;
/**
* @generated from protobuf field: string Domain = 3
*/
Domain: string;
}
/**
* @generated from protobuf message api.RetryWorkflowResult
*/
export interface RetryWorkflowResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCreateProjectRequest
*/
export interface StartWorkflowCreateProjectRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string ProjectId = 2
*/
ProjectId: string;
/**
* @generated from protobuf field: string UserSub = 3
*/
UserSub: string;
/**
* @generated from protobuf field: string ManagerEmail = 4
*/
ManagerEmail: string;
/**
* @generated from protobuf field: repeated api.Module Modules = 5
*/
Modules: Module[];
/**
* @generated from protobuf field: api.ProjectType ProjectType = 6
*/
ProjectType: ProjectType;
/**
* @generated from protobuf field: string ProjectName = 7
*/
ProjectName: string;
}
/**
* @generated from protobuf message api.StartWorkflowCreateProjectResult
*/
export interface StartWorkflowCreateProjectResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteProjectRequest
*/
export interface StartWorkflowDeleteProjectRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string ProjectId = 2
*/
ProjectId: string;
/**
* @generated from protobuf field: string UserId = 3
*/
UserId: string;
/**
* @generated from protobuf field: api.ProjectType ProjectType = 4
*/
ProjectType: ProjectType;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteProjectResult
*/
export interface StartWorkflowDeleteProjectResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteCoreRequest
*/
export interface StartWorkflowDeleteCoreRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string ProjectId = 2
*/
ProjectId: string;
/**
* @generated from protobuf field: api.ProjectType ProjectType = 3
*/
ProjectType: ProjectType;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteCoreResult
*/
export interface StartWorkflowDeleteCoreResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeletePartnerAppRequest
*/
export interface StartWorkflowDeletePartnerAppRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string ProjectId = 2
*/
ProjectId: string;
/**
* @generated from protobuf field: string PartnerAppId = 3
*/
PartnerAppId: string;
/**
* @generated from protobuf field: string UserId = 4
*/
UserId: string;
}
/**
* @generated from protobuf message api.StartWorkflowDeletePartnerAppResult
*/
export interface StartWorkflowDeletePartnerAppResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteConnectionRequest
*/
export interface StartWorkflowDeleteConnectionRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
/**
* @generated from protobuf field: string ConnectionId = 2
*/
ConnectionId: string;
/**
* @generated from protobuf field: string UserId = 3
*/
UserId: string;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteConnectionResult
*/
export interface StartWorkflowDeleteConnectionResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowBillingRequest
*/
export interface StartWorkflowBillingRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
}
/**
* @generated from protobuf message api.StartWorkflowBillingResult
*/
export interface StartWorkflowBillingResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StopWorkflowBillingRequest
*/
export interface StopWorkflowBillingRequest {
/**
* @generated from protobuf field: string OrganisationId = 1
*/
OrganisationId: string;
}
/**
* @generated from protobuf message api.StopWorkflowBillingResult
*/
export interface StopWorkflowBillingResult {
}
/**
* @generated from protobuf message api.StartWorkflowExtractDataFromDBRequest
*/
export interface StartWorkflowExtractDataFromDBRequest {
/**
* @generated from protobuf field: string UserId = 1
*/
UserId: string;
/**
* @generated from protobuf field: string ProjectId = 2
*/
ProjectId: string;
/**
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 3
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: string TargetDomain = 9
*/
TargetDomain: string;
/**
* @generated from protobuf field: string TargetType = 4
*/
TargetType: string;
/**
* @generated from protobuf field: repeated string Fields = 5
*/
Fields: string[];
/**
* @generated from protobuf field: string ListSeparator = 6
*/
ListSeparator: string;
/**
* @generated from protobuf field: string DecimalSeparator = 7
*/
DecimalSeparator: string;
/**
* @generated from protobuf field: repeated string ColumnNames = 8
*/
ColumnNames: string[];
/**
* @generated from protobuf field: map<string, api.TranslationMap> ColumnTranslationMaps = 10
*/
ColumnTranslationMaps: {
[key: string]: TranslationMap;
};
/**
* @generated from protobuf field: map<int32, api.ExtractColumnFormat> ColumnFormats = 11
*/
ColumnFormats: {
[key: number]: ExtractColumnFormat;
};
/**
* @generated from protobuf field: string TargetTimeZone = 12
*/
TargetTimeZone: string;
/**
* @generated from protobuf field: string DateFormat = 13
*/
DateFormat: string;
/**
* @generated from protobuf field: string NumberFormat = 14
*/
NumberFormat: string;
/**
* @generated from protobuf field: api.TimeFormat TimeFormat = 15
*/
TimeFormat: TimeFormat;
}
/**
* @generated from protobuf message api.StartWorkflowExtractDataFromDBResult
*/
export interface StartWorkflowExtractDataFromDBResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowExtractKPIRequest
*/
export interface StartWorkflowExtractKPIRequest {
/**
* @generated from protobuf field: string ProjectId = 1
*/
ProjectId: string;
/**
* @generated from protobuf field: string UserId = 2
*/
UserId: string;
/**
* @generated from protobuf field: api.CHQueryType QueryType = 3
*/
QueryType: CHQueryType;
/**
* @generated from protobuf field: string QueryBlock = 4
*/
QueryBlock: string;
/**
* @generated from protobuf field: repeated api.EntityBlockFilter EntityBlockFilters = 5
*/
EntityBlockFilters: EntityBlockFilter[];
/**
* @generated from protobuf field: api.CHFilter Filter = 6
*/
Filter?: CHFilter;
/**
* @generated from protobuf field: repeated api.CHDimension Dimensions = 7
*/
Dimensions: CHDimension[];
/**
* @generated from protobuf field: repeated api.CHMetric Metrics = 8
*/
Metrics: CHMetric[];
/**
* @generated from protobuf field: string TargetTimeZone = 9
*/
TargetTimeZone: string;
/**
* @generated from protobuf field: string KpiGroupName = 10
*/
KpiGroupName: string;
/**
* @generated from protobuf field: string TargetDomain = 11
*/
TargetDomain: string;
/**
* @generated from protobuf field: string TargetType = 12
*/
TargetType: string;
/**
* @generated from protobuf field: repeated string Fields = 13
*/
Fields: string[];
/**
* @generated from protobuf field: string ListSeparator = 14
*/
ListSeparator: string;
/**
* @generated from protobuf field: string DecimalSeparator = 15
*/
DecimalSeparator: string;
/**
* @generated from protobuf field: repeated string ColumnNames = 16
*/
ColumnNames: string[];
/**
* @generated from protobuf field: map<string, api.TranslationMap> ColumnTranslationMaps = 17
*/
ColumnTranslationMaps: {
[key: string]: TranslationMap;
};
/**
* @generated from protobuf field: repeated int32 FieldIdxLVDetailedQuantity = 18
*/
FieldIdxLVDetailedQuantity: number[];
/**
* @generated from protobuf field: map<int32, api.ExtractColumnFormat> ColumnFormats = 19
*/
ColumnFormats: {
[key: number]: ExtractColumnFormat;
};
/**
* @generated from protobuf field: string DateFormat = 20
*/
DateFormat: string;
/**
* @generated from protobuf field: string NumberFormat = 21
*/
NumberFormat: string;
/**
* @generated from protobuf field: api.TimeFormat TimeFormat = 22
*/
TimeFormat: TimeFormat;
}
/**
* @generated from protobuf message api.StartWorkflowExtractKPIResult
*/
export interface StartWorkflowExtractKPIResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.RegisterModuleWorkflowsRequest
*/
export interface RegisterModuleWorkflowsRequest {
/**
* @generated from protobuf field: repeated api.ModuleRegistration ModuleRegistrations = 1
*/
ModuleRegistrations: ModuleRegistration[];
/**
* @generated from protobuf field: string Tasklist = 2
*/
Tasklist: string;
}
/**
* @generated from protobuf message api.RegisterModuleWorkflowsResult
*/
export interface RegisterModuleWorkflowsResult {
}
/**
* @generated from protobuf message api.DeregisterModuleWorkflowsRequest
*/
export interface DeregisterModuleWorkflowsRequest {
/**
* @generated from protobuf field: repeated api.ModuleDeregistration ModuleDeregistrations = 1
*/
ModuleDeregistrations: ModuleDeregistration[];
/**
* @generated from protobuf field: string Tasklist = 2
*/
Tasklist: string;
}
/**
* @generated from protobuf message api.DeregisterModuleWorkflowsResult
*/
export interface DeregisterModuleWorkflowsResult {
}
/**
* @generated from protobuf message api.ModuleWorkflow
*/
export interface ModuleWorkflow {
/**
* @generated from protobuf field: api.WorkflowTypeEnum WorkflowTarget = 1
*/
WorkflowTarget: WorkflowTypeEnum;
/**
* @generated from protobuf field: string WorkflowPath = 2
*/
WorkflowPath: string;
/**
* @generated from protobuf field: api.ModuleWorkflowTypeEnum Type = 3
*/
Type: ModuleWorkflowTypeEnum;
/**
* @generated from protobuf field: int32 Timeout = 4
*/
Timeout: number;
/**
* @generated from protobuf field: string Tasklist = 5
*/
Tasklist: string;
}
/**
* @generated from protobuf message api.GetModuleWorkflowsRequest
*/
export interface GetModuleWorkflowsRequest {
/**
* @generated from protobuf field: api.WorkflowTypeEnum WorkflowTarget = 1
*/
WorkflowTarget: WorkflowTypeEnum;
}
/**
* @generated from protobuf message api.GetModuleWorkflowsResult
*/
export interface GetModuleWorkflowsResult {
/**
* @generated from protobuf field: repeated api.ModuleWorkflow ModuleWorkflows = 1
*/
ModuleWorkflows: ModuleWorkflow[];
}
/**
* @generated from protobuf message api.StopWorkflowRequest
*/
export interface StopWorkflowRequest {
/**
* @generated from protobuf field: string WorkflowId = 1
*/
WorkflowId: string;
/**
* @generated from protobuf field: string RunId = 2
*/
RunId: string;
/**
* @generated from protobuf field: string Domain = 3
*/
Domain: string;
}
/**
* @generated from protobuf message api.StopWorkflowResult
*/
export interface StopWorkflowResult {
}
/**
* @generated from protobuf message api.StartWorkflowOptimizeClickhouseRequest
*/
export interface StartWorkflowOptimizeClickhouseRequest {
/**
* @generated from protobuf field: bool Final = 1
*/
Final: boolean;
/**
* @generated from protobuf field: string CronSchedule = 2
*/
CronSchedule: string;
}
/**
* @generated from protobuf message api.StartWorkflowOptimizeClickhouseResult
*/
export interface StartWorkflowOptimizeClickhouseResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCreateOrganisationRequest
*/
export interface StartWorkflowCreateOrganisationRequest {
/**
* @generated from protobuf field: string OrganisationID = 1
*/
OrganisationID: string;
/**
* @generated from protobuf field: string ManagerEmail = 2
*/
ManagerEmail: string;
/**
* @generated from protobuf field: string UserSub = 3
*/
UserSub: string;
/**
* @generated from protobuf field: repeated api.Module Modules = 4
*/
Modules: Module[];
}
/**
* @generated from protobuf message api.StartWorkflowCreateOrganisationResult
*/
export interface StartWorkflowCreateOrganisationResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteOrganisationRequest
*/
export interface StartWorkflowDeleteOrganisationRequest {
/**
* @generated from protobuf field: string OrganisationID = 1
*/
OrganisationID: string;
/**
* @generated from protobuf field: string UserID = 2
*/
UserID: string;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteOrganisationResult
*/
export interface StartWorkflowDeleteOrganisationResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowRecoverDataRequest
*/
export interface StartWorkflowRecoverDataRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 2
*/
Entity: ModelDataSetEnum;
/**
* @generated from protobuf field: api.RecoverType RecoveryType = 3
*/
RecoveryType: RecoverType;
/**
* @generated from protobuf field: bool ClearEntityData = 4
*/
ClearEntityData: boolean;
/**
* @generated from protobuf field: bool RestartJob = 6
*/
RestartJob: boolean;
/**
* @generated from protobuf field: string OrganisationID = 7
*/
OrganisationID: string;
}
/**
* @generated from protobuf message api.StartWorkflowRecoverDataResult
*/
export interface StartWorkflowRecoverDataResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCheckAndLaunchRecoverDataRequest
*/
export interface StartWorkflowCheckAndLaunchRecoverDataRequest {
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 1
*/
Entity: ModelDataSetEnum;
/**
* @generated from protobuf field: api.RecoverType RecoveryType = 2
*/
RecoveryType: RecoverType;
}
/**
* @generated from protobuf message api.StartWorkflowCheckAndLaunchRecoverDataResult
*/
export interface StartWorkflowCheckAndLaunchRecoverDataResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowUpdateMaterializedViewRequest
*/
export interface StartWorkflowUpdateMaterializedViewRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: string OrganisationID = 2
*/
OrganisationID: string;
}
/**
* @generated from protobuf message api.StartWorkflowUpdateMaterializedViewResult
*/
export interface StartWorkflowUpdateMaterializedViewResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.GetWorkflowStateRequest
*/
export interface GetWorkflowStateRequest {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.GetWorkflowStateResult
*/
export interface GetWorkflowStateResult {
/**
* @generated from protobuf field: string State = 1
*/
State: string;
}
/**
* @generated from protobuf message api.GetWorkflowExecutionInformationsRequest
*/
export interface GetWorkflowExecutionInformationsRequest {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.GetWorkflowExecutionInformationsResult
*/
export interface GetWorkflowExecutionInformationsResult {
/**
* @generated from protobuf field: string WorkflowExecutionInformations = 1
*/
WorkflowExecutionInformations: string;
}
/**
* @generated from protobuf message api.StartWorkflowDailyProjectsOperationsRequest
*/
export interface StartWorkflowDailyProjectsOperationsRequest {
}
/**
* @generated from protobuf message api.StartWorkflowDailyProjectsOperationsResult
*/
export interface StartWorkflowDailyProjectsOperationsResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowHealthCheckWorkflowsRequest
*/
export interface StartWorkflowHealthCheckWorkflowsRequest {
}
/**
* @generated from protobuf message api.StartWorkflowHealthCheckWorkflowsResult
*/
export interface StartWorkflowHealthCheckWorkflowsResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowPruneDataRequest
*/
export interface StartWorkflowPruneDataRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
}
/**
* @generated from protobuf message api.StartWorkflowPruneDataResult
*/
export interface StartWorkflowPruneDataResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowSynchronizeRulesOnGitRequest
*/
export interface StartWorkflowSynchronizeRulesOnGitRequest {
}
/**
* @generated from protobuf message api.StartWorkflowSynchronizeRulesOnGitResult
*/
export interface StartWorkflowSynchronizeRulesOnGitResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowAnonymizeDataRequest
*/
export interface StartWorkflowAnonymizeDataRequest {
/**
* @generated from protobuf field: string ProjectID = 1
*/
ProjectID: string;
/**
* @generated from protobuf field: api.EntityType Entity = 2
*/
Entity: EntityType;
}
/**
* @generated from protobuf message api.StartWorkflowAnonymizeDataResult
*/
export interface StartWorkflowAnonymizeDataResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowUpgradeModelRequest
*/
export interface StartWorkflowUpgradeModelRequest {
/**
* @generated from protobuf field: string OrganisationID = 1
*/
OrganisationID: string;
/**
* @generated from protobuf field: string ProjectID = 2
*/
ProjectID: string;
/**
* @generated from protobuf field: api.ModelDataSetEnum Entity = 3
*/
Entity: ModelDataSetEnum;
/**
* @generated from protobuf field: bool ClearEntityData = 4
*/
ClearEntityData: boolean;
}
/**
* @generated from protobuf message api.StartWorkflowUpgradeModelResult
*/
export interface StartWorkflowUpgradeModelResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowSweepRequest
*/
export interface StartWorkflowSweepRequest {
/**
* @generated from protobuf field: bool DryRun = 1
*/
DryRun: boolean; // If true, all the sweeping operations will be done in dry run mode and no data will be deleted
}
/**
* @generated from protobuf message api.StartWorkflowSweepResult
*/
export interface StartWorkflowSweepResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCreateClickhouseRequest
*/
export interface StartWorkflowCreateClickhouseRequest {
/**
* @generated from protobuf field: string ResourceID = 1
*/
ResourceID: string;
}
/**
* @generated from protobuf message api.StartWorkflowCreateClickhouseResult
*/
export interface StartWorkflowCreateClickhouseResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteClickhouseRequest
*/
export interface StartWorkflowDeleteClickhouseRequest {
/**
* @generated from protobuf field: string ResourceID = 1
*/
ResourceID: string;
}
/**
* @generated from protobuf message api.StartWorkflowDeleteClickhouseResult
*/
export interface StartWorkflowDeleteClickhouseResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowCleanCassandraRequest
*/
export interface StartWorkflowCleanCassandraRequest {
/**
* @generated from protobuf field: string ResourceID = 1
*/
ResourceID: string;
}
/**
* @generated from protobuf message api.StartWorkflowCleanCassandraResult
*/
export interface StartWorkflowCleanCassandraResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf message api.StartWorkflowSynchronizeUMAStoreRequest
*/
export interface StartWorkflowSynchronizeUMAStoreRequest {
/**
* @generated from protobuf field: string UserID = 1
*/
UserID: string; // If no UserID is provided, the workflow will synchronize the UMA store for all users
}
/**
* @generated from protobuf message api.StartWorkflowSynchronizeUMAStoreResult
*/
export interface StartWorkflowSynchronizeUMAStoreResult {
/**
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
*/
WorkflowExecution?: WorkflowExecutionResult;
}
/**
* @generated from protobuf enum api.WorkflowStatusEnum
*/
export enum WorkflowStatusEnum {
/**
* @generated from protobuf enum value: WORKFLOW_STATUS_UNKNOWN = 0;
*/
WORKFLOW_STATUS_UNKNOWN = 0,
/**
* @generated from protobuf enum value: WORKFLOW_STATUS_FAILED = 1;
*/
WORKFLOW_STATUS_FAILED = 1,
/**
* @generated from protobuf enum value: WORKFLOW_STATUS_SUCCESS = 2;
*/
WORKFLOW_STATUS_SUCCESS = 2
}
// @generated message type with reflection information, may provide speed optimized methods
class RetryWorkflowRequest$Type extends MessageType<RetryWorkflowRequest> {
constructor() {
super("api.RetryWorkflowRequest", [
{ no: 1, name: "WorkflowId", kind: "scalar", localName: "WorkflowId", jsonName: "WorkflowId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "RunId", kind: "scalar", localName: "RunId", jsonName: "RunId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["WorkflowId", "RunId"] } } });
}
create(value?: PartialMessage<RetryWorkflowRequest>): RetryWorkflowRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowId = "";
message.RunId = "";
message.Domain = "";
if (value !== undefined)
reflectionMergePartial<RetryWorkflowRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryWorkflowRequest): RetryWorkflowRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string WorkflowId */ 1:
message.WorkflowId = reader.string();
break;
case /* string RunId */ 2:
message.RunId = reader.string();
break;
case /* string Domain */ 3:
message.Domain = 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: RetryWorkflowRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string WorkflowId = 1; */
if (message.WorkflowId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowId);
/* string RunId = 2; */
if (message.RunId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.RunId);
/* string Domain = 3; */
if (message.Domain !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Domain);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.RetryWorkflowRequest
*/
export const RetryWorkflowRequest = new RetryWorkflowRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RetryWorkflowResult$Type extends MessageType<RetryWorkflowResult> {
constructor() {
super("api.RetryWorkflowResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<RetryWorkflowResult>): RetryWorkflowResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<RetryWorkflowResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RetryWorkflowResult): RetryWorkflowResult {
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: RetryWorkflowResult, 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.RetryWorkflowResult
*/
export const RetryWorkflowResult = new RetryWorkflowResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCreateProjectRequest> {
constructor() {
super("api.StartWorkflowCreateProjectRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", 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" } } } },
{ no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module },
{ no: 6, name: "ProjectType", kind: "enum", localName: "ProjectType", jsonName: "ProjectType", T: () => ["api.ProjectType", ProjectType] },
{ no: 7, name: "ProjectName", kind: "scalar", localName: "ProjectName", jsonName: "ProjectName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ProjectId", "UserSub", "ManagerEmail"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateProjectRequest>): StartWorkflowCreateProjectRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.ProjectId = "";
message.UserSub = "";
message.ManagerEmail = "";
message.Modules = [];
message.ProjectType = 0;
message.ProjectName = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateProjectRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateProjectRequest): StartWorkflowCreateProjectRequest {
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 ProjectId */ 2:
message.ProjectId = reader.string();
break;
case /* string UserSub */ 3:
message.UserSub = reader.string();
break;
case /* string ManagerEmail */ 4:
message.ManagerEmail = reader.string();
break;
case /* repeated api.Module Modules */ 5:
message.Modules.push(Module.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ProjectType ProjectType */ 6:
message.ProjectType = reader.int32();
break;
case /* string ProjectName */ 7:
message.ProjectName = 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: StartWorkflowCreateProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string ProjectId = 2; */
if (message.ProjectId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectId);
/* 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);
/* repeated api.Module Modules = 5; */
for (let i = 0; i < message.Modules.length; i++)
Module.internalBinaryWrite(message.Modules[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* api.ProjectType ProjectType = 6; */
if (message.ProjectType !== 0)
writer.tag(6, WireType.Varint).int32(message.ProjectType);
/* string ProjectName = 7; */
if (message.ProjectName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ProjectName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCreateProjectRequest
*/
export const StartWorkflowCreateProjectRequest = new StartWorkflowCreateProjectRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateProjectResult$Type extends MessageType<StartWorkflowCreateProjectResult> {
constructor() {
super("api.StartWorkflowCreateProjectResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCreateProjectResult>): StartWorkflowCreateProjectResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateProjectResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateProjectResult): StartWorkflowCreateProjectResult {
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: StartWorkflowCreateProjectResult, 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.StartWorkflowCreateProjectResult
*/
export const StartWorkflowCreateProjectResult = new StartWorkflowCreateProjectResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteProjectRequest$Type extends MessageType<StartWorkflowDeleteProjectRequest> {
constructor() {
super("api.StartWorkflowDeleteProjectRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ProjectType", kind: "enum", localName: "ProjectType", jsonName: "ProjectType", T: () => ["api.ProjectType", ProjectType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ProjectId", "UserId"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteProjectRequest>): StartWorkflowDeleteProjectRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.ProjectId = "";
message.UserId = "";
message.ProjectType = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteProjectRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteProjectRequest): StartWorkflowDeleteProjectRequest {
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 ProjectId */ 2:
message.ProjectId = reader.string();
break;
case /* string UserId */ 3:
message.UserId = reader.string();
break;
case /* api.ProjectType ProjectType */ 4:
message.ProjectType = reader.int32();
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: StartWorkflowDeleteProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string ProjectId = 2; */
if (message.ProjectId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectId);
/* string UserId = 3; */
if (message.UserId !== "")
writer.tag(3, WireType.LengthDelimited).string(message.UserId);
/* api.ProjectType ProjectType = 4; */
if (message.ProjectType !== 0)
writer.tag(4, WireType.Varint).int32(message.ProjectType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeleteProjectRequest
*/
export const StartWorkflowDeleteProjectRequest = new StartWorkflowDeleteProjectRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteProjectResult$Type extends MessageType<StartWorkflowDeleteProjectResult> {
constructor() {
super("api.StartWorkflowDeleteProjectResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeleteProjectResult>): StartWorkflowDeleteProjectResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteProjectResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteProjectResult): StartWorkflowDeleteProjectResult {
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: StartWorkflowDeleteProjectResult, 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.StartWorkflowDeleteProjectResult
*/
export const StartWorkflowDeleteProjectResult = new StartWorkflowDeleteProjectResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteCoreRequest$Type extends MessageType<StartWorkflowDeleteCoreRequest> {
constructor() {
super("api.StartWorkflowDeleteCoreRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "ProjectType", kind: "enum", localName: "ProjectType", jsonName: "ProjectType", T: () => ["api.ProjectType", ProjectType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ProjectId"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteCoreRequest>): StartWorkflowDeleteCoreRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.ProjectId = "";
message.ProjectType = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteCoreRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteCoreRequest): StartWorkflowDeleteCoreRequest {
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 ProjectId */ 2:
message.ProjectId = reader.string();
break;
case /* api.ProjectType ProjectType */ 3:
message.ProjectType = reader.int32();
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: StartWorkflowDeleteCoreRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string ProjectId = 2; */
if (message.ProjectId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectId);
/* api.ProjectType ProjectType = 3; */
if (message.ProjectType !== 0)
writer.tag(3, WireType.Varint).int32(message.ProjectType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeleteCoreRequest
*/
export const StartWorkflowDeleteCoreRequest = new StartWorkflowDeleteCoreRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteCoreResult$Type extends MessageType<StartWorkflowDeleteCoreResult> {
constructor() {
super("api.StartWorkflowDeleteCoreResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeleteCoreResult>): StartWorkflowDeleteCoreResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteCoreResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteCoreResult): StartWorkflowDeleteCoreResult {
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: StartWorkflowDeleteCoreResult, 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.StartWorkflowDeleteCoreResult
*/
export const StartWorkflowDeleteCoreResult = new StartWorkflowDeleteCoreResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeletePartnerAppRequest$Type extends MessageType<StartWorkflowDeletePartnerAppRequest> {
constructor() {
super("api.StartWorkflowDeletePartnerAppRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "PartnerAppId", kind: "scalar", localName: "PartnerAppId", jsonName: "PartnerAppId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ProjectId", "PartnerAppId", "UserId"] } } });
}
create(value?: PartialMessage<StartWorkflowDeletePartnerAppRequest>): StartWorkflowDeletePartnerAppRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.ProjectId = "";
message.PartnerAppId = "";
message.UserId = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeletePartnerAppRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeletePartnerAppRequest): StartWorkflowDeletePartnerAppRequest {
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 ProjectId */ 2:
message.ProjectId = reader.string();
break;
case /* string PartnerAppId */ 3:
message.PartnerAppId = reader.string();
break;
case /* string UserId */ 4:
message.UserId = 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: StartWorkflowDeletePartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string ProjectId = 2; */
if (message.ProjectId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectId);
/* string PartnerAppId = 3; */
if (message.PartnerAppId !== "")
writer.tag(3, WireType.LengthDelimited).string(message.PartnerAppId);
/* string UserId = 4; */
if (message.UserId !== "")
writer.tag(4, WireType.LengthDelimited).string(message.UserId);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeletePartnerAppRequest
*/
export const StartWorkflowDeletePartnerAppRequest = new StartWorkflowDeletePartnerAppRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeletePartnerAppResult$Type extends MessageType<StartWorkflowDeletePartnerAppResult> {
constructor() {
super("api.StartWorkflowDeletePartnerAppResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeletePartnerAppResult>): StartWorkflowDeletePartnerAppResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeletePartnerAppResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeletePartnerAppResult): StartWorkflowDeletePartnerAppResult {
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: StartWorkflowDeletePartnerAppResult, 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.StartWorkflowDeletePartnerAppResult
*/
export const StartWorkflowDeletePartnerAppResult = new StartWorkflowDeletePartnerAppResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteConnectionRequest$Type extends MessageType<StartWorkflowDeleteConnectionRequest> {
constructor() {
super("api.StartWorkflowDeleteConnectionRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ConnectionId", kind: "scalar", localName: "ConnectionId", jsonName: "ConnectionId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId", "ConnectionId", "UserId"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteConnectionRequest>): StartWorkflowDeleteConnectionRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
message.ConnectionId = "";
message.UserId = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteConnectionRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteConnectionRequest): StartWorkflowDeleteConnectionRequest {
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 ConnectionId */ 2:
message.ConnectionId = reader.string();
break;
case /* string UserId */ 3:
message.UserId = 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: StartWorkflowDeleteConnectionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
/* string ConnectionId = 2; */
if (message.ConnectionId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ConnectionId);
/* string UserId = 3; */
if (message.UserId !== "")
writer.tag(3, WireType.LengthDelimited).string(message.UserId);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeleteConnectionRequest
*/
export const StartWorkflowDeleteConnectionRequest = new StartWorkflowDeleteConnectionRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteConnectionResult$Type extends MessageType<StartWorkflowDeleteConnectionResult> {
constructor() {
super("api.StartWorkflowDeleteConnectionResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeleteConnectionResult>): StartWorkflowDeleteConnectionResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteConnectionResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteConnectionResult): StartWorkflowDeleteConnectionResult {
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: StartWorkflowDeleteConnectionResult, 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.StartWorkflowDeleteConnectionResult
*/
export const StartWorkflowDeleteConnectionResult = new StartWorkflowDeleteConnectionResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowBillingRequest$Type extends MessageType<StartWorkflowBillingRequest> {
constructor() {
super("api.StartWorkflowBillingRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
}
create(value?: PartialMessage<StartWorkflowBillingRequest>): StartWorkflowBillingRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowBillingRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowBillingRequest): StartWorkflowBillingRequest {
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;
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: StartWorkflowBillingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowBillingRequest
*/
export const StartWorkflowBillingRequest = new StartWorkflowBillingRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowBillingResult$Type extends MessageType<StartWorkflowBillingResult> {
constructor() {
super("api.StartWorkflowBillingResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowBillingResult>): StartWorkflowBillingResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowBillingResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowBillingResult): StartWorkflowBillingResult {
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: StartWorkflowBillingResult, 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.StartWorkflowBillingResult
*/
export const StartWorkflowBillingResult = new StartWorkflowBillingResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopWorkflowBillingRequest$Type extends MessageType<StopWorkflowBillingRequest> {
constructor() {
super("api.StopWorkflowBillingRequest", [
{ no: 1, name: "OrganisationId", kind: "scalar", localName: "OrganisationId", jsonName: "OrganisationId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
}
create(value?: PartialMessage<StopWorkflowBillingRequest>): StopWorkflowBillingRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationId = "";
if (value !== undefined)
reflectionMergePartial<StopWorkflowBillingRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopWorkflowBillingRequest): StopWorkflowBillingRequest {
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;
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: StopWorkflowBillingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationId = 1; */
if (message.OrganisationId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationId);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StopWorkflowBillingRequest
*/
export const StopWorkflowBillingRequest = new StopWorkflowBillingRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopWorkflowBillingResult$Type extends MessageType<StopWorkflowBillingResult> {
constructor() {
super("api.StopWorkflowBillingResult", []);
}
create(value?: PartialMessage<StopWorkflowBillingResult>): StopWorkflowBillingResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StopWorkflowBillingResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopWorkflowBillingResult): StopWorkflowBillingResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: StopWorkflowBillingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StopWorkflowBillingResult
*/
export const StopWorkflowBillingResult = new StopWorkflowBillingResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowExtractDataFromDBRequest$Type extends MessageType<StartWorkflowExtractDataFromDBRequest> {
constructor() {
super("api.StartWorkflowExtractDataFromDBRequest", [
{ no: 1, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 9, name: "TargetDomain", kind: "scalar", localName: "TargetDomain", jsonName: "TargetDomain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "TargetType", kind: "scalar", localName: "TargetType", jsonName: "TargetType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 7, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 8, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
{ no: 11, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
{ no: 12, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
{ no: 13, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 14, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 15, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["api.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["UserId", "ProjectId", "TargetDomain", "TargetType", "Fields", "ListSeparator", "DecimalSeparator"] } } });
}
create(value?: PartialMessage<StartWorkflowExtractDataFromDBRequest>): StartWorkflowExtractDataFromDBRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.UserId = "";
message.ProjectId = "";
message.BlockFilters = [];
message.TargetDomain = "";
message.TargetType = "";
message.Fields = [];
message.ListSeparator = "";
message.DecimalSeparator = "";
message.ColumnNames = [];
message.ColumnTranslationMaps = {};
message.ColumnFormats = {};
message.TargetTimeZone = "";
message.DateFormat = "";
message.NumberFormat = "";
message.TimeFormat = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowExtractDataFromDBRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowExtractDataFromDBRequest): StartWorkflowExtractDataFromDBRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string UserId */ 1:
message.UserId = reader.string();
break;
case /* string ProjectId */ 2:
message.ProjectId = reader.string();
break;
case /* repeated api.BlockFilter BlockFilters */ 3:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string TargetDomain */ 9:
message.TargetDomain = reader.string();
break;
case /* string TargetType */ 4:
message.TargetType = reader.string();
break;
case /* repeated string Fields */ 5:
message.Fields.push(reader.string());
break;
case /* string ListSeparator */ 6:
message.ListSeparator = reader.string();
break;
case /* string DecimalSeparator */ 7:
message.DecimalSeparator = reader.string();
break;
case /* repeated string ColumnNames */ 8:
message.ColumnNames.push(reader.string());
break;
case /* map<string, api.TranslationMap> ColumnTranslationMaps */ 10:
this.binaryReadMap10(message.ColumnTranslationMaps, reader, options);
break;
case /* map<int32, api.ExtractColumnFormat> ColumnFormats */ 11:
this.binaryReadMap11(message.ColumnFormats, reader, options);
break;
case /* string TargetTimeZone */ 12:
message.TargetTimeZone = reader.string();
break;
case /* string DateFormat */ 13:
message.DateFormat = reader.string();
break;
case /* string NumberFormat */ 14:
message.NumberFormat = reader.string();
break;
case /* api.TimeFormat TimeFormat */ 15:
message.TimeFormat = reader.int32();
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;
}
private binaryReadMap10(map: StartWorkflowExtractDataFromDBRequest["ColumnTranslationMaps"], reader: IBinaryReader, options: BinaryReadOptions): void {
let len = reader.uint32(), end = reader.pos + len, key: keyof StartWorkflowExtractDataFromDBRequest["ColumnTranslationMaps"] | undefined, val: StartWorkflowExtractDataFromDBRequest["ColumnTranslationMaps"][any] | undefined;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case 1:
key = reader.string();
break;
case 2:
val = TranslationMap.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for api.StartWorkflowExtractDataFromDBRequest.ColumnTranslationMaps");
}
}
map[key ?? ""] = val ?? TranslationMap.create();
}
private binaryReadMap11(map: StartWorkflowExtractDataFromDBRequest["ColumnFormats"], reader: IBinaryReader, options: BinaryReadOptions): void {
let len = reader.uint32(), end = reader.pos + len, key: keyof StartWorkflowExtractDataFromDBRequest["ColumnFormats"] | undefined, val: StartWorkflowExtractDataFromDBRequest["ColumnFormats"][any] | undefined;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case 1:
key = reader.int32();
break;
case 2:
val = ExtractColumnFormat.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for api.StartWorkflowExtractDataFromDBRequest.ColumnFormats");
}
}
map[key ?? 0] = val ?? ExtractColumnFormat.create();
}
internalBinaryWrite(message: StartWorkflowExtractDataFromDBRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string UserId = 1; */
if (message.UserId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.UserId);
/* string ProjectId = 2; */
if (message.ProjectId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectId);
/* repeated api.BlockFilter BlockFilters = 3; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* string TargetType = 4; */
if (message.TargetType !== "")
writer.tag(4, WireType.LengthDelimited).string(message.TargetType);
/* repeated string Fields = 5; */
for (let i = 0; i < message.Fields.length; i++)
writer.tag(5, WireType.LengthDelimited).string(message.Fields[i]);
/* string ListSeparator = 6; */
if (message.ListSeparator !== "")
writer.tag(6, WireType.LengthDelimited).string(message.ListSeparator);
/* string DecimalSeparator = 7; */
if (message.DecimalSeparator !== "")
writer.tag(7, WireType.LengthDelimited).string(message.DecimalSeparator);
/* repeated string ColumnNames = 8; */
for (let i = 0; i < message.ColumnNames.length; i++)
writer.tag(8, WireType.LengthDelimited).string(message.ColumnNames[i]);
/* string TargetDomain = 9; */
if (message.TargetDomain !== "")
writer.tag(9, WireType.LengthDelimited).string(message.TargetDomain);
/* map<string, api.TranslationMap> ColumnTranslationMaps = 10; */
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
writer.tag(10, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
writer.tag(2, WireType.LengthDelimited).fork();
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
writer.join().join();
}
/* map<int32, api.ExtractColumnFormat> ColumnFormats = 11; */
for (let k of globalThis.Object.keys(message.ColumnFormats)) {
writer.tag(11, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
writer.tag(2, WireType.LengthDelimited).fork();
ExtractColumnFormat.internalBinaryWrite(message.ColumnFormats[k as any], writer, options);
writer.join().join();
}
/* string TargetTimeZone = 12; */
if (message.TargetTimeZone !== "")
writer.tag(12, WireType.LengthDelimited).string(message.TargetTimeZone);
/* string DateFormat = 13; */
if (message.DateFormat !== "")
writer.tag(13, WireType.LengthDelimited).string(message.DateFormat);
/* string NumberFormat = 14; */
if (message.NumberFormat !== "")
writer.tag(14, WireType.LengthDelimited).string(message.NumberFormat);
/* api.TimeFormat TimeFormat = 15; */
if (message.TimeFormat !== 0)
writer.tag(15, WireType.Varint).int32(message.TimeFormat);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowExtractDataFromDBRequest
*/
export const StartWorkflowExtractDataFromDBRequest = new StartWorkflowExtractDataFromDBRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowExtractDataFromDBResult$Type extends MessageType<StartWorkflowExtractDataFromDBResult> {
constructor() {
super("api.StartWorkflowExtractDataFromDBResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowExtractDataFromDBResult>): StartWorkflowExtractDataFromDBResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowExtractDataFromDBResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowExtractDataFromDBResult): StartWorkflowExtractDataFromDBResult {
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: StartWorkflowExtractDataFromDBResult, 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.StartWorkflowExtractDataFromDBResult
*/
export const StartWorkflowExtractDataFromDBResult = new StartWorkflowExtractDataFromDBResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowExtractKPIRequest$Type extends MessageType<StartWorkflowExtractKPIRequest> {
constructor() {
super("api.StartWorkflowExtractKPIRequest", [
{ no: 1, name: "ProjectId", kind: "scalar", localName: "ProjectId", jsonName: "ProjectId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "QueryType", kind: "enum", localName: "QueryType", jsonName: "QueryType", T: () => ["api.CHQueryType", CHQueryType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "QueryBlock", kind: "scalar", localName: "QueryBlock", jsonName: "QueryBlock", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "EntityBlockFilters", kind: "message", localName: "EntityBlockFilters", jsonName: "EntityBlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityBlockFilter },
{ no: 6, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter },
{ no: 7, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension },
{ no: 8, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric },
{ no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
{ no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" } } },
{ no: 11, name: "TargetDomain", kind: "scalar", localName: "TargetDomain", jsonName: "TargetDomain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 12, name: "TargetType", kind: "scalar", localName: "TargetType", jsonName: "TargetType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 13, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 14, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 15, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 16, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 17, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
{ no: 18, name: "FieldIdxLVDetailedQuantity", kind: "scalar", localName: "FieldIdxLVDetailedQuantity", jsonName: "FieldIdxLVDetailedQuantity", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
{ no: 19, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
{ no: 20, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 21, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 22, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["api.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["UserId", "ProjectId", "TargetDomain", "TargetType", "Fields", "ListSeparator", "DecimalSeparator"] } } });
}
create(value?: PartialMessage<StartWorkflowExtractKPIRequest>): StartWorkflowExtractKPIRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectId = "";
message.UserId = "";
message.QueryType = 0;
message.QueryBlock = "";
message.EntityBlockFilters = [];
message.Dimensions = [];
message.Metrics = [];
message.TargetTimeZone = "";
message.KpiGroupName = "";
message.TargetDomain = "";
message.TargetType = "";
message.Fields = [];
message.ListSeparator = "";
message.DecimalSeparator = "";
message.ColumnNames = [];
message.ColumnTranslationMaps = {};
message.FieldIdxLVDetailedQuantity = [];
message.ColumnFormats = {};
message.DateFormat = "";
message.NumberFormat = "";
message.TimeFormat = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowExtractKPIRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowExtractKPIRequest): StartWorkflowExtractKPIRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectId */ 1:
message.ProjectId = reader.string();
break;
case /* string UserId */ 2:
message.UserId = reader.string();
break;
case /* api.CHQueryType QueryType */ 3:
message.QueryType = reader.int32();
break;
case /* string QueryBlock */ 4:
message.QueryBlock = reader.string();
break;
case /* repeated api.EntityBlockFilter EntityBlockFilters */ 5:
message.EntityBlockFilters.push(EntityBlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.CHFilter Filter */ 6:
message.Filter = CHFilter.internalBinaryRead(reader, reader.uint32(), options, message.Filter);
break;
case /* repeated api.CHDimension Dimensions */ 7:
message.Dimensions.push(CHDimension.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.CHMetric Metrics */ 8:
message.Metrics.push(CHMetric.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string TargetTimeZone */ 9:
message.TargetTimeZone = reader.string();
break;
case /* string KpiGroupName */ 10:
message.KpiGroupName = reader.string();
break;
case /* string TargetDomain */ 11:
message.TargetDomain = reader.string();
break;
case /* string TargetType */ 12:
message.TargetType = reader.string();
break;
case /* repeated string Fields */ 13:
message.Fields.push(reader.string());
break;
case /* string ListSeparator */ 14:
message.ListSeparator = reader.string();
break;
case /* string DecimalSeparator */ 15:
message.DecimalSeparator = reader.string();
break;
case /* repeated string ColumnNames */ 16:
message.ColumnNames.push(reader.string());
break;
case /* map<string, api.TranslationMap> ColumnTranslationMaps */ 17:
this.binaryReadMap17(message.ColumnTranslationMaps, reader, options);
break;
case /* repeated int32 FieldIdxLVDetailedQuantity */ 18:
if (wireType === WireType.LengthDelimited)
for (let e = reader.int32() + reader.pos; reader.pos < e;)
message.FieldIdxLVDetailedQuantity.push(reader.int32());
else
message.FieldIdxLVDetailedQuantity.push(reader.int32());
break;
case /* map<int32, api.ExtractColumnFormat> ColumnFormats */ 19:
this.binaryReadMap19(message.ColumnFormats, reader, options);
break;
case /* string DateFormat */ 20:
message.DateFormat = reader.string();
break;
case /* string NumberFormat */ 21:
message.NumberFormat = reader.string();
break;
case /* api.TimeFormat TimeFormat */ 22:
message.TimeFormat = reader.int32();
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;
}
private binaryReadMap17(map: StartWorkflowExtractKPIRequest["ColumnTranslationMaps"], reader: IBinaryReader, options: BinaryReadOptions): void {
let len = reader.uint32(), end = reader.pos + len, key: keyof StartWorkflowExtractKPIRequest["ColumnTranslationMaps"] | undefined, val: StartWorkflowExtractKPIRequest["ColumnTranslationMaps"][any] | undefined;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case 1:
key = reader.string();
break;
case 2:
val = TranslationMap.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for api.StartWorkflowExtractKPIRequest.ColumnTranslationMaps");
}
}
map[key ?? ""] = val ?? TranslationMap.create();
}
private binaryReadMap19(map: StartWorkflowExtractKPIRequest["ColumnFormats"], reader: IBinaryReader, options: BinaryReadOptions): void {
let len = reader.uint32(), end = reader.pos + len, key: keyof StartWorkflowExtractKPIRequest["ColumnFormats"] | undefined, val: StartWorkflowExtractKPIRequest["ColumnFormats"][any] | undefined;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case 1:
key = reader.int32();
break;
case 2:
val = ExtractColumnFormat.internalBinaryRead(reader, reader.uint32(), options);
break;
default: throw new globalThis.Error("unknown map entry field for api.StartWorkflowExtractKPIRequest.ColumnFormats");
}
}
map[key ?? 0] = val ?? ExtractColumnFormat.create();
}
internalBinaryWrite(message: StartWorkflowExtractKPIRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectId = 1; */
if (message.ProjectId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectId);
/* string UserId = 2; */
if (message.UserId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.UserId);
/* api.CHQueryType QueryType = 3; */
if (message.QueryType !== 0)
writer.tag(3, WireType.Varint).int32(message.QueryType);
/* string QueryBlock = 4; */
if (message.QueryBlock !== "")
writer.tag(4, WireType.LengthDelimited).string(message.QueryBlock);
/* repeated api.EntityBlockFilter EntityBlockFilters = 5; */
for (let i = 0; i < message.EntityBlockFilters.length; i++)
EntityBlockFilter.internalBinaryWrite(message.EntityBlockFilters[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* api.CHFilter Filter = 6; */
if (message.Filter)
CHFilter.internalBinaryWrite(message.Filter, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* repeated api.CHDimension Dimensions = 7; */
for (let i = 0; i < message.Dimensions.length; i++)
CHDimension.internalBinaryWrite(message.Dimensions[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* repeated api.CHMetric Metrics = 8; */
for (let i = 0; i < message.Metrics.length; i++)
CHMetric.internalBinaryWrite(message.Metrics[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
/* string TargetTimeZone = 9; */
if (message.TargetTimeZone !== "")
writer.tag(9, WireType.LengthDelimited).string(message.TargetTimeZone);
/* string KpiGroupName = 10; */
if (message.KpiGroupName !== "")
writer.tag(10, WireType.LengthDelimited).string(message.KpiGroupName);
/* string TargetDomain = 11; */
if (message.TargetDomain !== "")
writer.tag(11, WireType.LengthDelimited).string(message.TargetDomain);
/* string TargetType = 12; */
if (message.TargetType !== "")
writer.tag(12, WireType.LengthDelimited).string(message.TargetType);
/* repeated string Fields = 13; */
for (let i = 0; i < message.Fields.length; i++)
writer.tag(13, WireType.LengthDelimited).string(message.Fields[i]);
/* string ListSeparator = 14; */
if (message.ListSeparator !== "")
writer.tag(14, WireType.LengthDelimited).string(message.ListSeparator);
/* string DecimalSeparator = 15; */
if (message.DecimalSeparator !== "")
writer.tag(15, WireType.LengthDelimited).string(message.DecimalSeparator);
/* repeated string ColumnNames = 16; */
for (let i = 0; i < message.ColumnNames.length; i++)
writer.tag(16, WireType.LengthDelimited).string(message.ColumnNames[i]);
/* map<string, api.TranslationMap> ColumnTranslationMaps = 17; */
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
writer.tag(17, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
writer.tag(2, WireType.LengthDelimited).fork();
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
writer.join().join();
}
/* repeated int32 FieldIdxLVDetailedQuantity = 18; */
if (message.FieldIdxLVDetailedQuantity.length) {
writer.tag(18, WireType.LengthDelimited).fork();
for (let i = 0; i < message.FieldIdxLVDetailedQuantity.length; i++)
writer.int32(message.FieldIdxLVDetailedQuantity[i]);
writer.join();
}
/* map<int32, api.ExtractColumnFormat> ColumnFormats = 19; */
for (let k of globalThis.Object.keys(message.ColumnFormats)) {
writer.tag(19, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
writer.tag(2, WireType.LengthDelimited).fork();
ExtractColumnFormat.internalBinaryWrite(message.ColumnFormats[k as any], writer, options);
writer.join().join();
}
/* string DateFormat = 20; */
if (message.DateFormat !== "")
writer.tag(20, WireType.LengthDelimited).string(message.DateFormat);
/* string NumberFormat = 21; */
if (message.NumberFormat !== "")
writer.tag(21, WireType.LengthDelimited).string(message.NumberFormat);
/* api.TimeFormat TimeFormat = 22; */
if (message.TimeFormat !== 0)
writer.tag(22, WireType.Varint).int32(message.TimeFormat);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowExtractKPIRequest
*/
export const StartWorkflowExtractKPIRequest = new StartWorkflowExtractKPIRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowExtractKPIResult$Type extends MessageType<StartWorkflowExtractKPIResult> {
constructor() {
super("api.StartWorkflowExtractKPIResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowExtractKPIResult>): StartWorkflowExtractKPIResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowExtractKPIResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowExtractKPIResult): StartWorkflowExtractKPIResult {
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: StartWorkflowExtractKPIResult, 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.StartWorkflowExtractKPIResult
*/
export const StartWorkflowExtractKPIResult = new StartWorkflowExtractKPIResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RegisterModuleWorkflowsRequest$Type extends MessageType<RegisterModuleWorkflowsRequest> {
constructor() {
super("api.RegisterModuleWorkflowsRequest", [
{ no: 1, name: "ModuleRegistrations", kind: "message", localName: "ModuleRegistrations", jsonName: "ModuleRegistrations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ModuleRegistration },
{ no: 2, name: "Tasklist", kind: "scalar", localName: "Tasklist", jsonName: "Tasklist", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Tasklist"] } } });
}
create(value?: PartialMessage<RegisterModuleWorkflowsRequest>): RegisterModuleWorkflowsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ModuleRegistrations = [];
message.Tasklist = "";
if (value !== undefined)
reflectionMergePartial<RegisterModuleWorkflowsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterModuleWorkflowsRequest): RegisterModuleWorkflowsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.ModuleRegistration ModuleRegistrations */ 1:
message.ModuleRegistrations.push(ModuleRegistration.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string Tasklist */ 2:
message.Tasklist = 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: RegisterModuleWorkflowsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.ModuleRegistration ModuleRegistrations = 1; */
for (let i = 0; i < message.ModuleRegistrations.length; i++)
ModuleRegistration.internalBinaryWrite(message.ModuleRegistrations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Tasklist = 2; */
if (message.Tasklist !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Tasklist);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.RegisterModuleWorkflowsRequest
*/
export const RegisterModuleWorkflowsRequest = new RegisterModuleWorkflowsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RegisterModuleWorkflowsResult$Type extends MessageType<RegisterModuleWorkflowsResult> {
constructor() {
super("api.RegisterModuleWorkflowsResult", []);
}
create(value?: PartialMessage<RegisterModuleWorkflowsResult>): RegisterModuleWorkflowsResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<RegisterModuleWorkflowsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterModuleWorkflowsResult): RegisterModuleWorkflowsResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: RegisterModuleWorkflowsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.RegisterModuleWorkflowsResult
*/
export const RegisterModuleWorkflowsResult = new RegisterModuleWorkflowsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeregisterModuleWorkflowsRequest$Type extends MessageType<DeregisterModuleWorkflowsRequest> {
constructor() {
super("api.DeregisterModuleWorkflowsRequest", [
{ no: 1, name: "ModuleDeregistrations", kind: "message", localName: "ModuleDeregistrations", jsonName: "ModuleDeregistrations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ModuleDeregistration },
{ no: 2, name: "Tasklist", kind: "scalar", localName: "Tasklist", jsonName: "Tasklist", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Tasklist"] } } });
}
create(value?: PartialMessage<DeregisterModuleWorkflowsRequest>): DeregisterModuleWorkflowsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ModuleDeregistrations = [];
message.Tasklist = "";
if (value !== undefined)
reflectionMergePartial<DeregisterModuleWorkflowsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeregisterModuleWorkflowsRequest): DeregisterModuleWorkflowsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.ModuleDeregistration ModuleDeregistrations */ 1:
message.ModuleDeregistrations.push(ModuleDeregistration.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string Tasklist */ 2:
message.Tasklist = 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: DeregisterModuleWorkflowsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.ModuleDeregistration ModuleDeregistrations = 1; */
for (let i = 0; i < message.ModuleDeregistrations.length; i++)
ModuleDeregistration.internalBinaryWrite(message.ModuleDeregistrations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Tasklist = 2; */
if (message.Tasklist !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Tasklist);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeregisterModuleWorkflowsRequest
*/
export const DeregisterModuleWorkflowsRequest = new DeregisterModuleWorkflowsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeregisterModuleWorkflowsResult$Type extends MessageType<DeregisterModuleWorkflowsResult> {
constructor() {
super("api.DeregisterModuleWorkflowsResult", []);
}
create(value?: PartialMessage<DeregisterModuleWorkflowsResult>): DeregisterModuleWorkflowsResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<DeregisterModuleWorkflowsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeregisterModuleWorkflowsResult): DeregisterModuleWorkflowsResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: DeregisterModuleWorkflowsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeregisterModuleWorkflowsResult
*/
export const DeregisterModuleWorkflowsResult = new DeregisterModuleWorkflowsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ModuleWorkflow$Type extends MessageType<ModuleWorkflow> {
constructor() {
super("api.ModuleWorkflow", [
{ no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum] },
{ no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum] },
{ no: 4, name: "Timeout", kind: "scalar", localName: "Timeout", jsonName: "Timeout", T: 5 /*ScalarType.INT32*/ },
{ no: 5, name: "Tasklist", kind: "scalar", localName: "Tasklist", jsonName: "Tasklist", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<ModuleWorkflow>): ModuleWorkflow {
const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowTarget = 0;
message.WorkflowPath = "";
message.Type = 0;
message.Timeout = 0;
message.Tasklist = "";
if (value !== undefined)
reflectionMergePartial<ModuleWorkflow>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleWorkflow): ModuleWorkflow {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.WorkflowTypeEnum WorkflowTarget */ 1:
message.WorkflowTarget = reader.int32();
break;
case /* string WorkflowPath */ 2:
message.WorkflowPath = reader.string();
break;
case /* api.ModuleWorkflowTypeEnum Type */ 3:
message.Type = reader.int32();
break;
case /* int32 Timeout */ 4:
message.Timeout = reader.int32();
break;
case /* string Tasklist */ 5:
message.Tasklist = 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: ModuleWorkflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.WorkflowTypeEnum WorkflowTarget = 1; */
if (message.WorkflowTarget !== 0)
writer.tag(1, WireType.Varint).int32(message.WorkflowTarget);
/* string WorkflowPath = 2; */
if (message.WorkflowPath !== "")
writer.tag(2, WireType.LengthDelimited).string(message.WorkflowPath);
/* api.ModuleWorkflowTypeEnum Type = 3; */
if (message.Type !== 0)
writer.tag(3, WireType.Varint).int32(message.Type);
/* int32 Timeout = 4; */
if (message.Timeout !== 0)
writer.tag(4, WireType.Varint).int32(message.Timeout);
/* string Tasklist = 5; */
if (message.Tasklist !== "")
writer.tag(5, WireType.LengthDelimited).string(message.Tasklist);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ModuleWorkflow
*/
export const ModuleWorkflow = new ModuleWorkflow$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetModuleWorkflowsRequest$Type extends MessageType<GetModuleWorkflowsRequest> {
constructor() {
super("api.GetModuleWorkflowsRequest", [
{ no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["WorkflowTarget"] } } });
}
create(value?: PartialMessage<GetModuleWorkflowsRequest>): GetModuleWorkflowsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowTarget = 0;
if (value !== undefined)
reflectionMergePartial<GetModuleWorkflowsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetModuleWorkflowsRequest): GetModuleWorkflowsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.WorkflowTypeEnum WorkflowTarget */ 1:
message.WorkflowTarget = reader.int32();
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: GetModuleWorkflowsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.WorkflowTypeEnum WorkflowTarget = 1; */
if (message.WorkflowTarget !== 0)
writer.tag(1, WireType.Varint).int32(message.WorkflowTarget);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetModuleWorkflowsRequest
*/
export const GetModuleWorkflowsRequest = new GetModuleWorkflowsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetModuleWorkflowsResult$Type extends MessageType<GetModuleWorkflowsResult> {
constructor() {
super("api.GetModuleWorkflowsResult", [
{ no: 1, name: "ModuleWorkflows", kind: "message", localName: "ModuleWorkflows", jsonName: "ModuleWorkflows", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ModuleWorkflow }
]);
}
create(value?: PartialMessage<GetModuleWorkflowsResult>): GetModuleWorkflowsResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.ModuleWorkflows = [];
if (value !== undefined)
reflectionMergePartial<GetModuleWorkflowsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetModuleWorkflowsResult): GetModuleWorkflowsResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.ModuleWorkflow ModuleWorkflows */ 1:
message.ModuleWorkflows.push(ModuleWorkflow.internalBinaryRead(reader, reader.uint32(), options));
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: GetModuleWorkflowsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.ModuleWorkflow ModuleWorkflows = 1; */
for (let i = 0; i < message.ModuleWorkflows.length; i++)
ModuleWorkflow.internalBinaryWrite(message.ModuleWorkflows[i], 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.GetModuleWorkflowsResult
*/
export const GetModuleWorkflowsResult = new GetModuleWorkflowsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopWorkflowRequest$Type extends MessageType<StopWorkflowRequest> {
constructor() {
super("api.StopWorkflowRequest", [
{ no: 1, name: "WorkflowId", kind: "scalar", localName: "WorkflowId", jsonName: "WorkflowId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "RunId", kind: "scalar", localName: "RunId", jsonName: "RunId", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["WorkflowId", "Domain"] } } });
}
create(value?: PartialMessage<StopWorkflowRequest>): StopWorkflowRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowId = "";
message.RunId = "";
message.Domain = "";
if (value !== undefined)
reflectionMergePartial<StopWorkflowRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopWorkflowRequest): StopWorkflowRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string WorkflowId */ 1:
message.WorkflowId = reader.string();
break;
case /* string RunId */ 2:
message.RunId = reader.string();
break;
case /* string Domain */ 3:
message.Domain = 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: StopWorkflowRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string WorkflowId = 1; */
if (message.WorkflowId !== "")
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowId);
/* string RunId = 2; */
if (message.RunId !== "")
writer.tag(2, WireType.LengthDelimited).string(message.RunId);
/* string Domain = 3; */
if (message.Domain !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Domain);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StopWorkflowRequest
*/
export const StopWorkflowRequest = new StopWorkflowRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopWorkflowResult$Type extends MessageType<StopWorkflowResult> {
constructor() {
super("api.StopWorkflowResult", []);
}
create(value?: PartialMessage<StopWorkflowResult>): StopWorkflowResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StopWorkflowResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopWorkflowResult): StopWorkflowResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: StopWorkflowResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StopWorkflowResult
*/
export const StopWorkflowResult = new StopWorkflowResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowOptimizeClickhouseRequest$Type extends MessageType<StartWorkflowOptimizeClickhouseRequest> {
constructor() {
super("api.StartWorkflowOptimizeClickhouseRequest", [
{ no: 1, name: "Final", kind: "scalar", localName: "Final", jsonName: "Final", T: 8 /*ScalarType.BOOL*/ },
{ no: 2, name: "CronSchedule", kind: "scalar", localName: "CronSchedule", jsonName: "CronSchedule", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<StartWorkflowOptimizeClickhouseRequest>): StartWorkflowOptimizeClickhouseRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Final = false;
message.CronSchedule = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowOptimizeClickhouseRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowOptimizeClickhouseRequest): StartWorkflowOptimizeClickhouseRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* bool Final */ 1:
message.Final = reader.bool();
break;
case /* string CronSchedule */ 2:
message.CronSchedule = 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: StartWorkflowOptimizeClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* bool Final = 1; */
if (message.Final !== false)
writer.tag(1, WireType.Varint).bool(message.Final);
/* string CronSchedule = 2; */
if (message.CronSchedule !== "")
writer.tag(2, WireType.LengthDelimited).string(message.CronSchedule);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowOptimizeClickhouseRequest
*/
export const StartWorkflowOptimizeClickhouseRequest = new StartWorkflowOptimizeClickhouseRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowOptimizeClickhouseResult$Type extends MessageType<StartWorkflowOptimizeClickhouseResult> {
constructor() {
super("api.StartWorkflowOptimizeClickhouseResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowOptimizeClickhouseResult>): StartWorkflowOptimizeClickhouseResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowOptimizeClickhouseResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowOptimizeClickhouseResult): StartWorkflowOptimizeClickhouseResult {
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: StartWorkflowOptimizeClickhouseResult, 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.StartWorkflowOptimizeClickhouseResult
*/
export const StartWorkflowOptimizeClickhouseResult = new StartWorkflowOptimizeClickhouseResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateOrganisationRequest$Type extends MessageType<StartWorkflowCreateOrganisationRequest> {
constructor() {
super("api.StartWorkflowCreateOrganisationRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ManagerEmail", kind: "scalar", localName: "ManagerEmail", jsonName: "ManagerEmail", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "UserSub", kind: "scalar", localName: "UserSub", jsonName: "UserSub", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID", "UserSub", "ManagerEmail"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateOrganisationRequest>): StartWorkflowCreateOrganisationRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationID = "";
message.ManagerEmail = "";
message.UserSub = "";
message.Modules = [];
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateOrganisationRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateOrganisationRequest): StartWorkflowCreateOrganisationRequest {
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 ManagerEmail */ 2:
message.ManagerEmail = reader.string();
break;
case /* string UserSub */ 3:
message.UserSub = reader.string();
break;
case /* repeated api.Module Modules */ 4:
message.Modules.push(Module.internalBinaryRead(reader, reader.uint32(), options));
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: StartWorkflowCreateOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1; */
if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* string ManagerEmail = 2; */
if (message.ManagerEmail !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ManagerEmail);
/* string UserSub = 3; */
if (message.UserSub !== "")
writer.tag(3, WireType.LengthDelimited).string(message.UserSub);
/* repeated api.Module Modules = 4; */
for (let i = 0; i < message.Modules.length; i++)
Module.internalBinaryWrite(message.Modules[i], writer.tag(4, 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.StartWorkflowCreateOrganisationRequest
*/
export const StartWorkflowCreateOrganisationRequest = new StartWorkflowCreateOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateOrganisationResult$Type extends MessageType<StartWorkflowCreateOrganisationResult> {
constructor() {
super("api.StartWorkflowCreateOrganisationResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCreateOrganisationResult>): StartWorkflowCreateOrganisationResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateOrganisationResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateOrganisationResult): StartWorkflowCreateOrganisationResult {
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: StartWorkflowCreateOrganisationResult, 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.StartWorkflowCreateOrganisationResult
*/
export const StartWorkflowCreateOrganisationResult = new StartWorkflowCreateOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteOrganisationRequest$Type extends MessageType<StartWorkflowDeleteOrganisationRequest> {
constructor() {
super("api.StartWorkflowDeleteOrganisationRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID", "UserSub"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteOrganisationRequest>): StartWorkflowDeleteOrganisationRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationID = "";
message.UserID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteOrganisationRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteOrganisationRequest): StartWorkflowDeleteOrganisationRequest {
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 UserID */ 2:
message.UserID = 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: StartWorkflowDeleteOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1; */
if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* string UserID = 2; */
if (message.UserID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.UserID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeleteOrganisationRequest
*/
export const StartWorkflowDeleteOrganisationRequest = new StartWorkflowDeleteOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteOrganisationResult$Type extends MessageType<StartWorkflowDeleteOrganisationResult> {
constructor() {
super("api.StartWorkflowDeleteOrganisationResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeleteOrganisationResult>): StartWorkflowDeleteOrganisationResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteOrganisationResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteOrganisationResult): StartWorkflowDeleteOrganisationResult {
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: StartWorkflowDeleteOrganisationResult, 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.StartWorkflowDeleteOrganisationResult
*/
export const StartWorkflowDeleteOrganisationResult = new StartWorkflowDeleteOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowRecoverDataRequest$Type extends MessageType<StartWorkflowRecoverDataRequest> {
constructor() {
super("api.StartWorkflowRecoverDataRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 3, name: "RecoveryType", kind: "enum", localName: "RecoveryType", jsonName: "RecoveryType", T: () => ["api.RecoverType", RecoverType] },
{ no: 4, name: "ClearEntityData", kind: "scalar", localName: "ClearEntityData", jsonName: "ClearEntityData", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "RestartJob", kind: "scalar", localName: "RestartJob", jsonName: "RestartJob", T: 8 /*ScalarType.BOOL*/ },
{ no: 7, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity", "RecoveryType", "OrganisationID"] } } });
}
create(value?: PartialMessage<StartWorkflowRecoverDataRequest>): StartWorkflowRecoverDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
message.RecoveryType = 0;
message.ClearEntityData = false;
message.RestartJob = false;
message.OrganisationID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowRecoverDataRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowRecoverDataRequest): StartWorkflowRecoverDataRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 2:
message.Entity = reader.int32();
break;
case /* api.RecoverType RecoveryType */ 3:
message.RecoveryType = reader.int32();
break;
case /* bool ClearEntityData */ 4:
message.ClearEntityData = reader.bool();
break;
case /* bool RestartJob */ 6:
message.RestartJob = reader.bool();
break;
case /* string OrganisationID */ 7:
message.OrganisationID = 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: StartWorkflowRecoverDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.ModelDataSetEnum Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
/* api.RecoverType RecoveryType = 3; */
if (message.RecoveryType !== 0)
writer.tag(3, WireType.Varint).int32(message.RecoveryType);
/* bool ClearEntityData = 4; */
if (message.ClearEntityData !== false)
writer.tag(4, WireType.Varint).bool(message.ClearEntityData);
/* bool RestartJob = 6; */
if (message.RestartJob !== false)
writer.tag(6, WireType.Varint).bool(message.RestartJob);
/* string OrganisationID = 7; */
if (message.OrganisationID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.OrganisationID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowRecoverDataRequest
*/
export const StartWorkflowRecoverDataRequest = new StartWorkflowRecoverDataRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowRecoverDataResult$Type extends MessageType<StartWorkflowRecoverDataResult> {
constructor() {
super("api.StartWorkflowRecoverDataResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowRecoverDataResult>): StartWorkflowRecoverDataResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowRecoverDataResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowRecoverDataResult): StartWorkflowRecoverDataResult {
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: StartWorkflowRecoverDataResult, 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.StartWorkflowRecoverDataResult
*/
export const StartWorkflowRecoverDataResult = new StartWorkflowRecoverDataResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCheckAndLaunchRecoverDataRequest$Type extends MessageType<StartWorkflowCheckAndLaunchRecoverDataRequest> {
constructor() {
super("api.StartWorkflowCheckAndLaunchRecoverDataRequest", [
{ no: 1, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 2, name: "RecoveryType", kind: "enum", localName: "RecoveryType", jsonName: "RecoveryType", T: () => ["api.RecoverType", RecoverType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Entity", "RecoveryType"] } } });
}
create(value?: PartialMessage<StartWorkflowCheckAndLaunchRecoverDataRequest>): StartWorkflowCheckAndLaunchRecoverDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Entity = 0;
message.RecoveryType = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowCheckAndLaunchRecoverDataRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCheckAndLaunchRecoverDataRequest): StartWorkflowCheckAndLaunchRecoverDataRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ModelDataSetEnum Entity */ 1:
message.Entity = reader.int32();
break;
case /* api.RecoverType RecoveryType */ 2:
message.RecoveryType = reader.int32();
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: StartWorkflowCheckAndLaunchRecoverDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ModelDataSetEnum Entity = 1; */
if (message.Entity !== 0)
writer.tag(1, WireType.Varint).int32(message.Entity);
/* api.RecoverType RecoveryType = 2; */
if (message.RecoveryType !== 0)
writer.tag(2, WireType.Varint).int32(message.RecoveryType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCheckAndLaunchRecoverDataRequest
*/
export const StartWorkflowCheckAndLaunchRecoverDataRequest = new StartWorkflowCheckAndLaunchRecoverDataRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCheckAndLaunchRecoverDataResult$Type extends MessageType<StartWorkflowCheckAndLaunchRecoverDataResult> {
constructor() {
super("api.StartWorkflowCheckAndLaunchRecoverDataResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCheckAndLaunchRecoverDataResult>): StartWorkflowCheckAndLaunchRecoverDataResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCheckAndLaunchRecoverDataResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCheckAndLaunchRecoverDataResult): StartWorkflowCheckAndLaunchRecoverDataResult {
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: StartWorkflowCheckAndLaunchRecoverDataResult, 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.StartWorkflowCheckAndLaunchRecoverDataResult
*/
export const StartWorkflowCheckAndLaunchRecoverDataResult = new StartWorkflowCheckAndLaunchRecoverDataResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowUpdateMaterializedViewRequest$Type extends MessageType<StartWorkflowUpdateMaterializedViewRequest> {
constructor() {
super("api.StartWorkflowUpdateMaterializedViewRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "OrganisationID"] } } });
}
create(value?: PartialMessage<StartWorkflowUpdateMaterializedViewRequest>): StartWorkflowUpdateMaterializedViewRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.OrganisationID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowUpdateMaterializedViewRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowUpdateMaterializedViewRequest): StartWorkflowUpdateMaterializedViewRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* string OrganisationID */ 2:
message.OrganisationID = 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: StartWorkflowUpdateMaterializedViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* string OrganisationID = 2; */
if (message.OrganisationID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.OrganisationID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowUpdateMaterializedViewRequest
*/
export const StartWorkflowUpdateMaterializedViewRequest = new StartWorkflowUpdateMaterializedViewRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowUpdateMaterializedViewResult$Type extends MessageType<StartWorkflowUpdateMaterializedViewResult> {
constructor() {
super("api.StartWorkflowUpdateMaterializedViewResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowUpdateMaterializedViewResult>): StartWorkflowUpdateMaterializedViewResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowUpdateMaterializedViewResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowUpdateMaterializedViewResult): StartWorkflowUpdateMaterializedViewResult {
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: StartWorkflowUpdateMaterializedViewResult, 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.StartWorkflowUpdateMaterializedViewResult
*/
export const StartWorkflowUpdateMaterializedViewResult = new StartWorkflowUpdateMaterializedViewResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetWorkflowStateRequest$Type extends MessageType<GetWorkflowStateRequest> {
constructor() {
super("api.GetWorkflowStateRequest", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["WorkflowExecution"] } } });
}
create(value?: PartialMessage<GetWorkflowStateRequest>): GetWorkflowStateRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<GetWorkflowStateRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetWorkflowStateRequest): GetWorkflowStateRequest {
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: GetWorkflowStateRequest, 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.GetWorkflowStateRequest
*/
export const GetWorkflowStateRequest = new GetWorkflowStateRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetWorkflowStateResult$Type extends MessageType<GetWorkflowStateResult> {
constructor() {
super("api.GetWorkflowStateResult", [
{ no: 1, name: "State", kind: "scalar", localName: "State", jsonName: "State", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<GetWorkflowStateResult>): GetWorkflowStateResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.State = "";
if (value !== undefined)
reflectionMergePartial<GetWorkflowStateResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetWorkflowStateResult): GetWorkflowStateResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string State */ 1:
message.State = 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: GetWorkflowStateResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string State = 1; */
if (message.State !== "")
writer.tag(1, WireType.LengthDelimited).string(message.State);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetWorkflowStateResult
*/
export const GetWorkflowStateResult = new GetWorkflowStateResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetWorkflowExecutionInformationsRequest$Type extends MessageType<GetWorkflowExecutionInformationsRequest> {
constructor() {
super("api.GetWorkflowExecutionInformationsRequest", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["WorkflowExecution"] } } });
}
create(value?: PartialMessage<GetWorkflowExecutionInformationsRequest>): GetWorkflowExecutionInformationsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<GetWorkflowExecutionInformationsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetWorkflowExecutionInformationsRequest): GetWorkflowExecutionInformationsRequest {
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: GetWorkflowExecutionInformationsRequest, 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.GetWorkflowExecutionInformationsRequest
*/
export const GetWorkflowExecutionInformationsRequest = new GetWorkflowExecutionInformationsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetWorkflowExecutionInformationsResult$Type extends MessageType<GetWorkflowExecutionInformationsResult> {
constructor() {
super("api.GetWorkflowExecutionInformationsResult", [
{ no: 1, name: "WorkflowExecutionInformations", kind: "scalar", localName: "WorkflowExecutionInformations", jsonName: "WorkflowExecutionInformations", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<GetWorkflowExecutionInformationsResult>): GetWorkflowExecutionInformationsResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowExecutionInformations = "";
if (value !== undefined)
reflectionMergePartial<GetWorkflowExecutionInformationsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetWorkflowExecutionInformationsResult): GetWorkflowExecutionInformationsResult {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string WorkflowExecutionInformations */ 1:
message.WorkflowExecutionInformations = 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: GetWorkflowExecutionInformationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string WorkflowExecutionInformations = 1; */
if (message.WorkflowExecutionInformations !== "")
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowExecutionInformations);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetWorkflowExecutionInformationsResult
*/
export const GetWorkflowExecutionInformationsResult = new GetWorkflowExecutionInformationsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDailyProjectsOperationsRequest$Type extends MessageType<StartWorkflowDailyProjectsOperationsRequest> {
constructor() {
super("api.StartWorkflowDailyProjectsOperationsRequest", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
create(value?: PartialMessage<StartWorkflowDailyProjectsOperationsRequest>): StartWorkflowDailyProjectsOperationsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDailyProjectsOperationsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDailyProjectsOperationsRequest): StartWorkflowDailyProjectsOperationsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: StartWorkflowDailyProjectsOperationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDailyProjectsOperationsRequest
*/
export const StartWorkflowDailyProjectsOperationsRequest = new StartWorkflowDailyProjectsOperationsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDailyProjectsOperationsResult$Type extends MessageType<StartWorkflowDailyProjectsOperationsResult> {
constructor() {
super("api.StartWorkflowDailyProjectsOperationsResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDailyProjectsOperationsResult>): StartWorkflowDailyProjectsOperationsResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDailyProjectsOperationsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDailyProjectsOperationsResult): StartWorkflowDailyProjectsOperationsResult {
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: StartWorkflowDailyProjectsOperationsResult, 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.StartWorkflowDailyProjectsOperationsResult
*/
export const StartWorkflowDailyProjectsOperationsResult = new StartWorkflowDailyProjectsOperationsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowHealthCheckWorkflowsRequest$Type extends MessageType<StartWorkflowHealthCheckWorkflowsRequest> {
constructor() {
super("api.StartWorkflowHealthCheckWorkflowsRequest", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
create(value?: PartialMessage<StartWorkflowHealthCheckWorkflowsRequest>): StartWorkflowHealthCheckWorkflowsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowHealthCheckWorkflowsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowHealthCheckWorkflowsRequest): StartWorkflowHealthCheckWorkflowsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: StartWorkflowHealthCheckWorkflowsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowHealthCheckWorkflowsRequest
*/
export const StartWorkflowHealthCheckWorkflowsRequest = new StartWorkflowHealthCheckWorkflowsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowHealthCheckWorkflowsResult$Type extends MessageType<StartWorkflowHealthCheckWorkflowsResult> {
constructor() {
super("api.StartWorkflowHealthCheckWorkflowsResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowHealthCheckWorkflowsResult>): StartWorkflowHealthCheckWorkflowsResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowHealthCheckWorkflowsResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowHealthCheckWorkflowsResult): StartWorkflowHealthCheckWorkflowsResult {
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: StartWorkflowHealthCheckWorkflowsResult, 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.StartWorkflowHealthCheckWorkflowsResult
*/
export const StartWorkflowHealthCheckWorkflowsResult = new StartWorkflowHealthCheckWorkflowsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowPruneDataRequest$Type extends MessageType<StartWorkflowPruneDataRequest> {
constructor() {
super("api.StartWorkflowPruneDataRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity"] } } });
}
create(value?: PartialMessage<StartWorkflowPruneDataRequest>): StartWorkflowPruneDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowPruneDataRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowPruneDataRequest): StartWorkflowPruneDataRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
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: StartWorkflowPruneDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowPruneDataRequest
*/
export const StartWorkflowPruneDataRequest = new StartWorkflowPruneDataRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowPruneDataResult$Type extends MessageType<StartWorkflowPruneDataResult> {
constructor() {
super("api.StartWorkflowPruneDataResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowPruneDataResult>): StartWorkflowPruneDataResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowPruneDataResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowPruneDataResult): StartWorkflowPruneDataResult {
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: StartWorkflowPruneDataResult, 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.StartWorkflowPruneDataResult
*/
export const StartWorkflowPruneDataResult = new StartWorkflowPruneDataResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSynchronizeRulesOnGitRequest$Type extends MessageType<StartWorkflowSynchronizeRulesOnGitRequest> {
constructor() {
super("api.StartWorkflowSynchronizeRulesOnGitRequest", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
create(value?: PartialMessage<StartWorkflowSynchronizeRulesOnGitRequest>): StartWorkflowSynchronizeRulesOnGitRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowSynchronizeRulesOnGitRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSynchronizeRulesOnGitRequest): StartWorkflowSynchronizeRulesOnGitRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: StartWorkflowSynchronizeRulesOnGitRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowSynchronizeRulesOnGitRequest
*/
export const StartWorkflowSynchronizeRulesOnGitRequest = new StartWorkflowSynchronizeRulesOnGitRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSynchronizeRulesOnGitResult$Type extends MessageType<StartWorkflowSynchronizeRulesOnGitResult> {
constructor() {
super("api.StartWorkflowSynchronizeRulesOnGitResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowSynchronizeRulesOnGitResult>): StartWorkflowSynchronizeRulesOnGitResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowSynchronizeRulesOnGitResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSynchronizeRulesOnGitResult): StartWorkflowSynchronizeRulesOnGitResult {
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: StartWorkflowSynchronizeRulesOnGitResult, 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.StartWorkflowSynchronizeRulesOnGitResult
*/
export const StartWorkflowSynchronizeRulesOnGitResult = new StartWorkflowSynchronizeRulesOnGitResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowAnonymizeDataRequest$Type extends MessageType<StartWorkflowAnonymizeDataRequest> {
constructor() {
super("api.StartWorkflowAnonymizeDataRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "Entity"] } } });
}
create(value?: PartialMessage<StartWorkflowAnonymizeDataRequest>): StartWorkflowAnonymizeDataRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.Entity = 0;
if (value !== undefined)
reflectionMergePartial<StartWorkflowAnonymizeDataRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowAnonymizeDataRequest): StartWorkflowAnonymizeDataRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityType Entity */ 2:
message.Entity = reader.int32();
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: StartWorkflowAnonymizeDataRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* api.EntityType Entity = 2; */
if (message.Entity !== 0)
writer.tag(2, WireType.Varint).int32(message.Entity);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowAnonymizeDataRequest
*/
export const StartWorkflowAnonymizeDataRequest = new StartWorkflowAnonymizeDataRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowAnonymizeDataResult$Type extends MessageType<StartWorkflowAnonymizeDataResult> {
constructor() {
super("api.StartWorkflowAnonymizeDataResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowAnonymizeDataResult>): StartWorkflowAnonymizeDataResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowAnonymizeDataResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowAnonymizeDataResult): StartWorkflowAnonymizeDataResult {
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: StartWorkflowAnonymizeDataResult, 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.StartWorkflowAnonymizeDataResult
*/
export const StartWorkflowAnonymizeDataResult = new StartWorkflowAnonymizeDataResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowUpgradeModelRequest$Type extends MessageType<StartWorkflowUpgradeModelRequest> {
constructor() {
super("api.StartWorkflowUpgradeModelRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.ModelDataSetEnum", ModelDataSetEnum] },
{ no: 4, name: "ClearEntityData", kind: "scalar", localName: "ClearEntityData", jsonName: "ClearEntityData", T: 8 /*ScalarType.BOOL*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
create(value?: PartialMessage<StartWorkflowUpgradeModelRequest>): StartWorkflowUpgradeModelRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationID = "";
message.ProjectID = "";
message.Entity = 0;
message.ClearEntityData = false;
if (value !== undefined)
reflectionMergePartial<StartWorkflowUpgradeModelRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowUpgradeModelRequest): StartWorkflowUpgradeModelRequest {
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 ProjectID */ 2:
message.ProjectID = reader.string();
break;
case /* api.ModelDataSetEnum Entity */ 3:
message.Entity = reader.int32();
break;
case /* bool ClearEntityData */ 4:
message.ClearEntityData = reader.bool();
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: StartWorkflowUpgradeModelRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1; */
if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* string ProjectID = 2; */
if (message.ProjectID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectID);
/* api.ModelDataSetEnum Entity = 3; */
if (message.Entity !== 0)
writer.tag(3, WireType.Varint).int32(message.Entity);
/* bool ClearEntityData = 4; */
if (message.ClearEntityData !== false)
writer.tag(4, WireType.Varint).bool(message.ClearEntityData);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowUpgradeModelRequest
*/
export const StartWorkflowUpgradeModelRequest = new StartWorkflowUpgradeModelRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowUpgradeModelResult$Type extends MessageType<StartWorkflowUpgradeModelResult> {
constructor() {
super("api.StartWorkflowUpgradeModelResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowUpgradeModelResult>): StartWorkflowUpgradeModelResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowUpgradeModelResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowUpgradeModelResult): StartWorkflowUpgradeModelResult {
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: StartWorkflowUpgradeModelResult, 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.StartWorkflowUpgradeModelResult
*/
export const StartWorkflowUpgradeModelResult = new StartWorkflowUpgradeModelResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSweepRequest$Type extends MessageType<StartWorkflowSweepRequest> {
constructor() {
super("api.StartWorkflowSweepRequest", [
{ no: 1, name: "DryRun", kind: "scalar", localName: "DryRun", jsonName: "DryRun", T: 8 /*ScalarType.BOOL*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
}
create(value?: PartialMessage<StartWorkflowSweepRequest>): StartWorkflowSweepRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.DryRun = false;
if (value !== undefined)
reflectionMergePartial<StartWorkflowSweepRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSweepRequest): StartWorkflowSweepRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* bool DryRun */ 1:
message.DryRun = reader.bool();
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: StartWorkflowSweepRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* bool DryRun = 1; */
if (message.DryRun !== false)
writer.tag(1, WireType.Varint).bool(message.DryRun);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowSweepRequest
*/
export const StartWorkflowSweepRequest = new StartWorkflowSweepRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSweepResult$Type extends MessageType<StartWorkflowSweepResult> {
constructor() {
super("api.StartWorkflowSweepResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowSweepResult>): StartWorkflowSweepResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowSweepResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSweepResult): StartWorkflowSweepResult {
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: StartWorkflowSweepResult, 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.StartWorkflowSweepResult
*/
export const StartWorkflowSweepResult = new StartWorkflowSweepResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflowCreateClickhouseRequest> {
constructor() {
super("api.StartWorkflowCreateClickhouseRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
}
create(value?: PartialMessage<StartWorkflowCreateClickhouseRequest>): StartWorkflowCreateClickhouseRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateClickhouseRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateClickhouseRequest): StartWorkflowCreateClickhouseRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = 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: StartWorkflowCreateClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCreateClickhouseRequest
*/
export const StartWorkflowCreateClickhouseRequest = new StartWorkflowCreateClickhouseRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCreateClickhouseResult$Type extends MessageType<StartWorkflowCreateClickhouseResult> {
constructor() {
super("api.StartWorkflowCreateClickhouseResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCreateClickhouseResult>): StartWorkflowCreateClickhouseResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCreateClickhouseResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCreateClickhouseResult): StartWorkflowCreateClickhouseResult {
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: StartWorkflowCreateClickhouseResult, 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.StartWorkflowCreateClickhouseResult
*/
export const StartWorkflowCreateClickhouseResult = new StartWorkflowCreateClickhouseResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflowDeleteClickhouseRequest> {
constructor() {
super("api.StartWorkflowDeleteClickhouseRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
}
create(value?: PartialMessage<StartWorkflowDeleteClickhouseRequest>): StartWorkflowDeleteClickhouseRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteClickhouseRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteClickhouseRequest): StartWorkflowDeleteClickhouseRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = 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: StartWorkflowDeleteClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowDeleteClickhouseRequest
*/
export const StartWorkflowDeleteClickhouseRequest = new StartWorkflowDeleteClickhouseRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowDeleteClickhouseResult$Type extends MessageType<StartWorkflowDeleteClickhouseResult> {
constructor() {
super("api.StartWorkflowDeleteClickhouseResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowDeleteClickhouseResult>): StartWorkflowDeleteClickhouseResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowDeleteClickhouseResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteClickhouseResult): StartWorkflowDeleteClickhouseResult {
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: StartWorkflowDeleteClickhouseResult, 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.StartWorkflowDeleteClickhouseResult
*/
export const StartWorkflowDeleteClickhouseResult = new StartWorkflowDeleteClickhouseResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowCleanCassandraRequest> {
constructor() {
super("api.StartWorkflowCleanCassandraRequest", [
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
}
create(value?: PartialMessage<StartWorkflowCleanCassandraRequest>): StartWorkflowCleanCassandraRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ResourceID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowCleanCassandraRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCleanCassandraRequest): StartWorkflowCleanCassandraRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ResourceID */ 1:
message.ResourceID = 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: StartWorkflowCleanCassandraRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ResourceID = 1; */
if (message.ResourceID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowCleanCassandraRequest
*/
export const StartWorkflowCleanCassandraRequest = new StartWorkflowCleanCassandraRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowCleanCassandraResult$Type extends MessageType<StartWorkflowCleanCassandraResult> {
constructor() {
super("api.StartWorkflowCleanCassandraResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowCleanCassandraResult>): StartWorkflowCleanCassandraResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowCleanCassandraResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowCleanCassandraResult): StartWorkflowCleanCassandraResult {
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: StartWorkflowCleanCassandraResult, 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.StartWorkflowCleanCassandraResult
*/
export const StartWorkflowCleanCassandraResult = new StartWorkflowCleanCassandraResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSynchronizeUMAStoreRequest$Type extends MessageType<StartWorkflowSynchronizeUMAStoreRequest> {
constructor() {
super("api.StartWorkflowSynchronizeUMAStoreRequest", [
{ no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<StartWorkflowSynchronizeUMAStoreRequest>): StartWorkflowSynchronizeUMAStoreRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.UserID = "";
if (value !== undefined)
reflectionMergePartial<StartWorkflowSynchronizeUMAStoreRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSynchronizeUMAStoreRequest): StartWorkflowSynchronizeUMAStoreRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string UserID */ 1:
message.UserID = 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: StartWorkflowSynchronizeUMAStoreRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string UserID = 1; */
if (message.UserID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.UserID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StartWorkflowSynchronizeUMAStoreRequest
*/
export const StartWorkflowSynchronizeUMAStoreRequest = new StartWorkflowSynchronizeUMAStoreRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartWorkflowSynchronizeUMAStoreResult$Type extends MessageType<StartWorkflowSynchronizeUMAStoreResult> {
constructor() {
super("api.StartWorkflowSynchronizeUMAStoreResult", [
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
]);
}
create(value?: PartialMessage<StartWorkflowSynchronizeUMAStoreResult>): StartWorkflowSynchronizeUMAStoreResult {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StartWorkflowSynchronizeUMAStoreResult>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowSynchronizeUMAStoreResult): StartWorkflowSynchronizeUMAStoreResult {
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: StartWorkflowSynchronizeUMAStoreResult, 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.StartWorkflowSynchronizeUMAStoreResult
*/
export const StartWorkflowSynchronizeUMAStoreResult = new StartWorkflowSynchronizeUMAStoreResult$Type();
/**
* @generated ServiceType for protobuf service api.WorkflowService
*/
export const WorkflowService = new ServiceType("api.WorkflowService", [
{ name: "RetryWorkflow", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Retry a stopped workflow where it left off" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RetryWorkflowRequest, O: RetryWorkflowResult },
{ 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: "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 },
{ name: "StartWorkflowBilling", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow Billing" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowBillingRequest, O: StartWorkflowBillingResult },
{ name: "StopWorkflowBilling", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Stop the Billing workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopWorkflowBillingRequest, O: StopWorkflowBillingResult },
{ name: "StartWorkflowExtractDataFromDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow ExtractDataFromDB" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowExtractDataFromDBRequest, O: StartWorkflowExtractDataFromDBResult },
{ name: "RegisterModuleWorkflows", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Register module child workflows to be executed after or before a core workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RegisterModuleWorkflowsRequest, O: RegisterModuleWorkflowsResult },
{ name: "DeregisterModuleWorkflows", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Deregister module child workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeregisterModuleWorkflowsRequest, O: DeregisterModuleWorkflowsResult },
{ name: "GetModuleWorkflows", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Get module child workflow for a workflow type" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetModuleWorkflowsRequest, O: GetModuleWorkflowsResult },
{ name: "StopWorkflow", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Terminates a workflow execution" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopWorkflowRequest, O: StopWorkflowResult },
{ name: "StartWorkflowOptimizeClickhouse", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will periodically launch optimize clikhouse operation for all projects in the platform" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowOptimizeClickhouseRequest, O: StartWorkflowOptimizeClickhouseResult },
{ name: "StartWorkflowCreateOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will create an organisation" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateOrganisationRequest, O: StartWorkflowCreateOrganisationResult },
{ name: "StartWorkflowDeleteOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will delete an organisation and all of its projects" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteOrganisationRequest, O: StartWorkflowDeleteOrganisationResult },
{ name: "StartWorkflowRecoverData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will recover data from db source of truth to one of other database" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowRecoverDataRequest, O: StartWorkflowRecoverDataResult },
{ name: "StartWorkflowCheckAndLaunchRecoverData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will check if data recovery has to be done and then launch data recovery workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCheckAndLaunchRecoverDataRequest, O: StartWorkflowCheckAndLaunchRecoverDataResult },
{ name: "StartWorkflowUpdateMaterializedView", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will recover extended view on clickhouse" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowUpdateMaterializedViewRequest, O: StartWorkflowUpdateMaterializedViewResult },
{ name: "GetWorkflowState", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Return the json state of a workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetWorkflowStateRequest, O: GetWorkflowStateResult },
{ name: "GetWorkflowExecutionInformations", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Return in json format workflow execution information of a workflow" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetWorkflowExecutionInformationsRequest, O: GetWorkflowExecutionInformationsResult },
{ name: "StartWorkflowDailyProjectsOperations", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a cron workflow to execute daily operations for all projects in the platform" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDailyProjectsOperationsRequest, O: StartWorkflowDailyProjectsOperationsResult },
{ name: "StartWorkflowHealthCheckWorkflows", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a cron workflow to check health of workflows in the last day in all listed domains" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowHealthCheckWorkflowsRequest, O: StartWorkflowHealthCheckWorkflowsResult },
{ name: "StartWorkflowExtractKPI", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to extract kpi" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowExtractKPIRequest, O: StartWorkflowExtractKPIResult },
{ name: "StartWorkflowPruneData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to prune project entity data." }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowPruneDataRequest, O: StartWorkflowPruneDataResult },
{ name: "StartWorkflowSynchronizeRulesOnGit", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to synchronize rules on git" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowSynchronizeRulesOnGitRequest, O: StartWorkflowSynchronizeRulesOnGitResult },
{ name: "StartWorkflowAnonymizeData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to anonymize project entity data." }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowAnonymizeDataRequest, O: StartWorkflowAnonymizeDataResult },
{ name: "StartWorkflowUpgradeModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to run upgrade script according to the model version." }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowUpgradeModelRequest, O: StartWorkflowUpgradeModelResult },
{ name: "StartWorkflowSweep", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to sweep the platform." }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowSweepRequest, O: StartWorkflowSweepResult },
{ name: "StartWorkflowCreateClickhouse", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will create clickhouse database for the project and the resource" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateClickhouseRequest, O: StartWorkflowCreateClickhouseResult },
{ name: "StartWorkflowDeleteClickhouse", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will delete clickhouse database for the project and the resource" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteClickhouseRequest, O: StartWorkflowDeleteClickhouseResult },
{ name: "StartWorkflowCleanCassandra", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will clean data in cassandra tables for the project and the resource" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCleanCassandraRequest, O: StartWorkflowCleanCassandraResult },
{ name: "StartWorkflowSynchronizeUMAStore", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow which will synchronize UMA store for all users or for a specific user if UserID is provided" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowSynchronizeUMAStoreRequest, O: StartWorkflowSynchronizeUMAStoreResult }
], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true });