@rlvt/datasources-openapi-client 1.0.369 → 1.0.370

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,19 +16,6 @@ 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;
32
19
  private getCurrentStepDatasource;
33
20
  private validateStepDatasource;
34
21
  private getDatasourceSettings;
@@ -50,6 +37,19 @@ export default class {
50
37
  private getPushPassword;
51
38
  private analyzeWorkerDatasource;
52
39
  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
53
  get Datasource(): {
54
54
  listTemplates: (params: {
55
55
  name?: string | undefined;
@@ -145,9 +145,6 @@ export default class {
145
145
  readonly createdAt: string & {
146
146
  readonly?: "__readonly" | undefined;
147
147
  };
148
- readonly updatedAt: string & {
149
- readonly?: "__readonly" | undefined;
150
- };
151
148
  hidden: boolean;
152
149
  template: {
153
150
  datasource: {
@@ -945,8 +942,8 @@ export default class {
945
942
  query?: string | undefined;
946
943
  username?: string | undefined;
947
944
  password?: string | undefined;
948
- schema?: string | undefined;
949
945
  privateKey?: string | undefined;
946
+ schema?: string | undefined;
950
947
  table?: string | undefined;
951
948
  account?: string | undefined;
952
949
  warehouse?: string | undefined;
@@ -1862,8 +1859,8 @@ export default class {
1862
1859
  query?: string | undefined;
1863
1860
  username?: string | undefined;
1864
1861
  password?: string | undefined;
1865
- schema?: string | undefined;
1866
1862
  privateKey?: string | undefined;
1863
+ schema?: string | undefined;
1867
1864
  table?: string | undefined;
1868
1865
  account?: string | undefined;
1869
1866
  warehouse?: string | undefined;
@@ -2885,8 +2882,8 @@ export default class {
2885
2882
  query?: string | undefined;
2886
2883
  username?: string | undefined;
2887
2884
  password?: string | undefined;
2888
- schema?: string | undefined;
2889
2885
  privateKey?: string | undefined;
2886
+ schema?: string | undefined;
2890
2887
  table?: string | undefined;
2891
2888
  account?: string | undefined;
2892
2889
  warehouse?: string | undefined;
@@ -3802,8 +3799,8 @@ export default class {
3802
3799
  query?: string | undefined;
3803
3800
  username?: string | undefined;
3804
3801
  password?: string | undefined;
3805
- schema?: string | undefined;
3806
3802
  privateKey?: string | undefined;
3803
+ schema?: string | undefined;
3807
3804
  table?: string | undefined;
3808
3805
  account?: string | undefined;
3809
3806
  warehouse?: string | undefined;
@@ -5004,6 +5001,9 @@ export default class {
5004
5001
  }) | undefined;
5005
5002
  };
5006
5003
  };
5004
+ readonly updatedAt: string & {
5005
+ readonly?: "__readonly" | undefined;
5006
+ };
5007
5007
  icon: string;
5008
5008
  slug: string;
5009
5009
  feature?: string | undefined;
@@ -5201,7 +5201,7 @@ export default class {
5201
5201
  includeArchived?: boolean | undefined;
5202
5202
  includeHidden?: boolean | undefined;
5203
5203
  select?: string[] | undefined;
5204
- sortBy?: "createdAt" | "configurationUpdatedAt" | undefined;
5204
+ sortBy?: "configurationUpdatedAt" | "createdAt" | undefined;
5205
5205
  sortOrder?: "asc" | "desc" | undefined;
5206
5206
  hierarchy?: string[] | undefined;
5207
5207
  page?: number | undefined;
@@ -5223,6 +5223,114 @@ export default class {
5223
5223
  };
5224
5224
  companyId: string;
5225
5225
  resourceGroupIds: string[];
5226
+ readonly configurationUpdatedAt: string & {
5227
+ readonly?: "__readonly" | undefined;
5228
+ };
5229
+ readonly createdAt: string & {
5230
+ readonly?: "__readonly" | undefined;
5231
+ };
5232
+ hierarchy: string[];
5233
+ hidden: boolean;
5234
+ readonly template?: (string & {
5235
+ readonly?: "__readonly" | undefined;
5236
+ }) | undefined;
5237
+ readonly fetcher: {
5238
+ readonly?: "__readonly" | undefined;
5239
+ name: DatasourceFetcherName;
5240
+ params: unknown;
5241
+ } | {
5242
+ readonly?: "__readonly" | undefined;
5243
+ name: "fdj-bets";
5244
+ params: unknown;
5245
+ } | {
5246
+ readonly?: "__readonly" | undefined;
5247
+ name: "renault-prices";
5248
+ params: unknown;
5249
+ } | {
5250
+ readonly?: "__readonly" | undefined;
5251
+ name: "decathlon-product-fallback";
5252
+ params: unknown;
5253
+ } | {
5254
+ readonly?: "__readonly" | undefined;
5255
+ name: "generic-unwind-rows";
5256
+ params: {
5257
+ source: string;
5258
+ destination: string;
5259
+ columnDestination: string;
5260
+ valueType: string;
5261
+ };
5262
+ } | {
5263
+ readonly?: "__readonly" | undefined;
5264
+ name: "workflow-events";
5265
+ params: unknown;
5266
+ } | {
5267
+ readonly?: "__readonly" | undefined;
5268
+ name: "expired-product-lifetime";
5269
+ params: {
5270
+ purchaseDatasourceId: string;
5271
+ purchaseQuery: string;
5272
+ purchaseReferenceIdField: string;
5273
+ purchaseTimestampField: string;
5274
+ purchaseClientField: string;
5275
+ temporalities?: {
5276
+ maxLifetime: number;
5277
+ windowStart: number;
5278
+ windowEnd: number;
5279
+ minPurchaseCount?: number | undefined;
5280
+ }[] | undefined;
5281
+ };
5282
+ } | {
5283
+ readonly?: "__readonly" | undefined;
5284
+ name: "product-exclusion";
5285
+ params: {
5286
+ mode: "inclusion" | "exclusion";
5287
+ exclusionDatasourceId: string;
5288
+ exclusionIdField: string;
5289
+ productIdField: string;
5290
+ };
5291
+ } | {
5292
+ readonly?: "__readonly" | undefined;
5293
+ name: "per-user";
5294
+ params: unknown;
5295
+ } | {
5296
+ readonly?: "__readonly" | undefined;
5297
+ name: "generic-proxy-lock";
5298
+ params: {
5299
+ ttl: number;
5300
+ };
5301
+ } | {
5302
+ readonly?: "__readonly" | undefined;
5303
+ name: "generic-proxy-aggregation";
5304
+ params: {
5305
+ targetField: string;
5306
+ aggregationType: "sum" | "avg" | "min" | "max";
5307
+ outputField: string;
5308
+ };
5309
+ };
5310
+ storageOptions: {
5311
+ destinations: {
5312
+ type: "bigquery";
5313
+ dataset: string;
5314
+ tableName: string;
5315
+ deduplicateOptions?: {
5316
+ enabled: boolean;
5317
+ } | undefined;
5318
+ }[];
5319
+ partitionCount: number;
5320
+ segments: {
5321
+ offlineSize: number;
5322
+ offlineReplication: number;
5323
+ realtimeSize: number;
5324
+ realtimeReplication: number;
5325
+ };
5326
+ retention?: {
5327
+ value: number;
5328
+ unit: "DAYS";
5329
+ } | undefined;
5330
+ };
5331
+ readonly archivedAt: string & {
5332
+ readonly?: "__readonly" | undefined;
5333
+ };
5226
5334
  versions: (string | {
5227
5335
  mode: DatasourceMode;
5228
5336
  readonly id: string & {
@@ -5357,18 +5465,39 @@ export default class {
5357
5465
  _id: string;
5358
5466
  __v: number;
5359
5467
  })[];
5360
- readonly archivedAt: string & {
5468
+ readonly lastSuccessfulIngestion?: (string & {
5361
5469
  readonly?: "__readonly" | undefined;
5362
- };
5363
- readonly createdAt: string & {
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 & {
5364
5478
  readonly?: "__readonly" | undefined;
5365
5479
  };
5366
5480
  readonly updatedAt: string & {
5367
5481
  readonly?: "__readonly" | undefined;
5368
5482
  };
5483
+ } | {
5484
+ name: string;
5485
+ mode: "worker";
5486
+ status: DatasourceStatus;
5487
+ readonly id: string & {
5488
+ readonly?: "__readonly" | undefined;
5489
+ };
5490
+ companyId: string;
5491
+ resourceGroupIds: string[];
5492
+ readonly contentVersion: number & {
5493
+ readonly?: "__readonly" | undefined;
5494
+ };
5369
5495
  readonly configurationUpdatedAt: string & {
5370
5496
  readonly?: "__readonly" | undefined;
5371
5497
  };
5498
+ readonly createdAt: string & {
5499
+ readonly?: "__readonly" | undefined;
5500
+ };
5372
5501
  hierarchy: string[];
5373
5502
  hidden: boolean;
5374
5503
  readonly template?: (string & {
@@ -5456,39 +5585,10 @@ export default class {
5456
5585
  enabled: boolean;
5457
5586
  } | undefined;
5458
5587
  }[];
5459
- partitionCount: number;
5460
- segments: {
5461
- offlineSize: number;
5462
- offlineReplication: number;
5463
- realtimeSize: number;
5464
- realtimeReplication: number;
5465
- };
5466
- retention?: {
5467
- value: number;
5468
- unit: "DAYS";
5469
- } | undefined;
5470
- };
5471
- readonly lastSuccessfulIngestion?: (string & {
5472
- readonly?: "__readonly" | undefined;
5473
- }) | undefined;
5474
- readonly lastFailedIngestion?: (string & {
5475
- readonly?: "__readonly" | undefined;
5476
- }) | undefined;
5477
- readonly lastFailureReason?: (string & {
5478
- readonly?: "__readonly" | undefined;
5479
- }) | undefined;
5480
- readonly hasWarnings: boolean & {
5481
- readonly?: "__readonly" | undefined;
5482
5588
  };
5483
- } | {
5484
- name: string;
5485
- mode: "worker";
5486
- status: DatasourceStatus;
5487
- readonly id: string & {
5589
+ readonly archivedAt: string & {
5488
5590
  readonly?: "__readonly" | undefined;
5489
5591
  };
5490
- companyId: string;
5491
- resourceGroupIds: string[];
5492
5592
  versions: (string | {
5493
5593
  mode: DatasourceMode;
5494
5594
  readonly id: string & {
@@ -5623,21 +5723,67 @@ export default class {
5623
5723
  _id: string;
5624
5724
  __v: number;
5625
5725
  })[];
5626
- readonly archivedAt: string & {
5726
+ readonly lastSuccessfulIngestion?: (string & {
5627
5727
  readonly?: "__readonly" | undefined;
5628
- };
5629
- readonly createdAt: string & {
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 & {
5630
5736
  readonly?: "__readonly" | undefined;
5631
5737
  };
5632
5738
  readonly updatedAt: string & {
5633
5739
  readonly?: "__readonly" | undefined;
5634
5740
  };
5635
- readonly contentVersion: number & {
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 & {
5767
+ readonly?: "__readonly" | undefined;
5768
+ };
5769
+ readonly isPaused: boolean & {
5770
+ readonly?: "__readonly" | undefined;
5771
+ };
5772
+ } | {
5773
+ name: string;
5774
+ mode: "proxy";
5775
+ status: DatasourceStatus;
5776
+ readonly id: string & {
5636
5777
  readonly?: "__readonly" | undefined;
5637
5778
  };
5779
+ companyId: string;
5780
+ resourceGroupIds: string[];
5638
5781
  readonly configurationUpdatedAt: string & {
5639
5782
  readonly?: "__readonly" | undefined;
5640
5783
  };
5784
+ readonly createdAt: string & {
5785
+ readonly?: "__readonly" | undefined;
5786
+ };
5641
5787
  hierarchy: string[];
5642
5788
  hidden: boolean;
5643
5789
  readonly template?: (string & {
@@ -5716,68 +5862,9 @@ export default class {
5716
5862
  outputField: string;
5717
5863
  };
5718
5864
  };
5719
- storageOptions: {
5720
- destinations: {
5721
- type: "bigquery";
5722
- dataset: string;
5723
- tableName: string;
5724
- deduplicateOptions?: {
5725
- enabled: boolean;
5726
- } | undefined;
5727
- }[];
5728
- };
5729
- readonly lastSuccessfulIngestion?: (string & {
5730
- readonly?: "__readonly" | undefined;
5731
- }) | undefined;
5732
- readonly lastFailedIngestion?: (string & {
5733
- readonly?: "__readonly" | undefined;
5734
- }) | undefined;
5735
- readonly lastFailureReason?: (string & {
5736
- readonly?: "__readonly" | undefined;
5737
- }) | undefined;
5738
- readonly hasWarnings: boolean & {
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 & {
5767
- readonly?: "__readonly" | undefined;
5768
- };
5769
- readonly isPaused: boolean & {
5770
- readonly?: "__readonly" | undefined;
5771
- };
5772
- } | {
5773
- name: string;
5774
- mode: "proxy";
5775
- status: DatasourceStatus;
5776
- readonly id: string & {
5865
+ readonly archivedAt: string & {
5777
5866
  readonly?: "__readonly" | undefined;
5778
5867
  };
5779
- companyId: string;
5780
- resourceGroupIds: string[];
5781
5868
  versions: (string | {
5782
5869
  mode: DatasourceMode;
5783
5870
  readonly id: string & {
@@ -5912,18 +5999,36 @@ export default class {
5912
5999
  _id: string;
5913
6000
  __v: number;
5914
6001
  })[];
5915
- readonly archivedAt: string & {
6002
+ readonly lastSuccessfulIngestion?: (string & {
5916
6003
  readonly?: "__readonly" | undefined;
5917
- };
5918
- readonly createdAt: string & {
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 & {
5919
6012
  readonly?: "__readonly" | undefined;
5920
6013
  };
5921
6014
  readonly updatedAt: string & {
5922
6015
  readonly?: "__readonly" | undefined;
5923
6016
  };
6017
+ } | {
6018
+ name: string;
6019
+ mode: "ingester";
6020
+ status: DatasourceStatus;
6021
+ readonly id: string & {
6022
+ readonly?: "__readonly" | undefined;
6023
+ };
6024
+ companyId: string;
6025
+ resourceGroupIds: string[];
5924
6026
  readonly configurationUpdatedAt: string & {
5925
6027
  readonly?: "__readonly" | undefined;
5926
6028
  };
6029
+ readonly createdAt: string & {
6030
+ readonly?: "__readonly" | undefined;
6031
+ };
5927
6032
  hierarchy: string[];
5928
6033
  hidden: boolean;
5929
6034
  readonly template?: (string & {
@@ -6002,27 +6107,30 @@ export default class {
6002
6107
  outputField: string;
6003
6108
  };
6004
6109
  };
6005
- readonly lastSuccessfulIngestion?: (string & {
6006
- readonly?: "__readonly" | undefined;
6007
- }) | undefined;
6008
- readonly lastFailedIngestion?: (string & {
6009
- readonly?: "__readonly" | undefined;
6010
- }) | undefined;
6011
- readonly lastFailureReason?: (string & {
6012
- readonly?: "__readonly" | undefined;
6013
- }) | undefined;
6014
- readonly hasWarnings: boolean & {
6015
- readonly?: "__readonly" | undefined;
6110
+ storageOptions: {
6111
+ destinations: {
6112
+ type: "bigquery";
6113
+ dataset: string;
6114
+ tableName: string;
6115
+ deduplicateOptions?: {
6116
+ enabled: boolean;
6117
+ } | undefined;
6118
+ }[];
6119
+ partitionCount: number;
6120
+ segments: {
6121
+ offlineSize: number;
6122
+ offlineReplication: number;
6123
+ realtimeSize: number;
6124
+ realtimeReplication: number;
6125
+ };
6126
+ retention?: {
6127
+ value: number;
6128
+ unit: "DAYS";
6129
+ } | undefined;
6016
6130
  };
6017
- } | {
6018
- name: string;
6019
- mode: "ingester";
6020
- status: DatasourceStatus;
6021
- readonly id: string & {
6131
+ readonly archivedAt: string & {
6022
6132
  readonly?: "__readonly" | undefined;
6023
6133
  };
6024
- companyId: string;
6025
- resourceGroupIds: string[];
6026
6134
  versions: (string | {
6027
6135
  mode: DatasourceMode;
6028
6136
  readonly id: string & {
@@ -6157,18 +6265,36 @@ export default class {
6157
6265
  _id: string;
6158
6266
  __v: number;
6159
6267
  })[];
6160
- readonly archivedAt: string & {
6268
+ readonly lastSuccessfulIngestion?: (string & {
6161
6269
  readonly?: "__readonly" | undefined;
6162
- };
6163
- readonly createdAt: string & {
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 & {
6164
6278
  readonly?: "__readonly" | undefined;
6165
6279
  };
6166
6280
  readonly updatedAt: string & {
6167
6281
  readonly?: "__readonly" | undefined;
6168
6282
  };
6283
+ } | {
6284
+ name: string;
6285
+ mode: "pubsub";
6286
+ status: DatasourceStatus;
6287
+ readonly id: string & {
6288
+ readonly?: "__readonly" | undefined;
6289
+ };
6290
+ companyId: string;
6291
+ resourceGroupIds: string[];
6169
6292
  readonly configurationUpdatedAt: string & {
6170
6293
  readonly?: "__readonly" | undefined;
6171
6294
  };
6295
+ readonly createdAt: string & {
6296
+ readonly?: "__readonly" | undefined;
6297
+ };
6172
6298
  hierarchy: string[];
6173
6299
  hidden: boolean;
6174
6300
  readonly template?: (string & {
@@ -6268,27 +6394,9 @@ export default class {
6268
6394
  unit: "DAYS";
6269
6395
  } | undefined;
6270
6396
  };
6271
- readonly lastSuccessfulIngestion?: (string & {
6272
- readonly?: "__readonly" | undefined;
6273
- }) | undefined;
6274
- readonly lastFailedIngestion?: (string & {
6275
- readonly?: "__readonly" | undefined;
6276
- }) | undefined;
6277
- readonly lastFailureReason?: (string & {
6278
- readonly?: "__readonly" | undefined;
6279
- }) | undefined;
6280
- readonly hasWarnings: boolean & {
6281
- readonly?: "__readonly" | undefined;
6282
- };
6283
- } | {
6284
- name: string;
6285
- mode: "pubsub";
6286
- status: DatasourceStatus;
6287
- readonly id: string & {
6397
+ readonly archivedAt: string & {
6288
6398
  readonly?: "__readonly" | undefined;
6289
6399
  };
6290
- companyId: string;
6291
- resourceGroupIds: string[];
6292
6400
  versions: (string | {
6293
6401
  mode: DatasourceMode;
6294
6402
  readonly id: string & {
@@ -6423,117 +6531,6 @@ export default class {
6423
6531
  _id: string;
6424
6532
  __v: number;
6425
6533
  })[];
6426
- readonly archivedAt: string & {
6427
- readonly?: "__readonly" | undefined;
6428
- };
6429
- readonly createdAt: string & {
6430
- readonly?: "__readonly" | undefined;
6431
- };
6432
- readonly updatedAt: string & {
6433
- readonly?: "__readonly" | undefined;
6434
- };
6435
- readonly configurationUpdatedAt: string & {
6436
- readonly?: "__readonly" | undefined;
6437
- };
6438
- hierarchy: string[];
6439
- hidden: boolean;
6440
- readonly template?: (string & {
6441
- readonly?: "__readonly" | undefined;
6442
- }) | undefined;
6443
- readonly fetcher: {
6444
- readonly?: "__readonly" | undefined;
6445
- name: DatasourceFetcherName;
6446
- params: unknown;
6447
- } | {
6448
- readonly?: "__readonly" | undefined;
6449
- name: "fdj-bets";
6450
- params: unknown;
6451
- } | {
6452
- readonly?: "__readonly" | undefined;
6453
- name: "renault-prices";
6454
- params: unknown;
6455
- } | {
6456
- readonly?: "__readonly" | undefined;
6457
- name: "decathlon-product-fallback";
6458
- params: unknown;
6459
- } | {
6460
- readonly?: "__readonly" | undefined;
6461
- name: "generic-unwind-rows";
6462
- params: {
6463
- source: string;
6464
- destination: string;
6465
- columnDestination: string;
6466
- valueType: string;
6467
- };
6468
- } | {
6469
- readonly?: "__readonly" | undefined;
6470
- name: "workflow-events";
6471
- params: unknown;
6472
- } | {
6473
- readonly?: "__readonly" | undefined;
6474
- name: "expired-product-lifetime";
6475
- params: {
6476
- purchaseDatasourceId: string;
6477
- purchaseQuery: string;
6478
- purchaseReferenceIdField: string;
6479
- purchaseTimestampField: string;
6480
- purchaseClientField: string;
6481
- temporalities?: {
6482
- maxLifetime: number;
6483
- windowStart: number;
6484
- windowEnd: number;
6485
- minPurchaseCount?: number | undefined;
6486
- }[] | undefined;
6487
- };
6488
- } | {
6489
- readonly?: "__readonly" | undefined;
6490
- name: "product-exclusion";
6491
- params: {
6492
- mode: "inclusion" | "exclusion";
6493
- exclusionDatasourceId: string;
6494
- exclusionIdField: string;
6495
- productIdField: string;
6496
- };
6497
- } | {
6498
- readonly?: "__readonly" | undefined;
6499
- name: "per-user";
6500
- params: unknown;
6501
- } | {
6502
- readonly?: "__readonly" | undefined;
6503
- name: "generic-proxy-lock";
6504
- params: {
6505
- ttl: number;
6506
- };
6507
- } | {
6508
- readonly?: "__readonly" | undefined;
6509
- name: "generic-proxy-aggregation";
6510
- params: {
6511
- targetField: string;
6512
- aggregationType: "sum" | "avg" | "min" | "max";
6513
- outputField: string;
6514
- };
6515
- };
6516
- storageOptions: {
6517
- destinations: {
6518
- type: "bigquery";
6519
- dataset: string;
6520
- tableName: string;
6521
- deduplicateOptions?: {
6522
- enabled: boolean;
6523
- } | undefined;
6524
- }[];
6525
- partitionCount: number;
6526
- segments: {
6527
- offlineSize: number;
6528
- offlineReplication: number;
6529
- realtimeSize: number;
6530
- realtimeReplication: number;
6531
- };
6532
- retention?: {
6533
- value: number;
6534
- unit: "DAYS";
6535
- } | undefined;
6536
- };
6537
6534
  readonly lastSuccessfulIngestion?: (string & {
6538
6535
  readonly?: "__readonly" | undefined;
6539
6536
  }) | undefined;
@@ -6546,6 +6543,9 @@ export default class {
6546
6543
  readonly hasWarnings: boolean & {
6547
6544
  readonly?: "__readonly" | undefined;
6548
6545
  };
6546
+ readonly updatedAt: string & {
6547
+ readonly?: "__readonly" | undefined;
6548
+ };
6549
6549
  })[];
6550
6550
  program: string;
6551
6551
  version: string;
@@ -6601,6 +6601,114 @@ export default class {
6601
6601
  };
6602
6602
  companyId: string;
6603
6603
  resourceGroupIds: string[];
6604
+ readonly configurationUpdatedAt: string & {
6605
+ readonly?: "__readonly" | undefined;
6606
+ };
6607
+ readonly createdAt: string & {
6608
+ readonly?: "__readonly" | undefined;
6609
+ };
6610
+ hierarchy: string[];
6611
+ hidden: boolean;
6612
+ readonly template?: (string & {
6613
+ readonly?: "__readonly" | undefined;
6614
+ }) | undefined;
6615
+ readonly fetcher: {
6616
+ readonly?: "__readonly" | undefined;
6617
+ name: DatasourceFetcherName;
6618
+ params: unknown;
6619
+ } | {
6620
+ readonly?: "__readonly" | undefined;
6621
+ name: "fdj-bets";
6622
+ params: unknown;
6623
+ } | {
6624
+ readonly?: "__readonly" | undefined;
6625
+ name: "renault-prices";
6626
+ params: unknown;
6627
+ } | {
6628
+ readonly?: "__readonly" | undefined;
6629
+ name: "decathlon-product-fallback";
6630
+ params: unknown;
6631
+ } | {
6632
+ readonly?: "__readonly" | undefined;
6633
+ name: "generic-unwind-rows";
6634
+ params: {
6635
+ source: string;
6636
+ destination: string;
6637
+ columnDestination: string;
6638
+ valueType: string;
6639
+ };
6640
+ } | {
6641
+ readonly?: "__readonly" | undefined;
6642
+ name: "workflow-events";
6643
+ params: unknown;
6644
+ } | {
6645
+ readonly?: "__readonly" | undefined;
6646
+ name: "expired-product-lifetime";
6647
+ params: {
6648
+ purchaseDatasourceId: string;
6649
+ purchaseQuery: string;
6650
+ purchaseReferenceIdField: string;
6651
+ purchaseTimestampField: string;
6652
+ purchaseClientField: string;
6653
+ temporalities?: {
6654
+ maxLifetime: number;
6655
+ windowStart: number;
6656
+ windowEnd: number;
6657
+ minPurchaseCount?: number | undefined;
6658
+ }[] | undefined;
6659
+ };
6660
+ } | {
6661
+ readonly?: "__readonly" | undefined;
6662
+ name: "product-exclusion";
6663
+ params: {
6664
+ mode: "inclusion" | "exclusion";
6665
+ exclusionDatasourceId: string;
6666
+ exclusionIdField: string;
6667
+ productIdField: string;
6668
+ };
6669
+ } | {
6670
+ readonly?: "__readonly" | undefined;
6671
+ name: "per-user";
6672
+ params: unknown;
6673
+ } | {
6674
+ readonly?: "__readonly" | undefined;
6675
+ name: "generic-proxy-lock";
6676
+ params: {
6677
+ ttl: number;
6678
+ };
6679
+ } | {
6680
+ readonly?: "__readonly" | undefined;
6681
+ name: "generic-proxy-aggregation";
6682
+ params: {
6683
+ targetField: string;
6684
+ aggregationType: "sum" | "avg" | "min" | "max";
6685
+ outputField: string;
6686
+ };
6687
+ };
6688
+ storageOptions: {
6689
+ destinations: {
6690
+ type: "bigquery";
6691
+ dataset: string;
6692
+ tableName: string;
6693
+ deduplicateOptions?: {
6694
+ enabled: boolean;
6695
+ } | undefined;
6696
+ }[];
6697
+ partitionCount: number;
6698
+ segments: {
6699
+ offlineSize: number;
6700
+ offlineReplication: number;
6701
+ realtimeSize: number;
6702
+ realtimeReplication: number;
6703
+ };
6704
+ retention?: {
6705
+ value: number;
6706
+ unit: "DAYS";
6707
+ } | undefined;
6708
+ };
6709
+ readonly archivedAt: string & {
6710
+ readonly?: "__readonly" | undefined;
6711
+ };
6604
6712
  versions: (string | {
6605
6713
  mode: DatasourceMode;
6606
6714
  readonly id: string & {
@@ -6735,18 +6843,39 @@ export default class {
6735
6843
  _id: string;
6736
6844
  __v: number;
6737
6845
  })[];
6738
- readonly archivedAt: string & {
6846
+ readonly lastSuccessfulIngestion?: (string & {
6739
6847
  readonly?: "__readonly" | undefined;
6740
- };
6741
- readonly createdAt: string & {
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 & {
6742
6856
  readonly?: "__readonly" | undefined;
6743
6857
  };
6744
6858
  readonly updatedAt: string & {
6745
6859
  readonly?: "__readonly" | undefined;
6746
6860
  };
6861
+ } | {
6862
+ name: string;
6863
+ mode: "worker";
6864
+ status: DatasourceStatus;
6865
+ readonly id: string & {
6866
+ readonly?: "__readonly" | undefined;
6867
+ };
6868
+ companyId: string;
6869
+ resourceGroupIds: string[];
6870
+ readonly contentVersion: number & {
6871
+ readonly?: "__readonly" | undefined;
6872
+ };
6747
6873
  readonly configurationUpdatedAt: string & {
6748
6874
  readonly?: "__readonly" | undefined;
6749
6875
  };
6876
+ readonly createdAt: string & {
6877
+ readonly?: "__readonly" | undefined;
6878
+ };
6750
6879
  hierarchy: string[];
6751
6880
  hidden: boolean;
6752
6881
  readonly template?: (string & {
@@ -6834,39 +6963,10 @@ export default class {
6834
6963
  enabled: boolean;
6835
6964
  } | undefined;
6836
6965
  }[];
6837
- partitionCount: number;
6838
- segments: {
6839
- offlineSize: number;
6840
- offlineReplication: number;
6841
- realtimeSize: number;
6842
- realtimeReplication: number;
6843
- };
6844
- retention?: {
6845
- value: number;
6846
- unit: "DAYS";
6847
- } | undefined;
6848
- };
6849
- readonly lastSuccessfulIngestion?: (string & {
6850
- readonly?: "__readonly" | undefined;
6851
- }) | undefined;
6852
- readonly lastFailedIngestion?: (string & {
6853
- readonly?: "__readonly" | undefined;
6854
- }) | undefined;
6855
- readonly lastFailureReason?: (string & {
6856
- readonly?: "__readonly" | undefined;
6857
- }) | undefined;
6858
- readonly hasWarnings: boolean & {
6859
- readonly?: "__readonly" | undefined;
6860
6966
  };
6861
- } | {
6862
- name: string;
6863
- mode: "worker";
6864
- status: DatasourceStatus;
6865
- readonly id: string & {
6967
+ readonly archivedAt: string & {
6866
6968
  readonly?: "__readonly" | undefined;
6867
6969
  };
6868
- companyId: string;
6869
- resourceGroupIds: string[];
6870
6970
  versions: (string | {
6871
6971
  mode: DatasourceMode;
6872
6972
  readonly id: string & {
@@ -7001,109 +7101,6 @@ export default class {
7001
7101
  _id: string;
7002
7102
  __v: number;
7003
7103
  })[];
7004
- readonly archivedAt: string & {
7005
- readonly?: "__readonly" | undefined;
7006
- };
7007
- readonly createdAt: string & {
7008
- readonly?: "__readonly" | undefined;
7009
- };
7010
- readonly updatedAt: string & {
7011
- readonly?: "__readonly" | undefined;
7012
- };
7013
- readonly contentVersion: number & {
7014
- readonly?: "__readonly" | undefined;
7015
- };
7016
- readonly configurationUpdatedAt: string & {
7017
- readonly?: "__readonly" | undefined;
7018
- };
7019
- hierarchy: string[];
7020
- hidden: boolean;
7021
- readonly template?: (string & {
7022
- readonly?: "__readonly" | undefined;
7023
- }) | undefined;
7024
- readonly fetcher: {
7025
- readonly?: "__readonly" | undefined;
7026
- name: DatasourceFetcherName;
7027
- params: unknown;
7028
- } | {
7029
- readonly?: "__readonly" | undefined;
7030
- name: "fdj-bets";
7031
- params: unknown;
7032
- } | {
7033
- readonly?: "__readonly" | undefined;
7034
- name: "renault-prices";
7035
- params: unknown;
7036
- } | {
7037
- readonly?: "__readonly" | undefined;
7038
- name: "decathlon-product-fallback";
7039
- params: unknown;
7040
- } | {
7041
- readonly?: "__readonly" | undefined;
7042
- name: "generic-unwind-rows";
7043
- params: {
7044
- source: string;
7045
- destination: string;
7046
- columnDestination: string;
7047
- valueType: string;
7048
- };
7049
- } | {
7050
- readonly?: "__readonly" | undefined;
7051
- name: "workflow-events";
7052
- params: unknown;
7053
- } | {
7054
- readonly?: "__readonly" | undefined;
7055
- name: "expired-product-lifetime";
7056
- params: {
7057
- purchaseDatasourceId: string;
7058
- purchaseQuery: string;
7059
- purchaseReferenceIdField: string;
7060
- purchaseTimestampField: string;
7061
- purchaseClientField: string;
7062
- temporalities?: {
7063
- maxLifetime: number;
7064
- windowStart: number;
7065
- windowEnd: number;
7066
- minPurchaseCount?: number | undefined;
7067
- }[] | undefined;
7068
- };
7069
- } | {
7070
- readonly?: "__readonly" | undefined;
7071
- name: "product-exclusion";
7072
- params: {
7073
- mode: "inclusion" | "exclusion";
7074
- exclusionDatasourceId: string;
7075
- exclusionIdField: string;
7076
- productIdField: string;
7077
- };
7078
- } | {
7079
- readonly?: "__readonly" | undefined;
7080
- name: "per-user";
7081
- params: unknown;
7082
- } | {
7083
- readonly?: "__readonly" | undefined;
7084
- name: "generic-proxy-lock";
7085
- params: {
7086
- ttl: number;
7087
- };
7088
- } | {
7089
- readonly?: "__readonly" | undefined;
7090
- name: "generic-proxy-aggregation";
7091
- params: {
7092
- targetField: string;
7093
- aggregationType: "sum" | "avg" | "min" | "max";
7094
- outputField: string;
7095
- };
7096
- };
7097
- storageOptions: {
7098
- destinations: {
7099
- type: "bigquery";
7100
- dataset: string;
7101
- tableName: string;
7102
- deduplicateOptions?: {
7103
- enabled: boolean;
7104
- } | undefined;
7105
- }[];
7106
- };
7107
7104
  readonly lastSuccessfulIngestion?: (string & {
7108
7105
  readonly?: "__readonly" | undefined;
7109
7106
  }) | undefined;
@@ -7116,6 +7113,9 @@ export default class {
7116
7113
  readonly hasWarnings: boolean & {
7117
7114
  readonly?: "__readonly" | undefined;
7118
7115
  };
7116
+ readonly updatedAt: string & {
7117
+ readonly?: "__readonly" | undefined;
7118
+ };
7119
7119
  thresholds: {
7120
7120
  type: "too_many_invalid_entries";
7121
7121
  value: number;
@@ -7156,152 +7156,12 @@ export default class {
7156
7156
  };
7157
7157
  companyId: string;
7158
7158
  resourceGroupIds: string[];
7159
- versions: (string | {
7160
- mode: DatasourceMode;
7161
- readonly id: string & {
7162
- readonly?: "__readonly" | undefined;
7163
- };
7164
- type: {
7165
- name: "analytics";
7166
- options: {
7167
- autoExclusions?: boolean | undefined;
7168
- noStats?: boolean | undefined;
7169
- };
7170
- subtype: "purchases";
7171
- } | {
7172
- name: "generic";
7173
- subtype: import("./definitions").DatasourceGenericSubType;
7174
- } | {
7175
- name: "crm";
7176
- subtype: import("./definitions").DatasourceCRMSubType;
7177
- } | {
7178
- name: "product";
7179
- subtype: import("./definitions").DatasourceProductSubType;
7180
- } | {
7181
- name: "location";
7182
- subtype: import("./definitions").DatasourceLocationSubType;
7183
- } | {
7184
- name: "analytics";
7185
- subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
7186
- } | {
7187
- name: "push";
7188
- subtype: "email";
7189
- } | {
7190
- name: "loop";
7191
- subtype: import("./definitions").DatasourceLoopSubType;
7192
- };
7193
- fieldsMap: {
7194
- name: string;
7195
- source?: FieldSource | undefined;
7196
- type: FieldMapType;
7197
- selected: boolean;
7198
- ignoreIfMissing?: boolean | undefined;
7199
- metadata?: {
7200
- locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
7201
- } | undefined;
7202
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
7203
- readonly?: "__readonly" | undefined;
7204
- };
7205
- }[];
7206
- readonly health: ("ERROR" | "WARNING" | "OK") & {
7207
- readonly?: "__readonly" | undefined;
7208
- };
7209
- readonly state: import("./definitions").DatasourceVersionState & {
7210
- readonly?: "__readonly" | undefined;
7211
- };
7212
- readonly pendingSteps?: ({
7213
- name: "configure_name";
7214
- } | {
7215
- name: "configure_resource_group_ids";
7216
- } | {
7217
- name: "configure_sources";
7218
- } | {
7219
- name: "configure_fields";
7220
- } | {
7221
- name: "configure_field";
7222
- field: {
7223
- name: string;
7224
- type: FieldMapType;
7225
- };
7226
- } | {
7227
- name: "create_oauth_client";
7228
- configurationId: string;
7229
- } | {
7230
- name: "authorize_oauth_client";
7231
- slug: string;
7232
- } | {
7233
- name: "configure_thresholds";
7234
- } | {
7235
- name: "configure_api_key";
7236
- slug: "partoo";
7237
- } | {
7238
- name: "patch";
7239
- } | {
7240
- name: "validate";
7241
- } | {
7242
- name: "configure_google_tag_manager";
7243
- } | {
7244
- name: "configure_reelevant_analytics_script";
7245
- } | {
7246
- name: "configure_product_datasource_source";
7247
- } | {
7248
- name: "configure_tracking_datasource_source";
7249
- } | {
7250
- name: "configure_best_product_query";
7251
- } | {
7252
- name: "configure_best_product_field";
7253
- } | {
7254
- name: "configure_fetcher";
7255
- } | {
7256
- name: "configure_merge_datasource_source";
7257
- } | {
7258
- name: "configure_merge_datasource_dependency";
7259
- } | {
7260
- name: "configure_merge_mapping";
7261
- } | {
7262
- name: "configure_bought_together";
7263
- } | {
7264
- name: "configure_top_attributes";
7265
- } | {
7266
- name: "configure_destination";
7267
- type: "smtp";
7268
- } | {
7269
- name: "configure_hierarchy";
7270
- } | {
7271
- name: "google_my_business_set_url";
7272
- urls: {
7273
- getAccount: string;
7274
- final: string;
7275
- };
7276
- } | {
7277
- name: "setup_instagram";
7278
- urls: {
7279
- getAccount: string;
7280
- final: string;
7281
- getAccountInfos: string;
7282
- };
7283
- })[] | undefined;
7284
- readonly availableFieldsTypes: FieldMapType[];
7285
- readonly requiredFieldsTypes: {
7286
- [x: string]: FieldMapType;
7287
- }[];
7288
- readonly uniqueFieldsTypes: FieldMapType[];
7289
- readonly importantFieldsTypes: FieldMapType[];
7290
- _id: string;
7291
- __v: number;
7292
- })[];
7293
- readonly archivedAt: string & {
7159
+ readonly configurationUpdatedAt: string & {
7294
7160
  readonly?: "__readonly" | undefined;
7295
7161
  };
7296
7162
  readonly createdAt: string & {
7297
7163
  readonly?: "__readonly" | undefined;
7298
7164
  };
7299
- readonly updatedAt: string & {
7300
- readonly?: "__readonly" | undefined;
7301
- };
7302
- readonly configurationUpdatedAt: string & {
7303
- readonly?: "__readonly" | undefined;
7304
- };
7305
7165
  hierarchy: string[];
7306
7166
  hidden: boolean;
7307
7167
  readonly template?: (string & {
@@ -7380,27 +7240,9 @@ export default class {
7380
7240
  outputField: string;
7381
7241
  };
7382
7242
  };
7383
- readonly lastSuccessfulIngestion?: (string & {
7384
- readonly?: "__readonly" | undefined;
7385
- }) | undefined;
7386
- readonly lastFailedIngestion?: (string & {
7387
- readonly?: "__readonly" | undefined;
7388
- }) | undefined;
7389
- readonly lastFailureReason?: (string & {
7390
- readonly?: "__readonly" | undefined;
7391
- }) | undefined;
7392
- readonly hasWarnings: boolean & {
7393
- readonly?: "__readonly" | undefined;
7394
- };
7395
- } | {
7396
- name: string;
7397
- mode: "ingester";
7398
- status: DatasourceStatus;
7399
- readonly id: string & {
7243
+ readonly archivedAt: string & {
7400
7244
  readonly?: "__readonly" | undefined;
7401
7245
  };
7402
- companyId: string;
7403
- resourceGroupIds: string[];
7404
7246
  versions: (string | {
7405
7247
  mode: DatasourceMode;
7406
7248
  readonly id: string & {
@@ -7535,18 +7377,36 @@ export default class {
7535
7377
  _id: string;
7536
7378
  __v: number;
7537
7379
  })[];
7538
- readonly archivedAt: string & {
7380
+ readonly lastSuccessfulIngestion?: (string & {
7539
7381
  readonly?: "__readonly" | undefined;
7540
- };
7541
- readonly createdAt: string & {
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 & {
7542
7390
  readonly?: "__readonly" | undefined;
7543
7391
  };
7544
7392
  readonly updatedAt: string & {
7545
7393
  readonly?: "__readonly" | undefined;
7546
7394
  };
7395
+ } | {
7396
+ name: string;
7397
+ mode: "ingester";
7398
+ status: DatasourceStatus;
7399
+ readonly id: string & {
7400
+ readonly?: "__readonly" | undefined;
7401
+ };
7402
+ companyId: string;
7403
+ resourceGroupIds: string[];
7547
7404
  readonly configurationUpdatedAt: string & {
7548
7405
  readonly?: "__readonly" | undefined;
7549
7406
  };
7407
+ readonly createdAt: string & {
7408
+ readonly?: "__readonly" | undefined;
7409
+ };
7550
7410
  hierarchy: string[];
7551
7411
  hidden: boolean;
7552
7412
  readonly template?: (string & {
@@ -7646,27 +7506,9 @@ export default class {
7646
7506
  unit: "DAYS";
7647
7507
  } | undefined;
7648
7508
  };
7649
- readonly lastSuccessfulIngestion?: (string & {
7650
- readonly?: "__readonly" | undefined;
7651
- }) | undefined;
7652
- readonly lastFailedIngestion?: (string & {
7653
- readonly?: "__readonly" | undefined;
7654
- }) | undefined;
7655
- readonly lastFailureReason?: (string & {
7656
- readonly?: "__readonly" | undefined;
7657
- }) | undefined;
7658
- readonly hasWarnings: boolean & {
7659
- readonly?: "__readonly" | undefined;
7660
- };
7661
- } | {
7662
- name: string;
7663
- mode: "pubsub";
7664
- status: DatasourceStatus;
7665
- readonly id: string & {
7509
+ readonly archivedAt: string & {
7666
7510
  readonly?: "__readonly" | undefined;
7667
7511
  };
7668
- companyId: string;
7669
- resourceGroupIds: string[];
7670
7512
  versions: (string | {
7671
7513
  mode: DatasourceMode;
7672
7514
  readonly id: string & {
@@ -7801,18 +7643,36 @@ export default class {
7801
7643
  _id: string;
7802
7644
  __v: number;
7803
7645
  })[];
7804
- readonly archivedAt: string & {
7646
+ readonly lastSuccessfulIngestion?: (string & {
7805
7647
  readonly?: "__readonly" | undefined;
7806
- };
7807
- readonly createdAt: string & {
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 & {
7808
7656
  readonly?: "__readonly" | undefined;
7809
7657
  };
7810
7658
  readonly updatedAt: string & {
7811
7659
  readonly?: "__readonly" | undefined;
7812
7660
  };
7661
+ } | {
7662
+ name: string;
7663
+ mode: "pubsub";
7664
+ status: DatasourceStatus;
7665
+ readonly id: string & {
7666
+ readonly?: "__readonly" | undefined;
7667
+ };
7668
+ companyId: string;
7669
+ resourceGroupIds: string[];
7813
7670
  readonly configurationUpdatedAt: string & {
7814
7671
  readonly?: "__readonly" | undefined;
7815
7672
  };
7673
+ readonly createdAt: string & {
7674
+ readonly?: "__readonly" | undefined;
7675
+ };
7816
7676
  hierarchy: string[];
7817
7677
  hidden: boolean;
7818
7678
  readonly template?: (string & {
@@ -7912,55 +7772,9 @@ export default class {
7912
7772
  unit: "DAYS";
7913
7773
  } | undefined;
7914
7774
  };
7915
- readonly lastSuccessfulIngestion?: (string & {
7916
- readonly?: "__readonly" | undefined;
7917
- }) | undefined;
7918
- readonly lastFailedIngestion?: (string & {
7919
- readonly?: "__readonly" | undefined;
7920
- }) | undefined;
7921
- readonly lastFailureReason?: (string & {
7922
- readonly?: "__readonly" | undefined;
7923
- }) | undefined;
7924
- readonly hasWarnings: boolean & {
7925
- readonly?: "__readonly" | undefined;
7926
- };
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 & {
7775
+ readonly archivedAt: string & {
7960
7776
  readonly?: "__readonly" | undefined;
7961
7777
  };
7962
- companyId: string;
7963
- resourceGroupIds: string[];
7964
7778
  versions: (string | {
7965
7779
  mode: DatasourceMode;
7966
7780
  readonly id: string & {
@@ -8095,18 +7909,64 @@ export default class {
8095
7909
  _id: string;
8096
7910
  __v: number;
8097
7911
  })[];
8098
- readonly archivedAt: string & {
7912
+ readonly lastSuccessfulIngestion?: (string & {
8099
7913
  readonly?: "__readonly" | undefined;
8100
- };
8101
- readonly createdAt: string & {
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 & {
8102
7922
  readonly?: "__readonly" | undefined;
8103
7923
  };
8104
7924
  readonly updatedAt: string & {
8105
7925
  readonly?: "__readonly" | undefined;
8106
7926
  };
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 & {
7960
+ readonly?: "__readonly" | undefined;
7961
+ };
7962
+ companyId: string;
7963
+ resourceGroupIds: string[];
8107
7964
  readonly configurationUpdatedAt: string & {
8108
7965
  readonly?: "__readonly" | undefined;
8109
7966
  };
7967
+ readonly createdAt: string & {
7968
+ readonly?: "__readonly" | undefined;
7969
+ };
8110
7970
  hierarchy: string[];
8111
7971
  hidden: boolean;
8112
7972
  readonly template?: (string & {
@@ -8206,42 +8066,9 @@ export default class {
8206
8066
  unit: "DAYS";
8207
8067
  } | undefined;
8208
8068
  };
8209
- readonly lastSuccessfulIngestion?: (string & {
8210
- readonly?: "__readonly" | undefined;
8211
- }) | undefined;
8212
- readonly lastFailedIngestion?: (string & {
8213
- readonly?: "__readonly" | undefined;
8214
- }) | undefined;
8215
- readonly lastFailureReason?: (string & {
8216
- readonly?: "__readonly" | undefined;
8217
- }) | undefined;
8218
- readonly hasWarnings: boolean & {
8219
- readonly?: "__readonly" | undefined;
8220
- };
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 & {
8069
+ readonly archivedAt: string & {
8241
8070
  readonly?: "__readonly" | undefined;
8242
8071
  };
8243
- companyId: string;
8244
- resourceGroupIds: string[];
8245
8072
  versions: (string | {
8246
8073
  mode: DatasourceMode;
8247
8074
  readonly id: string & {
@@ -8376,21 +8203,54 @@ export default class {
8376
8203
  _id: string;
8377
8204
  __v: number;
8378
8205
  })[];
8379
- readonly archivedAt: string & {
8206
+ readonly lastSuccessfulIngestion?: (string & {
8380
8207
  readonly?: "__readonly" | undefined;
8381
- };
8382
- readonly createdAt: string & {
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 & {
8383
8216
  readonly?: "__readonly" | undefined;
8384
8217
  };
8385
8218
  readonly updatedAt: string & {
8386
8219
  readonly?: "__readonly" | undefined;
8387
8220
  };
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 & {
8241
+ readonly?: "__readonly" | undefined;
8242
+ };
8243
+ companyId: string;
8244
+ resourceGroupIds: string[];
8388
8245
  readonly contentVersion: number & {
8389
8246
  readonly?: "__readonly" | undefined;
8390
8247
  };
8391
8248
  readonly configurationUpdatedAt: string & {
8392
8249
  readonly?: "__readonly" | undefined;
8393
8250
  };
8251
+ readonly createdAt: string & {
8252
+ readonly?: "__readonly" | undefined;
8253
+ };
8394
8254
  hierarchy: string[];
8395
8255
  hidden: boolean;
8396
8256
  readonly template?: (string & {
@@ -8479,73 +8339,9 @@ export default class {
8479
8339
  } | undefined;
8480
8340
  }[];
8481
8341
  };
8482
- readonly lastSuccessfulIngestion?: (string & {
8483
- readonly?: "__readonly" | undefined;
8484
- }) | undefined;
8485
- readonly lastFailedIngestion?: (string & {
8486
- readonly?: "__readonly" | undefined;
8487
- }) | undefined;
8488
- readonly lastFailureReason?: (string & {
8489
- readonly?: "__readonly" | undefined;
8490
- }) | undefined;
8491
- readonly hasWarnings: boolean & {
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 & {
8535
- readonly?: "__readonly" | undefined;
8536
- };
8537
- readonly isPaused: boolean & {
8538
- readonly?: "__readonly" | undefined;
8539
- };
8540
- } | {
8541
- name: string;
8542
- mode: "proxy";
8543
- status: DatasourceStatus;
8544
- readonly id: string & {
8342
+ readonly archivedAt: string & {
8545
8343
  readonly?: "__readonly" | undefined;
8546
8344
  };
8547
- companyId: string;
8548
- resourceGroupIds: string[];
8549
8345
  versions: (string | {
8550
8346
  mode: DatasourceMode;
8551
8347
  readonly id: string & {
@@ -8680,18 +8476,82 @@ export default class {
8680
8476
  _id: string;
8681
8477
  __v: number;
8682
8478
  })[];
8683
- readonly archivedAt: string & {
8479
+ readonly lastSuccessfulIngestion?: (string & {
8684
8480
  readonly?: "__readonly" | undefined;
8685
- };
8686
- readonly createdAt: string & {
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 & {
8687
8489
  readonly?: "__readonly" | undefined;
8688
8490
  };
8689
8491
  readonly updatedAt: string & {
8690
8492
  readonly?: "__readonly" | undefined;
8691
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 & {
8535
+ readonly?: "__readonly" | undefined;
8536
+ };
8537
+ readonly isPaused: boolean & {
8538
+ readonly?: "__readonly" | undefined;
8539
+ };
8540
+ } | {
8541
+ name: string;
8542
+ mode: "proxy";
8543
+ status: DatasourceStatus;
8544
+ readonly id: string & {
8545
+ readonly?: "__readonly" | undefined;
8546
+ };
8547
+ companyId: string;
8548
+ resourceGroupIds: string[];
8692
8549
  readonly configurationUpdatedAt: string & {
8693
8550
  readonly?: "__readonly" | undefined;
8694
8551
  };
8552
+ readonly createdAt: string & {
8553
+ readonly?: "__readonly" | undefined;
8554
+ };
8695
8555
  hierarchy: string[];
8696
8556
  hidden: boolean;
8697
8557
  readonly template?: (string & {
@@ -8770,42 +8630,9 @@ export default class {
8770
8630
  outputField: string;
8771
8631
  };
8772
8632
  };
8773
- readonly lastSuccessfulIngestion?: (string & {
8774
- readonly?: "__readonly" | undefined;
8775
- }) | undefined;
8776
- readonly lastFailedIngestion?: (string & {
8777
- readonly?: "__readonly" | undefined;
8778
- }) | undefined;
8779
- readonly lastFailureReason?: (string & {
8780
- readonly?: "__readonly" | undefined;
8781
- }) | undefined;
8782
- readonly hasWarnings: boolean & {
8783
- readonly?: "__readonly" | undefined;
8784
- };
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 & {
8633
+ readonly archivedAt: string & {
8805
8634
  readonly?: "__readonly" | undefined;
8806
8635
  };
8807
- companyId: string;
8808
- resourceGroupIds: string[];
8809
8636
  versions: (string | {
8810
8637
  mode: DatasourceMode;
8811
8638
  readonly id: string & {
@@ -8940,18 +8767,51 @@ export default class {
8940
8767
  _id: string;
8941
8768
  __v: number;
8942
8769
  })[];
8943
- readonly archivedAt: string & {
8770
+ readonly lastSuccessfulIngestion?: (string & {
8944
8771
  readonly?: "__readonly" | undefined;
8945
- };
8946
- readonly createdAt: string & {
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 & {
8947
8780
  readonly?: "__readonly" | undefined;
8948
8781
  };
8949
8782
  readonly updatedAt: string & {
8950
8783
  readonly?: "__readonly" | undefined;
8951
8784
  };
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 & {
8805
+ readonly?: "__readonly" | undefined;
8806
+ };
8807
+ companyId: string;
8808
+ resourceGroupIds: string[];
8952
8809
  readonly configurationUpdatedAt: string & {
8953
8810
  readonly?: "__readonly" | undefined;
8954
8811
  };
8812
+ readonly createdAt: string & {
8813
+ readonly?: "__readonly" | undefined;
8814
+ };
8955
8815
  hierarchy: string[];
8956
8816
  hidden: boolean;
8957
8817
  readonly template?: (string & {
@@ -9051,42 +8911,9 @@ export default class {
9051
8911
  unit: "DAYS";
9052
8912
  } | undefined;
9053
8913
  };
9054
- readonly lastSuccessfulIngestion?: (string & {
9055
- readonly?: "__readonly" | undefined;
9056
- }) | undefined;
9057
- readonly lastFailedIngestion?: (string & {
9058
- readonly?: "__readonly" | undefined;
9059
- }) | undefined;
9060
- readonly lastFailureReason?: (string & {
9061
- readonly?: "__readonly" | undefined;
9062
- }) | undefined;
9063
- readonly hasWarnings: boolean & {
9064
- readonly?: "__readonly" | undefined;
9065
- };
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 & {
8914
+ readonly archivedAt: string & {
9086
8915
  readonly?: "__readonly" | undefined;
9087
8916
  };
9088
- companyId: string;
9089
- resourceGroupIds: string[];
9090
8917
  versions: (string | {
9091
8918
  mode: DatasourceMode;
9092
8919
  readonly id: string & {
@@ -9221,18 +9048,51 @@ export default class {
9221
9048
  _id: string;
9222
9049
  __v: number;
9223
9050
  })[];
9224
- readonly archivedAt: string & {
9051
+ readonly lastSuccessfulIngestion?: (string & {
9225
9052
  readonly?: "__readonly" | undefined;
9226
- };
9227
- readonly createdAt: string & {
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 & {
9228
9061
  readonly?: "__readonly" | undefined;
9229
9062
  };
9230
9063
  readonly updatedAt: string & {
9231
9064
  readonly?: "__readonly" | undefined;
9232
9065
  };
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 & {
9086
+ readonly?: "__readonly" | undefined;
9087
+ };
9088
+ companyId: string;
9089
+ resourceGroupIds: string[];
9233
9090
  readonly configurationUpdatedAt: string & {
9234
9091
  readonly?: "__readonly" | undefined;
9235
9092
  };
9093
+ readonly createdAt: string & {
9094
+ readonly?: "__readonly" | undefined;
9095
+ };
9236
9096
  hierarchy: string[];
9237
9097
  hidden: boolean;
9238
9098
  readonly template?: (string & {
@@ -9332,6 +9192,143 @@ export default class {
9332
9192
  unit: "DAYS";
9333
9193
  } | undefined;
9334
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;
9240
+ } | 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
+ }[];
9327
+ readonly uniqueFieldsTypes: FieldMapType[];
9328
+ readonly importantFieldsTypes: FieldMapType[];
9329
+ _id: string;
9330
+ __v: number;
9331
+ })[];
9335
9332
  readonly lastSuccessfulIngestion?: (string & {
9336
9333
  readonly?: "__readonly" | undefined;
9337
9334
  }) | undefined;
@@ -9344,6 +9341,9 @@ export default class {
9344
9341
  readonly hasWarnings: boolean & {
9345
9342
  readonly?: "__readonly" | undefined;
9346
9343
  };
9344
+ readonly updatedAt: string & {
9345
+ readonly?: "__readonly" | undefined;
9346
+ };
9347
9347
  example?: {
9348
9348
  [x: string]: unknown;
9349
9349
  } | undefined;
@@ -9849,610 +9849,6 @@ export default class {
9849
9849
  message: string;
9850
9850
  }, any, {}>>;
9851
9851
  };
9852
- get Datagraph(): {
9853
- listSchemas: (params: {
9854
- page?: number | undefined;
9855
- perPage?: number | undefined;
9856
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9857
- paginationCount: number;
9858
- paginationPage: number;
9859
- paginationLimit: number;
9860
- } & {
9861
- status: "success";
9862
- } & {
9863
- datetime: string;
9864
- data: {
9865
- readonly companyId: string & {
9866
- readonly?: "__readonly" | undefined;
9867
- };
9868
- readonly resourceGroupIds: string[];
9869
- readonly versions: (string | {
9870
- readonly companyId: string & {
9871
- readonly?: "__readonly" | undefined;
9872
- };
9873
- readonly state: import("./definitions").DatagraphSchemaVersionState & {
9874
- readonly?: "__readonly" | undefined;
9875
- };
9876
- _id: string;
9877
- __v: number;
9878
- readonly definition: {
9879
- name: string;
9880
- description?: string | undefined;
9881
- relations?: {
9882
- description?: string | undefined;
9883
- type: "Relation";
9884
- columns: string[];
9885
- reference: {
9886
- datasourceId: string;
9887
- table: string;
9888
- columns: string[];
9889
- };
9890
- }[] | undefined;
9891
- datasourceId: string;
9892
- columns: {
9893
- name: string;
9894
- description?: string | undefined;
9895
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9896
- default?: string | number | boolean | undefined;
9897
- nullable: boolean;
9898
- }[];
9899
- virtualColumns?: {
9900
- query: string;
9901
- name: string;
9902
- description?: string | undefined;
9903
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9904
- nullable: boolean;
9905
- }[] | undefined;
9906
- uniqueKeys?: {
9907
- description?: string | undefined;
9908
- type: "UniqueKey";
9909
- columns: string[];
9910
- }[] | undefined;
9911
- indexes?: {
9912
- description?: string | undefined;
9913
- type: "Index";
9914
- columns: string[];
9915
- }[] | undefined;
9916
- }[];
9917
- })[];
9918
- archivedAt: string | null;
9919
- }[];
9920
- program: string;
9921
- version: string;
9922
- status: string;
9923
- code?: number | undefined;
9924
- message: string;
9925
- }, any, {}>>;
9926
- createSchema: (params: Record<string, never>, data: {
9927
- schema: {
9928
- name: string;
9929
- description?: string | undefined;
9930
- relations?: {
9931
- description?: string | undefined;
9932
- type: "Relation";
9933
- columns: string[];
9934
- reference: {
9935
- datasourceId: string;
9936
- table: string;
9937
- columns: string[];
9938
- };
9939
- }[] | undefined;
9940
- datasourceId: string;
9941
- columns: {
9942
- name: string;
9943
- description?: string | undefined;
9944
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9945
- default?: string | number | boolean | undefined;
9946
- nullable: boolean;
9947
- }[];
9948
- virtualColumns?: {
9949
- query: string;
9950
- name: string;
9951
- description?: string | undefined;
9952
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
9953
- nullable: boolean;
9954
- }[] | undefined;
9955
- uniqueKeys?: {
9956
- description?: string | undefined;
9957
- type: "UniqueKey";
9958
- columns: string[];
9959
- }[] | undefined;
9960
- indexes?: {
9961
- description?: string | undefined;
9962
- type: "Index";
9963
- columns: string[];
9964
- }[] | undefined;
9965
- }[];
9966
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9967
- status: "success";
9968
- } & {
9969
- datetime: string;
9970
- data: {
9971
- [x: string]: unknown;
9972
- };
9973
- program: string;
9974
- version: string;
9975
- status: string;
9976
- code?: number | undefined;
9977
- message: string;
9978
- }, any, {}>>;
9979
- validateSchema: (params: Record<string, never>, data: {
9980
- schema: unknown;
9981
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9982
- status: "success";
9983
- } & {
9984
- datetime: string;
9985
- data: {
9986
- validation: {
9987
- success: true;
9988
- data: {
9989
- name: string;
9990
- description?: string | undefined;
9991
- relations?: {
9992
- description?: string | undefined;
9993
- type: "Relation";
9994
- columns: string[];
9995
- reference: {
9996
- datasourceId: string;
9997
- table: string;
9998
- columns: string[];
9999
- };
10000
- }[] | undefined;
10001
- datasourceId: string;
10002
- columns: {
10003
- name: string;
10004
- description?: string | undefined;
10005
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10006
- default?: string | number | boolean | undefined;
10007
- nullable: boolean;
10008
- }[];
10009
- virtualColumns?: {
10010
- query: string;
10011
- name: string;
10012
- description?: string | undefined;
10013
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10014
- nullable: boolean;
10015
- }[] | undefined;
10016
- uniqueKeys?: {
10017
- description?: string | undefined;
10018
- type: "UniqueKey";
10019
- columns: string[];
10020
- }[] | undefined;
10021
- indexes?: {
10022
- description?: string | undefined;
10023
- type: "Index";
10024
- columns: string[];
10025
- }[] | undefined;
10026
- }[];
10027
- } | {
10028
- success: false;
10029
- error: {
10030
- issues: {
10031
- path: (string | number)[];
10032
- code: string;
10033
- message: string;
10034
- }[];
10035
- };
10036
- };
10037
- relations: {
10038
- error?: string | undefined;
10039
- fromDatasourceId: string;
10040
- fromTable: string;
10041
- fromColumn: string;
10042
- fromDistinctCount: number | null;
10043
- toDatasourceId: string;
10044
- toTable: string;
10045
- toColumn: string;
10046
- toDistinctCount: number | null;
10047
- matchCount: number | null;
10048
- matchPercentage: number | null;
10049
- }[];
10050
- };
10051
- program: string;
10052
- version: string;
10053
- status: string;
10054
- code?: number | undefined;
10055
- message: string;
10056
- }, any, {}>>;
10057
- getSchema: (params: {
10058
- id: string;
10059
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10060
- status: "success";
10061
- } & {
10062
- datetime: string;
10063
- data: {
10064
- [x: string]: unknown;
10065
- };
10066
- program: string;
10067
- version: string;
10068
- status: string;
10069
- code?: number | undefined;
10070
- message: string;
10071
- }, any, {}>>;
10072
- updateSchema: (params: {
10073
- id: string;
10074
- }, data: {
10075
- schema: {
10076
- name: string;
10077
- description?: string | undefined;
10078
- relations?: {
10079
- description?: string | undefined;
10080
- type: "Relation";
10081
- columns: string[];
10082
- reference: {
10083
- datasourceId: string;
10084
- table: string;
10085
- columns: string[];
10086
- };
10087
- }[] | undefined;
10088
- datasourceId: string;
10089
- columns: {
10090
- name: string;
10091
- description?: string | undefined;
10092
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10093
- default?: string | number | boolean | undefined;
10094
- nullable: boolean;
10095
- }[];
10096
- virtualColumns?: {
10097
- query: string;
10098
- name: string;
10099
- description?: string | undefined;
10100
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10101
- nullable: boolean;
10102
- }[] | undefined;
10103
- uniqueKeys?: {
10104
- description?: string | undefined;
10105
- type: "UniqueKey";
10106
- columns: string[];
10107
- }[] | undefined;
10108
- indexes?: {
10109
- description?: string | undefined;
10110
- type: "Index";
10111
- columns: string[];
10112
- }[] | undefined;
10113
- }[];
10114
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10115
- status: "success";
10116
- } & {
10117
- datetime: string;
10118
- data: {
10119
- [x: string]: unknown;
10120
- };
10121
- program: string;
10122
- version: string;
10123
- status: string;
10124
- code?: number | undefined;
10125
- message: string;
10126
- }, any, {}>>;
10127
- deleteSchema: (params: {
10128
- id: string;
10129
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10130
- publishSchema: (params: {
10131
- id: string;
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
- listEntities: (params: {
10146
- page?: number | undefined;
10147
- perPage?: number | undefined;
10148
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10149
- paginationCount: number;
10150
- paginationPage: number;
10151
- paginationLimit: number;
10152
- } & {
10153
- status: "success";
10154
- } & {
10155
- datetime: string;
10156
- data: {
10157
- readonly id: string & {
10158
- readonly?: "__readonly" | undefined;
10159
- };
10160
- readonly companyId: string & {
10161
- readonly?: "__readonly" | undefined;
10162
- };
10163
- readonly resourceGroupIds: string[];
10164
- readonly versions: (string | {
10165
- readonly companyId: string & {
10166
- readonly?: "__readonly" | undefined;
10167
- };
10168
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10169
- readonly?: "__readonly" | undefined;
10170
- };
10171
- _id: string;
10172
- __v: number;
10173
- readonly definition: {
10174
- readonly?: "__readonly" | undefined;
10175
- name: string;
10176
- options: {
10177
- name: string;
10178
- index: number;
10179
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10180
- shortDescription: string;
10181
- fullDescription: string | null;
10182
- }[];
10183
- sql: string | null;
10184
- readonly answers: {
10185
- name: string;
10186
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10187
- }[];
10188
- };
10189
- })[];
10190
- readonly archivedAt: string & {
10191
- readonly?: "__readonly" | undefined;
10192
- };
10193
- readonly createdAt: string & {
10194
- readonly?: "__readonly" | undefined;
10195
- };
10196
- readonly updatedAt: string & {
10197
- readonly?: "__readonly" | undefined;
10198
- };
10199
- }[];
10200
- program: string;
10201
- version: string;
10202
- status: string;
10203
- code?: number | undefined;
10204
- message: string;
10205
- }, any, {}>>;
10206
- createEntity: (params: Record<string, never>, data: {
10207
- entity: {
10208
- name: string;
10209
- options: {
10210
- name: string;
10211
- index: number;
10212
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10213
- shortDescription: string;
10214
- fullDescription: string | null;
10215
- }[];
10216
- sql: string | null;
10217
- };
10218
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10219
- status: "success";
10220
- } & {
10221
- datetime: string;
10222
- data: {
10223
- readonly id: string & {
10224
- readonly?: "__readonly" | undefined;
10225
- };
10226
- readonly companyId: string & {
10227
- readonly?: "__readonly" | undefined;
10228
- };
10229
- readonly resourceGroupIds: string[];
10230
- readonly versions: (string | {
10231
- readonly companyId: string & {
10232
- readonly?: "__readonly" | undefined;
10233
- };
10234
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10235
- readonly?: "__readonly" | undefined;
10236
- };
10237
- _id: string;
10238
- __v: number;
10239
- readonly definition: {
10240
- readonly?: "__readonly" | undefined;
10241
- name: string;
10242
- options: {
10243
- name: string;
10244
- index: number;
10245
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10246
- shortDescription: string;
10247
- fullDescription: string | null;
10248
- }[];
10249
- sql: string | null;
10250
- readonly answers: {
10251
- name: string;
10252
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10253
- }[];
10254
- };
10255
- })[];
10256
- readonly archivedAt: string & {
10257
- readonly?: "__readonly" | undefined;
10258
- };
10259
- readonly createdAt: string & {
10260
- readonly?: "__readonly" | undefined;
10261
- };
10262
- readonly updatedAt: string & {
10263
- readonly?: "__readonly" | undefined;
10264
- };
10265
- };
10266
- program: string;
10267
- version: string;
10268
- status: string;
10269
- code?: number | undefined;
10270
- message: string;
10271
- }, any, {}>>;
10272
- getEntity: (params: {
10273
- id: string;
10274
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10275
- status: "success";
10276
- } & {
10277
- datetime: string;
10278
- data: {
10279
- readonly id: string & {
10280
- readonly?: "__readonly" | undefined;
10281
- };
10282
- readonly companyId: string & {
10283
- readonly?: "__readonly" | undefined;
10284
- };
10285
- readonly resourceGroupIds: string[];
10286
- readonly versions: (string | {
10287
- readonly companyId: string & {
10288
- readonly?: "__readonly" | undefined;
10289
- };
10290
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10291
- readonly?: "__readonly" | undefined;
10292
- };
10293
- _id: string;
10294
- __v: number;
10295
- readonly definition: {
10296
- readonly?: "__readonly" | undefined;
10297
- name: string;
10298
- options: {
10299
- name: string;
10300
- index: number;
10301
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10302
- shortDescription: string;
10303
- fullDescription: string | null;
10304
- }[];
10305
- sql: string | null;
10306
- readonly answers: {
10307
- name: string;
10308
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10309
- }[];
10310
- };
10311
- })[];
10312
- readonly archivedAt: string & {
10313
- readonly?: "__readonly" | undefined;
10314
- };
10315
- readonly createdAt: string & {
10316
- readonly?: "__readonly" | undefined;
10317
- };
10318
- readonly updatedAt: string & {
10319
- readonly?: "__readonly" | undefined;
10320
- };
10321
- };
10322
- program: string;
10323
- version: string;
10324
- status: string;
10325
- code?: number | undefined;
10326
- message: string;
10327
- }, any, {}>>;
10328
- updateEntity: (params: {
10329
- id: string;
10330
- }, data: {
10331
- entity: {
10332
- name: string;
10333
- options: {
10334
- name: string;
10335
- index: number;
10336
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10337
- shortDescription: string;
10338
- fullDescription: string | null;
10339
- }[];
10340
- sql: string | null;
10341
- };
10342
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10343
- status: "success";
10344
- } & {
10345
- datetime: string;
10346
- data: {
10347
- readonly id: string & {
10348
- readonly?: "__readonly" | undefined;
10349
- };
10350
- readonly companyId: string & {
10351
- readonly?: "__readonly" | undefined;
10352
- };
10353
- readonly resourceGroupIds: string[];
10354
- readonly versions: (string | {
10355
- readonly companyId: string & {
10356
- readonly?: "__readonly" | undefined;
10357
- };
10358
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10359
- readonly?: "__readonly" | undefined;
10360
- };
10361
- _id: string;
10362
- __v: number;
10363
- readonly definition: {
10364
- readonly?: "__readonly" | undefined;
10365
- name: string;
10366
- options: {
10367
- name: string;
10368
- index: number;
10369
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10370
- shortDescription: string;
10371
- fullDescription: string | null;
10372
- }[];
10373
- sql: string | null;
10374
- readonly answers: {
10375
- name: string;
10376
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10377
- }[];
10378
- };
10379
- })[];
10380
- readonly archivedAt: string & {
10381
- readonly?: "__readonly" | undefined;
10382
- };
10383
- readonly createdAt: string & {
10384
- readonly?: "__readonly" | undefined;
10385
- };
10386
- readonly updatedAt: string & {
10387
- readonly?: "__readonly" | undefined;
10388
- };
10389
- };
10390
- program: string;
10391
- version: string;
10392
- status: string;
10393
- code?: number | undefined;
10394
- message: string;
10395
- }, any, {}>>;
10396
- deleteEntity: (params: {
10397
- id: string;
10398
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10399
- publishEntity: (params: {
10400
- id: string;
10401
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10402
- status: "success";
10403
- } & {
10404
- datetime: string;
10405
- data: {
10406
- readonly id: string & {
10407
- readonly?: "__readonly" | undefined;
10408
- };
10409
- readonly companyId: string & {
10410
- readonly?: "__readonly" | undefined;
10411
- };
10412
- readonly resourceGroupIds: string[];
10413
- readonly versions: (string | {
10414
- readonly companyId: string & {
10415
- readonly?: "__readonly" | undefined;
10416
- };
10417
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10418
- readonly?: "__readonly" | undefined;
10419
- };
10420
- _id: string;
10421
- __v: number;
10422
- readonly definition: {
10423
- readonly?: "__readonly" | undefined;
10424
- name: string;
10425
- options: {
10426
- name: string;
10427
- index: number;
10428
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10429
- shortDescription: string;
10430
- fullDescription: string | null;
10431
- }[];
10432
- sql: string | null;
10433
- readonly answers: {
10434
- name: string;
10435
- type: "string" | "boolean" | "datetime" | "integer" | "date" | "decimal" | "text";
10436
- }[];
10437
- };
10438
- })[];
10439
- readonly archivedAt: string & {
10440
- readonly?: "__readonly" | undefined;
10441
- };
10442
- readonly createdAt: string & {
10443
- readonly?: "__readonly" | undefined;
10444
- };
10445
- readonly updatedAt: string & {
10446
- readonly?: "__readonly" | undefined;
10447
- };
10448
- };
10449
- program: string;
10450
- version: string;
10451
- status: string;
10452
- code?: number | undefined;
10453
- message: string;
10454
- }, any, {}>>;
10455
- };
10456
9852
  get DatasourceSteps(): {
10457
9853
  getCurrentStepDatasource: (params: {
10458
9854
  id: string;
@@ -11346,8 +10742,8 @@ export default class {
11346
10742
  query?: string | undefined;
11347
10743
  username: string;
11348
10744
  password?: string | undefined;
11349
- schema: string;
11350
10745
  privateKey?: string | undefined;
10746
+ schema: string;
11351
10747
  table: string;
11352
10748
  account: string;
11353
10749
  warehouse: string;
@@ -12559,8 +11955,8 @@ export default class {
12559
11955
  query?: string | undefined;
12560
11956
  username: string;
12561
11957
  password?: string | undefined;
12562
- schema: string;
12563
11958
  privateKey?: string | undefined;
11959
+ schema: string;
12564
11960
  table: string;
12565
11961
  account: string;
12566
11962
  warehouse: string;
@@ -14381,8 +13777,8 @@ export default class {
14381
13777
  query?: string | undefined;
14382
13778
  username: string;
14383
13779
  password?: string | undefined;
14384
- schema: string;
14385
13780
  privateKey?: string | undefined;
13781
+ schema: string;
14386
13782
  table: string;
14387
13783
  account: string;
14388
13784
  warehouse: string;
@@ -15594,8 +14990,8 @@ export default class {
15594
14990
  query?: string | undefined;
15595
14991
  username: string;
15596
14992
  password?: string | undefined;
15597
- schema: string;
15598
14993
  privateKey?: string | undefined;
14994
+ schema: string;
15599
14995
  table: string;
15600
14996
  account: string;
15601
14997
  warehouse: string;
@@ -18123,8 +17519,8 @@ export default class {
18123
17519
  query?: string | undefined;
18124
17520
  username: string;
18125
17521
  password?: string | undefined;
18126
- schema: string;
18127
17522
  privateKey?: string | undefined;
17523
+ schema: string;
18128
17524
  table: string;
18129
17525
  account: string;
18130
17526
  warehouse: string;
@@ -19336,8 +18732,8 @@ export default class {
19336
18732
  query?: string | undefined;
19337
18733
  username: string;
19338
18734
  password?: string | undefined;
19339
- schema: string;
19340
18735
  privateKey?: string | undefined;
18736
+ schema: string;
19341
18737
  table: string;
19342
18738
  account: string;
19343
18739
  warehouse: string;
@@ -21525,8 +20921,8 @@ export default class {
21525
20921
  query?: string | undefined;
21526
20922
  username: string;
21527
20923
  password?: string | undefined;
21528
- schema: string;
21529
20924
  privateKey?: string | undefined;
20925
+ schema: string;
21530
20926
  table: string;
21531
20927
  account: string;
21532
20928
  warehouse: string;
@@ -22738,8 +22134,8 @@ export default class {
22738
22134
  query?: string | undefined;
22739
22135
  username: string;
22740
22136
  password?: string | undefined;
22741
- schema: string;
22742
22137
  privateKey?: string | undefined;
22138
+ schema: string;
22743
22139
  table: string;
22744
22140
  account: string;
22745
22141
  warehouse: string;
@@ -24560,8 +23956,8 @@ export default class {
24560
23956
  query?: string | undefined;
24561
23957
  username: string;
24562
23958
  password?: string | undefined;
24563
- schema: string;
24564
23959
  privateKey?: string | undefined;
23960
+ schema: string;
24565
23961
  table: string;
24566
23962
  account: string;
24567
23963
  warehouse: string;
@@ -25773,8 +25169,8 @@ export default class {
25773
25169
  query?: string | undefined;
25774
25170
  username: string;
25775
25171
  password?: string | undefined;
25776
- schema: string;
25777
25172
  privateKey?: string | undefined;
25173
+ schema: string;
25778
25174
  table: string;
25779
25175
  account: string;
25780
25176
  warehouse: string;
@@ -28302,8 +27698,8 @@ export default class {
28302
27698
  query?: string | undefined;
28303
27699
  username: string;
28304
27700
  password?: string | undefined;
28305
- schema: string;
28306
27701
  privateKey?: string | undefined;
27702
+ schema: string;
28307
27703
  table: string;
28308
27704
  account: string;
28309
27705
  warehouse: string;
@@ -29515,8 +28911,8 @@ export default class {
29515
28911
  query?: string | undefined;
29516
28912
  username: string;
29517
28913
  password?: string | undefined;
29518
- schema: string;
29519
28914
  privateKey?: string | undefined;
28915
+ schema: string;
29520
28916
  table: string;
29521
28917
  account: string;
29522
28918
  warehouse: string;
@@ -31704,8 +31100,8 @@ export default class {
31704
31100
  query?: string | undefined;
31705
31101
  username: string;
31706
31102
  password?: string | undefined;
31707
- schema: string;
31708
31103
  privateKey?: string | undefined;
31104
+ schema: string;
31709
31105
  table: string;
31710
31106
  account: string;
31711
31107
  warehouse: string;
@@ -32917,8 +32313,8 @@ export default class {
32917
32313
  query?: string | undefined;
32918
32314
  username: string;
32919
32315
  password?: string | undefined;
32920
- schema: string;
32921
32316
  privateKey?: string | undefined;
32317
+ schema: string;
32922
32318
  table: string;
32923
32319
  account: string;
32924
32320
  warehouse: string;
@@ -34739,8 +34135,8 @@ export default class {
34739
34135
  query?: string | undefined;
34740
34136
  username: string;
34741
34137
  password?: string | undefined;
34742
- schema: string;
34743
34138
  privateKey?: string | undefined;
34139
+ schema: string;
34744
34140
  table: string;
34745
34141
  account: string;
34746
34142
  warehouse: string;
@@ -35952,8 +35348,8 @@ export default class {
35952
35348
  query?: string | undefined;
35953
35349
  username: string;
35954
35350
  password?: string | undefined;
35955
- schema: string;
35956
35351
  privateKey?: string | undefined;
35352
+ schema: string;
35957
35353
  table: string;
35958
35354
  account: string;
35959
35355
  warehouse: string;
@@ -38481,8 +37877,8 @@ export default class {
38481
37877
  query?: string | undefined;
38482
37878
  username: string;
38483
37879
  password?: string | undefined;
38484
- schema: string;
38485
37880
  privateKey?: string | undefined;
37881
+ schema: string;
38486
37882
  table: string;
38487
37883
  account: string;
38488
37884
  warehouse: string;
@@ -39694,8 +39090,8 @@ export default class {
39694
39090
  query?: string | undefined;
39695
39091
  username: string;
39696
39092
  password?: string | undefined;
39697
- schema: string;
39698
39093
  privateKey?: string | undefined;
39094
+ schema: string;
39699
39095
  table: string;
39700
39096
  account: string;
39701
39097
  warehouse: string;
@@ -41883,8 +41279,8 @@ export default class {
41883
41279
  query?: string | undefined;
41884
41280
  username: string;
41885
41281
  password?: string | undefined;
41886
- schema: string;
41887
41282
  privateKey?: string | undefined;
41283
+ schema: string;
41888
41284
  table: string;
41889
41285
  account: string;
41890
41286
  warehouse: string;
@@ -43096,8 +42492,8 @@ export default class {
43096
42492
  query?: string | undefined;
43097
42493
  username: string;
43098
42494
  password?: string | undefined;
43099
- schema: string;
43100
42495
  privateKey?: string | undefined;
42496
+ schema: string;
43101
42497
  table: string;
43102
42498
  account: string;
43103
42499
  warehouse: string;
@@ -44918,8 +44314,8 @@ export default class {
44918
44314
  query?: string | undefined;
44919
44315
  username: string;
44920
44316
  password?: string | undefined;
44921
- schema: string;
44922
44317
  privateKey?: string | undefined;
44318
+ schema: string;
44923
44319
  table: string;
44924
44320
  account: string;
44925
44321
  warehouse: string;
@@ -46131,8 +45527,8 @@ export default class {
46131
45527
  query?: string | undefined;
46132
45528
  username: string;
46133
45529
  password?: string | undefined;
46134
- schema: string;
46135
45530
  privateKey?: string | undefined;
45531
+ schema: string;
46136
45532
  table: string;
46137
45533
  account: string;
46138
45534
  warehouse: string;
@@ -48660,8 +48056,8 @@ export default class {
48660
48056
  query?: string | undefined;
48661
48057
  username: string;
48662
48058
  password?: string | undefined;
48663
- schema: string;
48664
48059
  privateKey?: string | undefined;
48060
+ schema: string;
48665
48061
  table: string;
48666
48062
  account: string;
48667
48063
  warehouse: string;
@@ -49873,8 +49269,8 @@ export default class {
49873
49269
  query?: string | undefined;
49874
49270
  username: string;
49875
49271
  password?: string | undefined;
49876
- schema: string;
49877
49272
  privateKey?: string | undefined;
49273
+ schema: string;
49878
49274
  table: string;
49879
49275
  account: string;
49880
49276
  warehouse: string;
@@ -52072,8 +51468,8 @@ export default class {
52072
51468
  query?: string | undefined;
52073
51469
  username: string;
52074
51470
  password?: string | undefined;
52075
- schema: string;
52076
51471
  privateKey?: string | undefined;
51472
+ schema: string;
52077
51473
  table: string;
52078
51474
  account: string;
52079
51475
  warehouse: string;
@@ -53291,8 +52687,8 @@ export default class {
53291
52687
  query?: string | undefined;
53292
52688
  username: string;
53293
52689
  password?: string | undefined;
53294
- schema: string;
53295
52690
  privateKey?: string | undefined;
52691
+ schema: string;
53296
52692
  table: string;
53297
52693
  account: string;
53298
52694
  warehouse: string;
@@ -55117,8 +54513,8 @@ export default class {
55117
54513
  query?: string | undefined;
55118
54514
  username: string;
55119
54515
  password?: string | undefined;
55120
- schema: string;
55121
54516
  privateKey?: string | undefined;
54517
+ schema: string;
55122
54518
  table: string;
55123
54519
  account: string;
55124
54520
  warehouse: string;
@@ -56336,8 +55732,8 @@ export default class {
56336
55732
  query?: string | undefined;
56337
55733
  username: string;
56338
55734
  password?: string | undefined;
56339
- schema: string;
56340
55735
  privateKey?: string | undefined;
55736
+ schema: string;
56341
55737
  table: string;
56342
55738
  account: string;
56343
55739
  warehouse: string;
@@ -58868,8 +58264,8 @@ export default class {
58868
58264
  query?: string | undefined;
58869
58265
  username: string;
58870
58266
  password?: string | undefined;
58871
- schema: string;
58872
58267
  privateKey?: string | undefined;
58268
+ schema: string;
58873
58269
  table: string;
58874
58270
  account: string;
58875
58271
  warehouse: string;
@@ -60087,8 +59483,8 @@ export default class {
60087
59483
  query?: string | undefined;
60088
59484
  username: string;
60089
59485
  password?: string | undefined;
60090
- schema: string;
60091
59486
  privateKey?: string | undefined;
59487
+ schema: string;
60092
59488
  table: string;
60093
59489
  account: string;
60094
59490
  warehouse: string;
@@ -61189,51 +60585,552 @@ export default class {
61189
60585
  name: string;
61190
60586
  type: FieldMapType;
61191
60587
  };
61192
- } | {
61193
- name: "create_oauth_client";
61194
- configurationId: string;
61195
- } | {
61196
- name: "authorize_oauth_client";
61197
- slug: string;
61198
- } | {
61199
- name: "configure_thresholds";
61200
- } | {
61201
- name: "configure_api_key";
61202
- slug: "partoo";
61203
- } | {
61204
- name: "patch";
61205
- } | {
61206
- name: "validate";
61207
- } | {
61208
- name: "configure_google_tag_manager";
61209
- } | {
61210
- name: "configure_reelevant_analytics_script";
61211
- } | {
61212
- name: "configure_product_datasource_source";
61213
- } | {
61214
- name: "configure_tracking_datasource_source";
61215
- } | {
61216
- name: "configure_best_product_query";
61217
- } | {
61218
- name: "configure_best_product_field";
61219
- } | {
61220
- name: "configure_fetcher";
61221
- } | {
61222
- name: "configure_merge_datasource_source";
61223
- } | {
61224
- name: "configure_merge_datasource_dependency";
61225
- } | {
61226
- name: "configure_merge_mapping";
61227
- } | {
61228
- name: "configure_bought_together";
61229
- } | {
61230
- name: "configure_top_attributes";
61231
- } | {
61232
- name: "configure_destination";
61233
- type: "smtp";
61234
- } | {
61235
- name: "configure_hierarchy";
61236
- })[];
60588
+ } | {
60589
+ name: "create_oauth_client";
60590
+ configurationId: string;
60591
+ } | {
60592
+ name: "authorize_oauth_client";
60593
+ slug: string;
60594
+ } | {
60595
+ name: "configure_thresholds";
60596
+ } | {
60597
+ name: "configure_api_key";
60598
+ slug: "partoo";
60599
+ } | {
60600
+ name: "patch";
60601
+ } | {
60602
+ name: "validate";
60603
+ } | {
60604
+ name: "configure_google_tag_manager";
60605
+ } | {
60606
+ name: "configure_reelevant_analytics_script";
60607
+ } | {
60608
+ name: "configure_product_datasource_source";
60609
+ } | {
60610
+ name: "configure_tracking_datasource_source";
60611
+ } | {
60612
+ name: "configure_best_product_query";
60613
+ } | {
60614
+ name: "configure_best_product_field";
60615
+ } | {
60616
+ name: "configure_fetcher";
60617
+ } | {
60618
+ name: "configure_merge_datasource_source";
60619
+ } | {
60620
+ name: "configure_merge_datasource_dependency";
60621
+ } | {
60622
+ name: "configure_merge_mapping";
60623
+ } | {
60624
+ name: "configure_bought_together";
60625
+ } | {
60626
+ name: "configure_top_attributes";
60627
+ } | {
60628
+ name: "configure_destination";
60629
+ type: "smtp";
60630
+ } | {
60631
+ name: "configure_hierarchy";
60632
+ })[];
60633
+ };
60634
+ program: string;
60635
+ version: string;
60636
+ status: string;
60637
+ code?: number | undefined;
60638
+ message: string;
60639
+ }, any, {}>>;
60640
+ };
60641
+ get WorkerDatasource(): {
60642
+ getLogs: (params: {
60643
+ id: string;
60644
+ contentVersion?: number | undefined;
60645
+ version?: string | undefined;
60646
+ type?: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "zero_rows_update" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty" | undefined;
60647
+ order?: "asc" | "desc" | undefined;
60648
+ showLastVersion?: string | undefined;
60649
+ level?: string | undefined;
60650
+ page?: number | undefined;
60651
+ perPage?: number | undefined;
60652
+ startDate?: string | undefined;
60653
+ endDate?: string | undefined;
60654
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60655
+ paginationCount: number;
60656
+ paginationPage: number;
60657
+ paginationLimit: number;
60658
+ } & {
60659
+ status: "success";
60660
+ } & {
60661
+ datetime: string;
60662
+ data: {
60663
+ date: string;
60664
+ version: string;
60665
+ readonly id: string & {
60666
+ readonly?: "__readonly" | undefined;
60667
+ };
60668
+ type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "zero_rows_update" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty";
60669
+ contentVersion: number;
60670
+ level: import("./definitions").LogLevel;
60671
+ datasourceId: string;
60672
+ payload: unknown;
60673
+ entryIndex?: number | undefined;
60674
+ }[];
60675
+ program: string;
60676
+ version: string;
60677
+ status: string;
60678
+ code?: number | undefined;
60679
+ message: string;
60680
+ }, any, {}>>;
60681
+ uploadFile: (params: {
60682
+ id: string;
60683
+ }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60684
+ status: "success";
60685
+ } & {
60686
+ datetime: string;
60687
+ data: {
60688
+ path: string;
60689
+ bucket: string;
60690
+ format: {
60691
+ options: {
60692
+ csvDelimiter?: string | undefined;
60693
+ csvColumns?: string[] | undefined;
60694
+ };
60695
+ type: "csv";
60696
+ } | {
60697
+ options: unknown;
60698
+ type: "ndjson";
60699
+ } | {
60700
+ options: {
60701
+ rootPath: string;
60702
+ };
60703
+ type: "json";
60704
+ } | {
60705
+ options: {
60706
+ rootPath: string;
60707
+ };
60708
+ type: "xml";
60709
+ } | {
60710
+ options: unknown;
60711
+ type: "xlsx";
60712
+ } | {
60713
+ options: {
60714
+ version?: string | undefined;
60715
+ columnsList?: string[] | undefined;
60716
+ };
60717
+ type: "parquet";
60718
+ } | {
60719
+ options: unknown;
60720
+ type: "avro";
60721
+ };
60722
+ textEncoding: string;
60723
+ pgpPrivateKey?: string | undefined;
60724
+ pgpPassphrase?: string | undefined;
60725
+ };
60726
+ program: string;
60727
+ version: string;
60728
+ status: string;
60729
+ code?: number | undefined;
60730
+ message: string;
60731
+ }, any, {}>>;
60732
+ promote: (params: {
60733
+ id: string;
60734
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60735
+ status: "success";
60736
+ } & {
60737
+ datetime: string;
60738
+ data: {
60739
+ [x: string]: unknown;
60740
+ };
60741
+ program: string;
60742
+ version: string;
60743
+ status: string;
60744
+ code?: number | undefined;
60745
+ message: string;
60746
+ }, any, {}>>;
60747
+ pause: (params: {
60748
+ id: string;
60749
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60750
+ status: "success";
60751
+ } & {
60752
+ datetime: string;
60753
+ data: {
60754
+ [x: string]: unknown;
60755
+ };
60756
+ program: string;
60757
+ version: string;
60758
+ status: string;
60759
+ code?: number | undefined;
60760
+ message: string;
60761
+ }, any, {}>>;
60762
+ getPushPassword: (params: {
60763
+ id: string;
60764
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60765
+ status: "success";
60766
+ } & {
60767
+ datetime: string;
60768
+ data: {
60769
+ password: string;
60770
+ };
60771
+ program: string;
60772
+ version: string;
60773
+ status: string;
60774
+ code?: number | undefined;
60775
+ message: string;
60776
+ }, any, {}>>;
60777
+ analyze: (params: {
60778
+ id: string;
60779
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60780
+ status: "success";
60781
+ } & {
60782
+ datetime: string;
60783
+ data: {
60784
+ fields: {
60785
+ name: string;
60786
+ source?: FieldSource | undefined;
60787
+ type: FieldMapType;
60788
+ selected: boolean;
60789
+ ignoreIfMissing?: boolean | undefined;
60790
+ metadata?: {
60791
+ locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
60792
+ } | undefined;
60793
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
60794
+ readonly?: "__readonly" | undefined;
60795
+ };
60796
+ rulesPerSources: {
60797
+ [x: string]: ({
60798
+ name: "static";
60799
+ params: {
60800
+ value: string | number;
60801
+ };
60802
+ } | {
60803
+ name: "path";
60804
+ params: {
60805
+ value: string;
60806
+ };
60807
+ } | {
60808
+ name: "path";
60809
+ params: {
60810
+ value: string;
60811
+ fromRoot: true;
60812
+ };
60813
+ } | {
60814
+ name: "static";
60815
+ params: {
60816
+ value: string | number;
60817
+ };
60818
+ } | {
60819
+ name: "path";
60820
+ params: {
60821
+ value: string;
60822
+ };
60823
+ } | {
60824
+ name: "path";
60825
+ params: {
60826
+ value: string;
60827
+ fromRoot: true;
60828
+ };
60829
+ } | {
60830
+ name: "array_find";
60831
+ params: {
60832
+ operator: "=" | "!=";
60833
+ value: string | number;
60834
+ key: string;
60835
+ };
60836
+ } | {
60837
+ name: "array_find";
60838
+ params: {
60839
+ conditions: {
60840
+ path: string;
60841
+ operator: "=" | "!=" | ">=" | "<=";
60842
+ value: string | number | boolean;
60843
+ }[];
60844
+ };
60845
+ } | {
60846
+ name: "array_find";
60847
+ params: {
60848
+ operator: "=" | "!=";
60849
+ fromFormatted?: boolean | undefined;
60850
+ valuePath: string;
60851
+ key: string;
60852
+ };
60853
+ } | {
60854
+ name: "array_find";
60855
+ params: {
60856
+ conditions: {
60857
+ path: string;
60858
+ operator: "=" | "!=" | ">=" | "<=";
60859
+ evaluateValue: string;
60860
+ }[];
60861
+ };
60862
+ } | {
60863
+ name: "fallback";
60864
+ params: {
60865
+ path: string;
60866
+ fromFormatted?: true | undefined;
60867
+ valuePath?: string | undefined;
60868
+ exit?: true | undefined;
60869
+ };
60870
+ } | {
60871
+ name: "fallback";
60872
+ params: {
60873
+ valuePath?: string | undefined;
60874
+ exit?: true | undefined;
60875
+ staticValue: string | number | string[] | number[] | {
60876
+ [x: string]: string;
60877
+ } | {
60878
+ [x: string]: number;
60879
+ };
60880
+ };
60881
+ } | {
60882
+ name: "fallback_if";
60883
+ params: {
60884
+ path: string;
60885
+ fromFormatted?: true | undefined;
60886
+ valuePath?: string | undefined;
60887
+ exit?: true | undefined;
60888
+ conditions: ({
60889
+ path: string;
60890
+ operator: "=" | "!=" | ">=" | "<=";
60891
+ value: string | number | boolean;
60892
+ } | {
60893
+ path: string;
60894
+ operator: "=" | "!=" | ">=" | "<=";
60895
+ evaluateValue: string;
60896
+ })[];
60897
+ };
60898
+ } | {
60899
+ name: "exclude_from_record";
60900
+ params: {
60901
+ keys: string[];
60902
+ };
60903
+ } | {
60904
+ name: "decrypt";
60905
+ params: {
60906
+ passwordPrefixPath?: string | undefined;
60907
+ };
60908
+ } | {
60909
+ name: "interpolate";
60910
+ params: {
60911
+ value: string;
60912
+ };
60913
+ } | {
60914
+ name: "custom";
60915
+ params: {
60916
+ value: string;
60917
+ };
60918
+ } | {
60919
+ name: "split";
60920
+ params: {
60921
+ separator: string;
60922
+ };
60923
+ } | {
60924
+ name: "case";
60925
+ params: {
60926
+ cases: {
60927
+ value: string;
60928
+ conditions: {
60929
+ operator: "=" | "!=" | ">=" | "<=";
60930
+ value: string | number | boolean;
60931
+ }[];
60932
+ }[];
60933
+ };
60934
+ } | {
60935
+ name: "hash";
60936
+ params: {
60937
+ algorithm: string;
60938
+ salt?: string | undefined;
60939
+ };
60940
+ } | {
60941
+ name: "decipher";
60942
+ params: {
60943
+ key: string;
60944
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
60945
+ iv?: string | undefined;
60946
+ inputEncoding?: "hex" | "base64" | undefined;
60947
+ };
60948
+ })[];
60949
+ };
60950
+ }[];
60951
+ };
60952
+ program: string;
60953
+ version: string;
60954
+ status: string;
60955
+ code?: number | undefined;
60956
+ message: string;
60957
+ }, any, {}>>;
60958
+ };
60959
+ get ProxyDatasource(): {
60960
+ analyze: (params: {
60961
+ id: string;
60962
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60963
+ status: "success";
60964
+ } & {
60965
+ datetime: string;
60966
+ data: {
60967
+ fields: {
60968
+ name: string;
60969
+ source?: FieldSource | undefined;
60970
+ type: FieldMapType;
60971
+ selected: boolean;
60972
+ ignoreIfMissing?: boolean | undefined;
60973
+ metadata?: {
60974
+ locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
60975
+ } | undefined;
60976
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
60977
+ readonly?: "__readonly" | undefined;
60978
+ };
60979
+ rulesPerSources: {
60980
+ [x: string]: ({
60981
+ name: "static";
60982
+ params: {
60983
+ value: string | number;
60984
+ };
60985
+ } | {
60986
+ name: "path";
60987
+ params: {
60988
+ value: string;
60989
+ };
60990
+ } | {
60991
+ name: "path";
60992
+ params: {
60993
+ value: string;
60994
+ fromRoot: true;
60995
+ };
60996
+ } | {
60997
+ name: "static";
60998
+ params: {
60999
+ value: string | number;
61000
+ };
61001
+ } | {
61002
+ name: "path";
61003
+ params: {
61004
+ value: string;
61005
+ };
61006
+ } | {
61007
+ name: "path";
61008
+ params: {
61009
+ value: string;
61010
+ fromRoot: true;
61011
+ };
61012
+ } | {
61013
+ name: "array_find";
61014
+ params: {
61015
+ operator: "=" | "!=";
61016
+ value: string | number;
61017
+ key: string;
61018
+ };
61019
+ } | {
61020
+ name: "array_find";
61021
+ params: {
61022
+ conditions: {
61023
+ path: string;
61024
+ operator: "=" | "!=" | ">=" | "<=";
61025
+ value: string | number | boolean;
61026
+ }[];
61027
+ };
61028
+ } | {
61029
+ name: "array_find";
61030
+ params: {
61031
+ operator: "=" | "!=";
61032
+ fromFormatted?: boolean | undefined;
61033
+ valuePath: string;
61034
+ key: string;
61035
+ };
61036
+ } | {
61037
+ name: "array_find";
61038
+ params: {
61039
+ conditions: {
61040
+ path: string;
61041
+ operator: "=" | "!=" | ">=" | "<=";
61042
+ evaluateValue: string;
61043
+ }[];
61044
+ };
61045
+ } | {
61046
+ name: "fallback";
61047
+ params: {
61048
+ path: string;
61049
+ fromFormatted?: true | undefined;
61050
+ valuePath?: string | undefined;
61051
+ exit?: true | undefined;
61052
+ };
61053
+ } | {
61054
+ name: "fallback";
61055
+ params: {
61056
+ valuePath?: string | undefined;
61057
+ exit?: true | undefined;
61058
+ staticValue: string | number | string[] | number[] | {
61059
+ [x: string]: string;
61060
+ } | {
61061
+ [x: string]: number;
61062
+ };
61063
+ };
61064
+ } | {
61065
+ name: "fallback_if";
61066
+ params: {
61067
+ path: string;
61068
+ fromFormatted?: true | undefined;
61069
+ valuePath?: string | undefined;
61070
+ exit?: true | undefined;
61071
+ conditions: ({
61072
+ path: string;
61073
+ operator: "=" | "!=" | ">=" | "<=";
61074
+ value: string | number | boolean;
61075
+ } | {
61076
+ path: string;
61077
+ operator: "=" | "!=" | ">=" | "<=";
61078
+ evaluateValue: string;
61079
+ })[];
61080
+ };
61081
+ } | {
61082
+ name: "exclude_from_record";
61083
+ params: {
61084
+ keys: string[];
61085
+ };
61086
+ } | {
61087
+ name: "decrypt";
61088
+ params: {
61089
+ passwordPrefixPath?: string | undefined;
61090
+ };
61091
+ } | {
61092
+ name: "interpolate";
61093
+ params: {
61094
+ value: string;
61095
+ };
61096
+ } | {
61097
+ name: "custom";
61098
+ params: {
61099
+ value: string;
61100
+ };
61101
+ } | {
61102
+ name: "split";
61103
+ params: {
61104
+ separator: string;
61105
+ };
61106
+ } | {
61107
+ name: "case";
61108
+ params: {
61109
+ cases: {
61110
+ value: string;
61111
+ conditions: {
61112
+ operator: "=" | "!=" | ">=" | "<=";
61113
+ value: string | number | boolean;
61114
+ }[];
61115
+ }[];
61116
+ };
61117
+ } | {
61118
+ name: "hash";
61119
+ params: {
61120
+ algorithm: string;
61121
+ salt?: string | undefined;
61122
+ };
61123
+ } | {
61124
+ name: "decipher";
61125
+ params: {
61126
+ key: string;
61127
+ algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
61128
+ iv?: string | undefined;
61129
+ inputEncoding?: "hex" | "base64" | undefined;
61130
+ };
61131
+ })[];
61132
+ };
61133
+ }[];
61237
61134
  };
61238
61135
  program: string;
61239
61136
  version: string;
@@ -61242,19 +61139,10 @@ export default class {
61242
61139
  message: string;
61243
61140
  }, any, {}>>;
61244
61141
  };
61245
- get WorkerDatasource(): {
61246
- getLogs: (params: {
61247
- id: string;
61248
- contentVersion?: number | undefined;
61249
- version?: string | undefined;
61250
- type?: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "zero_rows_update" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty" | undefined;
61251
- order?: "asc" | "desc" | undefined;
61252
- showLastVersion?: string | undefined;
61253
- level?: string | undefined;
61142
+ get Datagraph(): {
61143
+ listSchemas: (params: {
61254
61144
  page?: number | undefined;
61255
61145
  perPage?: number | undefined;
61256
- startDate?: string | undefined;
61257
- endDate?: string | undefined;
61258
61146
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61259
61147
  paginationCount: number;
61260
61148
  paginationPage: number;
@@ -61264,68 +61152,191 @@ export default class {
61264
61152
  } & {
61265
61153
  datetime: string;
61266
61154
  data: {
61267
- date: string;
61268
- version: string;
61269
- readonly id: string & {
61155
+ readonly companyId: string & {
61270
61156
  readonly?: "__readonly" | undefined;
61271
61157
  };
61272
- type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "zero_rows_update" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty";
61273
- contentVersion: number;
61274
- level: import("./definitions").LogLevel;
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;
61275
61230
  datasourceId: string;
61276
- payload: unknown;
61277
- entryIndex?: number | undefined;
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;
61278
61255
  }[];
61256
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61257
+ status: "success";
61258
+ } & {
61259
+ datetime: string;
61260
+ data: {
61261
+ [x: string]: unknown;
61262
+ };
61279
61263
  program: string;
61280
61264
  version: string;
61281
61265
  status: string;
61282
61266
  code?: number | undefined;
61283
61267
  message: string;
61284
61268
  }, any, {}>>;
61285
- uploadFile: (params: {
61286
- id: string;
61287
- }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61269
+ validateSchema: (params: Record<string, never>, data: {
61270
+ schema: unknown;
61271
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61288
61272
  status: "success";
61289
61273
  } & {
61290
61274
  datetime: string;
61291
61275
  data: {
61292
- path: string;
61293
- bucket: string;
61294
- format: {
61295
- options: {
61296
- csvDelimiter?: string | undefined;
61297
- csvColumns?: string[] | undefined;
61298
- };
61299
- type: "csv";
61300
- } | {
61301
- options: unknown;
61302
- type: "ndjson";
61303
- } | {
61304
- options: {
61305
- rootPath: string;
61306
- };
61307
- type: "json";
61308
- } | {
61309
- options: {
61310
- rootPath: string;
61311
- };
61312
- type: "xml";
61313
- } | {
61314
- options: unknown;
61315
- type: "xlsx";
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
+ }[];
61316
61317
  } | {
61317
- options: {
61318
- version?: string | undefined;
61319
- columnsList?: string[] | undefined;
61318
+ success: false;
61319
+ error: {
61320
+ issues: {
61321
+ path: (string | number)[];
61322
+ code: string;
61323
+ message: string;
61324
+ }[];
61320
61325
  };
61321
- type: "parquet";
61322
- } | {
61323
- options: unknown;
61324
- type: "avro";
61325
61326
  };
61326
- textEncoding: string;
61327
- pgpPrivateKey?: string | undefined;
61328
- pgpPassphrase?: string | undefined;
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
+ }[];
61329
61340
  };
61330
61341
  program: string;
61331
61342
  version: string;
@@ -61333,7 +61344,7 @@ export default class {
61333
61344
  code?: number | undefined;
61334
61345
  message: string;
61335
61346
  }, any, {}>>;
61336
- promote: (params: {
61347
+ getSchema: (params: {
61337
61348
  id: string;
61338
61349
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61339
61350
  status: "success";
@@ -61348,14 +61359,199 @@ export default class {
61348
61359
  code?: number | undefined;
61349
61360
  message: string;
61350
61361
  }, any, {}>>;
61351
- pause: (params: {
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: {
61352
61421
  id: string;
61353
61422
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61354
61423
  status: "success";
61355
61424
  } & {
61356
61425
  datetime: string;
61357
61426
  data: {
61358
- [x: string]: unknown;
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
+ };
61359
61555
  };
61360
61556
  program: string;
61361
61557
  version: string;
@@ -61363,14 +61559,55 @@ export default class {
61363
61559
  code?: number | undefined;
61364
61560
  message: string;
61365
61561
  }, any, {}>>;
61366
- getPushPassword: (params: {
61562
+ getEntity: (params: {
61367
61563
  id: string;
61368
61564
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61369
61565
  status: "success";
61370
61566
  } & {
61371
61567
  datetime: string;
61372
61568
  data: {
61373
- password: string;
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
+ };
61374
61611
  };
61375
61612
  program: string;
61376
61613
  version: string;
@@ -61378,180 +61615,67 @@ export default class {
61378
61615
  code?: number | undefined;
61379
61616
  message: string;
61380
61617
  }, any, {}>>;
61381
- analyze: (params: {
61618
+ updateEntity: (params: {
61382
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
+ };
61383
61632
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61384
61633
  status: "success";
61385
61634
  } & {
61386
61635
  datetime: string;
61387
61636
  data: {
61388
- fields: {
61389
- name: string;
61390
- source?: FieldSource | undefined;
61391
- type: FieldMapType;
61392
- selected: boolean;
61393
- ignoreIfMissing?: boolean | undefined;
61394
- metadata?: {
61395
- locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
61396
- } | undefined;
61397
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
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 & {
61398
61652
  readonly?: "__readonly" | undefined;
61399
61653
  };
61400
- rulesPerSources: {
61401
- [x: string]: ({
61402
- name: "static";
61403
- params: {
61404
- value: string | number;
61405
- };
61406
- } | {
61407
- name: "path";
61408
- params: {
61409
- value: string;
61410
- };
61411
- } | {
61412
- name: "path";
61413
- params: {
61414
- value: string;
61415
- fromRoot: true;
61416
- };
61417
- } | {
61418
- name: "static";
61419
- params: {
61420
- value: string | number;
61421
- };
61422
- } | {
61423
- name: "path";
61424
- params: {
61425
- value: string;
61426
- };
61427
- } | {
61428
- name: "path";
61429
- params: {
61430
- value: string;
61431
- fromRoot: true;
61432
- };
61433
- } | {
61434
- name: "array_find";
61435
- params: {
61436
- operator: "=" | "!=";
61437
- value: string | number;
61438
- key: string;
61439
- };
61440
- } | {
61441
- name: "array_find";
61442
- params: {
61443
- conditions: {
61444
- path: string;
61445
- operator: "=" | "!=" | ">=" | "<=";
61446
- value: string | number | boolean;
61447
- }[];
61448
- };
61449
- } | {
61450
- name: "array_find";
61451
- params: {
61452
- operator: "=" | "!=";
61453
- fromFormatted?: boolean | undefined;
61454
- valuePath: string;
61455
- key: string;
61456
- };
61457
- } | {
61458
- name: "array_find";
61459
- params: {
61460
- conditions: {
61461
- path: string;
61462
- operator: "=" | "!=" | ">=" | "<=";
61463
- evaluateValue: string;
61464
- }[];
61465
- };
61466
- } | {
61467
- name: "fallback";
61468
- params: {
61469
- path: string;
61470
- fromFormatted?: true | undefined;
61471
- valuePath?: string | undefined;
61472
- exit?: true | undefined;
61473
- };
61474
- } | {
61475
- name: "fallback";
61476
- params: {
61477
- valuePath?: string | undefined;
61478
- exit?: true | undefined;
61479
- staticValue: string | number | string[] | number[] | {
61480
- [x: string]: string;
61481
- } | {
61482
- [x: string]: number;
61483
- };
61484
- };
61485
- } | {
61486
- name: "fallback_if";
61487
- params: {
61488
- path: string;
61489
- fromFormatted?: true | undefined;
61490
- valuePath?: string | undefined;
61491
- exit?: true | undefined;
61492
- conditions: ({
61493
- path: string;
61494
- operator: "=" | "!=" | ">=" | "<=";
61495
- value: string | number | boolean;
61496
- } | {
61497
- path: string;
61498
- operator: "=" | "!=" | ">=" | "<=";
61499
- evaluateValue: string;
61500
- })[];
61501
- };
61502
- } | {
61503
- name: "exclude_from_record";
61504
- params: {
61505
- keys: string[];
61506
- };
61507
- } | {
61508
- name: "decrypt";
61509
- params: {
61510
- passwordPrefixPath?: string | undefined;
61511
- };
61512
- } | {
61513
- name: "interpolate";
61514
- params: {
61515
- value: string;
61516
- };
61517
- } | {
61518
- name: "custom";
61519
- params: {
61520
- value: string;
61521
- };
61522
- } | {
61523
- name: "split";
61524
- params: {
61525
- separator: string;
61526
- };
61527
- } | {
61528
- name: "case";
61529
- params: {
61530
- cases: {
61531
- value: string;
61532
- conditions: {
61533
- operator: "=" | "!=" | ">=" | "<=";
61534
- value: string | number | boolean;
61535
- }[];
61536
- }[];
61537
- };
61538
- } | {
61539
- name: "hash";
61540
- params: {
61541
- algorithm: string;
61542
- salt?: string | undefined;
61543
- };
61544
- } | {
61545
- name: "decipher";
61546
- params: {
61547
- key: string;
61548
- algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
61549
- iv?: string | undefined;
61550
- inputEncoding?: "hex" | "base64" | undefined;
61551
- };
61552
- })[];
61654
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61655
+ readonly?: "__readonly" | undefined;
61553
61656
  };
61554
- }[];
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
+ };
61555
61679
  };
61556
61680
  program: string;
61557
61681
  version: string;
@@ -61559,182 +61683,58 @@ export default class {
61559
61683
  code?: number | undefined;
61560
61684
  message: string;
61561
61685
  }, any, {}>>;
61562
- };
61563
- get ProxyDatasource(): {
61564
- analyze: (params: {
61686
+ deleteEntity: (params: {
61687
+ id: string;
61688
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
61689
+ publishEntity: (params: {
61565
61690
  id: string;
61566
61691
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61567
61692
  status: "success";
61568
61693
  } & {
61569
61694
  datetime: string;
61570
61695
  data: {
61571
- fields: {
61572
- name: string;
61573
- source?: FieldSource | undefined;
61574
- type: FieldMapType;
61575
- selected: boolean;
61576
- ignoreIfMissing?: boolean | undefined;
61577
- metadata?: {
61578
- locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
61579
- } | undefined;
61580
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
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 & {
61581
61711
  readonly?: "__readonly" | undefined;
61582
61712
  };
61583
- rulesPerSources: {
61584
- [x: string]: ({
61585
- name: "static";
61586
- params: {
61587
- value: string | number;
61588
- };
61589
- } | {
61590
- name: "path";
61591
- params: {
61592
- value: string;
61593
- };
61594
- } | {
61595
- name: "path";
61596
- params: {
61597
- value: string;
61598
- fromRoot: true;
61599
- };
61600
- } | {
61601
- name: "static";
61602
- params: {
61603
- value: string | number;
61604
- };
61605
- } | {
61606
- name: "path";
61607
- params: {
61608
- value: string;
61609
- };
61610
- } | {
61611
- name: "path";
61612
- params: {
61613
- value: string;
61614
- fromRoot: true;
61615
- };
61616
- } | {
61617
- name: "array_find";
61618
- params: {
61619
- operator: "=" | "!=";
61620
- value: string | number;
61621
- key: string;
61622
- };
61623
- } | {
61624
- name: "array_find";
61625
- params: {
61626
- conditions: {
61627
- path: string;
61628
- operator: "=" | "!=" | ">=" | "<=";
61629
- value: string | number | boolean;
61630
- }[];
61631
- };
61632
- } | {
61633
- name: "array_find";
61634
- params: {
61635
- operator: "=" | "!=";
61636
- fromFormatted?: boolean | undefined;
61637
- valuePath: string;
61638
- key: string;
61639
- };
61640
- } | {
61641
- name: "array_find";
61642
- params: {
61643
- conditions: {
61644
- path: string;
61645
- operator: "=" | "!=" | ">=" | "<=";
61646
- evaluateValue: string;
61647
- }[];
61648
- };
61649
- } | {
61650
- name: "fallback";
61651
- params: {
61652
- path: string;
61653
- fromFormatted?: true | undefined;
61654
- valuePath?: string | undefined;
61655
- exit?: true | undefined;
61656
- };
61657
- } | {
61658
- name: "fallback";
61659
- params: {
61660
- valuePath?: string | undefined;
61661
- exit?: true | undefined;
61662
- staticValue: string | number | string[] | number[] | {
61663
- [x: string]: string;
61664
- } | {
61665
- [x: string]: number;
61666
- };
61667
- };
61668
- } | {
61669
- name: "fallback_if";
61670
- params: {
61671
- path: string;
61672
- fromFormatted?: true | undefined;
61673
- valuePath?: string | undefined;
61674
- exit?: true | undefined;
61675
- conditions: ({
61676
- path: string;
61677
- operator: "=" | "!=" | ">=" | "<=";
61678
- value: string | number | boolean;
61679
- } | {
61680
- path: string;
61681
- operator: "=" | "!=" | ">=" | "<=";
61682
- evaluateValue: string;
61683
- })[];
61684
- };
61685
- } | {
61686
- name: "exclude_from_record";
61687
- params: {
61688
- keys: string[];
61689
- };
61690
- } | {
61691
- name: "decrypt";
61692
- params: {
61693
- passwordPrefixPath?: string | undefined;
61694
- };
61695
- } | {
61696
- name: "interpolate";
61697
- params: {
61698
- value: string;
61699
- };
61700
- } | {
61701
- name: "custom";
61702
- params: {
61703
- value: string;
61704
- };
61705
- } | {
61706
- name: "split";
61707
- params: {
61708
- separator: string;
61709
- };
61710
- } | {
61711
- name: "case";
61712
- params: {
61713
- cases: {
61714
- value: string;
61715
- conditions: {
61716
- operator: "=" | "!=" | ">=" | "<=";
61717
- value: string | number | boolean;
61718
- }[];
61719
- }[];
61720
- };
61721
- } | {
61722
- name: "hash";
61723
- params: {
61724
- algorithm: string;
61725
- salt?: string | undefined;
61726
- };
61727
- } | {
61728
- name: "decipher";
61729
- params: {
61730
- key: string;
61731
- algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb";
61732
- iv?: string | undefined;
61733
- inputEncoding?: "hex" | "base64" | undefined;
61734
- };
61735
- })[];
61713
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61714
+ readonly?: "__readonly" | undefined;
61736
61715
  };
61737
- }[];
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
61738
  };
61739
61739
  program: string;
61740
61740
  version: string;