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

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