You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1263,7 +1263,7 @@ class ItemStatusStruct$Type extends MessageType<ItemStatusStruct> {
|
||||
constructor() {
|
||||
super("api.ItemStatusStruct", [
|
||||
{ no: 1, name: "Current", kind: "message", localName: "Current", jsonName: "Current", T: () => ItemStatus, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ItemStatus, options: { "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of all status history of the Item entity" } } },
|
||||
{ no: 2, name: "History", kind: "message", localName: "History", jsonName: "History", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ItemStatus, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of all status history of the Item entity" }, "api.aggKey": "Date", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] } } },
|
||||
{ no: 3, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } } } },
|
||||
{ no: 4, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }
|
||||
]);
|
||||
@@ -1456,7 +1456,7 @@ export const FamilyStatusStruct = new FamilyStatusStruct$Type();
|
||||
class ExpiryConstraint$Type extends MessageType<ExpiryConstraint> {
|
||||
constructor() {
|
||||
super("api.ExpiryConstraint", [
|
||||
{ no: 1, name: "WillExpire", kind: "scalar", localName: "WillExpire", jsonName: "WillExpire", T: 8 /*ScalarType.BOOL*/, options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Order", Group: "order", Queryable: true }] }, "validate.rules": { bool: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 1, name: "WillExpire", kind: "scalar", localName: "WillExpire", jsonName: "WillExpire", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { bool: { unauthorized: true } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,Bool)" }, { Context: "Order", Group: "order", Queryable: true }] } } },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ExpiryConstraintType", ExpiryConstraintType], options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Order,Item", "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast, String)" }, { Context: "Order", Group: "order", Queryable: true }] } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Item components" } } });
|
||||
}
|
||||
@@ -1514,7 +1514,7 @@ class TradeItemDescriptions$Type extends MessageType<TradeItemDescriptions> {
|
||||
{ no: 1, name: "ShortDescription", kind: "scalar", localName: "ShortDescription", jsonName: "ShortDescription", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Blue balloon\"" } } },
|
||||
{ no: 2, name: "LongDescription", kind: "scalar", localName: "LongDescription", jsonName: "LongDescription", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Outdoor blue balloon for kids\"" } } },
|
||||
{ no: 3, name: "TechnicalDetails", kind: "scalar", localName: "TechnicalDetails", jsonName: "TechnicalDetails", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Made in France, suitable for kids above 3 years old\"" } } },
|
||||
{ no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "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\"" } } }
|
||||
{ no: 4, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "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\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<TradeItemDescriptions>): TradeItemDescriptions {
|
||||
@@ -1582,23 +1582,23 @@ export const TradeItemDescriptions = new TradeItemDescriptions$Type();
|
||||
class LogisticVariant$Type extends MessageType<LogisticVariant> {
|
||||
constructor() {
|
||||
super("api.LogisticVariant", [
|
||||
{ no: 13, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Executionflow,Order,Item", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" } } },
|
||||
{ no: 15, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Pallet of 100 pieces\"" } } },
|
||||
{ no: 13, name: "LVID", kind: "scalar", localName: "LVID", jsonName: "LVID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Logistical variant ID", example: "\"30\"" }, "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Executionflow,Order,Item", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Item", Group: "item", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 15, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Pallet of 100 pieces\"" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Codes", kind: "message", localName: "Codes", jsonName: "Codes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OtherID, options: { "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.metadata": true, "api.aggKey": "Key", "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.parentEntity": "Item", "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)" } } },
|
||||
{ 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: "Movement", Group: "movement" }, { Context: "Order", Group: "order" }, { Context: "Item", Group: "item" }] }, "api.parentEntity": "Item" } },
|
||||
{ no: 4, name: "IsBaseLogisticVariant", kind: "scalar", localName: "IsBaseLogisticVariant", jsonName: "IsBaseLogisticVariant", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"true / false\"" } } },
|
||||
{ no: 5, name: "RefLV", kind: "scalar", localName: "RefLV", jsonName: "RefLV", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the LV in which the quantity is given", example: "\"10\"" } } },
|
||||
{ no: 19, name: "RefLVName", kind: "scalar", localName: "RefLVName", jsonName: "RefLVName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 19, name: "RefLVName", kind: "scalar", localName: "RefLVName", jsonName: "RefLVName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { string: { unauthorized: true } } } },
|
||||
{ no: 6, name: "QuantityInRefLV", kind: "scalar", localName: "QuantityInRefLV", jsonName: "QuantityInRefLV", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "5" } } },
|
||||
{ no: 8, name: "Volume", kind: "message", localName: "Volume", jsonName: "Volume", T: () => QuantityVolume, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 9, name: "Area", kind: "message", localName: "Area", jsonName: "Area", T: () => QuantityArea, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 10, name: "Height", kind: "message", localName: "Height", jsonName: "Height", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 11, name: "Width", kind: "message", localName: "Width", jsonName: "Width", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 12, name: "Length", kind: "message", localName: "Length", jsonName: "Length", T: () => QuantityLength, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 14, name: "QuantityInBaseLV", kind: "scalar", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: 2 /*ScalarType.FLOAT*/, options: { "validate.rules": { float: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 14, name: "QuantityInBaseLV", kind: "scalar", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "validate.rules": { float: { unauthorized: true } } } },
|
||||
{ no: 16, name: "NetWeight", kind: "message", localName: "NetWeight", jsonName: "NetWeight", T: () => QuantityWeight, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 17, name: "GrossWeight", kind: "message", localName: "GrossWeight", jsonName: "GrossWeight", T: () => QuantityWeight, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Order", Group: "order" }] } } },
|
||||
{ no: 18, name: "BranchIDs", kind: "scalar", localName: "BranchIDs", jsonName: "BranchIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"[30,31]\"" } } }
|
||||
{ no: 18, name: "BranchIDs", kind: "scalar", localName: "BranchIDs", jsonName: "BranchIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"[30,31]\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["LVID", "Name"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<LogisticVariant>): LogisticVariant {
|
||||
@@ -1750,7 +1750,7 @@ export const LogisticVariant = new LogisticVariant$Type();
|
||||
class OtherID$Type extends MessageType<OtherID> {
|
||||
constructor() {
|
||||
super("api.OtherID", [
|
||||
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"EAN13\"" } } },
|
||||
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"EAN13\"" }, "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"3050520032023\"" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Key"] } } });
|
||||
}
|
||||
@@ -1948,7 +1948,7 @@ class Address$Type extends MessageType<Address> {
|
||||
constructor() {
|
||||
super("api.Address", [
|
||||
{ no: 1, name: "City", kind: "scalar", localName: "City", jsonName: "City", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }] } } },
|
||||
{ no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "validate.rules": { string: { countryCodeIso3166: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in <a href='https://en.wikipedia.org/wiki/ISO_3166-1'>ISO_3166-1</a> format", example: "\"FR\"" } } },
|
||||
{ no: 2, name: "CountryCode", kind: "scalar", localName: "CountryCode", jsonName: "CountryCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Country Code in <a href='https://en.wikipedia.org/wiki/ISO_3166-1'>ISO_3166-1</a> format", example: "\"FR\"" }, "validate.rules": { string: { countryCodeIso3166: true } }, "api.dataRestrictionKey": "Movement,Stock,Executionflow,Handlingunit,Order,Actor,Partner,Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
||||
{ no: 3, name: "GeographicalCoordinates", kind: "message", localName: "GeographicalCoordinates", jsonName: "GeographicalCoordinates", T: () => GeographicalCoordinates },
|
||||
{ no: 4, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "POBoxNumber", kind: "scalar", localName: "POBoxNumber", jsonName: "POBoxNumber", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }] } } },
|
||||
@@ -2194,8 +2194,8 @@ class Interlocutor$Type extends MessageType<Interlocutor> {
|
||||
super("api.Interlocutor", [
|
||||
{ no: 1, name: "FirstName", kind: "scalar", localName: "FirstName", jsonName: "FirstName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"John\"" } } },
|
||||
{ no: 2, name: "LastName", kind: "scalar", localName: "LastName", jsonName: "LastName", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"Doe\"" } } },
|
||||
{ no: 3, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"john.doe@reflex.com\",\"john.doe.bis@reflex.com\"]" } } },
|
||||
{ no: 4, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"07 00 00 00 00\",\"+33 4 00 00 00 00\"]" } } }
|
||||
{ no: 3, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"john.doe@reflex.com\",\"john.doe.bis@reflex.com\"]" }, "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } },
|
||||
{ no: 4, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"07 00 00 00 00\",\"+33 4 00 00 00 00\"]" }, "api.kpiExclude": { Items: [{ Context: "Stock", Group: "stock" }, { Context: "Stock", Group: "stock_extended" }, { Context: "Executionflow", Group: "executionflow" }, { Context: "Handlingunit", Group: "handlingunit" }, { Context: "Order", Group: "order" }, { Context: "Actor", Group: "actor" }, { Context: "Partner", Group: "partner" }, { Context: "Tracking", Group: "tracking" }] } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Interlocutor>): Interlocutor {
|
||||
@@ -2318,9 +2318,9 @@ export const GeographicalCoordinates = new GeographicalCoordinates$Type();
|
||||
class ActorSnapshot$Type extends MessageType<ActorSnapshot> {
|
||||
constructor() {
|
||||
super("api.ActorSnapshot", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be unique ID" } } },
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be unique ID" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 3, name: "EndDateTime", kind: "message", localName: "EndDateTime", jsonName: "EndDateTime", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 4, name: "MessageNb", kind: "scalar", localName: "MessageNb", jsonName: "MessageNb", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gt: 0 } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { minimum: 1 } } }
|
||||
{ no: 4, name: "MessageNb", kind: "scalar", localName: "MessageNb", jsonName: "MessageNb", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { minimum: 1 }, "validate.rules": { int32: { gt: 0 } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID", "EndDateTime", "MessageNb"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ActorSnapshot>): ActorSnapshot {
|
||||
@@ -2380,7 +2380,7 @@ export const ActorSnapshot = new ActorSnapshot$Type();
|
||||
class CarrierService$Type extends MessageType<CarrierService> {
|
||||
constructor() {
|
||||
super("api.CarrierService", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unique ID", example: "\"24h\"" } } },
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Unique ID", example: "\"24h\"" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"24 hour delivery\"" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user