glitch-javascript-sdk 3.5.1 → 3.5.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/dist/cjs/index.js +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/GameShows.d.ts +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +10 -0
- package/src/routes/GameShowsRoute.ts +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -27053,6 +27053,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
27053
27053
|
trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
|
|
27054
27054
|
analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
|
|
27055
27055
|
joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
|
|
27056
|
+
confirmWishlist: { url: '/gameshows/wishlist/confirm/{token}', method: HTTP_METHODS.GET },
|
|
27056
27057
|
listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
|
|
27057
27058
|
listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
|
|
27058
27059
|
// Organizer sponsor lifecycle and placement administration.
|
|
@@ -27351,6 +27352,15 @@ var GameShows = /** @class */ (function () {
|
|
|
27351
27352
|
GameShows.joinWishlist = function (show_id, data, params) {
|
|
27352
27353
|
return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
|
|
27353
27354
|
};
|
|
27355
|
+
/**
|
|
27356
|
+
* Confirm the double-opt-in token from a festival reminder email.
|
|
27357
|
+
* The response contains confirmation state and festival identity only.
|
|
27358
|
+
*
|
|
27359
|
+
* @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
|
|
27360
|
+
*/
|
|
27361
|
+
GameShows.confirmWishlist = function (token, params) {
|
|
27362
|
+
return Requests.processRoute(GameShowsRoute.routes.confirmWishlist, {}, { token: token }, params);
|
|
27363
|
+
};
|
|
27354
27364
|
/**
|
|
27355
27365
|
* List notification signups for a game show. Requires organizer permissions.
|
|
27356
27366
|
*/
|