@rlvt/datasources-openapi-client 1.0.101 → 1.0.104

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.
@@ -17,7 +17,7 @@ declare type PropsWithoutWriteonly<T> = {
17
17
  export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
18
18
  [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
19
19
  } : never;
20
- export declare type Pick__readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___NonFunctionPropertyNames_Pick_OAuthClient_companyId_or_resourceGroupIds_or_username_or_tokenUrl_or_authorizeUrl_or_password_or_refreshToken_or_accessToken_or_getRedirectUri_or_getCallbackUri_or_toJSON_or_getTokensFromCode_or_storeAccessToken___ = {
20
+ export declare type _readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___Without_CompanyId_ResourceGroupIds_Username_TokenUrl_AuthorizeUrl_Password_RefreshToken_AccessToken_GetRedirectUri_GetCallbackUri_ToJSON_GetTokensFromCode_StoreAccessToken = {
21
21
  readonly companyId: (string) & readonlyP;
22
22
  readonly resourceGroupIds: (string[]) & readonlyP;
23
23
  username?: string;
@@ -27,53 +27,56 @@ export declare type Pick__readonlycompanyId_string_readonlyresourceGroupIds_stri
27
27
  refreshToken?: (string) & writeonlyP;
28
28
  accessToken?: (string) & writeonlyP;
29
29
  };
30
- export declare type __x_string__string__ = {
31
- [key: string]: string;
32
- };
33
30
  export declare enum AuthenticationMode {
34
31
  PASSWORD = "password",
35
32
  CLIENT_CREDENTIALS = "client_credentials",
36
33
  REFRESH_TOKEN = "refresh_token",
37
34
  ACCESS_TOKEN = "access_token"
38
35
  }
39
- export declare type Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader___ = {
36
+ export declare type _tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_Without_TokenUrl_AuthorizeUrl_ToJSON_ClientId_ClientSecret_Scopes_AuthorizeUrlQueryParams_Mode_AccessTokenHeader = {
40
37
  tokenUrl: string;
41
38
  authorizeUrl?: string;
42
39
  clientId: string;
43
40
  clientSecret: (string) & writeonlyP;
44
41
  scopes: string[];
45
- authorizeUrlQueryParams?: __x_string__string__;
42
+ authorizeUrlQueryParams?: {
43
+ [key: string]: string;
44
+ };
46
45
  mode?: AuthenticationMode;
47
46
  accessTokenHeader?: string;
48
47
  };
49
- export declare type OAuthClientConfiguration = Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader___;
50
- export declare type OAuthClient = Pick__readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___NonFunctionPropertyNames_Pick_OAuthClient_companyId_or_resourceGroupIds_or_username_or_tokenUrl_or_authorizeUrl_or_password_or_refreshToken_or_accessToken_or_getRedirectUri_or_getCallbackUri_or_toJSON_or_getTokensFromCode_or_storeAccessToken___ & {
48
+ export declare type OAuthClientConfiguration = _tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_Without_TokenUrl_AuthorizeUrl_ToJSON_ClientId_ClientSecret_Scopes_AuthorizeUrlQueryParams_Mode_AccessTokenHeader;
49
+ export declare type OAuthClient = _readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___Without_CompanyId_ResourceGroupIds_Username_TokenUrl_AuthorizeUrl_Password_RefreshToken_AccessToken_GetRedirectUri_GetCallbackUri_ToJSON_GetTokensFromCode_StoreAccessToken & {
51
50
  readonly id: (string) & readonlyP;
52
51
  } & {
53
52
  configuration: string | OAuthClientConfiguration;
54
53
  };
55
- export declare type Pick_OAuthClient_companyId_or_resourceGroupIds_or_username_or_tokenUrl_or_authorizeUrl_or_password_or_refreshToken_or_accessToken_or_getRedirectUri_or_getCallbackUri_or_toJSON_or_getTokensFromCode_or_storeAccessToken_ = Pick__readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___NonFunctionPropertyNames_Pick_OAuthClient_companyId_or_resourceGroupIds_or_username_or_tokenUrl_or_authorizeUrl_or_password_or_refreshToken_or_accessToken_or_getRedirectUri_or_getCallbackUri_or_toJSON_or_getTokensFromCode_or_storeAccessToken___ & {
54
+ export declare type OAuthClient_Without_CompanyId_ResourceGroupIds_Username_TokenUrl_AuthorizeUrl_Password_RefreshToken_AccessToken_GetRedirectUri_GetCallbackUri_ToJSON_GetTokensFromCode_StoreAccessToken = _readonlycompanyId_string_readonlyresourceGroupIds_string_Array_username_string_or_undefined_tokenUrl_string_or_undefined_authorizeUrl_string_or_undefined_password_string_or_undefined_refreshToken_string_or_undefined_accessToken_string_or_undefined___Without_CompanyId_ResourceGroupIds_Username_TokenUrl_AuthorizeUrl_Password_RefreshToken_AccessToken_GetRedirectUri_GetCallbackUri_ToJSON_GetTokensFromCode_StoreAccessToken & {
56
55
  readonly id: (string) & readonlyP;
57
56
  } & {
58
57
  configuration: string | OAuthClientConfiguration;
59
58
  };
60
- export declare type Partial_Pick_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader____ = {
59
+ export declare type Partial_Pick_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader___ = {
61
60
  tokenUrl?: string;
62
61
  authorizeUrl?: string;
63
62
  clientId?: string;
64
63
  clientSecret?: (string) & writeonlyP;
65
64
  scopes?: string[];
66
- authorizeUrlQueryParams?: __x_string__string__;
65
+ authorizeUrlQueryParams?: {
66
+ [key: string]: string;
67
+ };
67
68
  mode?: AuthenticationMode;
68
69
  accessTokenHeader?: string;
69
70
  };
70
- export declare type Partial_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader____ = {
71
+ export declare type Partial_Pick__tokenUrl_string_authorizeUrl_string_or_undefined_clientId_string_clientSecret_string_scopes_string_Array_authorizeUrlQueryParams___x_string__string___or_undefined_mode_OAuthClientConfiguration_tokenUrl_or_authorizeUrl_or_toJSON_or_clientId_or_clientSecret_or_scopes_or_authorizeUrlQueryParams_or_mode_or_accessTokenHeader___ = {
71
72
  tokenUrl?: string;
72
73
  authorizeUrl?: string;
73
74
  clientId?: string;
74
75
  clientSecret?: (string) & writeonlyP;
75
76
  scopes?: string[];
76
- authorizeUrlQueryParams?: __x_string__string__;
77
+ authorizeUrlQueryParams?: {
78
+ [key: string]: string;
79
+ };
77
80
  mode?: AuthenticationMode;
78
81
  accessTokenHeader?: string;
79
82
  };
@@ -88,48 +91,6 @@ export declare enum DatasourceFetcherName {
88
91
  PROXY = "proxy",
89
92
  TRACKING = "tracking"
90
93
  }
91
- export declare type __ = {};
92
- export declare type _name_DatasourceFetcherName_params_____ = {
93
- name: DatasourceFetcherName;
94
- params: __;
95
- };
96
- export declare type _datasourceIdStores_string_datasourceIdStock_string__ = {
97
- datasourceIdStores: string;
98
- datasourceIdStock: string;
99
- };
100
- export declare type _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ = {
101
- name: "carrefour-stores-retails";
102
- params: _datasourceIdStores_string_datasourceIdStock_string__;
103
- };
104
- export declare type _datasourceIdStores_string__ = {
105
- datasourceIdStores: string;
106
- };
107
- export declare type _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ = {
108
- name: "carrefour-stores-with-fuel";
109
- params: _datasourceIdStores_string__;
110
- };
111
- export declare type _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ = {
112
- name: "carrefour-stores-with-drive-slots";
113
- params: _datasourceIdStores_string__;
114
- };
115
- export declare type _datasourceIdAvailablity_string__ = {
116
- datasourceIdAvailablity: string;
117
- };
118
- export declare type _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ = {
119
- name: "best-western-hotels";
120
- params: _datasourceIdAvailablity_string__;
121
- };
122
- export declare type _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ = {
123
- name: "fdj-bets";
124
- params: __;
125
- };
126
- export declare type _datasourceIdSizes_string__ = {
127
- datasourceIdSizes: string;
128
- };
129
- export declare type _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ = {
130
- name: "sarenza-sizes";
131
- params: _datasourceIdSizes_string__;
132
- };
133
94
  export declare enum FieldMapType {
134
95
  STRING = "string",
135
96
  NUMBER = "number",
@@ -164,54 +125,21 @@ export declare enum FieldMapType {
164
125
  WORKFLOW_USER = "workflow_user",
165
126
  WORKFLOW_EVENT_MODE = "workflow_event_mode"
166
127
  }
167
- export declare type _trackingDatasourceId_string_productDatasourceId_string_productDatasourceIdFieldType_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number__ = {
168
- trackingDatasourceId: string;
169
- productDatasourceId: string;
170
- productDatasourceIdFieldType: FieldMapType;
171
- excludedEventName: string;
172
- fallbackEnabled: boolean;
173
- fallbackEventName: string;
174
- fallbackEventDuration: number;
175
- };
176
- export declare type _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ = {
177
- name: "recommender";
178
- params: _trackingDatasourceId_string_productDatasourceId_string_productDatasourceIdFieldType_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number__;
179
- };
180
- export declare type _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____ = {
181
- name: "renault-prices";
182
- params: __;
183
- };
184
- export declare type _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__ = {
185
- mode: DatasourceMode;
186
- readonly fetcher?: (_name_DatasourceFetcherName_params_____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ | _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ | _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ | _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
187
- };
188
128
  export declare enum DatasourceGenericSubType {
189
129
  USER = "user",
190
130
  RECOMMENDER = "recommender"
191
131
  }
192
- export declare type _name_DatasourceGenericSubType__ = {
193
- name: "generic";
194
- subtype: DatasourceGenericSubType;
195
- };
196
132
  export declare enum DatasourceProductSubType {
197
133
  USER = "user",
198
134
  SHOPIFY = "shopify",
199
135
  BEST_PRODUCT = "best_product"
200
136
  }
201
- export declare type _name_DatasourceProductSubType__ = {
202
- name: "product";
203
- subtype: DatasourceProductSubType;
204
- };
205
137
  export declare enum DatasourceLocationSubType {
206
138
  USER = "user",
207
139
  GOOGLE_MY_BUSINESS = "google_my_business",
208
140
  PARTOO = "partoo"
209
141
  }
210
- export declare type _name_DatasourceLocationSubType__ = {
211
- name: "location";
212
- subtype: DatasourceLocationSubType;
213
- };
214
- export declare type Pick_Condition_path_or_operator_ = {
142
+ export declare type Condition_Without_Path_Operator = {
215
143
  path: string;
216
144
  operator: "=" | ">=" | "<=" | "!=";
217
145
  };
@@ -221,7 +149,7 @@ export declare type FieldMapFallbackRulePayload = {
221
149
  exit?: true;
222
150
  path: string;
223
151
  };
224
- export declare type Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ = {
152
+ export declare type FieldMapFallbackRulePayload_Without_ValuePath_Exit = {
225
153
  valuePath?: string;
226
154
  exit?: true;
227
155
  };
@@ -288,7 +216,7 @@ export declare type FieldMap = {
288
216
  } | {
289
217
  name: "array_find";
290
218
  params: {
291
- conditions: (Pick_Condition_path_or_operator_ & {
219
+ conditions: (Condition_Without_Path_Operator & {
292
220
  evaluateValue: string;
293
221
  })[];
294
222
  };
@@ -297,7 +225,7 @@ export declare type FieldMap = {
297
225
  params: FieldMapFallbackRulePayload;
298
226
  } | {
299
227
  name: "fallback";
300
- params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
228
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
301
229
  staticValue: string | number | string[] | {
302
230
  [key: string]: string;
303
231
  } | number[] | {
@@ -307,7 +235,7 @@ export declare type FieldMap = {
307
235
  } | {
308
236
  name: "fallback_if";
309
237
  params: FieldMapFallbackRulePayload & {
310
- conditions: (Condition | (Pick_Condition_path_or_operator_ & {
238
+ conditions: (Condition | (Condition_Without_Path_Operator & {
311
239
  evaluateValue: string;
312
240
  }))[];
313
241
  };
@@ -336,35 +264,32 @@ export declare type FieldMap = {
336
264
  readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
337
265
  };
338
266
  export declare type DatasourceHealth = 0 | 1 | 2;
339
- export declare type _type_body_or_query_value_string__ = {
340
- type: "body" | "query";
341
- value: string;
342
- };
343
- export declare type _type_hypermediaAttribute_value_string__ = {
344
- type: "hypermediaAttribute";
345
- value: string;
346
- };
347
- export declare type _type_pageToken_value_string_param_string__ = {
348
- type: "pageToken";
349
- value: string;
350
- param: string;
351
- };
352
- export declare type _type_linkHeader__ = {
353
- type: "linkHeader";
354
- };
355
- export declare type Pick__oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___NonFunctionPropertyNames_WorkerApiOptions__ = {
267
+ export declare type _oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_ = {
356
268
  oauth?: string;
357
- pagination?: _type_body_or_query_value_string__ | _type_hypermediaAttribute_value_string__ | _type_pageToken_value_string_param_string__ | _type_linkHeader__;
269
+ pagination?: {
270
+ type: "body" | "query";
271
+ value: string;
272
+ } | {
273
+ type: "hypermediaAttribute";
274
+ value: string;
275
+ } | {
276
+ type: "pageToken";
277
+ value: string;
278
+ param: string;
279
+ } | {
280
+ type: "linkHeader";
281
+ };
358
282
  method?: "GET" | "PATCH" | "POST" | "PUT";
359
283
  body?: string;
360
- headers?: __x_string__string__;
361
- query?: __x_string__string__;
284
+ headers?: {
285
+ [key: string]: string;
286
+ };
287
+ query?: {
288
+ [key: string]: string;
289
+ };
362
290
  timeout?: number;
363
291
  };
364
292
  export declare type AnyValue = unknown | null;
365
- export declare type __x_string__unknown__ = {
366
- [key: string]: AnyValue;
367
- };
368
293
  export declare enum DatasourceFormat {
369
294
  CSV = "csv",
370
295
  NDJSON = "ndjson",
@@ -372,132 +297,34 @@ export declare enum DatasourceFormat {
372
297
  XML = "xml",
373
298
  XLSX = "xlsx"
374
299
  }
375
- export declare type _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__ = {
376
- type: DatasourceFormat;
377
- options: __x_string__string__;
378
- overrided?: boolean;
379
- };
380
- export declare type _freq_number__ = {
381
- freq: number;
382
- };
383
- export declare type _cron_string__ = {
384
- cron: string;
385
- };
386
- export declare type _datasourceIds_string_Array__ = {
387
- datasourceIds: string[];
388
- };
389
- export declare type _type__name_AggregationStep_Array_or_undefined_refresh__freq_number___or__cron_string___or__datasourceIds_string_Array___or_undefined_detectMissingFields_boolean_or_undefined_maximumEntries_number_or_undefined__ = {
390
- type?: _name_DatasourceGenericSubType__ | _name_DatasourceProductSubType__ | _name_DatasourceLocationSubType__;
391
- fieldsMap?: FieldMap[];
392
- readonly health?: (DatasourceHealth) & readonlyP;
393
- apiOptions?: Pick__oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___NonFunctionPropertyNames_WorkerApiOptions__;
394
- sample?: __x_string__unknown__;
395
- textEncoding?: string;
396
- urls?: string[];
397
- format?: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
398
- aggregationPipeline?: ({
399
- name: "unwind";
400
- params: {
401
- src: string;
402
- dest: string;
403
- allowEmpty?: boolean;
404
- };
405
- } | {
406
- name: "extra_data_fields";
407
- params: {
408
- fieldNames: string[];
409
- };
410
- } | {
411
- name: "merge";
412
- params: {
413
- fieldNames: string[];
414
- datasourceId: string;
415
- query: string;
416
- };
417
- } | {
418
- name: "count";
419
- params: {
420
- fieldNames: string[];
421
- datasourceId: string;
422
- query: string;
423
- };
424
- })[];
425
- refresh?: _freq_number__ | _cron_string__ | _datasourceIds_string_Array__;
426
- detectMissingFields?: boolean;
427
- maximumEntries?: number;
428
- };
429
- export declare type _datasource__mode_AggregationStep_Array_or_undefined_refresh__freq_number___or__cron_string___or__datasourceIds_string_Array___or_undefined_detectMissingFields_boolean_or_undefined_maximumEntries_number_or_undefined____ = {
430
- datasource: _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__;
431
- version: _type__name_AggregationStep_Array_or_undefined_refresh__freq_number___or__cron_string___or__datasourceIds_string_Array___or_undefined_detectMissingFields_boolean_or_undefined_maximumEntries_number_or_undefined__;
432
- };
433
- export declare type Pick_QueriableField_name_or_enum_or_required_or_unique_ = {
300
+ export declare type QueriableField_Without_Name_Enum_Required_Unique = {
434
301
  name: string;
435
302
  enum?: (string | number)[];
436
303
  required: boolean;
437
304
  unique: boolean;
438
305
  };
439
- export declare type Pick__oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__ = {
306
+ export declare type _oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_ = {
440
307
  oauth?: string;
441
308
  method?: "GET" | "PATCH" | "POST" | "PUT";
442
309
  body?: string;
443
- headers?: __x_string__string__;
444
- query?: __x_string__string__;
310
+ headers?: {
311
+ [key: string]: string;
312
+ };
313
+ query?: {
314
+ [key: string]: string;
315
+ };
445
316
  timeout?: number;
446
- variables?: (Pick_QueriableField_name_or_enum_or_required_or_unique_ & {
317
+ variables?: (QueriableField_Without_Name_Enum_Required_Unique & {
447
318
  default: string | number | string[] | number[];
448
319
  primitive: "string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}";
449
320
  })[];
450
321
  };
451
- export declare type _type__name_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined__ = {
452
- type?: _name_DatasourceGenericSubType__;
453
- fieldsMap?: FieldMap[];
454
- readonly health?: (DatasourceHealth) & readonlyP;
455
- apiOptions?: Pick__oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
456
- sample?: __x_string__unknown__;
457
- textEncoding?: string;
458
- urls?: string[];
459
- format?: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
460
- refresh?: _freq_number__;
461
- };
462
- export declare type _datasource__mode_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined____ = {
463
- datasource: _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__;
464
- version: _type__name_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined__;
465
- };
466
- export declare type _offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number__ = {
467
- offlineSize: number;
468
- offlineReplication: number;
469
- realtimeSize: number;
470
- realtimeReplication: number;
471
- };
472
- export declare type _value_number_unit_DAYS__ = {
473
- value: number;
474
- unit: "DAYS";
475
- };
476
- export declare type _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___or_undefined_destinations__type_bigquery_dataset_string_tableName_string___Array__ = {
477
- partitionCount: number;
478
- segments: _offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number__;
479
- retention?: _value_number_unit_DAYS__;
480
- destinations: {
481
- type: "bigquery";
482
- dataset: string;
483
- tableName: string;
484
- }[];
485
- };
486
- export declare type _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined_storageOptions__partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___or_undefined_destinations__type_bigquery_dataset_string_tableName_string___Array___or_undefined__ = {
487
- mode: DatasourceMode;
488
- readonly fetcher?: (_name_DatasourceFetcherName_params_____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ | _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ | _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ | _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
489
- storageOptions?: _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___or_undefined_destinations__type_bigquery_dataset_string_tableName_string___Array__;
490
- };
491
322
  export declare enum DatasourceAnalyticsSubType {
492
323
  REELEVANT = "reelevant",
493
324
  GOOGLE_TAG_MANAGER = "google_tag_manager",
494
325
  SHOPIFY = "shopify",
495
326
  WORKFLOW_EVENTS = "workflow_events"
496
327
  }
497
- export declare type _name_DatasourceAnalyticsSubType__ = {
498
- name: "analytics";
499
- subtype: DatasourceAnalyticsSubType;
500
- };
501
328
  export declare enum IngesterFieldIndex {
502
329
  NONE = "none",
503
330
  METRIC = "metric",
@@ -559,7 +386,7 @@ export declare type IngesterFieldMap = {
559
386
  } | {
560
387
  name: "array_find";
561
388
  params: {
562
- conditions: (Pick_Condition_path_or_operator_ & {
389
+ conditions: (Condition_Without_Path_Operator & {
563
390
  evaluateValue: string;
564
391
  })[];
565
392
  };
@@ -568,7 +395,7 @@ export declare type IngesterFieldMap = {
568
395
  params: FieldMapFallbackRulePayload;
569
396
  } | {
570
397
  name: "fallback";
571
- params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
398
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
572
399
  staticValue: string | number | string[] | {
573
400
  [key: string]: string;
574
401
  } | number[] | {
@@ -578,7 +405,7 @@ export declare type IngesterFieldMap = {
578
405
  } | {
579
406
  name: "fallback_if";
580
407
  params: FieldMapFallbackRulePayload & {
581
- conditions: (Condition | (Pick_Condition_path_or_operator_ & {
408
+ conditions: (Condition | (Condition_Without_Path_Operator & {
582
409
  evaluateValue: string;
583
410
  }))[];
584
411
  };
@@ -606,15 +433,6 @@ export declare type IngesterFieldMap = {
606
433
  source?: FieldSource;
607
434
  readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
608
435
  };
609
- export declare type _type__name_DatasourceHealth_or_undefined__ = {
610
- type?: _name_DatasourceAnalyticsSubType__;
611
- fieldsMap?: IngesterFieldMap[];
612
- readonly health?: (DatasourceHealth) & readonlyP;
613
- };
614
- export declare type _datasource__mode_DatasourceHealth_or_undefined____ = {
615
- datasource: _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined_storageOptions__partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___or_undefined_destinations__type_bigquery_dataset_string_tableName_string___Array___or_undefined__;
616
- version: _type__name_DatasourceHealth_or_undefined__;
617
- };
618
436
  export declare enum StepName {
619
437
  CONFIGURE_NAME = "configure_name",
620
438
  CONFIGURE_RESOURCE_GROUP_IDS = "configure_resource_group_ids",
@@ -639,42 +457,280 @@ export declare enum StepName {
639
457
  CONFIGURE_BEST_PRODUCT_QUERY = "configure_best_product_query",
640
458
  CONFIGURE_BEST_PRODUCT_FIELD = "configure_best_product_field"
641
459
  }
642
- export declare type _failed_to_pull_StepName__ = {
643
- failed_to_pull: StepName;
644
- fatal: StepName;
645
- };
646
- export declare type _configure_name__AutomaticStepName__Array_or_undefined__ = {
647
- configure_name?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
648
- configure_resource_group_ids?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
649
- configure_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
650
- configure_fieldsmap?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
651
- configure_field?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
652
- create_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
653
- authorize_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
654
- configure_thresholds?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
655
- configure_content?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
656
- configure_api_key?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
657
- patch?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
658
- validate?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
659
- configure_shopify_shop_name?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
660
- inject_shopify_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
661
- configure_shopify_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
662
- configure_google_tag_manager?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
663
- configure_reelevant_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
664
- configure_twitter?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
665
- configure_product_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
666
- configure_tracking_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
667
- configure_best_product_query?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
668
- configure_best_product_field?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
669
- };
670
- export declare type Pick__name_string_icon_string_slug_string_categories_string_Array_feature_string_or_undefined_hidden_boolean_template__datasource__mode_DatasourceTemplate__ = {
460
+ export declare type _Without_ = {
671
461
  name: string;
672
462
  icon: string;
673
463
  slug: string;
674
464
  categories: string[];
675
465
  feature?: string;
676
466
  hidden: boolean;
677
- template: _datasource__mode_AggregationStep_Array_or_undefined_refresh__freq_number___or__cron_string___or__datasourceIds_string_Array___or_undefined_detectMissingFields_boolean_or_undefined_maximumEntries_number_or_undefined____ | _datasource__mode_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined____ | _datasource__mode_DatasourceHealth_or_undefined____;
467
+ template: {
468
+ datasource: {
469
+ mode: DatasourceMode;
470
+ readonly fetcher?: ({
471
+ name: DatasourceFetcherName;
472
+ params: {};
473
+ } | {
474
+ name: "carrefour-stores-retails";
475
+ params: {
476
+ datasourceIdStores: string;
477
+ datasourceIdStock: string;
478
+ };
479
+ } | {
480
+ name: "carrefour-stores-with-fuel";
481
+ params: {
482
+ datasourceIdStores: string;
483
+ };
484
+ } | {
485
+ name: "carrefour-stores-with-drive-slots";
486
+ params: {
487
+ datasourceIdStores: string;
488
+ };
489
+ } | {
490
+ name: "best-western-hotels";
491
+ params: {
492
+ datasourceIdAvailablity: string;
493
+ };
494
+ } | {
495
+ name: "fdj-bets";
496
+ params: {};
497
+ } | {
498
+ name: "sarenza-sizes";
499
+ params: {
500
+ datasourceIdSizes: string;
501
+ };
502
+ } | {
503
+ name: "recommender";
504
+ params: {
505
+ trackingDatasourceId: string;
506
+ productDatasourceId: string;
507
+ productDatasourceIdFieldType: FieldMapType;
508
+ excludedEventName: string;
509
+ fallbackEnabled: boolean;
510
+ fallbackEventName: string;
511
+ fallbackEventDuration: number;
512
+ };
513
+ } | {
514
+ name: "renault-prices";
515
+ params: {};
516
+ }) & readonlyP;
517
+ };
518
+ version: {
519
+ type?: {
520
+ name: "generic";
521
+ subtype: DatasourceGenericSubType;
522
+ } | {
523
+ name: "product";
524
+ subtype: DatasourceProductSubType;
525
+ } | {
526
+ name: "location";
527
+ subtype: DatasourceLocationSubType;
528
+ };
529
+ fieldsMap?: FieldMap[];
530
+ readonly health?: (DatasourceHealth) & readonlyP;
531
+ apiOptions?: _oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
532
+ sample?: {
533
+ [key: string]: AnyValue;
534
+ };
535
+ textEncoding?: string;
536
+ urls?: string[];
537
+ format?: {
538
+ type: DatasourceFormat;
539
+ options: {
540
+ [key: string]: string;
541
+ };
542
+ overrided?: boolean;
543
+ };
544
+ aggregationPipeline?: ({
545
+ name: "unwind";
546
+ params: {
547
+ src: string;
548
+ dest: string;
549
+ allowEmpty?: boolean;
550
+ };
551
+ } | {
552
+ name: "extra_data_fields";
553
+ params: {
554
+ fieldNames: string[];
555
+ };
556
+ } | {
557
+ name: "merge";
558
+ params: {
559
+ fieldNames: string[];
560
+ datasourceId: string;
561
+ query: string;
562
+ };
563
+ } | {
564
+ name: "count";
565
+ params: {
566
+ fieldNames: string[];
567
+ datasourceId: string;
568
+ query: string;
569
+ };
570
+ })[];
571
+ refresh?: {
572
+ freq: number;
573
+ } | {
574
+ cron: string;
575
+ } | {
576
+ datasourceIds: string[];
577
+ };
578
+ detectMissingFields?: boolean;
579
+ maximumEntries?: number;
580
+ };
581
+ } | {
582
+ datasource: {
583
+ mode: DatasourceMode;
584
+ readonly fetcher?: ({
585
+ name: DatasourceFetcherName;
586
+ params: {};
587
+ } | {
588
+ name: "carrefour-stores-retails";
589
+ params: {
590
+ datasourceIdStores: string;
591
+ datasourceIdStock: string;
592
+ };
593
+ } | {
594
+ name: "carrefour-stores-with-fuel";
595
+ params: {
596
+ datasourceIdStores: string;
597
+ };
598
+ } | {
599
+ name: "carrefour-stores-with-drive-slots";
600
+ params: {
601
+ datasourceIdStores: string;
602
+ };
603
+ } | {
604
+ name: "best-western-hotels";
605
+ params: {
606
+ datasourceIdAvailablity: string;
607
+ };
608
+ } | {
609
+ name: "fdj-bets";
610
+ params: {};
611
+ } | {
612
+ name: "sarenza-sizes";
613
+ params: {
614
+ datasourceIdSizes: string;
615
+ };
616
+ } | {
617
+ name: "recommender";
618
+ params: {
619
+ trackingDatasourceId: string;
620
+ productDatasourceId: string;
621
+ productDatasourceIdFieldType: FieldMapType;
622
+ excludedEventName: string;
623
+ fallbackEnabled: boolean;
624
+ fallbackEventName: string;
625
+ fallbackEventDuration: number;
626
+ };
627
+ } | {
628
+ name: "renault-prices";
629
+ params: {};
630
+ }) & readonlyP;
631
+ };
632
+ version: {
633
+ type?: {
634
+ name: "generic";
635
+ subtype: DatasourceGenericSubType;
636
+ };
637
+ fieldsMap?: FieldMap[];
638
+ readonly health?: (DatasourceHealth) & readonlyP;
639
+ apiOptions?: _oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
640
+ sample?: {
641
+ [key: string]: AnyValue;
642
+ };
643
+ textEncoding?: string;
644
+ urls?: string[];
645
+ format?: {
646
+ type: DatasourceFormat;
647
+ options: {
648
+ [key: string]: string;
649
+ };
650
+ overrided?: boolean;
651
+ };
652
+ refresh?: {
653
+ freq: number;
654
+ };
655
+ };
656
+ } | {
657
+ datasource: {
658
+ mode: DatasourceMode;
659
+ readonly fetcher?: ({
660
+ name: DatasourceFetcherName;
661
+ params: {};
662
+ } | {
663
+ name: "carrefour-stores-retails";
664
+ params: {
665
+ datasourceIdStores: string;
666
+ datasourceIdStock: string;
667
+ };
668
+ } | {
669
+ name: "carrefour-stores-with-fuel";
670
+ params: {
671
+ datasourceIdStores: string;
672
+ };
673
+ } | {
674
+ name: "carrefour-stores-with-drive-slots";
675
+ params: {
676
+ datasourceIdStores: string;
677
+ };
678
+ } | {
679
+ name: "best-western-hotels";
680
+ params: {
681
+ datasourceIdAvailablity: string;
682
+ };
683
+ } | {
684
+ name: "fdj-bets";
685
+ params: {};
686
+ } | {
687
+ name: "sarenza-sizes";
688
+ params: {
689
+ datasourceIdSizes: string;
690
+ };
691
+ } | {
692
+ name: "recommender";
693
+ params: {
694
+ trackingDatasourceId: string;
695
+ productDatasourceId: string;
696
+ productDatasourceIdFieldType: FieldMapType;
697
+ excludedEventName: string;
698
+ fallbackEnabled: boolean;
699
+ fallbackEventName: string;
700
+ fallbackEventDuration: number;
701
+ };
702
+ } | {
703
+ name: "renault-prices";
704
+ params: {};
705
+ }) & readonlyP;
706
+ storageOptions?: {
707
+ partitionCount: number;
708
+ segments: {
709
+ offlineSize: number;
710
+ offlineReplication: number;
711
+ realtimeSize: number;
712
+ realtimeReplication: number;
713
+ };
714
+ retention?: {
715
+ value: number;
716
+ unit: "DAYS";
717
+ };
718
+ destinations: {
719
+ type: "bigquery";
720
+ dataset: string;
721
+ tableName: string;
722
+ }[];
723
+ };
724
+ };
725
+ version: {
726
+ type?: {
727
+ name: "analytics";
728
+ subtype: DatasourceAnalyticsSubType;
729
+ };
730
+ fieldsMap?: IngesterFieldMap[];
731
+ readonly health?: (DatasourceHealth) & readonlyP;
732
+ };
733
+ };
678
734
  steps: ({
679
735
  name: "configure_name";
680
736
  } | {
@@ -743,21 +799,50 @@ export declare type Pick__name_string_icon_string_slug_string_categories_string_
743
799
  final: string;
744
800
  };
745
801
  })[];
746
- errorsToStep: _failed_to_pull_StepName__;
747
- stepDependencies: _configure_name__AutomaticStepName__Array_or_undefined__;
802
+ errorsToStep: {
803
+ failed_to_pull: StepName;
804
+ fatal: StepName;
805
+ };
806
+ stepDependencies: {
807
+ configure_name?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
808
+ configure_resource_group_ids?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
809
+ configure_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
810
+ configure_fieldsmap?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
811
+ configure_field?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
812
+ create_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
813
+ authorize_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
814
+ configure_thresholds?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
815
+ configure_content?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
816
+ configure_api_key?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
817
+ patch?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
818
+ validate?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
819
+ configure_shopify_shop_name?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
820
+ inject_shopify_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
821
+ configure_shopify_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
822
+ configure_google_tag_manager?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
823
+ configure_reelevant_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
824
+ configure_twitter?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
825
+ configure_product_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
826
+ configure_tracking_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
827
+ configure_best_product_query?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
828
+ configure_best_product_field?: ("configure_name" | "configure_resource_group_ids" | "configure_source" | "configure_fieldsmap" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_content" | "configure_api_key" | "patch" | "validate" | "configure_shopify_shop_name" | "inject_shopify_analytics_script" | "configure_shopify_analytics_script" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_twitter" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "google_my_business_set_url" | "setup_instagram")[];
829
+ };
748
830
  standaloneSteps: StepName[];
749
831
  };
750
- export declare type DatasourceTemplate = Pick__name_string_icon_string_slug_string_categories_string_Array_feature_string_or_undefined_hidden_boolean_template__datasource__mode_DatasourceTemplate__ & {
832
+ export declare type DatasourceTemplate = _Without_ & {
751
833
  readonly id: (string) & readonlyP;
752
834
  } & {
753
835
  readonly createdAt: (Date) & readonlyP;
754
836
  readonly updatedAt: (Date) & readonlyP;
755
837
  };
756
- export declare type Pick_IngesterDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_undefined_ = {
838
+ export declare type IngesterDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_ = {
757
839
  readonly id: (string) & readonlyP;
758
840
  mode: "ingester";
759
841
  readonly state: ("LIVE" | "DRAFT") & readonlyP;
760
- type: _name_DatasourceAnalyticsSubType__;
842
+ type: {
843
+ name: "analytics";
844
+ subtype: DatasourceAnalyticsSubType;
845
+ };
761
846
  fieldsMap: IngesterFieldMap[];
762
847
  readonly pendingSteps?: (({
763
848
  name: "configure_name";
@@ -840,15 +925,78 @@ export declare enum DatasourceStatus {
840
925
  PAUSED = "paused",
841
926
  ERROR = "error"
842
927
  }
843
- export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_DatasourceStatus_readonlyhasWarnings_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_storageOptions_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_undefined_ = {
844
- companyId: string;
928
+ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_DatasourceStatus_readonlyhasWarnings_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_StorageOptions_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ = {
929
+ companyId: string | null;
845
930
  resourceGroupIds: string[];
846
931
  mode: "ingester";
847
932
  name: string;
848
933
  readonly template?: (string) & readonlyP;
849
- readonly fetcher: (_name_DatasourceFetcherName_params_____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ | _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ | _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ | _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
850
- storageOptions: _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___or_undefined_destinations__type_bigquery_dataset_string_tableName_string___Array__;
851
- versions: (Pick_IngesterDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_undefined_ & {
934
+ readonly fetcher: ({
935
+ name: DatasourceFetcherName;
936
+ params: {};
937
+ } | {
938
+ name: "carrefour-stores-retails";
939
+ params: {
940
+ datasourceIdStores: string;
941
+ datasourceIdStock: string;
942
+ };
943
+ } | {
944
+ name: "carrefour-stores-with-fuel";
945
+ params: {
946
+ datasourceIdStores: string;
947
+ };
948
+ } | {
949
+ name: "carrefour-stores-with-drive-slots";
950
+ params: {
951
+ datasourceIdStores: string;
952
+ };
953
+ } | {
954
+ name: "best-western-hotels";
955
+ params: {
956
+ datasourceIdAvailablity: string;
957
+ };
958
+ } | {
959
+ name: "fdj-bets";
960
+ params: {};
961
+ } | {
962
+ name: "sarenza-sizes";
963
+ params: {
964
+ datasourceIdSizes: string;
965
+ };
966
+ } | {
967
+ name: "recommender";
968
+ params: {
969
+ trackingDatasourceId: string;
970
+ productDatasourceId: string;
971
+ productDatasourceIdFieldType: FieldMapType;
972
+ excludedEventName: string;
973
+ fallbackEnabled: boolean;
974
+ fallbackEventName: string;
975
+ fallbackEventDuration: number;
976
+ };
977
+ } | {
978
+ name: "renault-prices";
979
+ params: {};
980
+ }) & readonlyP;
981
+ storageOptions: {
982
+ partitionCount: number;
983
+ segments: {
984
+ offlineSize: number;
985
+ offlineReplication: number;
986
+ realtimeSize: number;
987
+ realtimeReplication: number;
988
+ };
989
+ retention?: {
990
+ value: number;
991
+ unit: "DAYS";
992
+ };
993
+ destinations: {
994
+ type: "bigquery";
995
+ dataset: string;
996
+ tableName: string;
997
+ }[];
998
+ };
999
+ versions: (IngesterDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_ & {
852
1000
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
853
1001
  })[];
854
1002
  readonly configurationUpdatedAt: (string) & readonlyP;
@@ -856,7 +1004,7 @@ export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Ar
856
1004
  status: DatasourceStatus;
857
1005
  readonly hasWarnings: (boolean) & readonlyP;
858
1006
  };
859
- export declare type IngesterDatasource = Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_DatasourceStatus_readonlyhasWarnings_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_storageOptions_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_undefined_ & {
1007
+ export declare type IngesterDatasource = __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_DatasourceStatus_readonlyhasWarnings_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_StorageOptions_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ & {
860
1008
  readonly id: (string) & readonlyP;
861
1009
  } & {
862
1010
  readonly createdAt: (Date) & readonlyP;
@@ -868,17 +1016,34 @@ export declare enum DatasourceVersionState {
868
1016
  SCHEDULED = "SCHEDULED",
869
1017
  INACTIVE = "INACTIVE"
870
1018
  }
871
- export declare type Pick_WorkerDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_health_or_apiOptions_or_sample_or_textEncoding_or_format_or_aggregationPipeline_or_refresh_or_detectMissingFields_or_maximumEntries_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_batchSize_or_undefined_ = {
1019
+ export declare type WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_ = {
872
1020
  readonly id: (string) & readonlyP;
873
1021
  mode: "worker";
874
1022
  readonly state: (DatasourceVersionState) & readonlyP;
875
- type: _name_DatasourceGenericSubType__ | _name_DatasourceProductSubType__ | _name_DatasourceLocationSubType__;
1023
+ type: {
1024
+ name: "generic";
1025
+ subtype: DatasourceGenericSubType;
1026
+ } | {
1027
+ name: "product";
1028
+ subtype: DatasourceProductSubType;
1029
+ } | {
1030
+ name: "location";
1031
+ subtype: DatasourceLocationSubType;
1032
+ };
876
1033
  fieldsMap: FieldMap[];
877
1034
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
878
- apiOptions?: Pick__oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___NonFunctionPropertyNames_WorkerApiOptions__;
879
- sample?: __x_string__unknown__;
1035
+ apiOptions?: _oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
1036
+ sample?: {
1037
+ [key: string]: AnyValue;
1038
+ };
880
1039
  textEncoding: string;
881
- format: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
1040
+ format: {
1041
+ type: DatasourceFormat;
1042
+ options: {
1043
+ [key: string]: string;
1044
+ };
1045
+ overrided?: boolean;
1046
+ };
882
1047
  aggregationPipeline: ({
883
1048
  name: "unwind";
884
1049
  params: {
@@ -906,7 +1071,13 @@ export declare type Pick_WorkerDatasourceVersion__id_or_mode_or_state_or_type_or
906
1071
  query: string;
907
1072
  };
908
1073
  })[];
909
- refresh: _freq_number__ | _cron_string__ | _datasourceIds_string_Array__;
1074
+ refresh: {
1075
+ freq: number;
1076
+ } | {
1077
+ cron: string;
1078
+ } | {
1079
+ datasourceIds: string[];
1080
+ };
910
1081
  detectMissingFields: boolean;
911
1082
  maximumEntries?: number;
912
1083
  readonly pendingSteps?: (({
@@ -983,17 +1154,63 @@ export declare type Pick_WorkerDatasourceVersion__id_or_mode_or_state_or_type_or
983
1154
  readonly importantFieldsTypes: (FieldMapType[]) & readonlyP;
984
1155
  batchSize: number;
985
1156
  };
986
- export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_Threshold_Array_lastRunAt_Date_or_null_currentLiveVersion_string_or_null_pausedAt_Date_or_null_readonlyisPaused_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_contentVersion_or_thresholds_or_lastRunAt_or_currentLiveVersion_or_pausedAt_or_isPaused_or_undefined_ = {
987
- companyId: string;
1157
+ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_Threshold_Array_lastRunAt_Date_or_null_currentLiveVersion_string_or_null_pausedAt_Date_or_null_readonlyisPaused_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ContentVersion_Thresholds_LastRunAt_CurrentLiveVersion_PausedAt_IsPaused_ = {
1158
+ companyId: string | null;
988
1159
  resourceGroupIds: string[];
989
1160
  mode: "worker";
990
1161
  name: string;
991
1162
  readonly template?: (string) & readonlyP;
992
- readonly fetcher: (_name_DatasourceFetcherName_params_____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ | _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ | _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ | _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
993
- versions: ((Pick_WorkerDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_health_or_apiOptions_or_sample_or_textEncoding_or_format_or_aggregationPipeline_or_refresh_or_detectMissingFields_or_maximumEntries_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_batchSize_or_undefined_ & {
1163
+ readonly fetcher: ({
1164
+ name: DatasourceFetcherName;
1165
+ params: {};
1166
+ } | {
1167
+ name: "carrefour-stores-retails";
1168
+ params: {
1169
+ datasourceIdStores: string;
1170
+ datasourceIdStock: string;
1171
+ };
1172
+ } | {
1173
+ name: "carrefour-stores-with-fuel";
1174
+ params: {
1175
+ datasourceIdStores: string;
1176
+ };
1177
+ } | {
1178
+ name: "carrefour-stores-with-drive-slots";
1179
+ params: {
1180
+ datasourceIdStores: string;
1181
+ };
1182
+ } | {
1183
+ name: "best-western-hotels";
1184
+ params: {
1185
+ datasourceIdAvailablity: string;
1186
+ };
1187
+ } | {
1188
+ name: "fdj-bets";
1189
+ params: {};
1190
+ } | {
1191
+ name: "sarenza-sizes";
1192
+ params: {
1193
+ datasourceIdSizes: string;
1194
+ };
1195
+ } | {
1196
+ name: "recommender";
1197
+ params: {
1198
+ trackingDatasourceId: string;
1199
+ productDatasourceId: string;
1200
+ productDatasourceIdFieldType: FieldMapType;
1201
+ excludedEventName: string;
1202
+ fallbackEnabled: boolean;
1203
+ fallbackEventName: string;
1204
+ fallbackEventDuration: number;
1205
+ };
1206
+ } | {
1207
+ name: "renault-prices";
1208
+ params: {};
1209
+ }) & readonlyP;
1210
+ versions: ((WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_ & {
994
1211
  fileName: string;
995
1212
  isAPI: false;
996
- }) | (Pick_WorkerDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_health_or_apiOptions_or_sample_or_textEncoding_or_format_or_aggregationPipeline_or_refresh_or_detectMissingFields_or_maximumEntries_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_batchSize_or_undefined_ & {
1213
+ }) | (WorkerDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_Health_ApiOptions_Sample_TextEncoding_Format_AggregationPipeline_Refresh_DetectMissingFields_MaximumEntries_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_BatchSize_ & {
997
1214
  url: string;
998
1215
  urls: string[];
999
1216
  isAPI: true;
@@ -1026,24 +1243,37 @@ export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Ar
1026
1243
  readonly pausedAt: (Date | null) & readonlyP;
1027
1244
  readonly isPaused: (boolean) & readonlyP;
1028
1245
  };
1029
- export declare type WorkerDatasource = Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_Threshold_Array_lastRunAt_Date_or_null_currentLiveVersion_string_or_null_pausedAt_Date_or_null_readonlyisPaused_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_contentVersion_or_thresholds_or_lastRunAt_or_currentLiveVersion_or_pausedAt_or_isPaused_or_undefined_ & {
1246
+ export declare type WorkerDatasource = __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_Threshold_Array_lastRunAt_Date_or_null_currentLiveVersion_string_or_null_pausedAt_Date_or_null_readonlyisPaused_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ContentVersion_Thresholds_LastRunAt_CurrentLiveVersion_PausedAt_IsPaused_ & {
1030
1247
  readonly id: (string) & readonlyP;
1031
1248
  } & {
1032
1249
  readonly createdAt: (Date) & readonlyP;
1033
1250
  readonly updatedAt: (Date) & readonlyP;
1034
1251
  };
1035
- export declare type Pick_ProxyDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_apiOptions_or_sample_or_textEncoding_or_urls_or_format_or_refresh_or_url_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_undefined_ = {
1252
+ export declare type ProxyDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_ApiOptions_Sample_TextEncoding_Urls_Format_Refresh_Url_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_ = {
1036
1253
  readonly id: (string) & readonlyP;
1037
1254
  mode: "proxy";
1038
1255
  readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
1039
- type: _name_DatasourceGenericSubType__;
1256
+ type: {
1257
+ name: "generic";
1258
+ subtype: DatasourceGenericSubType;
1259
+ };
1040
1260
  fieldsMap: FieldMap[];
1041
- apiOptions?: Pick__oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
1042
- sample?: __x_string__unknown__;
1261
+ apiOptions?: _oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
1262
+ sample?: {
1263
+ [key: string]: AnyValue;
1264
+ };
1043
1265
  textEncoding: string;
1044
1266
  urls: string[];
1045
- format: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
1046
- refresh: _freq_number__;
1267
+ format: {
1268
+ type: DatasourceFormat;
1269
+ options: {
1270
+ [key: string]: string;
1271
+ };
1272
+ overrided?: boolean;
1273
+ };
1274
+ refresh: {
1275
+ freq: number;
1276
+ };
1047
1277
  readonly url?: (string) & readonlyP;
1048
1278
  readonly pendingSteps?: (({
1049
1279
  name: "configure_name";
@@ -1118,14 +1348,60 @@ export declare type Pick_ProxyDatasourceVersion__id_or_mode_or_state_or_type_or_
1118
1348
  readonly uniqueFieldsTypes: (FieldMapType[]) & readonlyP;
1119
1349
  readonly importantFieldsTypes: (FieldMapType[]) & readonlyP;
1120
1350
  };
1121
- export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_DatasourceStatus_readonlyhasWarnings_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_undefined_ = {
1122
- companyId: string;
1351
+ export declare type __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_DatasourceStatus_readonlyhasWarnings_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ = {
1352
+ companyId: string | null;
1123
1353
  resourceGroupIds: string[];
1124
1354
  mode: "proxy";
1125
1355
  name: string;
1126
1356
  readonly template?: (string) & readonlyP;
1127
- readonly fetcher: (_name_DatasourceFetcherName_params_____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_RETAILS_params__datasourceIdStores_string_datasourceIdStock_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_FUEL_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_CARREFOUR_STORES_WITH_DRIVE_SLOTS_params__datasourceIdStores_string____ | _name_DatasourceCustomFetcherName_BEST_WESTERN_HOTELS_params__datasourceIdAvailablity_string____ | _name_DatasourceCustomFetcherName_FDJ_BETS_params_____ | _name_DatasourceCustomFetcherName_SARENZA_SIZES_params__datasourceIdSizes_string____ | _name_FieldMapType_excludedEventName_string_fallbackEnabled_boolean_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
1128
- versions: (Pick_ProxyDatasourceVersion__id_or_mode_or_state_or_type_or_fieldsMap_or_apiOptions_or_sample_or_textEncoding_or_urls_or_format_or_refresh_or_url_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_importantFieldsTypes_or_undefined_ & {
1357
+ readonly fetcher: ({
1358
+ name: DatasourceFetcherName;
1359
+ params: {};
1360
+ } | {
1361
+ name: "carrefour-stores-retails";
1362
+ params: {
1363
+ datasourceIdStores: string;
1364
+ datasourceIdStock: string;
1365
+ };
1366
+ } | {
1367
+ name: "carrefour-stores-with-fuel";
1368
+ params: {
1369
+ datasourceIdStores: string;
1370
+ };
1371
+ } | {
1372
+ name: "carrefour-stores-with-drive-slots";
1373
+ params: {
1374
+ datasourceIdStores: string;
1375
+ };
1376
+ } | {
1377
+ name: "best-western-hotels";
1378
+ params: {
1379
+ datasourceIdAvailablity: string;
1380
+ };
1381
+ } | {
1382
+ name: "fdj-bets";
1383
+ params: {};
1384
+ } | {
1385
+ name: "sarenza-sizes";
1386
+ params: {
1387
+ datasourceIdSizes: string;
1388
+ };
1389
+ } | {
1390
+ name: "recommender";
1391
+ params: {
1392
+ trackingDatasourceId: string;
1393
+ productDatasourceId: string;
1394
+ productDatasourceIdFieldType: FieldMapType;
1395
+ excludedEventName: string;
1396
+ fallbackEnabled: boolean;
1397
+ fallbackEventName: string;
1398
+ fallbackEventDuration: number;
1399
+ };
1400
+ } | {
1401
+ name: "renault-prices";
1402
+ params: {};
1403
+ }) & readonlyP;
1404
+ versions: (ProxyDatasourceVersion__Without_Id_Mode_State_Type_FieldsMap_ApiOptions_Sample_TextEncoding_Urls_Format_Refresh_Url_PendingSteps_AvailableFieldsTypes_RequiredFieldsTypes_UniqueFieldsTypes_ImportantFieldsTypes_ & {
1129
1405
  readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
1130
1406
  })[];
1131
1407
  readonly configurationUpdatedAt: (string) & readonlyP;
@@ -1133,7 +1409,7 @@ export declare type Pick___id_string_companyId_string_resourceGroupIds_string_Ar
1133
1409
  status: DatasourceStatus;
1134
1410
  readonly hasWarnings: (boolean) & readonlyP;
1135
1411
  };
1136
- export declare type ProxyDatasource = Pick___id_string_companyId_string_resourceGroupIds_string_Array_mode_DatasourceStatus_readonlyhasWarnings_boolean___companyId_or_resourceGroupIds_or_mode_or_name_or_template_or_fetcher_or_versions_or_configurationUpdatedAt_or_archivedAt_or_status_or_hasWarnings_or_undefined_ & {
1412
+ export declare type ProxyDatasource = __id_string_companyId_string_or_null_resourceGroupIds_string_Array_or_null_mode_DatasourceStatus_readonlyhasWarnings_boolean___Without_CompanyId_ResourceGroupIds_Mode_Name_Template_Fetcher_Versions_ConfigurationUpdatedAt_ArchivedAt_Status_HasWarnings_ & {
1137
1413
  readonly id: (string) & readonlyP;
1138
1414
  } & {
1139
1415
  readonly createdAt: (Date) & readonlyP;
@@ -1172,8 +1448,7 @@ export declare enum DatasourceType {
1172
1448
  }
1173
1449
  export declare type Document = AnyValue;
1174
1450
  export declare type LogLevel = 0 | 1 | 2;
1175
- export declare type Pick__companyId_string_payload_unknown_type_DatasourceLog_companyId_or_toJSON_or_payload_or_type_or_contentVersion_or_datasourceId_or_date_or_level_or_entryIndex___ = {
1176
- companyId: string;
1451
+ export declare type _payload_unknown_type_DatasourceLog_Without_ToJSON_Payload_Type_ContentVersion_DatasourceId_Date_Level_EntryIndex = {
1177
1452
  payload: AnyValue;
1178
1453
  type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "entries_drop_rate_too_high" | "refresh_time_too_small" | "missing_fields" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_unwind_source" | "required_values_empty";
1179
1454
  contentVersion: number;
@@ -1182,7 +1457,7 @@ export declare type Pick__companyId_string_payload_unknown_type_DatasourceLog_co
1182
1457
  level: LogLevel;
1183
1458
  entryIndex?: number;
1184
1459
  };
1185
- export declare type DatasourceLog = Pick__companyId_string_payload_unknown_type_DatasourceLog_companyId_or_toJSON_or_payload_or_type_or_contentVersion_or_datasourceId_or_date_or_level_or_entryIndex___ & {
1460
+ export declare type DatasourceLog = _payload_unknown_type_DatasourceLog_Without_ToJSON_Payload_Type_ContentVersion_DatasourceId_Date_Level_EntryIndex & {
1186
1461
  readonly id: (string) & readonlyP;
1187
1462
  } & {
1188
1463
  version: string;
@@ -1190,13 +1465,13 @@ export declare type DatasourceLog = Pick__companyId_string_payload_unknown_type_
1190
1465
  export declare type DatasourceFormatOptions = {
1191
1466
  [key: string]: string;
1192
1467
  };
1193
- export declare type WorkerApiOptions = Pick__oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___NonFunctionPropertyNames_WorkerApiOptions__;
1468
+ export declare type WorkerApiOptions = _oauth_string_or_undefined_pagination__type_body_or_query_value_string___or__type_hypermediaAttribute_value_string___or__type_pageToken_value_string_param_string___or__type_linkHeader___or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined___Without_;
1194
1469
  export declare type Format = {
1195
1470
  type: DatasourceFormat;
1196
1471
  options: DatasourceFormatOptions;
1197
1472
  overrided?: boolean;
1198
1473
  };
1199
- export declare type Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__ = {
1474
+ export declare type Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format_ = {
1200
1475
  apiOptions?: WorkerApiOptions;
1201
1476
  sample?: {
1202
1477
  [key: string]: AnyValue;
@@ -1204,18 +1479,18 @@ export declare type Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or
1204
1479
  textEncoding?: string;
1205
1480
  format?: Format;
1206
1481
  };
1207
- export declare type Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format__ = {
1482
+ export declare type Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format_ = {
1208
1483
  textEncoding?: string;
1209
1484
  format?: Format;
1210
1485
  };
1211
- export declare type Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__ = {
1486
+ export declare type Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format_ = {
1212
1487
  sample?: {
1213
1488
  [key: string]: AnyValue;
1214
1489
  };
1215
1490
  textEncoding?: string;
1216
1491
  format?: Format;
1217
1492
  };
1218
- export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize__ = {
1493
+ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize_ = {
1219
1494
  aggregationPipeline?: ({
1220
1495
  name: "unwind";
1221
1496
  params: {
@@ -1253,8 +1528,8 @@ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_
1253
1528
  detectMissingFields?: boolean;
1254
1529
  batchSize?: number;
1255
1530
  };
1256
- export declare type ProxyApiOptions = Pick__oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
1257
- export declare type Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__ = {
1531
+ export declare type ProxyApiOptions = _oauth_string_or_undefined_method_GET_or_PATCH_or_POST_or_PUT_or_undefined_body_string_or_undefined_headers___x_string__string___or_undefined_query___x_string__string___or_undefined_timeout_number_or_undefined_variables_VariableDefinition_Array_or_undefined___Without_;
1532
+ export declare type Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format_ = {
1258
1533
  apiOptions?: ProxyApiOptions;
1259
1534
  sample?: {
1260
1535
  [key: string]: AnyValue;
@@ -1265,198 +1540,7 @@ export declare type Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_
1265
1540
  export declare type ProxyRefresh = {
1266
1541
  freq: number;
1267
1542
  };
1268
- export declare type Pick_ProxyDatasourceVersion_refresh_ = {
1269
- refresh: ProxyRefresh;
1270
- };
1271
- export declare type _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ = {
1272
- urls: string[];
1273
- ignoreMissingLiveFields?: true;
1274
- apiOptions?: WorkerApiOptions;
1275
- sample?: {
1276
- [key: string]: AnyValue;
1277
- };
1278
- textEncoding: string;
1279
- format: Format;
1280
- };
1281
- export declare type _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__ = {
1282
- file: string;
1283
- ignoreMissingLiveFields?: string;
1284
- textEncoding: string;
1285
- format: Format;
1286
- };
1287
- export declare type _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____ = {
1288
- name: string;
1289
- type: FieldMapType;
1290
- selected: boolean;
1291
- rules: (({
1292
- name: "static";
1293
- params: {
1294
- value: string | number;
1295
- };
1296
- } | {
1297
- name: "path";
1298
- params: {
1299
- value: string;
1300
- };
1301
- } | {
1302
- name: "path";
1303
- params: {
1304
- fromRoot: true;
1305
- value: string;
1306
- };
1307
- }) | ({
1308
- name: "static";
1309
- params: {
1310
- value: string | number;
1311
- };
1312
- } | {
1313
- name: "path";
1314
- params: {
1315
- value: string;
1316
- };
1317
- } | {
1318
- name: "path";
1319
- params: {
1320
- fromRoot: true;
1321
- value: string;
1322
- };
1323
- } | {
1324
- name: "array_find";
1325
- params: {
1326
- key: string;
1327
- operator: "=";
1328
- value: string | number;
1329
- };
1330
- } | {
1331
- name: "array_find";
1332
- params: {
1333
- key: string;
1334
- operator: "=";
1335
- valuePath: string;
1336
- };
1337
- } | {
1338
- name: "array_find";
1339
- params: {
1340
- conditions: (Pick_Condition_path_or_operator_ & {
1341
- evaluateValue: string;
1342
- })[];
1343
- };
1344
- } | {
1345
- name: "fallback";
1346
- params: FieldMapFallbackRulePayload;
1347
- } | {
1348
- name: "fallback";
1349
- params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
1350
- staticValue: string | number | string[] | {
1351
- [key: string]: string;
1352
- } | number[] | {
1353
- [key: string]: number;
1354
- };
1355
- };
1356
- } | {
1357
- name: "fallback_if";
1358
- params: FieldMapFallbackRulePayload & {
1359
- conditions: (Condition | (Pick_Condition_path_or_operator_ & {
1360
- evaluateValue: string;
1361
- }))[];
1362
- };
1363
- } | {
1364
- name: "exclude_from_record";
1365
- params: {
1366
- keys: string[];
1367
- };
1368
- } | {
1369
- name: "decrypt";
1370
- params: {
1371
- passwordPrefixPath?: string;
1372
- };
1373
- } | {
1374
- name: "interpolate";
1375
- params: {
1376
- value: string;
1377
- };
1378
- } | {
1379
- name: "custom";
1380
- params: {
1381
- value: string;
1382
- };
1383
- }))[];
1384
- source?: FieldSource;
1385
- readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
1386
- };
1387
- export declare type __x_string__never__ = {};
1388
- export declare type _sample___key_string__unknown___textEncoding_string_format_Format__ = {
1389
- sample?: {
1390
- [key: string]: AnyValue;
1391
- };
1392
- textEncoding: string;
1393
- format: Format;
1394
- };
1395
- export declare type _value_string__ = {
1396
- value: string;
1397
- };
1398
- export declare type _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__ = {
1399
- aggregationPipeline: ({
1400
- name: "unwind";
1401
- params: {
1402
- src: string;
1403
- dest: string;
1404
- allowEmpty?: boolean;
1405
- };
1406
- } | {
1407
- name: "extra_data_fields";
1408
- params: {
1409
- fieldNames: string[];
1410
- };
1411
- } | {
1412
- name: "merge";
1413
- params: {
1414
- fieldNames: string[];
1415
- datasourceId: string;
1416
- query: string;
1417
- };
1418
- } | {
1419
- name: "count";
1420
- params: {
1421
- fieldNames: string[];
1422
- datasourceId: string;
1423
- query: string;
1424
- };
1425
- })[];
1426
- refresh: {
1427
- freq: number;
1428
- } | {
1429
- cron: string;
1430
- } | {
1431
- datasourceIds: string[];
1432
- };
1433
- detectMissingFields: boolean;
1434
- batchSize: number;
1435
- };
1436
- export declare type _type_user_or_hashtag_value_string__ = {
1437
- type: "user" | "hashtag";
1438
- value: string;
1439
- };
1440
- export declare type _datasourceId_string__ = {
1441
- datasourceId: string;
1442
- };
1443
- export declare type _query_string__ = {
1444
- query: string;
1445
- };
1446
- export declare type _field_string__ = {
1447
- field: string;
1448
- };
1449
- export declare type _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ = {
1450
- urls: string[];
1451
- ignoreMissingLiveFields?: true;
1452
- apiOptions?: ProxyApiOptions;
1453
- sample?: {
1454
- [key: string]: AnyValue;
1455
- };
1456
- textEncoding: string;
1457
- format: Format;
1458
- };
1459
- export declare type _refresh_ProxyRefresh__ = {
1543
+ export declare type ProxyDatasourceVersion_Without_Refresh = {
1460
1544
  refresh: ProxyRefresh;
1461
1545
  };
1462
1546
  export declare type CurrentSteps = {
@@ -1472,7 +1556,21 @@ export declare type CurrentSteps = {
1472
1556
  name: "configure_source";
1473
1557
  mode?: "url" | "file";
1474
1558
  } & {
1475
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
1559
+ value?: {
1560
+ urls: string[];
1561
+ ignoreMissingLiveFields?: true;
1562
+ apiOptions?: WorkerApiOptions;
1563
+ sample?: {
1564
+ [key: string]: AnyValue;
1565
+ };
1566
+ textEncoding: string;
1567
+ format: Format;
1568
+ } | {
1569
+ file: string;
1570
+ ignoreMissingLiveFields?: string;
1571
+ textEncoding: string;
1572
+ format: Format;
1573
+ };
1476
1574
  }) | ({
1477
1575
  name: "configure_fieldsmap";
1478
1576
  } & {
@@ -1484,17 +1582,116 @@ export declare type CurrentSteps = {
1484
1582
  type: FieldMapType;
1485
1583
  };
1486
1584
  } & {
1487
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1585
+ value?: {
1586
+ name: string;
1587
+ type: FieldMapType;
1588
+ selected: boolean;
1589
+ rules: (({
1590
+ name: "static";
1591
+ params: {
1592
+ value: string | number;
1593
+ };
1594
+ } | {
1595
+ name: "path";
1596
+ params: {
1597
+ value: string;
1598
+ };
1599
+ } | {
1600
+ name: "path";
1601
+ params: {
1602
+ fromRoot: true;
1603
+ value: string;
1604
+ };
1605
+ }) | ({
1606
+ name: "static";
1607
+ params: {
1608
+ value: string | number;
1609
+ };
1610
+ } | {
1611
+ name: "path";
1612
+ params: {
1613
+ value: string;
1614
+ };
1615
+ } | {
1616
+ name: "path";
1617
+ params: {
1618
+ fromRoot: true;
1619
+ value: string;
1620
+ };
1621
+ } | {
1622
+ name: "array_find";
1623
+ params: {
1624
+ key: string;
1625
+ operator: "=";
1626
+ value: string | number;
1627
+ };
1628
+ } | {
1629
+ name: "array_find";
1630
+ params: {
1631
+ key: string;
1632
+ operator: "=";
1633
+ valuePath: string;
1634
+ };
1635
+ } | {
1636
+ name: "array_find";
1637
+ params: {
1638
+ conditions: (Condition_Without_Path_Operator & {
1639
+ evaluateValue: string;
1640
+ })[];
1641
+ };
1642
+ } | {
1643
+ name: "fallback";
1644
+ params: FieldMapFallbackRulePayload;
1645
+ } | {
1646
+ name: "fallback";
1647
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
1648
+ staticValue: string | number | string[] | {
1649
+ [key: string]: string;
1650
+ } | number[] | {
1651
+ [key: string]: number;
1652
+ };
1653
+ };
1654
+ } | {
1655
+ name: "fallback_if";
1656
+ params: FieldMapFallbackRulePayload & {
1657
+ conditions: (Condition | (Condition_Without_Path_Operator & {
1658
+ evaluateValue: string;
1659
+ }))[];
1660
+ };
1661
+ } | {
1662
+ name: "exclude_from_record";
1663
+ params: {
1664
+ keys: string[];
1665
+ };
1666
+ } | {
1667
+ name: "decrypt";
1668
+ params: {
1669
+ passwordPrefixPath?: string;
1670
+ };
1671
+ } | {
1672
+ name: "interpolate";
1673
+ params: {
1674
+ value: string;
1675
+ };
1676
+ } | {
1677
+ name: "custom";
1678
+ params: {
1679
+ value: string;
1680
+ };
1681
+ }))[];
1682
+ source?: FieldSource;
1683
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
1684
+ };
1488
1685
  }) | ({
1489
1686
  name: "create_oauth_client";
1490
1687
  configurationId: string;
1491
1688
  } & {
1492
- value?: __x_string__never__;
1689
+ value?: {};
1493
1690
  }) | ({
1494
1691
  name: "authorize_oauth_client";
1495
1692
  slug: string;
1496
1693
  } & {
1497
- value?: __x_string__never__;
1694
+ value?: {};
1498
1695
  }) | ({
1499
1696
  name: "configure_thresholds";
1500
1697
  } & {
@@ -1519,20 +1716,65 @@ export declare type CurrentSteps = {
1519
1716
  }) | ({
1520
1717
  name: "configure_content";
1521
1718
  } & {
1522
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1719
+ value?: {
1720
+ sample?: {
1721
+ [key: string]: AnyValue;
1722
+ };
1723
+ textEncoding: string;
1724
+ format: Format;
1725
+ };
1523
1726
  }) | ({
1524
1727
  name: "configure_api_key";
1525
1728
  slug: "partoo";
1526
1729
  } & {
1527
- value?: _value_string__;
1730
+ value?: {
1731
+ value: string;
1732
+ };
1528
1733
  }) | ({
1529
1734
  name: "patch";
1530
1735
  } & {
1531
- value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
1736
+ value?: {
1737
+ aggregationPipeline: ({
1738
+ name: "unwind";
1739
+ params: {
1740
+ src: string;
1741
+ dest: string;
1742
+ allowEmpty?: boolean;
1743
+ };
1744
+ } | {
1745
+ name: "extra_data_fields";
1746
+ params: {
1747
+ fieldNames: string[];
1748
+ };
1749
+ } | {
1750
+ name: "merge";
1751
+ params: {
1752
+ fieldNames: string[];
1753
+ datasourceId: string;
1754
+ query: string;
1755
+ };
1756
+ } | {
1757
+ name: "count";
1758
+ params: {
1759
+ fieldNames: string[];
1760
+ datasourceId: string;
1761
+ query: string;
1762
+ };
1763
+ })[];
1764
+ refresh: {
1765
+ freq: number;
1766
+ } | {
1767
+ cron: string;
1768
+ } | {
1769
+ datasourceIds: string[];
1770
+ };
1771
+ detectMissingFields: boolean;
1772
+ batchSize: number;
1773
+ };
1532
1774
  }) | ({
1533
1775
  name: "validate";
1534
1776
  } & {
1535
- value?: __x_string__never__;
1777
+ value?: {};
1536
1778
  }) | ({
1537
1779
  name: "configure_shopify_shop_name";
1538
1780
  configurationId: string;
@@ -1541,23 +1783,34 @@ export declare type CurrentSteps = {
1541
1783
  }) | ({
1542
1784
  name: "configure_twitter";
1543
1785
  } & {
1544
- value?: _type_user_or_hashtag_value_string__;
1786
+ value?: {
1787
+ type: "user" | "hashtag";
1788
+ value: string;
1789
+ };
1545
1790
  }) | ({
1546
1791
  name: "configure_product_datasource_source";
1547
1792
  } & {
1548
- value?: _datasourceId_string__;
1793
+ value?: {
1794
+ datasourceId: string;
1795
+ };
1549
1796
  }) | ({
1550
1797
  name: "configure_tracking_datasource_source";
1551
1798
  } & {
1552
- value?: _datasourceId_string__;
1799
+ value?: {
1800
+ datasourceId: string;
1801
+ };
1553
1802
  }) | ({
1554
1803
  name: "configure_best_product_query";
1555
1804
  } & {
1556
- value?: _query_string__;
1805
+ value?: {
1806
+ query: string;
1807
+ };
1557
1808
  }) | ({
1558
1809
  name: "configure_best_product_field";
1559
1810
  } & {
1560
- value?: _field_string__;
1811
+ value?: {
1812
+ field: string;
1813
+ };
1561
1814
  }) | ({
1562
1815
  name: "configure_name";
1563
1816
  } & {
@@ -1570,7 +1823,16 @@ export declare type CurrentSteps = {
1570
1823
  name: "configure_source";
1571
1824
  mode?: "url" | "file";
1572
1825
  } & {
1573
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
1826
+ value?: {
1827
+ urls: string[];
1828
+ ignoreMissingLiveFields?: true;
1829
+ apiOptions?: ProxyApiOptions;
1830
+ sample?: {
1831
+ [key: string]: AnyValue;
1832
+ };
1833
+ textEncoding: string;
1834
+ format: Format;
1835
+ };
1574
1836
  }) | ({
1575
1837
  name: "configure_fieldsmap";
1576
1838
  } & {
@@ -1582,34 +1844,143 @@ export declare type CurrentSteps = {
1582
1844
  type: FieldMapType;
1583
1845
  };
1584
1846
  } & {
1585
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1847
+ value?: {
1848
+ name: string;
1849
+ type: FieldMapType;
1850
+ selected: boolean;
1851
+ rules: (({
1852
+ name: "static";
1853
+ params: {
1854
+ value: string | number;
1855
+ };
1856
+ } | {
1857
+ name: "path";
1858
+ params: {
1859
+ value: string;
1860
+ };
1861
+ } | {
1862
+ name: "path";
1863
+ params: {
1864
+ fromRoot: true;
1865
+ value: string;
1866
+ };
1867
+ }) | ({
1868
+ name: "static";
1869
+ params: {
1870
+ value: string | number;
1871
+ };
1872
+ } | {
1873
+ name: "path";
1874
+ params: {
1875
+ value: string;
1876
+ };
1877
+ } | {
1878
+ name: "path";
1879
+ params: {
1880
+ fromRoot: true;
1881
+ value: string;
1882
+ };
1883
+ } | {
1884
+ name: "array_find";
1885
+ params: {
1886
+ key: string;
1887
+ operator: "=";
1888
+ value: string | number;
1889
+ };
1890
+ } | {
1891
+ name: "array_find";
1892
+ params: {
1893
+ key: string;
1894
+ operator: "=";
1895
+ valuePath: string;
1896
+ };
1897
+ } | {
1898
+ name: "array_find";
1899
+ params: {
1900
+ conditions: (Condition_Without_Path_Operator & {
1901
+ evaluateValue: string;
1902
+ })[];
1903
+ };
1904
+ } | {
1905
+ name: "fallback";
1906
+ params: FieldMapFallbackRulePayload;
1907
+ } | {
1908
+ name: "fallback";
1909
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
1910
+ staticValue: string | number | string[] | {
1911
+ [key: string]: string;
1912
+ } | number[] | {
1913
+ [key: string]: number;
1914
+ };
1915
+ };
1916
+ } | {
1917
+ name: "fallback_if";
1918
+ params: FieldMapFallbackRulePayload & {
1919
+ conditions: (Condition | (Condition_Without_Path_Operator & {
1920
+ evaluateValue: string;
1921
+ }))[];
1922
+ };
1923
+ } | {
1924
+ name: "exclude_from_record";
1925
+ params: {
1926
+ keys: string[];
1927
+ };
1928
+ } | {
1929
+ name: "decrypt";
1930
+ params: {
1931
+ passwordPrefixPath?: string;
1932
+ };
1933
+ } | {
1934
+ name: "interpolate";
1935
+ params: {
1936
+ value: string;
1937
+ };
1938
+ } | {
1939
+ name: "custom";
1940
+ params: {
1941
+ value: string;
1942
+ };
1943
+ }))[];
1944
+ source?: FieldSource;
1945
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
1946
+ };
1586
1947
  }) | ({
1587
1948
  name: "create_oauth_client";
1588
1949
  configurationId: string;
1589
1950
  } & {
1590
- value?: __x_string__never__;
1951
+ value?: {};
1591
1952
  }) | ({
1592
1953
  name: "authorize_oauth_client";
1593
1954
  slug: string;
1594
1955
  } & {
1595
- value?: __x_string__never__;
1956
+ value?: {};
1596
1957
  }) | ({
1597
1958
  name: "configure_content";
1598
1959
  } & {
1599
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1960
+ value?: {
1961
+ sample?: {
1962
+ [key: string]: AnyValue;
1963
+ };
1964
+ textEncoding: string;
1965
+ format: Format;
1966
+ };
1600
1967
  }) | ({
1601
1968
  name: "configure_api_key";
1602
1969
  slug: "partoo";
1603
1970
  } & {
1604
- value?: _value_string__;
1971
+ value?: {
1972
+ value: string;
1973
+ };
1605
1974
  }) | ({
1606
1975
  name: "patch";
1607
1976
  } & {
1608
- value?: _refresh_ProxyRefresh__;
1977
+ value?: {
1978
+ refresh: ProxyRefresh;
1979
+ };
1609
1980
  }) | ({
1610
1981
  name: "validate";
1611
1982
  } & {
1612
- value?: __x_string__never__;
1983
+ value?: {};
1613
1984
  }) | ({
1614
1985
  name: "configure_name";
1615
1986
  } & {
@@ -1629,11 +2000,110 @@ export declare type CurrentSteps = {
1629
2000
  type: FieldMapType;
1630
2001
  };
1631
2002
  } & {
1632
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2003
+ value?: {
2004
+ name: string;
2005
+ type: FieldMapType;
2006
+ selected: boolean;
2007
+ rules: (({
2008
+ name: "static";
2009
+ params: {
2010
+ value: string | number;
2011
+ };
2012
+ } | {
2013
+ name: "path";
2014
+ params: {
2015
+ value: string;
2016
+ };
2017
+ } | {
2018
+ name: "path";
2019
+ params: {
2020
+ fromRoot: true;
2021
+ value: string;
2022
+ };
2023
+ }) | ({
2024
+ name: "static";
2025
+ params: {
2026
+ value: string | number;
2027
+ };
2028
+ } | {
2029
+ name: "path";
2030
+ params: {
2031
+ value: string;
2032
+ };
2033
+ } | {
2034
+ name: "path";
2035
+ params: {
2036
+ fromRoot: true;
2037
+ value: string;
2038
+ };
2039
+ } | {
2040
+ name: "array_find";
2041
+ params: {
2042
+ key: string;
2043
+ operator: "=";
2044
+ value: string | number;
2045
+ };
2046
+ } | {
2047
+ name: "array_find";
2048
+ params: {
2049
+ key: string;
2050
+ operator: "=";
2051
+ valuePath: string;
2052
+ };
2053
+ } | {
2054
+ name: "array_find";
2055
+ params: {
2056
+ conditions: (Condition_Without_Path_Operator & {
2057
+ evaluateValue: string;
2058
+ })[];
2059
+ };
2060
+ } | {
2061
+ name: "fallback";
2062
+ params: FieldMapFallbackRulePayload;
2063
+ } | {
2064
+ name: "fallback";
2065
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
2066
+ staticValue: string | number | string[] | {
2067
+ [key: string]: string;
2068
+ } | number[] | {
2069
+ [key: string]: number;
2070
+ };
2071
+ };
2072
+ } | {
2073
+ name: "fallback_if";
2074
+ params: FieldMapFallbackRulePayload & {
2075
+ conditions: (Condition | (Condition_Without_Path_Operator & {
2076
+ evaluateValue: string;
2077
+ }))[];
2078
+ };
2079
+ } | {
2080
+ name: "exclude_from_record";
2081
+ params: {
2082
+ keys: string[];
2083
+ };
2084
+ } | {
2085
+ name: "decrypt";
2086
+ params: {
2087
+ passwordPrefixPath?: string;
2088
+ };
2089
+ } | {
2090
+ name: "interpolate";
2091
+ params: {
2092
+ value: string;
2093
+ };
2094
+ } | {
2095
+ name: "custom";
2096
+ params: {
2097
+ value: string;
2098
+ };
2099
+ }))[];
2100
+ source?: FieldSource;
2101
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
2102
+ };
1633
2103
  }) | ({
1634
2104
  name: "validate";
1635
2105
  } & {
1636
- value?: __x_string__never__;
2106
+ value?: {};
1637
2107
  }) | ({
1638
2108
  name: "inject_shopify_analytics_script";
1639
2109
  configurationId: string;
@@ -1642,15 +2112,15 @@ export declare type CurrentSteps = {
1642
2112
  }) | ({
1643
2113
  name: "configure_shopify_analytics_script";
1644
2114
  } & {
1645
- value?: __x_string__never__;
2115
+ value?: {};
1646
2116
  }) | ({
1647
2117
  name: "configure_google_tag_manager";
1648
2118
  } & {
1649
- value?: __x_string__never__;
2119
+ value?: {};
1650
2120
  }) | ({
1651
2121
  name: "configure_reelevant_analytics_script";
1652
2122
  } & {
1653
- value?: __x_string__never__;
2123
+ value?: {};
1654
2124
  });
1655
2125
  next: (({
1656
2126
  name: "configure_name";
@@ -1664,7 +2134,21 @@ export declare type CurrentSteps = {
1664
2134
  name: "configure_source";
1665
2135
  mode?: "url" | "file";
1666
2136
  } & {
1667
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
2137
+ value?: {
2138
+ urls: string[];
2139
+ ignoreMissingLiveFields?: true;
2140
+ apiOptions?: WorkerApiOptions;
2141
+ sample?: {
2142
+ [key: string]: AnyValue;
2143
+ };
2144
+ textEncoding: string;
2145
+ format: Format;
2146
+ } | {
2147
+ file: string;
2148
+ ignoreMissingLiveFields?: string;
2149
+ textEncoding: string;
2150
+ format: Format;
2151
+ };
1668
2152
  }) | ({
1669
2153
  name: "configure_fieldsmap";
1670
2154
  } & {
@@ -1676,17 +2160,116 @@ export declare type CurrentSteps = {
1676
2160
  type: FieldMapType;
1677
2161
  };
1678
2162
  } & {
1679
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2163
+ value?: {
2164
+ name: string;
2165
+ type: FieldMapType;
2166
+ selected: boolean;
2167
+ rules: (({
2168
+ name: "static";
2169
+ params: {
2170
+ value: string | number;
2171
+ };
2172
+ } | {
2173
+ name: "path";
2174
+ params: {
2175
+ value: string;
2176
+ };
2177
+ } | {
2178
+ name: "path";
2179
+ params: {
2180
+ fromRoot: true;
2181
+ value: string;
2182
+ };
2183
+ }) | ({
2184
+ name: "static";
2185
+ params: {
2186
+ value: string | number;
2187
+ };
2188
+ } | {
2189
+ name: "path";
2190
+ params: {
2191
+ value: string;
2192
+ };
2193
+ } | {
2194
+ name: "path";
2195
+ params: {
2196
+ fromRoot: true;
2197
+ value: string;
2198
+ };
2199
+ } | {
2200
+ name: "array_find";
2201
+ params: {
2202
+ key: string;
2203
+ operator: "=";
2204
+ value: string | number;
2205
+ };
2206
+ } | {
2207
+ name: "array_find";
2208
+ params: {
2209
+ key: string;
2210
+ operator: "=";
2211
+ valuePath: string;
2212
+ };
2213
+ } | {
2214
+ name: "array_find";
2215
+ params: {
2216
+ conditions: (Condition_Without_Path_Operator & {
2217
+ evaluateValue: string;
2218
+ })[];
2219
+ };
2220
+ } | {
2221
+ name: "fallback";
2222
+ params: FieldMapFallbackRulePayload;
2223
+ } | {
2224
+ name: "fallback";
2225
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
2226
+ staticValue: string | number | string[] | {
2227
+ [key: string]: string;
2228
+ } | number[] | {
2229
+ [key: string]: number;
2230
+ };
2231
+ };
2232
+ } | {
2233
+ name: "fallback_if";
2234
+ params: FieldMapFallbackRulePayload & {
2235
+ conditions: (Condition | (Condition_Without_Path_Operator & {
2236
+ evaluateValue: string;
2237
+ }))[];
2238
+ };
2239
+ } | {
2240
+ name: "exclude_from_record";
2241
+ params: {
2242
+ keys: string[];
2243
+ };
2244
+ } | {
2245
+ name: "decrypt";
2246
+ params: {
2247
+ passwordPrefixPath?: string;
2248
+ };
2249
+ } | {
2250
+ name: "interpolate";
2251
+ params: {
2252
+ value: string;
2253
+ };
2254
+ } | {
2255
+ name: "custom";
2256
+ params: {
2257
+ value: string;
2258
+ };
2259
+ }))[];
2260
+ source?: FieldSource;
2261
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
2262
+ };
1680
2263
  }) | ({
1681
2264
  name: "create_oauth_client";
1682
2265
  configurationId: string;
1683
2266
  } & {
1684
- value?: __x_string__never__;
2267
+ value?: {};
1685
2268
  }) | ({
1686
2269
  name: "authorize_oauth_client";
1687
2270
  slug: string;
1688
2271
  } & {
1689
- value?: __x_string__never__;
2272
+ value?: {};
1690
2273
  }) | ({
1691
2274
  name: "configure_thresholds";
1692
2275
  } & {
@@ -1711,20 +2294,65 @@ export declare type CurrentSteps = {
1711
2294
  }) | ({
1712
2295
  name: "configure_content";
1713
2296
  } & {
1714
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
2297
+ value?: {
2298
+ sample?: {
2299
+ [key: string]: AnyValue;
2300
+ };
2301
+ textEncoding: string;
2302
+ format: Format;
2303
+ };
1715
2304
  }) | ({
1716
2305
  name: "configure_api_key";
1717
2306
  slug: "partoo";
1718
2307
  } & {
1719
- value?: _value_string__;
2308
+ value?: {
2309
+ value: string;
2310
+ };
1720
2311
  }) | ({
1721
2312
  name: "patch";
1722
2313
  } & {
1723
- value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
2314
+ value?: {
2315
+ aggregationPipeline: ({
2316
+ name: "unwind";
2317
+ params: {
2318
+ src: string;
2319
+ dest: string;
2320
+ allowEmpty?: boolean;
2321
+ };
2322
+ } | {
2323
+ name: "extra_data_fields";
2324
+ params: {
2325
+ fieldNames: string[];
2326
+ };
2327
+ } | {
2328
+ name: "merge";
2329
+ params: {
2330
+ fieldNames: string[];
2331
+ datasourceId: string;
2332
+ query: string;
2333
+ };
2334
+ } | {
2335
+ name: "count";
2336
+ params: {
2337
+ fieldNames: string[];
2338
+ datasourceId: string;
2339
+ query: string;
2340
+ };
2341
+ })[];
2342
+ refresh: {
2343
+ freq: number;
2344
+ } | {
2345
+ cron: string;
2346
+ } | {
2347
+ datasourceIds: string[];
2348
+ };
2349
+ detectMissingFields: boolean;
2350
+ batchSize: number;
2351
+ };
1724
2352
  }) | ({
1725
2353
  name: "validate";
1726
2354
  } & {
1727
- value?: __x_string__never__;
2355
+ value?: {};
1728
2356
  }) | ({
1729
2357
  name: "configure_shopify_shop_name";
1730
2358
  configurationId: string;
@@ -1733,23 +2361,34 @@ export declare type CurrentSteps = {
1733
2361
  }) | ({
1734
2362
  name: "configure_twitter";
1735
2363
  } & {
1736
- value?: _type_user_or_hashtag_value_string__;
2364
+ value?: {
2365
+ type: "user" | "hashtag";
2366
+ value: string;
2367
+ };
1737
2368
  }) | ({
1738
2369
  name: "configure_product_datasource_source";
1739
2370
  } & {
1740
- value?: _datasourceId_string__;
2371
+ value?: {
2372
+ datasourceId: string;
2373
+ };
1741
2374
  }) | ({
1742
2375
  name: "configure_tracking_datasource_source";
1743
2376
  } & {
1744
- value?: _datasourceId_string__;
2377
+ value?: {
2378
+ datasourceId: string;
2379
+ };
1745
2380
  }) | ({
1746
2381
  name: "configure_best_product_query";
1747
2382
  } & {
1748
- value?: _query_string__;
2383
+ value?: {
2384
+ query: string;
2385
+ };
1749
2386
  }) | ({
1750
2387
  name: "configure_best_product_field";
1751
2388
  } & {
1752
- value?: _field_string__;
2389
+ value?: {
2390
+ field: string;
2391
+ };
1753
2392
  }) | ({
1754
2393
  name: "configure_name";
1755
2394
  } & {
@@ -1762,7 +2401,16 @@ export declare type CurrentSteps = {
1762
2401
  name: "configure_source";
1763
2402
  mode?: "url" | "file";
1764
2403
  } & {
1765
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
2404
+ value?: {
2405
+ urls: string[];
2406
+ ignoreMissingLiveFields?: true;
2407
+ apiOptions?: ProxyApiOptions;
2408
+ sample?: {
2409
+ [key: string]: AnyValue;
2410
+ };
2411
+ textEncoding: string;
2412
+ format: Format;
2413
+ };
1766
2414
  }) | ({
1767
2415
  name: "configure_fieldsmap";
1768
2416
  } & {
@@ -1774,34 +2422,143 @@ export declare type CurrentSteps = {
1774
2422
  type: FieldMapType;
1775
2423
  };
1776
2424
  } & {
1777
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2425
+ value?: {
2426
+ name: string;
2427
+ type: FieldMapType;
2428
+ selected: boolean;
2429
+ rules: (({
2430
+ name: "static";
2431
+ params: {
2432
+ value: string | number;
2433
+ };
2434
+ } | {
2435
+ name: "path";
2436
+ params: {
2437
+ value: string;
2438
+ };
2439
+ } | {
2440
+ name: "path";
2441
+ params: {
2442
+ fromRoot: true;
2443
+ value: string;
2444
+ };
2445
+ }) | ({
2446
+ name: "static";
2447
+ params: {
2448
+ value: string | number;
2449
+ };
2450
+ } | {
2451
+ name: "path";
2452
+ params: {
2453
+ value: string;
2454
+ };
2455
+ } | {
2456
+ name: "path";
2457
+ params: {
2458
+ fromRoot: true;
2459
+ value: string;
2460
+ };
2461
+ } | {
2462
+ name: "array_find";
2463
+ params: {
2464
+ key: string;
2465
+ operator: "=";
2466
+ value: string | number;
2467
+ };
2468
+ } | {
2469
+ name: "array_find";
2470
+ params: {
2471
+ key: string;
2472
+ operator: "=";
2473
+ valuePath: string;
2474
+ };
2475
+ } | {
2476
+ name: "array_find";
2477
+ params: {
2478
+ conditions: (Condition_Without_Path_Operator & {
2479
+ evaluateValue: string;
2480
+ })[];
2481
+ };
2482
+ } | {
2483
+ name: "fallback";
2484
+ params: FieldMapFallbackRulePayload;
2485
+ } | {
2486
+ name: "fallback";
2487
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
2488
+ staticValue: string | number | string[] | {
2489
+ [key: string]: string;
2490
+ } | number[] | {
2491
+ [key: string]: number;
2492
+ };
2493
+ };
2494
+ } | {
2495
+ name: "fallback_if";
2496
+ params: FieldMapFallbackRulePayload & {
2497
+ conditions: (Condition | (Condition_Without_Path_Operator & {
2498
+ evaluateValue: string;
2499
+ }))[];
2500
+ };
2501
+ } | {
2502
+ name: "exclude_from_record";
2503
+ params: {
2504
+ keys: string[];
2505
+ };
2506
+ } | {
2507
+ name: "decrypt";
2508
+ params: {
2509
+ passwordPrefixPath?: string;
2510
+ };
2511
+ } | {
2512
+ name: "interpolate";
2513
+ params: {
2514
+ value: string;
2515
+ };
2516
+ } | {
2517
+ name: "custom";
2518
+ params: {
2519
+ value: string;
2520
+ };
2521
+ }))[];
2522
+ source?: FieldSource;
2523
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
2524
+ };
1778
2525
  }) | ({
1779
2526
  name: "create_oauth_client";
1780
2527
  configurationId: string;
1781
2528
  } & {
1782
- value?: __x_string__never__;
2529
+ value?: {};
1783
2530
  }) | ({
1784
2531
  name: "authorize_oauth_client";
1785
2532
  slug: string;
1786
2533
  } & {
1787
- value?: __x_string__never__;
2534
+ value?: {};
1788
2535
  }) | ({
1789
2536
  name: "configure_content";
1790
2537
  } & {
1791
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
2538
+ value?: {
2539
+ sample?: {
2540
+ [key: string]: AnyValue;
2541
+ };
2542
+ textEncoding: string;
2543
+ format: Format;
2544
+ };
1792
2545
  }) | ({
1793
2546
  name: "configure_api_key";
1794
2547
  slug: "partoo";
1795
2548
  } & {
1796
- value?: _value_string__;
2549
+ value?: {
2550
+ value: string;
2551
+ };
1797
2552
  }) | ({
1798
2553
  name: "patch";
1799
2554
  } & {
1800
- value?: _refresh_ProxyRefresh__;
2555
+ value?: {
2556
+ refresh: ProxyRefresh;
2557
+ };
1801
2558
  }) | ({
1802
2559
  name: "validate";
1803
2560
  } & {
1804
- value?: __x_string__never__;
2561
+ value?: {};
1805
2562
  }) | ({
1806
2563
  name: "configure_name";
1807
2564
  } & {
@@ -1821,11 +2578,110 @@ export declare type CurrentSteps = {
1821
2578
  type: FieldMapType;
1822
2579
  };
1823
2580
  } & {
1824
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2581
+ value?: {
2582
+ name: string;
2583
+ type: FieldMapType;
2584
+ selected: boolean;
2585
+ rules: (({
2586
+ name: "static";
2587
+ params: {
2588
+ value: string | number;
2589
+ };
2590
+ } | {
2591
+ name: "path";
2592
+ params: {
2593
+ value: string;
2594
+ };
2595
+ } | {
2596
+ name: "path";
2597
+ params: {
2598
+ fromRoot: true;
2599
+ value: string;
2600
+ };
2601
+ }) | ({
2602
+ name: "static";
2603
+ params: {
2604
+ value: string | number;
2605
+ };
2606
+ } | {
2607
+ name: "path";
2608
+ params: {
2609
+ value: string;
2610
+ };
2611
+ } | {
2612
+ name: "path";
2613
+ params: {
2614
+ fromRoot: true;
2615
+ value: string;
2616
+ };
2617
+ } | {
2618
+ name: "array_find";
2619
+ params: {
2620
+ key: string;
2621
+ operator: "=";
2622
+ value: string | number;
2623
+ };
2624
+ } | {
2625
+ name: "array_find";
2626
+ params: {
2627
+ key: string;
2628
+ operator: "=";
2629
+ valuePath: string;
2630
+ };
2631
+ } | {
2632
+ name: "array_find";
2633
+ params: {
2634
+ conditions: (Condition_Without_Path_Operator & {
2635
+ evaluateValue: string;
2636
+ })[];
2637
+ };
2638
+ } | {
2639
+ name: "fallback";
2640
+ params: FieldMapFallbackRulePayload;
2641
+ } | {
2642
+ name: "fallback";
2643
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
2644
+ staticValue: string | number | string[] | {
2645
+ [key: string]: string;
2646
+ } | number[] | {
2647
+ [key: string]: number;
2648
+ };
2649
+ };
2650
+ } | {
2651
+ name: "fallback_if";
2652
+ params: FieldMapFallbackRulePayload & {
2653
+ conditions: (Condition | (Condition_Without_Path_Operator & {
2654
+ evaluateValue: string;
2655
+ }))[];
2656
+ };
2657
+ } | {
2658
+ name: "exclude_from_record";
2659
+ params: {
2660
+ keys: string[];
2661
+ };
2662
+ } | {
2663
+ name: "decrypt";
2664
+ params: {
2665
+ passwordPrefixPath?: string;
2666
+ };
2667
+ } | {
2668
+ name: "interpolate";
2669
+ params: {
2670
+ value: string;
2671
+ };
2672
+ } | {
2673
+ name: "custom";
2674
+ params: {
2675
+ value: string;
2676
+ };
2677
+ }))[];
2678
+ source?: FieldSource;
2679
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
2680
+ };
1825
2681
  }) | ({
1826
2682
  name: "validate";
1827
2683
  } & {
1828
- value?: __x_string__never__;
2684
+ value?: {};
1829
2685
  }) | ({
1830
2686
  name: "inject_shopify_analytics_script";
1831
2687
  configurationId: string;
@@ -1834,15 +2690,15 @@ export declare type CurrentSteps = {
1834
2690
  }) | ({
1835
2691
  name: "configure_shopify_analytics_script";
1836
2692
  } & {
1837
- value?: __x_string__never__;
2693
+ value?: {};
1838
2694
  }) | ({
1839
2695
  name: "configure_google_tag_manager";
1840
2696
  } & {
1841
- value?: __x_string__never__;
2697
+ value?: {};
1842
2698
  }) | ({
1843
2699
  name: "configure_reelevant_analytics_script";
1844
2700
  } & {
1845
- value?: __x_string__never__;
2701
+ value?: {};
1846
2702
  }))[];
1847
2703
  previous: (({
1848
2704
  name: "configure_name";
@@ -1856,7 +2712,21 @@ export declare type CurrentSteps = {
1856
2712
  name: "configure_source";
1857
2713
  mode?: "url" | "file";
1858
2714
  } & {
1859
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
2715
+ value?: {
2716
+ urls: string[];
2717
+ ignoreMissingLiveFields?: true;
2718
+ apiOptions?: WorkerApiOptions;
2719
+ sample?: {
2720
+ [key: string]: AnyValue;
2721
+ };
2722
+ textEncoding: string;
2723
+ format: Format;
2724
+ } | {
2725
+ file: string;
2726
+ ignoreMissingLiveFields?: string;
2727
+ textEncoding: string;
2728
+ format: Format;
2729
+ };
1860
2730
  }) | ({
1861
2731
  name: "configure_fieldsmap";
1862
2732
  } & {
@@ -1868,17 +2738,116 @@ export declare type CurrentSteps = {
1868
2738
  type: FieldMapType;
1869
2739
  };
1870
2740
  } & {
1871
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2741
+ value?: {
2742
+ name: string;
2743
+ type: FieldMapType;
2744
+ selected: boolean;
2745
+ rules: (({
2746
+ name: "static";
2747
+ params: {
2748
+ value: string | number;
2749
+ };
2750
+ } | {
2751
+ name: "path";
2752
+ params: {
2753
+ value: string;
2754
+ };
2755
+ } | {
2756
+ name: "path";
2757
+ params: {
2758
+ fromRoot: true;
2759
+ value: string;
2760
+ };
2761
+ }) | ({
2762
+ name: "static";
2763
+ params: {
2764
+ value: string | number;
2765
+ };
2766
+ } | {
2767
+ name: "path";
2768
+ params: {
2769
+ value: string;
2770
+ };
2771
+ } | {
2772
+ name: "path";
2773
+ params: {
2774
+ fromRoot: true;
2775
+ value: string;
2776
+ };
2777
+ } | {
2778
+ name: "array_find";
2779
+ params: {
2780
+ key: string;
2781
+ operator: "=";
2782
+ value: string | number;
2783
+ };
2784
+ } | {
2785
+ name: "array_find";
2786
+ params: {
2787
+ key: string;
2788
+ operator: "=";
2789
+ valuePath: string;
2790
+ };
2791
+ } | {
2792
+ name: "array_find";
2793
+ params: {
2794
+ conditions: (Condition_Without_Path_Operator & {
2795
+ evaluateValue: string;
2796
+ })[];
2797
+ };
2798
+ } | {
2799
+ name: "fallback";
2800
+ params: FieldMapFallbackRulePayload;
2801
+ } | {
2802
+ name: "fallback";
2803
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
2804
+ staticValue: string | number | string[] | {
2805
+ [key: string]: string;
2806
+ } | number[] | {
2807
+ [key: string]: number;
2808
+ };
2809
+ };
2810
+ } | {
2811
+ name: "fallback_if";
2812
+ params: FieldMapFallbackRulePayload & {
2813
+ conditions: (Condition | (Condition_Without_Path_Operator & {
2814
+ evaluateValue: string;
2815
+ }))[];
2816
+ };
2817
+ } | {
2818
+ name: "exclude_from_record";
2819
+ params: {
2820
+ keys: string[];
2821
+ };
2822
+ } | {
2823
+ name: "decrypt";
2824
+ params: {
2825
+ passwordPrefixPath?: string;
2826
+ };
2827
+ } | {
2828
+ name: "interpolate";
2829
+ params: {
2830
+ value: string;
2831
+ };
2832
+ } | {
2833
+ name: "custom";
2834
+ params: {
2835
+ value: string;
2836
+ };
2837
+ }))[];
2838
+ source?: FieldSource;
2839
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
2840
+ };
1872
2841
  }) | ({
1873
2842
  name: "create_oauth_client";
1874
2843
  configurationId: string;
1875
2844
  } & {
1876
- value?: __x_string__never__;
2845
+ value?: {};
1877
2846
  }) | ({
1878
2847
  name: "authorize_oauth_client";
1879
2848
  slug: string;
1880
2849
  } & {
1881
- value?: __x_string__never__;
2850
+ value?: {};
1882
2851
  }) | ({
1883
2852
  name: "configure_thresholds";
1884
2853
  } & {
@@ -1903,20 +2872,65 @@ export declare type CurrentSteps = {
1903
2872
  }) | ({
1904
2873
  name: "configure_content";
1905
2874
  } & {
1906
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
2875
+ value?: {
2876
+ sample?: {
2877
+ [key: string]: AnyValue;
2878
+ };
2879
+ textEncoding: string;
2880
+ format: Format;
2881
+ };
1907
2882
  }) | ({
1908
2883
  name: "configure_api_key";
1909
2884
  slug: "partoo";
1910
2885
  } & {
1911
- value?: _value_string__;
2886
+ value?: {
2887
+ value: string;
2888
+ };
1912
2889
  }) | ({
1913
2890
  name: "patch";
1914
2891
  } & {
1915
- value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
2892
+ value?: {
2893
+ aggregationPipeline: ({
2894
+ name: "unwind";
2895
+ params: {
2896
+ src: string;
2897
+ dest: string;
2898
+ allowEmpty?: boolean;
2899
+ };
2900
+ } | {
2901
+ name: "extra_data_fields";
2902
+ params: {
2903
+ fieldNames: string[];
2904
+ };
2905
+ } | {
2906
+ name: "merge";
2907
+ params: {
2908
+ fieldNames: string[];
2909
+ datasourceId: string;
2910
+ query: string;
2911
+ };
2912
+ } | {
2913
+ name: "count";
2914
+ params: {
2915
+ fieldNames: string[];
2916
+ datasourceId: string;
2917
+ query: string;
2918
+ };
2919
+ })[];
2920
+ refresh: {
2921
+ freq: number;
2922
+ } | {
2923
+ cron: string;
2924
+ } | {
2925
+ datasourceIds: string[];
2926
+ };
2927
+ detectMissingFields: boolean;
2928
+ batchSize: number;
2929
+ };
1916
2930
  }) | ({
1917
2931
  name: "validate";
1918
2932
  } & {
1919
- value?: __x_string__never__;
2933
+ value?: {};
1920
2934
  }) | ({
1921
2935
  name: "configure_shopify_shop_name";
1922
2936
  configurationId: string;
@@ -1925,23 +2939,34 @@ export declare type CurrentSteps = {
1925
2939
  }) | ({
1926
2940
  name: "configure_twitter";
1927
2941
  } & {
1928
- value?: _type_user_or_hashtag_value_string__;
2942
+ value?: {
2943
+ type: "user" | "hashtag";
2944
+ value: string;
2945
+ };
1929
2946
  }) | ({
1930
2947
  name: "configure_product_datasource_source";
1931
2948
  } & {
1932
- value?: _datasourceId_string__;
2949
+ value?: {
2950
+ datasourceId: string;
2951
+ };
1933
2952
  }) | ({
1934
2953
  name: "configure_tracking_datasource_source";
1935
2954
  } & {
1936
- value?: _datasourceId_string__;
2955
+ value?: {
2956
+ datasourceId: string;
2957
+ };
1937
2958
  }) | ({
1938
2959
  name: "configure_best_product_query";
1939
2960
  } & {
1940
- value?: _query_string__;
2961
+ value?: {
2962
+ query: string;
2963
+ };
1941
2964
  }) | ({
1942
2965
  name: "configure_best_product_field";
1943
2966
  } & {
1944
- value?: _field_string__;
2967
+ value?: {
2968
+ field: string;
2969
+ };
1945
2970
  }) | ({
1946
2971
  name: "configure_name";
1947
2972
  } & {
@@ -1954,7 +2979,16 @@ export declare type CurrentSteps = {
1954
2979
  name: "configure_source";
1955
2980
  mode?: "url" | "file";
1956
2981
  } & {
1957
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
2982
+ value?: {
2983
+ urls: string[];
2984
+ ignoreMissingLiveFields?: true;
2985
+ apiOptions?: ProxyApiOptions;
2986
+ sample?: {
2987
+ [key: string]: AnyValue;
2988
+ };
2989
+ textEncoding: string;
2990
+ format: Format;
2991
+ };
1958
2992
  }) | ({
1959
2993
  name: "configure_fieldsmap";
1960
2994
  } & {
@@ -1966,34 +3000,143 @@ export declare type CurrentSteps = {
1966
3000
  type: FieldMapType;
1967
3001
  };
1968
3002
  } & {
1969
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
3003
+ value?: {
3004
+ name: string;
3005
+ type: FieldMapType;
3006
+ selected: boolean;
3007
+ rules: (({
3008
+ name: "static";
3009
+ params: {
3010
+ value: string | number;
3011
+ };
3012
+ } | {
3013
+ name: "path";
3014
+ params: {
3015
+ value: string;
3016
+ };
3017
+ } | {
3018
+ name: "path";
3019
+ params: {
3020
+ fromRoot: true;
3021
+ value: string;
3022
+ };
3023
+ }) | ({
3024
+ name: "static";
3025
+ params: {
3026
+ value: string | number;
3027
+ };
3028
+ } | {
3029
+ name: "path";
3030
+ params: {
3031
+ value: string;
3032
+ };
3033
+ } | {
3034
+ name: "path";
3035
+ params: {
3036
+ fromRoot: true;
3037
+ value: string;
3038
+ };
3039
+ } | {
3040
+ name: "array_find";
3041
+ params: {
3042
+ key: string;
3043
+ operator: "=";
3044
+ value: string | number;
3045
+ };
3046
+ } | {
3047
+ name: "array_find";
3048
+ params: {
3049
+ key: string;
3050
+ operator: "=";
3051
+ valuePath: string;
3052
+ };
3053
+ } | {
3054
+ name: "array_find";
3055
+ params: {
3056
+ conditions: (Condition_Without_Path_Operator & {
3057
+ evaluateValue: string;
3058
+ })[];
3059
+ };
3060
+ } | {
3061
+ name: "fallback";
3062
+ params: FieldMapFallbackRulePayload;
3063
+ } | {
3064
+ name: "fallback";
3065
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
3066
+ staticValue: string | number | string[] | {
3067
+ [key: string]: string;
3068
+ } | number[] | {
3069
+ [key: string]: number;
3070
+ };
3071
+ };
3072
+ } | {
3073
+ name: "fallback_if";
3074
+ params: FieldMapFallbackRulePayload & {
3075
+ conditions: (Condition | (Condition_Without_Path_Operator & {
3076
+ evaluateValue: string;
3077
+ }))[];
3078
+ };
3079
+ } | {
3080
+ name: "exclude_from_record";
3081
+ params: {
3082
+ keys: string[];
3083
+ };
3084
+ } | {
3085
+ name: "decrypt";
3086
+ params: {
3087
+ passwordPrefixPath?: string;
3088
+ };
3089
+ } | {
3090
+ name: "interpolate";
3091
+ params: {
3092
+ value: string;
3093
+ };
3094
+ } | {
3095
+ name: "custom";
3096
+ params: {
3097
+ value: string;
3098
+ };
3099
+ }))[];
3100
+ source?: FieldSource;
3101
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
3102
+ };
1970
3103
  }) | ({
1971
3104
  name: "create_oauth_client";
1972
3105
  configurationId: string;
1973
3106
  } & {
1974
- value?: __x_string__never__;
3107
+ value?: {};
1975
3108
  }) | ({
1976
3109
  name: "authorize_oauth_client";
1977
3110
  slug: string;
1978
3111
  } & {
1979
- value?: __x_string__never__;
3112
+ value?: {};
1980
3113
  }) | ({
1981
3114
  name: "configure_content";
1982
3115
  } & {
1983
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
3116
+ value?: {
3117
+ sample?: {
3118
+ [key: string]: AnyValue;
3119
+ };
3120
+ textEncoding: string;
3121
+ format: Format;
3122
+ };
1984
3123
  }) | ({
1985
3124
  name: "configure_api_key";
1986
3125
  slug: "partoo";
1987
3126
  } & {
1988
- value?: _value_string__;
3127
+ value?: {
3128
+ value: string;
3129
+ };
1989
3130
  }) | ({
1990
3131
  name: "patch";
1991
3132
  } & {
1992
- value?: _refresh_ProxyRefresh__;
3133
+ value?: {
3134
+ refresh: ProxyRefresh;
3135
+ };
1993
3136
  }) | ({
1994
3137
  name: "validate";
1995
3138
  } & {
1996
- value?: __x_string__never__;
3139
+ value?: {};
1997
3140
  }) | ({
1998
3141
  name: "configure_name";
1999
3142
  } & {
@@ -2013,11 +3156,110 @@ export declare type CurrentSteps = {
2013
3156
  type: FieldMapType;
2014
3157
  };
2015
3158
  } & {
2016
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
3159
+ value?: {
3160
+ name: string;
3161
+ type: FieldMapType;
3162
+ selected: boolean;
3163
+ rules: (({
3164
+ name: "static";
3165
+ params: {
3166
+ value: string | number;
3167
+ };
3168
+ } | {
3169
+ name: "path";
3170
+ params: {
3171
+ value: string;
3172
+ };
3173
+ } | {
3174
+ name: "path";
3175
+ params: {
3176
+ fromRoot: true;
3177
+ value: string;
3178
+ };
3179
+ }) | ({
3180
+ name: "static";
3181
+ params: {
3182
+ value: string | number;
3183
+ };
3184
+ } | {
3185
+ name: "path";
3186
+ params: {
3187
+ value: string;
3188
+ };
3189
+ } | {
3190
+ name: "path";
3191
+ params: {
3192
+ fromRoot: true;
3193
+ value: string;
3194
+ };
3195
+ } | {
3196
+ name: "array_find";
3197
+ params: {
3198
+ key: string;
3199
+ operator: "=";
3200
+ value: string | number;
3201
+ };
3202
+ } | {
3203
+ name: "array_find";
3204
+ params: {
3205
+ key: string;
3206
+ operator: "=";
3207
+ valuePath: string;
3208
+ };
3209
+ } | {
3210
+ name: "array_find";
3211
+ params: {
3212
+ conditions: (Condition_Without_Path_Operator & {
3213
+ evaluateValue: string;
3214
+ })[];
3215
+ };
3216
+ } | {
3217
+ name: "fallback";
3218
+ params: FieldMapFallbackRulePayload;
3219
+ } | {
3220
+ name: "fallback";
3221
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
3222
+ staticValue: string | number | string[] | {
3223
+ [key: string]: string;
3224
+ } | number[] | {
3225
+ [key: string]: number;
3226
+ };
3227
+ };
3228
+ } | {
3229
+ name: "fallback_if";
3230
+ params: FieldMapFallbackRulePayload & {
3231
+ conditions: (Condition | (Condition_Without_Path_Operator & {
3232
+ evaluateValue: string;
3233
+ }))[];
3234
+ };
3235
+ } | {
3236
+ name: "exclude_from_record";
3237
+ params: {
3238
+ keys: string[];
3239
+ };
3240
+ } | {
3241
+ name: "decrypt";
3242
+ params: {
3243
+ passwordPrefixPath?: string;
3244
+ };
3245
+ } | {
3246
+ name: "interpolate";
3247
+ params: {
3248
+ value: string;
3249
+ };
3250
+ } | {
3251
+ name: "custom";
3252
+ params: {
3253
+ value: string;
3254
+ };
3255
+ }))[];
3256
+ source?: FieldSource;
3257
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
3258
+ };
2017
3259
  }) | ({
2018
3260
  name: "validate";
2019
3261
  } & {
2020
- value?: __x_string__never__;
3262
+ value?: {};
2021
3263
  }) | ({
2022
3264
  name: "inject_shopify_analytics_script";
2023
3265
  configurationId: string;
@@ -2026,15 +3268,15 @@ export declare type CurrentSteps = {
2026
3268
  }) | ({
2027
3269
  name: "configure_shopify_analytics_script";
2028
3270
  } & {
2029
- value?: __x_string__never__;
3271
+ value?: {};
2030
3272
  }) | ({
2031
3273
  name: "configure_google_tag_manager";
2032
3274
  } & {
2033
- value?: __x_string__never__;
3275
+ value?: {};
2034
3276
  }) | ({
2035
3277
  name: "configure_reelevant_analytics_script";
2036
3278
  } & {
2037
- value?: __x_string__never__;
3279
+ value?: {};
2038
3280
  }))[];
2039
3281
  available: (({
2040
3282
  name: "configure_name";
@@ -2048,7 +3290,21 @@ export declare type CurrentSteps = {
2048
3290
  name: "configure_source";
2049
3291
  mode?: "url" | "file";
2050
3292
  } & {
2051
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
3293
+ value?: {
3294
+ urls: string[];
3295
+ ignoreMissingLiveFields?: true;
3296
+ apiOptions?: WorkerApiOptions;
3297
+ sample?: {
3298
+ [key: string]: AnyValue;
3299
+ };
3300
+ textEncoding: string;
3301
+ format: Format;
3302
+ } | {
3303
+ file: string;
3304
+ ignoreMissingLiveFields?: string;
3305
+ textEncoding: string;
3306
+ format: Format;
3307
+ };
2052
3308
  }) | ({
2053
3309
  name: "configure_fieldsmap";
2054
3310
  } & {
@@ -2060,17 +3316,116 @@ export declare type CurrentSteps = {
2060
3316
  type: FieldMapType;
2061
3317
  };
2062
3318
  } & {
2063
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
3319
+ value?: {
3320
+ name: string;
3321
+ type: FieldMapType;
3322
+ selected: boolean;
3323
+ rules: (({
3324
+ name: "static";
3325
+ params: {
3326
+ value: string | number;
3327
+ };
3328
+ } | {
3329
+ name: "path";
3330
+ params: {
3331
+ value: string;
3332
+ };
3333
+ } | {
3334
+ name: "path";
3335
+ params: {
3336
+ fromRoot: true;
3337
+ value: string;
3338
+ };
3339
+ }) | ({
3340
+ name: "static";
3341
+ params: {
3342
+ value: string | number;
3343
+ };
3344
+ } | {
3345
+ name: "path";
3346
+ params: {
3347
+ value: string;
3348
+ };
3349
+ } | {
3350
+ name: "path";
3351
+ params: {
3352
+ fromRoot: true;
3353
+ value: string;
3354
+ };
3355
+ } | {
3356
+ name: "array_find";
3357
+ params: {
3358
+ key: string;
3359
+ operator: "=";
3360
+ value: string | number;
3361
+ };
3362
+ } | {
3363
+ name: "array_find";
3364
+ params: {
3365
+ key: string;
3366
+ operator: "=";
3367
+ valuePath: string;
3368
+ };
3369
+ } | {
3370
+ name: "array_find";
3371
+ params: {
3372
+ conditions: (Condition_Without_Path_Operator & {
3373
+ evaluateValue: string;
3374
+ })[];
3375
+ };
3376
+ } | {
3377
+ name: "fallback";
3378
+ params: FieldMapFallbackRulePayload;
3379
+ } | {
3380
+ name: "fallback";
3381
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
3382
+ staticValue: string | number | string[] | {
3383
+ [key: string]: string;
3384
+ } | number[] | {
3385
+ [key: string]: number;
3386
+ };
3387
+ };
3388
+ } | {
3389
+ name: "fallback_if";
3390
+ params: FieldMapFallbackRulePayload & {
3391
+ conditions: (Condition | (Condition_Without_Path_Operator & {
3392
+ evaluateValue: string;
3393
+ }))[];
3394
+ };
3395
+ } | {
3396
+ name: "exclude_from_record";
3397
+ params: {
3398
+ keys: string[];
3399
+ };
3400
+ } | {
3401
+ name: "decrypt";
3402
+ params: {
3403
+ passwordPrefixPath?: string;
3404
+ };
3405
+ } | {
3406
+ name: "interpolate";
3407
+ params: {
3408
+ value: string;
3409
+ };
3410
+ } | {
3411
+ name: "custom";
3412
+ params: {
3413
+ value: string;
3414
+ };
3415
+ }))[];
3416
+ source?: FieldSource;
3417
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
3418
+ };
2064
3419
  }) | ({
2065
3420
  name: "create_oauth_client";
2066
3421
  configurationId: string;
2067
3422
  } & {
2068
- value?: __x_string__never__;
3423
+ value?: {};
2069
3424
  }) | ({
2070
3425
  name: "authorize_oauth_client";
2071
3426
  slug: string;
2072
3427
  } & {
2073
- value?: __x_string__never__;
3428
+ value?: {};
2074
3429
  }) | ({
2075
3430
  name: "configure_thresholds";
2076
3431
  } & {
@@ -2095,20 +3450,65 @@ export declare type CurrentSteps = {
2095
3450
  }) | ({
2096
3451
  name: "configure_content";
2097
3452
  } & {
2098
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
3453
+ value?: {
3454
+ sample?: {
3455
+ [key: string]: AnyValue;
3456
+ };
3457
+ textEncoding: string;
3458
+ format: Format;
3459
+ };
2099
3460
  }) | ({
2100
3461
  name: "configure_api_key";
2101
3462
  slug: "partoo";
2102
3463
  } & {
2103
- value?: _value_string__;
3464
+ value?: {
3465
+ value: string;
3466
+ };
2104
3467
  }) | ({
2105
3468
  name: "patch";
2106
3469
  } & {
2107
- value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
3470
+ value?: {
3471
+ aggregationPipeline: ({
3472
+ name: "unwind";
3473
+ params: {
3474
+ src: string;
3475
+ dest: string;
3476
+ allowEmpty?: boolean;
3477
+ };
3478
+ } | {
3479
+ name: "extra_data_fields";
3480
+ params: {
3481
+ fieldNames: string[];
3482
+ };
3483
+ } | {
3484
+ name: "merge";
3485
+ params: {
3486
+ fieldNames: string[];
3487
+ datasourceId: string;
3488
+ query: string;
3489
+ };
3490
+ } | {
3491
+ name: "count";
3492
+ params: {
3493
+ fieldNames: string[];
3494
+ datasourceId: string;
3495
+ query: string;
3496
+ };
3497
+ })[];
3498
+ refresh: {
3499
+ freq: number;
3500
+ } | {
3501
+ cron: string;
3502
+ } | {
3503
+ datasourceIds: string[];
3504
+ };
3505
+ detectMissingFields: boolean;
3506
+ batchSize: number;
3507
+ };
2108
3508
  }) | ({
2109
3509
  name: "validate";
2110
3510
  } & {
2111
- value?: __x_string__never__;
3511
+ value?: {};
2112
3512
  }) | ({
2113
3513
  name: "configure_shopify_shop_name";
2114
3514
  configurationId: string;
@@ -2117,23 +3517,34 @@ export declare type CurrentSteps = {
2117
3517
  }) | ({
2118
3518
  name: "configure_twitter";
2119
3519
  } & {
2120
- value?: _type_user_or_hashtag_value_string__;
3520
+ value?: {
3521
+ type: "user" | "hashtag";
3522
+ value: string;
3523
+ };
2121
3524
  }) | ({
2122
3525
  name: "configure_product_datasource_source";
2123
3526
  } & {
2124
- value?: _datasourceId_string__;
3527
+ value?: {
3528
+ datasourceId: string;
3529
+ };
2125
3530
  }) | ({
2126
3531
  name: "configure_tracking_datasource_source";
2127
3532
  } & {
2128
- value?: _datasourceId_string__;
3533
+ value?: {
3534
+ datasourceId: string;
3535
+ };
2129
3536
  }) | ({
2130
3537
  name: "configure_best_product_query";
2131
3538
  } & {
2132
- value?: _query_string__;
3539
+ value?: {
3540
+ query: string;
3541
+ };
2133
3542
  }) | ({
2134
3543
  name: "configure_best_product_field";
2135
3544
  } & {
2136
- value?: _field_string__;
3545
+ value?: {
3546
+ field: string;
3547
+ };
2137
3548
  }) | ({
2138
3549
  name: "configure_name";
2139
3550
  } & {
@@ -2146,7 +3557,16 @@ export declare type CurrentSteps = {
2146
3557
  name: "configure_source";
2147
3558
  mode?: "url" | "file";
2148
3559
  } & {
2149
- value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
3560
+ value?: {
3561
+ urls: string[];
3562
+ ignoreMissingLiveFields?: true;
3563
+ apiOptions?: ProxyApiOptions;
3564
+ sample?: {
3565
+ [key: string]: AnyValue;
3566
+ };
3567
+ textEncoding: string;
3568
+ format: Format;
3569
+ };
2150
3570
  }) | ({
2151
3571
  name: "configure_fieldsmap";
2152
3572
  } & {
@@ -2158,34 +3578,143 @@ export declare type CurrentSteps = {
2158
3578
  type: FieldMapType;
2159
3579
  };
2160
3580
  } & {
2161
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
3581
+ value?: {
3582
+ name: string;
3583
+ type: FieldMapType;
3584
+ selected: boolean;
3585
+ rules: (({
3586
+ name: "static";
3587
+ params: {
3588
+ value: string | number;
3589
+ };
3590
+ } | {
3591
+ name: "path";
3592
+ params: {
3593
+ value: string;
3594
+ };
3595
+ } | {
3596
+ name: "path";
3597
+ params: {
3598
+ fromRoot: true;
3599
+ value: string;
3600
+ };
3601
+ }) | ({
3602
+ name: "static";
3603
+ params: {
3604
+ value: string | number;
3605
+ };
3606
+ } | {
3607
+ name: "path";
3608
+ params: {
3609
+ value: string;
3610
+ };
3611
+ } | {
3612
+ name: "path";
3613
+ params: {
3614
+ fromRoot: true;
3615
+ value: string;
3616
+ };
3617
+ } | {
3618
+ name: "array_find";
3619
+ params: {
3620
+ key: string;
3621
+ operator: "=";
3622
+ value: string | number;
3623
+ };
3624
+ } | {
3625
+ name: "array_find";
3626
+ params: {
3627
+ key: string;
3628
+ operator: "=";
3629
+ valuePath: string;
3630
+ };
3631
+ } | {
3632
+ name: "array_find";
3633
+ params: {
3634
+ conditions: (Condition_Without_Path_Operator & {
3635
+ evaluateValue: string;
3636
+ })[];
3637
+ };
3638
+ } | {
3639
+ name: "fallback";
3640
+ params: FieldMapFallbackRulePayload;
3641
+ } | {
3642
+ name: "fallback";
3643
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
3644
+ staticValue: string | number | string[] | {
3645
+ [key: string]: string;
3646
+ } | number[] | {
3647
+ [key: string]: number;
3648
+ };
3649
+ };
3650
+ } | {
3651
+ name: "fallback_if";
3652
+ params: FieldMapFallbackRulePayload & {
3653
+ conditions: (Condition | (Condition_Without_Path_Operator & {
3654
+ evaluateValue: string;
3655
+ }))[];
3656
+ };
3657
+ } | {
3658
+ name: "exclude_from_record";
3659
+ params: {
3660
+ keys: string[];
3661
+ };
3662
+ } | {
3663
+ name: "decrypt";
3664
+ params: {
3665
+ passwordPrefixPath?: string;
3666
+ };
3667
+ } | {
3668
+ name: "interpolate";
3669
+ params: {
3670
+ value: string;
3671
+ };
3672
+ } | {
3673
+ name: "custom";
3674
+ params: {
3675
+ value: string;
3676
+ };
3677
+ }))[];
3678
+ source?: FieldSource;
3679
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
3680
+ };
2162
3681
  }) | ({
2163
3682
  name: "create_oauth_client";
2164
3683
  configurationId: string;
2165
3684
  } & {
2166
- value?: __x_string__never__;
3685
+ value?: {};
2167
3686
  }) | ({
2168
3687
  name: "authorize_oauth_client";
2169
3688
  slug: string;
2170
3689
  } & {
2171
- value?: __x_string__never__;
3690
+ value?: {};
2172
3691
  }) | ({
2173
3692
  name: "configure_content";
2174
3693
  } & {
2175
- value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
3694
+ value?: {
3695
+ sample?: {
3696
+ [key: string]: AnyValue;
3697
+ };
3698
+ textEncoding: string;
3699
+ format: Format;
3700
+ };
2176
3701
  }) | ({
2177
3702
  name: "configure_api_key";
2178
3703
  slug: "partoo";
2179
3704
  } & {
2180
- value?: _value_string__;
3705
+ value?: {
3706
+ value: string;
3707
+ };
2181
3708
  }) | ({
2182
3709
  name: "patch";
2183
3710
  } & {
2184
- value?: _refresh_ProxyRefresh__;
3711
+ value?: {
3712
+ refresh: ProxyRefresh;
3713
+ };
2185
3714
  }) | ({
2186
3715
  name: "validate";
2187
3716
  } & {
2188
- value?: __x_string__never__;
3717
+ value?: {};
2189
3718
  }) | ({
2190
3719
  name: "configure_name";
2191
3720
  } & {
@@ -2205,11 +3734,110 @@ export declare type CurrentSteps = {
2205
3734
  type: FieldMapType;
2206
3735
  };
2207
3736
  } & {
2208
- value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
3737
+ value?: {
3738
+ name: string;
3739
+ type: FieldMapType;
3740
+ selected: boolean;
3741
+ rules: (({
3742
+ name: "static";
3743
+ params: {
3744
+ value: string | number;
3745
+ };
3746
+ } | {
3747
+ name: "path";
3748
+ params: {
3749
+ value: string;
3750
+ };
3751
+ } | {
3752
+ name: "path";
3753
+ params: {
3754
+ fromRoot: true;
3755
+ value: string;
3756
+ };
3757
+ }) | ({
3758
+ name: "static";
3759
+ params: {
3760
+ value: string | number;
3761
+ };
3762
+ } | {
3763
+ name: "path";
3764
+ params: {
3765
+ value: string;
3766
+ };
3767
+ } | {
3768
+ name: "path";
3769
+ params: {
3770
+ fromRoot: true;
3771
+ value: string;
3772
+ };
3773
+ } | {
3774
+ name: "array_find";
3775
+ params: {
3776
+ key: string;
3777
+ operator: "=";
3778
+ value: string | number;
3779
+ };
3780
+ } | {
3781
+ name: "array_find";
3782
+ params: {
3783
+ key: string;
3784
+ operator: "=";
3785
+ valuePath: string;
3786
+ };
3787
+ } | {
3788
+ name: "array_find";
3789
+ params: {
3790
+ conditions: (Condition_Without_Path_Operator & {
3791
+ evaluateValue: string;
3792
+ })[];
3793
+ };
3794
+ } | {
3795
+ name: "fallback";
3796
+ params: FieldMapFallbackRulePayload;
3797
+ } | {
3798
+ name: "fallback";
3799
+ params: FieldMapFallbackRulePayload_Without_ValuePath_Exit & {
3800
+ staticValue: string | number | string[] | {
3801
+ [key: string]: string;
3802
+ } | number[] | {
3803
+ [key: string]: number;
3804
+ };
3805
+ };
3806
+ } | {
3807
+ name: "fallback_if";
3808
+ params: FieldMapFallbackRulePayload & {
3809
+ conditions: (Condition | (Condition_Without_Path_Operator & {
3810
+ evaluateValue: string;
3811
+ }))[];
3812
+ };
3813
+ } | {
3814
+ name: "exclude_from_record";
3815
+ params: {
3816
+ keys: string[];
3817
+ };
3818
+ } | {
3819
+ name: "decrypt";
3820
+ params: {
3821
+ passwordPrefixPath?: string;
3822
+ };
3823
+ } | {
3824
+ name: "interpolate";
3825
+ params: {
3826
+ value: string;
3827
+ };
3828
+ } | {
3829
+ name: "custom";
3830
+ params: {
3831
+ value: string;
3832
+ };
3833
+ }))[];
3834
+ source?: FieldSource;
3835
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
3836
+ };
2209
3837
  }) | ({
2210
3838
  name: "validate";
2211
3839
  } & {
2212
- value?: __x_string__never__;
3840
+ value?: {};
2213
3841
  }) | ({
2214
3842
  name: "inject_shopify_analytics_script";
2215
3843
  configurationId: string;
@@ -2218,15 +3846,15 @@ export declare type CurrentSteps = {
2218
3846
  }) | ({
2219
3847
  name: "configure_shopify_analytics_script";
2220
3848
  } & {
2221
- value?: __x_string__never__;
3849
+ value?: {};
2222
3850
  }) | ({
2223
3851
  name: "configure_google_tag_manager";
2224
3852
  } & {
2225
- value?: __x_string__never__;
3853
+ value?: {};
2226
3854
  }) | ({
2227
3855
  name: "configure_reelevant_analytics_script";
2228
3856
  } & {
2229
- value?: __x_string__never__;
3857
+ value?: {};
2230
3858
  }))[];
2231
3859
  };
2232
3860
  export declare enum FieldMapRuleName {
@@ -2265,10 +3893,10 @@ export declare type WorkerSteps = {
2265
3893
  payload: ({
2266
3894
  urls: string[];
2267
3895
  ignoreMissingLiveFields?: true;
2268
- } & Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__) | ({
3896
+ } & Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format_) | ({
2269
3897
  file: string;
2270
3898
  ignoreMissingLiveFields?: string;
2271
- } & Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format__);
3899
+ } & Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format_);
2272
3900
  } | {
2273
3901
  name: "configure_fieldsmap";
2274
3902
  payload: FieldMap[];
@@ -2303,7 +3931,7 @@ export declare type WorkerSteps = {
2303
3931
  })[];
2304
3932
  } | {
2305
3933
  name: "configure_content";
2306
- payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__;
3934
+ payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format_;
2307
3935
  } | {
2308
3936
  name: "configure_api_key";
2309
3937
  payload: {
@@ -2311,7 +3939,7 @@ export declare type WorkerSteps = {
2311
3939
  };
2312
3940
  } | {
2313
3941
  name: "patch";
2314
- payload: Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize__;
3942
+ payload: Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize_;
2315
3943
  } | {
2316
3944
  name: "validate";
2317
3945
  payload: {};
@@ -2356,7 +3984,7 @@ export declare type ProxySteps = {
2356
3984
  payload: {
2357
3985
  urls: string[];
2358
3986
  ignoreMissingLiveFields?: true;
2359
- } & Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__;
3987
+ } & Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format_;
2360
3988
  } | {
2361
3989
  name: "configure_fieldsmap";
2362
3990
  payload: FieldMap[];
@@ -2371,7 +3999,7 @@ export declare type ProxySteps = {
2371
3999
  payload: {};
2372
4000
  } | {
2373
4001
  name: "configure_content";
2374
- payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__;
4002
+ payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format_;
2375
4003
  } | {
2376
4004
  name: "configure_api_key";
2377
4005
  payload: {
@@ -2379,7 +4007,7 @@ export declare type ProxySteps = {
2379
4007
  };
2380
4008
  } | {
2381
4009
  name: "patch";
2382
- payload: Pick_ProxyDatasourceVersion_refresh_;
4010
+ payload: ProxyDatasourceVersion_Without_Refresh;
2383
4011
  } | {
2384
4012
  name: "validate";
2385
4013
  payload: {};