diff --git a/package.json b/package.json index 8d63040..18ac8b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250805131955", + "version": "1.11.0-SNAPSHOT-250805143456", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.ts b/site.ts index 0a3caf4..27f1faa 100644 --- a/site.ts +++ b/site.ts @@ -960,11 +960,17 @@ export interface UpdateSlotAppointmentRequest { */ AppointmentID: string; /** - * The slot to book for the appointment + * The slots to book for the appointment * * @generated from protobuf field: repeated api.Slot Slots = 3 */ Slots: Slot[]; + /** + * time zone, useful only if a WMS use this API + * + * @generated from protobuf field: string TimeZone = 4 + */ + TimeZone: string; } /** * @generated from protobuf message api.UpdateSlotAppointmentResponse @@ -988,15 +994,23 @@ export interface UpdateCommissionsAppointmentRequest { */ AppointmentID: string; /** - * The slot to book for the appointment + * The slots to book for the appointment * * @generated from protobuf field: repeated api.Slot Slots = 3 */ Slots: Slot[]; /** + * The modified Commissions for the appointment + * * @generated from protobuf field: repeated api.Commission Commissions = 4 */ Commissions: Commission[]; + /** + * time zone, useful only if a WMS use this API + * + * @generated from protobuf field: string TimeZone = 5 + */ + TimeZone: string; } /** * @generated from protobuf message api.UpdateCommissionsAppointmentResponse @@ -3485,13 +3499,15 @@ class UpdateSlotAppointmentRequest$Type extends MessageType RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, - { no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot } + { no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }, + { no: 4, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } }); } create(value?: PartialMessage): UpdateSlotAppointmentRequest { const message = globalThis.Object.create((this.messagePrototype!)); message.AppointmentID = ""; message.Slots = []; + message.TimeZone = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -3510,6 +3526,9 @@ class UpdateSlotAppointmentRequest$Type extends MessageType RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }, - { no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } }); + { no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission }, + { no: 5, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ } + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "Commissions"] } } }); } create(value?: PartialMessage): UpdateCommissionsAppointmentRequest { const message = globalThis.Object.create((this.messagePrototype!)); message.AppointmentID = ""; message.Slots = []; message.Commissions = []; + message.TimeZone = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -3624,6 +3648,9 @@ class UpdateCommissionsAppointmentRequest$Type extends MessageType