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.14.0-SNAPSHOT-260604080352",
|
||||
"version": "1.14.0-SNAPSHOT-260604084154",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
82
site.ts
82
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<CheckAppointmen
|
||||
*/
|
||||
export const CheckAppointmentCommissionRequest = new CheckAppointmentCommissionRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class PossibleExecutionFlow$Type extends MessageType<PossibleExecutionFlow> {
|
||||
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>): PossibleExecutionFlow {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.RefID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PossibleExecutionFlow>(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<CheckAppointmentCommissionResponse> {
|
||||
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>): CheckAppointmentCommissionResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.PossibleExecutionFlows = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CheckAppointmentCommissionResponse>(this, message, value);
|
||||
return message;
|
||||
@@ -3017,6 +3091,9 @@ class CheckAppointmentCommissionResponse$Type extends MessageType<CheckAppointme
|
||||
case /* api.ResponseHeader Header */ 2:
|
||||
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* repeated api.PossibleExecutionFlow PossibleExecutionFlows */ 3:
|
||||
message.PossibleExecutionFlows.push(PossibleExecutionFlow.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3032,6 +3109,9 @@ class CheckAppointmentCommissionResponse$Type extends MessageType<CheckAppointme
|
||||
/* api.ResponseHeader Header = 2; */
|
||||
if (message.Header)
|
||||
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.PossibleExecutionFlow PossibleExecutionFlows = 3; */
|
||||
for (let i = 0; i < message.PossibleExecutionFlows.length; i++)
|
||||
PossibleExecutionFlow.internalBinaryWrite(message.PossibleExecutionFlows[i], writer.tag(3, 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