@rlvt/datasources-query-openapi-client 0.0.0-bf9e2a4 → 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 -42
- package/build/definitions.d.ts +196 -136
- 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,59 +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
|
-
ret[key] = obj[key];
|
|
24
|
-
});
|
|
25
|
-
return ret;
|
|
26
|
-
}
|
|
27
9
|
class default_1 {
|
|
28
10
|
constructor(configOrInstance) {
|
|
29
|
-
this.axios = 'interceptors' in configOrInstance
|
|
11
|
+
this.axios = 'interceptors' in configOrInstance
|
|
12
|
+
? configOrInstance
|
|
13
|
+
: axios_1.default.create(configOrInstance);
|
|
30
14
|
}
|
|
31
15
|
fetch(params, data, options) {
|
|
32
|
-
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));
|
|
33
19
|
}
|
|
34
20
|
count(params, data, options) {
|
|
35
|
-
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));
|
|
36
24
|
}
|
|
37
25
|
fetchWorkflowEvents(params, data, options) {
|
|
38
|
-
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));
|
|
39
29
|
}
|
|
40
30
|
fetchScenarioEvents(params, data, options) {
|
|
41
|
-
return this.axios.post("/fetch-scenario-events", data, Object.assign({}, {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return this.axios.get("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), Object.assign({}, { headers: {}, params: {} }, options));
|
|
45
|
-
}
|
|
46
|
-
createIndexes(params, data, options) {
|
|
47
|
-
return this.axios.post("/{datasourceId}/indexes".replace(/{datasourceId}/, String(params["datasourceId"])), data, Object.assign({}, { headers: {}, params: {} }, options));
|
|
48
|
-
}
|
|
49
|
-
legacyQuery(params, options) {
|
|
50
|
-
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));
|
|
51
34
|
}
|
|
52
35
|
query(params, data, options) {
|
|
53
|
-
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));
|
|
54
40
|
}
|
|
55
41
|
queryValues(params, data, options) {
|
|
56
|
-
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));
|
|
57
45
|
}
|
|
58
46
|
get Data() {
|
|
59
47
|
return {
|
|
@@ -65,13 +53,14 @@ class default_1 {
|
|
|
65
53
|
queryValues: this.queryValues.bind(this)
|
|
66
54
|
};
|
|
67
55
|
}
|
|
68
|
-
get WorkerDatasource() {
|
|
69
|
-
return {
|
|
70
|
-
areIndexesReady: this.areIndexesReady.bind(this),
|
|
71
|
-
createIndexes: this.createIndexes.bind(this),
|
|
72
|
-
legacyQuery: this.legacyQuery.bind(this)
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
56
|
}
|
|
76
57
|
exports.default = default_1;
|
|
77
|
-
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7OztBQUVwQixrREFBaUU7QUF3Q2pFO0lBR0ksWUFBWSxnQk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{
|
|
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
|
-
|
|
43
|
+
datasourceId: string;
|
|
44
|
+
query: string | string[];
|
|
45
|
+
excludeQuery?: string;
|
|
46
|
+
userIds: string[];
|
|
47
|
+
date: {
|
|
48
|
+
start: Date;
|
|
49
|
+
end: Date;
|
|
49
50
|
} | {
|
|
50
|
-
|
|
51
|
+
end: Date;
|
|
51
52
|
} | {
|
|
52
|
-
|
|
53
|
+
start: Date;
|
|
53
54
|
} | {
|
|
54
|
-
|
|
55
|
+
duration: number;
|
|
55
56
|
};
|
|
56
|
-
|
|
57
|
+
excludeDate?: {
|
|
58
|
+
start: Date;
|
|
59
|
+
end: Date;
|
|
60
|
+
} | {
|
|
61
|
+
end: Date;
|
|
62
|
+
} | {
|
|
63
|
+
start: Date;
|
|
64
|
+
} | {
|
|
65
|
+
duration: number;
|
|
66
|
+
};
|
|
67
|
+
limit: number;
|
|
57
68
|
};
|
|
58
69
|
export declare type ProxyFetcherFetchOpts = {
|
|
59
|
-
|
|
60
|
-
|
|
70
|
+
datasourceId: string;
|
|
71
|
+
query: string;
|
|
61
72
|
};
|
|
62
73
|
export declare type CarrefourStoresRetailsFetcherFetchOpts = {
|
|
63
|
-
|
|
64
|
-
|
|
74
|
+
datasourceId: string;
|
|
75
|
+
query: string;
|
|
65
76
|
};
|
|
66
77
|
export declare type CarrefourStoresWithDriveSlotsFetcherFetchOpts = {
|
|
67
|
-
|
|
68
|
-
|
|
78
|
+
datasourceId: string;
|
|
79
|
+
query: string;
|
|
69
80
|
};
|
|
70
81
|
export declare type CarrefourStoresWithFuelFetcherFetchOpts = {
|
|
71
|
-
|
|
72
|
-
|
|
82
|
+
datasourceId: string;
|
|
83
|
+
query: string;
|
|
73
84
|
};
|
|
74
85
|
export declare type BestWesternHotelsFetcherFetchOpts = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
86
|
+
datasourceId: string;
|
|
87
|
+
query: string;
|
|
88
|
+
cp?: {
|
|
89
|
+
count: number;
|
|
90
|
+
index?: number;
|
|
91
|
+
group: string;
|
|
92
|
+
pickId: string;
|
|
82
93
|
};
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
94
|
+
geo?: {
|
|
95
|
+
radius: number;
|
|
96
|
+
center: (number | number)[];
|
|
86
97
|
};
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
98
|
+
sort?: {
|
|
99
|
+
by: string;
|
|
100
|
+
order: "desc" | "asc";
|
|
90
101
|
};
|
|
91
102
|
};
|
|
92
103
|
export declare type FdjBetsFetcherFetchOpts = {
|
|
93
|
-
|
|
94
|
-
|
|
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;
|
|
95
125
|
};
|
|
96
126
|
export declare type WorkerFetcherCountOpts = {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
127
|
+
datasourceId: string;
|
|
128
|
+
query: string;
|
|
129
|
+
geo?: {
|
|
130
|
+
radius: number;
|
|
131
|
+
center: (number | number)[];
|
|
102
132
|
};
|
|
103
133
|
};
|
|
104
134
|
export declare type IngesterFetcherCountOpts = {
|
|
105
|
-
|
|
106
|
-
|
|
135
|
+
datasourceId: string;
|
|
136
|
+
query: string;
|
|
107
137
|
};
|
|
108
138
|
export declare type TrackingFetcherCountOpts = {
|
|
109
|
-
|
|
110
|
-
|
|
139
|
+
datasourceId: string;
|
|
140
|
+
query: string;
|
|
111
141
|
};
|
|
112
142
|
export declare type ProxyFetcherCountOpts = {
|
|
113
|
-
|
|
114
|
-
|
|
143
|
+
datasourceId: string;
|
|
144
|
+
query: string;
|
|
115
145
|
};
|
|
116
146
|
export declare type CarrefourStoresRetailsFetcherCountOpts = {
|
|
117
|
-
|
|
118
|
-
|
|
147
|
+
datasourceId: string;
|
|
148
|
+
query: string;
|
|
119
149
|
};
|
|
120
150
|
export declare type CarrefourStoresWithDriveSlotsFetcherCountOpts = {
|
|
121
|
-
|
|
122
|
-
|
|
151
|
+
datasourceId: string;
|
|
152
|
+
query: string;
|
|
123
153
|
};
|
|
124
154
|
export declare type BestWesternHotelsFetcherCountOpts = {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
155
|
+
datasourceId: string;
|
|
156
|
+
query: string;
|
|
157
|
+
cp?: {
|
|
158
|
+
count: number;
|
|
159
|
+
index?: number;
|
|
160
|
+
group: string;
|
|
161
|
+
pickId: string;
|
|
132
162
|
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
163
|
+
geo?: {
|
|
164
|
+
radius: number;
|
|
165
|
+
center: (number | number)[];
|
|
136
166
|
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
167
|
+
sort?: {
|
|
168
|
+
by: string;
|
|
169
|
+
order: "desc" | "asc";
|
|
140
170
|
};
|
|
141
171
|
};
|
|
142
172
|
export declare type FdjBetsFetcherCountOpts = {
|
|
143
|
-
|
|
144
|
-
|
|
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;
|
|
145
194
|
};
|
|
146
195
|
export declare type Pick_IngesterFetcherFetchOpts_query_or_limit_or_sort_or_group_ = {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
196
|
+
query: string;
|
|
197
|
+
limit?: number;
|
|
198
|
+
sort?: {
|
|
199
|
+
by: string;
|
|
200
|
+
order: "desc" | "asc";
|
|
152
201
|
};
|
|
153
|
-
|
|
154
|
-
|
|
202
|
+
group?: {
|
|
203
|
+
by: string;
|
|
155
204
|
};
|
|
156
205
|
};
|
|
157
|
-
export declare type AnyValue = any;
|
|
158
206
|
export declare type CarrefourStoresWithFuelFetcherQueryOpts = {
|
|
159
|
-
|
|
160
|
-
|
|
207
|
+
datasourceId: string;
|
|
208
|
+
query: string;
|
|
161
209
|
};
|
|
162
210
|
export declare type FdjBetsFetcherQueryOpts = {
|
|
163
|
-
|
|
164
|
-
|
|
211
|
+
datasourceId: string;
|
|
212
|
+
query: string;
|
|
165
213
|
};
|
|
166
214
|
export declare type WorkerFetcherQueryOpts = {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
215
|
+
datasourceId: string;
|
|
216
|
+
query: string;
|
|
217
|
+
sort?: {
|
|
218
|
+
by: string;
|
|
219
|
+
order: "desc" | "asc";
|
|
172
220
|
};
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
221
|
+
geo?: {
|
|
222
|
+
radius: number;
|
|
223
|
+
center: (number | number)[];
|
|
176
224
|
};
|
|
177
225
|
};
|
|
178
226
|
export declare type IngesterFetcherQueryOpts = {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
227
|
+
datasourceId: string;
|
|
228
|
+
query: string;
|
|
229
|
+
sort?: {
|
|
230
|
+
by: string;
|
|
231
|
+
order: "desc" | "asc";
|
|
184
232
|
};
|
|
185
233
|
};
|
|
186
234
|
export declare type TrackingFetcherQueryOpts = {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
235
|
+
datasourceId: string;
|
|
236
|
+
query: string;
|
|
237
|
+
sort?: {
|
|
238
|
+
by: string;
|
|
239
|
+
order: "desc" | "asc";
|
|
192
240
|
};
|
|
193
241
|
};
|
|
194
242
|
export declare type ProxyFetcherQueryOpts = {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
243
|
+
sort?: {
|
|
244
|
+
by: string;
|
|
245
|
+
order: "desc" | "asc";
|
|
198
246
|
};
|
|
199
|
-
|
|
200
|
-
|
|
247
|
+
datasourceId: string;
|
|
248
|
+
query: string;
|
|
201
249
|
};
|
|
202
250
|
export declare type CarrefourStoresRetailsFetcherQueryOpts = {
|
|
203
|
-
|
|
204
|
-
|
|
251
|
+
datasourceId: string;
|
|
252
|
+
query: string;
|
|
205
253
|
};
|
|
206
254
|
export declare type CarrefourStoresWithDriveSlotsFetcherQueryOpts = {
|
|
207
|
-
|
|
208
|
-
|
|
255
|
+
datasourceId: string;
|
|
256
|
+
query: string;
|
|
209
257
|
};
|
|
210
258
|
export declare type BestWesternHotelsFetcherQueryOpts = {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
259
|
+
datasourceId: string;
|
|
260
|
+
query: string;
|
|
261
|
+
geo?: {
|
|
262
|
+
radius: number;
|
|
263
|
+
center: (number | number)[];
|
|
216
264
|
};
|
|
217
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