recombee-api-client 5.0.1 → 5.0.2
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/lib/api-client.js +1 -1
- package/lib/index.d.ts +1 -3
- package/package.json +1 -1
package/lib/api-client.js
CHANGED
|
@@ -43,7 +43,7 @@ class ApiClient {
|
|
|
43
43
|
method: request.method,
|
|
44
44
|
headers: {'Accept': 'application/json',
|
|
45
45
|
'Content-Type': 'application/json',
|
|
46
|
-
'User-Agent': 'recombee-node-api-client/5.0.
|
|
46
|
+
'User-Agent': 'recombee-node-api-client/5.0.2'},
|
|
47
47
|
timeout: request.timeout,
|
|
48
48
|
agent: this.options.agent
|
|
49
49
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
declare module "recombee-api-client" {
|
|
2
2
|
namespace requests {
|
|
3
3
|
/**
|
|
4
4
|
* Base class for all the requests
|
|
@@ -257,8 +257,6 @@ export module "recombee-api-client" {
|
|
|
257
257
|
): string
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
type Response = Item | PropertyInfo | UpdateMoreItemsResponse | DeleteMoreItemsResponse | Series | SeriesItem | User | DetailView | Purchase | Rating | CartAddition | Bookmark | ViewPortion | RecommendationResponse | SearchResponse | SearchSynonym | ListSearchSynonymsResponse | ListSegmentationsResponse | Segmentation;
|
|
261
|
-
|
|
262
260
|
export type Item = {
|
|
263
261
|
itemId: string;
|
|
264
262
|
values?: { [key: string]: unknown };
|