From 237fd5bec275441ceefc67923e309742ff93b20a Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 31 Aug 2026 08:10:50 +0000 Subject: [PATCH] Latest generation --- accounts.ts | 22 +++---- actor.ts | 6 +- actorInput.ts | 42 ++++++------- actorQuery.ts | 14 ++--- adaptiveCard.ts | 18 +++--- adminConnection.ts | 4 +- alias.ts | 16 ++--- api.ts | 18 +++--- appointment.ts | 8 +-- appointmentInput.ts | 64 ++++++++++---------- appointmentQuery.ts | 26 ++++----- attachmentType.ts | 28 ++++----- attachmentV2.ts | 44 +++++++------- base.ts | 2 +- billing.ts | 6 +- calendar.ts | 40 ++++++------- claim-type.ts | 16 ++--- claim.ts | 6 +- claimInput.ts | 52 ++++++++--------- claimQuery.ts | 28 ++++----- clickhouse.ts | 32 +++++----- client.ts | 10 ++-- connection.ts | 20 +++---- connectionSettings.ts | 8 +-- connector.ts | 20 +++---- driver.ts | 2 +- elastic.ts | 8 +-- executionflow.ts | 2 +- executionflowInput.ts | 70 +++++++++++----------- executionflowQuery.ts | 8 +-- gcs-api.ts | 20 +++---- go-ape.ts | 8 +-- handlingunit.ts | 2 +- handlingunitInput.ts | 32 +++++----- handlingunitQuery.ts | 16 ++--- idp.ts | 10 ++-- item.ts | 2 +- itemInput.ts | 22 +++---- itemQuery.ts | 14 ++--- kpi.ts | 40 ++++++------- logger.ts | 18 +++--- matrix-proxy.ts | 20 +++---- messaging-settings.ts | 16 ++--- messaging.ts | 14 ++--- metadata.ts | 4 +- metadatadef.ts | 38 ++++++------ model.ts | 26 ++++----- module.ts | 16 ++--- movement.ts | 6 +- movementInput.ts | 26 ++++----- movementQuery.ts | 16 ++--- nats-api.ts | 20 +++---- notif.ts | 10 ++-- notifInput.ts | 18 +++--- notification.ts | 14 ++--- opensearch.ts | 20 +++---- order.ts | 6 +- orderInput.ts | 74 +++++++++++------------ orderQuery.ts | 12 ++-- org.ts | 52 ++++++++--------- package.json | 2 +- partner.ts | 2 +- partnerApp.ts | 16 ++--- partnerInput.ts | 12 ++-- partnerQuery.ts | 12 ++-- proj.ts | 38 ++++++------ project-lifecycle.ts | 12 ++-- repositoryShared.ts | 24 ++++---- resource.ts | 8 +-- restrictionLinks.ts | 14 ++--- restrictions.ts | 26 ++++----- role.ts | 64 ++++++++++---------- ruleEngine_model.ts | 2 +- ruleEngine_services.ts | 28 ++++----- rules.ts | 16 ++--- shared.ts | 80 ++++++++++++------------- site.ts | 58 +++++++++--------- siteBooking.ts | 42 ++++++------- slotbooking.ts | 79 +++++++++++++++++++++---- stock.ts | 16 ++--- stockInput.ts | 32 +++++----- stockQuery.ts | 22 +++---- tiny-url.ts | 90 ++++++++++++++-------------- tracking.ts | 2 +- trackingInput.ts | 34 +++++------ trackingQuery.ts | 4 +- tradeShared.ts | 16 ++--- translations.ts | 12 ++-- transportShared.ts | 2 +- user-attributes.ts | 10 ++-- user-groups.ts | 8 +-- user.ts | 130 ++++++++++++++++++++--------------------- users.ts | 10 ++-- view.ts | 10 ++-- warehousingShared.ts | 46 +++++++-------- workflow.ts | 76 ++++++++++++------------ 96 files changed, 1171 insertions(+), 1116 deletions(-) diff --git a/accounts.ts b/accounts.ts index 73d0a7c..4a14be1 100644 --- a/accounts.ts +++ b/accounts.ts @@ -1353,14 +1353,14 @@ export const ListAccountsResult = new ListAccountsResult$Type(); * @generated ServiceType for protobuf service api.Accounts */ export const Accounts = new ServiceType("api.Accounts", [ - { name: "CreateAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Create an account" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: CreateAccountRequest, O: CreateAccountResult }, - { name: "GetAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Get an account" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: GetAccountRequest, O: GetAccountResult }, - { name: "ListAccounts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "List accounts" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: ListAccountsRequest, O: ListAccountsResult }, - { name: "EditAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Edit an account" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: EditAccountRequest, O: EditAccountResult }, - { name: "DeleteAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete an account" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: DeleteAccountRequest, O: DeleteAccountResult }, - { name: "PushAccounts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Push accounts" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: PushAccountsRequest, O: PushAccountsResult }, - { name: "AddExport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Add export" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: AddExportRequest, O: AddExportResult }, - { name: "AddImport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Add import" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: AddImportRequest, O: AddImportResult }, - { name: "DeleteExport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete export" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: DeleteExportRequest, O: DeleteExportResult }, - { name: "DeleteImport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete import" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: DeleteImportRequest, O: DeleteImportResult } -], { "google.api.api_visibility": { restriction: "INTERNAL" }, "api.k8sService": "nsc-admin" }); + { name: "CreateAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Create an account" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateAccountRequest, O: CreateAccountResult }, + { name: "GetAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Get an account" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetAccountRequest, O: GetAccountResult }, + { name: "ListAccounts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "List accounts" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAccountsRequest, O: ListAccountsResult }, + { name: "EditAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Edit an account" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: EditAccountRequest, O: EditAccountResult }, + { name: "DeleteAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete an account" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAccountRequest, O: DeleteAccountResult }, + { name: "PushAccounts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Push accounts" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PushAccountsRequest, O: PushAccountsResult }, + { name: "AddExport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Add export" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AddExportRequest, O: AddExportResult }, + { name: "AddImport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Add import" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AddImportRequest, O: AddImportResult }, + { name: "DeleteExport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete export" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteExportRequest, O: DeleteExportResult }, + { name: "DeleteImport", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete import" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteImportRequest, O: DeleteImportResult } +], { "api.k8sService": "nsc-admin", "google.api.api_visibility": { restriction: "INTERNAL" } }); diff --git a/actor.ts b/actor.ts index e899f57..6427cde 100644 --- a/actor.ts +++ b/actor.ts @@ -316,16 +316,16 @@ export const Actor = new Actor$Type(); class ActorPayload$Type extends MessageType { constructor() { super("api.ActorPayload", [ - { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" }, "n1validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Tracking", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }] } } }, + { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Tracking", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }] } } }, { no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] }, "api.parentEntity": "Actor" } }, { no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }, - { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ActorStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Order", Group: "movement" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Tracking", Group: "tracking" }] }, "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } }, + { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ActorStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Order", Group: "movement" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Tracking", Group: "tracking" }] }, "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } }, { no: 7, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Existing PartnerID" }, "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Actor", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order" }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "api.enrichmentSkippedPath": "Actor" } }, { no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology], options: { "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, { no: 11, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => ActorSnapshot, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] }, "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } }, - { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] } } }, + { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"07 00 00 00 00\", \"+49 6 00 00 00 00\"]" }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 14, name: "ManagedStock", kind: "scalar", localName: "ManagedStock", jsonName: "ManagedStock", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can manage stock" }, "api.enrichmentClear": "Tracking", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, { no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" }, "api.enrichmentClear": "Stock,Movement" } }, diff --git a/actorInput.ts b/actorInput.ts index 452b7a5..0befe4f 100644 --- a/actorInput.ts +++ b/actorInput.ts @@ -1342,7 +1342,7 @@ class ActorCreatedPayload$Type extends MessageType { { no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Existing PartnerID" }, "api.entityRef": "Partner" } }, { no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] }, - { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } }, { no: 14, name: "ManagedStock", kind: "scalar", localName: "ManagedStock", jsonName: "ManagedStock", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can manage stock" } } }, { no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } }, @@ -1696,7 +1696,7 @@ class ActorCreatedv2Payload$Type extends MessageType { { no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }, { no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] }, - { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } }, { no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } }, { no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } } @@ -1985,7 +1985,7 @@ class ActorWMSUpdatedPayload$Type extends MessageType { { no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 3, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }, { no: 4, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 5, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 6, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "WMSUpdated" }); } @@ -5566,22 +5566,22 @@ export const ActorCustomFieldsUpdatedResponse = new ActorCustomFieldsUpdatedResp * @generated ServiceType for protobuf service api.ActorInputAPI */ export const ActorInputAPI = new ServiceType("api.ActorInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Prefer Createdv2 API usage instead. Is used to redifened the whole definition of the actor, including partner rattachment, wms partnerApp connection links, stock management, ..." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCreatedRequest, O: ActorCreatedResponse }, - { name: "Createdv2", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been created. Is mainly used by platform connectors to only update general information about the actor (and not reset partner rattachment, wms partnerApp connection links, stock management)." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCreatedv2Request, O: ActorCreatedv2Response }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation actors." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorDeletedRequest, O: ActorDeletedResponse }, - { name: "SnapshotCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A snapshot has been completed on this actor. This is called from a WMS to inform that all Stock snapshot event have been sent." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorSnapshotCompletedRequest, O: ActorSnapshotCompletedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is added for the Actor." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ActorAttachmentAddedRequest, O: ActorAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is removed for the Actor." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ActorAttachmentRemovedRequest, O: ActorAttachmentRemovedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim has been added on the Actor." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Some metadata have been updated on an Actor. This is typically called from OMS or ERP." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorMetaDataUpdatedRequest, O: ActorMetaDataUpdatedResponse }, - { name: "AppointmentConfigurationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Appointment configuration is updated on an Actor." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: ActorSanitisedRequest, O: ActorSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCustomFieldsUpdatedRequest, O: ActorCustomFieldsUpdatedResponse }, - { name: "StockManagementUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Stock management has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorStockManagementUpdatedRequest, O: ActorStockManagementUpdatedResponse }, - { name: "PartnerLinkUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Partner link has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorPartnerLinkUpdatedRequest, O: ActorPartnerLinkUpdatedResponse }, - { name: "TypologyUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Typology has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorTypologyUpdatedRequest, O: ActorTypologyUpdatedResponse }, - { name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Carrier information has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCarrierInformationUpdatedRequest, O: ActorCarrierInformationUpdatedResponse }, - { name: "PhotoURIUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Photo URI has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorPhotoURIUpdatedRequest, O: ActorPhotoURIUpdatedResponse }, - { name: "ConnectionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Connection has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorConnectionUpdatedRequest, O: ActorConnectionUpdatedResponse }, - { name: "WMSUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "WMS definition has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorWMSUpdatedRequest, O: ActorWMSUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Prefer Createdv2 API usage instead. Is used to redifened the whole definition of the actor, including partner rattachment, wms partnerApp connection links, stock management, ..." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCreatedRequest, O: ActorCreatedResponse }, + { name: "Createdv2", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been created. Is mainly used by platform connectors to only update general information about the actor (and not reset partner rattachment, wms partnerApp connection links, stock management)." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCreatedv2Request, O: ActorCreatedv2Response }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation actors." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorDeletedRequest, O: ActorDeletedResponse }, + { name: "SnapshotCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A snapshot has been completed on this actor. This is called from a WMS to inform that all Stock snapshot event have been sent." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorSnapshotCompletedRequest, O: ActorSnapshotCompletedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentAddedRequest, O: ActorAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is removed for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentRemovedRequest, O: ActorAttachmentRemovedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim has been added on the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Some metadata have been updated on an Actor. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorMetaDataUpdatedRequest, O: ActorMetaDataUpdatedResponse }, + { name: "AppointmentConfigurationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Appointment configuration is updated on an Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorSanitisedRequest, O: ActorSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCustomFieldsUpdatedRequest, O: ActorCustomFieldsUpdatedResponse }, + { name: "StockManagementUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Stock management has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorStockManagementUpdatedRequest, O: ActorStockManagementUpdatedResponse }, + { name: "PartnerLinkUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Partner link has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorPartnerLinkUpdatedRequest, O: ActorPartnerLinkUpdatedResponse }, + { name: "TypologyUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Typology has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorTypologyUpdatedRequest, O: ActorTypologyUpdatedResponse }, + { name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Carrier information has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCarrierInformationUpdatedRequest, O: ActorCarrierInformationUpdatedResponse }, + { name: "PhotoURIUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Photo URI has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorPhotoURIUpdatedRequest, O: ActorPhotoURIUpdatedResponse }, + { name: "ConnectionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Connection has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorConnectionUpdatedRequest, O: ActorConnectionUpdatedResponse }, + { name: "WMSUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "WMS definition has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorWMSUpdatedRequest, O: ActorWMSUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/actorQuery.ts b/actorQuery.ts index efb283f..582089c 100644 --- a/actorQuery.ts +++ b/actorQuery.ts @@ -278,7 +278,7 @@ export const ActorByIdResult = new ActorByIdResult$Type(); class ActorByFilterQuery$Type extends MessageType { constructor() { super("api.ActorByFilterQuery", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, { no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } }, { no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }, @@ -605,10 +605,10 @@ export const ActorByMatchResult = new ActorByMatchResult$Type(); * @generated ServiceType for protobuf service api.ActorQuery */ export const ActorQuery = new ServiceType("api.ActorQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Get Actors from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "actorById", "api.tags": "PROJECT_ACTIVITY" }, I: ActorByIdQuery, O: ActorByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Find Actors using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: ActorByFilterQuery, O: ActorByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ActorByMatchQuery, O: ActorByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Get Actors from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "actorById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorByIdQuery, O: ActorByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Find Actors using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorByFilterQuery, O: ActorByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorByMatchQuery, O: ActorByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/adaptiveCard.ts b/adaptiveCard.ts index 7a7a7c0..8ec8005 100644 --- a/adaptiveCard.ts +++ b/adaptiveCard.ts @@ -254,7 +254,7 @@ export const ListAdaptiveCardResult = new ListAdaptiveCardResult$Type(); class GetAdaptiveCardRequest$Type extends MessageType { constructor() { super("api.GetAdaptiveCardRequest", [ - { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to get" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to get" } } } ]); } create(value?: PartialMessage): GetAdaptiveCardRequest { @@ -347,8 +347,8 @@ export const GetAdaptiveCardResult = new GetAdaptiveCardResult$Type(); class CreateAdaptiveCardRequest$Type extends MessageType { constructor() { super("api.CreateAdaptiveCardRequest", [ - { no: 1, name: "Template", kind: "scalar", localName: "Template", jsonName: "Template", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template of the new AdaptiveCard" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new AdaptiveCard. Unique." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "Template", kind: "scalar", localName: "Template", jsonName: "Template", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template of the new AdaptiveCard" } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new AdaptiveCard. Unique." } } } ]); } create(value?: PartialMessage): CreateAdaptiveCardRequest { @@ -540,7 +540,7 @@ export const UpdateAdaptiveCardResult = new UpdateAdaptiveCardResult$Type(); class DeleteAdaptiveCardRequest$Type extends MessageType { constructor() { super("api.DeleteAdaptiveCardRequest", [ - { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to delete" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to delete" } } } ]); } create(value?: PartialMessage): DeleteAdaptiveCardRequest { @@ -625,9 +625,9 @@ export const DeleteAdaptiveCardResult = new DeleteAdaptiveCardResult$Type(); * @generated ServiceType for protobuf service api.AdaptiveCardService */ export const AdaptiveCardService = new ServiceType("api.AdaptiveCardService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Get an AdaptiveCard by ID" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: GetAdaptiveCardRequest, O: GetAdaptiveCardResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "List all AdaptiveCards" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: ListAdaptiveCardRequest, O: ListAdaptiveCardResult }, - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Create an AdaptiveCard" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CreateAdaptiveCardRequest, O: CreateAdaptiveCardResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Update an AdaptiveCard" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: UpdateAdaptiveCardRequest, O: UpdateAdaptiveCardResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Delete an AdaptiveCard" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: DeleteAdaptiveCardRequest, O: DeleteAdaptiveCardResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Get an AdaptiveCard by ID" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetAdaptiveCardRequest, O: GetAdaptiveCardResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "List all AdaptiveCards" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAdaptiveCardRequest, O: ListAdaptiveCardResult }, + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Create an AdaptiveCard" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateAdaptiveCardRequest, O: CreateAdaptiveCardResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Update an AdaptiveCard" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateAdaptiveCardRequest, O: UpdateAdaptiveCardResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin AdaptiveCard"], description: "Delete an AdaptiveCard" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAdaptiveCardRequest, O: DeleteAdaptiveCardResult } ], { "api.k8sService": "notification-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/adminConnection.ts b/adminConnection.ts index 7c48763..d47b649 100644 --- a/adminConnection.ts +++ b/adminConnection.ts @@ -385,6 +385,6 @@ export const ListConnectionManagerResult = new ListConnectionManagerResult$Type( * @generated ServiceType for protobuf service api.AdminConnectionService */ export const AdminConnectionService = new ServiceType("api.AdminConnectionService", [ - { name: "RegisterConnectionManager", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Manager"], description: "Register a connection manager in the platform" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Connection" }, I: RegisterConnectionManagerRequest, O: RegisterConnectionManagerResult }, - { name: "ListConnectionManager", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Manager"], description: "List connections manager" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Connection" }, I: ListConnectionManagerRequest, O: ListConnectionManagerResult } + { name: "RegisterConnectionManager", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Manager"], description: "Register a connection manager in the platform" }, "api.rscType": "Platform", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RegisterConnectionManagerRequest, O: RegisterConnectionManagerResult }, + { name: "ListConnectionManager", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Manager"], description: "List connections manager" }, "api.rscType": "Platform", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListConnectionManagerRequest, O: ListConnectionManagerResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/alias.ts b/alias.ts index 0750f57..23047d0 100644 --- a/alias.ts +++ b/alias.ts @@ -1200,12 +1200,12 @@ export const DeleteAllAliasesFromToResponse = new DeleteAllAliasesFromToResponse * @generated ServiceType for protobuf service api.AliasService */ export const AliasService = new ServiceType("api.AliasService", [ - { name: "CreateAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Create a new alias linking one resource to another. Returns an error if the alias (FromID, AliasType, AliasName) already exists." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: CreateAliasRequest, O: CreateAliasResponse }, - { name: "GetAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Retrieve an alias by its key (FromID, AliasType, AliasName)" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: GetAliasRequest, O: GetAliasResponse }, - { name: "ListAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases originating from a resource. Optionally filter by AliasType." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: ListAliasesFromRequest, O: ListAliasesFromResponse }, - { name: "ListAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases pointing to a resource (reverse lookup)" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: ListAliasesToRequest, O: ListAliasesToResponse }, - { name: "DeleteAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete a specific alias by its key (FromID, AliasType, AliasName)" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: DeleteAliasRequest, O: DeleteAliasResponse }, - { name: "DeleteAllAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases originating from a resource. Optionally filter by AliasType." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: DeleteAllAliasesFromRequest, O: DeleteAllAliasesFromResponse }, - { name: "DeleteAllAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases pointing to a resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: DeleteAllAliasesToRequest, O: DeleteAllAliasesToResponse }, - { name: "DeleteAllAliasesFromTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases originating from a resource and pointing to another resource. Optionally filter by AliasType." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Alias" }, I: DeleteAllAliasesFromToRequest, O: DeleteAllAliasesFromToResponse } + { name: "CreateAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Create a new alias linking one resource to another. Returns an error if the alias (FromID, AliasType, AliasName) already exists." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateAliasRequest, O: CreateAliasResponse }, + { name: "GetAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Retrieve an alias by its key (FromID, AliasType, AliasName)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetAliasRequest, O: GetAliasResponse }, + { name: "ListAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases originating from a resource. Optionally filter by AliasType." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAliasesFromRequest, O: ListAliasesFromResponse }, + { name: "ListAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases pointing to a resource (reverse lookup)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAliasesToRequest, O: ListAliasesToResponse }, + { name: "DeleteAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete a specific alias by its key (FromID, AliasType, AliasName)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAliasRequest, O: DeleteAliasResponse }, + { name: "DeleteAllAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases originating from a resource. Optionally filter by AliasType." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllAliasesFromRequest, O: DeleteAllAliasesFromResponse }, + { name: "DeleteAllAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases pointing to a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllAliasesToRequest, O: DeleteAllAliasesToResponse }, + { name: "DeleteAllAliasesFromTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases originating from a resource and pointing to another resource. Optionally filter by AliasType." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllAliasesFromToRequest, O: DeleteAllAliasesFromToResponse } ], { "api.k8sService": "authorization-server" }); diff --git a/api.ts b/api.ts index 59b0b49..6e7fda4 100644 --- a/api.ts +++ b/api.ts @@ -1249,13 +1249,13 @@ export const SynchronizeUserRPTsResponse = new SynchronizeUserRPTsResponse$Type( * @generated ServiceType for protobuf service api.APIService */ export const APIService = new ServiceType("api.APIService", [ - { name: "GetPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Returns the available permissions" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Permission" }, I: GetPermissionsRequest, O: GetPermissionsResult }, - { name: "GetUIPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Returns the available UI permissions" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Permission" }, I: GetUIPermissionsRequest, O: GetUIPermissionsResult }, - { name: "ListUserUIPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "List the user's active UI permissions" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: ListUserUIPermissionsRequest, O: ListUserUIPermissionsResult }, - { name: "ListUserRPTs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "List the user's stored RPTs" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Permission" }, I: ListUserRPTsRequest, O: ListUserRPTsResponse }, - { name: "SynchronizeUserRPTs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "Synchronize the user's RPTs with UMA. This will update the user's RPTs to reflect the current permissions stored in the platform. This API is used by the platform to manually trigger a synchronization of the user's RPTs with UMA." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Permission" }, I: SynchronizeUserRPTsRequest, O: SynchronizeUserRPTsResponse }, - { name: "RegisterPackage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Register a package with its set of Clients and their APIs" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.PackageInit" }, I: RegisterPackageRequest, O: RegisterPackageResult }, - { name: "CreateScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Create a new scope. This API is used by the platform to create scopes for specific resources (e.g. projects). Static scopes are created by the platform through the RegisterModule API and are based on a static list." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Scope" }, I: CreateScopeRequest, O: CreateScopeResult }, - { name: "DeleteScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Delete a scope" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Scope" }, I: DeleteScopeRequest, O: DeleteScopeResult }, - { name: "CleanScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Clean a scope from UMA" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CleanScopeRequest, O: CleanScopeResult } + { name: "GetPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Returns the available permissions" }, "api.rscType": "Platform", "api.roles": "Platform.Permission", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetPermissionsRequest, O: GetPermissionsResult }, + { name: "GetUIPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Returns the available UI permissions" }, "api.rscType": "Platform", "api.roles": "Platform.Permission", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetUIPermissionsRequest, O: GetUIPermissionsResult }, + { name: "ListUserUIPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "List the user's active UI permissions" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserUIPermissionsRequest, O: ListUserUIPermissionsResult }, + { name: "ListUserRPTs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "List the user's stored RPTs" }, "api.rscType": "Platform", "api.roles": "Platform.Permission", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListUserRPTsRequest, O: ListUserRPTsResponse }, + { name: "SynchronizeUserRPTs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Permissions"], description: "Synchronize the user's RPTs with UMA. This will update the user's RPTs to reflect the current permissions stored in the platform. This API is used by the platform to manually trigger a synchronization of the user's RPTs with UMA." }, "api.rscType": "Platform", "api.roles": "Platform.Permission", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SynchronizeUserRPTsRequest, O: SynchronizeUserRPTsResponse }, + { name: "RegisterPackage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Register a package with its set of Clients and their APIs" }, "api.rscType": "Platform", "api.roles": "Platform.PackageInit", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RegisterPackageRequest, O: RegisterPackageResult }, + { name: "CreateScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Create a new scope. This API is used by the platform to create scopes for specific resources (e.g. projects). Static scopes are created by the platform through the RegisterModule API and are based on a static list." }, "api.rscType": "Platform", "api.roles": "Platform.Scope", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateScopeRequest, O: CreateScopeResult }, + { name: "DeleteScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Delete a scope" }, "api.rscType": "Platform", "api.roles": "Platform.Scope", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteScopeRequest, O: DeleteScopeResult }, + { name: "CleanScope", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["APIs"], description: "Clean a scope from UMA" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CleanScopeRequest, O: CleanScopeResult } ], { "api.k8sService": "authorization-server", "api.resourceManager": true }); diff --git a/appointment.ts b/appointment.ts index fbc00eb..f9eb51f 100644 --- a/appointment.ts +++ b/appointment.ts @@ -317,13 +317,13 @@ class AppointmentPayload$Type extends MessageType { constructor() { super("api.AppointmentPayload", [ { no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "api.dataRestrictionKey": "Appointment", "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] } } }, - { no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Loading and Unloading fields instead", readOnly: true }, "n1validate.rules": { repeated: { maxItems: "0" } }, "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, + { no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission, options: { "n1validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Loading and Unloading fields instead", readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection, options: { "api.kpiExclude": { Items: [{ Context: "Appointment", Group: "appointment" }] } } }, { no: 29, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Segmentation keys constraining the slot booking" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.parentEntity": "Appointment" } }, { no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Appointment" } }, { no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot }, - { no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Attendees field instead", readOnly: true }, "n1validate.rules": { repeated: { maxItems: "0", items: { string: { email: true, ignoreEmpty: true } } } }, "api.aggSkip": "EmailsRemoved,EmailsAdded" } }, - { no: 16, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use RemovedAttendees field instead", readOnly: true }, "n1validate.rules": { repeated: { maxItems: "0" } }, "api.aggSkip": "EmailsRemoved" } }, + { no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { maxItems: "0", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Attendees field instead", readOnly: true }, "api.aggSkip": "EmailsRemoved,EmailsAdded" } }, + { no: 16, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use RemovedAttendees field instead", readOnly: true }, "api.aggSkip": "EmailsRemoved" } }, { no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the appointment" }, "api.aggSkip": "StatusUpdated" } }, { no: 9, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 30, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime }, @@ -338,7 +338,7 @@ class AppointmentPayload$Type extends MessageType { { no: 24, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }, { no: 25, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent }, { no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, - { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Attendees of the appointment" }, "n1validate.rules": { repeated: { minItems: "1" } }, "api.aggSkip": "AttendeesAdded", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, + { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Attendees of the appointment" }, "api.aggSkip": "AttendeesAdded", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 31, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ }, { no: 32, name: "ExternalAccess", kind: "message", localName: "ExternalAccess", jsonName: "ExternalAccess", T: () => AppointmentExternalAccess }, diff --git a/appointmentInput.ts b/appointmentInput.ts index fd0f5ca..df188ec 100644 --- a/appointmentInput.ts +++ b/appointmentInput.ts @@ -1967,7 +1967,7 @@ class AppointmentCreatedPayload$Type extends MessageType AppointmentContent }, { no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, - { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } } + { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" }); } create(value?: PartialMessage): AppointmentCreatedPayload { @@ -6303,7 +6303,7 @@ export const AppointmentMetaDataUpdatedResponse = new AppointmentMetaDataUpdated class AppointmentEmailsAddedPayload$Type extends MessageType { constructor() { super("api.AppointmentEmailsAddedPayload", [ - { no: 1, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 1, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Emails"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "EmailsAdded" }); } @@ -6531,7 +6531,7 @@ export const AppointmentEmailsAddedResponse = new AppointmentEmailsAddedResponse class AppointmentEmailsRemovedPayload$Type extends MessageType { constructor() { super("api.AppointmentEmailsRemovedPayload", [ - { no: 1, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 1, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["RemovedEmails"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "EmailsRemoved" }); } @@ -6759,7 +6759,7 @@ export const AppointmentEmailsRemovedResponse = new AppointmentEmailsRemovedResp class AppointmentAttendeesAddedPayload$Type extends MessageType { constructor() { super("api.AppointmentAttendeesAddedPayload", [ - { no: 1, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } } + { no: 1, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Attendees"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttendeesAdded" }); } create(value?: PartialMessage): AppointmentAttendeesAddedPayload { @@ -6979,7 +6979,7 @@ export const AppointmentAttendeesAddedResponse = new AppointmentAttendeesAddedRe class AppointmentAttendeesRemovedPayload$Type extends MessageType { constructor() { super("api.AppointmentAttendeesRemovedPayload", [ - { no: 1, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees contacts removed from the appointment (user uuid)" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } } + { no: 1, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees contacts removed from the appointment (user uuid)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["RemovedAttendees"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttendeesRemoved" }); } create(value?: PartialMessage): AppointmentAttendeesRemovedPayload { @@ -8070,31 +8070,31 @@ export const AppointmentClaimAddedResponse = new AppointmentClaimAddedResponse$T * @generated ServiceType for protobuf service api.AppointmentInputAPI */ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse }, - { name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been deleted." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentDeletedRequest, O: AppointmentDeletedResponse }, - { name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse }, - { name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse }, - { name: "ReasonUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment reason has been modified." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE" }, I: AppointmentReasonUpdatedRequest, O: AppointmentReasonUpdatedResponse }, - { name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse }, - { name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is expected for the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse }, - { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation error occured on the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentAllocationErrorRequest, O: AppointmentAllocationErrorResponse }, - { name: "AllocationConfirmed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation has been confirmed on the appointment." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentAllocationConfirmedRequest, O: AppointmentAllocationConfirmedResponse }, - { name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse }, - { name: "LoadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is started." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentLoadingStartedRequest, O: AppointmentLoadingStartedResponse }, - { name: "LoadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is completed." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentLoadingCompletedRequest, O: AppointmentLoadingCompletedResponse }, - { name: "UnloadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is started." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentUnloadingStartedRequest, O: AppointmentUnloadingStartedResponse }, - { name: "UnloadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is unloaded." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentUnloadingCompletedRequest, O: AppointmentUnloadingCompletedResponse }, - { name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Some metadata have been updated on an appointment. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentMetaDataUpdatedRequest, O: AppointmentMetaDataUpdatedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is added for the Appointment." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentAttachmentAddedRequest, O: AppointmentAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse }, - { name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Deprecated since release 1.14, using attendees now: An appointment Emails have been added." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse }, - { name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Deprecated since release 1.14, using attendees now: An appointment Emails have been removed." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse }, - { name: "AttendeesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Appointment attendees have been added." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentAttendeesAddedRequest, O: AppointmentAttendeesAddedResponse }, - { name: "AttendeesRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Appointment attendees have been removed." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE" }, I: AppointmentAttendeesRemovedRequest, O: AppointmentAttendeesRemovedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_SITE" }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse }, - { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The associated appointment was not created correctly. Call this api to fix the appointment creation. " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE" }, I: AppointmentRedetectedRequest, O: AppointmentRedetectedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "A claim has been added on the Appointment." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: AppointmentClaimAddedRequest, O: AppointmentClaimAddedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse }, + { name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been deleted." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentDeletedRequest, O: AppointmentDeletedResponse }, + { name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse }, + { name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse }, + { name: "ReasonUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment reason has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentReasonUpdatedRequest, O: AppointmentReasonUpdatedResponse }, + { name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse }, + { name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is expected for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse }, + { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation error occured on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentAllocationErrorRequest, O: AppointmentAllocationErrorResponse }, + { name: "AllocationConfirmed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation has been confirmed on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAllocationConfirmedRequest, O: AppointmentAllocationConfirmedResponse }, + { name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse }, + { name: "LoadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingStartedRequest, O: AppointmentLoadingStartedResponse }, + { name: "LoadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is completed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingCompletedRequest, O: AppointmentLoadingCompletedResponse }, + { name: "UnloadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingStartedRequest, O: AppointmentUnloadingStartedResponse }, + { name: "UnloadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is unloaded." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingCompletedRequest, O: AppointmentUnloadingCompletedResponse }, + { name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Some metadata have been updated on an appointment. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentMetaDataUpdatedRequest, O: AppointmentMetaDataUpdatedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is added for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentAddedRequest, O: AppointmentAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse }, + { name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Deprecated since release 1.14, using attendees now: An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse }, + { name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Deprecated since release 1.14, using attendees now: An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse }, + { name: "AttendeesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Appointment attendees have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttendeesAddedRequest, O: AppointmentAttendeesAddedResponse }, + { name: "AttendeesRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Appointment attendees have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttendeesRemovedRequest, O: AppointmentAttendeesRemovedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse }, + { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The associated appointment was not created correctly. Call this api to fix the appointment creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentRedetectedRequest, O: AppointmentRedetectedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "A claim has been added on the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentClaimAddedRequest, O: AppointmentClaimAddedResponse } ], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" }); diff --git a/appointmentQuery.ts b/appointmentQuery.ts index 1a8cc88..4e37ff5 100644 --- a/appointmentQuery.ts +++ b/appointmentQuery.ts @@ -302,7 +302,7 @@ export const AppointmentByIdResult = new AppointmentByIdResult$Type(); class AppointmentByFilterQuery$Type extends MessageType { constructor() { super("api.AppointmentByFilterQuery", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, { no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } }, { no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }, @@ -691,16 +691,16 @@ export const CrossFindAppointmentResult = new CrossFindAppointmentResult$Type(); * @generated ServiceType for protobuf service api.AppointmentQuery */ export const AppointmentQuery = new ServiceType("api.AppointmentQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "appointmentById", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentByIdQuery, O: AppointmentByIdResult }, - { name: "GetByIdsMine", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids for which the user is an attendee." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "appointmentById", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: AppointmentByIdQuery, O: AppointmentByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: AppointmentByFilterQuery, O: AppointmentByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: AppointmentByMatchQuery, O: AppointmentByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: ExtractQuery, O: ExtractResult }, - { name: "CrossExtract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: CrossExtractQuery, O: ExtractResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointment KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE" }, I: CountLinesQuery, O: CountLinesResult }, - { name: "CrossFind", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "" }, I: CrossFindQuery, O: CrossFindAppointmentResult }, - { name: "CrossFindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "" }, I: CrossFindByMatchQuery, O: CrossFindByMatchResult }, - { name: "CrossFindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "" }, I: CrossFindElementByMatchQuery, O: ElementByMatchResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "appointmentById", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByIdQuery, O: AppointmentByIdResult }, + { name: "GetByIdsMine", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointments from Ids for which the user is an attendee." }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "appointmentById", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByIdQuery, O: AppointmentByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByFilterQuery, O: AppointmentByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByMatchQuery, O: AppointmentByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CrossExtract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "api.customQuery": true, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossExtractQuery, O: ExtractResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointment KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult }, + { name: "CrossFind", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindQuery, O: CrossFindAppointmentResult }, + { name: "CrossFindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindByMatchQuery, O: CrossFindByMatchResult }, + { name: "CrossFindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.customQuery": false, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindElementByMatchQuery, O: ElementByMatchResult } ], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" }); diff --git a/attachmentType.ts b/attachmentType.ts index e3d5892..708d365 100644 --- a/attachmentType.ts +++ b/attachmentType.ts @@ -218,7 +218,7 @@ class CreateAttachmentTypeRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9-]+$" } } } }, + { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9-]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }, { no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "n1validate.rules": { enum: { definedOnly: true } } } } @@ -342,9 +342,9 @@ class GetAttachmentTypeRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } }, + { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } }, { no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 4, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } } + { no: 4, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } }); } create(value?: PartialMessage): GetAttachmentTypeRequest { @@ -559,11 +559,11 @@ class UpdateAttachmentTypeRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } }, + { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } }, { no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } } + { no: 6, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } }); } create(value?: PartialMessage): UpdateAttachmentTypeRequest { @@ -691,9 +691,9 @@ class DeleteAttachmentTypeRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } }, + { no: 2, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } }, { no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 4, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" }, "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } } } } + { no: 4, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[a-zA-Z0-9-]*" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]*" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Code", "Entity"] } } }); } create(value?: PartialMessage): DeleteAttachmentTypeRequest { @@ -969,11 +969,11 @@ export const DeleteAttachmentsTypeForResourceResponse = new DeleteAttachmentsTyp * @generated ServiceType for protobuf service api.AttachmentTypeService */ export const AttachmentTypeService = new ServiceType("api.AttachmentTypeService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Create an attachment type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: CreateAttachmentTypeRequest, O: CreateAttachmentTypeResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Get an attachment type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetAttachmentTypeRequest, O: GetAttachmentTypeResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "List attachment types on a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.AttachmentType" }, I: ListAttachmentTypeRequest, O: ListAttachmentTypeResponse }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Update an attachment type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UpdateAttachmentTypeRequest, O: UpdateAttachmentTypeResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete an attachment type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: DeleteAttachmentTypeRequest, O: DeleteAttachmentTypeResponse }, - { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion" }, I: DeleteAllAttachmentsTypeRequest, O: DeleteAllAttachmentsTypeResponse }, - { name: "DeleteAttachmentsTypeForResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within a resource" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Deletion" }, I: DeleteAttachmentsTypeForResourceRequest, O: DeleteAttachmentsTypeForResourceResponse } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Create an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateAttachmentTypeRequest, O: CreateAttachmentTypeResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Get an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAttachmentTypeRequest, O: GetAttachmentTypeResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "List attachment types on a project" }, "api.rscType": "Project", "api.roles": "Platform.AttachmentType", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentTypeRequest, O: ListAttachmentTypeResponse }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Update an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateAttachmentTypeRequest, O: UpdateAttachmentTypeResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete an attachment type for an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentTypeRequest, O: DeleteAttachmentTypeResponse }, + { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsTypeRequest, O: DeleteAllAttachmentsTypeResponse }, + { name: "DeleteAttachmentsTypeForResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["AttachmentType"], description: "Delete all attachments type for entities within a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentsTypeForResourceRequest, O: DeleteAttachmentsTypeForResourceResponse } ], { "api.k8sService": "attachment-server" }); diff --git a/attachmentV2.ts b/attachmentV2.ts index a46986b..b5038ac 100644 --- a/attachmentV2.ts +++ b/attachmentV2.ts @@ -316,11 +316,11 @@ class Attachment$Type extends MessageType { { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "AttachmentType", kind: "message", localName: "AttachmentType", jsonName: "AttachmentType", T: () => AttachmentType, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be downloaded (must be authenticated with a bearer token). In case the Attachment is a link, the URI is the link itself." }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be downloaded (must be authenticated with a bearer token). In case the Attachment is a link, the URI is the link itself." } } }, { no: 6, name: "MIMEType", kind: "scalar", localName: "MIMEType", jsonName: "MIMEType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 11, name: "UploadedAt", kind: "scalar", localName: "UploadedAt", jsonName: "UploadedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 11, name: "UploadedAt", kind: "scalar", localName: "UploadedAt", jsonName: "UploadedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, { no: 12, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.AttachmentKind", AttachmentKind], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the attachment (file or link)" } } }, - { no: 13, name: "WebURI", kind: "scalar", localName: "WebURI", jsonName: "WebURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be accessed on an authenticated web app. In case the Attachment is a link, the URI is empty." }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 13, name: "WebURI", kind: "scalar", localName: "WebURI", jsonName: "WebURI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the attachment through which it can be accessed on an authenticated web app. In case the Attachment is a link, the URI is empty." } } }, { no: 14, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 15, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } } ]); @@ -432,8 +432,8 @@ class DownloadAttachmentV2Request$Type extends MessageType RequestAttachmentTypeHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } }, + { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID"] } } }); } create(value?: PartialMessage): DownloadAttachmentV2Request { @@ -547,7 +547,7 @@ class UploadAttachmentV2Request$Type extends MessageType RequestAttachmentTypeHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } }, { no: 4, name: "Attachment", kind: "message", localName: "Attachment", jsonName: "Attachment", T: () => FileDataRequest, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AttachmentTypeID", "EntityRefID", "Attachment"] } } }); } @@ -661,9 +661,9 @@ class AddLinkV2Request$Type extends MessageType { constructor() { super("api.AddLinkV2Request", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestAttachmentTypeHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the link to add to the entity" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI to add to the entity" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } }, + { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the link to add to the entity" } } }, + { no: 5, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI to add to the entity" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AttachmentTypeID", "EntityRefID", "Name", "URI"] } } }); } create(value?: PartialMessage): AddLinkV2Request { @@ -784,8 +784,8 @@ class DeleteAttachmentV2Request$Type extends MessageType RequestAttachmentTypeHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } }, + { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID", "AttachmentTypeID"] } } }); } create(value?: PartialMessage): DeleteAttachmentV2Request { @@ -954,7 +954,7 @@ class ListAttachmentsV2Response$Type extends MessageType ResponseHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the response" } } }, - { no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Attachment, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of attachments matching to the request" }, "n1validate.rules": { repeated: { minItems: "1" } } } } + { no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Attachment, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of attachments matching to the request" } } } ]); } create(value?: PartialMessage): ListAttachmentsV2Response { @@ -1008,8 +1008,8 @@ class ShareAttachmentV2Request$Type extends MessageType RequestAttachmentTypeHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the attachment to download" } } }, + { no: 3, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the entity where the attachment is located" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "EntityRefID", "AttachmentTypeID"] } } }); } create(value?: PartialMessage): ShareAttachmentV2Request { @@ -1070,7 +1070,7 @@ class ShareAttachmentV2Response$Type extends MessageType AttachmentTypeResponseHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the response" } } }, - { no: 1, name: "ShareLink", kind: "scalar", localName: "ShareLink", jsonName: "ShareLink", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Link to access to the attchment if the sharing policy allows to" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "ShareLink", kind: "scalar", localName: "ShareLink", jsonName: "ShareLink", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Link to access to the attchment if the sharing policy allows to" } } } ]); } create(value?: PartialMessage): ShareAttachmentV2Response { @@ -1207,11 +1207,11 @@ export const DeleteAllAttachmentsV2Response = new DeleteAllAttachmentsV2Response * @generated ServiceType for protobuf service api.AttachmentServiceV2 */ export const AttachmentServiceV2 = new ServiceType("api.AttachmentServiceV2", [ - { name: "Upload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Upload a document attached to an entity.
Must be called using a multipart form-data content type request.
Example of curl request : curl -H \"Authorization: $TOKEN\" -F \"Attachment=@path/to/my/file/to/upload\" -F \"EntityRefID=myentityrefid\" -F \"AttachmentTypeID=myattachmenttypeid\" https://$REFLEXPLATFORM_REST_URL/api.AttachmentServiceV2/Upload" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: UploadAttachmentV2Request, O: UploadAttachmentV2Response }, - { name: "AddLink", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Add a link to an entity." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: AddLinkV2Request, O: AddLinkV2Response }, - { name: "Download", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Download a document attached to an entity", consumes: ["application/json"] }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Reader" }, I: DownloadAttachmentV2Request, O: DownloadAttachmentV2Response }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: DeleteAttachmentV2Request, O: DeleteAttachmentV2Response }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response }, - { name: "Share", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer" }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response }, - { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion" }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response } + { name: "Upload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Upload a document attached to an entity.
Must be called using a multipart form-data content type request.
Example of curl request : curl -H \"Authorization: $TOKEN\" -F \"Attachment=@path/to/my/file/to/upload\" -F \"EntityRefID=myentityrefid\" -F \"AttachmentTypeID=myattachmenttypeid\" https://$REFLEXPLATFORM_REST_URL/api.AttachmentServiceV2/Upload" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadAttachmentV2Request, O: UploadAttachmentV2Response }, + { name: "AddLink", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Add a link to an entity." }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: AddLinkV2Request, O: AddLinkV2Response }, + { name: "Download", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Download a document attached to an entity", consumes: ["application/json"] }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Reader", "google.api.method_visibility": { restriction: "SDK" } }, I: DownloadAttachmentV2Request, O: DownloadAttachmentV2Response }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete a document attached to an entity" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAttachmentV2Request, O: DeleteAttachmentV2Response }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "List all documents attached to an entity" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAttachmentsV2Request, O: ListAttachmentsV2Response }, + { name: "Share", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Share a document attached to an entity" }, "api.rscType": "AttachmentType", "api.roles": "AttachmentType.Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: ShareAttachmentV2Request, O: ShareAttachmentV2Response }, + { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Attachment"], description: "Delete all documents attached to entities within the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllAttachmentsV2Request, O: DeleteAllAttachmentsV2Response } ], { "api.k8sService": "attachment-server" }); diff --git a/base.ts b/base.ts index 8e393dd..2b0df4c 100644 --- a/base.ts +++ b/base.ts @@ -99,7 +99,7 @@ class AdminAddress$Type extends MessageType { constructor() { super("api.AdminAddress", [ { no: 1, name: "City", kind: "scalar", localName: "City", jsonName: "City", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in ISO_3166-1 format", example: "[\"FR\", \"FRA\", \"250\"]" }, "n1validate.rules": { string: { countryCodeIso3166: true } } } }, + { no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { countryCodeIso3166: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in ISO_3166-1 format", example: "[\"FR\", \"FRA\", \"250\"]" } } }, { no: 3, name: "GeographicalCoordinates", kind: "message", localName: "GeographicalCoordinates", jsonName: "GeographicalCoordinates", T: () => AdminGeographicalCoordinates }, { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "POBoxNumber", kind: "scalar", localName: "POBoxNumber", jsonName: "POBoxNumber", T: 9 /*ScalarType.STRING*/ }, diff --git a/billing.ts b/billing.ts index 076e71c..7a5868d 100644 --- a/billing.ts +++ b/billing.ts @@ -80,8 +80,8 @@ class GenerateRequest$Type extends MessageType { super("api.GenerateRequest", [ { no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "FromDate", kind: "scalar", localName: "FromDate", jsonName: "FromDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, - { no: 4, name: "ToDate", kind: "scalar", localName: "ToDate", jsonName: "ToDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 3, name: "FromDate", kind: "scalar", localName: "FromDate", jsonName: "FromDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, + { no: 4, name: "ToDate", kind: "scalar", localName: "ToDate", jsonName: "ToDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, { no: 5, name: "OutputFormat", kind: "enum", localName: "OutputFormat", jsonName: "OutputFormat", T: () => ["api.GenerateBillingFormat", GenerateBillingFormat], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID", "FromDate", "ToDate"] } } }); } @@ -204,5 +204,5 @@ export const GenerateResult = new GenerateResult$Type(); * @generated ServiceType for protobuf service api.BillingService */ export const BillingService = new ServiceType("api.BillingService", [ - { name: "Generate", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Billing"], description: "Generates billing report (pdf & csv) for a given organization during a given period" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Billing" }, I: GenerateRequest, O: GenerateResult } + { name: "Generate", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Billing"], description: "Generates billing report (pdf & csv) for a given organization during a given period" }, "api.rscType": "Platform", "api.roles": "Platform.Billing", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GenerateRequest, O: GenerateResult } ], { "api.k8sService": "billing-server" }); diff --git a/calendar.ts b/calendar.ts index 387082d..f0b05dc 100644 --- a/calendar.ts +++ b/calendar.ts @@ -772,11 +772,11 @@ class ExceptionalClosure$Type extends MessageType { constructor() { super("api.ExceptionalClosure", [ { no: 1, name: "Labels", kind: "message", localName: "Labels", jsonName: "Labels", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage }, - { no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, - { no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, + { no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } }, + { no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } }, { no: 4, name: "FullDay", kind: "scalar", localName: "FullDay", jsonName: "FullDay", T: 8 /*ScalarType.BOOL*/ }, - { no: 5, name: "StartHour", kind: "scalar", localName: "StartHour", jsonName: "StartHour", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" }, "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } }, - { no: 6, name: "EndHour", kind: "scalar", localName: "EndHour", jsonName: "EndHour", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" }, "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } } + { no: 5, name: "StartHour", kind: "scalar", localName: "StartHour", jsonName: "StartHour", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } }, + { no: 6, name: "EndHour", kind: "scalar", localName: "EndHour", jsonName: "EndHour", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } ]); } create(value?: PartialMessage): ExceptionalClosure { @@ -2932,20 +2932,20 @@ export const DeleteAllForProjectResponse = new DeleteAllForProjectResponse$Type( * @generated ServiceType for protobuf service api.CalendarService */ export const CalendarService = new ServiceType("api.CalendarService", [ - { name: "CreateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the organisation" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: CreateOnOrganisationRequest, O: CreateOnOrganisationResponse }, - { name: "GetOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at organisation level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling" }, I: GetOnOrganisationRequest, O: GetOnOrganisationResponse }, - { name: "ListOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an organisation" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: ListOnOrganisationRequest, O: ListOnOrganisationResponse }, - { name: "UpdateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at organisation level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: UpdateOnOrganisationRequest, O: UpdateOnOrganisationResponse }, - { name: "DeleteOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at organisation level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: DeleteOnOrganisationRequest, O: DeleteOnOrganisationResponse }, - { name: "DeleteAllForOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar for all organisations" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Calendar-Deletion", "api.moduleID": "appointment-scheduling" }, I: DeleteAllForOrganisationRequest, O: DeleteAllForOrganisationResponse }, - { name: "DeleteAllForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar for all projects" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Calendar-Deletion", "api.moduleID": "appointment-scheduling" }, I: DeleteAllForProjectRequest, O: DeleteAllForProjectResponse }, - { name: "ComputeSLAPeriodOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at organisation level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling" }, I: ComputeSLAPeriodOnOrganisationRequest, O: ComputeSLAPeriodResponse }, - { name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: CreateOnSiteRequest, O: CreateOnSiteResponse }, - { name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at site level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling" }, I: GetOnSiteRequest, O: GetOnSiteResponse }, - { name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: ListOnSiteRequest, O: ListOnSiteResponse }, - { name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at site level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: UpdateOnSiteRequest, O: UpdateOnSiteResponse }, - { name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at site level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling" }, I: DeleteOnSiteRequest, O: DeleteOnSiteResponse }, - { name: "GetPublicHolidays", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get public holidays for a given country up to a given year" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetPublicHolidaysRequest, O: GetPublicHolidaysResponse }, - { name: "ComputeSLAPeriodOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at site level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling" }, I: ComputeSLAPeriodOnSiteRequest, O: ComputeSLAPeriodResponse }, - { name: "ComputeReferencesSLAPeriod", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the SLA according to informations at project level" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling" }, I: ComputeReferencesSLAPeriodRequest, O: ComputeReferencesSLAPeriodResponse } + { name: "CreateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the organisation" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOnOrganisationRequest, O: CreateOnOrganisationResponse }, + { name: "GetOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnOrganisationRequest, O: GetOnOrganisationResponse }, + { name: "ListOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an organisation" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnOrganisationRequest, O: ListOnOrganisationResponse }, + { name: "UpdateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnOrganisationRequest, O: UpdateOnOrganisationResponse }, + { name: "DeleteOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnOrganisationRequest, O: DeleteOnOrganisationResponse }, + { name: "DeleteAllForOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar for all organisations" }, "api.rscType": "Platform", "api.roles": "Platform.Calendar-Deletion", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllForOrganisationRequest, O: DeleteAllForOrganisationResponse }, + { name: "DeleteAllForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar for all projects" }, "api.rscType": "Platform", "api.roles": "Platform.Calendar-Deletion", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllForProjectRequest, O: DeleteAllForProjectResponse }, + { name: "ComputeSLAPeriodOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnOrganisationRequest, O: ComputeSLAPeriodResponse }, + { name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the site" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOnSiteRequest, O: CreateOnSiteResponse }, + { name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at site level" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnSiteRequest, O: GetOnSiteResponse }, + { name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an site" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnSiteRequest, O: ListOnSiteResponse }, + { name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at site level" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnSiteRequest, O: UpdateOnSiteResponse }, + { name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at site level" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnSiteRequest, O: DeleteOnSiteResponse }, + { name: "GetPublicHolidays", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get public holidays for a given country up to a given year" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPublicHolidaysRequest, O: GetPublicHolidaysResponse }, + { name: "ComputeSLAPeriodOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the ETA according to a Period and the Calendar at site level" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeSLAPeriodOnSiteRequest, O: ComputeSLAPeriodResponse }, + { name: "ComputeReferencesSLAPeriod", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Compute the SLA according to informations at project level" }, "api.rscType": "Project", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeReferencesSLAPeriodRequest, O: ComputeReferencesSLAPeriodResponse } ], { "api.k8sService": "core-calendar" }); diff --git a/claim-type.ts b/claim-type.ts index 214062b..289578a 100644 --- a/claim-type.ts +++ b/claim-type.ts @@ -286,7 +286,7 @@ class CreateClaimTypeRequest$Type extends MessageType { super("api.CreateClaimTypeRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", maxLen: "255" } } } }, - { no: 3, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } }, + { no: 3, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+$" } } }, { no: 4, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 6, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTransition }, @@ -1177,11 +1177,11 @@ export const DeleteClaimTypesForResourceResponse = new DeleteClaimTypesForResour * @generated ServiceType for protobuf service api.ClaimTypeService */ export const ClaimTypeService = new ServiceType("api.ClaimTypeService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Create a claim type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: CreateClaimTypeRequest, O: CreateClaimTypeResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Get a claim type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.ClaimType", "api.moduleID": "claim", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetClaimTypeRequest, O: GetClaimTypeResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "List claim types on a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.ClaimType", "api.moduleID": "claim", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ListClaimTypeRequest, O: ListClaimTypeResponse }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Update a claim type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: UpdateClaimTypeRequest, O: UpdateClaimTypeResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete a claim type for an entity" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: DeleteClaimTypeRequest, O: DeleteClaimTypeResponse }, - { name: "DeleteClaimTypesForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete all claim types for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.ClaimType" }, I: DeleteClaimTypesForProjectRequest, O: DeleteClaimTypesForProjectResponse }, - { name: "DeleteClaimTypesForResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete all claim types for entities within a resource" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.ClaimType" }, I: DeleteClaimTypesForResourceRequest, O: DeleteClaimTypesForResourceResponse } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Create a claim type for an entity" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateClaimTypeRequest, O: CreateClaimTypeResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Get a claim type for an entity" }, "api.rscType": "Project", "api.roles": "Platform.ClaimType", "api.moduleID": "claim", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetClaimTypeRequest, O: GetClaimTypeResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "List claim types on a project" }, "api.rscType": "Project", "api.roles": "Platform.ClaimType", "api.moduleID": "claim", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: ListClaimTypeRequest, O: ListClaimTypeResponse }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Update a claim type for an entity" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateClaimTypeRequest, O: UpdateClaimTypeResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete a claim type for an entity" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteClaimTypeRequest, O: DeleteClaimTypeResponse }, + { name: "DeleteClaimTypesForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete all claim types for a project" }, "api.rscType": "Platform", "api.roles": "Platform.ClaimType", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteClaimTypesForProjectRequest, O: DeleteClaimTypesForProjectResponse }, + { name: "DeleteClaimTypesForResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ClaimType"], description: "Delete all claim types for entities within a resource" }, "api.rscType": "Platform", "api.roles": "Platform.ClaimType", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteClaimTypesForResourceRequest, O: DeleteClaimTypesForResourceResponse } ], { "api.k8sService": "claimtype-server" }); diff --git a/claim.ts b/claim.ts index 1e18b57..faf2d21 100644 --- a/claim.ts +++ b/claim.ts @@ -243,8 +243,8 @@ export const Claim = new Claim$Type(); class ClaimPayload$Type extends MessageType { constructor() { super("api.ClaimPayload", [ - { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the targetted entity" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the targetted entity" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "Criticality", kind: "enum", localName: "Criticality", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }, { no: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ClaimStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "api.aggSkip": "StatusUpdated" } }, { no: 6, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, @@ -263,7 +263,7 @@ class ClaimPayload$Type extends MessageType { { no: 15, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType], options: { "n1validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }, { no: 19, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Claim" } }, { no: 20, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } }, - { no: 21, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 21, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 22, name: "Message", kind: "scalar", localName: "Message", jsonName: "Message", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "MessageSent" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ClaimTypeID", "EntityID", "Criticality", "Status"] } } }); } diff --git a/claimInput.ts b/claimInput.ts index 9e58155..d86eac1 100644 --- a/claimInput.ts +++ b/claimInput.ts @@ -1051,9 +1051,9 @@ export interface ClaimCustomFieldsUpdatedResponse { class ClaimCreatedPayload$Type extends MessageType { constructor() { super("api.ClaimCreatedPayload", [ - { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the targetted entity" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contacts assigned on the claims (user uuid)" }, "n1validate.rules": { repeated: { items: { string: { pattern: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" } } } } } }, + { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" } } }, + { no: 2, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the targetted entity" } } }, + { no: 5, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { pattern: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contacts assigned on the claims (user uuid)" } } }, { no: 6, name: "Amount", kind: "message", localName: "Amount", jsonName: "Amount", T: () => Amount, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Amount of the claim" } } }, { no: 7, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 8, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } }, @@ -1326,9 +1326,9 @@ export const ClaimCreatedResponse = new ClaimCreatedResponse$Type(); class ClaimCompletedPayload$Type extends MessageType { constructor() { super("api.ClaimCompletedPayload", [ - { no: 1, name: "EndComment", kind: "scalar", localName: "EndComment", jsonName: "EndComment", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "End comment of the claim" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Closure", kind: "message", localName: "Closure", jsonName: "Closure", T: () => ClaimClosure, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Closure responsible and causes of the claim" }, "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ClaimStatus", ClaimStatus], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "n1validate.rules": { enum: { definedOnly: true } }, "api.mapPath": "Status.Current.StatusCode", "api.mapTypePath": "ClaimStatusStruct.ClaimStatusDef" } } + { no: 1, name: "EndComment", kind: "scalar", localName: "EndComment", jsonName: "EndComment", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "End comment of the claim" } } }, + { no: 2, name: "Closure", kind: "message", localName: "Closure", jsonName: "Closure", T: () => ClaimClosure, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Closure responsible and causes of the claim" } } }, + { no: 3, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ClaimStatus", ClaimStatus], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "api.mapPath": "Status.Current.StatusCode", "api.mapTypePath": "ClaimStatusStruct.ClaimStatusDef" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["EndComment", "Closure", "StatusCode"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ClaimCompletedPayload { @@ -1561,7 +1561,7 @@ export const ClaimCompletedResponse = new ClaimCompletedResponse$Type(); class ClaimCriticalityUpdatedPayload$Type extends MessageType { constructor() { super("api.ClaimCriticalityUpdatedPayload", [ - { no: 3, name: "Criticality", kind: "enum", localName: "Criticality", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" }, "n1validate.rules": { enum: { definedOnly: true } } } } + { no: 3, name: "Criticality", kind: "enum", localName: "Criticality", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Criticality"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CriticalityUpdated" }); } create(value?: PartialMessage): ClaimCriticalityUpdatedPayload { @@ -1781,7 +1781,7 @@ export const ClaimCriticalityUpdatedResponse = new ClaimCriticalityUpdatedRespon class ClaimStatusUpdatedPayload$Type extends MessageType { constructor() { super("api.ClaimStatusUpdatedPayload", [ - { no: 4, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ClaimStatus", ClaimStatus], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "n1validate.rules": { enum: { definedOnly: true } }, "api.mapPath": "Status.Current.StatusCode", "api.mapTypePath": "ClaimStatusStruct.ClaimStatusDef" } } + { no: 4, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ClaimStatus", ClaimStatus], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "api.mapPath": "Status.Current.StatusCode", "api.mapTypePath": "ClaimStatusStruct.ClaimStatusDef" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["StatusCode"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "StatusUpdated" }); } create(value?: PartialMessage): ClaimStatusUpdatedPayload { @@ -2001,7 +2001,7 @@ export const ClaimStatusUpdatedResponse = new ClaimStatusUpdatedResponse$Type(); class ClaimAmountUpdatedPayload$Type extends MessageType { constructor() { super("api.ClaimAmountUpdatedPayload", [ - { no: 1, name: "Amount", kind: "message", localName: "Amount", jsonName: "Amount", T: () => Amount, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Amount of the claim" }, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "Amount", kind: "message", localName: "Amount", jsonName: "Amount", T: () => Amount, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Amount of the claim" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Amount"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AmountUpdated" }); } create(value?: PartialMessage): ClaimAmountUpdatedPayload { @@ -2220,7 +2220,7 @@ export const ClaimAmountUpdatedResponse = new ClaimAmountUpdatedResponse$Type(); class ClaimAssigneesAddedPayload$Type extends MessageType { constructor() { super("api.ClaimAssigneesAddedPayload", [ - { no: 7, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "New contacts assigned on the claims (user uuid)" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } } + { no: 7, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "New contacts assigned on the claims (user uuid)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Assignees"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AssigneesAdded" }); } create(value?: PartialMessage): ClaimAssigneesAddedPayload { @@ -2440,7 +2440,7 @@ export const ClaimAssigneesAddedResponse = new ClaimAssigneesAddedResponse$Type( class ClaimAssigneesRemovedPayload$Type extends MessageType { constructor() { super("api.ClaimAssigneesRemovedPayload", [ - { no: 7, name: "RemovedAssignees", kind: "scalar", localName: "RemovedAssignees", jsonName: "RemovedAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some assigned contacts removed from the claims (user uuid)" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } } + { no: 7, name: "RemovedAssignees", kind: "scalar", localName: "RemovedAssignees", jsonName: "RemovedAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some assigned contacts removed from the claims (user uuid)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["RemovedAssignees"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AssigneesRemoved" }); } create(value?: PartialMessage): ClaimAssigneesRemovedPayload { @@ -4393,19 +4393,19 @@ export const ClaimCustomFieldsUpdatedResponse = new ClaimCustomFieldsUpdatedResp * @generated ServiceType for protobuf service api.ClaimInputAPI */ export const ClaimInputAPI = new ServiceType("api.ClaimInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim has been created." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimCreatedRequest, O: ClaimCreatedResponse }, - { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim has been completed." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimCompletedRequest, O: ClaimCompletedResponse }, - { name: "CriticalityUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim criticality has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimCriticalityUpdatedRequest, O: ClaimCriticalityUpdatedResponse }, - { name: "StatusUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim status has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimStatusUpdatedRequest, O: ClaimStatusUpdatedResponse }, - { name: "AssigneesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim assignees have been added." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimAssigneesAddedRequest, O: ClaimAssigneesAddedResponse }, - { name: "AssigneesRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim assignees have been removed." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimAssigneesRemovedRequest, O: ClaimAssigneesRemovedResponse }, - { name: "AmountUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim amount has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimAmountUpdatedRequest, O: ClaimAmountUpdatedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is added for the Claim." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimAttachmentAddedRequest, O: ClaimAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is removed for the Claim." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimAttachmentRemovedRequest, O: ClaimAttachmentRemovedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "Some metadata have been updated on a claim. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimMetaDataUpdatedRequest, O: ClaimMetaDataUpdatedResponse }, - { name: "TitleUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "The title is updated for the claim." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimTitleUpdatedRequest, O: ClaimTitleUpdatedResponse }, - { name: "MessageSent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A message is sent in the claim room." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.customInput": true, "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimMessageSentRequest, O: ClaimMessageSentResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An Claim has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Claims." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimDeletedRequest, O: ClaimDeletedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A Claim has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimSanitisedRequest, O: ClaimSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ClaimCustomFieldsUpdatedRequest, O: ClaimCustomFieldsUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimCreatedRequest, O: ClaimCreatedResponse }, + { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim has been completed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimCompletedRequest, O: ClaimCompletedResponse }, + { name: "CriticalityUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim criticality has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimCriticalityUpdatedRequest, O: ClaimCriticalityUpdatedResponse }, + { name: "StatusUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim status has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimStatusUpdatedRequest, O: ClaimStatusUpdatedResponse }, + { name: "AssigneesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim assignees have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimAssigneesAddedRequest, O: ClaimAssigneesAddedResponse }, + { name: "AssigneesRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim assignees have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimAssigneesRemovedRequest, O: ClaimAssigneesRemovedResponse }, + { name: "AmountUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A claim amount has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimAmountUpdatedRequest, O: ClaimAmountUpdatedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is added for the Claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimAttachmentAddedRequest, O: ClaimAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An attachment is removed for the Claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimAttachmentRemovedRequest, O: ClaimAttachmentRemovedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "Some metadata have been updated on a claim. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMetaDataUpdatedRequest, O: ClaimMetaDataUpdatedResponse }, + { name: "TitleUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "The title is updated for the claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimTitleUpdatedRequest, O: ClaimTitleUpdatedResponse }, + { name: "MessageSent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A message is sent in the claim room." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.customInput": true, "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMessageSentRequest, O: ClaimMessageSentResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An Claim has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Claims." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimDeletedRequest, O: ClaimDeletedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A Claim has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimSanitisedRequest, O: ClaimSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimCustomFieldsUpdatedRequest, O: ClaimCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" }); diff --git a/claimQuery.ts b/claimQuery.ts index 9434cfe..6c4a1fa 100644 --- a/claimQuery.ts +++ b/claimQuery.ts @@ -331,7 +331,7 @@ export const ClaimByIdResult = new ClaimByIdResult$Type(); class ClaimByFilterQuery$Type extends MessageType { constructor() { super("api.ClaimByFilterQuery", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, { no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } }, { no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }, @@ -658,8 +658,8 @@ export const ClaimByMatchResult = new ClaimByMatchResult$Type(); class ClaimGetRoomQuery$Type extends MessageType { constructor() { super("api.ClaimGetRoomQuery", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } }); } create(value?: PartialMessage): ClaimGetRoomQuery { @@ -758,8 +758,8 @@ export const ClaimGetRoomResult = new ClaimGetRoomResult$Type(); class ClaimGetAvailableContactsQuery$Type extends MessageType { constructor() { super("api.ClaimGetAvailableContactsQuery", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {}, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }, { no: 3, name: "PartnerIDs", kind: "scalar", localName: "PartnerIDs", jsonName: "PartnerIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } }); } @@ -866,13 +866,13 @@ export const ClaimGetAvailableContactsResult = new ClaimGetAvailableContactsResu * @generated ServiceType for protobuf service api.ClaimQuery */ export const ClaimQuery = new ServiceType("api.ClaimQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claims from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "api.tableName": "claimById" }, I: ClaimByIdQuery, O: ClaimByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Find Claims using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim" }, I: ClaimByFilterQuery, O: ClaimByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: ClaimByMatchQuery, O: ClaimByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: ExtractQuery, O: ExtractResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claim KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "GetRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get room for a claim" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: ClaimGetRoomQuery, O: ClaimGetRoomResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "claim" }, I: CountLinesQuery, O: CountLinesResult }, - { name: "GetAvailableContacts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get available contacts for a claim" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim" }, I: ClaimGetAvailableContactsQuery, O: ClaimGetAvailableContactsResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claims from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "api.tableName": "claimById", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByIdQuery, O: ClaimByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Find Claims using search criterias" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByFilterQuery, O: ClaimByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByMatchQuery, O: ClaimByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claim KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "GetRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get room for a claim" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimGetRoomQuery, O: ClaimGetRoomResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult }, + { name: "GetAvailableContacts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get available contacts for a claim" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimGetAvailableContactsQuery, O: ClaimGetAvailableContactsResult } ], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" }); diff --git a/clickhouse.ts b/clickhouse.ts index d8a6fd1..7a78e0e 100644 --- a/clickhouse.ts +++ b/clickhouse.ts @@ -773,8 +773,8 @@ class CHDimension$Type extends MessageType { { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Granularity", kind: "scalar", localName: "Granularity", jsonName: "Granularity", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "Level", kind: "scalar", localName: "Level", jsonName: "Level", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"date\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"DateTime\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"date\"" } } }, + { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"DateTime\"" } } }, { no: 6, name: "EnumValues", kind: "scalar", localName: "EnumValues", jsonName: "EnumValues", T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "Period", kind: "scalar", localName: "Period", jsonName: "Period", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "A period of time" } } }, { no: 8, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"EQUAL\", \"DIFF\", \"START_BY\", \"NOT_START_BY\", \"FINISH_BY\", \"NOT_FINISH_BY\", \"CONTAINS\", \"NOT_CONTAINS\", \"IN_LIST\", \"NOT_IN_LIST\"" } } }, @@ -991,8 +991,8 @@ class CHMetric$Type extends MessageType { super("api.CHMetric", [ { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Level", kind: "scalar", localName: "Level", jsonName: "Level", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"count\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"int\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"count\"" } } }, + { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"int\"" } } }, { no: 6, name: "EnumValues", kind: "scalar", localName: "EnumValues", jsonName: "EnumValues", T: 9 /*ScalarType.STRING*/ }, { no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHQueryExpression }, { no: 13, name: "IsComputed", kind: "scalar", localName: "IsComputed", jsonName: "IsComputed", T: 8 /*ScalarType.BOOL*/ } @@ -1158,8 +1158,8 @@ class SimpleJSONDimension$Type extends MessageType { { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Granularity", kind: "scalar", localName: "Granularity", jsonName: "Granularity", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "Level", kind: "scalar", localName: "Level", jsonName: "Level", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"date\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"DateTime\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"date\"" } } }, + { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"DateTime\"" } } }, { no: 6, name: "EnumValues", kind: "scalar", localName: "EnumValues", jsonName: "EnumValues", T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "Period", kind: "scalar", localName: "Period", jsonName: "Period", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "A period of time" } } }, { no: 8, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"EQUAL\", \"DIFF\", \"START_BY\", \"NOT_START_BY\", \"FINISH_BY\", \"NOT_FINISH_BY\", \"CONTAINS\", \"NOT_CONTAINS\", \"IN_LIST\", \"NOT_IN_LIST\"" } } }, @@ -1305,8 +1305,8 @@ class SimpleJSONMetric$Type extends MessageType { super("api.SimpleJSONMetric", [ { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Level", kind: "scalar", localName: "Level", jsonName: "Level", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"count\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"int\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"count\"" } } }, + { no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"int\"" } } }, { no: 6, name: "EnumValues", kind: "scalar", localName: "EnumValues", jsonName: "EnumValues", T: 9 /*ScalarType.STRING*/ }, { no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleJSONQueryExpression }, { no: 13, name: "IsComputed", kind: "scalar", localName: "IsComputed", jsonName: "IsComputed", T: 8 /*ScalarType.BOOL*/ } @@ -1554,9 +1554,9 @@ class GetKPIDataQuery$Type extends MessageType { { no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension }, { no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric }, { no: 7, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter }, - { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, { no: 9, name: "ResultFormat", kind: "enum", localName: "ResultFormat", jsonName: "ResultFormat", T: () => ["api.KpiDataResultFormat", KpiDataResultFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Result format selection", example: "\"KPIDATA_RESULT_FORMAT_SERIES\"" } } }, - { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to get the kpi data from", example: "\"executionflow\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } } + { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to get the kpi data from", example: "\"executionflow\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ChartType", "QueryType", "QueryBlock", "Metrics", "KpiGroupName"] } } }); } create(value?: PartialMessage): GetKPIDataQuery { @@ -1671,9 +1671,9 @@ class GetKPIDataForUserQuery$Type extends MessageType { { no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension }, { no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric }, { no: 7, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter }, - { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, { no: 9, name: "ResultFormat", kind: "enum", localName: "ResultFormat", jsonName: "ResultFormat", T: () => ["api.KpiDataResultFormat", KpiDataResultFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Result format selection", example: "\"KPIDATA_RESULT_FORMAT_SERIES\"" } } }, - { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to get the kpi data from", example: "\"executionflow\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } }, + { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to get the kpi data from", example: "\"executionflow\"" } } }, { no: 11, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 12, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Start position of the query result page. Pagination disabled if equal to -1.", example: "\"50\"" } } }, { no: 13, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Length of the query result page", example: "\"50\"" } } } @@ -2158,8 +2158,8 @@ class FindKPIDataQuery$Type extends MessageType { { no: 5, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter }, { no: 6, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension }, { no: 7, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric }, - { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, - { no: 9, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } } + { no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, + { no: 9, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ChartType", "QueryType", "QueryBlock", "Metrics", "KpiGroupName"] } } }); } create(value?: PartialMessage): FindKPIDataQuery { @@ -2315,8 +2315,8 @@ class ExtractKPIQuery$Type extends MessageType { { 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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, - { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } }, + { no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, + { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "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: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 12, name: "TargetType", kind: "scalar", localName: "TargetType", jsonName: "TargetType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 13, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, diff --git a/client.ts b/client.ts index e3a64d7..941ba8b 100644 --- a/client.ts +++ b/client.ts @@ -72,9 +72,9 @@ export interface RegisterClientResult { class OpenIDClient$Type extends MessageType { constructor() { super("api.OpenIDClient", [ - { no: 1, name: "AppName", kind: "scalar", localName: "AppName", jsonName: "AppName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The application name must be lowercase and can only contain letters and numbers. It must be unique within the organisation.", example: "\"reflexvisibility\"", pattern: "^[a-z]+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z]+$" } } } }, - { no: 2, name: "DisplayName", kind: "scalar", localName: "DisplayName", jsonName: "DisplayName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The display name of the application.", example: "\"Reflex Visibility\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "RootURI", kind: "scalar", localName: "RootURI", jsonName: "RootURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The root URI of the application.", example: "\"https://localhost\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "AppName", kind: "scalar", localName: "AppName", jsonName: "AppName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The application name must be lowercase and can only contain letters and numbers. It must be unique within the organisation.", example: "\"reflexvisibility\"", pattern: "^[a-z]+$" } } }, + { no: 2, name: "DisplayName", kind: "scalar", localName: "DisplayName", jsonName: "DisplayName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The display name of the application.", example: "\"Reflex Visibility\"" } } }, + { no: 3, name: "RootURI", kind: "scalar", localName: "RootURI", jsonName: "RootURI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The root URI of the application.", example: "\"https://localhost\"" } } }, { no: 4, name: "RedirectURIs", kind: "scalar", localName: "RedirectURIs", jsonName: "RedirectURIs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The allowed redirect URIs of the application.", example: "\"https://localhost/*\"" } } }, { no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The description of the application.", example: "\"Reflex Visibility application from HARDIS SC NETWORK\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppName", "RootURI", "DisplayName"] } } }); @@ -297,6 +297,6 @@ export const RegisterClientResult = new RegisterClientResult$Type(); * @generated ServiceType for protobuf service api.ClientService */ export const ClientService = new ServiceType("api.ClientService", [ - { name: "RegisterPlatformClient", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OIDC"], description: "Register a new client for the platform" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Permission" }, I: RegisterPlatformClientRequest, O: RegisterClientResult }, - { name: "RegisterClient", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OIDC"], description: "Register a new client for an organisation" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: RegisterClientRequest, O: RegisterClientResult } + { name: "RegisterPlatformClient", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OIDC"], description: "Register a new client for the platform" }, "api.rscType": "Platform", "api.roles": "Platform.Permission", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RegisterPlatformClientRequest, O: RegisterClientResult }, + { name: "RegisterClient", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OIDC"], description: "Register a new client for an organisation" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RegisterClientRequest, O: RegisterClientResult } ], { "api.k8sService": "authorization-server" }); diff --git a/connection.ts b/connection.ts index dfdc9af..0cc8ff2 100644 --- a/connection.ts +++ b/connection.ts @@ -406,7 +406,7 @@ class CreateConnectionRequest$Type extends MessageType super("api.CreateConnectionRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ConnectorID", kind: "scalar", localName: "ConnectorID", jsonName: "ConnectorID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } } + { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectorID", "Name"] } } }); } create(value?: PartialMessage): CreateConnectionRequest { @@ -1322,13 +1322,13 @@ export const IsConnectionExistResult = new IsConnectionExistResult$Type(); * @generated ServiceType for protobuf service api.ConnectionService */ export const ConnectionService = new ServiceType("api.ConnectionService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Create a PartnerApp connection" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: CreateConnectionRequest, O: CreateConnectionResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Delete a partnerApp Connection" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "Platform.Connection" }, I: DeleteConnectionRequest, O: DeleteConnectionResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "List PartnerApp Connections" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "Platform.Connection" }, I: ListConnectionsRequest, O: ListConnectionsResult }, - { name: "GetDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Get PartnerApp Connection and linked connector details" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection" }, I: GetDetailsConnectionsRequest, O: GetDetailsConnectionsResult }, - { name: "GetStartDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Get uri for starting the connection" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection" }, I: GetStartDetailsConnectionsRequest, O: GetStartDetailsConnectionsResult }, - { name: "SetRunDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Set run connection details" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection" }, I: SetRunDetailsConnectionsRequest, O: SetRunDetailsConnectionsResult }, - { name: "RenewConnectionSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Renew Connection SA" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "" }, I: RenewConnectionSARequest, O: RenewConnectionSAResult }, - { name: "DeleteConnectionInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Delete Connection in Databases" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Connection" }, I: DeleteConnectionInDBRequest, O: DeleteConnectionInDBResult }, - { name: "IsConnectionExist", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Check if Connection is in Databases" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Connection" }, I: IsConnectionExistRequest, O: IsConnectionExistResult } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Create a PartnerApp connection" }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateConnectionRequest, O: CreateConnectionResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Delete a partnerApp Connection" }, "api.rscType": "PartnerApp", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteConnectionRequest, O: DeleteConnectionResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "List PartnerApp Connections" }, "api.rscType": "PartnerApp", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "SDK" } }, I: ListConnectionsRequest, O: ListConnectionsResult }, + { name: "GetDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Get PartnerApp Connection and linked connector details" }, "api.rscType": "Connection", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "SDK" } }, I: GetDetailsConnectionsRequest, O: GetDetailsConnectionsResult }, + { name: "GetStartDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Get uri for starting the connection" }, "api.rscType": "Connection", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "SDK" } }, I: GetStartDetailsConnectionsRequest, O: GetStartDetailsConnectionsResult }, + { name: "SetRunDetails", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Set run connection details" }, "api.rscType": "Connection", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "SDK" } }, I: SetRunDetailsConnectionsRequest, O: SetRunDetailsConnectionsResult }, + { name: "RenewConnectionSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Renew Connection SA" }, "api.rscType": "Connection", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewConnectionSARequest, O: RenewConnectionSAResult }, + { name: "DeleteConnectionInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Delete Connection in Databases" }, "api.rscType": "Platform", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteConnectionInDBRequest, O: DeleteConnectionInDBResult }, + { name: "IsConnectionExist", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection"], description: "Check if Connection is in Databases" }, "api.rscType": "Platform", "api.roles": "Platform.Connection", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: IsConnectionExistRequest, O: IsConnectionExistResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/connectionSettings.ts b/connectionSettings.ts index a928a1c..4cbcc8d 100644 --- a/connectionSettings.ts +++ b/connectionSettings.ts @@ -145,7 +145,7 @@ class PutConnectionSettingsRequest$Type extends MessageType RequestConnectionHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "settings", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ }, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "settings: at least one pair of \"key: value\" needed" }, "n1validate.rules": { map: { minPairs: "1" } } } } + { no: 2, name: "settings", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ }, options: { "n1validate.rules": { map: { minPairs: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "settings: at least one pair of \"key: value\" needed" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Settings of the connection to store", required: ["Header"] } } }); } create(value?: PartialMessage): PutConnectionSettingsRequest { @@ -438,7 +438,7 @@ export const DeleteConnectionSettingsResult = new DeleteConnectionSettingsResult * @generated ServiceType for protobuf service api.ConnectionSettingsService */ export const ConnectionSettingsService = new ServiceType("api.ConnectionSettingsService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to get get connection's settings" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings" }, I: GetConnectionSettingsRequest, O: GetConnectionSettingsResult }, - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to create or update connection's settings" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings" }, I: PutConnectionSettingsRequest, O: PutConnectionSettingsResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to delete connection's settings" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings" }, I: DeleteConnectionSettingsRequest, O: DeleteConnectionSettingsResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to get get connection's settings" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings", "google.api.method_visibility": { restriction: "SDK" } }, I: GetConnectionSettingsRequest, O: GetConnectionSettingsResult }, + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to create or update connection's settings" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings", "google.api.method_visibility": { restriction: "SDK" } }, I: PutConnectionSettingsRequest, O: PutConnectionSettingsResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connection Settings"], description: "Use to delete connection's settings" }, "api.rscType": "Connection", "api.roles": "Platform.Connection-Settings", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteConnectionSettingsRequest, O: DeleteConnectionSettingsResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/connector.ts b/connector.ts index f748b4a..7a61aaa 100644 --- a/connector.ts +++ b/connector.ts @@ -401,7 +401,7 @@ export enum Keyword { class Connector$Type extends MessageType { constructor() { super("api.Connector", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([a-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([a-z0-9-])+$" } } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([a-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([a-z0-9-])+$" } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ConnectorType", ConnectorType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, @@ -671,10 +671,10 @@ export const ParameterMetadata = new ParameterMetadata$Type(); class CreateConnectorRequest$Type extends MessageType { constructor() { super("api.CreateConnectorRequest", [ - { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ConnectorType", ConnectorType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-.])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-.])+$" } } } }, + { no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-.])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-.])+$" } } }, { no: 5, name: "RepoUrl", kind: "scalar", localName: "RepoUrl", jsonName: "RepoUrl", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "MainClassName", kind: "scalar", localName: "MainClassName", jsonName: "MainClassName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 7, name: "JarName", kind: "scalar", localName: "JarName", jsonName: "JarName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, @@ -862,7 +862,7 @@ class UpdateConnectorRequest$Type extends MessageType { super("api.UpdateConnectorRequest", [ { no: 1, name: "ConnectorID", kind: "scalar", localName: "ConnectorID", jsonName: "ConnectorID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-.])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-.])+$" } } } }, + { no: 3, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-.])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-.])+$" } } }, { no: 4, name: "RepoUrl", kind: "scalar", localName: "RepoUrl", jsonName: "RepoUrl", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "MainClassName", kind: "scalar", localName: "MainClassName", jsonName: "MainClassName", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "JarName", kind: "scalar", localName: "JarName", jsonName: "JarName", T: 9 /*ScalarType.STRING*/ }, @@ -1397,10 +1397,10 @@ export const DeleteConnectorResult = new DeleteConnectorResult$Type(); * @generated ServiceType for protobuf service api.ConnectorService */ export const ConnectorService = new ServiceType("api.ConnectorService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Create a Platform Connector" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CreateConnectorRequest, O: CreateConnectorResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Update a Platform Connector" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: UpdateConnectorRequest, O: UpdateConnectorResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Delete a Platform Connector" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: DeleteConnectorRequest, O: DeleteConnectorResult }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Get a Platform Connector" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Connector" }, I: GetConnectorRequest, O: GetConnectorResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "List Platform Connectors" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: ListConnectorsRequest, O: ListConnectorsResult }, - { name: "ListAvailable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "List Available Platform Connectors on a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListAvailableConnectorsRequest, O: ListAvailableConnectorsResult } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Create a Platform Connector" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateConnectorRequest, O: CreateConnectorResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Update a Platform Connector" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateConnectorRequest, O: UpdateConnectorResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Delete a Platform Connector" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteConnectorRequest, O: DeleteConnectorResult }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "Get a Platform Connector" }, "api.rscType": "Platform", "api.roles": "Platform.Connector", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetConnectorRequest, O: GetConnectorResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "List Platform Connectors" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListConnectorsRequest, O: ListConnectorsResult }, + { name: "ListAvailable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Connector"], description: "List Available Platform Connectors on a Project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAvailableConnectorsRequest, O: ListAvailableConnectorsResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/driver.ts b/driver.ts index 8624d6b..a9478e9 100644 --- a/driver.ts +++ b/driver.ts @@ -49,7 +49,7 @@ class GetAppointmentDriverDataRequest$Type extends MessageTypeISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } } + { no: 2, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["DriverJWT", "LanguageCode"] } } }); } create(value?: PartialMessage): GetAppointmentDriverDataRequest { diff --git a/elastic.ts b/elastic.ts index ca5d7ab..17cd364 100644 --- a/elastic.ts +++ b/elastic.ts @@ -504,8 +504,8 @@ export const ClearIndexEntityResult = new ClearIndexEntityResult$Type(); * @generated ServiceType for protobuf service api.ElasticService */ export const ElasticService = new ServiceType("api.ElasticService", [ - { name: "UpdateModelMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Generate new model mapping templates" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic" }, I: UpdateModelMappingsRequest, O: UpdateModelMappingsResult }, - { name: "CreateResourceMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Generate new resource mapping templates" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic" }, I: CreateResourceMappingsRequest, O: CreateResourceMappingsResult }, - { name: "DeleteResourceMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Delete resoource mapping templates" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic" }, I: DeleteResourceMappingsRequest, O: DeleteResourceMappingsResult }, - { name: "ClearIndexEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Clear data for a specific entity" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic" }, I: ClearIndexEntityRequest, O: ClearIndexEntityResult } + { name: "UpdateModelMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Generate new model mapping templates" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateModelMappingsRequest, O: UpdateModelMappingsResult }, + { name: "CreateResourceMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Generate new resource mapping templates" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateResourceMappingsRequest, O: CreateResourceMappingsResult }, + { name: "DeleteResourceMappings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Delete resoource mapping templates" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteResourceMappingsRequest, O: DeleteResourceMappingsResult }, + { name: "ClearIndexEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Elastic"], description: "Clear data for a specific entity" }, "api.rscType": "Platform", "api.roles": "Platform.Elastic", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearIndexEntityRequest, O: ClearIndexEntityResult } ], { "api.k8sService": "project-model-server" }); diff --git a/executionflow.ts b/executionflow.ts index dfee567..b41814b 100644 --- a/executionflow.ts +++ b/executionflow.ts @@ -269,7 +269,7 @@ class ExecutionflowPayload$Type extends MessageType { { no: 8, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, { no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID", "api.aggAppend": "Created,Detected,LinesAdded,LinesDetected", "api.indexationSkip": true } }, { no: 11, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } }, - { no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.indexationSkip": true } }, + { no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }, { no: 14, name: "ShipFromAcked", kind: "scalar", localName: "ShipFromAcked", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ }, { no: 15, name: "ShipToAcked", kind: "scalar", localName: "ShipToAcked", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ }, { no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } }, diff --git a/executionflowInput.ts b/executionflowInput.ts index 57621c1..7799dbf 100644 --- a/executionflowInput.ts +++ b/executionflowInput.ts @@ -4654,7 +4654,7 @@ export const ExecutionflowHUETAUpdatedResponse = new ExecutionflowHUETAUpdatedRe class ExecutionflowETAUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedPayload", [ - { no: 1, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs" }, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowETA"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedPayload { @@ -9602,38 +9602,38 @@ export const ExecutionflowAppointmentUpdatedResponse = new ExecutionflowAppointm * @generated ServiceType for protobuf service api.ExecutionflowInputAPI */ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been created. This is typically called from an OMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowCreatedRequest, O: ExecutionflowCreatedResponse }, - { name: "Detected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been detected. This is typically called from an WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowDetectedRequest, O: ExecutionflowDetectedResponse }, - { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The associated order was not created correctly. Call this api to fix the order creation. " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowRedetectedRequest, O: ExecutionflowRedetectedResponse }, - { name: "ShipFromAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipFrom WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowShipFromAckedRequest, O: ExecutionflowShipFromAckedResponse }, - { name: "ShipToAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipTo WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowShipToAckedRequest, O: ExecutionflowShipToAckedResponse }, - { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been cancelled. This is typically called from an OMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowCancelledRequest, O: ExecutionflowCancelledResponse }, - { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been anonymised." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowAnonymisedRequest, O: ExecutionflowAnonymisedResponse }, - { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been completed. This is typically called from an OMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowCompletedRequest, O: ExecutionflowCompletedResponse }, - { name: "HUContentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowHUContentUpdatedRequest, O: ExecutionflowHUContentUpdatedResponse }, - { name: "HUTrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowHUTrackingUpdatedRequest, O: ExecutionflowHUTrackingUpdatedResponse }, - { name: "HUETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An HandlingUnit ETA update is reported to an Execution Flow. This is used internally. " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowHUETAUpdatedRequest, O: ExecutionflowHUETAUpdatedResponse }, - { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow ETA update is reported to an Execution Flow." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowETAUpdatedRequest, O: ExecutionflowETAUpdatedResponse }, - { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is expected on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowPreparationExpectedRequest, O: ExecutionflowPreparationExpectedResponse }, - { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation has started on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowPreparationStartedRequest, O: ExecutionflowPreparationStartedResponse }, - { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is completed on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowPreparationCompletedRequest, O: ExecutionflowPreparationCompletedResponse }, - { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is expected on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowTransportExpectedRequest, O: ExecutionflowTransportExpectedResponse }, - { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport has started on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowTransportStartedRequest, O: ExecutionflowTransportStartedResponse }, - { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is completed on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowTransportCompletedRequest, O: ExecutionflowTransportCompletedResponse }, - { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is expected on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowReceiptExpectedRequest, O: ExecutionflowReceiptExpectedResponse }, - { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt has started on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowReceiptStartedRequest, O: ExecutionflowReceiptStartedResponse }, - { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is completed on the Execution Flow. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowReceiptCompletedRequest, O: ExecutionflowReceiptCompletedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some metadata have been updated on an Execution Flow. This is typically called from OMS or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowMetaDataUpdatedRequest, O: ExecutionflowMetaDataUpdatedResponse }, - { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The carrier and/or carrier service has been updated for the Execution Flow. This is typically called from OMS or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowCarrierUpdatedRequest, O: ExecutionflowCarrierUpdatedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is added for the Executionflow." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowAttachmentAddedRequest, O: ExecutionflowAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse }, - { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim has been added on the Executionflow." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation executionflows." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse }, - { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse }, - { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }, - { name: "Renotified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Re-notify the connected partnerApps." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowRenotifiedRequest, O: ExecutionflowRenotifiedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }, - { name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An appointment is updated for the Executionflow." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowAppointmentUpdatedRequest, O: ExecutionflowAppointmentUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been created. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCreatedRequest, O: ExecutionflowCreatedResponse }, + { name: "Detected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been detected. This is typically called from an WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDetectedRequest, O: ExecutionflowDetectedResponse }, + { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The associated order was not created correctly. Call this api to fix the order creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowRedetectedRequest, O: ExecutionflowRedetectedResponse }, + { name: "ShipFromAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipFrom WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipFromAckedRequest, O: ExecutionflowShipFromAckedResponse }, + { name: "ShipToAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipTo WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipToAckedRequest, O: ExecutionflowShipToAckedResponse }, + { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been cancelled. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCancelledRequest, O: ExecutionflowCancelledResponse }, + { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been anonymised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAnonymisedRequest, O: ExecutionflowAnonymisedResponse }, + { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been completed. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCompletedRequest, O: ExecutionflowCompletedResponse }, + { name: "HUContentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUContentUpdatedRequest, O: ExecutionflowHUContentUpdatedResponse }, + { name: "HUTrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUTrackingUpdatedRequest, O: ExecutionflowHUTrackingUpdatedResponse }, + { name: "HUETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An HandlingUnit ETA update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUETAUpdatedRequest, O: ExecutionflowHUETAUpdatedResponse }, + { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow ETA update is reported to an Execution Flow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowETAUpdatedRequest, O: ExecutionflowETAUpdatedResponse }, + { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationExpectedRequest, O: ExecutionflowPreparationExpectedResponse }, + { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationStartedRequest, O: ExecutionflowPreparationStartedResponse }, + { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationCompletedRequest, O: ExecutionflowPreparationCompletedResponse }, + { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportExpectedRequest, O: ExecutionflowTransportExpectedResponse }, + { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportStartedRequest, O: ExecutionflowTransportStartedResponse }, + { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportCompletedRequest, O: ExecutionflowTransportCompletedResponse }, + { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptExpectedRequest, O: ExecutionflowReceiptExpectedResponse }, + { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptStartedRequest, O: ExecutionflowReceiptStartedResponse }, + { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptCompletedRequest, O: ExecutionflowReceiptCompletedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some metadata have been updated on an Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowMetaDataUpdatedRequest, O: ExecutionflowMetaDataUpdatedResponse }, + { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The carrier and/or carrier service has been updated for the Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCarrierUpdatedRequest, O: ExecutionflowCarrierUpdatedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentAddedRequest, O: ExecutionflowAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse }, + { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "api.rscType": "Project", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim has been added on the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse }, + { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse }, + { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }, + { name: "Renotified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Re-notify the connected partnerApps." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowRenotifiedRequest, O: ExecutionflowRenotifiedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }, + { name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An appointment is updated for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAppointmentUpdatedRequest, O: ExecutionflowAppointmentUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/executionflowQuery.ts b/executionflowQuery.ts index 2788ad8..124ce8b 100644 --- a/executionflowQuery.ts +++ b/executionflowQuery.ts @@ -450,8 +450,8 @@ export const ExecutionflowQueryOptions = new ExecutionflowQueryOptions$Type(); * @generated ServiceType for protobuf service api.ExecutionflowQuery */ export const ExecutionflowQuery = new ServiceType("api.ExecutionflowQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Get Execution Flows from RefIDs" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "executionflowById", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowByIdQuery, O: ExecutionflowByIdResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Get Execution Flows KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Find Execution flows using search criterias" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: ExecutionflowByFilterQuery, O: ExecutionflowByFilterResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Get Execution Flows from RefIDs" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "executionflowById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowByIdQuery, O: ExecutionflowByIdResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Get Execution Flows KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Query"], description: "Find Execution flows using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowByFilterQuery, O: ExecutionflowByFilterResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/gcs-api.ts b/gcs-api.ts index 1a313e9..dff1517 100644 --- a/gcs-api.ts +++ b/gcs-api.ts @@ -1164,14 +1164,14 @@ export const DeleteBucketResult = new DeleteBucketResult$Type(); * @generated ServiceType for protobuf service api.GcsApi */ export const GcsApi = new ServiceType("api.GcsApi", [ - { name: "GetPartnerReadToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder read STS of the given PartnerApp" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "PartnerApp.Bucket-Reader" }, I: GetPartnerReadTokenRequest, O: GetPartnerReadTokenResult }, - { name: "GetPartnerWriteToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder write STS of the given PartnerApp" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "PartnerApp.Bucket-Writer" }, I: GetPartnerWriteTokenRequest, O: GetPartnerWriteTokenResult }, - { name: "GetProjectReadToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder read STS of the given Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Project.Bucket-Reader" }, I: GetProjectReadTokenRequest, O: GetProjectReadTokenResult }, - { name: "GetProjectWriteToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder write STS of the given Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Project.Bucket-Writer" }, I: GetProjectWriteTokenRequest, O: GetProjectWriteTokenResult }, - { name: "GetBucketSTS", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder STS of a given project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetBucketSTSRequest, O: GetBucketSTSResult }, - { name: "CreatePartnerBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Create a storage bucket for a partner in a specific project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage" }, I: CreatePartnerBucketRequest, O: CreateBucketResult }, - { name: "CreateProjectBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Create a storage bucket for a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage" }, I: CreateProjectBucketRequest, O: CreateBucketResult }, - { name: "DeletePartnerBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for a partner in a specific project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage" }, I: DeletePartnerBucketRequest, O: DeleteBucketResult }, - { name: "DeleteProjectBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage" }, I: DeleteProjectBucketRequest, O: DeleteBucketResult }, - { name: "DeleteOrganisationBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for an organisation" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Storage" }, I: DeleteOrganisationBucketRequest, O: DeleteBucketResult } + { name: "GetPartnerReadToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder read STS of the given PartnerApp" }, "api.rscType": "PartnerApp", "api.roles": "PartnerApp.Bucket-Reader", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPartnerReadTokenRequest, O: GetPartnerReadTokenResult }, + { name: "GetPartnerWriteToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder write STS of the given PartnerApp" }, "api.rscType": "PartnerApp", "api.roles": "PartnerApp.Bucket-Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPartnerWriteTokenRequest, O: GetPartnerWriteTokenResult }, + { name: "GetProjectReadToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder read STS of the given Project" }, "api.rscType": "Project", "api.roles": "Project.Bucket-Reader", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectReadTokenRequest, O: GetProjectReadTokenResult }, + { name: "GetProjectWriteToken", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder write STS of the given Project" }, "api.rscType": "Project", "api.roles": "Project.Bucket-Writer", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectWriteTokenRequest, O: GetProjectWriteTokenResult }, + { name: "GetBucketSTS", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Get a folder STS of a given project" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBucketSTSRequest, O: GetBucketSTSResult }, + { name: "CreatePartnerBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Create a storage bucket for a partner in a specific project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreatePartnerBucketRequest, O: CreateBucketResult }, + { name: "CreateProjectBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Create a storage bucket for a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateProjectBucketRequest, O: CreateBucketResult }, + { name: "DeletePartnerBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for a partner in a specific project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeletePartnerBucketRequest, O: DeleteBucketResult }, + { name: "DeleteProjectBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Storage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteProjectBucketRequest, O: DeleteBucketResult }, + { name: "DeleteOrganisationBucket", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["GCS"], description: "Delete a storage bucket for an organisation" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Storage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOrganisationBucketRequest, O: DeleteBucketResult } ], { "api.k8sService": "gcs-api" }); diff --git a/go-ape.ts b/go-ape.ts index b779ae5..bc74d58 100644 --- a/go-ape.ts +++ b/go-ape.ts @@ -71,10 +71,10 @@ class GoAPEGenerateRequest$Type extends MessageType { constructor() { super("api.GoAPEGenerateRequest", [ { no: 1, name: "Namespace", kind: "scalar", localName: "Namespace", jsonName: "Namespace", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Namespace" } } }, - { no: 2, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template name" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template name" } } }, { no: 3, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, - { no: 4, name: "DataJSON", kind: "scalar", localName: "DataJSON", jsonName: "DataJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "JSON data to be passed to the template" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "OutputFormat", kind: "enum", localName: "OutputFormat", jsonName: "OutputFormat", T: () => ["api.GoAPEGenerateType", GoAPEGenerateType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Output format" }, "n1validate.rules": { enum: { definedOnly: true } } } } + { no: 4, name: "DataJSON", kind: "scalar", localName: "DataJSON", jsonName: "DataJSON", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "JSON data to be passed to the template" } } }, + { no: 5, name: "OutputFormat", kind: "enum", localName: "OutputFormat", jsonName: "OutputFormat", T: () => ["api.GoAPEGenerateType", GoAPEGenerateType], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Output format" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["TemplateName", "DataJSON", "OutputFormat"] } } }); } create(value?: PartialMessage): GoAPEGenerateRequest { @@ -196,5 +196,5 @@ export const GoAPEGenerateResult = new GoAPEGenerateResult$Type(); * @generated ServiceType for protobuf service api.GoAPEService */ export const GoAPEService = new ServiceType("api.GoAPEService", [ - { name: "Generate", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Go APE"], description: "Generates a desired output from a template" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.GoAPE" }, I: GoAPEGenerateRequest, O: GoAPEGenerateResult } + { name: "Generate", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Go APE"], description: "Generates a desired output from a template" }, "api.rscType": "Platform", "api.roles": "Platform.GoAPE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GoAPEGenerateRequest, O: GoAPEGenerateResult } ], { "api.k8sService": "go-ape" }); diff --git a/handlingunit.ts b/handlingunit.ts index a6125ac..3ca92d8 100644 --- a/handlingunit.ts +++ b/handlingunit.ts @@ -235,7 +235,7 @@ class HandlingunitPayload$Type extends MessageType { { no: 4, name: "IncludedHandlingunitIDs", kind: "scalar", localName: "IncludedHandlingunitIDs", jsonName: "IncludedHandlingunitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "HUsAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 5, name: "CurrentTrackingSummary", kind: "message", localName: "CurrentTrackingSummary", jsonName: "CurrentTrackingSummary", T: () => TrackingSummary, options: { "api.aggSkip": "TrackingUpdated" } }, { no: 6, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Handlingunit", "api.aggAppend": "HUsAdded,MetaDataUpdated,GoodsPrepared" } }, - { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 8, name: "PreparedContents", kind: "message", localName: "PreparedContents", jsonName: "PreparedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsPrepared" } }, { no: 9, name: "ReceivedContents", kind: "message", localName: "ReceivedContents", jsonName: "ReceivedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedDatedGoodsByExeflow, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] }, "api.aggAppend": "GoodsReceived" } }, { no: 10, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime, options: { "api.aggSkip": "TrackingUpdated", "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } }, diff --git a/handlingunitInput.ts b/handlingunitInput.ts index 1be7c71..e9ce285 100644 --- a/handlingunitInput.ts +++ b/handlingunitInput.ts @@ -4581,20 +4581,20 @@ export const HandlingunitCustomFieldsUpdatedResponse = new HandlingunitCustomFie * @generated ServiceType for protobuf service api.HandlingunitInputAPI */ export const HandlingunitInputAPI = new ServiceType("api.HandlingunitInputAPI", [ - { name: "GoodsPrepared", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some goods are prepared in an Handling Unit. This is typically called from WMS to report a preparation." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitGoodsPreparedRequest, O: HandlingunitGoodsPreparedResponse }, - { name: "GoodsReceived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some goods are received from an Handling Unit. This is typically called from WMS to report unloading." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitGoodsReceivedRequest, O: HandlingunitGoodsReceivedResponse }, - { name: "HUsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some handling units are added in an Handling Unit. This is typically called from WMS during preparation." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitHUsAddedRequest, O: HandlingunitHUsAddedResponse }, - { name: "TrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some tracking events has been received in an Handling Unit. This is used internally." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitTrackingUpdatedRequest, O: HandlingunitTrackingUpdatedResponse }, - { name: "TrackingETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some tracking events for ETA have been received in an HandlingUnit. This is used Internaly" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitTrackingETAUpdatedRequest, O: HandlingunitTrackingETAUpdatedResponse }, - { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An ETA has been received in an Handling Unit." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitETAUpdatedRequest, O: HandlingunitETAUpdatedResponse }, - { name: "Dispatched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Goods in the HU are removed from stock. This is typically called from WMS to report the dispatch of the HU." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitDispatchedRequest, O: HandlingunitDispatchedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An attachment is added for the Handling Unit." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitAttachmentAddedRequest, O: HandlingunitAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An attachment is removed for the Handling Unit." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitAttachmentRemovedRequest, O: HandlingunitAttachmentRemovedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some metadata are updated on an Handling Unit. This is typically called from WMS during preparation." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitMetaDataUpdatedRequest, O: HandlingunitMetaDataUpdatedResponse }, - { name: "ParentHUUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Parent Hu us updated on an Handling Unit. This is called after HUAdded to propagate Parent HU." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitParentHUUpdatedRequest, O: HandlingunitParentHUUpdatedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "A claim has been added on the Handlingunit." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitClaimAddedRequest, O: HandlingunitClaimAddedResponse }, - { name: "ReadyToBeCollected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "HandlingUnit is available on Dock, Ready to be collected." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitReadyToBeCollectedRequest, O: HandlingunitReadyToBeCollectedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Handlingunits." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitDeletedRequest, O: HandlingunitDeletedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitSanitisedRequest, O: HandlingunitSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitCustomFieldsUpdatedRequest, O: HandlingunitCustomFieldsUpdatedResponse } + { name: "GoodsPrepared", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some goods are prepared in an Handling Unit. This is typically called from WMS to report a preparation." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitGoodsPreparedRequest, O: HandlingunitGoodsPreparedResponse }, + { name: "GoodsReceived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some goods are received from an Handling Unit. This is typically called from WMS to report unloading." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitGoodsReceivedRequest, O: HandlingunitGoodsReceivedResponse }, + { name: "HUsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some handling units are added in an Handling Unit. This is typically called from WMS during preparation." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitHUsAddedRequest, O: HandlingunitHUsAddedResponse }, + { name: "TrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some tracking events has been received in an Handling Unit. This is used internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitTrackingUpdatedRequest, O: HandlingunitTrackingUpdatedResponse }, + { name: "TrackingETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some tracking events for ETA have been received in an HandlingUnit. This is used Internaly" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitTrackingETAUpdatedRequest, O: HandlingunitTrackingETAUpdatedResponse }, + { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An ETA has been received in an Handling Unit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitETAUpdatedRequest, O: HandlingunitETAUpdatedResponse }, + { name: "Dispatched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Goods in the HU are removed from stock. This is typically called from WMS to report the dispatch of the HU." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitDispatchedRequest, O: HandlingunitDispatchedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An attachment is added for the Handling Unit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitAttachmentAddedRequest, O: HandlingunitAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An attachment is removed for the Handling Unit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitAttachmentRemovedRequest, O: HandlingunitAttachmentRemovedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some metadata are updated on an Handling Unit. This is typically called from WMS during preparation." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitMetaDataUpdatedRequest, O: HandlingunitMetaDataUpdatedResponse }, + { name: "ParentHUUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Parent Hu us updated on an Handling Unit. This is called after HUAdded to propagate Parent HU." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitParentHUUpdatedRequest, O: HandlingunitParentHUUpdatedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "A claim has been added on the Handlingunit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitClaimAddedRequest, O: HandlingunitClaimAddedResponse }, + { name: "ReadyToBeCollected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "HandlingUnit is available on Dock, Ready to be collected." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitReadyToBeCollectedRequest, O: HandlingunitReadyToBeCollectedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Handlingunits." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitDeletedRequest, O: HandlingunitDeletedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitSanitisedRequest, O: HandlingunitSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitCustomFieldsUpdatedRequest, O: HandlingunitCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/handlingunitQuery.ts b/handlingunitQuery.ts index 247a918..cb4f130 100644 --- a/handlingunitQuery.ts +++ b/handlingunitQuery.ts @@ -605,12 +605,12 @@ export const HandlingunitByMatchResult = new HandlingunitByMatchResult$Type(); * @generated ServiceType for protobuf service api.HandlingunitQuery */ export const HandlingunitQuery = new ServiceType("api.HandlingunitQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Get HandlingUnits from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "handlingunitById", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitByIdQuery, O: HandlingunitByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Find Handlingunits using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitByFilterQuery, O: HandlingunitByFilterResult }, - { name: "FindTracked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Find Handlingunits with only tracking data using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitByFilterQuery, O: HandlingunitByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: HandlingunitByMatchQuery, O: HandlingunitByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Get HandlingUnits KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Get HandlingUnits from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "handlingunitById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitByIdQuery, O: HandlingunitByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Find Handlingunits using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitByFilterQuery, O: HandlingunitByFilterResult }, + { name: "FindTracked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Find Handlingunits with only tracking data using search criterias" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitByFilterQuery, O: HandlingunitByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitByMatchQuery, O: HandlingunitByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Get HandlingUnits KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/idp.ts b/idp.ts index c1f2cf3..89a9de5 100644 --- a/idp.ts +++ b/idp.ts @@ -686,9 +686,9 @@ export const DeleteIDPResult = new DeleteIDPResult$Type(); * @generated ServiceType for protobuf service api.IDPService */ export const IDPService = new ServiceType("api.IDPService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Get" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.IDP" }, I: GetIDPRequest, O: GetIDPResult }, - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Create" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CreateIDPRequest, O: CreateIDPResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Update" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: UpdateIDPRequest, O: UpdateIDPResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Delete" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: DeleteIDPRequest, O: DeleteIDPResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "List" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.IDP" }, I: ListIDPRequest, O: ListIDPResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Get" }, "api.rscType": "Platform", "api.roles": "Platform.IDP", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetIDPRequest, O: GetIDPResult }, + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Create" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateIDPRequest, O: CreateIDPResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Update" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateIDPRequest, O: UpdateIDPResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "Delete" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteIDPRequest, O: DeleteIDPResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin IDP"], description: "List" }, "api.rscType": "Platform", "api.roles": "Platform.IDP", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListIDPRequest, O: ListIDPResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/item.ts b/item.ts index e0f704a..2833acc 100644 --- a/item.ts +++ b/item.ts @@ -169,7 +169,7 @@ class ItemPayload$Type extends MessageType { { no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } }, { no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391", "api.aggAppend": "DescriptionUpdated", "api.kpiItems": { Items: [{ Context: "Item", Group: "item" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, { no: 4, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LogisticVariant, options: { "n1validate.rules": { repeated: { uniqueBaseLV: true, knownRefLV: true } }, "api.aggKey": "LVID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Item", Group: "item" }] }, "api.aggAppend": "LogisticVariantUpdated" } }, - { no: 5, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ItemStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] }, "api.enrichmentClear": "Handlingunit,Order,Executionflow,Stock" } }, + { no: 5, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ItemStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] }, "api.enrichmentClear": "Handlingunit,Order,Executionflow,Stock" } }, { no: 8, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.enrichmentClear": "Handlingunit,Order,Executionflow,Stock" } }, { no: 9, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" }, "api.enrichmentClear": "Handlingunit,Order,Executionflow,Stock" } }, { no: 10, name: "RemovedLogisticVariantIDs", kind: "scalar", localName: "RemovedLogisticVariantIDs", jsonName: "RemovedLogisticVariantIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } diff --git a/itemInput.ts b/itemInput.ts index 7d6a956..da5c251 100644 --- a/itemInput.ts +++ b/itemInput.ts @@ -3208,15 +3208,15 @@ export const ItemPhotoUriUpdatedResponse = new ItemPhotoUriUpdatedResponse$Type( * @generated ServiceType for protobuf service api.ItemInputAPI */ export const ItemInputAPI = new ServiceType("api.ItemInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been created. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemCreatedRequest, O: ItemCreatedResponse }, - { name: "LogisticVariantUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been updated on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemLogisticVariantUpdatedRequest, O: ItemLogisticVariantUpdatedResponse }, - { name: "LogisticVariantRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been removed on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemLogisticVariantRemovedRequest, O: ItemLogisticVariantRemovedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some metadata have been updated on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemMetaDataUpdatedRequest, O: ItemMetaDataUpdatedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been deleted. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemDeletedRequest, O: ItemDeletedResponse }, - { name: "DescriptionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some description have been updated on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemDescriptionUpdatedRequest, O: ItemDescriptionUpdatedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is added for the Item." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ItemAttachmentAddedRequest, O: ItemAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is removed for the Item." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ItemAttachmentRemovedRequest, O: ItemAttachmentRemovedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An Item has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: ItemSanitisedRequest, O: ItemSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemCustomFieldsUpdatedRequest, O: ItemCustomFieldsUpdatedResponse }, - { name: "PhotoUriUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Photo Uri has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ItemPhotoUriUpdatedRequest, O: ItemPhotoUriUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been created. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemCreatedRequest, O: ItemCreatedResponse }, + { name: "LogisticVariantUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been updated on an item. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemLogisticVariantUpdatedRequest, O: ItemLogisticVariantUpdatedResponse }, + { name: "LogisticVariantRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been removed on an item. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemLogisticVariantRemovedRequest, O: ItemLogisticVariantRemovedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some metadata have been updated on an item. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemMetaDataUpdatedRequest, O: ItemMetaDataUpdatedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been deleted. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDeletedRequest, O: ItemDeletedResponse }, + { name: "DescriptionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some description have been updated on an item. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDescriptionUpdatedRequest, O: ItemDescriptionUpdatedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is added for the Item." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentAddedRequest, O: ItemAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is removed for the Item." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentRemovedRequest, O: ItemAttachmentRemovedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An Item has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemSanitisedRequest, O: ItemSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemCustomFieldsUpdatedRequest, O: ItemCustomFieldsUpdatedResponse }, + { name: "PhotoUriUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Photo Uri has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemPhotoUriUpdatedRequest, O: ItemPhotoUriUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/itemQuery.ts b/itemQuery.ts index d41f8a3..c4aa31c 100644 --- a/itemQuery.ts +++ b/itemQuery.ts @@ -765,11 +765,11 @@ export const GetLVDetailedQuantityResult = new GetLVDetailedQuantityResult$Type( * @generated ServiceType for protobuf service api.ItemQuery */ export const ItemQuery = new ServiceType("api.ItemQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Get Items from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "itemById", "api.tags": "PROJECT_ACTIVITY" }, I: ItemByIdQuery, O: ItemByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Find Items using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: ItemByFilterQuery, O: ItemByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ItemByMatchQuery, O: ItemByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult }, - { name: "GetLVDetailedQuantity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Get quantity by Item LVs" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: GetLVDetailedQuantityQuery, O: GetLVDetailedQuantityResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Get Items from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "itemById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemByIdQuery, O: ItemByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Find Items using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemByFilterQuery, O: ItemByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemByMatchQuery, O: ItemByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult }, + { name: "GetLVDetailedQuantity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Query"], description: "Get quantity by Item LVs" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetLVDetailedQuantityQuery, O: GetLVDetailedQuantityResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/kpi.ts b/kpi.ts index 4b77a26..2d564de 100644 --- a/kpi.ts +++ b/kpi.ts @@ -765,8 +765,8 @@ class GetKpisRequest$Type extends MessageType { constructor() { super("api.GetKpisRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 3, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Widget analysis criterion, executionflow, stock, movement or handlingunit", example: "\"executionflow\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Widget analysis criterion, executionflow, stock, movement or handlingunit", example: "\"executionflow\"" } } }, { no: 4, name: "isMetric", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "isDimension", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, { no: 6, name: "isDate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, @@ -914,8 +914,8 @@ class GetKpisWithSelectionRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 3, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Widget analysis criterion, executionflow, stock, movement or handlingunit", example: "\"executionflow\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim", "appointment"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Widget analysis criterion, executionflow, stock, movement or handlingunit", example: "\"executionflow\"" } } }, { no: 4, name: "isMetric", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "isDimension", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, { no: 6, name: "isDate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, @@ -1071,7 +1071,7 @@ class GetKpiTableStructureRequest$Type extends MessageType ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } }); } @@ -1181,7 +1181,7 @@ class UpdateKpiTableStructureRequest$Type extends MessageType ["api.EntityType", EntityType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } }); } @@ -1375,7 +1375,7 @@ class GetKpiEntitiesRequest$Type extends MessageType { constructor() { super("api.GetKpiEntitiesRequest", [ { no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } }); } create(value?: PartialMessage): GetKpiEntitiesRequest { @@ -1570,7 +1570,7 @@ class CreateMVRequest$Type extends MessageType { constructor() { super("api.CreateMVRequest", [ { no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } }); } create(value?: PartialMessage): CreateMVRequest { @@ -1663,7 +1663,7 @@ class DropMVRequest$Type extends MessageType { constructor() { super("api.DropMVRequest", [ { no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } }); } create(value?: PartialMessage): DropMVRequest { @@ -1756,7 +1756,7 @@ class PopulateMVRequest$Type extends MessageType { constructor() { super("api.PopulateMVRequest", [ { no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } }); } create(value?: PartialMessage): PopulateMVRequest { @@ -1848,14 +1848,14 @@ export const PopulateMVResult = new PopulateMVResult$Type(); * @generated ServiceType for protobuf service api.KpiService */ export const KpiService = new ServiceType("api.KpiService", [ - { name: "GetKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI" }, I: GetKpisRequest, O: GetKpisResult }, - { name: "GetKpisWithSelection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities with the list of already selected KPIs" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI" }, I: GetKpisWithSelectionRequest, O: GetKpisWithSelectionResult }, - { name: "GetKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get KPI Table structure" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: GetKpiTableStructureRequest, O: GetKpiTableStructureResult }, - { name: "UpdateKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Update KPI Table structure" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: UpdateKpiTableStructureRequest, O: UpdateKpiTableStructureResult }, - { name: "DropKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Drop KPI Table structure" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: DropKpiTableStructureRequest, O: DropKpiTableStructureResult }, - { name: "GetKpiEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the entities with KPIs" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: GetKpiEntitiesRequest, O: GetKpiEntitiesResult }, - { name: "ClearKpiEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear KPI data for a specific entity" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: ClearKpiEntityRequest, O: ClearKpiEntityResult }, - { name: "CreateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Build materialized view for all kpi groups" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: CreateMVRequest, O: CreateMVResult }, - { name: "DropMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear materialized view for all kpi groups" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: DropMVRequest, O: DropMVResult }, - { name: "PopulateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Insert data in materialized view for all kpi groups" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI" }, I: PopulateMVRequest, O: PopulateMVResult } + { name: "GetKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetKpisRequest, O: GetKpisResult }, + { name: "GetKpisWithSelection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities with the list of already selected KPIs" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetKpisWithSelectionRequest, O: GetKpisWithSelectionResult }, + { name: "GetKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiTableStructureRequest, O: GetKpiTableStructureResult }, + { name: "UpdateKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Update KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateKpiTableStructureRequest, O: UpdateKpiTableStructureResult }, + { name: "DropKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Drop KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DropKpiTableStructureRequest, O: DropKpiTableStructureResult }, + { name: "GetKpiEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the entities with KPIs" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiEntitiesRequest, O: GetKpiEntitiesResult }, + { name: "ClearKpiEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear KPI data for a specific entity" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearKpiEntityRequest, O: ClearKpiEntityResult }, + { name: "CreateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Build materialized view for all kpi groups" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateMVRequest, O: CreateMVResult }, + { name: "DropMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear materialized view for all kpi groups" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DropMVRequest, O: DropMVResult }, + { name: "PopulateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Insert data in materialized view for all kpi groups" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PopulateMVRequest, O: PopulateMVResult } ], { "api.k8sService": "project-model-server" }); diff --git a/logger.ts b/logger.ts index 13adbb0..5966063 100644 --- a/logger.ts +++ b/logger.ts @@ -267,11 +267,11 @@ export interface PlatformLogByMatchResult { class PlatformLogPayload$Type extends MessageType { constructor() { super("api.PlatformLogPayload", [ - { no: 1, name: "Severity", kind: "enum", localName: "Severity", jsonName: "Severity", T: () => ["api.SeverityLevel", SeverityLevel], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Log severity level" }, "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 2, name: "Namespace", kind: "scalar", localName: "Namespace", jsonName: "Namespace", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the log occured, for example \"CORE\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "When the log occured" }, "n1validate.rules": { message: { required: true } } } }, - { no: 4, name: "TechMessage", kind: "message", localName: "TechMessage", jsonName: "TechMessage", T: () => LabelStructure, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Technical message of the log" }, "n1validate.rules": { message: { required: true } } } }, - { no: 5, name: "UserMessage", kind: "message", localName: "UserMessage", jsonName: "UserMessage", T: () => LabelStructure, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "User message of the log" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Severity", kind: "enum", localName: "Severity", jsonName: "Severity", T: () => ["api.SeverityLevel", SeverityLevel], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Log severity level" } } }, + { no: 2, name: "Namespace", kind: "scalar", localName: "Namespace", jsonName: "Namespace", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the log occured, for example \"CORE\"" } } }, + { no: 3, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "When the log occured" } } }, + { no: 4, name: "TechMessage", kind: "message", localName: "TechMessage", jsonName: "TechMessage", T: () => LabelStructure, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Technical message of the log" } } }, + { no: 5, name: "UserMessage", kind: "message", localName: "UserMessage", jsonName: "UserMessage", T: () => LabelStructure, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "User message of the log" } } }, { no: 6, name: "DetailElements", kind: "message", localName: "DetailElements", jsonName: "DetailElements", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelStructure, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Detailed elements of the log" } } }, { no: 7, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Correlation ID attached to the log" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 8, name: "ContextPayload", kind: "scalar", localName: "ContextPayload", jsonName: "ContextPayload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Context payload attached to the log" } } }, @@ -929,8 +929,8 @@ export const PlatformLogByMatchResult = new PlatformLogByMatchResult$Type(); * @generated ServiceType for protobuf service api.LoggerService */ export const LoggerService = new ServiceType("api.LoggerService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Create a PlatformLog" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Error,Platform.Project-Input" }, I: PlatformLogCreateRequest, O: PlatformLogCreateResponse }, - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Get PlatformLogs from RefIDs" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: PlatformLogGetByIdsRequest, O: PlatformLogGetByIdsResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Find PlatformLogs using search criterias" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: PlatformLogFindRequest, O: PlatformLogFindResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: PlatformLogByMatchRequest, O: PlatformLogByMatchResult } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Create a PlatformLog" }, "api.rscType": "Project", "api.roles": "Platform.Project-Error,Platform.Project-Input", "google.api.method_visibility": { restriction: "SDK" } }, I: PlatformLogCreateRequest, O: PlatformLogCreateResponse }, + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Get PlatformLogs from RefIDs" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PlatformLogGetByIdsRequest, O: PlatformLogGetByIdsResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "Find PlatformLogs using search criterias" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PlatformLogFindRequest, O: PlatformLogFindResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Logger"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PlatformLogByMatchRequest, O: PlatformLogByMatchResult } ], { "api.k8sService": "logger-server" }); diff --git a/matrix-proxy.ts b/matrix-proxy.ts index 99067cd..fdb2fe5 100644 --- a/matrix-proxy.ts +++ b/matrix-proxy.ts @@ -1247,14 +1247,14 @@ export const SendMessageToProjectRoomResponse = new SendMessageToProjectRoomResp * @generated ServiceType for protobuf service api.MatrixProxyService */ export const MatrixProxyService = new ServiceType("api.MatrixProxyService", [ - { name: "CreateRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "CreateRoom creates a new matrix private room with the given name. It will also create the room alias with the same name, which means that it requires the name to be unique. The corresponding matrix room ID is returned. Room names with a project prefix are reserved for project rooms. If a room name starts with a project ID, it will be considered as a project room." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: CreateRoomRequest, O: CreateRoomResponse }, - { name: "DeleteRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteRoom deletes the matrix private room with the given name (it uses the room alias). It is done by kicking all the users from the room, leaving it empty which will trigger the 7 days deletion process." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: DeleteRoomRequest, O: DeleteRoomResponse }, - { name: "InviteUserToRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "InviteUserToRoom invites the given user to the given matrix private room. Return the ID of the room." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: InviteUserToRoomRequest, O: InviteUserToRoomResponse }, - { name: "SendNoticeToRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendNoticeToRoom sends a notice message event to the given matrix private room." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: SendNoticeToRoomRequest, O: SendNoticeToRoomResponse }, - { name: "CreateProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "CreateProjectRoom creates a new matrix private room with the given name and related to the given project. It will also create the room alias with the same name, which means that it requires the name to be unique (in the project namespace). The corresponding matrix room ID is returned." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: CreateProjectRoomRequest, O: CreateProjectRoomResponse }, - { name: "DeleteProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteProjectRoom deletes the matrix private room with the given name and related to the given project (it uses the room alias). It is done by kicking all the users from the room, leaving it empty which will trigger the 7 days deletion process." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: DeleteProjectRoomRequest, O: DeleteProjectRoomResponse }, - { name: "InviteUserToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "InviteUserToProjectRoom invites the given user to the given matrix private room related to the given project. Return the ID of the room." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: InviteUserToProjectRoomRequest, O: InviteUserToProjectRoomResponse }, - { name: "SendNoticeToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendNoticeToProjectRoom sends a notice message event to the given matrix private room related to the given project." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: SendNoticeToProjectRoomRequest, O: SendNoticeToProjectRoomResponse }, - { name: "DeleteRoomsForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteRoomsForProject deletes all the matrix private rooms related to the given project. It is done by kicking all the users from the rooms, leaving them empty which will trigger the 7 days deletion process." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: DeleteRoomsForProjectRequest, O: DeleteRoomsForProjectResponse }, - { name: "SendMessageToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendMessageToProjectRoom sends a message event to the given matrix private room related to the given project. If the user is not in the room, it will be invited first and then the message will be sent." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Matrix" }, I: SendMessageToProjectRoomRequest, O: SendMessageToProjectRoomResponse } + { name: "CreateRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "CreateRoom creates a new matrix private room with the given name. It will also create the room alias with the same name, which means that it requires the name to be unique. The corresponding matrix room ID is returned. Room names with a project prefix are reserved for project rooms. If a room name starts with a project ID, it will be considered as a project room." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateRoomRequest, O: CreateRoomResponse }, + { name: "DeleteRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteRoom deletes the matrix private room with the given name (it uses the room alias). It is done by kicking all the users from the room, leaving it empty which will trigger the 7 days deletion process." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteRoomRequest, O: DeleteRoomResponse }, + { name: "InviteUserToRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "InviteUserToRoom invites the given user to the given matrix private room. Return the ID of the room." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: InviteUserToRoomRequest, O: InviteUserToRoomResponse }, + { name: "SendNoticeToRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendNoticeToRoom sends a notice message event to the given matrix private room." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SendNoticeToRoomRequest, O: SendNoticeToRoomResponse }, + { name: "CreateProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "CreateProjectRoom creates a new matrix private room with the given name and related to the given project. It will also create the room alias with the same name, which means that it requires the name to be unique (in the project namespace). The corresponding matrix room ID is returned." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateProjectRoomRequest, O: CreateProjectRoomResponse }, + { name: "DeleteProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteProjectRoom deletes the matrix private room with the given name and related to the given project (it uses the room alias). It is done by kicking all the users from the room, leaving it empty which will trigger the 7 days deletion process." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteProjectRoomRequest, O: DeleteProjectRoomResponse }, + { name: "InviteUserToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "InviteUserToProjectRoom invites the given user to the given matrix private room related to the given project. Return the ID of the room." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: InviteUserToProjectRoomRequest, O: InviteUserToProjectRoomResponse }, + { name: "SendNoticeToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendNoticeToProjectRoom sends a notice message event to the given matrix private room related to the given project." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SendNoticeToProjectRoomRequest, O: SendNoticeToProjectRoomResponse }, + { name: "DeleteRoomsForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "DeleteRoomsForProject deletes all the matrix private rooms related to the given project. It is done by kicking all the users from the rooms, leaving them empty which will trigger the 7 days deletion process." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteRoomsForProjectRequest, O: DeleteRoomsForProjectResponse }, + { name: "SendMessageToProjectRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Matrix"], description: "SendMessageToProjectRoom sends a message event to the given matrix private room related to the given project. If the user is not in the room, it will be invited first and then the message will be sent." }, "api.rscType": "Platform", "api.roles": "Platform.Matrix", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SendMessageToProjectRoomRequest, O: SendMessageToProjectRoomResponse } ], { "api.k8sService": "matrix-proxy" }); diff --git a/messaging-settings.ts b/messaging-settings.ts index 229824d..49d841b 100644 --- a/messaging-settings.ts +++ b/messaging-settings.ts @@ -151,7 +151,7 @@ class MessagingSettings$Type extends MessageType { super("api.MessagingSettings", [ { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } }, - { no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } } } }, + { no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" } } }, { no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Z]{1,11}$", ignoreEmpty: true } } } } ]); } @@ -222,7 +222,7 @@ class MessagingSettingsHistoryRecord$Type extends MessageType MessagingSettings }, - { no: 3, name: "UpdatedAt", kind: "scalar", localName: "UpdatedAt", jsonName: "UpdatedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } } + { no: 3, name: "UpdatedAt", kind: "scalar", localName: "UpdatedAt", jsonName: "UpdatedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } } ]); } create(value?: PartialMessage): MessagingSettingsHistoryRecord { @@ -469,7 +469,7 @@ class PutMessagingSettingsRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } }, - { no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } } } }, + { no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" } } }, { no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Z]{1,11}$", ignoreEmpty: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "MaxUsage", "Currency", "SenderLabel"] } } }); } @@ -745,9 +745,9 @@ export const DeleteSettingsAccountResponse = new DeleteSettingsAccountResponse$T * @generated ServiceType for protobuf service api.MessagingSettingsService */ export const MessagingSettingsService = new ServiceType("api.MessagingSettingsService", [ - { name: "CreateSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Create related messaging resources for a Project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Account" }, I: CreateSettingsAccountRequest, O: CreateSettingsAccountResponse }, - { name: "DeleteSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Delete related messaging resources for a Project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Account" }, I: DeleteSettingsAccountRequest, O: DeleteSettingsAccountResponse }, - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Update the messaging settings for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: PutMessagingSettingsRequest, O: PutMessagingSettingsResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve a messaging settings for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: GetMessagingSettingsRequest, O: GetMessagingSettingsResponse }, - { name: "GetHistory", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the messaging settings modification history for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: GetMessagingSettingsHistoryRequest, O: GetMessagingSettingsHistoryResponse } + { name: "CreateSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Create related messaging resources for a Project" }, "api.rscType": "Platform", "api.roles": "Platform.Account", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateSettingsAccountRequest, O: CreateSettingsAccountResponse }, + { name: "DeleteSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Delete related messaging resources for a Project" }, "api.rscType": "Platform", "api.roles": "Platform.Account", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSettingsAccountRequest, O: DeleteSettingsAccountResponse }, + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Update the messaging settings for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: PutMessagingSettingsRequest, O: PutMessagingSettingsResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve a messaging settings for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingSettingsRequest, O: GetMessagingSettingsResponse }, + { name: "GetHistory", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the messaging settings modification history for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingSettingsHistoryRequest, O: GetMessagingSettingsHistoryResponse } ], { "api.k8sService": "messaging-server" }); diff --git a/messaging.ts b/messaging.ts index e5f6e45..239ef71 100644 --- a/messaging.ts +++ b/messaging.ts @@ -92,7 +92,7 @@ class SendSMSRequest$Type extends MessageType { constructor() { super("api.SendSMSRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "Recipients", kind: "scalar", localName: "Recipients", jsonName: "Recipients", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The recipient's phone number in E.164 format (e.g., +1234567890)." }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { minLen: "1", maxLen: "15", pattern: "^\\+[1-9]\\d{1,14}$" } } } } } }, + { no: 3, name: "Recipients", kind: "scalar", localName: "Recipients", jsonName: "Recipients", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { minLen: "1", maxLen: "15", pattern: "^\\+[1-9]\\d{1,14}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The recipient's phone number in E.164 format (e.g., +1234567890)." } } }, { no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", maxLen: "160" } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); } @@ -285,8 +285,8 @@ class GetMessagingPeriodUsageRequest$Type extends MessageTypeISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, - { no: 3, name: "To", kind: "scalar", localName: "To", jsonName: "To", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } } + { no: 2, name: "From", kind: "scalar", localName: "From", jsonName: "From", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, + { no: 3, name: "To", kind: "scalar", localName: "To", jsonName: "To", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); } create(value?: PartialMessage): GetMessagingPeriodUsageRequest { @@ -440,8 +440,8 @@ export const IsMessagingMaxUsageReachedResponse = new IsMessagingMaxUsageReached * @generated ServiceType for protobuf service api.MessagingService */ export const MessagingService = new ServiceType("api.MessagingService", [ - { name: "SendSMS", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Send a SMS message to a recipient" }, "google.api.method_visibility": { restriction: "HIDDEN" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: SendSMSRequest, O: SendSMSResponse }, - { name: "GetUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the current messaging usage for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: GetMessagingUsageRequest, O: GetMessagingUsageResponse }, - { name: "IsMaxUsageReached", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Check if the maximum messaging usage has been reached for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: IsMessagingMaxUsageReachedRequest, O: IsMessagingMaxUsageReachedResponse }, - { name: "GetPeriodUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve messaging usage for a specific period for a Project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.SMS-Usage", "api.moduleID": "sms" }, I: GetMessagingPeriodUsageRequest, O: GetMessagingUsageResponse } + { name: "SendSMS", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Send a SMS message to a recipient" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "HIDDEN" } }, I: SendSMSRequest, O: SendSMSResponse }, + { name: "GetUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the current messaging usage for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingUsageRequest, O: GetMessagingUsageResponse }, + { name: "IsMaxUsageReached", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Check if the maximum messaging usage has been reached for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: IsMessagingMaxUsageReachedRequest, O: IsMessagingMaxUsageReachedResponse }, + { name: "GetPeriodUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve messaging usage for a specific period for a Project" }, "api.rscType": "Platform", "api.roles": "Platform.SMS-Usage", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetMessagingPeriodUsageRequest, O: GetMessagingUsageResponse } ], { "api.k8sService": "messaging-server" }); diff --git a/metadata.ts b/metadata.ts index de12139..d395c64 100644 --- a/metadata.ts +++ b/metadata.ts @@ -314,12 +314,12 @@ class MetadataPayload$Type extends MessageType { { no: 4, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 5, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" } } }, { no: 6, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"int\",\"bool\",\"timestamp\"]" }, "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } } } }, + { no: 7, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"int\",\"bool\",\"timestamp\"]" } } }, { no: 8, name: "IsMandatory", kind: "scalar", localName: "IsMandatory", jsonName: "IsMandatory", T: 8 /*ScalarType.BOOL*/ }, { no: 10, name: "RegularExpression", kind: "scalar", localName: "RegularExpression", jsonName: "RegularExpression", T: 9 /*ScalarType.STRING*/ }, { no: 11, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.MetadataType", MetadataType] }, { no: 12, name: "Enumeration", kind: "scalar", localName: "Enumeration", jsonName: "Enumeration", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Customizable enumeration" } } }, - { no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => MetadataStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => MetadataStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 14, name: "ShowOnCreation", kind: "enum", localName: "ShowOnCreation", jsonName: "ShowOnCreation", T: () => ["api.MetadataDisplayType", MetadataDisplayType] }, { no: 15, name: "Labels", kind: "message", localName: "Labels", jsonName: "Labels", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } }, { no: 16, name: "IsKpi", kind: "scalar", localName: "IsKpi", jsonName: "IsKpi", T: 8 /*ScalarType.BOOL*/ } diff --git a/metadatadef.ts b/metadatadef.ts index 0eabc12..f25afe6 100644 --- a/metadatadef.ts +++ b/metadatadef.ts @@ -380,11 +380,11 @@ class PrjMetadata$Type extends MessageType { constructor() { super("api.PrjMetadata", [ { no: 2, name: "IsSegmentationKey", kind: "scalar", localName: "IsSegmentationKey", jsonName: "IsSegmentationKey", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } }, - { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 4, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 5, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 6, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } }, - { no: 7, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"integer\",\"bool\",\"datetime\"]" }, "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } } } }, + { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 4, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, + { no: 5, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" } } }, + { no: 6, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+$" } } }, + { no: 7, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"integer\",\"bool\",\"datetime\"]" } } }, { no: 8, name: "IsMandatory", kind: "scalar", localName: "IsMandatory", jsonName: "IsMandatory", T: 8 /*ScalarType.BOOL*/ }, { no: 9, name: "Example", kind: "scalar", localName: "Example", jsonName: "Example", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "RegularExpression", kind: "scalar", localName: "RegularExpression", jsonName: "RegularExpression", T: 9 /*ScalarType.STRING*/ }, @@ -530,10 +530,10 @@ export const PrjMetadata = new PrjMetadata$Type(); class PrjMetadataTransitive$Type extends MessageType { constructor() { super("api.PrjMetadataTransitive", [ - { no: 1, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "IsSegmentationKey", kind: "scalar", localName: "IsSegmentationKey", jsonName: "IsSegmentationKey", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } }, - { no: 4, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"integer\",\"bool\",\"datetime\"]" }, "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } } } }, + { no: 4, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["string", "float", "integer", "bool", "datetime"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type attached to the metadata, should be in [\"string\",\"float\",\"integer\",\"bool\",\"datetime\"]" } } }, { no: 5, name: "IsMandatory", kind: "scalar", localName: "IsMandatory", jsonName: "IsMandatory", T: 8 /*ScalarType.BOOL*/ }, { no: 6, name: "Example", kind: "scalar", localName: "Example", jsonName: "Example", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 7, name: "RegularExpression", kind: "scalar", localName: "RegularExpression", jsonName: "RegularExpression", T: 9 /*ScalarType.STRING*/ }, @@ -657,7 +657,7 @@ export const PrjMetadataTransitive = new PrjMetadataTransitive$Type(); class PrjMetadataFilters$Type extends MessageType { constructor() { super("api.PrjMetadataFilters", [ - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 4, name: "IsSegmentationKey", kind: "scalar", localName: "IsSegmentationKey", jsonName: "IsSegmentationKey", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } }, { no: 5, name: "Parent", kind: "scalar", localName: "Parent", jsonName: "Parent", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the metadata is located, either \"Payload.Metadata\" or \"Payload.Goods.SegmentationKeys\"" } } }, @@ -808,7 +808,7 @@ class CreateMetadataRequest$Type extends MessageType { constructor() { super("api.CreateMetadataRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 1, name: "Metadata", kind: "message", localName: "Metadata", jsonName: "Metadata", T: () => PrjMetadata, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "Metadata", kind: "message", localName: "Metadata", jsonName: "Metadata", T: () => PrjMetadata, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Metadata"] } } }); } create(value?: PartialMessage): CreateMetadataRequest { @@ -907,7 +907,7 @@ class UpdateMetadataRequest$Type extends MessageType { constructor() { super("api.UpdateMetadataRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 1, name: "Metadata", kind: "message", localName: "Metadata", jsonName: "Metadata", T: () => PrjMetadata, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "Metadata", kind: "message", localName: "Metadata", jsonName: "Metadata", T: () => PrjMetadata, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Metadata"] } } }); } create(value?: PartialMessage): UpdateMetadataRequest { @@ -1326,8 +1326,8 @@ class GetTransitiveMetadatasRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Entity"] } } }); } create(value?: PartialMessage): GetTransitiveMetadatasRequest { @@ -1535,11 +1535,11 @@ export const RestoreMetadatasResult = new RestoreMetadatasResult$Type(); * @generated ServiceType for protobuf service api.MetadataService */ export const MetadataService = new ServiceType("api.MetadataService", [ - { name: "CreateMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Create metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata" }, I: CreateMetadataRequest, O: CreateMetadataResult }, - { name: "UpdateMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Update metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata" }, I: UpdateMetadataRequest, O: UpdateMetadataResult }, - { name: "GetMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata" }, I: GetMetadatasRequest, O: GetMetadatasResult }, - { name: "DeleteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Delete metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata" }, I: DeleteMetadatasRequest, O: DeleteMetadatasResult }, - { name: "GetMetadataCount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata count" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetMetadataCountRequest, O: GetMetadataCountResult }, - { name: "GetTransitiveMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get transitive metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata" }, I: GetTransitiveMetadatasRequest, O: GetTransitiveMetadatasResult }, - { name: "RestoreMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Restore metadatas" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Metadata" }, I: RestoreMetadatasRequest, O: RestoreMetadatasResult } + { name: "CreateMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Create metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateMetadataRequest, O: CreateMetadataResult }, + { name: "UpdateMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Update metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateMetadataRequest, O: UpdateMetadataResult }, + { name: "GetMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMetadatasRequest, O: GetMetadatasResult }, + { name: "DeleteMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Delete metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteMetadatasRequest, O: DeleteMetadatasResult }, + { name: "GetMetadataCount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get metadata count" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMetadataCountRequest, O: GetMetadataCountResult }, + { name: "GetTransitiveMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Metadata"], description: "Get transitive metadata" }, "api.rscType": "Project", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "SDK" } }, I: GetTransitiveMetadatasRequest, O: GetTransitiveMetadatasResult }, + { name: "RestoreMetadatas", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Restore metadatas" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Metadata", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RestoreMetadatasRequest, O: RestoreMetadatasResult } ], { "api.k8sService": "project-model-server" }); diff --git a/model.ts b/model.ts index 8f8a757..55f9db1 100644 --- a/model.ts +++ b/model.ts @@ -198,8 +198,8 @@ export interface ListEntitiesResult { class DataFilters$Type extends MessageType { constructor() { super("api.DataFilters", [ - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 4, name: "Screen", kind: "scalar", localName: "Screen", jsonName: "Screen", T: 9 /*ScalarType.STRING*/ } ]); } @@ -462,8 +462,8 @@ class GetEntityModelRequest$Type extends MessageType { constructor() { super("api.GetEntityModelRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } } + { no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } }, + { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Domain", "Entity"] } } }); } create(value?: PartialMessage): GetEntityModelRequest { @@ -571,8 +571,8 @@ class GetSiteEntityModelRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } } + { no: 2, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity to get the model", example: "\"order\"" } } }, + { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Domain of the entity to get the model", example: "\"trade\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Domain", "Entity"] } } }); } create(value?: PartialMessage): GetSiteEntityModelRequest { @@ -679,7 +679,7 @@ export const GetSiteEntityModelResult = new GetSiteEntityModelResult$Type(); class GetEntitiesRequest$Type extends MessageType { constructor() { super("api.GetEntitiesRequest", [ - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } } + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Domain"] } } }); } create(value?: PartialMessage): GetEntitiesRequest { @@ -860,10 +860,10 @@ export const ListEntitiesResult = new ListEntitiesResult$Type(); * @generated ServiceType for protobuf service api.ModelService */ export const ModelService = new ServiceType("api.ModelService", [ - { name: "GetDataModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get project data model" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetDataModelRequest, O: GetDataModelResult }, - { name: "GetEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entity data model with project metadata in Json Format" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Model" }, I: GetEntityModelRequest, O: GetEntityModelResult }, - { name: "GetEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetEntitiesRequest, O: GetEntitiesResult }, - { name: "GetEntitiesWithMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with metadata" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetEntitiesRequest, O: GetEntitiesResult }, - { name: "GetEntitiesWithDataRestriction", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with data restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetEntitiesRequest, O: GetEntitiesResult }, - { name: "ListEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Return a list of definitions of entities" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Model" }, I: ListEntitiesRequest, O: ListEntitiesResult } + { name: "GetDataModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get project data model" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetDataModelRequest, O: GetDataModelResult }, + { name: "GetEntityModel", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entity data model with project metadata in Json Format" }, "api.rscType": "Project", "api.roles": "Platform.Project-Model", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntityModelRequest, O: GetEntityModelResult }, + { name: "GetEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult }, + { name: "GetEntitiesWithMetadata", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with metadata" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult }, + { name: "GetEntitiesWithDataRestriction", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Get entities with data restriction" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEntitiesRequest, O: GetEntitiesResult }, + { name: "ListEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Model"], description: "Return a list of definitions of entities" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Model", "google.api.method_visibility": { restriction: "SDK" } }, I: ListEntitiesRequest, O: ListEntitiesResult } ], { "api.k8sService": "project-model-server" }); diff --git a/module.ts b/module.ts index 8c95641..42be73b 100644 --- a/module.ts +++ b/module.ts @@ -1125,12 +1125,12 @@ export const DeleteModuleResponse = new DeleteModuleResponse$Type(); * @generated ServiceType for protobuf service api.ModuleService */ export const ModuleService = new ServiceType("api.ModuleService", [ - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "List all modules of the platform." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: ListModulesRequest, O: ListModulesResponse }, - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Create a module." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: CreateModuleRequest, O: CreateModuleResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Delete a module." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: DeleteModuleRequest, O: DeleteModuleResponse }, - { name: "SetOrganisationModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of an organisation." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: SetOrganisationModulesRequest, O: SetOrganisationModulesResponse }, - { name: "SetProjectModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of a project." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: SetProjectModulesRequest, O: SetProjectModulesResponse }, - { name: "SetResourceModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of a resource." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: SetResourceModulesRequest, O: SetResourceModulesResponse }, - { name: "ListResourceModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "List the modules of a resource." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: ListResourceModulesRequest, O: ListResourceModulesResponse }, - { name: "IsAPIActivated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Check if the API is activated for the given resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Module" }, I: IsAPIActivatedRequest, O: IsAPIActivatedResponse } + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "List all modules of the platform." }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListModulesRequest, O: ListModulesResponse }, + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Create a module." }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateModuleRequest, O: CreateModuleResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Delete a module." }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteModuleRequest, O: DeleteModuleResponse }, + { name: "SetOrganisationModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of an organisation." }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetOrganisationModulesRequest, O: SetOrganisationModulesResponse }, + { name: "SetProjectModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of a project." }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetProjectModulesRequest, O: SetProjectModulesResponse }, + { name: "SetResourceModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Set the modules of a resource." }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetResourceModulesRequest, O: SetResourceModulesResponse }, + { name: "ListResourceModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "List the modules of a resource." }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListResourceModulesRequest, O: ListResourceModulesResponse }, + { name: "IsAPIActivated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Modules"], description: "Check if the API is activated for the given resource" }, "api.rscType": "Platform", "api.roles": "Platform.Module", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: IsAPIActivatedRequest, O: IsAPIActivatedResponse } ], { "api.k8sService": "authorization-server" }); diff --git a/movement.ts b/movement.ts index bb5b733..415e42e 100644 --- a/movement.ts +++ b/movement.ts @@ -177,12 +177,12 @@ class MovementPayload$Type extends MessageType { super("api.MovementPayload", [ { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,hard" } }, { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.entityRef": "Actor", "api.dataRestrictionKey": "Movement", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 3, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.extractRefExclude": "Movement" } }, + { no: 3, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.extractRefExclude": "Movement" } }, { no: 4, name: "Movement", kind: "message", localName: "Movement", jsonName: "Movement", T: () => StockMovement }, { no: 5, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } }, { no: 6, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } }, - { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => MovementStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, - { no: 8, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => MovementStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, + { no: 8, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 9, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } }, { no: 10, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } }, { no: 11, name: "StockID", kind: "scalar", localName: "StockID", jsonName: "StockID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] } } } diff --git a/movementInput.ts b/movementInput.ts index 540f913..5536ef8 100644 --- a/movementInput.ts +++ b/movementInput.ts @@ -728,9 +728,9 @@ export const MovementCreatedEvent = new MovementCreatedEvent$Type(); class MovementCreatedRequest$Type extends MessageType { constructor() { super("api.MovementCreatedRequest", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } }, { no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID }, - { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementCreatedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "n1validate.rules": { message: { required: true } } } } + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementCreatedPayload, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" }); } create(value?: PartialMessage): MovementCreatedRequest { @@ -976,9 +976,9 @@ export const MovementGeneratedEvent = new MovementGeneratedEvent$Type(); class MovementGeneratedRequest$Type extends MessageType { constructor() { super("api.MovementGeneratedRequest", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } }, { no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID }, - { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementGeneratedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "n1validate.rules": { message: { required: true } } } } + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementGeneratedPayload, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Generated" }); } create(value?: PartialMessage): MovementGeneratedRequest { @@ -2601,13 +2601,13 @@ export const MovementCustomFieldsUpdatedResponse = new MovementCustomFieldsUpdat * @generated ServiceType for protobuf service api.MovementInputAPI */ export const MovementInputAPI = new ServiceType("api.MovementInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called directly from WMS for requalification or fix." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: MovementCreatedRequest, O: MovementCreatedResponse }, - { name: "Generated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called internally only, from outbound and inbound and stock" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: MovementGeneratedRequest, O: MovementGeneratedResponse }, - { name: "StockValueUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "The stock value (after the movement is applied) is updated on the movement" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: MovementStockValueUpdatedRequest, O: MovementStockValueUpdatedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A claim has been added on the Stock movement." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: MovementClaimAddedRequest, O: MovementClaimAddedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is added for the Movement." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: MovementAttachmentAddedRequest, O: MovementAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is removed for the Movement." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: MovementAttachmentRemovedRequest, O: MovementAttachmentRemovedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An Movement has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Movements." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: MovementDeletedRequest, O: MovementDeletedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A Movement has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: MovementSanitisedRequest, O: MovementSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: MovementCustomFieldsUpdatedRequest, O: MovementCustomFieldsUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called directly from WMS for requalification or fix." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementCreatedRequest, O: MovementCreatedResponse }, + { name: "Generated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called internally only, from outbound and inbound and stock" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementGeneratedRequest, O: MovementGeneratedResponse }, + { name: "StockValueUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "The stock value (after the movement is applied) is updated on the movement" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementStockValueUpdatedRequest, O: MovementStockValueUpdatedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A claim has been added on the Stock movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementClaimAddedRequest, O: MovementClaimAddedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is added for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentAddedRequest, O: MovementAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is removed for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentRemovedRequest, O: MovementAttachmentRemovedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An Movement has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Movements." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementDeletedRequest, O: MovementDeletedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A Movement has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementSanitisedRequest, O: MovementSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementCustomFieldsUpdatedRequest, O: MovementCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/movementQuery.ts b/movementQuery.ts index 578bdc9..1c69735 100644 --- a/movementQuery.ts +++ b/movementQuery.ts @@ -752,12 +752,12 @@ export const MovementByOperationReferenceResult = new MovementByOperationReferen * @generated ServiceType for protobuf service api.MovementQuery */ export const MovementQuery = new ServiceType("api.MovementQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get Stock from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tableName": "movementByIdv2" }, I: MovementByIdQuery, O: MovementByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Find a movement from its properties." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: MovementByFilterQuery, O: MovementByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: MovementByMatchQuery, O: MovementByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "GetByOperationReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get movement by operation Reference" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tableName": "movementByOperationReferencev2", "api.tags": "PROJECT_ACTIVITY" }, I: MovementByOperationReferenceQuery, O: MovementByOperationReferenceResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get movement KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get Stock from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tableName": "movementByIdv2", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementByIdQuery, O: MovementByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Find a movement from its properties." }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementByFilterQuery, O: MovementByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementByMatchQuery, O: MovementByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "GetByOperationReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get movement by operation Reference" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tableName": "movementByOperationReferencev2", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementByOperationReferenceQuery, O: MovementByOperationReferenceResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Get movement KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/nats-api.ts b/nats-api.ts index b03b483..87ed686 100644 --- a/nats-api.ts +++ b/nats-api.ts @@ -745,9 +745,9 @@ class PushMessageRequest$Type extends MessageType { constructor() { super("api.PushMessageRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestPartnerAppHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "JWT", kind: "scalar", localName: "JWT", jsonName: "JWT", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The JWT holding the PartnerApp identity to which parent subject the message will be pushed. It is a signed JWT issued by HARDIS SC NETWORK upon PartnerApp creation. The PartnerApp from the JWT must be the same as the one in the Header field meaning you cannot push a message for a PartnerApp different than the one you're allowed to." }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "SubjectSuffix", kind: "scalar", localName: "SubjectSuffix", jsonName: "SubjectSuffix", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The subject suffix to which the message will be pushed. The subject will be composed of the parent subject of the PartnerApp (from the JWT) and this suffix." }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The message payload." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 2, name: "JWT", kind: "scalar", localName: "JWT", jsonName: "JWT", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The JWT holding the PartnerApp identity to which parent subject the message will be pushed. It is a signed JWT issued by HARDIS SC NETWORK upon PartnerApp creation. The PartnerApp from the JWT must be the same as the one in the Header field meaning you cannot push a message for a PartnerApp different than the one you're allowed to." } } }, + { no: 3, name: "SubjectSuffix", kind: "scalar", localName: "SubjectSuffix", jsonName: "SubjectSuffix", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The subject suffix to which the message will be pushed. The subject will be composed of the parent subject of the PartnerApp (from the JWT) and this suffix." } } }, + { no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The message payload." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "JWT", "Subject"] } } }); } create(value?: PartialMessage): PushMessageRequest { @@ -852,11 +852,11 @@ export const PushMessageResult = new PushMessageResult$Type(); * @generated ServiceType for protobuf service api.NatsService */ export const NatsService = new ServiceType("api.NatsService", [ - { name: "CreateProjectAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Create an account and an user in NATS" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats" }, I: CreateProjectAccountRequest, O: CreateProjectAccountResult }, - { name: "DeleteProjectAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Delete a NATS account and its users" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats" }, I: DeleteProjectAccountRequest, O: DeleteProjectAccountResult }, - { name: "CreatePartnerAppUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Create an user in NATS under its associated account" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats" }, I: CreatePartnerAppUserRequest, O: CreatePartnerAppUserResult }, - { name: "DeletePartnerAppUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Delete a NATS user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats" }, I: DeletePartnerAppUserRequest, O: DeletePartnerAppUserResult }, - { name: "RenewProjectAccountCredentials", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Renew (revoke + create) NATS Credentials for an account" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: RenewProjectAccountCredentialsRequest, O: RenewProjectAccountCredentialsResult }, - { name: "RenewPartnerAppUserCredentials", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Renew (revoke + create) NATS Credentials for a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Nats" }, I: RenewPartnerAppUserCredentialsRequest, O: RenewPartnerAppUserCredentialsResult }, - { name: "PushMessage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Push a message to a NATS subject" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp-Nats" }, I: PushMessageRequest, O: PushMessageResult } + { name: "CreateProjectAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Create an account and an user in NATS" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateProjectAccountRequest, O: CreateProjectAccountResult }, + { name: "DeleteProjectAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Delete a NATS account and its users" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteProjectAccountRequest, O: DeleteProjectAccountResult }, + { name: "CreatePartnerAppUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Create an user in NATS under its associated account" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreatePartnerAppUserRequest, O: CreatePartnerAppUserResult }, + { name: "DeletePartnerAppUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Delete a NATS user" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Nats", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeletePartnerAppUserRequest, O: DeletePartnerAppUserResult }, + { name: "RenewProjectAccountCredentials", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Renew (revoke + create) NATS Credentials for an account" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewProjectAccountCredentialsRequest, O: RenewProjectAccountCredentialsResult }, + { name: "RenewPartnerAppUserCredentials", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Renew (revoke + create) NATS Credentials for a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-Nats", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewPartnerAppUserCredentialsRequest, O: RenewPartnerAppUserCredentialsResult }, + { name: "PushMessage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin NATS"], description: "Push a message to a NATS subject" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp-Nats", "google.api.method_visibility": { restriction: "SDK" } }, I: PushMessageRequest, O: PushMessageResult } ], { "api.k8sService": "nats-api" }); diff --git a/notif.ts b/notif.ts index 3652082..eb22dbf 100644 --- a/notif.ts +++ b/notif.ts @@ -180,14 +180,14 @@ class NotifPayload$Type extends MessageType { constructor() { super("api.NotifPayload", [ { no: 1, name: "NotificationType", kind: "enum", localName: "NotificationType", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of change to be notified" } } }, - { no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the issuer (uuid format)" }, "n1validate.rules": { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the issuer (uuid format)" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "Contacts", kind: "scalar", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of contacts" } } }, { no: 4, name: "Details", kind: "scalar", localName: "Details", jsonName: "Details", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity domain" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of entity" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity domain" } } }, + { no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of entity" } } }, + { no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } }, - { no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } }, + { no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" } } }, { no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }, { no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "OldStatus", "NewStatus", "EntityDomain", "EntityType", "EntityRefID"] } } }); diff --git a/notifInput.ts b/notifInput.ts index 0932243..4915152 100644 --- a/notifInput.ts +++ b/notifInput.ts @@ -246,14 +246,14 @@ class NotifCreatedPayload$Type extends MessageType { constructor() { super("api.NotifCreatedPayload", [ { no: 1, name: "NotificationType", kind: "enum", localName: "NotificationType", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of change to be notified" } } }, - { no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the issuer (uuid format)" }, "n1validate.rules": { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, - { no: 3, name: "Contacts", kind: "scalar", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifiers of the contact to notity (uuid format)" }, "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } }, + { no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the issuer (uuid format)" } } }, + { no: 3, name: "Contacts", kind: "scalar", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifiers of the contact to notity (uuid format)" } } }, { no: 4, name: "Details", kind: "scalar", localName: "Details", jsonName: "Details", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity domain" }, "n1validate.rules": { string: { in: ["trade", "collab"] } } } }, - { no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of entity" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity domain" } } }, + { no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of entity" } } }, + { no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of entity" } } }, { no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tags" } } }, - { no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" }, "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } } } }, + { no: 9, name: "ContactMails", kind: "scalar", localName: "ContactMails", jsonName: "ContactMails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mail of the contact to notify" } } }, { no: 10, name: "GroupSending", kind: "scalar", localName: "GroupSending", jsonName: "GroupSending", T: 8 /*ScalarType.BOOL*/ }, { no: 11, name: "SendToIssuer", kind: "scalar", localName: "SendToIssuer", jsonName: "SendToIssuer", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["NotificationType", "IssuerID", "Contacts", "EntityDomain", "EntityType", "EntityRefID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" }); @@ -967,7 +967,7 @@ export const NotifCustomFieldsUpdatedResponse = new NotifCustomFieldsUpdatedResp * @generated ServiceType for protobuf service api.NotifInputAPI */ export const NotifInputAPI = new ServiceType("api.NotifInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A notification has been created." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Notication", "api.platformReserved": true }, I: NotifCreatedRequest, O: NotifCreatedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A Notif has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false }, I: NotifSanitisedRequest, O: NotifSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input" }, I: NotifCustomFieldsUpdatedRequest, O: NotifCustomFieldsUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A notification has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Notication", "api.platformReserved": true, "google.api.method_visibility": { restriction: "SDK" } }, I: NotifCreatedRequest, O: NotifCreatedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A Notif has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: NotifSanitisedRequest, O: NotifSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "SDK" } }, I: NotifCustomFieldsUpdatedRequest, O: NotifCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" }); diff --git a/notification.ts b/notification.ts index 8f40ea0..89d809a 100644 --- a/notification.ts +++ b/notification.ts @@ -160,7 +160,7 @@ export enum NotificationCategory { class Notification$Type extends MessageType { constructor() { super("api.Notification", [ - { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } }, { no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } }, { no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } }, { no: 4, name: "AckID", kind: "scalar", localName: "AckID", jsonName: "AckID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID to acknowledge notification to notification-server, filled by the server" } } }, @@ -247,7 +247,7 @@ export const Notification = new Notification$Type(); class NotificationRequest$Type extends MessageType { constructor() { super("api.NotificationRequest", [ - { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } }, { no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } }, { no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } }, { no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } } @@ -318,8 +318,8 @@ export const NotificationRequest = new NotificationRequest$Type(); class PublishToUserRequest$Type extends MessageType { constructor() { super("api.PublishToUserRequest", [ - { no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Id of user who will receive the notification" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "ExpirationDate", kind: "scalar", localName: "ExpirationDate", jsonName: "ExpirationDate", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Timestamp of notification expiration. If zero, platform default expiration date is used" }, "n1validate.rules": { int64: { gte: "0" } } } }, + { no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Id of user who will receive the notification" } } }, + { no: 2, name: "ExpirationDate", kind: "scalar", localName: "ExpirationDate", jsonName: "ExpirationDate", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { gte: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Timestamp of notification expiration. If zero, platform default expiration date is used" } } }, { no: 3, name: "Notification", kind: "message", localName: "Notification", jsonName: "Notification", T: () => NotificationRequest } ]); } @@ -418,7 +418,7 @@ export const PublishToUserResult = new PublishToUserResult$Type(); class NotificationListItem$Type extends MessageType { constructor() { super("api.NotificationListItem", [ - { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload of the notification" } } }, { no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.NotificationType", NotificationType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Payload type of the notification" } } }, { no: 3, name: "TemplateName", kind: "scalar", localName: "TemplateName", jsonName: "TemplateName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the ECard related to the notification payload" } } }, { no: 4, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.NotificationCategory", NotificationCategory], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Category of the notification" } } }, @@ -582,6 +582,6 @@ export const ListNotificationResult = new ListNotificationResult$Type(); * @generated ServiceType for protobuf service api.NotificationService */ export const NotificationService = new ServiceType("api.NotificationService", [ - { name: "PublishToUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "Send notification to user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Notification" }, I: PublishToUserRequest, O: PublishToUserResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "List all notifications of connected user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: ListNotificationRequest, O: ListNotificationResult } + { name: "PublishToUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "Send notification to user" }, "api.rscType": "Platform", "api.roles": "Platform.Notification", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PublishToUserRequest, O: PublishToUserResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Notification"], description: "List all notifications of connected user" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListNotificationRequest, O: ListNotificationResult } ], { "api.k8sService": "notification-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/opensearch.ts b/opensearch.ts index 93c9ffa..834bf07 100644 --- a/opensearch.ts +++ b/opensearch.ts @@ -105,7 +105,7 @@ export interface DeleteOpenSearchProjectResponse { class CreateOpenSearchUserRequest$Type extends MessageType { constructor() { super("api.CreateOpenSearchUserRequest", [ - { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } }); } create(value?: PartialMessage): CreateOpenSearchUserRequest { @@ -215,7 +215,7 @@ export const CreateOpenSearchUserResponse = new CreateOpenSearchUserResponse$Typ class DeleteOpenSearchUserRequest$Type extends MessageType { constructor() { super("api.DeleteOpenSearchUserRequest", [ - { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } }); } create(value?: PartialMessage): DeleteOpenSearchUserRequest { @@ -300,7 +300,7 @@ export const DeleteOpenSearchUserResponse = new DeleteOpenSearchUserResponse$Typ class CreateOpenSearchTenantRequest$Type extends MessageType { constructor() { super("api.CreateOpenSearchTenantRequest", [ - { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tenant's name. This will be used as the index template name. For example if the name is 'mytenant', the index template will be 'mytenant_template' with an index pattern as '*_mytenant' (if mappings are provided)." }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tenant's name. This will be used as the index template name. For example if the name is 'mytenant', the index template will be 'mytenant_template' with an index pattern as '*_mytenant' (if mappings are provided)." } } }, { no: 2, name: "DashboardJSON", kind: "scalar", localName: "DashboardJSON", jsonName: "DashboardJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Exported dashboard JSON from Opensearch that will be created under the given tenant. If not provided, no dashboard will be created." } } }, { no: 3, name: "MappingsJSON", kind: "scalar", localName: "MappingsJSON", jsonName: "MappingsJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mappings used for the tenant's index template. If not provided, no index template will be created. See https://opensearch.org/docs/latest/opensearch/mappings/ for correct mappings format." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name"] } } }); @@ -401,7 +401,7 @@ export const CreateOpenSearchTenantResponse = new CreateOpenSearchTenantResponse class CreateOpenSearchProjectRoleRequest$Type extends MessageType { constructor() { super("api.CreateOpenSearchProjectRoleRequest", [ - { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be created." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be created." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); } create(value?: PartialMessage): CreateOpenSearchProjectRoleRequest { @@ -486,7 +486,7 @@ export const CreateOpenSearchProjectRoleResponse = new CreateOpenSearchProjectRo class DeleteOpenSearchProjectRequest$Type extends MessageType { constructor() { super("api.DeleteOpenSearchProjectRequest", [ - { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be deleted." }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be deleted." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); } create(value?: PartialMessage): DeleteOpenSearchProjectRequest { @@ -571,9 +571,9 @@ export const DeleteOpenSearchProjectResponse = new DeleteOpenSearchProjectRespon * @generated ServiceType for protobuf service api.OpenSearchService */ export const OpenSearchService = new ServiceType("api.OpenSearchService", [ - { name: "CreateUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a PartnerApp (user, tenant, role)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: CreateOpenSearchUserRequest, O: CreateOpenSearchUserResponse }, - { name: "DeleteUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a PartnerApp", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: DeleteOpenSearchUserRequest, O: DeleteOpenSearchUserResponse }, - { name: "CreateTenant", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a new Tenant (tenant, index template, index policy, role, dashboard)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "common" }, I: CreateOpenSearchTenantRequest, O: CreateOpenSearchTenantResponse }, - { name: "CreateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates a role for a given project that will allow the user to access the project's index", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: CreateOpenSearchProjectRoleRequest, O: CreateOpenSearchProjectRoleResponse }, - { name: "DeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a given project (indexes, roles)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: DeleteOpenSearchProjectRequest, O: DeleteOpenSearchProjectResponse } + { name: "CreateUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a PartnerApp (user, tenant, role)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchUserRequest, O: CreateOpenSearchUserResponse }, + { name: "DeleteUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a PartnerApp", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOpenSearchUserRequest, O: DeleteOpenSearchUserResponse }, + { name: "CreateTenant", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a new Tenant (tenant, index template, index policy, role, dashboard)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "common", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchTenantRequest, O: CreateOpenSearchTenantResponse }, + { name: "CreateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates a role for a given project that will allow the user to access the project's index", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchProjectRoleRequest, O: CreateOpenSearchProjectRoleResponse }, + { name: "DeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a given project (indexes, roles)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOpenSearchProjectRequest, O: DeleteOpenSearchProjectResponse } ], { "api.k8sService": "logger-server" }); diff --git a/order.ts b/order.ts index 2bcbfaa..1811965 100644 --- a/order.ts +++ b/order.ts @@ -270,7 +270,7 @@ class OrderPayload$Type extends MessageType { super("api.OrderPayload", [ { no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "api.aggSkip": "ExecutionflowDetected" } }, { no: 2, name: "ParentOrder", kind: "message", localName: "ParentOrder", jsonName: "ParentOrder", T: () => ReferencedID }, - { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, + { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Order", Group: "order" }] }, "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated,ExecutionflowDetected" } }, { no: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier }, { no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier }, @@ -283,13 +283,13 @@ class OrderPayload$Type extends MessageType { { no: 12, name: "EstimatedTimeArrival", kind: "message", localName: "EstimatedTimeArrival", jsonName: "EstimatedTimeArrival", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated from 1.7 : Estimated time of arrival, use OrderETA" } } }, { no: 13, name: "ActualCompletionDateTime", kind: "message", localName: "ActualCompletionDateTime", jsonName: "ActualCompletionDateTime", T: () => DateTime }, { no: 14, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID", "api.aggAppend": "ExecutionflowUpdated,ExecutionflowDetected" } }, - { no: 17, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => OrderStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 17, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => OrderStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 18, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } }, { no: 19, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } }, { no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } }, { no: 21, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } }, { no: 22, name: "ExecutionflowETAs", kind: "message", localName: "ExecutionflowETAs", jsonName: "ExecutionflowETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyExecutionflow, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for each executionflow attached to the order" }, "api.aggKey": "ExecutionflowID", "api.aggSkip": "ExecutionflowETAUpdated" } }, - { no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "n1validate.rules": { message: { unauthorized: true } }, "api.aggSkip": "ETAUpdated" } }, + { no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "api.aggSkip": "ETAUpdated" } }, { no: 24, name: "Anticipated", kind: "scalar", localName: "Anticipated", jsonName: "Anticipated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Anticipated orders are not automatically associated to an executionflow" } } }, { no: 25, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments attached to the order" }, "api.aggSkip": "AppointmentUpdated" } }, { no: 26, name: "RemovedAppointments", kind: "message", localName: "RemovedAppointments", jsonName: "RemovedAppointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AppointmentUpdated", "api.indexationSkip": true } }, diff --git a/orderInput.ts b/orderInput.ts index 1206be7..2d9ee1a 100644 --- a/orderInput.ts +++ b/orderInput.ts @@ -2194,12 +2194,12 @@ class OrderCreatedPayload$Type extends MessageType { super("api.OrderCreatedPayload", [ { no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ParentOrder", kind: "message", localName: "ParentOrder", jsonName: "ParentOrder", T: () => ReferencedID }, - { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }, + { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, { no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier }, { no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier }, { no: 7, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, - { no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" }, "n1validate.rules": { message: { required: true } } } }, + { no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 9, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 12, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 10, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, @@ -2503,11 +2503,11 @@ class OrderExecutionflowDetectedPayload$Type extends MessageType DateTime, options: { "n1validate.rules": { message: { required: true } } } }, { no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 7, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, - { no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" }, "n1validate.rules": { message: { required: true } } } }, + { no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 9, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 12, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 10, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, - { no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "n1validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "LineID" } }, + { no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } }, { no: 13, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["CreationDateTime", "ShipTo"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExecutionflowDetected", "api.postAggMethods": "computeEquivalentLVBaseQuantity" }); } @@ -9539,37 +9539,37 @@ export const OrderAppointmentBookingDisabledResponse = new OrderAppointmentBooki * @generated ServiceType for protobuf service api.OrderInputAPI */ export const OrderInputAPI = new ServiceType("api.OrderInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been created. This is typically called from an ERP. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderCreatedRequest, O: OrderCreatedResponse }, - { name: "DraftCreated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order draft has been created. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-DraftInput", "api.tags": "PROJECT_ACTIVITY" }, I: OrderDraftCreatedRequest, O: OrderDraftCreatedResponse }, - { name: "ExecutionflowDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order is created because an executionflow has been detected. This is called by the Platform. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderExecutionflowDetectedRequest, O: OrderExecutionflowDetectedResponse }, - { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been cancelled. This is typically called from an ERP. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderCancelledRequest, O: OrderCancelledResponse }, - { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been anonymised." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderAnonymisedRequest, O: OrderAnonymisedResponse }, - { name: "ShipperAssigned", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A shipper has been assigned to an Order. This is typically called from an OMS. Obsolete ?" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderShipperAssignedRequest, O: OrderShipperAssignedResponse }, - { name: "PartiallyCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been partially completed. This is typically called from an ERP. Obsolete ?" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderPartiallyCompletedRequest, O: OrderPartiallyCompletedResponse }, - { name: "RequestedDeliveryDateDefined", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A requested delivery date has been defined on an Order. This is typically called from an ERP." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderRequestedDeliveryDateDefinedRequest, O: OrderRequestedDeliveryDateDefinedResponse }, - { name: "ExecutionflowETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A ETA has been updated on an Executionflow attached to this order. This is internal call." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderExecutionflowETAUpdatedRequest, O: OrderExecutionflowETAUpdatedResponse }, - { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been completed. This is typically called from an ERP." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderCompletedRequest, O: OrderCompletedResponse }, - { name: "AnticipatedClosed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An anticipated Order has been closed." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderAnticipatedClosedRequest, O: OrderAnticipatedClosedResponse }, - { name: "ExecutionflowUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An executionflow status has been reported to an Order. This is called internally." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderExecutionflowUpdatedRequest, O: OrderExecutionflowUpdatedResponse }, - { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some metadata have been updated on an Order. This is typically called from OMS or ERP." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderMetaDataUpdatedRequest, O: OrderMetaDataUpdatedResponse }, - { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "The carrier and/or carrier service has been updated for the Order. This is typically called from OMS or ERP." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderCarrierUpdatedRequest, O: OrderCarrierUpdatedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is added for the Order." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderAttachmentAddedRequest, O: OrderAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is removed for the Order." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderAttachmentRemovedRequest, O: OrderAttachmentRemovedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A claim has been added on the Order." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderClaimAddedRequest, O: OrderClaimAddedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Orders." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderDeletedRequest, O: OrderDeletedResponse }, - { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some lines are added for the Order." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderLinesAddedRequest, O: OrderLinesAddedResponse }, - { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Adding lines in the Executionflow has been reported to an Order. This is called internally." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderLinesDetectedRequest, O: OrderLinesDetectedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: OrderSanitisedRequest, O: OrderSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderCustomFieldsUpdatedRequest, O: OrderCustomFieldsUpdatedResponse }, - { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation is expected on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderPreparationExpectedRequest, O: OrderPreparationExpectedResponse }, - { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation has started on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderPreparationStartedRequest, O: OrderPreparationStartedResponse }, - { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation is completed on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderPreparationCompletedRequest, O: OrderPreparationCompletedResponse }, - { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport is expected on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderTransportExpectedRequest, O: OrderTransportExpectedResponse }, - { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport has started on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderTransportStartedRequest, O: OrderTransportStartedResponse }, - { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport is completed on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderTransportCompletedRequest, O: OrderTransportCompletedResponse }, - { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt is expected on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderReceiptExpectedRequest, O: OrderReceiptExpectedResponse }, - { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt has started on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderReceiptStartedRequest, O: OrderReceiptStartedResponse }, - { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt is completed on the Order. This is typically called from a WMS. " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: OrderReceiptCompletedRequest, O: OrderReceiptCompletedResponse }, - { name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An appointment is updated for the Order." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderAppointmentUpdatedRequest, O: OrderAppointmentUpdatedResponse }, - { name: "AppointmentBookingDisabled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Booking appointment has been disabled for the Order." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: OrderAppointmentBookingDisabledRequest, O: OrderAppointmentBookingDisabledResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been created. This is typically called from an ERP. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCreatedRequest, O: OrderCreatedResponse }, + { name: "DraftCreated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order draft has been created. " }, "api.rscType": "Project", "api.roles": "Platform.Project-DraftInput", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderDraftCreatedRequest, O: OrderDraftCreatedResponse }, + { name: "ExecutionflowDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order is created because an executionflow has been detected. This is called by the Platform. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderExecutionflowDetectedRequest, O: OrderExecutionflowDetectedResponse }, + { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been cancelled. This is typically called from an ERP. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCancelledRequest, O: OrderCancelledResponse }, + { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been anonymised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderAnonymisedRequest, O: OrderAnonymisedResponse }, + { name: "ShipperAssigned", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A shipper has been assigned to an Order. This is typically called from an OMS. Obsolete ?" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderShipperAssignedRequest, O: OrderShipperAssignedResponse }, + { name: "PartiallyCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been partially completed. This is typically called from an ERP. Obsolete ?" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderPartiallyCompletedRequest, O: OrderPartiallyCompletedResponse }, + { name: "RequestedDeliveryDateDefined", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A requested delivery date has been defined on an Order. This is typically called from an ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderRequestedDeliveryDateDefinedRequest, O: OrderRequestedDeliveryDateDefinedResponse }, + { name: "ExecutionflowETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A ETA has been updated on an Executionflow attached to this order. This is internal call." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderExecutionflowETAUpdatedRequest, O: OrderExecutionflowETAUpdatedResponse }, + { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been completed. This is typically called from an ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCompletedRequest, O: OrderCompletedResponse }, + { name: "AnticipatedClosed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An anticipated Order has been closed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderAnticipatedClosedRequest, O: OrderAnticipatedClosedResponse }, + { name: "ExecutionflowUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An executionflow status has been reported to an Order. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderExecutionflowUpdatedRequest, O: OrderExecutionflowUpdatedResponse }, + { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some metadata have been updated on an Order. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderMetaDataUpdatedRequest, O: OrderMetaDataUpdatedResponse }, + { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "The carrier and/or carrier service has been updated for the Order. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCarrierUpdatedRequest, O: OrderCarrierUpdatedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAttachmentAddedRequest, O: OrderAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is removed for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAttachmentRemovedRequest, O: OrderAttachmentRemovedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A claim has been added on the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderClaimAddedRequest, O: OrderClaimAddedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Orders." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderDeletedRequest, O: OrderDeletedResponse }, + { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some lines are added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderLinesAddedRequest, O: OrderLinesAddedResponse }, + { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Adding lines in the Executionflow has been reported to an Order. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderLinesDetectedRequest, O: OrderLinesDetectedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderSanitisedRequest, O: OrderSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCustomFieldsUpdatedRequest, O: OrderCustomFieldsUpdatedResponse }, + { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation is expected on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderPreparationExpectedRequest, O: OrderPreparationExpectedResponse }, + { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation has started on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderPreparationStartedRequest, O: OrderPreparationStartedResponse }, + { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Preparation is completed on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderPreparationCompletedRequest, O: OrderPreparationCompletedResponse }, + { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport is expected on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderTransportExpectedRequest, O: OrderTransportExpectedResponse }, + { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport has started on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderTransportStartedRequest, O: OrderTransportStartedResponse }, + { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Transport is completed on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderTransportCompletedRequest, O: OrderTransportCompletedResponse }, + { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt is expected on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderReceiptExpectedRequest, O: OrderReceiptExpectedResponse }, + { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt has started on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderReceiptStartedRequest, O: OrderReceiptStartedResponse }, + { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Receipt is completed on the Order. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderReceiptCompletedRequest, O: OrderReceiptCompletedResponse }, + { name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An appointment is updated for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAppointmentUpdatedRequest, O: OrderAppointmentUpdatedResponse }, + { name: "AppointmentBookingDisabled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Booking appointment has been disabled for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAppointmentBookingDisabledRequest, O: OrderAppointmentBookingDisabledResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/orderQuery.ts b/orderQuery.ts index e0da43f..a52b89a 100644 --- a/orderQuery.ts +++ b/orderQuery.ts @@ -617,10 +617,10 @@ export const OrderByMatchResult = new OrderByMatchResult$Type(); * @generated ServiceType for protobuf service api.OrderQuery */ export const OrderQuery = new ServiceType("api.OrderQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Get Orders from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "orderById", "api.tags": "PROJECT_ACTIVITY" }, I: OrderByIdQuery, O: OrderByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Find Orders using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: OrderByFilterQuery, O: OrderByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "using search criteria & a main field word, find the list of fields value containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: OrderByMatchQuery, O: OrderByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Get Orders from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tableName": "orderById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderByIdQuery, O: OrderByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Find Orders using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderByFilterQuery, O: OrderByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "using search criteria & a main field word, find the list of fields value containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderByMatchQuery, O: OrderByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "order-tracking", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/org.ts b/org.ts index 7d42f29..2f6415b 100644 --- a/org.ts +++ b/org.ts @@ -524,12 +524,12 @@ export enum StatusEnum { class Organisation$Type extends MessageType { constructor() { super("api.Organisation", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" }, "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "IDPs", kind: "message", localName: "IDPs", jsonName: "IDPs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDP }, { no: 4, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, - { no: 6, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } } + { no: 6, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } } ]); } create(value?: PartialMessage): Organisation { @@ -759,8 +759,8 @@ class UpdateOrganisationRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" }, "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } } } }, - { no: 4, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } } + { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, + { no: 4, name: "DefaultLanguageISO6391", kind: "scalar", localName: "DefaultLanguageISO6391", jsonName: "DefaultLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } } ]); } create(value?: PartialMessage): UpdateOrganisationRequest { @@ -2570,25 +2570,25 @@ export const DeleteOrganisationInDBResult = new DeleteOrganisationInDBResult$Typ * @generated ServiceType for protobuf service api.OrganisationService */ export const OrganisationService = new ServiceType("api.OrganisationService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Get" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation" }, I: GetOrganisationRequest, O: GetOrganisationResult }, - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Create" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CreateOrganisationRequest, O: CreateOrganisationResult }, - { name: "SetModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the modules of an organisation" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: SetModulesOrganisationRequest, O: SetModulesOrganisationResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Update" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Organisation", "api.roles": "" }, I: UpdateOrganisationRequest, O: UpdateOrganisationResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: DeleteOrganisationRequest, O: DeleteOrganisationResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "List" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation" }, I: ListOrganisationRequest, O: ListOrganisationResult }, - { name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the new status for the organisation" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Status" }, I: UpdateOrganisationStatusRequest, O: UpdateOrganisationStatusResult }, - { name: "StartStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start streaming jobs for the organisation and set the status RUNNING" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StartStreamingJobsRequest, O: StartStreamingJobsResult }, - { name: "StopStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully streaming jobs for the organisation and set the status STOPPED" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StopStreamingJobsRequest, O: StopStreamingJobsResult }, - { name: "CheckStreamingStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Check status for all jobs for a organisation.\nIf organisation has status RUNNING and some jobs are not started the new organisation status is set to PARTIALLY_RUNNING.\nIf organisation has status STOPPED and some jobs are not stopped the new organisation status is set to PARTIALLY_STOPPED" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: CheckStreamingStatusRequest, O: CheckStreamingStatusResult }, - { name: "StopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully all jobs for all Organisations with RUNNING status in the platform. For each Organisation set the PAUSE status" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StopAllStreamingJobsRequest, O: StopAllStreamingJobsResult }, - { name: "RestartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Restart all jobs not started for all organisations with RUNNING or PARTIALLY_RUNNING status in the platform. For each organisation set the Organisation status to RUNNING" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: RestartAllStreamingJobsRequest, O: RestartAllStreamingJobsResult }, - { name: "StartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start all jobs for all organisations. For each organisation set the Organisation status to RUNNING" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StartAllStreamingJobsRequest, O: StartAllStreamingJobsResult }, - { name: "ForceStopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop all jobs for all organisations with STOPPED or PARTIALLY_STOPPED status in the platform. For each organisation set the status STOPPED" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: ForceStopAllStreamingJobsRequest, O: ForceStopAllStreamingJobsResult }, - { name: "StartStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start metrics job for the platform" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StartStreamingMetricsJobRequest, O: StartStreamingMetricsJobResult }, - { name: "StopStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop metrics job for the platform" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StopStreamingMetricsJobRequest, O: StopStreamingMetricsJobResult }, - { name: "StartIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start one streaming job for the organisation" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StartIndividualStreamingJobRequest, O: StartIndividualStreamingJobResult }, - { name: "StopIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop one streaming job for the organisation" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: StopIndividualStreamingJobRequest, O: StopIndividualStreamingJobResult }, - { name: "ProvisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Provision a git organisation " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Gitea" }, I: ProvisionGitOrgRequest, O: ProvisionGitOrgResult }, - { name: "DeprovisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Deprovision a git organisation " }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Gitea" }, I: DeprovisionGitOrgRequest, O: DeprovisionGitOrgResult }, - { name: "DeleteOrganisationInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete the organisation in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Deletion" }, I: DeleteOrganisationInDBRequest, O: DeleteOrganisationInDBResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Get" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetOrganisationRequest, O: GetOrganisationResult }, + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Create" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOrganisationRequest, O: CreateOrganisationResult }, + { name: "SetModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the modules of an organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetModulesOrganisationRequest, O: SetModulesOrganisationResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Update" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateOrganisationRequest, O: UpdateOrganisationResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOrganisationRequest, O: DeleteOrganisationResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "List" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListOrganisationRequest, O: ListOrganisationResult }, + { name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the new status for the organisation" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Status", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateOrganisationStatusRequest, O: UpdateOrganisationStatusResult }, + { name: "StartStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start streaming jobs for the organisation and set the status RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartStreamingJobsRequest, O: StartStreamingJobsResult }, + { name: "StopStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully streaming jobs for the organisation and set the status STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopStreamingJobsRequest, O: StopStreamingJobsResult }, + { name: "CheckStreamingStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Check status for all jobs for a organisation.\nIf organisation has status RUNNING and some jobs are not started the new organisation status is set to PARTIALLY_RUNNING.\nIf organisation has status STOPPED and some jobs are not stopped the new organisation status is set to PARTIALLY_STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CheckStreamingStatusRequest, O: CheckStreamingStatusResult }, + { name: "StopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully all jobs for all Organisations with RUNNING status in the platform. For each Organisation set the PAUSE status" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopAllStreamingJobsRequest, O: StopAllStreamingJobsResult }, + { name: "RestartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Restart all jobs not started for all organisations with RUNNING or PARTIALLY_RUNNING status in the platform. For each organisation set the Organisation status to RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RestartAllStreamingJobsRequest, O: RestartAllStreamingJobsResult }, + { name: "StartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start all jobs for all organisations. For each organisation set the Organisation status to RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartAllStreamingJobsRequest, O: StartAllStreamingJobsResult }, + { name: "ForceStopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop all jobs for all organisations with STOPPED or PARTIALLY_STOPPED status in the platform. For each organisation set the status STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ForceStopAllStreamingJobsRequest, O: ForceStopAllStreamingJobsResult }, + { name: "StartStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start metrics job for the platform" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartStreamingMetricsJobRequest, O: StartStreamingMetricsJobResult }, + { name: "StopStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop metrics job for the platform" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopStreamingMetricsJobRequest, O: StopStreamingMetricsJobResult }, + { name: "StartIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start one streaming job for the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartIndividualStreamingJobRequest, O: StartIndividualStreamingJobResult }, + { name: "StopIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop one streaming job for the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopIndividualStreamingJobRequest, O: StopIndividualStreamingJobResult }, + { name: "ProvisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Provision a git organisation " }, "api.rscType": "Platform", "api.roles": "Platform.Gitea", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ProvisionGitOrgRequest, O: ProvisionGitOrgResult }, + { name: "DeprovisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Deprovision a git organisation " }, "api.rscType": "Platform", "api.roles": "Platform.Gitea", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeprovisionGitOrgRequest, O: DeprovisionGitOrgResult }, + { name: "DeleteOrganisationInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete the organisation in database" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOrganisationInDBRequest, O: DeleteOrganisationInDBResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/package.json b/package.json index 0428092..caf569c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260828141730", + "version": "1.15.0-SNAPSHOT-260831081009", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/partner.ts b/partner.ts index 34dada9..8aa4607 100644 --- a/partner.ts +++ b/partner.ts @@ -162,7 +162,7 @@ class PartnerPayload$Type extends MessageType { { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Movement,Executionflow,Handlingunit,Order,Item,Actor,Partner,Tracking", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] } } }, { no: 2, name: "LegalStructure", kind: "scalar", localName: "LegalStructure", jsonName: "LegalStructure", T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }, - { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => PartnerStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.enrichmentClear": "Tracking,Order,Executionflow" } }, + { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => PartnerStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.enrichmentClear": "Tracking,Order,Executionflow" } }, { no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } }, { no: 8, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.enrichmentClear": "Tracking,Order,Executionflow" } }, { no: 9, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" }, "api.enrichmentClear": "Tracking,Order,Executionflow" } }, diff --git a/partnerApp.ts b/partnerApp.ts index ea25e1b..285a8fc 100644 --- a/partnerApp.ts +++ b/partnerApp.ts @@ -415,7 +415,7 @@ class CreatePartnerAppRequest$Type extends MessageType constructor() { super("api.CreatePartnerAppRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ } ]); } @@ -1257,11 +1257,11 @@ export const RenewPartnerAppResult = new RenewPartnerAppResult$Type(); * @generated ServiceType for protobuf service api.PartnerAppService */ export const PartnerAppService = new ServiceType("api.PartnerAppService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Create Project partner application" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: CreatePartnerAppRequest, O: CreatePartnerAppResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Update Project partner application" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UpdatePartnerAppRequest, O: UpdatePartnerAppResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Delete Project partner application" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.PartnerApp" }, I: DeletePartnerAppRequest, O: DeletePartnerAppResult }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Get Project partner application" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp" }, I: GetPartnerAppRequest, O: GetPartnerAppResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "List Project partner application" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.PartnerApp" }, I: ListPartnerAppsRequest, O: ListPartnerAppsResult }, - { name: "DeletePartnerAppInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Delete partner application in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.PartnerApp" }, I: DeletePartnerAppInDBRequest, O: DeletePartnerAppInDBResult }, - { name: "Renew", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Renew Project partner application credentials" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp" }, I: RenewPartnerAppRequest, O: RenewPartnerAppResult } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Create Project partner application" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreatePartnerAppRequest, O: CreatePartnerAppResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Update Project partner application" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdatePartnerAppRequest, O: UpdatePartnerAppResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Delete Project partner application" }, "api.rscType": "Project", "api.roles": "Platform.PartnerApp", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePartnerAppRequest, O: DeletePartnerAppResult }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Get Project partner application" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPartnerAppRequest, O: GetPartnerAppResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "List Project partner application" }, "api.rscType": "Project", "api.roles": "Platform.PartnerApp", "google.api.method_visibility": { restriction: "SDK" } }, I: ListPartnerAppsRequest, O: ListPartnerAppsResult }, + { name: "DeletePartnerAppInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Delete partner application in database" }, "api.rscType": "Platform", "api.roles": "Platform.PartnerApp", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeletePartnerAppInDBRequest, O: DeletePartnerAppInDBResult }, + { name: "Renew", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin PartnerApp"], description: "Renew Project partner application credentials" }, "api.rscType": "PartnerApp", "api.roles": "Platform.PartnerApp", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewPartnerAppRequest, O: RenewPartnerAppResult } ], { "api.k8sService": "organisation-server" }); diff --git a/partnerInput.ts b/partnerInput.ts index c18cfce..b023cc7 100644 --- a/partnerInput.ts +++ b/partnerInput.ts @@ -1775,10 +1775,10 @@ export const PartnerCustomFieldsUpdatedResponse = new PartnerCustomFieldsUpdated * @generated ServiceType for protobuf service api.PartnerInputAPI */ export const PartnerInputAPI = new ServiceType("api.PartnerInputAPI", [ - { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been created. This is called from HARDIS SC NETWORK Admin service to share the Organisation partners. For each created partner, a user group should be created by calling api.UserGroupsService/Put." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerCreatedRequest, O: PartnerCreatedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation partners." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerDeletedRequest, O: PartnerDeletedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is added for the Partner." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: PartnerAttachmentAddedRequest, O: PartnerAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is removed for the Partner." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: PartnerAttachmentRemovedRequest, O: PartnerAttachmentRemovedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "A Partner has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: PartnerSanitisedRequest, O: PartnerSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerCustomFieldsUpdatedRequest, O: PartnerCustomFieldsUpdatedResponse } + { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been created. This is called from HARDIS SC NETWORK Admin service to share the Organisation partners. For each created partner, a user group should be created by calling api.UserGroupsService/Put." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerCreatedRequest, O: PartnerCreatedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation partners." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerDeletedRequest, O: PartnerDeletedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is added for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentAddedRequest, O: PartnerAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is removed for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentRemovedRequest, O: PartnerAttachmentRemovedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "A Partner has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerSanitisedRequest, O: PartnerSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerCustomFieldsUpdatedRequest, O: PartnerCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/partnerQuery.ts b/partnerQuery.ts index d798ba5..c6caded 100644 --- a/partnerQuery.ts +++ b/partnerQuery.ts @@ -605,10 +605,10 @@ export const PartnerByMatchResult = new PartnerByMatchResult$Type(); * @generated ServiceType for protobuf service api.PartnerQuery */ export const PartnerQuery = new ServiceType("api.PartnerQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Get Partners from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "partnerById", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerByIdQuery, O: PartnerByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Find Partners using search criterias" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerByFilterQuery, O: PartnerByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: PartnerByMatchQuery, O: PartnerByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Get Partners from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "partnerById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerByIdQuery, O: PartnerByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Find Partners using search criterias" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerByFilterQuery, O: PartnerByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerByMatchQuery, O: PartnerByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/proj.ts b/proj.ts index 95dc096..d13a8a4 100644 --- a/proj.ts +++ b/proj.ts @@ -466,8 +466,8 @@ export enum ProjectStatusEnum { class ProjectCreation$Type extends MessageType { constructor() { super("api.ProjectCreation", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" }, "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, { no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "Name", "Type"] } } }); @@ -537,8 +537,8 @@ export const ProjectCreation = new ProjectCreation$Type(); class Project$Type extends MessageType { constructor() { super("api.Project", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([a-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([a-z0-9-])+$" } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" }, "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([a-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([a-z0-9-])+$" } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 3, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "status", kind: "enum", T: () => ["api.ProjectStatusEnum", ProjectStatusEnum], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }, @@ -1027,7 +1027,7 @@ class UpdateProjectRequest$Type extends MessageType { constructor() { super("api.UpdateProjectRequest", [ { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" }, "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } } } }, + { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "\\S" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "\\S" } } }, { no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name", "Type"] } } }); } @@ -2212,18 +2212,18 @@ export const IsProjectExistResult = new IsProjectExistResult$Type(); * @generated ServiceType for protobuf service api.ProjectService */ export const ProjectService = new ServiceType("api.ProjectService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Get" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project" }, I: GetProjectRequest, O: GetProjectResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List the projects of an organization" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Project" }, I: ListProjectRequest, O: ListProjectResult }, - { name: "ListAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all projects of the platform" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project" }, I: ListAllProjectRequest, O: ListAllProjectResult }, - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Create a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: CreateProjectRequest, O: CreateProjectResult }, - { name: "SetModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Set the modules of a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: SetModulesProjectRequest, O: SetModulesProjectResult }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Update project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query" }, I: UpdateProjectRequest, O: UpdateProjectResult }, - { name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Update project status" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Project" }, I: UpdateProjectStatusRequest, O: UpdateProjectStatusResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Delete resources in connection with the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Project-Deletion" }, I: DeleteProjectRequest, O: DeleteProjectResult }, - { name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Suggest a project ID" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: SuggestProjectIDRequest, O: SuggestProjectIDResult }, - { name: "GetMyUIContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all user accessible projects for non-SA users" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetMyContextRequest, O: GetMyContextResult }, - { name: "GetMyContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all user accessible projects. For non-SA users, it is advised to use GetMyUIContext instead." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetMyContextRequest, O: GetMyContextResult }, - { name: "DeleteProjectInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Delete the project in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Deletion" }, I: DeleteProjectInDBRequest, O: DeleteProjectInDBResult }, - { name: "CleanDeletedProjects", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Clear deleted projects in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project" }, I: CleanDeletedProjectsRequest, O: CleanDeletedProjectsResult }, - { name: "IsProjectExist", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "IsProjectExist" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: IsProjectExistRequest, O: IsProjectExistResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Get" }, "api.rscType": "Project", "api.roles": "Platform.Project", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectRequest, O: GetProjectResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List the projects of an organization" }, "api.rscType": "Organisation", "api.roles": "Platform.Project", "google.api.method_visibility": { restriction: "SDK" } }, I: ListProjectRequest, O: ListProjectResult }, + { name: "ListAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all projects of the platform" }, "api.rscType": "Platform", "api.roles": "Platform.Project", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAllProjectRequest, O: ListAllProjectResult }, + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Create a project" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateProjectRequest, O: CreateProjectResult }, + { name: "SetModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Set the modules of a project" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetModulesProjectRequest, O: SetModulesProjectResult }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Update project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateProjectRequest, O: UpdateProjectResult }, + { name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Update project status" }, "api.rscType": "Platform", "api.roles": "Platform.Project", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateProjectStatusRequest, O: UpdateProjectStatusResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Delete resources in connection with the project" }, "api.rscType": "Organisation", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteProjectRequest, O: DeleteProjectResult }, + { name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Suggest a project ID" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SuggestProjectIDRequest, O: SuggestProjectIDResult }, + { name: "GetMyUIContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all user accessible projects for non-SA users" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMyContextRequest, O: GetMyContextResult }, + { name: "GetMyContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "List all user accessible projects. For non-SA users, it is advised to use GetMyUIContext instead." }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMyContextRequest, O: GetMyContextResult }, + { name: "DeleteProjectInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Delete the project in database" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteProjectInDBRequest, O: DeleteProjectInDBResult }, + { name: "CleanDeletedProjects", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "Clear deleted projects in database" }, "api.rscType": "Platform", "api.roles": "Platform.Project", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CleanDeletedProjectsRequest, O: CleanDeletedProjectsResult }, + { name: "IsProjectExist", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project"], description: "IsProjectExist" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: IsProjectExistRequest, O: IsProjectExistResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/project-lifecycle.ts b/project-lifecycle.ts index 8c5aa2d..4889a77 100644 --- a/project-lifecycle.ts +++ b/project-lifecycle.ts @@ -1015,10 +1015,10 @@ export const SetTaskExecutedAtResponse = new SetTaskExecutedAtResponse$Type(); * @generated ServiceType for protobuf service api.ProjectLifecycleService */ export const ProjectLifecycleService = new ServiceType("api.ProjectLifecycleService", [ - { name: "SetTaskRule", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the rule that will be performed when running the given task on an entity of a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: SetTaskRuleRequest, O: SetTaskRuleResponse }, - { name: "GetTask", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Get the rule that performs a task on an entity of a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Task" }, I: GetTaskRequest, O: GetTaskResponse }, - { name: "ListTasks", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "List the project lifecycle tasks registered on a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListTasksRequest, O: ListTasksResponse }, - { name: "SetTaskStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Update the status of the rule performing a task on an entity of a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task" }, I: SetTaskStatusRequest, O: SetTaskStatusResponse }, - { name: "SetTaskExecutedAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the execution time of the rule performing a task on an entity of a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task" }, I: SetTaskExecutedAtRequest, O: SetTaskExecutedAtResponse }, - { name: "SetTaskNextRunAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the next run time of the rule performing a task on an entity of a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task" }, I: SetTaskNextRunAtRequest, O: SetTaskNextRunAtResponse } + { name: "SetTaskRule", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the rule that will be performed when running the given task on an entity of a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetTaskRuleRequest, O: SetTaskRuleResponse }, + { name: "GetTask", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Get the rule that performs a task on an entity of a project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "SDK" } }, I: GetTaskRequest, O: GetTaskResponse }, + { name: "ListTasks", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "List the project lifecycle tasks registered on a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListTasksRequest, O: ListTasksResponse }, + { name: "SetTaskStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Update the status of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskStatusRequest, O: SetTaskStatusResponse }, + { name: "SetTaskExecutedAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the execution time of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskExecutedAtRequest, O: SetTaskExecutedAtResponse }, + { name: "SetTaskNextRunAt", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Project Lifecycle"], description: "Set the next run time of the rule performing a task on an entity of a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Task", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SetTaskNextRunAtRequest, O: SetTaskNextRunAtResponse } ], { "api.k8sService": "project-lifecycle-server" }); diff --git a/repositoryShared.ts b/repositoryShared.ts index 4055bf9..87a7a5f 100644 --- a/repositoryShared.ts +++ b/repositoryShared.ts @@ -1472,7 +1472,7 @@ export const FamilyStatusStruct = new FamilyStatusStruct$Type(); class ExpiryConstraint$Type extends MessageType { constructor() { super("api.ExpiryConstraint", [ - { no: 1, name: "WillExpire", kind: "scalar", localName: "WillExpire", jsonName: "WillExpire", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Order", Group: "order", Queryable: true }] } } }, + { no: 1, name: "WillExpire", kind: "scalar", localName: "WillExpire", jsonName: "WillExpire", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Order", Group: "order", Queryable: true }] } } }, { no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ExpiryConstraintType", ExpiryConstraintType], options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Order", Group: "order", Queryable: true }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Item components" } } }); } @@ -1530,7 +1530,7 @@ class TradeItemDescriptions$Type extends MessageType { { no: 1, name: "ShortDescription", kind: "scalar", localName: "ShortDescription", jsonName: "ShortDescription", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Blue balloon\"" } } }, { no: 2, name: "LongDescription", kind: "scalar", localName: "LongDescription", jsonName: "LongDescription", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Outdoor blue balloon for kids\"" } } }, { no: 3, name: "TechnicalDetails", kind: "scalar", localName: "TechnicalDetails", jsonName: "TechnicalDetails", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Made in France, suitable for kids above 3 years old\"" } } }, - { no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } } + { no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } } ]); } create(value?: PartialMessage): TradeItemDescriptions { @@ -1598,20 +1598,20 @@ export const TradeItemDescriptions = new TradeItemDescriptions$Type(); class LogisticVariant$Type extends MessageType { constructor() { super("api.LogisticVariant", [ - { no: 13, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "n1validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Executionflow,Order,Item", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 15, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Pallet of 100 pieces\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 13, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.dataRestrictionKey": "Executionflow,Order,Item", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 15, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Pallet of 100 pieces\"" } } }, { no: 2, name: "Codes", kind: "message", localName: "Codes", jsonName: "Codes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OtherID, options: { "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.parentEntity": "Item" } }, { no: 4, name: "IsBaseLogisticVariant", kind: "scalar", localName: "IsBaseLogisticVariant", jsonName: "IsBaseLogisticVariant", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"true / false\"" } } }, { no: 5, name: "RefLV", kind: "scalar", localName: "RefLV", jsonName: "RefLV", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the LV in which the quantity is given", example: "\"10\"" } } }, - { no: 19, name: "RefLVName", kind: "scalar", localName: "RefLVName", jsonName: "RefLVName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } } } }, + { no: 19, name: "RefLVName", kind: "scalar", localName: "RefLVName", jsonName: "RefLVName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 6, name: "QuantityInRefLV", kind: "scalar", localName: "QuantityInRefLV", jsonName: "QuantityInRefLV", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "5" } } }, { no: 8, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 9, name: "Area", kind: "message", localName: "Area", jsonName: "Area", T: () => QuantityArea, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 10, name: "Height", kind: "message", localName: "Height", jsonName: "Height", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 11, name: "Width", kind: "message", localName: "Width", jsonName: "Width", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 12, name: "Length", kind: "message", localName: "Length", jsonName: "Length", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, - { no: 14, name: "QuantityInBaseLV", kind: "scalar", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { float: { unauthorized: true } } } }, + { no: 14, name: "QuantityInBaseLV", kind: "scalar", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 16, name: "NetWeight", kind: "message", localName: "NetWeight", jsonName: "NetWeight", T: () => QuantityWeight, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 17, name: "GrossWeight", kind: "message", localName: "GrossWeight", jsonName: "GrossWeight", T: () => QuantityWeight, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 18, name: "BranchIDs", kind: "scalar", localName: "BranchIDs", jsonName: "BranchIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"[30,31]\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } @@ -1766,7 +1766,7 @@ export const LogisticVariant = new LogisticVariant$Type(); class OtherID$Type extends MessageType { constructor() { super("api.OtherID", [ - { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"EAN13\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"EAN13\"" } } }, { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"3050520032023\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Key"] } } }); } @@ -1964,7 +1964,7 @@ class Address$Type extends MessageType
{ constructor() { super("api.Address", [ { no: 1, name: "City", kind: "scalar", localName: "City", jsonName: "City", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking,Appointment", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, - { no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in ISO_3166-1 format", example: "\"FR\"" }, "n1validate.rules": { string: { countryCodeIso3166: true } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking,Appointment", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, + { no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { countryCodeIso3166: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in ISO_3166-1 format", example: "\"FR\"" }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking,Appointment", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 3, name: "GeographicalCoordinates", kind: "message", localName: "GeographicalCoordinates", jsonName: "GeographicalCoordinates", T: () => GeographicalCoordinates }, { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "POBoxNumber", kind: "scalar", localName: "POBoxNumber", jsonName: "POBoxNumber", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, @@ -2210,7 +2210,7 @@ class Interlocutor$Type extends MessageType { super("api.Interlocutor", [ { no: 1, name: "FirstName", kind: "scalar", localName: "FirstName", jsonName: "FirstName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"John\"" } } }, { no: 2, name: "LastName", kind: "scalar", localName: "LastName", jsonName: "LastName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Doe\"" } } }, - { no: 3, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"john.doe@reflex.com\",\"john.doe.bis@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } }, + { no: 3, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"john.doe@reflex.com\",\"john.doe.bis@reflex.com\"]" }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 4, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"07 00 00 00 00\",\"+33 4 00 00 00 00\"]" }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } } ]); } @@ -2334,9 +2334,9 @@ export const GeographicalCoordinates = new GeographicalCoordinates$Type(); class ActorSnapshot$Type extends MessageType { constructor() { super("api.ActorSnapshot", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be unique ID" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be unique ID" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "EndDateTime", kind: "message", localName: "EndDateTime", jsonName: "EndDateTime", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 4, name: "MessageNb", kind: "scalar", localName: "MessageNb", jsonName: "MessageNb", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { minimum: 1 }, "n1validate.rules": { int32: { gte: 0 } } } } + { no: 4, name: "MessageNb", kind: "scalar", localName: "MessageNb", jsonName: "MessageNb", T: 5 /*ScalarType.INT32*/, options: { "n1validate.rules": { int32: { gte: 0 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { minimum: 1 } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "EndDateTime", "MessageNb"] } } }); } create(value?: PartialMessage): ActorSnapshot { @@ -2396,7 +2396,7 @@ export const ActorSnapshot = new ActorSnapshot$Type(); class CarrierService$Type extends MessageType { constructor() { super("api.CarrierService", [ - { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unique ID", example: "\"24h\"" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unique ID", example: "\"24h\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"24 hour delivery\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } }); } diff --git a/resource.ts b/resource.ts index b710ab2..822cb9f 100644 --- a/resource.ts +++ b/resource.ts @@ -461,8 +461,8 @@ export const CleanResourceResult = new CleanResourceResult$Type(); * @generated ServiceType for protobuf service api.ResourceService */ export const ResourceService = new ServiceType("api.ResourceService", [ - { name: "CreateResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Create a new resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Resource" }, I: CreateResourceRequest, O: CreateResourceResponse }, - { name: "DeleteResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Delete a resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Resource" }, I: DeleteResourceRequest, O: DeleteResourceResponse }, - { name: "CleanResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Clean a resource from databases and UMA" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Resource" }, I: CleanResourceRequest, O: CleanResourceResult }, - { name: "ListResources", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "List resources" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Resource" }, I: ListResourcesRequest, O: ListResourcesResponse } + { name: "CreateResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Create a new resource" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateResourceRequest, O: CreateResourceResponse }, + { name: "DeleteResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Delete a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteResourceRequest, O: DeleteResourceResponse }, + { name: "CleanResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "Clean a resource from databases and UMA" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CleanResourceRequest, O: CleanResourceResult }, + { name: "ListResources", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Resources"], description: "List resources" }, "api.rscType": "Platform", "api.roles": "Platform.Resource", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListResourcesRequest, O: ListResourcesResponse } ], { "api.k8sService": "authorization-server", "api.resourceManager": true }); diff --git a/restrictionLinks.ts b/restrictionLinks.ts index fe10ee5..869d7a3 100644 --- a/restrictionLinks.ts +++ b/restrictionLinks.ts @@ -1017,11 +1017,11 @@ export const DeleteForProjectRestrictionLinkResponse = new DeleteForProjectRestr * @generated ServiceType for protobuf service api.RestrictionLinkService */ export const RestrictionLinkService = new ServiceType("api.RestrictionLinkService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Create a link between a restriction and a user or a partner" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: CreateRestrictionLinkRequest, O: CreateRestrictionLinkResponse }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Update a link between a restriction and a user or a partner" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UpdateRestrictionLinkRequest, O: UpdateRestrictionLinkResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Delete a restriction link" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: DeleteRestrictionLinkRequest, O: DeleteRestrictionLinkResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Get a restriction link" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetRestrictionLinkRequest, O: GetRestrictionLinkResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "List restriction links" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: ListRestrictionLinksRequest, O: ListRestrictionLinksResponse }, - { name: "SetUserActors", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Set user's actors for a restriction. Once applied on the user, the restriction will use that list of actors if needed." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: SetUserActorsRequest, O: SetUserActorsResponse }, - { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete all restriction link in project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: DeleteForProjectRestrictionLinkRequest, O: DeleteForProjectRestrictionLinkResponse } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Create a link between a restriction and a user or a partner" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateRestrictionLinkRequest, O: CreateRestrictionLinkResponse }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Update a link between a restriction and a user or a partner" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateRestrictionLinkRequest, O: UpdateRestrictionLinkResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Delete a restriction link" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteRestrictionLinkRequest, O: DeleteRestrictionLinkResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Get a restriction link" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetRestrictionLinkRequest, O: GetRestrictionLinkResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "List restriction links" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: ListRestrictionLinksRequest, O: ListRestrictionLinksResponse }, + { name: "SetUserActors", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction Link"], description: "Set user's actors for a restriction. Once applied on the user, the restriction will use that list of actors if needed." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserActorsRequest, O: SetUserActorsResponse }, + { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete all restriction link in project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteForProjectRestrictionLinkRequest, O: DeleteForProjectRestrictionLinkResponse } ], { "api.k8sService": "rule-server" }); diff --git a/restrictions.ts b/restrictions.ts index af34f02..62a9121 100644 --- a/restrictions.ts +++ b/restrictions.ts @@ -2354,17 +2354,17 @@ export const ValidateRestrictionRuleResponse = new ValidateRestrictionRuleRespon * @generated ServiceType for protobuf service api.RestrictionService */ export const RestrictionService = new ServiceType("api.RestrictionService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Create a restriction on the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: CreateRestrictionRequest, O: CreateRestrictionResponse }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Update a restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UpdateRestrictionRequest, O: UpdateRestrictionResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get a restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: GetRestrictionRequest, O: GetRestrictionResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "List rules" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: ListRestrictionsRequest, O: ListRestrictionsResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete a restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: DeleteRestrictionRequest, O: DeleteRestrictionResponse }, - { name: "Enable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Enable a restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: EnableRestrictionRequest, O: EnableRestrictionResponse }, - { name: "Disable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Disable a restriction" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: DisableRestrictionRequest, O: DisableRestrictionResponse }, - { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete all restriction for project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: DeleteForProjectRestrictionRequest, O: DeleteForProjectRestrictionResponse }, - { name: "GetRulesJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get the JSON tree of restriction rules when compiled" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetRulesJSONTreeRequest, O: GetRulesJSONTreeResponse }, - { name: "ValidateRule", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Validate a restriction rule, will return a 400 error if the rule is not a valid restriction rule" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ValidateRestrictionRuleRequest, O: ValidateRestrictionRuleResponse }, - { name: "GetRuleJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get the JSON tree of a restriction rule when compiled" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetRuleJSONTreeRequest, O: GetRuleJSONTreeResponse }, - { name: "Compute", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Compute all the restrictions for a user on a given entity in a project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule" }, I: ComputeRuleRequest, O: ComputeRuleResponse }, - { name: "ComputeForValidation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Return all the REGEX validation for all fields for a given entity in a project the user has to respect" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ComputeForValidationRequest, O: ComputeForValidationResponse } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Create a restriction on the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateRestrictionRequest, O: CreateRestrictionResponse }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Update a restriction" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateRestrictionRequest, O: UpdateRestrictionResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get a restriction" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: GetRestrictionRequest, O: GetRestrictionResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "List rules" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: ListRestrictionsRequest, O: ListRestrictionsResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete a restriction" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteRestrictionRequest, O: DeleteRestrictionResponse }, + { name: "Enable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Enable a restriction" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: EnableRestrictionRequest, O: EnableRestrictionResponse }, + { name: "Disable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Disable a restriction" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DisableRestrictionRequest, O: DisableRestrictionResponse }, + { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Delete all restriction for project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteForProjectRestrictionRequest, O: DeleteForProjectRestrictionResponse }, + { name: "GetRulesJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get the JSON tree of restriction rules when compiled" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetRulesJSONTreeRequest, O: GetRulesJSONTreeResponse }, + { name: "ValidateRule", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Validate a restriction rule, will return a 400 error if the rule is not a valid restriction rule" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ValidateRestrictionRuleRequest, O: ValidateRestrictionRuleResponse }, + { name: "GetRuleJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Get the JSON tree of a restriction rule when compiled" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetRuleJSONTreeRequest, O: GetRuleJSONTreeResponse }, + { name: "Compute", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Compute all the restrictions for a user on a given entity in a project" }, "api.rscType": "Project", "api.roles": "Platform.Project-Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ComputeRuleRequest, O: ComputeRuleResponse }, + { name: "ComputeForValidation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Restriction"], description: "Return all the REGEX validation for all fields for a given entity in a project the user has to respect" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ComputeForValidationRequest, O: ComputeForValidationResponse } ], { "api.k8sService": "rule-server" }); diff --git a/role.ts b/role.ts index c024ad7..3af3bf5 100644 --- a/role.ts +++ b/role.ts @@ -893,7 +893,7 @@ export const ExternalPermission = new ExternalPermission$Type(); class CreatePlatformRoleRequest$Type extends MessageType { constructor() { super("api.CreatePlatformRoleRequest", [ - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1027,7 +1027,7 @@ class CreateOrganisationRoleRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1159,7 +1159,7 @@ class CreateProjectRoleRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1290,7 +1290,7 @@ export const CreateProjectRoleResult = new CreateProjectRoleResult$Type(); class UpdatePlatformRoleRequest$Type extends MessageType { constructor() { super("api.UpdatePlatformRoleRequest", [ - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1424,7 +1424,7 @@ class UpdateOrganisationRoleRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1556,7 +1556,7 @@ class UpdateProjectRoleRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission }, { no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, @@ -1789,7 +1789,7 @@ class GetOrganisationRoleRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 3, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ]); } @@ -1897,7 +1897,7 @@ class GetProjectRoleRequest$Type extends MessageType { constructor() { super("api.GetProjectRoleRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 3, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ]); } @@ -2640,7 +2640,7 @@ export const DeleteAllPlatformRolesResult = new DeleteAllPlatformRolesResult$Typ class DeletePlatformRoleRequest$Type extends MessageType { constructor() { super("api.DeletePlatformRoleRequest", [ - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ]); } @@ -2734,7 +2734,7 @@ class DeleteOrganisationRoleRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ]); } @@ -2834,7 +2834,7 @@ class DeleteProjectRoleRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } }, { no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } } ]); } @@ -3220,25 +3220,25 @@ export const GetRoleResourceTypesResult = new GetRoleResourceTypesResult$Type(); * @generated ServiceType for protobuf service api.RoleService */ export const RoleService = new ServiceType("api.RoleService", [ - { name: "CreatePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: CreatePlatformRoleRequest, O: CreatePlatformRoleResult }, - { name: "CreateOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role" }, I: CreateOrganisationRoleRequest, O: CreateOrganisationRoleResult }, - { name: "CreateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: CreateProjectRoleRequest, O: CreateProjectRoleResult }, - { name: "UpdatePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: UpdatePlatformRoleRequest, O: UpdatePlatformRoleResult }, - { name: "UpdateOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role" }, I: UpdateOrganisationRoleRequest, O: UpdateOrganisationRoleResult }, - { name: "UpdateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: UpdateProjectRoleRequest, O: UpdateProjectRoleResult }, - { name: "DeleteAllPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete all Platform roles" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: DeleteAllPlatformRolesRequest, O: DeleteAllPlatformRolesResult }, - { name: "DeletePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: DeletePlatformRoleRequest, O: DeletePlatformRoleResult }, - { name: "DeleteOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role" }, I: DeleteOrganisationRoleRequest, O: DeleteOrganisationRoleResult }, - { name: "DeleteProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: DeleteProjectRoleRequest, O: DeleteProjectRoleResult }, - { name: "GetPlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: GetPlatformRoleRequest, O: GetPlatformRoleResult }, - { name: "GetOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role" }, I: GetOrganisationRoleRequest, O: GetOrganisationRoleResult }, - { name: "GetProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: GetProjectRoleRequest, O: GetProjectRoleResult }, - { name: "ListPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: ListPlatformRolesRequest, O: ListPlatformRolesResult }, - { name: "ListOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role" }, I: ListOrganisationRolesRequest, O: ListOrganisationRolesResult }, - { name: "ListProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: ListProjectRolesRequest, O: ListProjectRolesResult }, - { name: "PutRoleExternalPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Put external permissions on role" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: PutRoleExternalPermissionsRequest, O: PutRoleExternalPermissionsResult }, - { name: "DeleteRoleExternalPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete external permissions on role" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: DeleteRoleExternalPermissionsRequest, O: DeleteRoleExternalPermissionsResult }, - { name: "PropagateRolesOnResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Propagate roles on resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: PropagateRolesOnResourceRequest, O: PropagateRolesOnResourceResult }, - { name: "DeleteRolesOnResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete roles on resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Role" }, I: DeleteRolesOnResourceRequest, O: DeleteRolesOnResourceResult }, - { name: "GetRoleResourceTypes", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get available role resource types" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: GetRoleResourceTypesRequest, O: GetRoleResourceTypesResult } + { name: "CreatePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Platform role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "SDK" } }, I: CreatePlatformRoleRequest, O: CreatePlatformRoleResult }, + { name: "CreateOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Organisation role" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOrganisationRoleRequest, O: CreateOrganisationRoleResult }, + { name: "CreateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Create Project role" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateProjectRoleRequest, O: CreateProjectRoleResult }, + { name: "UpdatePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Platform role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdatePlatformRoleRequest, O: UpdatePlatformRoleResult }, + { name: "UpdateOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Organisation role" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOrganisationRoleRequest, O: UpdateOrganisationRoleResult }, + { name: "UpdateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Update Project role" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateProjectRoleRequest, O: UpdateProjectRoleResult }, + { name: "DeleteAllPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete all Platform roles" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllPlatformRolesRequest, O: DeleteAllPlatformRolesResult }, + { name: "DeletePlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Platform role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePlatformRoleRequest, O: DeletePlatformRoleResult }, + { name: "DeleteOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Organisation role" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOrganisationRoleRequest, O: DeleteOrganisationRoleResult }, + { name: "DeleteProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete Project role" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteProjectRoleRequest, O: DeleteProjectRoleResult }, + { name: "GetPlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Platform role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPlatformRoleRequest, O: GetPlatformRoleResult }, + { name: "GetOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Organisation role" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOrganisationRoleRequest, O: GetOrganisationRoleResult }, + { name: "GetProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get Project role" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectRoleRequest, O: GetProjectRoleResult }, + { name: "ListPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Platform role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "SDK" } }, I: ListPlatformRolesRequest, O: ListPlatformRolesResult }, + { name: "ListOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Organisation role" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOrganisationRolesRequest, O: ListOrganisationRolesResult }, + { name: "ListProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "List Project role" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: ListProjectRolesRequest, O: ListProjectRolesResult }, + { name: "PutRoleExternalPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Put external permissions on role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PutRoleExternalPermissionsRequest, O: PutRoleExternalPermissionsResult }, + { name: "DeleteRoleExternalPermissions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete external permissions on role" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteRoleExternalPermissionsRequest, O: DeleteRoleExternalPermissionsResult }, + { name: "PropagateRolesOnResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Propagate roles on resource" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PropagateRolesOnResourceRequest, O: PropagateRolesOnResourceResult }, + { name: "DeleteRolesOnResource", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Delete roles on resource" }, "api.rscType": "Platform", "api.roles": "Platform.Role", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteRolesOnResourceRequest, O: DeleteRolesOnResourceResult }, + { name: "GetRoleResourceTypes", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Roles"], description: "Get available role resource types" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetRoleResourceTypesRequest, O: GetRoleResourceTypesResult } ], { "api.k8sService": "authorization-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/ruleEngine_model.ts b/ruleEngine_model.ts index 95b8460..bda4b2d 100644 --- a/ruleEngine_model.ts +++ b/ruleEngine_model.ts @@ -1438,7 +1438,7 @@ class EngineRule$Type extends MessageType { constructor() { super("api.EngineRule", [ { no: 10, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ }, - { no: 20, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[A-Za-z0-9_]+$" }, "n1validate.rules": { string: { pattern: "^[A-Za-z0-9_]+$" } } } }, + { no: 20, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Za-z0-9_]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[A-Za-z0-9_]+$" } } }, { no: 30, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ }, { no: 40, name: "ValidityType", kind: "enum", localName: "ValidityType", jsonName: "ValidityType", T: () => ["api.EngineRuleValidityType", EngineRuleValidityType], options: { "n1validate.rules": { enum: { definedOnly: true, notIn: [0] } } } }, { no: 41, name: "ValidFrom", kind: "scalar", localName: "ValidFrom", jsonName: "ValidFrom", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true, ignoreEmpty: true } } } }, diff --git a/ruleEngine_services.ts b/ruleEngine_services.ts index 087154b..2f955fc 100644 --- a/ruleEngine_services.ts +++ b/ruleEngine_services.ts @@ -467,7 +467,7 @@ class PutEngineRuleRequest$Type extends MessageType { constructor() { super("api.PutEngineRuleRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 10, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[A-Za-z0-9_]+$" }, "n1validate.rules": { string: { pattern: "^[A-Za-z0-9_]+$" } } } }, + { no: 10, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Za-z0-9_]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[A-Za-z0-9_]+$" } } }, { no: 20, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/ }, { no: 30, name: "ValidityType", kind: "enum", localName: "ValidityType", jsonName: "ValidityType", T: () => ["api.EngineRuleValidityType", EngineRuleValidityType], options: { "n1validate.rules": { enum: { definedOnly: true, notIn: [0] } } } }, { no: 31, name: "ValidFrom", kind: "scalar", localName: "ValidFrom", jsonName: "ValidFrom", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true, ignoreEmpty: true } } } }, @@ -1953,27 +1953,27 @@ export const DeleteMappingTableResponse = new DeleteMappingTableResponse$Type(); * @generated ServiceType for protobuf service api.RuleEngineService */ export const RuleEngineService = new ServiceType("api.RuleEngineService", [ - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Create or update an engine rule for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: PutEngineRuleRequest, O: PutEngineRuleResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Get an engine rule for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: GetEngineRuleRequest, O: GetEngineRuleResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "List engine rules for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: ListEngineRuleRequest, O: ListEngineRuleResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Delete an engine rule for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: DeleteEngineRuleRequest, O: DeleteEngineRuleResponse }, - { name: "ToggleDebugOn", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Turn on debug mode for the rule engine on a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: ToggleDebugOnRequest, O: ToggleDebugOnResponse } + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Create or update an engine rule for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: PutEngineRuleRequest, O: PutEngineRuleResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Get an engine rule for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: GetEngineRuleRequest, O: GetEngineRuleResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "List engine rules for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: ListEngineRuleRequest, O: ListEngineRuleResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Delete an engine rule for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteEngineRuleRequest, O: DeleteEngineRuleResponse }, + { name: "ToggleDebugOn", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["RuleEngine"], description: "Turn on debug mode for the rule engine on a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: ToggleDebugOnRequest, O: ToggleDebugOnResponse } ], { "api.k8sService": "rule-server" }); /** * @generated ServiceType for protobuf service api.ComputationService */ export const ComputationService = new ServiceType("api.ComputationService", [ - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Create or update a computation for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: PutComputationRequest, O: PutComputationResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Get a computation for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: GetComputationRequest, O: GetComputationResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "List computations for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: ListComputationRequest, O: ListComputationResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Delete a computation for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: DeleteComputationRequest, O: DeleteComputationResponse } + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Create or update a computation for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: PutComputationRequest, O: PutComputationResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Get a computation for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: GetComputationRequest, O: GetComputationResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "List computations for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: ListComputationRequest, O: ListComputationResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Computation"], description: "Delete a computation for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteComputationRequest, O: DeleteComputationResponse } ], { "api.k8sService": "rule-server" }); /** * @generated ServiceType for protobuf service api.MappingTableService */ export const MappingTableService = new ServiceType("api.MappingTableService", [ - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Create or update a mapping table for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: PutMappingTableRequest, O: PutMappingTableResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Get a mapping table for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: GetMappingTableRequest, O: GetMappingTableResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "List mapping tables for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: ListMappingTableRequest, O: ListMappingTableResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Delete a mapping table for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules" }, I: DeleteMappingTableRequest, O: DeleteMappingTableResponse } + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Create or update a mapping table for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: PutMappingTableRequest, O: PutMappingTableResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Get a mapping table for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMappingTableRequest, O: GetMappingTableResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "List mapping tables for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: ListMappingTableRequest, O: ListMappingTableResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["MappingTable"], description: "Delete a mapping table for a project" }, "api.rscType": "Project", "api.roles": "Platform.RuleEngine", "api.moduleID": "rules", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteMappingTableRequest, O: DeleteMappingTableResponse } ], { "api.k8sService": "rule-server" }); diff --git a/rules.ts b/rules.ts index 48b609b..11aab24 100644 --- a/rules.ts +++ b/rules.ts @@ -1353,12 +1353,12 @@ export const GetJSONTreeResponse = new GetJSONTreeResponse$Type(); * @generated ServiceType for protobuf service api.RuleService */ export const RuleService = new ServiceType("api.RuleService", [ - { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Create a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: CreateRuleRequest, O: CreateRuleResponse }, - { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Update a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: UpdateRuleRequest, O: UpdateRuleResponse }, - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Get a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: GetRuleRequest, O: GetRuleResponse }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "List rules" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: ListRulesRequest, O: ListRulesResponse }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Delete a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: DeleteRuleRequest, O: DeleteRuleResponse }, - { name: "Enable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Enable a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: EnableRuleRequest, O: EnableRuleResponse }, - { name: "Disable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Disable a rule" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: DisableRuleRequest, O: DisableRuleResponse }, - { name: "GetJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Get the JSON tree of a rule when compiled" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Rule" }, I: GetJSONTreeRequest, O: GetJSONTreeResponse } + { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Create a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateRuleRequest, O: CreateRuleResponse }, + { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Update a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateRuleRequest, O: UpdateRuleResponse }, + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Get a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetRuleRequest, O: GetRuleResponse }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "List rules" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListRulesRequest, O: ListRulesResponse }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Delete a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteRuleRequest, O: DeleteRuleResponse }, + { name: "Enable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Enable a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: EnableRuleRequest, O: EnableRuleResponse }, + { name: "Disable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Disable a rule" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DisableRuleRequest, O: DisableRuleResponse }, + { name: "GetJSONTree", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Rule"], description: "Get the JSON tree of a rule when compiled" }, "api.rscType": "Platform", "api.roles": "Platform.Rule", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetJSONTreeRequest, O: GetJSONTreeResponse } ], { "api.k8sService": "rule-server" }); diff --git a/shared.ts b/shared.ts index cbf1527..371f510 100644 --- a/shared.ts +++ b/shared.ts @@ -3139,7 +3139,7 @@ export enum AppointmentType { class RequestHeader$Type extends MessageType { constructor() { super("api.RequestHeader", [ - { no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } } + { no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" } } } ]); } create(value?: PartialMessage): RequestHeader { @@ -3241,7 +3241,7 @@ export const TimeRange = new TimeRange$Type(); class RequestProjectHeader$Type extends MessageType { constructor() { super("api.RequestProjectHeader", [ - { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project", example: "\"Your_Project_ID\"" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project", example: "\"Your_Project_ID\"" } } }, { no: 3, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 4, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); @@ -3304,7 +3304,7 @@ export const RequestProjectHeader = new RequestProjectHeader$Type(); class RequestOrganisationHeader$Type extends MessageType { constructor() { super("api.RequestOrganisationHeader", [ - { no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the organisation" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the organisation" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } }); @@ -3367,7 +3367,7 @@ export const RequestOrganisationHeader = new RequestOrganisationHeader$Type(); class RequestBucketHeader$Type extends MessageType { constructor() { super("api.RequestBucketHeader", [ - { no: 1, name: "BucketID", kind: "scalar", localName: "BucketID", jsonName: "BucketID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the bucket" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "BucketID", kind: "scalar", localName: "BucketID", jsonName: "BucketID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the bucket" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["BucketID"] } } }); @@ -3430,7 +3430,7 @@ export const RequestBucketHeader = new RequestBucketHeader$Type(); class RequestPartnerAppHeader$Type extends MessageType { constructor() { super("api.RequestPartnerAppHeader", [ - { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the partnerApp" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the partnerApp" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } }); @@ -3493,7 +3493,7 @@ export const RequestPartnerAppHeader = new RequestPartnerAppHeader$Type(); class RequestConnectionHeader$Type extends MessageType { constructor() { super("api.RequestConnectionHeader", [ - { no: 1, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the connection" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the connection" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ConnectionID"] } } }); @@ -3556,7 +3556,7 @@ export const RequestConnectionHeader = new RequestConnectionHeader$Type(); class RequestAttachmentTypeHeader$Type extends MessageType { constructor() { super("api.RequestAttachmentTypeHeader", [ - { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the attachment type" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the attachment type" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } ]); @@ -3879,7 +3879,7 @@ export const QueryBasicHeader = new QueryBasicHeader$Type(); class QueryProjectHeader$Type extends MessageType { constructor() { super("api.QueryProjectHeader", [ - { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }, + { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" } } }, { no: 3, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Start position of the query result page. Pagination disabled if equal to -1.", example: "\"50\"" } } }, { no: 4, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Length of the query result page", example: "\"50\"" } } }, { no: 5, name: "LocalizedLabel", kind: "scalar", localName: "LocalizedLabel", jsonName: "LocalizedLabel", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Return the message in the user's language" } } } @@ -4225,7 +4225,7 @@ export const EventHeader = new EventHeader$Type(); class EntityID$Type extends MessageType { constructor() { super("api.EntityID", [ - { no: 2, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" }, "n1validate.rules": { string: { minLen: "1", maxLen: "192" } } } }, + { no: 2, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", maxLen: "192" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" } } }, { no: 3, name: "RefDate", kind: "message", localName: "RefDate", jsonName: "RefDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your effective date. If your event triggers a status change, this date will be used into the status ActualDate" } } }, { no: 4, name: "CustomFields", kind: "message", localName: "CustomFields", jsonName: "CustomFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CustomField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "A free-form key/value map provided by the client. The API stores and returns these fields as-is. Intended solely for client use; the API does not interpret or validate the content." }, "api.aggKey": "Key" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RefID"] } } }); @@ -4287,7 +4287,7 @@ export const EntityID = new EntityID$Type(); class QueryEntityID$Type extends MessageType { constructor() { super("api.QueryEntityID", [ - { no: 1, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" }, "n1validate.rules": { string: { minLen: "1", maxLen: "192" } } } } + { no: 1, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", maxLen: "192" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" } } } ]); } create(value?: PartialMessage): QueryEntityID { @@ -4587,8 +4587,8 @@ export const GenericObjectPayload = new GenericObjectPayload$Type(); class DateTime$Type extends MessageType { constructor() { super("api.DateTime", [ - { no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, - { no: 2, name: "AuthorTimeZone", kind: "scalar", localName: "AuthorTimeZone", jsonName: "AuthorTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Time zone from where the author emits the event in this format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { tzData: true } } } } + { no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format", example: "\"2023-01-01T00:00:00Z\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 2, name: "AuthorTimeZone", kind: "scalar", localName: "AuthorTimeZone", jsonName: "AuthorTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Time zone from where the author emits the event in this format", example: "\"Europe/Paris\"" } } } ]); } create(value?: PartialMessage): DateTime { @@ -4733,7 +4733,7 @@ class Amount$Type extends MessageType { constructor() { super("api.Amount", [ { no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }, - { no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } } + { no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 4217 currency code", example: "[\"EUR\", \"USD\"]" }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } } ]); } create(value?: PartialMessage): Amount { @@ -5396,11 +5396,11 @@ export const MetadataElement = new MetadataElement$Type(); class SimpleFilter$Type extends MessageType { constructor() { super("api.SimpleFilter", [ - { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "n1validate.rules": { string: { maxLen: "250" } } } }, - { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if only one value" }, "n1validate.rules": { string: { maxLen: "250" } } } }, - { no: 3, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if more than one value" }, "n1validate.rules": { repeated: { items: { string: { maxLen: "250" } } } } } }, - { no: 4, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"not\"" }, "n1validate.rules": { string: { maxLen: "50" } } } }, - { no: 5, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "n1validate.rules": { string: { maxLen: "250" } } } } + { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" } } }, + { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if only one value" } } }, + { no: 3, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { maxLen: "250" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if more than one value" } } }, + { no: 4, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"not\"" } } }, + { no: 5, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" } } } ]); } create(value?: PartialMessage): SimpleFilter { @@ -5546,10 +5546,10 @@ export const CombinedFilter = new CombinedFilter$Type(); class RangeFilter$Type extends MessageType { constructor() { super("api.RangeFilter", [ - { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "n1validate.rules": { string: { maxLen: "250" } } } }, - { no: 2, name: "valueLt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Maximum value" }, "n1validate.rules": { string: { maxLen: "250" } } } }, - { no: 3, name: "valueGt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Minimum value" }, "n1validate.rules": { string: { maxLen: "250" } } } }, - { no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "n1validate.rules": { string: { maxLen: "250" } } } } + { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" } } }, + { no: 2, name: "valueLt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Maximum value" } } }, + { no: 3, name: "valueGt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Minimum value" } } }, + { no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" } } } ]); } create(value?: PartialMessage): RangeFilter { @@ -5680,7 +5680,7 @@ export const BlockFilter = new BlockFilter$Type(); class MatchField$Type extends MessageType { constructor() { super("api.MatchField", [ - { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path" } } }, { no: 2, name: "AttributeCombined", kind: "scalar", localName: "AttributeCombined", jsonName: "AttributeCombined", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path for metadata filter" } } }, { no: 3, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" } } } ]); @@ -6002,8 +6002,8 @@ export const ParamElement = new ParamElement$Type(); class LabelStructure$Type extends MessageType { constructor() { super("api.LabelStructure", [ - { no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, - { no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, + { no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" } } }, { no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Code", "Label"] } } }); } @@ -6648,7 +6648,7 @@ export const StringObject = new StringObject$Type(); class StringDateObject$Type extends MessageType { constructor() { super("api.StringDateObject", [ - { no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } } + { no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } } ]); } create(value?: PartialMessage): StringDateObject { @@ -6759,9 +6759,9 @@ class ModuleRegistration$Type extends MessageType { constructor() { super("api.ModuleRegistration", [ { no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } }, - { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" } } }, { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } }, - { no: 4, name: "Timeout", kind: "scalar", localName: "Timeout", jsonName: "Timeout", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "max timeout in minutes of the module child workflow, ignored if it exceeds the platform default value." }, "n1validate.rules": { int32: { gt: 0 } } } } + { no: 4, name: "Timeout", kind: "scalar", localName: "Timeout", jsonName: "Timeout", T: 5 /*ScalarType.INT32*/, options: { "n1validate.rules": { int32: { gt: 0 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "max timeout in minutes of the module child workflow, ignored if it exceeds the platform default value." } } } ]); } create(value?: PartialMessage): ModuleRegistration { @@ -6830,7 +6830,7 @@ class ModuleDeregistration$Type extends MessageType { constructor() { super("api.ModuleDeregistration", [ { no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } }, - { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" } } }, { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } } ]); } @@ -7286,8 +7286,8 @@ export const ClaimClosure = new ClaimClosure$Type(); class ClaimSummary$Type extends MessageType { constructor() { super("api.ClaimSummary", [ - { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "ClaimTypeReason", kind: "scalar", localName: "ClaimTypeReason", jsonName: "ClaimTypeReason", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason of the claim type" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "ClaimTypeReason", kind: "scalar", localName: "ClaimTypeReason", jsonName: "ClaimTypeReason", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason of the claim type" } } }, { no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims with this type" } } } ]); } @@ -7515,8 +7515,8 @@ export const AttachmentType = new AttachmentType$Type(); class AttachmentSummary$Type extends MessageType { constructor() { super("api.AttachmentSummary", [ - { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, + { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments with this type" } } } ]); } @@ -7713,7 +7713,7 @@ class ExtractQuery$Type extends MessageType { { no: 7, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } }, { no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, - { no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, { no: 11, 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 format", example: "\"en-US\"" } } }, { no: 12, 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 format", example: "\"en-US\"" } } }, { no: 13, 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" } } } @@ -7894,7 +7894,7 @@ class CrossExtractQuery$Type extends MessageType { { no: 6, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } }, { no: 8, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, - { no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, { no: 10, 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 format", example: "\"en-US\"" } } }, { no: 11, 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 format", example: "\"en-US\"" } } }, { no: 12, 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" } } }, @@ -8720,8 +8720,8 @@ export const ElementByMatchResult = new ElementByMatchResult$Type(); class MatchElementField$Type extends MessageType { constructor() { super("api.MatchElementField", [ - { no: 1, name: "Match", kind: "scalar", localName: "Match", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" }, "n1validate.rules": { repeated: { minItems: "1" } } } } + { no: 1, name: "Match", kind: "scalar", localName: "Match", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" } } }, + { no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } } ]); } create(value?: PartialMessage): MatchElementField { @@ -8839,7 +8839,7 @@ class LabelByLanguage$Type extends MessageType { constructor() { super("api.LabelByLanguage", [ { no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } } + { no: 2, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } } ]); } create(value?: PartialMessage): LabelByLanguage { @@ -9637,8 +9637,8 @@ export const AppointmentStatusStruct = new AppointmentStatusStruct$Type(); class AppointmentSummary$Type extends MessageType { constructor() { super("api.AppointmentSummary", [ - { no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the site on which the appointment is booked" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the appointment" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the site on which the appointment is booked" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the appointment" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of the appointment" } } }, { no: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatus, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the appointment" }, "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] } } } ]); diff --git a/site.ts b/site.ts index 8687717..549e7a6 100644 --- a/site.ts +++ b/site.ts @@ -1195,9 +1195,9 @@ class Site$Type extends MessageType { { no: 15, name: "Instruction", kind: "message", localName: "Instruction", jsonName: "Instruction", T: () => Instruction }, { no: 16, name: "InstructionDocuments", kind: "message", localName: "InstructionDocuments", jsonName: "InstructionDocuments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Document }, { no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/ }, - { no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, - { no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, - { no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }, + { no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone format", example: "\"Europe/Paris\"" } } }, + { no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, + { no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, { no: 23, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "5" } } } }, { no: 24, name: "StandAloneConf", kind: "message", localName: "StandAloneConf", jsonName: "StandAloneConf", T: () => StandAloneConf } ]); @@ -1785,10 +1785,10 @@ class UpdateSettingsRequest$Type extends MessageType { { no: 14, name: "CapacityRules", kind: "message", localName: "CapacityRules", jsonName: "CapacityRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CapacityRule }, { no: 15, name: "Instruction", kind: "message", localName: "Instruction", jsonName: "Instruction", T: () => Instruction }, { no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/, options: { "n1validate.rules": { uint32: { gt: 0 } } } }, - { no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, - { no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }, - { no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }, - { no: 22, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" }, "n1validate.rules": { string: { maxLen: "5", pattern: "^[a-zA-Z0-9-]+$" } } } }, + { no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone format", example: "\"Europe/Paris\"" } } }, + { no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, + { no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, + { no: 22, name: "PrefixAppointmentID", kind: "scalar", localName: "PrefixAppointmentID", jsonName: "PrefixAppointmentID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "5", pattern: "^[a-zA-Z0-9-]+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }, { no: 23, name: "StandAloneConf", kind: "message", localName: "StandAloneConf", jsonName: "StandAloneConf", T: () => StandAloneConf } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } }); } @@ -2191,7 +2191,7 @@ class UploadInstructionDocumentRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest }, { no: 3, name: "DocID", kind: "scalar", localName: "DocID", jsonName: "DocID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }, + { no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, { no: 5, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "AckRequired", kind: "scalar", localName: "AckRequired", jsonName: "AckRequired", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DocID", "LanguageCodeISO6391"] } } }); @@ -2426,8 +2426,8 @@ class CheckAppointmentCommissionRequest$Type extends MessageType AppointmentCommission }, { no: 6, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$", ignoreEmpty: true } } } }, - { no: 8, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$", ignoreEmpty: true } } } } + { no: 7, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$", ignoreEmpty: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } }, + { no: 8, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$", ignoreEmpty: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType"] } } }); } create(value?: PartialMessage): CheckAppointmentCommissionRequest { @@ -4723,25 +4723,25 @@ export const InitBookerProfileResponse = new InitBookerProfileResponse$Type(); * @generated ServiceType for protobuf service api.SiteService */ export const SiteService = new ServiceType("api.SiteService", [ - { name: "GetSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get site settings" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Site" }, I: GetSettingsRequest, O: GetSettingsResponse }, - { name: "UpdateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site Settings" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Site" }, I: UpdateSettingsRequest, O: UpdateSettingsResponse }, - { name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UploadPhotoRequest, O: UploadPhotoResponse }, - { name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: DeletePhotoRequest, O: DeletePhotoResponse }, - { name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse }, - { name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse }, - { name: "CheckAppointmentCommission", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Check an appointment commision" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: CheckAppointmentCommissionRequest, O: CheckAppointmentCommissionResponse }, - { name: "ValidateAppointmentContent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Validate the appointment content, especially the commissions list, and sends back the allowed date range for booking on the site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ValidateAppointmentContentRequest, O: ValidateAppointmentContentResponse }, - { name: "DeleteSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage" }, I: DeleteSettingsRequest, O: DeleteSettingsResult }, - { name: "CreateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage" }, I: CreateSettingsRequest, O: CreateSettingsResponse }, - { name: "GetUnits", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the Units of a site to display" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetUnitsRequest, O: GetUnitsResponse }, - { name: "GetBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the basic settings of a site to display" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Site", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetBasicSettingsRequest, O: GetBasicSettingsResponse }, - { name: "ListAllowedSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the sites allowing booking for a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListAllowedSitesRequest, O: ListAllowedSitesResponse }, - { name: "GetActorAuthorisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the actor authorisation for a site" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: GetActorAuthorisationRequest, O: GetActorAuthorisationResponse }, - { name: "GetBookingSegmentations", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the restricted segmentation for the current state of booking" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetBookingSegmentationsRequest, O: GetBookingSegmentationsResponse }, - { name: "ResolveSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get Site from either site projectid or projectid with actor id alias." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site" }, I: ResolveSiteRequest, O: ResolveSiteResponse }, + { name: "GetSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get site settings" }, "api.rscType": "Project", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSettingsRequest, O: GetSettingsResponse }, + { name: "UpdateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site Settings" }, "api.rscType": "Project", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSettingsRequest, O: UpdateSettingsResponse }, + { name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse }, + { name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse }, + { name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse }, + { name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse }, + { name: "CheckAppointmentCommission", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Check an appointment commision" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: CheckAppointmentCommissionRequest, O: CheckAppointmentCommissionResponse }, + { name: "ValidateAppointmentContent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Validate the appointment content, especially the commissions list, and sends back the allowed date range for booking on the site" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: ValidateAppointmentContentRequest, O: ValidateAppointmentContentResponse }, + { name: "DeleteSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSettingsRequest, O: DeleteSettingsResult }, + { name: "CreateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateSettingsRequest, O: CreateSettingsResponse }, + { name: "GetUnits", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the Units of a site to display" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetUnitsRequest, O: GetUnitsResponse }, + { name: "GetBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the basic settings of a site to display" }, "api.rscType": "Project", "api.roles": "Platform.Site", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBasicSettingsRequest, O: GetBasicSettingsResponse }, + { name: "ListAllowedSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the sites allowing booking for a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAllowedSitesRequest, O: ListAllowedSitesResponse }, + { name: "GetActorAuthorisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the actor authorisation for a site" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetActorAuthorisationRequest, O: GetActorAuthorisationResponse }, + { name: "GetBookingSegmentations", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the restricted segmentation for the current state of booking" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingSegmentationsRequest, O: GetBookingSegmentationsResponse }, + { name: "ResolveSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get Site from either site projectid or projectid with actor id alias." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ResolveSiteRequest, O: ResolveSiteResponse }, { name: "InitBookerProfile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Init the booker profile for a site. The user will gain access to the site and be able to book appointments." }, "api.rscType": "Platform", "api.roles": "" }, I: InitBookerProfileRequest, O: InitBookerProfileResponse }, - { name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetBookingContextRequest, O: GetBookingContextResponse }, + { name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingContextRequest, O: GetBookingContextResponse }, { name: "GetMyBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get your appointment available booking context according to your permissions." }, "api.rscType": "Platform", "api.roles": "" }, I: GetMyBookingContextRequest, O: GetMyBookingContextResponse }, - { name: "ListSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all settings in the platform." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site" }, I: ListSettingsRequest, O: ListSettingsResponse }, - { name: "ListBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all basic settings in the platform." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Site" }, I: ListSettingsRequest, O: ListSettingsResponse } + { name: "ListSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all settings in the platform." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListSettingsRequest, O: ListSettingsResponse }, + { name: "ListBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List all basic settings in the platform." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListSettingsRequest, O: ListSettingsResponse } ], { "api.k8sService": "core-site" }); diff --git a/siteBooking.ts b/siteBooking.ts index 4b059c9..e532f86 100644 --- a/siteBooking.ts +++ b/siteBooking.ts @@ -560,8 +560,8 @@ class GetBookingSlotsRequest$Type extends MessageType { { no: 2, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection }, { no: 14, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Segmentation keys" }, "api.metadata": true, "api.aggKey": "Key" } }, - { no: 5, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, - { no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" }, "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, + { no: 5, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } }, + { no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } }, { no: 7, name: "SkippedAppointmentIDs", kind: "scalar", localName: "SkippedAppointmentIDs", jsonName: "SkippedAppointmentIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent }, { no: 11, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, @@ -806,7 +806,7 @@ class BookAppointmentPayload$Type extends MessageType { { no: 9, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent }, { no: 11, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, - { no: 13, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } } + { no: 13, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType", "Slot", "CarrierInformation", "Attendees"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" }); } create(value?: PartialMessage): BookAppointmentPayload { @@ -1374,7 +1374,7 @@ class UpdateAppointmentPayload$Type extends MessageType AppointmentContent }, { no: 6, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, - { no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } }, + { no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } }, { no: 9, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Slot", "Attendees"] } } }); } @@ -1975,21 +1975,21 @@ export const LockBookingResponse = new LockBookingResponse$Type(); * @generated ServiceType for protobuf service api.BookingService */ export const BookingService = new ServiceType("api.BookingService", [ - { name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Get available slots to book an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetBookingSlotsRequest, O: GetBookingSlotsResponse }, - { name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Get all slots to book an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: GetBookingSlotsRequest, O: GetBookingSlotsResponse }, - { name: "BookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment, if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "BookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment without order references, if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "ForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment even if the slots are not available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Cancel an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: CancelBookingAppointmentRequest, O: CancelBookingAppointmentResponse }, - { name: "ForceCancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Force Cancel an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: CancelBookingAppointmentRequest, O: CancelBookingAppointmentResponse }, - { name: "DeleteAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Delete an appointment on the site." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: DeleteBookingAppointmentRequest, O: DeleteBookingAppointmentResponse }, - { name: "UpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees), if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "UpdateAppointmentStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update the status of an appointment." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: UpdateBookingAppointmentStatusRequest, O: UpdateBookingAppointmentStatusResponse }, - { name: "UpdateAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees) without order references, if the requested slots are available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "ForceUpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees) even if the slots are not available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "WMSUpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment from a wms even if the slots are not available." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: WMSUpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "RescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update slot on an appointment." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "ForceRescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Force Update slot on an appointment." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse }, - { name: "CheckAppointmentEditable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Check if appointment is in modifiable range." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: CheckBookingAppointmentEditableRequest, O: CheckBookingAppointmentEditableResponse }, - { name: "LockBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Lock Booking." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.LockBooking" }, I: LockBookingRequest, O: LockBookingResponse } + { name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Get available slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingSlotsRequest, O: GetBookingSlotsResponse }, + { name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Get all slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingSlotsRequest, O: GetBookingSlotsResponse }, + { name: "BookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment, if the requested slots are available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "BookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment without order references, if the requested slots are available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "ForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Book an appointment even if the slots are not available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: BookBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Cancel an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: CancelBookingAppointmentRequest, O: CancelBookingAppointmentResponse }, + { name: "ForceCancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Force Cancel an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: CancelBookingAppointmentRequest, O: CancelBookingAppointmentResponse }, + { name: "DeleteAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Delete an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteBookingAppointmentRequest, O: DeleteBookingAppointmentResponse }, + { name: "UpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees), if the requested slots are available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "UpdateAppointmentStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update the status of an appointment." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateBookingAppointmentStatusRequest, O: UpdateBookingAppointmentStatusResponse }, + { name: "UpdateAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees) without order references, if the requested slots are available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "ForceUpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment (slots, commissions and attendees) even if the slots are not available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "WMSUpdateAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update an appointment from a wms even if the slots are not available." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: WMSUpdateBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "RescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update slot on an appointment." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "ForceRescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Force Update slot on an appointment." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse }, + { name: "CheckAppointmentEditable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Check if appointment is in modifiable range." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: CheckBookingAppointmentEditableRequest, O: CheckBookingAppointmentEditableResponse }, + { name: "LockBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Lock Booking." }, "api.rscType": "Platform", "api.roles": "Platform.LockBooking", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: LockBookingRequest, O: LockBookingResponse } ], { "api.k8sService": "core-site" }); diff --git a/slotbooking.ts b/slotbooking.ts index 4d14a9c..58a6f5c 100644 --- a/slotbooking.ts +++ b/slotbooking.ts @@ -491,9 +491,15 @@ export interface DateRestriction { /** * Date to use for computing the limitation. * - * @generated from protobuf field: string RestrictionField = 2 + * @generated from protobuf field: api.DateRestrictionField RestrictionField = 2 */ - RestrictionField: string; + RestrictionField: DateRestrictionField; + /** + * Metadata key to use for computing the limitation, if the restriction field is set to METADATA. + * + * @generated from protobuf field: string RestrictionMetadataKey = 4 + */ + RestrictionMetadataKey: string; /** * Value of the restriction, in open days, to apply on the date field. * @@ -859,6 +865,31 @@ export enum DateRestrictionType { */ DATE_RESTRICTION_TYPE_FORBIDDEN = 3 } +/** + * @generated from protobuf enum api.DateRestrictionField + */ +export enum DateRestrictionField { + /** + * @generated from protobuf enum value: DATE_RESTRICTION_FIELD_UNKNOWN = 0; + */ + DATE_RESTRICTION_FIELD_UNKNOWN = 0, + /** + * @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_DELIVERY_DATE_TIME = 1; + */ + DATE_RESTRICTION_FIELD_REQUESTED_DELIVERY_DATE_TIME = 1, + /** + * @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_PICK_UP_DATE_TIME = 2; + */ + DATE_RESTRICTION_FIELD_REQUESTED_PICK_UP_DATE_TIME = 2, + /** + * @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_SHIP_DATE_TIME = 3; + */ + DATE_RESTRICTION_FIELD_REQUESTED_SHIP_DATE_TIME = 3, + /** + * @generated from protobuf enum value: DATE_RESTRICTION_FIELD_METADATA = 4; + */ + DATE_RESTRICTION_FIELD_METADATA = 4 +} /** * @generated from protobuf enum api.CommandIdentifierEntry */ @@ -911,6 +942,14 @@ export enum SlotAvailabilityReasonCode { * @generated from protobuf enum value: SLOT_REASON_1200_AVAILABLE_AFTER_MAXIMUM_NOTICE_TIME = 1200; */ SLOT_REASON_1200_AVAILABLE_AFTER_MAXIMUM_NOTICE_TIME = 1200, + /** + * @generated from protobuf enum value: SLOT_REASON_1300_AVAILABLE_BEFORE_ORDER_NOTICE_TIME = 1300; + */ + SLOT_REASON_1300_AVAILABLE_BEFORE_ORDER_NOTICE_TIME = 1300, + /** + * @generated from protobuf enum value: SLOT_REASON_1400_AVAILABLE_AFTER_ORDER_NOTICE_TIME = 1400; + */ + SLOT_REASON_1400_AVAILABLE_AFTER_ORDER_NOTICE_TIME = 1400, /** * @generated from protobuf enum value: SLOT_REASON_2000_OVERBOOKED = 2000; */ @@ -923,6 +962,14 @@ export enum SlotAvailabilityReasonCode { * @generated from protobuf enum value: SLOT_REASON_2200_OVERBOOKED_AFTER_MAXIMUM_NOTICE_TIME = 2200; */ SLOT_REASON_2200_OVERBOOKED_AFTER_MAXIMUM_NOTICE_TIME = 2200, + /** + * @generated from protobuf enum value: SLOT_REASON_2300_OVERBOOKED_BEFORE_ORDER_NOTICE_TIME = 2300; + */ + SLOT_REASON_2300_OVERBOOKED_BEFORE_ORDER_NOTICE_TIME = 2300, + /** + * @generated from protobuf enum value: SLOT_REASON_2400_OVERBOOKED_AFTER_ORDER_NOTICE_TIME = 2400; + */ + SLOT_REASON_2400_OVERBOOKED_AFTER_ORDER_NOTICE_TIME = 2400, /** * @generated from protobuf enum value: SLOT_REASON_3000_NO_CAPACITY_DEFINED = 3000; */ @@ -2016,10 +2063,10 @@ class DocumentByLanguage$Type extends MessageType { constructor() { super("api.DocumentByLanguage", [ { no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the document" }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }, + { no: 4, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the document" } } }, + { no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ISO 639 code message language", example: "\"en\"" } } }, { no: 5, name: "FileName", kind: "scalar", localName: "FileName", jsonName: "FileName", T: 9 /*ScalarType.STRING*/ }, - { no: 6, name: "LongURI", kind: "scalar", localName: "LongURI", jsonName: "LongURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Long URI of the document containing the file name in order to display the file name in a tab browser" }, "n1validate.rules": { string: { minLen: "1" } } } } + { no: 6, name: "LongURI", kind: "scalar", localName: "LongURI", jsonName: "LongURI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Long URI of the document containing the file name in order to display the file name in a tab browser" } } } ]); } create(value?: PartialMessage): DocumentByLanguage { @@ -2270,14 +2317,16 @@ class DateRestriction$Type extends MessageType { constructor() { super("api.DateRestriction", [ { no: 1, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.DateRestrictionType", DateRestrictionType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 2, name: "RestrictionField", kind: "scalar", localName: "RestrictionField", jsonName: "RestrictionField", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "RestrictionField", kind: "enum", localName: "RestrictionField", jsonName: "RestrictionField", T: () => ["api.DateRestrictionField", DateRestrictionField] }, + { no: 4, name: "RestrictionMetadataKey", kind: "scalar", localName: "RestrictionMetadataKey", jsonName: "RestrictionMetadataKey", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "RestrictionValue", kind: "scalar", localName: "RestrictionValue", jsonName: "RestrictionValue", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { gte: "1", ignoreEmpty: true } } } } ]); } create(value?: PartialMessage): DateRestriction { const message = globalThis.Object.create((this.messagePrototype!)); message.Type = 0; - message.RestrictionField = ""; + message.RestrictionField = 0; + message.RestrictionMetadataKey = ""; message.RestrictionValue = 0n; if (value !== undefined) reflectionMergePartial(this, message, value); @@ -2291,8 +2340,11 @@ class DateRestriction$Type extends MessageType { case /* api.DateRestrictionType Type */ 1: message.Type = reader.int32(); break; - case /* string RestrictionField */ 2: - message.RestrictionField = reader.string(); + case /* api.DateRestrictionField RestrictionField */ 2: + message.RestrictionField = reader.int32(); + break; + case /* string RestrictionMetadataKey */ 4: + message.RestrictionMetadataKey = reader.string(); break; case /* int64 RestrictionValue */ 3: message.RestrictionValue = reader.int64().toBigInt(); @@ -2312,12 +2364,15 @@ class DateRestriction$Type extends MessageType { /* api.DateRestrictionType Type = 1; */ if (message.Type !== 0) writer.tag(1, WireType.Varint).int32(message.Type); - /* string RestrictionField = 2; */ - if (message.RestrictionField !== "") - writer.tag(2, WireType.LengthDelimited).string(message.RestrictionField); + /* api.DateRestrictionField RestrictionField = 2; */ + if (message.RestrictionField !== 0) + writer.tag(2, WireType.Varint).int32(message.RestrictionField); /* int64 RestrictionValue = 3; */ if (message.RestrictionValue !== 0n) writer.tag(3, WireType.Varint).int64(message.RestrictionValue); + /* string RestrictionMetadataKey = 4; */ + if (message.RestrictionMetadataKey !== "") + writer.tag(4, WireType.LengthDelimited).string(message.RestrictionMetadataKey); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); diff --git a/stock.ts b/stock.ts index f9e6311..ad5fc61 100644 --- a/stock.ts +++ b/stock.ts @@ -208,19 +208,19 @@ class StockPayload$Type extends MessageType { super("api.StockPayload", [ { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods }, { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.entityRef": "Actor", "api.dataRestrictionKey": "Stock", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 3, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.extractRefExclude": "Stock" } }, + { no: 3, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.extractRefExclude": "Stock" } }, { no: 4, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "api.aggSkip": "Snapshotted", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, { no: 5, name: "Movement", kind: "message", localName: "Movement", jsonName: "Movement", T: () => StockMovement, options: { "api.aggSkip": "Moved", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, - { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => StockStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, - { no: 7, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => StockStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, + { no: 7, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 8, name: "QuantityByLVs", kind: "message", localName: "QuantityByLVs", jsonName: "QuantityByLVs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "LVID" } }, { no: 9, name: "LVDetailledQuantity", kind: "scalar", localName: "LVDetailledQuantity", jsonName: "LVDetailledQuantity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 10, name: "LatestMovements", kind: "message", localName: "LatestMovements", jsonName: "LatestMovements", repeat: 2 /*RepeatType.UNPACKED*/, T: () => StockMovement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "ID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] }, "api.indexationSkip": true } }, - { no: 11, name: "RequestedStockValue", kind: "scalar", localName: "RequestedStockValue", jsonName: "RequestedStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { double: { unauthorized: true } }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, - { no: 12, name: "ToReceiveStockValue", kind: "scalar", localName: "ToReceiveStockValue", jsonName: "ToReceiveStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { double: { unauthorized: true } }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, - { no: 13, name: "LastUpdateStockDateTime", kind: "scalar", localName: "LastUpdateStockDateTime", jsonName: "LastUpdateStockDateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, - { no: 14, name: "LastUpdateRequestedDateTime", kind: "scalar", localName: "LastUpdateRequestedDateTime", jsonName: "LastUpdateRequestedDateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, - { no: 15, name: "LastUpdateToReceiveDateTime", kind: "scalar", localName: "LastUpdateToReceiveDateTime", jsonName: "LastUpdateToReceiveDateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } } + { no: 11, name: "RequestedStockValue", kind: "scalar", localName: "RequestedStockValue", jsonName: "RequestedStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "n1validate.rules": { double: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, + { no: 12, name: "ToReceiveStockValue", kind: "scalar", localName: "ToReceiveStockValue", jsonName: "ToReceiveStockValue", T: 1 /*ScalarType.DOUBLE*/, options: { "n1validate.rules": { double: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, + { no: 13, name: "LastUpdateStockDateTime", kind: "scalar", localName: "LastUpdateStockDateTime", jsonName: "LastUpdateStockDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 14, name: "LastUpdateRequestedDateTime", kind: "scalar", localName: "LastUpdateRequestedDateTime", jsonName: "LastUpdateRequestedDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 15, name: "LastUpdateToReceiveDateTime", kind: "scalar", localName: "LastUpdateToReceiveDateTime", jsonName: "LastUpdateToReceiveDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationType": { Types: [{ Context: "Stock", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } } ]); } create(value?: PartialMessage): StockPayload { diff --git a/stockInput.ts b/stockInput.ts index 5fb9ca2..dea7d4f 100644 --- a/stockInput.ts +++ b/stockInput.ts @@ -518,9 +518,9 @@ export const StockMovedEvent = new StockMovedEvent$Type(); class StockMovedRequest$Type extends MessageType { constructor() { super("api.StockMovedRequest", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } }, { no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID }, - { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "n1validate.rules": { message: { required: true } } } } + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Moved" }); } create(value?: PartialMessage): StockMovedRequest { @@ -631,10 +631,10 @@ export const StockMovedResponse = new StockMovedResponse$Type(); class StockSnapshottedPayload$Type extends MessageType { constructor() { super("api.StockSnapshottedPayload", [ - { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "n1validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } }, + { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } }, + { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } }, { no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, - { no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" }, "n1validate.rules": { message: { required: true } } } } + { no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The measured stock quantity at the given date time", required: ["Goods", "ActorID", "Snapshot"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Snapshotted", "api.postAggMethods": "computeSnapshotQuantity,quantityByBranchLVs", "api.preAggMethods": "cumulateSnapshotQuantity", "api.idGenMethod": "genStockSnapshottedId" }); } create(value?: PartialMessage): StockSnapshottedPayload { @@ -759,9 +759,9 @@ export const StockSnapshottedEvent = new StockSnapshottedEvent$Type(); class StockSnapshottedRequest$Type extends MessageType { constructor() { super("api.StockSnapshottedRequest", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } }, { no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID }, - { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "n1validate.rules": { message: { required: true } } } } + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Snapshotted" }); } create(value?: PartialMessage): StockSnapshottedRequest { @@ -872,8 +872,8 @@ export const StockSnapshottedResponse = new StockSnapshottedResponse$Type(); class StockDeletedPayload$Type extends MessageType { constructor() { super("api.StockDeletedPayload", [ - { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "n1validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } }, + { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } }, + { no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } }, { no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The stock entry has been deleted", required: ["Goods", "ActorID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted", "api.idGenMethod": "genStockDeletedId" }); } @@ -993,9 +993,9 @@ export const StockDeletedEvent = new StockDeletedEvent$Type(); class StockDeletedRequest$Type extends MessageType { constructor() { super("api.StockDeletedRequest", [ - { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "n1validate.rules": { message: { required: true } } } }, + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } }, { no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID }, - { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "n1validate.rules": { message: { required: true } } } } + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): StockDeletedRequest { @@ -1528,9 +1528,9 @@ export const StockCustomFieldsUpdatedResponse = new StockCustomFieldsUpdatedResp * @generated ServiceType for protobuf service api.StockInputAPI */ export const StockInputAPI = new ServiceType("api.StockInputAPI", [ - { name: "Moved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock has been moved. Called internally from Movement entity." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: StockMovedRequest, O: StockMovedResponse }, - { name: "Snapshotted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock image (snapshot) has been sent. This is typically called from a WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: StockSnapshottedRequest, O: StockSnapshottedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "Deprecated from 1.8. A stock entry has been deleted. This is typically called from a WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: StockDeletedRequest, O: StockDeletedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A Stock has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: StockSanitisedRequest, O: StockSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: StockCustomFieldsUpdatedRequest, O: StockCustomFieldsUpdatedResponse } + { name: "Moved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock has been moved. Called internally from Movement entity." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockMovedRequest, O: StockMovedResponse }, + { name: "Snapshotted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock image (snapshot) has been sent. This is typically called from a WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockSnapshottedRequest, O: StockSnapshottedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "Deprecated from 1.8. A stock entry has been deleted. This is typically called from a WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockDeletedRequest, O: StockDeletedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A Stock has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockSanitisedRequest, O: StockSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockCustomFieldsUpdatedRequest, O: StockCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/stockQuery.ts b/stockQuery.ts index ac75d0d..e5e830b 100644 --- a/stockQuery.ts +++ b/stockQuery.ts @@ -625,15 +625,15 @@ export const StockByMatchResult = new StockByMatchResult$Type(); * @generated ServiceType for protobuf service api.StockQuery */ export const StockQuery = new ServiceType("api.StockQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "(Deprecated, will be removed in release 1.10) Get Stock from Ids" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tableName": "stockById" }, I: StockByIdQuery, O: StockByIdResult }, - { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "(Deprecated, will be removed in release 1.10) Find a stock from its properties." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: StockByFilterQuery, O: StockByFilterResult }, - { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: StockByMatchQuery, O: StockByMatchResult }, - { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: ElementByMatchQuery, O: ElementByMatchResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Get stock KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataQuery, O: GetKPIDataResult }, - { name: "GetKPIDataForUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Get stock KPI data for a specific user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "api.moduleID": "", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataForUserQuery, O: GetKPIDataResult }, - { name: "GetKPIDataSimpleJSON", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], summary: "Get stock KPI data (SimpleJSON)", description: "Get stock KPI data in SimpleJSON table format, compatible with Grafana SimpleJSON / Infinity datasource" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Project.Stock-KPI", "api.moduleID": "", "api.tags": "PROJECT_ACTIVITY" }, I: GetKPIDataSimpleJSONQuery, O: GetKPIDataSimpleJSONResult }, - { name: "ExtractKPI", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractKPIQuery, O: ExtractKPIResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult }, - { name: "FindKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Find stock KPI data" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: FindKPIDataQuery, O: FindKPIDataResult }, - { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Schedule a data extraction" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY" }, I: ExtractQuery, O: ExtractResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "(Deprecated, will be removed in release 1.10) Get Stock from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tableName": "stockById", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockByIdQuery, O: StockByIdResult }, + { name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "(Deprecated, will be removed in release 1.10) Find a stock from its properties." }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockByFilterQuery, O: StockByFilterResult }, + { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockByMatchQuery, O: StockByMatchResult }, + { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult }, + { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Get stock KPI data" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult }, + { name: "GetKPIDataForUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Get stock KPI data for a specific user" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "api.moduleID": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKPIDataForUserQuery, O: GetKPIDataResult }, + { name: "GetKPIDataSimpleJSON", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], summary: "Get stock KPI data (SimpleJSON)", description: "Get stock KPI data in SimpleJSON table format, compatible with Grafana SimpleJSON / Infinity datasource" }, "api.rscType": "Project", "api.roles": "Project.Stock-KPI", "api.moduleID": "", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataSimpleJSONQuery, O: GetKPIDataSimpleJSONResult }, + { name: "ExtractKPI", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractKPIQuery, O: ExtractKPIResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult }, + { name: "FindKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Find stock KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindKPIDataQuery, O: FindKPIDataResult }, + { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "stock-inventory", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/tiny-url.ts b/tiny-url.ts index d5d50d5..a3ba298 100644 --- a/tiny-url.ts +++ b/tiny-url.ts @@ -774,15 +774,15 @@ class TinyURL$Type extends MessageType { constructor() { super("api.TinyURL", [ { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 2, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.TinyURLKind", TinyURLKind], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the tiny url (file, payload or url)." }, "n1validate.rules": { enum: { definedOnly: true } } } }, - { no: 3, name: "Details", kind: "message", localName: "Details", jsonName: "Details", T: () => TinyURLKindDetails, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contains data specific to the selected tiny url kind." }, "n1validate.rules": { message: { required: true } } } }, - { no: 4, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Shortened URL used to retrieve the original data." }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Kind", kind: "enum", localName: "Kind", jsonName: "Kind", T: () => ["api.TinyURLKind", TinyURLKind], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Kind of the tiny url (file, payload or url)." } } }, + { no: 3, name: "Details", kind: "message", localName: "Details", jsonName: "Details", T: () => TinyURLKindDetails, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contains data specific to the selected tiny url kind." } } }, + { no: 4, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Shortened URL used to retrieve the original data." } } }, { no: 5, name: "MIMEType", kind: "scalar", localName: "MIMEType", jsonName: "MIMEType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 6, name: "Size", kind: "scalar", localName: "Size", jsonName: "Size", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }, { no: 7, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "n1validate.rules": { enum: { definedOnly: true } } } }, { no: 8, name: "ResourceRefID", kind: "scalar", localName: "ResourceRefID", jsonName: "ResourceRefID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 9, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, - { no: 10, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 9, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, + { no: 10, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, { no: 11, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 12, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ } ]); @@ -909,10 +909,10 @@ class OrganisationShortenURLRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } }); } @@ -1049,10 +1049,10 @@ class ProjectShortenURLRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } }); } @@ -1189,10 +1189,10 @@ class PartnerAppShortenURLRequest$Type extends MessageType RequestPartnerAppHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "URL", "TimeToLive"] } } }); } @@ -1329,10 +1329,10 @@ class OrganisationUploadFileRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } }); } @@ -1468,10 +1468,10 @@ class ProjectUploadFileRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } }); } @@ -1607,10 +1607,10 @@ class PartnerAppUploadFileRequest$Type extends MessageType RequestPartnerAppHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "File", kind: "message", localName: "File", jsonName: "File", T: () => FileDataRequest, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "File", "TimeToLive"] } } }); } @@ -1745,11 +1745,11 @@ class OrganisationUploadPayloadRequest$Type extends MessageType RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } }); } @@ -1885,11 +1885,11 @@ class ProjectUploadPayloadRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } }); } @@ -2025,11 +2025,11 @@ class PartnerAppUploadPayloadRequest$Type extends MessageType RequestPartnerAppHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." }, "n1validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." }, "n1validate.rules": { int64: { lte: "1500000000" } } } }, + { no: 2, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The payload content, which can either be plain text or a stringified JSON. The MIME type will be automatically inferred based on whether the content can be parsed as JSON." } } }, + { no: 3, name: "TimeToLive", kind: "scalar", localName: "TimeToLive", jsonName: "TimeToLive", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { lte: "1500000000" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Specifies the time to live (TTL) of the TinyURL in seconds, limited to fifty years. A value of zero or less indicates an infinite TTL." } } }, { no: 4, name: "IsPublic", kind: "scalar", localName: "IsPublic", jsonName: "IsPublic", T: 8 /*ScalarType.BOOL*/ }, { no: 5, name: "IsOnce", kind: "scalar", localName: "IsOnce", jsonName: "IsOnce", T: 8 /*ScalarType.BOOL*/ }, - { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" }, "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } } } }, + { no: 6, name: "Alias", kind: "scalar", localName: "Alias", jsonName: "Alias", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "50", pattern: "^[a-zA-Z0-9-]*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional, customize the link by adding an alias to the url. If omitted a unique ID is generated", pattern: "^[a-zA-Z0-9-]*$" } } }, { no: 7, name: "OverwriteExisting", kind: "scalar", localName: "OverwriteExisting", jsonName: "OverwriteExisting", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If true, allows overwriting an existing tiny URL with the same alias. If false, the request will fail if the alias already exists. Default value is false." } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload", "TimeToLive"] } } }); } @@ -3184,23 +3184,23 @@ export const DeleteAllTinyURLsResponse = new DeleteAllTinyURLsResponse$Type(); * @generated ServiceType for protobuf service api.TinyURLService */ export const TinyURLService = new ServiceType("api.TinyURLService", [ - { name: "OrganisationShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a organisation." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationShortenURLRequest, O: OrganisationShortenURLResponse }, - { name: "ProjectShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a project." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ProjectShortenURLRequest, O: ProjectShortenURLResponse }, - { name: "PartnerAppShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a partnerApp." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppShortenURLRequest, O: PartnerAppShortenURLResponse }, - { name: "OrganisationUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific organisation resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/OrganisationUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F OrganisationID=myOrganisationID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationUploadFileRequest, O: OrganisationUploadFileResponse }, - { name: "ProjectUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific project resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/ProjectUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F ProjectID=myProjectID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL" }, I: ProjectUploadFileRequest, O: ProjectUploadFileResponse }, - { name: "PartnerAppUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific partnerApp resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/PartnerAppUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F PartnerAppID=myPartnerAppID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppUploadFileRequest, O: PartnerAppUploadFileResponse }, - { name: "OrganisationUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific organisation resource. Generates a short URL to retrieve the payload." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationUploadPayloadRequest, O: OrganisationUploadPayloadResponse }, - { name: "ProjectUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific project resource. Generates a short URL to retrieve the payload." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL" }, I: ProjectUploadPayloadRequest, O: ProjectUploadPayloadResponse }, - { name: "PartnerAppUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific partnerApp resource. Generates a short URL to retrieve the payload." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppUploadPayloadRequest, O: PartnerAppUploadPayloadResponse }, - { name: "OrganisationListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific organisation resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationListTinyURLsRequest, O: OrganisationListTinyURLsResponse }, - { name: "ProjectListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific project resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ProjectListTinyURLsRequest, O: ProjectListTinyURLsResponse }, - { name: "PartnerAppListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific partnerApp resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppListTinyURLsRequest, O: PartnerAppListTinyURLsResponse }, - { name: "OrganisationDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific organisation resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationDeleteTinyURLRequest, O: OrganisationDeleteTinyURLResponse }, - { name: "ProjectDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific project resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL" }, I: ProjectDeleteTinyURLRequest, O: ProjectDeleteTinyURLResponse }, - { name: "PartnerAppDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific partnerApp resource." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppDeleteTinyURLRequest, O: PartnerAppDeleteTinyURLResponse }, - { name: "OrganisationGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific Organisation resource. Can be a link or a file." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: OrganisationGetTinyURLRequest, O: OrganisationGetTinyURLResponse }, - { name: "ProjectGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific project resource. Can be a link or a file." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ProjectGetTinyURLRequest, O: ProjectGetTinyURLResponse }, - { name: "PartnerAppGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific partner app resource. Can be a link or a file." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "PartnerApp", "api.roles": "" }, I: PartnerAppGetTinyURLRequest, O: PartnerAppGetTinyURLResponse }, - { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete all tiny URLs linked to a resource" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Deletion" }, I: DeleteAllTinyURLsRequest, O: DeleteAllTinyURLsResponse } + { name: "OrganisationShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a organisation." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationShortenURLRequest, O: OrganisationShortenURLResponse }, + { name: "ProjectShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a project." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectShortenURLRequest, O: ProjectShortenURLResponse }, + { name: "PartnerAppShortenURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Generates a short alias for a given URL linked to a partnerApp." }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppShortenURLRequest, O: PartnerAppShortenURLResponse }, + { name: "OrganisationUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific organisation resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/OrganisationUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F OrganisationID=myOrganisationID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationUploadFileRequest, O: OrganisationUploadFileResponse }, + { name: "ProjectUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific project resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/ProjectUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F ProjectID=myProjectID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectUploadFileRequest, O: ProjectUploadFileResponse }, + { name: "PartnerAppUploadFile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a file linked to a specific partnerApp resource. Generates a short URL to download the file.
Must be called using a multipart form-data content type request.
Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.TinyURLService/PartnerAppUploadFile -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F PartnerAppID=myPartnerAppID -F TimeToLive=-1 -F IsPublic=false -F IsOnce=false -F Alias=myAlias" }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppUploadFileRequest, O: PartnerAppUploadFileResponse }, + { name: "OrganisationUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific organisation resource. Generates a short URL to retrieve the payload." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationUploadPayloadRequest, O: OrganisationUploadPayloadResponse }, + { name: "ProjectUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific project resource. Generates a short URL to retrieve the payload." }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectUploadPayloadRequest, O: ProjectUploadPayloadResponse }, + { name: "PartnerAppUploadPayload", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Uploads a payload (either plain text or JSON) linked to a specific partnerApp resource. Generates a short URL to retrieve the payload." }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppUploadPayloadRequest, O: PartnerAppUploadPayloadResponse }, + { name: "OrganisationListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific organisation resource." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationListTinyURLsRequest, O: OrganisationListTinyURLsResponse }, + { name: "ProjectListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific project resource." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectListTinyURLsRequest, O: ProjectListTinyURLsResponse }, + { name: "PartnerAppListTinyURLs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "List all the tiny URLs linked to a specific partnerApp resource." }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppListTinyURLsRequest, O: PartnerAppListTinyURLsResponse }, + { name: "OrganisationDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific organisation resource." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationDeleteTinyURLRequest, O: OrganisationDeleteTinyURLResponse }, + { name: "ProjectDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific project resource." }, "api.rscType": "Project", "api.roles": "Platform.Project-TinyURL", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectDeleteTinyURLRequest, O: ProjectDeleteTinyURLResponse }, + { name: "PartnerAppDeleteTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete a tiny URL linked to a specific partnerApp resource." }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppDeleteTinyURLRequest, O: PartnerAppDeleteTinyURLResponse }, + { name: "OrganisationGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific Organisation resource. Can be a link or a file." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: OrganisationGetTinyURLRequest, O: OrganisationGetTinyURLResponse }, + { name: "ProjectGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific project resource. Can be a link or a file." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ProjectGetTinyURLRequest, O: ProjectGetTinyURLResponse }, + { name: "PartnerAppGetTinyURL", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Get a tiny URL linked to a specific partner app resource. Can be a link or a file." }, "api.rscType": "PartnerApp", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: PartnerAppGetTinyURLRequest, O: PartnerAppGetTinyURLResponse }, + { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["TinyURL"], description: "Delete all tiny URLs linked to a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllTinyURLsRequest, O: DeleteAllTinyURLsResponse } ], { "api.k8sService": "tiny-url-server" }); diff --git a/tracking.ts b/tracking.ts index 3934aba..90b3cc2 100644 --- a/tracking.ts +++ b/tracking.ts @@ -205,7 +205,7 @@ class TrackingPayload$Type extends MessageType { { no: 3, name: "Events", kind: "message", localName: "Events", jsonName: "Events", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TrackingEvent, options: { "api.aggAppend": "Notified" } }, { no: 4, name: "NextTrackingID", kind: "scalar", localName: "NextTrackingID", jsonName: "NextTrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 5, name: "NextTrackingURL", kind: "scalar", localName: "NextTrackingURL", jsonName: "NextTrackingURL", T: 9 /*ScalarType.STRING*/ }, - { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => TrackingStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => TrackingStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 8, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime }, { no: 9, name: "HUCarrier", kind: "message", localName: "HUCarrier", jsonName: "HUCarrier", T: () => TradeTier }, { no: 10, name: "HUShipFrom", kind: "message", localName: "HUShipFrom", jsonName: "HUShipFrom", T: () => TradeTier }, diff --git a/trackingInput.ts b/trackingInput.ts index 0094eb0..22e8258 100644 --- a/trackingInput.ts +++ b/trackingInput.ts @@ -752,7 +752,7 @@ export interface TrackingCustomFieldsUpdatedResponse { class TrackingNotifiedPayload$Type extends MessageType { constructor() { super("api.TrackingNotifiedPayload", [ - { no: 1, name: "Events", kind: "message", localName: "Events", jsonName: "Events", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TrackingEvent, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Notified events on the tracking" }, "n1validate.rules": { repeated: { minItems: "1" } } } } + { no: 1, name: "Events", kind: "message", localName: "Events", jsonName: "Events", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TrackingEvent, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Notified events on the tracking" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Events"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Notified" }); } create(value?: PartialMessage): TrackingNotifiedPayload { @@ -972,9 +972,9 @@ export const TrackingNotifiedResponse = new TrackingNotifiedResponse$Type(); class TrackingDispatchedPayload$Type extends MessageType { constructor() { super("api.TrackingDispatchedPayload", [ - { no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Handling unit ID which is tracked" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Handling unit ID which is tracked" } } }, { no: 2, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The tracking URL" } } }, - { no: 5, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This date will be applied to the stock move. it should be the same as the date in the header" }, "n1validate.rules": { message: { required: true } } } }, + { no: 5, name: "DispatchedDateTime", kind: "message", localName: "DispatchedDateTime", jsonName: "DispatchedDateTime", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This date will be applied to the stock move. it should be the same as the date in the header" } } }, { no: 6, name: "HUCarrier", kind: "message", localName: "HUCarrier", jsonName: "HUCarrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The carrier which tracks the Handling unit" } } }, { no: 7, name: "HUShipFrom", kind: "message", localName: "HUShipFrom", jsonName: "HUShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the Handling unit is shipped from" } } }, { no: 8, name: "HUShipTo", kind: "message", localName: "HUShipTo", jsonName: "HUShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the Handling unit is shipped to" } } } @@ -1228,7 +1228,7 @@ export const TrackingDispatchedResponse = new TrackingDispatchedResponse$Type(); class TrackingHULabeledPayload$Type extends MessageType { constructor() { super("api.TrackingHULabeledPayload", [ - { no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Handling unit ID which is tracked" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Handling unit ID which is tracked" } } }, { no: 2, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The tracking URL" } } }, { no: 6, name: "HUCarrier", kind: "message", localName: "HUCarrier", jsonName: "HUCarrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The carrier which tracks the Handling unit" } } }, { no: 7, name: "HUShipFrom", kind: "message", localName: "HUShipFrom", jsonName: "HUShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the Handling unit is shipped from" } } }, @@ -1697,7 +1697,7 @@ export const TrackingURLUpdatedResponse = new TrackingURLUpdatedResponse$Type(); class TrackingSwitchedPayload$Type extends MessageType { constructor() { super("api.TrackingSwitchedPayload", [ - { no: 1, name: "NextTrackingID", kind: "scalar", localName: "NextTrackingID", jsonName: "NextTrackingID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The new tracking ID" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 1, name: "NextTrackingID", kind: "scalar", localName: "NextTrackingID", jsonName: "NextTrackingID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The new tracking ID" } } }, { no: 2, name: "NextTrackingURL", kind: "scalar", localName: "NextTrackingURL", jsonName: "NextTrackingURL", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The new tracking URL" } } }, { no: 3, name: "NextHUCarrier", kind: "message", localName: "NextHUCarrier", jsonName: "NextHUCarrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The new carrier which will track the Handling unit" } } }, { no: 4, name: "NextHUShipFrom", kind: "message", localName: "NextHUShipFrom", jsonName: "NextHUShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where the Handling unit will be shipped from" } } }, @@ -1946,7 +1946,7 @@ export const TrackingSwitchedResponse = new TrackingSwitchedResponse$Type(); class TrackingETAUpdatedPayload$Type extends MessageType { constructor() { super("api.TrackingETAUpdatedPayload", [ - { no: 1, name: "TrackingETA", kind: "message", localName: "TrackingETA", jsonName: "TrackingETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the tracked HU" }, "n1validate.rules": { message: { required: true } } } } + { no: 1, name: "TrackingETA", kind: "message", localName: "TrackingETA", jsonName: "TrackingETA", T: () => ETA, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the tracked HU" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["TrackingETA"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): TrackingETAUpdatedPayload { @@ -3238,15 +3238,15 @@ export const TrackingCustomFieldsUpdatedResponse = new TrackingCustomFieldsUpdat * @generated ServiceType for protobuf service api.TrackingInputAPI */ export const TrackingInputAPI = new ServiceType("api.TrackingInputAPI", [ - { name: "Notified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking event has been notified. This is typically called from a Transport app." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingNotifiedRequest, O: TrackingNotifiedResponse }, - { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking event for ETA update has been notified. This is typically called from a Transport app." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingETAUpdatedRequest, O: TrackingETAUpdatedResponse }, - { name: "Dispatched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "deprecated from 1.6 : A Handling Unit has been dispatched with this tracking. This is typically called from a WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingDispatchedRequest, O: TrackingDispatchedResponse }, - { name: "HULabeled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Handling Unit has been linked/labelled with this tracking. This is called from a WMS or a transport app." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingHULabeledRequest, O: TrackingHULabeledResponse }, - { name: "Switched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking has been switched. This is typically called from a Transport app." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingSwitchedRequest, O: TrackingSwitchedResponse }, - { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An attachment is added for the Tracking." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: TrackingAttachmentAddedRequest, O: TrackingAttachmentAddedResponse }, - { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An attachment is removed for the Tracking." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: TrackingAttachmentRemovedRequest, O: TrackingAttachmentRemovedResponse }, - { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An Tracking has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Trackings." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingDeletedRequest, O: TrackingDeletedResponse }, - { name: "URLUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "The tracking URL has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingURLUpdatedRequest, O: TrackingURLUpdatedResponse }, - { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Tracking has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: TrackingSanitisedRequest, O: TrackingSanitisedResponse }, - { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingCustomFieldsUpdatedRequest, O: TrackingCustomFieldsUpdatedResponse } + { name: "Notified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking event has been notified. This is typically called from a Transport app." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingNotifiedRequest, O: TrackingNotifiedResponse }, + { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking event for ETA update has been notified. This is typically called from a Transport app." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingETAUpdatedRequest, O: TrackingETAUpdatedResponse }, + { name: "Dispatched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "deprecated from 1.6 : A Handling Unit has been dispatched with this tracking. This is typically called from a WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingDispatchedRequest, O: TrackingDispatchedResponse }, + { name: "HULabeled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Handling Unit has been linked/labelled with this tracking. This is called from a WMS or a transport app." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingHULabeledRequest, O: TrackingHULabeledResponse }, + { name: "Switched", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A tracking has been switched. This is typically called from a Transport app." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingSwitchedRequest, O: TrackingSwitchedResponse }, + { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An attachment is added for the Tracking." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingAttachmentAddedRequest, O: TrackingAttachmentAddedResponse }, + { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An attachment is removed for the Tracking." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingAttachmentRemovedRequest, O: TrackingAttachmentRemovedResponse }, + { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An Tracking has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Trackings." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingDeletedRequest, O: TrackingDeletedResponse }, + { name: "URLUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "The tracking URL has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingURLUpdatedRequest, O: TrackingURLUpdatedResponse }, + { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Tracking has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingSanitisedRequest, O: TrackingSanitisedResponse }, + { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingCustomFieldsUpdatedRequest, O: TrackingCustomFieldsUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/trackingQuery.ts b/trackingQuery.ts index 5794b65..a2911bc 100644 --- a/trackingQuery.ts +++ b/trackingQuery.ts @@ -225,6 +225,6 @@ export const TrackingQueryOptions = new TrackingQueryOptions$Type(); * @generated ServiceType for protobuf service api.TrackingQuery */ export const TrackingQuery = new ServiceType("api.TrackingQuery", [ - { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Query"], description: "Get Trackings from Ids" }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "trackingById", "api.tags": "PROJECT_ACTIVITY" }, I: TrackingByIdQuery, O: TrackingByIdResult }, - { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Query"], description: "Count lines in database for project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY" }, I: CountLinesQuery, O: CountLinesResult } + { name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Query"], description: "Get Trackings from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.tableName": "trackingById", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingByIdQuery, O: TrackingByIdResult }, + { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "query-server" }); diff --git a/tradeShared.ts b/tradeShared.ts index d039307..ae3c3ca 100644 --- a/tradeShared.ts +++ b/tradeShared.ts @@ -758,7 +758,7 @@ class OrderLine$Type extends MessageType { { no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Order" } }, - { no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 6, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 7, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } } ]); @@ -896,11 +896,11 @@ class ExeFlowLine$Type extends MessageType { { no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods, options: { "api.aggSkip": "HUContentUpdated,HUTrackingUpdated" } }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.aggSkip": "HUContentUpdated, HUTrackingUpdated", "api.transientRef": "Order,Payload.Lines<>.MetaData,hard", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] }, "api.parentEntity": "Order" } }, { no: 4, name: "ShippedContents", kind: "message", localName: "ShippedContents", jsonName: "ShippedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByHU, options: { "api.aggSkip": "HUContentUpdated, HUTrackingUpdated", "api.extractRefExclude": "Executionflow" } }, - { no: 5, name: "PreparedItemDiffersFromRequestedItem", kind: "scalar", localName: "PreparedItemDiffersFromRequestedItem", jsonName: "PreparedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, - { no: 6, name: "ReceivedItemDiffersFromRequestedItem", kind: "scalar", localName: "ReceivedItemDiffersFromRequestedItem", jsonName: "ReceivedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, - { no: 7, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, - { no: 8, name: "TotalPreparedMetrics", kind: "message", localName: "TotalPreparedMetrics", jsonName: "TotalPreparedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, - { no: 9, name: "TotalReceivedMetrics", kind: "message", localName: "TotalReceivedMetrics", jsonName: "TotalReceivedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 5, name: "PreparedItemDiffersFromRequestedItem", kind: "scalar", localName: "PreparedItemDiffersFromRequestedItem", jsonName: "PreparedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, + { no: 6, name: "ReceivedItemDiffersFromRequestedItem", kind: "scalar", localName: "ReceivedItemDiffersFromRequestedItem", jsonName: "ReceivedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }, + { no: 7, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, + { no: 8, name: "TotalPreparedMetrics", kind: "message", localName: "TotalPreparedMetrics", jsonName: "TotalPreparedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, + { no: 9, name: "TotalReceivedMetrics", kind: "message", localName: "TotalReceivedMetrics", jsonName: "TotalReceivedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 12, name: "CreatedFromHU", kind: "scalar", localName: "CreatedFromHU", jsonName: "CreatedFromHU", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" } } }); } @@ -1087,7 +1087,7 @@ class TradeTier$Type extends MessageType { { no: 4, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload }, { no: 5, name: "Contact", kind: "message", localName: "Contact", jsonName: "Contact", T: () => Interlocutor }, { no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be an ID of an existing partner" }, "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } } + { no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } } ]); } create(value?: PartialMessage): TradeTier { @@ -1161,7 +1161,7 @@ class ETA$Type extends MessageType { super("api.ETA", [ { no: 3, name: "StartETA", kind: "message", localName: "StartETA", jsonName: "StartETA", T: () => DateTime }, { no: 4, name: "EndETA", kind: "message", localName: "EndETA", jsonName: "EndETA", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 5, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Internal structure, do not fill", readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 5, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Internal structure, do not fill", readOnly: true } } }, { no: 6, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }] } } } ]); } diff --git a/translations.ts b/translations.ts index fe6c2b9..084f978 100644 --- a/translations.ts +++ b/translations.ts @@ -964,10 +964,10 @@ export const GetLanguagesResult = new GetLanguagesResult$Type(); * @generated ServiceType for protobuf service api.TranslationsService */ export const TranslationsService = new ServiceType("api.TranslationsService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Get the translations of a label", description: "Get the translations of a label for a given context in a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Translations" }, I: GetTranslationsRequest, O: GetTranslationsResult }, - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Put the translations of a label", description: "Put the translations of a label for a given context in a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Translations" }, I: PutTranslationsRequest, O: PutTranslationsResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Delete the translations of a label", description: "Delete the translations of a label for a given context in a project" }, "google.api.method_visibility": { restriction: "HIDDEN" }, "api.rscType": "Project", "api.roles": "Platform.Translations" }, I: DeleteTranslationsRequest, O: DeleteTranslationsResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "List all project translations for a given language code", description: "List all the available translations for a given language code in a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "api.aliasType": "APPOINTMENT_SCHEDULING" }, I: ListTranslationsRequest, O: ListTranslationsResult }, - { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Delete all project translations", description: "Delete all the translations of a project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Translations" }, I: DeleteAllTranslationsRequest, O: DeleteAllTranslationsResult }, - { name: "GetLanguages", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Get all the available languages", description: "Get all the available languages" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GetLanguagesRequest, O: GetLanguagesResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Get the translations of a label", description: "Get the translations of a label for a given context in a project" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "google.api.method_visibility": { restriction: "SDK" } }, I: GetTranslationsRequest, O: GetTranslationsResult }, + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Put the translations of a label", description: "Put the translations of a label for a given context in a project" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "google.api.method_visibility": { restriction: "SDK" } }, I: PutTranslationsRequest, O: PutTranslationsResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Delete the translations of a label", description: "Delete the translations of a label for a given context in a project" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "google.api.method_visibility": { restriction: "HIDDEN" } }, I: DeleteTranslationsRequest, O: DeleteTranslationsResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "List all project translations for a given language code", description: "List all the available translations for a given language code in a project" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: ListTranslationsRequest, O: ListTranslationsResult }, + { name: "DeleteAll", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Delete all project translations", description: "Delete all the translations of a project" }, "api.rscType": "Project", "api.roles": "Platform.Translations", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteAllTranslationsRequest, O: DeleteAllTranslationsResult }, + { name: "GetLanguages", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Translations"], summary: "Get all the available languages", description: "Get all the available languages" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetLanguagesRequest, O: GetLanguagesResult } ], { "api.k8sService": "translations-server" }); diff --git a/transportShared.ts b/transportShared.ts index ae04182..4b2b0fd 100644 --- a/transportShared.ts +++ b/transportShared.ts @@ -292,7 +292,7 @@ class TrackingStatus$Type extends MessageType { constructor() { super("api.TrackingStatus", [ { no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.TrackingStatusCode", TrackingStatusCode], options: { "api.dataRestrictionKey": "Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, - { no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } } ]); } diff --git a/user-attributes.ts b/user-attributes.ts index 5ebb6d7..1682720 100644 --- a/user-attributes.ts +++ b/user-attributes.ts @@ -949,9 +949,9 @@ export const DeleteForProjectUserAttributesResult = new DeleteForProjectUserAttr * @generated ServiceType for protobuf service api.UserAttributesService */ export const UserAttributesService = new ServiceType("api.UserAttributesService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Get" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes" }, I: GetUserAttributesRequest, O: GetUserAttributesResult }, - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Update or create a UserAttribute" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes" }, I: PutUserAttributesRequest, O: PutUserAttributesResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Delete" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes" }, I: DeleteUserAttributesRequest, O: DeleteUserAttributesResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "List" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes" }, I: ListUserAttributesRequest, O: ListUserAttributesResult }, - { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "DeleteForProject" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes" }, I: DeleteForProjectUserAttributesRequest, O: DeleteForProjectUserAttributesResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Get" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes", "google.api.method_visibility": { restriction: "SDK" } }, I: GetUserAttributesRequest, O: GetUserAttributesResult }, + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Update or create a UserAttribute" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes", "google.api.method_visibility": { restriction: "SDK" } }, I: PutUserAttributesRequest, O: PutUserAttributesResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "Delete" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteUserAttributesRequest, O: DeleteUserAttributesResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "List" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserAttributesRequest, O: ListUserAttributesResult }, + { name: "DeleteForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Attributes"], description: "DeleteForProject" }, "api.rscType": "Project", "api.roles": "Platform.UserAttributes", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteForProjectUserAttributesRequest, O: DeleteForProjectUserAttributesResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/user-groups.ts b/user-groups.ts index d663f36..c26b52e 100644 --- a/user-groups.ts +++ b/user-groups.ts @@ -670,8 +670,8 @@ export const ListUserGroupsResult = new ListUserGroupsResult$Type(); * @generated ServiceType for protobuf service api.UserGroupsService */ export const UserGroupsService = new ServiceType("api.UserGroupsService", [ - { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Get" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.UserGroups" }, I: GetUserGroupsRequest, O: GetUserGroupsResult }, - { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Update or create a UserGroup" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project" }, I: PutUserGroupsRequest, O: PutUserGroupsResult }, - { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Delete" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project" }, I: DeleteUserGroupsRequest, O: DeleteUserGroupsResult }, - { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "List" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project" }, I: ListUserGroupsRequest, O: ListUserGroupsResult } + { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Get" }, "api.rscType": "Project", "api.roles": "Platform.UserGroups", "google.api.method_visibility": { restriction: "SDK" } }, I: GetUserGroupsRequest, O: GetUserGroupsResult }, + { name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Update or create a UserGroup" }, "api.rscType": "Project", "google.api.method_visibility": { restriction: "SDK" } }, I: PutUserGroupsRequest, O: PutUserGroupsResult }, + { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "Delete" }, "api.rscType": "Project", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteUserGroupsRequest, O: DeleteUserGroupsResult }, + { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["User Groups"], description: "List" }, "api.rscType": "Project", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserGroupsRequest, O: ListUserGroupsResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true }); diff --git a/user.ts b/user.ts index 2586cae..07c169c 100644 --- a/user.ts +++ b/user.ts @@ -1283,10 +1283,10 @@ class User$Type extends MessageType { { no: 6, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "TimezoneCode", kind: "scalar", localName: "TimezoneCode", jsonName: "TimezoneCode", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus] }, - { no: 11, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 11, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format" } } }, { no: 12, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of the user, could be a Service Account or a normal User" } } }, { no: 13, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If the user is a Service Account, the PartnerAppID is the ID of the partner app it belongs to, empty otherwise" } } }, - { no: 14, name: "ExpiresAt", kind: "scalar", localName: "ExpiresAt", jsonName: "ExpiresAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format ; only for Service Accounts, empty otherwise" }, "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 14, name: "ExpiresAt", kind: "scalar", localName: "ExpiresAt", jsonName: "ExpiresAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in ISO 8601 format ; only for Service Accounts, empty otherwise" } } }, { no: 15, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Partner ID the user belongs to. If empty, the user is not affiliated to a partner" } } }, { no: 16, name: "TwoFA", kind: "enum", localName: "TwoFA", jsonName: "TwoFA", T: () => ["api.TwoFAValue", TwoFAValue], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The 2FA value for the user" } } }, { no: 17, name: "TemporarilyLocked", kind: "scalar", localName: "TemporarilyLocked", jsonName: "TemporarilyLocked", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If the user has been temporarily locked due to too many failed login attempts" } } } @@ -1810,7 +1810,7 @@ class CreateSARequest$Type extends MessageType { constructor() { super("api.CreateSARequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): CreateSARequest { @@ -1972,7 +1972,7 @@ class SuggestSANameRequest$Type extends MessageType { constructor() { super("api.SuggestSANameRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): SuggestSANameRequest { @@ -2026,7 +2026,7 @@ class CreateProjectSARequest$Type extends MessageType { constructor() { super("api.CreateProjectSARequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): CreateProjectSARequest { @@ -2188,7 +2188,7 @@ class SuggestProjectSANameRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } } + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): SuggestProjectSANameRequest { @@ -2372,7 +2372,7 @@ class ListPartnerAppUsersRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } } + { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID"] } } }); } create(value?: PartialMessage): ListPartnerAppUsersRequest { @@ -2426,7 +2426,7 @@ class ListConnectionUsersRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } } + { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID"] } } }); } create(value?: PartialMessage): ListConnectionUsersRequest { @@ -5385,7 +5385,7 @@ class FindPartnerAppUsersRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 3, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => FindUsersFilters, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID", "Filter"] } } }); } @@ -5446,7 +5446,7 @@ class FindConnectionUsersRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 3, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => FindUsersFilters, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID", "Filter"] } } }); } @@ -5709,7 +5709,7 @@ class ListUsersInPartnerAppRoleRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 3, name: "Roles", kind: "scalar", localName: "Roles", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1" } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID", "Role"] } } }); } @@ -5771,7 +5771,7 @@ class ListUsersInConnectionRoleRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }, + { no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }, { no: 3, name: "Roles", kind: "scalar", localName: "Roles", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1" } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID", "Role"] } } }); } @@ -6219,59 +6219,59 @@ export const ResolveAPIKeyResult = new ResolveAPIKeyResult$Type(); * @generated ServiceType for protobuf service api.UserService */ export const UserService = new ServiceType("api.UserService", [ - { name: "EnrollUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: EnrollUserRequest, O: EnrollUserResult }, - { name: "EnrollUserWithoutMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform but do not send invitation email" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: EnrollUserWithoutMailRequest, O: EnrollUserResult }, - { name: "SendVerificationMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: SendVerificationMailRequest, O: SendVerificationMailResult }, - { name: "SendVerificationMailAs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform as another user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-User" }, I: SendVerificationMailAsRequest, O: SendVerificationMailResult }, - { name: "EnrollProjectUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: EnrollUserProjectRequest, O: EnrollUserResult }, - { name: "EnrollProjectUserWithoutMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform but do not send invitation email" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: EnrollUserProjectWithoutMailRequest, O: EnrollUserResult }, - { name: "SendVerificationMailProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SendVerificationMailProjectRequest, O: SendVerificationMailResult }, - { name: "RemoveUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove user from the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: RemoveUserRequest, O: RemoveUserResult }, - { name: "CreateSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Create Service Account on the platform" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: CreateSARequest, O: CreateSAResult }, - { name: "RenewSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew Service Account certificate" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: RenewSARequest, O: RenewSAResult }, - { name: "RemoveSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove Service Account" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: RemoveSARequest, O: RemoveSAResult }, - { name: "SuggestSAName", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Suggest Service Account name" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: SuggestSANameRequest, O: SuggestSANameResult }, + { name: "EnrollUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: EnrollUserRequest, O: EnrollUserResult }, + { name: "EnrollUserWithoutMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform but do not send invitation email" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: EnrollUserWithoutMailRequest, O: EnrollUserResult }, + { name: "SendVerificationMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SendVerificationMailRequest, O: SendVerificationMailResult }, + { name: "SendVerificationMailAs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform as another user" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: SendVerificationMailAsRequest, O: SendVerificationMailResult }, + { name: "EnrollProjectUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: EnrollUserProjectRequest, O: EnrollUserResult }, + { name: "EnrollProjectUserWithoutMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enroll user on the platform but do not send invitation email" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: EnrollUserProjectWithoutMailRequest, O: EnrollUserResult }, + { name: "SendVerificationMailProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Sends a verification mail to a user on the platform" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SendVerificationMailProjectRequest, O: SendVerificationMailResult }, + { name: "RemoveUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove user from the platform" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RemoveUserRequest, O: RemoveUserResult }, + { name: "CreateSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Create Service Account on the platform" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSARequest, O: CreateSAResult }, + { name: "RenewSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew Service Account certificate" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewSARequest, O: RenewSAResult }, + { name: "RemoveSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove Service Account" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: RemoveSARequest, O: RemoveSAResult }, + { name: "SuggestSAName", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Suggest Service Account name" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SuggestSANameRequest, O: SuggestSANameResult }, { name: "CreateProjectSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Create Service Account on the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: CreateProjectSARequest, O: CreateSAResult }, - { name: "RenewProjectSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew Service Account certificate on the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: RenewProjectSARequest, O: RenewSAResult }, - { name: "RemoveProjectSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove Service Account on the project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: RemoveProjectSARequest, O: RemoveSAResult }, + { name: "RenewProjectSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew Service Account certificate on the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewProjectSARequest, O: RenewSAResult }, + { name: "RemoveProjectSA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Remove Service Account on the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: RemoveProjectSARequest, O: RemoveSAResult }, { name: "SuggestProjectSAName", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Suggest Service Account name on the project" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SuggestProjectSANameRequest, O: SuggestSANameResult }, - { name: "ListPlatformUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a platform role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: ListPlatformUsersRequest, O: ListPlatformUsersResult }, - { name: "ListOrganisationUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least an organisation role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: ListOrganisationUsersRequest, O: ListOrganisationUsersResult }, - { name: "ListProjectUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a project role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Organisation-User" }, I: ListProjectUsersRequest, O: ListProjectUsersResult }, - { name: "ListPartnerAppUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a partner app role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListPartnerAppUsersRequest, O: ListPartnerAppUsersResult }, - { name: "ListConnectionUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a connection role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListConnectionUsersRequest, O: ListConnectionUsersResult }, - { name: "FindPlatformUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a platform role. Limited to 15 users." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: FindPlatformUsersRequest, O: FindUsersResult }, - { name: "FindOrganisationUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least an organisation role. Limited to 15 users." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: FindOrganisationUsersRequest, O: FindUsersResult }, - { name: "FindProjectUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a project role. Limited to 15 users." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Organisation-User" }, I: FindProjectUsersRequest, O: FindUsersResult }, - { name: "FindPartnerAppUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a partner app role" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: FindPartnerAppUsersRequest, O: FindUsersResult }, - { name: "FindConnectionUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a connection role. Limited to 15 users." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: FindConnectionUsersRequest, O: FindUsersResult }, - { name: "ListUsersInPlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific platform role. If the user has one of the provided roles, it will be returned." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: ListUsersInPlatformRoleRequest, O: ListUsersInRoleResult }, - { name: "ListUsersInOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific organisation role. If the user has one of the provided roles, it will be returned." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: ListUsersInOrganisationRoleRequest, O: ListUsersInRoleResult }, - { name: "ListUsersInProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific project role. If the user has one of the provided roles, it will be returned." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: ListUsersInProjectRoleRequest, O: ListUsersInRoleResult }, - { name: "ListUsersInPartnerAppRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific partner app role. If the user has one of the provided roles, it will be returned." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListUsersInPartnerAppRoleRequest, O: ListUsersInRoleResult }, - { name: "ListUsersInConnectionRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific connection role. If the user has one of the provided roles, it will be returned." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListUsersInConnectionRoleRequest, O: ListUsersInRoleResult }, - { name: "GetPlatformUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a platform role." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.User" }, I: GetPlatformUserRequest, O: GetPlatformUserResult }, - { name: "GetPlatformUserByMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a platform role." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.User" }, I: GetPlatformUserByMailRequest, O: GetPlatformUserResult }, - { name: "GetOrganisationUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least an organisation role." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: GetOrganisationUserRequest, O: GetOrganisationUserResult }, - { name: "GetProjectUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a project role." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: GetProjectUserRequest, O: GetProjectUserResult }, - { name: "GetProjectUserByMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Project-User" }, I: GetProjectUserByMailRequest, O: GetProjectUserResult }, - { name: "ListPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Platform Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Platform-User" }, I: ListUserPlatformRolesRequest, O: ListUserPlatformRolesResult }, - { name: "ListOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Organisation Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: ListUserOrganisationRolesRequest, O: ListUserOrganisationRolesResult }, - { name: "ListProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Project Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role" }, I: ListUserProjectRolesRequest, O: ListUserProjectRolesResult }, - { name: "ListPartnerAppRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List PartnerAPp Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListUserPartnerAppRolesRequest, O: ListUserPartnerAppRolesResult }, - { name: "ListConnectionRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Connection Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListUserConnectionRolesRequest, O: ListUserConnectionRolesResult }, - { name: "ListAttachmentTypeRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List AttachmentType Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ListUserAttachmentTypeRolesRequest, O: ListUserAttachmentTypeRolesResult }, - { name: "SetPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Platform Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "Platform.Platform-User" }, I: SetUserPlatformRolesRequest, O: SetUserPlatformRolesResult }, - { name: "SetOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Organisation Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User" }, I: SetUserOrganisationRolesRequest, O: SetUserOrganisationRolesResult }, - { name: "SetProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Project Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SetUserProjectRolesRequest, O: SetUserProjectRolesResult }, - { name: "SetPartnerAppRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set PartnerApp Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SetUserPartnerAppRolesRequest, O: SetUserPartnerAppRolesResult }, - { name: "SetConnectionRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Connection Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SetUserConnectionRolesRequest, O: SetUserConnectionRolesResult }, - { name: "SetAttachmentTypeRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set AttachmentType Roles of a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-User" }, I: SetUserAttachmentTypeRolesRequest, O: SetUserAttachmentTypeRolesResult }, - { name: "ForceTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enable or disable forced 2FA for a user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Organisation", "api.roles": "" }, I: ForceTwoFAOrganisationRequest, O: ForceTwoFAResult }, - { name: "ForceProjectUserTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enables forced 2FA for a user on a project. Cannot disable forced 2FA." }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "" }, I: ForceProjectUserTwoFARequest, O: ForceTwoFAResult }, - { name: "UpdatePlatformTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Update 2FA value for a user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "" }, I: UpdateTwoFAPlatformRequest, O: UpdateTwoFAPlatformResult }, - { name: "GenerateAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Generate an API key for the user" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: GenerateAPIKeyRequest, O: GenerateAPIKeyResult }, - { name: "RevokeAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Revoke the user's API key" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: RevokeAPIKeyRequest, O: RevokeAPIKeyResult }, - { name: "RenewAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew the user's API key" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Platform", "api.roles": "" }, I: RenewAPIKeyRequest, O: RenewAPIKeyResult }, - { name: "ResolveAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Resolve an API key to the corresponding user ID" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.API-Key" }, I: ResolveAPIKeyRequest, O: ResolveAPIKeyResult } + { name: "ListPlatformUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a platform role" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListPlatformUsersRequest, O: ListPlatformUsersResult }, + { name: "ListOrganisationUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least an organisation role" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOrganisationUsersRequest, O: ListOrganisationUsersResult }, + { name: "ListProjectUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a project role" }, "api.rscType": "Project", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: ListProjectUsersRequest, O: ListProjectUsersResult }, + { name: "ListPartnerAppUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a partner app role" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListPartnerAppUsersRequest, O: ListPartnerAppUsersResult }, + { name: "ListConnectionUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with at least a connection role" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListConnectionUsersRequest, O: ListConnectionUsersResult }, + { name: "FindPlatformUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a platform role. Limited to 15 users." }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: FindPlatformUsersRequest, O: FindUsersResult }, + { name: "FindOrganisationUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least an organisation role. Limited to 15 users." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: FindOrganisationUsersRequest, O: FindUsersResult }, + { name: "FindProjectUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a project role. Limited to 15 users." }, "api.rscType": "Project", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: FindProjectUsersRequest, O: FindUsersResult }, + { name: "FindPartnerAppUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a partner app role" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: FindPartnerAppUsersRequest, O: FindUsersResult }, + { name: "FindConnectionUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Find users with at least a connection role. Limited to 15 users." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: FindConnectionUsersRequest, O: FindUsersResult }, + { name: "ListUsersInPlatformRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific platform role. If the user has one of the provided roles, it will be returned." }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUsersInPlatformRoleRequest, O: ListUsersInRoleResult }, + { name: "ListUsersInOrganisationRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific organisation role. If the user has one of the provided roles, it will be returned." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUsersInOrganisationRoleRequest, O: ListUsersInRoleResult }, + { name: "ListUsersInProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific project role. If the user has one of the provided roles, it will be returned." }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUsersInProjectRoleRequest, O: ListUsersInRoleResult }, + { name: "ListUsersInPartnerAppRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific partner app role. If the user has one of the provided roles, it will be returned." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUsersInPartnerAppRoleRequest, O: ListUsersInRoleResult }, + { name: "ListUsersInConnectionRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List users with a specific connection role. If the user has one of the provided roles, it will be returned." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUsersInConnectionRoleRequest, O: ListUsersInRoleResult }, + { name: "GetPlatformUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a platform role." }, "api.rscType": "Platform", "api.roles": "Platform.User", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPlatformUserRequest, O: GetPlatformUserResult }, + { name: "GetPlatformUserByMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a platform role." }, "api.rscType": "Platform", "api.roles": "Platform.User", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPlatformUserByMailRequest, O: GetPlatformUserResult }, + { name: "GetOrganisationUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least an organisation role." }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOrganisationUserRequest, O: GetOrganisationUserResult }, + { name: "GetProjectUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details. The user must have at least a project role." }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: GetProjectUserRequest, O: GetProjectUserResult }, + { name: "GetProjectUserByMail", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Get user details." }, "api.rscType": "Platform", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetProjectUserByMailRequest, O: GetProjectUserResult }, + { name: "ListPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Platform Roles of a user" }, "api.rscType": "Platform", "api.roles": "Platform.Platform-User", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserPlatformRolesRequest, O: ListUserPlatformRolesResult }, + { name: "ListOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Organisation Roles of a user" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserOrganisationRolesRequest, O: ListUserOrganisationRolesResult }, + { name: "ListProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Project Roles of a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-Role", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserProjectRolesRequest, O: ListUserProjectRolesResult }, + { name: "ListPartnerAppRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List PartnerAPp Roles of a user" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserPartnerAppRolesRequest, O: ListUserPartnerAppRolesResult }, + { name: "ListConnectionRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List Connection Roles of a user" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserConnectionRolesRequest, O: ListUserConnectionRolesResult }, + { name: "ListAttachmentTypeRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "List AttachmentType Roles of a user" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserAttachmentTypeRolesRequest, O: ListUserAttachmentTypeRolesResult }, + { name: "SetPlatformRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Platform Roles of a user" }, "api.rscType": "Platform", "api.roles": "Platform.Platform-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserPlatformRolesRequest, O: SetUserPlatformRolesResult }, + { name: "SetOrganisationRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Organisation Roles of a user" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserOrganisationRolesRequest, O: SetUserOrganisationRolesResult }, + { name: "SetProjectRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Project Roles of a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserProjectRolesRequest, O: SetUserProjectRolesResult }, + { name: "SetPartnerAppRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set PartnerApp Roles of a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserPartnerAppRolesRequest, O: SetUserPartnerAppRolesResult }, + { name: "SetConnectionRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set Connection Roles of a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserConnectionRolesRequest, O: SetUserConnectionRolesResult }, + { name: "SetAttachmentTypeRoles", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Set AttachmentType Roles of a user" }, "api.rscType": "Project", "api.roles": "Platform.Project-User", "google.api.method_visibility": { restriction: "SDK" } }, I: SetUserAttachmentTypeRolesRequest, O: SetUserAttachmentTypeRolesResult }, + { name: "ForceTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enable or disable forced 2FA for a user" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ForceTwoFAOrganisationRequest, O: ForceTwoFAResult }, + { name: "ForceProjectUserTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Enables forced 2FA for a user on a project. Cannot disable forced 2FA." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ForceProjectUserTwoFARequest, O: ForceTwoFAResult }, + { name: "UpdatePlatformTwoFA", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Update 2FA value for a user" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateTwoFAPlatformRequest, O: UpdateTwoFAPlatformResult }, + { name: "GenerateAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Generate an API key for the user" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GenerateAPIKeyRequest, O: GenerateAPIKeyResult }, + { name: "RevokeAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Revoke the user's API key" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RevokeAPIKeyRequest, O: RevokeAPIKeyResult }, + { name: "RenewAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew the user's API key" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewAPIKeyRequest, O: RenewAPIKeyResult }, + { name: "ResolveAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Resolve an API key to the corresponding user ID" }, "api.rscType": "Platform", "api.roles": "Platform.API-Key", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ResolveAPIKeyRequest, O: ResolveAPIKeyResult } ], { "api.k8sService": "organisation-server" }); diff --git a/users.ts b/users.ts index 54f041f..74e1d17 100644 --- a/users.ts +++ b/users.ts @@ -654,9 +654,9 @@ export const DeleteUserResult = new DeleteUserResult$Type(); * @generated ServiceType for protobuf service api.Users */ export const Users = new ServiceType("api.Users", [ - { name: "CreateUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Create an user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: CreateUserRequest, O: CreateUserResult }, - { name: "GetUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Get an user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: GetUserRequest, O: GetUserResult }, - { name: "ListUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "List users" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: ListUsersRequest, O: ListUsersResult }, - { name: "EditUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Edit an user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: EditUserRequest, O: EditUserResult }, - { name: "DeleteUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete an user" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true }, I: DeleteUserRequest, O: DeleteUserResult } + { name: "CreateUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Create an user" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateUserRequest, O: CreateUserResult }, + { name: "GetUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Get an user" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetUserRequest, O: GetUserResult }, + { name: "ListUsers", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "List users" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListUsersRequest, O: ListUsersResult }, + { name: "EditUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Edit an user" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: EditUserRequest, O: EditUserResult }, + { name: "DeleteUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["NSC Admin"], description: "Delete an user" }, "api.rscType": "Platform", "api.roles": "Platform.Nsc-Manage", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteUserRequest, O: DeleteUserResult } ], { "api.k8sService": "nsc-admin" }); diff --git a/view.ts b/view.ts index 747e616..92b956f 100644 --- a/view.ts +++ b/view.ts @@ -373,8 +373,8 @@ class GetViewFieldsRequest$Type extends MessageType { constructor() { super("api.GetViewFieldsRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } }, - { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 4, name: "OmmittedList", kind: "scalar", localName: "OmmittedList", jsonName: "OmmittedList", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Fields that are not used in this entity" } } }, { no: 5, name: "StartingPath", kind: "scalar", localName: "StartingPath", jsonName: "StartingPath", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "OnlySegmentationKeys", kind: "scalar", localName: "OnlySegmentationKeys", jsonName: "OnlySegmentationKeys", T: 8 /*ScalarType.BOOL*/ }, @@ -514,8 +514,8 @@ class GetSiteViewFieldsRequest$Type extends MessageType RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" }, "n1validate.rules": { string: { in: ["trade", "collab", "core"] } } } }, - { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" }, "n1validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }, + { no: 3, name: "Entity", kind: "scalar", localName: "Entity", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"", example: "\"order\"" } } }, { no: 4, name: "OmmittedList", kind: "scalar", localName: "OmmittedList", jsonName: "OmmittedList", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Fields that are not used in this entity" } } }, { no: 5, name: "StartingPath", kind: "scalar", localName: "StartingPath", jsonName: "StartingPath", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "OnlySegmentationKeys", kind: "scalar", localName: "OnlySegmentationKeys", jsonName: "OnlySegmentationKeys", T: 8 /*ScalarType.BOOL*/ }, @@ -654,5 +654,5 @@ export const GetSiteViewFieldsResult = new GetSiteViewFieldsResult$Type(); * @generated ServiceType for protobuf service api.ViewService */ export const ViewService = new ServiceType("api.ViewService", [ - { name: "GetViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "Get view fields" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "Platform.Project-View" }, I: GetViewFieldsRequest, O: GetViewFieldsResult } + { name: "GetViewFields", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], description: "Get view fields" }, "api.rscType": "Project", "api.roles": "Platform.Project-View", "google.api.method_visibility": { restriction: "SDK" } }, I: GetViewFieldsRequest, O: GetViewFieldsResult } ], { "api.k8sService": "project-model-server" }); diff --git a/warehousingShared.ts b/warehousingShared.ts index 9824fd4..698aa1b 100644 --- a/warehousingShared.ts +++ b/warehousingShared.ts @@ -1701,7 +1701,7 @@ class Goods$Type extends MessageType { constructor() { super("api.Goods", [ { no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, - { no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logitical Variant branch ID" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logitical Variant branch ID" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "Stock", Type: "date" }, { Context: "Movement", Type: "date" }, { Context: "Handlingunit", Type: "date" }, { Context: "Order", Type: "text" }, { Context: "Executionflow", Type: "text" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ItemID", "LVBranchID"] } } }); @@ -1772,10 +1772,10 @@ class EnrichedGoods$Type extends MessageType { constructor() { super("api.EnrichedGoods", [ { no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Item", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" }, "n1validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "Stock", Type: "date" }, { Context: "Movement", Type: "date" }, { Context: "Handlingunit", Type: "date" }, { Context: "Order", Type: "text" }, { Context: "Executionflow", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in ISO 8601 format" }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "Stock", Type: "date" }, { Context: "Movement", Type: "date" }, { Context: "Handlingunit", Type: "date" }, { Context: "Order", Type: "text" }, { Context: "Executionflow", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Stock" } }, - { no: 6, name: "Item", kind: "message", localName: "Item", jsonName: "Item", T: () => ItemPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } } + { no: 6, name: "Item", kind: "message", localName: "Item", jsonName: "Item", T: () => ItemPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Type of goods", required: ["ItemID", "LVBranchID", "PriorityDate"] } } }); } create(value?: PartialMessage): EnrichedGoods { @@ -1851,9 +1851,9 @@ class RequestedEnrichedGoods$Type extends MessageType { super("api.RequestedEnrichedGoods", [ { no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Item", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in ISO 8601 format" }, "n1validate.rules": { string: { dateIso8601: true, ignoreEmpty: true } }, "api.dataRestrictionKey": "Executionflow,Order", "api.indexationType": { Types: [{ Context: "Stock", Type: "date" }, { Context: "Movement", Type: "date" }, { Context: "Handlingunit", Type: "date" }, { Context: "Order", Type: "text" }, { Context: "Executionflow", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, + { no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true, ignoreEmpty: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in ISO 8601 format" }, "api.dataRestrictionKey": "Executionflow,Order", "api.indexationType": { Types: [{ Context: "Stock", Type: "date" }, { Context: "Movement", Type: "date" }, { Context: "Handlingunit", Type: "date" }, { Context: "Order", Type: "text" }, { Context: "Executionflow", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Stock" } }, - { no: 6, name: "Item", kind: "message", localName: "Item", jsonName: "Item", T: () => ItemPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } } + { no: 6, name: "Item", kind: "message", localName: "Item", jsonName: "Item", T: () => ItemPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Type of goods", required: ["ItemID"] } } }); } create(value?: PartialMessage): RequestedEnrichedGoods { @@ -1985,11 +1985,11 @@ class QuantifiedGoodsByHU$Type extends MessageType { { no: 3, name: "TrackingID", kind: "scalar", localName: "TrackingID", jsonName: "TrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => GoodsTrackingStatus }, { no: 5, name: "RequestedQuantity", kind: "message", localName: "RequestedQuantity", jsonName: "RequestedQuantity", T: () => QuantityInLV, options: { "n1validate.rules": { message: { required: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, - { no: 6, name: "RequestedQuantityInBaseLV", kind: "message", localName: "RequestedQuantityInBaseLV", jsonName: "RequestedQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, + { no: 6, name: "RequestedQuantityInBaseLV", kind: "message", localName: "RequestedQuantityInBaseLV", jsonName: "RequestedQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 7, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 8, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 8, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 9, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 10, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 10, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 11, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/ }, { no: 12, name: "HandlingunitReference", kind: "scalar", localName: "HandlingunitReference", jsonName: "HandlingunitReference", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Goods", "HandlingunitID"] } } }); @@ -2110,9 +2110,9 @@ class QuantifiedGoodsByLine$Type extends MessageType { { no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "n1validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,hard" } }, { no: 2, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 3, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, - { no: 4, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, + { no: 4, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, { no: 5, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, - { no: 6, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, + { no: 6, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } }, { no: 7, name: "IsReported", kind: "scalar", localName: "IsReported", jsonName: "IsReported", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Goods", "LineID"] } } }); } @@ -2420,7 +2420,7 @@ export const QuantifiedGoodsByExeflow = new QuantifiedGoodsByExeflow$Type(); class QuantityByLV$Type extends MessageType { constructor() { super("api.QuantityByLV", [ - { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 3, name: "Quantity", kind: "scalar", localName: "Quantity", jsonName: "Quantity", T: 2 /*ScalarType.FLOAT*/ }, { no: 4, name: "Priority", kind: "scalar", localName: "Priority", jsonName: "Priority", T: 9 /*ScalarType.STRING*/ } @@ -2491,9 +2491,9 @@ export const QuantityByLV = new QuantityByLV$Type(); class QuantityInLV$Type extends MessageType { constructor() { super("api.QuantityInLV", [ - { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "n1validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, - { no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "10.5" }, "n1validate.rules": { float: { gte: 0 } }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }] } } } + { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, + { no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "10.5" }, "api.dataRestrictionKey": "Executionflow,Handlingunit,Order", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended_materialized", CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } }); } create(value?: PartialMessage): QuantityInLV { @@ -2557,10 +2557,10 @@ class StockSnapshot$Type extends MessageType { { no: 6, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime }, { no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 4, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => QuantityInLV, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 5, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } }, + { no: 5, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 7, name: "IsTotalQuantity", kind: "scalar", localName: "IsTotalQuantity", jsonName: "IsTotalQuantity", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: false } } } }, { no: 8, name: "PartialQuantities", kind: "scalar", localName: "PartialQuantities", jsonName: "PartialQuantities", repeat: 1 /*RepeatType.PACKED*/, T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, - { no: 9, name: "PreviousQuantityInBaseLV", kind: "message", localName: "PreviousQuantityInBaseLV", jsonName: "PreviousQuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } } + { no: 9, name: "PreviousQuantityInBaseLV", kind: "message", localName: "PreviousQuantityInBaseLV", jsonName: "PreviousQuantityInBaseLV", T: () => QuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Quantity"] } } }); } create(value?: PartialMessage): StockSnapshot { @@ -2654,7 +2654,7 @@ class StockMovementClaim$Type extends MessageType { constructor() { super("api.StockMovementClaim", [ { no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } }, - { no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the stock move" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } + { no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the stock move" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } } ]); } create(value?: PartialMessage): StockMovementClaim { @@ -2709,8 +2709,8 @@ class StockMovement$Type extends MessageType { constructor() { super("api.StockMovement", [ { no: 1, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } }, - { no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.aggSkip": "ClaimAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.StockMovementTypeCode", StockMovementTypeCode], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Codes used in StockMovementReason to explain stock movement" }, "n1validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, + { no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "ClaimAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.StockMovementTypeCode", StockMovementTypeCode], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Codes used in StockMovementReason to explain stock movement" }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 4, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 17, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 5, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, @@ -2718,7 +2718,7 @@ class StockMovement$Type extends MessageType { { no: 7, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 8, name: "OperationReference", kind: "scalar", localName: "OperationReference", jsonName: "OperationReference", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 9, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => MovementQuantityInLV, options: { "n1validate.rules": { message: { required: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, - { no: 10, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => MovementQuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, + { no: 10, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => MovementQuantityInLV, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }] } } }, { no: 11, name: "MvtAlreadyUsedInStock", kind: "scalar", localName: "MvtAlreadyUsedInStock", jsonName: "MvtAlreadyUsedInStock", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, { no: 12, name: "QuantityByLVs", kind: "message", localName: "QuantityByLVs", jsonName: "QuantityByLVs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "LVID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended_materialized" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }] } } }, { no: 13, name: "LVDetailledQuantity", kind: "scalar", localName: "LVDetailledQuantity", jsonName: "LVDetailledQuantity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }, @@ -2888,8 +2888,8 @@ export const StockMovement = new StockMovement$Type(); class MovementQuantityInLV$Type extends MessageType { constructor() { super("api.MovementQuantityInLV", [ - { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "n1validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, - { no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { string: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] } } }, + { no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, + { no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { notIn: [0] } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } }); } diff --git a/workflow.ts b/workflow.ts index ff5bcd6..0cd904c 100644 --- a/workflow.ts +++ b/workflow.ts @@ -1925,7 +1925,7 @@ class StartWorkflowExtractDataFromDBRequest$Type extends MessageType 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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 12, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", 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 format", 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 format", 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" } } } @@ -2123,7 +2123,7 @@ class StartWorkflowCrossExtractDataFromDBRequest$Type extends MessageType TranslationMap } }, { no: 10, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, - { no: 11, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, + { no: 11, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, { no: 12, 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 format", example: "\"en-US\"" } } }, { no: 13, 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 format", example: "\"en-US\"" } } }, { no: 14, 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" } } }, @@ -2374,8 +2374,8 @@ class StartWorkflowExtractKPIRequest$Type extends MessageType 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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } }, - { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" }, "n1validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended"] } } } }, + { no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone format", example: "\"Europe/Paris\"" } } }, + { no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 12, name: "TargetType", kind: "scalar", localName: "TargetType", jsonName: "TargetType", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 13, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, @@ -5043,38 +5043,38 @@ export const StartWorkflowSynchronizeUMAStoreResult = new StartWorkflowSynchroni * @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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: RetryWorkflowRequest, O: RetryWorkflowResult }, - { name: "StartWorkflowCreateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateProject" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowCreateProjectRequest, O: StartWorkflowCreateProjectResult }, - { name: "StartWorkflowDeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteProject" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowDeleteProjectRequest, O: StartWorkflowDeleteProjectResult }, - { name: "StartWorkflowDeleteCore", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteCore" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowDeleteCoreRequest, O: StartWorkflowDeleteCoreResult }, - { name: "StartWorkflowDeletePartnerApp", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeletePartnerApp" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowDeletePartnerAppRequest, O: StartWorkflowDeletePartnerAppResult }, - { name: "StartWorkflowDeleteConnection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteConnection" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowDeleteConnectionRequest, O: StartWorkflowDeleteConnectionResult }, - { name: "StartWorkflowBilling", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow Billing" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowBillingRequest, O: StartWorkflowBillingResult }, - { name: "StopWorkflowBilling", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Stop the Billing workflow" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StopWorkflowBillingRequest, O: StopWorkflowBillingResult }, - { name: "StartWorkflowExtractDataFromDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow ExtractDataFromDB" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowExtractDataFromDBRequest, O: StartWorkflowExtractDataFromDBResult }, - { name: "StartWorkflowCrossExtractDataFromDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CrossExtractDataFromDB" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowCrossExtractDataFromDBRequest, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: RegisterModuleWorkflowsRequest, O: RegisterModuleWorkflowsResult }, - { name: "DeregisterModuleWorkflows", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Deregister module child workflow" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: GetModuleWorkflowsRequest, O: GetModuleWorkflowsResult }, - { name: "StopWorkflow", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Terminates a workflow execution" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowPruneDataRequest, O: StartWorkflowPruneDataResult }, - { name: "StartWorkflowAnonymizeData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to anonymize project entity data." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, 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" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowSynchronizeUMAStoreRequest, O: StartWorkflowSynchronizeUMAStoreResult }, - { name: "StartWorkflowSendInputEvent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to send an input event." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow" }, I: StartWorkflowSendInputEventRequest, O: StartWorkflowSendInputEventResult } + { 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: "StartWorkflowCrossExtractDataFromDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CrossExtractDataFromDB" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCrossExtractDataFromDBRequest, 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: "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 }, + { name: "StartWorkflowSendInputEvent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow to send an input event." }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowSendInputEventRequest, O: StartWorkflowSendInputEventResult } ], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true });