Latest generation

This commit is contained in:
ci core model
2026-02-24 10:08:48 +00:00
parent 9016f7a2b7
commit 71a99c0c79
3 changed files with 29 additions and 3 deletions

View File

@@ -344,6 +344,12 @@ export interface WMSUpdateAppointmentPayload {
* @generated from protobuf field: api.AppointmentContent Unloading = 4
*/
Unloading?: AppointmentContent;
/**
* In case of no reference, The Reason for which the appointment has no commissions
*
* @generated from protobuf field: string Reason = 5
*/
Reason: string;
}
/**
* CheckAppointmentEditable
@@ -1192,12 +1198,14 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
{ no: 1, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 2, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "TimeZone is required only when a WMS calls the API" } } },
{ no: 3, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
{ no: 4, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }
{ no: 4, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
{ no: 5, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason is required to update appointment without order reference" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Slot"] } } });
}
create(value?: PartialMessage<WMSUpdateAppointmentPayload>): WMSUpdateAppointmentPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.TimeZone = "";
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<WMSUpdateAppointmentPayload>(this, message, value);
return message;
@@ -1219,6 +1227,9 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
case /* api.AppointmentContent Unloading */ 4:
message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading);
break;
case /* string Reason */ 5:
message.Reason = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -1243,6 +1254,9 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
/* api.AppointmentContent Unloading = 4; */
if (message.Unloading)
AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string Reason = 5; */
if (message.Reason !== "")
writer.tag(5, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);