You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -97,6 +97,10 @@ export interface AppointmentCreatedPayload {
|
||||
* @generated from protobuf field: bool InstructionAck = 14
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 16
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -160,6 +164,10 @@ export interface AppointmentCreatedResponse {
|
||||
* @generated from protobuf message api.AppointmentCanceledPayload
|
||||
*/
|
||||
export interface AppointmentCanceledPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -227,6 +235,10 @@ export interface AppointmentSlotUpdatedPayload {
|
||||
* @generated from protobuf field: api.Slot Slot = 1
|
||||
*/
|
||||
Slot?: Slot;
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -294,6 +306,10 @@ export interface AppointmentCommissionsUpdatedPayload {
|
||||
* @generated from protobuf field: repeated api.AppointmentCommission Commissions = 2
|
||||
*/
|
||||
Commissions: AppointmentCommission[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -359,6 +375,10 @@ export interface AppointmentAttachmentAddedPayload {
|
||||
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1
|
||||
*/
|
||||
Attachments: AttachmentSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentAttachmentAddedEvent
|
||||
@@ -418,6 +438,10 @@ export interface AppointmentAttachmentRemovedPayload {
|
||||
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1
|
||||
*/
|
||||
Attachments: AttachmentSummary[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentAttachmentRemovedEvent
|
||||
@@ -481,6 +505,10 @@ export interface AppointmentCarrierInformationUpdatedPayload {
|
||||
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 2
|
||||
*/
|
||||
CarrierInformation: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -544,6 +572,10 @@ export interface AppointmentCarrierInformationUpdatedResponse {
|
||||
* @generated from protobuf message api.AppointmentCarrierExpectedPayload
|
||||
*/
|
||||
export interface AppointmentCarrierExpectedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -607,6 +639,10 @@ export interface AppointmentCarrierExpectedResponse {
|
||||
* @generated from protobuf message api.AppointmentCarrierArrivedPayload
|
||||
*/
|
||||
export interface AppointmentCarrierArrivedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -670,6 +706,10 @@ export interface AppointmentCarrierArrivedResponse {
|
||||
* @generated from protobuf message api.AppointmentExpeditionStartedPayload
|
||||
*/
|
||||
export interface AppointmentExpeditionStartedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -733,6 +773,10 @@ export interface AppointmentExpeditionStartedResponse {
|
||||
* @generated from protobuf message api.AppointmentExpeditionLoadedPayload
|
||||
*/
|
||||
export interface AppointmentExpeditionLoadedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -796,6 +840,10 @@ export interface AppointmentExpeditionLoadedResponse {
|
||||
* @generated from protobuf message api.AppointmentReceptionStartedPayload
|
||||
*/
|
||||
export interface AppointmentReceptionStartedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -859,6 +907,10 @@ export interface AppointmentReceptionStartedResponse {
|
||||
* @generated from protobuf message api.AppointmentReceptionUnloadedPayload
|
||||
*/
|
||||
export interface AppointmentReceptionUnloadedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -922,6 +974,10 @@ export interface AppointmentReceptionUnloadedResponse {
|
||||
* @generated from protobuf message api.AppointmentCarrierDepartedPayload
|
||||
*/
|
||||
export interface AppointmentCarrierDepartedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -992,6 +1048,10 @@ export interface AppointmentMetaDataUpdatedPayload {
|
||||
* @generated from protobuf field: repeated api.MetadataElement MetaData = 1
|
||||
*/
|
||||
MetaData: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentMetaDataUpdatedEvent
|
||||
@@ -1055,6 +1115,10 @@ export interface AppointmentEmailsAddedPayload {
|
||||
* @generated from protobuf field: repeated string Emails = 1
|
||||
*/
|
||||
Emails: string[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -1124,6 +1188,10 @@ export interface AppointmentEmailsRemovedPayload {
|
||||
* @generated from protobuf field: repeated string RemovedEmails = 1
|
||||
*/
|
||||
RemovedEmails: string[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -1182,6 +1250,10 @@ export interface AppointmentEmailsRemovedResponse {
|
||||
* @generated from protobuf message api.AppointmentSanitisedPayload
|
||||
*/
|
||||
export interface AppointmentSanitisedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentSanitisedEvent
|
||||
@@ -1245,7 +1317,8 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
{ no: 11, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
|
||||
@@ -1261,6 +1334,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
message.Reason = "";
|
||||
message.HasCommission = false;
|
||||
message.InstructionAck = false;
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1306,6 +1380,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
case /* bool InstructionAck */ 14:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
case /* string ActorID */ 16:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1354,6 +1431,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
/* repeated api.MetadataElement CarrierInformation = 15; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 16; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(16, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1540,10 +1620,13 @@ export const AppointmentCreatedResponse = new AppointmentCreatedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCanceledPayload$Type extends MessageType<AppointmentCanceledPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCanceledPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Canceled" });
|
||||
super("api.AppointmentCanceledPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Canceled" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCanceledPayload>): AppointmentCanceledPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCanceledPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1553,6 +1636,9 @@ class AppointmentCanceledPayload$Type extends MessageType<AppointmentCanceledPay
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1565,6 +1651,9 @@ class AppointmentCanceledPayload$Type extends MessageType<AppointmentCanceledPay
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCanceledPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1752,11 +1841,13 @@ export const AppointmentCanceledResponse = new AppointmentCanceledResponse$Type(
|
||||
class AppointmentSlotUpdatedPayload$Type extends MessageType<AppointmentSlotUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentSlotUpdatedPayload", [
|
||||
{ no: 1, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot }
|
||||
{ no: 1, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "SlotUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentSlotUpdatedPayload>): AppointmentSlotUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentSlotUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1769,6 +1860,9 @@ class AppointmentSlotUpdatedPayload$Type extends MessageType<AppointmentSlotUpda
|
||||
case /* api.Slot Slot */ 1:
|
||||
message.Slot = Slot.internalBinaryRead(reader, reader.uint32(), options, message.Slot);
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1784,6 +1878,9 @@ class AppointmentSlotUpdatedPayload$Type extends MessageType<AppointmentSlotUpda
|
||||
/* api.Slot Slot = 1; */
|
||||
if (message.Slot)
|
||||
Slot.internalBinaryWrite(message.Slot, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1971,12 +2068,14 @@ export const AppointmentSlotUpdatedResponse = new AppointmentSlotUpdatedResponse
|
||||
class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentCommissionsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCommissionsUpdatedPayload", [
|
||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission }
|
||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission },
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CommissionsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCommissionsUpdatedPayload>): AppointmentCommissionsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Commissions = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCommissionsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1989,6 +2088,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
case /* repeated api.AppointmentCommission Commissions */ 2:
|
||||
message.Commissions.push(AppointmentCommission.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2001,6 +2103,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCommissionsUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* repeated api.AppointmentCommission Commissions = 2; */
|
||||
for (let i = 0; i < message.Commissions.length; i++)
|
||||
AppointmentCommission.internalBinaryWrite(message.Commissions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -2191,12 +2296,14 @@ export const AppointmentCommissionsUpdatedResponse = new AppointmentCommissionsU
|
||||
class AppointmentAttachmentAddedPayload$Type extends MessageType<AppointmentAttachmentAddedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentAttachmentAddedPayload", [
|
||||
{ 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" } } }
|
||||
{ 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" } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentAttachmentAddedPayload>): AppointmentAttachmentAddedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Attachments = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentAttachmentAddedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2209,6 +2316,9 @@ class AppointmentAttachmentAddedPayload$Type extends MessageType<AppointmentAtta
|
||||
case /* repeated api.AttachmentSummary Attachments */ 1:
|
||||
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2224,6 +2334,9 @@ class AppointmentAttachmentAddedPayload$Type extends MessageType<AppointmentAtta
|
||||
/* repeated api.AttachmentSummary Attachments = 1; */
|
||||
for (let i = 0; i < message.Attachments.length; i++)
|
||||
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -2411,12 +2524,14 @@ export const AppointmentAttachmentAddedResponse = new AppointmentAttachmentAdded
|
||||
class AppointmentAttachmentRemovedPayload$Type extends MessageType<AppointmentAttachmentRemovedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentAttachmentRemovedPayload", [
|
||||
{ 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" } } }
|
||||
{ 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" } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentAttachmentRemovedPayload>): AppointmentAttachmentRemovedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Attachments = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentAttachmentRemovedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2429,6 +2544,9 @@ class AppointmentAttachmentRemovedPayload$Type extends MessageType<AppointmentAt
|
||||
case /* repeated api.AttachmentSummary Attachments */ 1:
|
||||
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2444,6 +2562,9 @@ class AppointmentAttachmentRemovedPayload$Type extends MessageType<AppointmentAt
|
||||
/* repeated api.AttachmentSummary Attachments = 1; */
|
||||
for (let i = 0; i < message.Attachments.length; i++)
|
||||
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -2631,12 +2752,14 @@ export const AppointmentAttachmentRemovedResponse = new AppointmentAttachmentRem
|
||||
class AppointmentCarrierInformationUpdatedPayload$Type extends MessageType<AppointmentCarrierInformationUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCarrierInformationUpdatedPayload", [
|
||||
{ no: 2, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key" } }
|
||||
{ no: 2, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key" } },
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierInformationUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCarrierInformationUpdatedPayload>): AppointmentCarrierInformationUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.CarrierInformation = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCarrierInformationUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2649,6 +2772,9 @@ class AppointmentCarrierInformationUpdatedPayload$Type extends MessageType<Appoi
|
||||
case /* repeated api.MetadataElement CarrierInformation */ 2:
|
||||
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2661,6 +2787,9 @@ class AppointmentCarrierInformationUpdatedPayload$Type extends MessageType<Appoi
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCarrierInformationUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* repeated api.MetadataElement CarrierInformation = 2; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -2850,10 +2979,13 @@ export const AppointmentCarrierInformationUpdatedResponse = new AppointmentCarri
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCarrierExpectedPayload$Type extends MessageType<AppointmentCarrierExpectedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCarrierExpectedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierExpected" });
|
||||
super("api.AppointmentCarrierExpectedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierExpected" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCarrierExpectedPayload>): AppointmentCarrierExpectedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCarrierExpectedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2863,6 +2995,9 @@ class AppointmentCarrierExpectedPayload$Type extends MessageType<AppointmentCarr
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2875,6 +3010,9 @@ class AppointmentCarrierExpectedPayload$Type extends MessageType<AppointmentCarr
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCarrierExpectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3061,10 +3199,13 @@ export const AppointmentCarrierExpectedResponse = new AppointmentCarrierExpected
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCarrierArrivedPayload$Type extends MessageType<AppointmentCarrierArrivedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCarrierArrivedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierArrived" });
|
||||
super("api.AppointmentCarrierArrivedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierArrived" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCarrierArrivedPayload>): AppointmentCarrierArrivedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCarrierArrivedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3074,6 +3215,9 @@ class AppointmentCarrierArrivedPayload$Type extends MessageType<AppointmentCarri
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3086,6 +3230,9 @@ class AppointmentCarrierArrivedPayload$Type extends MessageType<AppointmentCarri
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCarrierArrivedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3272,10 +3419,13 @@ export const AppointmentCarrierArrivedResponse = new AppointmentCarrierArrivedRe
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentExpeditionStartedPayload$Type extends MessageType<AppointmentExpeditionStartedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentExpeditionStartedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExpeditionStarted" });
|
||||
super("api.AppointmentExpeditionStartedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExpeditionStarted" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentExpeditionStartedPayload>): AppointmentExpeditionStartedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentExpeditionStartedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3285,6 +3435,9 @@ class AppointmentExpeditionStartedPayload$Type extends MessageType<AppointmentEx
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3297,6 +3450,9 @@ class AppointmentExpeditionStartedPayload$Type extends MessageType<AppointmentEx
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentExpeditionStartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3483,10 +3639,13 @@ export const AppointmentExpeditionStartedResponse = new AppointmentExpeditionSta
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentExpeditionLoadedPayload$Type extends MessageType<AppointmentExpeditionLoadedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentExpeditionLoadedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExpeditionLoaded" });
|
||||
super("api.AppointmentExpeditionLoadedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ExpeditionLoaded" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentExpeditionLoadedPayload>): AppointmentExpeditionLoadedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentExpeditionLoadedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3496,6 +3655,9 @@ class AppointmentExpeditionLoadedPayload$Type extends MessageType<AppointmentExp
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3508,6 +3670,9 @@ class AppointmentExpeditionLoadedPayload$Type extends MessageType<AppointmentExp
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentExpeditionLoadedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3694,10 +3859,13 @@ export const AppointmentExpeditionLoadedResponse = new AppointmentExpeditionLoad
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentReceptionStartedPayload$Type extends MessageType<AppointmentReceptionStartedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentReceptionStartedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceptionStarted" });
|
||||
super("api.AppointmentReceptionStartedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceptionStarted" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentReceptionStartedPayload>): AppointmentReceptionStartedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentReceptionStartedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3707,6 +3875,9 @@ class AppointmentReceptionStartedPayload$Type extends MessageType<AppointmentRec
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3719,6 +3890,9 @@ class AppointmentReceptionStartedPayload$Type extends MessageType<AppointmentRec
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentReceptionStartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3905,10 +4079,13 @@ export const AppointmentReceptionStartedResponse = new AppointmentReceptionStart
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentReceptionUnloadedPayload$Type extends MessageType<AppointmentReceptionUnloadedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentReceptionUnloadedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceptionUnloaded" });
|
||||
super("api.AppointmentReceptionUnloadedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceptionUnloaded" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentReceptionUnloadedPayload>): AppointmentReceptionUnloadedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentReceptionUnloadedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3918,6 +4095,9 @@ class AppointmentReceptionUnloadedPayload$Type extends MessageType<AppointmentRe
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3930,6 +4110,9 @@ class AppointmentReceptionUnloadedPayload$Type extends MessageType<AppointmentRe
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentReceptionUnloadedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4116,10 +4299,13 @@ export const AppointmentReceptionUnloadedResponse = new AppointmentReceptionUnlo
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCarrierDepartedPayload$Type extends MessageType<AppointmentCarrierDepartedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCarrierDepartedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierDeparted" });
|
||||
super("api.AppointmentCarrierDepartedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierDeparted" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCarrierDepartedPayload>): AppointmentCarrierDepartedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCarrierDepartedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -4129,6 +4315,9 @@ class AppointmentCarrierDepartedPayload$Type extends MessageType<AppointmentCarr
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4141,6 +4330,9 @@ class AppointmentCarrierDepartedPayload$Type extends MessageType<AppointmentCarr
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentCarrierDepartedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4328,12 +4520,14 @@ export const AppointmentCarrierDepartedResponse = new AppointmentCarrierDeparted
|
||||
class AppointmentMetaDataUpdatedPayload$Type extends MessageType<AppointmentMetaDataUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentMetaDataUpdatedPayload", [
|
||||
{ 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 site. 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 site. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentMetaDataUpdatedPayload>): AppointmentMetaDataUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.MetaData = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentMetaDataUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -4346,6 +4540,9 @@ class AppointmentMetaDataUpdatedPayload$Type extends MessageType<AppointmentMeta
|
||||
case /* repeated api.MetadataElement MetaData */ 1:
|
||||
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4361,6 +4558,9 @@ class AppointmentMetaDataUpdatedPayload$Type extends MessageType<AppointmentMeta
|
||||
/* repeated api.MetadataElement MetaData = 1; */
|
||||
for (let i = 0; i < message.MetaData.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4548,12 +4748,14 @@ export const AppointmentMetaDataUpdatedResponse = new AppointmentMetaDataUpdated
|
||||
class AppointmentEmailsAddedPayload$Type extends MessageType<AppointmentEmailsAddedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentEmailsAddedPayload", [
|
||||
{ no: 1, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }
|
||||
{ no: 1, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["Emails"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "EmailsAdded" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentEmailsAddedPayload>): AppointmentEmailsAddedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Emails = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentEmailsAddedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -4566,6 +4768,9 @@ class AppointmentEmailsAddedPayload$Type extends MessageType<AppointmentEmailsAd
|
||||
case /* repeated string Emails */ 1:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4581,6 +4786,9 @@ class AppointmentEmailsAddedPayload$Type extends MessageType<AppointmentEmailsAd
|
||||
/* repeated string Emails = 1; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4768,12 +4976,14 @@ export const AppointmentEmailsAddedResponse = new AppointmentEmailsAddedResponse
|
||||
class AppointmentEmailsRemovedPayload$Type extends MessageType<AppointmentEmailsRemovedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentEmailsRemovedPayload", [
|
||||
{ no: 1, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } }
|
||||
{ no: 1, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["RemovedEmails"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "EmailsRemoved" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentEmailsRemovedPayload>): AppointmentEmailsRemovedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.RemovedEmails = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentEmailsRemovedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -4786,6 +4996,9 @@ class AppointmentEmailsRemovedPayload$Type extends MessageType<AppointmentEmails
|
||||
case /* repeated string RemovedEmails */ 1:
|
||||
message.RemovedEmails.push(reader.string());
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4801,6 +5014,9 @@ class AppointmentEmailsRemovedPayload$Type extends MessageType<AppointmentEmails
|
||||
/* repeated string RemovedEmails = 1; */
|
||||
for (let i = 0; i < message.RemovedEmails.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.RemovedEmails[i]);
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4987,10 +5203,13 @@ export const AppointmentEmailsRemovedResponse = new AppointmentEmailsRemovedResp
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentSanitisedPayload$Type extends MessageType<AppointmentSanitisedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentSanitisedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Sanitised" });
|
||||
super("api.AppointmentSanitisedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Sanitised" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentSanitisedPayload>): AppointmentSanitisedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentSanitisedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -5000,6 +5219,9 @@ class AppointmentSanitisedPayload$Type extends MessageType<AppointmentSanitisedP
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -5012,6 +5234,9 @@ class AppointmentSanitisedPayload$Type extends MessageType<AppointmentSanitisedP
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentSanitisedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251118094457",
|
||||
"version": "1.12.0-SNAPSHOT-251118094923",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user