Latest generation

This commit is contained in:
ci core model
2026-03-19 14:30:04 +00:00
parent d96c8c0d0d
commit 513c7e00a7
2 changed files with 23 additions and 11 deletions

View File

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

32
site.ts
View File

@@ -1061,11 +1061,15 @@ export interface ListSitesAuthorizedForBookingResponse {
*/
export interface SiteDescription {
/**
* @generated from protobuf field: string SiteID = 1
* @generated from protobuf field: string OrganisationID = 1
*/
OrganisationID: string;
/**
* @generated from protobuf field: string SiteID = 2
*/
SiteID: string;
/**
* @generated from protobuf field: string SiteName = 2
* @generated from protobuf field: string SiteName = 3
*/
SiteName: string;
}
@@ -4351,12 +4355,14 @@ export const ListSitesAuthorizedForBookingResponse = new ListSitesAuthorizedForB
class SiteDescription$Type extends MessageType<SiteDescription> {
constructor() {
super("api.SiteDescription", [
{ no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SiteDescription>): SiteDescription {
const message = globalThis.Object.create((this.messagePrototype!));
message.OrganisationID = "";
message.SiteID = "";
message.SiteName = "";
if (value !== undefined)
@@ -4368,10 +4374,13 @@ class SiteDescription$Type extends MessageType<SiteDescription> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string SiteID */ 1:
case /* string OrganisationID */ 1:
message.OrganisationID = reader.string();
break;
case /* string SiteID */ 2:
message.SiteID = reader.string();
break;
case /* string SiteName */ 2:
case /* string SiteName */ 3:
message.SiteName = reader.string();
break;
default:
@@ -4386,12 +4395,15 @@ class SiteDescription$Type extends MessageType<SiteDescription> {
return message;
}
internalBinaryWrite(message: SiteDescription, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string SiteID = 1; */
/* string OrganisationID = 1; */
if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* string SiteID = 2; */
if (message.SiteID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.SiteID);
/* string SiteName = 2; */
writer.tag(2, WireType.LengthDelimited).string(message.SiteID);
/* string SiteName = 3; */
if (message.SiteName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.SiteName);
writer.tag(3, WireType.LengthDelimited).string(message.SiteName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);