You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -11,7 +11,6 @@ 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 { ExeFlowLine } from "./tradeShared";
|
|
||||||
import { OrderRequestedMilestones } from "./tradeShared";
|
import { OrderRequestedMilestones } from "./tradeShared";
|
||||||
import { MetadataElement } from "./shared";
|
import { MetadataElement } from "./shared";
|
||||||
import { DateTime } from "./shared";
|
import { DateTime } from "./shared";
|
||||||
@@ -20,6 +19,7 @@ import { EntityID } from "./shared";
|
|||||||
import { CommandHeader } from "./shared";
|
import { CommandHeader } from "./shared";
|
||||||
import { ClaimSummary } from "./shared";
|
import { ClaimSummary } from "./shared";
|
||||||
import { AttachmentSummary } from "./shared";
|
import { AttachmentSummary } from "./shared";
|
||||||
|
import { ExeFlowLine } from "./tradeShared";
|
||||||
import { TradeTier } from "./tradeShared";
|
import { TradeTier } from "./tradeShared";
|
||||||
import { ExecutionflowStatusStruct } from "./tradeShared";
|
import { ExecutionflowStatusStruct } from "./tradeShared";
|
||||||
// Action Summary
|
// Action Summary
|
||||||
@@ -60,6 +60,10 @@ export interface ExecutionflowMapSummaryToOrderPayload {
|
|||||||
* @generated from protobuf field: string CarrierService = 7
|
* @generated from protobuf field: string CarrierService = 7
|
||||||
*/
|
*/
|
||||||
CarrierService: string;
|
CarrierService: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: repeated api.ExeFlowLine Lines = 9
|
||||||
|
*/
|
||||||
|
Lines: ExeFlowLine[];
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 16
|
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 16
|
||||||
*/
|
*/
|
||||||
@@ -363,6 +367,7 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
{ no: 5, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier },
|
{ no: 5, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier },
|
||||||
{ no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier },
|
{ no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier },
|
||||||
{ no: 7, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/ },
|
{ no: 7, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine },
|
||||||
{ no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary },
|
{ no: 16, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary },
|
||||||
{ 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 },
|
||||||
@@ -373,6 +378,7 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.OrderID = "";
|
message.OrderID = "";
|
||||||
message.CarrierService = "";
|
message.CarrierService = "";
|
||||||
|
message.Lines = [];
|
||||||
message.Attachments = [];
|
message.Attachments = [];
|
||||||
message.AttachmentNumber = 0;
|
message.AttachmentNumber = 0;
|
||||||
message.Claims = [];
|
message.Claims = [];
|
||||||
@@ -404,6 +410,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
case /* string CarrierService */ 7:
|
case /* string CarrierService */ 7:
|
||||||
message.CarrierService = reader.string();
|
message.CarrierService = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.ExeFlowLine Lines */ 9:
|
||||||
|
message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
case /* repeated api.AttachmentSummary Attachments */ 16:
|
case /* repeated api.AttachmentSummary Attachments */ 16:
|
||||||
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
break;
|
break;
|
||||||
@@ -446,6 +455,9 @@ class ExecutionflowMapSummaryToOrderPayload$Type extends MessageType<Executionfl
|
|||||||
/* string CarrierService = 7; */
|
/* string CarrierService = 7; */
|
||||||
if (message.CarrierService !== "")
|
if (message.CarrierService !== "")
|
||||||
writer.tag(7, WireType.LengthDelimited).string(message.CarrierService);
|
writer.tag(7, WireType.LengthDelimited).string(message.CarrierService);
|
||||||
|
/* repeated api.ExeFlowLine Lines = 9; */
|
||||||
|
for (let i = 0; i < message.Lines.length; i++)
|
||||||
|
ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||||
/* repeated api.AttachmentSummary Attachments = 16; */
|
/* repeated api.AttachmentSummary Attachments = 16; */
|
||||||
for (let i = 0; i < message.Attachments.length; i++)
|
for (let i = 0; i < message.Attachments.length; i++)
|
||||||
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.14.0-SNAPSHOT-260522085946",
|
"version": "1.14.0-SNAPSHOT-260522091246",
|
||||||
"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