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 "executionflow.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -250,22 +250,22 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
|
||||
super("api.ExecutionflowPayload", [
|
||||
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime },
|
||||
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ 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.transientRef": "Order,Payload.MetaData,hard", "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated" } },
|
||||
{ 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.transientRef": "Order,Payload.MetaData,hard", "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated" } },
|
||||
{ no: 4, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } },
|
||||
{ no: 5, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order 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 order carrier" } } },
|
||||
{ no: 7, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" }, "api.dataRestrictionKey": "Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
||||
{ no: 8, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones },
|
||||
{ no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID", "api.indexationSkip": true } },
|
||||
{ no: 11, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 1 /*RepeatType.PACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } },
|
||||
{ no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "api.aggKey": "LineID", "api.indexationSkip": true } },
|
||||
{ no: 11, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HandlingunitSummary, options: { "api.aggKey": "HandlingunitID", "api.aggAppend": "HUContentUpdated,HUTrackingUpdated", "api.indexationSkip": true } },
|
||||
{ no: 13, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } },
|
||||
{ no: 14, name: "ShipFromAcked", kind: "scalar", localName: "ShipFromAcked", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 15, name: "ShipToAcked", kind: "scalar", localName: "ShipToAcked", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 16, 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 attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } },
|
||||
{ no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.indexationSkip": true } },
|
||||
{ no: 17, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 18, 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 claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
|
||||
{ no: 18, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
|
||||
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
|
||||
{ no: 20, name: "HandlingunitETAs", kind: "message", localName: "HandlingunitETAs", jsonName: "HandlingunitETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
|
||||
{ no: 20, name: "HandlingunitETAs", kind: "message", localName: "HandlingunitETAs", jsonName: "HandlingunitETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
|
||||
{ no: 21, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
|
||||
{ no: 22, name: "ExecutionflowETAComputed", kind: "message", localName: "ExecutionflowETAComputed", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }
|
||||
]);
|
||||
@@ -601,15 +601,6 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
|
||||
/* string MergePath = 5 [json_name = "MergePath"]; */
|
||||
if (message.MergePath !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
|
||||
/* api.ItemPayload Item = 10 [json_name = "Item"]; */
|
||||
if (message.Content.oneofKind === "Item")
|
||||
ItemPayload.internalBinaryWrite(message.Content.Item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ActorPayload Actor = 11 [json_name = "Actor"]; */
|
||||
if (message.Content.oneofKind === "Actor")
|
||||
ActorPayload.internalBinaryWrite(message.Content.Actor, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.PartnerPayload Partner = 12 [json_name = "Partner"]; */
|
||||
if (message.Content.oneofKind === "Partner")
|
||||
PartnerPayload.internalBinaryWrite(message.Content.Partner, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Project = 6 [json_name = "Project"]; */
|
||||
if (message.Project !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Project);
|
||||
@@ -619,6 +610,15 @@ class ExecutionflowEnrichment$Type extends MessageType<ExecutionflowEnrichment>
|
||||
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
|
||||
if (message.ParentEntityID !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
|
||||
/* api.ItemPayload Item = 10 [json_name = "Item"]; */
|
||||
if (message.Content.oneofKind === "Item")
|
||||
ItemPayload.internalBinaryWrite(message.Content.Item, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.ActorPayload Actor = 11 [json_name = "Actor"]; */
|
||||
if (message.Content.oneofKind === "Actor")
|
||||
ActorPayload.internalBinaryWrite(message.Content.Actor, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.PartnerPayload Partner = 12 [json_name = "Partner"]; */
|
||||
if (message.Content.oneofKind === "Partner")
|
||||
PartnerPayload.internalBinaryWrite(message.Content.Partner, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user