glitch-javascript-sdk 2.8.7 → 2.8.8
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/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Titles.d.ts +10 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
- package/src/api/Titles.ts +23 -7
- package/src/routes/TitlesRoute.ts +9 -0
package/dist/cjs/index.js
CHANGED
|
@@ -24944,6 +24944,14 @@ var TitlesRoute = /** @class */ (function () {
|
|
|
24944
24944
|
url: '/users/me/wishlists',
|
|
24945
24945
|
method: HTTP_METHODS.GET
|
|
24946
24946
|
},
|
|
24947
|
+
wishlistMe: {
|
|
24948
|
+
url: '/titles/{title_id}/wishlist/me',
|
|
24949
|
+
method: HTTP_METHODS.GET
|
|
24950
|
+
},
|
|
24951
|
+
attributionFunnel: {
|
|
24952
|
+
url: '/titles/{title_id}/reports/attribution-funnel',
|
|
24953
|
+
method: HTTP_METHODS.GET
|
|
24954
|
+
},
|
|
24947
24955
|
};
|
|
24948
24956
|
return TitlesRoute;
|
|
24949
24957
|
}());
|
|
@@ -25678,6 +25686,20 @@ var Titles = /** @class */ (function () {
|
|
|
25678
25686
|
Titles.wishlistStats = function (title_id) {
|
|
25679
25687
|
return Requests.processRoute(TitlesRoute.routes.wishlistStats, undefined, { title_id: title_id });
|
|
25680
25688
|
};
|
|
25689
|
+
/**
|
|
25690
|
+
* Get the current user's specific wishlist for a title.
|
|
25691
|
+
* @param title_id The UUID of the title.
|
|
25692
|
+
*/
|
|
25693
|
+
Titles.wishlistMe = function (title_id) {
|
|
25694
|
+
return Requests.processRoute(TitlesRoute.routes.wishlistMe, undefined, { title_id: title_id });
|
|
25695
|
+
};
|
|
25696
|
+
/**
|
|
25697
|
+
* Get the consolidated attribution funnel report.
|
|
25698
|
+
* @param title_id The UUID of the title.
|
|
25699
|
+
*/
|
|
25700
|
+
Titles.attributionFunnel = function (title_id, params) {
|
|
25701
|
+
return Requests.processRoute(TitlesRoute.routes.attributionFunnel, undefined, { title_id: title_id }, params);
|
|
25702
|
+
};
|
|
25681
25703
|
return Titles;
|
|
25682
25704
|
}());
|
|
25683
25705
|
|