@rlvt/datasources-openapi-client 0.0.0-57dfbdb → 0.0.0-59f0afe

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