@sentio/runtime 2.62.0-rc.16 → 2.62.0-rc.17

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.
@@ -839,6 +839,8 @@ export enum Selector_OperatorType {
839
839
  NOT_BETWEEN = 8,
840
840
  CONTAINS = 11,
841
841
  NOT_CONTAINS = 12,
842
+ IN = 15,
843
+ NOT_IN = 16,
842
844
  IN_COHORTS = 13,
843
845
  NOT_IN_COHORTS = 14,
844
846
  UNRECOGNIZED = -1,
@@ -882,6 +884,12 @@ export function selector_OperatorTypeFromJSON(object: any): Selector_OperatorTyp
882
884
  case 12:
883
885
  case "NOT_CONTAINS":
884
886
  return Selector_OperatorType.NOT_CONTAINS;
887
+ case 15:
888
+ case "IN":
889
+ return Selector_OperatorType.IN;
890
+ case 16:
891
+ case "NOT_IN":
892
+ return Selector_OperatorType.NOT_IN;
885
893
  case 13:
886
894
  case "IN_COHORTS":
887
895
  return Selector_OperatorType.IN_COHORTS;
@@ -921,6 +929,10 @@ export function selector_OperatorTypeToJSON(object: Selector_OperatorType): stri
921
929
  return "CONTAINS";
922
930
  case Selector_OperatorType.NOT_CONTAINS:
923
931
  return "NOT_CONTAINS";
932
+ case Selector_OperatorType.IN:
933
+ return "IN";
934
+ case Selector_OperatorType.NOT_IN:
935
+ return "NOT_IN";
924
936
  case Selector_OperatorType.IN_COHORTS:
925
937
  return "IN_COHORTS";
926
938
  case Selector_OperatorType.NOT_IN_COHORTS:
@@ -968,6 +980,7 @@ export interface SegmentationQuery {
968
980
 
969
981
  export enum SegmentationQuery_ResourceType {
970
982
  EVENTS = 0,
983
+ /** @deprecated */
971
984
  COHORTS = 1,
972
985
  UNRECOGNIZED = -1,
973
986
  }
@@ -1919,96 +1932,6 @@ export interface CachePolicy {
1919
1932
  noCache: boolean;
1920
1933
  }
1921
1934
 
1922
- export interface SystemSQLQuery {
1923
- id: string;
1924
- alias: string;
1925
- name: string;
1926
- tableName: string;
1927
- aggregation: SystemSQLQuery_Aggregation | undefined;
1928
- selectorExpr: SelectorExpr | undefined;
1929
- groupBy: string[];
1930
- disabled: boolean;
1931
- }
1932
-
1933
- export interface SystemSQLQuery_Aggregation {
1934
- total?: SystemSQLQuery_Aggregation_Total | undefined;
1935
- countUnique?: SystemSQLQuery_Aggregation_CountUnique | undefined;
1936
- aggregateProperties?: SystemSQLQuery_Aggregation_AggregateProperties | undefined;
1937
- }
1938
-
1939
- export interface SystemSQLQuery_Aggregation_Total {
1940
- }
1941
-
1942
- export interface SystemSQLQuery_Aggregation_CountUnique {
1943
- duration: Duration | undefined;
1944
- }
1945
-
1946
- export interface SystemSQLQuery_Aggregation_AggregateProperties {
1947
- type: SystemSQLQuery_Aggregation_AggregateProperties_AggregationType;
1948
- propertyName: string;
1949
- }
1950
-
1951
- export enum SystemSQLQuery_Aggregation_AggregateProperties_AggregationType {
1952
- SUM = 0,
1953
- AVG = 1,
1954
- MEDIAN = 2,
1955
- MIN = 3,
1956
- MAX = 4,
1957
- DISTINCT_COUNT = 5,
1958
- UNRECOGNIZED = -1,
1959
- }
1960
-
1961
- export function systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeFromJSON(
1962
- object: any,
1963
- ): SystemSQLQuery_Aggregation_AggregateProperties_AggregationType {
1964
- switch (object) {
1965
- case 0:
1966
- case "SUM":
1967
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.SUM;
1968
- case 1:
1969
- case "AVG":
1970
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.AVG;
1971
- case 2:
1972
- case "MEDIAN":
1973
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MEDIAN;
1974
- case 3:
1975
- case "MIN":
1976
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MIN;
1977
- case 4:
1978
- case "MAX":
1979
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MAX;
1980
- case 5:
1981
- case "DISTINCT_COUNT":
1982
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.DISTINCT_COUNT;
1983
- case -1:
1984
- case "UNRECOGNIZED":
1985
- default:
1986
- return SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.UNRECOGNIZED;
1987
- }
1988
- }
1989
-
1990
- export function systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeToJSON(
1991
- object: SystemSQLQuery_Aggregation_AggregateProperties_AggregationType,
1992
- ): string {
1993
- switch (object) {
1994
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.SUM:
1995
- return "SUM";
1996
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.AVG:
1997
- return "AVG";
1998
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MEDIAN:
1999
- return "MEDIAN";
2000
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MIN:
2001
- return "MIN";
2002
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.MAX:
2003
- return "MAX";
2004
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.DISTINCT_COUNT:
2005
- return "DISTINCT_COUNT";
2006
- case SystemSQLQuery_Aggregation_AggregateProperties_AggregationType.UNRECOGNIZED:
2007
- default:
2008
- return "UNRECOGNIZED";
2009
- }
2010
- }
2011
-
2012
1935
  export interface Notification {
2013
1936
  id: string;
2014
1937
  projectId: string;
@@ -13299,468 +13222,6 @@ export const CachePolicy = {
13299
13222
  },
13300
13223
  };
13301
13224
 
13302
- function createBaseSystemSQLQuery(): SystemSQLQuery {
13303
- return {
13304
- id: "",
13305
- alias: "",
13306
- name: "",
13307
- tableName: "",
13308
- aggregation: undefined,
13309
- selectorExpr: undefined,
13310
- groupBy: [],
13311
- disabled: false,
13312
- };
13313
- }
13314
-
13315
- export const SystemSQLQuery = {
13316
- encode(message: SystemSQLQuery, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13317
- if (message.id !== "") {
13318
- writer.uint32(10).string(message.id);
13319
- }
13320
- if (message.alias !== "") {
13321
- writer.uint32(18).string(message.alias);
13322
- }
13323
- if (message.name !== "") {
13324
- writer.uint32(26).string(message.name);
13325
- }
13326
- if (message.tableName !== "") {
13327
- writer.uint32(34).string(message.tableName);
13328
- }
13329
- if (message.aggregation !== undefined) {
13330
- SystemSQLQuery_Aggregation.encode(message.aggregation, writer.uint32(42).fork()).ldelim();
13331
- }
13332
- if (message.selectorExpr !== undefined) {
13333
- SelectorExpr.encode(message.selectorExpr, writer.uint32(50).fork()).ldelim();
13334
- }
13335
- for (const v of message.groupBy) {
13336
- writer.uint32(58).string(v!);
13337
- }
13338
- if (message.disabled !== false) {
13339
- writer.uint32(64).bool(message.disabled);
13340
- }
13341
- return writer;
13342
- },
13343
-
13344
- decode(input: _m0.Reader | Uint8Array, length?: number): SystemSQLQuery {
13345
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13346
- let end = length === undefined ? reader.len : reader.pos + length;
13347
- const message = createBaseSystemSQLQuery();
13348
- while (reader.pos < end) {
13349
- const tag = reader.uint32();
13350
- switch (tag >>> 3) {
13351
- case 1:
13352
- if (tag !== 10) {
13353
- break;
13354
- }
13355
-
13356
- message.id = reader.string();
13357
- continue;
13358
- case 2:
13359
- if (tag !== 18) {
13360
- break;
13361
- }
13362
-
13363
- message.alias = reader.string();
13364
- continue;
13365
- case 3:
13366
- if (tag !== 26) {
13367
- break;
13368
- }
13369
-
13370
- message.name = reader.string();
13371
- continue;
13372
- case 4:
13373
- if (tag !== 34) {
13374
- break;
13375
- }
13376
-
13377
- message.tableName = reader.string();
13378
- continue;
13379
- case 5:
13380
- if (tag !== 42) {
13381
- break;
13382
- }
13383
-
13384
- message.aggregation = SystemSQLQuery_Aggregation.decode(reader, reader.uint32());
13385
- continue;
13386
- case 6:
13387
- if (tag !== 50) {
13388
- break;
13389
- }
13390
-
13391
- message.selectorExpr = SelectorExpr.decode(reader, reader.uint32());
13392
- continue;
13393
- case 7:
13394
- if (tag !== 58) {
13395
- break;
13396
- }
13397
-
13398
- message.groupBy.push(reader.string());
13399
- continue;
13400
- case 8:
13401
- if (tag !== 64) {
13402
- break;
13403
- }
13404
-
13405
- message.disabled = reader.bool();
13406
- continue;
13407
- }
13408
- if ((tag & 7) === 4 || tag === 0) {
13409
- break;
13410
- }
13411
- reader.skipType(tag & 7);
13412
- }
13413
- return message;
13414
- },
13415
-
13416
- fromJSON(object: any): SystemSQLQuery {
13417
- return {
13418
- id: isSet(object.id) ? globalThis.String(object.id) : "",
13419
- alias: isSet(object.alias) ? globalThis.String(object.alias) : "",
13420
- name: isSet(object.name) ? globalThis.String(object.name) : "",
13421
- tableName: isSet(object.tableName) ? globalThis.String(object.tableName) : "",
13422
- aggregation: isSet(object.aggregation) ? SystemSQLQuery_Aggregation.fromJSON(object.aggregation) : undefined,
13423
- selectorExpr: isSet(object.selectorExpr) ? SelectorExpr.fromJSON(object.selectorExpr) : undefined,
13424
- groupBy: globalThis.Array.isArray(object?.groupBy) ? object.groupBy.map((e: any) => globalThis.String(e)) : [],
13425
- disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false,
13426
- };
13427
- },
13428
-
13429
- toJSON(message: SystemSQLQuery): unknown {
13430
- const obj: any = {};
13431
- if (message.id !== "") {
13432
- obj.id = message.id;
13433
- }
13434
- if (message.alias !== "") {
13435
- obj.alias = message.alias;
13436
- }
13437
- if (message.name !== "") {
13438
- obj.name = message.name;
13439
- }
13440
- if (message.tableName !== "") {
13441
- obj.tableName = message.tableName;
13442
- }
13443
- if (message.aggregation !== undefined) {
13444
- obj.aggregation = SystemSQLQuery_Aggregation.toJSON(message.aggregation);
13445
- }
13446
- if (message.selectorExpr !== undefined) {
13447
- obj.selectorExpr = SelectorExpr.toJSON(message.selectorExpr);
13448
- }
13449
- if (message.groupBy?.length) {
13450
- obj.groupBy = message.groupBy;
13451
- }
13452
- if (message.disabled !== false) {
13453
- obj.disabled = message.disabled;
13454
- }
13455
- return obj;
13456
- },
13457
-
13458
- create(base?: DeepPartial<SystemSQLQuery>): SystemSQLQuery {
13459
- return SystemSQLQuery.fromPartial(base ?? {});
13460
- },
13461
- fromPartial(object: DeepPartial<SystemSQLQuery>): SystemSQLQuery {
13462
- const message = createBaseSystemSQLQuery();
13463
- message.id = object.id ?? "";
13464
- message.alias = object.alias ?? "";
13465
- message.name = object.name ?? "";
13466
- message.tableName = object.tableName ?? "";
13467
- message.aggregation = (object.aggregation !== undefined && object.aggregation !== null)
13468
- ? SystemSQLQuery_Aggregation.fromPartial(object.aggregation)
13469
- : undefined;
13470
- message.selectorExpr = (object.selectorExpr !== undefined && object.selectorExpr !== null)
13471
- ? SelectorExpr.fromPartial(object.selectorExpr)
13472
- : undefined;
13473
- message.groupBy = object.groupBy?.map((e) => e) || [];
13474
- message.disabled = object.disabled ?? false;
13475
- return message;
13476
- },
13477
- };
13478
-
13479
- function createBaseSystemSQLQuery_Aggregation(): SystemSQLQuery_Aggregation {
13480
- return { total: undefined, countUnique: undefined, aggregateProperties: undefined };
13481
- }
13482
-
13483
- export const SystemSQLQuery_Aggregation = {
13484
- encode(message: SystemSQLQuery_Aggregation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13485
- if (message.total !== undefined) {
13486
- SystemSQLQuery_Aggregation_Total.encode(message.total, writer.uint32(10).fork()).ldelim();
13487
- }
13488
- if (message.countUnique !== undefined) {
13489
- SystemSQLQuery_Aggregation_CountUnique.encode(message.countUnique, writer.uint32(26).fork()).ldelim();
13490
- }
13491
- if (message.aggregateProperties !== undefined) {
13492
- SystemSQLQuery_Aggregation_AggregateProperties.encode(message.aggregateProperties, writer.uint32(34).fork())
13493
- .ldelim();
13494
- }
13495
- return writer;
13496
- },
13497
-
13498
- decode(input: _m0.Reader | Uint8Array, length?: number): SystemSQLQuery_Aggregation {
13499
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13500
- let end = length === undefined ? reader.len : reader.pos + length;
13501
- const message = createBaseSystemSQLQuery_Aggregation();
13502
- while (reader.pos < end) {
13503
- const tag = reader.uint32();
13504
- switch (tag >>> 3) {
13505
- case 1:
13506
- if (tag !== 10) {
13507
- break;
13508
- }
13509
-
13510
- message.total = SystemSQLQuery_Aggregation_Total.decode(reader, reader.uint32());
13511
- continue;
13512
- case 3:
13513
- if (tag !== 26) {
13514
- break;
13515
- }
13516
-
13517
- message.countUnique = SystemSQLQuery_Aggregation_CountUnique.decode(reader, reader.uint32());
13518
- continue;
13519
- case 4:
13520
- if (tag !== 34) {
13521
- break;
13522
- }
13523
-
13524
- message.aggregateProperties = SystemSQLQuery_Aggregation_AggregateProperties.decode(reader, reader.uint32());
13525
- continue;
13526
- }
13527
- if ((tag & 7) === 4 || tag === 0) {
13528
- break;
13529
- }
13530
- reader.skipType(tag & 7);
13531
- }
13532
- return message;
13533
- },
13534
-
13535
- fromJSON(object: any): SystemSQLQuery_Aggregation {
13536
- return {
13537
- total: isSet(object.total) ? SystemSQLQuery_Aggregation_Total.fromJSON(object.total) : undefined,
13538
- countUnique: isSet(object.countUnique)
13539
- ? SystemSQLQuery_Aggregation_CountUnique.fromJSON(object.countUnique)
13540
- : undefined,
13541
- aggregateProperties: isSet(object.aggregateProperties)
13542
- ? SystemSQLQuery_Aggregation_AggregateProperties.fromJSON(object.aggregateProperties)
13543
- : undefined,
13544
- };
13545
- },
13546
-
13547
- toJSON(message: SystemSQLQuery_Aggregation): unknown {
13548
- const obj: any = {};
13549
- if (message.total !== undefined) {
13550
- obj.total = SystemSQLQuery_Aggregation_Total.toJSON(message.total);
13551
- }
13552
- if (message.countUnique !== undefined) {
13553
- obj.countUnique = SystemSQLQuery_Aggregation_CountUnique.toJSON(message.countUnique);
13554
- }
13555
- if (message.aggregateProperties !== undefined) {
13556
- obj.aggregateProperties = SystemSQLQuery_Aggregation_AggregateProperties.toJSON(message.aggregateProperties);
13557
- }
13558
- return obj;
13559
- },
13560
-
13561
- create(base?: DeepPartial<SystemSQLQuery_Aggregation>): SystemSQLQuery_Aggregation {
13562
- return SystemSQLQuery_Aggregation.fromPartial(base ?? {});
13563
- },
13564
- fromPartial(object: DeepPartial<SystemSQLQuery_Aggregation>): SystemSQLQuery_Aggregation {
13565
- const message = createBaseSystemSQLQuery_Aggregation();
13566
- message.total = (object.total !== undefined && object.total !== null)
13567
- ? SystemSQLQuery_Aggregation_Total.fromPartial(object.total)
13568
- : undefined;
13569
- message.countUnique = (object.countUnique !== undefined && object.countUnique !== null)
13570
- ? SystemSQLQuery_Aggregation_CountUnique.fromPartial(object.countUnique)
13571
- : undefined;
13572
- message.aggregateProperties = (object.aggregateProperties !== undefined && object.aggregateProperties !== null)
13573
- ? SystemSQLQuery_Aggregation_AggregateProperties.fromPartial(object.aggregateProperties)
13574
- : undefined;
13575
- return message;
13576
- },
13577
- };
13578
-
13579
- function createBaseSystemSQLQuery_Aggregation_Total(): SystemSQLQuery_Aggregation_Total {
13580
- return {};
13581
- }
13582
-
13583
- export const SystemSQLQuery_Aggregation_Total = {
13584
- encode(_: SystemSQLQuery_Aggregation_Total, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13585
- return writer;
13586
- },
13587
-
13588
- decode(input: _m0.Reader | Uint8Array, length?: number): SystemSQLQuery_Aggregation_Total {
13589
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13590
- let end = length === undefined ? reader.len : reader.pos + length;
13591
- const message = createBaseSystemSQLQuery_Aggregation_Total();
13592
- while (reader.pos < end) {
13593
- const tag = reader.uint32();
13594
- switch (tag >>> 3) {
13595
- }
13596
- if ((tag & 7) === 4 || tag === 0) {
13597
- break;
13598
- }
13599
- reader.skipType(tag & 7);
13600
- }
13601
- return message;
13602
- },
13603
-
13604
- fromJSON(_: any): SystemSQLQuery_Aggregation_Total {
13605
- return {};
13606
- },
13607
-
13608
- toJSON(_: SystemSQLQuery_Aggregation_Total): unknown {
13609
- const obj: any = {};
13610
- return obj;
13611
- },
13612
-
13613
- create(base?: DeepPartial<SystemSQLQuery_Aggregation_Total>): SystemSQLQuery_Aggregation_Total {
13614
- return SystemSQLQuery_Aggregation_Total.fromPartial(base ?? {});
13615
- },
13616
- fromPartial(_: DeepPartial<SystemSQLQuery_Aggregation_Total>): SystemSQLQuery_Aggregation_Total {
13617
- const message = createBaseSystemSQLQuery_Aggregation_Total();
13618
- return message;
13619
- },
13620
- };
13621
-
13622
- function createBaseSystemSQLQuery_Aggregation_CountUnique(): SystemSQLQuery_Aggregation_CountUnique {
13623
- return { duration: undefined };
13624
- }
13625
-
13626
- export const SystemSQLQuery_Aggregation_CountUnique = {
13627
- encode(message: SystemSQLQuery_Aggregation_CountUnique, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13628
- if (message.duration !== undefined) {
13629
- Duration.encode(message.duration, writer.uint32(10).fork()).ldelim();
13630
- }
13631
- return writer;
13632
- },
13633
-
13634
- decode(input: _m0.Reader | Uint8Array, length?: number): SystemSQLQuery_Aggregation_CountUnique {
13635
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13636
- let end = length === undefined ? reader.len : reader.pos + length;
13637
- const message = createBaseSystemSQLQuery_Aggregation_CountUnique();
13638
- while (reader.pos < end) {
13639
- const tag = reader.uint32();
13640
- switch (tag >>> 3) {
13641
- case 1:
13642
- if (tag !== 10) {
13643
- break;
13644
- }
13645
-
13646
- message.duration = Duration.decode(reader, reader.uint32());
13647
- continue;
13648
- }
13649
- if ((tag & 7) === 4 || tag === 0) {
13650
- break;
13651
- }
13652
- reader.skipType(tag & 7);
13653
- }
13654
- return message;
13655
- },
13656
-
13657
- fromJSON(object: any): SystemSQLQuery_Aggregation_CountUnique {
13658
- return { duration: isSet(object.duration) ? Duration.fromJSON(object.duration) : undefined };
13659
- },
13660
-
13661
- toJSON(message: SystemSQLQuery_Aggregation_CountUnique): unknown {
13662
- const obj: any = {};
13663
- if (message.duration !== undefined) {
13664
- obj.duration = Duration.toJSON(message.duration);
13665
- }
13666
- return obj;
13667
- },
13668
-
13669
- create(base?: DeepPartial<SystemSQLQuery_Aggregation_CountUnique>): SystemSQLQuery_Aggregation_CountUnique {
13670
- return SystemSQLQuery_Aggregation_CountUnique.fromPartial(base ?? {});
13671
- },
13672
- fromPartial(object: DeepPartial<SystemSQLQuery_Aggregation_CountUnique>): SystemSQLQuery_Aggregation_CountUnique {
13673
- const message = createBaseSystemSQLQuery_Aggregation_CountUnique();
13674
- message.duration = (object.duration !== undefined && object.duration !== null)
13675
- ? Duration.fromPartial(object.duration)
13676
- : undefined;
13677
- return message;
13678
- },
13679
- };
13680
-
13681
- function createBaseSystemSQLQuery_Aggregation_AggregateProperties(): SystemSQLQuery_Aggregation_AggregateProperties {
13682
- return { type: 0, propertyName: "" };
13683
- }
13684
-
13685
- export const SystemSQLQuery_Aggregation_AggregateProperties = {
13686
- encode(
13687
- message: SystemSQLQuery_Aggregation_AggregateProperties,
13688
- writer: _m0.Writer = _m0.Writer.create(),
13689
- ): _m0.Writer {
13690
- if (message.type !== 0) {
13691
- writer.uint32(8).int32(message.type);
13692
- }
13693
- if (message.propertyName !== "") {
13694
- writer.uint32(18).string(message.propertyName);
13695
- }
13696
- return writer;
13697
- },
13698
-
13699
- decode(input: _m0.Reader | Uint8Array, length?: number): SystemSQLQuery_Aggregation_AggregateProperties {
13700
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13701
- let end = length === undefined ? reader.len : reader.pos + length;
13702
- const message = createBaseSystemSQLQuery_Aggregation_AggregateProperties();
13703
- while (reader.pos < end) {
13704
- const tag = reader.uint32();
13705
- switch (tag >>> 3) {
13706
- case 1:
13707
- if (tag !== 8) {
13708
- break;
13709
- }
13710
-
13711
- message.type = reader.int32() as any;
13712
- continue;
13713
- case 2:
13714
- if (tag !== 18) {
13715
- break;
13716
- }
13717
-
13718
- message.propertyName = reader.string();
13719
- continue;
13720
- }
13721
- if ((tag & 7) === 4 || tag === 0) {
13722
- break;
13723
- }
13724
- reader.skipType(tag & 7);
13725
- }
13726
- return message;
13727
- },
13728
-
13729
- fromJSON(object: any): SystemSQLQuery_Aggregation_AggregateProperties {
13730
- return {
13731
- type: isSet(object.type)
13732
- ? systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeFromJSON(object.type)
13733
- : 0,
13734
- propertyName: isSet(object.propertyName) ? globalThis.String(object.propertyName) : "",
13735
- };
13736
- },
13737
-
13738
- toJSON(message: SystemSQLQuery_Aggregation_AggregateProperties): unknown {
13739
- const obj: any = {};
13740
- if (message.type !== 0) {
13741
- obj.type = systemSQLQuery_Aggregation_AggregateProperties_AggregationTypeToJSON(message.type);
13742
- }
13743
- if (message.propertyName !== "") {
13744
- obj.propertyName = message.propertyName;
13745
- }
13746
- return obj;
13747
- },
13748
-
13749
- create(
13750
- base?: DeepPartial<SystemSQLQuery_Aggregation_AggregateProperties>,
13751
- ): SystemSQLQuery_Aggregation_AggregateProperties {
13752
- return SystemSQLQuery_Aggregation_AggregateProperties.fromPartial(base ?? {});
13753
- },
13754
- fromPartial(
13755
- object: DeepPartial<SystemSQLQuery_Aggregation_AggregateProperties>,
13756
- ): SystemSQLQuery_Aggregation_AggregateProperties {
13757
- const message = createBaseSystemSQLQuery_Aggregation_AggregateProperties();
13758
- message.type = object.type ?? 0;
13759
- message.propertyName = object.propertyName ?? "";
13760
- return message;
13761
- },
13762
- };
13763
-
13764
13225
  function createBaseNotification(): Notification {
13765
13226
  return {
13766
13227
  id: "",