glitch-javascript-sdk 3.5.1 → 3.5.3

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 CHANGED
@@ -27046,6 +27046,7 @@ var GameShowsRoute = /** @class */ (function () {
27046
27046
  deleteBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.DELETE },
27047
27047
  reorderBlocks: { url: '/gameshows/{show_id}/blocks/reorder', method: HTTP_METHODS.POST },
27048
27048
  listSchedule: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.GET },
27049
+ getScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.GET },
27049
27050
  createScheduleItem: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.POST },
27050
27051
  updateScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.PUT },
27051
27052
  deleteScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.DELETE },
@@ -27053,6 +27054,7 @@ var GameShowsRoute = /** @class */ (function () {
27053
27054
  trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
27054
27055
  analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
27055
27056
  joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
27057
+ confirmWishlist: { url: '/gameshows/wishlist/confirm/{token}', method: HTTP_METHODS.GET },
27056
27058
  listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
27057
27059
  listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
27058
27060
  // Organizer sponsor lifecycle and placement administration.
@@ -27309,6 +27311,10 @@ var GameShows = /** @class */ (function () {
27309
27311
  GameShows.listSchedule = function (show_id, params) {
27310
27312
  return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
27311
27313
  };
27314
+ /** Fetch one public or organizer-visible festival schedule item. */
27315
+ GameShows.getScheduleItem = function (show_id, schedule_id, params) {
27316
+ return Requests.processRoute(GameShowsRoute.routes.getScheduleItem, {}, { show_id: show_id, schedule_id: schedule_id }, params);
27317
+ };
27312
27318
  /**
27313
27319
  * Create a schedule item for a game show. Requires organizer permissions.
27314
27320
  */
@@ -27351,6 +27357,15 @@ var GameShows = /** @class */ (function () {
27351
27357
  GameShows.joinWishlist = function (show_id, data, params) {
27352
27358
  return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
27353
27359
  };
27360
+ /**
27361
+ * Confirm the double-opt-in token from a festival reminder email.
27362
+ * The response contains confirmation state and festival identity only.
27363
+ *
27364
+ * @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
27365
+ */
27366
+ GameShows.confirmWishlist = function (token, params) {
27367
+ return Requests.processRoute(GameShowsRoute.routes.confirmWishlist, {}, { token: token }, params);
27368
+ };
27354
27369
  /**
27355
27370
  * List notification signups for a game show. Requires organizer permissions.
27356
27371
  */