diff --git a/appointment.ts b/appointment.ts index 2f1114d..a36b997 100644 --- a/appointment.ts +++ b/appointment.ts @@ -198,6 +198,10 @@ export interface AppointmentPayload { * @generated from protobuf field: repeated string RemovedAttendees = 28 */ RemovedAttendees: string[]; + /** + * @generated from protobuf field: bool WMSCreated = 31 + */ + WMSCreated: boolean; } /** * @generated from protobuf message api.AppointmentTriplet @@ -303,7 +307,8 @@ class AppointmentPayload$Type extends MessageType { { no: 25, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent }, { no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }, { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Attendees of the appointment" }, "api.aggSkip": "AttendeesAdded", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, - { no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } } + { no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, + { no: 31, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } }); } create(value?: PartialMessage): AppointmentPayload { @@ -326,6 +331,7 @@ class AppointmentPayload$Type extends MessageType { message.TimeZone = ""; message.Attendees = []; message.RemovedAttendees = []; + message.WMSCreated = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -407,6 +413,9 @@ class AppointmentPayload$Type extends MessageType { case /* repeated string RemovedAttendees */ 28: message.RemovedAttendees.push(reader.string()); break; + case /* bool WMSCreated */ 31: + message.WMSCreated = reader.bool(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -491,6 +500,9 @@ class AppointmentPayload$Type extends MessageType { /* api.DateTime CreationDateTime = 30; */ if (message.CreationDateTime) DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(30, WireType.LengthDelimited).fork(), options).join(); + /* bool WMSCreated = 31; */ + if (message.WMSCreated !== false) + writer.tag(31, WireType.Varint).bool(message.WMSCreated); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); diff --git a/appointmentAction.ts b/appointmentAction.ts index 3a53627..34a0e67 100644 --- a/appointmentAction.ts +++ b/appointmentAction.ts @@ -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 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 { @@ -311,6 +316,7 @@ class AppointmentNotifyPayload$Type extends MessageType(this, message, value); return message; @@ -368,6 +374,9 @@ class AppointmentNotifyPayload$Type extends MessageType