Latest generation

This commit is contained in:
ci core model
2025-12-15 13:26:54 +00:00
parent 15d7434dd1
commit f5733ff7bc
7 changed files with 307 additions and 28 deletions

View File

@@ -89,6 +89,10 @@ export interface AppointmentNotifyPayload {
* @generated from protobuf field: bool InstructionAck = 18
*/
InstructionAck: boolean;
/**
* @generated from protobuf field: string TimeZone = 20
*/
TimeZone: string;
}
/**
* @generated from protobuf message api.AppointmentNotify
@@ -234,7 +238,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
{ no: 13, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary },
{ 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: 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*/ }
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
}
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
@@ -251,6 +256,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
message.AttachmentNumber = 0;
message.Reason = "";
message.InstructionAck = false;
message.TimeZone = "";
if (value !== undefined)
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
return message;
@@ -302,6 +308,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
case /* bool InstructionAck */ 18:
message.InstructionAck = reader.bool();
break;
case /* string TimeZone */ 20:
message.TimeZone = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -356,6 +365,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
/* repeated api.MetadataElement CarrierInformation = 19; */
for (let i = 0; i < message.CarrierInformation.length; i++)
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
/* string TimeZone = 20; */
if (message.TimeZone !== "")
writer.tag(20, WireType.LengthDelimited).string(message.TimeZone);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);