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
|
@@ -189,6 +189,13 @@ declare class GameShows {
|
|
|
189
189
|
* Join or update a public notification signup for a game show.
|
|
190
190
|
*/
|
|
191
191
|
static joinWishlist<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
192
|
+
/**
|
|
193
|
+
* Confirm the double-opt-in token from a festival reminder email.
|
|
194
|
+
* The response contains confirmation state and festival identity only.
|
|
195
|
+
*
|
|
196
|
+
* @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
|
|
197
|
+
*/
|
|
198
|
+
static confirmWishlist<T>(token: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
192
199
|
/**
|
|
193
200
|
* List notification signups for a game show. Requires organizer permissions.
|
|
194
201
|
*/
|
package/dist/esm/index.js
CHANGED
|
@@ -15055,6 +15055,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
15055
15055
|
trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
|
|
15056
15056
|
analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
|
|
15057
15057
|
joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
|
|
15058
|
+
confirmWishlist: { url: '/gameshows/wishlist/confirm/{token}', method: HTTP_METHODS.GET },
|
|
15058
15059
|
listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
|
|
15059
15060
|
listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
|
|
15060
15061
|
// Organizer sponsor lifecycle and placement administration.
|
|
@@ -15353,6 +15354,15 @@ var GameShows = /** @class */ (function () {
|
|
|
15353
15354
|
GameShows.joinWishlist = function (show_id, data, params) {
|
|
15354
15355
|
return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
|
|
15355
15356
|
};
|
|
15357
|
+
/**
|
|
15358
|
+
* Confirm the double-opt-in token from a festival reminder email.
|
|
15359
|
+
* The response contains confirmation state and festival identity only.
|
|
15360
|
+
*
|
|
15361
|
+
* @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
|
|
15362
|
+
*/
|
|
15363
|
+
GameShows.confirmWishlist = function (token, params) {
|
|
15364
|
+
return Requests.processRoute(GameShowsRoute.routes.confirmWishlist, {}, { token: token }, params);
|
|
15365
|
+
};
|
|
15356
15366
|
/**
|
|
15357
15367
|
* List notification signups for a game show. Requires organizer permissions.
|
|
15358
15368
|
*/
|