From d0cf929a350868f7ae06bca4604839f8a8abc0d5 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 4 Jun 2026 08:42:31 +0000 Subject: [PATCH] Latest generation --- package.json | 2 +- site.ts | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b0bae77..4d0d9b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260604080352", + "version": "1.14.0-SNAPSHOT-260604084154", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/site.ts b/site.ts index bd95c76..e06e5c4 100644 --- a/site.ts +++ b/site.ts @@ -20,6 +20,7 @@ import { PrjMetadata } from "./metadatadef"; import { CustomField } from "./shared"; import { Slot } from "./slotbooking"; import { ResponseHeader } from "./shared"; +import { DateTime } from "./shared"; import { AppointmentCommission } from "./slotbooking"; import { SlotGroupAndReason } from "./slotbooking"; import { SlotGroup } from "./slotbooking"; @@ -619,6 +620,19 @@ export interface CheckAppointmentCommissionRequest { */ AppointmentCommission?: AppointmentCommission; } +/** + * @generated from protobuf message api.PossibleExecutionFlow + */ +export interface PossibleExecutionFlow { + /** + * @generated from protobuf field: string RefID = 1 + */ + RefID: string; // Reference ID of the execution flow, useful for the caller to know which flow is triggered in case of multiple possible execution flows + /** + * @generated from protobuf field: api.DateTime RequestedDeliveryDateTime = 2 + */ + RequestedDeliveryDateTime?: DateTime; +} /** * @generated from protobuf message api.CheckAppointmentCommissionResponse */ @@ -627,6 +641,10 @@ export interface CheckAppointmentCommissionResponse { * @generated from protobuf field: api.ResponseHeader Header = 2 */ Header?: ResponseHeader; + /** + * @generated from protobuf field: repeated api.PossibleExecutionFlow PossibleExecutionFlows = 3 + */ + PossibleExecutionFlows: PossibleExecutionFlow[]; } /** * @generated from protobuf message api.StandAloneConf @@ -2997,14 +3015,70 @@ class CheckAppointmentCommissionRequest$Type extends MessageType { + constructor() { + super("api.PossibleExecutionFlow", [ + { no: 1, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "RequestedDeliveryDateTime", kind: "message", localName: "RequestedDeliveryDateTime", jsonName: "RequestedDeliveryDateTime", T: () => DateTime } + ]); + } + create(value?: PartialMessage): PossibleExecutionFlow { + const message = globalThis.Object.create((this.messagePrototype!)); + message.RefID = ""; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PossibleExecutionFlow): PossibleExecutionFlow { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string RefID */ 1: + message.RefID = reader.string(); + break; + case /* api.DateTime RequestedDeliveryDateTime */ 2: + message.RequestedDeliveryDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedDeliveryDateTime); + 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: PossibleExecutionFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string RefID = 1; */ + if (message.RefID !== "") + writer.tag(1, WireType.LengthDelimited).string(message.RefID); + /* api.DateTime RequestedDeliveryDateTime = 2; */ + if (message.RequestedDeliveryDateTime) + DateTime.internalBinaryWrite(message.RequestedDeliveryDateTime, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.PossibleExecutionFlow + */ +export const PossibleExecutionFlow = new PossibleExecutionFlow$Type(); +// @generated message type with reflection information, may provide speed optimized methods class CheckAppointmentCommissionResponse$Type extends MessageType { constructor() { super("api.CheckAppointmentCommissionResponse", [ - { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader } + { no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, + { no: 3, name: "PossibleExecutionFlows", kind: "message", localName: "PossibleExecutionFlows", jsonName: "PossibleExecutionFlows", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PossibleExecutionFlow } ]); } create(value?: PartialMessage): CheckAppointmentCommissionResponse { const message = globalThis.Object.create((this.messagePrototype!)); + message.PossibleExecutionFlows = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -3017,6 +3091,9 @@ class CheckAppointmentCommissionResponse$Type extends MessageType