Latest generation

This commit is contained in:
ci core model
2026-06-11 13:15:15 +00:00
parent 60a021abdb
commit 94cedcb920
12 changed files with 122 additions and 86 deletions

View File

@@ -316,20 +316,20 @@ export const Actor = new Actor$Type();
class ActorPayload$Type extends MessageType<ActorPayload> { class ActorPayload$Type extends MessageType<ActorPayload> {
constructor() { constructor() {
super("api.ActorPayload", [ super("api.ActorPayload", [
{ 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", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 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: 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: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "api.enrichmentSkippedPath": "Actor" } }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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" }, { 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: 11, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => ActorSnapshot, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { 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: { "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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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: 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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: 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" } }, { 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" } },
{ 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", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { 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": "Stock,Movement,Tracking" } }, { 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", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { 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": "Stock,Movement,Tracking" } },
{ no: 18, name: "IsShipToConnected", kind: "scalar", localName: "IsShipToConnected", jsonName: "IsShipToConnected", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }, { no: 18, name: "IsShipToConnected", kind: "scalar", localName: "IsShipToConnected", jsonName: "IsShipToConnected", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 19, name: "IsShipFromConnected", kind: "scalar", localName: "IsShipFromConnected", jsonName: "IsShipFromConnected", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }, { no: 19, name: "IsShipFromConnected", kind: "scalar", localName: "IsShipFromConnected", jsonName: "IsShipFromConnected", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 20, name: "ShipToPartnerAppID", kind: "scalar", localName: "ShipToPartnerAppID", jsonName: "ShipToPartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be existing partner ID" }, "api.enrichmentClear": "Stock,Movement,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 20, name: "ShipToPartnerAppID", kind: "scalar", localName: "ShipToPartnerAppID", jsonName: "ShipToPartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be existing partner ID" }, "api.enrichmentClear": "Stock,Movement,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
@@ -338,7 +338,7 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
{ no: 23, 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": "Order,Executionflow,Stock,Movement,Tracking" } }, { no: 23, 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": "Order,Executionflow,Stock,Movement,Tracking" } },
{ no: 24, 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", "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } }, { no: 24, 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", "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } },
{ no: 25, 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" }, "api.enrichmentClear": "Order,Stock,Movement,Tracking" } }, { no: 25, 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" }, "api.enrichmentClear": "Order,Stock,Movement,Tracking" } },
{ no: 26, 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: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } }, { no: 26, 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: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
{ no: 28, name: "ConnectionIdentifierPrefixes", kind: "scalar", localName: "ConnectionIdentifierPrefixes", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }, { no: 28, name: "ConnectionIdentifierPrefixes", kind: "scalar", localName: "ConnectionIdentifierPrefixes", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 29, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }, { no: 29, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 30, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }, { no: 30, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },

View File

@@ -166,9 +166,9 @@ class ItemPayload$Type extends MessageType<ItemPayload> {
super("api.ItemPayload", [ super("api.ItemPayload", [
{ no: 1, 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": "Item", "api.aggAppend": "MetaDataUpdated" } }, { no: 1, 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": "Item", "api.aggAppend": "MetaDataUpdated" } },
{ no: 6, name: "ExpiryConstraint", kind: "message", localName: "ExpiryConstraint", jsonName: "ExpiryConstraint", T: () => ExpiryConstraint, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Item components" } } }, { no: 6, name: "ExpiryConstraint", kind: "message", localName: "ExpiryConstraint", jsonName: "ExpiryConstraint", T: () => ExpiryConstraint, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Item components" } } },
{ 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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", CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, { 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", CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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" }, { Context: "Item", Group: "item" }] }, "api.aggAppend": "LogisticVariantUpdated" } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Item", Group: "item" }] }, "api.aggAppend": "LogisticVariantUpdated" } },
{ 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: 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: 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: 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" } },

14
kpi.ts
View File

@@ -328,7 +328,19 @@ export enum KPIGroupProperty {
* *
* @generated from protobuf enum value: KPIGROUP_PARTITIONBY = 4; * @generated from protobuf enum value: KPIGROUP_PARTITIONBY = 4;
*/ */
KPIGROUP_PARTITIONBY = 4 KPIGROUP_PARTITIONBY = 4,
/**
* For view KPI group, on which field the group is defined
*
* @generated from protobuf enum value: KPIGROUP_GROUPBY = 5;
*/
KPIGROUP_GROUPBY = 5,
/**
* For view KPI group,
*
* @generated from protobuf enum value: KPIGROUP_SOURCETABLE = 6;
*/
KPIGROUP_SOURCETABLE = 6
} }
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class Kpi$Type extends MessageType<Kpi> { class Kpi$Type extends MessageType<Kpi> {

View File

@@ -522,7 +522,7 @@ class MetadataStatusStruct$Type extends MessageType<MetadataStatusStruct> {
constructor() { constructor() {
super("api.MetadataStatusStruct", [ super("api.MetadataStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => MetadataStatus }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => MetadataStatus },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } } { no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
]); ]);
} }

View File

@@ -57,6 +57,14 @@ export interface KPIGroup {
* @generated from protobuf field: string PartitionBy = 8 * @generated from protobuf field: string PartitionBy = 8
*/ */
PartitionBy: string; // Table PartitionBy PartitionBy: string; // Table PartitionBy
/**
* @generated from protobuf field: string GroupBy = 9
*/
GroupBy: string; // For view KPI group, on which field the group is defined
/**
* @generated from protobuf field: string SourceTable = 10
*/
SourceTable: string; // For view KPI group, the source table from which the view is created
} }
/** /**
* @generated from protobuf message api.KPIItems * @generated from protobuf message api.KPIItems
@@ -203,7 +211,9 @@ class KPIGroup$Type extends MessageType<KPIGroup> {
{ no: 5, name: "OrderBy", kind: "scalar", localName: "OrderBy", jsonName: "OrderBy", T: 9 /*ScalarType.STRING*/ }, { no: 5, name: "OrderBy", kind: "scalar", localName: "OrderBy", jsonName: "OrderBy", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "Engine", kind: "scalar", localName: "Engine", jsonName: "Engine", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "Engine", kind: "scalar", localName: "Engine", jsonName: "Engine", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "HeaderColumns", kind: "scalar", localName: "HeaderColumns", jsonName: "HeaderColumns", T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "HeaderColumns", kind: "scalar", localName: "HeaderColumns", jsonName: "HeaderColumns", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "PartitionBy", kind: "scalar", localName: "PartitionBy", jsonName: "PartitionBy", T: 9 /*ScalarType.STRING*/ } { no: 8, name: "PartitionBy", kind: "scalar", localName: "PartitionBy", jsonName: "PartitionBy", T: 9 /*ScalarType.STRING*/ },
{ no: 9, name: "GroupBy", kind: "scalar", localName: "GroupBy", jsonName: "GroupBy", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "SourceTable", kind: "scalar", localName: "SourceTable", jsonName: "SourceTable", T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<KPIGroup>): KPIGroup { create(value?: PartialMessage<KPIGroup>): KPIGroup {
@@ -216,6 +226,8 @@ class KPIGroup$Type extends MessageType<KPIGroup> {
message.Engine = ""; message.Engine = "";
message.HeaderColumns = ""; message.HeaderColumns = "";
message.PartitionBy = ""; message.PartitionBy = "";
message.GroupBy = "";
message.SourceTable = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<KPIGroup>(this, message, value); reflectionMergePartial<KPIGroup>(this, message, value);
return message; return message;
@@ -249,6 +261,12 @@ class KPIGroup$Type extends MessageType<KPIGroup> {
case /* string PartitionBy */ 8: case /* string PartitionBy */ 8:
message.PartitionBy = reader.string(); message.PartitionBy = reader.string();
break; break;
case /* string GroupBy */ 9:
message.GroupBy = reader.string();
break;
case /* string SourceTable */ 10:
message.SourceTable = reader.string();
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -285,6 +303,12 @@ class KPIGroup$Type extends MessageType<KPIGroup> {
/* string PartitionBy = 8; */ /* string PartitionBy = 8; */
if (message.PartitionBy !== "") if (message.PartitionBy !== "")
writer.tag(8, WireType.LengthDelimited).string(message.PartitionBy); writer.tag(8, WireType.LengthDelimited).string(message.PartitionBy);
/* string GroupBy = 9; */
if (message.GroupBy !== "")
writer.tag(9, WireType.LengthDelimited).string(message.GroupBy);
/* string SourceTable = 10; */
if (message.SourceTable !== "")
writer.tag(10, WireType.LengthDelimited).string(message.SourceTable);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "name": "@reflex-platform/npm-core-sdk",
"version": "1.14.0-SNAPSHOT-260611131119", "version": "1.14.0-SNAPSHOT-260611131423",
"description": "npm libs from core model proto files", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",

View File

@@ -159,7 +159,7 @@ export const Partner = new Partner$Type();
class PartnerPayload$Type extends MessageType<PartnerPayload> { class PartnerPayload$Type extends MessageType<PartnerPayload> {
constructor() { constructor() {
super("api.PartnerPayload", [ super("api.PartnerPayload", [
{ 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", 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: 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 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: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ 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: 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" } },

View File

@@ -843,8 +843,8 @@ export enum ActorTypology {
class ActorStatus$Type extends MessageType<ActorStatus> { class ActorStatus$Type extends MessageType<ActorStatus> {
constructor() { constructor() {
super("api.ActorStatus", [ super("api.ActorStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ActorStatusCode", ActorStatusCode], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }] } } }, { no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ActorStatusCode", ActorStatusCode], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }] } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }] }, "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." } } } { 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." } } }
]); ]);
} }
@@ -905,8 +905,8 @@ export const ActorStatus = new ActorStatus$Type();
class ActorStatusStruct$Type extends MessageType<ActorStatusStruct> { class ActorStatusStruct$Type extends MessageType<ActorStatusStruct> {
constructor() { constructor() {
super("api.ActorStatusStruct", [ super("api.ActorStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ActorStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ActorStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActorStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActorStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Tracking", Group: "tracking" }] } } },
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }, { no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ } { no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }
]); ]);
@@ -1037,8 +1037,8 @@ export const PartnerStatus = new PartnerStatus$Type();
class PartnerStatusStruct$Type extends MessageType<PartnerStatusStruct> { class PartnerStatusStruct$Type extends MessageType<PartnerStatusStruct> {
constructor() { constructor() {
super("api.PartnerStatusStruct", [ super("api.PartnerStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => PartnerStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => PartnerStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PartnerStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PartnerStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Tracking", Group: "tracking" }] } } },
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } } { no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
]); ]);
} }
@@ -1155,7 +1155,7 @@ class ErrorStatusStruct$Type extends MessageType<ErrorStatusStruct> {
constructor() { constructor() {
super("api.ErrorStatusStruct", [ super("api.ErrorStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ErrorStatus }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ErrorStatus },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ErrorStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ErrorStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } } { no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
]); ]);
} }
@@ -1216,8 +1216,8 @@ export const ErrorStatusStruct = new ErrorStatusStruct$Type();
class ItemStatus$Type extends MessageType<ItemStatus> { class ItemStatus$Type extends MessageType<ItemStatus> {
constructor() { constructor() {
super("api.ItemStatus", [ super("api.ItemStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ItemStatusCode", ItemStatusCode], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }] } } }, { no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ItemStatusCode", ItemStatusCode], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,LowCardinality(String))" }] } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }] }, "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." } } } { 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." } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Current status of the Item entity" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Current status of the Item entity" } } });
} }
@@ -1278,8 +1278,8 @@ export const ItemStatus = new ItemStatus$Type();
class ItemStatusStruct$Type extends MessageType<ItemStatusStruct> { class ItemStatusStruct$Type extends MessageType<ItemStatusStruct> {
constructor() { constructor() {
super("api.ItemStatusStruct", [ super("api.ItemStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ItemStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ItemStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ItemStatus, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of all status history of the Item entity" }, "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ItemStatus, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of all status history of the Item entity" }, "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] } } },
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }, { no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ } { no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }
]); ]);
@@ -1472,8 +1472,8 @@ export const FamilyStatusStruct = new FamilyStatusStruct$Type();
class ExpiryConstraint$Type extends MessageType<ExpiryConstraint> { class ExpiryConstraint$Type extends MessageType<ExpiryConstraint> {
constructor() { constructor() {
super("api.ExpiryConstraint", [ super("api.ExpiryConstraint", [
{ 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", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Stock", Group: "stock_extended_query", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Order", Group: "order", Queryable: true }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Item components" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Item components" } } });
} }
create(value?: PartialMessage<ExpiryConstraint>): ExpiryConstraint { create(value?: PartialMessage<ExpiryConstraint>): ExpiryConstraint {
@@ -1598,22 +1598,22 @@ export const TradeItemDescriptions = new TradeItemDescriptions$Type();
class LogisticVariant$Type extends MessageType<LogisticVariant> { class LogisticVariant$Type extends MessageType<LogisticVariant> {
constructor() { constructor() {
super("api.LogisticVariant", [ super("api.LogisticVariant", [
{ 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", 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: 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 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" }, { 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: 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.parentEntity": "Item" } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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: 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: 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: { "n1validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
{ 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }] } } } { 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" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID", "Name"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID", "Name"] } } });
} }
@@ -1963,18 +1963,18 @@ export const FamilyNode = new FamilyNode$Type();
class Address$Type extends MessageType<Address> { class Address$Type extends MessageType<Address> {
constructor() { constructor() {
super("api.Address", [ 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: { "n1validate.rules": { string: { countryCodeIso3166: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in <a href='https://en.wikipedia.org/wiki/ISO_3166-1'>ISO_3166-1</a> 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", 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 <a href='https://en.wikipedia.org/wiki/ISO_3166-1'>ISO_3166-1</a> 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 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: 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 6, name: "PostalCode", kind: "scalar", localName: "PostalCode", jsonName: "PostalCode", T: 9 /*ScalarType.STRING*/, options: { "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", 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: 6, name: "PostalCode", kind: "scalar", localName: "PostalCode", jsonName: "PostalCode", T: 9 /*ScalarType.STRING*/, options: { "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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: 7, name: "ProvinceCode", kind: "scalar", localName: "ProvinceCode", jsonName: "ProvinceCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 7, name: "ProvinceCode", kind: "scalar", localName: "ProvinceCode", jsonName: "ProvinceCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 8, name: "State", kind: "scalar", localName: "State", jsonName: "State", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { no: 8, name: "State", kind: "scalar", localName: "State", jsonName: "State", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 9, name: "StreetAddressOne", kind: "scalar", localName: "StreetAddressOne", jsonName: "StreetAddressOne", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { no: 9, name: "StreetAddressOne", kind: "scalar", localName: "StreetAddressOne", jsonName: "StreetAddressOne", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 10, name: "StreetAddressTwo", kind: "scalar", localName: "StreetAddressTwo", jsonName: "StreetAddressTwo", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { no: 10, name: "StreetAddressTwo", kind: "scalar", localName: "StreetAddressTwo", jsonName: "StreetAddressTwo", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 11, name: "StreetAddressThree", kind: "scalar", localName: "StreetAddressThree", jsonName: "StreetAddressThree", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } }, { no: 11, name: "StreetAddressThree", kind: "scalar", localName: "StreetAddressThree", jsonName: "StreetAddressThree", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 12, name: "PlusCode", kind: "scalar", localName: "PlusCode", jsonName: "PlusCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } } { no: 12, name: "PlusCode", kind: "scalar", localName: "PlusCode", jsonName: "PlusCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }
]); ]);
} }
create(value?: PartialMessage<Address>): Address { create(value?: PartialMessage<Address>): Address {
@@ -2210,8 +2210,8 @@ class Interlocutor$Type extends MessageType<Interlocutor> {
super("api.Interlocutor", [ 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: 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: 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: { "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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } }
]); ]);
} }
create(value?: PartialMessage<Interlocutor>): Interlocutor { create(value?: PartialMessage<Interlocutor>): Interlocutor {

View File

@@ -4109,7 +4109,7 @@ class EventHeader$Type extends MessageType<EventHeader> {
{ no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }, { no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ },
{ no: 9, name: "OversizedPayload", kind: "scalar", localName: "OversizedPayload", jsonName: "OversizedPayload", T: 8 /*ScalarType.BOOL*/, options: { "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] } } }, { no: 9, name: "OversizedPayload", kind: "scalar", localName: "OversizedPayload", jsonName: "OversizedPayload", T: 8 /*ScalarType.BOOL*/, options: { "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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 10, 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: 10, 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\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["InputEvent", "EventTS", "Project", "Author", "EventID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["InputEvent", "EventTS", "Project", "Author", "EventID"] } } });
} }
@@ -4581,7 +4581,7 @@ export const GenericObjectPayload = new GenericObjectPayload$Type();
class DateTime$Type extends MessageType<DateTime> { class DateTime$Type extends MessageType<DateTime> {
constructor() { constructor() {
super("api.DateTime", [ super("api.DateTime", [
{ 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 <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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", 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: 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 <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", 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 <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } } { 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 <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } }
]); ]);
} }

View File

@@ -207,20 +207,20 @@ class StockPayload$Type extends MessageType<StockPayload> {
constructor() { constructor() {
super("api.StockPayload", [ super("api.StockPayload", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods }, { 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", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { 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", Queryable: true }, { Context: "Stock", Group: "stock_extended_query", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ 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: 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" }] } } }, { no: 4, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "api.aggSkip": "Snapshotted", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ no: 5, name: "Movement", kind: "message", localName: "Movement", jsonName: "Movement", T: () => StockMovement, options: { "api.aggSkip": "Moved", "api.kpiExclude": { Items: [{ 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" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ 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" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ 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: 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: 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: 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" }] }, "api.indexationSkip": 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" }, { Context: "Stock", Group: "stock_extended_query" }] }, "api.indexationSkip": true } },
{ 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", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }] } } }, { 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", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended_query", 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", 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", Queryable: true, CustomType: "AggregateFunction(sum,Decimal64(6))" }, { Context: "Stock", Group: "stock_extended_query", 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", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { 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", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", 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", 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", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", 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", 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", CustomType: "SimpleAggregateFunction(max,DateTime)" }, { Context: "Stock", Group: "stock_extended_query", CustomType: "SimpleAggregateFunction(max,DateTime)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }
]); ]);
} }
create(value?: PartialMessage<StockPayload>): StockPayload { create(value?: PartialMessage<StockPayload>): StockPayload {

View File

@@ -757,10 +757,10 @@ class OrderLine$Type extends MessageType<OrderLine> {
super("api.OrderLine", [ super("api.OrderLine", [
{ 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: 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Order" } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Order" } },
{ 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }
]); ]);
} }
create(value?: PartialMessage<OrderLine>): OrderLine { create(value?: PartialMessage<OrderLine>): OrderLine {
@@ -894,7 +894,7 @@ class ExeFlowLine$Type extends MessageType<ExeFlowLine> {
super("api.ExeFlowLine", [ super("api.ExeFlowLine", [
{ no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods, options: { "api.aggSkip": "HUContentUpdated,HUTrackingUpdated" } }, { 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" }] }, "api.parentEntity": "Order" } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }] }, "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: 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: { "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: 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: 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 }] } } },

View File

@@ -1275,9 +1275,9 @@ class HandlingunitInformation$Type extends MessageType<HandlingunitInformation>
{ no: 1, name: "ContainerType", kind: "scalar", localName: "ContainerType", jsonName: "ContainerType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Describe the container Type : Container, Box, Pallet ..." }, "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } }, { no: 1, name: "ContainerType", kind: "scalar", localName: "ContainerType", jsonName: "ContainerType", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Describe the container Type : Container, Box, Pallet ..." }, "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] } } },
{ no: 2, name: "Weight", kind: "message", localName: "Weight", jsonName: "Weight", T: () => QuantityWeight }, { no: 2, name: "Weight", kind: "message", localName: "Weight", jsonName: "Weight", T: () => QuantityWeight },
{ no: 3, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume }, { no: 3, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume },
{ no: 4, name: "Height", kind: "message", localName: "Height", jsonName: "Height", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }] } } }, { no: 4, name: "Height", kind: "message", localName: "Height", jsonName: "Height", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ no: 5, name: "Width", kind: "message", localName: "Width", jsonName: "Width", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }] } } }, { no: 5, name: "Width", kind: "message", localName: "Width", jsonName: "Width", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ no: 6, name: "Length", kind: "message", localName: "Length", jsonName: "Length", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }] } } } { no: 6, name: "Length", kind: "message", localName: "Length", jsonName: "Length", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "General information of the handling unit" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "General information of the handling unit" } } });
} }
create(value?: PartialMessage<HandlingunitInformation>): HandlingunitInformation { create(value?: PartialMessage<HandlingunitInformation>): HandlingunitInformation {
@@ -1417,7 +1417,7 @@ class StockStatusStruct$Type extends MessageType<StockStatusStruct> {
constructor() { constructor() {
super("api.StockStatusStruct", [ super("api.StockStatusStruct", [
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => StockStatus }, { no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => StockStatus },
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => StockStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }] } } }, { no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => StockStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }] } } },
{ no: 3, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }, { no: 3, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ },
{ no: 4, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } } { no: 4, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
]); ]);
@@ -1683,7 +1683,7 @@ class Goods$Type extends MessageType<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: 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: { "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: 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } } { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ItemID", "LVBranchID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ItemID", "LVBranchID"] } } });
} }
create(value?: PartialMessage<Goods>): Goods { create(value?: PartialMessage<Goods>): Goods {
@@ -1751,9 +1751,9 @@ export const Goods = new Goods$Type();
class EnrichedGoods$Type extends MessageType<EnrichedGoods> { class EnrichedGoods$Type extends MessageType<EnrichedGoods> {
constructor() { constructor() {
super("api.EnrichedGoods", [ 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", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { 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", Queryable: true }, { Context: "Stock", Group: "stock_extended_query", Queryable: true }] }, "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: "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", Queryable: true }] }, "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: "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", Queryable: true }, { Context: "Stock", Group: "stock_extended_query", 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 <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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", 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 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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", Queryable: true }, { Context: "Stock", Group: "stock_extended_query", 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: 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: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: 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"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Type of goods", required: ["ItemID", "LVBranchID", "PriorityDate"] } } });
@@ -1832,7 +1832,7 @@ class RequestedEnrichedGoods$Type extends MessageType<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: 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: 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: { "n1validate.rules": { string: { dateIso8601: true, ignoreEmpty: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of minimum substainability in <a href='https://fr.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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: 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 <a href='https://fr.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> 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" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Stock" } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Stock" } },
{ 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 } } } { 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"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Type of goods", required: ["ItemID"] } } });
} }
@@ -1964,8 +1964,8 @@ class QuantifiedGoodsByHU$Type extends MessageType<QuantifiedGoodsByHU> {
{ no: 2, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 2, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", 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: "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: 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: 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" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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" }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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: 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: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: 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: 9, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "n1validate.rules": { message: { required: true } } } },
@@ -2463,9 +2463,9 @@ export const QuantityByLV = new QuantityByLV$Type();
class QuantityInLV$Type extends MessageType<QuantityInLV> { class QuantityInLV$Type extends MessageType<QuantityInLV> {
constructor() { constructor() {
super("api.QuantityInLV", [ super("api.QuantityInLV", [
{ 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "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.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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } }, { 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", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Stock", Group: "stock_extended_query", 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", Queryable: true, CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }] } } } { 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", Queryable: true, CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }, { Context: "Stock", Group: "stock_extended_query", Queryable: true, CustomType: "AggregateFunction(argMax, Decimal64(6), Int64)" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } });
} }
create(value?: PartialMessage<QuantityInLV>): QuantityInLV { create(value?: PartialMessage<QuantityInLV>): QuantityInLV {
@@ -2532,7 +2532,7 @@ class StockSnapshot$Type extends MessageType<StockSnapshot> {
{ 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: 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: 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: 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: { "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" }] } } } { 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" }, { Context: "Stock", Group: "stock_extended_query" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Quantity"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Quantity"] } } });
} }
create(value?: PartialMessage<StockSnapshot>): StockSnapshot { create(value?: PartialMessage<StockSnapshot>): StockSnapshot {
@@ -2689,10 +2689,10 @@ class StockMovement$Type extends MessageType<StockMovement> {
{ no: 6, name: "ExecutionflowLineID", kind: "scalar", localName: "ExecutionflowLineID", jsonName: "ExecutionflowLineID", 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: 6, name: "ExecutionflowLineID", kind: "scalar", localName: "ExecutionflowLineID", jsonName: "ExecutionflowLineID", 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: 7, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { 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: 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" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ 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" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }] } } },
{ 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: 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" }, { Context: "Movement", Group: "movement" }] } } }, { 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" }, { Context: "Stock", Group: "stock_extended_query" }, { 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 } } }, { 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 } } },
{ no: 14, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 14, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } },
{ no: 15, name: "ExternalMoveRef", kind: "scalar", localName: "ExternalMoveRef", jsonName: "ExternalMoveRef", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } }, { no: 15, name: "ExternalMoveRef", kind: "scalar", localName: "ExternalMoveRef", jsonName: "ExternalMoveRef", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } },