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]);
|
||||
|
||||
@@ -81,10 +81,6 @@ export interface AppointmentNotifyPayload {
|
||||
* @generated from protobuf field: int32 AttachmentNumber = 14
|
||||
*/
|
||||
AttachmentNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: bool HasCommission = 15
|
||||
*/
|
||||
HasCommission: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: string Reason = 17
|
||||
*/
|
||||
@@ -179,10 +175,6 @@ export interface AppointmentMailPayload {
|
||||
* @generated from protobuf field: int32 AttachmentNumber = 14
|
||||
*/
|
||||
AttachmentNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: bool HasCommission = 15
|
||||
*/
|
||||
HasCommission: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: string Reason = 17
|
||||
*/
|
||||
@@ -241,7 +233,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ 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: 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*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||
@@ -258,7 +249,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
message.MetaData = [];
|
||||
message.Attachments = [];
|
||||
message.AttachmentNumber = 0;
|
||||
message.HasCommission = false;
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
if (value !== undefined)
|
||||
@@ -306,9 +296,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
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;
|
||||
@@ -357,9 +344,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* 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]);
|
||||
@@ -472,7 +456,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
{ no: 10, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ 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: 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: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
{ no: 20, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
||||
@@ -490,7 +473,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
message.MetaData = [];
|
||||
message.Attachments = [];
|
||||
message.AttachmentNumber = 0;
|
||||
message.HasCommission = false;
|
||||
message.Reason = "";
|
||||
message.SiteName = "";
|
||||
if (value !== undefined)
|
||||
@@ -538,9 +520,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
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;
|
||||
@@ -592,9 +571,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
|
||||
/* 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]);
|
||||
|
||||
@@ -85,10 +85,6 @@ export interface AppointmentCreatedPayload {
|
||||
* @generated from protobuf field: string Reason = 12
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool HasCommission = 13
|
||||
*/
|
||||
HasCommission: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: bool InstructionAck = 14
|
||||
*/
|
||||
@@ -1378,7 +1374,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ no: 8, 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: 12, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 17, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
@@ -1394,7 +1389,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
message.Emails = [];
|
||||
message.MetaData = [];
|
||||
message.Reason = "";
|
||||
message.HasCommission = false;
|
||||
message.InstructionAck = false;
|
||||
message.ActorID = "";
|
||||
message.SiteName = "";
|
||||
@@ -1431,9 +1425,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
case /* string Reason */ 12:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
case /* bool HasCommission */ 13:
|
||||
message.HasCommission = reader.bool();
|
||||
break;
|
||||
case /* bool InstructionAck */ 14:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
@@ -1479,9 +1470,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
/* string Reason = 12; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.Reason);
|
||||
/* bool HasCommission = 13; */
|
||||
if (message.HasCommission !== false)
|
||||
writer.tag(13, WireType.Varint).bool(message.HasCommission);
|
||||
/* bool InstructionAck = 14; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(14, WireType.Varint).bool(message.InstructionAck);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251205105744",
|
||||
"version": "1.12.0-SNAPSHOT-251205140345",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user