Latest generation

This commit is contained in:
ci core model
2025-04-28 11:35:40 +00:00
parent 27d08cc0b6
commit 595d5e3e36
16 changed files with 11440 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { PartnerPayload } from "./partner";
import { ActorAuthorisation } from "./slotbooking";
import { SiteAlias } from "./repositoryShared";
import { ClaimSummary } from "./shared";
import { AttachmentSummary } from "./shared";
import { CarrierService } from "./repositoryShared";
@@ -169,6 +171,18 @@ export interface ActorPayload {
* @generated from protobuf field: repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"];
*/
connectionIdentifierPrefixes: string[];
/**
* @generated from protobuf field: bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"];
*/
isSlotBookingEnabled: boolean;
/**
* @generated from protobuf field: api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"];
*/
siteAlias?: SiteAlias;
/**
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"];
*/
appointmentConstraints?: ActorAuthorisation;
}
/**
* Actor Enrichment : Obsolete
@@ -325,7 +339,10 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
{ no: 24, name: "Claims", kind: "message", 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", "api.enrichmentClear": "Order,Executionflow,Stock,Movement,Tracking" } },
{ no: 25, name: "ClaimNumber", kind: "scalar", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" }, "api.enrichmentClear": "Order,Stock,Movement,Tracking" } },
{ no: 26, name: "PhotoURI", kind: "scalar", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
{ no: 28, name: "ConnectionIdentifierPrefixes", kind: "scalar", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } }
{ no: 28, name: "ConnectionIdentifierPrefixes", kind: "scalar", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 29, name: "IsSlotBookingEnabled", kind: "scalar", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 30, name: "SiteAlias", kind: "message", jsonName: "SiteAlias", T: () => SiteAlias, options: { "api.enrichmentClear": "Stock,Movement,Tracking" } },
{ no: 31, name: "AppointmentConstraints", kind: "message", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name"] } } });
}
create(value?: PartialMessage<ActorPayload>): ActorPayload {
@@ -351,6 +368,7 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
message.claimNumber = 0;
message.photoURI = "";
message.connectionIdentifierPrefixes = [];
message.isSlotBookingEnabled = false;
if (value !== undefined)
reflectionMergePartial<ActorPayload>(this, message, value);
return message;
@@ -432,6 +450,15 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
case /* repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"];*/ 28:
message.connectionIdentifierPrefixes.push(reader.string());
break;
case /* bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"];*/ 29:
message.isSlotBookingEnabled = reader.bool();
break;
case /* api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"];*/ 30:
message.siteAlias = SiteAlias.internalBinaryRead(reader, reader.uint32(), options, message.siteAlias);
break;
case /* api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"];*/ 31:
message.appointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.appointmentConstraints);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -516,6 +543,15 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
/* repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"]; */
for (let i = 0; i < message.connectionIdentifierPrefixes.length; i++)
writer.tag(28, WireType.LengthDelimited).string(message.connectionIdentifierPrefixes[i]);
/* bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"]; */
if (message.isSlotBookingEnabled !== false)
writer.tag(29, WireType.Varint).bool(message.isSlotBookingEnabled);
/* api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"]; */
if (message.siteAlias)
SiteAlias.internalBinaryWrite(message.siteAlias, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
/* api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"]; */
if (message.appointmentConstraints)
ActorAuthorisation.internalBinaryWrite(message.appointmentConstraints, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);