Latest generation

This commit is contained in:
ci core model
2025-05-02 08:55:56 +00:00
parent c1ebe9a950
commit c82118c2e0
197 changed files with 919 additions and 919 deletions

View File

@@ -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 "tracking.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -202,7 +202,7 @@ class TrackingPayload$Type extends MessageType<TrackingPayload> {
super("api.TrackingPayload", [
{ no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Events", kind: "message", localName: "Events", jsonName: "Events", repeat: 1 /*RepeatType.PACKED*/, T: () => TrackingEvent, options: { "api.aggAppend": "Notified" } },
{ no: 3, name: "Events", kind: "message", localName: "Events", jsonName: "Events", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TrackingEvent, options: { "api.aggAppend": "Notified" } },
{ no: 4, name: "NextTrackingID", kind: "scalar", localName: "NextTrackingID", jsonName: "NextTrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 5, name: "NextTrackingURL", kind: "scalar", localName: "NextTrackingURL", jsonName: "NextTrackingURL", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => TrackingStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
@@ -213,7 +213,7 @@ class TrackingPayload$Type extends MessageType<TrackingPayload> {
{ no: 12, name: "NextHUCarrier", kind: "message", localName: "NextHUCarrier", jsonName: "NextHUCarrier", T: () => TradeTier, options: { "api.kpiExclude": { Items: [{ Context: "Tracking", Group: "tracking" }] }, "api.extractRefExclude": "Tracking" } },
{ no: 13, name: "NextHUShipFrom", kind: "message", localName: "NextHUShipFrom", jsonName: "NextHUShipFrom", T: () => TradeTier, options: { "api.kpiExclude": { Items: [{ Context: "Tracking", Group: "tracking" }] }, "api.extractRefExclude": "Tracking" } },
{ no: 14, name: "NextHUShipTo", kind: "message", localName: "NextHUShipTo", jsonName: "NextHUShipTo", T: () => TradeTier, options: { "api.kpiExclude": { Items: [{ Context: "Tracking", Group: "tracking" }] }, "api.extractRefExclude": "Tracking" } },
{ no: 15, 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" } },
{ no: 15, 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" } },
{ no: 16, 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: 19, name: "TrackingETA", kind: "message", localName: "TrackingETA", jsonName: "TrackingETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival for the HandlingUnit(s) concerned by the trackingID" }, "api.aggSkip": "ETAUpdated" } }
]);
@@ -513,12 +513,6 @@ class TrackingEnrichment$Type extends MessageType<TrackingEnrichment> {
/* string MergePath = 5 [json_name = "MergePath"]; */
if (message.MergePath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
/* 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);
@@ -528,6 +522,12 @@ class TrackingEnrichment$Type extends MessageType<TrackingEnrichment> {
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
if (message.ParentEntityID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
/* 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);