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 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.1'},
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
- export module "recombee-api-client" {
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "recombee-api-client",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Node.js client (SDK) for easy use of the Recombee recommendation API",
5
5
  "main": "index.js",
6
6
  "types": "lib/index.d.ts",