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.
@@ -161,6 +161,8 @@ declare class GameShows {
161
161
  * List livestream and programming schedule items for a game show.
162
162
  */
163
163
  static listSchedule<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
164
+ /** Fetch one public or organizer-visible festival schedule item. */
165
+ static getScheduleItem<T>(show_id: string, schedule_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
164
166
  /**
165
167
  * Create a schedule item for a game show. Requires organizer permissions.
166
168
  */
@@ -189,6 +191,13 @@ declare class GameShows {
189
191
  * Join or update a public notification signup for a game show.
190
192
  */
191
193
  static joinWishlist<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
194
+ /**
195
+ * Confirm the double-opt-in token from a festival reminder email.
196
+ * The response contains confirmation state and festival identity only.
197
+ *
198
+ * @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
199
+ */
200
+ static confirmWishlist<T>(token: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
192
201
  /**
193
202
  * List notification signups for a game show. Requires organizer permissions.
194
203
  */
package/dist/esm/index.js CHANGED
@@ -15048,6 +15048,7 @@ var GameShowsRoute = /** @class */ (function () {
15048
15048
  deleteBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.DELETE },
15049
15049
  reorderBlocks: { url: '/gameshows/{show_id}/blocks/reorder', method: HTTP_METHODS.POST },
15050
15050
  listSchedule: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.GET },
15051
+ getScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.GET },
15051
15052
  createScheduleItem: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.POST },
15052
15053
  updateScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.PUT },
15053
15054
  deleteScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.DELETE },
@@ -15055,6 +15056,7 @@ var GameShowsRoute = /** @class */ (function () {
15055
15056
  trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
15056
15057
  analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
15057
15058
  joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
15059
+ confirmWishlist: { url: '/gameshows/wishlist/confirm/{token}', method: HTTP_METHODS.GET },
15058
15060
  listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
15059
15061
  listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
15060
15062
  // Organizer sponsor lifecycle and placement administration.
@@ -15311,6 +15313,10 @@ var GameShows = /** @class */ (function () {
15311
15313
  GameShows.listSchedule = function (show_id, params) {
15312
15314
  return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
15313
15315
  };
15316
+ /** Fetch one public or organizer-visible festival schedule item. */
15317
+ GameShows.getScheduleItem = function (show_id, schedule_id, params) {
15318
+ return Requests.processRoute(GameShowsRoute.routes.getScheduleItem, {}, { show_id: show_id, schedule_id: schedule_id }, params);
15319
+ };
15314
15320
  /**
15315
15321
  * Create a schedule item for a game show. Requires organizer permissions.
15316
15322
  */
@@ -15353,6 +15359,15 @@ var GameShows = /** @class */ (function () {
15353
15359
  GameShows.joinWishlist = function (show_id, data, params) {
15354
15360
  return Requests.processRoute(GameShowsRoute.routes.joinWishlist, data, { show_id: show_id }, params);
15355
15361
  };
15362
+ /**
15363
+ * Confirm the double-opt-in token from a festival reminder email.
15364
+ * The response contains confirmation state and festival identity only.
15365
+ *
15366
+ * @see https://api.glitch.fun/api/documentation#/GameShows/confirmGameShowWishlist
15367
+ */
15368
+ GameShows.confirmWishlist = function (token, params) {
15369
+ return Requests.processRoute(GameShowsRoute.routes.confirmWishlist, {}, { token: token }, params);
15370
+ };
15356
15371
  /**
15357
15372
  * List notification signups for a game show. Requires organizer permissions.
15358
15373
  */