Latest generation

This commit is contained in:
ci core model
2025-06-02 13:25:02 +00:00
parent 31e3e485f3
commit f30bfa6840
90 changed files with 1295 additions and 1295 deletions

View File

@@ -1031,7 +1031,7 @@ class HandlingunitStatus$Type extends MessageType<HandlingunitStatus> {
constructor() {
super("api.HandlingunitStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.HandlingunitStatusCode", HandlingunitStatusCode], options: { "api.dataRestrictionKey": "Stock,Executionflow,Handlingunit,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] } } },
{ 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: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
]);
}
@@ -1162,10 +1162,10 @@ export const HandlingunitStatusStruct = new HandlingunitStatusStruct$Type();
class HandlingunitSummary$Type extends MessageType<HandlingunitSummary> {
constructor() {
super("api.HandlingunitSummary", [
{ no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "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" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "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: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => HandlingunitStatus, options: { "api.aggSkip": "HUTrackingUpdated,HUContentUpdated" } },
{ no: 3, name: "TrackingID", kind: "scalar", localName: "TrackingID", jsonName: "TrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "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: 6, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.metadata": true, "api.aggKey": "Key", "api.transientRef": "Handlingunit,Payload.MetaData,hard", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Handlingunit", "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)" } } },
{ no: 6, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.transientRef": "Handlingunit,Payload.MetaData,hard", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Handlingunit" } },
{ no: 7, name: "Contents", kind: "message", localName: "Contents", jsonName: "Contents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByLine, options: { "api.aggSkip": "HUTrackingUpdated", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
{ no: 9, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "IsReported", kind: "scalar", localName: "IsReported", jsonName: "IsReported", T: 8 /*ScalarType.BOOL*/ }
@@ -1256,7 +1256,7 @@ export const HandlingunitSummary = new HandlingunitSummary$Type();
class HandlingunitInformation$Type extends MessageType<HandlingunitInformation> {
constructor() {
super("api.HandlingunitInformation", [
{ no: 1, name: "ContainerType", kind: "scalar", localName: "ContainerType", jsonName: "ContainerType", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Describe the container Type : Container, Box, Pallet ..." } } },
{ 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: 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" }] } } },
@@ -1339,8 +1339,8 @@ class StockStatus$Type extends MessageType<StockStatus> {
constructor() {
super("api.StockStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.StockStatusCode", StockStatusCode], options: { "api.dataRestrictionKey": "Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] } } },
{ 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: "Stock", Group: "stock", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Stock", Group: "stock", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." }, "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] } } }
]);
}
create(value?: PartialMessage<StockStatus>): StockStatus {
@@ -1471,8 +1471,8 @@ class MovementStatus$Type extends MessageType<MovementStatus> {
constructor() {
super("api.MovementStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.MovementStatusCode", MovementStatusCode], options: { "api.dataRestrictionKey": "Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] } } },
{ 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: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." }, "api.kpiExclude": { Items: [{ Context: "Movement", Group: "movement" }] } } }
]);
}
create(value?: PartialMessage<MovementStatus>): MovementStatus {
@@ -1603,7 +1603,7 @@ class GoodsTrackingStatus$Type extends MessageType<GoodsTrackingStatus> {
constructor() {
super("api.GoodsTrackingStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.GoodsTrackingStatusCode", GoodsTrackingStatusCode], options: { "api.dataRestrictionKey": "Stock,Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] } } },
{ 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: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
]);
}
@@ -1664,10 +1664,10 @@ export const GoodsTrackingStatus = new GoodsTrackingStatus$Type();
class Goods$Type extends MessageType<Goods> {
constructor() {
super("api.Goods", [
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logitical Variant branch ID" } } },
{ no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "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" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } }
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: { "validate.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: { "validate.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" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ItemID", "LVBranchID"] } } });
}
create(value?: PartialMessage<Goods>): Goods {
@@ -1735,10 +1735,10 @@ export const Goods = new Goods$Type();
class EnrichedGoods$Type extends MessageType<EnrichedGoods> {
constructor() {
super("api.EnrichedGoods", [
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" } } },
{ no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.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" } } },
{ no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.aggKey": "Key", "api.segmentationKeys": true, "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }] }, "api.parentEntity": "Stock", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } },
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 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: { "validate.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"] } } });
}
@@ -1813,10 +1813,10 @@ export const EnrichedGoods = new EnrichedGoods$Type();
class RequestedEnrichedGoods$Type extends MessageType<RequestedEnrichedGoods> {
constructor() {
super("api.RequestedEnrichedGoods", [
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" } } },
{ no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.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" } } },
{ no: 4, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "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", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements" } } },
{ no: 1, name: "ItemID", kind: "scalar", localName: "ItemID", jsonName: "ItemID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Item", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant branch ID" }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "PriorityDate", kind: "scalar", localName: "PriorityDate", jsonName: "PriorityDate", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 6, name: "Item", kind: "message", localName: "Item", jsonName: "Item", T: () => ItemPayload, options: { "validate.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"] } } });
}
@@ -1891,8 +1891,8 @@ export const RequestedEnrichedGoods = new RequestedEnrichedGoods$Type();
class QuantifiedRequestedGoods$Type extends MessageType<QuantifiedRequestedGoods> {
constructor() {
super("api.QuantifiedRequestedGoods", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => RequestedEnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,soft", "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order", "validate.rules": { message: { required: true } } } }
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => RequestedEnrichedGoods, options: { "validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,soft" } },
{ no: 2, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => QuantityInLV, options: { "validate.rules": { message: { required: true } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of goods ordered with their type and quantity", required: ["Goods", "Quantity"] } } });
}
create(value?: PartialMessage<QuantifiedRequestedGoods>): QuantifiedRequestedGoods {
@@ -1944,12 +1944,12 @@ export const QuantifiedRequestedGoods = new QuantifiedRequestedGoods$Type();
class QuantifiedGoodsByHU$Type extends MessageType<QuantifiedGoodsByHU> {
constructor() {
super("api.QuantifiedGoodsByHU", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,hard", "validate.rules": { message: { required: true } } } },
{ no: 2, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,hard" } },
{ no: 2, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => GoodsTrackingStatus },
{ no: 5, name: "RequestedQuantity", kind: "message", localName: "RequestedQuantity", jsonName: "RequestedQuantity", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "validate.rules": { message: { required: true } } } },
{ no: 6, name: "RequestedQuantityInBaseLV", kind: "message", localName: "RequestedQuantityInBaseLV", jsonName: "RequestedQuantityInBaseLV", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] }, "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 5, name: "RequestedQuantity", kind: "message", localName: "RequestedQuantity", jsonName: "RequestedQuantity", T: () => QuantityInLV, options: { "validate.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: 6, name: "RequestedQuantityInBaseLV", kind: "message", localName: "RequestedQuantityInBaseLV", jsonName: "RequestedQuantityInBaseLV", T: () => QuantityInLV, options: { "validate.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: 7, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "validate.rules": { message: { required: true } } } },
{ no: 8, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "validate.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: { "validate.rules": { message: { required: true } } } },
@@ -2063,12 +2063,12 @@ export const QuantifiedGoodsByHU = new QuantifiedGoodsByHU$Type();
class QuantifiedGoodsByLine$Type extends MessageType<QuantifiedGoodsByLine> {
constructor() {
super("api.QuantifiedGoodsByLine", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,hard", "validate.rules": { message: { required: true } } } },
{ no: 2, 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" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,hard" } },
{ no: 2, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "PreparedQuantity", kind: "message", localName: "PreparedQuantity", jsonName: "PreparedQuantity", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order" } },
{ no: 4, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order", "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 4, name: "PreparedQuantityInBaseLV", kind: "message", localName: "PreparedQuantityInBaseLV", jsonName: "PreparedQuantityInBaseLV", T: () => QuantityInLV, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } },
{ no: 5, name: "ReceivedQuantity", kind: "message", localName: "ReceivedQuantity", jsonName: "ReceivedQuantity", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order" } },
{ no: 6, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "api.dataRestrictionKey": "Stock,Executionflow,Order", "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 6, name: "ReceivedQuantityInBaseLV", kind: "message", localName: "ReceivedQuantityInBaseLV", jsonName: "ReceivedQuantityInBaseLV", T: () => QuantityInLV, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow,Order" } },
{ no: 7, name: "IsReported", kind: "scalar", localName: "IsReported", jsonName: "IsReported", T: 8 /*ScalarType.BOOL*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Goods", "LineID"] } } });
}
@@ -2154,11 +2154,11 @@ class QuantifiedDatedGoodsByExeflow$Type extends MessageType<QuantifiedDatedGood
constructor() {
super("api.QuantifiedDatedGoodsByExeflow", [
{ no: 8, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,hard", "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, 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" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,hard" } },
{ no: 2, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 10, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 5, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => QuantityInLV, options: { "validate.rules": { message: { required: true } } } },
{ no: 9, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 6, name: "StockMovementGenerated", kind: "scalar", localName: "StockMovementGenerated", jsonName: "StockMovementGenerated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
@@ -2268,10 +2268,10 @@ export const QuantifiedDatedGoodsByExeflow = new QuantifiedDatedGoodsByExeflow$T
class QuantifiedGoodsByExeflow$Type extends MessageType<QuantifiedGoodsByExeflow> {
constructor() {
super("api.QuantifiedGoodsByExeflow", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "api.transientRef": "Stock,Payload.Goods,hard", "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "api.transientRef": "Stock,Payload.Goods,hard" } },
{ no: 2, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 5, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => QuantityInLV, options: { "validate.rules": { message: { required: true } } } },
{ no: 8, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 6, name: "StockMovementGenerated", kind: "scalar", localName: "StockMovementGenerated", jsonName: "StockMovementGenerated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
@@ -2376,7 +2376,7 @@ export const QuantifiedGoodsByExeflow = new QuantifiedGoodsByExeflow$Type();
class QuantityByLV$Type extends MessageType<QuantityByLV> {
constructor() {
super("api.QuantityByLV", [
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", 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" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" } } },
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } },
{ no: 3, name: "Quantity", kind: "scalar", localName: "Quantity", jsonName: "Quantity", T: 2 /*ScalarType.FLOAT*/ },
{ no: 4, name: "Priority", kind: "scalar", localName: "Priority", jsonName: "Priority", T: 9 /*ScalarType.STRING*/ }
@@ -2447,9 +2447,9 @@ export const QuantityByLV = new QuantityByLV$Type();
class QuantityInLV$Type extends MessageType<QuantityInLV> {
constructor() {
super("api.QuantityInLV", [
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "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" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" } } },
{ no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "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)" }] }, "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "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,Nullable(Decimal64(6)))" }] }, "validate.rules": { float: { gte: 0 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "10.5" } } }
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "validate.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: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "validate.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: "SimpleAggregateFunction(anyLast,Nullable(Decimal64(6)))" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } });
}
create(value?: PartialMessage<QuantityInLV>): QuantityInLV {
@@ -2516,7 +2516,7 @@ class StockSnapshot$Type extends MessageType<StockSnapshot> {
{ no: 5, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "validate.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: { "validate.rules": { bool: { unauthorized: false } } } },
{ no: 8, name: "PartialQuantities", kind: "scalar", localName: "PartialQuantities", jsonName: "PartialQuantities", repeat: 1 /*RepeatType.PACKED*/, T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 9, name: "PreviousQuantityInBaseLV", kind: "message", localName: "PreviousQuantityInBaseLV", jsonName: "PreviousQuantityInBaseLV", T: () => QuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] }, "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
{ no: 9, name: "PreviousQuantityInBaseLV", kind: "message", localName: "PreviousQuantityInBaseLV", jsonName: "PreviousQuantityInBaseLV", T: () => QuantityInLV, options: { "validate.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" }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Quantity"] } } });
}
create(value?: PartialMessage<StockSnapshot>): StockSnapshot {
@@ -2609,8 +2609,8 @@ export const StockSnapshot = new StockSnapshot$Type();
class StockMovementClaim$Type extends MessageType<StockMovementClaim> {
constructor() {
super("api.StockMovementClaim", [
{ no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "api.aggKey": "ClaimTypeID", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the stock move" } } }
{ no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the stock move" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
]);
}
create(value?: PartialMessage<StockMovementClaim>): StockMovementClaim {
@@ -2665,18 +2665,18 @@ class StockMovement$Type extends MessageType<StockMovement> {
constructor() {
super("api.StockMovement", [
{ no: 1, name: "DateTime", kind: "message", localName: "DateTime", jsonName: "DateTime", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "ClaimAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.StockMovementTypeCode", StockMovementTypeCode], options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Codes used in StockMovementReason to explain stock movement" } } },
{ no: 2, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "ClaimAdded", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.StockMovementTypeCode", StockMovementTypeCode], options: { "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Codes used in StockMovementReason to explain stock movement" }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } },
{ no: 4, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 17, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 5, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ 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: 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: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] }, "validate.rules": { message: { required: true } } } },
{ no: 10, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => MovementQuantityInLV, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] }, "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 9, name: "Quantity", kind: "message", localName: "Quantity", jsonName: "Quantity", T: () => MovementQuantityInLV, options: { "validate.rules": { message: { required: 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: { "validate.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: 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: { "api.aggKey": "LVID", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }] }, "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: 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: 15, name: "ExternalMoveRef", kind: "scalar", localName: "ExternalMoveRef", jsonName: "ExternalMoveRef", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Movement", Group: "movement", Queryable: true }] } } },
@@ -2836,9 +2836,9 @@ export const StockMovement = new StockMovement$Type();
class MovementQuantityInLV$Type extends MessageType<MovementQuantityInLV> {
constructor() {
super("api.MovementQuantityInLV", [
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", 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 }, { Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" } } },
{ no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] }, "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] }, "validate.rules": { float: { notIn: [0] } } } }
{ no: 1, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "LVName", kind: "scalar", localName: "LVName", jsonName: "LVName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] } } },
{ no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "validate.rules": { float: { notIn: [0] } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }] } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID"] } } });
}
create(value?: PartialMessage<MovementQuantityInLV>): MovementQuantityInLV {