glitch-javascript-sdk 3.5.2 → 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
  */
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 },
@@ -15312,6 +15313,10 @@ var GameShows = /** @class */ (function () {
15312
15313
  GameShows.listSchedule = function (show_id, params) {
15313
15314
  return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
15314
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
+ };
15315
15320
  /**
15316
15321
  * Create a schedule item for a game show. Requires organizer permissions.
15317
15322
  */