You've already forked npm-core-sdk
Latest generation
This commit is contained in:
6
order.ts
6
order.ts
@@ -251,7 +251,7 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
|
||||
super("api.OrderPayload", [
|
||||
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "api.aggSkip": "ExecutionflowDetected" } },
|
||||
{ no: 2, name: "ParentOrder", kind: "message", localName: "ParentOrder", jsonName: "ParentOrder", T: () => ReferencedID },
|
||||
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
||||
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
||||
{ no: 4, 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: "Order", Group: "order" }] }, "api.parentEntity": "Order", "api.aggAppend": "MetaDataUpdated,ExecutionflowDetected" } },
|
||||
{ no: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier },
|
||||
{ no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier },
|
||||
@@ -264,13 +264,13 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
|
||||
{ no: 12, name: "EstimatedTimeArrival", kind: "message", localName: "EstimatedTimeArrival", jsonName: "EstimatedTimeArrival", T: () => ETA, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated from 1.7 : Estimated time of arrival, use OrderETA" } } },
|
||||
{ no: 13, name: "ActualCompletionDateTime", kind: "message", localName: "ActualCompletionDateTime", jsonName: "ActualCompletionDateTime", T: () => DateTime },
|
||||
{ no: 14, name: "ExecutionflowSummary", kind: "message", localName: "ExecutionflowSummary", jsonName: "ExecutionflowSummary", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionflowSummary, options: { "api.aggKey": "ExecutionflowID", "api.aggAppend": "ExecutionflowUpdated,ExecutionflowDetected" } },
|
||||
{ no: 17, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => OrderStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 17, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => OrderStatusStruct, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ 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 attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
|
||||
{ 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 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 claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } },
|
||||
{ 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 claims" } } },
|
||||
{ no: 22, name: "ExecutionflowETAs", kind: "message", localName: "ExecutionflowETAs", jsonName: "ExecutionflowETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyExecutionflow, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for each executionflow attached to the order" }, "api.aggKey": "ExecutionflowID", "api.aggSkip": "ExecutionflowETAUpdated" } },
|
||||
{ no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "api.aggSkip": "ETAUpdated" } },
|
||||
{ no: 23, name: "OrderETA", kind: "message", localName: "OrderETA", jsonName: "OrderETA", T: () => ETA, options: { "n1validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ETA for the order, computed from ETA of the execitionFlows" }, "api.aggSkip": "ETAUpdated" } },
|
||||
{ no: 24, name: "Anticipated", kind: "scalar", localName: "Anticipated", jsonName: "Anticipated", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Anticipated orders are not automatically associated to an executionflow" } } }
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user