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.11.0-SNAPSHOT-250526121945",
|
||||
"version": "1.11.0-SNAPSHOT-250526122642",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
18
site.ts
18
site.ts
@@ -14,7 +14,6 @@ import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { Commission } from "./collabShared";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
import { LabelByLanguage } from "./shared";
|
||||
import { RequestSiteHeader } from "./shared";
|
||||
import { RequestOrganisationHeader } from "./shared";
|
||||
import { CarrierInformation } from "./slotbooking";
|
||||
@@ -299,9 +298,9 @@ export interface UpdateSiteRequest {
|
||||
*/
|
||||
CapacityRules: CapacityRule[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.LabelByLanguage Instructions = 15
|
||||
* @generated from protobuf field: api.Instruction Instruction = 15
|
||||
*/
|
||||
Instructions: LabelByLanguage[]; // @option language
|
||||
Instruction?: Instruction;
|
||||
/**
|
||||
* Set of instruction document, listing necessary equipment and such
|
||||
*
|
||||
@@ -1068,7 +1067,7 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
{ no: 12, name: "OpeningRules", kind: "message", localName: "OpeningRules", jsonName: "OpeningRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OpeningRule },
|
||||
{ no: 13, name: "DurationRules", kind: "message", localName: "DurationRules", jsonName: "DurationRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DurationRule },
|
||||
{ no: 14, name: "CapacityRules", kind: "message", localName: "CapacityRules", jsonName: "CapacityRules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CapacityRule },
|
||||
{ no: 15, name: "Instructions", kind: "message", localName: "Instructions", jsonName: "Instructions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LabelByLanguage, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
|
||||
{ no: 15, name: "Instruction", kind: "message", localName: "Instruction", jsonName: "Instruction", T: () => Instruction },
|
||||
{ no: 16, name: "InstructionDocuments", kind: "message", localName: "InstructionDocuments", jsonName: "InstructionDocuments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Document },
|
||||
{ no: 17, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformation },
|
||||
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
||||
@@ -1090,7 +1089,6 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
message.OpeningRules = [];
|
||||
message.DurationRules = [];
|
||||
message.CapacityRules = [];
|
||||
message.Instructions = [];
|
||||
message.InstructionDocuments = [];
|
||||
message.CarrierInformation = [];
|
||||
message.RoundedPeriodInMinutes = 0n;
|
||||
@@ -1145,8 +1143,8 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
case /* repeated api.CapacityRule CapacityRules */ 14:
|
||||
message.CapacityRules.push(CapacityRule.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.LabelByLanguage Instructions */ 15:
|
||||
message.Instructions.push(LabelByLanguage.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* api.Instruction Instruction */ 15:
|
||||
message.Instruction = Instruction.internalBinaryRead(reader, reader.uint32(), options, message.Instruction);
|
||||
break;
|
||||
case /* repeated api.Document InstructionDocuments */ 16:
|
||||
message.InstructionDocuments.push(Document.internalBinaryRead(reader, reader.uint32(), options));
|
||||
@@ -1217,9 +1215,9 @@ class UpdateSiteRequest$Type extends MessageType<UpdateSiteRequest> {
|
||||
/* repeated api.CapacityRule CapacityRules = 14; */
|
||||
for (let i = 0; i < message.CapacityRules.length; i++)
|
||||
CapacityRule.internalBinaryWrite(message.CapacityRules[i], writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.LabelByLanguage Instructions = 15; */
|
||||
for (let i = 0; i < message.Instructions.length; i++)
|
||||
LabelByLanguage.internalBinaryWrite(message.Instructions[i], writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Instruction Instruction = 15; */
|
||||
if (message.Instruction)
|
||||
Instruction.internalBinaryWrite(message.Instruction, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.Document InstructionDocuments = 16; */
|
||||
for (let i = 0; i < message.InstructionDocuments.length; i++)
|
||||
Document.internalBinaryWrite(message.InstructionDocuments[i], writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
||||
|
||||
Reference in New Issue
Block a user