You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251014145721",
|
||||
"version": "1.12.0-SNAPSHOT-251015082656",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
32
site.ts
32
site.ts
@@ -1109,6 +1109,10 @@ export interface SegmentationsSettings {
|
||||
* @generated from protobuf field: string Name = 2
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 3
|
||||
*/
|
||||
ProjectID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListOfSitesPerOrganisation
|
||||
@@ -1119,9 +1123,9 @@ export interface ListOfSitesPerOrganisation {
|
||||
*/
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.SegmentationsSettings Projects = 2
|
||||
* @generated from protobuf field: repeated api.SegmentationsSettings SegmentationsSetting = 2
|
||||
*/
|
||||
Projects: SegmentationsSettings[];
|
||||
SegmentationsSetting: SegmentationsSettings[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListSitesAuthorizedForBookingRequest
|
||||
@@ -4109,12 +4113,14 @@ class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
|
||||
constructor() {
|
||||
super("api.SegmentationsSettings", [
|
||||
{ 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: 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 {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Name = "";
|
||||
message.ProjectID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<SegmentationsSettings>(this, message, value);
|
||||
return message;
|
||||
@@ -4130,6 +4136,9 @@ class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
|
||||
case /* string Name */ 2:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string ProjectID */ 3:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -4148,6 +4157,9 @@ class SegmentationsSettings$Type extends MessageType<SegmentationsSettings> {
|
||||
/* string Name = 2; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
||||
/* string ProjectID = 3; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ProjectID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4163,13 +4175,13 @@ class ListOfSitesPerOrganisation$Type extends MessageType<ListOfSitesPerOrganisa
|
||||
constructor() {
|
||||
super("api.ListOfSitesPerOrganisation", [
|
||||
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Projects", kind: "message", localName: "Projects", jsonName: "Projects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationsSettings }
|
||||
{ no: 2, name: "SegmentationsSetting", kind: "message", localName: "SegmentationsSetting", jsonName: "SegmentationsSetting", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationsSettings }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListOfSitesPerOrganisation>): ListOfSitesPerOrganisation {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.OrganisationID = "";
|
||||
message.Projects = [];
|
||||
message.SegmentationsSetting = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ListOfSitesPerOrganisation>(this, message, value);
|
||||
return message;
|
||||
@@ -4182,8 +4194,8 @@ class ListOfSitesPerOrganisation$Type extends MessageType<ListOfSitesPerOrganisa
|
||||
case /* string OrganisationID */ 1:
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
case /* repeated api.SegmentationsSettings Projects */ 2:
|
||||
message.Projects.push(SegmentationsSettings.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.SegmentationsSettings SegmentationsSetting */ 2:
|
||||
message.SegmentationsSetting.push(SegmentationsSettings.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -4200,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 Projects = 2; */
|
||||
for (let i = 0; i < message.Projects.length; i++)
|
||||
SegmentationsSettings.internalBinaryWrite(message.Projects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* 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();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user