Latest generation

This commit is contained in:
ci core model
2025-06-12 08:10:46 +00:00
parent 4382d9fa25
commit 95e1d95516
2 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.11.0-SNAPSHOT-250611131305",
"version": "1.11.0-SNAPSHOT-250612080959",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

20
site.ts
View File

@@ -316,11 +316,11 @@ export interface UpdateSiteRequest {
*/
CarrierInformation: CarrierInformation[];
/**
* Defines the rounded value to define booking period
* Defines the rounded value of define booking periods in minutes, must be greater than 0.
*
* @generated from protobuf field: int64 RoundedPeriodInMinutes = 18
* @generated from protobuf field: uint32 RoundedPeriodInMinutes = 18
*/
RoundedPeriodInMinutes: bigint;
RoundedPeriodInMinutes: number;
/**
* Add Site Time zone
*
@@ -1084,7 +1084,7 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
{ no: 15, name: "Instruction", kind: "message", localName: "Instruction", jsonName: "Instruction", T: () => Instruction },
{ no: 16, name: "InstructionDocuments", kind: "message", localName: "InstructionDocuments", jsonName: "InstructionDocuments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Document },
{ no: 17, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformation },
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/, options: { "validate.rules": { uint32: { gt: 0 } } } },
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } }
@@ -1105,7 +1105,7 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
message.CapacityRules = [];
message.InstructionDocuments = [];
message.CarrierInformation = [];
message.RoundedPeriodInMinutes = 0n;
message.RoundedPeriodInMinutes = 0;
message.TimeZone = "";
message.Emails = [];
message.DefaultSiteLanguageISO6391 = "";
@@ -1166,8 +1166,8 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
case /* repeated api.CarrierInformation CarrierInformation */ 17:
message.CarrierInformation.push(CarrierInformation.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* int64 RoundedPeriodInMinutes */ 18:
message.RoundedPeriodInMinutes = reader.int64().toBigInt();
case /* uint32 RoundedPeriodInMinutes */ 18:
message.RoundedPeriodInMinutes = reader.uint32();
break;
case /* string TimeZone */ 19:
message.TimeZone = reader.string();
@@ -1238,9 +1238,9 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
/* repeated api.CarrierInformation CarrierInformation = 17; */
for (let i = 0; i < message.CarrierInformation.length; i++)
CarrierInformation.internalBinaryWrite(message.CarrierInformation[i], writer.tag(17, WireType.LengthDelimited).fork(), options).join();
/* int64 RoundedPeriodInMinutes = 18; */
if (message.RoundedPeriodInMinutes !== 0n)
writer.tag(18, WireType.Varint).int64(message.RoundedPeriodInMinutes);
/* uint32 RoundedPeriodInMinutes = 18; */
if (message.RoundedPeriodInMinutes !== 0)
writer.tag(18, WireType.Varint).uint32(message.RoundedPeriodInMinutes);
/* string TimeZone = 19; */
if (message.TimeZone !== "")
writer.tag(19, WireType.LengthDelimited).string(message.TimeZone);