You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -11,12 +11,12 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|||||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
import { HandlingunitSummary } from "./warehousingShared";
|
import { HandlingunitSummary } from "./warehousingShared";
|
||||||
import { OrderRequestedMilestones } from "./tradeShared";
|
|
||||||
import { MetadataElement } from "./shared";
|
import { MetadataElement } from "./shared";
|
||||||
import { DateTime } from "./shared";
|
import { DateTime } from "./shared";
|
||||||
import { ETA } from "./tradeShared";
|
import { ETA } from "./tradeShared";
|
||||||
import { EntityID } from "./shared";
|
import { EntityID } from "./shared";
|
||||||
import { CommandHeader } from "./shared";
|
import { CommandHeader } from "./shared";
|
||||||
|
import { OrderRequestedMilestones } from "./tradeShared";
|
||||||
import { AppointmentSummary } from "./shared";
|
import { AppointmentSummary } from "./shared";
|
||||||
import { ClaimSummary } from "./shared";
|
import { ClaimSummary } from "./shared";
|
||||||
import { AttachmentSummary } from "./shared";
|
import { AttachmentSummary } from "./shared";
|
||||||
@@ -85,6 +85,10 @@ export interface ExecutionflowMapSummaryToOrderPayload {
|
|||||||
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 20
|
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 20
|
||||||
*/
|
*/
|
||||||
Appointments: AppointmentSummary[];
|
Appointments: AppointmentSummary[];
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 21
|
||||||
|
*/
|
||||||
|
RequestedMilestones?: OrderRequestedMilestones;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ExecutionflowMapSummaryToOrder
|
* @generated from protobuf message api.ExecutionflowMapSummaryToOrder
|
||||||
@@ -377,7 +381,8 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
{ no: 17, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
|
{ no: 17, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
|
||||||
{ no: 18, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary },
|
{ no: 18, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary },
|
||||||
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/ },
|
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/ },
|
||||||
{ no: 20, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary }
|
{ no: 20, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary },
|
||||||
|
{ no: 21, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }
|
||||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapSummaryToOrder" });
|
], { "api.messageType": "Command", "api.payload": true, "api.action": "MapSummaryToOrder" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ExecutionflowMapSummaryToOrderPayload>): ExecutionflowMapSummaryToOrderPayload {
|
create(value?: PartialMessage<ExecutionflowMapSummaryToOrderPayload>): ExecutionflowMapSummaryToOrderPayload {
|
||||||
@@ -435,6 +440,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
case /* repeated api.AppointmentSummary Appointments */ 20:
|
case /* repeated api.AppointmentSummary Appointments */ 20:
|
||||||
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
break;
|
break;
|
||||||
|
case /* api.OrderRequestedMilestones RequestedMilestones */ 21:
|
||||||
|
message.RequestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMilestones);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -483,6 +491,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
/* repeated api.AppointmentSummary Appointments = 20; */
|
/* repeated api.AppointmentSummary Appointments = 20; */
|
||||||
for (let i = 0; i < message.Appointments.length; i++)
|
for (let i = 0; i < message.Appointments.length; i++)
|
||||||
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* api.OrderRequestedMilestones RequestedMilestones = 21; */
|
||||||
|
if (message.RequestedMilestones)
|
||||||
|
OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(21, 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);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.14.0-SNAPSHOT-260609085650",
|
"version": "1.14.0-SNAPSHOT-260609133123",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user