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-260605093050",
|
||||
"version": "1.14.0-SNAPSHOT-260605100020",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
52
site.ts
52
site.ts
@@ -621,9 +621,9 @@ export interface CheckAppointmentCommissionRequest {
|
||||
AppointmentCommission?: AppointmentCommission;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PossibleExecutionFlow
|
||||
* @generated from protobuf message api.PossibleReference
|
||||
*/
|
||||
export interface PossibleExecutionFlow {
|
||||
export interface PossibleReference {
|
||||
/**
|
||||
* @generated from protobuf field: string RefID = 1
|
||||
*/
|
||||
@@ -632,6 +632,10 @@ export interface PossibleExecutionFlow {
|
||||
* @generated from protobuf field: api.DateTime RequestedDeliveryDateTime = 2
|
||||
*/
|
||||
RequestedDeliveryDateTime?: DateTime;
|
||||
/**
|
||||
* @generated from protobuf field: bool IsOrderID = 3
|
||||
*/
|
||||
IsOrderID: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.CheckAppointmentCommissionResponse
|
||||
@@ -642,9 +646,9 @@ export interface CheckAppointmentCommissionResponse {
|
||||
*/
|
||||
Header?: ResponseHeader;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.PossibleExecutionFlow PossibleExecutionFlows = 3
|
||||
* @generated from protobuf field: repeated api.PossibleReference PossibleReferences = 3
|
||||
*/
|
||||
PossibleExecutionFlows: PossibleExecutionFlow[];
|
||||
PossibleReferences: PossibleReference[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StandAloneConf
|
||||
@@ -3015,21 +3019,23 @@ 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> {
|
||||
class PossibleReference$Type extends MessageType<PossibleReference> {
|
||||
constructor() {
|
||||
super("api.PossibleExecutionFlow", [
|
||||
super("api.PossibleReference", [
|
||||
{ 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 }
|
||||
{ no: 2, name: "RequestedDeliveryDateTime", kind: "message", localName: "RequestedDeliveryDateTime", jsonName: "RequestedDeliveryDateTime", T: () => DateTime },
|
||||
{ no: 3, name: "IsOrderID", kind: "scalar", localName: "IsOrderID", jsonName: "IsOrderID", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<PossibleExecutionFlow>): PossibleExecutionFlow {
|
||||
create(value?: PartialMessage<PossibleReference>): PossibleReference {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.RefID = "";
|
||||
message.IsOrderID = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PossibleExecutionFlow>(this, message, value);
|
||||
reflectionMergePartial<PossibleReference>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PossibleExecutionFlow): PossibleExecutionFlow {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PossibleReference): PossibleReference {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -3040,6 +3046,9 @@ class PossibleExecutionFlow$Type extends MessageType<PossibleExecutionFlow> {
|
||||
case /* api.DateTime RequestedDeliveryDateTime */ 2:
|
||||
message.RequestedDeliveryDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedDeliveryDateTime);
|
||||
break;
|
||||
case /* bool IsOrderID */ 3:
|
||||
message.IsOrderID = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3051,13 +3060,16 @@ class PossibleExecutionFlow$Type extends MessageType<PossibleExecutionFlow> {
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: PossibleExecutionFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: PossibleReference, 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();
|
||||
/* bool IsOrderID = 3; */
|
||||
if (message.IsOrderID !== false)
|
||||
writer.tag(3, WireType.Varint).bool(message.IsOrderID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3065,20 +3077,20 @@ class PossibleExecutionFlow$Type extends MessageType<PossibleExecutionFlow> {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.PossibleExecutionFlow
|
||||
* @generated MessageType for protobuf message api.PossibleReference
|
||||
*/
|
||||
export const PossibleExecutionFlow = new PossibleExecutionFlow$Type();
|
||||
export const PossibleReference = new PossibleReference$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: 3, name: "PossibleExecutionFlows", kind: "message", localName: "PossibleExecutionFlows", jsonName: "PossibleExecutionFlows", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PossibleExecutionFlow }
|
||||
{ no: 3, name: "PossibleReferences", kind: "message", localName: "PossibleReferences", jsonName: "PossibleReferences", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PossibleReference }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CheckAppointmentCommissionResponse>): CheckAppointmentCommissionResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.PossibleExecutionFlows = [];
|
||||
message.PossibleReferences = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CheckAppointmentCommissionResponse>(this, message, value);
|
||||
return message;
|
||||
@@ -3091,8 +3103,8 @@ 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));
|
||||
case /* repeated api.PossibleReference PossibleReferences */ 3:
|
||||
message.PossibleReferences.push(PossibleReference.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -3109,9 +3121,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();
|
||||
/* repeated api.PossibleReference PossibleReferences = 3; */
|
||||
for (let i = 0; i < message.PossibleReferences.length; i++)
|
||||
PossibleReference.internalBinaryWrite(message.PossibleReferences[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