You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"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",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
82
site.ts
82
site.ts
@@ -20,6 +20,7 @@ import { PrjMetadata } from "./metadatadef";
|
|||||||
import { CustomField } from "./shared";
|
import { CustomField } from "./shared";
|
||||||
import { Slot } from "./slotbooking";
|
import { Slot } from "./slotbooking";
|
||||||
import { ResponseHeader } from "./shared";
|
import { ResponseHeader } from "./shared";
|
||||||
|
import { DateTime } from "./shared";
|
||||||
import { AppointmentCommission } from "./slotbooking";
|
import { AppointmentCommission } from "./slotbooking";
|
||||||
import { SlotGroupAndReason } from "./slotbooking";
|
import { SlotGroupAndReason } from "./slotbooking";
|
||||||
import { SlotGroup } from "./slotbooking";
|
import { SlotGroup } from "./slotbooking";
|
||||||
@@ -619,6 +620,19 @@ export interface CheckAppointmentCommissionRequest {
|
|||||||
*/
|
*/
|
||||||
AppointmentCommission?: AppointmentCommission;
|
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
|
* @generated from protobuf message api.CheckAppointmentCommissionResponse
|
||||||
*/
|
*/
|
||||||
@@ -627,6 +641,10 @@ export interface CheckAppointmentCommissionResponse {
|
|||||||
* @generated from protobuf field: api.ResponseHeader Header = 2
|
* @generated from protobuf field: api.ResponseHeader Header = 2
|
||||||
*/
|
*/
|
||||||
Header?: ResponseHeader;
|
Header?: ResponseHeader;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: repeated api.PossibleExecutionFlow PossibleExecutionFlows = 3
|
||||||
|
*/
|
||||||
|
PossibleExecutionFlows: PossibleExecutionFlow[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.StandAloneConf
|
* @generated from protobuf message api.StandAloneConf
|
||||||
@@ -2997,14 +3015,70 @@ class CheckAppointmentCommissionRequest$Type extends MessageType<CheckAppointmen
|
|||||||
*/
|
*/
|
||||||
export const CheckAppointmentCommissionRequest = new CheckAppointmentCommissionRequest$Type();
|
export const CheckAppointmentCommissionRequest = new CheckAppointmentCommissionRequest$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @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> {
|
class CheckAppointmentCommissionResponse$Type extends MessageType<CheckAppointmentCommissionResponse> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.CheckAppointmentCommissionResponse", [
|
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 {
|
create(value?: PartialMessage<CheckAppointmentCommissionResponse>): CheckAppointmentCommissionResponse {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
|
message.PossibleExecutionFlows = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<CheckAppointmentCommissionResponse>(this, message, value);
|
reflectionMergePartial<CheckAppointmentCommissionResponse>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -3017,6 +3091,9 @@ class CheckAppointmentCommissionResponse$Type extends MessageType<CheckAppointme
|
|||||||
case /* api.ResponseHeader Header */ 2:
|
case /* api.ResponseHeader Header */ 2:
|
||||||
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.PossibleExecutionFlow PossibleExecutionFlows */ 3:
|
||||||
|
message.PossibleExecutionFlows.push(PossibleExecutionFlow.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -3032,6 +3109,9 @@ class CheckAppointmentCommissionResponse$Type extends MessageType<CheckAppointme
|
|||||||
/* api.ResponseHeader Header = 2; */
|
/* api.ResponseHeader Header = 2; */
|
||||||
if (message.Header)
|
if (message.Header)
|
||||||
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
Reference in New Issue
Block a user