@rlvt/datasources-openapi-client 0.0.0-666b27f → 0.0.0-68ee051

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