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 "orderInput.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -1157,7 +1157,7 @@ class OrderCreatedPayload$Type extends MessageType<OrderCreatedPayload> {
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ParentOrder", kind: "message", localName: "ParentOrder", jsonName: "ParentOrder", T: () => ReferencedID },
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
{ no: 4, 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" } },
{ no: 4, 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" } },
{ no: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier, options: { "validate.rules": { message: { required: true } } } },
{ no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier },
{ 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 order from" } } },
@@ -1165,7 +1165,7 @@ class OrderCreatedPayload$Type extends MessageType<OrderCreatedPayload> {
{ no: 9, 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: 12, 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" } } },
{ no: 10, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones },
{ no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => OrderLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } }
{ no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["CreationDateTime", "Buyer", "ShipTo"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created", "api.postAggMethods": "computeEquivalentLVBaseQuantity" });
}
create(value?: PartialMessage<OrderCreatedPayload>): OrderCreatedPayload {
@@ -1258,15 +1258,15 @@ class OrderCreatedPayload$Type extends MessageType<OrderCreatedPayload> {
/* api.TradeTier Carrier = 9 [json_name = "Carrier"]; */
if (message.Carrier)
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* string CarrierService = 12 [json_name = "CarrierService"]; */
if (message.CarrierService !== "")
writer.tag(12, WireType.LengthDelimited).string(message.CarrierService);
/* api.OrderRequestedMilestones RequestedMilestones = 10 [json_name = "RequestedMilestones"]; */
if (message.RequestedMilestones)
OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
/* repeated api.OrderLine Lines = 11 [json_name = "Lines"]; */
for (let i = 0; i < message.Lines.length; i++)
OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* string CarrierService = 12 [json_name = "CarrierService"]; */
if (message.CarrierService !== "")
writer.tag(12, WireType.LengthDelimited).string(message.CarrierService);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1455,14 +1455,14 @@ class OrderExecutionflowDetectedPayload$Type extends MessageType<OrderExecutionf
constructor() {
super("api.OrderExecutionflowDetectedPayload", [
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, 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" } },
{ no: 4, 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" } },
{ 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 order from" } } },
{ no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } },
{ no: 9, 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: 12, 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" } } },
{ no: 10, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones },
{ no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 1 /*RepeatType.PACKED*/, T: () => OrderLine, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } },
{ no: 13, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 1 /*RepeatType.PACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
{ no: 11, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderLine, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Lines of the order" }, "api.aggKey": "LineID" } },
{ no: 13, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["CreationDateTime", "ShipTo"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExecutionflowDetected", "api.postAggMethods": "computeEquivalentLVBaseQuantity" });
}
create(value?: PartialMessage<OrderExecutionflowDetectedPayload>): OrderExecutionflowDetectedPayload {
@@ -1534,15 +1534,15 @@ class OrderExecutionflowDetectedPayload$Type extends MessageType<OrderExecutionf
/* api.TradeTier Carrier = 9 [json_name = "Carrier"]; */
if (message.Carrier)
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* string CarrierService = 12 [json_name = "CarrierService"]; */
if (message.CarrierService !== "")
writer.tag(12, WireType.LengthDelimited).string(message.CarrierService);
/* api.OrderRequestedMilestones RequestedMilestones = 10 [json_name = "RequestedMilestones"]; */
if (message.RequestedMilestones)
OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
/* repeated api.OrderLine Lines = 11 [json_name = "Lines"]; */
for (let i = 0; i < message.Lines.length; i++)
OrderLine.internalBinaryWrite(message.Lines[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* string CarrierService = 12 [json_name = "CarrierService"]; */
if (message.CarrierService !== "")
writer.tag(12, WireType.LengthDelimited).string(message.CarrierService);
/* repeated api.ExecutionflowSummary ExecutionflowSummary = 13 [json_name = "ExecutionflowSummary"]; */
for (let i = 0; i < message.ExecutionflowSummary.length; i++)
ExecutionflowSummary.internalBinaryWrite(message.ExecutionflowSummary[i], writer.tag(13, WireType.LengthDelimited).fork(), options).join();
@@ -2804,7 +2804,7 @@ export const OrderRequestedDeliveryDateDefinedResponse = new OrderRequestedDeliv
class OrderExecutionflowETAUpdatedPayload$Type extends MessageType<OrderExecutionflowETAUpdatedPayload> {
constructor() {
super("api.OrderExecutionflowETAUpdatedPayload", [
{ no: 1, name: "ExecutionflowETAs", kind: "message", localName: "ExecutionflowETAs", jsonName: "ExecutionflowETAs", repeat: 1 /*RepeatType.PACKED*/, T: () => ETAbyExecutionflow, options: { "validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "ExecutionflowID" } }
{ no: 1, name: "ExecutionflowETAs", kind: "message", localName: "ExecutionflowETAs", jsonName: "ExecutionflowETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyExecutionflow, options: { "validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "ExecutionflowID" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExecutionflowETAUpdated" });
}
create(value?: PartialMessage<OrderExecutionflowETAUpdatedPayload>): OrderExecutionflowETAUpdatedPayload {
@@ -3243,7 +3243,7 @@ export const OrderCompletedResponse = new OrderCompletedResponse$Type();
class OrderExecutionflowUpdatedPayload$Type extends MessageType<OrderExecutionflowUpdatedPayload> {
constructor() {
super("api.OrderExecutionflowUpdatedPayload", [
{ no: 1, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 1 /*RepeatType.PACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
{ no: 1, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExecutionflowUpdated" });
}
create(value?: PartialMessage<OrderExecutionflowUpdatedPayload>): OrderExecutionflowUpdatedPayload {
@@ -3463,7 +3463,7 @@ export const OrderExecutionflowUpdatedResponse = new OrderExecutionflowUpdatedRe
class OrderMetaDataUpdatedPayload$Type extends MessageType<OrderMetaDataUpdatedPayload> {
constructor() {
super("api.OrderMetaDataUpdatedPayload", [
{ no: 1, 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" } }
{ no: 1, 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.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" });
}
create(value?: PartialMessage<OrderMetaDataUpdatedPayload>): OrderMetaDataUpdatedPayload {
@@ -3910,7 +3910,7 @@ export const OrderCarrierUpdatedResponse = new OrderCarrierUpdatedResponse$Type(
class OrderAttachmentAddedPayload$Type extends MessageType<OrderAttachmentAddedPayload> {
constructor() {
super("api.OrderAttachmentAddedPayload", [
{ no: 1, 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 added per type" } } }
{ no: 1, 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 added per type" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded" });
}
create(value?: PartialMessage<OrderAttachmentAddedPayload>): OrderAttachmentAddedPayload {
@@ -4130,7 +4130,7 @@ export const OrderAttachmentAddedResponse = new OrderAttachmentAddedResponse$Typ
class OrderAttachmentRemovedPayload$Type extends MessageType<OrderAttachmentRemovedPayload> {
constructor() {
super("api.OrderAttachmentRemovedPayload", [
{ no: 1, 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 removed per type" } } }
{ no: 1, 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 removed per type" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" });
}
create(value?: PartialMessage<OrderAttachmentRemovedPayload>): OrderAttachmentRemovedPayload {
@@ -4350,7 +4350,7 @@ export const OrderAttachmentRemovedResponse = new OrderAttachmentRemovedResponse
class OrderClaimAddedPayload$Type extends MessageType<OrderClaimAddedPayload> {
constructor() {
super("api.OrderClaimAddedPayload", [
{ no: 1, 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 added per type" }, "api.aggKey": "ClaimTypeID" } }
{ no: 1, 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 added per type" }, "api.aggKey": "ClaimTypeID" } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ClaimAdded" });
}
create(value?: PartialMessage<OrderClaimAddedPayload>): OrderClaimAddedPayload {