Latest generation

This commit is contained in:
ci core model
2025-12-04 15:26:28 +00:00
parent cede824821
commit 9ce2fd093c
2 changed files with 108 additions and 11 deletions

View File

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

117
site.ts
View File

@@ -14,6 +14,7 @@ import { MessageType } from "@protobuf-ts/runtime";
import { Period } from "./shared";
import { PrjMetadata } from "./metadatadef";
import { SegmentationFilter } from "./slotbooking";
import { CommandIdentifierEntry } from "./slotbooking";
import { CustomField } from "./shared";
import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
@@ -711,6 +712,18 @@ export interface SiteActor {
* @generated from protobuf field: api.AppointmentType Type = 4
*/
Type: AppointmentType;
/**
* CommandIdentifierEntry
*
* @generated from protobuf field: api.CommandIdentifierEntry LoadingCommandIdentifierEntry = 5
*/
LoadingCommandIdentifierEntry: CommandIdentifierEntry;
/**
* CommandIdentifierEntry
*
* @generated from protobuf field: api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6
*/
UnLoadingCommandIdentifierEntry: CommandIdentifierEntry;
}
/**
* @generated from protobuf message api.GetBookingContextRequest
@@ -1344,9 +1357,22 @@ export interface SiteProjectAptTypeBookingContext {
*/
AppointmentType: AppointmentType;
/**
* @generated from protobuf field: repeated string ActorIDs = 2
* @generated from protobuf field: repeated api.SiteProjectAptTypeBookingActorsContext Actors = 2
*/
ActorIDs: string[];
Actors: SiteProjectAptTypeBookingActorsContext[];
}
/**
* @generated from protobuf message api.SiteProjectAptTypeBookingActorsContext
*/
export interface SiteProjectAptTypeBookingActorsContext {
/**
* @generated from protobuf field: api.CommandIdentifierEntry CommandIdentifierEntry = 1
*/
CommandIdentifierEntry: CommandIdentifierEntry;
/**
* @generated from protobuf field: string ActorIDs = 2
*/
ActorIDs: string;
}
/**
* @generated from protobuf message api.InitBookerProfileRequest
@@ -3140,7 +3166,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ 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: 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 } } } }
]);
}
create(value?: PartialMessage<SiteActor>): SiteActor {
@@ -3149,6 +3177,8 @@ class SiteActor$Type extends MessageType<SiteActor> {
message.ActorID = "";
message.SiteID = "";
message.Type = 0;
message.LoadingCommandIdentifierEntry = 0;
message.UnLoadingCommandIdentifierEntry = 0;
if (value !== undefined)
reflectionMergePartial<SiteActor>(this, message, value);
return message;
@@ -3170,6 +3200,12 @@ class SiteActor$Type extends MessageType<SiteActor> {
case /* api.AppointmentType Type */ 4:
message.Type = reader.int32();
break;
case /* api.CommandIdentifierEntry LoadingCommandIdentifierEntry */ 5:
message.LoadingCommandIdentifierEntry = reader.int32();
break;
case /* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry */ 6:
message.UnLoadingCommandIdentifierEntry = reader.int32();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3194,6 +3230,12 @@ class SiteActor$Type extends MessageType<SiteActor> {
/* api.AppointmentType Type = 4; */
if (message.Type !== 0)
writer.tag(4, WireType.Varint).int32(message.Type);
/* api.CommandIdentifierEntry LoadingCommandIdentifierEntry = 5; */
if (message.LoadingCommandIdentifierEntry !== 0)
writer.tag(5, WireType.Varint).int32(message.LoadingCommandIdentifierEntry);
/* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6; */
if (message.UnLoadingCommandIdentifierEntry !== 0)
writer.tag(6, WireType.Varint).int32(message.UnLoadingCommandIdentifierEntry);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -5518,13 +5560,13 @@ class SiteProjectAptTypeBookingContext$Type extends MessageType<SiteProjectAptTy
constructor() {
super("api.SiteProjectAptTypeBookingContext", [
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
{ no: 2, name: "ActorIDs", kind: "scalar", localName: "ActorIDs", jsonName: "ActorIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "Actors", kind: "message", localName: "Actors", jsonName: "Actors", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SiteProjectAptTypeBookingActorsContext }
]);
}
create(value?: PartialMessage<SiteProjectAptTypeBookingContext>): SiteProjectAptTypeBookingContext {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentType = 0;
message.ActorIDs = [];
message.Actors = [];
if (value !== undefined)
reflectionMergePartial<SiteProjectAptTypeBookingContext>(this, message, value);
return message;
@@ -5537,8 +5579,8 @@ class SiteProjectAptTypeBookingContext$Type extends MessageType<SiteProjectAptTy
case /* api.AppointmentType AppointmentType */ 1:
message.AppointmentType = reader.int32();
break;
case /* repeated string ActorIDs */ 2:
message.ActorIDs.push(reader.string());
case /* repeated api.SiteProjectAptTypeBookingActorsContext Actors */ 2:
message.Actors.push(SiteProjectAptTypeBookingActorsContext.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -5555,9 +5597,9 @@ class SiteProjectAptTypeBookingContext$Type extends MessageType<SiteProjectAptTy
/* api.AppointmentType AppointmentType = 1; */
if (message.AppointmentType !== 0)
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
/* repeated string ActorIDs = 2; */
for (let i = 0; i < message.ActorIDs.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.ActorIDs[i]);
/* repeated api.SiteProjectAptTypeBookingActorsContext Actors = 2; */
for (let i = 0; i < message.Actors.length; i++)
SiteProjectAptTypeBookingActorsContext.internalBinaryWrite(message.Actors[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -5569,6 +5611,61 @@ class SiteProjectAptTypeBookingContext$Type extends MessageType<SiteProjectAptTy
*/
export const SiteProjectAptTypeBookingContext = new SiteProjectAptTypeBookingContext$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjectAptTypeBookingActorsContext> {
constructor() {
super("api.SiteProjectAptTypeBookingActorsContext", [
{ no: 1, name: "CommandIdentifierEntry", kind: "enum", localName: "CommandIdentifierEntry", jsonName: "CommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry] },
{ no: 2, name: "ActorIDs", kind: "scalar", localName: "ActorIDs", jsonName: "ActorIDs", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SiteProjectAptTypeBookingActorsContext>): SiteProjectAptTypeBookingActorsContext {
const message = globalThis.Object.create((this.messagePrototype!));
message.CommandIdentifierEntry = 0;
message.ActorIDs = "";
if (value !== undefined)
reflectionMergePartial<SiteProjectAptTypeBookingActorsContext>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SiteProjectAptTypeBookingActorsContext): SiteProjectAptTypeBookingActorsContext {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.CommandIdentifierEntry CommandIdentifierEntry */ 1:
message.CommandIdentifierEntry = reader.int32();
break;
case /* string ActorIDs */ 2:
message.ActorIDs = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SiteProjectAptTypeBookingActorsContext, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.CommandIdentifierEntry CommandIdentifierEntry = 1; */
if (message.CommandIdentifierEntry !== 0)
writer.tag(1, WireType.Varint).int32(message.CommandIdentifierEntry);
/* string ActorIDs = 2; */
if (message.ActorIDs !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ActorIDs);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SiteProjectAptTypeBookingActorsContext
*/
export const SiteProjectAptTypeBookingActorsContext = new SiteProjectAptTypeBookingActorsContext$Type();
// @generated message type with reflection information, may provide speed optimized methods
class InitBookerProfileRequest$Type extends MessageType<InitBookerProfileRequest> {
constructor() {
super("api.InitBookerProfileRequest", [