@rlvt/datasources-openapi-client 1.0.102 → 1.0.105

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