@sentio/protos 2.62.0-rc.9 → 2.62.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/processor/protos/processor.d.ts +0 -144
- package/lib/processor/protos/processor.d.ts.map +1 -1
- package/lib/processor/protos/processor.js +105 -1070
- package/lib/processor/protos/processor.js.map +1 -1
- package/lib/service/common/protos/common.d.ts +3 -75
- package/lib/service/common/protos/common.d.ts.map +1 -1
- package/lib/service/common/protos/common.js +13 -466
- package/lib/service/common/protos/common.js.map +1 -1
- package/package.json +1 -1
- package/src/processor/protos/processor.ts +83 -1217
- package/src/service/common/protos/common.ts +13 -552
|
@@ -509,6 +509,8 @@ export var Selector_OperatorType;
|
|
|
509
509
|
Selector_OperatorType[Selector_OperatorType["NOT_BETWEEN"] = 8] = "NOT_BETWEEN";
|
|
510
510
|
Selector_OperatorType[Selector_OperatorType["CONTAINS"] = 11] = "CONTAINS";
|
|
511
511
|
Selector_OperatorType[Selector_OperatorType["NOT_CONTAINS"] = 12] = "NOT_CONTAINS";
|
|
512
|
+
Selector_OperatorType[Selector_OperatorType["IN"] = 15] = "IN";
|
|
513
|
+
Selector_OperatorType[Selector_OperatorType["NOT_IN"] = 16] = "NOT_IN";
|
|
512
514
|
Selector_OperatorType[Selector_OperatorType["IN_COHORTS"] = 13] = "IN_COHORTS";
|
|
513
515
|
Selector_OperatorType[Selector_OperatorType["NOT_IN_COHORTS"] = 14] = "NOT_IN_COHORTS";
|
|
514
516
|
Selector_OperatorType[Selector_OperatorType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -551,6 +553,12 @@ export function selector_OperatorTypeFromJSON(object) {
|
|
|
551
553
|
case 12:
|
|
552
554
|
case "NOT_CONTAINS":
|
|
553
555
|
return Selector_OperatorType.NOT_CONTAINS;
|
|
556
|
+
case 15:
|
|
557
|
+
case "IN":
|
|
558
|
+
return Selector_OperatorType.IN;
|
|
559
|
+
case 16:
|
|
560
|
+
case "NOT_IN":
|
|
561
|
+
return Selector_OperatorType.NOT_IN;
|
|
554
562
|
case 13:
|
|
555
563
|
case "IN_COHORTS":
|
|
556
564
|
return Selector_OperatorType.IN_COHORTS;
|
|
@@ -589,6 +597,10 @@ export function selector_OperatorTypeToJSON(object) {
|
|
|
589
597
|
return "CONTAINS";
|
|
590
598
|
case Selector_OperatorType.NOT_CONTAINS:
|
|
591
599
|
return "NOT_CONTAINS";
|
|
600
|
+
case Selector_OperatorType.IN:
|
|
601
|
+
return "IN";
|
|
602
|
+
case Selector_OperatorType.NOT_IN:
|
|
603
|
+
return "NOT_IN";
|
|
592
604
|
case Selector_OperatorType.IN_COHORTS:
|
|
593
605
|
return "IN_COHORTS";
|
|
594
606
|
case Selector_OperatorType.NOT_IN_COHORTS:
|
|
@@ -601,6 +613,7 @@ export function selector_OperatorTypeToJSON(object) {
|
|
|
601
613
|
export var SegmentationQuery_ResourceType;
|
|
602
614
|
(function (SegmentationQuery_ResourceType) {
|
|
603
615
|
SegmentationQuery_ResourceType[SegmentationQuery_ResourceType["EVENTS"] = 0] = "EVENTS";
|
|
616
|
+
/** @deprecated */
|
|
604
617
|
SegmentationQuery_ResourceType[SegmentationQuery_ResourceType["COHORTS"] = 1] = "COHORTS";
|
|
605
618
|
SegmentationQuery_ResourceType[SegmentationQuery_ResourceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
606
619
|
})(SegmentationQuery_ResourceType || (SegmentationQuery_ResourceType = {}));
|
|
@@ -1160,61 +1173,6 @@ export function retentionQuery_Interval_UnitToJSON(object) {
|
|
|
1160
1173
|
return "UNRECOGNIZED";
|
|
1161
1174
|
}
|
|
1162
1175
|
}
|
|
1163
|
-
export var SystemSQLQuery_Aggregation_AggregateProperties_AggregationType;
|
|
1164
|
-
(function (SystemSQLQuery_Aggregation_AggregateProperties_AggregationType) {
|
|
1165
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["SUM"] = 0] = "SUM";
|
|
1166
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["AVG"] = 1] = "AVG";
|
|
1167
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["MEDIAN"] = 2] = "MEDIAN";
|
|
1168
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["MIN"] = 3] = "MIN";
|
|
1169
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["MAX"] = 4] = "MAX";
|
|
1170
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["DISTINCT_COUNT"] = 5] = "DISTINCT_COUNT";
|
|
1171
|
-
SystemSQLQuery_Aggregation_AggregateProperties_AggregationType[SystemSQLQuery_Aggregation_AggregateProperties_AggregationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1172
|
-
})(SystemSQLQuery_Aggregation_AggregateProperties_AggregationType || (SystemSQLQuery_Aggregation_AggregateProperties_AggregationType = {}));
|
|
1173
|
-
export function systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeFromJSON(object) {
|
|
1174
|
-
switch (object) {
|
|
1175
|
-
case 0:
|
|
1176
|
-
case "SUM":
|
|
1177
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.SUM;
|
|
1178
|
-
case 1:
|
|
1179
|
-
case "AVG":
|
|
1180
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.AVG;
|
|
1181
|
-
case 2:
|
|
1182
|
-
case "MEDIAN":
|
|
1183
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MEDIAN;
|
|
1184
|
-
case 3:
|
|
1185
|
-
case "MIN":
|
|
1186
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MIN;
|
|
1187
|
-
case 4:
|
|
1188
|
-
case "MAX":
|
|
1189
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MAX;
|
|
1190
|
-
case 5:
|
|
1191
|
-
case "DISTINCT_COUNT":
|
|
1192
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.DISTINCT_COUNT;
|
|
1193
|
-
case -1:
|
|
1194
|
-
case "UNRECOGNIZED":
|
|
1195
|
-
default:
|
|
1196
|
-
return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.UNRECOGNIZED;
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
export function systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeToJSON(object) {
|
|
1200
|
-
switch (object) {
|
|
1201
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.SUM:
|
|
1202
|
-
return "SUM";
|
|
1203
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.AVG:
|
|
1204
|
-
return "AVG";
|
|
1205
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MEDIAN:
|
|
1206
|
-
return "MEDIAN";
|
|
1207
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MIN:
|
|
1208
|
-
return "MIN";
|
|
1209
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MAX:
|
|
1210
|
-
return "MAX";
|
|
1211
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.DISTINCT_COUNT:
|
|
1212
|
-
return "DISTINCT_COUNT";
|
|
1213
|
-
case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.UNRECOGNIZED:
|
|
1214
|
-
default:
|
|
1215
|
-
return "UNRECOGNIZED";
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
1176
|
export var RichValue_NullValue;
|
|
1219
1177
|
(function (RichValue_NullValue) {
|
|
1220
1178
|
RichValue_NullValue[RichValue_NullValue["NULL_VALUE"] = 0] = "NULL_VALUE";
|
|
@@ -11358,417 +11316,6 @@ export const CachePolicy = {
|
|
|
11358
11316
|
return message;
|
|
11359
11317
|
},
|
|
11360
11318
|
};
|
|
11361
|
-
function createBaseSystemSQLQuery() {
|
|
11362
|
-
return {
|
|
11363
|
-
id: "",
|
|
11364
|
-
alias: "",
|
|
11365
|
-
name: "",
|
|
11366
|
-
tableName: "",
|
|
11367
|
-
aggregation: undefined,
|
|
11368
|
-
selectorExpr: undefined,
|
|
11369
|
-
groupBy: [],
|
|
11370
|
-
disabled: false,
|
|
11371
|
-
};
|
|
11372
|
-
}
|
|
11373
|
-
export const SystemSQLQuery = {
|
|
11374
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
11375
|
-
if (message.id !== "") {
|
|
11376
|
-
writer.uint32(10).string(message.id);
|
|
11377
|
-
}
|
|
11378
|
-
if (message.alias !== "") {
|
|
11379
|
-
writer.uint32(18).string(message.alias);
|
|
11380
|
-
}
|
|
11381
|
-
if (message.name !== "") {
|
|
11382
|
-
writer.uint32(26).string(message.name);
|
|
11383
|
-
}
|
|
11384
|
-
if (message.tableName !== "") {
|
|
11385
|
-
writer.uint32(34).string(message.tableName);
|
|
11386
|
-
}
|
|
11387
|
-
if (message.aggregation !== undefined) {
|
|
11388
|
-
SystemSQLQuery_Aggregation.encode(message.aggregation, writer.uint32(42).fork()).ldelim();
|
|
11389
|
-
}
|
|
11390
|
-
if (message.selectorExpr !== undefined) {
|
|
11391
|
-
SelectorExpr.encode(message.selectorExpr, writer.uint32(50).fork()).ldelim();
|
|
11392
|
-
}
|
|
11393
|
-
for (const v of message.groupBy) {
|
|
11394
|
-
writer.uint32(58).string(v);
|
|
11395
|
-
}
|
|
11396
|
-
if (message.disabled !== false) {
|
|
11397
|
-
writer.uint32(64).bool(message.disabled);
|
|
11398
|
-
}
|
|
11399
|
-
return writer;
|
|
11400
|
-
},
|
|
11401
|
-
decode(input, length) {
|
|
11402
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
11403
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
11404
|
-
const message = createBaseSystemSQLQuery();
|
|
11405
|
-
while (reader.pos < end) {
|
|
11406
|
-
const tag = reader.uint32();
|
|
11407
|
-
switch (tag >>> 3) {
|
|
11408
|
-
case 1:
|
|
11409
|
-
if (tag !== 10) {
|
|
11410
|
-
break;
|
|
11411
|
-
}
|
|
11412
|
-
message.id = reader.string();
|
|
11413
|
-
continue;
|
|
11414
|
-
case 2:
|
|
11415
|
-
if (tag !== 18) {
|
|
11416
|
-
break;
|
|
11417
|
-
}
|
|
11418
|
-
message.alias = reader.string();
|
|
11419
|
-
continue;
|
|
11420
|
-
case 3:
|
|
11421
|
-
if (tag !== 26) {
|
|
11422
|
-
break;
|
|
11423
|
-
}
|
|
11424
|
-
message.name = reader.string();
|
|
11425
|
-
continue;
|
|
11426
|
-
case 4:
|
|
11427
|
-
if (tag !== 34) {
|
|
11428
|
-
break;
|
|
11429
|
-
}
|
|
11430
|
-
message.tableName = reader.string();
|
|
11431
|
-
continue;
|
|
11432
|
-
case 5:
|
|
11433
|
-
if (tag !== 42) {
|
|
11434
|
-
break;
|
|
11435
|
-
}
|
|
11436
|
-
message.aggregation = SystemSQLQuery_Aggregation.decode(reader, reader.uint32());
|
|
11437
|
-
continue;
|
|
11438
|
-
case 6:
|
|
11439
|
-
if (tag !== 50) {
|
|
11440
|
-
break;
|
|
11441
|
-
}
|
|
11442
|
-
message.selectorExpr = SelectorExpr.decode(reader, reader.uint32());
|
|
11443
|
-
continue;
|
|
11444
|
-
case 7:
|
|
11445
|
-
if (tag !== 58) {
|
|
11446
|
-
break;
|
|
11447
|
-
}
|
|
11448
|
-
message.groupBy.push(reader.string());
|
|
11449
|
-
continue;
|
|
11450
|
-
case 8:
|
|
11451
|
-
if (tag !== 64) {
|
|
11452
|
-
break;
|
|
11453
|
-
}
|
|
11454
|
-
message.disabled = reader.bool();
|
|
11455
|
-
continue;
|
|
11456
|
-
}
|
|
11457
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
11458
|
-
break;
|
|
11459
|
-
}
|
|
11460
|
-
reader.skipType(tag & 7);
|
|
11461
|
-
}
|
|
11462
|
-
return message;
|
|
11463
|
-
},
|
|
11464
|
-
fromJSON(object) {
|
|
11465
|
-
return {
|
|
11466
|
-
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
11467
|
-
alias: isSet(object.alias) ? globalThis.String(object.alias) : "",
|
|
11468
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
11469
|
-
tableName: isSet(object.tableName) ? globalThis.String(object.tableName) : "",
|
|
11470
|
-
aggregation: isSet(object.aggregation) ? SystemSQLQuery_Aggregation.fromJSON(object.aggregation) : undefined,
|
|
11471
|
-
selectorExpr: isSet(object.selectorExpr) ? SelectorExpr.fromJSON(object.selectorExpr) : undefined,
|
|
11472
|
-
groupBy: globalThis.Array.isArray(object?.groupBy) ? object.groupBy.map((e) => globalThis.String(e)) : [],
|
|
11473
|
-
disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false,
|
|
11474
|
-
};
|
|
11475
|
-
},
|
|
11476
|
-
toJSON(message) {
|
|
11477
|
-
const obj = {};
|
|
11478
|
-
if (message.id !== "") {
|
|
11479
|
-
obj.id = message.id;
|
|
11480
|
-
}
|
|
11481
|
-
if (message.alias !== "") {
|
|
11482
|
-
obj.alias = message.alias;
|
|
11483
|
-
}
|
|
11484
|
-
if (message.name !== "") {
|
|
11485
|
-
obj.name = message.name;
|
|
11486
|
-
}
|
|
11487
|
-
if (message.tableName !== "") {
|
|
11488
|
-
obj.tableName = message.tableName;
|
|
11489
|
-
}
|
|
11490
|
-
if (message.aggregation !== undefined) {
|
|
11491
|
-
obj.aggregation = SystemSQLQuery_Aggregation.toJSON(message.aggregation);
|
|
11492
|
-
}
|
|
11493
|
-
if (message.selectorExpr !== undefined) {
|
|
11494
|
-
obj.selectorExpr = SelectorExpr.toJSON(message.selectorExpr);
|
|
11495
|
-
}
|
|
11496
|
-
if (message.groupBy?.length) {
|
|
11497
|
-
obj.groupBy = message.groupBy;
|
|
11498
|
-
}
|
|
11499
|
-
if (message.disabled !== false) {
|
|
11500
|
-
obj.disabled = message.disabled;
|
|
11501
|
-
}
|
|
11502
|
-
return obj;
|
|
11503
|
-
},
|
|
11504
|
-
create(base) {
|
|
11505
|
-
return SystemSQLQuery.fromPartial(base ?? {});
|
|
11506
|
-
},
|
|
11507
|
-
fromPartial(object) {
|
|
11508
|
-
const message = createBaseSystemSQLQuery();
|
|
11509
|
-
message.id = object.id ?? "";
|
|
11510
|
-
message.alias = object.alias ?? "";
|
|
11511
|
-
message.name = object.name ?? "";
|
|
11512
|
-
message.tableName = object.tableName ?? "";
|
|
11513
|
-
message.aggregation = (object.aggregation !== undefined && object.aggregation !== null)
|
|
11514
|
-
? SystemSQLQuery_Aggregation.fromPartial(object.aggregation)
|
|
11515
|
-
: undefined;
|
|
11516
|
-
message.selectorExpr = (object.selectorExpr !== undefined && object.selectorExpr !== null)
|
|
11517
|
-
? SelectorExpr.fromPartial(object.selectorExpr)
|
|
11518
|
-
: undefined;
|
|
11519
|
-
message.groupBy = object.groupBy?.map((e) => e) || [];
|
|
11520
|
-
message.disabled = object.disabled ?? false;
|
|
11521
|
-
return message;
|
|
11522
|
-
},
|
|
11523
|
-
};
|
|
11524
|
-
function createBaseSystemSQLQuery_Aggregation() {
|
|
11525
|
-
return { total: undefined, countUnique: undefined, aggregateProperties: undefined };
|
|
11526
|
-
}
|
|
11527
|
-
export const SystemSQLQuery_Aggregation = {
|
|
11528
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
11529
|
-
if (message.total !== undefined) {
|
|
11530
|
-
SystemSQLQuery_Aggregation_Total.encode(message.total, writer.uint32(10).fork()).ldelim();
|
|
11531
|
-
}
|
|
11532
|
-
if (message.countUnique !== undefined) {
|
|
11533
|
-
SystemSQLQuery_Aggregation_CountUnique.encode(message.countUnique, writer.uint32(26).fork()).ldelim();
|
|
11534
|
-
}
|
|
11535
|
-
if (message.aggregateProperties !== undefined) {
|
|
11536
|
-
SystemSQLQuery_Aggregation_AggregateProperties.encode(message.aggregateProperties, writer.uint32(34).fork())
|
|
11537
|
-
.ldelim();
|
|
11538
|
-
}
|
|
11539
|
-
return writer;
|
|
11540
|
-
},
|
|
11541
|
-
decode(input, length) {
|
|
11542
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
11543
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
11544
|
-
const message = createBaseSystemSQLQuery_Aggregation();
|
|
11545
|
-
while (reader.pos < end) {
|
|
11546
|
-
const tag = reader.uint32();
|
|
11547
|
-
switch (tag >>> 3) {
|
|
11548
|
-
case 1:
|
|
11549
|
-
if (tag !== 10) {
|
|
11550
|
-
break;
|
|
11551
|
-
}
|
|
11552
|
-
message.total = SystemSQLQuery_Aggregation_Total.decode(reader, reader.uint32());
|
|
11553
|
-
continue;
|
|
11554
|
-
case 3:
|
|
11555
|
-
if (tag !== 26) {
|
|
11556
|
-
break;
|
|
11557
|
-
}
|
|
11558
|
-
message.countUnique = SystemSQLQuery_Aggregation_CountUnique.decode(reader, reader.uint32());
|
|
11559
|
-
continue;
|
|
11560
|
-
case 4:
|
|
11561
|
-
if (tag !== 34) {
|
|
11562
|
-
break;
|
|
11563
|
-
}
|
|
11564
|
-
message.aggregateProperties = SystemSQLQuery_Aggregation_AggregateProperties.decode(reader, reader.uint32());
|
|
11565
|
-
continue;
|
|
11566
|
-
}
|
|
11567
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
11568
|
-
break;
|
|
11569
|
-
}
|
|
11570
|
-
reader.skipType(tag & 7);
|
|
11571
|
-
}
|
|
11572
|
-
return message;
|
|
11573
|
-
},
|
|
11574
|
-
fromJSON(object) {
|
|
11575
|
-
return {
|
|
11576
|
-
total: isSet(object.total) ? SystemSQLQuery_Aggregation_Total.fromJSON(object.total) : undefined,
|
|
11577
|
-
countUnique: isSet(object.countUnique)
|
|
11578
|
-
? SystemSQLQuery_Aggregation_CountUnique.fromJSON(object.countUnique)
|
|
11579
|
-
: undefined,
|
|
11580
|
-
aggregateProperties: isSet(object.aggregateProperties)
|
|
11581
|
-
? SystemSQLQuery_Aggregation_AggregateProperties.fromJSON(object.aggregateProperties)
|
|
11582
|
-
: undefined,
|
|
11583
|
-
};
|
|
11584
|
-
},
|
|
11585
|
-
toJSON(message) {
|
|
11586
|
-
const obj = {};
|
|
11587
|
-
if (message.total !== undefined) {
|
|
11588
|
-
obj.total = SystemSQLQuery_Aggregation_Total.toJSON(message.total);
|
|
11589
|
-
}
|
|
11590
|
-
if (message.countUnique !== undefined) {
|
|
11591
|
-
obj.countUnique = SystemSQLQuery_Aggregation_CountUnique.toJSON(message.countUnique);
|
|
11592
|
-
}
|
|
11593
|
-
if (message.aggregateProperties !== undefined) {
|
|
11594
|
-
obj.aggregateProperties = SystemSQLQuery_Aggregation_AggregateProperties.toJSON(message.aggregateProperties);
|
|
11595
|
-
}
|
|
11596
|
-
return obj;
|
|
11597
|
-
},
|
|
11598
|
-
create(base) {
|
|
11599
|
-
return SystemSQLQuery_Aggregation.fromPartial(base ?? {});
|
|
11600
|
-
},
|
|
11601
|
-
fromPartial(object) {
|
|
11602
|
-
const message = createBaseSystemSQLQuery_Aggregation();
|
|
11603
|
-
message.total = (object.total !== undefined && object.total !== null)
|
|
11604
|
-
? SystemSQLQuery_Aggregation_Total.fromPartial(object.total)
|
|
11605
|
-
: undefined;
|
|
11606
|
-
message.countUnique = (object.countUnique !== undefined && object.countUnique !== null)
|
|
11607
|
-
? SystemSQLQuery_Aggregation_CountUnique.fromPartial(object.countUnique)
|
|
11608
|
-
: undefined;
|
|
11609
|
-
message.aggregateProperties = (object.aggregateProperties !== undefined && object.aggregateProperties !== null)
|
|
11610
|
-
? SystemSQLQuery_Aggregation_AggregateProperties.fromPartial(object.aggregateProperties)
|
|
11611
|
-
: undefined;
|
|
11612
|
-
return message;
|
|
11613
|
-
},
|
|
11614
|
-
};
|
|
11615
|
-
function createBaseSystemSQLQuery_Aggregation_Total() {
|
|
11616
|
-
return {};
|
|
11617
|
-
}
|
|
11618
|
-
export const SystemSQLQuery_Aggregation_Total = {
|
|
11619
|
-
encode(_, writer = _m0.Writer.create()) {
|
|
11620
|
-
return writer;
|
|
11621
|
-
},
|
|
11622
|
-
decode(input, length) {
|
|
11623
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
11624
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
11625
|
-
const message = createBaseSystemSQLQuery_Aggregation_Total();
|
|
11626
|
-
while (reader.pos < end) {
|
|
11627
|
-
const tag = reader.uint32();
|
|
11628
|
-
switch (tag >>> 3) {
|
|
11629
|
-
}
|
|
11630
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
11631
|
-
break;
|
|
11632
|
-
}
|
|
11633
|
-
reader.skipType(tag & 7);
|
|
11634
|
-
}
|
|
11635
|
-
return message;
|
|
11636
|
-
},
|
|
11637
|
-
fromJSON(_) {
|
|
11638
|
-
return {};
|
|
11639
|
-
},
|
|
11640
|
-
toJSON(_) {
|
|
11641
|
-
const obj = {};
|
|
11642
|
-
return obj;
|
|
11643
|
-
},
|
|
11644
|
-
create(base) {
|
|
11645
|
-
return SystemSQLQuery_Aggregation_Total.fromPartial(base ?? {});
|
|
11646
|
-
},
|
|
11647
|
-
fromPartial(_) {
|
|
11648
|
-
const message = createBaseSystemSQLQuery_Aggregation_Total();
|
|
11649
|
-
return message;
|
|
11650
|
-
},
|
|
11651
|
-
};
|
|
11652
|
-
function createBaseSystemSQLQuery_Aggregation_CountUnique() {
|
|
11653
|
-
return { duration: undefined };
|
|
11654
|
-
}
|
|
11655
|
-
export const SystemSQLQuery_Aggregation_CountUnique = {
|
|
11656
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
11657
|
-
if (message.duration !== undefined) {
|
|
11658
|
-
Duration.encode(message.duration, writer.uint32(10).fork()).ldelim();
|
|
11659
|
-
}
|
|
11660
|
-
return writer;
|
|
11661
|
-
},
|
|
11662
|
-
decode(input, length) {
|
|
11663
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
11664
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
11665
|
-
const message = createBaseSystemSQLQuery_Aggregation_CountUnique();
|
|
11666
|
-
while (reader.pos < end) {
|
|
11667
|
-
const tag = reader.uint32();
|
|
11668
|
-
switch (tag >>> 3) {
|
|
11669
|
-
case 1:
|
|
11670
|
-
if (tag !== 10) {
|
|
11671
|
-
break;
|
|
11672
|
-
}
|
|
11673
|
-
message.duration = Duration.decode(reader, reader.uint32());
|
|
11674
|
-
continue;
|
|
11675
|
-
}
|
|
11676
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
11677
|
-
break;
|
|
11678
|
-
}
|
|
11679
|
-
reader.skipType(tag & 7);
|
|
11680
|
-
}
|
|
11681
|
-
return message;
|
|
11682
|
-
},
|
|
11683
|
-
fromJSON(object) {
|
|
11684
|
-
return { duration: isSet(object.duration) ? Duration.fromJSON(object.duration) : undefined };
|
|
11685
|
-
},
|
|
11686
|
-
toJSON(message) {
|
|
11687
|
-
const obj = {};
|
|
11688
|
-
if (message.duration !== undefined) {
|
|
11689
|
-
obj.duration = Duration.toJSON(message.duration);
|
|
11690
|
-
}
|
|
11691
|
-
return obj;
|
|
11692
|
-
},
|
|
11693
|
-
create(base) {
|
|
11694
|
-
return SystemSQLQuery_Aggregation_CountUnique.fromPartial(base ?? {});
|
|
11695
|
-
},
|
|
11696
|
-
fromPartial(object) {
|
|
11697
|
-
const message = createBaseSystemSQLQuery_Aggregation_CountUnique();
|
|
11698
|
-
message.duration = (object.duration !== undefined && object.duration !== null)
|
|
11699
|
-
? Duration.fromPartial(object.duration)
|
|
11700
|
-
: undefined;
|
|
11701
|
-
return message;
|
|
11702
|
-
},
|
|
11703
|
-
};
|
|
11704
|
-
function createBaseSystemSQLQuery_Aggregation_AggregateProperties() {
|
|
11705
|
-
return { type: 0, propertyName: "" };
|
|
11706
|
-
}
|
|
11707
|
-
export const SystemSQLQuery_Aggregation_AggregateProperties = {
|
|
11708
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
11709
|
-
if (message.type !== 0) {
|
|
11710
|
-
writer.uint32(8).int32(message.type);
|
|
11711
|
-
}
|
|
11712
|
-
if (message.propertyName !== "") {
|
|
11713
|
-
writer.uint32(18).string(message.propertyName);
|
|
11714
|
-
}
|
|
11715
|
-
return writer;
|
|
11716
|
-
},
|
|
11717
|
-
decode(input, length) {
|
|
11718
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
11719
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
11720
|
-
const message = createBaseSystemSQLQuery_Aggregation_AggregateProperties();
|
|
11721
|
-
while (reader.pos < end) {
|
|
11722
|
-
const tag = reader.uint32();
|
|
11723
|
-
switch (tag >>> 3) {
|
|
11724
|
-
case 1:
|
|
11725
|
-
if (tag !== 8) {
|
|
11726
|
-
break;
|
|
11727
|
-
}
|
|
11728
|
-
message.type = reader.int32();
|
|
11729
|
-
continue;
|
|
11730
|
-
case 2:
|
|
11731
|
-
if (tag !== 18) {
|
|
11732
|
-
break;
|
|
11733
|
-
}
|
|
11734
|
-
message.propertyName = reader.string();
|
|
11735
|
-
continue;
|
|
11736
|
-
}
|
|
11737
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
11738
|
-
break;
|
|
11739
|
-
}
|
|
11740
|
-
reader.skipType(tag & 7);
|
|
11741
|
-
}
|
|
11742
|
-
return message;
|
|
11743
|
-
},
|
|
11744
|
-
fromJSON(object) {
|
|
11745
|
-
return {
|
|
11746
|
-
type: isSet(object.type)
|
|
11747
|
-
? systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeFromJSON(object.type)
|
|
11748
|
-
: 0,
|
|
11749
|
-
propertyName: isSet(object.propertyName) ? globalThis.String(object.propertyName) : "",
|
|
11750
|
-
};
|
|
11751
|
-
},
|
|
11752
|
-
toJSON(message) {
|
|
11753
|
-
const obj = {};
|
|
11754
|
-
if (message.type !== 0) {
|
|
11755
|
-
obj.type = systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeToJSON(message.type);
|
|
11756
|
-
}
|
|
11757
|
-
if (message.propertyName !== "") {
|
|
11758
|
-
obj.propertyName = message.propertyName;
|
|
11759
|
-
}
|
|
11760
|
-
return obj;
|
|
11761
|
-
},
|
|
11762
|
-
create(base) {
|
|
11763
|
-
return SystemSQLQuery_Aggregation_AggregateProperties.fromPartial(base ?? {});
|
|
11764
|
-
},
|
|
11765
|
-
fromPartial(object) {
|
|
11766
|
-
const message = createBaseSystemSQLQuery_Aggregation_AggregateProperties();
|
|
11767
|
-
message.type = object.type ?? 0;
|
|
11768
|
-
message.propertyName = object.propertyName ?? "";
|
|
11769
|
-
return message;
|
|
11770
|
-
},
|
|
11771
|
-
};
|
|
11772
11319
|
function createBaseNotification() {
|
|
11773
11320
|
return {
|
|
11774
11321
|
id: "",
|