Latest generation

This commit is contained in:
ci core model
2025-12-17 08:35:28 +00:00
parent cd0a7ccf9c
commit 84815133a3
3 changed files with 42 additions and 4 deletions

View File

@@ -79,6 +79,10 @@ export interface ActorSetSiteAliasPayload {
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 3
*/
AppointmentConstraints?: ActorAuthorisation;
/**
* @generated from protobuf field: string ActorName = 4
*/
ActorName: string;
}
/**
* @generated from protobuf message api.ActorSetSiteAlias
@@ -264,12 +268,14 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
super("api.ActorSetSiteAliasPayload", [
{ no: 1, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias },
{ no: 2, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/ },
{ no: 3, name: "AppointmentConstraints", kind: "message", localName: "AppointmentConstraints", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation }
{ no: 3, name: "AppointmentConstraints", kind: "message", localName: "AppointmentConstraints", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation },
{ no: 4, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
], { "api.messageType": "Command", "api.payload": true, "api.action": "SetSiteAlias" });
}
create(value?: PartialMessage<ActorSetSiteAliasPayload>): ActorSetSiteAliasPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.IsSlotBookingEnabled = false;
message.ActorName = "";
if (value !== undefined)
reflectionMergePartial<ActorSetSiteAliasPayload>(this, message, value);
return message;
@@ -288,6 +294,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
case /* api.ActorAuthorisation AppointmentConstraints */ 3:
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
break;
case /* string ActorName */ 4:
message.ActorName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -309,6 +318,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
/* api.ActorAuthorisation AppointmentConstraints = 3; */
if (message.AppointmentConstraints)
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* string ActorName = 4; */
if (message.ActorName !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ActorName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

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

30
site.ts
View File

@@ -725,6 +725,12 @@ export interface SiteActor {
* @generated from protobuf field: api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6
*/
UnLoadingCommandIdentifierEntry: CommandIdentifierEntry;
/**
* Name of the actor
*
* @generated from protobuf field: string ActorName = 7
*/
ActorName: string;
}
/**
* @generated from protobuf message api.GetBookingContextRequest
@@ -1443,6 +1449,10 @@ export interface SiteProjectAptTypeBookingActorsContext {
* @generated from protobuf field: string ActorID = 2
*/
ActorID: string;
/**
* @generated from protobuf field: string ActorName = 3
*/
ActorName: string;
}
/**
* @generated from protobuf message api.InitBookerProfileRequest
@@ -3238,7 +3248,8 @@ class SiteActor$Type extends MessageType<SiteActor> {
{ no: 3, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } }
{ no: 6, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 7, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SiteActor>): SiteActor {
@@ -3249,6 +3260,7 @@ class SiteActor$Type extends MessageType<SiteActor> {
message.Type = 0;
message.LoadingCommandIdentifierEntry = 0;
message.UnLoadingCommandIdentifierEntry = 0;
message.ActorName = "";
if (value !== undefined)
reflectionMergePartial<SiteActor>(this, message, value);
return message;
@@ -3276,6 +3288,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
case /* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry */ 6:
message.UnLoadingCommandIdentifierEntry = reader.int32();
break;
case /* string ActorName */ 7:
message.ActorName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3306,6 +3321,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
/* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6; */
if (message.UnLoadingCommandIdentifierEntry !== 0)
writer.tag(6, WireType.Varint).int32(message.UnLoadingCommandIdentifierEntry);
/* string ActorName = 7; */
if (message.ActorName !== "")
writer.tag(7, WireType.LengthDelimited).string(message.ActorName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -5897,13 +5915,15 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
constructor() {
super("api.SiteProjectAptTypeBookingActorsContext", [
{ no: 1, name: "CommandIdentifierEntry", kind: "enum", localName: "CommandIdentifierEntry", jsonName: "CommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry] },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SiteProjectAptTypeBookingActorsContext>): SiteProjectAptTypeBookingActorsContext {
const message = globalThis.Object.create((this.messagePrototype!));
message.CommandIdentifierEntry = 0;
message.ActorID = "";
message.ActorName = "";
if (value !== undefined)
reflectionMergePartial<SiteProjectAptTypeBookingActorsContext>(this, message, value);
return message;
@@ -5919,6 +5939,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
case /* string ActorID */ 2:
message.ActorID = reader.string();
break;
case /* string ActorName */ 3:
message.ActorName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -5937,6 +5960,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
/* string ActorID = 2; */
if (message.ActorID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
/* string ActorName = 3; */
if (message.ActorName !== "")
writer.tag(3, WireType.LengthDelimited).string(message.ActorName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);