You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -148,6 +148,12 @@ export interface AppointmentPayload {
|
||||
* @generated from protobuf field: api.Address Address = 21
|
||||
*/
|
||||
Address?: Address;
|
||||
/**
|
||||
* Name of the appointment site
|
||||
*
|
||||
* @generated from protobuf field: string SiteName = 22
|
||||
*/
|
||||
SiteName: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentTriplet
|
||||
@@ -246,7 +252,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
{ 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: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,LoadingStarted,LoadingCompleted,UnloadingStarted,UnloadingCompleted,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised,CustomFieldsUpdated" } },
|
||||
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }
|
||||
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
{ no: 22, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||
@@ -265,6 +272,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
message.ActorID = "";
|
||||
message.SiteName = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -325,6 +333,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
case /* api.Address Address */ 21:
|
||||
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
||||
break;
|
||||
case /* string SiteName */ 22:
|
||||
message.SiteName = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -388,6 +399,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
/* api.Address Address = 21; */
|
||||
if (message.Address)
|
||||
Address.internalBinaryWrite(message.Address, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string SiteName = 22; */
|
||||
if (message.SiteName !== "")
|
||||
writer.tag(22, WireType.LengthDelimited).string(message.SiteName);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user