You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -102,6 +102,10 @@ export interface AppointmentNotifyPayload {
|
||||
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
||||
*/
|
||||
RemovedAttendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: bool WMSCreated = 26
|
||||
*/
|
||||
WMSCreated: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentNotify
|
||||
@@ -294,7 +298,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
{ 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*/ }
|
||||
{ no: 24, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 26, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
||||
@@ -311,6 +316,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
message.TimeZone = "";
|
||||
message.Attendees = [];
|
||||
message.RemovedAttendees = [];
|
||||
message.WMSCreated = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -368,6 +374,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* repeated string RemovedAttendees */ 24:
|
||||
message.RemovedAttendees.push(reader.string());
|
||||
break;
|
||||
case /* bool WMSCreated */ 26:
|
||||
message.WMSCreated = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -428,6 +437,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* 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();
|
||||
/* bool WMSCreated = 26; */
|
||||
if (message.WMSCreated !== false)
|
||||
writer.tag(26, WireType.Varint).bool(message.WMSCreated);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user