diff --git a/appointment.ts b/appointment.ts index f816f5e..336a5ac 100644 --- a/appointment.ts +++ b/appointment.ts @@ -124,14 +124,20 @@ export interface AppointmentPayload { */ 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 + * * @generated from protobuf field: string Reason = 17 */ Reason: string; /** + * Acknowledgment of the site instructions + * * @generated from protobuf field: bool InstructionAck = 18 */ InstructionAck: boolean; diff --git a/package.json b/package.json index 9c15146..757d466 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250811090749", + "version": "1.11.0-SNAPSHOT-250811093019", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.ts b/site.ts index 8522e9d..543667f 100644 --- a/site.ts +++ b/site.ts @@ -679,6 +679,12 @@ export interface BookAppointmentRequest { * @generated from protobuf field: string AppointmentID = 11 */ AppointmentID: string; + /** + * Acknowledgment of the site instructions + * + * @generated from protobuf field: bool InstructionAck = 12 + */ + InstructionAck: boolean; } /** * BookAppointment @@ -757,6 +763,12 @@ export interface BookAppointmentNoReferenceRequest { * @generated from protobuf field: string Reason = 12 */ Reason: string; + /** + * Acknowledgment of the site instructions + * + * @generated from protobuf field: bool InstructionAck = 13 + */ + InstructionAck: boolean; } /** * BookAppointment @@ -829,6 +841,12 @@ export interface WMSBookAppointmentRequest { * @generated from protobuf field: string AppointmentID = 12 */ AppointmentID: string; + /** + * Acknowledgment of the site instructions + * + * @generated from protobuf field: bool InstructionAck = 13 + */ + InstructionAck: boolean; } /** * BookAppointment @@ -913,6 +931,12 @@ export interface WMSBookAppointmentNoReferenceRequest { * @generated from protobuf field: string Reason = 13 */ Reason: string; + /** + * Acknowledgment of the site instructions + * + * @generated from protobuf field: bool InstructionAck = 14 + */ + InstructionAck: boolean; } /** * @generated from protobuf message api.BookAppointmentResponse @@ -2838,7 +2862,8 @@ class BookAppointmentRequest$Type extends MessageType { { no: 8, 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: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ }, { no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }, - { no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } } + { no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }, + { no: 12, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation"] } } }); } create(value?: PartialMessage): BookAppointmentRequest { @@ -2852,6 +2877,7 @@ class BookAppointmentRequest$Type extends MessageType { message.CarrierID = ""; message.CarrierName = ""; message.AppointmentID = ""; + message.InstructionAck = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -2891,6 +2917,9 @@ class BookAppointmentRequest$Type extends MessageType { case /* string AppointmentID */ 11: message.AppointmentID = reader.string(); break; + case /* bool InstructionAck */ 12: + message.InstructionAck = reader.bool(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -2933,6 +2962,9 @@ class BookAppointmentRequest$Type extends MessageType { /* string AppointmentID = 11; */ if (message.AppointmentID !== "") writer.tag(11, WireType.LengthDelimited).string(message.AppointmentID); + /* bool InstructionAck = 12; */ + if (message.InstructionAck !== false) + writer.tag(12, WireType.Varint).bool(message.InstructionAck); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -2958,7 +2990,8 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType): BookAppointmentNoReferenceRequest { @@ -2974,6 +3007,7 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType(this, message, value); return message; @@ -3019,6 +3053,9 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType): WMSBookAppointmentRequest { @@ -3106,6 +3147,7 @@ class WMSBookAppointmentRequest$Type extends MessageType(this, message, value); return message; @@ -3148,6 +3190,9 @@ class WMSBookAppointmentRequest$Type extends MessageType): WMSBookAppointmentNoReferenceRequest { @@ -3236,6 +3285,7 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType(this, message, value); return message; @@ -3284,6 +3334,9 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType