@perpetualsystems/typescript-sdk 0.4.1 → 0.4.2

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.
@@ -5473,12 +5473,11 @@ export type ChangesetsGetResponses = {
5473
5473
  x: number;
5474
5474
  y: number;
5475
5475
  };
5476
- queries?: Array<{
5476
+ queries: Array<{
5477
5477
  id: string;
5478
5478
  name: string;
5479
5479
  query: string;
5480
5480
  }>;
5481
- query?: string;
5482
5481
  spec: {
5483
5482
  [key: string]: unknown;
5484
5483
  };
@@ -5661,6 +5660,10 @@ export type ChangesetsGetResponses = {
5661
5660
  baseVersion: number | null;
5662
5661
  changesetId: string | null;
5663
5662
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
5663
+ /**
5664
+ * The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
5665
+ */
5666
+ connectorId?: string | null;
5664
5667
  contentPackId?: string;
5665
5668
  createdAt: string;
5666
5669
  createdByUserId: string | null;
@@ -8283,6 +8286,7 @@ export type ConnectorsListBuiltinKindsResponses = {
8283
8286
  label: string;
8284
8287
  required: boolean;
8285
8288
  }>;
8289
+ datasetKind?: 'event' | 'state';
8286
8290
  description?: string;
8287
8291
  displayName: string;
8288
8292
  iconUrl?: string;
@@ -9044,7 +9048,7 @@ export type ContentListResponses = {
9044
9048
  detectionMaturity?: 'EXPERIMENTAL' | 'TEST' | 'STABLE' | 'DEPRECATED';
9045
9049
  folderPath: string;
9046
9050
  id: string;
9047
- lookupType?: 'Static' | 'Computed';
9051
+ lookupType?: 'Static' | 'Computed' | 'Connector';
9048
9052
  name: string;
9049
9053
  parentFolderId?: string | null;
9050
9054
  readOnly?: boolean;
@@ -10465,7 +10469,7 @@ export type ContentPacksListContentResponses = {
10465
10469
  detectionMaturity?: 'EXPERIMENTAL' | 'TEST' | 'STABLE' | 'DEPRECATED';
10466
10470
  folderPath: string;
10467
10471
  id: string;
10468
- lookupType?: 'Static' | 'Computed';
10472
+ lookupType?: 'Static' | 'Computed' | 'Connector';
10469
10473
  name: string;
10470
10474
  parentFolderId?: string | null;
10471
10475
  readOnly?: boolean;
@@ -10493,12 +10497,11 @@ export type ContentPacksDashboardsCreateData = {
10493
10497
  x: number;
10494
10498
  y: number;
10495
10499
  };
10496
- queries?: Array<{
10500
+ queries: Array<{
10497
10501
  id: string;
10498
10502
  name: string;
10499
10503
  query: string;
10500
10504
  }>;
10501
- query?: string;
10502
10505
  spec: {
10503
10506
  [key: string]: unknown;
10504
10507
  };
@@ -10645,12 +10648,11 @@ export type ContentPacksDashboardsCreateResponses = {
10645
10648
  x: number;
10646
10649
  y: number;
10647
10650
  };
10648
- queries?: Array<{
10651
+ queries: Array<{
10649
10652
  id: string;
10650
10653
  name: string;
10651
10654
  query: string;
10652
10655
  }>;
10653
- query?: string;
10654
10656
  spec: {
10655
10657
  [key: string]: unknown;
10656
10658
  };
@@ -10833,12 +10835,11 @@ export type ContentPacksDashboardsGetByIdResponses = {
10833
10835
  x: number;
10834
10836
  y: number;
10835
10837
  };
10836
- queries?: Array<{
10838
+ queries: Array<{
10837
10839
  id: string;
10838
10840
  name: string;
10839
10841
  query: string;
10840
10842
  }>;
10841
- query?: string;
10842
10843
  spec: {
10843
10844
  [key: string]: unknown;
10844
10845
  };
@@ -10938,12 +10939,11 @@ export type ContentPacksDashboardsUpdateData = {
10938
10939
  x: number;
10939
10940
  y: number;
10940
10941
  };
10941
- queries?: Array<{
10942
+ queries: Array<{
10942
10943
  id: string;
10943
10944
  name: string;
10944
10945
  query: string;
10945
10946
  }>;
10946
- query?: string;
10947
10947
  spec: {
10948
10948
  [key: string]: unknown;
10949
10949
  };
@@ -11074,12 +11074,11 @@ export type ContentPacksDashboardsUpdateResponses = {
11074
11074
  x: number;
11075
11075
  y: number;
11076
11076
  };
11077
- queries?: Array<{
11077
+ queries: Array<{
11078
11078
  id: string;
11079
11079
  name: string;
11080
11080
  query: string;
11081
11081
  }>;
11082
- query?: string;
11083
11082
  spec: {
11084
11083
  [key: string]: unknown;
11085
11084
  };
@@ -14917,12 +14916,11 @@ export type ContentPacksGetContentTemplateResponses = {
14917
14916
  x: number;
14918
14917
  y: number;
14919
14918
  };
14920
- queries?: Array<{
14919
+ queries: Array<{
14921
14920
  id: string;
14922
14921
  name: string;
14923
14922
  query: string;
14924
14923
  }>;
14925
- query?: string;
14926
14924
  spec: {
14927
14925
  [key: string]: unknown;
14928
14926
  };
@@ -16988,12 +16986,11 @@ export type DashboardsListResponses = {
16988
16986
  x: number;
16989
16987
  y: number;
16990
16988
  };
16991
- queries?: Array<{
16989
+ queries: Array<{
16992
16990
  id: string;
16993
16991
  name: string;
16994
16992
  query: string;
16995
16993
  }>;
16996
- query?: string;
16997
16994
  spec: {
16998
16995
  [key: string]: unknown;
16999
16996
  };
@@ -17102,12 +17099,11 @@ export type DashboardsCreateData = {
17102
17099
  x: number;
17103
17100
  y: number;
17104
17101
  };
17105
- queries?: Array<{
17102
+ queries: Array<{
17106
17103
  id: string;
17107
17104
  name: string;
17108
17105
  query: string;
17109
17106
  }>;
17110
- query?: string;
17111
17107
  spec: {
17112
17108
  [key: string]: unknown;
17113
17109
  };
@@ -17266,12 +17262,11 @@ export type DashboardsCreateResponses = {
17266
17262
  x: number;
17267
17263
  y: number;
17268
17264
  };
17269
- queries?: Array<{
17265
+ queries: Array<{
17270
17266
  id: string;
17271
17267
  name: string;
17272
17268
  query: string;
17273
17269
  }>;
17274
- query?: string;
17275
17270
  spec: {
17276
17271
  [key: string]: unknown;
17277
17272
  };
@@ -17543,12 +17538,11 @@ export type DashboardsGetByIdResponses = {
17543
17538
  x: number;
17544
17539
  y: number;
17545
17540
  };
17546
- queries?: Array<{
17541
+ queries: Array<{
17547
17542
  id: string;
17548
17543
  name: string;
17549
17544
  query: string;
17550
17545
  }>;
17551
- query?: string;
17552
17546
  spec: {
17553
17547
  [key: string]: unknown;
17554
17548
  };
@@ -17648,12 +17642,11 @@ export type DashboardsUpdateData = {
17648
17642
  x: number;
17649
17643
  y: number;
17650
17644
  };
17651
- queries?: Array<{
17645
+ queries: Array<{
17652
17646
  id: string;
17653
17647
  name: string;
17654
17648
  query: string;
17655
17649
  }>;
17656
- query?: string;
17657
17650
  spec: {
17658
17651
  [key: string]: unknown;
17659
17652
  };
@@ -17799,12 +17792,11 @@ export type DashboardsUpdateResponses = {
17799
17792
  x: number;
17800
17793
  y: number;
17801
17794
  };
17802
- queries?: Array<{
17795
+ queries: Array<{
17803
17796
  id: string;
17804
17797
  name: string;
17805
17798
  query: string;
17806
17799
  }>;
17807
- query?: string;
17808
17800
  spec: {
17809
17801
  [key: string]: unknown;
17810
17802
  };
@@ -22332,6 +22324,10 @@ export type LookupsListResponses = {
22332
22324
  archived: boolean;
22333
22325
  changesetId: string | null;
22334
22326
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
22327
+ /**
22328
+ * The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
22329
+ */
22330
+ connectorId?: string | null;
22335
22331
  createdAt: string;
22336
22332
  createdByUserId: string | null;
22337
22333
  deleted?: boolean;
@@ -22413,6 +22409,10 @@ export type LookupsCreateData = {
22413
22409
  body: {
22414
22410
  archived?: boolean;
22415
22411
  changesetId?: string;
22412
+ /**
22413
+ * State connector that fills this lookup. The lookup is deployed and backed by a table that reads the connector. Set at create and cannot change.
22414
+ */
22415
+ connectorId?: string;
22416
22416
  /**
22417
22417
  * Whether the lookup is deployed. A deployed lookup has a backing dataset that queries can join against.
22418
22418
  */
@@ -22421,7 +22421,10 @@ export type LookupsCreateData = {
22421
22421
  keyColumns?: Array<string>;
22422
22422
  name: string;
22423
22423
  originKey?: string;
22424
- query: string;
22424
+ /**
22425
+ * The Hamelin query. Optional when connectorId is set: the default query is FROM source | SET source_id = state.id. A custom query must start with FROM source and must output a string column source_id.
22426
+ */
22427
+ query?: string;
22425
22428
  sourceFormat?: 'parsed_lines' | 'csv';
22426
22429
  spaceId: string;
22427
22430
  };
@@ -22474,6 +22477,10 @@ export type LookupsCreateResponses = {
22474
22477
  archived: boolean;
22475
22478
  changesetId: string | null;
22476
22479
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
22480
+ /**
22481
+ * The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
22482
+ */
22483
+ connectorId?: string | null;
22477
22484
  createdAt: string;
22478
22485
  createdByUserId: string | null;
22479
22486
  deleted?: boolean;
@@ -22625,6 +22632,10 @@ export type LookupsGetByIdResponses = {
22625
22632
  archived: boolean;
22626
22633
  changesetId: string | null;
22627
22634
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
22635
+ /**
22636
+ * The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
22637
+ */
22638
+ connectorId?: string | null;
22628
22639
  createdAt: string;
22629
22640
  createdByUserId: string | null;
22630
22641
  deleted?: boolean;
@@ -22749,6 +22760,10 @@ export type LookupsUpdateResponses = {
22749
22760
  archived: boolean;
22750
22761
  changesetId: string | null;
22751
22762
  changesetStatus: 'Unchanged' | 'Added' | 'Modified' | 'Deleted' | null;
22763
+ /**
22764
+ * The state connector that fills this lookup. Null for a lookup that does not use a connector. Set at create and cannot change.
22765
+ */
22766
+ connectorId?: string | null;
22752
22767
  createdAt: string;
22753
22768
  createdByUserId: string | null;
22754
22769
  deleted?: boolean;