You've already forked npm-core-sdk
1642 lines
86 KiB
TypeScript
1642 lines
86 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "tradeShared.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
import { WireType } from "@protobuf-ts/runtime";
|
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
import { ClaimSummary } from "./shared";
|
|
import { AttachmentSummary } from "./shared";
|
|
import { PartnerPayload } from "./partner";
|
|
import { Interlocutor } from "./repositoryShared";
|
|
import { ActorPayload } from "./actor";
|
|
import { QuantityByLV } from "./warehousingShared";
|
|
import { QuantityInLV } from "./warehousingShared";
|
|
import { QuantityVolume } from "./shared";
|
|
import { QuantityWeight } from "./shared";
|
|
import { QuantifiedGoodsByHU } from "./warehousingShared";
|
|
import { MetadataElement } from "./shared";
|
|
import { QuantifiedRequestedGoods } from "./warehousingShared";
|
|
import { DateTime } from "./shared";
|
|
// _warehousing_
|
|
|
|
/**
|
|
*
|
|
* Structure to reference another entity with a reason
|
|
*
|
|
* @generated from protobuf message api.ReferencedID
|
|
*/
|
|
export interface ReferencedID {
|
|
/**
|
|
* @generated from protobuf field: string RefID = 1
|
|
*/
|
|
RefID: string;
|
|
/**
|
|
* @generated from protobuf field: string Reason = 2
|
|
*/
|
|
Reason: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.OrderRequestedMilestones
|
|
*/
|
|
export interface OrderRequestedMilestones {
|
|
/**
|
|
* @generated from protobuf field: api.DateTime RequestedDeliveryDateTime = 1
|
|
*/
|
|
RequestedDeliveryDateTime?: DateTime;
|
|
/**
|
|
* @generated from protobuf field: api.DateTime RequestedPickUpDateTime = 2
|
|
*/
|
|
RequestedPickUpDateTime?: DateTime;
|
|
/**
|
|
* @generated from protobuf field: api.DateTime RequestedShipDateTime = 3
|
|
*/
|
|
RequestedShipDateTime?: DateTime;
|
|
}
|
|
/**
|
|
*
|
|
* Definition of trade.Order.
|
|
* It defines the requested goods
|
|
*
|
|
* @generated from protobuf message api.OrderLine
|
|
*/
|
|
export interface OrderLine {
|
|
/**
|
|
* @generated from protobuf field: string LineID = 1
|
|
*/
|
|
LineID: string;
|
|
/**
|
|
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2
|
|
*/
|
|
RequestedContent?: QuantifiedRequestedGoods; // Option to prevent metadata definition in UI
|
|
/**
|
|
* Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)
|
|
*
|
|
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
|
|
*/
|
|
MetaData: MetadataElement[];
|
|
/**
|
|
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 4
|
|
*/
|
|
RequestedMetrics?: GoodsMetrics;
|
|
}
|
|
/**
|
|
*
|
|
* Definition of trade. Executionflow lines.
|
|
* It defines the requested goods and the prepared goods
|
|
*
|
|
* @generated from protobuf message api.ExeFlowLine
|
|
*/
|
|
export interface ExeFlowLine {
|
|
/**
|
|
* @generated from protobuf field: string LineID = 1
|
|
*/
|
|
LineID: string;
|
|
/**
|
|
* @generated from protobuf field: api.QuantifiedRequestedGoods RequestedContent = 2
|
|
*/
|
|
RequestedContent?: QuantifiedRequestedGoods;
|
|
// TODO option to prevent metadata definition in UI
|
|
|
|
/**
|
|
* Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)
|
|
*
|
|
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
|
|
*/
|
|
MetaData: MetadataElement[];
|
|
/**
|
|
* @generated from protobuf field: repeated api.QuantifiedGoodsByHU ShippedContents = 4
|
|
*/
|
|
ShippedContents: QuantifiedGoodsByHU[];
|
|
/**
|
|
* @generated from protobuf field: bool PreparedItemDiffersFromRequestedItem = 5
|
|
*/
|
|
PreparedItemDiffersFromRequestedItem: boolean; // This field will be computed at aggregation, not exposed through APIs
|
|
/**
|
|
* @generated from protobuf field: bool ReceivedItemDiffersFromRequestedItem = 6
|
|
*/
|
|
ReceivedItemDiffersFromRequestedItem: boolean; // This field will be computed at aggregation, not exposed through APIs
|
|
/**
|
|
* @generated from protobuf field: api.GoodsMetrics RequestedMetrics = 7
|
|
*/
|
|
RequestedMetrics?: GoodsMetrics;
|
|
/**
|
|
* @generated from protobuf field: api.GoodsMetrics TotalPreparedMetrics = 8
|
|
*/
|
|
TotalPreparedMetrics?: GoodsMetrics;
|
|
/**
|
|
* @generated from protobuf field: api.GoodsMetrics TotalReceivedMetrics = 9
|
|
*/
|
|
TotalReceivedMetrics?: GoodsMetrics;
|
|
// GoodsMetrics TotalNonPreparedMetrics = 10
|
|
// [
|
|
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (validate.rules).message.unauthorized = true
|
|
// ];
|
|
// GoodsMetrics TotalNonReceivedMetrics = 11
|
|
// [
|
|
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true}, (validate.rules).message.unauthorized = true
|
|
// ];
|
|
|
|
/**
|
|
* @generated from protobuf field: bool CreatedFromHU = 12
|
|
*/
|
|
CreatedFromHU: boolean;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.GoodsMetrics
|
|
*/
|
|
export interface GoodsMetrics {
|
|
/**
|
|
* @generated from protobuf field: api.QuantityWeight GrossWeight = 1
|
|
*/
|
|
GrossWeight?: QuantityWeight;
|
|
/**
|
|
* @generated from protobuf field: api.QuantityVolume Volume = 2
|
|
*/
|
|
Volume?: QuantityVolume;
|
|
/**
|
|
* @generated from protobuf field: api.QuantityInLV QuantityInBaseLV = 3
|
|
*/
|
|
QuantityInBaseLV?: QuantityInLV;
|
|
/**
|
|
* @generated from protobuf field: repeated api.QuantityByLV QuantityByLVs = 4
|
|
*/
|
|
QuantityByLVs: QuantityByLV[];
|
|
/**
|
|
* @generated from protobuf field: string LVDetailledQuantity = 5
|
|
*/
|
|
LVDetailledQuantity: string;
|
|
}
|
|
//
|
|
// Reference to Actor entity from trade entities.
|
|
// It allows enrichment or definition by value.
|
|
//
|
|
// - Partner by ref, with a actor by value : PartnerID, Actor
|
|
// - Partner by ref, with its actor by ref : PartnerID, ActorID
|
|
//
|
|
// If PartnerID is empty, ActorID is forbidden
|
|
// If PartnerID is filled, Actor or ActorID is mandatory
|
|
|
|
/**
|
|
* @generated from protobuf message api.TradeTier
|
|
*/
|
|
export interface TradeTier {
|
|
/**
|
|
* @generated from protobuf field: string ActorID = 2
|
|
*/
|
|
ActorID: string;
|
|
/**
|
|
* @generated from protobuf field: api.ActorPayload Actor = 4
|
|
*/
|
|
Actor?: ActorPayload;
|
|
/**
|
|
* @generated from protobuf field: api.Interlocutor Contact = 5
|
|
*/
|
|
Contact?: Interlocutor;
|
|
/**
|
|
* Must be an ID of an existing partner
|
|
*
|
|
* @generated from protobuf field: string PartnerID = 6
|
|
*/
|
|
PartnerID: string;
|
|
/**
|
|
* @generated from protobuf field: api.PartnerPayload Partner = 7
|
|
*/
|
|
Partner?: PartnerPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ETA
|
|
*/
|
|
export interface ETA {
|
|
/**
|
|
* DateTime ETA = 1; // removed for 1.7
|
|
* DateTime WhenETAWasCalculated = 2; // removed for 1.7
|
|
*
|
|
* @generated from protobuf field: api.DateTime StartETA = 3
|
|
*/
|
|
StartETA?: DateTime;
|
|
/**
|
|
* @generated from protobuf field: api.DateTime EndETA = 4
|
|
*/
|
|
EndETA?: DateTime;
|
|
/**
|
|
* @generated from protobuf field: api.DateTime ActualDate = 5
|
|
*/
|
|
ActualDate?: DateTime;
|
|
/**
|
|
* @generated from protobuf field: string Comment = 6
|
|
*/
|
|
Comment: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ETAbyHU
|
|
*/
|
|
export interface ETAbyHU {
|
|
/**
|
|
* @generated from protobuf field: string HandlingunitID = 1
|
|
*/
|
|
HandlingunitID: string;
|
|
/**
|
|
* @generated from protobuf field: api.ETA ETA = 2
|
|
*/
|
|
ETA?: ETA;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ETAbyExecutionflow
|
|
*/
|
|
export interface ETAbyExecutionflow {
|
|
/**
|
|
* @generated from protobuf field: string ExecutionflowID = 1
|
|
*/
|
|
ExecutionflowID: string;
|
|
/**
|
|
* @generated from protobuf field: api.ETA ETA = 2
|
|
*/
|
|
ETA?: ETA;
|
|
}
|
|
/**
|
|
*
|
|
* Order entity status structure
|
|
*
|
|
* @generated from protobuf message api.OrderStatus
|
|
*/
|
|
export interface OrderStatus {
|
|
/**
|
|
* @generated from protobuf field: api.OrderStatusCode StatusCode = 1
|
|
*/
|
|
StatusCode: OrderStatusCode;
|
|
/**
|
|
* @generated from protobuf field: string Date = 2
|
|
*/
|
|
Date: string;
|
|
/**
|
|
* Status effective date. Set by the event's RefDate that triggered the status change.
|
|
*
|
|
* @generated from protobuf field: api.DateTime ActualDate = 3
|
|
*/
|
|
ActualDate?: DateTime;
|
|
}
|
|
/**
|
|
*
|
|
* OrderStatusStruct statuses structure
|
|
*
|
|
* @generated from protobuf message api.OrderStatusStruct
|
|
*/
|
|
export interface OrderStatusStruct {
|
|
/**
|
|
* @generated from protobuf field: api.OrderStatus Current = 1
|
|
*/
|
|
Current?: OrderStatus; // Current status of the Order entity
|
|
/**
|
|
* @generated from protobuf field: repeated api.OrderStatus History = 2
|
|
*/
|
|
History: OrderStatus[]; // List of all status history of the Order entity
|
|
/**
|
|
* @generated from protobuf field: string CreationDate = 3
|
|
*/
|
|
CreationDate: string;
|
|
}
|
|
/**
|
|
*
|
|
* Executionflow entity status structure
|
|
*
|
|
* @generated from protobuf message api.ExecutionflowStatus
|
|
*/
|
|
export interface ExecutionflowStatus {
|
|
/**
|
|
* @generated from protobuf field: api.ExecutionflowStatusCode StatusCode = 1
|
|
*/
|
|
StatusCode: ExecutionflowStatusCode;
|
|
/**
|
|
* @generated from protobuf field: string Date = 2
|
|
*/
|
|
Date: string;
|
|
/**
|
|
* Status effective date. Set by the event's RefDate that triggered the status change.
|
|
*
|
|
* @generated from protobuf field: api.DateTime ActualDate = 3
|
|
*/
|
|
ActualDate?: DateTime;
|
|
}
|
|
/**
|
|
*
|
|
* ExecutionflowStatusStruct statuses structure
|
|
*
|
|
* @generated from protobuf message api.ExecutionflowStatusStruct
|
|
*/
|
|
export interface ExecutionflowStatusStruct {
|
|
/**
|
|
* @generated from protobuf field: api.ExecutionflowStatus Current = 1
|
|
*/
|
|
Current?: ExecutionflowStatus; // Current status of the Executionflow entity
|
|
/**
|
|
* @generated from protobuf field: repeated api.ExecutionflowStatus History = 2
|
|
*/
|
|
History: ExecutionflowStatus[]; // List of all status history of the Executionflow entity
|
|
/**
|
|
* @generated from protobuf field: uint32 Version = 3
|
|
*/
|
|
Version: number;
|
|
/**
|
|
* @generated from protobuf field: string CreationDate = 4
|
|
*/
|
|
CreationDate: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ExecutionflowSummary
|
|
*/
|
|
export interface ExecutionflowSummary {
|
|
/**
|
|
* @generated from protobuf field: string ExecutionflowID = 1
|
|
*/
|
|
ExecutionflowID: string;
|
|
/**
|
|
* @generated from protobuf field: api.ExecutionflowStatus Status = 2
|
|
*/
|
|
Status?: ExecutionflowStatus;
|
|
/**
|
|
* Where to ship the executionflow from
|
|
*
|
|
* @generated from protobuf field: api.TradeTier ShipFrom = 7
|
|
*/
|
|
ShipFrom?: TradeTier;
|
|
/**
|
|
* Where to ship the executionflow to
|
|
*
|
|
* @generated from protobuf field: api.TradeTier ShipTo = 8
|
|
*/
|
|
ShipTo?: TradeTier;
|
|
/**
|
|
* @generated from protobuf field: api.TradeTier Carrier = 6
|
|
*/
|
|
Carrier?: TradeTier;
|
|
/**
|
|
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 18
|
|
*/
|
|
Attachments: AttachmentSummary[];
|
|
/**
|
|
* @generated from protobuf field: int32 AttachmentNumber = 19
|
|
*/
|
|
AttachmentNumber: number;
|
|
/**
|
|
* @generated from protobuf field: repeated api.ClaimSummary Claims = 20
|
|
*/
|
|
Claims: ClaimSummary[];
|
|
/**
|
|
* @generated from protobuf field: int32 ClaimNumber = 21
|
|
*/
|
|
ClaimNumber: number;
|
|
}
|
|
/**
|
|
* Not a GS1 Object.
|
|
* Temporary version
|
|
*
|
|
* @generated from protobuf message api.ExecutionGraph
|
|
*/
|
|
export interface ExecutionGraph {
|
|
/**
|
|
* @generated from protobuf field: repeated string ParcelIDs = 1
|
|
*/
|
|
ParcelIDs: string[];
|
|
}
|
|
/**
|
|
*
|
|
* All statuses for Order entity
|
|
*
|
|
* Order statuses are mainly computed from the executionflowupdated event, by getting the less-advanced executionflow status.
|
|
*
|
|
* https://hardisgroupe.sharepoint.com/:p:/r/sites/N1/_layouts/15/Doc.aspx?sourcedoc=%7B5ECE4F90-6775-4EDA-BC25-7AD4982F8415%7D&file=Statuts%20N1_v2.pptx&action=edit&mobileredirect=true
|
|
*
|
|
* @generated from protobuf enum api.OrderStatusCode
|
|
*/
|
|
export enum OrderStatusCode {
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_0000_UNKNOWN = 0;
|
|
*/
|
|
ORDER_0000_UNKNOWN = 0,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_0300_UNDETERMINED = 300;
|
|
*/
|
|
ORDER_0300_UNDETERMINED = 300,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_0500_READY_TO_ALLOCATE = 500;
|
|
*/
|
|
ORDER_0500_READY_TO_ALLOCATE = 500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_1000_ALLOCATING = 1000;
|
|
*/
|
|
ORDER_1000_ALLOCATING = 1000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_1500_ALLOCATION_ERROR = 1500;
|
|
*/
|
|
ORDER_1500_ALLOCATION_ERROR = 1500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_1800_ALLOCATION_COMPLETED = 1800;
|
|
*/
|
|
ORDER_1800_ALLOCATION_COMPLETED = 1800,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_2000_READY_TO_PREPARE = 2000;
|
|
*/
|
|
ORDER_2000_READY_TO_PREPARE = 2000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_2500_PREPARATION_ERROR = 2500;
|
|
*/
|
|
ORDER_2500_PREPARATION_ERROR = 2500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_3000_PREPARING = 3000;
|
|
*/
|
|
ORDER_3000_PREPARING = 3000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_3500_PREPARATION_COMPLETED = 3500;
|
|
*/
|
|
ORDER_3500_PREPARATION_COMPLETED = 3500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_4000_READY_TO_TRANSPORT = 4000;
|
|
*/
|
|
ORDER_4000_READY_TO_TRANSPORT = 4000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_4500_TRANSPORT_ERROR = 4500;
|
|
*/
|
|
ORDER_4500_TRANSPORT_ERROR = 4500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_5000_TRANSPORTING = 5000;
|
|
*/
|
|
ORDER_5000_TRANSPORTING = 5000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_5500_TRANSPORT_COMPLETED = 5500;
|
|
*/
|
|
ORDER_5500_TRANSPORT_COMPLETED = 5500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_6000_READY_TO_RECEIVE = 6000;
|
|
*/
|
|
ORDER_6000_READY_TO_RECEIVE = 6000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_6500_RECEPTION_ERROR = 6500;
|
|
*/
|
|
ORDER_6500_RECEPTION_ERROR = 6500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_7000_RECEIVING = 7000;
|
|
*/
|
|
ORDER_7000_RECEIVING = 7000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_7500_RECEPTION_COMPLETED = 7500;
|
|
*/
|
|
ORDER_7500_RECEPTION_COMPLETED = 7500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_8000_COMPLETED = 8000;
|
|
*/
|
|
ORDER_8000_COMPLETED = 8000,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_8500_CANCELLED = 8500;
|
|
*/
|
|
ORDER_8500_CANCELLED = 8500,
|
|
/**
|
|
* @generated from protobuf enum value: ORDER_9500_ANOMALY = 9500;
|
|
*/
|
|
ORDER_9500_ANOMALY = 9500
|
|
}
|
|
/**
|
|
*
|
|
* All statuses for Executionflow entity
|
|
*
|
|
* The executionflow statuses are the most complexe statuses to get. They are computed from handlingunitupdated.
|
|
*
|
|
* In addition, because we do not know in advance how the execution flow will be prepare, we need to compare the prepared quantity the requested quantity.
|
|
*
|
|
* https://hardisgroupe.sharepoint.com/:p:/r/sites/N1/_layouts/15/Doc.aspx?sourcedoc=%7B5ECE4F90-6775-4EDA-BC25-7AD4982F8415%7D&file=Statuts%20N1_v2.pptx&action=edit&mobileredirect=true
|
|
*
|
|
* @generated from protobuf enum api.ExecutionflowStatusCode
|
|
*/
|
|
export enum ExecutionflowStatusCode {
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_0000_UNKNOWN = 0;
|
|
*/
|
|
EXECUTIONFLOW_0000_UNKNOWN = 0,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_0050_UNDETERMINED = 50;
|
|
*/
|
|
EXECUTIONFLOW_0050_UNDETERMINED = 50,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_0300_READY_TO_ALLOCATE = 300;
|
|
*/
|
|
EXECUTIONFLOW_0300_READY_TO_ALLOCATE = 300,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_0500_ALLOCATING = 500;
|
|
*/
|
|
EXECUTIONFLOW_0500_ALLOCATING = 500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_1000_ALLOCATION_ERROR = 1000;
|
|
*/
|
|
EXECUTIONFLOW_1000_ALLOCATION_ERROR = 1000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_1300_ALLOCATION_COMPLETED = 1300;
|
|
*/
|
|
EXECUTIONFLOW_1300_ALLOCATION_COMPLETED = 1300,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_1500_READY_TO_PREPARE = 1500;
|
|
*/
|
|
EXECUTIONFLOW_1500_READY_TO_PREPARE = 1500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_2000_PREPARATION_ERROR = 2000;
|
|
*/
|
|
EXECUTIONFLOW_2000_PREPARATION_ERROR = 2000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_2500_PREPARING = 2500;
|
|
*/
|
|
EXECUTIONFLOW_2500_PREPARING = 2500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_3000_PREPARATION_COMPLETED = 3000;
|
|
*/
|
|
EXECUTIONFLOW_3000_PREPARATION_COMPLETED = 3000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_3500_READY_TO_TRANSPORT = 3500;
|
|
*/
|
|
EXECUTIONFLOW_3500_READY_TO_TRANSPORT = 3500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_4000_TRANSPORT_ERROR = 4000;
|
|
*/
|
|
EXECUTIONFLOW_4000_TRANSPORT_ERROR = 4000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_4500_TRANSPORTING = 4500;
|
|
*/
|
|
EXECUTIONFLOW_4500_TRANSPORTING = 4500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_5000_TRANSPORT_COMPLETED = 5000;
|
|
*/
|
|
EXECUTIONFLOW_5000_TRANSPORT_COMPLETED = 5000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_5500_READY_TO_RECEIVE = 5500;
|
|
*/
|
|
EXECUTIONFLOW_5500_READY_TO_RECEIVE = 5500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_6000_RECEPTION_ERROR = 6000;
|
|
*/
|
|
EXECUTIONFLOW_6000_RECEPTION_ERROR = 6000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_6500_RECEIVING = 6500;
|
|
*/
|
|
EXECUTIONFLOW_6500_RECEIVING = 6500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_7000_RECEPTION_COMPLETED = 7000;
|
|
*/
|
|
EXECUTIONFLOW_7000_RECEPTION_COMPLETED = 7000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_7500_COMPLETED = 7500;
|
|
*/
|
|
EXECUTIONFLOW_7500_COMPLETED = 7500,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_8000_CANCELLED = 8000;
|
|
*/
|
|
EXECUTIONFLOW_8000_CANCELLED = 8000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_9000_DELETED = 9000;
|
|
*/
|
|
EXECUTIONFLOW_9000_DELETED = 9000,
|
|
/**
|
|
* @generated from protobuf enum value: EXECUTIONFLOW_9500_ANOMALY = 9500;
|
|
*/
|
|
EXECUTIONFLOW_9500_ANOMALY = 9500
|
|
}
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ReferencedID$Type extends MessageType<ReferencedID> {
|
|
constructor() {
|
|
super("api.ReferencedID", [
|
|
{ no: 1, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Structure to reference another entity with a reason" } } });
|
|
}
|
|
create(value?: PartialMessage<ReferencedID>): ReferencedID {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.RefID = "";
|
|
message.Reason = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ReferencedID>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReferencedID): ReferencedID {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string RefID */ 1:
|
|
message.RefID = reader.string();
|
|
break;
|
|
case /* string Reason */ 2:
|
|
message.Reason = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ReferencedID, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string RefID = 1; */
|
|
if (message.RefID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.RefID);
|
|
/* string Reason = 2; */
|
|
if (message.Reason !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Reason);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ReferencedID
|
|
*/
|
|
export const ReferencedID = new ReferencedID$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class OrderRequestedMilestones$Type extends MessageType<OrderRequestedMilestones> {
|
|
constructor() {
|
|
super("api.OrderRequestedMilestones", [
|
|
{ no: 1, name: "RequestedDeliveryDateTime", kind: "message", localName: "RequestedDeliveryDateTime", jsonName: "RequestedDeliveryDateTime", T: () => DateTime },
|
|
{ no: 2, name: "RequestedPickUpDateTime", kind: "message", localName: "RequestedPickUpDateTime", jsonName: "RequestedPickUpDateTime", T: () => DateTime },
|
|
{ no: 3, name: "RequestedShipDateTime", kind: "message", localName: "RequestedShipDateTime", jsonName: "RequestedShipDateTime", T: () => DateTime }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<OrderRequestedMilestones>): OrderRequestedMilestones {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<OrderRequestedMilestones>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderRequestedMilestones): OrderRequestedMilestones {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.DateTime RequestedDeliveryDateTime */ 1:
|
|
message.RequestedDeliveryDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedDeliveryDateTime);
|
|
break;
|
|
case /* api.DateTime RequestedPickUpDateTime */ 2:
|
|
message.RequestedPickUpDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedPickUpDateTime);
|
|
break;
|
|
case /* api.DateTime RequestedShipDateTime */ 3:
|
|
message.RequestedShipDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.RequestedShipDateTime);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: OrderRequestedMilestones, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.DateTime RequestedDeliveryDateTime = 1; */
|
|
if (message.RequestedDeliveryDateTime)
|
|
DateTime.internalBinaryWrite(message.RequestedDeliveryDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.DateTime RequestedPickUpDateTime = 2; */
|
|
if (message.RequestedPickUpDateTime)
|
|
DateTime.internalBinaryWrite(message.RequestedPickUpDateTime, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.DateTime RequestedShipDateTime = 3; */
|
|
if (message.RequestedShipDateTime)
|
|
DateTime.internalBinaryWrite(message.RequestedShipDateTime, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.OrderRequestedMilestones
|
|
*/
|
|
export const OrderRequestedMilestones = new OrderRequestedMilestones$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class OrderLine$Type extends MessageType<OrderLine> {
|
|
constructor() {
|
|
super("api.OrderLine", [
|
|
{ no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods },
|
|
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
|
{ no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { message: { unauthorized: true } } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<OrderLine>): OrderLine {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.LineID = "";
|
|
message.MetaData = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<OrderLine>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderLine): OrderLine {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string LineID */ 1:
|
|
message.LineID = reader.string();
|
|
break;
|
|
case /* api.QuantifiedRequestedGoods RequestedContent */ 2:
|
|
message.RequestedContent = QuantifiedRequestedGoods.internalBinaryRead(reader, reader.uint32(), options, message.RequestedContent);
|
|
break;
|
|
case /* repeated api.MetadataElement MetaData */ 3:
|
|
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.GoodsMetrics RequestedMetrics */ 4:
|
|
message.RequestedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMetrics);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: OrderLine, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string LineID = 1; */
|
|
if (message.LineID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.LineID);
|
|
/* api.QuantifiedRequestedGoods RequestedContent = 2; */
|
|
if (message.RequestedContent)
|
|
QuantifiedRequestedGoods.internalBinaryWrite(message.RequestedContent, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.MetadataElement MetaData = 3; */
|
|
for (let i = 0; i < message.MetaData.length; i++)
|
|
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.GoodsMetrics RequestedMetrics = 4; */
|
|
if (message.RequestedMetrics)
|
|
GoodsMetrics.internalBinaryWrite(message.RequestedMetrics, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.OrderLine
|
|
*/
|
|
export const OrderLine = new OrderLine$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExeFlowLine$Type extends MessageType<ExeFlowLine> {
|
|
constructor() {
|
|
super("api.ExeFlowLine", [
|
|
{ no: 1, name: "LineID", kind: "scalar", localName: "LineID", jsonName: "LineID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "RequestedContent", kind: "message", localName: "RequestedContent", jsonName: "RequestedContent", T: () => QuantifiedRequestedGoods, options: { "api.aggSkip": "HUContentUpdated,HUTrackingUpdated" } },
|
|
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key", "api.aggSkip": "HUContentUpdated, HUTrackingUpdated", "api.transientRef": "Order,Payload.Lines<>.MetaData,hard", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }] }, "api.parentEntity": "Order" } },
|
|
{ no: 4, name: "ShippedContents", kind: "message", localName: "ShippedContents", jsonName: "ShippedContents", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantifiedGoodsByHU, options: { "api.aggSkip": "HUContentUpdated, HUTrackingUpdated", "api.extractRefExclude": "Executionflow" } },
|
|
{ no: 5, name: "PreparedItemDiffersFromRequestedItem", kind: "scalar", localName: "PreparedItemDiffersFromRequestedItem", jsonName: "PreparedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
|
{ no: 6, name: "ReceivedItemDiffersFromRequestedItem", kind: "scalar", localName: "ReceivedItemDiffersFromRequestedItem", jsonName: "ReceivedItemDiffersFromRequestedItem", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
|
{ no: 7, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { message: { unauthorized: true } } } },
|
|
{ no: 8, name: "TotalPreparedMetrics", kind: "message", localName: "TotalPreparedMetrics", jsonName: "TotalPreparedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { message: { unauthorized: true } } } },
|
|
{ no: 9, name: "TotalReceivedMetrics", kind: "message", localName: "TotalReceivedMetrics", jsonName: "TotalReceivedMetrics", T: () => GoodsMetrics, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { message: { unauthorized: true } } } },
|
|
{ no: 12, name: "CreatedFromHU", kind: "scalar", localName: "CreatedFromHU", jsonName: "CreatedFromHU", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.dataRestrictionKey": "Stock,Executionflow", "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" } } });
|
|
}
|
|
create(value?: PartialMessage<ExeFlowLine>): ExeFlowLine {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.LineID = "";
|
|
message.MetaData = [];
|
|
message.ShippedContents = [];
|
|
message.PreparedItemDiffersFromRequestedItem = false;
|
|
message.ReceivedItemDiffersFromRequestedItem = false;
|
|
message.CreatedFromHU = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExeFlowLine>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExeFlowLine): ExeFlowLine {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string LineID */ 1:
|
|
message.LineID = reader.string();
|
|
break;
|
|
case /* api.QuantifiedRequestedGoods RequestedContent */ 2:
|
|
message.RequestedContent = QuantifiedRequestedGoods.internalBinaryRead(reader, reader.uint32(), options, message.RequestedContent);
|
|
break;
|
|
case /* repeated api.MetadataElement MetaData */ 3:
|
|
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* repeated api.QuantifiedGoodsByHU ShippedContents */ 4:
|
|
message.ShippedContents.push(QuantifiedGoodsByHU.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* bool PreparedItemDiffersFromRequestedItem */ 5:
|
|
message.PreparedItemDiffersFromRequestedItem = reader.bool();
|
|
break;
|
|
case /* bool ReceivedItemDiffersFromRequestedItem */ 6:
|
|
message.ReceivedItemDiffersFromRequestedItem = reader.bool();
|
|
break;
|
|
case /* api.GoodsMetrics RequestedMetrics */ 7:
|
|
message.RequestedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMetrics);
|
|
break;
|
|
case /* api.GoodsMetrics TotalPreparedMetrics */ 8:
|
|
message.TotalPreparedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.TotalPreparedMetrics);
|
|
break;
|
|
case /* api.GoodsMetrics TotalReceivedMetrics */ 9:
|
|
message.TotalReceivedMetrics = GoodsMetrics.internalBinaryRead(reader, reader.uint32(), options, message.TotalReceivedMetrics);
|
|
break;
|
|
case /* bool CreatedFromHU */ 12:
|
|
message.CreatedFromHU = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExeFlowLine, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string LineID = 1; */
|
|
if (message.LineID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.LineID);
|
|
/* api.QuantifiedRequestedGoods RequestedContent = 2; */
|
|
if (message.RequestedContent)
|
|
QuantifiedRequestedGoods.internalBinaryWrite(message.RequestedContent, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.MetadataElement MetaData = 3; */
|
|
for (let i = 0; i < message.MetaData.length; i++)
|
|
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.QuantifiedGoodsByHU ShippedContents = 4; */
|
|
for (let i = 0; i < message.ShippedContents.length; i++)
|
|
QuantifiedGoodsByHU.internalBinaryWrite(message.ShippedContents[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* bool PreparedItemDiffersFromRequestedItem = 5; */
|
|
if (message.PreparedItemDiffersFromRequestedItem !== false)
|
|
writer.tag(5, WireType.Varint).bool(message.PreparedItemDiffersFromRequestedItem);
|
|
/* bool ReceivedItemDiffersFromRequestedItem = 6; */
|
|
if (message.ReceivedItemDiffersFromRequestedItem !== false)
|
|
writer.tag(6, WireType.Varint).bool(message.ReceivedItemDiffersFromRequestedItem);
|
|
/* api.GoodsMetrics RequestedMetrics = 7; */
|
|
if (message.RequestedMetrics)
|
|
GoodsMetrics.internalBinaryWrite(message.RequestedMetrics, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.GoodsMetrics TotalPreparedMetrics = 8; */
|
|
if (message.TotalPreparedMetrics)
|
|
GoodsMetrics.internalBinaryWrite(message.TotalPreparedMetrics, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.GoodsMetrics TotalReceivedMetrics = 9; */
|
|
if (message.TotalReceivedMetrics)
|
|
GoodsMetrics.internalBinaryWrite(message.TotalReceivedMetrics, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
/* bool CreatedFromHU = 12; */
|
|
if (message.CreatedFromHU !== false)
|
|
writer.tag(12, WireType.Varint).bool(message.CreatedFromHU);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ExeFlowLine
|
|
*/
|
|
export const ExeFlowLine = new ExeFlowLine$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class GoodsMetrics$Type extends MessageType<GoodsMetrics> {
|
|
constructor() {
|
|
super("api.GoodsMetrics", [
|
|
{ no: 1, name: "GrossWeight", kind: "message", localName: "GrossWeight", jsonName: "GrossWeight", T: () => QuantityWeight },
|
|
{ no: 2, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume },
|
|
{ no: 3, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV },
|
|
{ no: 4, name: "QuantityByLVs", kind: "message", localName: "QuantityByLVs", jsonName: "QuantityByLVs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggKey": "LVID" } },
|
|
{ no: 5, name: "LVDetailledQuantity", kind: "scalar", localName: "LVDetailledQuantity", jsonName: "LVDetailledQuantity", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<GoodsMetrics>): GoodsMetrics {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.QuantityByLVs = [];
|
|
message.LVDetailledQuantity = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<GoodsMetrics>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GoodsMetrics): GoodsMetrics {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.QuantityWeight GrossWeight */ 1:
|
|
message.GrossWeight = QuantityWeight.internalBinaryRead(reader, reader.uint32(), options, message.GrossWeight);
|
|
break;
|
|
case /* api.QuantityVolume Volume */ 2:
|
|
message.Volume = QuantityVolume.internalBinaryRead(reader, reader.uint32(), options, message.Volume);
|
|
break;
|
|
case /* api.QuantityInLV QuantityInBaseLV */ 3:
|
|
message.QuantityInBaseLV = QuantityInLV.internalBinaryRead(reader, reader.uint32(), options, message.QuantityInBaseLV);
|
|
break;
|
|
case /* repeated api.QuantityByLV QuantityByLVs */ 4:
|
|
message.QuantityByLVs.push(QuantityByLV.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* string LVDetailledQuantity */ 5:
|
|
message.LVDetailledQuantity = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: GoodsMetrics, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.QuantityWeight GrossWeight = 1; */
|
|
if (message.GrossWeight)
|
|
QuantityWeight.internalBinaryWrite(message.GrossWeight, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.QuantityVolume Volume = 2; */
|
|
if (message.Volume)
|
|
QuantityVolume.internalBinaryWrite(message.Volume, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.QuantityInLV QuantityInBaseLV = 3; */
|
|
if (message.QuantityInBaseLV)
|
|
QuantityInLV.internalBinaryWrite(message.QuantityInBaseLV, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.QuantityByLV QuantityByLVs = 4; */
|
|
for (let i = 0; i < message.QuantityByLVs.length; i++)
|
|
QuantityByLV.internalBinaryWrite(message.QuantityByLVs[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* string LVDetailledQuantity = 5; */
|
|
if (message.LVDetailledQuantity !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.LVDetailledQuantity);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.GoodsMetrics
|
|
*/
|
|
export const GoodsMetrics = new GoodsMetrics$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class TradeTier$Type extends MessageType<TradeTier> {
|
|
constructor() {
|
|
super("api.TradeTier", [
|
|
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.entityRef": "Actor", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 4, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload },
|
|
{ no: 5, name: "Contact", kind: "message", localName: "Contact", jsonName: "Contact", T: () => Interlocutor },
|
|
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be an ID of an existing partner" }, "api.entityRef": "Partner", "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 7, name: "Partner", kind: "message", localName: "Partner", jsonName: "Partner", T: () => PartnerPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { message: { unauthorized: true } } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<TradeTier>): TradeTier {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ActorID = "";
|
|
message.PartnerID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<TradeTier>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TradeTier): TradeTier {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ActorID */ 2:
|
|
message.ActorID = reader.string();
|
|
break;
|
|
case /* api.ActorPayload Actor */ 4:
|
|
message.Actor = ActorPayload.internalBinaryRead(reader, reader.uint32(), options, message.Actor);
|
|
break;
|
|
case /* api.Interlocutor Contact */ 5:
|
|
message.Contact = Interlocutor.internalBinaryRead(reader, reader.uint32(), options, message.Contact);
|
|
break;
|
|
case /* string PartnerID */ 6:
|
|
message.PartnerID = reader.string();
|
|
break;
|
|
case /* api.PartnerPayload Partner */ 7:
|
|
message.Partner = PartnerPayload.internalBinaryRead(reader, reader.uint32(), options, message.Partner);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: TradeTier, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ActorID = 2; */
|
|
if (message.ActorID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
|
/* api.ActorPayload Actor = 4; */
|
|
if (message.Actor)
|
|
ActorPayload.internalBinaryWrite(message.Actor, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.Interlocutor Contact = 5; */
|
|
if (message.Contact)
|
|
Interlocutor.internalBinaryWrite(message.Contact, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
/* string PartnerID = 6; */
|
|
if (message.PartnerID !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.PartnerID);
|
|
/* api.PartnerPayload Partner = 7; */
|
|
if (message.Partner)
|
|
PartnerPayload.internalBinaryWrite(message.Partner, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.TradeTier
|
|
*/
|
|
export const TradeTier = new TradeTier$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ETA$Type extends MessageType<ETA> {
|
|
constructor() {
|
|
super("api.ETA", [
|
|
{ no: 3, name: "StartETA", kind: "message", localName: "StartETA", jsonName: "StartETA", T: () => DateTime },
|
|
{ no: 4, name: "EndETA", kind: "message", localName: "EndETA", jsonName: "EndETA", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 5, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Internal structure, do not fill", readOnly: true }, "validate.rules": { message: { unauthorized: true } } } },
|
|
{ no: 6, name: "Comment", kind: "scalar", localName: "Comment", jsonName: "Comment", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "250" } }, "api.kpiExclude": { Items: [{ Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }] } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ETA>): ETA {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Comment = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ETA>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ETA): ETA {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.DateTime StartETA */ 3:
|
|
message.StartETA = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.StartETA);
|
|
break;
|
|
case /* api.DateTime EndETA */ 4:
|
|
message.EndETA = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.EndETA);
|
|
break;
|
|
case /* api.DateTime ActualDate */ 5:
|
|
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
|
|
break;
|
|
case /* string Comment */ 6:
|
|
message.Comment = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ETA, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.DateTime StartETA = 3; */
|
|
if (message.StartETA)
|
|
DateTime.internalBinaryWrite(message.StartETA, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.DateTime EndETA = 4; */
|
|
if (message.EndETA)
|
|
DateTime.internalBinaryWrite(message.EndETA, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.DateTime ActualDate = 5; */
|
|
if (message.ActualDate)
|
|
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
/* string Comment = 6; */
|
|
if (message.Comment !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.Comment);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ETA
|
|
*/
|
|
export const ETA = new ETA$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ETAbyHU$Type extends MessageType<ETAbyHU> {
|
|
constructor() {
|
|
super("api.ETAbyHU", [
|
|
{ no: 1, name: "HandlingunitID", kind: "scalar", localName: "HandlingunitID", jsonName: "HandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "ETA", kind: "message", localName: "ETA", jsonName: "ETA", T: () => ETA }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ETAbyHU>): ETAbyHU {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.HandlingunitID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ETAbyHU>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ETAbyHU): ETAbyHU {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string HandlingunitID */ 1:
|
|
message.HandlingunitID = reader.string();
|
|
break;
|
|
case /* api.ETA ETA */ 2:
|
|
message.ETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ETA);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ETAbyHU, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string HandlingunitID = 1; */
|
|
if (message.HandlingunitID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.HandlingunitID);
|
|
/* api.ETA ETA = 2; */
|
|
if (message.ETA)
|
|
ETA.internalBinaryWrite(message.ETA, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ETAbyHU
|
|
*/
|
|
export const ETAbyHU = new ETAbyHU$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ETAbyExecutionflow$Type extends MessageType<ETAbyExecutionflow> {
|
|
constructor() {
|
|
super("api.ETAbyExecutionflow", [
|
|
{ no: 1, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "ETA", kind: "message", localName: "ETA", jsonName: "ETA", T: () => ETA }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ETAbyExecutionflow>): ETAbyExecutionflow {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ExecutionflowID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ETAbyExecutionflow>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ETAbyExecutionflow): ETAbyExecutionflow {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ExecutionflowID */ 1:
|
|
message.ExecutionflowID = reader.string();
|
|
break;
|
|
case /* api.ETA ETA */ 2:
|
|
message.ETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ETA);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ETAbyExecutionflow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ExecutionflowID = 1; */
|
|
if (message.ExecutionflowID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ExecutionflowID);
|
|
/* api.ETA ETA = 2; */
|
|
if (message.ETA)
|
|
ETA.internalBinaryWrite(message.ETA, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ETAbyExecutionflow
|
|
*/
|
|
export const ETAbyExecutionflow = new ETAbyExecutionflow$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class OrderStatus$Type extends MessageType<OrderStatus> {
|
|
constructor() {
|
|
super("api.OrderStatus", [
|
|
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.OrderStatusCode", OrderStatusCode], options: { "api.dataRestrictionKey": "Order", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Order", Group: "order", Queryable: true }] } } },
|
|
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
|
|
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<OrderStatus>): OrderStatus {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.StatusCode = 0;
|
|
message.Date = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<OrderStatus>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderStatus): OrderStatus {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.OrderStatusCode StatusCode */ 1:
|
|
message.StatusCode = reader.int32();
|
|
break;
|
|
case /* string Date */ 2:
|
|
message.Date = reader.string();
|
|
break;
|
|
case /* api.DateTime ActualDate */ 3:
|
|
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: OrderStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.OrderStatusCode StatusCode = 1; */
|
|
if (message.StatusCode !== 0)
|
|
writer.tag(1, WireType.Varint).int32(message.StatusCode);
|
|
/* string Date = 2; */
|
|
if (message.Date !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Date);
|
|
/* api.DateTime ActualDate = 3; */
|
|
if (message.ActualDate)
|
|
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.OrderStatus
|
|
*/
|
|
export const OrderStatus = new OrderStatus$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class OrderStatusStruct$Type extends MessageType<OrderStatusStruct> {
|
|
constructor() {
|
|
super("api.OrderStatusStruct", [
|
|
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => OrderStatus },
|
|
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OrderStatus, options: { "api.aggKey": "Date" } },
|
|
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<OrderStatusStruct>): OrderStatusStruct {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.History = [];
|
|
message.CreationDate = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<OrderStatusStruct>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderStatusStruct): OrderStatusStruct {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.OrderStatus Current */ 1:
|
|
message.Current = OrderStatus.internalBinaryRead(reader, reader.uint32(), options, message.Current);
|
|
break;
|
|
case /* repeated api.OrderStatus History */ 2:
|
|
message.History.push(OrderStatus.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* string CreationDate */ 3:
|
|
message.CreationDate = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: OrderStatusStruct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.OrderStatus Current = 1; */
|
|
if (message.Current)
|
|
OrderStatus.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.OrderStatus History = 2; */
|
|
for (let i = 0; i < message.History.length; i++)
|
|
OrderStatus.internalBinaryWrite(message.History[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* string CreationDate = 3; */
|
|
if (message.CreationDate !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.CreationDate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.OrderStatusStruct
|
|
*/
|
|
export const OrderStatusStruct = new OrderStatusStruct$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExecutionflowStatus$Type extends MessageType<ExecutionflowStatus> {
|
|
constructor() {
|
|
super("api.ExecutionflowStatus", [
|
|
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.ExecutionflowStatusCode", ExecutionflowStatusCode], options: { "api.dataRestrictionKey": "Stock,Executionflow", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] } } },
|
|
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
|
|
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExecutionflowStatus>): ExecutionflowStatus {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.StatusCode = 0;
|
|
message.Date = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExecutionflowStatus>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowStatus): ExecutionflowStatus {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ExecutionflowStatusCode StatusCode */ 1:
|
|
message.StatusCode = reader.int32();
|
|
break;
|
|
case /* string Date */ 2:
|
|
message.Date = reader.string();
|
|
break;
|
|
case /* api.DateTime ActualDate */ 3:
|
|
message.ActualDate = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.ActualDate);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExecutionflowStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ExecutionflowStatusCode StatusCode = 1; */
|
|
if (message.StatusCode !== 0)
|
|
writer.tag(1, WireType.Varint).int32(message.StatusCode);
|
|
/* string Date = 2; */
|
|
if (message.Date !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Date);
|
|
/* api.DateTime ActualDate = 3; */
|
|
if (message.ActualDate)
|
|
DateTime.internalBinaryWrite(message.ActualDate, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ExecutionflowStatus
|
|
*/
|
|
export const ExecutionflowStatus = new ExecutionflowStatus$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExecutionflowStatusStruct$Type extends MessageType<ExecutionflowStatusStruct> {
|
|
constructor() {
|
|
super("api.ExecutionflowStatusStruct", [
|
|
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ExecutionflowStatus },
|
|
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowStatus, options: { "api.aggKey": "Date" } },
|
|
{ no: 3, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ },
|
|
{ no: 4, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExecutionflowStatusStruct>): ExecutionflowStatusStruct {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.History = [];
|
|
message.Version = 0;
|
|
message.CreationDate = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExecutionflowStatusStruct>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowStatusStruct): ExecutionflowStatusStruct {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ExecutionflowStatus Current */ 1:
|
|
message.Current = ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options, message.Current);
|
|
break;
|
|
case /* repeated api.ExecutionflowStatus History */ 2:
|
|
message.History.push(ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* uint32 Version */ 3:
|
|
message.Version = reader.uint32();
|
|
break;
|
|
case /* string CreationDate */ 4:
|
|
message.CreationDate = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExecutionflowStatusStruct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ExecutionflowStatus Current = 1; */
|
|
if (message.Current)
|
|
ExecutionflowStatus.internalBinaryWrite(message.Current, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.ExecutionflowStatus History = 2; */
|
|
for (let i = 0; i < message.History.length; i++)
|
|
ExecutionflowStatus.internalBinaryWrite(message.History[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* uint32 Version = 3; */
|
|
if (message.Version !== 0)
|
|
writer.tag(3, WireType.Varint).uint32(message.Version);
|
|
/* string CreationDate = 4; */
|
|
if (message.CreationDate !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.CreationDate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ExecutionflowStatusStruct
|
|
*/
|
|
export const ExecutionflowStatusStruct = new ExecutionflowStatusStruct$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
|
constructor() {
|
|
super("api.ExecutionflowSummary", [
|
|
{ no: 1, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
|
{ no: 2, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ExecutionflowStatus },
|
|
{ no: 7, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the executionflow from" } } },
|
|
{ no: 8, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the executionflow to" } } },
|
|
{ no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the executionflow carrier" } } },
|
|
{ no: 18, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow attachments per type" } } },
|
|
{ no: 19, 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 executionflow attachments" } } },
|
|
{ no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow claims per type" } } },
|
|
{ no: 21, 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 executionflow claims" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowID"] } } });
|
|
}
|
|
create(value?: PartialMessage<ExecutionflowSummary>): ExecutionflowSummary {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ExecutionflowID = "";
|
|
message.Attachments = [];
|
|
message.AttachmentNumber = 0;
|
|
message.Claims = [];
|
|
message.ClaimNumber = 0;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExecutionflowSummary>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowSummary): ExecutionflowSummary {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ExecutionflowID */ 1:
|
|
message.ExecutionflowID = reader.string();
|
|
break;
|
|
case /* api.ExecutionflowStatus Status */ 2:
|
|
message.Status = ExecutionflowStatus.internalBinaryRead(reader, reader.uint32(), options, message.Status);
|
|
break;
|
|
case /* api.TradeTier ShipFrom */ 7:
|
|
message.ShipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipFrom);
|
|
break;
|
|
case /* api.TradeTier ShipTo */ 8:
|
|
message.ShipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipTo);
|
|
break;
|
|
case /* api.TradeTier Carrier */ 6:
|
|
message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier);
|
|
break;
|
|
case /* repeated api.AttachmentSummary Attachments */ 18:
|
|
message.Attachments.push(AttachmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* int32 AttachmentNumber */ 19:
|
|
message.AttachmentNumber = reader.int32();
|
|
break;
|
|
case /* repeated api.ClaimSummary Claims */ 20:
|
|
message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* int32 ClaimNumber */ 21:
|
|
message.ClaimNumber = reader.int32();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExecutionflowSummary, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ExecutionflowID = 1; */
|
|
if (message.ExecutionflowID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ExecutionflowID);
|
|
/* api.ExecutionflowStatus Status = 2; */
|
|
if (message.Status)
|
|
ExecutionflowStatus.internalBinaryWrite(message.Status, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.TradeTier Carrier = 6; */
|
|
if (message.Carrier)
|
|
TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.TradeTier ShipFrom = 7; */
|
|
if (message.ShipFrom)
|
|
TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.TradeTier ShipTo = 8; */
|
|
if (message.ShipTo)
|
|
TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.AttachmentSummary Attachments = 18; */
|
|
for (let i = 0; i < message.Attachments.length; i++)
|
|
AttachmentSummary.internalBinaryWrite(message.Attachments[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
|
/* int32 AttachmentNumber = 19; */
|
|
if (message.AttachmentNumber !== 0)
|
|
writer.tag(19, WireType.Varint).int32(message.AttachmentNumber);
|
|
/* repeated api.ClaimSummary Claims = 20; */
|
|
for (let i = 0; i < message.Claims.length; i++)
|
|
ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
|
/* int32 ClaimNumber = 21; */
|
|
if (message.ClaimNumber !== 0)
|
|
writer.tag(21, WireType.Varint).int32(message.ClaimNumber);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ExecutionflowSummary
|
|
*/
|
|
export const ExecutionflowSummary = new ExecutionflowSummary$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExecutionGraph$Type extends MessageType<ExecutionGraph> {
|
|
constructor() {
|
|
super("api.ExecutionGraph", [
|
|
{ no: 1, name: "ParcelIDs", kind: "scalar", localName: "ParcelIDs", jsonName: "ParcelIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExecutionGraph>): ExecutionGraph {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ParcelIDs = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExecutionGraph>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionGraph): ExecutionGraph {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated string ParcelIDs */ 1:
|
|
message.ParcelIDs.push(reader.string());
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExecutionGraph, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated string ParcelIDs = 1; */
|
|
for (let i = 0; i < message.ParcelIDs.length; i++)
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ParcelIDs[i]);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ExecutionGraph
|
|
*/
|
|
export const ExecutionGraph = new ExecutionGraph$Type();
|