You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -711,7 +711,7 @@ class OrderLine$Type extends MessageType<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: 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" }] } } },
|
||||
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "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" }] }, "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: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
]);
|
||||
}
|
||||
@@ -780,14 +780,14 @@ class ExeFlowLine$Type extends MessageType<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: 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: { "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", "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: 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: { "validate.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: { "validate.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: { "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 6, name: "ReceivedItemDiffersFromRequestedItem", kind: "scalar", localName: "ReceivedItemDiffersFromRequestedItem", jsonName: "ReceivedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 7, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 8, name: "TotalPreparedMetrics", kind: "message", localName: "TotalPreparedMetrics", jsonName: "TotalPreparedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 9, name: "TotalReceivedMetrics", kind: "message", localName: "TotalReceivedMetrics", jsonName: "TotalReceivedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 12, name: "CreatedFromHU", kind: "scalar", localName: "CreatedFromHU", jsonName: "CreatedFromHU", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }
|
||||
{ no: 12, name: "CreatedFromHU", kind: "scalar", localName: "CreatedFromHU", jsonName: "CreatedFromHU", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" } } });
|
||||
}
|
||||
create(value?: PartialMessage<ExeFlowLine>): ExeFlowLine {
|
||||
@@ -896,7 +896,7 @@ class GoodsMetrics$Type extends MessageType<GoodsMetrics> {
|
||||
{ no: 1, name: "GrossWeight", kind: "message", localName: "GrossWeight", jsonName: "GrossWeight", T: () => QuantityWeight },
|
||||
{ no: 2, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume },
|
||||
{ no: 3, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV },
|
||||
{ no: 4, 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: 4, name: "QuantityByLVs", kind: "message", localName: "QuantityByLVs", jsonName: "QuantityByLVs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByLV, options: { "api.aggKey": "LVID", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 5, name: "LVDetailledQuantity", kind: "scalar", localName: "LVDetailledQuantity", jsonName: "LVDetailledQuantity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
]);
|
||||
}
|
||||
@@ -972,7 +972,7 @@ class TradeTier$Type extends MessageType<TradeTier> {
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.entityRef": "Actor", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 4, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "api.extractRefExclude": "Executionflow,Stock,Order,Tracking" } },
|
||||
{ no: 5, name: "Contact", kind: "message", localName: "Contact", jsonName: "Contact", T: () => Interlocutor },
|
||||
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be an ID of an existing partner" }, "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be an ID of an existing partner" } } },
|
||||
{ no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
]);
|
||||
}
|
||||
@@ -1048,7 +1048,7 @@ class ETA$Type extends MessageType<ETA> {
|
||||
{ no: 3, name: "StartETA", kind: "message", localName: "StartETA", jsonName: "StartETA", T: () => DateTime },
|
||||
{ no: 4, name: "EndETA", kind: "message", localName: "EndETA", jsonName: "EndETA", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 5, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Internal structure, do not fill", readOnly: true } } },
|
||||
{ no: 6, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "250" } }, "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }] } } }
|
||||
{ no: 6, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }] }, "validate.rules": { string: { maxLen: "250" } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ETA>): ETA {
|
||||
@@ -1222,7 +1222,7 @@ class OrderStatus$Type extends MessageType<OrderStatus> {
|
||||
constructor() {
|
||||
super("api.OrderStatus", [
|
||||
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.OrderStatusCode", OrderStatusCode], options: { "api.dataRestrictionKey": "Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Order", Group: "order", Queryable: 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: "Order", Group: "order", Queryable: true }] }, "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: "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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
|
||||
]);
|
||||
}
|
||||
@@ -1346,7 +1346,7 @@ class ExecutionflowStatus$Type extends MessageType<ExecutionflowStatus> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowStatus", [
|
||||
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ExecutionflowStatusCode", ExecutionflowStatusCode], options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: 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 }] }, "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: "Executionflow", Group: "executionflow", 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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
|
||||
]);
|
||||
}
|
||||
@@ -1477,7 +1477,7 @@ export const ExecutionflowStatusStruct = new ExecutionflowStatusStruct$Type();
|
||||
class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowSummary", [
|
||||
{ no: 1, 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: 1, 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: 2, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatus },
|
||||
{ no: 7, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the executionflow from" } } },
|
||||
{ no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the executionflow to" } } },
|
||||
|
||||
Reference in New Issue
Block a user