You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -18,7 +18,6 @@ import { AttachmentSummary } from "./shared";
|
||||
import { AppointmentStatusStruct } from "./collabShared";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { MetadataElement } from "./shared";
|
||||
import { SegmentationSelection } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
// Action Summary
|
||||
// - Notify : Push appointment to project present into the commissions
|
||||
@@ -36,10 +35,11 @@ export interface AppointmentNotifyPayload {
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* repeated AppointmentCommission Commissions = 2;
|
||||
* repeated SegmentationSelection SegmentationSelections = 4;
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
|
||||
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 25
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
SegmentationKeys: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 19
|
||||
*/
|
||||
@@ -141,10 +141,11 @@ export interface AppointmentMailPayload {
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* repeated AppointmentCommission Commissions = 2;
|
||||
* repeated SegmentationSelection SegmentationSelections = 4;
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
|
||||
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 25
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
SegmentationKeys: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 19
|
||||
*/
|
||||
@@ -242,7 +243,7 @@ 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: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 25, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ 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: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
|
||||
@@ -262,7 +263,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.SegmentationSelections = [];
|
||||
message.SegmentationKeys = [];
|
||||
message.CarrierInformation = [];
|
||||
message.CreationDate = "";
|
||||
message.MetaData = [];
|
||||
@@ -285,8 +286,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* api.AppointmentType AppointmentType */ 1:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.MetadataElement SegmentationKeys */ 25:
|
||||
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.MetadataElement CarrierInformation */ 19:
|
||||
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
@@ -345,9 +346,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* api.AppointmentType AppointmentType = 1; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
|
||||
/* 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();
|
||||
@@ -390,6 +388,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* repeated string RemovedAttendees = 24; */
|
||||
for (let i = 0; i < message.RemovedAttendees.length; i++)
|
||||
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
|
||||
/* repeated api.MetadataElement SegmentationKeys = 25; */
|
||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(25, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -479,7 +480,7 @@ 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: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 25, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ 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: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
|
||||
@@ -499,7 +500,7 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
create(value?: PartialMessage<AppointmentMailPayload>): AppointmentMailPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.SegmentationSelections = [];
|
||||
message.SegmentationKeys = [];
|
||||
message.CarrierInformation = [];
|
||||
message.CreationDate = "";
|
||||
message.MetaData = [];
|
||||
@@ -521,8 +522,8 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
case /* api.AppointmentType AppointmentType */ 1:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.MetadataElement SegmentationKeys */ 25:
|
||||
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.MetadataElement CarrierInformation */ 19:
|
||||
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
@@ -581,9 +582,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* api.AppointmentType AppointmentType = 1; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
|
||||
/* 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();
|
||||
@@ -626,6 +624,9 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* repeated string RemovedAttendees = 24; */
|
||||
for (let i = 0; i < message.RemovedAttendees.length; i++)
|
||||
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
|
||||
/* repeated api.MetadataElement SegmentationKeys = 25; */
|
||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(25, 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