You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -317,18 +317,6 @@ export interface GetKPIDataSimpleJSONQuery {
|
||||
* @generated from protobuf field: string KpiGroupName = 8
|
||||
*/
|
||||
KpiGroupName: string;
|
||||
/**
|
||||
* DateRangeStart / DateRangeEnd are the Grafana time-picker range (ISO 8601).
|
||||
* When set, they are applied as StartDate/EndDate on every date-type filter
|
||||
* dimension that does not already define explicit date bounds.
|
||||
*
|
||||
* @generated from protobuf field: string DateRangeStart = 9
|
||||
*/
|
||||
DateRangeStart: string;
|
||||
/**
|
||||
* @generated from protobuf field: string DateRangeEnd = 10
|
||||
*/
|
||||
DateRangeEnd: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.SimpleJSONDimension
|
||||
@@ -357,9 +345,9 @@ export interface SimpleJSONMetric {
|
||||
*/
|
||||
export interface SimpleJSONFilter {
|
||||
/**
|
||||
* @generated from protobuf field: string DimensionName = 1
|
||||
* @generated from protobuf field: string Name = 1
|
||||
*/
|
||||
DimensionName: string;
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.KPIFilterOperator Operator = 3
|
||||
*/
|
||||
@@ -1515,9 +1503,7 @@ class GetKPIDataSimpleJSONQuery$Type extends MessageType<GetKPIDataSimpleJSONQue
|
||||
{ no: 5, name: "Dimensions", kind: "message", localName: "Dimensions", jsonName: "Dimensions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleJSONDimension },
|
||||
{ no: 6, name: "Metrics", kind: "message", localName: "Metrics", jsonName: "Metrics", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SimpleJSONMetric },
|
||||
{ no: 7, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 8, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 9, name: "DateRangeStart", kind: "scalar", localName: "DateRangeStart", jsonName: "DateRangeStart", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "DateRangeEnd", kind: "scalar", localName: "DateRangeEnd", jsonName: "DateRangeEnd", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 8, name: "KpiGroupName", kind: "scalar", localName: "KpiGroupName", jsonName: "KpiGroupName", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetKPIDataSimpleJSONQuery>): GetKPIDataSimpleJSONQuery {
|
||||
@@ -1527,8 +1513,6 @@ class GetKPIDataSimpleJSONQuery$Type extends MessageType<GetKPIDataSimpleJSONQue
|
||||
message.Metrics = [];
|
||||
message.TargetTimeZone = "";
|
||||
message.KpiGroupName = "";
|
||||
message.DateRangeStart = "";
|
||||
message.DateRangeEnd = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetKPIDataSimpleJSONQuery>(this, message, value);
|
||||
return message;
|
||||
@@ -1556,12 +1540,6 @@ class GetKPIDataSimpleJSONQuery$Type extends MessageType<GetKPIDataSimpleJSONQue
|
||||
case /* string KpiGroupName */ 8:
|
||||
message.KpiGroupName = reader.string();
|
||||
break;
|
||||
case /* string DateRangeStart */ 9:
|
||||
message.DateRangeStart = reader.string();
|
||||
break;
|
||||
case /* string DateRangeEnd */ 10:
|
||||
message.DateRangeEnd = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1592,12 +1570,6 @@ class GetKPIDataSimpleJSONQuery$Type extends MessageType<GetKPIDataSimpleJSONQue
|
||||
/* string KpiGroupName = 8; */
|
||||
if (message.KpiGroupName !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.KpiGroupName);
|
||||
/* string DateRangeStart = 9; */
|
||||
if (message.DateRangeStart !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.DateRangeStart);
|
||||
/* string DateRangeEnd = 10; */
|
||||
if (message.DateRangeEnd !== "")
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.DateRangeEnd);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1714,7 +1686,7 @@ export const SimpleJSONMetric = new SimpleJSONMetric$Type();
|
||||
class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
||||
constructor() {
|
||||
super("api.SimpleJSONFilter", [
|
||||
{ no: 1, name: "DimensionName", kind: "scalar", localName: "DimensionName", jsonName: "DimensionName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Operator", kind: "enum", localName: "Operator", jsonName: "Operator", T: () => ["api.KPIFilterOperator", KPIFilterOperator], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"KPI_FILTER_OPERATOR_EQUAL\", \"KPI_FILTER_OPERATOR_DIFF\", \"KPI_FILTER_OPERATOR_START_BY\", \"KPI_FILTER_OPERATOR_NOT_START_BY\", \"KPI_FILTER_OPERATOR_FINISH_BY\", \"KPI_FILTER_OPERATOR_NOT_FINISH_BY\", \"KPI_FILTER_OPERATOR_CONTAINS\", \"KPI_FILTER_OPERATOR_NOT_CONTAINS\", \"KPI_FILTER_OPERATOR_IN_LIST\", \"KPI_FILTER_OPERATOR_NOT_IN_LIST\"" } } },
|
||||
{ no: 4, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "StartDate", kind: "message", localName: "StartDate", jsonName: "StartDate", T: () => StringDateObject },
|
||||
@@ -1724,7 +1696,7 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
||||
}
|
||||
create(value?: PartialMessage<SimpleJSONFilter>): SimpleJSONFilter {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.DimensionName = "";
|
||||
message.Name = "";
|
||||
message.Operator = 0;
|
||||
message.Values = [];
|
||||
if (value !== undefined)
|
||||
@@ -1736,8 +1708,8 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string DimensionName */ 1:
|
||||
message.DimensionName = reader.string();
|
||||
case /* string Name */ 1:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* api.KPIFilterOperator Operator */ 3:
|
||||
message.Operator = reader.int32();
|
||||
@@ -1766,9 +1738,9 @@ class SimpleJSONFilter$Type extends MessageType<SimpleJSONFilter> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: SimpleJSONFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string DimensionName = 1; */
|
||||
if (message.DimensionName !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.DimensionName);
|
||||
/* string Name = 1; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
||||
/* api.KPIFilterOperator Operator = 3; */
|
||||
if (message.Operator !== 0)
|
||||
writer.tag(3, WireType.Varint).int32(message.Operator);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.15.0-SNAPSHOT-260910095612",
|
||||
"version": "1.15.0-SNAPSHOT-260910112442",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user