You've already forked npm-core-sdk
Latest generation
This commit is contained in:
26
workflow.ts
26
workflow.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "workflow.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -958,7 +958,7 @@ class StartWorkflowCreateProjectRequest$Type extends MessageType<StartWorkflowCr
|
||||
{ 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: 1 /*RepeatType.PACKED*/, T: () => Module }
|
||||
{ no: 5, 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", "ProjectId", "UserSub", "ManagerEmail"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowCreateProjectRequest>): StartWorkflowCreateProjectRequest {
|
||||
@@ -1695,7 +1695,7 @@ class StartWorkflowExtractDataFromDBRequest$Type extends MessageType<StartWorkfl
|
||||
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: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
|
||||
{ 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*/ },
|
||||
@@ -1834,9 +1834,6 @@ class StartWorkflowExtractDataFromDBRequest$Type extends MessageType<StartWorkfl
|
||||
/* repeated api.BlockFilter BlockFilters = 3 [json_name = "BlockFilters"]; */
|
||||
for (let i = 0; i < message.BlockFilters.length; i++)
|
||||
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string TargetDomain = 9 [json_name = "TargetDomain"]; */
|
||||
if (message.TargetDomain !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.TargetDomain);
|
||||
/* string TargetType = 4 [json_name = "TargetType"]; */
|
||||
if (message.TargetType !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.TargetType);
|
||||
@@ -1852,6 +1849,9 @@ class StartWorkflowExtractDataFromDBRequest$Type extends MessageType<StartWorkfl
|
||||
/* repeated string ColumnNames = 8 [json_name = "ColumnNames"]; */
|
||||
for (let i = 0; i < message.ColumnNames.length; i++)
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.ColumnNames[i]);
|
||||
/* string TargetDomain = 9 [json_name = "TargetDomain"]; */
|
||||
if (message.TargetDomain !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.TargetDomain);
|
||||
/* map<string, api.TranslationMap> ColumnTranslationMaps = 10 [json_name = "ColumnTranslationMaps"]; */
|
||||
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
|
||||
writer.tag(10, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
|
||||
@@ -1942,10 +1942,10 @@ class StartWorkflowExtractKPIRequest$Type extends MessageType<StartWorkflowExtra
|
||||
{ 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: 1 /*RepeatType.PACKED*/, T: () => EntityBlockFilter },
|
||||
{ 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: 1 /*RepeatType.PACKED*/, T: () => CHDimension },
|
||||
{ no: 8, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 1 /*RepeatType.PACKED*/, T: () => CHMetric },
|
||||
{ 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" } } } },
|
||||
@@ -2246,7 +2246,7 @@ export const StartWorkflowExtractKPIResult = new StartWorkflowExtractKPIResult$T
|
||||
class RegisterModuleWorkflowsRequest$Type extends MessageType<RegisterModuleWorkflowsRequest> {
|
||||
constructor() {
|
||||
super("api.RegisterModuleWorkflowsRequest", [
|
||||
{ no: 1, name: "ModuleRegistrations", kind: "message", localName: "ModuleRegistrations", jsonName: "ModuleRegistrations", repeat: 1 /*RepeatType.PACKED*/, T: () => ModuleRegistration },
|
||||
{ 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"] } } });
|
||||
}
|
||||
@@ -2339,7 +2339,7 @@ export const RegisterModuleWorkflowsResult = new RegisterModuleWorkflowsResult$T
|
||||
class DeregisterModuleWorkflowsRequest$Type extends MessageType<DeregisterModuleWorkflowsRequest> {
|
||||
constructor() {
|
||||
super("api.DeregisterModuleWorkflowsRequest", [
|
||||
{ no: 1, name: "ModuleDeregistrations", kind: "message", localName: "ModuleDeregistrations", jsonName: "ModuleDeregistrations", repeat: 1 /*RepeatType.PACKED*/, T: () => ModuleDeregistration },
|
||||
{ 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"] } } });
|
||||
}
|
||||
@@ -2558,7 +2558,7 @@ export const GetModuleWorkflowsRequest = new GetModuleWorkflowsRequest$Type();
|
||||
class GetModuleWorkflowsResult$Type extends MessageType<GetModuleWorkflowsResult> {
|
||||
constructor() {
|
||||
super("api.GetModuleWorkflowsResult", [
|
||||
{ no: 1, name: "ModuleWorkflows", kind: "message", localName: "ModuleWorkflows", jsonName: "ModuleWorkflows", repeat: 1 /*RepeatType.PACKED*/, T: () => ModuleWorkflow }
|
||||
{ no: 1, name: "ModuleWorkflows", kind: "message", localName: "ModuleWorkflows", jsonName: "ModuleWorkflows", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ModuleWorkflow }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetModuleWorkflowsResult>): GetModuleWorkflowsResult {
|
||||
@@ -2810,7 +2810,7 @@ class StartWorkflowCreateOrganisationRequest$Type extends MessageType<StartWorkf
|
||||
{ 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: 1 /*RepeatType.PACKED*/, T: () => Module }
|
||||
{ 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 {
|
||||
|
||||
Reference in New Issue
Block a user