You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -13,12 +13,12 @@ import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { Address } from "./repositoryShared";
|
||||
import { EntityID } from "./shared";
|
||||
import { CommandHeader } from "./shared";
|
||||
import { AppointmentContent } from "./slotbooking";
|
||||
import { AttachmentSummary } 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";
|
||||
// Action Summary
|
||||
// - Notify : Push appointment to project present into the commissions
|
||||
@@ -35,10 +35,8 @@ export interface AppointmentNotifyPayload {
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AppointmentCommission Commissions = 2
|
||||
*/
|
||||
Commissions: AppointmentCommission[];
|
||||
/**
|
||||
* repeated AppointmentCommission Commissions = 2;
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
@@ -51,14 +49,9 @@ export interface AppointmentNotifyPayload {
|
||||
*/
|
||||
Slot?: Slot;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Emails = 7
|
||||
*/
|
||||
Emails: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated string RemovedEmails = 16
|
||||
*/
|
||||
RemovedEmails: string[];
|
||||
/**
|
||||
* repeated string Emails = 7;
|
||||
* repeated string RemovedEmails = 16;
|
||||
*
|
||||
* @generated from protobuf field: api.AppointmentStatusStruct Status = 8
|
||||
*/
|
||||
Status?: AppointmentStatusStruct;
|
||||
@@ -93,6 +86,22 @@ export interface AppointmentNotifyPayload {
|
||||
* @generated from protobuf field: string TimeZone = 20
|
||||
*/
|
||||
TimeZone: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentContent Loading = 21
|
||||
*/
|
||||
Loading?: AppointmentContent;
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentContent Unloading = 22
|
||||
*/
|
||||
Unloading?: AppointmentContent;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Attendees = 23
|
||||
*/
|
||||
Attendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
||||
*/
|
||||
RemovedAttendees: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentNotify
|
||||
@@ -133,10 +142,8 @@ export interface AppointmentMailPayload {
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AppointmentCommission Commissions = 2
|
||||
*/
|
||||
Commissions: AppointmentCommission[];
|
||||
/**
|
||||
* repeated AppointmentCommission Commissions = 2;
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
@@ -149,14 +156,9 @@ export interface AppointmentMailPayload {
|
||||
*/
|
||||
Slot?: Slot;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Emails = 7
|
||||
*/
|
||||
Emails: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated string RemovedEmails = 16
|
||||
*/
|
||||
RemovedEmails: string[];
|
||||
/**
|
||||
* repeated string Emails = 7;
|
||||
* repeated string RemovedEmails = 16;
|
||||
*
|
||||
* @generated from protobuf field: api.AppointmentStatusStruct Status = 8
|
||||
*/
|
||||
Status?: AppointmentStatusStruct;
|
||||
@@ -195,6 +197,22 @@ export interface AppointmentMailPayload {
|
||||
* @generated from protobuf field: string SiteName = 20
|
||||
*/
|
||||
SiteName: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentContent Loading = 21
|
||||
*/
|
||||
Loading?: AppointmentContent;
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentContent Unloading = 22
|
||||
*/
|
||||
Unloading?: AppointmentContent;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Attendees = 23
|
||||
*/
|
||||
Attendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
||||
*/
|
||||
RemovedAttendees: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentMail
|
||||
@@ -226,12 +244,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
constructor() {
|
||||
super("api.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*/ },
|
||||
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
|
||||
{ no: 9, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
@@ -239,17 +254,18 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 20, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 20, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 21, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 22, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 23, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 24, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.Commissions = [];
|
||||
message.SegmentationSelections = [];
|
||||
message.CarrierInformation = [];
|
||||
message.Emails = [];
|
||||
message.RemovedEmails = [];
|
||||
message.CreationDate = "";
|
||||
message.MetaData = [];
|
||||
message.Attachments = [];
|
||||
@@ -257,6 +273,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
message.TimeZone = "";
|
||||
message.Attendees = [];
|
||||
message.RemovedAttendees = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -269,9 +287,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* api.AppointmentType AppointmentType */ 1:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* repeated api.AppointmentCommission Commissions */ 2:
|
||||
message.Commissions.push(AppointmentCommission.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
@@ -281,12 +296,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* api.Slot Slot */ 6:
|
||||
message.Slot = Slot.internalBinaryRead(reader, reader.uint32(), options, message.Slot);
|
||||
break;
|
||||
case /* repeated string Emails */ 7:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
case /* repeated string RemovedEmails */ 16:
|
||||
message.RemovedEmails.push(reader.string());
|
||||
break;
|
||||
case /* api.AppointmentStatusStruct Status */ 8:
|
||||
message.Status = AppointmentStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
||||
break;
|
||||
@@ -311,6 +320,18 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* string TimeZone */ 20:
|
||||
message.TimeZone = reader.string();
|
||||
break;
|
||||
case /* api.AppointmentContent Loading */ 21:
|
||||
message.Loading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Loading);
|
||||
break;
|
||||
case /* api.AppointmentContent Unloading */ 22:
|
||||
message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading);
|
||||
break;
|
||||
case /* repeated string Attendees */ 23:
|
||||
message.Attendees.push(reader.string());
|
||||
break;
|
||||
case /* repeated string RemovedAttendees */ 24:
|
||||
message.RemovedAttendees.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -326,18 +347,12 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* api.AppointmentType AppointmentType = 1; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
|
||||
/* 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();
|
||||
/* repeated api.SegmentationSelection SegmentationSelections = 4; */
|
||||
for (let i = 0; i < message.SegmentationSelections.length; i++)
|
||||
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Slot Slot = 6; */
|
||||
if (message.Slot)
|
||||
Slot.internalBinaryWrite(message.Slot, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Emails = 7; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
/* api.AppointmentStatusStruct Status = 8; */
|
||||
if (message.Status)
|
||||
AppointmentStatusStruct.internalBinaryWrite(message.Status, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -353,9 +368,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* int32 AttachmentNumber = 14; */
|
||||
if (message.AttachmentNumber !== 0)
|
||||
writer.tag(14, WireType.Varint).int32(message.AttachmentNumber);
|
||||
/* repeated string RemovedEmails = 16; */
|
||||
for (let i = 0; i < message.RemovedEmails.length; i++)
|
||||
writer.tag(16, WireType.LengthDelimited).string(message.RemovedEmails[i]);
|
||||
/* string Reason = 17; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(17, WireType.LengthDelimited).string(message.Reason);
|
||||
@@ -368,6 +380,18 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* string TimeZone = 20; */
|
||||
if (message.TimeZone !== "")
|
||||
writer.tag(20, WireType.LengthDelimited).string(message.TimeZone);
|
||||
/* api.AppointmentContent Loading = 21; */
|
||||
if (message.Loading)
|
||||
AppointmentContent.internalBinaryWrite(message.Loading, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.AppointmentContent Unloading = 22; */
|
||||
if (message.Unloading)
|
||||
AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Attendees = 23; */
|
||||
for (let i = 0; i < message.Attendees.length; i++)
|
||||
writer.tag(23, WireType.LengthDelimited).string(message.Attendees[i]);
|
||||
/* repeated string RemovedAttendees = 24; */
|
||||
for (let i = 0; i < message.RemovedAttendees.length; i++)
|
||||
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -457,12 +481,9 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentMailPayload", [
|
||||
{ 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*/ },
|
||||
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
|
||||
{ no: 9, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
@@ -470,23 +491,26 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 18, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
{ no: 20, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 20, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 21, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 22, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 23, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 24, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Mail" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentMailPayload>): AppointmentMailPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.Commissions = [];
|
||||
message.SegmentationSelections = [];
|
||||
message.CarrierInformation = [];
|
||||
message.Emails = [];
|
||||
message.RemovedEmails = [];
|
||||
message.CreationDate = "";
|
||||
message.MetaData = [];
|
||||
message.Attachments = [];
|
||||
message.AttachmentNumber = 0;
|
||||
message.Reason = "";
|
||||
message.SiteName = "";
|
||||
message.Attendees = [];
|
||||
message.RemovedAttendees = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentMailPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -499,9 +523,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
case /* api.AppointmentType AppointmentType */ 1:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* repeated api.AppointmentCommission Commissions */ 2:
|
||||
message.Commissions.push(AppointmentCommission.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
@@ -511,12 +532,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
case /* api.Slot Slot */ 6:
|
||||
message.Slot = Slot.internalBinaryRead(reader, reader.uint32(), options, message.Slot);
|
||||
break;
|
||||
case /* repeated string Emails */ 7:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
case /* repeated string RemovedEmails */ 16:
|
||||
message.RemovedEmails.push(reader.string());
|
||||
break;
|
||||
case /* api.AppointmentStatusStruct Status */ 8:
|
||||
message.Status = AppointmentStatusStruct.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
||||
break;
|
||||
@@ -541,6 +556,18 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
case /* string SiteName */ 20:
|
||||
message.SiteName = reader.string();
|
||||
break;
|
||||
case /* api.AppointmentContent Loading */ 21:
|
||||
message.Loading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Loading);
|
||||
break;
|
||||
case /* api.AppointmentContent Unloading */ 22:
|
||||
message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading);
|
||||
break;
|
||||
case /* repeated string Attendees */ 23:
|
||||
message.Attendees.push(reader.string());
|
||||
break;
|
||||
case /* repeated string RemovedAttendees */ 24:
|
||||
message.RemovedAttendees.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -556,18 +583,12 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* api.AppointmentType AppointmentType = 1; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
|
||||
/* 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();
|
||||
/* repeated api.SegmentationSelection SegmentationSelections = 4; */
|
||||
for (let i = 0; i < message.SegmentationSelections.length; i++)
|
||||
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Slot Slot = 6; */
|
||||
if (message.Slot)
|
||||
Slot.internalBinaryWrite(message.Slot, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Emails = 7; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
/* api.AppointmentStatusStruct Status = 8; */
|
||||
if (message.Status)
|
||||
AppointmentStatusStruct.internalBinaryWrite(message.Status, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -583,9 +604,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* int32 AttachmentNumber = 14; */
|
||||
if (message.AttachmentNumber !== 0)
|
||||
writer.tag(14, WireType.Varint).int32(message.AttachmentNumber);
|
||||
/* repeated string RemovedEmails = 16; */
|
||||
for (let i = 0; i < message.RemovedEmails.length; i++)
|
||||
writer.tag(16, WireType.LengthDelimited).string(message.RemovedEmails[i]);
|
||||
/* string Reason = 17; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(17, WireType.LengthDelimited).string(message.Reason);
|
||||
@@ -598,6 +616,18 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* string SiteName = 20; */
|
||||
if (message.SiteName !== "")
|
||||
writer.tag(20, WireType.LengthDelimited).string(message.SiteName);
|
||||
/* api.AppointmentContent Loading = 21; */
|
||||
if (message.Loading)
|
||||
AppointmentContent.internalBinaryWrite(message.Loading, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.AppointmentContent Unloading = 22; */
|
||||
if (message.Unloading)
|
||||
AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Attendees = 23; */
|
||||
for (let i = 0; i < message.Attendees.length; i++)
|
||||
writer.tag(23, WireType.LengthDelimited).string(message.Attendees[i]);
|
||||
/* repeated string RemovedAttendees = 24; */
|
||||
for (let i = 0; i < message.RemovedAttendees.length; i++)
|
||||
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user