You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -118,12 +118,6 @@ export interface AppointmentPayload {
|
||||
* @generated from protobuf field: int32 AttachmentNumber = 14
|
||||
*/
|
||||
AttachmentNumber: number;
|
||||
/**
|
||||
* This boolean will be used to either check reason or check the commissions for informations
|
||||
*
|
||||
* @generated from protobuf field: bool HasCommission = 15
|
||||
*/
|
||||
HasCommission: boolean;
|
||||
/**
|
||||
* The Reason for which the appointment has no commission
|
||||
*
|
||||
@@ -248,7 +242,6 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the site. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
|
||||
{ no: 13, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
|
||||
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 15, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ 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" } },
|
||||
@@ -268,7 +261,6 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
message.MetaData = [];
|
||||
message.Attachments = [];
|
||||
message.AttachmentNumber = 0;
|
||||
message.HasCommission = false;
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
message.ActorID = "";
|
||||
@@ -318,9 +310,6 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
case /* int32 AttachmentNumber */ 14:
|
||||
message.AttachmentNumber = reader.int32();
|
||||
break;
|
||||
case /* bool HasCommission */ 15:
|
||||
message.HasCommission = reader.bool();
|
||||
break;
|
||||
case /* string Reason */ 17:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
@@ -378,9 +367,6 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
/* int32 AttachmentNumber = 14; */
|
||||
if (message.AttachmentNumber !== 0)
|
||||
writer.tag(14, WireType.Varint).int32(message.AttachmentNumber);
|
||||
/* bool HasCommission = 15; */
|
||||
if (message.HasCommission !== false)
|
||||
writer.tag(15, WireType.Varint).bool(message.HasCommission);
|
||||
/* repeated string RemovedEmails = 16; */
|
||||
for (let i = 0; i < message.RemovedEmails.length; i++)
|
||||
writer.tag(16, WireType.LengthDelimited).string(message.RemovedEmails[i]);
|
||||
|
||||
Reference in New Issue
Block a user