From e6dd1da4a34385503a92fae358441d697ff6bc70 Mon Sep 17 00:00:00 2001 From: ci core model Date: Fri, 11 Sep 2026 14:30:35 +0000 Subject: [PATCH] Latest generation --- clickhouse.ts | 34 ++++++++++++++++++---------------- package.json | 2 +- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/clickhouse.ts b/clickhouse.ts index dc2c5e9..eb3adbd 100644 --- a/clickhouse.ts +++ b/clickhouse.ts @@ -357,13 +357,13 @@ export interface SimpleJSONFilter { */ Values: string[]; /** - * @generated from protobuf field: api.StringDateObject StartDate = 5 + * @generated from protobuf field: string StartDateTime = 5 */ - StartDate?: StringDateObject; + StartDateTime: string; /** - * @generated from protobuf field: api.StringDateObject EndDate = 6 + * @generated from protobuf field: string EndDateTime = 6 */ - EndDate?: StringDateObject; + EndDateTime: string; /** * @generated from protobuf field: api.SimpleJSONFilter Or = 7 */ @@ -1689,8 +1689,8 @@ class SimpleJSONFilter$Type extends MessageType { { 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 }, - { no: 6, name: "EndDate", kind: "message", localName: "EndDate", jsonName: "EndDate", T: () => StringDateObject }, + { no: 5, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }, + { no: 6, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { dateIso8601: true } } } }, { no: 7, name: "Or", kind: "message", localName: "Or", jsonName: "Or", T: () => SimpleJSONFilter } ]); } @@ -1699,6 +1699,8 @@ class SimpleJSONFilter$Type extends MessageType { message.Name = ""; message.Operator = 0; message.Values = []; + message.StartDateTime = ""; + message.EndDateTime = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -1717,11 +1719,11 @@ class SimpleJSONFilter$Type extends MessageType { case /* repeated string Values */ 4: message.Values.push(reader.string()); break; - case /* api.StringDateObject StartDate */ 5: - message.StartDate = StringDateObject.internalBinaryRead(reader, reader.uint32(), options, message.StartDate); + case /* string StartDateTime */ 5: + message.StartDateTime = reader.string(); break; - case /* api.StringDateObject EndDate */ 6: - message.EndDate = StringDateObject.internalBinaryRead(reader, reader.uint32(), options, message.EndDate); + case /* string EndDateTime */ 6: + message.EndDateTime = reader.string(); break; case /* api.SimpleJSONFilter Or */ 7: message.Or = SimpleJSONFilter.internalBinaryRead(reader, reader.uint32(), options, message.Or); @@ -1747,12 +1749,12 @@ class SimpleJSONFilter$Type extends MessageType { /* repeated string Values = 4; */ for (let i = 0; i < message.Values.length; i++) writer.tag(4, WireType.LengthDelimited).string(message.Values[i]); - /* api.StringDateObject StartDate = 5; */ - if (message.StartDate) - StringDateObject.internalBinaryWrite(message.StartDate, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); - /* api.StringDateObject EndDate = 6; */ - if (message.EndDate) - StringDateObject.internalBinaryWrite(message.EndDate, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); + /* string StartDateTime = 5; */ + if (message.StartDateTime !== "") + writer.tag(5, WireType.LengthDelimited).string(message.StartDateTime); + /* string EndDateTime = 6; */ + if (message.EndDateTime !== "") + writer.tag(6, WireType.LengthDelimited).string(message.EndDateTime); /* api.SimpleJSONFilter Or = 7; */ if (message.Or) SimpleJSONFilter.internalBinaryWrite(message.Or, writer.tag(7, WireType.LengthDelimited).fork(), options).join(); diff --git a/package.json b/package.json index a89ab0e..6cc2dc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260910151749", + "version": "1.15.0-SNAPSHOT-260911143003", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",