@rlvt/datasources-query-openapi-client 0.0.0-c6cbc42 → 0.0.0-c8dbfe2
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 +11 -77
- package/build/api.js +31 -43
- package/build/definitions.d.ts +192 -143
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import
|
|
3
|
-
export
|
|
2
|
+
import type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RecommenderFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RecommenderFetcherCountOpts, Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_, CarrefourStoresWithFuelFetcherQueryOpts, FdjBetsFetcherQueryOpts, WorkerFetcherQueryOpts, IngesterFetcherQueryOpts, TrackingFetcherQueryOpts, ProxyFetcherQueryOpts, CarrefourStoresRetailsFetcherQueryOpts, CarrefourStoresWithDriveSlotsFetcherQueryOpts, BestWesternHotelsFetcherQueryOpts, SarenzaSizesFetcherQueryOpts, RecommenderFetcherQueryOpts } from "./definitions";
|
|
3
|
+
export type { WorkerFetcherFetchOpts, IngesterFetcherFetchOpts, TrackingFetcherFetchOpts, ProxyFetcherFetchOpts, CarrefourStoresRetailsFetcherFetchOpts, CarrefourStoresWithDriveSlotsFetcherFetchOpts, CarrefourStoresWithFuelFetcherFetchOpts, BestWesternHotelsFetcherFetchOpts, FdjBetsFetcherFetchOpts, SarenzaSizesFetcherFetchOpts, RecommenderFetcherFetchOpts, CPMeta, WorkerFetcherCountOpts, IngesterFetcherCountOpts, TrackingFetcherCountOpts, ProxyFetcherCountOpts, CarrefourStoresRetailsFetcherCountOpts, CarrefourStoresWithDriveSlotsFetcherCountOpts, BestWesternHotelsFetcherCountOpts, FdjBetsFetcherCountOpts, SarenzaSizesFetcherCountOpts, RecommenderFetcherCountOpts, Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_, CarrefourStoresWithFuelFetcherQueryOpts, FdjBetsFetcherQueryOpts, WorkerFetcherQueryOpts, IngesterFetcherQueryOpts, TrackingFetcherQueryOpts, ProxyFetcherQueryOpts, CarrefourStoresRetailsFetcherQueryOpts, CarrefourStoresWithDriveSlotsFetcherQueryOpts, BestWesternHotelsFetcherQueryOpts, SarenzaSizesFetcherQueryOpts, RecommenderFetcherQueryOpts };
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
@@ -8,15 +8,12 @@ export default class {
|
|
|
8
8
|
private count;
|
|
9
9
|
private fetchWorkflowEvents;
|
|
10
10
|
private fetchScenarioEvents;
|
|
11
|
-
private areIndexesReady;
|
|
12
|
-
private createIndexes;
|
|
13
|
-
private legacyQuery;
|
|
14
11
|
private query;
|
|
15
12
|
private queryValues;
|
|
16
13
|
get Data(): {
|
|
17
14
|
fetch: (params: {
|
|
18
15
|
'x-rlvt-no-cache'?: boolean;
|
|
19
|
-
}, data:
|
|
16
|
+
}, data: WorkerFetcherFetchOpts | IngesterFetcherFetchOpts | TrackingFetcherFetchOpts | ProxyFetcherFetchOpts | CarrefourStoresRetailsFetcherFetchOpts | CarrefourStoresWithDriveSlotsFetcherFetchOpts | CarrefourStoresWithFuelFetcherFetchOpts | BestWesternHotelsFetcherFetchOpts | FdjBetsFetcherFetchOpts | SarenzaSizesFetcherFetchOpts | RecommenderFetcherFetchOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
20
17
|
status: "success";
|
|
21
18
|
program: string;
|
|
22
19
|
version: string;
|
|
@@ -31,12 +28,12 @@ export default class {
|
|
|
31
28
|
rlvt_productKey?: string;
|
|
32
29
|
rlvt_datasourceId?: string;
|
|
33
30
|
}[];
|
|
34
|
-
meta?:
|
|
31
|
+
meta?: CPMeta;
|
|
35
32
|
};
|
|
36
33
|
}>>;
|
|
37
34
|
count: (params: {
|
|
38
35
|
'x-rlvt-no-cache'?: boolean;
|
|
39
|
-
}, data:
|
|
36
|
+
}, data: CarrefourStoresWithFuelFetcherFetchOpts | WorkerFetcherCountOpts | IngesterFetcherCountOpts | TrackingFetcherCountOpts | ProxyFetcherCountOpts | CarrefourStoresRetailsFetcherCountOpts | CarrefourStoresWithDriveSlotsFetcherCountOpts | BestWesternHotelsFetcherCountOpts | FdjBetsFetcherCountOpts | SarenzaSizesFetcherCountOpts | RecommenderFetcherCountOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
40
37
|
status: "success";
|
|
41
38
|
program: string;
|
|
42
39
|
version: string;
|
|
@@ -47,7 +44,7 @@ export default class {
|
|
|
47
44
|
}>>;
|
|
48
45
|
fetchWorkflowEvents: (params: {
|
|
49
46
|
'x-rlvt-no-cache'?: boolean;
|
|
50
|
-
}, data:
|
|
47
|
+
}, data: Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ & {
|
|
51
48
|
companyId: string;
|
|
52
49
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
53
50
|
status: "success";
|
|
@@ -64,12 +61,12 @@ export default class {
|
|
|
64
61
|
rlvt_productKey?: string;
|
|
65
62
|
rlvt_datasourceId?: string;
|
|
66
63
|
}[];
|
|
67
|
-
meta?:
|
|
64
|
+
meta?: CPMeta;
|
|
68
65
|
};
|
|
69
66
|
}>>;
|
|
70
67
|
fetchScenarioEvents: (params: {
|
|
71
68
|
'x-rlvt-no-cache'?: boolean;
|
|
72
|
-
}, data:
|
|
69
|
+
}, data: Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ & {
|
|
73
70
|
companyId: string;
|
|
74
71
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
75
72
|
status: "success";
|
|
@@ -86,14 +83,14 @@ export default class {
|
|
|
86
83
|
rlvt_productKey?: string;
|
|
87
84
|
rlvt_datasourceId?: string;
|
|
88
85
|
}[];
|
|
89
|
-
meta?:
|
|
86
|
+
meta?: CPMeta;
|
|
90
87
|
};
|
|
91
88
|
}>>;
|
|
92
89
|
query: (params: {
|
|
93
90
|
page?: number;
|
|
94
91
|
perPage?: number;
|
|
95
92
|
'x-rlvt-no-cache'?: boolean;
|
|
96
|
-
}, data:
|
|
93
|
+
}, data: CarrefourStoresWithFuelFetcherQueryOpts | FdjBetsFetcherQueryOpts | WorkerFetcherQueryOpts | IngesterFetcherQueryOpts | TrackingFetcherQueryOpts | ProxyFetcherQueryOpts | CarrefourStoresRetailsFetcherQueryOpts | CarrefourStoresWithDriveSlotsFetcherQueryOpts | BestWesternHotelsFetcherQueryOpts | SarenzaSizesFetcherQueryOpts | RecommenderFetcherQueryOpts, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
97
94
|
paginationCount: number;
|
|
98
95
|
paginationPage: number;
|
|
99
96
|
paginationLimit: number;
|
|
@@ -119,6 +116,7 @@ export default class {
|
|
|
119
116
|
}, data: {
|
|
120
117
|
datasourceId: string;
|
|
121
118
|
field: string;
|
|
119
|
+
query?: string;
|
|
122
120
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
123
121
|
status: "success";
|
|
124
122
|
program: string;
|
|
@@ -129,68 +127,4 @@ export default class {
|
|
|
129
127
|
data: string[];
|
|
130
128
|
}>>;
|
|
131
129
|
};
|
|
132
|
-
get WorkerDatasource(): {
|
|
133
|
-
areIndexesReady: (params: {
|
|
134
|
-
datasourceId: string;
|
|
135
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
136
|
-
status: "success";
|
|
137
|
-
program: string;
|
|
138
|
-
version: string;
|
|
139
|
-
datetime: string;
|
|
140
|
-
code?: number;
|
|
141
|
-
message: string;
|
|
142
|
-
data: {
|
|
143
|
-
ready: boolean;
|
|
144
|
-
};
|
|
145
|
-
}>>;
|
|
146
|
-
createIndexes: (params: {
|
|
147
|
-
datasourceId: string;
|
|
148
|
-
}, data: {
|
|
149
|
-
fields: string[];
|
|
150
|
-
sortBy?: string;
|
|
151
|
-
sortOrder?: "desc" | "asc";
|
|
152
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
153
|
-
status: "success";
|
|
154
|
-
program: string;
|
|
155
|
-
version: string;
|
|
156
|
-
datetime: string;
|
|
157
|
-
code?: number;
|
|
158
|
-
message: string;
|
|
159
|
-
data: {
|
|
160
|
-
indexesCreated: number;
|
|
161
|
-
};
|
|
162
|
-
}>>;
|
|
163
|
-
legacyQuery: (params: {
|
|
164
|
-
datasourceId: string;
|
|
165
|
-
Q: string;
|
|
166
|
-
mode: "query" | "count";
|
|
167
|
-
page?: number;
|
|
168
|
-
perPage?: number;
|
|
169
|
-
radius?: number;
|
|
170
|
-
center?: number[];
|
|
171
|
-
sortBy?: string;
|
|
172
|
-
sortOrder?: "desc" | "asc";
|
|
173
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
174
|
-
paginationCount: number;
|
|
175
|
-
paginationPage: number;
|
|
176
|
-
paginationLimit: number;
|
|
177
|
-
status: "success";
|
|
178
|
-
program: string;
|
|
179
|
-
version: string;
|
|
180
|
-
datetime: string;
|
|
181
|
-
code?: number;
|
|
182
|
-
message: string;
|
|
183
|
-
data: any[];
|
|
184
|
-
} | {
|
|
185
|
-
status: "success";
|
|
186
|
-
program: string;
|
|
187
|
-
version: string;
|
|
188
|
-
datetime: string;
|
|
189
|
-
code?: number;
|
|
190
|
-
message: string;
|
|
191
|
-
data: {
|
|
192
|
-
count: number;
|
|
193
|
-
};
|
|
194
|
-
}>>;
|
|
195
|
-
};
|
|
196
130
|
}
|
package/build/api.js
CHANGED
|
@@ -1,60 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
-
}) : (function(o, m, k, k2) {
|
|
8
|
-
if (k2 === undefined) k2 = k;
|
|
9
|
-
o[k2] = m[k];
|
|
10
|
-
}));
|
|
11
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
-
};
|
|
14
4
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
5
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
6
|
};
|
|
17
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
8
|
const axios_1 = __importDefault(require("axios"));
|
|
19
|
-
__exportStar(require("./definitions"), exports);
|
|
20
|
-
function pick(obj, ...keys) {
|
|
21
|
-
const ret = {};
|
|
22
|
-
keys.forEach(key => {
|
|
23
|
-
if (key in obj)
|
|
24
|
-
ret[key] = obj[key];
|
|
25
|
-
});
|
|
26
|
-
return ret;
|
|
27
|
-
}
|
|
28
9
|
class default_1 {
|
|
29
10
|
constructor(configOrInstance) {
|
|
30
|
-
this.axios = 'interceptors' in configOrInstance
|
|
11
|
+
this.axios = 'interceptors' in configOrInstance
|
|
12
|
+
? configOrInstance
|
|
13
|
+
: axios_1.default.create(configOrInstance);
|
|
31
14
|
}
|
|
32
15
|
fetch(params, data, options) {
|
|
33
|
-
return this.axios.post("/fetch", data, Object.assign({}, {
|
|
16
|
+
return this.axios.post("/fetch", data, Object.assign({}, {
|
|
17
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
18
|
+
}, options));
|
|
34
19
|
}
|
|
35
20
|
count(params, data, options) {
|
|
36
|
-
return this.axios.post("/count", data, Object.assign({}, {
|
|
21
|
+
return this.axios.post("/count", data, Object.assign({}, {
|
|
22
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
23
|
+
}, options));
|
|
37
24
|
}
|
|
38
25
|
fetchWorkflowEvents(params, data, options) {
|
|
39
|
-
return this.axios.post("/fetch-workflow-events", data, Object.assign({}, {
|
|
26
|
+
return this.axios.post("/fetch-workflow-events", data, Object.assign({}, {
|
|
27
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
28
|
+
}, options));
|
|
40
29
|
}
|
|
41
30
|
fetchScenarioEvents(params, data, options) {
|
|
42
|
-
return this.axios.post("/fetch-scenario-events", data, Object.assign({}, {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return this.axios.get("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), Object.assign({}, { headers: {}, params: {} }, options));
|
|
46
|
-
}
|
|
47
|
-
createIndexes(params, data, options) {
|
|
48
|
-
return this.axios.post("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), data, Object.assign({}, { headers: {}, params: {} }, options));
|
|
49
|
-
}
|
|
50
|
-
legacyQuery(params, options) {
|
|
51
|
-
return this.axios.get("/{datasourceId}/query".replace(/{datasourceId}/, String(params["datasourceId"])), Object.assign({}, { headers: {}, params: pick(params, "Q", "mode", "page", "perPage", "radius", "center", "sortBy", "sortOrder") }, options));
|
|
31
|
+
return this.axios.post("/fetch-scenario-events", data, Object.assign({}, {
|
|
32
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
33
|
+
}, options));
|
|
52
34
|
}
|
|
53
35
|
query(params, data, options) {
|
|
54
|
-
return this.axios.post("/query", data, Object.assign({}, {
|
|
36
|
+
return this.axios.post("/query", data, Object.assign({}, {
|
|
37
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
38
|
+
params: pick(params, "page", "perPage"),
|
|
39
|
+
}, options));
|
|
55
40
|
}
|
|
56
41
|
queryValues(params, data, options) {
|
|
57
|
-
return this.axios.post("/query-values", data, Object.assign({}, {
|
|
42
|
+
return this.axios.post("/query-values", data, Object.assign({}, {
|
|
43
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
44
|
+
}, options));
|
|
58
45
|
}
|
|
59
46
|
get Data() {
|
|
60
47
|
return {
|
|
@@ -66,13 +53,14 @@ class default_1 {
|
|
|
66
53
|
queryValues: this.queryValues.bind(this)
|
|
67
54
|
};
|
|
68
55
|
}
|
|
69
|
-
get WorkerDatasource() {
|
|
70
|
-
return {
|
|
71
|
-
areIndexesReady: this.areIndexesReady.bind(this),
|
|
72
|
-
createIndexes: this.createIndexes.bind(this),
|
|
73
|
-
legacyQuery: this.legacyQuery.bind(this)
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
56
|
}
|
|
77
57
|
exports.default = default_1;
|
|
78
|
-
|
|
58
|
+
function pick(obj, ...keys) {
|
|
59
|
+
const ret = {};
|
|
60
|
+
keys.forEach(key => {
|
|
61
|
+
if (obj && Object.keys(obj).includes(key))
|
|
62
|
+
ret[key] = obj[key];
|
|
63
|
+
});
|
|
64
|
+
return ret;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7OztBQUVwQixrREFBaUU7QUF3Q2pFO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|
-
|
|
2
|
+
cp: {
|
|
3
|
+
productId: string;
|
|
4
|
+
productsId: string[];
|
|
5
|
+
datasourceId: string;
|
|
6
|
+
cpId: string;
|
|
7
|
+
k: number;
|
|
8
|
+
index: number;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export declare type WorkerFetcherFetchOpts = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
limit?: number;
|
|
13
|
+
cp?: {
|
|
14
|
+
count: number;
|
|
15
|
+
index?: number;
|
|
16
|
+
group: string;
|
|
17
|
+
pickId: string;
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
datasourceId: string;
|
|
20
|
+
query: string;
|
|
21
|
+
sort?: {
|
|
22
|
+
by: string;
|
|
23
|
+
order: "desc" | "asc";
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
geo?: {
|
|
26
|
+
radius: number;
|
|
27
|
+
center: (number | number)[];
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export declare type IngesterFetcherFetchOpts = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
limit?: number;
|
|
32
|
+
group?: {
|
|
33
|
+
by: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
datasourceId: string;
|
|
36
|
+
query: string;
|
|
37
|
+
sort?: {
|
|
38
|
+
by: string;
|
|
39
|
+
order: "desc" | "asc";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
export declare type TrackingFetcherFetchOpts = {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
datasourceId: string;
|
|
44
|
+
query: string | string[];
|
|
45
|
+
excludeQuery?: string;
|
|
46
|
+
userIds: string[];
|
|
47
|
+
date: {
|
|
48
|
+
start: Date;
|
|
49
|
+
end: Date;
|
|
50
50
|
} | {
|
|
51
|
-
|
|
51
|
+
end: Date;
|
|
52
52
|
} | {
|
|
53
|
-
|
|
53
|
+
start: Date;
|
|
54
54
|
} | {
|
|
55
|
-
|
|
55
|
+
duration: number;
|
|
56
56
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
excludeDate?: {
|
|
58
|
+
start: Date;
|
|
59
|
+
end: Date;
|
|
60
60
|
} | {
|
|
61
|
-
|
|
61
|
+
end: Date;
|
|
62
62
|
} | {
|
|
63
|
-
|
|
63
|
+
start: Date;
|
|
64
64
|
} | {
|
|
65
|
-
|
|
65
|
+
duration: number;
|
|
66
66
|
};
|
|
67
|
-
|
|
67
|
+
limit: number;
|
|
68
68
|
};
|
|
69
69
|
export declare type ProxyFetcherFetchOpts = {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
datasourceId: string;
|
|
71
|
+
query: string;
|
|
72
72
|
};
|
|
73
73
|
export declare type CarrefourStoresRetailsFetcherFetchOpts = {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
datasourceId: string;
|
|
75
|
+
query: string;
|
|
76
76
|
};
|
|
77
77
|
export declare type CarrefourStoresWithDriveSlotsFetcherFetchOpts = {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
datasourceId: string;
|
|
79
|
+
query: string;
|
|
80
80
|
};
|
|
81
81
|
export declare type CarrefourStoresWithFuelFetcherFetchOpts = {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
datasourceId: string;
|
|
83
|
+
query: string;
|
|
84
84
|
};
|
|
85
85
|
export declare type BestWesternHotelsFetcherFetchOpts = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
86
|
+
datasourceId: string;
|
|
87
|
+
query: string;
|
|
88
|
+
cp?: {
|
|
89
|
+
count: number;
|
|
90
|
+
index?: number;
|
|
91
|
+
group: string;
|
|
92
|
+
pickId: string;
|
|
93
93
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
geo?: {
|
|
95
|
+
radius: number;
|
|
96
|
+
center: (number | number)[];
|
|
97
97
|
};
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
sort?: {
|
|
99
|
+
by: string;
|
|
100
|
+
order: "desc" | "asc";
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
export declare type FdjBetsFetcherFetchOpts = {
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
datasourceId: string;
|
|
105
|
+
query: string;
|
|
106
|
+
};
|
|
107
|
+
export declare type SarenzaSizesFetcherFetchOpts = {
|
|
108
|
+
datasourceId: string;
|
|
109
|
+
query: string;
|
|
110
|
+
cp?: {
|
|
111
|
+
count: number;
|
|
112
|
+
index?: number;
|
|
113
|
+
group: string;
|
|
114
|
+
pickId: string;
|
|
115
|
+
};
|
|
116
|
+
sort?: {
|
|
117
|
+
by: string;
|
|
118
|
+
order: "desc" | "asc";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export declare type RecommenderFetcherFetchOpts = {
|
|
122
|
+
datasourceId: string;
|
|
123
|
+
query: string;
|
|
124
|
+
limit?: number;
|
|
106
125
|
};
|
|
107
126
|
export declare type WorkerFetcherCountOpts = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
127
|
+
datasourceId: string;
|
|
128
|
+
query: string;
|
|
129
|
+
geo?: {
|
|
130
|
+
radius: number;
|
|
131
|
+
center: (number | number)[];
|
|
113
132
|
};
|
|
114
133
|
};
|
|
115
134
|
export declare type IngesterFetcherCountOpts = {
|
|
116
|
-
|
|
117
|
-
|
|
135
|
+
datasourceId: string;
|
|
136
|
+
query: string;
|
|
118
137
|
};
|
|
119
138
|
export declare type TrackingFetcherCountOpts = {
|
|
120
|
-
|
|
121
|
-
|
|
139
|
+
datasourceId: string;
|
|
140
|
+
query: string;
|
|
122
141
|
};
|
|
123
142
|
export declare type ProxyFetcherCountOpts = {
|
|
124
|
-
|
|
125
|
-
|
|
143
|
+
datasourceId: string;
|
|
144
|
+
query: string;
|
|
126
145
|
};
|
|
127
146
|
export declare type CarrefourStoresRetailsFetcherCountOpts = {
|
|
128
|
-
|
|
129
|
-
|
|
147
|
+
datasourceId: string;
|
|
148
|
+
query: string;
|
|
130
149
|
};
|
|
131
150
|
export declare type CarrefourStoresWithDriveSlotsFetcherCountOpts = {
|
|
132
|
-
|
|
133
|
-
|
|
151
|
+
datasourceId: string;
|
|
152
|
+
query: string;
|
|
134
153
|
};
|
|
135
154
|
export declare type BestWesternHotelsFetcherCountOpts = {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
datasourceId: string;
|
|
156
|
+
query: string;
|
|
157
|
+
cp?: {
|
|
158
|
+
count: number;
|
|
159
|
+
index?: number;
|
|
160
|
+
group: string;
|
|
161
|
+
pickId: string;
|
|
143
162
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
163
|
+
geo?: {
|
|
164
|
+
radius: number;
|
|
165
|
+
center: (number | number)[];
|
|
147
166
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
167
|
+
sort?: {
|
|
168
|
+
by: string;
|
|
169
|
+
order: "desc" | "asc";
|
|
151
170
|
};
|
|
152
171
|
};
|
|
153
172
|
export declare type FdjBetsFetcherCountOpts = {
|
|
154
|
-
|
|
155
|
-
|
|
173
|
+
datasourceId: string;
|
|
174
|
+
query: string;
|
|
175
|
+
};
|
|
176
|
+
export declare type SarenzaSizesFetcherCountOpts = {
|
|
177
|
+
datasourceId: string;
|
|
178
|
+
query: string;
|
|
179
|
+
cp?: {
|
|
180
|
+
count: number;
|
|
181
|
+
index?: number;
|
|
182
|
+
group: string;
|
|
183
|
+
pickId: string;
|
|
184
|
+
};
|
|
185
|
+
sort?: {
|
|
186
|
+
by: string;
|
|
187
|
+
order: "desc" | "asc";
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
export declare type RecommenderFetcherCountOpts = {
|
|
191
|
+
datasourceId: string;
|
|
192
|
+
query: string;
|
|
193
|
+
limit?: number;
|
|
156
194
|
};
|
|
157
195
|
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ = {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
196
|
+
query: string;
|
|
197
|
+
limit?: number;
|
|
198
|
+
sort?: {
|
|
199
|
+
by: string;
|
|
200
|
+
order: "desc" | "asc";
|
|
163
201
|
};
|
|
164
|
-
|
|
165
|
-
|
|
202
|
+
group?: {
|
|
203
|
+
by: string;
|
|
166
204
|
};
|
|
167
205
|
};
|
|
168
|
-
export declare type AnyValue = any;
|
|
169
206
|
export declare type CarrefourStoresWithFuelFetcherQueryOpts = {
|
|
170
|
-
|
|
171
|
-
|
|
207
|
+
datasourceId: string;
|
|
208
|
+
query: string;
|
|
172
209
|
};
|
|
173
210
|
export declare type FdjBetsFetcherQueryOpts = {
|
|
174
|
-
|
|
175
|
-
|
|
211
|
+
datasourceId: string;
|
|
212
|
+
query: string;
|
|
176
213
|
};
|
|
177
214
|
export declare type WorkerFetcherQueryOpts = {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
215
|
+
datasourceId: string;
|
|
216
|
+
query: string;
|
|
217
|
+
sort?: {
|
|
218
|
+
by: string;
|
|
219
|
+
order: "desc" | "asc";
|
|
183
220
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
221
|
+
geo?: {
|
|
222
|
+
radius: number;
|
|
223
|
+
center: (number | number)[];
|
|
187
224
|
};
|
|
188
225
|
};
|
|
189
226
|
export declare type IngesterFetcherQueryOpts = {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
227
|
+
datasourceId: string;
|
|
228
|
+
query: string;
|
|
229
|
+
sort?: {
|
|
230
|
+
by: string;
|
|
231
|
+
order: "desc" | "asc";
|
|
195
232
|
};
|
|
196
233
|
};
|
|
197
234
|
export declare type TrackingFetcherQueryOpts = {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
235
|
+
datasourceId: string;
|
|
236
|
+
query: string;
|
|
237
|
+
sort?: {
|
|
238
|
+
by: string;
|
|
239
|
+
order: "desc" | "asc";
|
|
203
240
|
};
|
|
204
241
|
};
|
|
205
242
|
export declare type ProxyFetcherQueryOpts = {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
243
|
+
sort?: {
|
|
244
|
+
by: string;
|
|
245
|
+
order: "desc" | "asc";
|
|
209
246
|
};
|
|
210
|
-
|
|
211
|
-
|
|
247
|
+
datasourceId: string;
|
|
248
|
+
query: string;
|
|
212
249
|
};
|
|
213
250
|
export declare type CarrefourStoresRetailsFetcherQueryOpts = {
|
|
214
|
-
|
|
215
|
-
|
|
251
|
+
datasourceId: string;
|
|
252
|
+
query: string;
|
|
216
253
|
};
|
|
217
254
|
export declare type CarrefourStoresWithDriveSlotsFetcherQueryOpts = {
|
|
218
|
-
|
|
219
|
-
|
|
255
|
+
datasourceId: string;
|
|
256
|
+
query: string;
|
|
220
257
|
};
|
|
221
258
|
export declare type BestWesternHotelsFetcherQueryOpts = {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
259
|
+
datasourceId: string;
|
|
260
|
+
query: string;
|
|
261
|
+
geo?: {
|
|
262
|
+
radius: number;
|
|
263
|
+
center: (number | number)[];
|
|
227
264
|
};
|
|
228
265
|
};
|
|
266
|
+
export declare type SarenzaSizesFetcherQueryOpts = {
|
|
267
|
+
datasourceId: string;
|
|
268
|
+
query: string;
|
|
269
|
+
sort?: {
|
|
270
|
+
by: string;
|
|
271
|
+
order: "desc" | "asc";
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
export declare type RecommenderFetcherQueryOpts = {
|
|
275
|
+
datasourceId: string;
|
|
276
|
+
query: string;
|
|
277
|
+
};
|
package/package.json
CHANGED