@rlvt/datasources-openapi-client 0.0.0-4f72f10 → 0.0.0-51b8efe

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