@rlvt/datasources-openapi-client 1.0.405 → 1.0.407

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 listDatagraphEntities;
20
- private createEntity;
21
- private getDatagraphEntity;
22
- private updateDatagraphEntity;
23
- private deleteDatagraphEntity;
24
- private publishDatagraphEntity;
25
- private listDatagraphSchemas;
26
- private createSchema;
27
- private validateDatagraphSchema;
28
- private getDatagraphSchema;
29
- private updateDatagraphSchema;
30
- private deleteDatagraphSchema;
31
- private publishDatagraphSchema;
32
19
  private getCurrentStepDatasource;
33
20
  private validateStepDatasource;
34
21
  private getDatasourceSettings;
@@ -45,12 +32,25 @@ export default class {
45
32
  private deleteDatasource;
46
33
  private getDatasourceExample;
47
34
  private anonymizeDatasource;
35
+ private analyzeWorkerDatasource;
36
+ private analyzeProxyDatasource;
48
37
  private uploadFileWorkerDatasource;
49
38
  private promoteWorkerDatasource;
50
39
  private pauseWorkerDatasource;
51
40
  private getPushPassword;
52
- private analyzeWorkerDatasource;
53
- private analyzeProxyDatasource;
41
+ private listDatagraphSchemas;
42
+ private createSchema;
43
+ private validateDatagraphSchema;
44
+ private getDatagraphSchema;
45
+ private updateDatagraphSchema;
46
+ private deleteDatagraphSchema;
47
+ private publishDatagraphSchema;
48
+ private listDatagraphEntities;
49
+ private createEntity;
50
+ private getDatagraphEntity;
51
+ private updateDatagraphEntity;
52
+ private deleteDatagraphEntity;
53
+ private publishDatagraphEntity;
54
54
  get Datasource(): {
55
55
  listTemplates: (params: {
56
56
  name?: string | undefined;
@@ -146,9 +146,6 @@ export default class {
146
146
  readonly createdAt: string & {
147
147
  readonly?: "__readonly" | undefined;
148
148
  };
149
- readonly updatedAt: string & {
150
- readonly?: "__readonly" | undefined;
151
- };
152
149
  hidden: boolean;
153
150
  template: {
154
151
  datasource: {
@@ -947,8 +944,8 @@ export default class {
947
944
  query?: string | undefined;
948
945
  username?: string | undefined;
949
946
  password?: string | undefined;
950
- schema?: string | undefined;
951
947
  privateKey?: string | undefined;
948
+ schema?: string | undefined;
952
949
  table?: string | undefined;
953
950
  account?: string | undefined;
954
951
  warehouse?: string | undefined;
@@ -1865,8 +1862,8 @@ export default class {
1865
1862
  query?: string | undefined;
1866
1863
  username?: string | undefined;
1867
1864
  password?: string | undefined;
1868
- schema?: string | undefined;
1869
1865
  privateKey?: string | undefined;
1866
+ schema?: string | undefined;
1870
1867
  table?: string | undefined;
1871
1868
  account?: string | undefined;
1872
1869
  warehouse?: string | undefined;
@@ -2889,8 +2886,8 @@ export default class {
2889
2886
  query?: string | undefined;
2890
2887
  username?: string | undefined;
2891
2888
  password?: string | undefined;
2892
- schema?: string | undefined;
2893
2889
  privateKey?: string | undefined;
2890
+ schema?: string | undefined;
2894
2891
  table?: string | undefined;
2895
2892
  account?: string | undefined;
2896
2893
  warehouse?: string | undefined;
@@ -3807,8 +3804,8 @@ export default class {
3807
3804
  query?: string | undefined;
3808
3805
  username?: string | undefined;
3809
3806
  password?: string | undefined;
3810
- schema?: string | undefined;
3811
3807
  privateKey?: string | undefined;
3808
+ schema?: string | undefined;
3812
3809
  table?: string | undefined;
3813
3810
  account?: string | undefined;
3814
3811
  warehouse?: string | undefined;
@@ -5009,6 +5006,9 @@ export default class {
5009
5006
  }) | undefined;
5010
5007
  };
5011
5008
  };
5009
+ readonly updatedAt: string & {
5010
+ readonly?: "__readonly" | undefined;
5011
+ };
5012
5012
  icon: string;
5013
5013
  slug: string;
5014
5014
  feature?: string | undefined;
@@ -5206,7 +5206,7 @@ export default class {
5206
5206
  includeArchived?: boolean | undefined;
5207
5207
  includeHidden?: boolean | undefined;
5208
5208
  select?: string[] | undefined;
5209
- sortBy?: "createdAt" | "configurationUpdatedAt" | undefined;
5209
+ sortBy?: "configurationUpdatedAt" | "createdAt" | undefined;
5210
5210
  sortOrder?: "asc" | "desc" | undefined;
5211
5211
  hierarchy?: string[] | undefined;
5212
5212
  page?: number | undefined;
@@ -5228,6 +5228,114 @@ export default class {
5228
5228
  };
5229
5229
  companyId: string;
5230
5230
  resourceGroupIds: string[];
5231
+ readonly configurationUpdatedAt: string & {
5232
+ readonly?: "__readonly" | undefined;
5233
+ };
5234
+ readonly createdAt: string & {
5235
+ readonly?: "__readonly" | undefined;
5236
+ };
5237
+ hierarchy: string[];
5238
+ hidden: boolean;
5239
+ readonly template?: (string & {
5240
+ readonly?: "__readonly" | undefined;
5241
+ }) | undefined;
5242
+ readonly fetcher: {
5243
+ readonly?: "__readonly" | undefined;
5244
+ name: DatasourceFetcherName;
5245
+ params: unknown;
5246
+ } | {
5247
+ readonly?: "__readonly" | undefined;
5248
+ name: "fdj-bets";
5249
+ params: unknown;
5250
+ } | {
5251
+ readonly?: "__readonly" | undefined;
5252
+ name: "renault-prices";
5253
+ params: unknown;
5254
+ } | {
5255
+ readonly?: "__readonly" | undefined;
5256
+ name: "decathlon-product-fallback";
5257
+ params: unknown;
5258
+ } | {
5259
+ readonly?: "__readonly" | undefined;
5260
+ name: "generic-unwind-rows";
5261
+ params: {
5262
+ source: string;
5263
+ destination: string;
5264
+ columnDestination: string;
5265
+ valueType: string;
5266
+ };
5267
+ } | {
5268
+ readonly?: "__readonly" | undefined;
5269
+ name: "workflow-events";
5270
+ params: unknown;
5271
+ } | {
5272
+ readonly?: "__readonly" | undefined;
5273
+ name: "expired-product-lifetime";
5274
+ params: {
5275
+ purchaseDatasourceId: string;
5276
+ purchaseQuery: string;
5277
+ purchaseReferenceIdField: string;
5278
+ purchaseTimestampField: string;
5279
+ purchaseClientField: string;
5280
+ temporalities?: {
5281
+ maxLifetime: number;
5282
+ windowStart: number;
5283
+ windowEnd: number;
5284
+ minPurchaseCount?: number | undefined;
5285
+ }[] | undefined;
5286
+ };
5287
+ } | {
5288
+ readonly?: "__readonly" | undefined;
5289
+ name: "product-exclusion";
5290
+ params: {
5291
+ mode: "inclusion" | "exclusion";
5292
+ exclusionDatasourceId: string;
5293
+ exclusionIdField: string;
5294
+ productIdField: string;
5295
+ };
5296
+ } | {
5297
+ readonly?: "__readonly" | undefined;
5298
+ name: "per-user";
5299
+ params: unknown;
5300
+ } | {
5301
+ readonly?: "__readonly" | undefined;
5302
+ name: "generic-proxy-lock";
5303
+ params: {
5304
+ ttl: number;
5305
+ };
5306
+ } | {
5307
+ readonly?: "__readonly" | undefined;
5308
+ name: "generic-proxy-aggregation";
5309
+ params: {
5310
+ targetField: string;
5311
+ aggregationType: "sum" | "avg" | "min" | "max";
5312
+ outputField: string;
5313
+ };
5314
+ };
5315
+ storageOptions: {
5316
+ partitionCount: number;
5317
+ segments: {
5318
+ offlineSize: number;
5319
+ offlineReplication: number;
5320
+ realtimeSize: number;
5321
+ realtimeReplication: number;
5322
+ };
5323
+ retention?: {
5324
+ value: number;
5325
+ unit: "DAYS";
5326
+ } | undefined;
5327
+ destinations: {
5328
+ type: "bigquery";
5329
+ dataset: string;
5330
+ tableName: string;
5331
+ deduplicateOptions?: {
5332
+ enabled: boolean;
5333
+ } | undefined;
5334
+ }[];
5335
+ };
5336
+ readonly archivedAt: string & {
5337
+ readonly?: "__readonly" | undefined;
5338
+ };
5231
5339
  versions: (string | {
5232
5340
  mode: DatasourceMode;
5233
5341
  readonly id: string & {
@@ -5362,18 +5470,39 @@ export default class {
5362
5470
  _id: string;
5363
5471
  __v: number;
5364
5472
  })[];
5365
- readonly archivedAt: string & {
5473
+ readonly lastSuccessfulIngestion?: (string & {
5366
5474
  readonly?: "__readonly" | undefined;
5367
- };
5368
- readonly createdAt: string & {
5475
+ }) | undefined;
5476
+ readonly lastFailedIngestion?: (string & {
5477
+ readonly?: "__readonly" | undefined;
5478
+ }) | undefined;
5479
+ readonly lastFailureReason?: (string & {
5480
+ readonly?: "__readonly" | undefined;
5481
+ }) | undefined;
5482
+ readonly hasWarnings: boolean & {
5369
5483
  readonly?: "__readonly" | undefined;
5370
5484
  };
5371
5485
  readonly updatedAt: string & {
5372
5486
  readonly?: "__readonly" | undefined;
5373
5487
  };
5488
+ } | {
5489
+ name: string;
5490
+ mode: "worker";
5491
+ status: DatasourceStatus;
5492
+ readonly id: string & {
5493
+ readonly?: "__readonly" | undefined;
5494
+ };
5495
+ companyId: string;
5496
+ resourceGroupIds: string[];
5497
+ readonly contentVersion: number & {
5498
+ readonly?: "__readonly" | undefined;
5499
+ };
5374
5500
  readonly configurationUpdatedAt: string & {
5375
5501
  readonly?: "__readonly" | undefined;
5376
5502
  };
5503
+ readonly createdAt: string & {
5504
+ readonly?: "__readonly" | undefined;
5505
+ };
5377
5506
  hierarchy: string[];
5378
5507
  hidden: boolean;
5379
5508
  readonly template?: (string & {
@@ -5453,17 +5582,6 @@ export default class {
5453
5582
  };
5454
5583
  };
5455
5584
  storageOptions: {
5456
- partitionCount: number;
5457
- segments: {
5458
- offlineSize: number;
5459
- offlineReplication: number;
5460
- realtimeSize: number;
5461
- realtimeReplication: number;
5462
- };
5463
- retention?: {
5464
- value: number;
5465
- unit: "DAYS";
5466
- } | undefined;
5467
5585
  destinations: {
5468
5586
  type: "bigquery";
5469
5587
  dataset: string;
@@ -5473,27 +5591,9 @@ export default class {
5473
5591
  } | undefined;
5474
5592
  }[];
5475
5593
  };
5476
- readonly lastSuccessfulIngestion?: (string & {
5477
- readonly?: "__readonly" | undefined;
5478
- }) | undefined;
5479
- readonly lastFailedIngestion?: (string & {
5480
- readonly?: "__readonly" | undefined;
5481
- }) | undefined;
5482
- readonly lastFailureReason?: (string & {
5483
- readonly?: "__readonly" | undefined;
5484
- }) | undefined;
5485
- readonly hasWarnings: boolean & {
5486
- readonly?: "__readonly" | undefined;
5487
- };
5488
- } | {
5489
- name: string;
5490
- mode: "worker";
5491
- status: DatasourceStatus;
5492
- readonly id: string & {
5594
+ readonly archivedAt: string & {
5493
5595
  readonly?: "__readonly" | undefined;
5494
5596
  };
5495
- companyId: string;
5496
- resourceGroupIds: string[];
5497
5597
  versions: (string | {
5498
5598
  mode: DatasourceMode;
5499
5599
  readonly id: string & {
@@ -5628,21 +5728,67 @@ export default class {
5628
5728
  _id: string;
5629
5729
  __v: number;
5630
5730
  })[];
5631
- readonly archivedAt: string & {
5731
+ readonly lastSuccessfulIngestion?: (string & {
5632
5732
  readonly?: "__readonly" | undefined;
5633
- };
5634
- readonly createdAt: string & {
5733
+ }) | undefined;
5734
+ readonly lastFailedIngestion?: (string & {
5735
+ readonly?: "__readonly" | undefined;
5736
+ }) | undefined;
5737
+ readonly lastFailureReason?: (string & {
5738
+ readonly?: "__readonly" | undefined;
5739
+ }) | undefined;
5740
+ readonly hasWarnings: boolean & {
5635
5741
  readonly?: "__readonly" | undefined;
5636
5742
  };
5637
5743
  readonly updatedAt: string & {
5638
5744
  readonly?: "__readonly" | undefined;
5639
5745
  };
5640
- readonly contentVersion: number & {
5746
+ thresholds: {
5747
+ type: "too_many_invalid_entries";
5748
+ value: number;
5749
+ trigger: {
5750
+ type: "error";
5751
+ value: "too_many_invalid_entries";
5752
+ };
5753
+ }[] | {
5754
+ type: "entries_drop_rate_too_high";
5755
+ value: number;
5756
+ trigger: {
5757
+ type: "warning";
5758
+ value: "entries_drop_rate_too_high";
5759
+ } | {
5760
+ type: "error";
5761
+ value: "entries_drop_rate_too_high";
5762
+ };
5763
+ }[];
5764
+ attempts?: number | undefined;
5765
+ readonly lastRunAt: string & {
5766
+ readonly?: "__readonly" | undefined;
5767
+ };
5768
+ readonly currentLiveVersion: string & {
5641
5769
  readonly?: "__readonly" | undefined;
5642
5770
  };
5771
+ readonly pausedAt: string & {
5772
+ readonly?: "__readonly" | undefined;
5773
+ };
5774
+ readonly isPaused: boolean & {
5775
+ readonly?: "__readonly" | undefined;
5776
+ };
5777
+ } | {
5778
+ name: string;
5779
+ mode: "proxy";
5780
+ status: DatasourceStatus;
5781
+ readonly id: string & {
5782
+ readonly?: "__readonly" | undefined;
5783
+ };
5784
+ companyId: string;
5785
+ resourceGroupIds: string[];
5643
5786
  readonly configurationUpdatedAt: string & {
5644
5787
  readonly?: "__readonly" | undefined;
5645
5788
  };
5789
+ readonly createdAt: string & {
5790
+ readonly?: "__readonly" | undefined;
5791
+ };
5646
5792
  hierarchy: string[];
5647
5793
  hidden: boolean;
5648
5794
  readonly template?: (string & {
@@ -5721,68 +5867,9 @@ export default class {
5721
5867
  outputField: string;
5722
5868
  };
5723
5869
  };
5724
- storageOptions: {
5725
- destinations: {
5726
- type: "bigquery";
5727
- dataset: string;
5728
- tableName: string;
5729
- deduplicateOptions?: {
5730
- enabled: boolean;
5731
- } | undefined;
5732
- }[];
5733
- };
5734
- readonly lastSuccessfulIngestion?: (string & {
5735
- readonly?: "__readonly" | undefined;
5736
- }) | undefined;
5737
- readonly lastFailedIngestion?: (string & {
5738
- readonly?: "__readonly" | undefined;
5739
- }) | undefined;
5740
- readonly lastFailureReason?: (string & {
5741
- readonly?: "__readonly" | undefined;
5742
- }) | undefined;
5743
- readonly hasWarnings: boolean & {
5744
- readonly?: "__readonly" | undefined;
5745
- };
5746
- thresholds: {
5747
- type: "too_many_invalid_entries";
5748
- value: number;
5749
- trigger: {
5750
- type: "error";
5751
- value: "too_many_invalid_entries";
5752
- };
5753
- }[] | {
5754
- type: "entries_drop_rate_too_high";
5755
- value: number;
5756
- trigger: {
5757
- type: "warning";
5758
- value: "entries_drop_rate_too_high";
5759
- } | {
5760
- type: "error";
5761
- value: "entries_drop_rate_too_high";
5762
- };
5763
- }[];
5764
- attempts?: number | undefined;
5765
- readonly lastRunAt: string & {
5766
- readonly?: "__readonly" | undefined;
5767
- };
5768
- readonly currentLiveVersion: string & {
5769
- readonly?: "__readonly" | undefined;
5770
- };
5771
- readonly pausedAt: string & {
5772
- readonly?: "__readonly" | undefined;
5773
- };
5774
- readonly isPaused: boolean & {
5775
- readonly?: "__readonly" | undefined;
5776
- };
5777
- } | {
5778
- name: string;
5779
- mode: "proxy";
5780
- status: DatasourceStatus;
5781
- readonly id: string & {
5870
+ readonly archivedAt: string & {
5782
5871
  readonly?: "__readonly" | undefined;
5783
5872
  };
5784
- companyId: string;
5785
- resourceGroupIds: string[];
5786
5873
  versions: (string | {
5787
5874
  mode: DatasourceMode;
5788
5875
  readonly id: string & {
@@ -5917,18 +6004,36 @@ export default class {
5917
6004
  _id: string;
5918
6005
  __v: number;
5919
6006
  })[];
5920
- readonly archivedAt: string & {
6007
+ readonly lastSuccessfulIngestion?: (string & {
5921
6008
  readonly?: "__readonly" | undefined;
5922
- };
5923
- readonly createdAt: string & {
6009
+ }) | undefined;
6010
+ readonly lastFailedIngestion?: (string & {
6011
+ readonly?: "__readonly" | undefined;
6012
+ }) | undefined;
6013
+ readonly lastFailureReason?: (string & {
6014
+ readonly?: "__readonly" | undefined;
6015
+ }) | undefined;
6016
+ readonly hasWarnings: boolean & {
5924
6017
  readonly?: "__readonly" | undefined;
5925
6018
  };
5926
6019
  readonly updatedAt: string & {
5927
6020
  readonly?: "__readonly" | undefined;
5928
6021
  };
6022
+ } | {
6023
+ name: string;
6024
+ mode: "ingester";
6025
+ status: DatasourceStatus;
6026
+ readonly id: string & {
6027
+ readonly?: "__readonly" | undefined;
6028
+ };
6029
+ companyId: string;
6030
+ resourceGroupIds: string[];
5929
6031
  readonly configurationUpdatedAt: string & {
5930
6032
  readonly?: "__readonly" | undefined;
5931
6033
  };
6034
+ readonly createdAt: string & {
6035
+ readonly?: "__readonly" | undefined;
6036
+ };
5932
6037
  hierarchy: string[];
5933
6038
  hidden: boolean;
5934
6039
  readonly template?: (string & {
@@ -6007,27 +6112,30 @@ export default class {
6007
6112
  outputField: string;
6008
6113
  };
6009
6114
  };
6010
- readonly lastSuccessfulIngestion?: (string & {
6011
- readonly?: "__readonly" | undefined;
6012
- }) | undefined;
6013
- readonly lastFailedIngestion?: (string & {
6014
- readonly?: "__readonly" | undefined;
6015
- }) | undefined;
6016
- readonly lastFailureReason?: (string & {
6017
- readonly?: "__readonly" | undefined;
6018
- }) | undefined;
6019
- readonly hasWarnings: boolean & {
6020
- readonly?: "__readonly" | undefined;
6115
+ storageOptions: {
6116
+ partitionCount: number;
6117
+ segments: {
6118
+ offlineSize: number;
6119
+ offlineReplication: number;
6120
+ realtimeSize: number;
6121
+ realtimeReplication: number;
6122
+ };
6123
+ retention?: {
6124
+ value: number;
6125
+ unit: "DAYS";
6126
+ } | undefined;
6127
+ destinations: {
6128
+ type: "bigquery";
6129
+ dataset: string;
6130
+ tableName: string;
6131
+ deduplicateOptions?: {
6132
+ enabled: boolean;
6133
+ } | undefined;
6134
+ }[];
6021
6135
  };
6022
- } | {
6023
- name: string;
6024
- mode: "ingester";
6025
- status: DatasourceStatus;
6026
- readonly id: string & {
6136
+ readonly archivedAt: string & {
6027
6137
  readonly?: "__readonly" | undefined;
6028
6138
  };
6029
- companyId: string;
6030
- resourceGroupIds: string[];
6031
6139
  versions: (string | {
6032
6140
  mode: DatasourceMode;
6033
6141
  readonly id: string & {
@@ -6162,18 +6270,36 @@ export default class {
6162
6270
  _id: string;
6163
6271
  __v: number;
6164
6272
  })[];
6165
- readonly archivedAt: string & {
6273
+ readonly lastSuccessfulIngestion?: (string & {
6166
6274
  readonly?: "__readonly" | undefined;
6167
- };
6168
- readonly createdAt: string & {
6275
+ }) | undefined;
6276
+ readonly lastFailedIngestion?: (string & {
6277
+ readonly?: "__readonly" | undefined;
6278
+ }) | undefined;
6279
+ readonly lastFailureReason?: (string & {
6280
+ readonly?: "__readonly" | undefined;
6281
+ }) | undefined;
6282
+ readonly hasWarnings: boolean & {
6169
6283
  readonly?: "__readonly" | undefined;
6170
6284
  };
6171
6285
  readonly updatedAt: string & {
6172
6286
  readonly?: "__readonly" | undefined;
6173
6287
  };
6288
+ } | {
6289
+ name: string;
6290
+ mode: "pubsub";
6291
+ status: DatasourceStatus;
6292
+ readonly id: string & {
6293
+ readonly?: "__readonly" | undefined;
6294
+ };
6295
+ companyId: string;
6296
+ resourceGroupIds: string[];
6174
6297
  readonly configurationUpdatedAt: string & {
6175
6298
  readonly?: "__readonly" | undefined;
6176
6299
  };
6300
+ readonly createdAt: string & {
6301
+ readonly?: "__readonly" | undefined;
6302
+ };
6177
6303
  hierarchy: string[];
6178
6304
  hidden: boolean;
6179
6305
  readonly template?: (string & {
@@ -6273,27 +6399,9 @@ export default class {
6273
6399
  } | undefined;
6274
6400
  }[];
6275
6401
  };
6276
- readonly lastSuccessfulIngestion?: (string & {
6277
- readonly?: "__readonly" | undefined;
6278
- }) | undefined;
6279
- readonly lastFailedIngestion?: (string & {
6280
- readonly?: "__readonly" | undefined;
6281
- }) | undefined;
6282
- readonly lastFailureReason?: (string & {
6283
- readonly?: "__readonly" | undefined;
6284
- }) | undefined;
6285
- readonly hasWarnings: boolean & {
6286
- readonly?: "__readonly" | undefined;
6287
- };
6288
- } | {
6289
- name: string;
6290
- mode: "pubsub";
6291
- status: DatasourceStatus;
6292
- readonly id: string & {
6402
+ readonly archivedAt: string & {
6293
6403
  readonly?: "__readonly" | undefined;
6294
6404
  };
6295
- companyId: string;
6296
- resourceGroupIds: string[];
6297
6405
  versions: (string | {
6298
6406
  mode: DatasourceMode;
6299
6407
  readonly id: string & {
@@ -6428,117 +6536,6 @@ export default class {
6428
6536
  _id: string;
6429
6537
  __v: number;
6430
6538
  })[];
6431
- readonly archivedAt: string & {
6432
- readonly?: "__readonly" | undefined;
6433
- };
6434
- readonly createdAt: string & {
6435
- readonly?: "__readonly" | undefined;
6436
- };
6437
- readonly updatedAt: string & {
6438
- readonly?: "__readonly" | undefined;
6439
- };
6440
- readonly configurationUpdatedAt: string & {
6441
- readonly?: "__readonly" | undefined;
6442
- };
6443
- hierarchy: string[];
6444
- hidden: boolean;
6445
- readonly template?: (string & {
6446
- readonly?: "__readonly" | undefined;
6447
- }) | undefined;
6448
- readonly fetcher: {
6449
- readonly?: "__readonly" | undefined;
6450
- name: DatasourceFetcherName;
6451
- params: unknown;
6452
- } | {
6453
- readonly?: "__readonly" | undefined;
6454
- name: "fdj-bets";
6455
- params: unknown;
6456
- } | {
6457
- readonly?: "__readonly" | undefined;
6458
- name: "renault-prices";
6459
- params: unknown;
6460
- } | {
6461
- readonly?: "__readonly" | undefined;
6462
- name: "decathlon-product-fallback";
6463
- params: unknown;
6464
- } | {
6465
- readonly?: "__readonly" | undefined;
6466
- name: "generic-unwind-rows";
6467
- params: {
6468
- source: string;
6469
- destination: string;
6470
- columnDestination: string;
6471
- valueType: string;
6472
- };
6473
- } | {
6474
- readonly?: "__readonly" | undefined;
6475
- name: "workflow-events";
6476
- params: unknown;
6477
- } | {
6478
- readonly?: "__readonly" | undefined;
6479
- name: "expired-product-lifetime";
6480
- params: {
6481
- purchaseDatasourceId: string;
6482
- purchaseQuery: string;
6483
- purchaseReferenceIdField: string;
6484
- purchaseTimestampField: string;
6485
- purchaseClientField: string;
6486
- temporalities?: {
6487
- maxLifetime: number;
6488
- windowStart: number;
6489
- windowEnd: number;
6490
- minPurchaseCount?: number | undefined;
6491
- }[] | undefined;
6492
- };
6493
- } | {
6494
- readonly?: "__readonly" | undefined;
6495
- name: "product-exclusion";
6496
- params: {
6497
- mode: "inclusion" | "exclusion";
6498
- exclusionDatasourceId: string;
6499
- exclusionIdField: string;
6500
- productIdField: string;
6501
- };
6502
- } | {
6503
- readonly?: "__readonly" | undefined;
6504
- name: "per-user";
6505
- params: unknown;
6506
- } | {
6507
- readonly?: "__readonly" | undefined;
6508
- name: "generic-proxy-lock";
6509
- params: {
6510
- ttl: number;
6511
- };
6512
- } | {
6513
- readonly?: "__readonly" | undefined;
6514
- name: "generic-proxy-aggregation";
6515
- params: {
6516
- targetField: string;
6517
- aggregationType: "sum" | "avg" | "min" | "max";
6518
- outputField: string;
6519
- };
6520
- };
6521
- storageOptions: {
6522
- partitionCount: number;
6523
- segments: {
6524
- offlineSize: number;
6525
- offlineReplication: number;
6526
- realtimeSize: number;
6527
- realtimeReplication: number;
6528
- };
6529
- retention?: {
6530
- value: number;
6531
- unit: "DAYS";
6532
- } | undefined;
6533
- destinations: {
6534
- type: "bigquery";
6535
- dataset: string;
6536
- tableName: string;
6537
- deduplicateOptions?: {
6538
- enabled: boolean;
6539
- } | undefined;
6540
- }[];
6541
- };
6542
6539
  readonly lastSuccessfulIngestion?: (string & {
6543
6540
  readonly?: "__readonly" | undefined;
6544
6541
  }) | undefined;
@@ -6551,6 +6548,9 @@ export default class {
6551
6548
  readonly hasWarnings: boolean & {
6552
6549
  readonly?: "__readonly" | undefined;
6553
6550
  };
6551
+ readonly updatedAt: string & {
6552
+ readonly?: "__readonly" | undefined;
6553
+ };
6554
6554
  })[];
6555
6555
  program: string;
6556
6556
  version: string;
@@ -6606,6 +6606,114 @@ export default class {
6606
6606
  };
6607
6607
  companyId: string;
6608
6608
  resourceGroupIds: string[];
6609
+ readonly configurationUpdatedAt: string & {
6610
+ readonly?: "__readonly" | undefined;
6611
+ };
6612
+ readonly createdAt: string & {
6613
+ readonly?: "__readonly" | undefined;
6614
+ };
6615
+ hierarchy: string[];
6616
+ hidden: boolean;
6617
+ readonly template?: (string & {
6618
+ readonly?: "__readonly" | undefined;
6619
+ }) | undefined;
6620
+ readonly fetcher: {
6621
+ readonly?: "__readonly" | undefined;
6622
+ name: DatasourceFetcherName;
6623
+ params: unknown;
6624
+ } | {
6625
+ readonly?: "__readonly" | undefined;
6626
+ name: "fdj-bets";
6627
+ params: unknown;
6628
+ } | {
6629
+ readonly?: "__readonly" | undefined;
6630
+ name: "renault-prices";
6631
+ params: unknown;
6632
+ } | {
6633
+ readonly?: "__readonly" | undefined;
6634
+ name: "decathlon-product-fallback";
6635
+ params: unknown;
6636
+ } | {
6637
+ readonly?: "__readonly" | undefined;
6638
+ name: "generic-unwind-rows";
6639
+ params: {
6640
+ source: string;
6641
+ destination: string;
6642
+ columnDestination: string;
6643
+ valueType: string;
6644
+ };
6645
+ } | {
6646
+ readonly?: "__readonly" | undefined;
6647
+ name: "workflow-events";
6648
+ params: unknown;
6649
+ } | {
6650
+ readonly?: "__readonly" | undefined;
6651
+ name: "expired-product-lifetime";
6652
+ params: {
6653
+ purchaseDatasourceId: string;
6654
+ purchaseQuery: string;
6655
+ purchaseReferenceIdField: string;
6656
+ purchaseTimestampField: string;
6657
+ purchaseClientField: string;
6658
+ temporalities?: {
6659
+ maxLifetime: number;
6660
+ windowStart: number;
6661
+ windowEnd: number;
6662
+ minPurchaseCount?: number | undefined;
6663
+ }[] | undefined;
6664
+ };
6665
+ } | {
6666
+ readonly?: "__readonly" | undefined;
6667
+ name: "product-exclusion";
6668
+ params: {
6669
+ mode: "inclusion" | "exclusion";
6670
+ exclusionDatasourceId: string;
6671
+ exclusionIdField: string;
6672
+ productIdField: string;
6673
+ };
6674
+ } | {
6675
+ readonly?: "__readonly" | undefined;
6676
+ name: "per-user";
6677
+ params: unknown;
6678
+ } | {
6679
+ readonly?: "__readonly" | undefined;
6680
+ name: "generic-proxy-lock";
6681
+ params: {
6682
+ ttl: number;
6683
+ };
6684
+ } | {
6685
+ readonly?: "__readonly" | undefined;
6686
+ name: "generic-proxy-aggregation";
6687
+ params: {
6688
+ targetField: string;
6689
+ aggregationType: "sum" | "avg" | "min" | "max";
6690
+ outputField: string;
6691
+ };
6692
+ };
6693
+ storageOptions: {
6694
+ partitionCount: number;
6695
+ segments: {
6696
+ offlineSize: number;
6697
+ offlineReplication: number;
6698
+ realtimeSize: number;
6699
+ realtimeReplication: number;
6700
+ };
6701
+ retention?: {
6702
+ value: number;
6703
+ unit: "DAYS";
6704
+ } | undefined;
6705
+ destinations: {
6706
+ type: "bigquery";
6707
+ dataset: string;
6708
+ tableName: string;
6709
+ deduplicateOptions?: {
6710
+ enabled: boolean;
6711
+ } | undefined;
6712
+ }[];
6713
+ };
6714
+ readonly archivedAt: string & {
6715
+ readonly?: "__readonly" | undefined;
6716
+ };
6609
6717
  versions: (string | {
6610
6718
  mode: DatasourceMode;
6611
6719
  readonly id: string & {
@@ -6740,18 +6848,39 @@ export default class {
6740
6848
  _id: string;
6741
6849
  __v: number;
6742
6850
  })[];
6743
- readonly archivedAt: string & {
6851
+ readonly lastSuccessfulIngestion?: (string & {
6744
6852
  readonly?: "__readonly" | undefined;
6745
- };
6746
- readonly createdAt: string & {
6853
+ }) | undefined;
6854
+ readonly lastFailedIngestion?: (string & {
6855
+ readonly?: "__readonly" | undefined;
6856
+ }) | undefined;
6857
+ readonly lastFailureReason?: (string & {
6858
+ readonly?: "__readonly" | undefined;
6859
+ }) | undefined;
6860
+ readonly hasWarnings: boolean & {
6747
6861
  readonly?: "__readonly" | undefined;
6748
6862
  };
6749
6863
  readonly updatedAt: string & {
6750
6864
  readonly?: "__readonly" | undefined;
6751
6865
  };
6866
+ } | {
6867
+ name: string;
6868
+ mode: "worker";
6869
+ status: DatasourceStatus;
6870
+ readonly id: string & {
6871
+ readonly?: "__readonly" | undefined;
6872
+ };
6873
+ companyId: string;
6874
+ resourceGroupIds: string[];
6875
+ readonly contentVersion: number & {
6876
+ readonly?: "__readonly" | undefined;
6877
+ };
6752
6878
  readonly configurationUpdatedAt: string & {
6753
6879
  readonly?: "__readonly" | undefined;
6754
6880
  };
6881
+ readonly createdAt: string & {
6882
+ readonly?: "__readonly" | undefined;
6883
+ };
6755
6884
  hierarchy: string[];
6756
6885
  hidden: boolean;
6757
6886
  readonly template?: (string & {
@@ -6831,17 +6960,6 @@ export default class {
6831
6960
  };
6832
6961
  };
6833
6962
  storageOptions: {
6834
- partitionCount: number;
6835
- segments: {
6836
- offlineSize: number;
6837
- offlineReplication: number;
6838
- realtimeSize: number;
6839
- realtimeReplication: number;
6840
- };
6841
- retention?: {
6842
- value: number;
6843
- unit: "DAYS";
6844
- } | undefined;
6845
6963
  destinations: {
6846
6964
  type: "bigquery";
6847
6965
  dataset: string;
@@ -6851,27 +6969,9 @@ export default class {
6851
6969
  } | undefined;
6852
6970
  }[];
6853
6971
  };
6854
- readonly lastSuccessfulIngestion?: (string & {
6855
- readonly?: "__readonly" | undefined;
6856
- }) | undefined;
6857
- readonly lastFailedIngestion?: (string & {
6858
- readonly?: "__readonly" | undefined;
6859
- }) | undefined;
6860
- readonly lastFailureReason?: (string & {
6861
- readonly?: "__readonly" | undefined;
6862
- }) | undefined;
6863
- readonly hasWarnings: boolean & {
6864
- readonly?: "__readonly" | undefined;
6865
- };
6866
- } | {
6867
- name: string;
6868
- mode: "worker";
6869
- status: DatasourceStatus;
6870
- readonly id: string & {
6972
+ readonly archivedAt: string & {
6871
6973
  readonly?: "__readonly" | undefined;
6872
6974
  };
6873
- companyId: string;
6874
- resourceGroupIds: string[];
6875
6975
  versions: (string | {
6876
6976
  mode: DatasourceMode;
6877
6977
  readonly id: string & {
@@ -7006,109 +7106,6 @@ export default class {
7006
7106
  _id: string;
7007
7107
  __v: number;
7008
7108
  })[];
7009
- readonly archivedAt: string & {
7010
- readonly?: "__readonly" | undefined;
7011
- };
7012
- readonly createdAt: string & {
7013
- readonly?: "__readonly" | undefined;
7014
- };
7015
- readonly updatedAt: string & {
7016
- readonly?: "__readonly" | undefined;
7017
- };
7018
- readonly contentVersion: number & {
7019
- readonly?: "__readonly" | undefined;
7020
- };
7021
- readonly configurationUpdatedAt: string & {
7022
- readonly?: "__readonly" | undefined;
7023
- };
7024
- hierarchy: string[];
7025
- hidden: boolean;
7026
- readonly template?: (string & {
7027
- readonly?: "__readonly" | undefined;
7028
- }) | undefined;
7029
- readonly fetcher: {
7030
- readonly?: "__readonly" | undefined;
7031
- name: DatasourceFetcherName;
7032
- params: unknown;
7033
- } | {
7034
- readonly?: "__readonly" | undefined;
7035
- name: "fdj-bets";
7036
- params: unknown;
7037
- } | {
7038
- readonly?: "__readonly" | undefined;
7039
- name: "renault-prices";
7040
- params: unknown;
7041
- } | {
7042
- readonly?: "__readonly" | undefined;
7043
- name: "decathlon-product-fallback";
7044
- params: unknown;
7045
- } | {
7046
- readonly?: "__readonly" | undefined;
7047
- name: "generic-unwind-rows";
7048
- params: {
7049
- source: string;
7050
- destination: string;
7051
- columnDestination: string;
7052
- valueType: string;
7053
- };
7054
- } | {
7055
- readonly?: "__readonly" | undefined;
7056
- name: "workflow-events";
7057
- params: unknown;
7058
- } | {
7059
- readonly?: "__readonly" | undefined;
7060
- name: "expired-product-lifetime";
7061
- params: {
7062
- purchaseDatasourceId: string;
7063
- purchaseQuery: string;
7064
- purchaseReferenceIdField: string;
7065
- purchaseTimestampField: string;
7066
- purchaseClientField: string;
7067
- temporalities?: {
7068
- maxLifetime: number;
7069
- windowStart: number;
7070
- windowEnd: number;
7071
- minPurchaseCount?: number | undefined;
7072
- }[] | undefined;
7073
- };
7074
- } | {
7075
- readonly?: "__readonly" | undefined;
7076
- name: "product-exclusion";
7077
- params: {
7078
- mode: "inclusion" | "exclusion";
7079
- exclusionDatasourceId: string;
7080
- exclusionIdField: string;
7081
- productIdField: string;
7082
- };
7083
- } | {
7084
- readonly?: "__readonly" | undefined;
7085
- name: "per-user";
7086
- params: unknown;
7087
- } | {
7088
- readonly?: "__readonly" | undefined;
7089
- name: "generic-proxy-lock";
7090
- params: {
7091
- ttl: number;
7092
- };
7093
- } | {
7094
- readonly?: "__readonly" | undefined;
7095
- name: "generic-proxy-aggregation";
7096
- params: {
7097
- targetField: string;
7098
- aggregationType: "sum" | "avg" | "min" | "max";
7099
- outputField: string;
7100
- };
7101
- };
7102
- storageOptions: {
7103
- destinations: {
7104
- type: "bigquery";
7105
- dataset: string;
7106
- tableName: string;
7107
- deduplicateOptions?: {
7108
- enabled: boolean;
7109
- } | undefined;
7110
- }[];
7111
- };
7112
7109
  readonly lastSuccessfulIngestion?: (string & {
7113
7110
  readonly?: "__readonly" | undefined;
7114
7111
  }) | undefined;
@@ -7121,6 +7118,9 @@ export default class {
7121
7118
  readonly hasWarnings: boolean & {
7122
7119
  readonly?: "__readonly" | undefined;
7123
7120
  };
7121
+ readonly updatedAt: string & {
7122
+ readonly?: "__readonly" | undefined;
7123
+ };
7124
7124
  thresholds: {
7125
7125
  type: "too_many_invalid_entries";
7126
7126
  value: number;
@@ -7161,152 +7161,12 @@ export default class {
7161
7161
  };
7162
7162
  companyId: string;
7163
7163
  resourceGroupIds: string[];
7164
- versions: (string | {
7165
- mode: DatasourceMode;
7166
- readonly id: string & {
7167
- readonly?: "__readonly" | undefined;
7168
- };
7169
- type: {
7170
- name: "analytics";
7171
- options: {
7172
- autoExclusions?: boolean | undefined;
7173
- noStats?: boolean | undefined;
7174
- };
7175
- subtype: "purchases";
7176
- } | {
7177
- name: "generic";
7178
- subtype: import("./definitions").DatasourceGenericSubType;
7179
- } | {
7180
- name: "crm";
7181
- subtype: import("./definitions").DatasourceCRMSubType;
7182
- } | {
7183
- name: "product";
7184
- subtype: import("./definitions").DatasourceProductSubType;
7185
- } | {
7186
- name: "location";
7187
- subtype: import("./definitions").DatasourceLocationSubType;
7188
- } | {
7189
- name: "analytics";
7190
- subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
7191
- } | {
7192
- name: "push";
7193
- subtype: "email";
7194
- } | {
7195
- name: "loop";
7196
- subtype: import("./definitions").DatasourceLoopSubType;
7197
- };
7198
- fieldsMap: {
7199
- name: string;
7200
- source?: FieldSource | undefined;
7201
- type: FieldMapType;
7202
- selected: boolean;
7203
- ignoreIfMissing?: boolean | undefined;
7204
- metadata?: {
7205
- locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
7206
- } | undefined;
7207
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
7208
- readonly?: "__readonly" | undefined;
7209
- };
7210
- }[];
7211
- readonly health: ("ERROR" | "WARNING" | "OK") & {
7212
- readonly?: "__readonly" | undefined;
7213
- };
7214
- readonly state: import("./definitions").DatasourceVersionState & {
7215
- readonly?: "__readonly" | undefined;
7216
- };
7217
- readonly pendingSteps?: ({
7218
- name: "configure_name";
7219
- } | {
7220
- name: "configure_resource_group_ids";
7221
- } | {
7222
- name: "configure_sources";
7223
- } | {
7224
- name: "configure_fields";
7225
- } | {
7226
- name: "configure_field";
7227
- field: {
7228
- name: string;
7229
- type: FieldMapType;
7230
- };
7231
- } | {
7232
- name: "create_oauth_client";
7233
- configurationId: string;
7234
- } | {
7235
- name: "authorize_oauth_client";
7236
- slug: string;
7237
- } | {
7238
- name: "configure_thresholds";
7239
- } | {
7240
- name: "configure_api_key";
7241
- slug: "partoo";
7242
- } | {
7243
- name: "patch";
7244
- } | {
7245
- name: "validate";
7246
- } | {
7247
- name: "configure_google_tag_manager";
7248
- } | {
7249
- name: "configure_reelevant_analytics_script";
7250
- } | {
7251
- name: "configure_product_datasource_source";
7252
- } | {
7253
- name: "configure_tracking_datasource_source";
7254
- } | {
7255
- name: "configure_best_product_query";
7256
- } | {
7257
- name: "configure_best_product_field";
7258
- } | {
7259
- name: "configure_fetcher";
7260
- } | {
7261
- name: "configure_merge_datasource_source";
7262
- } | {
7263
- name: "configure_merge_datasource_dependency";
7264
- } | {
7265
- name: "configure_merge_mapping";
7266
- } | {
7267
- name: "configure_bought_together";
7268
- } | {
7269
- name: "configure_top_attributes";
7270
- } | {
7271
- name: "configure_destination";
7272
- type: "smtp";
7273
- } | {
7274
- name: "configure_hierarchy";
7275
- } | {
7276
- name: "google_my_business_set_url";
7277
- urls: {
7278
- getAccount: string;
7279
- final: string;
7280
- };
7281
- } | {
7282
- name: "setup_instagram";
7283
- urls: {
7284
- getAccount: string;
7285
- final: string;
7286
- getAccountInfos: string;
7287
- };
7288
- })[] | undefined;
7289
- readonly availableFieldsTypes: FieldMapType[];
7290
- readonly requiredFieldsTypes: {
7291
- [x: string]: FieldMapType;
7292
- }[];
7293
- readonly uniqueFieldsTypes: FieldMapType[];
7294
- readonly importantFieldsTypes: FieldMapType[];
7295
- _id: string;
7296
- __v: number;
7297
- })[];
7298
- readonly archivedAt: string & {
7164
+ readonly configurationUpdatedAt: string & {
7299
7165
  readonly?: "__readonly" | undefined;
7300
7166
  };
7301
7167
  readonly createdAt: string & {
7302
7168
  readonly?: "__readonly" | undefined;
7303
7169
  };
7304
- readonly updatedAt: string & {
7305
- readonly?: "__readonly" | undefined;
7306
- };
7307
- readonly configurationUpdatedAt: string & {
7308
- readonly?: "__readonly" | undefined;
7309
- };
7310
7170
  hierarchy: string[];
7311
7171
  hidden: boolean;
7312
7172
  readonly template?: (string & {
@@ -7385,27 +7245,9 @@ export default class {
7385
7245
  outputField: string;
7386
7246
  };
7387
7247
  };
7388
- readonly lastSuccessfulIngestion?: (string & {
7389
- readonly?: "__readonly" | undefined;
7390
- }) | undefined;
7391
- readonly lastFailedIngestion?: (string & {
7392
- readonly?: "__readonly" | undefined;
7393
- }) | undefined;
7394
- readonly lastFailureReason?: (string & {
7395
- readonly?: "__readonly" | undefined;
7396
- }) | undefined;
7397
- readonly hasWarnings: boolean & {
7398
- readonly?: "__readonly" | undefined;
7399
- };
7400
- } | {
7401
- name: string;
7402
- mode: "ingester";
7403
- status: DatasourceStatus;
7404
- readonly id: string & {
7248
+ readonly archivedAt: string & {
7405
7249
  readonly?: "__readonly" | undefined;
7406
7250
  };
7407
- companyId: string;
7408
- resourceGroupIds: string[];
7409
7251
  versions: (string | {
7410
7252
  mode: DatasourceMode;
7411
7253
  readonly id: string & {
@@ -7540,18 +7382,36 @@ export default class {
7540
7382
  _id: string;
7541
7383
  __v: number;
7542
7384
  })[];
7543
- readonly archivedAt: string & {
7385
+ readonly lastSuccessfulIngestion?: (string & {
7544
7386
  readonly?: "__readonly" | undefined;
7545
- };
7546
- readonly createdAt: string & {
7387
+ }) | undefined;
7388
+ readonly lastFailedIngestion?: (string & {
7389
+ readonly?: "__readonly" | undefined;
7390
+ }) | undefined;
7391
+ readonly lastFailureReason?: (string & {
7392
+ readonly?: "__readonly" | undefined;
7393
+ }) | undefined;
7394
+ readonly hasWarnings: boolean & {
7547
7395
  readonly?: "__readonly" | undefined;
7548
7396
  };
7549
7397
  readonly updatedAt: string & {
7550
7398
  readonly?: "__readonly" | undefined;
7551
7399
  };
7400
+ } | {
7401
+ name: string;
7402
+ mode: "ingester";
7403
+ status: DatasourceStatus;
7404
+ readonly id: string & {
7405
+ readonly?: "__readonly" | undefined;
7406
+ };
7407
+ companyId: string;
7408
+ resourceGroupIds: string[];
7552
7409
  readonly configurationUpdatedAt: string & {
7553
7410
  readonly?: "__readonly" | undefined;
7554
7411
  };
7412
+ readonly createdAt: string & {
7413
+ readonly?: "__readonly" | undefined;
7414
+ };
7555
7415
  hierarchy: string[];
7556
7416
  hidden: boolean;
7557
7417
  readonly template?: (string & {
@@ -7651,27 +7511,9 @@ export default class {
7651
7511
  } | undefined;
7652
7512
  }[];
7653
7513
  };
7654
- readonly lastSuccessfulIngestion?: (string & {
7655
- readonly?: "__readonly" | undefined;
7656
- }) | undefined;
7657
- readonly lastFailedIngestion?: (string & {
7658
- readonly?: "__readonly" | undefined;
7659
- }) | undefined;
7660
- readonly lastFailureReason?: (string & {
7661
- readonly?: "__readonly" | undefined;
7662
- }) | undefined;
7663
- readonly hasWarnings: boolean & {
7664
- readonly?: "__readonly" | undefined;
7665
- };
7666
- } | {
7667
- name: string;
7668
- mode: "pubsub";
7669
- status: DatasourceStatus;
7670
- readonly id: string & {
7514
+ readonly archivedAt: string & {
7671
7515
  readonly?: "__readonly" | undefined;
7672
7516
  };
7673
- companyId: string;
7674
- resourceGroupIds: string[];
7675
7517
  versions: (string | {
7676
7518
  mode: DatasourceMode;
7677
7519
  readonly id: string & {
@@ -7806,18 +7648,36 @@ export default class {
7806
7648
  _id: string;
7807
7649
  __v: number;
7808
7650
  })[];
7809
- readonly archivedAt: string & {
7651
+ readonly lastSuccessfulIngestion?: (string & {
7810
7652
  readonly?: "__readonly" | undefined;
7811
- };
7812
- readonly createdAt: string & {
7653
+ }) | undefined;
7654
+ readonly lastFailedIngestion?: (string & {
7655
+ readonly?: "__readonly" | undefined;
7656
+ }) | undefined;
7657
+ readonly lastFailureReason?: (string & {
7658
+ readonly?: "__readonly" | undefined;
7659
+ }) | undefined;
7660
+ readonly hasWarnings: boolean & {
7813
7661
  readonly?: "__readonly" | undefined;
7814
7662
  };
7815
7663
  readonly updatedAt: string & {
7816
7664
  readonly?: "__readonly" | undefined;
7817
7665
  };
7666
+ } | {
7667
+ name: string;
7668
+ mode: "pubsub";
7669
+ status: DatasourceStatus;
7670
+ readonly id: string & {
7671
+ readonly?: "__readonly" | undefined;
7672
+ };
7673
+ companyId: string;
7674
+ resourceGroupIds: string[];
7818
7675
  readonly configurationUpdatedAt: string & {
7819
7676
  readonly?: "__readonly" | undefined;
7820
7677
  };
7678
+ readonly createdAt: string & {
7679
+ readonly?: "__readonly" | undefined;
7680
+ };
7821
7681
  hierarchy: string[];
7822
7682
  hidden: boolean;
7823
7683
  readonly template?: (string & {
@@ -7917,55 +7777,9 @@ export default class {
7917
7777
  } | undefined;
7918
7778
  }[];
7919
7779
  };
7920
- readonly lastSuccessfulIngestion?: (string & {
7921
- readonly?: "__readonly" | undefined;
7922
- }) | undefined;
7923
- readonly lastFailedIngestion?: (string & {
7924
- readonly?: "__readonly" | undefined;
7925
- }) | undefined;
7926
- readonly lastFailureReason?: (string & {
7927
- readonly?: "__readonly" | undefined;
7928
- }) | undefined;
7929
- readonly hasWarnings: boolean & {
7930
- readonly?: "__readonly" | undefined;
7931
- };
7932
- };
7933
- program: string;
7934
- version: string;
7935
- status: string;
7936
- code?: number | undefined;
7937
- message: string;
7938
- }, any, {}>>;
7939
- listHierarchy: (params: {
7940
- hierarchy?: string[] | undefined;
7941
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7942
- status: "success";
7943
- } & {
7944
- datetime: string;
7945
- data: string[];
7946
- program: string;
7947
- version: string;
7948
- status: string;
7949
- code?: number | undefined;
7950
- message: string;
7951
- }, any, {}>>;
7952
- get: (params: {
7953
- id: string;
7954
- versions?: string | undefined;
7955
- withExample?: string | undefined;
7956
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7957
- status: "success";
7958
- } & {
7959
- datetime: string;
7960
- data: {
7961
- name: string;
7962
- mode: "push";
7963
- status: DatasourceStatus;
7964
- readonly id: string & {
7780
+ readonly archivedAt: string & {
7965
7781
  readonly?: "__readonly" | undefined;
7966
7782
  };
7967
- companyId: string;
7968
- resourceGroupIds: string[];
7969
7783
  versions: (string | {
7970
7784
  mode: DatasourceMode;
7971
7785
  readonly id: string & {
@@ -8100,18 +7914,64 @@ export default class {
8100
7914
  _id: string;
8101
7915
  __v: number;
8102
7916
  })[];
8103
- readonly archivedAt: string & {
7917
+ readonly lastSuccessfulIngestion?: (string & {
8104
7918
  readonly?: "__readonly" | undefined;
8105
- };
8106
- readonly createdAt: string & {
7919
+ }) | undefined;
7920
+ readonly lastFailedIngestion?: (string & {
7921
+ readonly?: "__readonly" | undefined;
7922
+ }) | undefined;
7923
+ readonly lastFailureReason?: (string & {
7924
+ readonly?: "__readonly" | undefined;
7925
+ }) | undefined;
7926
+ readonly hasWarnings: boolean & {
8107
7927
  readonly?: "__readonly" | undefined;
8108
7928
  };
8109
7929
  readonly updatedAt: string & {
8110
7930
  readonly?: "__readonly" | undefined;
8111
7931
  };
7932
+ };
7933
+ program: string;
7934
+ version: string;
7935
+ status: string;
7936
+ code?: number | undefined;
7937
+ message: string;
7938
+ }, any, {}>>;
7939
+ listHierarchy: (params: {
7940
+ hierarchy?: string[] | undefined;
7941
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7942
+ status: "success";
7943
+ } & {
7944
+ datetime: string;
7945
+ data: string[];
7946
+ program: string;
7947
+ version: string;
7948
+ status: string;
7949
+ code?: number | undefined;
7950
+ message: string;
7951
+ }, any, {}>>;
7952
+ get: (params: {
7953
+ id: string;
7954
+ versions?: string | undefined;
7955
+ withExample?: string | undefined;
7956
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
7957
+ status: "success";
7958
+ } & {
7959
+ datetime: string;
7960
+ data: {
7961
+ name: string;
7962
+ mode: "push";
7963
+ status: DatasourceStatus;
7964
+ readonly id: string & {
7965
+ readonly?: "__readonly" | undefined;
7966
+ };
7967
+ companyId: string;
7968
+ resourceGroupIds: string[];
8112
7969
  readonly configurationUpdatedAt: string & {
8113
7970
  readonly?: "__readonly" | undefined;
8114
7971
  };
7972
+ readonly createdAt: string & {
7973
+ readonly?: "__readonly" | undefined;
7974
+ };
8115
7975
  hierarchy: string[];
8116
7976
  hidden: boolean;
8117
7977
  readonly template?: (string & {
@@ -8211,42 +8071,9 @@ export default class {
8211
8071
  } | undefined;
8212
8072
  }[];
8213
8073
  };
8214
- readonly lastSuccessfulIngestion?: (string & {
8215
- readonly?: "__readonly" | undefined;
8216
- }) | undefined;
8217
- readonly lastFailedIngestion?: (string & {
8218
- readonly?: "__readonly" | undefined;
8219
- }) | undefined;
8220
- readonly lastFailureReason?: (string & {
8221
- readonly?: "__readonly" | undefined;
8222
- }) | undefined;
8223
- readonly hasWarnings: boolean & {
8224
- readonly?: "__readonly" | undefined;
8225
- };
8226
- example?: {
8227
- [x: string]: unknown;
8228
- } | undefined;
8229
- queriableFields?: {
8230
- name: string;
8231
- type: FieldMapType;
8232
- sortable: boolean;
8233
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8234
- readonly?: "__readonly" | undefined;
8235
- };
8236
- enum?: (string | number)[] | undefined;
8237
- required: boolean;
8238
- unique: boolean;
8239
- 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")[];
8240
- }[] | undefined;
8241
- } | {
8242
- name: string;
8243
- mode: "worker";
8244
- status: DatasourceStatus;
8245
- readonly id: string & {
8074
+ readonly archivedAt: string & {
8246
8075
  readonly?: "__readonly" | undefined;
8247
8076
  };
8248
- companyId: string;
8249
- resourceGroupIds: string[];
8250
8077
  versions: (string | {
8251
8078
  mode: DatasourceMode;
8252
8079
  readonly id: string & {
@@ -8381,21 +8208,54 @@ export default class {
8381
8208
  _id: string;
8382
8209
  __v: number;
8383
8210
  })[];
8384
- readonly archivedAt: string & {
8211
+ readonly lastSuccessfulIngestion?: (string & {
8385
8212
  readonly?: "__readonly" | undefined;
8386
- };
8387
- readonly createdAt: string & {
8213
+ }) | undefined;
8214
+ readonly lastFailedIngestion?: (string & {
8215
+ readonly?: "__readonly" | undefined;
8216
+ }) | undefined;
8217
+ readonly lastFailureReason?: (string & {
8218
+ readonly?: "__readonly" | undefined;
8219
+ }) | undefined;
8220
+ readonly hasWarnings: boolean & {
8388
8221
  readonly?: "__readonly" | undefined;
8389
8222
  };
8390
8223
  readonly updatedAt: string & {
8391
8224
  readonly?: "__readonly" | undefined;
8392
8225
  };
8226
+ example?: {
8227
+ [x: string]: unknown;
8228
+ } | undefined;
8229
+ queriableFields?: {
8230
+ name: string;
8231
+ type: FieldMapType;
8232
+ sortable: boolean;
8233
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8234
+ readonly?: "__readonly" | undefined;
8235
+ };
8236
+ enum?: (string | number)[] | undefined;
8237
+ required: boolean;
8238
+ unique: boolean;
8239
+ 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")[];
8240
+ }[] | undefined;
8241
+ } | {
8242
+ name: string;
8243
+ mode: "worker";
8244
+ status: DatasourceStatus;
8245
+ readonly id: string & {
8246
+ readonly?: "__readonly" | undefined;
8247
+ };
8248
+ companyId: string;
8249
+ resourceGroupIds: string[];
8393
8250
  readonly contentVersion: number & {
8394
8251
  readonly?: "__readonly" | undefined;
8395
8252
  };
8396
8253
  readonly configurationUpdatedAt: string & {
8397
8254
  readonly?: "__readonly" | undefined;
8398
8255
  };
8256
+ readonly createdAt: string & {
8257
+ readonly?: "__readonly" | undefined;
8258
+ };
8399
8259
  hierarchy: string[];
8400
8260
  hidden: boolean;
8401
8261
  readonly template?: (string & {
@@ -8484,73 +8344,9 @@ export default class {
8484
8344
  } | undefined;
8485
8345
  }[];
8486
8346
  };
8487
- readonly lastSuccessfulIngestion?: (string & {
8488
- readonly?: "__readonly" | undefined;
8489
- }) | undefined;
8490
- readonly lastFailedIngestion?: (string & {
8491
- readonly?: "__readonly" | undefined;
8492
- }) | undefined;
8493
- readonly lastFailureReason?: (string & {
8494
- readonly?: "__readonly" | undefined;
8495
- }) | undefined;
8496
- readonly hasWarnings: boolean & {
8497
- readonly?: "__readonly" | undefined;
8498
- };
8499
- example?: {
8500
- [x: string]: unknown;
8501
- } | undefined;
8502
- queriableFields?: {
8503
- name: string;
8504
- type: FieldMapType;
8505
- sortable: boolean;
8506
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8507
- readonly?: "__readonly" | undefined;
8508
- };
8509
- enum?: (string | number)[] | undefined;
8510
- required: boolean;
8511
- unique: boolean;
8512
- 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")[];
8513
- }[] | undefined;
8514
- thresholds: {
8515
- type: "too_many_invalid_entries";
8516
- value: number;
8517
- trigger: {
8518
- type: "error";
8519
- value: "too_many_invalid_entries";
8520
- };
8521
- }[] | {
8522
- type: "entries_drop_rate_too_high";
8523
- value: number;
8524
- trigger: {
8525
- type: "warning";
8526
- value: "entries_drop_rate_too_high";
8527
- } | {
8528
- type: "error";
8529
- value: "entries_drop_rate_too_high";
8530
- };
8531
- }[];
8532
- attempts?: number | undefined;
8533
- readonly lastRunAt: string & {
8534
- readonly?: "__readonly" | undefined;
8535
- };
8536
- readonly currentLiveVersion: string & {
8537
- readonly?: "__readonly" | undefined;
8538
- };
8539
- readonly pausedAt: string & {
8540
- readonly?: "__readonly" | undefined;
8541
- };
8542
- readonly isPaused: boolean & {
8543
- readonly?: "__readonly" | undefined;
8544
- };
8545
- } | {
8546
- name: string;
8547
- mode: "proxy";
8548
- status: DatasourceStatus;
8549
- readonly id: string & {
8347
+ readonly archivedAt: string & {
8550
8348
  readonly?: "__readonly" | undefined;
8551
8349
  };
8552
- companyId: string;
8553
- resourceGroupIds: string[];
8554
8350
  versions: (string | {
8555
8351
  mode: DatasourceMode;
8556
8352
  readonly id: string & {
@@ -8685,18 +8481,82 @@ export default class {
8685
8481
  _id: string;
8686
8482
  __v: number;
8687
8483
  })[];
8688
- readonly archivedAt: string & {
8484
+ readonly lastSuccessfulIngestion?: (string & {
8689
8485
  readonly?: "__readonly" | undefined;
8690
- };
8691
- readonly createdAt: string & {
8486
+ }) | undefined;
8487
+ readonly lastFailedIngestion?: (string & {
8488
+ readonly?: "__readonly" | undefined;
8489
+ }) | undefined;
8490
+ readonly lastFailureReason?: (string & {
8491
+ readonly?: "__readonly" | undefined;
8492
+ }) | undefined;
8493
+ readonly hasWarnings: boolean & {
8692
8494
  readonly?: "__readonly" | undefined;
8693
8495
  };
8694
8496
  readonly updatedAt: string & {
8695
8497
  readonly?: "__readonly" | undefined;
8696
8498
  };
8499
+ example?: {
8500
+ [x: string]: unknown;
8501
+ } | undefined;
8502
+ queriableFields?: {
8503
+ name: string;
8504
+ type: FieldMapType;
8505
+ sortable: boolean;
8506
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8507
+ readonly?: "__readonly" | undefined;
8508
+ };
8509
+ enum?: (string | number)[] | undefined;
8510
+ required: boolean;
8511
+ unique: boolean;
8512
+ 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")[];
8513
+ }[] | undefined;
8514
+ thresholds: {
8515
+ type: "too_many_invalid_entries";
8516
+ value: number;
8517
+ trigger: {
8518
+ type: "error";
8519
+ value: "too_many_invalid_entries";
8520
+ };
8521
+ }[] | {
8522
+ type: "entries_drop_rate_too_high";
8523
+ value: number;
8524
+ trigger: {
8525
+ type: "warning";
8526
+ value: "entries_drop_rate_too_high";
8527
+ } | {
8528
+ type: "error";
8529
+ value: "entries_drop_rate_too_high";
8530
+ };
8531
+ }[];
8532
+ attempts?: number | undefined;
8533
+ readonly lastRunAt: string & {
8534
+ readonly?: "__readonly" | undefined;
8535
+ };
8536
+ readonly currentLiveVersion: string & {
8537
+ readonly?: "__readonly" | undefined;
8538
+ };
8539
+ readonly pausedAt: string & {
8540
+ readonly?: "__readonly" | undefined;
8541
+ };
8542
+ readonly isPaused: boolean & {
8543
+ readonly?: "__readonly" | undefined;
8544
+ };
8545
+ } | {
8546
+ name: string;
8547
+ mode: "proxy";
8548
+ status: DatasourceStatus;
8549
+ readonly id: string & {
8550
+ readonly?: "__readonly" | undefined;
8551
+ };
8552
+ companyId: string;
8553
+ resourceGroupIds: string[];
8697
8554
  readonly configurationUpdatedAt: string & {
8698
8555
  readonly?: "__readonly" | undefined;
8699
8556
  };
8557
+ readonly createdAt: string & {
8558
+ readonly?: "__readonly" | undefined;
8559
+ };
8700
8560
  hierarchy: string[];
8701
8561
  hidden: boolean;
8702
8562
  readonly template?: (string & {
@@ -8775,42 +8635,9 @@ export default class {
8775
8635
  outputField: string;
8776
8636
  };
8777
8637
  };
8778
- readonly lastSuccessfulIngestion?: (string & {
8779
- readonly?: "__readonly" | undefined;
8780
- }) | undefined;
8781
- readonly lastFailedIngestion?: (string & {
8782
- readonly?: "__readonly" | undefined;
8783
- }) | undefined;
8784
- readonly lastFailureReason?: (string & {
8785
- readonly?: "__readonly" | undefined;
8786
- }) | undefined;
8787
- readonly hasWarnings: boolean & {
8788
- readonly?: "__readonly" | undefined;
8789
- };
8790
- example?: {
8791
- [x: string]: unknown;
8792
- } | undefined;
8793
- queriableFields?: {
8794
- name: string;
8795
- type: FieldMapType;
8796
- sortable: boolean;
8797
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8798
- readonly?: "__readonly" | undefined;
8799
- };
8800
- enum?: (string | number)[] | undefined;
8801
- required: boolean;
8802
- unique: boolean;
8803
- 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")[];
8804
- }[] | undefined;
8805
- } | {
8806
- name: string;
8807
- mode: "ingester";
8808
- status: DatasourceStatus;
8809
- readonly id: string & {
8638
+ readonly archivedAt: string & {
8810
8639
  readonly?: "__readonly" | undefined;
8811
8640
  };
8812
- companyId: string;
8813
- resourceGroupIds: string[];
8814
8641
  versions: (string | {
8815
8642
  mode: DatasourceMode;
8816
8643
  readonly id: string & {
@@ -8945,18 +8772,51 @@ export default class {
8945
8772
  _id: string;
8946
8773
  __v: number;
8947
8774
  })[];
8948
- readonly archivedAt: string & {
8775
+ readonly lastSuccessfulIngestion?: (string & {
8949
8776
  readonly?: "__readonly" | undefined;
8950
- };
8951
- readonly createdAt: string & {
8777
+ }) | undefined;
8778
+ readonly lastFailedIngestion?: (string & {
8779
+ readonly?: "__readonly" | undefined;
8780
+ }) | undefined;
8781
+ readonly lastFailureReason?: (string & {
8782
+ readonly?: "__readonly" | undefined;
8783
+ }) | undefined;
8784
+ readonly hasWarnings: boolean & {
8952
8785
  readonly?: "__readonly" | undefined;
8953
8786
  };
8954
8787
  readonly updatedAt: string & {
8955
8788
  readonly?: "__readonly" | undefined;
8956
8789
  };
8790
+ example?: {
8791
+ [x: string]: unknown;
8792
+ } | undefined;
8793
+ queriableFields?: {
8794
+ name: string;
8795
+ type: FieldMapType;
8796
+ sortable: boolean;
8797
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
8798
+ readonly?: "__readonly" | undefined;
8799
+ };
8800
+ enum?: (string | number)[] | undefined;
8801
+ required: boolean;
8802
+ unique: boolean;
8803
+ 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")[];
8804
+ }[] | undefined;
8805
+ } | {
8806
+ name: string;
8807
+ mode: "ingester";
8808
+ status: DatasourceStatus;
8809
+ readonly id: string & {
8810
+ readonly?: "__readonly" | undefined;
8811
+ };
8812
+ companyId: string;
8813
+ resourceGroupIds: string[];
8957
8814
  readonly configurationUpdatedAt: string & {
8958
8815
  readonly?: "__readonly" | undefined;
8959
8816
  };
8817
+ readonly createdAt: string & {
8818
+ readonly?: "__readonly" | undefined;
8819
+ };
8960
8820
  hierarchy: string[];
8961
8821
  hidden: boolean;
8962
8822
  readonly template?: (string & {
@@ -9056,42 +8916,9 @@ export default class {
9056
8916
  } | undefined;
9057
8917
  }[];
9058
8918
  };
9059
- readonly lastSuccessfulIngestion?: (string & {
9060
- readonly?: "__readonly" | undefined;
9061
- }) | undefined;
9062
- readonly lastFailedIngestion?: (string & {
9063
- readonly?: "__readonly" | undefined;
9064
- }) | undefined;
9065
- readonly lastFailureReason?: (string & {
9066
- readonly?: "__readonly" | undefined;
9067
- }) | undefined;
9068
- readonly hasWarnings: boolean & {
9069
- readonly?: "__readonly" | undefined;
9070
- };
9071
- example?: {
9072
- [x: string]: unknown;
9073
- } | undefined;
9074
- queriableFields?: {
9075
- name: string;
9076
- type: FieldMapType;
9077
- sortable: boolean;
9078
- readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9079
- readonly?: "__readonly" | undefined;
9080
- };
9081
- enum?: (string | number)[] | undefined;
9082
- required: boolean;
9083
- unique: boolean;
9084
- 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")[];
9085
- }[] | undefined;
9086
- } | {
9087
- name: string;
9088
- mode: "pubsub";
9089
- status: DatasourceStatus;
9090
- readonly id: string & {
8919
+ readonly archivedAt: string & {
9091
8920
  readonly?: "__readonly" | undefined;
9092
8921
  };
9093
- companyId: string;
9094
- resourceGroupIds: string[];
9095
8922
  versions: (string | {
9096
8923
  mode: DatasourceMode;
9097
8924
  readonly id: string & {
@@ -9226,18 +9053,51 @@ export default class {
9226
9053
  _id: string;
9227
9054
  __v: number;
9228
9055
  })[];
9229
- readonly archivedAt: string & {
9056
+ readonly lastSuccessfulIngestion?: (string & {
9230
9057
  readonly?: "__readonly" | undefined;
9231
- };
9232
- readonly createdAt: string & {
9058
+ }) | undefined;
9059
+ readonly lastFailedIngestion?: (string & {
9060
+ readonly?: "__readonly" | undefined;
9061
+ }) | undefined;
9062
+ readonly lastFailureReason?: (string & {
9063
+ readonly?: "__readonly" | undefined;
9064
+ }) | undefined;
9065
+ readonly hasWarnings: boolean & {
9233
9066
  readonly?: "__readonly" | undefined;
9234
9067
  };
9235
9068
  readonly updatedAt: string & {
9236
9069
  readonly?: "__readonly" | undefined;
9237
9070
  };
9071
+ example?: {
9072
+ [x: string]: unknown;
9073
+ } | undefined;
9074
+ queriableFields?: {
9075
+ name: string;
9076
+ type: FieldMapType;
9077
+ sortable: boolean;
9078
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9079
+ readonly?: "__readonly" | undefined;
9080
+ };
9081
+ enum?: (string | number)[] | undefined;
9082
+ required: boolean;
9083
+ unique: boolean;
9084
+ 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")[];
9085
+ }[] | undefined;
9086
+ } | {
9087
+ name: string;
9088
+ mode: "pubsub";
9089
+ status: DatasourceStatus;
9090
+ readonly id: string & {
9091
+ readonly?: "__readonly" | undefined;
9092
+ };
9093
+ companyId: string;
9094
+ resourceGroupIds: string[];
9238
9095
  readonly configurationUpdatedAt: string & {
9239
9096
  readonly?: "__readonly" | undefined;
9240
9097
  };
9098
+ readonly createdAt: string & {
9099
+ readonly?: "__readonly" | undefined;
9100
+ };
9241
9101
  hierarchy: string[];
9242
9102
  hidden: boolean;
9243
9103
  readonly template?: (string & {
@@ -9337,6 +9197,143 @@ export default class {
9337
9197
  } | undefined;
9338
9198
  }[];
9339
9199
  };
9200
+ readonly archivedAt: string & {
9201
+ readonly?: "__readonly" | undefined;
9202
+ };
9203
+ versions: (string | {
9204
+ mode: DatasourceMode;
9205
+ readonly id: string & {
9206
+ readonly?: "__readonly" | undefined;
9207
+ };
9208
+ type: {
9209
+ name: "analytics";
9210
+ options: {
9211
+ autoExclusions?: boolean | undefined;
9212
+ noStats?: boolean | undefined;
9213
+ };
9214
+ subtype: "purchases";
9215
+ } | {
9216
+ name: "generic";
9217
+ subtype: import("./definitions").DatasourceGenericSubType;
9218
+ } | {
9219
+ name: "crm";
9220
+ subtype: import("./definitions").DatasourceCRMSubType;
9221
+ } | {
9222
+ name: "product";
9223
+ subtype: import("./definitions").DatasourceProductSubType;
9224
+ } | {
9225
+ name: "location";
9226
+ subtype: import("./definitions").DatasourceLocationSubType;
9227
+ } | {
9228
+ name: "analytics";
9229
+ subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable";
9230
+ } | {
9231
+ name: "push";
9232
+ subtype: "email";
9233
+ } | {
9234
+ name: "loop";
9235
+ subtype: import("./definitions").DatasourceLoopSubType;
9236
+ };
9237
+ fieldsMap: {
9238
+ name: string;
9239
+ source?: FieldSource | undefined;
9240
+ type: FieldMapType;
9241
+ selected: boolean;
9242
+ ignoreIfMissing?: boolean | undefined;
9243
+ metadata?: {
9244
+ locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en" | undefined;
9245
+ } | undefined;
9246
+ readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & {
9247
+ readonly?: "__readonly" | undefined;
9248
+ };
9249
+ }[];
9250
+ readonly health: ("ERROR" | "WARNING" | "OK") & {
9251
+ readonly?: "__readonly" | undefined;
9252
+ };
9253
+ readonly state: import("./definitions").DatasourceVersionState & {
9254
+ readonly?: "__readonly" | undefined;
9255
+ };
9256
+ readonly pendingSteps?: ({
9257
+ name: "configure_name";
9258
+ } | {
9259
+ name: "configure_resource_group_ids";
9260
+ } | {
9261
+ name: "configure_sources";
9262
+ } | {
9263
+ name: "configure_fields";
9264
+ } | {
9265
+ name: "configure_field";
9266
+ field: {
9267
+ name: string;
9268
+ type: FieldMapType;
9269
+ };
9270
+ } | {
9271
+ name: "create_oauth_client";
9272
+ configurationId: string;
9273
+ } | {
9274
+ name: "authorize_oauth_client";
9275
+ slug: string;
9276
+ } | {
9277
+ name: "configure_thresholds";
9278
+ } | {
9279
+ name: "configure_api_key";
9280
+ slug: "partoo";
9281
+ } | {
9282
+ name: "patch";
9283
+ } | {
9284
+ name: "validate";
9285
+ } | {
9286
+ name: "configure_google_tag_manager";
9287
+ } | {
9288
+ name: "configure_reelevant_analytics_script";
9289
+ } | {
9290
+ name: "configure_product_datasource_source";
9291
+ } | {
9292
+ name: "configure_tracking_datasource_source";
9293
+ } | {
9294
+ name: "configure_best_product_query";
9295
+ } | {
9296
+ name: "configure_best_product_field";
9297
+ } | {
9298
+ name: "configure_fetcher";
9299
+ } | {
9300
+ name: "configure_merge_datasource_source";
9301
+ } | {
9302
+ name: "configure_merge_datasource_dependency";
9303
+ } | {
9304
+ name: "configure_merge_mapping";
9305
+ } | {
9306
+ name: "configure_bought_together";
9307
+ } | {
9308
+ name: "configure_top_attributes";
9309
+ } | {
9310
+ name: "configure_destination";
9311
+ type: "smtp";
9312
+ } | {
9313
+ name: "configure_hierarchy";
9314
+ } | {
9315
+ name: "google_my_business_set_url";
9316
+ urls: {
9317
+ getAccount: string;
9318
+ final: string;
9319
+ };
9320
+ } | {
9321
+ name: "setup_instagram";
9322
+ urls: {
9323
+ getAccount: string;
9324
+ final: string;
9325
+ getAccountInfos: string;
9326
+ };
9327
+ })[] | undefined;
9328
+ readonly availableFieldsTypes: FieldMapType[];
9329
+ readonly requiredFieldsTypes: {
9330
+ [x: string]: FieldMapType;
9331
+ }[];
9332
+ readonly uniqueFieldsTypes: FieldMapType[];
9333
+ readonly importantFieldsTypes: FieldMapType[];
9334
+ _id: string;
9335
+ __v: number;
9336
+ })[];
9340
9337
  readonly lastSuccessfulIngestion?: (string & {
9341
9338
  readonly?: "__readonly" | undefined;
9342
9339
  }) | undefined;
@@ -9349,6 +9346,9 @@ export default class {
9349
9346
  readonly hasWarnings: boolean & {
9350
9347
  readonly?: "__readonly" | undefined;
9351
9348
  };
9349
+ readonly updatedAt: string & {
9350
+ readonly?: "__readonly" | undefined;
9351
+ };
9352
9352
  example?: {
9353
9353
  [x: string]: unknown;
9354
9354
  } | undefined;
@@ -9442,8 +9442,8 @@ export default class {
9442
9442
  data: {
9443
9443
  success: boolean;
9444
9444
  steps: {
9445
- name: string;
9446
9445
  error?: string | undefined;
9446
+ name: string;
9447
9447
  status: "success" | "failed";
9448
9448
  durationMs: number;
9449
9449
  detail?: {
@@ -9871,628 +9871,17 @@ export default class {
9871
9871
  message: string;
9872
9872
  }, any, {}>>;
9873
9873
  };
9874
- get Datagraph(): {
9875
- listEntities: (params: {
9876
- name?: string | undefined;
9877
- page?: number | undefined;
9878
- perPage?: number | undefined;
9879
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9880
- paginationCount: number;
9881
- paginationPage: number;
9882
- paginationLimit: number;
9883
- } & {
9884
- status: "success";
9885
- } & {
9886
- datetime: string;
9887
- data: {
9888
- readonly id: string & {
9889
- readonly?: "__readonly" | undefined;
9890
- };
9891
- readonly companyId: string & {
9892
- readonly?: "__readonly" | undefined;
9893
- };
9894
- readonly resourceGroupIds: string[];
9895
- readonly versions: (string | {
9896
- readonly companyId: string & {
9897
- readonly?: "__readonly" | undefined;
9898
- };
9899
- readonly state: import("./definitions").DatagraphEntityVersionState & {
9900
- readonly?: "__readonly" | undefined;
9901
- };
9902
- _id: string;
9903
- __v: number;
9904
- readonly definition: {
9905
- readonly?: "__readonly" | undefined;
9906
- name: string;
9907
- description: string | null;
9908
- options: {
9909
- name: string;
9910
- index: number;
9911
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
9912
- shortDescription: string;
9913
- fullDescription: string | null;
9914
- optional?: boolean | undefined;
9915
- }[];
9916
- sql: string | null;
9917
- readonly answers: {
9918
- name: string;
9919
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
9920
- }[];
9921
- };
9922
- })[];
9923
- readonly archivedAt: string & {
9924
- readonly?: "__readonly" | undefined;
9925
- };
9926
- readonly createdAt: string & {
9927
- readonly?: "__readonly" | undefined;
9928
- };
9929
- readonly updatedAt: string & {
9930
- readonly?: "__readonly" | undefined;
9931
- };
9932
- }[];
9933
- program: string;
9934
- version: string;
9935
- status: string;
9936
- code?: number | undefined;
9937
- message: string;
9938
- }, any, {}>>;
9939
- createEntity: (params: Record<string, never>, data: {
9940
- entity: {
9941
- name: string;
9942
- description?: string | null | undefined;
9943
- options: {
9944
- name: string;
9945
- index: number;
9946
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
9947
- shortDescription: string;
9948
- fullDescription: string | null;
9949
- optional?: boolean | undefined;
9950
- }[];
9951
- sql: string | null;
9952
- };
9953
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
9954
- status: "success";
9955
- } & {
9956
- datetime: string;
9957
- data: {
9958
- readonly id: string & {
9959
- readonly?: "__readonly" | undefined;
9960
- };
9961
- readonly companyId: string & {
9962
- readonly?: "__readonly" | undefined;
9963
- };
9964
- readonly resourceGroupIds: string[];
9965
- readonly versions: (string | {
9966
- readonly companyId: string & {
9967
- readonly?: "__readonly" | undefined;
9968
- };
9969
- readonly state: import("./definitions").DatagraphEntityVersionState & {
9970
- readonly?: "__readonly" | undefined;
9971
- };
9972
- _id: string;
9973
- __v: number;
9974
- readonly definition: {
9975
- readonly?: "__readonly" | undefined;
9976
- name: string;
9977
- description: string | null;
9978
- options: {
9979
- name: string;
9980
- index: number;
9981
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
9982
- shortDescription: string;
9983
- fullDescription: string | null;
9984
- optional?: boolean | undefined;
9985
- }[];
9986
- sql: string | null;
9987
- readonly answers: {
9988
- name: string;
9989
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
9990
- }[];
9991
- };
9992
- })[];
9993
- readonly archivedAt: string & {
9994
- readonly?: "__readonly" | undefined;
9995
- };
9996
- readonly createdAt: string & {
9997
- readonly?: "__readonly" | undefined;
9998
- };
9999
- readonly updatedAt: string & {
10000
- readonly?: "__readonly" | undefined;
10001
- };
10002
- };
10003
- program: string;
10004
- version: string;
10005
- status: string;
10006
- code?: number | undefined;
10007
- message: string;
10008
- }, any, {}>>;
10009
- getEntity: (params: {
10010
- id: string;
10011
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10012
- status: "success";
10013
- } & {
10014
- datetime: string;
10015
- data: {
10016
- readonly id: string & {
10017
- readonly?: "__readonly" | undefined;
10018
- };
10019
- readonly companyId: string & {
10020
- readonly?: "__readonly" | undefined;
10021
- };
10022
- readonly resourceGroupIds: string[];
10023
- readonly versions: (string | {
10024
- readonly companyId: string & {
10025
- readonly?: "__readonly" | undefined;
10026
- };
10027
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10028
- readonly?: "__readonly" | undefined;
10029
- };
10030
- _id: string;
10031
- __v: number;
10032
- readonly definition: {
10033
- readonly?: "__readonly" | undefined;
10034
- name: string;
10035
- description: string | null;
10036
- options: {
10037
- name: string;
10038
- index: number;
10039
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10040
- shortDescription: string;
10041
- fullDescription: string | null;
10042
- optional?: boolean | undefined;
10043
- }[];
10044
- sql: string | null;
10045
- readonly answers: {
10046
- name: string;
10047
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10048
- }[];
10049
- };
10050
- })[];
10051
- readonly archivedAt: string & {
10052
- readonly?: "__readonly" | undefined;
10053
- };
10054
- readonly createdAt: string & {
10055
- readonly?: "__readonly" | undefined;
10056
- };
10057
- readonly updatedAt: string & {
10058
- readonly?: "__readonly" | undefined;
10059
- };
10060
- };
10061
- program: string;
10062
- version: string;
10063
- status: string;
10064
- code?: number | undefined;
10065
- message: string;
10066
- }, any, {}>>;
10067
- updateEntity: (params: {
10068
- id: string;
10069
- }, data: {
10070
- entity: {
10071
- name: string;
10072
- description?: string | null | undefined;
10073
- options: {
10074
- name: string;
10075
- index: number;
10076
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10077
- shortDescription: string;
10078
- fullDescription: string | null;
10079
- optional?: boolean | undefined;
10080
- }[];
10081
- sql: string | null;
10082
- };
10083
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10084
- status: "success";
10085
- } & {
10086
- datetime: string;
10087
- data: {
10088
- readonly id: string & {
10089
- readonly?: "__readonly" | undefined;
10090
- };
10091
- readonly companyId: string & {
10092
- readonly?: "__readonly" | undefined;
10093
- };
10094
- readonly resourceGroupIds: string[];
10095
- readonly versions: (string | {
10096
- readonly companyId: string & {
10097
- readonly?: "__readonly" | undefined;
10098
- };
10099
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10100
- readonly?: "__readonly" | undefined;
10101
- };
10102
- _id: string;
10103
- __v: number;
10104
- readonly definition: {
10105
- readonly?: "__readonly" | undefined;
10106
- name: string;
10107
- description: string | null;
10108
- options: {
10109
- name: string;
10110
- index: number;
10111
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10112
- shortDescription: string;
10113
- fullDescription: string | null;
10114
- optional?: boolean | undefined;
10115
- }[];
10116
- sql: string | null;
10117
- readonly answers: {
10118
- name: string;
10119
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10120
- }[];
10121
- };
10122
- })[];
10123
- readonly archivedAt: string & {
10124
- readonly?: "__readonly" | undefined;
10125
- };
10126
- readonly createdAt: string & {
10127
- readonly?: "__readonly" | undefined;
10128
- };
10129
- readonly updatedAt: string & {
10130
- readonly?: "__readonly" | undefined;
10131
- };
10132
- };
10133
- program: string;
10134
- version: string;
10135
- status: string;
10136
- code?: number | undefined;
10137
- message: string;
10138
- }, any, {}>>;
10139
- deleteEntity: (params: {
10140
- id: string;
10141
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10142
- publishEntity: (params: {
9874
+ get DatasourceSteps(): {
9875
+ getCurrentStepDatasource: (params: {
10143
9876
  id: string;
10144
9877
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10145
9878
  status: "success";
10146
9879
  } & {
10147
9880
  datetime: string;
10148
9881
  data: {
10149
- readonly id: string & {
10150
- readonly?: "__readonly" | undefined;
10151
- };
10152
- readonly companyId: string & {
10153
- readonly?: "__readonly" | undefined;
10154
- };
10155
- readonly resourceGroupIds: string[];
10156
- readonly versions: (string | {
10157
- readonly companyId: string & {
10158
- readonly?: "__readonly" | undefined;
10159
- };
10160
- readonly state: import("./definitions").DatagraphEntityVersionState & {
10161
- readonly?: "__readonly" | undefined;
10162
- };
10163
- _id: string;
10164
- __v: number;
10165
- readonly definition: {
10166
- readonly?: "__readonly" | undefined;
10167
- name: string;
10168
- description: string | null;
10169
- options: {
10170
- name: string;
10171
- index: number;
10172
- primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
10173
- shortDescription: string;
10174
- fullDescription: string | null;
10175
- optional?: boolean | undefined;
10176
- }[];
10177
- sql: string | null;
10178
- readonly answers: {
10179
- name: string;
10180
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10181
- }[];
10182
- };
10183
- })[];
10184
- readonly archivedAt: string & {
10185
- readonly?: "__readonly" | undefined;
10186
- };
10187
- readonly createdAt: string & {
10188
- readonly?: "__readonly" | undefined;
10189
- };
10190
- readonly updatedAt: string & {
10191
- readonly?: "__readonly" | undefined;
10192
- };
10193
- };
10194
- program: string;
10195
- version: string;
10196
- status: string;
10197
- code?: number | undefined;
10198
- message: string;
10199
- }, any, {}>>;
10200
- listSchemas: (params: {
10201
- page?: number | undefined;
10202
- perPage?: number | undefined;
10203
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10204
- paginationCount: number;
10205
- paginationPage: number;
10206
- paginationLimit: number;
10207
- } & {
10208
- status: "success";
10209
- } & {
10210
- datetime: string;
10211
- data: {
10212
- readonly companyId: string & {
10213
- readonly?: "__readonly" | undefined;
10214
- };
10215
- readonly resourceGroupIds: string[];
10216
- readonly versions: (string | {
10217
- readonly companyId: string & {
10218
- readonly?: "__readonly" | undefined;
10219
- };
10220
- readonly state: import("./definitions").DatagraphSchemaVersionState & {
10221
- readonly?: "__readonly" | undefined;
10222
- };
10223
- _id: string;
10224
- __v: number;
10225
- readonly definition: {
10226
- name: string;
10227
- description?: string | undefined;
10228
- relations?: {
10229
- description?: string | undefined;
10230
- type: "Relation";
10231
- columns: string[];
10232
- reference: {
10233
- datasourceId: string;
10234
- table: string;
10235
- columns: string[];
10236
- };
10237
- }[] | undefined;
10238
- datasourceId: string;
10239
- indexes?: {
10240
- description?: string | undefined;
10241
- type: "Index";
10242
- columns: string[];
10243
- }[] | undefined;
10244
- columns: {
10245
- name: string;
10246
- description?: string | undefined;
10247
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10248
- default?: string | number | boolean | undefined;
10249
- }[];
10250
- virtualColumns?: {
10251
- query: string;
10252
- name: string;
10253
- description?: string | undefined;
10254
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10255
- }[] | undefined;
10256
- uniqueKeys?: {
10257
- description?: string | undefined;
10258
- type: "UniqueKey";
10259
- columns: string[];
10260
- }[] | undefined;
10261
- }[];
10262
- })[];
10263
- archivedAt: string | null;
10264
- }[];
10265
- program: string;
10266
- version: string;
10267
- status: string;
10268
- code?: number | undefined;
10269
- message: string;
10270
- }, any, {}>>;
10271
- createSchema: (params: Record<string, never>, data: {
10272
- schema: {
10273
- name: string;
10274
- description?: string | undefined;
10275
- relations?: {
10276
- description?: string | undefined;
10277
- type: "Relation";
10278
- columns: string[];
10279
- reference: {
10280
- datasourceId: string;
10281
- table: string;
10282
- columns: string[];
10283
- };
10284
- }[] | undefined;
10285
- datasourceId: string;
10286
- indexes?: {
10287
- description?: string | undefined;
10288
- type: "Index";
10289
- columns: string[];
10290
- }[] | undefined;
10291
- columns: {
10292
- name: string;
10293
- description?: string | undefined;
10294
- type: FieldMapType;
10295
- default?: string | number | boolean | undefined;
10296
- }[];
10297
- virtualColumns?: {
10298
- query: string;
10299
- name: string;
10300
- description?: string | undefined;
10301
- type: FieldMapType;
10302
- }[] | undefined;
10303
- uniqueKeys?: {
10304
- description?: string | undefined;
10305
- type: "UniqueKey";
10306
- columns: string[];
10307
- }[] | undefined;
10308
- }[];
10309
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10310
- status: "success";
10311
- } & {
10312
- datetime: string;
10313
- data: {
10314
- [x: string]: unknown;
10315
- };
10316
- program: string;
10317
- version: string;
10318
- status: string;
10319
- code?: number | undefined;
10320
- message: string;
10321
- }, any, {}>>;
10322
- validateSchema: (params: Record<string, never>, data: {
10323
- schema: unknown;
10324
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10325
- status: "success";
10326
- } & {
10327
- datetime: string;
10328
- data: {
10329
- validation: {
10330
- success: true;
10331
- data: {
10332
- name: string;
10333
- description?: string | undefined;
10334
- relations?: {
10335
- description?: string | undefined;
10336
- type: "Relation";
10337
- columns: string[];
10338
- reference: {
10339
- datasourceId: string;
10340
- table: string;
10341
- columns: string[];
10342
- };
10343
- }[] | undefined;
10344
- datasourceId: string;
10345
- indexes?: {
10346
- description?: string | undefined;
10347
- type: "Index";
10348
- columns: string[];
10349
- }[] | undefined;
10350
- columns: {
10351
- name: string;
10352
- description?: string | undefined;
10353
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10354
- default?: string | number | boolean | undefined;
10355
- }[];
10356
- virtualColumns?: {
10357
- query: string;
10358
- name: string;
10359
- description?: string | undefined;
10360
- type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "name" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
10361
- }[] | undefined;
10362
- uniqueKeys?: {
10363
- description?: string | undefined;
10364
- type: "UniqueKey";
10365
- columns: string[];
10366
- }[] | undefined;
10367
- }[];
10368
- } | {
10369
- success: false;
10370
- error: {
10371
- issues: {
10372
- path: (string | number)[];
10373
- code: string;
10374
- message: string;
10375
- }[];
10376
- };
10377
- };
10378
- relations: {
10379
- error?: string | undefined;
10380
- fromDatasourceId: string;
10381
- fromTable: string;
10382
- fromColumn: string;
10383
- fromDistinctCount: number | null;
10384
- toDatasourceId: string;
10385
- toTable: string;
10386
- toColumn: string;
10387
- toDistinctCount: number | null;
10388
- matchCount: number | null;
10389
- matchPercentage: number | null;
10390
- }[];
10391
- };
10392
- program: string;
10393
- version: string;
10394
- status: string;
10395
- code?: number | undefined;
10396
- message: string;
10397
- }, any, {}>>;
10398
- getSchema: (params: {
10399
- id: string;
10400
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10401
- status: "success";
10402
- } & {
10403
- datetime: string;
10404
- data: {
10405
- [x: string]: unknown;
10406
- };
10407
- program: string;
10408
- version: string;
10409
- status: string;
10410
- code?: number | undefined;
10411
- message: string;
10412
- }, any, {}>>;
10413
- updateSchema: (params: {
10414
- id: string;
10415
- }, data: {
10416
- schema: {
10417
- name: string;
10418
- description?: string | undefined;
10419
- relations?: {
10420
- description?: string | undefined;
10421
- type: "Relation";
10422
- columns: string[];
10423
- reference: {
10424
- datasourceId: string;
10425
- table: string;
10426
- columns: string[];
10427
- };
10428
- }[] | undefined;
10429
- datasourceId: string;
10430
- indexes?: {
10431
- description?: string | undefined;
10432
- type: "Index";
10433
- columns: string[];
10434
- }[] | undefined;
10435
- columns: {
10436
- name: string;
10437
- description?: string | undefined;
10438
- type: FieldMapType;
10439
- default?: string | number | boolean | undefined;
10440
- }[];
10441
- virtualColumns?: {
10442
- query: string;
10443
- name: string;
10444
- description?: string | undefined;
10445
- type: FieldMapType;
10446
- }[] | undefined;
10447
- uniqueKeys?: {
10448
- description?: string | undefined;
10449
- type: "UniqueKey";
10450
- columns: string[];
10451
- }[] | undefined;
10452
- }[];
10453
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10454
- status: "success";
10455
- } & {
10456
- datetime: string;
10457
- data: {
10458
- [x: string]: unknown;
10459
- };
10460
- program: string;
10461
- version: string;
10462
- status: string;
10463
- code?: number | undefined;
10464
- message: string;
10465
- }, any, {}>>;
10466
- deleteSchema: (params: {
10467
- id: string;
10468
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10469
- publishSchema: (params: {
10470
- id: string;
10471
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10472
- status: "success";
10473
- } & {
10474
- datetime: string;
10475
- data: {
10476
- [x: string]: unknown;
10477
- };
10478
- program: string;
10479
- version: string;
10480
- status: string;
10481
- code?: number | undefined;
10482
- message: string;
10483
- }, any, {}>>;
10484
- };
10485
- get DatasourceSteps(): {
10486
- getCurrentStepDatasource: (params: {
10487
- id: string;
10488
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
10489
- status: "success";
10490
- } & {
10491
- datetime: string;
10492
- data: {
10493
- current: {
10494
- name: "configure_name";
10495
- value?: string | undefined;
9882
+ current: {
9883
+ name: "configure_name";
9884
+ value?: string | undefined;
10496
9885
  } | {
10497
9886
  name: "configure_resource_group_ids";
10498
9887
  value?: string[] | undefined;
@@ -11376,8 +10765,8 @@ export default class {
11376
10765
  query?: string | undefined;
11377
10766
  username: string;
11378
10767
  password?: string | undefined;
11379
- schema: string;
11380
10768
  privateKey?: string | undefined;
10769
+ schema: string;
11381
10770
  table: string;
11382
10771
  account: string;
11383
10772
  warehouse: string;
@@ -12590,8 +11979,8 @@ export default class {
12590
11979
  query?: string | undefined;
12591
11980
  username: string;
12592
11981
  password?: string | undefined;
12593
- schema: string;
12594
11982
  privateKey?: string | undefined;
11983
+ schema: string;
12595
11984
  table: string;
12596
11985
  account: string;
12597
11986
  warehouse: string;
@@ -14413,8 +13802,8 @@ export default class {
14413
13802
  query?: string | undefined;
14414
13803
  username: string;
14415
13804
  password?: string | undefined;
14416
- schema: string;
14417
13805
  privateKey?: string | undefined;
13806
+ schema: string;
14418
13807
  table: string;
14419
13808
  account: string;
14420
13809
  warehouse: string;
@@ -15627,8 +15016,8 @@ export default class {
15627
15016
  query?: string | undefined;
15628
15017
  username: string;
15629
15018
  password?: string | undefined;
15630
- schema: string;
15631
15019
  privateKey?: string | undefined;
15020
+ schema: string;
15632
15021
  table: string;
15633
15022
  account: string;
15634
15023
  warehouse: string;
@@ -18170,8 +17559,8 @@ export default class {
18170
17559
  query?: string | undefined;
18171
17560
  username: string;
18172
17561
  password?: string | undefined;
18173
- schema: string;
18174
17562
  privateKey?: string | undefined;
17563
+ schema: string;
18175
17564
  table: string;
18176
17565
  account: string;
18177
17566
  warehouse: string;
@@ -19384,8 +18773,8 @@ export default class {
19384
18773
  query?: string | undefined;
19385
18774
  username: string;
19386
18775
  password?: string | undefined;
19387
- schema: string;
19388
18776
  privateKey?: string | undefined;
18777
+ schema: string;
19389
18778
  table: string;
19390
18779
  account: string;
19391
18780
  warehouse: string;
@@ -21598,8 +20987,8 @@ export default class {
21598
20987
  query?: string | undefined;
21599
20988
  username: string;
21600
20989
  password?: string | undefined;
21601
- schema: string;
21602
20990
  privateKey?: string | undefined;
20991
+ schema: string;
21603
20992
  table: string;
21604
20993
  account: string;
21605
20994
  warehouse: string;
@@ -22812,8 +22201,8 @@ export default class {
22812
22201
  query?: string | undefined;
22813
22202
  username: string;
22814
22203
  password?: string | undefined;
22815
- schema: string;
22816
22204
  privateKey?: string | undefined;
22205
+ schema: string;
22817
22206
  table: string;
22818
22207
  account: string;
22819
22208
  warehouse: string;
@@ -24635,8 +24024,8 @@ export default class {
24635
24024
  query?: string | undefined;
24636
24025
  username: string;
24637
24026
  password?: string | undefined;
24638
- schema: string;
24639
24027
  privateKey?: string | undefined;
24028
+ schema: string;
24640
24029
  table: string;
24641
24030
  account: string;
24642
24031
  warehouse: string;
@@ -25849,8 +25238,8 @@ export default class {
25849
25238
  query?: string | undefined;
25850
25239
  username: string;
25851
25240
  password?: string | undefined;
25852
- schema: string;
25853
25241
  privateKey?: string | undefined;
25242
+ schema: string;
25854
25243
  table: string;
25855
25244
  account: string;
25856
25245
  warehouse: string;
@@ -28392,8 +27781,8 @@ export default class {
28392
27781
  query?: string | undefined;
28393
27782
  username: string;
28394
27783
  password?: string | undefined;
28395
- schema: string;
28396
27784
  privateKey?: string | undefined;
27785
+ schema: string;
28397
27786
  table: string;
28398
27787
  account: string;
28399
27788
  warehouse: string;
@@ -29606,8 +28995,8 @@ export default class {
29606
28995
  query?: string | undefined;
29607
28996
  username: string;
29608
28997
  password?: string | undefined;
29609
- schema: string;
29610
28998
  privateKey?: string | undefined;
28999
+ schema: string;
29611
29000
  table: string;
29612
29001
  account: string;
29613
29002
  warehouse: string;
@@ -31820,8 +31209,8 @@ export default class {
31820
31209
  query?: string | undefined;
31821
31210
  username: string;
31822
31211
  password?: string | undefined;
31823
- schema: string;
31824
31212
  privateKey?: string | undefined;
31213
+ schema: string;
31825
31214
  table: string;
31826
31215
  account: string;
31827
31216
  warehouse: string;
@@ -33034,8 +32423,8 @@ export default class {
33034
32423
  query?: string | undefined;
33035
32424
  username: string;
33036
32425
  password?: string | undefined;
33037
- schema: string;
33038
32426
  privateKey?: string | undefined;
32427
+ schema: string;
33039
32428
  table: string;
33040
32429
  account: string;
33041
32430
  warehouse: string;
@@ -34857,8 +34246,8 @@ export default class {
34857
34246
  query?: string | undefined;
34858
34247
  username: string;
34859
34248
  password?: string | undefined;
34860
- schema: string;
34861
34249
  privateKey?: string | undefined;
34250
+ schema: string;
34862
34251
  table: string;
34863
34252
  account: string;
34864
34253
  warehouse: string;
@@ -36071,8 +35460,8 @@ export default class {
36071
35460
  query?: string | undefined;
36072
35461
  username: string;
36073
35462
  password?: string | undefined;
36074
- schema: string;
36075
35463
  privateKey?: string | undefined;
35464
+ schema: string;
36076
35465
  table: string;
36077
35466
  account: string;
36078
35467
  warehouse: string;
@@ -38614,8 +38003,8 @@ export default class {
38614
38003
  query?: string | undefined;
38615
38004
  username: string;
38616
38005
  password?: string | undefined;
38617
- schema: string;
38618
38006
  privateKey?: string | undefined;
38007
+ schema: string;
38619
38008
  table: string;
38620
38009
  account: string;
38621
38010
  warehouse: string;
@@ -39828,8 +39217,8 @@ export default class {
39828
39217
  query?: string | undefined;
39829
39218
  username: string;
39830
39219
  password?: string | undefined;
39831
- schema: string;
39832
39220
  privateKey?: string | undefined;
39221
+ schema: string;
39833
39222
  table: string;
39834
39223
  account: string;
39835
39224
  warehouse: string;
@@ -42042,8 +41431,8 @@ export default class {
42042
41431
  query?: string | undefined;
42043
41432
  username: string;
42044
41433
  password?: string | undefined;
42045
- schema: string;
42046
41434
  privateKey?: string | undefined;
41435
+ schema: string;
42047
41436
  table: string;
42048
41437
  account: string;
42049
41438
  warehouse: string;
@@ -43256,8 +42645,8 @@ export default class {
43256
42645
  query?: string | undefined;
43257
42646
  username: string;
43258
42647
  password?: string | undefined;
43259
- schema: string;
43260
42648
  privateKey?: string | undefined;
42649
+ schema: string;
43261
42650
  table: string;
43262
42651
  account: string;
43263
42652
  warehouse: string;
@@ -45079,8 +44468,8 @@ export default class {
45079
44468
  query?: string | undefined;
45080
44469
  username: string;
45081
44470
  password?: string | undefined;
45082
- schema: string;
45083
44471
  privateKey?: string | undefined;
44472
+ schema: string;
45084
44473
  table: string;
45085
44474
  account: string;
45086
44475
  warehouse: string;
@@ -46293,8 +45682,8 @@ export default class {
46293
45682
  query?: string | undefined;
46294
45683
  username: string;
46295
45684
  password?: string | undefined;
46296
- schema: string;
46297
45685
  privateKey?: string | undefined;
45686
+ schema: string;
46298
45687
  table: string;
46299
45688
  account: string;
46300
45689
  warehouse: string;
@@ -48836,8 +48225,8 @@ export default class {
48836
48225
  query?: string | undefined;
48837
48226
  username: string;
48838
48227
  password?: string | undefined;
48839
- schema: string;
48840
48228
  privateKey?: string | undefined;
48229
+ schema: string;
48841
48230
  table: string;
48842
48231
  account: string;
48843
48232
  warehouse: string;
@@ -50050,8 +49439,8 @@ export default class {
50050
49439
  query?: string | undefined;
50051
49440
  username: string;
50052
49441
  password?: string | undefined;
50053
- schema: string;
50054
49442
  privateKey?: string | undefined;
49443
+ schema: string;
50055
49444
  table: string;
50056
49445
  account: string;
50057
49446
  warehouse: string;
@@ -52274,8 +51663,8 @@ export default class {
52274
51663
  query?: string | undefined;
52275
51664
  username: string;
52276
51665
  password?: string | undefined;
52277
- schema: string;
52278
51666
  privateKey?: string | undefined;
51667
+ schema: string;
52279
51668
  table: string;
52280
51669
  account: string;
52281
51670
  warehouse: string;
@@ -53494,8 +52883,8 @@ export default class {
53494
52883
  query?: string | undefined;
53495
52884
  username: string;
53496
52885
  password?: string | undefined;
53497
- schema: string;
53498
52886
  privateKey?: string | undefined;
52887
+ schema: string;
53499
52888
  table: string;
53500
52889
  account: string;
53501
52890
  warehouse: string;
@@ -55321,8 +54710,8 @@ export default class {
55321
54710
  query?: string | undefined;
55322
54711
  username: string;
55323
54712
  password?: string | undefined;
55324
- schema: string;
55325
54713
  privateKey?: string | undefined;
54714
+ schema: string;
55326
54715
  table: string;
55327
54716
  account: string;
55328
54717
  warehouse: string;
@@ -56541,8 +55930,8 @@ export default class {
56541
55930
  query?: string | undefined;
56542
55931
  username: string;
56543
55932
  password?: string | undefined;
56544
- schema: string;
56545
55933
  privateKey?: string | undefined;
55934
+ schema: string;
56546
55935
  table: string;
56547
55936
  account: string;
56548
55937
  warehouse: string;
@@ -59087,8 +58476,8 @@ export default class {
59087
58476
  query?: string | undefined;
59088
58477
  username: string;
59089
58478
  password?: string | undefined;
59090
- schema: string;
59091
58479
  privateKey?: string | undefined;
58480
+ schema: string;
59092
58481
  table: string;
59093
58482
  account: string;
59094
58483
  warehouse: string;
@@ -60307,8 +59696,8 @@ export default class {
60307
59696
  query?: string | undefined;
60308
59697
  username: string;
60309
59698
  password?: string | undefined;
60310
- schema: string;
60311
59699
  privateKey?: string | undefined;
59700
+ schema: string;
60312
59701
  table: string;
60313
59702
  account: string;
60314
59703
  warehouse: string;
@@ -61518,102 +60907,6 @@ export default class {
61518
60907
  code?: number | undefined;
61519
60908
  message: string;
61520
60909
  }, any, {}>>;
61521
- uploadFile: (params: {
61522
- id: string;
61523
- }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61524
- status: "success";
61525
- } & {
61526
- datetime: string;
61527
- data: {
61528
- path: string;
61529
- bucket: string;
61530
- format: {
61531
- options: {
61532
- csvDelimiter?: string | undefined;
61533
- csvColumns?: string[] | undefined;
61534
- };
61535
- type: "csv";
61536
- } | {
61537
- options: unknown;
61538
- type: "ndjson";
61539
- } | {
61540
- options: {
61541
- rootPath: string;
61542
- };
61543
- type: "json";
61544
- } | {
61545
- options: {
61546
- rootPath: string;
61547
- };
61548
- type: "xml";
61549
- } | {
61550
- options: unknown;
61551
- type: "xlsx";
61552
- } | {
61553
- options: {
61554
- version?: string | undefined;
61555
- columnsList?: string[] | undefined;
61556
- };
61557
- type: "parquet";
61558
- } | {
61559
- options: unknown;
61560
- type: "avro";
61561
- };
61562
- textEncoding: string;
61563
- pgpPrivateKey?: string | undefined;
61564
- pgpPassphrase?: string | undefined;
61565
- };
61566
- program: string;
61567
- version: string;
61568
- status: string;
61569
- code?: number | undefined;
61570
- message: string;
61571
- }, any, {}>>;
61572
- promote: (params: {
61573
- id: string;
61574
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61575
- status: "success";
61576
- } & {
61577
- datetime: string;
61578
- data: {
61579
- [x: string]: unknown;
61580
- };
61581
- program: string;
61582
- version: string;
61583
- status: string;
61584
- code?: number | undefined;
61585
- message: string;
61586
- }, any, {}>>;
61587
- pause: (params: {
61588
- id: string;
61589
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61590
- status: "success";
61591
- } & {
61592
- datetime: string;
61593
- data: {
61594
- [x: string]: unknown;
61595
- };
61596
- program: string;
61597
- version: string;
61598
- status: string;
61599
- code?: number | undefined;
61600
- message: string;
61601
- }, any, {}>>;
61602
- getPushPassword: (params: {
61603
- id: string;
61604
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61605
- status: "success";
61606
- } & {
61607
- datetime: string;
61608
- data: {
61609
- password: string;
61610
- };
61611
- program: string;
61612
- version: string;
61613
- status: string;
61614
- code?: number | undefined;
61615
- message: string;
61616
- }, any, {}>>;
61617
60910
  analyze: (params: {
61618
60911
  id: string;
61619
60912
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -61795,6 +61088,102 @@ export default class {
61795
61088
  code?: number | undefined;
61796
61089
  message: string;
61797
61090
  }, any, {}>>;
61091
+ uploadFile: (params: {
61092
+ id: string;
61093
+ }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61094
+ status: "success";
61095
+ } & {
61096
+ datetime: string;
61097
+ data: {
61098
+ path: string;
61099
+ bucket: string;
61100
+ format: {
61101
+ options: {
61102
+ csvDelimiter?: string | undefined;
61103
+ csvColumns?: string[] | undefined;
61104
+ };
61105
+ type: "csv";
61106
+ } | {
61107
+ options: unknown;
61108
+ type: "ndjson";
61109
+ } | {
61110
+ options: {
61111
+ rootPath: string;
61112
+ };
61113
+ type: "json";
61114
+ } | {
61115
+ options: {
61116
+ rootPath: string;
61117
+ };
61118
+ type: "xml";
61119
+ } | {
61120
+ options: unknown;
61121
+ type: "xlsx";
61122
+ } | {
61123
+ options: {
61124
+ version?: string | undefined;
61125
+ columnsList?: string[] | undefined;
61126
+ };
61127
+ type: "parquet";
61128
+ } | {
61129
+ options: unknown;
61130
+ type: "avro";
61131
+ };
61132
+ textEncoding: string;
61133
+ pgpPrivateKey?: string | undefined;
61134
+ pgpPassphrase?: string | undefined;
61135
+ };
61136
+ program: string;
61137
+ version: string;
61138
+ status: string;
61139
+ code?: number | undefined;
61140
+ message: string;
61141
+ }, any, {}>>;
61142
+ promote: (params: {
61143
+ id: string;
61144
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61145
+ status: "success";
61146
+ } & {
61147
+ datetime: string;
61148
+ data: {
61149
+ [x: string]: unknown;
61150
+ };
61151
+ program: string;
61152
+ version: string;
61153
+ status: string;
61154
+ code?: number | undefined;
61155
+ message: string;
61156
+ }, any, {}>>;
61157
+ pause: (params: {
61158
+ id: string;
61159
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61160
+ status: "success";
61161
+ } & {
61162
+ datetime: string;
61163
+ data: {
61164
+ [x: string]: unknown;
61165
+ };
61166
+ program: string;
61167
+ version: string;
61168
+ status: string;
61169
+ code?: number | undefined;
61170
+ message: string;
61171
+ }, any, {}>>;
61172
+ getPushPassword: (params: {
61173
+ id: string;
61174
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61175
+ status: "success";
61176
+ } & {
61177
+ datetime: string;
61178
+ data: {
61179
+ password: string;
61180
+ };
61181
+ program: string;
61182
+ version: string;
61183
+ status: string;
61184
+ code?: number | undefined;
61185
+ message: string;
61186
+ }, any, {}>>;
61798
61187
  };
61799
61188
  get ProxyDatasource(): {
61800
61189
  analyze: (params: {
@@ -61979,4 +61368,637 @@ export default class {
61979
61368
  message: string;
61980
61369
  }, any, {}>>;
61981
61370
  };
61371
+ get Datagraph(): {
61372
+ listSchemas: (params: {
61373
+ page?: number | undefined;
61374
+ perPage?: number | undefined;
61375
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61376
+ paginationCount: number;
61377
+ paginationPage: number;
61378
+ paginationLimit: number;
61379
+ } & {
61380
+ status: "success";
61381
+ } & {
61382
+ datetime: string;
61383
+ data: {
61384
+ readonly companyId: string & {
61385
+ readonly?: "__readonly" | undefined;
61386
+ };
61387
+ readonly resourceGroupIds: string[];
61388
+ archivedAt: string | null;
61389
+ readonly versions: (string | {
61390
+ readonly companyId: string & {
61391
+ readonly?: "__readonly" | undefined;
61392
+ };
61393
+ readonly state: import("./definitions").DatagraphSchemaVersionState & {
61394
+ readonly?: "__readonly" | undefined;
61395
+ };
61396
+ _id: string;
61397
+ __v: number;
61398
+ readonly definition: {
61399
+ name: string;
61400
+ description?: string | undefined;
61401
+ relations?: {
61402
+ description?: string | undefined;
61403
+ type: "Relation";
61404
+ columns: string[];
61405
+ reference: {
61406
+ datasourceId: string;
61407
+ table: string;
61408
+ columns: string[];
61409
+ };
61410
+ }[] | undefined;
61411
+ datasourceId: string;
61412
+ indexes?: {
61413
+ description?: string | undefined;
61414
+ type: "Index";
61415
+ columns: string[];
61416
+ }[] | undefined;
61417
+ columns: {
61418
+ name: string;
61419
+ description?: string | undefined;
61420
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61421
+ default?: string | number | boolean | undefined;
61422
+ }[];
61423
+ virtualColumns?: {
61424
+ query: string;
61425
+ name: string;
61426
+ description?: string | undefined;
61427
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61428
+ }[] | undefined;
61429
+ uniqueKeys?: {
61430
+ description?: string | undefined;
61431
+ type: "UniqueKey";
61432
+ columns: string[];
61433
+ }[] | undefined;
61434
+ }[];
61435
+ })[];
61436
+ }[];
61437
+ program: string;
61438
+ version: string;
61439
+ status: string;
61440
+ code?: number | undefined;
61441
+ message: string;
61442
+ }, any, {}>>;
61443
+ createSchema: (params: Record<string, never>, data: {
61444
+ schema: {
61445
+ name: string;
61446
+ description?: string | undefined;
61447
+ relations?: {
61448
+ description?: string | undefined;
61449
+ type: "Relation";
61450
+ columns: string[];
61451
+ reference: {
61452
+ datasourceId: string;
61453
+ table: string;
61454
+ columns: string[];
61455
+ };
61456
+ }[] | undefined;
61457
+ datasourceId: string;
61458
+ indexes?: {
61459
+ description?: string | undefined;
61460
+ type: "Index";
61461
+ columns: string[];
61462
+ }[] | undefined;
61463
+ columns: {
61464
+ name: string;
61465
+ description?: string | undefined;
61466
+ type: FieldMapType;
61467
+ default?: string | number | boolean | undefined;
61468
+ }[];
61469
+ virtualColumns?: {
61470
+ query: string;
61471
+ name: string;
61472
+ description?: string | undefined;
61473
+ type: FieldMapType;
61474
+ }[] | undefined;
61475
+ uniqueKeys?: {
61476
+ description?: string | undefined;
61477
+ type: "UniqueKey";
61478
+ columns: string[];
61479
+ }[] | undefined;
61480
+ }[];
61481
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61482
+ status: "success";
61483
+ } & {
61484
+ datetime: string;
61485
+ data: {
61486
+ [x: string]: unknown;
61487
+ };
61488
+ program: string;
61489
+ version: string;
61490
+ status: string;
61491
+ code?: number | undefined;
61492
+ message: string;
61493
+ }, any, {}>>;
61494
+ validateSchema: (params: Record<string, never>, data: {
61495
+ schema: unknown;
61496
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61497
+ status: "success";
61498
+ } & {
61499
+ datetime: string;
61500
+ data: {
61501
+ validation: {
61502
+ success: true;
61503
+ data: {
61504
+ name: string;
61505
+ description?: string | undefined;
61506
+ relations?: {
61507
+ description?: string | undefined;
61508
+ type: "Relation";
61509
+ columns: string[];
61510
+ reference: {
61511
+ datasourceId: string;
61512
+ table: string;
61513
+ columns: string[];
61514
+ };
61515
+ }[] | undefined;
61516
+ datasourceId: string;
61517
+ indexes?: {
61518
+ description?: string | undefined;
61519
+ type: "Index";
61520
+ columns: string[];
61521
+ }[] | undefined;
61522
+ columns: {
61523
+ name: string;
61524
+ description?: string | undefined;
61525
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61526
+ default?: string | number | boolean | undefined;
61527
+ }[];
61528
+ virtualColumns?: {
61529
+ query: string;
61530
+ name: string;
61531
+ description?: string | undefined;
61532
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61533
+ }[] | undefined;
61534
+ uniqueKeys?: {
61535
+ description?: string | undefined;
61536
+ type: "UniqueKey";
61537
+ columns: string[];
61538
+ }[] | undefined;
61539
+ }[];
61540
+ } | {
61541
+ success: false;
61542
+ error: {
61543
+ issues: {
61544
+ path: (string | number)[];
61545
+ code: string;
61546
+ message: string;
61547
+ }[];
61548
+ };
61549
+ };
61550
+ relations: {
61551
+ error?: string | undefined;
61552
+ fromDatasourceId: string;
61553
+ fromTable: string;
61554
+ fromColumn: string;
61555
+ fromDistinctCount: number | null;
61556
+ toDatasourceId: string;
61557
+ toTable: string;
61558
+ toColumn: string;
61559
+ toDistinctCount: number | null;
61560
+ matchCount: number | null;
61561
+ matchPercentage: number | null;
61562
+ }[];
61563
+ };
61564
+ program: string;
61565
+ version: string;
61566
+ status: string;
61567
+ code?: number | undefined;
61568
+ message: string;
61569
+ }, any, {}>>;
61570
+ getSchema: (params: {
61571
+ id: string;
61572
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61573
+ status: "success";
61574
+ } & {
61575
+ datetime: string;
61576
+ data: {
61577
+ [x: string]: unknown;
61578
+ };
61579
+ program: string;
61580
+ version: string;
61581
+ status: string;
61582
+ code?: number | undefined;
61583
+ message: string;
61584
+ }, any, {}>>;
61585
+ updateSchema: (params: {
61586
+ id: string;
61587
+ }, data: {
61588
+ schema: {
61589
+ name: string;
61590
+ description?: string | undefined;
61591
+ relations?: {
61592
+ description?: string | undefined;
61593
+ type: "Relation";
61594
+ columns: string[];
61595
+ reference: {
61596
+ datasourceId: string;
61597
+ table: string;
61598
+ columns: string[];
61599
+ };
61600
+ }[] | undefined;
61601
+ datasourceId: string;
61602
+ indexes?: {
61603
+ description?: string | undefined;
61604
+ type: "Index";
61605
+ columns: string[];
61606
+ }[] | undefined;
61607
+ columns: {
61608
+ name: string;
61609
+ description?: string | undefined;
61610
+ type: FieldMapType;
61611
+ default?: string | number | boolean | undefined;
61612
+ }[];
61613
+ virtualColumns?: {
61614
+ query: string;
61615
+ name: string;
61616
+ description?: string | undefined;
61617
+ type: FieldMapType;
61618
+ }[] | undefined;
61619
+ uniqueKeys?: {
61620
+ description?: string | undefined;
61621
+ type: "UniqueKey";
61622
+ columns: string[];
61623
+ }[] | undefined;
61624
+ }[];
61625
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61626
+ status: "success";
61627
+ } & {
61628
+ datetime: string;
61629
+ data: {
61630
+ [x: string]: unknown;
61631
+ };
61632
+ program: string;
61633
+ version: string;
61634
+ status: string;
61635
+ code?: number | undefined;
61636
+ message: string;
61637
+ }, any, {}>>;
61638
+ deleteSchema: (params: {
61639
+ id: string;
61640
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
61641
+ publishSchema: (params: {
61642
+ id: string;
61643
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61644
+ status: "success";
61645
+ } & {
61646
+ datetime: string;
61647
+ data: {
61648
+ [x: string]: unknown;
61649
+ };
61650
+ program: string;
61651
+ version: string;
61652
+ status: string;
61653
+ code?: number | undefined;
61654
+ message: string;
61655
+ }, any, {}>>;
61656
+ listEntities: (params: {
61657
+ name?: string | undefined;
61658
+ page?: number | undefined;
61659
+ perPage?: number | undefined;
61660
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61661
+ paginationCount: number;
61662
+ paginationPage: number;
61663
+ paginationLimit: number;
61664
+ } & {
61665
+ status: "success";
61666
+ } & {
61667
+ datetime: string;
61668
+ data: {
61669
+ readonly id: string & {
61670
+ readonly?: "__readonly" | undefined;
61671
+ };
61672
+ readonly companyId: string & {
61673
+ readonly?: "__readonly" | undefined;
61674
+ };
61675
+ readonly resourceGroupIds: string[];
61676
+ readonly createdAt: string & {
61677
+ readonly?: "__readonly" | undefined;
61678
+ };
61679
+ readonly archivedAt: string & {
61680
+ readonly?: "__readonly" | undefined;
61681
+ };
61682
+ readonly versions: (string | {
61683
+ readonly companyId: string & {
61684
+ readonly?: "__readonly" | undefined;
61685
+ };
61686
+ changeDescription?: string | undefined;
61687
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61688
+ readonly?: "__readonly" | undefined;
61689
+ };
61690
+ _id: string;
61691
+ __v: number;
61692
+ readonly definition: {
61693
+ readonly?: "__readonly" | undefined;
61694
+ name: string;
61695
+ description: string | null;
61696
+ options: {
61697
+ name: string;
61698
+ index: number;
61699
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61700
+ shortDescription: string;
61701
+ fullDescription: string | null;
61702
+ optional?: boolean | undefined;
61703
+ }[];
61704
+ sql: string | null;
61705
+ readonly answers: {
61706
+ name: string;
61707
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61708
+ }[];
61709
+ };
61710
+ readonly lastSavedBy?: (string & {
61711
+ readonly?: "__readonly" | undefined;
61712
+ }) | undefined;
61713
+ })[];
61714
+ readonly updatedAt: string & {
61715
+ readonly?: "__readonly" | undefined;
61716
+ };
61717
+ }[];
61718
+ program: string;
61719
+ version: string;
61720
+ status: string;
61721
+ code?: number | undefined;
61722
+ message: string;
61723
+ }, any, {}>>;
61724
+ createEntity: (params: Record<string, never>, data: {
61725
+ entity: {
61726
+ name: string;
61727
+ description?: string | null | undefined;
61728
+ options: {
61729
+ name: string;
61730
+ index: number;
61731
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61732
+ shortDescription: string;
61733
+ fullDescription: string | null;
61734
+ optional?: boolean | undefined;
61735
+ }[];
61736
+ sql: string | null;
61737
+ };
61738
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61739
+ status: "success";
61740
+ } & {
61741
+ datetime: string;
61742
+ data: {
61743
+ readonly id: string & {
61744
+ readonly?: "__readonly" | undefined;
61745
+ };
61746
+ readonly companyId: string & {
61747
+ readonly?: "__readonly" | undefined;
61748
+ };
61749
+ readonly resourceGroupIds: string[];
61750
+ readonly createdAt: string & {
61751
+ readonly?: "__readonly" | undefined;
61752
+ };
61753
+ readonly archivedAt: string & {
61754
+ readonly?: "__readonly" | undefined;
61755
+ };
61756
+ readonly versions: (string | {
61757
+ readonly companyId: string & {
61758
+ readonly?: "__readonly" | undefined;
61759
+ };
61760
+ changeDescription?: string | undefined;
61761
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61762
+ readonly?: "__readonly" | undefined;
61763
+ };
61764
+ _id: string;
61765
+ __v: number;
61766
+ readonly definition: {
61767
+ readonly?: "__readonly" | undefined;
61768
+ name: string;
61769
+ description: string | null;
61770
+ options: {
61771
+ name: string;
61772
+ index: number;
61773
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61774
+ shortDescription: string;
61775
+ fullDescription: string | null;
61776
+ optional?: boolean | undefined;
61777
+ }[];
61778
+ sql: string | null;
61779
+ readonly answers: {
61780
+ name: string;
61781
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61782
+ }[];
61783
+ };
61784
+ readonly lastSavedBy?: (string & {
61785
+ readonly?: "__readonly" | undefined;
61786
+ }) | undefined;
61787
+ })[];
61788
+ readonly updatedAt: string & {
61789
+ readonly?: "__readonly" | undefined;
61790
+ };
61791
+ };
61792
+ program: string;
61793
+ version: string;
61794
+ status: string;
61795
+ code?: number | undefined;
61796
+ message: string;
61797
+ }, any, {}>>;
61798
+ getEntity: (params: {
61799
+ id: string;
61800
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61801
+ status: "success";
61802
+ } & {
61803
+ datetime: string;
61804
+ data: {
61805
+ readonly id: string & {
61806
+ readonly?: "__readonly" | undefined;
61807
+ };
61808
+ readonly companyId: string & {
61809
+ readonly?: "__readonly" | undefined;
61810
+ };
61811
+ readonly resourceGroupIds: string[];
61812
+ readonly createdAt: string & {
61813
+ readonly?: "__readonly" | undefined;
61814
+ };
61815
+ readonly archivedAt: string & {
61816
+ readonly?: "__readonly" | undefined;
61817
+ };
61818
+ readonly versions: (string | {
61819
+ readonly companyId: string & {
61820
+ readonly?: "__readonly" | undefined;
61821
+ };
61822
+ changeDescription?: string | undefined;
61823
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61824
+ readonly?: "__readonly" | undefined;
61825
+ };
61826
+ _id: string;
61827
+ __v: number;
61828
+ readonly definition: {
61829
+ readonly?: "__readonly" | undefined;
61830
+ name: string;
61831
+ description: string | null;
61832
+ options: {
61833
+ name: string;
61834
+ index: number;
61835
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61836
+ shortDescription: string;
61837
+ fullDescription: string | null;
61838
+ optional?: boolean | undefined;
61839
+ }[];
61840
+ sql: string | null;
61841
+ readonly answers: {
61842
+ name: string;
61843
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61844
+ }[];
61845
+ };
61846
+ readonly lastSavedBy?: (string & {
61847
+ readonly?: "__readonly" | undefined;
61848
+ }) | undefined;
61849
+ })[];
61850
+ readonly updatedAt: string & {
61851
+ readonly?: "__readonly" | undefined;
61852
+ };
61853
+ };
61854
+ program: string;
61855
+ version: string;
61856
+ status: string;
61857
+ code?: number | undefined;
61858
+ message: string;
61859
+ }, any, {}>>;
61860
+ updateEntity: (params: {
61861
+ id: string;
61862
+ }, data: {
61863
+ entity: {
61864
+ name: string;
61865
+ description?: string | null | undefined;
61866
+ options: {
61867
+ name: string;
61868
+ index: number;
61869
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61870
+ shortDescription: string;
61871
+ fullDescription: string | null;
61872
+ optional?: boolean | undefined;
61873
+ }[];
61874
+ sql: string | null;
61875
+ };
61876
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61877
+ status: "success";
61878
+ } & {
61879
+ datetime: string;
61880
+ data: {
61881
+ readonly id: string & {
61882
+ readonly?: "__readonly" | undefined;
61883
+ };
61884
+ readonly companyId: string & {
61885
+ readonly?: "__readonly" | undefined;
61886
+ };
61887
+ readonly resourceGroupIds: string[];
61888
+ readonly createdAt: string & {
61889
+ readonly?: "__readonly" | undefined;
61890
+ };
61891
+ readonly archivedAt: string & {
61892
+ readonly?: "__readonly" | undefined;
61893
+ };
61894
+ readonly versions: (string | {
61895
+ readonly companyId: string & {
61896
+ readonly?: "__readonly" | undefined;
61897
+ };
61898
+ changeDescription?: string | undefined;
61899
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61900
+ readonly?: "__readonly" | undefined;
61901
+ };
61902
+ _id: string;
61903
+ __v: number;
61904
+ readonly definition: {
61905
+ readonly?: "__readonly" | undefined;
61906
+ name: string;
61907
+ description: string | null;
61908
+ options: {
61909
+ name: string;
61910
+ index: number;
61911
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61912
+ shortDescription: string;
61913
+ fullDescription: string | null;
61914
+ optional?: boolean | undefined;
61915
+ }[];
61916
+ sql: string | null;
61917
+ readonly answers: {
61918
+ name: string;
61919
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61920
+ }[];
61921
+ };
61922
+ readonly lastSavedBy?: (string & {
61923
+ readonly?: "__readonly" | undefined;
61924
+ }) | undefined;
61925
+ })[];
61926
+ readonly updatedAt: string & {
61927
+ readonly?: "__readonly" | undefined;
61928
+ };
61929
+ };
61930
+ program: string;
61931
+ version: string;
61932
+ status: string;
61933
+ code?: number | undefined;
61934
+ message: string;
61935
+ }, any, {}>>;
61936
+ deleteEntity: (params: {
61937
+ id: string;
61938
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
61939
+ publishEntity: (params: {
61940
+ id: string;
61941
+ }, data: {
61942
+ changeDescription?: string | undefined;
61943
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
61944
+ status: "success";
61945
+ } & {
61946
+ datetime: string;
61947
+ data: {
61948
+ readonly id: string & {
61949
+ readonly?: "__readonly" | undefined;
61950
+ };
61951
+ readonly companyId: string & {
61952
+ readonly?: "__readonly" | undefined;
61953
+ };
61954
+ readonly resourceGroupIds: string[];
61955
+ readonly createdAt: string & {
61956
+ readonly?: "__readonly" | undefined;
61957
+ };
61958
+ readonly archivedAt: string & {
61959
+ readonly?: "__readonly" | undefined;
61960
+ };
61961
+ readonly versions: (string | {
61962
+ readonly companyId: string & {
61963
+ readonly?: "__readonly" | undefined;
61964
+ };
61965
+ changeDescription?: string | undefined;
61966
+ readonly state: import("./definitions").DatagraphEntityVersionState & {
61967
+ readonly?: "__readonly" | undefined;
61968
+ };
61969
+ _id: string;
61970
+ __v: number;
61971
+ readonly definition: {
61972
+ readonly?: "__readonly" | undefined;
61973
+ name: string;
61974
+ description: string | null;
61975
+ options: {
61976
+ name: string;
61977
+ index: number;
61978
+ primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}";
61979
+ shortDescription: string;
61980
+ fullDescription: string | null;
61981
+ optional?: boolean | undefined;
61982
+ }[];
61983
+ sql: string | null;
61984
+ readonly answers: {
61985
+ name: string;
61986
+ type: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "url" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "name" | "description" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id";
61987
+ }[];
61988
+ };
61989
+ readonly lastSavedBy?: (string & {
61990
+ readonly?: "__readonly" | undefined;
61991
+ }) | undefined;
61992
+ })[];
61993
+ readonly updatedAt: string & {
61994
+ readonly?: "__readonly" | undefined;
61995
+ };
61996
+ };
61997
+ program: string;
61998
+ version: string;
61999
+ status: string;
62000
+ code?: number | undefined;
62001
+ message: string;
62002
+ }, any, {}>>;
62003
+ };
61982
62004
  }