You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "tradeShared.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -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: 1 /*RepeatType.PACKED*/, 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: { "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: 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,8 +780,8 @@ 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: 1 /*RepeatType.PACKED*/, 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: 1 /*RepeatType.PACKED*/, T: () => QuantifiedGoodsByHU, options: { "api.aggSkip": "HUContentUpdated, HUTrackingUpdated", "api.extractRefExclude": "Executionflow" } },
|
||||
{ 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 } } },
|
||||
@@ -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: 1 /*RepeatType.PACKED*/, 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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "LVID" } },
|
||||
{ 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 } } }
|
||||
]);
|
||||
}
|
||||
@@ -1284,7 +1284,7 @@ class OrderStatusStruct$Type extends MessageType<OrderStatusStruct> {
|
||||
constructor() {
|
||||
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: 1 /*RepeatType.PACKED*/, T: () => OrderStatus, options: { "api.aggKey": "Date" } },
|
||||
{ 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 } } } }
|
||||
]);
|
||||
}
|
||||
@@ -1408,7 +1408,7 @@ class ExecutionflowStatusStruct$Type extends MessageType<ExecutionflowStatusStru
|
||||
constructor() {
|
||||
super("api.ExecutionflowStatusStruct", [
|
||||
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ExecutionflowStatus },
|
||||
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 1 /*RepeatType.PACKED*/, T: () => ExecutionflowStatus, options: { "api.aggKey": "Date" } },
|
||||
{ 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 } } } }
|
||||
]);
|
||||
@@ -1482,9 +1482,9 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
{ 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" } } },
|
||||
{ no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the executionflow carrier" } } },
|
||||
{ no: 18, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 1 /*RepeatType.PACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow attachments per type" } } },
|
||||
{ no: 18, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow attachments per type" } } },
|
||||
{ no: 19, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of executionflow attachments" } } },
|
||||
{ no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 1 /*RepeatType.PACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow claims per type" } } },
|
||||
{ no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow claims per type" } } },
|
||||
{ no: 21, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of executionflow claims" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowID"] } } });
|
||||
}
|
||||
@@ -1549,15 +1549,15 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
/* api.ExecutionflowStatus Status = 2 [json_name = "Status"]; */
|
||||
if (message.Status)
|
||||
ExecutionflowStatus.internalBinaryWrite(message.Status, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.TradeTier Carrier = 6 [json_name = "Carrier"]; */
|
||||
if (message.Carrier)
|
||||
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.TradeTier ShipFrom = 7 [json_name = "ShipFrom"]; */
|
||||
if (message.ShipFrom)
|
||||
TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.TradeTier ShipTo = 8 [json_name = "ShipTo"]; */
|
||||
if (message.ShipTo)
|
||||
TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.TradeTier Carrier = 6 [json_name = "Carrier"]; */
|
||||
if (message.Carrier)
|
||||
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.AttachmentSummary Attachments = 18 [json_name = "Attachments"]; */
|
||||
for (let i = 0; i < message.Attachments.length; i++)
|
||||
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
||||
|
||||
Reference in New Issue
Block a user