Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

254
actor.ts
View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "actor.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -34,15 +34,15 @@ import { EventHeader } from "./shared";
*/
export interface Actor {
/**
* @generated from protobuf field: api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];
* @generated from protobuf field: api.EventHeader LastEventHeader = 1
*/
LastEventHeader?: EventHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
* @generated from protobuf field: api.EntityID ID = 2
*/
ID?: EntityID;
/**
* @generated from protobuf field: api.ActorPayload Payload = 3 [json_name = "Payload"];
* @generated from protobuf field: api.ActorPayload Payload = 3
*/
Payload?: ActorPayload;
}
@@ -53,19 +53,19 @@ export interface ActorPayload {
/**
* Actor Name
*
* @generated from protobuf field: string Name = 1 [json_name = "Name"];
* @generated from protobuf field: string Name = 1
*/
Name: string;
/**
* @generated from protobuf field: api.IdType IdType = 2 [json_name = "IdType"];
* @generated from protobuf field: api.IdType IdType = 2
*/
IdType: IdType;
/**
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
*/
MetaData: MetadataElement[];
/**
* @generated from protobuf field: api.Address Address = 4 [json_name = "Address"];
* @generated from protobuf field: api.Address Address = 4
*/
Address?: Address;
// ActorContact Contact = 5;
@@ -73,114 +73,114 @@ export interface ActorPayload {
/**
* Status field is not accessible from APIs
*
* @generated from protobuf field: api.ActorStatusStruct Status = 6 [json_name = "Status"];
* @generated from protobuf field: api.ActorStatusStruct Status = 6
*/
Status?: ActorStatusStruct;
/**
* Existing PartnerID
*
* @generated from protobuf field: string PartnerID = 7 [json_name = "PartnerID"];
* @generated from protobuf field: string PartnerID = 7
*/
PartnerID: string;
// PartnerPayload Partner = 8;
// string AdditionalInformations = 9;
/**
* @generated from protobuf field: string AdditionalInformation = 15 [json_name = "AdditionalInformation"];
* @generated from protobuf field: string AdditionalInformation = 15
*/
AdditionalInformation: string;
/**
* @generated from protobuf field: api.ActorTypology Typology = 10 [json_name = "Typology"];
* @generated from protobuf field: api.ActorTypology Typology = 10
*/
Typology: ActorTypology;
/**
* @generated from protobuf field: api.ActorSnapshot Snapshot = 11 [json_name = "Snapshot"];
* @generated from protobuf field: api.ActorSnapshot Snapshot = 11
*/
Snapshot?: ActorSnapshot;
/**
* Must be a valid email address
*
* @generated from protobuf field: repeated string Emails = 12 [json_name = "Emails"];
* @generated from protobuf field: repeated string Emails = 12
*/
Emails: string[];
/**
* @generated from protobuf field: repeated string Phones = 13 [json_name = "Phones"];
* @generated from protobuf field: repeated string Phones = 13
*/
Phones: string[];
/**
* Can manage stock
*
* @generated from protobuf field: bool ManagedStock = 14 [json_name = "ManagedStock"];
* @generated from protobuf field: bool ManagedStock = 14
*/
ManagedStock: boolean;
/**
* Can be used as carrier
*
* @generated from protobuf field: bool IsCarrier = 16 [json_name = "IsCarrier"];
* @generated from protobuf field: bool IsCarrier = 16
*/
IsCarrier: boolean;
/**
* List of carrier services
*
* @generated from protobuf field: repeated api.CarrierService CarrierServices = 17 [json_name = "CarrierServices"];
* @generated from protobuf field: repeated api.CarrierService CarrierServices = 17
*/
CarrierServices: CarrierService[];
/**
* @generated from protobuf field: bool IsShipToConnected = 18 [json_name = "IsShipToConnected"];
* @generated from protobuf field: bool IsShipToConnected = 18
*/
IsShipToConnected: boolean;
/**
* @generated from protobuf field: bool IsShipFromConnected = 19 [json_name = "IsShipFromConnected"];
* @generated from protobuf field: bool IsShipFromConnected = 19
*/
IsShipFromConnected: boolean;
/**
* Must be existing partner ID
*
* @generated from protobuf field: string ShipToPartnerAppID = 20 [json_name = "ShipToPartnerAppID"];
* @generated from protobuf field: string ShipToPartnerAppID = 20
*/
ShipToPartnerAppID: string;
/**
* Must be existing partner ID
*
* @generated from protobuf field: string ShipFromPartnerAppID = 21 [json_name = "ShipFromPartnerAppID"];
* @generated from protobuf field: string ShipFromPartnerAppID = 21
*/
ShipFromPartnerAppID: string;
/**
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 22 [json_name = "Attachments"];
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 22
*/
Attachments: AttachmentSummary[];
/**
* @generated from protobuf field: int32 AttachmentNumber = 23 [json_name = "AttachmentNumber"];
* @generated from protobuf field: int32 AttachmentNumber = 23
*/
AttachmentNumber: number;
/**
* @generated from protobuf field: repeated api.ClaimSummary Claims = 24 [json_name = "Claims"];
* @generated from protobuf field: repeated api.ClaimSummary Claims = 24
*/
Claims: ClaimSummary[];
/**
* @generated from protobuf field: int32 ClaimNumber = 25 [json_name = "ClaimNumber"];
* @generated from protobuf field: int32 ClaimNumber = 25
*/
ClaimNumber: number;
/**
* @generated from protobuf field: string PhotoURI = 26 [json_name = "PhotoURI"];
* @generated from protobuf field: string PhotoURI = 26
*/
PhotoURI: string;
/**
* Prefix used to create executionflow identifiers
*
* @generated from protobuf field: repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"];
* @generated from protobuf field: repeated string ConnectionIdentifierPrefixes = 28
*/
ConnectionIdentifierPrefixes: string[];
/**
* @generated from protobuf field: bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"];
* @generated from protobuf field: bool IsSlotBookingEnabled = 29
*/
IsSlotBookingEnabled: boolean;
/**
* @generated from protobuf field: api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"];
* @generated from protobuf field: api.SiteAlias SiteAlias = 30
*/
SiteAlias?: SiteAlias;
/**
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"];
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 31
*/
AppointmentConstraints?: ActorAuthorisation;
}
@@ -191,23 +191,23 @@ export interface ActorPayload {
*/
export interface ActorEnrichment {
/**
* @generated from protobuf field: string ParentEventID = 1 [json_name = "ParentEventID"];
* @generated from protobuf field: string ParentEventID = 1
*/
ParentEventID: string;
/**
* @generated from protobuf field: string EntityName = 2 [json_name = "EntityName"];
* @generated from protobuf field: string EntityName = 2
*/
EntityName: string;
/**
* @generated from protobuf field: string EntityRefID = 3 [json_name = "EntityRefID"];
* @generated from protobuf field: string EntityRefID = 3
*/
EntityRefID: string;
/**
* @generated from protobuf field: string RefFilter = 4 [json_name = "RefFilter"];
* @generated from protobuf field: string RefFilter = 4
*/
RefFilter: string;
/**
* @generated from protobuf field: string MergePath = 5 [json_name = "MergePath"];
* @generated from protobuf field: string MergePath = 5
*/
MergePath: string;
/**
@@ -216,22 +216,22 @@ export interface ActorEnrichment {
Content: {
oneofKind: "Partner";
/**
* @generated from protobuf field: api.PartnerPayload Partner = 10 [json_name = "Partner"];
* @generated from protobuf field: api.PartnerPayload Partner = 10
*/
Partner: PartnerPayload;
} | {
oneofKind: undefined;
};
/**
* @generated from protobuf field: string Project = 6 [json_name = "Project"];
* @generated from protobuf field: string Project = 6
*/
Project: string;
/**
* @generated from protobuf field: string ParentEntityName = 7 [json_name = "ParentEntityName"];
* @generated from protobuf field: string ParentEntityName = 7
*/
ParentEntityName: string;
/**
* @generated from protobuf field: string ParentEntityID = 8 [json_name = "ParentEntityID"];
* @generated from protobuf field: string ParentEntityID = 8
*/
ParentEntityID: string;
}
@@ -240,15 +240,15 @@ export interface ActorEnrichment {
*/
export interface ActorTriplet {
/**
* @generated from protobuf field: api.Actor Current = 1 [json_name = "Current"];
* @generated from protobuf field: api.Actor Current = 1
*/
Current?: Actor;
/**
* @generated from protobuf field: api.Actor Previous = 2 [json_name = "Previous"];
* @generated from protobuf field: api.Actor Previous = 2
*/
Previous?: Actor;
/**
* @generated from protobuf field: api.Actor LastEvent = 3 [json_name = "LastEvent"];
* @generated from protobuf field: api.Actor LastEvent = 3
*/
LastEvent?: Actor;
}
@@ -272,13 +272,13 @@ class Actor$Type extends MessageType<Actor> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"];*/ 1:
case /* api.EventHeader LastEventHeader */ 1:
message.LastEventHeader = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.LastEventHeader);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
case /* api.EntityID ID */ 2:
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
break;
case /* api.ActorPayload Payload = 3 [json_name = "Payload"];*/ 3:
case /* api.ActorPayload Payload */ 3:
message.Payload = ActorPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
default:
@@ -293,13 +293,13 @@ class Actor$Type extends MessageType<Actor> {
return message;
}
internalBinaryWrite(message: Actor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.EventHeader LastEventHeader = 1 [json_name = "LastEventHeader"]; */
/* api.EventHeader LastEventHeader = 1; */
if (message.LastEventHeader)
EventHeader.internalBinaryWrite(message.LastEventHeader, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2 [json_name = "ID"]; */
/* api.EntityID ID = 2; */
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ActorPayload Payload = 3 [json_name = "Payload"]; */
/* api.ActorPayload Payload = 3; */
if (message.Payload)
ActorPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -378,85 +378,85 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string Name = 1 [json_name = "Name"];*/ 1:
case /* string Name */ 1:
message.Name = reader.string();
break;
case /* api.IdType IdType = 2 [json_name = "IdType"];*/ 2:
case /* api.IdType IdType */ 2:
message.IdType = reader.int32();
break;
case /* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"];*/ 3:
case /* repeated api.MetadataElement MetaData */ 3:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.Address Address = 4 [json_name = "Address"];*/ 4:
case /* api.Address Address */ 4:
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
break;
case /* api.ActorStatusStruct Status = 6 [json_name = "Status"];*/ 6:
case /* api.ActorStatusStruct Status */ 6:
message.Status = ActorStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
break;
case /* string PartnerID = 7 [json_name = "PartnerID"];*/ 7:
case /* string PartnerID */ 7:
message.PartnerID = reader.string();
break;
case /* string AdditionalInformation = 15 [json_name = "AdditionalInformation"];*/ 15:
case /* string AdditionalInformation */ 15:
message.AdditionalInformation = reader.string();
break;
case /* api.ActorTypology Typology = 10 [json_name = "Typology"];*/ 10:
case /* api.ActorTypology Typology */ 10:
message.Typology = reader.int32();
break;
case /* api.ActorSnapshot Snapshot = 11 [json_name = "Snapshot"];*/ 11:
case /* api.ActorSnapshot Snapshot */ 11:
message.Snapshot = ActorSnapshot.internalBinaryRead(reader, reader.uint32(), options, message.Snapshot);
break;
case /* repeated string Emails = 12 [json_name = "Emails"];*/ 12:
case /* repeated string Emails */ 12:
message.Emails.push(reader.string());
break;
case /* repeated string Phones = 13 [json_name = "Phones"];*/ 13:
case /* repeated string Phones */ 13:
message.Phones.push(reader.string());
break;
case /* bool ManagedStock = 14 [json_name = "ManagedStock"];*/ 14:
case /* bool ManagedStock */ 14:
message.ManagedStock = reader.bool();
break;
case /* bool IsCarrier = 16 [json_name = "IsCarrier"];*/ 16:
case /* bool IsCarrier */ 16:
message.IsCarrier = reader.bool();
break;
case /* repeated api.CarrierService CarrierServices = 17 [json_name = "CarrierServices"];*/ 17:
case /* repeated api.CarrierService CarrierServices */ 17:
message.CarrierServices.push(CarrierService.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* bool IsShipToConnected = 18 [json_name = "IsShipToConnected"];*/ 18:
case /* bool IsShipToConnected */ 18:
message.IsShipToConnected = reader.bool();
break;
case /* bool IsShipFromConnected = 19 [json_name = "IsShipFromConnected"];*/ 19:
case /* bool IsShipFromConnected */ 19:
message.IsShipFromConnected = reader.bool();
break;
case /* string ShipToPartnerAppID = 20 [json_name = "ShipToPartnerAppID"];*/ 20:
case /* string ShipToPartnerAppID */ 20:
message.ShipToPartnerAppID = reader.string();
break;
case /* string ShipFromPartnerAppID = 21 [json_name = "ShipFromPartnerAppID"];*/ 21:
case /* string ShipFromPartnerAppID */ 21:
message.ShipFromPartnerAppID = reader.string();
break;
case /* repeated api.AttachmentSummary Attachments = 22 [json_name = "Attachments"];*/ 22:
case /* repeated api.AttachmentSummary Attachments */ 22:
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 AttachmentNumber = 23 [json_name = "AttachmentNumber"];*/ 23:
case /* int32 AttachmentNumber */ 23:
message.AttachmentNumber = reader.int32();
break;
case /* repeated api.ClaimSummary Claims = 24 [json_name = "Claims"];*/ 24:
case /* repeated api.ClaimSummary Claims */ 24:
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int32 ClaimNumber = 25 [json_name = "ClaimNumber"];*/ 25:
case /* int32 ClaimNumber */ 25:
message.ClaimNumber = reader.int32();
break;
case /* string PhotoURI = 26 [json_name = "PhotoURI"];*/ 26:
case /* string PhotoURI */ 26:
message.PhotoURI = reader.string();
break;
case /* repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"];*/ 28:
case /* repeated string ConnectionIdentifierPrefixes */ 28:
message.ConnectionIdentifierPrefixes.push(reader.string());
break;
case /* bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"];*/ 29:
case /* bool IsSlotBookingEnabled */ 29:
message.IsSlotBookingEnabled = reader.bool();
break;
case /* api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"];*/ 30:
case /* api.SiteAlias SiteAlias */ 30:
message.SiteAlias = SiteAlias.internalBinaryRead(reader, reader.uint32(), options, message.SiteAlias);
break;
case /* api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"];*/ 31:
case /* api.ActorAuthorisation AppointmentConstraints */ 31:
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
break;
default:
@@ -471,85 +471,85 @@ class ActorPayload$Type extends MessageType<ActorPayload> {
return message;
}
internalBinaryWrite(message: ActorPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Name = 1 [json_name = "Name"]; */
/* string Name = 1; */
if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* api.IdType IdType = 2 [json_name = "IdType"]; */
/* api.IdType IdType = 2; */
if (message.IdType !== 0)
writer.tag(2, WireType.Varint).int32(message.IdType);
/* repeated api.MetadataElement MetaData = 3 [json_name = "MetaData"]; */
/* repeated api.MetadataElement MetaData = 3; */
for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* api.Address Address = 4 [json_name = "Address"]; */
/* api.Address Address = 4; */
if (message.Address)
Address.internalBinaryWrite(message.Address, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.ActorStatusStruct Status = 6 [json_name = "Status"]; */
/* api.ActorStatusStruct Status = 6; */
if (message.Status)
ActorStatusStruct.internalBinaryWrite(message.Status, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* string PartnerID = 7 [json_name = "PartnerID"]; */
/* string PartnerID = 7; */
if (message.PartnerID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.PartnerID);
/* api.ActorTypology Typology = 10 [json_name = "Typology"]; */
/* api.ActorTypology Typology = 10; */
if (message.Typology !== 0)
writer.tag(10, WireType.Varint).int32(message.Typology);
/* api.ActorSnapshot Snapshot = 11 [json_name = "Snapshot"]; */
/* api.ActorSnapshot Snapshot = 11; */
if (message.Snapshot)
ActorSnapshot.internalBinaryWrite(message.Snapshot, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* repeated string Emails = 12 [json_name = "Emails"]; */
/* repeated string Emails = 12; */
for (let i = 0; i < message.Emails.length; i++)
writer.tag(12, WireType.LengthDelimited).string(message.Emails[i]);
/* repeated string Phones = 13 [json_name = "Phones"]; */
/* repeated string Phones = 13; */
for (let i = 0; i < message.Phones.length; i++)
writer.tag(13, WireType.LengthDelimited).string(message.Phones[i]);
/* bool ManagedStock = 14 [json_name = "ManagedStock"]; */
/* bool ManagedStock = 14; */
if (message.ManagedStock !== false)
writer.tag(14, WireType.Varint).bool(message.ManagedStock);
/* string AdditionalInformation = 15 [json_name = "AdditionalInformation"]; */
/* string AdditionalInformation = 15; */
if (message.AdditionalInformation !== "")
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
/* bool IsCarrier = 16 [json_name = "IsCarrier"]; */
/* bool IsCarrier = 16; */
if (message.IsCarrier !== false)
writer.tag(16, WireType.Varint).bool(message.IsCarrier);
/* repeated api.CarrierService CarrierServices = 17 [json_name = "CarrierServices"]; */
/* repeated api.CarrierService CarrierServices = 17; */
for (let i = 0; i < message.CarrierServices.length; i++)
CarrierService.internalBinaryWrite(message.CarrierServices[i], writer.tag(17, WireType.LengthDelimited).fork(), options).join();
/* bool IsShipToConnected = 18 [json_name = "IsShipToConnected"]; */
/* bool IsShipToConnected = 18; */
if (message.IsShipToConnected !== false)
writer.tag(18, WireType.Varint).bool(message.IsShipToConnected);
/* bool IsShipFromConnected = 19 [json_name = "IsShipFromConnected"]; */
/* bool IsShipFromConnected = 19; */
if (message.IsShipFromConnected !== false)
writer.tag(19, WireType.Varint).bool(message.IsShipFromConnected);
/* string ShipToPartnerAppID = 20 [json_name = "ShipToPartnerAppID"]; */
/* string ShipToPartnerAppID = 20; */
if (message.ShipToPartnerAppID !== "")
writer.tag(20, WireType.LengthDelimited).string(message.ShipToPartnerAppID);
/* string ShipFromPartnerAppID = 21 [json_name = "ShipFromPartnerAppID"]; */
/* string ShipFromPartnerAppID = 21; */
if (message.ShipFromPartnerAppID !== "")
writer.tag(21, WireType.LengthDelimited).string(message.ShipFromPartnerAppID);
/* repeated api.AttachmentSummary Attachments = 22 [json_name = "Attachments"]; */
/* repeated api.AttachmentSummary Attachments = 22; */
for (let i = 0; i < message.Attachments.length; i++)
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(22, WireType.LengthDelimited).fork(), options).join();
/* int32 AttachmentNumber = 23 [json_name = "AttachmentNumber"]; */
/* int32 AttachmentNumber = 23; */
if (message.AttachmentNumber !== 0)
writer.tag(23, WireType.Varint).int32(message.AttachmentNumber);
/* repeated api.ClaimSummary Claims = 24 [json_name = "Claims"]; */
/* repeated api.ClaimSummary Claims = 24; */
for (let i = 0; i < message.Claims.length; i++)
ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(24, WireType.LengthDelimited).fork(), options).join();
/* int32 ClaimNumber = 25 [json_name = "ClaimNumber"]; */
/* int32 ClaimNumber = 25; */
if (message.ClaimNumber !== 0)
writer.tag(25, WireType.Varint).int32(message.ClaimNumber);
/* string PhotoURI = 26 [json_name = "PhotoURI"]; */
/* string PhotoURI = 26; */
if (message.PhotoURI !== "")
writer.tag(26, WireType.LengthDelimited).string(message.PhotoURI);
/* repeated string ConnectionIdentifierPrefixes = 28 [json_name = "ConnectionIdentifierPrefixes"]; */
/* repeated string ConnectionIdentifierPrefixes = 28; */
for (let i = 0; i < message.ConnectionIdentifierPrefixes.length; i++)
writer.tag(28, WireType.LengthDelimited).string(message.ConnectionIdentifierPrefixes[i]);
/* bool IsSlotBookingEnabled = 29 [json_name = "IsSlotBookingEnabled"]; */
/* bool IsSlotBookingEnabled = 29; */
if (message.IsSlotBookingEnabled !== false)
writer.tag(29, WireType.Varint).bool(message.IsSlotBookingEnabled);
/* api.SiteAlias SiteAlias = 30 [json_name = "SiteAlias"]; */
/* api.SiteAlias SiteAlias = 30; */
if (message.SiteAlias)
SiteAlias.internalBinaryWrite(message.SiteAlias, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
/* api.ActorAuthorisation AppointmentConstraints = 31 [json_name = "AppointmentConstraints"]; */
/* api.ActorAuthorisation AppointmentConstraints = 31; */
if (message.AppointmentConstraints)
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -597,34 +597,34 @@ class ActorEnrichment$Type extends MessageType<ActorEnrichment> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ParentEventID = 1 [json_name = "ParentEventID"];*/ 1:
case /* string ParentEventID */ 1:
message.ParentEventID = reader.string();
break;
case /* string EntityName = 2 [json_name = "EntityName"];*/ 2:
case /* string EntityName */ 2:
message.EntityName = reader.string();
break;
case /* string EntityRefID = 3 [json_name = "EntityRefID"];*/ 3:
case /* string EntityRefID */ 3:
message.EntityRefID = reader.string();
break;
case /* string RefFilter = 4 [json_name = "RefFilter"];*/ 4:
case /* string RefFilter */ 4:
message.RefFilter = reader.string();
break;
case /* string MergePath = 5 [json_name = "MergePath"];*/ 5:
case /* string MergePath */ 5:
message.MergePath = reader.string();
break;
case /* api.PartnerPayload Partner = 10 [json_name = "Partner"];*/ 10:
case /* api.PartnerPayload Partner */ 10:
message.Content = {
oneofKind: "Partner",
Partner: PartnerPayload.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Partner)
};
break;
case /* string Project = 6 [json_name = "Project"];*/ 6:
case /* string Project */ 6:
message.Project = reader.string();
break;
case /* string ParentEntityName = 7 [json_name = "ParentEntityName"];*/ 7:
case /* string ParentEntityName */ 7:
message.ParentEntityName = reader.string();
break;
case /* string ParentEntityID = 8 [json_name = "ParentEntityID"];*/ 8:
case /* string ParentEntityID */ 8:
message.ParentEntityID = reader.string();
break;
default:
@@ -639,31 +639,31 @@ class ActorEnrichment$Type extends MessageType<ActorEnrichment> {
return message;
}
internalBinaryWrite(message: ActorEnrichment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ParentEventID = 1 [json_name = "ParentEventID"]; */
/* string ParentEventID = 1; */
if (message.ParentEventID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ParentEventID);
/* string EntityName = 2 [json_name = "EntityName"]; */
/* string EntityName = 2; */
if (message.EntityName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.EntityName);
/* string EntityRefID = 3 [json_name = "EntityRefID"]; */
/* string EntityRefID = 3; */
if (message.EntityRefID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EntityRefID);
/* string RefFilter = 4 [json_name = "RefFilter"]; */
/* string RefFilter = 4; */
if (message.RefFilter !== "")
writer.tag(4, WireType.LengthDelimited).string(message.RefFilter);
/* string MergePath = 5 [json_name = "MergePath"]; */
/* string MergePath = 5; */
if (message.MergePath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.MergePath);
/* string Project = 6 [json_name = "Project"]; */
/* string Project = 6; */
if (message.Project !== "")
writer.tag(6, WireType.LengthDelimited).string(message.Project);
/* string ParentEntityName = 7 [json_name = "ParentEntityName"]; */
/* string ParentEntityName = 7; */
if (message.ParentEntityName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ParentEntityName);
/* string ParentEntityID = 8 [json_name = "ParentEntityID"]; */
/* string ParentEntityID = 8; */
if (message.ParentEntityID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.ParentEntityID);
/* api.PartnerPayload Partner = 10 [json_name = "Partner"]; */
/* api.PartnerPayload Partner = 10; */
if (message.Content.oneofKind === "Partner")
PartnerPayload.internalBinaryWrite(message.Content.Partner, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -696,13 +696,13 @@ class ActorTriplet$Type extends MessageType<ActorTriplet> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Actor Current = 1 [json_name = "Current"];*/ 1:
case /* api.Actor Current */ 1:
message.Current = Actor.internalBinaryRead(reader, reader.uint32(), options, message.Current);
break;
case /* api.Actor Previous = 2 [json_name = "Previous"];*/ 2:
case /* api.Actor Previous */ 2:
message.Previous = Actor.internalBinaryRead(reader, reader.uint32(), options, message.Previous);
break;
case /* api.Actor LastEvent = 3 [json_name = "LastEvent"];*/ 3:
case /* api.Actor LastEvent */ 3:
message.LastEvent = Actor.internalBinaryRead(reader, reader.uint32(), options, message.LastEvent);
break;
default:
@@ -717,13 +717,13 @@ class ActorTriplet$Type extends MessageType<ActorTriplet> {
return message;
}
internalBinaryWrite(message: ActorTriplet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Actor Current = 1 [json_name = "Current"]; */
/* api.Actor Current = 1; */
if (message.Current)
Actor.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.Actor Previous = 2 [json_name = "Previous"]; */
/* api.Actor Previous = 2; */
if (message.Previous)
Actor.internalBinaryWrite(message.Previous, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.Actor LastEvent = 3 [json_name = "LastEvent"]; */
/* api.Actor LastEvent = 3; */
if (message.LastEvent)
Actor.internalBinaryWrite(message.LastEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;