From 9f369d769fcc92bddfff87716175e05f07f73e0a Mon Sep 17 00:00:00 2001 From: ci core model Date: Tue, 3 Jun 2025 08:53:59 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- site.ts | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 7a100b8..487b0e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250603082420", + "version": "1.11.0-SNAPSHOT-250603085342", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.ts b/site.ts index 2ae824f..011695a 100644 --- a/site.ts +++ b/site.ts @@ -12,6 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Slot } from "./slotbooking"; +import { CarrierInformationWithValue } from "./slotbooking"; import { SlotGroup } from "./slotbooking"; import { Commission } from "./slotbooking"; import { AppointmentType } from "./slotbooking"; @@ -473,9 +474,9 @@ export interface BookAppointmentRequest { /** * Required carrierInformation, some can be obligatory * - * @generated from protobuf field: repeated api.CarrierInformation CarrierInformation = 5 + * @generated from protobuf field: repeated api.CarrierInformationWithValue CarrierInformation = 5 */ - CarrierInformation: CarrierInformation[]; + CarrierInformation: CarrierInformationWithValue[]; /** * The slot to book for the appointment * @@ -1627,7 +1628,7 @@ class BookAppointmentRequest$Type extends MessageType { { no: 2, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 3, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission, options: { "validate.rules": { repeated: { minItems: "1" } } } }, { no: 4, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Segmentation }, - { no: 5, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformation }, + { no: 5, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue }, { no: 6, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }, { no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "QuantitiesByUnits", "Segmentations", "CarrierInformation"] } } }); @@ -1661,8 +1662,8 @@ class BookAppointmentRequest$Type extends MessageType { case /* repeated api.Segmentation Segmentations */ 4: message.Segmentations.push(Segmentation.internalBinaryRead(reader, reader.uint32(), options)); break; - case /* repeated api.CarrierInformation CarrierInformation */ 5: - message.CarrierInformation.push(CarrierInformation.internalBinaryRead(reader, reader.uint32(), options)); + case /* repeated api.CarrierInformationWithValue CarrierInformation */ 5: + message.CarrierInformation.push(CarrierInformationWithValue.internalBinaryRead(reader, reader.uint32(), options)); break; case /* repeated api.Slot Slots */ 6: message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options)); @@ -1694,9 +1695,9 @@ class BookAppointmentRequest$Type extends MessageType { /* repeated api.Segmentation Segmentations = 4; */ for (let i = 0; i < message.Segmentations.length; i++) Segmentation.internalBinaryWrite(message.Segmentations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); - /* repeated api.CarrierInformation CarrierInformation = 5; */ + /* repeated api.CarrierInformationWithValue CarrierInformation = 5; */ for (let i = 0; i < message.CarrierInformation.length; i++) - CarrierInformation.internalBinaryWrite(message.CarrierInformation[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join(); + CarrierInformationWithValue.internalBinaryWrite(message.CarrierInformation[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join(); /* repeated api.Slot Slots = 6; */ for (let i = 0; i < message.Slots.length; i++) Slot.internalBinaryWrite(message.Slots[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();