Latest generation

This commit is contained in:
ci core model
2025-06-03 08:53:59 +00:00
parent c5c1dbb9e2
commit 9f369d769f
2 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "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", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",

15
site.ts
View File

@@ -12,6 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime";
import { Slot } from "./slotbooking"; import { Slot } from "./slotbooking";
import { CarrierInformationWithValue } from "./slotbooking";
import { SlotGroup } from "./slotbooking"; import { SlotGroup } from "./slotbooking";
import { Commission } from "./slotbooking"; import { Commission } from "./slotbooking";
import { AppointmentType } from "./slotbooking"; import { AppointmentType } from "./slotbooking";
@@ -473,9 +474,9 @@ export interface BookAppointmentRequest {
/** /**
* Required carrierInformation, some can be obligatory * 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 * The slot to book for the appointment
* *
@@ -1627,7 +1628,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
{ no: 2, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } }, { 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: 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: 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: 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\"]" } } } { 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"] } } }); ], { "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<BookAppointmentRequest> {
case /* repeated api.Segmentation Segmentations */ 4: case /* repeated api.Segmentation Segmentations */ 4:
message.Segmentations.push(Segmentation.internalBinaryRead(reader, reader.uint32(), options)); message.Segmentations.push(Segmentation.internalBinaryRead(reader, reader.uint32(), options));
break; break;
case /* repeated api.CarrierInformation CarrierInformation */ 5: case /* repeated api.CarrierInformationWithValue CarrierInformation */ 5:
message.CarrierInformation.push(CarrierInformation.internalBinaryRead(reader, reader.uint32(), options)); message.CarrierInformation.push(CarrierInformationWithValue.internalBinaryRead(reader, reader.uint32(), options));
break; break;
case /* repeated api.Slot Slots */ 6: case /* repeated api.Slot Slots */ 6:
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options)); message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
@@ -1694,9 +1695,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
/* repeated api.Segmentation Segmentations = 4; */ /* repeated api.Segmentation Segmentations = 4; */
for (let i = 0; i < message.Segmentations.length; i++) for (let i = 0; i < message.Segmentations.length; i++)
Segmentation.internalBinaryWrite(message.Segmentations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); 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++) 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; */ /* repeated api.Slot Slots = 6; */
for (let i = 0; i < message.Slots.length; i++) for (let i = 0; i < message.Slots.length; i++)
Slot.internalBinaryWrite(message.Slots[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join(); Slot.internalBinaryWrite(message.Slots[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();