You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "clickhouse.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
||||
@@ -555,7 +555,7 @@ class CHDimension$Type extends MessageType<CHDimension> {
|
||||
{ no: 9, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "StartDate", kind: "message", localName: "StartDate", jsonName: "StartDate", T: () => StringDateObject },
|
||||
{ no: 11, name: "EndDate", kind: "message", localName: "EndDate", jsonName: "EndDate", T: () => StringDateObject },
|
||||
{ no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHQueryExpression },
|
||||
{ no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHQueryExpression },
|
||||
{ no: 13, name: "IsComputed", kind: "scalar", localName: "IsComputed", jsonName: "IsComputed", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 14, name: "Or", kind: "message", localName: "Or", jsonName: "Or", T: () => CHDimension }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name", "Level", "DataType", "ContentType"] } } });
|
||||
@@ -768,7 +768,7 @@ class CHMetric$Type extends MessageType<CHMetric> {
|
||||
{ no: 4, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"count\"" } } },
|
||||
{ no: 5, name: "ContentType", kind: "scalar", localName: "ContentType", jsonName: "ContentType", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"int\"" } } },
|
||||
{ no: 6, name: "EnumValues", kind: "scalar", localName: "EnumValues", jsonName: "EnumValues", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHQueryExpression },
|
||||
{ no: 12, name: "Expressions", kind: "message", localName: "Expressions", jsonName: "Expressions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHQueryExpression },
|
||||
{ no: 13, name: "IsComputed", kind: "scalar", localName: "IsComputed", jsonName: "IsComputed", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name", "Level", "DataType", "ContentType"] } } });
|
||||
}
|
||||
@@ -858,7 +858,7 @@ export const CHMetric = new CHMetric$Type();
|
||||
class CHFilter$Type extends MessageType<CHFilter> {
|
||||
constructor() {
|
||||
super("api.CHFilter", [
|
||||
{ no: 1, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHDimension }
|
||||
{ no: 1, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CHFilter>): CHFilter {
|
||||
@@ -964,8 +964,8 @@ class GetKPIDataQuery$Type extends MessageType<GetKPIDataQuery> {
|
||||
{ no: 2, name: "ChartType", kind: "enum", localName: "ChartType", jsonName: "ChartType", T: () => ["api.CHChartType", CHChartType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "QueryType", kind: "enum", localName: "QueryType", jsonName: "QueryType", T: () => ["api.CHQueryType", CHQueryType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "QueryBlock", kind: "scalar", localName: "QueryBlock", jsonName: "QueryBlock", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHDimension },
|
||||
{ no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 1 /*RepeatType.PACKED*/, T: () => CHMetric },
|
||||
{ no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension },
|
||||
{ no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric },
|
||||
{ no: 7, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter },
|
||||
{ no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 9, name: "ResultFormat", kind: "enum", localName: "ResultFormat", jsonName: "ResultFormat", T: () => ["api.KpiDataResultFormat", KpiDataResultFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Result format selection", example: "\"KPIDATA_RESULT_FORMAT_SERIES\"" } } },
|
||||
@@ -1081,8 +1081,8 @@ class GetKPIDataForUserQuery$Type extends MessageType<GetKPIDataForUserQuery> {
|
||||
{ no: 2, name: "ChartType", kind: "enum", localName: "ChartType", jsonName: "ChartType", T: () => ["api.CHChartType", CHChartType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "QueryType", kind: "enum", localName: "QueryType", jsonName: "QueryType", T: () => ["api.CHQueryType", CHQueryType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "QueryBlock", kind: "scalar", localName: "QueryBlock", jsonName: "QueryBlock", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHDimension },
|
||||
{ no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 1 /*RepeatType.PACKED*/, T: () => CHMetric },
|
||||
{ no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension },
|
||||
{ no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric },
|
||||
{ no: 7, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter },
|
||||
{ no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 9, name: "ResultFormat", kind: "enum", localName: "ResultFormat", jsonName: "ResultFormat", T: () => ["api.KpiDataResultFormat", KpiDataResultFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Result format selection", example: "\"KPIDATA_RESULT_FORMAT_SERIES\"" } } },
|
||||
@@ -1220,7 +1220,7 @@ class GetKPIDataResult$Type extends MessageType<GetKPIDataResult> {
|
||||
constructor() {
|
||||
super("api.GetKPIDataResult", [
|
||||
{ no: 1, name: "Results", kind: "scalar", localName: "Results", jsonName: "Results", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Raw result format" } } },
|
||||
{ no: 2, name: "Series", kind: "message", localName: "Series", jsonName: "Series", repeat: 1 /*RepeatType.PACKED*/, T: () => KpiDataSerie, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Json series formatted result format", example: "{\"Series\": [{\"Name\": \"Name\", \"Values\": [\"A\", \"B\", \"C\"]}, {\"Name\": \"Quantity\", \"Values\": [\"12\", \"99\", \"74\"]}, {\"Name\": \"Volume\", \"Values\": [\"34\", \"23\", \"65\"]}]}" } } }
|
||||
{ no: 2, name: "Series", kind: "message", localName: "Series", jsonName: "Series", repeat: 2 /*RepeatType.UNPACKED*/, T: () => KpiDataSerie, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Json series formatted result format", example: "{\"Series\": [{\"Name\": \"Name\", \"Values\": [\"A\", \"B\", \"C\"]}, {\"Name\": \"Quantity\", \"Values\": [\"12\", \"99\", \"74\"]}, {\"Name\": \"Volume\", \"Values\": [\"34\", \"23\", \"65\"]}]}" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetKPIDataResult>): GetKPIDataResult {
|
||||
@@ -1275,7 +1275,7 @@ class EntityBlockFilter$Type extends MessageType<EntityBlockFilter> {
|
||||
constructor() {
|
||||
super("api.EntityBlockFilter", [
|
||||
{ no: 1, name: "EntityName", kind: "scalar", localName: "EntityName", jsonName: "EntityName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter }
|
||||
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<EntityBlockFilter>): EntityBlockFilter {
|
||||
@@ -1332,10 +1332,10 @@ class FindKPIDataQuery$Type extends MessageType<FindKPIDataQuery> {
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "QueryType", kind: "enum", localName: "QueryType", jsonName: "QueryType", T: () => ["api.CHQueryType", CHQueryType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "QueryBlock", kind: "scalar", localName: "QueryBlock", jsonName: "QueryBlock", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "EntityBlockFilters", kind: "message", localName: "EntityBlockFilters", jsonName: "EntityBlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => EntityBlockFilter },
|
||||
{ no: 4, name: "EntityBlockFilters", kind: "message", localName: "EntityBlockFilters", jsonName: "EntityBlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityBlockFilter },
|
||||
{ no: 5, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter },
|
||||
{ no: 6, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHDimension },
|
||||
{ no: 7, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 1 /*RepeatType.PACKED*/, T: () => CHMetric },
|
||||
{ no: 6, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension },
|
||||
{ no: 7, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric },
|
||||
{ no: 8, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 9, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ChartType", "QueryType", "QueryBlock", "Metrics", "KpiGroupName"] } } });
|
||||
@@ -1438,7 +1438,7 @@ export const FindKPIDataQuery = new FindKPIDataQuery$Type();
|
||||
class FindKPIDataResult$Type extends MessageType<FindKPIDataResult> {
|
||||
constructor() {
|
||||
super("api.FindKPIDataResult", [
|
||||
{ no: 1, name: "Series", kind: "message", localName: "Series", jsonName: "Series", repeat: 1 /*RepeatType.PACKED*/, T: () => KpiDataSerie, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Json series formatted result format", example: "{\"Series\": [{\"Name\": \"Name\", \"Values\": [\"A\", \"B\", \"C\"]}, {\"Name\": \"Quantity\", \"Values\": [\"12\", \"99\", \"74\"]}, {\"Name\": \"Volume\", \"Values\": [\"34\", \"23\", \"65\"]}]}" } } }
|
||||
{ no: 1, name: "Series", kind: "message", localName: "Series", jsonName: "Series", repeat: 2 /*RepeatType.UNPACKED*/, T: () => KpiDataSerie, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Json series formatted result format", example: "{\"Series\": [{\"Name\": \"Name\", \"Values\": [\"A\", \"B\", \"C\"]}, {\"Name\": \"Quantity\", \"Values\": [\"12\", \"99\", \"74\"]}, {\"Name\": \"Volume\", \"Values\": [\"34\", \"23\", \"65\"]}]}" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<FindKPIDataResult>): FindKPIDataResult {
|
||||
@@ -1489,10 +1489,10 @@ class ExtractKPIQuery$Type extends MessageType<ExtractKPIQuery> {
|
||||
{ no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "QueryType", kind: "enum", localName: "QueryType", jsonName: "QueryType", T: () => ["api.CHQueryType", CHQueryType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "QueryBlock", kind: "scalar", localName: "QueryBlock", jsonName: "QueryBlock", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "EntityBlockFilters", kind: "message", localName: "EntityBlockFilters", jsonName: "EntityBlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => EntityBlockFilter },
|
||||
{ no: 5, name: "EntityBlockFilters", kind: "message", localName: "EntityBlockFilters", jsonName: "EntityBlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityBlockFilter },
|
||||
{ no: 6, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => CHFilter },
|
||||
{ no: 7, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 1 /*RepeatType.PACKED*/, T: () => CHDimension },
|
||||
{ no: 8, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 1 /*RepeatType.PACKED*/, T: () => CHMetric },
|
||||
{ no: 7, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHDimension },
|
||||
{ no: 8, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CHMetric },
|
||||
{ no: 9, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 10, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["executionflow", "stock", "movement", "handlingunit", "actor", "item", "stock_extended", "claim"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the analysis criterion to find the kpi data from", example: "\"stock_extended\"" } } },
|
||||
{ no: 11, name: "TargetDomain", kind: "scalar", localName: "TargetDomain", jsonName: "TargetDomain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
|
||||
Reference in New Issue
Block a user