You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -15,6 +15,7 @@ import { ActorPayload } from "./actor";
|
||||
import { ItemPayload } from "./item";
|
||||
import { EntityID } from "./shared";
|
||||
import { EventHeader } from "./shared";
|
||||
import { AppointmentSummary } from "./shared";
|
||||
import { ETA } from "./tradeShared";
|
||||
import { ETAbyHU } from "./tradeShared";
|
||||
import { ClaimSummary } from "./shared";
|
||||
@@ -144,6 +145,16 @@ export interface ExecutionflowPayload {
|
||||
* @generated from protobuf field: api.ETA ExecutionflowETAComputed = 22
|
||||
*/
|
||||
ExecutionflowETAComputed?: ETA;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 23
|
||||
*/
|
||||
Appointments: AppointmentSummary[];
|
||||
/**
|
||||
* Appointment removed from the executionflow
|
||||
*
|
||||
* @generated from protobuf field: repeated api.AppointmentSummary RemovedAppointments = 24
|
||||
*/
|
||||
RemovedAppointments: AppointmentSummary[];
|
||||
}
|
||||
// Executionflow entity
|
||||
|
||||
@@ -267,7 +278,9 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
|
||||
{ no: 19, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } },
|
||||
{ no: 20, name: "HandlingunitETAs", kind: "message", localName: "HandlingunitETAs", jsonName: "HandlingunitETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyHU, options: { "api.aggKey": "HandlingunitID", "api.aggSkip": "HUETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
|
||||
{ no: 21, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Estimated Time of Arrival received directly for the Executionflow" }, "api.aggSkip": "ETAUpdated", "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }] }, "api.indexationSkip": true } },
|
||||
{ no: 22, name: "ExecutionflowETAComputed", kind: "message", localName: "ExecutionflowETAComputed", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } }
|
||||
{ no: 22, name: "ExecutionflowETAComputed", kind: "message", localName: "ExecutionflowETAComputed", jsonName: "ExecutionflowETAComputed", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.indexationSkip": true } },
|
||||
{ no: 23, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments attached to the executionflow" }, "api.aggSkip": "AppointmentUpdated", "api.indexationSkip": true } },
|
||||
{ no: 24, name: "RemovedAppointments", kind: "message", localName: "RemovedAppointments", jsonName: "RemovedAppointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AppointmentUpdated" } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowPayload>): ExecutionflowPayload {
|
||||
@@ -284,6 +297,8 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
|
||||
message.Claims = [];
|
||||
message.ClaimNumber = 0;
|
||||
message.HandlingunitETAs = [];
|
||||
message.Appointments = [];
|
||||
message.RemovedAppointments = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -353,6 +368,12 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
|
||||
case /* api.ETA ExecutionflowETAComputed */ 22:
|
||||
message.ExecutionflowETAComputed = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETAComputed);
|
||||
break;
|
||||
case /* repeated api.AppointmentSummary Appointments */ 23:
|
||||
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.AppointmentSummary RemovedAppointments */ 24:
|
||||
message.RemovedAppointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -425,6 +446,12 @@ class ExecutionflowPayload$Type extends MessageType<ExecutionflowPayload> {
|
||||
/* api.ETA ExecutionflowETAComputed = 22; */
|
||||
if (message.ExecutionflowETAComputed)
|
||||
ETA.internalBinaryWrite(message.ExecutionflowETAComputed, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.AppointmentSummary Appointments = 23; */
|
||||
for (let i = 0; i < message.Appointments.length; i++)
|
||||
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(23, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.AppointmentSummary RemovedAppointments = 24; */
|
||||
for (let i = 0; i < message.RemovedAppointments.length; i++)
|
||||
AppointmentSummary.internalBinaryWrite(message.RemovedAppointments[i], writer.tag(24, 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