You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -152,11 +152,11 @@ export interface ExeFlowLine {
|
||||
TotalReceivedMetrics?: GoodsMetrics;
|
||||
// GoodsMetrics TotalNonPreparedMetrics = 10
|
||||
// [
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (validate.rules).message.unauthorized = true
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (n1validate.rules).message.unauthorized = true
|
||||
// ];
|
||||
// GoodsMetrics TotalNonReceivedMetrics = 11
|
||||
// [
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (validate.rules).message.unauthorized = true
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (n1validate.rules).message.unauthorized = true
|
||||
// ];
|
||||
|
||||
/**
|
||||
@@ -745,7 +745,7 @@ class OrderLine$Type extends MessageType<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" }] }, "api.parentEntity": "Order" } },
|
||||
{ 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 } } },
|
||||
{ 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: 5, name: "ShippedContent", kind: "message", localName: "ShippedContent", jsonName: "ShippedContent", T: () => QuantifiedRequestedGoods, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } }
|
||||
]);
|
||||
}
|
||||
@@ -876,11 +876,11 @@ class ExeFlowLine$Type extends MessageType<ExeFlowLine> {
|
||||
{ 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: 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: 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: 5, name: "PreparedItemDiffersFromRequestedItem", kind: "scalar", localName: "PreparedItemDiffersFromRequestedItem", jsonName: "PreparedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
||||
{ no: 6, name: "ReceivedItemDiffersFromRequestedItem", kind: "scalar", localName: "ReceivedItemDiffersFromRequestedItem", jsonName: "ReceivedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "n1validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
||||
{ no: 7, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 8, name: "TotalPreparedMetrics", kind: "message", localName: "TotalPreparedMetrics", jsonName: "TotalPreparedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 9, name: "TotalReceivedMetrics", kind: "message", localName: "TotalReceivedMetrics", jsonName: "TotalReceivedMetrics", T: () => GoodsMetrics, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 12, name: "CreatedFromHU", kind: "scalar", localName: "CreatedFromHU", jsonName: "CreatedFromHU", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" } } });
|
||||
}
|
||||
@@ -1067,7 +1067,7 @@ class TradeTier$Type extends MessageType<TradeTier> {
|
||||
{ no: 4, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload },
|
||||
{ no: 5, name: "Contact", kind: "message", localName: "Contact", jsonName: "Contact", T: () => Interlocutor },
|
||||
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be an ID of an existing partner" }, "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
{ no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<TradeTier>): TradeTier {
|
||||
@@ -1140,9 +1140,9 @@ class ETA$Type extends MessageType<ETA> {
|
||||
constructor() {
|
||||
super("api.ETA", [
|
||||
{ no: 3, name: "StartETA", kind: "message", localName: "StartETA", jsonName: "StartETA", T: () => DateTime },
|
||||
{ no: 4, name: "EndETA", kind: "message", localName: "EndETA", jsonName: "EndETA", T: () => DateTime, options: { "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: 4, name: "EndETA", kind: "message", localName: "EndETA", jsonName: "EndETA", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } },
|
||||
{ no: 5, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Internal structure, do not fill", readOnly: true } } },
|
||||
{ no: 6, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { maxLen: "250" } }, "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }] } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ETA>): ETA {
|
||||
@@ -1316,7 +1316,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: { "n1validate.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: 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." } } }
|
||||
]);
|
||||
}
|
||||
@@ -1379,7 +1379,7 @@ class OrderStatusStruct$Type extends MessageType<OrderStatusStruct> {
|
||||
super("api.OrderStatusStruct", [
|
||||
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => OrderStatus },
|
||||
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderStatus, options: { "api.aggKey": "Date" } },
|
||||
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } } } }
|
||||
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<OrderStatusStruct>): OrderStatusStruct {
|
||||
@@ -1440,7 +1440,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: { "n1validate.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: 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." } } }
|
||||
]);
|
||||
}
|
||||
@@ -1504,7 +1504,7 @@ class ExecutionflowStatusStruct$Type extends MessageType<ExecutionflowStatusStru
|
||||
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ExecutionflowStatus },
|
||||
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowStatus, options: { "api.aggKey": "Date" } },
|
||||
{ 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: { "validate.rules": { string: { dateIso8601: true } } } }
|
||||
{ no: 4, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowStatusStruct>): ExecutionflowStatusStruct {
|
||||
@@ -1571,7 +1571,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: { "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ 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