diff --git a/options.ts b/options.ts index c6a1a0bb..3789d1cb 100644 --- a/options.ts +++ b/options.ts @@ -91,6 +91,10 @@ export interface KPIItem { * @generated from protobuf field: string CustomType = 5 */ CustomType: string; // Type of the field in the table + /** + * @generated from protobuf field: string DataType = 6 + */ + DataType: string; // Type of the field for CH query } /** * @generated from protobuf message api.FieldTypes @@ -346,7 +350,8 @@ class KPIItem$Type extends MessageType { { no: 2, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "Queryable", kind: "scalar", localName: "Queryable", jsonName: "Queryable", T: 8 /*ScalarType.BOOL*/ }, { no: 4, name: "GroupToJoin", kind: "scalar", localName: "GroupToJoin", jsonName: "GroupToJoin", T: 9 /*ScalarType.STRING*/ }, - { no: 5, name: "CustomType", kind: "scalar", localName: "CustomType", jsonName: "CustomType", T: 9 /*ScalarType.STRING*/ } + { no: 5, name: "CustomType", kind: "scalar", localName: "CustomType", jsonName: "CustomType", T: 9 /*ScalarType.STRING*/ }, + { no: 6, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/ } ]); } create(value?: PartialMessage): KPIItem { @@ -356,6 +361,7 @@ class KPIItem$Type extends MessageType { message.Queryable = false; message.GroupToJoin = ""; message.CustomType = ""; + message.DataType = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -380,6 +386,9 @@ class KPIItem$Type extends MessageType { case /* string CustomType */ 5: message.CustomType = reader.string(); break; + case /* string DataType */ 6: + message.DataType = reader.string(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -407,6 +416,9 @@ class KPIItem$Type extends MessageType { /* string CustomType = 5; */ if (message.CustomType !== "") writer.tag(5, WireType.LengthDelimited).string(message.CustomType); + /* string DataType = 6; */ + if (message.DataType !== "") + writer.tag(6, WireType.LengthDelimited).string(message.DataType); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); diff --git a/package.json b/package.json index 3a889893..8fff5864 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260430073836", + "version": "1.14.0-SNAPSHOT-260430152844", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/slotbooking.ts b/slotbooking.ts index b309faec..f2e71a7e 100644 --- a/slotbooking.ts +++ b/slotbooking.ts @@ -1003,9 +1003,9 @@ export const QuantityByUnit = new QuantityByUnit$Type(); class Slot$Type extends MessageType { constructor() { super("api.Slot", [ - { no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } }, + { no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, DataType: "localdate" }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } }, { no: 3, name: "DurationInSeconds", kind: "scalar", localName: "DurationInSeconds", jsonName: "DurationInSeconds", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, options: { "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, CustomType: "UInt64" }] } } }, - { no: 4, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } } + { no: 4, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, DataType: "localdate" }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } } ]); } create(value?: PartialMessage): Slot {