@rlvt/datasources-query-openapi-client 1.0.101 → 1.0.104
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.
- package/build/api.d.ts +39 -5
- package/build/api.js +4 -4
- package/build/definitions.d.ts +143 -1
- package/build/definitions.js +26 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RecommenderFetcherFetchOpts, RenaultPricesFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RecommenderFetcherCountOpts, RenaultPricesFetcherCountOpts,
|
|
2
|
+
import type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RecommenderFetcherFetchOpts, RenaultPricesFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RecommenderFetcherCountOpts, RenaultPricesFetcherCountOpts, WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort, DatasourceLocation, DatasourceGeneric, DatasourceProduct, DatasourceAnalytics, IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group, TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate, ProxyFetcherFetchOpts_Without_Query, CarrefourStoresRetailsFetcherFetchOpts_Without_Query, CarrefourStoresWithDriveSlotsFetcherFetchOpts_Without_Query, CarrefourStoresWithFuelFetcherFetchOpts_Without_Query, BestWesternHotelsFetcherFetchOpts_Without_Query_Cp_Geo_Sort, FdjBetsFetcherFetchOpts_Without_Query, SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort, RecommenderFetcherFetchOpts_Without_Query_Limit, RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort, CarrefourStoresWithFuelFetcherQueryOpts, FdjBetsFetcherQueryOpts, WorkerFetcherQueryOpts, IngesterFetcherQueryOpts, TrackingFetcherQueryOpts, ProxyFetcherQueryOpts, CarrefourStoresRetailsFetcherQueryOpts, CarrefourStoresWithDriveSlotsFetcherQueryOpts, BestWesternHotelsFetcherQueryOpts, SarenzaSizesFetcherQueryOpts, RecommenderFetcherQueryOpts, RenaultPricesFetcherQueryOpts } from "./definitions";
|
|
3
3
|
export * from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
7
7
|
private fetch;
|
|
8
8
|
private count;
|
|
9
|
-
private
|
|
9
|
+
private findAndFetch;
|
|
10
10
|
private query;
|
|
11
11
|
private queryValues;
|
|
12
12
|
get Data(): {
|
|
@@ -41,11 +41,45 @@ export default class {
|
|
|
41
41
|
message: string;
|
|
42
42
|
data: number;
|
|
43
43
|
}, any>>;
|
|
44
|
-
|
|
44
|
+
findAndFetch: (params: {
|
|
45
45
|
'x-rlvt-no-cache'?: boolean;
|
|
46
|
-
}, data:
|
|
46
|
+
}, data: (WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort & {
|
|
47
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
47
48
|
companyId: string;
|
|
48
|
-
}
|
|
49
|
+
}) | (IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group & {
|
|
50
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
51
|
+
companyId: string;
|
|
52
|
+
}) | (TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate & {
|
|
53
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
54
|
+
companyId: string;
|
|
55
|
+
}) | (ProxyFetcherFetchOpts_Without_Query & {
|
|
56
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
57
|
+
companyId: string;
|
|
58
|
+
}) | (CarrefourStoresRetailsFetcherFetchOpts_Without_Query & {
|
|
59
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
60
|
+
companyId: string;
|
|
61
|
+
}) | (CarrefourStoresWithDriveSlotsFetcherFetchOpts_Without_Query & {
|
|
62
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
63
|
+
companyId: string;
|
|
64
|
+
}) | (CarrefourStoresWithFuelFetcherFetchOpts_Without_Query & {
|
|
65
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
66
|
+
companyId: string;
|
|
67
|
+
}) | (BestWesternHotelsFetcherFetchOpts_Without_Query_Cp_Geo_Sort & {
|
|
68
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
69
|
+
companyId: string;
|
|
70
|
+
}) | (FdjBetsFetcherFetchOpts_Without_Query & {
|
|
71
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
72
|
+
companyId: string;
|
|
73
|
+
}) | (SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort & {
|
|
74
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
75
|
+
companyId: string;
|
|
76
|
+
}) | (RecommenderFetcherFetchOpts_Without_Query_Limit & {
|
|
77
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
78
|
+
companyId: string;
|
|
79
|
+
}) | (RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort & {
|
|
80
|
+
type: DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
|
81
|
+
companyId: string;
|
|
82
|
+
}), options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
49
83
|
status: "success";
|
|
50
84
|
program: string;
|
|
51
85
|
version: string;
|
package/build/api.js
CHANGED
|
@@ -33,8 +33,8 @@ class default_1 {
|
|
|
33
33
|
headers: pick(params, "x-rlvt-no-cache"),
|
|
34
34
|
}, options));
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
return this.axios.post("/
|
|
36
|
+
findAndFetch(params, data, options) {
|
|
37
|
+
return this.axios.post("/find-and-fetch", data, Object.assign({}, {
|
|
38
38
|
headers: pick(params, "x-rlvt-no-cache"),
|
|
39
39
|
}, options));
|
|
40
40
|
}
|
|
@@ -53,7 +53,7 @@ class default_1 {
|
|
|
53
53
|
return {
|
|
54
54
|
fetch: this.fetch.bind(this),
|
|
55
55
|
count: this.count.bind(this),
|
|
56
|
-
|
|
56
|
+
findAndFetch: this.findAndFetch.bind(this),
|
|
57
57
|
query: this.query.bind(this),
|
|
58
58
|
queryValues: this.queryValues.bind(this)
|
|
59
59
|
};
|
|
@@ -68,4 +68,4 @@ function pick(obj, ...keys) {
|
|
|
68
68
|
});
|
|
69
69
|
return ret;
|
|
70
70
|
}
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLGdEQUE4QjtBQUU5QjtJQUdJLFlBQVksZ0JBQW9EO1FBQzVELElBQUksQ0FBQyxLQUFLLEdBQUcsY0FBYyxJQUFJLGdCQUFnQjtZQUMzQyxDQUFDLENBQUMsZ0JBQWdCO1lBQ2xCLENBQUMsQ0FBQyxlQUFLLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUE7SUFDeEMsQ0FBQztJQUVPLEtBQUssQ0FBQyxNQUViLEVBQUUsSUFBd1ksRUFBRSxPQUE0QjtRQUNyYSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQWtCbEIsUUFBUSxFQUFFLElBQUksRUFDZCxNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE9BQU8sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLGlCQUFpQixDQUFDO1NBQzNDLEVBQ0QsT0FBTyxDQUNWLENBQ0osQ0FBQztJQUNOLENBQUM7SUFFTyxLQUFLLENBQUMsTUFFYixFQUFFLElBQXdZLEVBQUUsT0FBNEI7UUFDcmEsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FTbEIsUUFBUSxFQUFFLElBQUksRUFDZCxNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE9BQU8sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLGlCQUFpQixDQUFDO1NBQzNDLEVBQ0QsT0FBTyxDQUNWLENBQ0osQ0FBQztJQUNOLENBQUM7SUFFTyxZQUFZLENBQUMsTUFFcEIsRUFBRSxJQW9DRCxFQUFFLE9BQTRCO1FBQzVCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBa0JsQixpQkFBaUIsRUFBRSxJQUFJLEVBQ3ZCLE1BQU0sQ0FBQyxNQUFNLENBQ1QsRUFBRSxFQUNGO1lBQ0ksT0FBTyxFQUFFLElBQUksQ0FBQyxNQUFNLEVBQUUsaUJBQWlCLENBQUM7U0FDM0MsRUFDRCxPQUFPLENBQ1YsQ0FDSixDQUFDO0lBQ04sQ0FBQztJQUVPLEtBQUssQ0FBQyxNQUliLEVBQUUsSUFBd1ksRUFBRSxPQUE0QjtRQUNyYSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQXFCbEIsUUFBUSxFQUFFLElBQUksRUFDZCxNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE9BQU8sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLGlCQUFpQixDQUFDO1lBQ3hDLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxTQUFTLENBQUM7U0FDMUMsRUFDRCxPQUFPLENBQ1YsQ0FDSixDQUFDO0lBQ04sQ0FBQztJQUVPLFdBQVcsQ0FBQyxNQUVuQixFQUFFLElBSUYsRUFBRSxPQUE0QjtRQUMzQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQVNsQixlQUFlLEVBQUUsSUFBSSxFQUNyQixNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE9BQU8sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLGlCQUFpQixDQUFDO1NBQzNDLEVBQ0QsT0FBTyxDQUNWLENBQ0osQ0FBQztJQUNOLENBQUM7SUFFRCxJQUFJLElBQUk7UUFDSixPQUFPO1lBQ0gsS0FBSyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUM1QixLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQzVCLFlBQVksRUFBRSxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7WUFDMUMsS0FBSyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUM1QixXQUFXLEVBQUUsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQzNDLENBQUM7SUFDTixDQUFDO0NBQ0o7QUE5TUQsNEJBOE1DO0FBRUQsU0FBUyxJQUFJLENBQXVCLEdBQU0sRUFBRSxHQUFHLElBQVM7SUFDcEQsTUFBTSxHQUFHLEdBQWUsRUFBZ0IsQ0FBQztJQUN6QyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ2YsSUFBSSxHQUFHLElBQUksTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxRQUFRLENBQUMsR0FBYSxDQUFDO1lBQy9DLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDNUIsQ0FBQyxDQUFDLENBQUM7SUFDSCxPQUFPLEdBQUcsQ0FBQztBQUNmLENBQUMifQ==
|
package/build/definitions.d.ts
CHANGED
|
@@ -213,7 +213,61 @@ export declare type RenaultPricesFetcherCountOpts = {
|
|
|
213
213
|
center: (number | number)[];
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
|
-
export declare type
|
|
216
|
+
export declare type WorkerFetcherFetchOpts_Without_Query_Limit_Cp_Geo_Sort = {
|
|
217
|
+
query: string;
|
|
218
|
+
limit?: number;
|
|
219
|
+
cp?: {
|
|
220
|
+
count: number;
|
|
221
|
+
index?: number;
|
|
222
|
+
group: string;
|
|
223
|
+
pickId: string;
|
|
224
|
+
};
|
|
225
|
+
geo?: {
|
|
226
|
+
radius: number;
|
|
227
|
+
center: (number | number)[];
|
|
228
|
+
};
|
|
229
|
+
sort?: {
|
|
230
|
+
by: string;
|
|
231
|
+
order: "desc" | "asc";
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
export declare enum DatasourceLocationSubType {
|
|
235
|
+
USER = "user",
|
|
236
|
+
GOOGLE_MY_BUSINESS = "google_my_business",
|
|
237
|
+
PARTOO = "partoo"
|
|
238
|
+
}
|
|
239
|
+
export declare type DatasourceLocation = {
|
|
240
|
+
name: "location";
|
|
241
|
+
subtype: DatasourceLocationSubType;
|
|
242
|
+
};
|
|
243
|
+
export declare enum DatasourceGenericSubType {
|
|
244
|
+
USER = "user",
|
|
245
|
+
RECOMMENDER = "recommender"
|
|
246
|
+
}
|
|
247
|
+
export declare type DatasourceGeneric = {
|
|
248
|
+
name: "generic";
|
|
249
|
+
subtype: DatasourceGenericSubType;
|
|
250
|
+
};
|
|
251
|
+
export declare enum DatasourceProductSubType {
|
|
252
|
+
USER = "user",
|
|
253
|
+
SHOPIFY = "shopify",
|
|
254
|
+
BEST_PRODUCT = "best_product"
|
|
255
|
+
}
|
|
256
|
+
export declare type DatasourceProduct = {
|
|
257
|
+
name: "product";
|
|
258
|
+
subtype: DatasourceProductSubType;
|
|
259
|
+
};
|
|
260
|
+
export declare enum DatasourceAnalyticsSubType {
|
|
261
|
+
REELEVANT = "reelevant",
|
|
262
|
+
GOOGLE_TAG_MANAGER = "google_tag_manager",
|
|
263
|
+
SHOPIFY = "shopify",
|
|
264
|
+
WORKFLOW_EVENTS = "workflow_events"
|
|
265
|
+
}
|
|
266
|
+
export declare type DatasourceAnalytics = {
|
|
267
|
+
name: "analytics";
|
|
268
|
+
subtype: DatasourceAnalyticsSubType;
|
|
269
|
+
};
|
|
270
|
+
export declare type IngesterFetcherFetchOpts_Without_Query_Limit_Sort_Group = {
|
|
217
271
|
query: string;
|
|
218
272
|
limit?: number;
|
|
219
273
|
sort?: {
|
|
@@ -224,6 +278,93 @@ export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_grou
|
|
|
224
278
|
by: string;
|
|
225
279
|
};
|
|
226
280
|
};
|
|
281
|
+
export declare type TrackingFetcherFetchOpts_Without_Query_Limit_Date_ExcludeQuery_UserIds_ExcludeDate = {
|
|
282
|
+
query: string | string[];
|
|
283
|
+
limit: number;
|
|
284
|
+
date: {
|
|
285
|
+
start: Date;
|
|
286
|
+
end: Date;
|
|
287
|
+
} | {
|
|
288
|
+
end: Date;
|
|
289
|
+
} | {
|
|
290
|
+
start: Date;
|
|
291
|
+
} | {
|
|
292
|
+
duration: number;
|
|
293
|
+
};
|
|
294
|
+
excludeQuery?: string;
|
|
295
|
+
userIds: string[];
|
|
296
|
+
excludeDate?: {
|
|
297
|
+
start: Date;
|
|
298
|
+
end: Date;
|
|
299
|
+
} | {
|
|
300
|
+
end: Date;
|
|
301
|
+
} | {
|
|
302
|
+
start: Date;
|
|
303
|
+
} | {
|
|
304
|
+
duration: number;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
export declare type ProxyFetcherFetchOpts_Without_Query = {
|
|
308
|
+
query: string;
|
|
309
|
+
};
|
|
310
|
+
export declare type CarrefourStoresRetailsFetcherFetchOpts_Without_Query = {
|
|
311
|
+
query: string;
|
|
312
|
+
};
|
|
313
|
+
export declare type CarrefourStoresWithDriveSlotsFetcherFetchOpts_Without_Query = {
|
|
314
|
+
query: string;
|
|
315
|
+
};
|
|
316
|
+
export declare type CarrefourStoresWithFuelFetcherFetchOpts_Without_Query = {
|
|
317
|
+
query: string;
|
|
318
|
+
};
|
|
319
|
+
export declare type BestWesternHotelsFetcherFetchOpts_Without_Query_Cp_Geo_Sort = {
|
|
320
|
+
query: string;
|
|
321
|
+
cp?: {
|
|
322
|
+
count: number;
|
|
323
|
+
index?: number;
|
|
324
|
+
group: string;
|
|
325
|
+
pickId: string;
|
|
326
|
+
};
|
|
327
|
+
geo?: {
|
|
328
|
+
radius: number;
|
|
329
|
+
center: (number | number)[];
|
|
330
|
+
};
|
|
331
|
+
sort?: {
|
|
332
|
+
by: string;
|
|
333
|
+
order: "desc" | "asc";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
export declare type FdjBetsFetcherFetchOpts_Without_Query = {
|
|
337
|
+
query: string;
|
|
338
|
+
};
|
|
339
|
+
export declare type SarenzaSizesFetcherFetchOpts_Without_Query_Cp_Sort = {
|
|
340
|
+
query: string;
|
|
341
|
+
cp?: {
|
|
342
|
+
count: number;
|
|
343
|
+
index?: number;
|
|
344
|
+
group: string;
|
|
345
|
+
pickId: string;
|
|
346
|
+
};
|
|
347
|
+
sort?: {
|
|
348
|
+
by: string;
|
|
349
|
+
order: "desc" | "asc";
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
export declare type RecommenderFetcherFetchOpts_Without_Query_Limit = {
|
|
353
|
+
query: string;
|
|
354
|
+
limit?: number;
|
|
355
|
+
};
|
|
356
|
+
export declare type RenaultPricesFetcherFetchOpts_Without_Query_Limit_Geo_Sort = {
|
|
357
|
+
query: string;
|
|
358
|
+
limit?: number;
|
|
359
|
+
geo?: {
|
|
360
|
+
radius: number;
|
|
361
|
+
center: (number | number)[];
|
|
362
|
+
};
|
|
363
|
+
sort?: {
|
|
364
|
+
by: string;
|
|
365
|
+
order: "desc" | "asc";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
227
368
|
export declare type CarrefourStoresWithFuelFetcherQueryOpts = {
|
|
228
369
|
datasourceId: string;
|
|
229
370
|
query: string;
|
|
@@ -308,3 +449,4 @@ export declare type RenaultPricesFetcherQueryOpts = {
|
|
|
308
449
|
center: (number | number)[];
|
|
309
450
|
};
|
|
310
451
|
};
|
|
452
|
+
export declare type DatasourceTypes = DatasourceLocation | DatasourceGeneric | DatasourceProduct | DatasourceAnalytics;
|
package/build/definitions.js
CHANGED
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
|
|
5
|
+
exports.DatasourceAnalyticsSubType = exports.DatasourceProductSubType = exports.DatasourceGenericSubType = exports.DatasourceLocationSubType = void 0;
|
|
6
|
+
var DatasourceLocationSubType;
|
|
7
|
+
(function (DatasourceLocationSubType) {
|
|
8
|
+
DatasourceLocationSubType["USER"] = "user";
|
|
9
|
+
DatasourceLocationSubType["GOOGLE_MY_BUSINESS"] = "google_my_business";
|
|
10
|
+
DatasourceLocationSubType["PARTOO"] = "partoo";
|
|
11
|
+
})(DatasourceLocationSubType = exports.DatasourceLocationSubType || (exports.DatasourceLocationSubType = {}));
|
|
12
|
+
var DatasourceGenericSubType;
|
|
13
|
+
(function (DatasourceGenericSubType) {
|
|
14
|
+
DatasourceGenericSubType["USER"] = "user";
|
|
15
|
+
DatasourceGenericSubType["RECOMMENDER"] = "recommender";
|
|
16
|
+
})(DatasourceGenericSubType = exports.DatasourceGenericSubType || (exports.DatasourceGenericSubType = {}));
|
|
17
|
+
var DatasourceProductSubType;
|
|
18
|
+
(function (DatasourceProductSubType) {
|
|
19
|
+
DatasourceProductSubType["USER"] = "user";
|
|
20
|
+
DatasourceProductSubType["SHOPIFY"] = "shopify";
|
|
21
|
+
DatasourceProductSubType["BEST_PRODUCT"] = "best_product";
|
|
22
|
+
})(DatasourceProductSubType = exports.DatasourceProductSubType || (exports.DatasourceProductSubType = {}));
|
|
23
|
+
var DatasourceAnalyticsSubType;
|
|
24
|
+
(function (DatasourceAnalyticsSubType) {
|
|
25
|
+
DatasourceAnalyticsSubType["REELEVANT"] = "reelevant";
|
|
26
|
+
DatasourceAnalyticsSubType["GOOGLE_TAG_MANAGER"] = "google_tag_manager";
|
|
27
|
+
DatasourceAnalyticsSubType["SHOPIFY"] = "shopify";
|
|
28
|
+
DatasourceAnalyticsSubType["WORKFLOW_EVENTS"] = "workflow_events";
|
|
29
|
+
})(DatasourceAnalyticsSubType = exports.DatasourceAnalyticsSubType || (exports.DatasourceAnalyticsSubType = {}));
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBNE9wQixJQUFZLHlCQUlYO0FBSkQsV0FBWSx5QkFBeUI7SUFDakMsMENBQWEsQ0FBQTtJQUNiLHNFQUF5QyxDQUFBO0lBQ3pDLDhDQUFpQixDQUFBO0FBQ3JCLENBQUMsRUFKVyx5QkFBeUIsR0FBekIsaUNBQXlCLEtBQXpCLGlDQUF5QixRQUlwQztBQU9ELElBQVksd0JBR1g7QUFIRCxXQUFZLHdCQUF3QjtJQUNoQyx5Q0FBYSxDQUFBO0lBQ2IsdURBQTJCLENBQUE7QUFDL0IsQ0FBQyxFQUhXLHdCQUF3QixHQUF4QixnQ0FBd0IsS0FBeEIsZ0NBQXdCLFFBR25DO0FBT0QsSUFBWSx3QkFJWDtBQUpELFdBQVksd0JBQXdCO0lBQ2hDLHlDQUFhLENBQUE7SUFDYiwrQ0FBbUIsQ0FBQTtJQUNuQix5REFBNkIsQ0FBQTtBQUNqQyxDQUFDLEVBSlcsd0JBQXdCLEdBQXhCLGdDQUF3QixLQUF4QixnQ0FBd0IsUUFJbkM7QUFPRCxJQUFZLDBCQUtYO0FBTEQsV0FBWSwwQkFBMEI7SUFDbEMscURBQXVCLENBQUE7SUFDdkIsdUVBQXlDLENBQUE7SUFDekMsaURBQW1CLENBQUE7SUFDbkIsaUVBQW1DLENBQUE7QUFDdkMsQ0FBQyxFQUxXLDBCQUEwQixHQUExQixrQ0FBMEIsS0FBMUIsa0NBQTBCLFFBS3JDIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlvt/datasources-query-openapi-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.104+c26cf2e",
|
|
4
4
|
"description": "Openapi client for reelevant service",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": "https://github.com/reelevant-tech/openapi-clients",
|