Latest generation

This commit is contained in:
ci core model
2025-10-15 08:31:42 +00:00
parent 879d27be89
commit 1baa803b49
2 changed files with 20 additions and 20 deletions

View File

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

38
site.ts
View File

@@ -1098,9 +1098,9 @@ export interface SetSiteAliasRequest {
SiteActor?: SiteActor;
}
/**
* @generated from protobuf message api.SegmentationsSettings
* @generated from protobuf message api.SegmentationsSetting
*/
export interface SegmentationsSettings {
export interface SegmentationsSetting {
/**
* @generated from protobuf field: api.ProjectAuthorisation Authorisation = 1
*/
@@ -1123,9 +1123,9 @@ export interface ListOfSitesPerOrganisation {
*/
OrganisationID: string;
/**
* @generated from protobuf field: repeated api.SegmentationsSettings SegmentationsSetting = 2
* @generated from protobuf field: repeated api.SegmentationsSetting SegmentationsSettings = 2
*/
SegmentationsSetting: SegmentationsSettings[];
SegmentationsSettings: SegmentationsSetting[];
}
/**
* @generated from protobuf message api.ListSitesAuthorizedForBookingRequest
@@ -4109,23 +4109,23 @@ class SetSiteAliasRequest$Type extends MessageType<SetSiteAliasRequest> {
*/
export const SetSiteAliasRequest = new SetSiteAliasRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
class SegmentationsSetting$Type extends MessageType<SegmentationsSetting> {
constructor() {
super("api.SegmentationsSettings", [
super("api.SegmentationsSetting", [
{ no: 1, name: "Authorisation", kind: "message", localName: "Authorisation", jsonName: "Authorisation", T: () => ProjectAuthorisation },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SegmentationsSettings>): SegmentationsSettings {
create(value?: PartialMessage<SegmentationsSetting>): SegmentationsSetting {
const message = globalThis.Object.create((this.messagePrototype!));
message.Name = "";
message.ProjectID = "";
if (value !== undefined)
reflectionMergePartial<SegmentationsSettings>(this, message, value);
reflectionMergePartial<SegmentationsSetting>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SegmentationsSettings): SegmentationsSettings {
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SegmentationsSetting): SegmentationsSetting {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
@@ -4150,7 +4150,7 @@ class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
}
return message;
}
internalBinaryWrite(message: SegmentationsSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
internalBinaryWrite(message: SegmentationsSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectAuthorisation Authorisation = 1; */
if (message.Authorisation)
ProjectAuthorisation.internalBinaryWrite(message.Authorisation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -4167,21 +4167,21 @@ class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
}
}
/**
* @generated MessageType for protobuf message api.SegmentationsSettings
* @generated MessageType for protobuf message api.SegmentationsSetting
*/
export const SegmentationsSettings = new SegmentationsSettings$Type();
export const SegmentationsSetting = new SegmentationsSetting$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListOfSitesPerOrganisation$Type extends MessageType<ListOfSitesPerOrganisation> {
constructor() {
super("api.ListOfSitesPerOrganisation", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "SegmentationsSetting", kind: "message", localName: "SegmentationsSetting", jsonName: "SegmentationsSetting", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationsSettings }
{ no: 2, name: "SegmentationsSettings", kind: "message", localName: "SegmentationsSettings", jsonName: "SegmentationsSettings", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationsSetting }
]);
}
create(value?: PartialMessage<ListOfSitesPerOrganisation>): ListOfSitesPerOrganisation {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationID = "";
message.SegmentationsSetting = [];
message.SegmentationsSettings = [];
if (value !== undefined)
reflectionMergePartial<ListOfSitesPerOrganisation>(this, message, value);
return message;
@@ -4194,8 +4194,8 @@ class ListOfSitesPerOrganisation$Type extends MessageType<ListOfSitesPerOrganisa
case /* string OrganisationID */ 1:
message.OrganisationID = reader.string();
break;
case /* repeated api.SegmentationsSettings SegmentationsSetting */ 2:
message.SegmentationsSetting.push(SegmentationsSettings.internalBinaryRead(reader, reader.uint32(), options));
case /* repeated api.SegmentationsSetting SegmentationsSettings */ 2:
message.SegmentationsSettings.push(SegmentationsSetting.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -4212,9 +4212,9 @@ class ListOfSitesPerOrganisation$Type extends MessageType<ListOfSitesPerOrganisa
/* string OrganisationID = 1; */
if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* repeated api.SegmentationsSettings SegmentationsSetting = 2; */
for (let i = 0; i < message.SegmentationsSetting.length; i++)
SegmentationsSettings.internalBinaryWrite(message.SegmentationsSetting[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* repeated api.SegmentationsSetting SegmentationsSettings = 2; */
for (let i = 0; i < message.SegmentationsSettings.length; i++)
SegmentationsSetting.internalBinaryWrite(message.SegmentationsSettings[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);