@rlvt/datasources-openapi-client 1.0.370 → 1.0.372

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/build/api.d.ts CHANGED
@@ -16,6 +16,19 @@ export default class {
16
16
  private deleteOauthClient;
17
17
  private getAuthorizeUrl;
18
18
  private getAuthorizeUrlForDatasource;
19
+ private listDatagraphSchemas;
20
+ private createSchema;
21
+ private validateDatagraphSchema;
22
+ private getDatagraphSchema;
23
+ private updateDatagraphSchema;
24
+ private deleteDatagraphSchema;
25
+ private publishDatagraphSchema;
26
+ private listDatagraphEntities;
27
+ private createEntity;
28
+ private getDatagraphEntity;
29
+ private updateDatagraphEntity;
30
+ private deleteDatagraphEntity;
31
+ private publishDatagraphEntity;
19
32
  private getCurrentStepDatasource;
20
33
  private validateStepDatasource;
21
34
  private getDatasourceSettings;
@@ -31,25 +44,13 @@ export default class {
31
44
  private getDatasource;
32
45
  private deleteDatasource;
33
46
  private getDatasourceExample;
47
+ private anonymizeDatasource;
34
48
  private uploadFileWorkerDatasource;
35
49
  private promoteWorkerDatasource;
36
50
  private pauseWorkerDatasource;
37
51
  private getPushPassword;
38
52
  private analyzeWorkerDatasource;
39
53
  private analyzeProxyDatasource;
40
- private listDatagraphSchemas;
41
- private createSchema;
42
- private validateDatagraphSchema;
43
- private getDatagraphSchema;
44
- private updateDatagraphSchema;
45
- private deleteDatagraphSchema;
46
- private publishDatagraphSchema;
47
- private listDatagraphEntities;
48
- private createEntity;
49
- private getDatagraphEntity;
50
- private updateDatagraphEntity;
51
- private deleteDatagraphEntity;
52
- private publishDatagraphEntity;
53
54
  get Datasource(): {
54
55
  listTemplates: (params: {
55
56
  name?: string | undefined;
@@ -145,6 +146,9 @@ export default class {
145
146
  readonly createdAt: string & {
146
147
  readonly?: "__readonly" | undefined;
147
148
  };
149
+ readonly updatedAt: string & {
150
+ readonly?: "__readonly" | undefined;
151
+ };
148
152
  hidden: boolean;
149
153
  template: {
150
154
  datasource: {
@@ -942,8 +946,8 @@ export default class {
942
946
  query?: string | undefined;
943
947
  username?: string | undefined;
944
948
  password?: string | undefined;
945
- privateKey?: string | undefined;
946
949
  schema?: string | undefined;
950
+ privateKey?: string | undefined;
947
951
  table?: string | undefined;
948
952
  account?: string | undefined;
949
953
  warehouse?: string | undefined;
@@ -1859,8 +1863,8 @@ export default class {
1859
1863
  query?: string | undefined;
1860
1864
  username?: string | undefined;
1861
1865
  password?: string | undefined;
1862
- privateKey?: string | undefined;
1863
1866
  schema?: string | undefined;
1867
+ privateKey?: string | undefined;
1864
1868
  table?: string | undefined;
1865
1869
  account?: string | undefined;
1866
1870
  warehouse?: string | undefined;
@@ -2882,8 +2886,8 @@ export default class {
2882
2886
  query?: string | undefined;
2883
2887
  username?: string | undefined;
2884
2888
  password?: string | undefined;
2885
- privateKey?: string | undefined;
2886
2889
  schema?: string | undefined;
2890
+ privateKey?: string | undefined;
2887
2891
  table?: string | undefined;
2888
2892
  account?: string | undefined;
2889
2893
  warehouse?: string | undefined;
@@ -3799,8 +3803,8 @@ export default class {
3799
3803
  query?: string | undefined;
3800
3804
  username?: string | undefined;
3801
3805
  password?: string | undefined;
3802
- privateKey?: string | undefined;
3803
3806
  schema?: string | undefined;
3807
+ privateKey?: string | undefined;
3804
3808
  table?: string | undefined;
3805
3809
  account?: string | undefined;
3806
3810
  warehouse?: string | undefined;
@@ -4199,14 +4203,6 @@ export default class {
4199
4203
  };
4200
4204
  } | undefined;
4201
4205
  storageOptions?: {
4202
- destinations: {
4203
- type: "bigquery";
4204
- dataset: string;
4205
- tableName: string;
4206
- deduplicateOptions?: {
4207
- enabled: boolean;
4208
- } | undefined;
4209
- }[];
4210
4206
  partitionCount: number;
4211
4207
  segments: {
4212
4208
  offlineSize: number;
@@ -4218,6 +4214,14 @@ export default class {
4218
4214
  value: number;
4219
4215
  unit: "DAYS";
4220
4216
  } | undefined;
4217
+ destinations: {
4218
+ type: "bigquery";
4219
+ dataset: string;
4220
+ tableName: string;
4221
+ deduplicateOptions?: {
4222
+ enabled: boolean;
4223
+ } | undefined;
4224
+ }[];
4221
4225
  } | undefined;
4222
4226
  };
4223
4227
  version: {
@@ -4802,14 +4806,6 @@ export default class {
4802
4806
  };
4803
4807
  } | undefined;
4804
4808
  storageOptions?: {
4805
- destinations: {
4806
- type: "bigquery";
4807
- dataset: string;
4808
- tableName: string;
4809
- deduplicateOptions?: {
4810
- enabled: boolean;
4811
- } | undefined;
4812
- }[];
4813
4809
  partitionCount: number;
4814
4810
  segments: {
4815
4811
  offlineSize: number;
@@ -4821,6 +4817,14 @@ export default class {
4821
4817
  value: number;
4822
4818
  unit: "DAYS";
4823
4819
  } | undefined;
4820
+ destinations: {
4821
+ type: "bigquery";
4822
+ dataset: string;
4823
+ tableName: string;
4824
+ deduplicateOptions?: {
4825
+ enabled: boolean;
4826
+ } | undefined;
4827
+ }[];
4824
4828
  } | undefined;
4825
4829
  };
4826
4830
  version: {
@@ -5001,9 +5005,6 @@ export default class {
5001
5005
  }) | undefined;
5002
5006
  };
5003
5007
  };
5004
- readonly updatedAt: string & {
5005
- readonly?: "__readonly" | undefined;
5006
- };
5007
5008
  icon: string;
5008
5009
  slug: string;
5009
5010
  feature?: string | undefined;
@@ -5201,7 +5202,7 @@ export default class {
5201
5202
  includeArchived?: boolean | undefined;
5202
5203
  includeHidden?: boolean | undefined;
5203
5204
  select?: string[] | undefined;
5204
- sortBy?: "configurationUpdatedAt" | "createdAt" | undefined;
5205
+ sortBy?: "createdAt" | "configurationUpdatedAt" | undefined;
5205
5206
  sortOrder?: "asc" | "desc" | undefined;
5206
5207
  hierarchy?: string[] | undefined;
5207
5208
  page?: number | undefined;
@@ -5223,12 +5224,152 @@ export default class {
5223
5224
  };
5224
5225
  companyId: string;
5225
5226
  resourceGroupIds: string[];
5226
- readonly configurationUpdatedAt: string & {
5227
+ versions: (string | {
5228
+ mode: DatasourceMode;
5229
+ readonly id: string & {
5230
+ readonly?: "__readonly" | undefined;
5231
+ };
5232
+ type: {
5233
+ name: "analytics";
5234
+ options: {
5235
+ autoExclusions?: boolean | undefined;
5236
+ noStats?: boolean | undefined;
5237
+ };
5238
+ subtype: "purchases";
5239
+ } | {
5240
+ name: "generic";
5241
+ subtype: import("./definitions").DatasourceGenericSubType;
5242
+ } | {
5243
+ name: "crm";
5244
+ subtype: import("./definitions").DatasourceCRMSubType;
5245
+ } | {
5246
+ name: "product";
5247
+ subtype: import("./definitions").DatasourceProductSubType;
5248
+ } | {
5249
+ name: "location";
5250
+ subtype: import("./definitions").DatasourceLocationSubType;
5251
+ } | {
5252
+ name: "analytics";
5253
+ subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
5254
+ } | {
5255
+ name: "push";
5256
+ subtype: "email";
5257
+ } | {
5258
+ name: "loop";
5259
+ subtype: import("./definitions").DatasourceLoopSubType;
5260
+ };
5261
+ fieldsMap: {
5262
+ name: string;
5263
+ source?: FieldSource | undefined;
5264
+ type: FieldMapType;
5265
+ selected: boolean;
5266
+ ignoreIfMissing?: boolean | undefined;
5267
+ metadata?: {
5268
+ locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
5269
+ } | undefined;
5270
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
5271
+ readonly?: "__readonly" | undefined;
5272
+ };
5273
+ }[];
5274
+ readonly health: ("ERROR" | "WARNING" | "OK") & {
5275
+ readonly?: "__readonly" | undefined;
5276
+ };
5277
+ readonly state: import("./definitions").DatasourceVersionState & {
5278
+ readonly?: "__readonly" | undefined;
5279
+ };
5280
+ readonly pendingSteps?: ({
5281
+ name: "configure_name";
5282
+ } | {
5283
+ name: "configure_resource_group_ids";
5284
+ } | {
5285
+ name: "configure_sources";
5286
+ } | {
5287
+ name: "configure_fields";
5288
+ } | {
5289
+ name: "configure_field";
5290
+ field: {
5291
+ name: string;
5292
+ type: FieldMapType;
5293
+ };
5294
+ } | {
5295
+ name: "create_oauth_client";
5296
+ configurationId: string;
5297
+ } | {
5298
+ name: "authorize_oauth_client";
5299
+ slug: string;
5300
+ } | {
5301
+ name: "configure_thresholds";
5302
+ } | {
5303
+ name: "configure_api_key";
5304
+ slug: "partoo";
5305
+ } | {
5306
+ name: "patch";
5307
+ } | {
5308
+ name: "validate";
5309
+ } | {
5310
+ name: "configure_google_tag_manager";
5311
+ } | {
5312
+ name: "configure_reelevant_analytics_script";
5313
+ } | {
5314
+ name: "configure_product_datasource_source";
5315
+ } | {
5316
+ name: "configure_tracking_datasource_source";
5317
+ } | {
5318
+ name: "configure_best_product_query";
5319
+ } | {
5320
+ name: "configure_best_product_field";
5321
+ } | {
5322
+ name: "configure_fetcher";
5323
+ } | {
5324
+ name: "configure_merge_datasource_source";
5325
+ } | {
5326
+ name: "configure_merge_datasource_dependency";
5327
+ } | {
5328
+ name: "configure_merge_mapping";
5329
+ } | {
5330
+ name: "configure_bought_together";
5331
+ } | {
5332
+ name: "configure_top_attributes";
5333
+ } | {
5334
+ name: "configure_destination";
5335
+ type: "smtp";
5336
+ } | {
5337
+ name: "configure_hierarchy";
5338
+ } | {
5339
+ name: "google_my_business_set_url";
5340
+ urls: {
5341
+ getAccount: string;
5342
+ final: string;
5343
+ };
5344
+ } | {
5345
+ name: "setup_instagram";
5346
+ urls: {
5347
+ getAccount: string;
5348
+ final: string;
5349
+ getAccountInfos: string;
5350
+ };
5351
+ })[] | undefined;
5352
+ readonly availableFieldsTypes: FieldMapType[];
5353
+ readonly requiredFieldsTypes: {
5354
+ [x: string]: FieldMapType;
5355
+ }[];
5356
+ readonly uniqueFieldsTypes: FieldMapType[];
5357
+ readonly importantFieldsTypes: FieldMapType[];
5358
+ _id: string;
5359
+ __v: number;
5360
+ })[];
5361
+ readonly archivedAt: string & {
5227
5362
  readonly?: "__readonly" | undefined;
5228
5363
  };
5229
5364
  readonly createdAt: string & {
5230
5365
  readonly?: "__readonly" | undefined;
5231
5366
  };
5367
+ readonly updatedAt: string & {
5368
+ readonly?: "__readonly" | undefined;
5369
+ };
5370
+ readonly configurationUpdatedAt: string & {
5371
+ readonly?: "__readonly" | undefined;
5372
+ };
5232
5373
  hierarchy: string[];
5233
5374
  hidden: boolean;
5234
5375
  readonly template?: (string & {
@@ -5308,14 +5449,6 @@ export default class {
5308
5449
  };
5309
5450
  };
5310
5451
  storageOptions: {
5311
- destinations: {
5312
- type: "bigquery";
5313
- dataset: string;
5314
- tableName: string;
5315
- deduplicateOptions?: {
5316
- enabled: boolean;
5317
- } | undefined;
5318
- }[];
5319
5452
  partitionCount: number;
5320
5453
  segments: {
5321
5454
  offlineSize: number;
@@ -5327,10 +5460,36 @@ export default class {
5327
5460
  value: number;
5328
5461
  unit: "DAYS";
5329
5462
  } | undefined;
5463
+ destinations: {
5464
+ type: "bigquery";
5465
+ dataset: string;
5466
+ tableName: string;
5467
+ deduplicateOptions?: {
5468
+ enabled: boolean;
5469
+ } | undefined;
5470
+ }[];
5330
5471
  };
5331
- readonly archivedAt: string & {
5472
+ readonly lastSuccessfulIngestion?: (string & {
5473
+ readonly?: "__readonly" | undefined;
5474
+ }) | undefined;
5475
+ readonly lastFailedIngestion?: (string & {
5476
+ readonly?: "__readonly" | undefined;
5477
+ }) | undefined;
5478
+ readonly lastFailureReason?: (string & {
5479
+ readonly?: "__readonly" | undefined;
5480
+ }) | undefined;
5481
+ readonly hasWarnings: boolean & {
5332
5482
  readonly?: "__readonly" | undefined;
5333
5483
  };
5484
+ } | {
5485
+ name: string;
5486
+ mode: "worker";
5487
+ status: DatasourceStatus;
5488
+ readonly id: string & {
5489
+ readonly?: "__readonly" | undefined;
5490
+ };
5491
+ companyId: string;
5492
+ resourceGroupIds: string[];
5334
5493
  versions: (string | {
5335
5494
  mode: DatasourceMode;
5336
5495
  readonly id: string & {
@@ -5465,39 +5624,21 @@ export default class {
5465
5624
  _id: string;
5466
5625
  __v: number;
5467
5626
  })[];
5468
- readonly lastSuccessfulIngestion?: (string & {
5469
- readonly?: "__readonly" | undefined;
5470
- }) | undefined;
5471
- readonly lastFailedIngestion?: (string & {
5472
- readonly?: "__readonly" | undefined;
5473
- }) | undefined;
5474
- readonly lastFailureReason?: (string & {
5475
- readonly?: "__readonly" | undefined;
5476
- }) | undefined;
5477
- readonly hasWarnings: boolean & {
5627
+ readonly archivedAt: string & {
5478
5628
  readonly?: "__readonly" | undefined;
5479
5629
  };
5480
- readonly updatedAt: string & {
5630
+ readonly createdAt: string & {
5481
5631
  readonly?: "__readonly" | undefined;
5482
5632
  };
5483
- } | {
5484
- name: string;
5485
- mode: "worker";
5486
- status: DatasourceStatus;
5487
- readonly id: string & {
5633
+ readonly updatedAt: string & {
5488
5634
  readonly?: "__readonly" | undefined;
5489
5635
  };
5490
- companyId: string;
5491
- resourceGroupIds: string[];
5492
5636
  readonly contentVersion: number & {
5493
5637
  readonly?: "__readonly" | undefined;
5494
5638
  };
5495
5639
  readonly configurationUpdatedAt: string & {
5496
5640
  readonly?: "__readonly" | undefined;
5497
5641
  };
5498
- readonly createdAt: string & {
5499
- readonly?: "__readonly" | undefined;
5500
- };
5501
5642
  hierarchy: string[];
5502
5643
  hidden: boolean;
5503
5644
  readonly template?: (string & {
@@ -5586,9 +5727,58 @@ export default class {
5586
5727
  } | undefined;
5587
5728
  }[];
5588
5729
  };
5589
- readonly archivedAt: string & {
5730
+ readonly lastSuccessfulIngestion?: (string & {
5731
+ readonly?: "__readonly" | undefined;
5732
+ }) | undefined;
5733
+ readonly lastFailedIngestion?: (string & {
5734
+ readonly?: "__readonly" | undefined;
5735
+ }) | undefined;
5736
+ readonly lastFailureReason?: (string & {
5737
+ readonly?: "__readonly" | undefined;
5738
+ }) | undefined;
5739
+ readonly hasWarnings: boolean & {
5590
5740
  readonly?: "__readonly" | undefined;
5591
5741
  };
5742
+ thresholds: {
5743
+ type: "too_many_invalid_entries";
5744
+ value: number;
5745
+ trigger: {
5746
+ type: "error";
5747
+ value: "too_many_invalid_entries";
5748
+ };
5749
+ }[] | {
5750
+ type: "entries_drop_rate_too_high";
5751
+ value: number;
5752
+ trigger: {
5753
+ type: "warning";
5754
+ value: "entries_drop_rate_too_high";
5755
+ } | {
5756
+ type: "error";
5757
+ value: "entries_drop_rate_too_high";
5758
+ };
5759
+ }[];
5760
+ attempts?: number | undefined;
5761
+ readonly lastRunAt: string & {
5762
+ readonly?: "__readonly" | undefined;
5763
+ };
5764
+ readonly currentLiveVersion: string & {
5765
+ readonly?: "__readonly" | undefined;
5766
+ };
5767
+ readonly pausedAt: string & {
5768
+ readonly?: "__readonly" | undefined;
5769
+ };
5770
+ readonly isPaused: boolean & {
5771
+ readonly?: "__readonly" | undefined;
5772
+ };
5773
+ } | {
5774
+ name: string;
5775
+ mode: "proxy";
5776
+ status: DatasourceStatus;
5777
+ readonly id: string & {
5778
+ readonly?: "__readonly" | undefined;
5779
+ };
5780
+ companyId: string;
5781
+ resourceGroupIds: string[];
5592
5782
  versions: (string | {
5593
5783
  mode: DatasourceMode;
5594
5784
  readonly id: string & {
@@ -5723,67 +5913,18 @@ export default class {
5723
5913
  _id: string;
5724
5914
  __v: number;
5725
5915
  })[];
5726
- readonly lastSuccessfulIngestion?: (string & {
5727
- readonly?: "__readonly" | undefined;
5728
- }) | undefined;
5729
- readonly lastFailedIngestion?: (string & {
5730
- readonly?: "__readonly" | undefined;
5731
- }) | undefined;
5732
- readonly lastFailureReason?: (string & {
5733
- readonly?: "__readonly" | undefined;
5734
- }) | undefined;
5735
- readonly hasWarnings: boolean & {
5736
- readonly?: "__readonly" | undefined;
5737
- };
5738
- readonly updatedAt: string & {
5739
- readonly?: "__readonly" | undefined;
5740
- };
5741
- thresholds: {
5742
- type: "too_many_invalid_entries";
5743
- value: number;
5744
- trigger: {
5745
- type: "error";
5746
- value: "too_many_invalid_entries";
5747
- };
5748
- }[] | {
5749
- type: "entries_drop_rate_too_high";
5750
- value: number;
5751
- trigger: {
5752
- type: "warning";
5753
- value: "entries_drop_rate_too_high";
5754
- } | {
5755
- type: "error";
5756
- value: "entries_drop_rate_too_high";
5757
- };
5758
- }[];
5759
- attempts?: number | undefined;
5760
- readonly lastRunAt: string & {
5761
- readonly?: "__readonly" | undefined;
5762
- };
5763
- readonly currentLiveVersion: string & {
5764
- readonly?: "__readonly" | undefined;
5765
- };
5766
- readonly pausedAt: string & {
5916
+ readonly archivedAt: string & {
5767
5917
  readonly?: "__readonly" | undefined;
5768
5918
  };
5769
- readonly isPaused: boolean & {
5919
+ readonly createdAt: string & {
5770
5920
  readonly?: "__readonly" | undefined;
5771
5921
  };
5772
- } | {
5773
- name: string;
5774
- mode: "proxy";
5775
- status: DatasourceStatus;
5776
- readonly id: string & {
5922
+ readonly updatedAt: string & {
5777
5923
  readonly?: "__readonly" | undefined;
5778
5924
  };
5779
- companyId: string;
5780
- resourceGroupIds: string[];
5781
5925
  readonly configurationUpdatedAt: string & {
5782
5926
  readonly?: "__readonly" | undefined;
5783
5927
  };
5784
- readonly createdAt: string & {
5785
- readonly?: "__readonly" | undefined;
5786
- };
5787
5928
  hierarchy: string[];
5788
5929
  hidden: boolean;
5789
5930
  readonly template?: (string & {
@@ -5862,9 +6003,27 @@ export default class {
5862
6003
  outputField: string;
5863
6004
  };
5864
6005
  };
5865
- readonly archivedAt: string & {
6006
+ readonly lastSuccessfulIngestion?: (string & {
6007
+ readonly?: "__readonly" | undefined;
6008
+ }) | undefined;
6009
+ readonly lastFailedIngestion?: (string & {
6010
+ readonly?: "__readonly" | undefined;
6011
+ }) | undefined;
6012
+ readonly lastFailureReason?: (string & {
6013
+ readonly?: "__readonly" | undefined;
6014
+ }) | undefined;
6015
+ readonly hasWarnings: boolean & {
6016
+ readonly?: "__readonly" | undefined;
6017
+ };
6018
+ } | {
6019
+ name: string;
6020
+ mode: "ingester";
6021
+ status: DatasourceStatus;
6022
+ readonly id: string & {
5866
6023
  readonly?: "__readonly" | undefined;
5867
6024
  };
6025
+ companyId: string;
6026
+ resourceGroupIds: string[];
5868
6027
  versions: (string | {
5869
6028
  mode: DatasourceMode;
5870
6029
  readonly id: string & {
@@ -5999,36 +6158,18 @@ export default class {
5999
6158
  _id: string;
6000
6159
  __v: number;
6001
6160
  })[];
6002
- readonly lastSuccessfulIngestion?: (string & {
6003
- readonly?: "__readonly" | undefined;
6004
- }) | undefined;
6005
- readonly lastFailedIngestion?: (string & {
6006
- readonly?: "__readonly" | undefined;
6007
- }) | undefined;
6008
- readonly lastFailureReason?: (string & {
6009
- readonly?: "__readonly" | undefined;
6010
- }) | undefined;
6011
- readonly hasWarnings: boolean & {
6161
+ readonly archivedAt: string & {
6012
6162
  readonly?: "__readonly" | undefined;
6013
6163
  };
6014
- readonly updatedAt: string & {
6164
+ readonly createdAt: string & {
6015
6165
  readonly?: "__readonly" | undefined;
6016
6166
  };
6017
- } | {
6018
- name: string;
6019
- mode: "ingester";
6020
- status: DatasourceStatus;
6021
- readonly id: string & {
6167
+ readonly updatedAt: string & {
6022
6168
  readonly?: "__readonly" | undefined;
6023
6169
  };
6024
- companyId: string;
6025
- resourceGroupIds: string[];
6026
6170
  readonly configurationUpdatedAt: string & {
6027
6171
  readonly?: "__readonly" | undefined;
6028
6172
  };
6029
- readonly createdAt: string & {
6030
- readonly?: "__readonly" | undefined;
6031
- };
6032
6173
  hierarchy: string[];
6033
6174
  hidden: boolean;
6034
6175
  readonly template?: (string & {
@@ -6108,14 +6249,6 @@ export default class {
6108
6249
  };
6109
6250
  };
6110
6251
  storageOptions: {
6111
- destinations: {
6112
- type: "bigquery";
6113
- dataset: string;
6114
- tableName: string;
6115
- deduplicateOptions?: {
6116
- enabled: boolean;
6117
- } | undefined;
6118
- }[];
6119
6252
  partitionCount: number;
6120
6253
  segments: {
6121
6254
  offlineSize: number;
@@ -6127,10 +6260,36 @@ export default class {
6127
6260
  value: number;
6128
6261
  unit: "DAYS";
6129
6262
  } | undefined;
6263
+ destinations: {
6264
+ type: "bigquery";
6265
+ dataset: string;
6266
+ tableName: string;
6267
+ deduplicateOptions?: {
6268
+ enabled: boolean;
6269
+ } | undefined;
6270
+ }[];
6130
6271
  };
6131
- readonly archivedAt: string & {
6272
+ readonly lastSuccessfulIngestion?: (string & {
6273
+ readonly?: "__readonly" | undefined;
6274
+ }) | undefined;
6275
+ readonly lastFailedIngestion?: (string & {
6276
+ readonly?: "__readonly" | undefined;
6277
+ }) | undefined;
6278
+ readonly lastFailureReason?: (string & {
6279
+ readonly?: "__readonly" | undefined;
6280
+ }) | undefined;
6281
+ readonly hasWarnings: boolean & {
6132
6282
  readonly?: "__readonly" | undefined;
6133
6283
  };
6284
+ } | {
6285
+ name: string;
6286
+ mode: "pubsub";
6287
+ status: DatasourceStatus;
6288
+ readonly id: string & {
6289
+ readonly?: "__readonly" | undefined;
6290
+ };
6291
+ companyId: string;
6292
+ resourceGroupIds: string[];
6134
6293
  versions: (string | {
6135
6294
  mode: DatasourceMode;
6136
6295
  readonly id: string & {
@@ -6265,36 +6424,18 @@ export default class {
6265
6424
  _id: string;
6266
6425
  __v: number;
6267
6426
  })[];
6268
- readonly lastSuccessfulIngestion?: (string & {
6269
- readonly?: "__readonly" | undefined;
6270
- }) | undefined;
6271
- readonly lastFailedIngestion?: (string & {
6272
- readonly?: "__readonly" | undefined;
6273
- }) | undefined;
6274
- readonly lastFailureReason?: (string & {
6275
- readonly?: "__readonly" | undefined;
6276
- }) | undefined;
6277
- readonly hasWarnings: boolean & {
6427
+ readonly archivedAt: string & {
6278
6428
  readonly?: "__readonly" | undefined;
6279
6429
  };
6280
- readonly updatedAt: string & {
6430
+ readonly createdAt: string & {
6281
6431
  readonly?: "__readonly" | undefined;
6282
6432
  };
6283
- } | {
6284
- name: string;
6285
- mode: "pubsub";
6286
- status: DatasourceStatus;
6287
- readonly id: string & {
6433
+ readonly updatedAt: string & {
6288
6434
  readonly?: "__readonly" | undefined;
6289
6435
  };
6290
- companyId: string;
6291
- resourceGroupIds: string[];
6292
6436
  readonly configurationUpdatedAt: string & {
6293
6437
  readonly?: "__readonly" | undefined;
6294
6438
  };
6295
- readonly createdAt: string & {
6296
- readonly?: "__readonly" | undefined;
6297
- };
6298
6439
  hierarchy: string[];
6299
6440
  hidden: boolean;
6300
6441
  readonly template?: (string & {
@@ -6374,14 +6515,6 @@ export default class {
6374
6515
  };
6375
6516
  };
6376
6517
  storageOptions: {
6377
- destinations: {
6378
- type: "bigquery";
6379
- dataset: string;
6380
- tableName: string;
6381
- deduplicateOptions?: {
6382
- enabled: boolean;
6383
- } | undefined;
6384
- }[];
6385
6518
  partitionCount: number;
6386
6519
  segments: {
6387
6520
  offlineSize: number;
@@ -6393,10 +6526,82 @@ export default class {
6393
6526
  value: number;
6394
6527
  unit: "DAYS";
6395
6528
  } | undefined;
6529
+ destinations: {
6530
+ type: "bigquery";
6531
+ dataset: string;
6532
+ tableName: string;
6533
+ deduplicateOptions?: {
6534
+ enabled: boolean;
6535
+ } | undefined;
6536
+ }[];
6396
6537
  };
6397
- readonly archivedAt: string & {
6538
+ readonly lastSuccessfulIngestion?: (string & {
6539
+ readonly?: "__readonly" | undefined;
6540
+ }) | undefined;
6541
+ readonly lastFailedIngestion?: (string & {
6542
+ readonly?: "__readonly" | undefined;
6543
+ }) | undefined;
6544
+ readonly lastFailureReason?: (string & {
6545
+ readonly?: "__readonly" | undefined;
6546
+ }) | undefined;
6547
+ readonly hasWarnings: boolean & {
6398
6548
  readonly?: "__readonly" | undefined;
6399
6549
  };
6550
+ })[];
6551
+ program: string;
6552
+ version: string;
6553
+ status: string;
6554
+ code?: number | undefined;
6555
+ message: string;
6556
+ }, any, {}>>;
6557
+ create: (params: Record<string, never>, data: {
6558
+ mode?: DatasourceMode | undefined;
6559
+ name?: string | undefined;
6560
+ type?: {
6561
+ name: "push";
6562
+ subtype: "email";
6563
+ } | {
6564
+ name: "analytics";
6565
+ subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
6566
+ } | {
6567
+ name: "analytics";
6568
+ subtype: "purchases";
6569
+ options: {
6570
+ autoExclusions?: boolean | undefined;
6571
+ noStats?: boolean | undefined;
6572
+ };
6573
+ } | {
6574
+ name: "generic";
6575
+ subtype: import("./definitions").DatasourceGenericSubType;
6576
+ } | {
6577
+ name: "crm";
6578
+ subtype: import("./definitions").DatasourceCRMSubType;
6579
+ } | {
6580
+ name: "product";
6581
+ subtype: import("./definitions").DatasourceProductSubType;
6582
+ } | {
6583
+ name: "location";
6584
+ subtype: import("./definitions").DatasourceLocationSubType;
6585
+ } | {
6586
+ name: "loop";
6587
+ subtype: import("./definitions").DatasourceLoopSubType;
6588
+ } | undefined;
6589
+ hidden?: boolean | undefined;
6590
+ } | {
6591
+ fromTemplate: string;
6592
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
6593
+ status: "success";
6594
+ } & {
6595
+ datetime: string;
6596
+ data: {
6597
+ name: string;
6598
+ mode: "push";
6599
+ status: DatasourceStatus;
6600
+ readonly id: string & {
6601
+ readonly?: "__readonly" | undefined;
6602
+ };
6603
+ companyId: string;
6604
+ resourceGroupIds: string[];
6400
6605
  versions: (string | {
6401
6606
  mode: DatasourceMode;
6402
6607
  readonly id: string & {
@@ -6531,82 +6736,18 @@ export default class {
6531
6736
  _id: string;
6532
6737
  __v: number;
6533
6738
  })[];
6534
- readonly lastSuccessfulIngestion?: (string & {
6535
- readonly?: "__readonly" | undefined;
6536
- }) | undefined;
6537
- readonly lastFailedIngestion?: (string & {
6538
- readonly?: "__readonly" | undefined;
6539
- }) | undefined;
6540
- readonly lastFailureReason?: (string & {
6541
- readonly?: "__readonly" | undefined;
6542
- }) | undefined;
6543
- readonly hasWarnings: boolean & {
6739
+ readonly archivedAt: string & {
6544
6740
  readonly?: "__readonly" | undefined;
6545
6741
  };
6546
- readonly updatedAt: string & {
6742
+ readonly createdAt: string & {
6547
6743
  readonly?: "__readonly" | undefined;
6548
6744
  };
6549
- })[];
6550
- program: string;
6551
- version: string;
6552
- status: string;
6553
- code?: number | undefined;
6554
- message: string;
6555
- }, any, {}>>;
6556
- create: (params: Record<string, never>, data: {
6557
- mode?: DatasourceMode | undefined;
6558
- name?: string | undefined;
6559
- type?: {
6560
- name: "push";
6561
- subtype: "email";
6562
- } | {
6563
- name: "analytics";
6564
- subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
6565
- } | {
6566
- name: "analytics";
6567
- subtype: "purchases";
6568
- options: {
6569
- autoExclusions?: boolean | undefined;
6570
- noStats?: boolean | undefined;
6571
- };
6572
- } | {
6573
- name: "generic";
6574
- subtype: import("./definitions").DatasourceGenericSubType;
6575
- } | {
6576
- name: "crm";
6577
- subtype: import("./definitions").DatasourceCRMSubType;
6578
- } | {
6579
- name: "product";
6580
- subtype: import("./definitions").DatasourceProductSubType;
6581
- } | {
6582
- name: "location";
6583
- subtype: import("./definitions").DatasourceLocationSubType;
6584
- } | {
6585
- name: "loop";
6586
- subtype: import("./definitions").DatasourceLoopSubType;
6587
- } | undefined;
6588
- hidden?: boolean | undefined;
6589
- } | {
6590
- fromTemplate: string;
6591
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
6592
- status: "success";
6593
- } & {
6594
- datetime: string;
6595
- data: {
6596
- name: string;
6597
- mode: "push";
6598
- status: DatasourceStatus;
6599
- readonly id: string & {
6745
+ readonly updatedAt: string & {
6600
6746
  readonly?: "__readonly" | undefined;
6601
6747
  };
6602
- companyId: string;
6603
- resourceGroupIds: string[];
6604
6748
  readonly configurationUpdatedAt: string & {
6605
6749
  readonly?: "__readonly" | undefined;
6606
6750
  };
6607
- readonly createdAt: string & {
6608
- readonly?: "__readonly" | undefined;
6609
- };
6610
6751
  hierarchy: string[];
6611
6752
  hidden: boolean;
6612
6753
  readonly template?: (string & {
@@ -6686,14 +6827,6 @@ export default class {
6686
6827
  };
6687
6828
  };
6688
6829
  storageOptions: {
6689
- destinations: {
6690
- type: "bigquery";
6691
- dataset: string;
6692
- tableName: string;
6693
- deduplicateOptions?: {
6694
- enabled: boolean;
6695
- } | undefined;
6696
- }[];
6697
6830
  partitionCount: number;
6698
6831
  segments: {
6699
6832
  offlineSize: number;
@@ -6705,10 +6838,36 @@ export default class {
6705
6838
  value: number;
6706
6839
  unit: "DAYS";
6707
6840
  } | undefined;
6841
+ destinations: {
6842
+ type: "bigquery";
6843
+ dataset: string;
6844
+ tableName: string;
6845
+ deduplicateOptions?: {
6846
+ enabled: boolean;
6847
+ } | undefined;
6848
+ }[];
6708
6849
  };
6709
- readonly archivedAt: string & {
6850
+ readonly lastSuccessfulIngestion?: (string & {
6851
+ readonly?: "__readonly" | undefined;
6852
+ }) | undefined;
6853
+ readonly lastFailedIngestion?: (string & {
6854
+ readonly?: "__readonly" | undefined;
6855
+ }) | undefined;
6856
+ readonly lastFailureReason?: (string & {
6857
+ readonly?: "__readonly" | undefined;
6858
+ }) | undefined;
6859
+ readonly hasWarnings: boolean & {
6710
6860
  readonly?: "__readonly" | undefined;
6711
6861
  };
6862
+ } | {
6863
+ name: string;
6864
+ mode: "worker";
6865
+ status: DatasourceStatus;
6866
+ readonly id: string & {
6867
+ readonly?: "__readonly" | undefined;
6868
+ };
6869
+ companyId: string;
6870
+ resourceGroupIds: string[];
6712
6871
  versions: (string | {
6713
6872
  mode: DatasourceMode;
6714
6873
  readonly id: string & {
@@ -6843,39 +7002,21 @@ export default class {
6843
7002
  _id: string;
6844
7003
  __v: number;
6845
7004
  })[];
6846
- readonly lastSuccessfulIngestion?: (string & {
6847
- readonly?: "__readonly" | undefined;
6848
- }) | undefined;
6849
- readonly lastFailedIngestion?: (string & {
6850
- readonly?: "__readonly" | undefined;
6851
- }) | undefined;
6852
- readonly lastFailureReason?: (string & {
6853
- readonly?: "__readonly" | undefined;
6854
- }) | undefined;
6855
- readonly hasWarnings: boolean & {
7005
+ readonly archivedAt: string & {
6856
7006
  readonly?: "__readonly" | undefined;
6857
7007
  };
6858
- readonly updatedAt: string & {
7008
+ readonly createdAt: string & {
6859
7009
  readonly?: "__readonly" | undefined;
6860
7010
  };
6861
- } | {
6862
- name: string;
6863
- mode: "worker";
6864
- status: DatasourceStatus;
6865
- readonly id: string & {
7011
+ readonly updatedAt: string & {
6866
7012
  readonly?: "__readonly" | undefined;
6867
7013
  };
6868
- companyId: string;
6869
- resourceGroupIds: string[];
6870
7014
  readonly contentVersion: number & {
6871
7015
  readonly?: "__readonly" | undefined;
6872
7016
  };
6873
7017
  readonly configurationUpdatedAt: string & {
6874
7018
  readonly?: "__readonly" | undefined;
6875
7019
  };
6876
- readonly createdAt: string & {
6877
- readonly?: "__readonly" | undefined;
6878
- };
6879
7020
  hierarchy: string[];
6880
7021
  hidden: boolean;
6881
7022
  readonly template?: (string & {
@@ -6964,9 +7105,58 @@ export default class {
6964
7105
  } | undefined;
6965
7106
  }[];
6966
7107
  };
6967
- readonly archivedAt: string & {
7108
+ readonly lastSuccessfulIngestion?: (string & {
7109
+ readonly?: "__readonly" | undefined;
7110
+ }) | undefined;
7111
+ readonly lastFailedIngestion?: (string & {
7112
+ readonly?: "__readonly" | undefined;
7113
+ }) | undefined;
7114
+ readonly lastFailureReason?: (string & {
7115
+ readonly?: "__readonly" | undefined;
7116
+ }) | undefined;
7117
+ readonly hasWarnings: boolean & {
7118
+ readonly?: "__readonly" | undefined;
7119
+ };
7120
+ thresholds: {
7121
+ type: "too_many_invalid_entries";
7122
+ value: number;
7123
+ trigger: {
7124
+ type: "error";
7125
+ value: "too_many_invalid_entries";
7126
+ };
7127
+ }[] | {
7128
+ type: "entries_drop_rate_too_high";
7129
+ value: number;
7130
+ trigger: {
7131
+ type: "warning";
7132
+ value: "entries_drop_rate_too_high";
7133
+ } | {
7134
+ type: "error";
7135
+ value: "entries_drop_rate_too_high";
7136
+ };
7137
+ }[];
7138
+ attempts?: number | undefined;
7139
+ readonly lastRunAt: string & {
7140
+ readonly?: "__readonly" | undefined;
7141
+ };
7142
+ readonly currentLiveVersion: string & {
7143
+ readonly?: "__readonly" | undefined;
7144
+ };
7145
+ readonly pausedAt: string & {
7146
+ readonly?: "__readonly" | undefined;
7147
+ };
7148
+ readonly isPaused: boolean & {
7149
+ readonly?: "__readonly" | undefined;
7150
+ };
7151
+ } | {
7152
+ name: string;
7153
+ mode: "proxy";
7154
+ status: DatasourceStatus;
7155
+ readonly id: string & {
6968
7156
  readonly?: "__readonly" | undefined;
6969
7157
  };
7158
+ companyId: string;
7159
+ resourceGroupIds: string[];
6970
7160
  versions: (string | {
6971
7161
  mode: DatasourceMode;
6972
7162
  readonly id: string & {
@@ -7101,67 +7291,18 @@ export default class {
7101
7291
  _id: string;
7102
7292
  __v: number;
7103
7293
  })[];
7104
- readonly lastSuccessfulIngestion?: (string & {
7105
- readonly?: "__readonly" | undefined;
7106
- }) | undefined;
7107
- readonly lastFailedIngestion?: (string & {
7108
- readonly?: "__readonly" | undefined;
7109
- }) | undefined;
7110
- readonly lastFailureReason?: (string & {
7111
- readonly?: "__readonly" | undefined;
7112
- }) | undefined;
7113
- readonly hasWarnings: boolean & {
7114
- readonly?: "__readonly" | undefined;
7115
- };
7116
- readonly updatedAt: string & {
7117
- readonly?: "__readonly" | undefined;
7118
- };
7119
- thresholds: {
7120
- type: "too_many_invalid_entries";
7121
- value: number;
7122
- trigger: {
7123
- type: "error";
7124
- value: "too_many_invalid_entries";
7125
- };
7126
- }[] | {
7127
- type: "entries_drop_rate_too_high";
7128
- value: number;
7129
- trigger: {
7130
- type: "warning";
7131
- value: "entries_drop_rate_too_high";
7132
- } | {
7133
- type: "error";
7134
- value: "entries_drop_rate_too_high";
7135
- };
7136
- }[];
7137
- attempts?: number | undefined;
7138
- readonly lastRunAt: string & {
7139
- readonly?: "__readonly" | undefined;
7140
- };
7141
- readonly currentLiveVersion: string & {
7142
- readonly?: "__readonly" | undefined;
7143
- };
7144
- readonly pausedAt: string & {
7294
+ readonly archivedAt: string & {
7145
7295
  readonly?: "__readonly" | undefined;
7146
7296
  };
7147
- readonly isPaused: boolean & {
7297
+ readonly createdAt: string & {
7148
7298
  readonly?: "__readonly" | undefined;
7149
7299
  };
7150
- } | {
7151
- name: string;
7152
- mode: "proxy";
7153
- status: DatasourceStatus;
7154
- readonly id: string & {
7300
+ readonly updatedAt: string & {
7155
7301
  readonly?: "__readonly" | undefined;
7156
7302
  };
7157
- companyId: string;
7158
- resourceGroupIds: string[];
7159
7303
  readonly configurationUpdatedAt: string & {
7160
7304
  readonly?: "__readonly" | undefined;
7161
7305
  };
7162
- readonly createdAt: string & {
7163
- readonly?: "__readonly" | undefined;
7164
- };
7165
7306
  hierarchy: string[];
7166
7307
  hidden: boolean;
7167
7308
  readonly template?: (string & {
@@ -7240,9 +7381,27 @@ export default class {
7240
7381
  outputField: string;
7241
7382
  };
7242
7383
  };
7243
- readonly archivedAt: string & {
7384
+ readonly lastSuccessfulIngestion?: (string & {
7385
+ readonly?: "__readonly" | undefined;
7386
+ }) | undefined;
7387
+ readonly lastFailedIngestion?: (string & {
7388
+ readonly?: "__readonly" | undefined;
7389
+ }) | undefined;
7390
+ readonly lastFailureReason?: (string & {
7391
+ readonly?: "__readonly" | undefined;
7392
+ }) | undefined;
7393
+ readonly hasWarnings: boolean & {
7394
+ readonly?: "__readonly" | undefined;
7395
+ };
7396
+ } | {
7397
+ name: string;
7398
+ mode: "ingester";
7399
+ status: DatasourceStatus;
7400
+ readonly id: string & {
7244
7401
  readonly?: "__readonly" | undefined;
7245
7402
  };
7403
+ companyId: string;
7404
+ resourceGroupIds: string[];
7246
7405
  versions: (string | {
7247
7406
  mode: DatasourceMode;
7248
7407
  readonly id: string & {
@@ -7377,36 +7536,18 @@ export default class {
7377
7536
  _id: string;
7378
7537
  __v: number;
7379
7538
  })[];
7380
- readonly lastSuccessfulIngestion?: (string & {
7381
- readonly?: "__readonly" | undefined;
7382
- }) | undefined;
7383
- readonly lastFailedIngestion?: (string & {
7384
- readonly?: "__readonly" | undefined;
7385
- }) | undefined;
7386
- readonly lastFailureReason?: (string & {
7387
- readonly?: "__readonly" | undefined;
7388
- }) | undefined;
7389
- readonly hasWarnings: boolean & {
7539
+ readonly archivedAt: string & {
7390
7540
  readonly?: "__readonly" | undefined;
7391
7541
  };
7392
- readonly updatedAt: string & {
7542
+ readonly createdAt: string & {
7393
7543
  readonly?: "__readonly" | undefined;
7394
7544
  };
7395
- } | {
7396
- name: string;
7397
- mode: "ingester";
7398
- status: DatasourceStatus;
7399
- readonly id: string & {
7545
+ readonly updatedAt: string & {
7400
7546
  readonly?: "__readonly" | undefined;
7401
7547
  };
7402
- companyId: string;
7403
- resourceGroupIds: string[];
7404
7548
  readonly configurationUpdatedAt: string & {
7405
7549
  readonly?: "__readonly" | undefined;
7406
7550
  };
7407
- readonly createdAt: string & {
7408
- readonly?: "__readonly" | undefined;
7409
- };
7410
7551
  hierarchy: string[];
7411
7552
  hidden: boolean;
7412
7553
  readonly template?: (string & {
@@ -7486,14 +7627,6 @@ export default class {
7486
7627
  };
7487
7628
  };
7488
7629
  storageOptions: {
7489
- destinations: {
7490
- type: "bigquery";
7491
- dataset: string;
7492
- tableName: string;
7493
- deduplicateOptions?: {
7494
- enabled: boolean;
7495
- } | undefined;
7496
- }[];
7497
7630
  partitionCount: number;
7498
7631
  segments: {
7499
7632
  offlineSize: number;
@@ -7505,10 +7638,36 @@ export default class {
7505
7638
  value: number;
7506
7639
  unit: "DAYS";
7507
7640
  } | undefined;
7641
+ destinations: {
7642
+ type: "bigquery";
7643
+ dataset: string;
7644
+ tableName: string;
7645
+ deduplicateOptions?: {
7646
+ enabled: boolean;
7647
+ } | undefined;
7648
+ }[];
7508
7649
  };
7509
- readonly archivedAt: string & {
7650
+ readonly lastSuccessfulIngestion?: (string & {
7651
+ readonly?: "__readonly" | undefined;
7652
+ }) | undefined;
7653
+ readonly lastFailedIngestion?: (string & {
7654
+ readonly?: "__readonly" | undefined;
7655
+ }) | undefined;
7656
+ readonly lastFailureReason?: (string & {
7657
+ readonly?: "__readonly" | undefined;
7658
+ }) | undefined;
7659
+ readonly hasWarnings: boolean & {
7660
+ readonly?: "__readonly" | undefined;
7661
+ };
7662
+ } | {
7663
+ name: string;
7664
+ mode: "pubsub";
7665
+ status: DatasourceStatus;
7666
+ readonly id: string & {
7510
7667
  readonly?: "__readonly" | undefined;
7511
7668
  };
7669
+ companyId: string;
7670
+ resourceGroupIds: string[];
7512
7671
  versions: (string | {
7513
7672
  mode: DatasourceMode;
7514
7673
  readonly id: string & {
@@ -7643,36 +7802,18 @@ export default class {
7643
7802
  _id: string;
7644
7803
  __v: number;
7645
7804
  })[];
7646
- readonly lastSuccessfulIngestion?: (string & {
7647
- readonly?: "__readonly" | undefined;
7648
- }) | undefined;
7649
- readonly lastFailedIngestion?: (string & {
7650
- readonly?: "__readonly" | undefined;
7651
- }) | undefined;
7652
- readonly lastFailureReason?: (string & {
7653
- readonly?: "__readonly" | undefined;
7654
- }) | undefined;
7655
- readonly hasWarnings: boolean & {
7805
+ readonly archivedAt: string & {
7656
7806
  readonly?: "__readonly" | undefined;
7657
7807
  };
7658
- readonly updatedAt: string & {
7808
+ readonly createdAt: string & {
7659
7809
  readonly?: "__readonly" | undefined;
7660
7810
  };
7661
- } | {
7662
- name: string;
7663
- mode: "pubsub";
7664
- status: DatasourceStatus;
7665
- readonly id: string & {
7811
+ readonly updatedAt: string & {
7666
7812
  readonly?: "__readonly" | undefined;
7667
7813
  };
7668
- companyId: string;
7669
- resourceGroupIds: string[];
7670
7814
  readonly configurationUpdatedAt: string & {
7671
7815
  readonly?: "__readonly" | undefined;
7672
7816
  };
7673
- readonly createdAt: string & {
7674
- readonly?: "__readonly" | undefined;
7675
- };
7676
7817
  hierarchy: string[];
7677
7818
  hidden: boolean;
7678
7819
  readonly template?: (string & {
@@ -7752,14 +7893,6 @@ export default class {
7752
7893
  };
7753
7894
  };
7754
7895
  storageOptions: {
7755
- destinations: {
7756
- type: "bigquery";
7757
- dataset: string;
7758
- tableName: string;
7759
- deduplicateOptions?: {
7760
- enabled: boolean;
7761
- } | undefined;
7762
- }[];
7763
7896
  partitionCount: number;
7764
7897
  segments: {
7765
7898
  offlineSize: number;
@@ -7771,10 +7904,64 @@ export default class {
7771
7904
  value: number;
7772
7905
  unit: "DAYS";
7773
7906
  } | undefined;
7907
+ destinations: {
7908
+ type: "bigquery";
7909
+ dataset: string;
7910
+ tableName: string;
7911
+ deduplicateOptions?: {
7912
+ enabled: boolean;
7913
+ } | undefined;
7914
+ }[];
7774
7915
  };
7775
- readonly archivedAt: string & {
7916
+ readonly lastSuccessfulIngestion?: (string & {
7917
+ readonly?: "__readonly" | undefined;
7918
+ }) | undefined;
7919
+ readonly lastFailedIngestion?: (string & {
7920
+ readonly?: "__readonly" | undefined;
7921
+ }) | undefined;
7922
+ readonly lastFailureReason?: (string & {
7923
+ readonly?: "__readonly" | undefined;
7924
+ }) | undefined;
7925
+ readonly hasWarnings: boolean & {
7926
+ readonly?: "__readonly" | undefined;
7927
+ };
7928
+ };
7929
+ program: string;
7930
+ version: string;
7931
+ status: string;
7932
+ code?: number | undefined;
7933
+ message: string;
7934
+ }, any, {}>>;
7935
+ listHierarchy: (params: {
7936
+ hierarchy?: string[] | undefined;
7937
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7938
+ status: "success";
7939
+ } & {
7940
+ datetime: string;
7941
+ data: string[];
7942
+ program: string;
7943
+ version: string;
7944
+ status: string;
7945
+ code?: number | undefined;
7946
+ message: string;
7947
+ }, any, {}>>;
7948
+ get: (params: {
7949
+ id: string;
7950
+ versions?: string | undefined;
7951
+ withExample?: string | undefined;
7952
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7953
+ status: "success";
7954
+ } & {
7955
+ datetime: string;
7956
+ data: {
7957
+ name: string;
7958
+ mode: "push";
7959
+ status: DatasourceStatus;
7960
+ readonly id: string & {
7776
7961
  readonly?: "__readonly" | undefined;
7777
7962
  };
7963
+ companyId: string;
7964
+ resourceGroupIds: string[];
7778
7965
  versions: (string | {
7779
7966
  mode: DatasourceMode;
7780
7967
  readonly id: string & {
@@ -7909,64 +8096,18 @@ export default class {
7909
8096
  _id: string;
7910
8097
  __v: number;
7911
8098
  })[];
7912
- readonly lastSuccessfulIngestion?: (string & {
7913
- readonly?: "__readonly" | undefined;
7914
- }) | undefined;
7915
- readonly lastFailedIngestion?: (string & {
7916
- readonly?: "__readonly" | undefined;
7917
- }) | undefined;
7918
- readonly lastFailureReason?: (string & {
7919
- readonly?: "__readonly" | undefined;
7920
- }) | undefined;
7921
- readonly hasWarnings: boolean & {
8099
+ readonly archivedAt: string & {
7922
8100
  readonly?: "__readonly" | undefined;
7923
8101
  };
7924
- readonly updatedAt: string & {
8102
+ readonly createdAt: string & {
7925
8103
  readonly?: "__readonly" | undefined;
7926
8104
  };
7927
- };
7928
- program: string;
7929
- version: string;
7930
- status: string;
7931
- code?: number | undefined;
7932
- message: string;
7933
- }, any, {}>>;
7934
- listHierarchy: (params: {
7935
- hierarchy?: string[] | undefined;
7936
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7937
- status: "success";
7938
- } & {
7939
- datetime: string;
7940
- data: string[];
7941
- program: string;
7942
- version: string;
7943
- status: string;
7944
- code?: number | undefined;
7945
- message: string;
7946
- }, any, {}>>;
7947
- get: (params: {
7948
- id: string;
7949
- versions?: string | undefined;
7950
- withExample?: string | undefined;
7951
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7952
- status: "success";
7953
- } & {
7954
- datetime: string;
7955
- data: {
7956
- name: string;
7957
- mode: "push";
7958
- status: DatasourceStatus;
7959
- readonly id: string & {
8105
+ readonly updatedAt: string & {
7960
8106
  readonly?: "__readonly" | undefined;
7961
8107
  };
7962
- companyId: string;
7963
- resourceGroupIds: string[];
7964
8108
  readonly configurationUpdatedAt: string & {
7965
8109
  readonly?: "__readonly" | undefined;
7966
8110
  };
7967
- readonly createdAt: string & {
7968
- readonly?: "__readonly" | undefined;
7969
- };
7970
8111
  hierarchy: string[];
7971
8112
  hidden: boolean;
7972
8113
  readonly template?: (string & {
@@ -8046,14 +8187,6 @@ export default class {
8046
8187
  };
8047
8188
  };
8048
8189
  storageOptions: {
8049
- destinations: {
8050
- type: "bigquery";
8051
- dataset: string;
8052
- tableName: string;
8053
- deduplicateOptions?: {
8054
- enabled: boolean;
8055
- } | undefined;
8056
- }[];
8057
8190
  partitionCount: number;
8058
8191
  segments: {
8059
8192
  offlineSize: number;
@@ -8065,10 +8198,51 @@ export default class {
8065
8198
  value: number;
8066
8199
  unit: "DAYS";
8067
8200
  } | undefined;
8201
+ destinations: {
8202
+ type: "bigquery";
8203
+ dataset: string;
8204
+ tableName: string;
8205
+ deduplicateOptions?: {
8206
+ enabled: boolean;
8207
+ } | undefined;
8208
+ }[];
8068
8209
  };
8069
- readonly archivedAt: string & {
8210
+ readonly lastSuccessfulIngestion?: (string & {
8211
+ readonly?: "__readonly" | undefined;
8212
+ }) | undefined;
8213
+ readonly lastFailedIngestion?: (string & {
8214
+ readonly?: "__readonly" | undefined;
8215
+ }) | undefined;
8216
+ readonly lastFailureReason?: (string & {
8217
+ readonly?: "__readonly" | undefined;
8218
+ }) | undefined;
8219
+ readonly hasWarnings: boolean & {
8070
8220
  readonly?: "__readonly" | undefined;
8071
8221
  };
8222
+ example?: {
8223
+ [x: string]: unknown;
8224
+ } | undefined;
8225
+ queriableFields?: {
8226
+ name: string;
8227
+ type: FieldMapType;
8228
+ sortable: boolean;
8229
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8230
+ readonly?: "__readonly" | undefined;
8231
+ };
8232
+ enum?: (string | number)[] | undefined;
8233
+ required: boolean;
8234
+ unique: boolean;
8235
+ allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8236
+ }[] | undefined;
8237
+ } | {
8238
+ name: string;
8239
+ mode: "worker";
8240
+ status: DatasourceStatus;
8241
+ readonly id: string & {
8242
+ readonly?: "__readonly" | undefined;
8243
+ };
8244
+ companyId: string;
8245
+ resourceGroupIds: string[];
8072
8246
  versions: (string | {
8073
8247
  mode: DatasourceMode;
8074
8248
  readonly id: string & {
@@ -8203,54 +8377,21 @@ export default class {
8203
8377
  _id: string;
8204
8378
  __v: number;
8205
8379
  })[];
8206
- readonly lastSuccessfulIngestion?: (string & {
8207
- readonly?: "__readonly" | undefined;
8208
- }) | undefined;
8209
- readonly lastFailedIngestion?: (string & {
8210
- readonly?: "__readonly" | undefined;
8211
- }) | undefined;
8212
- readonly lastFailureReason?: (string & {
8213
- readonly?: "__readonly" | undefined;
8214
- }) | undefined;
8215
- readonly hasWarnings: boolean & {
8380
+ readonly archivedAt: string & {
8216
8381
  readonly?: "__readonly" | undefined;
8217
8382
  };
8218
- readonly updatedAt: string & {
8383
+ readonly createdAt: string & {
8219
8384
  readonly?: "__readonly" | undefined;
8220
8385
  };
8221
- example?: {
8222
- [x: string]: unknown;
8223
- } | undefined;
8224
- queriableFields?: {
8225
- name: string;
8226
- type: FieldMapType;
8227
- sortable: boolean;
8228
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8229
- readonly?: "__readonly" | undefined;
8230
- };
8231
- enum?: (string | number)[] | undefined;
8232
- required: boolean;
8233
- unique: boolean;
8234
- allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8235
- }[] | undefined;
8236
- } | {
8237
- name: string;
8238
- mode: "worker";
8239
- status: DatasourceStatus;
8240
- readonly id: string & {
8386
+ readonly updatedAt: string & {
8241
8387
  readonly?: "__readonly" | undefined;
8242
8388
  };
8243
- companyId: string;
8244
- resourceGroupIds: string[];
8245
8389
  readonly contentVersion: number & {
8246
8390
  readonly?: "__readonly" | undefined;
8247
8391
  };
8248
8392
  readonly configurationUpdatedAt: string & {
8249
8393
  readonly?: "__readonly" | undefined;
8250
8394
  };
8251
- readonly createdAt: string & {
8252
- readonly?: "__readonly" | undefined;
8253
- };
8254
8395
  hierarchy: string[];
8255
8396
  hidden: boolean;
8256
8397
  readonly template?: (string & {
@@ -8339,9 +8480,73 @@ export default class {
8339
8480
  } | undefined;
8340
8481
  }[];
8341
8482
  };
8342
- readonly archivedAt: string & {
8483
+ readonly lastSuccessfulIngestion?: (string & {
8484
+ readonly?: "__readonly" | undefined;
8485
+ }) | undefined;
8486
+ readonly lastFailedIngestion?: (string & {
8487
+ readonly?: "__readonly" | undefined;
8488
+ }) | undefined;
8489
+ readonly lastFailureReason?: (string & {
8490
+ readonly?: "__readonly" | undefined;
8491
+ }) | undefined;
8492
+ readonly hasWarnings: boolean & {
8493
+ readonly?: "__readonly" | undefined;
8494
+ };
8495
+ example?: {
8496
+ [x: string]: unknown;
8497
+ } | undefined;
8498
+ queriableFields?: {
8499
+ name: string;
8500
+ type: FieldMapType;
8501
+ sortable: boolean;
8502
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8503
+ readonly?: "__readonly" | undefined;
8504
+ };
8505
+ enum?: (string | number)[] | undefined;
8506
+ required: boolean;
8507
+ unique: boolean;
8508
+ allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8509
+ }[] | undefined;
8510
+ thresholds: {
8511
+ type: "too_many_invalid_entries";
8512
+ value: number;
8513
+ trigger: {
8514
+ type: "error";
8515
+ value: "too_many_invalid_entries";
8516
+ };
8517
+ }[] | {
8518
+ type: "entries_drop_rate_too_high";
8519
+ value: number;
8520
+ trigger: {
8521
+ type: "warning";
8522
+ value: "entries_drop_rate_too_high";
8523
+ } | {
8524
+ type: "error";
8525
+ value: "entries_drop_rate_too_high";
8526
+ };
8527
+ }[];
8528
+ attempts?: number | undefined;
8529
+ readonly lastRunAt: string & {
8343
8530
  readonly?: "__readonly" | undefined;
8344
8531
  };
8532
+ readonly currentLiveVersion: string & {
8533
+ readonly?: "__readonly" | undefined;
8534
+ };
8535
+ readonly pausedAt: string & {
8536
+ readonly?: "__readonly" | undefined;
8537
+ };
8538
+ readonly isPaused: boolean & {
8539
+ readonly?: "__readonly" | undefined;
8540
+ };
8541
+ } | {
8542
+ name: string;
8543
+ mode: "proxy";
8544
+ status: DatasourceStatus;
8545
+ readonly id: string & {
8546
+ readonly?: "__readonly" | undefined;
8547
+ };
8548
+ companyId: string;
8549
+ resourceGroupIds: string[];
8345
8550
  versions: (string | {
8346
8551
  mode: DatasourceMode;
8347
8552
  readonly id: string & {
@@ -8476,82 +8681,18 @@ export default class {
8476
8681
  _id: string;
8477
8682
  __v: number;
8478
8683
  })[];
8479
- readonly lastSuccessfulIngestion?: (string & {
8480
- readonly?: "__readonly" | undefined;
8481
- }) | undefined;
8482
- readonly lastFailedIngestion?: (string & {
8483
- readonly?: "__readonly" | undefined;
8484
- }) | undefined;
8485
- readonly lastFailureReason?: (string & {
8486
- readonly?: "__readonly" | undefined;
8487
- }) | undefined;
8488
- readonly hasWarnings: boolean & {
8489
- readonly?: "__readonly" | undefined;
8490
- };
8491
- readonly updatedAt: string & {
8492
- readonly?: "__readonly" | undefined;
8493
- };
8494
- example?: {
8495
- [x: string]: unknown;
8496
- } | undefined;
8497
- queriableFields?: {
8498
- name: string;
8499
- type: FieldMapType;
8500
- sortable: boolean;
8501
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8502
- readonly?: "__readonly" | undefined;
8503
- };
8504
- enum?: (string | number)[] | undefined;
8505
- required: boolean;
8506
- unique: boolean;
8507
- allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8508
- }[] | undefined;
8509
- thresholds: {
8510
- type: "too_many_invalid_entries";
8511
- value: number;
8512
- trigger: {
8513
- type: "error";
8514
- value: "too_many_invalid_entries";
8515
- };
8516
- }[] | {
8517
- type: "entries_drop_rate_too_high";
8518
- value: number;
8519
- trigger: {
8520
- type: "warning";
8521
- value: "entries_drop_rate_too_high";
8522
- } | {
8523
- type: "error";
8524
- value: "entries_drop_rate_too_high";
8525
- };
8526
- }[];
8527
- attempts?: number | undefined;
8528
- readonly lastRunAt: string & {
8529
- readonly?: "__readonly" | undefined;
8530
- };
8531
- readonly currentLiveVersion: string & {
8532
- readonly?: "__readonly" | undefined;
8533
- };
8534
- readonly pausedAt: string & {
8684
+ readonly archivedAt: string & {
8535
8685
  readonly?: "__readonly" | undefined;
8536
8686
  };
8537
- readonly isPaused: boolean & {
8687
+ readonly createdAt: string & {
8538
8688
  readonly?: "__readonly" | undefined;
8539
8689
  };
8540
- } | {
8541
- name: string;
8542
- mode: "proxy";
8543
- status: DatasourceStatus;
8544
- readonly id: string & {
8690
+ readonly updatedAt: string & {
8545
8691
  readonly?: "__readonly" | undefined;
8546
8692
  };
8547
- companyId: string;
8548
- resourceGroupIds: string[];
8549
8693
  readonly configurationUpdatedAt: string & {
8550
8694
  readonly?: "__readonly" | undefined;
8551
8695
  };
8552
- readonly createdAt: string & {
8553
- readonly?: "__readonly" | undefined;
8554
- };
8555
8696
  hierarchy: string[];
8556
8697
  hidden: boolean;
8557
8698
  readonly template?: (string & {
@@ -8630,9 +8771,42 @@ export default class {
8630
8771
  outputField: string;
8631
8772
  };
8632
8773
  };
8633
- readonly archivedAt: string & {
8774
+ readonly lastSuccessfulIngestion?: (string & {
8775
+ readonly?: "__readonly" | undefined;
8776
+ }) | undefined;
8777
+ readonly lastFailedIngestion?: (string & {
8778
+ readonly?: "__readonly" | undefined;
8779
+ }) | undefined;
8780
+ readonly lastFailureReason?: (string & {
8781
+ readonly?: "__readonly" | undefined;
8782
+ }) | undefined;
8783
+ readonly hasWarnings: boolean & {
8634
8784
  readonly?: "__readonly" | undefined;
8635
8785
  };
8786
+ example?: {
8787
+ [x: string]: unknown;
8788
+ } | undefined;
8789
+ queriableFields?: {
8790
+ name: string;
8791
+ type: FieldMapType;
8792
+ sortable: boolean;
8793
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8794
+ readonly?: "__readonly" | undefined;
8795
+ };
8796
+ enum?: (string | number)[] | undefined;
8797
+ required: boolean;
8798
+ unique: boolean;
8799
+ allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8800
+ }[] | undefined;
8801
+ } | {
8802
+ name: string;
8803
+ mode: "ingester";
8804
+ status: DatasourceStatus;
8805
+ readonly id: string & {
8806
+ readonly?: "__readonly" | undefined;
8807
+ };
8808
+ companyId: string;
8809
+ resourceGroupIds: string[];
8636
8810
  versions: (string | {
8637
8811
  mode: DatasourceMode;
8638
8812
  readonly id: string & {
@@ -8767,51 +8941,18 @@ export default class {
8767
8941
  _id: string;
8768
8942
  __v: number;
8769
8943
  })[];
8770
- readonly lastSuccessfulIngestion?: (string & {
8771
- readonly?: "__readonly" | undefined;
8772
- }) | undefined;
8773
- readonly lastFailedIngestion?: (string & {
8774
- readonly?: "__readonly" | undefined;
8775
- }) | undefined;
8776
- readonly lastFailureReason?: (string & {
8777
- readonly?: "__readonly" | undefined;
8778
- }) | undefined;
8779
- readonly hasWarnings: boolean & {
8944
+ readonly archivedAt: string & {
8780
8945
  readonly?: "__readonly" | undefined;
8781
8946
  };
8782
- readonly updatedAt: string & {
8947
+ readonly createdAt: string & {
8783
8948
  readonly?: "__readonly" | undefined;
8784
8949
  };
8785
- example?: {
8786
- [x: string]: unknown;
8787
- } | undefined;
8788
- queriableFields?: {
8789
- name: string;
8790
- type: FieldMapType;
8791
- sortable: boolean;
8792
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8793
- readonly?: "__readonly" | undefined;
8794
- };
8795
- enum?: (string | number)[] | undefined;
8796
- required: boolean;
8797
- unique: boolean;
8798
- allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
8799
- }[] | undefined;
8800
- } | {
8801
- name: string;
8802
- mode: "ingester";
8803
- status: DatasourceStatus;
8804
- readonly id: string & {
8950
+ readonly updatedAt: string & {
8805
8951
  readonly?: "__readonly" | undefined;
8806
8952
  };
8807
- companyId: string;
8808
- resourceGroupIds: string[];
8809
8953
  readonly configurationUpdatedAt: string & {
8810
8954
  readonly?: "__readonly" | undefined;
8811
8955
  };
8812
- readonly createdAt: string & {
8813
- readonly?: "__readonly" | undefined;
8814
- };
8815
8956
  hierarchy: string[];
8816
8957
  hidden: boolean;
8817
8958
  readonly template?: (string & {
@@ -8891,14 +9032,6 @@ export default class {
8891
9032
  };
8892
9033
  };
8893
9034
  storageOptions: {
8894
- destinations: {
8895
- type: "bigquery";
8896
- dataset: string;
8897
- tableName: string;
8898
- deduplicateOptions?: {
8899
- enabled: boolean;
8900
- } | undefined;
8901
- }[];
8902
9035
  partitionCount: number;
8903
9036
  segments: {
8904
9037
  offlineSize: number;
@@ -8910,10 +9043,51 @@ export default class {
8910
9043
  value: number;
8911
9044
  unit: "DAYS";
8912
9045
  } | undefined;
9046
+ destinations: {
9047
+ type: "bigquery";
9048
+ dataset: string;
9049
+ tableName: string;
9050
+ deduplicateOptions?: {
9051
+ enabled: boolean;
9052
+ } | undefined;
9053
+ }[];
8913
9054
  };
8914
- readonly archivedAt: string & {
9055
+ readonly lastSuccessfulIngestion?: (string & {
9056
+ readonly?: "__readonly" | undefined;
9057
+ }) | undefined;
9058
+ readonly lastFailedIngestion?: (string & {
9059
+ readonly?: "__readonly" | undefined;
9060
+ }) | undefined;
9061
+ readonly lastFailureReason?: (string & {
9062
+ readonly?: "__readonly" | undefined;
9063
+ }) | undefined;
9064
+ readonly hasWarnings: boolean & {
9065
+ readonly?: "__readonly" | undefined;
9066
+ };
9067
+ example?: {
9068
+ [x: string]: unknown;
9069
+ } | undefined;
9070
+ queriableFields?: {
9071
+ name: string;
9072
+ type: FieldMapType;
9073
+ sortable: boolean;
9074
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9075
+ readonly?: "__readonly" | undefined;
9076
+ };
9077
+ enum?: (string | number)[] | undefined;
9078
+ required: boolean;
9079
+ unique: boolean;
9080
+ allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
9081
+ }[] | undefined;
9082
+ } | {
9083
+ name: string;
9084
+ mode: "pubsub";
9085
+ status: DatasourceStatus;
9086
+ readonly id: string & {
8915
9087
  readonly?: "__readonly" | undefined;
8916
9088
  };
9089
+ companyId: string;
9090
+ resourceGroupIds: string[];
8917
9091
  versions: (string | {
8918
9092
  mode: DatasourceMode;
8919
9093
  readonly id: string & {
@@ -9048,51 +9222,18 @@ export default class {
9048
9222
  _id: string;
9049
9223
  __v: number;
9050
9224
  })[];
9051
- readonly lastSuccessfulIngestion?: (string & {
9052
- readonly?: "__readonly" | undefined;
9053
- }) | undefined;
9054
- readonly lastFailedIngestion?: (string & {
9055
- readonly?: "__readonly" | undefined;
9056
- }) | undefined;
9057
- readonly lastFailureReason?: (string & {
9058
- readonly?: "__readonly" | undefined;
9059
- }) | undefined;
9060
- readonly hasWarnings: boolean & {
9225
+ readonly archivedAt: string & {
9061
9226
  readonly?: "__readonly" | undefined;
9062
9227
  };
9063
- readonly updatedAt: string & {
9228
+ readonly createdAt: string & {
9064
9229
  readonly?: "__readonly" | undefined;
9065
9230
  };
9066
- example?: {
9067
- [x: string]: unknown;
9068
- } | undefined;
9069
- queriableFields?: {
9070
- name: string;
9071
- type: FieldMapType;
9072
- sortable: boolean;
9073
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9074
- readonly?: "__readonly" | undefined;
9075
- };
9076
- enum?: (string | number)[] | undefined;
9077
- required: boolean;
9078
- unique: boolean;
9079
- allowedOperators: ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast")[];
9080
- }[] | undefined;
9081
- } | {
9082
- name: string;
9083
- mode: "pubsub";
9084
- status: DatasourceStatus;
9085
- readonly id: string & {
9231
+ readonly updatedAt: string & {
9086
9232
  readonly?: "__readonly" | undefined;
9087
9233
  };
9088
- companyId: string;
9089
- resourceGroupIds: string[];
9090
9234
  readonly configurationUpdatedAt: string & {
9091
9235
  readonly?: "__readonly" | undefined;
9092
9236
  };
9093
- readonly createdAt: string & {
9094
- readonly?: "__readonly" | undefined;
9095
- };
9096
9237
  hierarchy: string[];
9097
9238
  hidden: boolean;
9098
9239
  readonly template?: (string & {
@@ -9172,14 +9313,6 @@ export default class {
9172
9313
  };
9173
9314
  };
9174
9315
  storageOptions: {
9175
- destinations: {
9176
- type: "bigquery";
9177
- dataset: string;
9178
- tableName: string;
9179
- deduplicateOptions?: {
9180
- enabled: boolean;
9181
- } | undefined;
9182
- }[];
9183
9316
  partitionCount: number;
9184
9317
  segments: {
9185
9318
  offlineSize: number;
@@ -9191,144 +9324,15 @@ export default class {
9191
9324
  value: number;
9192
9325
  unit: "DAYS";
9193
9326
  } | undefined;
9194
- };
9195
- readonly archivedAt: string & {
9196
- readonly?: "__readonly" | undefined;
9197
- };
9198
- versions: (string | {
9199
- mode: DatasourceMode;
9200
- readonly id: string & {
9201
- readonly?: "__readonly" | undefined;
9202
- };
9203
- type: {
9204
- name: "analytics";
9205
- options: {
9206
- autoExclusions?: boolean | undefined;
9207
- noStats?: boolean | undefined;
9208
- };
9209
- subtype: "purchases";
9210
- } | {
9211
- name: "generic";
9212
- subtype: import("./definitions").DatasourceGenericSubType;
9213
- } | {
9214
- name: "crm";
9215
- subtype: import("./definitions").DatasourceCRMSubType;
9216
- } | {
9217
- name: "product";
9218
- subtype: import("./definitions").DatasourceProductSubType;
9219
- } | {
9220
- name: "location";
9221
- subtype: import("./definitions").DatasourceLocationSubType;
9222
- } | {
9223
- name: "analytics";
9224
- subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
9225
- } | {
9226
- name: "push";
9227
- subtype: "email";
9228
- } | {
9229
- name: "loop";
9230
- subtype: import("./definitions").DatasourceLoopSubType;
9231
- };
9232
- fieldsMap: {
9233
- name: string;
9234
- source?: FieldSource | undefined;
9235
- type: FieldMapType;
9236
- selected: boolean;
9237
- ignoreIfMissing?: boolean | undefined;
9238
- metadata?: {
9239
- locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
9327
+ destinations: {
9328
+ type: "bigquery";
9329
+ dataset: string;
9330
+ tableName: string;
9331
+ deduplicateOptions?: {
9332
+ enabled: boolean;
9240
9333
  } | undefined;
9241
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9242
- readonly?: "__readonly" | undefined;
9243
- };
9244
- }[];
9245
- readonly health: ("ERROR" | "WARNING" | "OK") & {
9246
- readonly?: "__readonly" | undefined;
9247
- };
9248
- readonly state: import("./definitions").DatasourceVersionState & {
9249
- readonly?: "__readonly" | undefined;
9250
- };
9251
- readonly pendingSteps?: ({
9252
- name: "configure_name";
9253
- } | {
9254
- name: "configure_resource_group_ids";
9255
- } | {
9256
- name: "configure_sources";
9257
- } | {
9258
- name: "configure_fields";
9259
- } | {
9260
- name: "configure_field";
9261
- field: {
9262
- name: string;
9263
- type: FieldMapType;
9264
- };
9265
- } | {
9266
- name: "create_oauth_client";
9267
- configurationId: string;
9268
- } | {
9269
- name: "authorize_oauth_client";
9270
- slug: string;
9271
- } | {
9272
- name: "configure_thresholds";
9273
- } | {
9274
- name: "configure_api_key";
9275
- slug: "partoo";
9276
- } | {
9277
- name: "patch";
9278
- } | {
9279
- name: "validate";
9280
- } | {
9281
- name: "configure_google_tag_manager";
9282
- } | {
9283
- name: "configure_reelevant_analytics_script";
9284
- } | {
9285
- name: "configure_product_datasource_source";
9286
- } | {
9287
- name: "configure_tracking_datasource_source";
9288
- } | {
9289
- name: "configure_best_product_query";
9290
- } | {
9291
- name: "configure_best_product_field";
9292
- } | {
9293
- name: "configure_fetcher";
9294
- } | {
9295
- name: "configure_merge_datasource_source";
9296
- } | {
9297
- name: "configure_merge_datasource_dependency";
9298
- } | {
9299
- name: "configure_merge_mapping";
9300
- } | {
9301
- name: "configure_bought_together";
9302
- } | {
9303
- name: "configure_top_attributes";
9304
- } | {
9305
- name: "configure_destination";
9306
- type: "smtp";
9307
- } | {
9308
- name: "configure_hierarchy";
9309
- } | {
9310
- name: "google_my_business_set_url";
9311
- urls: {
9312
- getAccount: string;
9313
- final: string;
9314
- };
9315
- } | {
9316
- name: "setup_instagram";
9317
- urls: {
9318
- getAccount: string;
9319
- final: string;
9320
- getAccountInfos: string;
9321
- };
9322
- })[] | undefined;
9323
- readonly availableFieldsTypes: FieldMapType[];
9324
- readonly requiredFieldsTypes: {
9325
- [x: string]: FieldMapType;
9326
9334
  }[];
9327
- readonly uniqueFieldsTypes: FieldMapType[];
9328
- readonly importantFieldsTypes: FieldMapType[];
9329
- _id: string;
9330
- __v: number;
9331
- })[];
9335
+ };
9332
9336
  readonly lastSuccessfulIngestion?: (string & {
9333
9337
  readonly?: "__readonly" | undefined;
9334
9338
  }) | undefined;
@@ -9341,9 +9345,6 @@ export default class {
9341
9345
  readonly hasWarnings: boolean & {
9342
9346
  readonly?: "__readonly" | undefined;
9343
9347
  };
9344
- readonly updatedAt: string & {
9345
- readonly?: "__readonly" | undefined;
9346
- };
9347
9348
  example?: {
9348
9349
  [x: string]: unknown;
9349
9350
  } | undefined;
@@ -9394,6 +9395,23 @@ export default class {
9394
9395
  code?: number | undefined;
9395
9396
  message: string;
9396
9397
  }, any, {}>>;
9398
+ anonymize: (params: {
9399
+ id: string;
9400
+ }, data: {
9401
+ ids: string[];
9402
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9403
+ status: "success";
9404
+ } & {
9405
+ datetime: string;
9406
+ data: {
9407
+ anonymized: number;
9408
+ };
9409
+ program: string;
9410
+ version: string;
9411
+ status: string;
9412
+ code?: number | undefined;
9413
+ message: string;
9414
+ }, any, {}>>;
9397
9415
  };
9398
9416
  get DatasourceAuth(): {
9399
9417
  getOauthStatus: (params: {
@@ -9849,170 +9867,632 @@ export default class {
9849
9867
  message: string;
9850
9868
  }, any, {}>>;
9851
9869
  };
9852
- get DatasourceSteps(): {
9853
- getCurrentStepDatasource: (params: {
9854
- id: string;
9870
+ get Datagraph(): {
9871
+ listSchemas: (params: {
9872
+ page?: number | undefined;
9873
+ perPage?: number | undefined;
9855
9874
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9875
+ paginationCount: number;
9876
+ paginationPage: number;
9877
+ paginationLimit: number;
9878
+ } & {
9856
9879
  status: "success";
9857
9880
  } & {
9858
9881
  datetime: string;
9859
9882
  data: {
9860
- current: {
9861
- name: "configure_name";
9862
- value?: string | undefined;
9863
- } | {
9864
- name: "configure_resource_group_ids";
9865
- value?: string[] | undefined;
9883
+ readonly companyId: string & {
9884
+ readonly?: "__readonly" | undefined;
9885
+ };
9886
+ readonly resourceGroupIds: string[];
9887
+ readonly versions: (string | {
9888
+ readonly companyId: string & {
9889
+ readonly?: "__readonly" | undefined;
9890
+ };
9891
+ readonly state: import("./definitions").DatagraphSchemaVersionState & {
9892
+ readonly?: "__readonly" | undefined;
9893
+ };
9894
+ _id: string;
9895
+ __v: number;
9896
+ readonly definition: {
9897
+ name: string;
9898
+ description?: string | undefined;
9899
+ relations?: {
9900
+ description?: string | undefined;
9901
+ type: "Relation";
9902
+ columns: string[];
9903
+ reference: {
9904
+ datasourceId: string;
9905
+ table: string;
9906
+ columns: string[];
9907
+ };
9908
+ }[] | undefined;
9909
+ datasourceId: string;
9910
+ columns: {
9911
+ name: string;
9912
+ description?: string | undefined;
9913
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9914
+ default?: string | number | boolean | undefined;
9915
+ nullable: boolean;
9916
+ }[];
9917
+ virtualColumns?: {
9918
+ query: string;
9919
+ name: string;
9920
+ description?: string | undefined;
9921
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9922
+ nullable: boolean;
9923
+ }[] | undefined;
9924
+ uniqueKeys?: {
9925
+ description?: string | undefined;
9926
+ type: "UniqueKey";
9927
+ columns: string[];
9928
+ }[] | undefined;
9929
+ indexes?: {
9930
+ description?: string | undefined;
9931
+ type: "Index";
9932
+ columns: string[];
9933
+ }[] | undefined;
9934
+ }[];
9935
+ })[];
9936
+ archivedAt: string | null;
9937
+ }[];
9938
+ program: string;
9939
+ version: string;
9940
+ status: string;
9941
+ code?: number | undefined;
9942
+ message: string;
9943
+ }, any, {}>>;
9944
+ createSchema: (params: Record<string, never>, data: {
9945
+ schema: {
9946
+ name: string;
9947
+ description?: string | undefined;
9948
+ relations?: {
9949
+ description?: string | undefined;
9950
+ type: "Relation";
9951
+ columns: string[];
9952
+ reference: {
9953
+ datasourceId: string;
9954
+ table: string;
9955
+ columns: string[];
9956
+ };
9957
+ }[] | undefined;
9958
+ datasourceId: string;
9959
+ columns: {
9960
+ name: string;
9961
+ description?: string | undefined;
9962
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9963
+ default?: string | number | boolean | undefined;
9964
+ nullable: boolean;
9965
+ }[];
9966
+ virtualColumns?: {
9967
+ query: string;
9968
+ name: string;
9969
+ description?: string | undefined;
9970
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9971
+ nullable: boolean;
9972
+ }[] | undefined;
9973
+ uniqueKeys?: {
9974
+ description?: string | undefined;
9975
+ type: "UniqueKey";
9976
+ columns: string[];
9977
+ }[] | undefined;
9978
+ indexes?: {
9979
+ description?: string | undefined;
9980
+ type: "Index";
9981
+ columns: string[];
9982
+ }[] | undefined;
9983
+ }[];
9984
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9985
+ status: "success";
9986
+ } & {
9987
+ datetime: string;
9988
+ data: {
9989
+ [x: string]: unknown;
9990
+ };
9991
+ program: string;
9992
+ version: string;
9993
+ status: string;
9994
+ code?: number | undefined;
9995
+ message: string;
9996
+ }, any, {}>>;
9997
+ validateSchema: (params: Record<string, never>, data: {
9998
+ schema: unknown;
9999
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10000
+ status: "success";
10001
+ } & {
10002
+ datetime: string;
10003
+ data: {
10004
+ validation: {
10005
+ success: true;
10006
+ data: {
10007
+ name: string;
10008
+ description?: string | undefined;
10009
+ relations?: {
10010
+ description?: string | undefined;
10011
+ type: "Relation";
10012
+ columns: string[];
10013
+ reference: {
10014
+ datasourceId: string;
10015
+ table: string;
10016
+ columns: string[];
10017
+ };
10018
+ }[] | undefined;
10019
+ datasourceId: string;
10020
+ columns: {
10021
+ name: string;
10022
+ description?: string | undefined;
10023
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10024
+ default?: string | number | boolean | undefined;
10025
+ nullable: boolean;
10026
+ }[];
10027
+ virtualColumns?: {
10028
+ query: string;
10029
+ name: string;
10030
+ description?: string | undefined;
10031
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10032
+ nullable: boolean;
10033
+ }[] | undefined;
10034
+ uniqueKeys?: {
10035
+ description?: string | undefined;
10036
+ type: "UniqueKey";
10037
+ columns: string[];
10038
+ }[] | undefined;
10039
+ indexes?: {
10040
+ description?: string | undefined;
10041
+ type: "Index";
10042
+ columns: string[];
10043
+ }[] | undefined;
10044
+ }[];
9866
10045
  } | {
9867
- name: "configure_sources";
9868
- value?: {
9869
- pipeline: ({
9870
- input: {
9871
- filter?: {
9872
- $and: ({
9873
- $and: ({
9874
- [x: string]: {
9875
- $eq: string | number | boolean | string[] | unknown[];
9876
- } | {
9877
- $ne: string | number | boolean | string[] | unknown[];
9878
- } | {
9879
- $contains: string | string[];
9880
- } | {
9881
- $notcontains: string | string[];
9882
- } | {
9883
- $startswith: string | string[];
9884
- } | {
9885
- $endswith: string | string[];
9886
- } | {
9887
- $empty: boolean;
9888
- } | {
9889
- eq: string | number | boolean | string[] | unknown[];
9890
- } | {
9891
- ne: string | number | boolean | string[] | unknown[];
9892
- } | {
9893
- contains: string | string[];
9894
- } | {
9895
- notcontains: string | string[];
9896
- } | {
9897
- startswith: string | string[];
9898
- } | {
9899
- endswith: string | string[];
9900
- } | {
9901
- empty: boolean;
9902
- } | {
9903
- $neq: string | number | unknown[] | number[];
9904
- } | {
9905
- $nne: string | number | unknown[] | number[];
9906
- } | {
9907
- $lt: string | number;
9908
- } | {
9909
- $lte: string | number;
9910
- } | {
9911
- $gt: string | number;
9912
- } | {
9913
- $gte: string | number;
9914
- } | {
9915
- neq: string | number | unknown[] | number[];
9916
- } | {
9917
- nne: string | number | unknown[] | number[];
9918
- } | {
9919
- lt: string | number;
9920
- } | {
9921
- lte: string | number;
9922
- } | {
9923
- gt: string | number;
9924
- } | {
9925
- gte: string | number;
9926
- } | {
9927
- $rangefuture: string | number;
9928
- } | {
9929
- $rangepast: string | number;
9930
- } | {
9931
- $nrangefuture: string | number;
9932
- } | {
9933
- $nrangepast: string | number;
9934
- } | {
9935
- rangefuture: string | number;
9936
- } | {
9937
- rangepast: string | number;
9938
- } | {
9939
- nrangefuture: string | number;
9940
- } | {
9941
- nrangepast: string | number;
9942
- };
9943
- } | {
9944
- [x: string]: {
9945
- $eq: string | number | boolean | string[] | unknown[];
9946
- } | {
9947
- $ne: string | number | boolean | string[] | unknown[];
9948
- } | {
9949
- $contains: string | string[];
9950
- } | {
9951
- $notcontains: string | string[];
9952
- } | {
9953
- $startswith: string | string[];
9954
- } | {
9955
- $endswith: string | string[];
9956
- } | {
9957
- $empty: boolean;
9958
- } | {
9959
- eq: string | number | boolean | string[] | unknown[];
9960
- } | {
9961
- ne: string | number | boolean | string[] | unknown[];
9962
- } | {
9963
- contains: string | string[];
9964
- } | {
9965
- notcontains: string | string[];
9966
- } | {
9967
- startswith: string | string[];
9968
- } | {
9969
- endswith: string | string[];
9970
- } | {
9971
- empty: boolean;
9972
- } | {
9973
- $neq: string | number | unknown[] | number[];
9974
- } | {
9975
- $nne: string | number | unknown[] | number[];
9976
- } | {
9977
- $lt: string | number;
9978
- } | {
9979
- $lte: string | number;
9980
- } | {
9981
- $gt: string | number;
9982
- } | {
9983
- $gte: string | number;
9984
- } | {
9985
- neq: string | number | unknown[] | number[];
9986
- } | {
9987
- nne: string | number | unknown[] | number[];
9988
- } | {
9989
- lt: string | number;
9990
- } | {
9991
- lte: string | number;
9992
- } | {
9993
- gt: string | number;
9994
- } | {
9995
- gte: string | number;
9996
- } | {
9997
- $rangefuture: string | number;
9998
- } | {
9999
- $rangepast: string | number;
10000
- } | {
10001
- $nrangefuture: string | number;
10002
- } | {
10003
- $nrangepast: string | number;
10004
- } | {
10005
- rangefuture: string | number;
10006
- } | {
10007
- rangepast: string | number;
10008
- } | {
10009
- nrangefuture: string | number;
10010
- } | {
10011
- nrangepast: string | number;
10012
- };
10013
- })[];
10014
- } | {
10015
- $or: ({
10046
+ success: false;
10047
+ error: {
10048
+ issues: {
10049
+ path: (string | number)[];
10050
+ code: string;
10051
+ message: string;
10052
+ }[];
10053
+ };
10054
+ };
10055
+ relations: {
10056
+ error?: string | undefined;
10057
+ fromDatasourceId: string;
10058
+ fromTable: string;
10059
+ fromColumn: string;
10060
+ fromDistinctCount: number | null;
10061
+ toDatasourceId: string;
10062
+ toTable: string;
10063
+ toColumn: string;
10064
+ toDistinctCount: number | null;
10065
+ matchCount: number | null;
10066
+ matchPercentage: number | null;
10067
+ }[];
10068
+ };
10069
+ program: string;
10070
+ version: string;
10071
+ status: string;
10072
+ code?: number | undefined;
10073
+ message: string;
10074
+ }, any, {}>>;
10075
+ getSchema: (params: {
10076
+ id: string;
10077
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10078
+ status: "success";
10079
+ } & {
10080
+ datetime: string;
10081
+ data: {
10082
+ [x: string]: unknown;
10083
+ };
10084
+ program: string;
10085
+ version: string;
10086
+ status: string;
10087
+ code?: number | undefined;
10088
+ message: string;
10089
+ }, any, {}>>;
10090
+ updateSchema: (params: {
10091
+ id: string;
10092
+ }, data: {
10093
+ schema: {
10094
+ name: string;
10095
+ description?: string | undefined;
10096
+ relations?: {
10097
+ description?: string | undefined;
10098
+ type: "Relation";
10099
+ columns: string[];
10100
+ reference: {
10101
+ datasourceId: string;
10102
+ table: string;
10103
+ columns: string[];
10104
+ };
10105
+ }[] | undefined;
10106
+ datasourceId: string;
10107
+ columns: {
10108
+ name: string;
10109
+ description?: string | undefined;
10110
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10111
+ default?: string | number | boolean | undefined;
10112
+ nullable: boolean;
10113
+ }[];
10114
+ virtualColumns?: {
10115
+ query: string;
10116
+ name: string;
10117
+ description?: string | undefined;
10118
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10119
+ nullable: boolean;
10120
+ }[] | undefined;
10121
+ uniqueKeys?: {
10122
+ description?: string | undefined;
10123
+ type: "UniqueKey";
10124
+ columns: string[];
10125
+ }[] | undefined;
10126
+ indexes?: {
10127
+ description?: string | undefined;
10128
+ type: "Index";
10129
+ columns: string[];
10130
+ }[] | undefined;
10131
+ }[];
10132
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10133
+ status: "success";
10134
+ } & {
10135
+ datetime: string;
10136
+ data: {
10137
+ [x: string]: unknown;
10138
+ };
10139
+ program: string;
10140
+ version: string;
10141
+ status: string;
10142
+ code?: number | undefined;
10143
+ message: string;
10144
+ }, any, {}>>;
10145
+ deleteSchema: (params: {
10146
+ id: string;
10147
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10148
+ publishSchema: (params: {
10149
+ id: string;
10150
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10151
+ status: "success";
10152
+ } & {
10153
+ datetime: string;
10154
+ data: {
10155
+ [x: string]: unknown;
10156
+ };
10157
+ program: string;
10158
+ version: string;
10159
+ status: string;
10160
+ code?: number | undefined;
10161
+ message: string;
10162
+ }, any, {}>>;
10163
+ listEntities: (params: {
10164
+ page?: number | undefined;
10165
+ perPage?: number | undefined;
10166
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10167
+ paginationCount: number;
10168
+ paginationPage: number;
10169
+ paginationLimit: number;
10170
+ } & {
10171
+ status: "success";
10172
+ } & {
10173
+ datetime: string;
10174
+ data: {
10175
+ readonly id: string & {
10176
+ readonly?: "__readonly" | undefined;
10177
+ };
10178
+ readonly companyId: string & {
10179
+ readonly?: "__readonly" | undefined;
10180
+ };
10181
+ readonly resourceGroupIds: string[];
10182
+ readonly versions: (string | {
10183
+ readonly companyId: string & {
10184
+ readonly?: "__readonly" | undefined;
10185
+ };
10186
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10187
+ readonly?: "__readonly" | undefined;
10188
+ };
10189
+ _id: string;
10190
+ __v: number;
10191
+ readonly definition: {
10192
+ readonly?: "__readonly" | undefined;
10193
+ name: string;
10194
+ options: {
10195
+ name: string;
10196
+ index: number;
10197
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10198
+ shortDescription: string;
10199
+ fullDescription: string | null;
10200
+ }[];
10201
+ sql: string | null;
10202
+ readonly answers: {
10203
+ name: string;
10204
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10205
+ }[];
10206
+ };
10207
+ })[];
10208
+ readonly archivedAt: string & {
10209
+ readonly?: "__readonly" | undefined;
10210
+ };
10211
+ readonly createdAt: string & {
10212
+ readonly?: "__readonly" | undefined;
10213
+ };
10214
+ readonly updatedAt: string & {
10215
+ readonly?: "__readonly" | undefined;
10216
+ };
10217
+ }[];
10218
+ program: string;
10219
+ version: string;
10220
+ status: string;
10221
+ code?: number | undefined;
10222
+ message: string;
10223
+ }, any, {}>>;
10224
+ createEntity: (params: Record<string, never>, data: {
10225
+ entity: {
10226
+ name: string;
10227
+ options: {
10228
+ name: string;
10229
+ index: number;
10230
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10231
+ shortDescription: string;
10232
+ fullDescription: string | null;
10233
+ }[];
10234
+ sql: string | null;
10235
+ };
10236
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10237
+ status: "success";
10238
+ } & {
10239
+ datetime: string;
10240
+ data: {
10241
+ readonly id: string & {
10242
+ readonly?: "__readonly" | undefined;
10243
+ };
10244
+ readonly companyId: string & {
10245
+ readonly?: "__readonly" | undefined;
10246
+ };
10247
+ readonly resourceGroupIds: string[];
10248
+ readonly versions: (string | {
10249
+ readonly companyId: string & {
10250
+ readonly?: "__readonly" | undefined;
10251
+ };
10252
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10253
+ readonly?: "__readonly" | undefined;
10254
+ };
10255
+ _id: string;
10256
+ __v: number;
10257
+ readonly definition: {
10258
+ readonly?: "__readonly" | undefined;
10259
+ name: string;
10260
+ options: {
10261
+ name: string;
10262
+ index: number;
10263
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10264
+ shortDescription: string;
10265
+ fullDescription: string | null;
10266
+ }[];
10267
+ sql: string | null;
10268
+ readonly answers: {
10269
+ name: string;
10270
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10271
+ }[];
10272
+ };
10273
+ })[];
10274
+ readonly archivedAt: string & {
10275
+ readonly?: "__readonly" | undefined;
10276
+ };
10277
+ readonly createdAt: string & {
10278
+ readonly?: "__readonly" | undefined;
10279
+ };
10280
+ readonly updatedAt: string & {
10281
+ readonly?: "__readonly" | undefined;
10282
+ };
10283
+ };
10284
+ program: string;
10285
+ version: string;
10286
+ status: string;
10287
+ code?: number | undefined;
10288
+ message: string;
10289
+ }, any, {}>>;
10290
+ getEntity: (params: {
10291
+ id: string;
10292
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10293
+ status: "success";
10294
+ } & {
10295
+ datetime: string;
10296
+ data: {
10297
+ readonly id: string & {
10298
+ readonly?: "__readonly" | undefined;
10299
+ };
10300
+ readonly companyId: string & {
10301
+ readonly?: "__readonly" | undefined;
10302
+ };
10303
+ readonly resourceGroupIds: string[];
10304
+ readonly versions: (string | {
10305
+ readonly companyId: string & {
10306
+ readonly?: "__readonly" | undefined;
10307
+ };
10308
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10309
+ readonly?: "__readonly" | undefined;
10310
+ };
10311
+ _id: string;
10312
+ __v: number;
10313
+ readonly definition: {
10314
+ readonly?: "__readonly" | undefined;
10315
+ name: string;
10316
+ options: {
10317
+ name: string;
10318
+ index: number;
10319
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10320
+ shortDescription: string;
10321
+ fullDescription: string | null;
10322
+ }[];
10323
+ sql: string | null;
10324
+ readonly answers: {
10325
+ name: string;
10326
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10327
+ }[];
10328
+ };
10329
+ })[];
10330
+ readonly archivedAt: string & {
10331
+ readonly?: "__readonly" | undefined;
10332
+ };
10333
+ readonly createdAt: string & {
10334
+ readonly?: "__readonly" | undefined;
10335
+ };
10336
+ readonly updatedAt: string & {
10337
+ readonly?: "__readonly" | undefined;
10338
+ };
10339
+ };
10340
+ program: string;
10341
+ version: string;
10342
+ status: string;
10343
+ code?: number | undefined;
10344
+ message: string;
10345
+ }, any, {}>>;
10346
+ updateEntity: (params: {
10347
+ id: string;
10348
+ }, data: {
10349
+ entity: {
10350
+ name: string;
10351
+ options: {
10352
+ name: string;
10353
+ index: number;
10354
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10355
+ shortDescription: string;
10356
+ fullDescription: string | null;
10357
+ }[];
10358
+ sql: string | null;
10359
+ };
10360
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10361
+ status: "success";
10362
+ } & {
10363
+ datetime: string;
10364
+ data: {
10365
+ readonly id: string & {
10366
+ readonly?: "__readonly" | undefined;
10367
+ };
10368
+ readonly companyId: string & {
10369
+ readonly?: "__readonly" | undefined;
10370
+ };
10371
+ readonly resourceGroupIds: string[];
10372
+ readonly versions: (string | {
10373
+ readonly companyId: string & {
10374
+ readonly?: "__readonly" | undefined;
10375
+ };
10376
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10377
+ readonly?: "__readonly" | undefined;
10378
+ };
10379
+ _id: string;
10380
+ __v: number;
10381
+ readonly definition: {
10382
+ readonly?: "__readonly" | undefined;
10383
+ name: string;
10384
+ options: {
10385
+ name: string;
10386
+ index: number;
10387
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10388
+ shortDescription: string;
10389
+ fullDescription: string | null;
10390
+ }[];
10391
+ sql: string | null;
10392
+ readonly answers: {
10393
+ name: string;
10394
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10395
+ }[];
10396
+ };
10397
+ })[];
10398
+ readonly archivedAt: string & {
10399
+ readonly?: "__readonly" | undefined;
10400
+ };
10401
+ readonly createdAt: string & {
10402
+ readonly?: "__readonly" | undefined;
10403
+ };
10404
+ readonly updatedAt: string & {
10405
+ readonly?: "__readonly" | undefined;
10406
+ };
10407
+ };
10408
+ program: string;
10409
+ version: string;
10410
+ status: string;
10411
+ code?: number | undefined;
10412
+ message: string;
10413
+ }, any, {}>>;
10414
+ deleteEntity: (params: {
10415
+ id: string;
10416
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10417
+ publishEntity: (params: {
10418
+ id: string;
10419
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10420
+ status: "success";
10421
+ } & {
10422
+ datetime: string;
10423
+ data: {
10424
+ readonly id: string & {
10425
+ readonly?: "__readonly" | undefined;
10426
+ };
10427
+ readonly companyId: string & {
10428
+ readonly?: "__readonly" | undefined;
10429
+ };
10430
+ readonly resourceGroupIds: string[];
10431
+ readonly versions: (string | {
10432
+ readonly companyId: string & {
10433
+ readonly?: "__readonly" | undefined;
10434
+ };
10435
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
10436
+ readonly?: "__readonly" | undefined;
10437
+ };
10438
+ _id: string;
10439
+ __v: number;
10440
+ readonly definition: {
10441
+ readonly?: "__readonly" | undefined;
10442
+ name: string;
10443
+ options: {
10444
+ name: string;
10445
+ index: number;
10446
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10447
+ shortDescription: string;
10448
+ fullDescription: string | null;
10449
+ }[];
10450
+ sql: string | null;
10451
+ readonly answers: {
10452
+ name: string;
10453
+ type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10454
+ }[];
10455
+ };
10456
+ })[];
10457
+ readonly archivedAt: string & {
10458
+ readonly?: "__readonly" | undefined;
10459
+ };
10460
+ readonly createdAt: string & {
10461
+ readonly?: "__readonly" | undefined;
10462
+ };
10463
+ readonly updatedAt: string & {
10464
+ readonly?: "__readonly" | undefined;
10465
+ };
10466
+ };
10467
+ program: string;
10468
+ version: string;
10469
+ status: string;
10470
+ code?: number | undefined;
10471
+ message: string;
10472
+ }, any, {}>>;
10473
+ };
10474
+ get DatasourceSteps(): {
10475
+ getCurrentStepDatasource: (params: {
10476
+ id: string;
10477
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10478
+ status: "success";
10479
+ } & {
10480
+ datetime: string;
10481
+ data: {
10482
+ current: {
10483
+ name: "configure_name";
10484
+ value?: string | undefined;
10485
+ } | {
10486
+ name: "configure_resource_group_ids";
10487
+ value?: string[] | undefined;
10488
+ } | {
10489
+ name: "configure_sources";
10490
+ value?: {
10491
+ pipeline: ({
10492
+ input: {
10493
+ filter?: {
10494
+ $and: ({
10495
+ $and: ({
10016
10496
  [x: string]: {
10017
10497
  $eq: string | number | boolean | string[] | unknown[];
10018
10498
  } | {
@@ -10153,10 +10633,8 @@ export default class {
10153
10633
  nrangepast: string | number;
10154
10634
  };
10155
10635
  })[];
10156
- })[];
10157
- } | {
10158
- $or: ({
10159
- $and: ({
10636
+ } | {
10637
+ $or: ({
10160
10638
  [x: string]: {
10161
10639
  $eq: string | number | boolean | string[] | unknown[];
10162
10640
  } | {
@@ -10297,8 +10775,10 @@ export default class {
10297
10775
  nrangepast: string | number;
10298
10776
  };
10299
10777
  })[];
10300
- } | {
10301
- $or: ({
10778
+ })[];
10779
+ } | {
10780
+ $or: ({
10781
+ $and: ({
10302
10782
  [x: string]: {
10303
10783
  $eq: string | number | boolean | string[] | unknown[];
10304
10784
  } | {
@@ -10439,46 +10919,188 @@ export default class {
10439
10919
  nrangepast: string | number;
10440
10920
  };
10441
10921
  })[];
10442
- })[];
10443
- } | undefined;
10444
- sample?: {
10445
- [x: string]: unknown;
10446
- } | undefined;
10447
- source: {
10448
- options: {
10449
- id: string;
10450
- };
10451
- type: "datasource";
10452
- preProcessingAggregations?: {
10453
- options: {
10454
- src: string;
10455
- dest: string;
10456
- allowEmpty?: boolean | undefined;
10457
- };
10458
- type: "unwind";
10459
- }[] | undefined;
10460
- } | {
10461
- options: {
10462
- query?: string | undefined;
10463
- privateKey?: string | undefined;
10464
- dataset: string;
10465
- table: string;
10466
- clientEmail?: string | undefined;
10467
- projectId?: string | undefined;
10468
- tableProjectId?: string | undefined;
10469
- timestampField?: string | undefined;
10470
- timestampFieldType?: "datetime" | "timestamp" | undefined;
10471
- customOAuthClientId?: string | undefined;
10472
- };
10473
- type: "bigquery";
10474
- preProcessingAggregations?: {
10475
- options: {
10476
- src: string;
10477
- dest: string;
10478
- allowEmpty?: boolean | undefined;
10479
- };
10480
- type: "unwind";
10481
- }[] | undefined;
10922
+ } | {
10923
+ $or: ({
10924
+ [x: string]: {
10925
+ $eq: string | number | boolean | string[] | unknown[];
10926
+ } | {
10927
+ $ne: string | number | boolean | string[] | unknown[];
10928
+ } | {
10929
+ $contains: string | string[];
10930
+ } | {
10931
+ $notcontains: string | string[];
10932
+ } | {
10933
+ $startswith: string | string[];
10934
+ } | {
10935
+ $endswith: string | string[];
10936
+ } | {
10937
+ $empty: boolean;
10938
+ } | {
10939
+ eq: string | number | boolean | string[] | unknown[];
10940
+ } | {
10941
+ ne: string | number | boolean | string[] | unknown[];
10942
+ } | {
10943
+ contains: string | string[];
10944
+ } | {
10945
+ notcontains: string | string[];
10946
+ } | {
10947
+ startswith: string | string[];
10948
+ } | {
10949
+ endswith: string | string[];
10950
+ } | {
10951
+ empty: boolean;
10952
+ } | {
10953
+ $neq: string | number | unknown[] | number[];
10954
+ } | {
10955
+ $nne: string | number | unknown[] | number[];
10956
+ } | {
10957
+ $lt: string | number;
10958
+ } | {
10959
+ $lte: string | number;
10960
+ } | {
10961
+ $gt: string | number;
10962
+ } | {
10963
+ $gte: string | number;
10964
+ } | {
10965
+ neq: string | number | unknown[] | number[];
10966
+ } | {
10967
+ nne: string | number | unknown[] | number[];
10968
+ } | {
10969
+ lt: string | number;
10970
+ } | {
10971
+ lte: string | number;
10972
+ } | {
10973
+ gt: string | number;
10974
+ } | {
10975
+ gte: string | number;
10976
+ } | {
10977
+ $rangefuture: string | number;
10978
+ } | {
10979
+ $rangepast: string | number;
10980
+ } | {
10981
+ $nrangefuture: string | number;
10982
+ } | {
10983
+ $nrangepast: string | number;
10984
+ } | {
10985
+ rangefuture: string | number;
10986
+ } | {
10987
+ rangepast: string | number;
10988
+ } | {
10989
+ nrangefuture: string | number;
10990
+ } | {
10991
+ nrangepast: string | number;
10992
+ };
10993
+ } | {
10994
+ [x: string]: {
10995
+ $eq: string | number | boolean | string[] | unknown[];
10996
+ } | {
10997
+ $ne: string | number | boolean | string[] | unknown[];
10998
+ } | {
10999
+ $contains: string | string[];
11000
+ } | {
11001
+ $notcontains: string | string[];
11002
+ } | {
11003
+ $startswith: string | string[];
11004
+ } | {
11005
+ $endswith: string | string[];
11006
+ } | {
11007
+ $empty: boolean;
11008
+ } | {
11009
+ eq: string | number | boolean | string[] | unknown[];
11010
+ } | {
11011
+ ne: string | number | boolean | string[] | unknown[];
11012
+ } | {
11013
+ contains: string | string[];
11014
+ } | {
11015
+ notcontains: string | string[];
11016
+ } | {
11017
+ startswith: string | string[];
11018
+ } | {
11019
+ endswith: string | string[];
11020
+ } | {
11021
+ empty: boolean;
11022
+ } | {
11023
+ $neq: string | number | unknown[] | number[];
11024
+ } | {
11025
+ $nne: string | number | unknown[] | number[];
11026
+ } | {
11027
+ $lt: string | number;
11028
+ } | {
11029
+ $lte: string | number;
11030
+ } | {
11031
+ $gt: string | number;
11032
+ } | {
11033
+ $gte: string | number;
11034
+ } | {
11035
+ neq: string | number | unknown[] | number[];
11036
+ } | {
11037
+ nne: string | number | unknown[] | number[];
11038
+ } | {
11039
+ lt: string | number;
11040
+ } | {
11041
+ lte: string | number;
11042
+ } | {
11043
+ gt: string | number;
11044
+ } | {
11045
+ gte: string | number;
11046
+ } | {
11047
+ $rangefuture: string | number;
11048
+ } | {
11049
+ $rangepast: string | number;
11050
+ } | {
11051
+ $nrangefuture: string | number;
11052
+ } | {
11053
+ $nrangepast: string | number;
11054
+ } | {
11055
+ rangefuture: string | number;
11056
+ } | {
11057
+ rangepast: string | number;
11058
+ } | {
11059
+ nrangefuture: string | number;
11060
+ } | {
11061
+ nrangepast: string | number;
11062
+ };
11063
+ })[];
11064
+ })[];
11065
+ } | undefined;
11066
+ sample?: {
11067
+ [x: string]: unknown;
11068
+ } | undefined;
11069
+ source: {
11070
+ options: {
11071
+ id: string;
11072
+ };
11073
+ type: "datasource";
11074
+ preProcessingAggregations?: {
11075
+ options: {
11076
+ src: string;
11077
+ dest: string;
11078
+ allowEmpty?: boolean | undefined;
11079
+ };
11080
+ type: "unwind";
11081
+ }[] | undefined;
11082
+ } | {
11083
+ options: {
11084
+ query?: string | undefined;
11085
+ privateKey?: string | undefined;
11086
+ dataset: string;
11087
+ table: string;
11088
+ clientEmail?: string | undefined;
11089
+ projectId?: string | undefined;
11090
+ tableProjectId?: string | undefined;
11091
+ timestampField?: string | undefined;
11092
+ timestampFieldType?: "datetime" | "timestamp" | undefined;
11093
+ customOAuthClientId?: string | undefined;
11094
+ };
11095
+ type: "bigquery";
11096
+ preProcessingAggregations?: {
11097
+ options: {
11098
+ src: string;
11099
+ dest: string;
11100
+ allowEmpty?: boolean | undefined;
11101
+ };
11102
+ type: "unwind";
11103
+ }[] | undefined;
10482
11104
  } | {
10483
11105
  options: {
10484
11106
  url: string;
@@ -10742,8 +11364,8 @@ export default class {
10742
11364
  query?: string | undefined;
10743
11365
  username: string;
10744
11366
  password?: string | undefined;
10745
- privateKey?: string | undefined;
10746
11367
  schema: string;
11368
+ privateKey?: string | undefined;
10747
11369
  table: string;
10748
11370
  account: string;
10749
11371
  warehouse: string;
@@ -11955,8 +12577,8 @@ export default class {
11955
12577
  query?: string | undefined;
11956
12578
  username: string;
11957
12579
  password?: string | undefined;
11958
- privateKey?: string | undefined;
11959
12580
  schema: string;
12581
+ privateKey?: string | undefined;
11960
12582
  table: string;
11961
12583
  account: string;
11962
12584
  warehouse: string;
@@ -12672,6 +13294,14 @@ export default class {
12672
13294
  } | {
12673
13295
  name: "patch";
12674
13296
  value?: {
13297
+ destinations?: {
13298
+ type: "bigquery";
13299
+ dataset: string;
13300
+ tableName: string;
13301
+ deduplicateOptions?: {
13302
+ enabled: boolean;
13303
+ } | undefined;
13304
+ }[] | undefined;
12675
13305
  aggregationPipeline: ({
12676
13306
  name: "merge";
12677
13307
  params: {
@@ -12745,14 +13375,6 @@ export default class {
12745
13375
  options: unknown;
12746
13376
  type: "keep_previous_data";
12747
13377
  };
12748
- destinations?: {
12749
- type: "bigquery";
12750
- dataset: string;
12751
- tableName: string;
12752
- deduplicateOptions?: {
12753
- enabled: boolean;
12754
- } | undefined;
12755
- }[] | undefined;
12756
13378
  segmentBatchSize?: number | undefined;
12757
13379
  sftpPublicKey?: string | undefined;
12758
13380
  } | undefined;
@@ -13777,8 +14399,8 @@ export default class {
13777
14399
  query?: string | undefined;
13778
14400
  username: string;
13779
14401
  password?: string | undefined;
13780
- privateKey?: string | undefined;
13781
14402
  schema: string;
14403
+ privateKey?: string | undefined;
13782
14404
  table: string;
13783
14405
  account: string;
13784
14406
  warehouse: string;
@@ -14990,8 +15612,8 @@ export default class {
14990
15612
  query?: string | undefined;
14991
15613
  username: string;
14992
15614
  password?: string | undefined;
14993
- privateKey?: string | undefined;
14994
15615
  schema: string;
15616
+ privateKey?: string | undefined;
14995
15617
  table: string;
14996
15618
  account: string;
14997
15619
  warehouse: string;
@@ -16522,6 +17144,27 @@ export default class {
16522
17144
  };
16523
17145
  type: "unwind";
16524
17146
  }[] | undefined;
17147
+ storageOptions?: {
17148
+ partitionCount?: number | undefined;
17149
+ segments?: {
17150
+ offlineSize?: number | undefined;
17151
+ offlineReplication?: number | undefined;
17152
+ realtimeSize?: number | undefined;
17153
+ realtimeReplication?: number | undefined;
17154
+ } | undefined;
17155
+ retention?: {
17156
+ value: number;
17157
+ unit: "DAYS";
17158
+ } | undefined;
17159
+ destinations?: {
17160
+ type: "bigquery";
17161
+ dataset: string;
17162
+ tableName: string;
17163
+ deduplicateOptions?: {
17164
+ enabled: boolean;
17165
+ } | undefined;
17166
+ }[] | undefined;
17167
+ } | undefined;
16525
17168
  updateOptions: {
16526
17169
  options: unknown;
16527
17170
  type: "override_previous_data";
@@ -16541,14 +17184,6 @@ export default class {
16541
17184
  options: unknown;
16542
17185
  type: "keep_previous_data";
16543
17186
  };
16544
- destinations?: {
16545
- type: "bigquery";
16546
- dataset: string;
16547
- tableName: string;
16548
- deduplicateOptions?: {
16549
- enabled: boolean;
16550
- } | undefined;
16551
- }[] | undefined;
16552
17187
  authentication?: {
16553
17188
  type: "bearer";
16554
17189
  value: string;
@@ -17519,8 +18154,8 @@ export default class {
17519
18154
  query?: string | undefined;
17520
18155
  username: string;
17521
18156
  password?: string | undefined;
17522
- privateKey?: string | undefined;
17523
18157
  schema: string;
18158
+ privateKey?: string | undefined;
17524
18159
  table: string;
17525
18160
  account: string;
17526
18161
  warehouse: string;
@@ -18732,8 +19367,8 @@ export default class {
18732
19367
  query?: string | undefined;
18733
19368
  username: string;
18734
19369
  password?: string | undefined;
18735
- privateKey?: string | undefined;
18736
19370
  schema: string;
19371
+ privateKey?: string | undefined;
18737
19372
  table: string;
18738
19373
  account: string;
18739
19374
  warehouse: string;
@@ -19429,14 +20064,27 @@ export default class {
19429
20064
  } | {
19430
20065
  name: "patch";
19431
20066
  value?: {
19432
- destinations?: {
19433
- type: "bigquery";
19434
- dataset: string;
19435
- tableName: string;
19436
- deduplicateOptions?: {
19437
- enabled: boolean;
20067
+ storageOptions?: {
20068
+ partitionCount?: number | undefined;
20069
+ segments?: {
20070
+ offlineSize?: number | undefined;
20071
+ offlineReplication?: number | undefined;
20072
+ realtimeSize?: number | undefined;
20073
+ realtimeReplication?: number | undefined;
19438
20074
  } | undefined;
19439
- }[] | undefined;
20075
+ retention?: {
20076
+ value: number;
20077
+ unit: "DAYS";
20078
+ } | undefined;
20079
+ destinations?: {
20080
+ type: "bigquery";
20081
+ dataset: string;
20082
+ tableName: string;
20083
+ deduplicateOptions?: {
20084
+ enabled: boolean;
20085
+ } | undefined;
20086
+ }[] | undefined;
20087
+ } | undefined;
19440
20088
  } | undefined;
19441
20089
  } | {
19442
20090
  name: "configure_fetcher";
@@ -20921,8 +21569,8 @@ export default class {
20921
21569
  query?: string | undefined;
20922
21570
  username: string;
20923
21571
  password?: string | undefined;
20924
- privateKey?: string | undefined;
20925
21572
  schema: string;
21573
+ privateKey?: string | undefined;
20926
21574
  table: string;
20927
21575
  account: string;
20928
21576
  warehouse: string;
@@ -22134,8 +22782,8 @@ export default class {
22134
22782
  query?: string | undefined;
22135
22783
  username: string;
22136
22784
  password?: string | undefined;
22137
- privateKey?: string | undefined;
22138
22785
  schema: string;
22786
+ privateKey?: string | undefined;
22139
22787
  table: string;
22140
22788
  account: string;
22141
22789
  warehouse: string;
@@ -22851,6 +23499,14 @@ export default class {
22851
23499
  } | {
22852
23500
  name: "patch";
22853
23501
  value?: {
23502
+ destinations?: {
23503
+ type: "bigquery";
23504
+ dataset: string;
23505
+ tableName: string;
23506
+ deduplicateOptions?: {
23507
+ enabled: boolean;
23508
+ } | undefined;
23509
+ }[] | undefined;
22854
23510
  aggregationPipeline: ({
22855
23511
  name: "merge";
22856
23512
  params: {
@@ -22924,14 +23580,6 @@ export default class {
22924
23580
  options: unknown;
22925
23581
  type: "keep_previous_data";
22926
23582
  };
22927
- destinations?: {
22928
- type: "bigquery";
22929
- dataset: string;
22930
- tableName: string;
22931
- deduplicateOptions?: {
22932
- enabled: boolean;
22933
- } | undefined;
22934
- }[] | undefined;
22935
23583
  segmentBatchSize?: number | undefined;
22936
23584
  sftpPublicKey?: string | undefined;
22937
23585
  } | undefined;
@@ -23956,8 +24604,8 @@ export default class {
23956
24604
  query?: string | undefined;
23957
24605
  username: string;
23958
24606
  password?: string | undefined;
23959
- privateKey?: string | undefined;
23960
24607
  schema: string;
24608
+ privateKey?: string | undefined;
23961
24609
  table: string;
23962
24610
  account: string;
23963
24611
  warehouse: string;
@@ -25169,8 +25817,8 @@ export default class {
25169
25817
  query?: string | undefined;
25170
25818
  username: string;
25171
25819
  password?: string | undefined;
25172
- privateKey?: string | undefined;
25173
25820
  schema: string;
25821
+ privateKey?: string | undefined;
25174
25822
  table: string;
25175
25823
  account: string;
25176
25824
  warehouse: string;
@@ -26701,6 +27349,27 @@ export default class {
26701
27349
  };
26702
27350
  type: "unwind";
26703
27351
  }[] | undefined;
27352
+ storageOptions?: {
27353
+ partitionCount?: number | undefined;
27354
+ segments?: {
27355
+ offlineSize?: number | undefined;
27356
+ offlineReplication?: number | undefined;
27357
+ realtimeSize?: number | undefined;
27358
+ realtimeReplication?: number | undefined;
27359
+ } | undefined;
27360
+ retention?: {
27361
+ value: number;
27362
+ unit: "DAYS";
27363
+ } | undefined;
27364
+ destinations?: {
27365
+ type: "bigquery";
27366
+ dataset: string;
27367
+ tableName: string;
27368
+ deduplicateOptions?: {
27369
+ enabled: boolean;
27370
+ } | undefined;
27371
+ }[] | undefined;
27372
+ } | undefined;
26704
27373
  updateOptions: {
26705
27374
  options: unknown;
26706
27375
  type: "override_previous_data";
@@ -26720,14 +27389,6 @@ export default class {
26720
27389
  options: unknown;
26721
27390
  type: "keep_previous_data";
26722
27391
  };
26723
- destinations?: {
26724
- type: "bigquery";
26725
- dataset: string;
26726
- tableName: string;
26727
- deduplicateOptions?: {
26728
- enabled: boolean;
26729
- } | undefined;
26730
- }[] | undefined;
26731
27392
  authentication?: {
26732
27393
  type: "bearer";
26733
27394
  value: string;
@@ -27698,8 +28359,8 @@ export default class {
27698
28359
  query?: string | undefined;
27699
28360
  username: string;
27700
28361
  password?: string | undefined;
27701
- privateKey?: string | undefined;
27702
28362
  schema: string;
28363
+ privateKey?: string | undefined;
27703
28364
  table: string;
27704
28365
  account: string;
27705
28366
  warehouse: string;
@@ -28911,8 +29572,8 @@ export default class {
28911
29572
  query?: string | undefined;
28912
29573
  username: string;
28913
29574
  password?: string | undefined;
28914
- privateKey?: string | undefined;
28915
29575
  schema: string;
29576
+ privateKey?: string | undefined;
28916
29577
  table: string;
28917
29578
  account: string;
28918
29579
  warehouse: string;
@@ -29608,14 +30269,27 @@ export default class {
29608
30269
  } | {
29609
30270
  name: "patch";
29610
30271
  value?: {
29611
- destinations?: {
29612
- type: "bigquery";
29613
- dataset: string;
29614
- tableName: string;
29615
- deduplicateOptions?: {
29616
- enabled: boolean;
30272
+ storageOptions?: {
30273
+ partitionCount?: number | undefined;
30274
+ segments?: {
30275
+ offlineSize?: number | undefined;
30276
+ offlineReplication?: number | undefined;
30277
+ realtimeSize?: number | undefined;
30278
+ realtimeReplication?: number | undefined;
29617
30279
  } | undefined;
29618
- }[] | undefined;
30280
+ retention?: {
30281
+ value: number;
30282
+ unit: "DAYS";
30283
+ } | undefined;
30284
+ destinations?: {
30285
+ type: "bigquery";
30286
+ dataset: string;
30287
+ tableName: string;
30288
+ deduplicateOptions?: {
30289
+ enabled: boolean;
30290
+ } | undefined;
30291
+ }[] | undefined;
30292
+ } | undefined;
29619
30293
  } | undefined;
29620
30294
  } | {
29621
30295
  name: "configure_fetcher";
@@ -31100,8 +31774,8 @@ export default class {
31100
31774
  query?: string | undefined;
31101
31775
  username: string;
31102
31776
  password?: string | undefined;
31103
- privateKey?: string | undefined;
31104
31777
  schema: string;
31778
+ privateKey?: string | undefined;
31105
31779
  table: string;
31106
31780
  account: string;
31107
31781
  warehouse: string;
@@ -32313,8 +32987,8 @@ export default class {
32313
32987
  query?: string | undefined;
32314
32988
  username: string;
32315
32989
  password?: string | undefined;
32316
- privateKey?: string | undefined;
32317
32990
  schema: string;
32991
+ privateKey?: string | undefined;
32318
32992
  table: string;
32319
32993
  account: string;
32320
32994
  warehouse: string;
@@ -33030,6 +33704,14 @@ export default class {
33030
33704
  } | {
33031
33705
  name: "patch";
33032
33706
  value?: {
33707
+ destinations?: {
33708
+ type: "bigquery";
33709
+ dataset: string;
33710
+ tableName: string;
33711
+ deduplicateOptions?: {
33712
+ enabled: boolean;
33713
+ } | undefined;
33714
+ }[] | undefined;
33033
33715
  aggregationPipeline: ({
33034
33716
  name: "merge";
33035
33717
  params: {
@@ -33103,14 +33785,6 @@ export default class {
33103
33785
  options: unknown;
33104
33786
  type: "keep_previous_data";
33105
33787
  };
33106
- destinations?: {
33107
- type: "bigquery";
33108
- dataset: string;
33109
- tableName: string;
33110
- deduplicateOptions?: {
33111
- enabled: boolean;
33112
- } | undefined;
33113
- }[] | undefined;
33114
33788
  segmentBatchSize?: number | undefined;
33115
33789
  sftpPublicKey?: string | undefined;
33116
33790
  } | undefined;
@@ -34135,8 +34809,8 @@ export default class {
34135
34809
  query?: string | undefined;
34136
34810
  username: string;
34137
34811
  password?: string | undefined;
34138
- privateKey?: string | undefined;
34139
34812
  schema: string;
34813
+ privateKey?: string | undefined;
34140
34814
  table: string;
34141
34815
  account: string;
34142
34816
  warehouse: string;
@@ -35348,8 +36022,8 @@ export default class {
35348
36022
  query?: string | undefined;
35349
36023
  username: string;
35350
36024
  password?: string | undefined;
35351
- privateKey?: string | undefined;
35352
36025
  schema: string;
36026
+ privateKey?: string | undefined;
35353
36027
  table: string;
35354
36028
  account: string;
35355
36029
  warehouse: string;
@@ -36880,6 +37554,27 @@ export default class {
36880
37554
  };
36881
37555
  type: "unwind";
36882
37556
  }[] | undefined;
37557
+ storageOptions?: {
37558
+ partitionCount?: number | undefined;
37559
+ segments?: {
37560
+ offlineSize?: number | undefined;
37561
+ offlineReplication?: number | undefined;
37562
+ realtimeSize?: number | undefined;
37563
+ realtimeReplication?: number | undefined;
37564
+ } | undefined;
37565
+ retention?: {
37566
+ value: number;
37567
+ unit: "DAYS";
37568
+ } | undefined;
37569
+ destinations?: {
37570
+ type: "bigquery";
37571
+ dataset: string;
37572
+ tableName: string;
37573
+ deduplicateOptions?: {
37574
+ enabled: boolean;
37575
+ } | undefined;
37576
+ }[] | undefined;
37577
+ } | undefined;
36883
37578
  updateOptions: {
36884
37579
  options: unknown;
36885
37580
  type: "override_previous_data";
@@ -36899,14 +37594,6 @@ export default class {
36899
37594
  options: unknown;
36900
37595
  type: "keep_previous_data";
36901
37596
  };
36902
- destinations?: {
36903
- type: "bigquery";
36904
- dataset: string;
36905
- tableName: string;
36906
- deduplicateOptions?: {
36907
- enabled: boolean;
36908
- } | undefined;
36909
- }[] | undefined;
36910
37597
  authentication?: {
36911
37598
  type: "bearer";
36912
37599
  value: string;
@@ -37877,8 +38564,8 @@ export default class {
37877
38564
  query?: string | undefined;
37878
38565
  username: string;
37879
38566
  password?: string | undefined;
37880
- privateKey?: string | undefined;
37881
38567
  schema: string;
38568
+ privateKey?: string | undefined;
37882
38569
  table: string;
37883
38570
  account: string;
37884
38571
  warehouse: string;
@@ -39090,8 +39777,8 @@ export default class {
39090
39777
  query?: string | undefined;
39091
39778
  username: string;
39092
39779
  password?: string | undefined;
39093
- privateKey?: string | undefined;
39094
39780
  schema: string;
39781
+ privateKey?: string | undefined;
39095
39782
  table: string;
39096
39783
  account: string;
39097
39784
  warehouse: string;
@@ -39787,14 +40474,27 @@ export default class {
39787
40474
  } | {
39788
40475
  name: "patch";
39789
40476
  value?: {
39790
- destinations?: {
39791
- type: "bigquery";
39792
- dataset: string;
39793
- tableName: string;
39794
- deduplicateOptions?: {
39795
- enabled: boolean;
40477
+ storageOptions?: {
40478
+ partitionCount?: number | undefined;
40479
+ segments?: {
40480
+ offlineSize?: number | undefined;
40481
+ offlineReplication?: number | undefined;
40482
+ realtimeSize?: number | undefined;
40483
+ realtimeReplication?: number | undefined;
39796
40484
  } | undefined;
39797
- }[] | undefined;
40485
+ retention?: {
40486
+ value: number;
40487
+ unit: "DAYS";
40488
+ } | undefined;
40489
+ destinations?: {
40490
+ type: "bigquery";
40491
+ dataset: string;
40492
+ tableName: string;
40493
+ deduplicateOptions?: {
40494
+ enabled: boolean;
40495
+ } | undefined;
40496
+ }[] | undefined;
40497
+ } | undefined;
39798
40498
  } | undefined;
39799
40499
  } | {
39800
40500
  name: "configure_fetcher";
@@ -41279,8 +41979,8 @@ export default class {
41279
41979
  query?: string | undefined;
41280
41980
  username: string;
41281
41981
  password?: string | undefined;
41282
- privateKey?: string | undefined;
41283
41982
  schema: string;
41983
+ privateKey?: string | undefined;
41284
41984
  table: string;
41285
41985
  account: string;
41286
41986
  warehouse: string;
@@ -42492,8 +43192,8 @@ export default class {
42492
43192
  query?: string | undefined;
42493
43193
  username: string;
42494
43194
  password?: string | undefined;
42495
- privateKey?: string | undefined;
42496
43195
  schema: string;
43196
+ privateKey?: string | undefined;
42497
43197
  table: string;
42498
43198
  account: string;
42499
43199
  warehouse: string;
@@ -43209,6 +43909,14 @@ export default class {
43209
43909
  } | {
43210
43910
  name: "patch";
43211
43911
  value?: {
43912
+ destinations?: {
43913
+ type: "bigquery";
43914
+ dataset: string;
43915
+ tableName: string;
43916
+ deduplicateOptions?: {
43917
+ enabled: boolean;
43918
+ } | undefined;
43919
+ }[] | undefined;
43212
43920
  aggregationPipeline: ({
43213
43921
  name: "merge";
43214
43922
  params: {
@@ -43282,14 +43990,6 @@ export default class {
43282
43990
  options: unknown;
43283
43991
  type: "keep_previous_data";
43284
43992
  };
43285
- destinations?: {
43286
- type: "bigquery";
43287
- dataset: string;
43288
- tableName: string;
43289
- deduplicateOptions?: {
43290
- enabled: boolean;
43291
- } | undefined;
43292
- }[] | undefined;
43293
43993
  segmentBatchSize?: number | undefined;
43294
43994
  sftpPublicKey?: string | undefined;
43295
43995
  } | undefined;
@@ -44314,8 +45014,8 @@ export default class {
44314
45014
  query?: string | undefined;
44315
45015
  username: string;
44316
45016
  password?: string | undefined;
44317
- privateKey?: string | undefined;
44318
45017
  schema: string;
45018
+ privateKey?: string | undefined;
44319
45019
  table: string;
44320
45020
  account: string;
44321
45021
  warehouse: string;
@@ -45527,8 +46227,8 @@ export default class {
45527
46227
  query?: string | undefined;
45528
46228
  username: string;
45529
46229
  password?: string | undefined;
45530
- privateKey?: string | undefined;
45531
46230
  schema: string;
46231
+ privateKey?: string | undefined;
45532
46232
  table: string;
45533
46233
  account: string;
45534
46234
  warehouse: string;
@@ -47059,6 +47759,27 @@ export default class {
47059
47759
  };
47060
47760
  type: "unwind";
47061
47761
  }[] | undefined;
47762
+ storageOptions?: {
47763
+ partitionCount?: number | undefined;
47764
+ segments?: {
47765
+ offlineSize?: number | undefined;
47766
+ offlineReplication?: number | undefined;
47767
+ realtimeSize?: number | undefined;
47768
+ realtimeReplication?: number | undefined;
47769
+ } | undefined;
47770
+ retention?: {
47771
+ value: number;
47772
+ unit: "DAYS";
47773
+ } | undefined;
47774
+ destinations?: {
47775
+ type: "bigquery";
47776
+ dataset: string;
47777
+ tableName: string;
47778
+ deduplicateOptions?: {
47779
+ enabled: boolean;
47780
+ } | undefined;
47781
+ }[] | undefined;
47782
+ } | undefined;
47062
47783
  updateOptions: {
47063
47784
  options: unknown;
47064
47785
  type: "override_previous_data";
@@ -47078,14 +47799,6 @@ export default class {
47078
47799
  options: unknown;
47079
47800
  type: "keep_previous_data";
47080
47801
  };
47081
- destinations?: {
47082
- type: "bigquery";
47083
- dataset: string;
47084
- tableName: string;
47085
- deduplicateOptions?: {
47086
- enabled: boolean;
47087
- } | undefined;
47088
- }[] | undefined;
47089
47802
  authentication?: {
47090
47803
  type: "bearer";
47091
47804
  value: string;
@@ -48056,8 +48769,8 @@ export default class {
48056
48769
  query?: string | undefined;
48057
48770
  username: string;
48058
48771
  password?: string | undefined;
48059
- privateKey?: string | undefined;
48060
48772
  schema: string;
48773
+ privateKey?: string | undefined;
48061
48774
  table: string;
48062
48775
  account: string;
48063
48776
  warehouse: string;
@@ -49269,8 +49982,8 @@ export default class {
49269
49982
  query?: string | undefined;
49270
49983
  username: string;
49271
49984
  password?: string | undefined;
49272
- privateKey?: string | undefined;
49273
49985
  schema: string;
49986
+ privateKey?: string | undefined;
49274
49987
  table: string;
49275
49988
  account: string;
49276
49989
  warehouse: string;
@@ -49966,91 +50679,104 @@ export default class {
49966
50679
  } | {
49967
50680
  name: "patch";
49968
50681
  value?: {
49969
- destinations?: {
49970
- type: "bigquery";
49971
- dataset: string;
49972
- tableName: string;
49973
- deduplicateOptions?: {
49974
- enabled: boolean;
50682
+ storageOptions?: {
50683
+ partitionCount?: number | undefined;
50684
+ segments?: {
50685
+ offlineSize?: number | undefined;
50686
+ offlineReplication?: number | undefined;
50687
+ realtimeSize?: number | undefined;
50688
+ realtimeReplication?: number | undefined;
49975
50689
  } | undefined;
49976
- }[] | undefined;
49977
- } | undefined;
49978
- } | {
49979
- name: "configure_fetcher";
49980
- value?: {
49981
- name: DatasourceFetcherName;
49982
- params: unknown;
49983
- } | {
49984
- name: "fdj-bets";
49985
- params: unknown;
49986
- } | {
49987
- name: "renault-prices";
49988
- params: unknown;
49989
- } | {
49990
- name: "decathlon-product-fallback";
49991
- params: unknown;
49992
- } | {
49993
- name: "generic-unwind-rows";
49994
- params: {
49995
- source: string;
49996
- destination: string;
49997
- columnDestination: string;
49998
- valueType: string;
49999
- };
50000
- } | {
50001
- name: "workflow-events";
50002
- params: unknown;
50003
- } | {
50004
- name: "expired-product-lifetime";
50005
- params: {
50006
- purchaseDatasourceId: string;
50007
- purchaseQuery: string;
50008
- purchaseReferenceIdField: string;
50009
- purchaseTimestampField: string;
50010
- purchaseClientField: string;
50011
- temporalities?: {
50012
- maxLifetime: number;
50013
- windowStart: number;
50014
- windowEnd: number;
50015
- minPurchaseCount?: number | undefined;
50690
+ retention?: {
50691
+ value: number;
50692
+ unit: "DAYS";
50693
+ } | undefined;
50694
+ destinations?: {
50695
+ type: "bigquery";
50696
+ dataset: string;
50697
+ tableName: string;
50698
+ deduplicateOptions?: {
50699
+ enabled: boolean;
50700
+ } | undefined;
50016
50701
  }[] | undefined;
50017
- };
50018
- } | {
50019
- name: "product-exclusion";
50020
- params: {
50021
- mode: "inclusion" | "exclusion";
50022
- exclusionDatasourceId: string;
50023
- exclusionIdField: string;
50024
- productIdField: string;
50025
- };
50026
- } | {
50027
- name: "per-user";
50028
- params: unknown;
50029
- } | {
50030
- name: "generic-proxy-lock";
50031
- params: {
50032
- ttl: number;
50033
- };
50034
- } | {
50035
- name: "generic-proxy-aggregation";
50036
- params: {
50037
- targetField: string;
50038
- aggregationType: "sum" | "avg" | "min" | "max";
50039
- outputField: string;
50040
- };
50702
+ } | undefined;
50041
50703
  } | undefined;
50042
- } | {
50043
- name: "validate";
50044
- value?: unknown;
50045
- } | {
50046
- name: "configure_hierarchy";
50047
- value?: string[] | undefined;
50048
- } | {
50049
- name: "configure_name";
50050
- value?: string | undefined;
50051
- } | {
50052
- name: "configure_resource_group_ids";
50053
- value?: string[] | undefined;
50704
+ } | {
50705
+ name: "configure_fetcher";
50706
+ value?: {
50707
+ name: DatasourceFetcherName;
50708
+ params: unknown;
50709
+ } | {
50710
+ name: "fdj-bets";
50711
+ params: unknown;
50712
+ } | {
50713
+ name: "renault-prices";
50714
+ params: unknown;
50715
+ } | {
50716
+ name: "decathlon-product-fallback";
50717
+ params: unknown;
50718
+ } | {
50719
+ name: "generic-unwind-rows";
50720
+ params: {
50721
+ source: string;
50722
+ destination: string;
50723
+ columnDestination: string;
50724
+ valueType: string;
50725
+ };
50726
+ } | {
50727
+ name: "workflow-events";
50728
+ params: unknown;
50729
+ } | {
50730
+ name: "expired-product-lifetime";
50731
+ params: {
50732
+ purchaseDatasourceId: string;
50733
+ purchaseQuery: string;
50734
+ purchaseReferenceIdField: string;
50735
+ purchaseTimestampField: string;
50736
+ purchaseClientField: string;
50737
+ temporalities?: {
50738
+ maxLifetime: number;
50739
+ windowStart: number;
50740
+ windowEnd: number;
50741
+ minPurchaseCount?: number | undefined;
50742
+ }[] | undefined;
50743
+ };
50744
+ } | {
50745
+ name: "product-exclusion";
50746
+ params: {
50747
+ mode: "inclusion" | "exclusion";
50748
+ exclusionDatasourceId: string;
50749
+ exclusionIdField: string;
50750
+ productIdField: string;
50751
+ };
50752
+ } | {
50753
+ name: "per-user";
50754
+ params: unknown;
50755
+ } | {
50756
+ name: "generic-proxy-lock";
50757
+ params: {
50758
+ ttl: number;
50759
+ };
50760
+ } | {
50761
+ name: "generic-proxy-aggregation";
50762
+ params: {
50763
+ targetField: string;
50764
+ aggregationType: "sum" | "avg" | "min" | "max";
50765
+ outputField: string;
50766
+ };
50767
+ } | undefined;
50768
+ } | {
50769
+ name: "validate";
50770
+ value?: unknown;
50771
+ } | {
50772
+ name: "configure_hierarchy";
50773
+ value?: string[] | undefined;
50774
+ } | {
50775
+ name: "configure_name";
50776
+ value?: string | undefined;
50777
+ } | {
50778
+ name: "configure_resource_group_ids";
50779
+ value?: string[] | undefined;
50054
50780
  } | {
50055
50781
  name: "configure_fetcher";
50056
50782
  value?: {
@@ -51468,8 +52194,8 @@ export default class {
51468
52194
  query?: string | undefined;
51469
52195
  username: string;
51470
52196
  password?: string | undefined;
51471
- privateKey?: string | undefined;
51472
52197
  schema: string;
52198
+ privateKey?: string | undefined;
51473
52199
  table: string;
51474
52200
  account: string;
51475
52201
  warehouse: string;
@@ -52687,8 +53413,8 @@ export default class {
52687
53413
  query?: string | undefined;
52688
53414
  username: string;
52689
53415
  password?: string | undefined;
52690
- privateKey?: string | undefined;
52691
53416
  schema: string;
53417
+ privateKey?: string | undefined;
52692
53418
  table: string;
52693
53419
  account: string;
52694
53420
  warehouse: string;
@@ -54513,8 +55239,8 @@ export default class {
54513
55239
  query?: string | undefined;
54514
55240
  username: string;
54515
55241
  password?: string | undefined;
54516
- privateKey?: string | undefined;
54517
55242
  schema: string;
55243
+ privateKey?: string | undefined;
54518
55244
  table: string;
54519
55245
  account: string;
54520
55246
  warehouse: string;
@@ -55732,8 +56458,8 @@ export default class {
55732
56458
  query?: string | undefined;
55733
56459
  username: string;
55734
56460
  password?: string | undefined;
55735
- privateKey?: string | undefined;
55736
56461
  schema: string;
56462
+ privateKey?: string | undefined;
55737
56463
  table: string;
55738
56464
  account: string;
55739
56465
  warehouse: string;
@@ -57293,14 +58019,27 @@ export default class {
57293
58019
  password: string;
57294
58020
  } | undefined;
57295
58021
  } & {
57296
- destinations?: {
57297
- type: "bigquery";
57298
- dataset: string;
57299
- tableName: string;
57300
- deduplicateOptions?: {
57301
- enabled: boolean;
58022
+ storageOptions?: {
58023
+ partitionCount?: number | undefined;
58024
+ segments?: {
58025
+ offlineSize?: number | undefined;
58026
+ offlineReplication?: number | undefined;
58027
+ realtimeSize?: number | undefined;
58028
+ realtimeReplication?: number | undefined;
57302
58029
  } | undefined;
57303
- }[] | undefined;
58030
+ retention?: {
58031
+ value: number;
58032
+ unit: "DAYS";
58033
+ } | undefined;
58034
+ destinations?: {
58035
+ type: "bigquery";
58036
+ dataset: string;
58037
+ tableName: string;
58038
+ deduplicateOptions?: {
58039
+ enabled: boolean;
58040
+ } | undefined;
58041
+ }[] | undefined;
58042
+ } | undefined;
57304
58043
  };
57305
58044
  } | {
57306
58045
  name: "configure_fetcher";
@@ -58264,8 +59003,8 @@ export default class {
58264
59003
  query?: string | undefined;
58265
59004
  username: string;
58266
59005
  password?: string | undefined;
58267
- privateKey?: string | undefined;
58268
59006
  schema: string;
59007
+ privateKey?: string | undefined;
58269
59008
  table: string;
58270
59009
  account: string;
58271
59010
  warehouse: string;
@@ -59483,8 +60222,8 @@ export default class {
59483
60222
  query?: string | undefined;
59484
60223
  username: string;
59485
60224
  password?: string | undefined;
59486
- privateKey?: string | undefined;
59487
60225
  schema: string;
60226
+ privateKey?: string | undefined;
59488
60227
  table: string;
59489
60228
  account: string;
59490
60229
  warehouse: string;
@@ -60182,14 +60921,27 @@ export default class {
60182
60921
  } | {
60183
60922
  name: "patch";
60184
60923
  payload: {
60185
- destinations?: {
60186
- type: "bigquery";
60187
- dataset: string;
60188
- tableName: string;
60189
- deduplicateOptions?: {
60190
- enabled: boolean;
60924
+ storageOptions?: {
60925
+ partitionCount?: number | undefined;
60926
+ segments?: {
60927
+ offlineSize?: number | undefined;
60928
+ offlineReplication?: number | undefined;
60929
+ realtimeSize?: number | undefined;
60930
+ realtimeReplication?: number | undefined;
60191
60931
  } | undefined;
60192
- }[] | undefined;
60932
+ retention?: {
60933
+ value: number;
60934
+ unit: "DAYS";
60935
+ } | undefined;
60936
+ destinations?: {
60937
+ type: "bigquery";
60938
+ dataset: string;
60939
+ tableName: string;
60940
+ deduplicateOptions?: {
60941
+ enabled: boolean;
60942
+ } | undefined;
60943
+ }[] | undefined;
60944
+ } | undefined;
60193
60945
  };
60194
60946
  } | {
60195
60947
  name: "configure_fetcher";
@@ -61139,608 +61891,4 @@ export default class {
61139
61891
  message: string;
61140
61892
  }, any, {}>>;
61141
61893
  };
61142
- get Datagraph(): {
61143
- listSchemas: (params: {
61144
- page?: number | undefined;
61145
- perPage?: number | undefined;
61146
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61147
- paginationCount: number;
61148
- paginationPage: number;
61149
- paginationLimit: number;
61150
- } & {
61151
- status: "success";
61152
- } & {
61153
- datetime: string;
61154
- data: {
61155
- readonly companyId: string & {
61156
- readonly?: "__readonly" | undefined;
61157
- };
61158
- readonly resourceGroupIds: string[];
61159
- archivedAt: string | null;
61160
- readonly versions: (string | {
61161
- readonly companyId: string & {
61162
- readonly?: "__readonly" | undefined;
61163
- };
61164
- readonly state: import("./definitions").DatagraphSchemaVersionState & {
61165
- readonly?: "__readonly" | undefined;
61166
- };
61167
- _id: string;
61168
- __v: number;
61169
- readonly definition: {
61170
- name: string;
61171
- description?: string | undefined;
61172
- relations?: {
61173
- description?: string | undefined;
61174
- type: "Relation";
61175
- columns: string[];
61176
- reference: {
61177
- datasourceId: string;
61178
- table: string;
61179
- columns: string[];
61180
- };
61181
- }[] | undefined;
61182
- datasourceId: string;
61183
- indexes?: {
61184
- description?: string | undefined;
61185
- type: "Index";
61186
- columns: string[];
61187
- }[] | undefined;
61188
- columns: {
61189
- name: string;
61190
- description?: string | undefined;
61191
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61192
- default?: string | number | boolean | undefined;
61193
- nullable: boolean;
61194
- }[];
61195
- virtualColumns?: {
61196
- query: string;
61197
- name: string;
61198
- description?: string | undefined;
61199
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61200
- nullable: boolean;
61201
- }[] | undefined;
61202
- uniqueKeys?: {
61203
- description?: string | undefined;
61204
- type: "UniqueKey";
61205
- columns: string[];
61206
- }[] | undefined;
61207
- }[];
61208
- })[];
61209
- }[];
61210
- program: string;
61211
- version: string;
61212
- status: string;
61213
- code?: number | undefined;
61214
- message: string;
61215
- }, any, {}>>;
61216
- createSchema: (params: Record<string, never>, data: {
61217
- schema: {
61218
- name: string;
61219
- description?: string | undefined;
61220
- relations?: {
61221
- description?: string | undefined;
61222
- type: "Relation";
61223
- columns: string[];
61224
- reference: {
61225
- datasourceId: string;
61226
- table: string;
61227
- columns: string[];
61228
- };
61229
- }[] | undefined;
61230
- datasourceId: string;
61231
- indexes?: {
61232
- description?: string | undefined;
61233
- type: "Index";
61234
- columns: string[];
61235
- }[] | undefined;
61236
- columns: {
61237
- name: string;
61238
- description?: string | undefined;
61239
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61240
- default?: string | number | boolean | undefined;
61241
- nullable: boolean;
61242
- }[];
61243
- virtualColumns?: {
61244
- query: string;
61245
- name: string;
61246
- description?: string | undefined;
61247
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61248
- nullable: boolean;
61249
- }[] | undefined;
61250
- uniqueKeys?: {
61251
- description?: string | undefined;
61252
- type: "UniqueKey";
61253
- columns: string[];
61254
- }[] | undefined;
61255
- }[];
61256
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61257
- status: "success";
61258
- } & {
61259
- datetime: string;
61260
- data: {
61261
- [x: string]: unknown;
61262
- };
61263
- program: string;
61264
- version: string;
61265
- status: string;
61266
- code?: number | undefined;
61267
- message: string;
61268
- }, any, {}>>;
61269
- validateSchema: (params: Record<string, never>, data: {
61270
- schema: unknown;
61271
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61272
- status: "success";
61273
- } & {
61274
- datetime: string;
61275
- data: {
61276
- validation: {
61277
- success: true;
61278
- data: {
61279
- name: string;
61280
- description?: string | undefined;
61281
- relations?: {
61282
- description?: string | undefined;
61283
- type: "Relation";
61284
- columns: string[];
61285
- reference: {
61286
- datasourceId: string;
61287
- table: string;
61288
- columns: string[];
61289
- };
61290
- }[] | undefined;
61291
- datasourceId: string;
61292
- indexes?: {
61293
- description?: string | undefined;
61294
- type: "Index";
61295
- columns: string[];
61296
- }[] | undefined;
61297
- columns: {
61298
- name: string;
61299
- description?: string | undefined;
61300
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61301
- default?: string | number | boolean | undefined;
61302
- nullable: boolean;
61303
- }[];
61304
- virtualColumns?: {
61305
- query: string;
61306
- name: string;
61307
- description?: string | undefined;
61308
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61309
- nullable: boolean;
61310
- }[] | undefined;
61311
- uniqueKeys?: {
61312
- description?: string | undefined;
61313
- type: "UniqueKey";
61314
- columns: string[];
61315
- }[] | undefined;
61316
- }[];
61317
- } | {
61318
- success: false;
61319
- error: {
61320
- issues: {
61321
- path: (string | number)[];
61322
- code: string;
61323
- message: string;
61324
- }[];
61325
- };
61326
- };
61327
- relations: {
61328
- error?: string | undefined;
61329
- fromDatasourceId: string;
61330
- fromTable: string;
61331
- fromColumn: string;
61332
- fromDistinctCount: number | null;
61333
- toDatasourceId: string;
61334
- toTable: string;
61335
- toColumn: string;
61336
- toDistinctCount: number | null;
61337
- matchCount: number | null;
61338
- matchPercentage: number | null;
61339
- }[];
61340
- };
61341
- program: string;
61342
- version: string;
61343
- status: string;
61344
- code?: number | undefined;
61345
- message: string;
61346
- }, any, {}>>;
61347
- getSchema: (params: {
61348
- id: string;
61349
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61350
- status: "success";
61351
- } & {
61352
- datetime: string;
61353
- data: {
61354
- [x: string]: unknown;
61355
- };
61356
- program: string;
61357
- version: string;
61358
- status: string;
61359
- code?: number | undefined;
61360
- message: string;
61361
- }, any, {}>>;
61362
- updateSchema: (params: {
61363
- id: string;
61364
- }, data: {
61365
- schema: {
61366
- name: string;
61367
- description?: string | undefined;
61368
- relations?: {
61369
- description?: string | undefined;
61370
- type: "Relation";
61371
- columns: string[];
61372
- reference: {
61373
- datasourceId: string;
61374
- table: string;
61375
- columns: string[];
61376
- };
61377
- }[] | undefined;
61378
- datasourceId: string;
61379
- indexes?: {
61380
- description?: string | undefined;
61381
- type: "Index";
61382
- columns: string[];
61383
- }[] | undefined;
61384
- columns: {
61385
- name: string;
61386
- description?: string | undefined;
61387
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61388
- default?: string | number | boolean | undefined;
61389
- nullable: boolean;
61390
- }[];
61391
- virtualColumns?: {
61392
- query: string;
61393
- name: string;
61394
- description?: string | undefined;
61395
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61396
- nullable: boolean;
61397
- }[] | undefined;
61398
- uniqueKeys?: {
61399
- description?: string | undefined;
61400
- type: "UniqueKey";
61401
- columns: string[];
61402
- }[] | undefined;
61403
- }[];
61404
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61405
- status: "success";
61406
- } & {
61407
- datetime: string;
61408
- data: {
61409
- [x: string]: unknown;
61410
- };
61411
- program: string;
61412
- version: string;
61413
- status: string;
61414
- code?: number | undefined;
61415
- message: string;
61416
- }, any, {}>>;
61417
- deleteSchema: (params: {
61418
- id: string;
61419
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
61420
- publishSchema: (params: {
61421
- id: string;
61422
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61423
- status: "success";
61424
- } & {
61425
- datetime: string;
61426
- data: {
61427
- [x: string]: unknown;
61428
- };
61429
- program: string;
61430
- version: string;
61431
- status: string;
61432
- code?: number | undefined;
61433
- message: string;
61434
- }, any, {}>>;
61435
- listEntities: (params: {
61436
- page?: number | undefined;
61437
- perPage?: number | undefined;
61438
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61439
- paginationCount: number;
61440
- paginationPage: number;
61441
- paginationLimit: number;
61442
- } & {
61443
- status: "success";
61444
- } & {
61445
- datetime: string;
61446
- data: {
61447
- readonly id: string & {
61448
- readonly?: "__readonly" | undefined;
61449
- };
61450
- readonly companyId: string & {
61451
- readonly?: "__readonly" | undefined;
61452
- };
61453
- readonly resourceGroupIds: string[];
61454
- readonly createdAt: string & {
61455
- readonly?: "__readonly" | undefined;
61456
- };
61457
- readonly archivedAt: string & {
61458
- readonly?: "__readonly" | undefined;
61459
- };
61460
- readonly versions: (string | {
61461
- readonly companyId: string & {
61462
- readonly?: "__readonly" | undefined;
61463
- };
61464
- readonly state: import("./definitions").DatagraphEntityVersionState & {
61465
- readonly?: "__readonly" | undefined;
61466
- };
61467
- _id: string;
61468
- __v: number;
61469
- readonly definition: {
61470
- readonly?: "__readonly" | undefined;
61471
- name: string;
61472
- options: {
61473
- name: string;
61474
- index: number;
61475
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61476
- shortDescription: string;
61477
- fullDescription: string | null;
61478
- }[];
61479
- sql: string | null;
61480
- readonly answers: {
61481
- name: string;
61482
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61483
- }[];
61484
- };
61485
- })[];
61486
- readonly updatedAt: string & {
61487
- readonly?: "__readonly" | undefined;
61488
- };
61489
- }[];
61490
- program: string;
61491
- version: string;
61492
- status: string;
61493
- code?: number | undefined;
61494
- message: string;
61495
- }, any, {}>>;
61496
- createEntity: (params: Record<string, never>, data: {
61497
- entity: {
61498
- name: string;
61499
- options: {
61500
- name: string;
61501
- index: number;
61502
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61503
- shortDescription: string;
61504
- fullDescription: string | null;
61505
- }[];
61506
- sql: string | null;
61507
- };
61508
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61509
- status: "success";
61510
- } & {
61511
- datetime: string;
61512
- data: {
61513
- readonly id: string & {
61514
- readonly?: "__readonly" | undefined;
61515
- };
61516
- readonly companyId: string & {
61517
- readonly?: "__readonly" | undefined;
61518
- };
61519
- readonly resourceGroupIds: string[];
61520
- readonly createdAt: string & {
61521
- readonly?: "__readonly" | undefined;
61522
- };
61523
- readonly archivedAt: string & {
61524
- readonly?: "__readonly" | undefined;
61525
- };
61526
- readonly versions: (string | {
61527
- readonly companyId: string & {
61528
- readonly?: "__readonly" | undefined;
61529
- };
61530
- readonly state: import("./definitions").DatagraphEntityVersionState & {
61531
- readonly?: "__readonly" | undefined;
61532
- };
61533
- _id: string;
61534
- __v: number;
61535
- readonly definition: {
61536
- readonly?: "__readonly" | undefined;
61537
- name: string;
61538
- options: {
61539
- name: string;
61540
- index: number;
61541
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61542
- shortDescription: string;
61543
- fullDescription: string | null;
61544
- }[];
61545
- sql: string | null;
61546
- readonly answers: {
61547
- name: string;
61548
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61549
- }[];
61550
- };
61551
- })[];
61552
- readonly updatedAt: string & {
61553
- readonly?: "__readonly" | undefined;
61554
- };
61555
- };
61556
- program: string;
61557
- version: string;
61558
- status: string;
61559
- code?: number | undefined;
61560
- message: string;
61561
- }, any, {}>>;
61562
- getEntity: (params: {
61563
- id: string;
61564
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61565
- status: "success";
61566
- } & {
61567
- datetime: string;
61568
- data: {
61569
- readonly id: string & {
61570
- readonly?: "__readonly" | undefined;
61571
- };
61572
- readonly companyId: string & {
61573
- readonly?: "__readonly" | undefined;
61574
- };
61575
- readonly resourceGroupIds: string[];
61576
- readonly createdAt: string & {
61577
- readonly?: "__readonly" | undefined;
61578
- };
61579
- readonly archivedAt: string & {
61580
- readonly?: "__readonly" | undefined;
61581
- };
61582
- readonly versions: (string | {
61583
- readonly companyId: string & {
61584
- readonly?: "__readonly" | undefined;
61585
- };
61586
- readonly state: import("./definitions").DatagraphEntityVersionState & {
61587
- readonly?: "__readonly" | undefined;
61588
- };
61589
- _id: string;
61590
- __v: number;
61591
- readonly definition: {
61592
- readonly?: "__readonly" | undefined;
61593
- name: string;
61594
- options: {
61595
- name: string;
61596
- index: number;
61597
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61598
- shortDescription: string;
61599
- fullDescription: string | null;
61600
- }[];
61601
- sql: string | null;
61602
- readonly answers: {
61603
- name: string;
61604
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61605
- }[];
61606
- };
61607
- })[];
61608
- readonly updatedAt: string & {
61609
- readonly?: "__readonly" | undefined;
61610
- };
61611
- };
61612
- program: string;
61613
- version: string;
61614
- status: string;
61615
- code?: number | undefined;
61616
- message: string;
61617
- }, any, {}>>;
61618
- updateEntity: (params: {
61619
- id: string;
61620
- }, data: {
61621
- entity: {
61622
- name: string;
61623
- options: {
61624
- name: string;
61625
- index: number;
61626
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61627
- shortDescription: string;
61628
- fullDescription: string | null;
61629
- }[];
61630
- sql: string | null;
61631
- };
61632
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61633
- status: "success";
61634
- } & {
61635
- datetime: string;
61636
- data: {
61637
- readonly id: string & {
61638
- readonly?: "__readonly" | undefined;
61639
- };
61640
- readonly companyId: string & {
61641
- readonly?: "__readonly" | undefined;
61642
- };
61643
- readonly resourceGroupIds: string[];
61644
- readonly createdAt: string & {
61645
- readonly?: "__readonly" | undefined;
61646
- };
61647
- readonly archivedAt: string & {
61648
- readonly?: "__readonly" | undefined;
61649
- };
61650
- readonly versions: (string | {
61651
- readonly companyId: string & {
61652
- readonly?: "__readonly" | undefined;
61653
- };
61654
- readonly state: import("./definitions").DatagraphEntityVersionState & {
61655
- readonly?: "__readonly" | undefined;
61656
- };
61657
- _id: string;
61658
- __v: number;
61659
- readonly definition: {
61660
- readonly?: "__readonly" | undefined;
61661
- name: string;
61662
- options: {
61663
- name: string;
61664
- index: number;
61665
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61666
- shortDescription: string;
61667
- fullDescription: string | null;
61668
- }[];
61669
- sql: string | null;
61670
- readonly answers: {
61671
- name: string;
61672
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61673
- }[];
61674
- };
61675
- })[];
61676
- readonly updatedAt: string & {
61677
- readonly?: "__readonly" | undefined;
61678
- };
61679
- };
61680
- program: string;
61681
- version: string;
61682
- status: string;
61683
- code?: number | undefined;
61684
- message: string;
61685
- }, any, {}>>;
61686
- deleteEntity: (params: {
61687
- id: string;
61688
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
61689
- publishEntity: (params: {
61690
- id: string;
61691
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61692
- status: "success";
61693
- } & {
61694
- datetime: string;
61695
- data: {
61696
- readonly id: string & {
61697
- readonly?: "__readonly" | undefined;
61698
- };
61699
- readonly companyId: string & {
61700
- readonly?: "__readonly" | undefined;
61701
- };
61702
- readonly resourceGroupIds: string[];
61703
- readonly createdAt: string & {
61704
- readonly?: "__readonly" | undefined;
61705
- };
61706
- readonly archivedAt: string & {
61707
- readonly?: "__readonly" | undefined;
61708
- };
61709
- readonly versions: (string | {
61710
- readonly companyId: string & {
61711
- readonly?: "__readonly" | undefined;
61712
- };
61713
- readonly state: import("./definitions").DatagraphEntityVersionState & {
61714
- readonly?: "__readonly" | undefined;
61715
- };
61716
- _id: string;
61717
- __v: number;
61718
- readonly definition: {
61719
- readonly?: "__readonly" | undefined;
61720
- name: string;
61721
- options: {
61722
- name: string;
61723
- index: number;
61724
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61725
- shortDescription: string;
61726
- fullDescription: string | null;
61727
- }[];
61728
- sql: string | null;
61729
- readonly answers: {
61730
- name: string;
61731
- type: "string" | "boolean" | "datetime" | "date" | "text" | "decimal" | "integer";
61732
- }[];
61733
- };
61734
- })[];
61735
- readonly updatedAt: string & {
61736
- readonly?: "__readonly" | undefined;
61737
- };
61738
- };
61739
- program: string;
61740
- version: string;
61741
- status: string;
61742
- code?: number | undefined;
61743
- message: string;
61744
- }, any, {}>>;
61745
- };
61746
61894
  }