You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -140,6 +140,12 @@ export interface AppointmentPayload {
|
||||
* @generated from protobuf field: bool InstructionAck = 18
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
/**
|
||||
* Empty attribute, just used for inpout api payloads to resolve the site resource from project context with actor alias
|
||||
*
|
||||
* @generated from protobuf field: string ActorID = 20
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentTriplet
|
||||
@@ -238,7 +244,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 15, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,ExpeditionStarted,ExpeditionLoaded,ReceptionStarted,ReceptionUnloaded,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||
@@ -258,6 +265,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
message.HasCommission = false;
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -318,6 +326,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
case /* bool InstructionAck */ 18:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
case /* string ActorID */ 20:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -381,6 +392,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
/* repeated api.MetadataElement CarrierInformation = 19; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ActorID = 20; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(20, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251118094923",
|
||||
"version": "1.12.0-SNAPSHOT-251118100122",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user