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 "actorInput.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -655,7 +655,7 @@ class ActorCreatedPayload$Type extends MessageType<ActorCreatedPayload> {
super("api.ActorCreatedPayload", [
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" } } },
{ no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ 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" } },
{ 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" } },
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Existing PartnerID" }, "api.entityRef": "Partner" } },
{ no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
@@ -664,7 +664,7 @@ class ActorCreatedPayload$Type extends MessageType<ActorCreatedPayload> {
{ no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } },
{ no: 14, name: "ManagedStock", kind: "scalar", localName: "ManagedStock", jsonName: "ManagedStock", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can manage stock" } } },
{ no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } },
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 1 /*RepeatType.PACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } },
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } },
{ no: 18, name: "IsShipToConnected", kind: "scalar", localName: "IsShipToConnected", jsonName: "IsShipToConnected", T: 8 /*ScalarType.BOOL*/ },
{ no: 19, name: "IsShipFromConnected", kind: "scalar", localName: "IsShipFromConnected", jsonName: "IsShipFromConnected", T: 8 /*ScalarType.BOOL*/ },
{ no: 20, name: "ShipToPartnerAppID", kind: "scalar", localName: "ShipToPartnerAppID", jsonName: "ShipToPartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be existing partner ID" } } },
@@ -782,9 +782,6 @@ class ActorCreatedPayload$Type extends MessageType<ActorCreatedPayload> {
/* string PartnerID = 6 [json_name = "PartnerID"]; */
if (message.PartnerID !== "")
writer.tag(6, WireType.LengthDelimited).string(message.PartnerID);
/* string AdditionalInformation = 15 [json_name = "AdditionalInformation"]; */
if (message.AdditionalInformation !== "")
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
/* api.ActorTypology Typology = 10 [json_name = "Typology"]; */
if (message.Typology !== 0)
writer.tag(10, WireType.Varint).int32(message.Typology);
@@ -797,6 +794,9 @@ class ActorCreatedPayload$Type extends MessageType<ActorCreatedPayload> {
/* bool ManagedStock = 14 [json_name = "ManagedStock"]; */
if (message.ManagedStock !== false)
writer.tag(14, WireType.Varint).bool(message.ManagedStock);
/* string AdditionalInformation = 15 [json_name = "AdditionalInformation"]; */
if (message.AdditionalInformation !== "")
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
/* bool IsCarrier = 16 [json_name = "IsCarrier"]; */
if (message.IsCarrier !== false)
writer.tag(16, WireType.Varint).bool(message.IsCarrier);
@@ -1010,14 +1010,14 @@ class ActorCreatedv2Payload$Type extends MessageType<ActorCreatedv2Payload> {
super("api.ActorCreatedv2Payload", [
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" } } },
{ no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ 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" } },
{ 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" } },
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] },
{ no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } },
{ no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } },
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 1 /*RepeatType.PACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } }
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Createdv2" });
}
create(value?: PartialMessage<ActorCreatedv2Payload>): ActorCreatedv2Payload {
@@ -1094,9 +1094,6 @@ class ActorCreatedv2Payload$Type extends MessageType<ActorCreatedv2Payload> {
/* api.Address Address = 4 [json_name = "Address"]; */
if (message.Address)
Address.internalBinaryWrite(message.Address, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string AdditionalInformation = 15 [json_name = "AdditionalInformation"]; */
if (message.AdditionalInformation !== "")
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
/* api.ActorTypology Typology = 10 [json_name = "Typology"]; */
if (message.Typology !== 0)
writer.tag(10, WireType.Varint).int32(message.Typology);
@@ -1106,6 +1103,9 @@ class ActorCreatedv2Payload$Type extends MessageType<ActorCreatedv2Payload> {
/* repeated string Phones = 13 [json_name = "Phones"]; */
for (let i = 0; i < message.Phones.length; i++)
writer.tag(13, WireType.LengthDelimited).string(message.Phones[i]);
/* string AdditionalInformation = 15 [json_name = "AdditionalInformation"]; */
if (message.AdditionalInformation !== "")
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
/* bool IsCarrier = 16 [json_name = "IsCarrier"]; */
if (message.IsCarrier !== false)
writer.tag(16, WireType.Varint).bool(message.IsCarrier);
@@ -1729,7 +1729,7 @@ export const ActorSnapshotCompletedResponse = new ActorSnapshotCompletedResponse
class ActorAttachmentAddedPayload$Type extends MessageType<ActorAttachmentAddedPayload> {
constructor() {
super("api.ActorAttachmentAddedPayload", [
{ 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<ActorAttachmentAddedPayload>): ActorAttachmentAddedPayload {
@@ -1949,7 +1949,7 @@ export const ActorAttachmentAddedResponse = new ActorAttachmentAddedResponse$Typ
class ActorAttachmentRemovedPayload$Type extends MessageType<ActorAttachmentRemovedPayload> {
constructor() {
super("api.ActorAttachmentRemovedPayload", [
{ 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<ActorAttachmentRemovedPayload>): ActorAttachmentRemovedPayload {
@@ -2169,7 +2169,7 @@ export const ActorAttachmentRemovedResponse = new ActorAttachmentRemovedResponse
class ActorClaimAddedPayload$Type extends MessageType<ActorClaimAddedPayload> {
constructor() {
super("api.ActorClaimAddedPayload", [
{ 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<ActorClaimAddedPayload>): ActorClaimAddedPayload {
@@ -2389,7 +2389,7 @@ export const ActorClaimAddedResponse = new ActorClaimAddedResponse$Type();
class ActorMetaDataUpdatedPayload$Type extends MessageType<ActorMetaDataUpdatedPayload> {
constructor() {
super("api.ActorMetaDataUpdatedPayload", [
{ 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<ActorMetaDataUpdatedPayload>): ActorMetaDataUpdatedPayload {