You've already forked npm-core-sdk
Latest generation
This commit is contained in:
2
order.ts
2
order.ts
@@ -248,7 +248,7 @@ class OrderPayload$Type extends MessageType<OrderPayload> {
|
|||||||
{ no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime, options: { "api.aggSkip": "ExecutionflowDetected" } },
|
{ 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: 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: { "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: 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.aggAppend": "MetaDataUpdated,ExecutionflowDetected" } },
|
{ 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: 5, name: "Buyer", kind: "message", localName: "Buyer", jsonName: "Buyer", T: () => TradeTier },
|
||||||
{ no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier },
|
{ no: 6, name: "Seller", kind: "message", localName: "Seller", jsonName: "Seller", T: () => TradeTier },
|
||||||
{ 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 order from" }, "api.aggSkip": "ExecutionflowDetected" } },
|
{ 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 order from" }, "api.aggSkip": "ExecutionflowDetected" } },
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260303084649",
|
"version": "1.13.0-SNAPSHOT-260303095402",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
14
shared.ts
14
shared.ts
@@ -2004,6 +2004,10 @@ export interface EntityDefinition {
|
|||||||
* @generated from protobuf field: repeated string DashboardViewsAnalysis = 9
|
* @generated from protobuf field: repeated string DashboardViewsAnalysis = 9
|
||||||
*/
|
*/
|
||||||
DashboardViewsAnalysis: string[];
|
DashboardViewsAnalysis: string[];
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool HasSegmentationKeys = 10
|
||||||
|
*/
|
||||||
|
HasSegmentationKeys: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.CrossFindQuery
|
* @generated from protobuf message api.CrossFindQuery
|
||||||
@@ -8464,7 +8468,8 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
|
|||||||
{ no: 6, name: "IsIndexed", kind: "scalar", localName: "IsIndexed", jsonName: "IsIndexed", T: 8 /*ScalarType.BOOL*/ },
|
{ no: 6, name: "IsIndexed", kind: "scalar", localName: "IsIndexed", jsonName: "IsIndexed", T: 8 /*ScalarType.BOOL*/ },
|
||||||
{ no: 7, name: "KpiGroups", kind: "scalar", localName: "KpiGroups", jsonName: "KpiGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
{ no: 7, name: "KpiGroups", kind: "scalar", localName: "KpiGroups", jsonName: "KpiGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 8, name: "ModelVersion", kind: "scalar", localName: "ModelVersion", jsonName: "ModelVersion", T: 13 /*ScalarType.UINT32*/ },
|
{ no: 8, name: "ModelVersion", kind: "scalar", localName: "ModelVersion", jsonName: "ModelVersion", T: 13 /*ScalarType.UINT32*/ },
|
||||||
{ no: 9, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
{ no: 9, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 10, name: "HasSegmentationKeys", kind: "scalar", localName: "HasSegmentationKeys", jsonName: "HasSegmentationKeys", T: 8 /*ScalarType.BOOL*/ }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<EntityDefinition>): EntityDefinition {
|
create(value?: PartialMessage<EntityDefinition>): EntityDefinition {
|
||||||
@@ -8478,6 +8483,7 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
|
|||||||
message.KpiGroups = [];
|
message.KpiGroups = [];
|
||||||
message.ModelVersion = 0;
|
message.ModelVersion = 0;
|
||||||
message.DashboardViewsAnalysis = [];
|
message.DashboardViewsAnalysis = [];
|
||||||
|
message.HasSegmentationKeys = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<EntityDefinition>(this, message, value);
|
reflectionMergePartial<EntityDefinition>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -8518,6 +8524,9 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
|
|||||||
case /* repeated string DashboardViewsAnalysis */ 9:
|
case /* repeated string DashboardViewsAnalysis */ 9:
|
||||||
message.DashboardViewsAnalysis.push(reader.string());
|
message.DashboardViewsAnalysis.push(reader.string());
|
||||||
break;
|
break;
|
||||||
|
case /* bool HasSegmentationKeys */ 10:
|
||||||
|
message.HasSegmentationKeys = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -8561,6 +8570,9 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
|
|||||||
/* repeated string DashboardViewsAnalysis = 9; */
|
/* repeated string DashboardViewsAnalysis = 9; */
|
||||||
for (let i = 0; i < message.DashboardViewsAnalysis.length; i++)
|
for (let i = 0; i < message.DashboardViewsAnalysis.length; i++)
|
||||||
writer.tag(9, WireType.LengthDelimited).string(message.DashboardViewsAnalysis[i]);
|
writer.tag(9, WireType.LengthDelimited).string(message.DashboardViewsAnalysis[i]);
|
||||||
|
/* bool HasSegmentationKeys = 10; */
|
||||||
|
if (message.HasSegmentationKeys !== false)
|
||||||
|
writer.tag(10, WireType.Varint).bool(message.HasSegmentationKeys);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -723,7 +723,7 @@ class OrderLine$Type extends MessageType<OrderLine> {
|
|||||||
super("api.OrderLine", [
|
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: 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: 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: 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" }] }, "api.parentEntity": "Order" } },
|
||||||
{ no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
{ no: 4, name: "RequestedMetrics", kind: "message", localName: "RequestedMetrics", jsonName: "RequestedMetrics", T: () => GoodsMetrics, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user