From 8ad2ab4b52d5e5675a32eb1d77e0e5714f6ef878 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 26 Jun 2025 08:23:22 +0000 Subject: [PATCH] Latest generation --- calendar.ts | 306 ++---------------------------------------------- collabShared.ts | 44 ++++--- package.json | 2 +- slotbooking.ts | 36 +++--- 4 files changed, 57 insertions(+), 331 deletions(-) diff --git a/calendar.ts b/calendar.ts index 7270f15..bf485fa 100644 --- a/calendar.ts +++ b/calendar.ts @@ -320,40 +320,6 @@ export interface GetPublicHolidaysResponse { */ Holidays: ExceptionalClosure[]; } -/** - * Clone a calendar at organisation level - * - * @generated from protobuf message api.CloneOnOrganisationRequest - */ -export interface CloneOnOrganisationRequest { - /** - * Identifier of the calendar to copy - * - * @generated from protobuf field: string CalendarID = 1 - */ - CalendarID: string; - /** - * Name of the calendar - * - * @generated from protobuf field: string Name = 2 - */ - Name: string; - /** - * Description of the calendar - * - * @generated from protobuf field: string Description = 3 - */ - Description: string; -} -/** - * @generated from protobuf message api.CloneOnOrganisationResponse - */ -export interface CloneOnOrganisationResponse { - /** - * @generated from protobuf field: api.Calendar Calendar = 1 - */ - Calendar?: Calendar; -} /** * Create a calendar at site level * @@ -514,40 +480,6 @@ export interface DeleteOnSiteRequest { */ export interface DeleteOnSiteResponse { } -/** - * Clone a calendar at site level - * - * @generated from protobuf message api.CloneOnSiteRequest - */ -export interface CloneOnSiteRequest { - /** - * Identifier of the calendar to copy - * - * @generated from protobuf field: string CalendarID = 1 - */ - CalendarID: string; - /** - * Name of the calendar - * - * @generated from protobuf field: string Name = 2 - */ - Name: string; - /** - * Description of the calendar - * - * @generated from protobuf field: string Description = 3 - */ - Description: string; -} -/** - * @generated from protobuf message api.CloneOnSiteResponse - */ -export interface CloneOnSiteResponse { - /** - * @generated from protobuf field: api.Calendar Calendar = 1 - */ - Calendar?: Calendar; -} // @generated message type with reflection information, may provide speed optimized methods class WorkTimeDay$Type extends MessageType { constructor() { @@ -705,8 +637,8 @@ class Calendar$Type extends MessageType { { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType] }, { no: 3, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }, - { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 5, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ }, { no: 6, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure }, { no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } } ]); @@ -798,11 +730,11 @@ class CreateOnOrganisationRequest$Type extends MessageType RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure }, { no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): CreateOnOrganisationRequest { const message = globalThis.Object.create((this.messagePrototype!)); @@ -1437,124 +1369,15 @@ class GetPublicHolidaysResponse$Type extends MessageType { - constructor() { - super("api.CloneOnOrganisationRequest", [ - { no: 1, name: "CalendarID", kind: "scalar", localName: "CalendarID", jsonName: "CalendarID", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } - ]); - } - create(value?: PartialMessage): CloneOnOrganisationRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.CalendarID = ""; - message.Name = ""; - message.Description = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloneOnOrganisationRequest): CloneOnOrganisationRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string CalendarID */ 1: - message.CalendarID = reader.string(); - break; - case /* string Name */ 2: - message.Name = reader.string(); - break; - case /* string Description */ 3: - message.Description = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: CloneOnOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string CalendarID = 1; */ - if (message.CalendarID !== "") - writer.tag(1, WireType.LengthDelimited).string(message.CalendarID); - /* string Name = 2; */ - if (message.Name !== "") - writer.tag(2, WireType.LengthDelimited).string(message.Name); - /* string Description = 3; */ - if (message.Description !== "") - writer.tag(3, WireType.LengthDelimited).string(message.Description); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message api.CloneOnOrganisationRequest - */ -export const CloneOnOrganisationRequest = new CloneOnOrganisationRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class CloneOnOrganisationResponse$Type extends MessageType { - constructor() { - super("api.CloneOnOrganisationResponse", [ - { no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } } - ]); - } - create(value?: PartialMessage): CloneOnOrganisationResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloneOnOrganisationResponse): CloneOnOrganisationResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* api.Calendar Calendar */ 1: - message.Calendar = Calendar.internalBinaryRead(reader, reader.uint32(), options, message.Calendar); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: CloneOnOrganisationResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* api.Calendar Calendar = 1; */ - if (message.Calendar) - Calendar.internalBinaryWrite(message.Calendar, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message api.CloneOnOrganisationResponse - */ -export const CloneOnOrganisationResponse = new CloneOnOrganisationResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods class CreateOnSiteRequest$Type extends MessageType { constructor() { super("api.CreateOnSiteRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, + { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "ExceptionalClosures", kind: "message", localName: "ExceptionalClosures", jsonName: "ExceptionalClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExceptionalClosure }, { no: 7, name: "WorkTimeDays", kind: "message", localName: "WorkTimeDays", jsonName: "WorkTimeDays", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WorkTimeDay, options: { "api.aggKey": "WeekDay" } } - ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } }); } create(value?: PartialMessage): CreateOnSiteRequest { const message = globalThis.Object.create((this.messagePrototype!)); @@ -2086,126 +1909,17 @@ class DeleteOnSiteResponse$Type extends MessageType { * @generated MessageType for protobuf message api.DeleteOnSiteResponse */ export const DeleteOnSiteResponse = new DeleteOnSiteResponse$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class CloneOnSiteRequest$Type extends MessageType { - constructor() { - super("api.CloneOnSiteRequest", [ - { no: 1, name: "CalendarID", kind: "scalar", localName: "CalendarID", jsonName: "CalendarID", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ }, - { no: 3, name: "Description", kind: "scalar", localName: "Description", jsonName: "Description", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } - ]); - } - create(value?: PartialMessage): CloneOnSiteRequest { - const message = globalThis.Object.create((this.messagePrototype!)); - message.CalendarID = ""; - message.Name = ""; - message.Description = ""; - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloneOnSiteRequest): CloneOnSiteRequest { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* string CalendarID */ 1: - message.CalendarID = reader.string(); - break; - case /* string Name */ 2: - message.Name = reader.string(); - break; - case /* string Description */ 3: - message.Description = reader.string(); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: CloneOnSiteRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* string CalendarID = 1; */ - if (message.CalendarID !== "") - writer.tag(1, WireType.LengthDelimited).string(message.CalendarID); - /* string Name = 2; */ - if (message.Name !== "") - writer.tag(2, WireType.LengthDelimited).string(message.Name); - /* string Description = 3; */ - if (message.Description !== "") - writer.tag(3, WireType.LengthDelimited).string(message.Description); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message api.CloneOnSiteRequest - */ -export const CloneOnSiteRequest = new CloneOnSiteRequest$Type(); -// @generated message type with reflection information, may provide speed optimized methods -class CloneOnSiteResponse$Type extends MessageType { - constructor() { - super("api.CloneOnSiteResponse", [ - { no: 1, name: "Calendar", kind: "message", localName: "Calendar", jsonName: "Calendar", T: () => Calendar, options: { "validate.rules": { message: { required: true } } } } - ]); - } - create(value?: PartialMessage): CloneOnSiteResponse { - const message = globalThis.Object.create((this.messagePrototype!)); - if (value !== undefined) - reflectionMergePartial(this, message, value); - return message; - } - internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloneOnSiteResponse): CloneOnSiteResponse { - let message = target ?? this.create(), end = reader.pos + length; - while (reader.pos < end) { - let [fieldNo, wireType] = reader.tag(); - switch (fieldNo) { - case /* api.Calendar Calendar */ 1: - message.Calendar = Calendar.internalBinaryRead(reader, reader.uint32(), options, message.Calendar); - break; - default: - let u = options.readUnknownField; - if (u === "throw") - throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); - let d = reader.skip(wireType); - if (u !== false) - (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); - } - } - return message; - } - internalBinaryWrite(message: CloneOnSiteResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { - /* api.Calendar Calendar = 1; */ - if (message.Calendar) - Calendar.internalBinaryWrite(message.Calendar, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); - let u = options.writeUnknownFields; - if (u !== false) - (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); - return writer; - } -} -/** - * @generated MessageType for protobuf message api.CloneOnSiteResponse - */ -export const CloneOnSiteResponse = new CloneOnSiteResponse$Type(); /** * @generated ServiceType for protobuf service api.CalendarService */ export const CalendarService = new ServiceType("api.CalendarService", [ { name: "CreateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the organisation" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOnOrganisationRequest, O: CreateOnOrganisationResponse }, - { name: "GetOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnOrganisationRequest, O: GetOnOrganisationResponse }, + { name: "GetOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnOrganisationRequest, O: GetOnOrganisationResponse }, { name: "ListOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an organisation" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnOrganisationRequest, O: ListOnOrganisationResponse }, { name: "UpdateOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnOrganisationRequest, O: UpdateOnOrganisationResponse }, { name: "DeleteOnOrganisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at organisation level" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnOrganisationRequest, O: DeleteOnOrganisationResponse }, { name: "CreateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Create a Calendar for the site" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateOnSiteRequest, O: CreateOnSiteResponse }, - { name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at site level" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnSiteRequest, O: GetOnSiteResponse }, + { name: "GetOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Get a Calendar at site level" }, "api.rscType": "Site", "api.roles": "Platform.Calendar-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetOnSiteRequest, O: GetOnSiteResponse }, { name: "ListOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "List Calendar of an site" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListOnSiteRequest, O: ListOnSiteResponse }, { name: "UpdateOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Update a Calendar at site level" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateOnSiteRequest, O: UpdateOnSiteResponse }, { name: "DeleteOnSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Calendar"], description: "Delete a Calendar at site level" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteOnSiteRequest, O: DeleteOnSiteResponse }, diff --git a/collabShared.ts b/collabShared.ts index 524dad9..34efc47 100644 --- a/collabShared.ts +++ b/collabShared.ts @@ -255,37 +255,49 @@ export enum AppointmentStatusCode { */ APPOINTMENT_0000_STATUS_UNKNOWN = 0, /** - * @generated from protobuf enum value: APPOINTMENT_0100_CARRIER_EXPECTED = 100; + * @generated from protobuf enum value: APPOINTMENT_0100_CREATED = 100; */ - APPOINTMENT_0100_CARRIER_EXPECTED = 100, + APPOINTMENT_0100_CREATED = 100, /** - * @generated from protobuf enum value: APPOINTMENT_0200_CARRIER_ARRIVED = 200; + * @generated from protobuf enum value: APPOINTMENT_0200_CARRIER_VALIDATION = 200; */ - APPOINTMENT_0200_CARRIER_ARRIVED = 200, + APPOINTMENT_0200_CARRIER_VALIDATION = 200, /** - * @generated from protobuf enum value: APPOINTMENT_0300_RECEPTION_UNLOADING = 300; + * @generated from protobuf enum value: APPOINTMENT_0300_CARRIER_EXPECTED = 300; */ - APPOINTMENT_0300_RECEPTION_UNLOADING = 300, + APPOINTMENT_0300_CARRIER_EXPECTED = 300, /** - * @generated from protobuf enum value: APPOINTMENT_0400_RECEPTION_UNLOADED = 400; + * @generated from protobuf enum value: APPOINTMENT_0400_CARRIER_ARRIVED = 400; */ - APPOINTMENT_0400_RECEPTION_UNLOADED = 400, + APPOINTMENT_0400_CARRIER_ARRIVED = 400, /** - * @generated from protobuf enum value: APPOINTMENT_0500_EXPEDITION_LOADING = 500; + * @generated from protobuf enum value: APPOINTMENT_0500_SITE_VALIDATION = 500; */ - APPOINTMENT_0500_EXPEDITION_LOADING = 500, + APPOINTMENT_0500_SITE_VALIDATION = 500, /** - * @generated from protobuf enum value: APPOINTMENT_0600_EXPEDITION_LOADED = 600; + * @generated from protobuf enum value: APPOINTMENT_0600_RECEPTION_UNLOADING = 600; */ - APPOINTMENT_0600_EXPEDITION_LOADED = 600, + APPOINTMENT_0600_RECEPTION_UNLOADING = 600, /** - * @generated from protobuf enum value: APPOINTMENT_0800_CARRIER_DEPARTED = 800; + * @generated from protobuf enum value: APPOINTMENT_0700_RECEPTION_UNLOADED = 700; */ - APPOINTMENT_0800_CARRIER_DEPARTED = 800, + APPOINTMENT_0700_RECEPTION_UNLOADED = 700, /** - * @generated from protobuf enum value: APPOINTMENT_1000_CANCELLED = 1000; + * @generated from protobuf enum value: APPOINTMENT_0800_EXPEDITION_LOADING = 800; */ - APPOINTMENT_1000_CANCELLED = 1000 + APPOINTMENT_0800_EXPEDITION_LOADING = 800, + /** + * @generated from protobuf enum value: APPOINTMENT_0900_EXPEDITION_LOADED = 900; + */ + APPOINTMENT_0900_EXPEDITION_LOADED = 900, + /** + * @generated from protobuf enum value: APPOINTMENT_1000_CARRIER_DEPARTED = 1000; + */ + APPOINTMENT_1000_CARRIER_DEPARTED = 1000, + /** + * @generated from protobuf enum value: APPOINTMENT_1100_CANCELLED = 1100; + */ + APPOINTMENT_1100_CANCELLED = 1100 } // @generated message type with reflection information, may provide speed optimized methods class ClaimStatusDef$Type extends MessageType { diff --git a/package.json b/package.json index 0bb443d..6e76ba7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250624143856", + "version": "1.11.0-SNAPSHOT-250626082237", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/slotbooking.ts b/slotbooking.ts index 99fa07c..a4af323 100644 --- a/slotbooking.ts +++ b/slotbooking.ts @@ -168,9 +168,9 @@ export interface OpeningDay { */ WeekDay: WeekDay; // Day of the week. /** - * @generated from protobuf field: repeated api.OpeningDayDefinition Definition = 2 + * @generated from protobuf field: repeated api.OpeningDayDefinition Definitions = 2 */ - Definition: OpeningDayDefinition[]; // Opening hours definition according to filters. + Definitions: OpeningDayDefinition[]; // Opening hours definition according to filters. } /** * @generated from protobuf message api.OpeningDayDefinition @@ -332,9 +332,9 @@ export interface SegmentationSelection { /** * Identifiers of the Segmentation key values. * - * @generated from protobuf field: string SegmentationValueIDs = 2 + * @generated from protobuf field: string SegmentationValueID = 2 */ - SegmentationValueIDs: string; + SegmentationValueID: string; } /** * CarrierInformation @@ -1188,13 +1188,13 @@ class OpeningDay$Type extends MessageType { constructor() { super("api.OpeningDay", [ { no: 1, name: "WeekDay", kind: "enum", localName: "WeekDay", jsonName: "WeekDay", T: () => ["api.WeekDay", WeekDay] }, - { no: 2, name: "Definition", kind: "message", localName: "Definition", jsonName: "Definition", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OpeningDayDefinition } + { no: 2, name: "Definitions", kind: "message", localName: "Definitions", jsonName: "Definitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OpeningDayDefinition } ]); } create(value?: PartialMessage): OpeningDay { const message = globalThis.Object.create((this.messagePrototype!)); message.WeekDay = 0; - message.Definition = []; + message.Definitions = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1207,8 +1207,8 @@ class OpeningDay$Type extends MessageType { case /* api.WeekDay WeekDay */ 1: message.WeekDay = reader.int32(); break; - case /* repeated api.OpeningDayDefinition Definition */ 2: - message.Definition.push(OpeningDayDefinition.internalBinaryRead(reader, reader.uint32(), options)); + case /* repeated api.OpeningDayDefinition Definitions */ 2: + message.Definitions.push(OpeningDayDefinition.internalBinaryRead(reader, reader.uint32(), options)); break; default: let u = options.readUnknownField; @@ -1225,9 +1225,9 @@ class OpeningDay$Type extends MessageType { /* api.WeekDay WeekDay = 1; */ if (message.WeekDay !== 0) writer.tag(1, WireType.Varint).int32(message.WeekDay); - /* repeated api.OpeningDayDefinition Definition = 2; */ - for (let i = 0; i < message.Definition.length; i++) - OpeningDayDefinition.internalBinaryWrite(message.Definition[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + /* repeated api.OpeningDayDefinition Definitions = 2; */ + for (let i = 0; i < message.Definitions.length; i++) + OpeningDayDefinition.internalBinaryWrite(message.Definitions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join(); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); @@ -1705,13 +1705,13 @@ class SegmentationSelection$Type extends MessageType { constructor() { super("api.SegmentationSelection", [ { no: 1, name: "SegmentationID", kind: "scalar", localName: "SegmentationID", jsonName: "SegmentationID", T: 9 /*ScalarType.STRING*/ }, - { no: 2, name: "SegmentationValueIDs", kind: "scalar", localName: "SegmentationValueIDs", jsonName: "SegmentationValueIDs", T: 9 /*ScalarType.STRING*/ } + { no: 2, name: "SegmentationValueID", kind: "scalar", localName: "SegmentationValueID", jsonName: "SegmentationValueID", T: 9 /*ScalarType.STRING*/ } ]); } create(value?: PartialMessage): SegmentationSelection { const message = globalThis.Object.create((this.messagePrototype!)); message.SegmentationID = ""; - message.SegmentationValueIDs = ""; + message.SegmentationValueID = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1724,8 +1724,8 @@ class SegmentationSelection$Type extends MessageType { case /* string SegmentationID */ 1: message.SegmentationID = reader.string(); break; - case /* string SegmentationValueIDs */ 2: - message.SegmentationValueIDs = reader.string(); + case /* string SegmentationValueID */ 2: + message.SegmentationValueID = reader.string(); break; default: let u = options.readUnknownField; @@ -1742,9 +1742,9 @@ class SegmentationSelection$Type extends MessageType { /* string SegmentationID = 1; */ if (message.SegmentationID !== "") writer.tag(1, WireType.LengthDelimited).string(message.SegmentationID); - /* string SegmentationValueIDs = 2; */ - if (message.SegmentationValueIDs !== "") - writer.tag(2, WireType.LengthDelimited).string(message.SegmentationValueIDs); + /* string SegmentationValueID = 2; */ + if (message.SegmentationValueID !== "") + writer.tag(2, WireType.LengthDelimited).string(message.SegmentationValueID); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);