You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -13,9 +13,9 @@ import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { EntityID } from "./shared";
|
||||
import { CommandHeader } from "./shared";
|
||||
import { AttachmentSummary } from "./shared";
|
||||
import { MetadataElement } from "./shared";
|
||||
import { AppointmentStatusStruct } from "./collabShared";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { MetadataElement } from "./shared";
|
||||
import { SegmentationSelection } from "./slotbooking";
|
||||
import { AppointmentCommission } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
@@ -42,8 +42,10 @@ export interface AppointmentNotifyPayload {
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
/**
|
||||
* repeated CarrierInformationWithValue CarrierInformation = 5;
|
||||
*
|
||||
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 19
|
||||
*/
|
||||
CarrierInformation: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: api.Slot Slot = 6
|
||||
*/
|
||||
Slot?: Slot;
|
||||
@@ -130,6 +132,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
|
||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission },
|
||||
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
|
||||
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 16, name: "RemovedEmails", kind: "scalar", localName: "RemovedEmails", jsonName: "RemovedEmails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
@@ -150,6 +153,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
message.AppointmentType = 0;
|
||||
message.Commissions = [];
|
||||
message.SegmentationSelections = [];
|
||||
message.CarrierInformation = [];
|
||||
message.Emails = [];
|
||||
message.RemovedEmails = [];
|
||||
message.CreationDate = "";
|
||||
@@ -179,6 +183,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.MetadataElement CarrierInformation */ 19:
|
||||
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* api.Slot Slot */ 6:
|
||||
message.Slot = Slot.internalBinaryRead(reader, reader.uint32(), options, message.Slot);
|
||||
break;
|
||||
@@ -278,6 +285,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* bool InstructionAck = 18; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(18, WireType.Varint).bool(message.InstructionAck);
|
||||
/* repeated api.MetadataElement CarrierInformation = 19; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user