@rlvt/datasources-openapi-client 0.0.0-cc8d24f → 0.0.0-ce515f8

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.
@@ -0,0 +1,2388 @@
1
+ declare type readonlyP = {
2
+ readonly?: '__readonly';
3
+ };
4
+ declare type writeonlyP = {
5
+ writeonly?: '__writeonly';
6
+ };
7
+ declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date;
8
+ declare type PropsWithoutReadonly<T> = {
9
+ [key in keyof T]: T[key] extends readonlyP ? NonNullable<T[key]['readonly']> extends '__readonly' ? never : key : key;
10
+ }[keyof T];
11
+ export declare type WithoutReadonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutReadonly<U>[] : {
12
+ [key in keyof Pick<T, PropsWithoutReadonly<T>>]: Pick<T, PropsWithoutReadonly<T>>[key] extends any ? WithoutReadonly<Pick<T, PropsWithoutReadonly<T>>[key]> : never;
13
+ } : never;
14
+ declare type PropsWithoutWriteonly<T> = {
15
+ [key in keyof T]: T[key] extends writeonlyP ? NonNullable<T[key]['writeonly']> extends '__writeonly' ? never : key : key;
16
+ }[keyof T];
17
+ export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : {
18
+ [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
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___ = {
21
+ readonly companyId: (string) & readonlyP;
22
+ readonly resourceGroupIds: (string[]) & readonlyP;
23
+ username?: string;
24
+ tokenUrl?: string;
25
+ authorizeUrl?: string;
26
+ password?: (string) & writeonlyP;
27
+ refreshToken?: (string) & writeonlyP;
28
+ accessToken?: (string) & writeonlyP;
29
+ };
30
+ export declare type __x_string__string__ = {
31
+ [key: string]: string;
32
+ };
33
+ export declare enum AuthenticationMode {
34
+ PASSWORD = "password",
35
+ CLIENT_CREDENTIALS = "client_credentials",
36
+ REFRESH_TOKEN = "refresh_token",
37
+ ACCESS_TOKEN = "access_token"
38
+ }
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___ = {
40
+ tokenUrl: string;
41
+ authorizeUrl?: string;
42
+ clientId: string;
43
+ clientSecret: (string) & writeonlyP;
44
+ scopes: string[];
45
+ authorizeUrlQueryParams?: __x_string__string__;
46
+ mode?: AuthenticationMode;
47
+ accessTokenHeader?: string;
48
+ };
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___ & {
51
+ readonly id: (string) & readonlyP;
52
+ } & {
53
+ configuration: string | OAuthClientConfiguration;
54
+ };
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___ & {
56
+ readonly id: (string) & readonlyP;
57
+ } & {
58
+ configuration: string | OAuthClientConfiguration;
59
+ };
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____ = {
61
+ tokenUrl?: string;
62
+ authorizeUrl?: string;
63
+ clientId?: string;
64
+ clientSecret?: (string) & writeonlyP;
65
+ scopes?: string[];
66
+ authorizeUrlQueryParams?: __x_string__string__;
67
+ mode?: AuthenticationMode;
68
+ accessTokenHeader?: string;
69
+ };
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
+ tokenUrl?: string;
72
+ authorizeUrl?: string;
73
+ clientId?: string;
74
+ clientSecret?: (string) & writeonlyP;
75
+ scopes?: string[];
76
+ authorizeUrlQueryParams?: __x_string__string__;
77
+ mode?: AuthenticationMode;
78
+ accessTokenHeader?: string;
79
+ };
80
+ export declare enum DatasourceMode {
81
+ INGESTER = "ingester",
82
+ WORKER = "worker",
83
+ PROXY = "proxy"
84
+ }
85
+ export declare enum DatasourceFetcherName {
86
+ WORKER = "worker",
87
+ INGESTER = "ingester",
88
+ PROXY = "proxy",
89
+ TRACKING = "tracking"
90
+ }
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
+ export declare enum FieldMapType {
134
+ STRING = "string",
135
+ NUMBER = "number",
136
+ DATETIME = "datetime",
137
+ ADDRESS_1 = "address_1",
138
+ ADDRESS_2 = "address_2",
139
+ ADDRESS_3 = "address_3",
140
+ ADDRESS_4 = "address_4",
141
+ CITY = "city",
142
+ ZIPCODE = "zipcode",
143
+ COUNTRY = "country",
144
+ LATITUDE = "latitude",
145
+ LONGITUDE = "longitude",
146
+ REFERENCE_ID = "reference_id",
147
+ PRODUCT_ID = "product_id",
148
+ PRICE = "price",
149
+ URL = "url",
150
+ IMAGE_URL = "image_url",
151
+ NAME = "name",
152
+ DESCRIPTION = "description",
153
+ ARRAY_STRING = "array_string",
154
+ ARRAY_NUMBER = "array_number",
155
+ RECORD_STRING = "record_string",
156
+ RECORD_NUMBER = "record_number",
157
+ COMPANY_ID = "company_id",
158
+ EVENT_NAME = "event_name",
159
+ USER_TMP_ID = "user_tmp_id",
160
+ USER_AGENT = "user_agent",
161
+ WORKFLOW_ID = "workflow_id",
162
+ WORKFLOW_VERSION_ID = "workflow_version_id",
163
+ WORKFLOW_USER = "workflow_user"
164
+ }
165
+ export declare type _trackingDatasourceId_string_productDatasourceId_string_productDatasourceIdFieldType_FieldMapType_excludedEventName_string_fallbackEventName_string_fallbackEventDuration_number__ = {
166
+ trackingDatasourceId: string;
167
+ productDatasourceId: string;
168
+ productDatasourceIdFieldType: FieldMapType;
169
+ excludedEventName: string;
170
+ fallbackEventName: string;
171
+ fallbackEventDuration: number;
172
+ };
173
+ export declare type _name_FieldMapType_excludedEventName_string_fallbackEventName_string_fallbackEventDuration_number____ = {
174
+ name: "recommender";
175
+ params: _trackingDatasourceId_string_productDatasourceId_string_productDatasourceIdFieldType_FieldMapType_excludedEventName_string_fallbackEventName_string_fallbackEventDuration_number__;
176
+ };
177
+ export declare type _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____ = {
178
+ name: "renault-prices";
179
+ params: __;
180
+ };
181
+ export declare type _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__ = {
182
+ mode: DatasourceMode;
183
+ 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_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
184
+ };
185
+ export declare enum DatasourceGenericSubType {
186
+ USER = "user",
187
+ RECOMMENDER = "recommender"
188
+ }
189
+ export declare type _name_DatasourceGenericSubType__ = {
190
+ name: "generic";
191
+ subtype: DatasourceGenericSubType;
192
+ };
193
+ export declare enum DatasourceProductSubType {
194
+ USER = "user",
195
+ SHOPIFY = "shopify",
196
+ BEST_PRODUCT = "best_product"
197
+ }
198
+ export declare type _name_DatasourceProductSubType__ = {
199
+ name: "product";
200
+ subtype: DatasourceProductSubType;
201
+ };
202
+ export declare enum DatasourceLocationSubType {
203
+ USER = "user",
204
+ GOOGLE_MY_BUSINESS = "google_my_business",
205
+ PARTOO = "partoo"
206
+ }
207
+ export declare type _name_DatasourceLocationSubType__ = {
208
+ name: "location";
209
+ subtype: DatasourceLocationSubType;
210
+ };
211
+ export declare type Pick_Condition_path_or_operator_ = {
212
+ path: string;
213
+ operator: "=" | ">=" | "<=" | "!=";
214
+ };
215
+ export declare type FieldMapFallbackRulePayload = {
216
+ fromFormatted?: true;
217
+ valuePath?: string;
218
+ exit?: true;
219
+ path: string;
220
+ };
221
+ export declare type Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ = {
222
+ valuePath?: string;
223
+ exit?: true;
224
+ };
225
+ export declare type Condition = {
226
+ path: string;
227
+ operator: "=" | ">=" | "<=" | "!=";
228
+ value: string | number | (false) | (true);
229
+ };
230
+ export declare enum FieldSource {
231
+ USER = "user",
232
+ MISSING_FIELDS = "missing_fields",
233
+ AGGREGATION = "aggregation"
234
+ }
235
+ export declare type FieldMap = {
236
+ name: string;
237
+ type: FieldMapType;
238
+ selected: boolean;
239
+ rules: (({
240
+ name: "static";
241
+ params: {
242
+ value: string | number;
243
+ };
244
+ } | {
245
+ name: "path";
246
+ params: {
247
+ value: string;
248
+ };
249
+ } | {
250
+ name: "path";
251
+ params: {
252
+ fromRoot: true;
253
+ value: string;
254
+ };
255
+ }) | ({
256
+ name: "static";
257
+ params: {
258
+ value: string | number;
259
+ };
260
+ } | {
261
+ name: "path";
262
+ params: {
263
+ value: string;
264
+ };
265
+ } | {
266
+ name: "path";
267
+ params: {
268
+ fromRoot: true;
269
+ value: string;
270
+ };
271
+ } | {
272
+ name: "array_find";
273
+ params: {
274
+ key: string;
275
+ operator: "=";
276
+ value: string | number;
277
+ };
278
+ } | {
279
+ name: "array_find";
280
+ params: {
281
+ key: string;
282
+ operator: "=";
283
+ valuePath: string;
284
+ };
285
+ } | {
286
+ name: "array_find";
287
+ params: {
288
+ conditions: (Pick_Condition_path_or_operator_ & {
289
+ evaluateValue: string;
290
+ })[];
291
+ };
292
+ } | {
293
+ name: "fallback";
294
+ params: FieldMapFallbackRulePayload;
295
+ } | {
296
+ name: "fallback";
297
+ params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
298
+ staticValue: string | number | string[] | {
299
+ [key: string]: string;
300
+ } | number[] | {
301
+ [key: string]: number;
302
+ };
303
+ };
304
+ } | {
305
+ name: "fallback_if";
306
+ params: FieldMapFallbackRulePayload & {
307
+ conditions: (Condition | (Pick_Condition_path_or_operator_ & {
308
+ evaluateValue: string;
309
+ }))[];
310
+ };
311
+ } | {
312
+ name: "exclude_from_record";
313
+ params: {
314
+ keys: string[];
315
+ };
316
+ } | {
317
+ name: "decrypt";
318
+ params: {
319
+ passwordPrefixPath?: string;
320
+ };
321
+ } | {
322
+ name: "interpolate";
323
+ params: {
324
+ value: string;
325
+ };
326
+ }))[];
327
+ source?: FieldSource;
328
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
329
+ };
330
+ export declare type DatasourceHealth = 0 | 1 | 2;
331
+ export declare type _type_body_or_query_value_string__ = {
332
+ type: "body" | "query";
333
+ value: string;
334
+ };
335
+ export declare type _type_hypermediaAttribute_value_string__ = {
336
+ type: "hypermediaAttribute";
337
+ value: string;
338
+ };
339
+ export declare type _type_pageToken_value_string_param_string__ = {
340
+ type: "pageToken";
341
+ value: string;
342
+ param: string;
343
+ };
344
+ export declare type _type_linkHeader__ = {
345
+ type: "linkHeader";
346
+ };
347
+ 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___NonFunctionPropertyNames_WorkerApiOptions__ = {
348
+ oauth?: string;
349
+ pagination?: _type_body_or_query_value_string__ | _type_hypermediaAttribute_value_string__ | _type_pageToken_value_string_param_string__ | _type_linkHeader__;
350
+ method?: "GET" | "PATCH" | "POST" | "PUT";
351
+ body?: string;
352
+ headers?: __x_string__string__;
353
+ query?: __x_string__string__;
354
+ };
355
+ export declare type AnyValue = any | null;
356
+ export declare type __x_string__unknown__ = {
357
+ [key: string]: AnyValue;
358
+ };
359
+ export declare enum DatasourceFormat {
360
+ CSV = "csv",
361
+ NDJSON = "ndjson",
362
+ JSON = "json",
363
+ XML = "xml",
364
+ XLSX = "xlsx"
365
+ }
366
+ export declare type _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__ = {
367
+ type: DatasourceFormat;
368
+ options: __x_string__string__;
369
+ overrided?: boolean;
370
+ };
371
+ export declare type _freq_number__ = {
372
+ freq: number;
373
+ };
374
+ export declare type _cron_string__ = {
375
+ cron: string;
376
+ };
377
+ export declare type _datasourceIds_string_Array__ = {
378
+ datasourceIds: string[];
379
+ };
380
+ 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__ = {
381
+ type?: _name_DatasourceGenericSubType__ | _name_DatasourceProductSubType__ | _name_DatasourceLocationSubType__;
382
+ fieldsMap?: FieldMap[];
383
+ readonly health?: (DatasourceHealth) & readonlyP;
384
+ 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___NonFunctionPropertyNames_WorkerApiOptions__;
385
+ sample?: __x_string__unknown__;
386
+ textEncoding?: string;
387
+ urls?: string[];
388
+ format?: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
389
+ aggregationPipeline?: ({
390
+ name: "unwind";
391
+ params: {
392
+ src: string;
393
+ dest: string;
394
+ allowEmpty?: boolean;
395
+ };
396
+ } | {
397
+ name: "extra_data_fields";
398
+ params: {
399
+ fieldNames: string[];
400
+ };
401
+ } | {
402
+ name: "merge";
403
+ params: {
404
+ fieldNames: string[];
405
+ datasourceId: string;
406
+ query: string;
407
+ };
408
+ } | {
409
+ name: "count";
410
+ params: {
411
+ fieldNames: string[];
412
+ datasourceId: string;
413
+ query: string;
414
+ };
415
+ })[];
416
+ refresh?: _freq_number__ | _cron_string__ | _datasourceIds_string_Array__;
417
+ detectMissingFields?: boolean;
418
+ maximumEntries?: number;
419
+ };
420
+ 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____ = {
421
+ datasource: _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__;
422
+ 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__;
423
+ };
424
+ export declare type Pick_QueriableField_name_or_enum_or_required_or_unique_ = {
425
+ name: string;
426
+ enum?: (string | number)[];
427
+ required: boolean;
428
+ unique: boolean;
429
+ };
430
+ 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_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__ = {
431
+ oauth?: string;
432
+ method?: "GET" | "PATCH" | "POST" | "PUT";
433
+ body?: string;
434
+ headers?: __x_string__string__;
435
+ query?: __x_string__string__;
436
+ variables?: (Pick_QueriableField_name_or_enum_or_required_or_unique_ & {
437
+ default: string | number | string[] | number[];
438
+ primitive: "string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}";
439
+ })[];
440
+ };
441
+ export declare type _type__name_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined__ = {
442
+ type?: _name_DatasourceGenericSubType__;
443
+ fieldsMap?: FieldMap[];
444
+ readonly health?: (DatasourceHealth) & readonlyP;
445
+ 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_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
446
+ sample?: __x_string__unknown__;
447
+ textEncoding?: string;
448
+ urls?: string[];
449
+ format?: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
450
+ refresh?: _freq_number__;
451
+ };
452
+ export declare type _datasource__mode_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined____ = {
453
+ datasource: _mode_DatasourceCustomFetcherName_RENAULT_PRICES_params______or_undefined__;
454
+ version: _type__name_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined___or_undefined_refresh__freq_number___or_undefined__;
455
+ };
456
+ export declare type _offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number__ = {
457
+ offlineSize: number;
458
+ offlineReplication: number;
459
+ realtimeSize: number;
460
+ realtimeReplication: number;
461
+ };
462
+ export declare type _value_number_unit_DAYS__ = {
463
+ value: number;
464
+ unit: "DAYS";
465
+ };
466
+ export declare type _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___destinations__type_bigquery_dataset_string_tableName_string___Array__ = {
467
+ partitionCount: number;
468
+ segments: _offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number__;
469
+ retention: _value_number_unit_DAYS__;
470
+ destinations: {
471
+ type: "bigquery";
472
+ dataset: string;
473
+ tableName: string;
474
+ }[];
475
+ };
476
+ 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___destinations__type_bigquery_dataset_string_tableName_string___Array___or_undefined__ = {
477
+ mode: DatasourceMode;
478
+ 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_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
479
+ storageOptions?: _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___destinations__type_bigquery_dataset_string_tableName_string___Array__;
480
+ };
481
+ export declare enum DatasourceAnalyticsSubType {
482
+ REELEVANT = "reelevant",
483
+ GOOGLE_TAG_MANAGER = "google_tag_manager",
484
+ SHOPIFY = "shopify",
485
+ SCENARIO_EVENTS = "scenario_events",
486
+ WORKFLOW_EVENTS = "workflow_events"
487
+ }
488
+ export declare type _name_DatasourceAnalyticsSubType__ = {
489
+ name: "analytics";
490
+ subtype: DatasourceAnalyticsSubType;
491
+ };
492
+ export declare enum IngesterFieldIndex {
493
+ NONE = "none",
494
+ METRIC = "metric",
495
+ INVERTED = "inverted",
496
+ RAW_VALUE_FORWARD = "raw_value_forward"
497
+ }
498
+ export declare type IngesterFieldMap = {
499
+ index: IngesterFieldIndex;
500
+ sortable: boolean;
501
+ name: string;
502
+ type: FieldMapType;
503
+ selected: boolean;
504
+ rules: (({
505
+ name: "static";
506
+ params: {
507
+ value: string | number;
508
+ };
509
+ } | {
510
+ name: "path";
511
+ params: {
512
+ value: string;
513
+ };
514
+ } | {
515
+ name: "path";
516
+ params: {
517
+ fromRoot: true;
518
+ value: string;
519
+ };
520
+ }) | ({
521
+ name: "static";
522
+ params: {
523
+ value: string | number;
524
+ };
525
+ } | {
526
+ name: "path";
527
+ params: {
528
+ value: string;
529
+ };
530
+ } | {
531
+ name: "path";
532
+ params: {
533
+ fromRoot: true;
534
+ value: string;
535
+ };
536
+ } | {
537
+ name: "array_find";
538
+ params: {
539
+ key: string;
540
+ operator: "=";
541
+ value: string | number;
542
+ };
543
+ } | {
544
+ name: "array_find";
545
+ params: {
546
+ key: string;
547
+ operator: "=";
548
+ valuePath: string;
549
+ };
550
+ } | {
551
+ name: "array_find";
552
+ params: {
553
+ conditions: (Pick_Condition_path_or_operator_ & {
554
+ evaluateValue: string;
555
+ })[];
556
+ };
557
+ } | {
558
+ name: "fallback";
559
+ params: FieldMapFallbackRulePayload;
560
+ } | {
561
+ name: "fallback";
562
+ params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
563
+ staticValue: string | number | string[] | {
564
+ [key: string]: string;
565
+ } | number[] | {
566
+ [key: string]: number;
567
+ };
568
+ };
569
+ } | {
570
+ name: "fallback_if";
571
+ params: FieldMapFallbackRulePayload & {
572
+ conditions: (Condition | (Pick_Condition_path_or_operator_ & {
573
+ evaluateValue: string;
574
+ }))[];
575
+ };
576
+ } | {
577
+ name: "exclude_from_record";
578
+ params: {
579
+ keys: string[];
580
+ };
581
+ } | {
582
+ name: "decrypt";
583
+ params: {
584
+ passwordPrefixPath?: string;
585
+ };
586
+ } | {
587
+ name: "interpolate";
588
+ params: {
589
+ value: string;
590
+ };
591
+ }))[];
592
+ source?: FieldSource;
593
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
594
+ };
595
+ export declare type _type__name_DatasourceHealth_or_undefined__ = {
596
+ type?: _name_DatasourceAnalyticsSubType__;
597
+ fieldsMap?: IngesterFieldMap[];
598
+ readonly health?: (DatasourceHealth) & readonlyP;
599
+ };
600
+ export declare type _datasource__mode_DatasourceHealth_or_undefined____ = {
601
+ 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___destinations__type_bigquery_dataset_string_tableName_string___Array___or_undefined__;
602
+ version: _type__name_DatasourceHealth_or_undefined__;
603
+ };
604
+ export declare enum StepName {
605
+ CONFIGURE_NAME = "configure_name",
606
+ CONFIGURE_RESOURCE_GROUP_IDS = "configure_resource_group_ids",
607
+ CONFIGURE_SOURCE = "configure_source",
608
+ CONFIGURE_FIELDSMAP = "configure_fieldsmap",
609
+ CONFIGURE_FIELD = "configure_field",
610
+ CREATE_OAUTH_CLIENT = "create_oauth_client",
611
+ AUTHORIZE_OAUTH_CLIENT = "authorize_oauth_client",
612
+ CONFIGURE_THRESHOLDS = "configure_thresholds",
613
+ CONFIGURE_CONTENT = "configure_content",
614
+ CONFIGURE_API_KEY = "configure_api_key",
615
+ PATCH = "patch",
616
+ VALIDATE = "validate",
617
+ CONFIGURE_SHOPIFY_SHOP_NAME = "configure_shopify_shop_name",
618
+ INJECT_SHOPIFY_ANALYTICS_SCRIPT = "inject_shopify_analytics_script",
619
+ CONFIGURE_SHOPIFY_ANALYTICS_SCRIPT = "configure_shopify_analytics_script",
620
+ CONFIGURE_GOOGLE_TAG_MANAGER = "configure_google_tag_manager",
621
+ CONFIGURE_REELEVANT_ANALYTICS_SCRIPT = "configure_reelevant_analytics_script",
622
+ CONFIGURE_TWITTER = "configure_twitter",
623
+ CONFIGURE_PRODUCT_DATASOURCE_SOURCE = "configure_product_datasource_source",
624
+ CONFIGURE_TRACKING_DATASOURCE_SOURCE = "configure_tracking_datasource_source",
625
+ CONFIGURE_BEST_PRODUCT_QUERY = "configure_best_product_query",
626
+ CONFIGURE_BEST_PRODUCT_FIELD = "configure_best_product_field"
627
+ }
628
+ export declare type _failed_to_pull_StepName__ = {
629
+ failed_to_pull: StepName;
630
+ fatal: StepName;
631
+ };
632
+ export declare type _configure_name__AutomaticStepName__Array_or_undefined__ = {
633
+ 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")[];
634
+ 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")[];
635
+ 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")[];
636
+ 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")[];
637
+ 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")[];
638
+ 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")[];
639
+ 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")[];
640
+ 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")[];
641
+ 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")[];
642
+ 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")[];
643
+ 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")[];
644
+ 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")[];
645
+ 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")[];
646
+ 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")[];
647
+ 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")[];
648
+ 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")[];
649
+ 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")[];
650
+ 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")[];
651
+ 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")[];
652
+ 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")[];
653
+ 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")[];
654
+ 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")[];
655
+ };
656
+ export declare type Pick__name_string_icon_string_slug_string_categories_string_Array_feature_string_or_undefined_template__datasource__mode_DatasourceTemplate__ = {
657
+ name: string;
658
+ icon: string;
659
+ slug: string;
660
+ categories: string[];
661
+ feature?: string;
662
+ 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____;
663
+ steps: ({
664
+ name: "configure_name";
665
+ } | {
666
+ name: "configure_resource_group_ids";
667
+ } | {
668
+ name: "configure_source";
669
+ mode?: "url" | "file";
670
+ } | {
671
+ name: "configure_fieldsmap";
672
+ } | {
673
+ name: "configure_field";
674
+ field: {
675
+ name: string;
676
+ type: FieldMapType;
677
+ };
678
+ } | {
679
+ name: "create_oauth_client";
680
+ configurationId: string;
681
+ } | {
682
+ name: "authorize_oauth_client";
683
+ slug: string;
684
+ } | {
685
+ name: "configure_thresholds";
686
+ } | {
687
+ name: "configure_content";
688
+ } | {
689
+ name: "configure_api_key";
690
+ slug: "partoo";
691
+ } | {
692
+ name: "patch";
693
+ } | {
694
+ name: "validate";
695
+ } | {
696
+ name: "configure_shopify_shop_name";
697
+ configurationId: string;
698
+ } | {
699
+ name: "inject_shopify_analytics_script";
700
+ configurationId: string;
701
+ } | {
702
+ name: "configure_shopify_analytics_script";
703
+ } | {
704
+ name: "configure_google_tag_manager";
705
+ } | {
706
+ name: "configure_reelevant_analytics_script";
707
+ } | {
708
+ name: "configure_twitter";
709
+ } | {
710
+ name: "configure_product_datasource_source";
711
+ } | {
712
+ name: "configure_tracking_datasource_source";
713
+ } | {
714
+ name: "configure_best_product_query";
715
+ } | {
716
+ name: "configure_best_product_field";
717
+ } | {
718
+ name: "google_my_business_set_url";
719
+ urls: {
720
+ getAccount: string;
721
+ final: string;
722
+ };
723
+ } | {
724
+ name: "setup_instagram";
725
+ urls: {
726
+ getAccount: string;
727
+ getAccountInfos: string;
728
+ final: string;
729
+ };
730
+ })[];
731
+ errorsToStep: _failed_to_pull_StepName__;
732
+ stepDependencies: _configure_name__AutomaticStepName__Array_or_undefined__;
733
+ standaloneSteps: StepName[];
734
+ };
735
+ export declare type DatasourceTemplate = Pick__name_string_icon_string_slug_string_categories_string_Array_feature_string_or_undefined_template__datasource__mode_DatasourceTemplate__ & {
736
+ readonly id: (string) & readonlyP;
737
+ } & {
738
+ readonly createdAt: (Date) & readonlyP;
739
+ readonly updatedAt: (Date) & readonlyP;
740
+ };
741
+ export declare type Pick_Pick__mode_IngesterDatasourceVersion___mode_or_state_or_type_or_fieldsMap_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_undefined_ = {
742
+ mode: "ingester";
743
+ readonly state: ("LIVE" | "DRAFT") & readonlyP;
744
+ type: _name_DatasourceAnalyticsSubType__;
745
+ fieldsMap: IngesterFieldMap[];
746
+ readonly pendingSteps?: (({
747
+ name: "configure_name";
748
+ } | {
749
+ name: "configure_resource_group_ids";
750
+ } | {
751
+ name: "configure_source";
752
+ mode?: "url" | "file";
753
+ } | {
754
+ name: "configure_fieldsmap";
755
+ } | {
756
+ name: "configure_field";
757
+ field: {
758
+ name: string;
759
+ type: FieldMapType;
760
+ };
761
+ } | {
762
+ name: "create_oauth_client";
763
+ configurationId: string;
764
+ } | {
765
+ name: "authorize_oauth_client";
766
+ slug: string;
767
+ } | {
768
+ name: "configure_thresholds";
769
+ } | {
770
+ name: "configure_content";
771
+ } | {
772
+ name: "configure_api_key";
773
+ slug: "partoo";
774
+ } | {
775
+ name: "patch";
776
+ } | {
777
+ name: "validate";
778
+ } | {
779
+ name: "configure_shopify_shop_name";
780
+ configurationId: string;
781
+ } | {
782
+ name: "inject_shopify_analytics_script";
783
+ configurationId: string;
784
+ } | {
785
+ name: "configure_shopify_analytics_script";
786
+ } | {
787
+ name: "configure_google_tag_manager";
788
+ } | {
789
+ name: "configure_reelevant_analytics_script";
790
+ } | {
791
+ name: "configure_twitter";
792
+ } | {
793
+ name: "configure_product_datasource_source";
794
+ } | {
795
+ name: "configure_tracking_datasource_source";
796
+ } | {
797
+ name: "configure_best_product_query";
798
+ } | {
799
+ name: "configure_best_product_field";
800
+ } | {
801
+ name: "google_my_business_set_url";
802
+ urls: {
803
+ getAccount: string;
804
+ final: string;
805
+ };
806
+ } | {
807
+ name: "setup_instagram";
808
+ urls: {
809
+ getAccount: string;
810
+ getAccountInfos: string;
811
+ final: string;
812
+ };
813
+ })[]) & readonlyP;
814
+ readonly availableFieldsTypes: (FieldMapType[]) & readonlyP;
815
+ readonly requiredFieldsTypes: (FieldMapType[][]) & readonlyP;
816
+ readonly uniqueFieldsTypes: (FieldMapType[]) & readonlyP;
817
+ };
818
+ export declare enum DatasourceStatus {
819
+ DRAFT = "draft",
820
+ PUBLISHING = "publishing",
821
+ PUBLISHED = "published",
822
+ UPDATING = "updating",
823
+ PAUSED = "paused",
824
+ ERROR = "error"
825
+ }
826
+ 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_ = {
827
+ companyId: string;
828
+ resourceGroupIds: string[];
829
+ mode: "ingester";
830
+ name: string;
831
+ readonly template?: (string) & readonlyP;
832
+ 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_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
833
+ storageOptions: _partitionCount_number_segments__offlineSize_number_offlineReplication_number_realtimeSize_number_realtimeReplication_number___retention__value_number_unit_DAYS___destinations__type_bigquery_dataset_string_tableName_string___Array__;
834
+ versions: (Pick_Pick__mode_IngesterDatasourceVersion___mode_or_state_or_type_or_fieldsMap_or_pendingSteps_or_availableFieldsTypes_or_requiredFieldsTypes_or_uniqueFieldsTypes_or_undefined_ & {
835
+ readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
836
+ })[];
837
+ readonly configurationUpdatedAt: (string) & readonlyP;
838
+ readonly archivedAt: (Date | null) & readonlyP;
839
+ status: DatasourceStatus;
840
+ readonly hasWarnings: (boolean) & readonlyP;
841
+ };
842
+ 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_ & {
843
+ readonly id: (string) & readonlyP;
844
+ } & {
845
+ readonly createdAt: (Date) & readonlyP;
846
+ readonly updatedAt: (Date) & readonlyP;
847
+ };
848
+ export declare enum DatasourceVersionState {
849
+ LIVE = "LIVE",
850
+ DRAFT = "DRAFT",
851
+ SCHEDULED = "SCHEDULED",
852
+ INACTIVE = "INACTIVE"
853
+ }
854
+ export declare type Pick_WorkerDatasourceVersion__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_batchSize_or_undefined_ = {
855
+ mode: "worker";
856
+ readonly state: (DatasourceVersionState) & readonlyP;
857
+ type: _name_DatasourceGenericSubType__ | _name_DatasourceProductSubType__ | _name_DatasourceLocationSubType__;
858
+ fieldsMap: FieldMap[];
859
+ readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
860
+ 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___NonFunctionPropertyNames_WorkerApiOptions__;
861
+ sample?: __x_string__unknown__;
862
+ textEncoding: string;
863
+ format: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
864
+ aggregationPipeline: ({
865
+ name: "unwind";
866
+ params: {
867
+ src: string;
868
+ dest: string;
869
+ allowEmpty?: boolean;
870
+ };
871
+ } | {
872
+ name: "extra_data_fields";
873
+ params: {
874
+ fieldNames: string[];
875
+ };
876
+ } | {
877
+ name: "merge";
878
+ params: {
879
+ fieldNames: string[];
880
+ datasourceId: string;
881
+ query: string;
882
+ };
883
+ } | {
884
+ name: "count";
885
+ params: {
886
+ fieldNames: string[];
887
+ datasourceId: string;
888
+ query: string;
889
+ };
890
+ })[];
891
+ refresh: _freq_number__ | _cron_string__ | _datasourceIds_string_Array__;
892
+ detectMissingFields: boolean;
893
+ maximumEntries?: number;
894
+ readonly pendingSteps?: (({
895
+ name: "configure_name";
896
+ } | {
897
+ name: "configure_resource_group_ids";
898
+ } | {
899
+ name: "configure_source";
900
+ mode?: "url" | "file";
901
+ } | {
902
+ name: "configure_fieldsmap";
903
+ } | {
904
+ name: "configure_field";
905
+ field: {
906
+ name: string;
907
+ type: FieldMapType;
908
+ };
909
+ } | {
910
+ name: "create_oauth_client";
911
+ configurationId: string;
912
+ } | {
913
+ name: "authorize_oauth_client";
914
+ slug: string;
915
+ } | {
916
+ name: "configure_thresholds";
917
+ } | {
918
+ name: "configure_content";
919
+ } | {
920
+ name: "configure_api_key";
921
+ slug: "partoo";
922
+ } | {
923
+ name: "patch";
924
+ } | {
925
+ name: "validate";
926
+ } | {
927
+ name: "configure_shopify_shop_name";
928
+ configurationId: string;
929
+ } | {
930
+ name: "inject_shopify_analytics_script";
931
+ configurationId: string;
932
+ } | {
933
+ name: "configure_shopify_analytics_script";
934
+ } | {
935
+ name: "configure_google_tag_manager";
936
+ } | {
937
+ name: "configure_reelevant_analytics_script";
938
+ } | {
939
+ name: "configure_twitter";
940
+ } | {
941
+ name: "configure_product_datasource_source";
942
+ } | {
943
+ name: "configure_tracking_datasource_source";
944
+ } | {
945
+ name: "configure_best_product_query";
946
+ } | {
947
+ name: "configure_best_product_field";
948
+ } | {
949
+ name: "google_my_business_set_url";
950
+ urls: {
951
+ getAccount: string;
952
+ final: string;
953
+ };
954
+ } | {
955
+ name: "setup_instagram";
956
+ urls: {
957
+ getAccount: string;
958
+ getAccountInfos: string;
959
+ final: string;
960
+ };
961
+ })[]) & readonlyP;
962
+ readonly availableFieldsTypes: (FieldMapType[]) & readonlyP;
963
+ readonly requiredFieldsTypes: (FieldMapType[][]) & readonlyP;
964
+ readonly uniqueFieldsTypes: (FieldMapType[]) & readonlyP;
965
+ batchSize: number;
966
+ };
967
+ 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_ = {
968
+ companyId: string;
969
+ resourceGroupIds: string[];
970
+ mode: "worker";
971
+ name: string;
972
+ readonly template?: (string) & readonlyP;
973
+ 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_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
974
+ versions: ((Pick_WorkerDatasourceVersion__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_batchSize_or_undefined_ & {
975
+ fileName: string;
976
+ isAPI: false;
977
+ }) | (Pick_WorkerDatasourceVersion__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_batchSize_or_undefined_ & {
978
+ url: string;
979
+ urls: string[];
980
+ isAPI: true;
981
+ }))[];
982
+ readonly configurationUpdatedAt: (string) & readonlyP;
983
+ readonly archivedAt: (Date | null) & readonlyP;
984
+ status: DatasourceStatus;
985
+ readonly hasWarnings: (boolean) & readonlyP;
986
+ readonly contentVersion: (number) & readonlyP;
987
+ thresholds: ({
988
+ type: "too_many_invalid_entries";
989
+ value: number;
990
+ trigger: {
991
+ type: "error";
992
+ value: "too_many_invalid_entries";
993
+ };
994
+ } | {
995
+ type: "entries_drop_rate_too_high";
996
+ value: number;
997
+ trigger: {
998
+ type: "warning";
999
+ value: "entries_drop_rate_too_high";
1000
+ } | {
1001
+ type: "error";
1002
+ value: "entries_drop_rate_too_high";
1003
+ };
1004
+ })[];
1005
+ readonly lastRunAt: (Date | null) & readonlyP;
1006
+ readonly currentLiveVersion: (string | null) & readonlyP;
1007
+ readonly pausedAt: (Date | null) & readonlyP;
1008
+ readonly isPaused: (boolean) & readonlyP;
1009
+ };
1010
+ 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_ & {
1011
+ readonly id: (string) & readonlyP;
1012
+ } & {
1013
+ readonly createdAt: (Date) & readonlyP;
1014
+ readonly updatedAt: (Date) & readonlyP;
1015
+ };
1016
+ export declare type Pick_Pick__mode_ProxyDatasourceVersion___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_undefined_ = {
1017
+ mode: "proxy";
1018
+ readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP;
1019
+ type: _name_DatasourceGenericSubType__;
1020
+ fieldsMap: FieldMap[];
1021
+ 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_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
1022
+ sample?: __x_string__unknown__;
1023
+ textEncoding: string;
1024
+ urls: string[];
1025
+ format: _type_DatasourceFormat_options___x_string__string___overrided_boolean_or_undefined__;
1026
+ refresh: _freq_number__;
1027
+ readonly url?: (string) & readonlyP;
1028
+ readonly pendingSteps?: (({
1029
+ name: "configure_name";
1030
+ } | {
1031
+ name: "configure_resource_group_ids";
1032
+ } | {
1033
+ name: "configure_source";
1034
+ mode?: "url" | "file";
1035
+ } | {
1036
+ name: "configure_fieldsmap";
1037
+ } | {
1038
+ name: "configure_field";
1039
+ field: {
1040
+ name: string;
1041
+ type: FieldMapType;
1042
+ };
1043
+ } | {
1044
+ name: "create_oauth_client";
1045
+ configurationId: string;
1046
+ } | {
1047
+ name: "authorize_oauth_client";
1048
+ slug: string;
1049
+ } | {
1050
+ name: "configure_thresholds";
1051
+ } | {
1052
+ name: "configure_content";
1053
+ } | {
1054
+ name: "configure_api_key";
1055
+ slug: "partoo";
1056
+ } | {
1057
+ name: "patch";
1058
+ } | {
1059
+ name: "validate";
1060
+ } | {
1061
+ name: "configure_shopify_shop_name";
1062
+ configurationId: string;
1063
+ } | {
1064
+ name: "inject_shopify_analytics_script";
1065
+ configurationId: string;
1066
+ } | {
1067
+ name: "configure_shopify_analytics_script";
1068
+ } | {
1069
+ name: "configure_google_tag_manager";
1070
+ } | {
1071
+ name: "configure_reelevant_analytics_script";
1072
+ } | {
1073
+ name: "configure_twitter";
1074
+ } | {
1075
+ name: "configure_product_datasource_source";
1076
+ } | {
1077
+ name: "configure_tracking_datasource_source";
1078
+ } | {
1079
+ name: "configure_best_product_query";
1080
+ } | {
1081
+ name: "configure_best_product_field";
1082
+ } | {
1083
+ name: "google_my_business_set_url";
1084
+ urls: {
1085
+ getAccount: string;
1086
+ final: string;
1087
+ };
1088
+ } | {
1089
+ name: "setup_instagram";
1090
+ urls: {
1091
+ getAccount: string;
1092
+ getAccountInfos: string;
1093
+ final: string;
1094
+ };
1095
+ })[]) & readonlyP;
1096
+ readonly availableFieldsTypes: (FieldMapType[]) & readonlyP;
1097
+ readonly requiredFieldsTypes: (FieldMapType[][]) & readonlyP;
1098
+ readonly uniqueFieldsTypes: (FieldMapType[]) & readonlyP;
1099
+ };
1100
+ 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_ = {
1101
+ companyId: string;
1102
+ resourceGroupIds: string[];
1103
+ mode: "proxy";
1104
+ name: string;
1105
+ readonly template?: (string) & readonlyP;
1106
+ 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_fallbackEventName_string_fallbackEventDuration_number____ | _name_DatasourceCustomFetcherName_RENAULT_PRICES_params_____) & readonlyP;
1107
+ versions: (Pick_Pick__mode_ProxyDatasourceVersion___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_undefined_ & {
1108
+ readonly health: ("OK" | "WARNING" | "ERROR") & readonlyP;
1109
+ })[];
1110
+ readonly configurationUpdatedAt: (string) & readonlyP;
1111
+ readonly archivedAt: (Date | null) & readonlyP;
1112
+ status: DatasourceStatus;
1113
+ readonly hasWarnings: (boolean) & readonlyP;
1114
+ };
1115
+ 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_ & {
1116
+ readonly id: (string) & readonlyP;
1117
+ } & {
1118
+ readonly createdAt: (Date) & readonlyP;
1119
+ readonly updatedAt: (Date) & readonlyP;
1120
+ };
1121
+ export declare type DatasourceGeneric = {
1122
+ name: "generic";
1123
+ subtype: DatasourceGenericSubType;
1124
+ };
1125
+ export declare type DatasourceProduct = {
1126
+ name: "product";
1127
+ subtype: DatasourceProductSubType;
1128
+ };
1129
+ export declare type DatasourceLocation = {
1130
+ name: "location";
1131
+ subtype: DatasourceLocationSubType;
1132
+ };
1133
+ export declare type DatasourceAnalytics = {
1134
+ name: "analytics";
1135
+ subtype: DatasourceAnalyticsSubType;
1136
+ };
1137
+ export declare type QueriableField = {
1138
+ required: boolean;
1139
+ unique: boolean;
1140
+ sortable: boolean;
1141
+ enum?: (string | number)[];
1142
+ allowedOperators: (("$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$range" | "range") | ("$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$range" | "range"))[];
1143
+ name: string;
1144
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
1145
+ };
1146
+ export declare enum DatasourceType {
1147
+ GENERIC = "generic",
1148
+ LOCATION = "location",
1149
+ PRODUCT = "product",
1150
+ ANALYTICS = "analytics"
1151
+ }
1152
+ export declare type Document = AnyValue;
1153
+ export declare type LogLevel = 0 | 1 | 2;
1154
+ 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___ = {
1155
+ companyId: string;
1156
+ payload: AnyValue;
1157
+ 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";
1158
+ contentVersion: number;
1159
+ datasourceId: string;
1160
+ date: string;
1161
+ level: LogLevel;
1162
+ entryIndex?: number;
1163
+ };
1164
+ 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___ & {
1165
+ readonly id: (string) & readonlyP;
1166
+ } & {
1167
+ version: string;
1168
+ };
1169
+ export declare type DatasourceFormatOptions = {
1170
+ [key: string]: string;
1171
+ };
1172
+ 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___NonFunctionPropertyNames_WorkerApiOptions__;
1173
+ export declare type Format = {
1174
+ type: DatasourceFormat;
1175
+ options: DatasourceFormatOptions;
1176
+ overrided?: boolean;
1177
+ };
1178
+ export declare type Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__ = {
1179
+ apiOptions?: WorkerApiOptions;
1180
+ sample?: {
1181
+ [key: string]: AnyValue;
1182
+ };
1183
+ textEncoding?: string;
1184
+ format?: Format;
1185
+ };
1186
+ export declare type Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format__ = {
1187
+ textEncoding?: string;
1188
+ format?: Format;
1189
+ };
1190
+ export declare type Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__ = {
1191
+ sample?: {
1192
+ [key: string]: AnyValue;
1193
+ };
1194
+ textEncoding?: string;
1195
+ format?: Format;
1196
+ };
1197
+ export declare type Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize__ = {
1198
+ aggregationPipeline?: ({
1199
+ name: "unwind";
1200
+ params: {
1201
+ src: string;
1202
+ dest: string;
1203
+ allowEmpty?: boolean;
1204
+ };
1205
+ } | {
1206
+ name: "extra_data_fields";
1207
+ params: {
1208
+ fieldNames: string[];
1209
+ };
1210
+ } | {
1211
+ name: "merge";
1212
+ params: {
1213
+ fieldNames: string[];
1214
+ datasourceId: string;
1215
+ query: string;
1216
+ };
1217
+ } | {
1218
+ name: "count";
1219
+ params: {
1220
+ fieldNames: string[];
1221
+ datasourceId: string;
1222
+ query: string;
1223
+ };
1224
+ })[];
1225
+ refresh?: {
1226
+ freq: number;
1227
+ } | {
1228
+ cron: string;
1229
+ } | {
1230
+ datasourceIds: string[];
1231
+ };
1232
+ detectMissingFields?: boolean;
1233
+ batchSize?: number;
1234
+ };
1235
+ 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_variables_VariableDefinition_Array_or_undefined___NonFunctionPropertyNames_ProxyApiOptions__;
1236
+ export declare type Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__ = {
1237
+ apiOptions?: ProxyApiOptions;
1238
+ sample?: {
1239
+ [key: string]: AnyValue;
1240
+ };
1241
+ textEncoding?: string;
1242
+ format?: Format;
1243
+ };
1244
+ export declare type ProxyRefresh = {
1245
+ freq: number;
1246
+ };
1247
+ export declare type Pick_ProxyDatasourceVersion_refresh_ = {
1248
+ refresh: ProxyRefresh;
1249
+ };
1250
+ export declare type _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ = {
1251
+ urls: string[];
1252
+ ignoreMissingLiveFields?: true;
1253
+ apiOptions?: WorkerApiOptions;
1254
+ sample?: {
1255
+ [key: string]: AnyValue;
1256
+ };
1257
+ textEncoding: string;
1258
+ format: Format;
1259
+ };
1260
+ export declare type _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__ = {
1261
+ file: string;
1262
+ ignoreMissingLiveFields?: string;
1263
+ textEncoding: string;
1264
+ format: Format;
1265
+ };
1266
+ export declare type _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____ = {
1267
+ name: string;
1268
+ type: FieldMapType;
1269
+ selected: boolean;
1270
+ rules: (({
1271
+ name: "static";
1272
+ params: {
1273
+ value: string | number;
1274
+ };
1275
+ } | {
1276
+ name: "path";
1277
+ params: {
1278
+ value: string;
1279
+ };
1280
+ } | {
1281
+ name: "path";
1282
+ params: {
1283
+ fromRoot: true;
1284
+ value: string;
1285
+ };
1286
+ }) | ({
1287
+ name: "static";
1288
+ params: {
1289
+ value: string | number;
1290
+ };
1291
+ } | {
1292
+ name: "path";
1293
+ params: {
1294
+ value: string;
1295
+ };
1296
+ } | {
1297
+ name: "path";
1298
+ params: {
1299
+ fromRoot: true;
1300
+ value: string;
1301
+ };
1302
+ } | {
1303
+ name: "array_find";
1304
+ params: {
1305
+ key: string;
1306
+ operator: "=";
1307
+ value: string | number;
1308
+ };
1309
+ } | {
1310
+ name: "array_find";
1311
+ params: {
1312
+ key: string;
1313
+ operator: "=";
1314
+ valuePath: string;
1315
+ };
1316
+ } | {
1317
+ name: "array_find";
1318
+ params: {
1319
+ conditions: (Pick_Condition_path_or_operator_ & {
1320
+ evaluateValue: string;
1321
+ })[];
1322
+ };
1323
+ } | {
1324
+ name: "fallback";
1325
+ params: FieldMapFallbackRulePayload;
1326
+ } | {
1327
+ name: "fallback";
1328
+ params: Pick_FieldMapFallbackRulePayload_valuePath_or_exit_ & {
1329
+ staticValue: string | number | string[] | {
1330
+ [key: string]: string;
1331
+ } | number[] | {
1332
+ [key: string]: number;
1333
+ };
1334
+ };
1335
+ } | {
1336
+ name: "fallback_if";
1337
+ params: FieldMapFallbackRulePayload & {
1338
+ conditions: (Condition | (Pick_Condition_path_or_operator_ & {
1339
+ evaluateValue: string;
1340
+ }))[];
1341
+ };
1342
+ } | {
1343
+ name: "exclude_from_record";
1344
+ params: {
1345
+ keys: string[];
1346
+ };
1347
+ } | {
1348
+ name: "decrypt";
1349
+ params: {
1350
+ passwordPrefixPath?: string;
1351
+ };
1352
+ } | {
1353
+ name: "interpolate";
1354
+ params: {
1355
+ value: string;
1356
+ };
1357
+ }))[];
1358
+ source?: FieldSource;
1359
+ readonly primitive: ("string" | "number" | "datetime" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP;
1360
+ };
1361
+ export declare type __x_string__never__ = {};
1362
+ export declare type _sample___key_string__unknown___textEncoding_string_format_Format__ = {
1363
+ sample?: {
1364
+ [key: string]: AnyValue;
1365
+ };
1366
+ textEncoding: string;
1367
+ format: Format;
1368
+ };
1369
+ export declare type _value_string__ = {
1370
+ value: string;
1371
+ };
1372
+ export declare type _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__ = {
1373
+ aggregationPipeline: ({
1374
+ name: "unwind";
1375
+ params: {
1376
+ src: string;
1377
+ dest: string;
1378
+ allowEmpty?: boolean;
1379
+ };
1380
+ } | {
1381
+ name: "extra_data_fields";
1382
+ params: {
1383
+ fieldNames: string[];
1384
+ };
1385
+ } | {
1386
+ name: "merge";
1387
+ params: {
1388
+ fieldNames: string[];
1389
+ datasourceId: string;
1390
+ query: string;
1391
+ };
1392
+ } | {
1393
+ name: "count";
1394
+ params: {
1395
+ fieldNames: string[];
1396
+ datasourceId: string;
1397
+ query: string;
1398
+ };
1399
+ })[];
1400
+ refresh: {
1401
+ freq: number;
1402
+ } | {
1403
+ cron: string;
1404
+ } | {
1405
+ datasourceIds: string[];
1406
+ };
1407
+ detectMissingFields: boolean;
1408
+ batchSize: number;
1409
+ };
1410
+ export declare type _type_user_or_hashtag_value_string__ = {
1411
+ type: "user" | "hashtag";
1412
+ value: string;
1413
+ };
1414
+ export declare type _datasourceId_string__ = {
1415
+ datasourceId: string;
1416
+ };
1417
+ export declare type _query_string__ = {
1418
+ query: string;
1419
+ };
1420
+ export declare type _field_string__ = {
1421
+ field: string;
1422
+ };
1423
+ export declare type _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ = {
1424
+ urls: string[];
1425
+ ignoreMissingLiveFields?: true;
1426
+ apiOptions?: ProxyApiOptions;
1427
+ sample?: {
1428
+ [key: string]: AnyValue;
1429
+ };
1430
+ textEncoding: string;
1431
+ format: Format;
1432
+ };
1433
+ export declare type _refresh_ProxyRefresh__ = {
1434
+ refresh: ProxyRefresh;
1435
+ };
1436
+ export declare type CurrentSteps = {
1437
+ current: ({
1438
+ name: "configure_name";
1439
+ } & {
1440
+ value?: string;
1441
+ }) | ({
1442
+ name: "configure_resource_group_ids";
1443
+ } & {
1444
+ value?: string[];
1445
+ }) | ({
1446
+ name: "configure_source";
1447
+ mode?: "url" | "file";
1448
+ } & {
1449
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
1450
+ }) | ({
1451
+ name: "configure_fieldsmap";
1452
+ } & {
1453
+ value?: FieldMap[];
1454
+ }) | ({
1455
+ name: "configure_field";
1456
+ field: {
1457
+ name: string;
1458
+ type: FieldMapType;
1459
+ };
1460
+ } & {
1461
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1462
+ }) | ({
1463
+ name: "create_oauth_client";
1464
+ configurationId: string;
1465
+ } & {
1466
+ value?: __x_string__never__;
1467
+ }) | ({
1468
+ name: "authorize_oauth_client";
1469
+ slug: string;
1470
+ } & {
1471
+ value?: __x_string__never__;
1472
+ }) | ({
1473
+ name: "configure_thresholds";
1474
+ } & {
1475
+ value?: ({
1476
+ type: "too_many_invalid_entries";
1477
+ value: number;
1478
+ trigger: {
1479
+ type: "error";
1480
+ value: "too_many_invalid_entries";
1481
+ };
1482
+ } | {
1483
+ type: "entries_drop_rate_too_high";
1484
+ value: number;
1485
+ trigger: {
1486
+ type: "warning";
1487
+ value: "entries_drop_rate_too_high";
1488
+ } | {
1489
+ type: "error";
1490
+ value: "entries_drop_rate_too_high";
1491
+ };
1492
+ })[];
1493
+ }) | ({
1494
+ name: "configure_content";
1495
+ } & {
1496
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1497
+ }) | ({
1498
+ name: "configure_api_key";
1499
+ slug: "partoo";
1500
+ } & {
1501
+ value?: _value_string__;
1502
+ }) | ({
1503
+ name: "patch";
1504
+ } & {
1505
+ value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
1506
+ }) | ({
1507
+ name: "validate";
1508
+ } & {
1509
+ value?: __x_string__never__;
1510
+ }) | ({
1511
+ name: "configure_shopify_shop_name";
1512
+ configurationId: string;
1513
+ } & {
1514
+ value?: string;
1515
+ }) | ({
1516
+ name: "configure_twitter";
1517
+ } & {
1518
+ value?: _type_user_or_hashtag_value_string__;
1519
+ }) | ({
1520
+ name: "configure_product_datasource_source";
1521
+ } & {
1522
+ value?: _datasourceId_string__;
1523
+ }) | ({
1524
+ name: "configure_tracking_datasource_source";
1525
+ } & {
1526
+ value?: _datasourceId_string__;
1527
+ }) | ({
1528
+ name: "configure_best_product_query";
1529
+ } & {
1530
+ value?: _query_string__;
1531
+ }) | ({
1532
+ name: "configure_best_product_field";
1533
+ } & {
1534
+ value?: _field_string__;
1535
+ }) | ({
1536
+ name: "configure_name";
1537
+ } & {
1538
+ value?: string;
1539
+ }) | ({
1540
+ name: "configure_resource_group_ids";
1541
+ } & {
1542
+ value?: string[];
1543
+ }) | ({
1544
+ name: "configure_source";
1545
+ mode?: "url" | "file";
1546
+ } & {
1547
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
1548
+ }) | ({
1549
+ name: "configure_fieldsmap";
1550
+ } & {
1551
+ value?: FieldMap[];
1552
+ }) | ({
1553
+ name: "configure_field";
1554
+ field: {
1555
+ name: string;
1556
+ type: FieldMapType;
1557
+ };
1558
+ } & {
1559
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1560
+ }) | ({
1561
+ name: "create_oauth_client";
1562
+ configurationId: string;
1563
+ } & {
1564
+ value?: __x_string__never__;
1565
+ }) | ({
1566
+ name: "authorize_oauth_client";
1567
+ slug: string;
1568
+ } & {
1569
+ value?: __x_string__never__;
1570
+ }) | ({
1571
+ name: "configure_content";
1572
+ } & {
1573
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1574
+ }) | ({
1575
+ name: "configure_api_key";
1576
+ slug: "partoo";
1577
+ } & {
1578
+ value?: _value_string__;
1579
+ }) | ({
1580
+ name: "patch";
1581
+ } & {
1582
+ value?: _refresh_ProxyRefresh__;
1583
+ }) | ({
1584
+ name: "validate";
1585
+ } & {
1586
+ value?: __x_string__never__;
1587
+ }) | ({
1588
+ name: "configure_name";
1589
+ } & {
1590
+ value?: string;
1591
+ }) | ({
1592
+ name: "configure_resource_group_ids";
1593
+ } & {
1594
+ value?: string[];
1595
+ }) | ({
1596
+ name: "configure_fieldsmap";
1597
+ } & {
1598
+ value?: FieldMap[];
1599
+ }) | ({
1600
+ name: "configure_field";
1601
+ field: {
1602
+ name: string;
1603
+ type: FieldMapType;
1604
+ };
1605
+ } & {
1606
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1607
+ }) | ({
1608
+ name: "validate";
1609
+ } & {
1610
+ value?: __x_string__never__;
1611
+ }) | ({
1612
+ name: "inject_shopify_analytics_script";
1613
+ configurationId: string;
1614
+ } & {
1615
+ value?: string;
1616
+ }) | ({
1617
+ name: "configure_shopify_analytics_script";
1618
+ } & {
1619
+ value?: __x_string__never__;
1620
+ }) | ({
1621
+ name: "configure_google_tag_manager";
1622
+ } & {
1623
+ value?: __x_string__never__;
1624
+ }) | ({
1625
+ name: "configure_reelevant_analytics_script";
1626
+ } & {
1627
+ value?: __x_string__never__;
1628
+ });
1629
+ next: (({
1630
+ name: "configure_name";
1631
+ } & {
1632
+ value?: string;
1633
+ }) | ({
1634
+ name: "configure_resource_group_ids";
1635
+ } & {
1636
+ value?: string[];
1637
+ }) | ({
1638
+ name: "configure_source";
1639
+ mode?: "url" | "file";
1640
+ } & {
1641
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
1642
+ }) | ({
1643
+ name: "configure_fieldsmap";
1644
+ } & {
1645
+ value?: FieldMap[];
1646
+ }) | ({
1647
+ name: "configure_field";
1648
+ field: {
1649
+ name: string;
1650
+ type: FieldMapType;
1651
+ };
1652
+ } & {
1653
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1654
+ }) | ({
1655
+ name: "create_oauth_client";
1656
+ configurationId: string;
1657
+ } & {
1658
+ value?: __x_string__never__;
1659
+ }) | ({
1660
+ name: "authorize_oauth_client";
1661
+ slug: string;
1662
+ } & {
1663
+ value?: __x_string__never__;
1664
+ }) | ({
1665
+ name: "configure_thresholds";
1666
+ } & {
1667
+ value?: ({
1668
+ type: "too_many_invalid_entries";
1669
+ value: number;
1670
+ trigger: {
1671
+ type: "error";
1672
+ value: "too_many_invalid_entries";
1673
+ };
1674
+ } | {
1675
+ type: "entries_drop_rate_too_high";
1676
+ value: number;
1677
+ trigger: {
1678
+ type: "warning";
1679
+ value: "entries_drop_rate_too_high";
1680
+ } | {
1681
+ type: "error";
1682
+ value: "entries_drop_rate_too_high";
1683
+ };
1684
+ })[];
1685
+ }) | ({
1686
+ name: "configure_content";
1687
+ } & {
1688
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1689
+ }) | ({
1690
+ name: "configure_api_key";
1691
+ slug: "partoo";
1692
+ } & {
1693
+ value?: _value_string__;
1694
+ }) | ({
1695
+ name: "patch";
1696
+ } & {
1697
+ value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
1698
+ }) | ({
1699
+ name: "validate";
1700
+ } & {
1701
+ value?: __x_string__never__;
1702
+ }) | ({
1703
+ name: "configure_shopify_shop_name";
1704
+ configurationId: string;
1705
+ } & {
1706
+ value?: string;
1707
+ }) | ({
1708
+ name: "configure_twitter";
1709
+ } & {
1710
+ value?: _type_user_or_hashtag_value_string__;
1711
+ }) | ({
1712
+ name: "configure_product_datasource_source";
1713
+ } & {
1714
+ value?: _datasourceId_string__;
1715
+ }) | ({
1716
+ name: "configure_tracking_datasource_source";
1717
+ } & {
1718
+ value?: _datasourceId_string__;
1719
+ }) | ({
1720
+ name: "configure_best_product_query";
1721
+ } & {
1722
+ value?: _query_string__;
1723
+ }) | ({
1724
+ name: "configure_best_product_field";
1725
+ } & {
1726
+ value?: _field_string__;
1727
+ }) | ({
1728
+ name: "configure_name";
1729
+ } & {
1730
+ value?: string;
1731
+ }) | ({
1732
+ name: "configure_resource_group_ids";
1733
+ } & {
1734
+ value?: string[];
1735
+ }) | ({
1736
+ name: "configure_source";
1737
+ mode?: "url" | "file";
1738
+ } & {
1739
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
1740
+ }) | ({
1741
+ name: "configure_fieldsmap";
1742
+ } & {
1743
+ value?: FieldMap[];
1744
+ }) | ({
1745
+ name: "configure_field";
1746
+ field: {
1747
+ name: string;
1748
+ type: FieldMapType;
1749
+ };
1750
+ } & {
1751
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1752
+ }) | ({
1753
+ name: "create_oauth_client";
1754
+ configurationId: string;
1755
+ } & {
1756
+ value?: __x_string__never__;
1757
+ }) | ({
1758
+ name: "authorize_oauth_client";
1759
+ slug: string;
1760
+ } & {
1761
+ value?: __x_string__never__;
1762
+ }) | ({
1763
+ name: "configure_content";
1764
+ } & {
1765
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1766
+ }) | ({
1767
+ name: "configure_api_key";
1768
+ slug: "partoo";
1769
+ } & {
1770
+ value?: _value_string__;
1771
+ }) | ({
1772
+ name: "patch";
1773
+ } & {
1774
+ value?: _refresh_ProxyRefresh__;
1775
+ }) | ({
1776
+ name: "validate";
1777
+ } & {
1778
+ value?: __x_string__never__;
1779
+ }) | ({
1780
+ name: "configure_name";
1781
+ } & {
1782
+ value?: string;
1783
+ }) | ({
1784
+ name: "configure_resource_group_ids";
1785
+ } & {
1786
+ value?: string[];
1787
+ }) | ({
1788
+ name: "configure_fieldsmap";
1789
+ } & {
1790
+ value?: FieldMap[];
1791
+ }) | ({
1792
+ name: "configure_field";
1793
+ field: {
1794
+ name: string;
1795
+ type: FieldMapType;
1796
+ };
1797
+ } & {
1798
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1799
+ }) | ({
1800
+ name: "validate";
1801
+ } & {
1802
+ value?: __x_string__never__;
1803
+ }) | ({
1804
+ name: "inject_shopify_analytics_script";
1805
+ configurationId: string;
1806
+ } & {
1807
+ value?: string;
1808
+ }) | ({
1809
+ name: "configure_shopify_analytics_script";
1810
+ } & {
1811
+ value?: __x_string__never__;
1812
+ }) | ({
1813
+ name: "configure_google_tag_manager";
1814
+ } & {
1815
+ value?: __x_string__never__;
1816
+ }) | ({
1817
+ name: "configure_reelevant_analytics_script";
1818
+ } & {
1819
+ value?: __x_string__never__;
1820
+ }))[];
1821
+ previous: (({
1822
+ name: "configure_name";
1823
+ } & {
1824
+ value?: string;
1825
+ }) | ({
1826
+ name: "configure_resource_group_ids";
1827
+ } & {
1828
+ value?: string[];
1829
+ }) | ({
1830
+ name: "configure_source";
1831
+ mode?: "url" | "file";
1832
+ } & {
1833
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
1834
+ }) | ({
1835
+ name: "configure_fieldsmap";
1836
+ } & {
1837
+ value?: FieldMap[];
1838
+ }) | ({
1839
+ name: "configure_field";
1840
+ field: {
1841
+ name: string;
1842
+ type: FieldMapType;
1843
+ };
1844
+ } & {
1845
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1846
+ }) | ({
1847
+ name: "create_oauth_client";
1848
+ configurationId: string;
1849
+ } & {
1850
+ value?: __x_string__never__;
1851
+ }) | ({
1852
+ name: "authorize_oauth_client";
1853
+ slug: string;
1854
+ } & {
1855
+ value?: __x_string__never__;
1856
+ }) | ({
1857
+ name: "configure_thresholds";
1858
+ } & {
1859
+ value?: ({
1860
+ type: "too_many_invalid_entries";
1861
+ value: number;
1862
+ trigger: {
1863
+ type: "error";
1864
+ value: "too_many_invalid_entries";
1865
+ };
1866
+ } | {
1867
+ type: "entries_drop_rate_too_high";
1868
+ value: number;
1869
+ trigger: {
1870
+ type: "warning";
1871
+ value: "entries_drop_rate_too_high";
1872
+ } | {
1873
+ type: "error";
1874
+ value: "entries_drop_rate_too_high";
1875
+ };
1876
+ })[];
1877
+ }) | ({
1878
+ name: "configure_content";
1879
+ } & {
1880
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1881
+ }) | ({
1882
+ name: "configure_api_key";
1883
+ slug: "partoo";
1884
+ } & {
1885
+ value?: _value_string__;
1886
+ }) | ({
1887
+ name: "patch";
1888
+ } & {
1889
+ value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
1890
+ }) | ({
1891
+ name: "validate";
1892
+ } & {
1893
+ value?: __x_string__never__;
1894
+ }) | ({
1895
+ name: "configure_shopify_shop_name";
1896
+ configurationId: string;
1897
+ } & {
1898
+ value?: string;
1899
+ }) | ({
1900
+ name: "configure_twitter";
1901
+ } & {
1902
+ value?: _type_user_or_hashtag_value_string__;
1903
+ }) | ({
1904
+ name: "configure_product_datasource_source";
1905
+ } & {
1906
+ value?: _datasourceId_string__;
1907
+ }) | ({
1908
+ name: "configure_tracking_datasource_source";
1909
+ } & {
1910
+ value?: _datasourceId_string__;
1911
+ }) | ({
1912
+ name: "configure_best_product_query";
1913
+ } & {
1914
+ value?: _query_string__;
1915
+ }) | ({
1916
+ name: "configure_best_product_field";
1917
+ } & {
1918
+ value?: _field_string__;
1919
+ }) | ({
1920
+ name: "configure_name";
1921
+ } & {
1922
+ value?: string;
1923
+ }) | ({
1924
+ name: "configure_resource_group_ids";
1925
+ } & {
1926
+ value?: string[];
1927
+ }) | ({
1928
+ name: "configure_source";
1929
+ mode?: "url" | "file";
1930
+ } & {
1931
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
1932
+ }) | ({
1933
+ name: "configure_fieldsmap";
1934
+ } & {
1935
+ value?: FieldMap[];
1936
+ }) | ({
1937
+ name: "configure_field";
1938
+ field: {
1939
+ name: string;
1940
+ type: FieldMapType;
1941
+ };
1942
+ } & {
1943
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1944
+ }) | ({
1945
+ name: "create_oauth_client";
1946
+ configurationId: string;
1947
+ } & {
1948
+ value?: __x_string__never__;
1949
+ }) | ({
1950
+ name: "authorize_oauth_client";
1951
+ slug: string;
1952
+ } & {
1953
+ value?: __x_string__never__;
1954
+ }) | ({
1955
+ name: "configure_content";
1956
+ } & {
1957
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
1958
+ }) | ({
1959
+ name: "configure_api_key";
1960
+ slug: "partoo";
1961
+ } & {
1962
+ value?: _value_string__;
1963
+ }) | ({
1964
+ name: "patch";
1965
+ } & {
1966
+ value?: _refresh_ProxyRefresh__;
1967
+ }) | ({
1968
+ name: "validate";
1969
+ } & {
1970
+ value?: __x_string__never__;
1971
+ }) | ({
1972
+ name: "configure_name";
1973
+ } & {
1974
+ value?: string;
1975
+ }) | ({
1976
+ name: "configure_resource_group_ids";
1977
+ } & {
1978
+ value?: string[];
1979
+ }) | ({
1980
+ name: "configure_fieldsmap";
1981
+ } & {
1982
+ value?: FieldMap[];
1983
+ }) | ({
1984
+ name: "configure_field";
1985
+ field: {
1986
+ name: string;
1987
+ type: FieldMapType;
1988
+ };
1989
+ } & {
1990
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
1991
+ }) | ({
1992
+ name: "validate";
1993
+ } & {
1994
+ value?: __x_string__never__;
1995
+ }) | ({
1996
+ name: "inject_shopify_analytics_script";
1997
+ configurationId: string;
1998
+ } & {
1999
+ value?: string;
2000
+ }) | ({
2001
+ name: "configure_shopify_analytics_script";
2002
+ } & {
2003
+ value?: __x_string__never__;
2004
+ }) | ({
2005
+ name: "configure_google_tag_manager";
2006
+ } & {
2007
+ value?: __x_string__never__;
2008
+ }) | ({
2009
+ name: "configure_reelevant_analytics_script";
2010
+ } & {
2011
+ value?: __x_string__never__;
2012
+ }))[];
2013
+ available: (({
2014
+ name: "configure_name";
2015
+ } & {
2016
+ value?: string;
2017
+ }) | ({
2018
+ name: "configure_resource_group_ids";
2019
+ } & {
2020
+ value?: string[];
2021
+ }) | ({
2022
+ name: "configure_source";
2023
+ mode?: "url" | "file";
2024
+ } & {
2025
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_WorkerApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__ | _file_string_ignoreMissingLiveFields_string_textEncoding_string_format_Format__;
2026
+ }) | ({
2027
+ name: "configure_fieldsmap";
2028
+ } & {
2029
+ value?: FieldMap[];
2030
+ }) | ({
2031
+ name: "configure_field";
2032
+ field: {
2033
+ name: string;
2034
+ type: FieldMapType;
2035
+ };
2036
+ } & {
2037
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2038
+ }) | ({
2039
+ name: "create_oauth_client";
2040
+ configurationId: string;
2041
+ } & {
2042
+ value?: __x_string__never__;
2043
+ }) | ({
2044
+ name: "authorize_oauth_client";
2045
+ slug: string;
2046
+ } & {
2047
+ value?: __x_string__never__;
2048
+ }) | ({
2049
+ name: "configure_thresholds";
2050
+ } & {
2051
+ value?: ({
2052
+ type: "too_many_invalid_entries";
2053
+ value: number;
2054
+ trigger: {
2055
+ type: "error";
2056
+ value: "too_many_invalid_entries";
2057
+ };
2058
+ } | {
2059
+ type: "entries_drop_rate_too_high";
2060
+ value: number;
2061
+ trigger: {
2062
+ type: "warning";
2063
+ value: "entries_drop_rate_too_high";
2064
+ } | {
2065
+ type: "error";
2066
+ value: "entries_drop_rate_too_high";
2067
+ };
2068
+ })[];
2069
+ }) | ({
2070
+ name: "configure_content";
2071
+ } & {
2072
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
2073
+ }) | ({
2074
+ name: "configure_api_key";
2075
+ slug: "partoo";
2076
+ } & {
2077
+ value?: _value_string__;
2078
+ }) | ({
2079
+ name: "patch";
2080
+ } & {
2081
+ value?: _aggregationPipeline_AggregationStep_Array_refresh_WorkerRefresh_detectMissingFields_boolean_batchSize_number__;
2082
+ }) | ({
2083
+ name: "validate";
2084
+ } & {
2085
+ value?: __x_string__never__;
2086
+ }) | ({
2087
+ name: "configure_shopify_shop_name";
2088
+ configurationId: string;
2089
+ } & {
2090
+ value?: string;
2091
+ }) | ({
2092
+ name: "configure_twitter";
2093
+ } & {
2094
+ value?: _type_user_or_hashtag_value_string__;
2095
+ }) | ({
2096
+ name: "configure_product_datasource_source";
2097
+ } & {
2098
+ value?: _datasourceId_string__;
2099
+ }) | ({
2100
+ name: "configure_tracking_datasource_source";
2101
+ } & {
2102
+ value?: _datasourceId_string__;
2103
+ }) | ({
2104
+ name: "configure_best_product_query";
2105
+ } & {
2106
+ value?: _query_string__;
2107
+ }) | ({
2108
+ name: "configure_best_product_field";
2109
+ } & {
2110
+ value?: _field_string__;
2111
+ }) | ({
2112
+ name: "configure_name";
2113
+ } & {
2114
+ value?: string;
2115
+ }) | ({
2116
+ name: "configure_resource_group_ids";
2117
+ } & {
2118
+ value?: string[];
2119
+ }) | ({
2120
+ name: "configure_source";
2121
+ mode?: "url" | "file";
2122
+ } & {
2123
+ value?: _urls_string_Array_ignoreMissingLiveFields_true_apiOptions_ProxyApiOptions_sample___key_string__unknown___textEncoding_string_format_Format__;
2124
+ }) | ({
2125
+ name: "configure_fieldsmap";
2126
+ } & {
2127
+ value?: FieldMap[];
2128
+ }) | ({
2129
+ name: "configure_field";
2130
+ field: {
2131
+ name: string;
2132
+ type: FieldMapType;
2133
+ };
2134
+ } & {
2135
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2136
+ }) | ({
2137
+ name: "create_oauth_client";
2138
+ configurationId: string;
2139
+ } & {
2140
+ value?: __x_string__never__;
2141
+ }) | ({
2142
+ name: "authorize_oauth_client";
2143
+ slug: string;
2144
+ } & {
2145
+ value?: __x_string__never__;
2146
+ }) | ({
2147
+ name: "configure_content";
2148
+ } & {
2149
+ value?: _sample___key_string__unknown___textEncoding_string_format_Format__;
2150
+ }) | ({
2151
+ name: "configure_api_key";
2152
+ slug: "partoo";
2153
+ } & {
2154
+ value?: _value_string__;
2155
+ }) | ({
2156
+ name: "patch";
2157
+ } & {
2158
+ value?: _refresh_ProxyRefresh__;
2159
+ }) | ({
2160
+ name: "validate";
2161
+ } & {
2162
+ value?: __x_string__never__;
2163
+ }) | ({
2164
+ name: "configure_name";
2165
+ } & {
2166
+ value?: string;
2167
+ }) | ({
2168
+ name: "configure_resource_group_ids";
2169
+ } & {
2170
+ value?: string[];
2171
+ }) | ({
2172
+ name: "configure_fieldsmap";
2173
+ } & {
2174
+ value?: FieldMap[];
2175
+ }) | ({
2176
+ name: "configure_field";
2177
+ field: {
2178
+ name: string;
2179
+ type: FieldMapType;
2180
+ };
2181
+ } & {
2182
+ value?: _name_string_type_FieldSource_readonlyprimitive_string_or_number_or_datetime_or_string_Array_or_number_Array_or_string___or_number____;
2183
+ }) | ({
2184
+ name: "validate";
2185
+ } & {
2186
+ value?: __x_string__never__;
2187
+ }) | ({
2188
+ name: "inject_shopify_analytics_script";
2189
+ configurationId: string;
2190
+ } & {
2191
+ value?: string;
2192
+ }) | ({
2193
+ name: "configure_shopify_analytics_script";
2194
+ } & {
2195
+ value?: __x_string__never__;
2196
+ }) | ({
2197
+ name: "configure_google_tag_manager";
2198
+ } & {
2199
+ value?: __x_string__never__;
2200
+ }) | ({
2201
+ name: "configure_reelevant_analytics_script";
2202
+ } & {
2203
+ value?: __x_string__never__;
2204
+ }))[];
2205
+ };
2206
+ export declare enum FieldMapRuleName {
2207
+ STATIC = "static",
2208
+ PATH = "path",
2209
+ ARRAY_FIND = "array_find",
2210
+ FALLBACK = "fallback",
2211
+ FALLBACK_IF = "fallback_if",
2212
+ EXCLUDE_FROM_RECORD = "exclude_from_record",
2213
+ DECRYPT = "decrypt",
2214
+ INTERPOLATE = "interpolate"
2215
+ }
2216
+ export declare type DatasourceTypeName = DatasourceType;
2217
+ export declare type DatasourceTypeObject = {
2218
+ name: "generic";
2219
+ subtype: DatasourceGenericSubType;
2220
+ } | {
2221
+ name: "product";
2222
+ subtype: DatasourceProductSubType;
2223
+ } | {
2224
+ name: "location";
2225
+ subtype: DatasourceLocationSubType;
2226
+ } | {
2227
+ name: "analytics";
2228
+ subtype: DatasourceAnalyticsSubType;
2229
+ };
2230
+ export declare type WorkerSteps = {
2231
+ name: "configure_name";
2232
+ payload: string;
2233
+ } | {
2234
+ name: "configure_resource_group_ids";
2235
+ payload: string[];
2236
+ } | {
2237
+ name: "configure_source";
2238
+ payload: ({
2239
+ urls: string[];
2240
+ ignoreMissingLiveFields?: true;
2241
+ } & Partial_Pick_WorkerDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__) | ({
2242
+ file: string;
2243
+ ignoreMissingLiveFields?: string;
2244
+ } & Partial_Pick_WorkerDatasourceVersion_textEncoding_or_format__);
2245
+ } | {
2246
+ name: "configure_fieldsmap";
2247
+ payload: FieldMap[];
2248
+ } | {
2249
+ name: "configure_field";
2250
+ payload: FieldMap;
2251
+ } | {
2252
+ name: "create_oauth_client";
2253
+ payload: {};
2254
+ } | {
2255
+ name: "authorize_oauth_client";
2256
+ payload: {};
2257
+ } | {
2258
+ name: "configure_thresholds";
2259
+ payload: ({
2260
+ type: "too_many_invalid_entries";
2261
+ value: number;
2262
+ trigger: {
2263
+ type: "error";
2264
+ value: "too_many_invalid_entries";
2265
+ };
2266
+ } | {
2267
+ type: "entries_drop_rate_too_high";
2268
+ value: number;
2269
+ trigger: {
2270
+ type: "warning";
2271
+ value: "entries_drop_rate_too_high";
2272
+ } | {
2273
+ type: "error";
2274
+ value: "entries_drop_rate_too_high";
2275
+ };
2276
+ })[];
2277
+ } | {
2278
+ name: "configure_content";
2279
+ payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__;
2280
+ } | {
2281
+ name: "configure_api_key";
2282
+ payload: {
2283
+ value: string;
2284
+ };
2285
+ } | {
2286
+ name: "patch";
2287
+ payload: Partial_Pick_WorkerDatasourceVersion_aggregationPipeline_or_refresh_or_detectMissingFields_or_batchSize__;
2288
+ } | {
2289
+ name: "validate";
2290
+ payload: {};
2291
+ } | {
2292
+ name: "configure_shopify_shop_name";
2293
+ payload: string;
2294
+ } | {
2295
+ name: "configure_twitter";
2296
+ payload: {
2297
+ type: "user" | "hashtag";
2298
+ value: string;
2299
+ };
2300
+ } | {
2301
+ name: "configure_product_datasource_source";
2302
+ payload: {
2303
+ datasourceId: string;
2304
+ };
2305
+ } | {
2306
+ name: "configure_tracking_datasource_source";
2307
+ payload: {
2308
+ datasourceId: string;
2309
+ };
2310
+ } | {
2311
+ name: "configure_best_product_query";
2312
+ payload: {
2313
+ query: string;
2314
+ };
2315
+ } | {
2316
+ name: "configure_best_product_field";
2317
+ payload: {
2318
+ field: string;
2319
+ };
2320
+ };
2321
+ export declare type ProxySteps = {
2322
+ name: "configure_name";
2323
+ payload: string;
2324
+ } | {
2325
+ name: "configure_resource_group_ids";
2326
+ payload: string[];
2327
+ } | {
2328
+ name: "configure_source";
2329
+ payload: {
2330
+ urls: string[];
2331
+ ignoreMissingLiveFields?: true;
2332
+ } & Partial_Pick_ProxyDatasourceVersion_apiOptions_or_sample_or_textEncoding_or_format__;
2333
+ } | {
2334
+ name: "configure_fieldsmap";
2335
+ payload: FieldMap[];
2336
+ } | {
2337
+ name: "configure_field";
2338
+ payload: FieldMap;
2339
+ } | {
2340
+ name: "create_oauth_client";
2341
+ payload: {};
2342
+ } | {
2343
+ name: "authorize_oauth_client";
2344
+ payload: {};
2345
+ } | {
2346
+ name: "configure_content";
2347
+ payload: Partial_Pick_PullDatasourceVersion_sample_or_textEncoding_or_format__;
2348
+ } | {
2349
+ name: "configure_api_key";
2350
+ payload: {
2351
+ value: string;
2352
+ };
2353
+ } | {
2354
+ name: "patch";
2355
+ payload: Pick_ProxyDatasourceVersion_refresh_;
2356
+ } | {
2357
+ name: "validate";
2358
+ payload: {};
2359
+ };
2360
+ export declare type IngesterSteps = {
2361
+ name: "configure_name";
2362
+ payload: string;
2363
+ } | {
2364
+ name: "configure_resource_group_ids";
2365
+ payload: string[];
2366
+ } | {
2367
+ name: "configure_fieldsmap";
2368
+ payload: FieldMap[];
2369
+ } | {
2370
+ name: "configure_field";
2371
+ payload: FieldMap;
2372
+ } | {
2373
+ name: "validate";
2374
+ payload: {};
2375
+ } | {
2376
+ name: "inject_shopify_analytics_script";
2377
+ payload: string;
2378
+ } | {
2379
+ name: "configure_shopify_analytics_script";
2380
+ payload: {};
2381
+ } | {
2382
+ name: "configure_google_tag_manager";
2383
+ payload: {};
2384
+ } | {
2385
+ name: "configure_reelevant_analytics_script";
2386
+ payload: {};
2387
+ };
2388
+ export {};