Latest generation

This commit is contained in:
ci core model
2026-05-22 09:00:42 +00:00
parent 1b01318654
commit 53aff50d1a
2 changed files with 22 additions and 4 deletions

View File

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

24
site.ts
View File

@@ -1411,6 +1411,12 @@ export interface SiteProjectAptTypeBookingActorsContext {
ActorName: string;
}
/**
* User should only set either (ActorID & ProjectID) OR SiteID alone.
* Validation: exactly one of the two options must be provided:
* - Option 1: both ProjectID and ActorID must be set (non-empty)
* - Option 2: SiteID must be set (non-empty)
* Setting both options or neither will be rejected.
*
* @generated from protobuf message api.InitBookerProfileRequest
*/
export interface InitBookerProfileRequest {
@@ -1422,6 +1428,10 @@ export interface InitBookerProfileRequest {
* @generated from protobuf field: string ActorID = 2
*/
ActorID: string; // Actor ID which is the site alias the appointment will be booked on
/**
* @generated from protobuf field: string SiteID = 3
*/
SiteID: string; // Site ID of the site the user will book on.
}
/**
* @generated from protobuf message api.InitBookerProfileResponse
@@ -5543,14 +5553,16 @@ export const SiteProjectAptTypeBookingActorsContext = new SiteProjectAptTypeBook
class InitBookerProfileRequest$Type extends MessageType<InitBookerProfileRequest> {
constructor() {
super("api.InitBookerProfileRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "ActorID"] } } });
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<InitBookerProfileRequest>): InitBookerProfileRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.ActorID = "";
message.SiteID = "";
if (value !== undefined)
reflectionMergePartial<InitBookerProfileRequest>(this, message, value);
return message;
@@ -5566,6 +5578,9 @@ class InitBookerProfileRequest$Type extends MessageType<InitBookerProfileRequest
case /* string ActorID */ 2:
message.ActorID = reader.string();
break;
case /* string SiteID */ 3:
message.SiteID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -5584,6 +5599,9 @@ class InitBookerProfileRequest$Type extends MessageType<InitBookerProfileRequest
/* string ActorID = 2; */
if (message.ActorID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
/* string SiteID = 3; */
if (message.SiteID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.SiteID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);