glitch-javascript-sdk 3.2.22 → 3.2.23

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
@@ -26907,6 +26907,8 @@ var GameShowsRoute = /** @class */ (function () {
26907
26907
  viewTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.GET },
26908
26908
  updateTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.PUT },
26909
26909
  deleteTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.DELETE },
26910
+ joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
26911
+ listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
26910
26912
  };
26911
26913
  return GameShowsRoute;
26912
26914
  }());
@@ -27050,7 +27052,7 @@ var GameShows = /** @class */ (function () {
27050
27052
  * Get details of a specific title in a game show.
27051
27053
  */
27052
27054
  GameShows.getTitle = function (show_id, title_id, params) {
27053
- return Requests.processRoute(GameShowsRoute.routes.getTitle, {}, { show_id: show_id, title_id: title_id }, params);
27055
+ return Requests.processRoute(GameShowsRoute.routes.viewTitle, {}, { show_id: show_id, title_id: title_id }, params);
27054
27056
  };
27055
27057
  /**
27056
27058
  * Update a specific title in a game show.
@@ -27064,6 +27066,18 @@ var GameShows = /** @class */ (function () {
27064
27066
  GameShows.deleteTitle = function (show_id, title_id, params) {
27065
27067
  return Requests.processRoute(GameShowsRoute.routes.deleteTitle, {}, { show_id: show_id, title_id: title_id }, params);
27066
27068
  };
27069
+ /**
27070
+ * Join or update a public notification signup for a game show.
27071
+ */
27072
+ GameShows.joinWishlist = function (show_id, data, params) {
27073
+ return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
27074
+ };
27075
+ /**
27076
+ * List notification signups for a game show. Requires organizer permissions.
27077
+ */
27078
+ GameShows.listWishlist = function (show_id, params) {
27079
+ return Requests.processRoute(GameShowsRoute.routes.listWishlist, {}, { show_id: show_id }, params);
27080
+ };
27067
27081
  return GameShows;
27068
27082
  }());
27069
27083