glitch-javascript-sdk 3.2.23 → 3.2.24

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,18 @@ 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
+ listBlocks: { url: '/gameshows/{show_id}/blocks', method: HTTP_METHODS.GET },
26911
+ createBlock: { url: '/gameshows/{show_id}/blocks', method: HTTP_METHODS.POST },
26912
+ updateBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.PUT },
26913
+ deleteBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.DELETE },
26914
+ reorderBlocks: { url: '/gameshows/{show_id}/blocks/reorder', method: HTTP_METHODS.POST },
26915
+ listSchedule: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.GET },
26916
+ createScheduleItem: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.POST },
26917
+ updateScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.PUT },
26918
+ deleteScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.DELETE },
26919
+ discoveryQueue: { url: '/gameshows/{show_id}/discovery', method: HTTP_METHODS.GET },
26920
+ trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
26921
+ analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
26910
26922
  joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
26911
26923
  listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
26912
26924
  };
@@ -27066,6 +27078,78 @@ var GameShows = /** @class */ (function () {
27066
27078
  GameShows.deleteTitle = function (show_id, title_id, params) {
27067
27079
  return Requests.processRoute(GameShowsRoute.routes.deleteTitle, {}, { show_id: show_id, title_id: title_id }, params);
27068
27080
  };
27081
+ /**
27082
+ * List public page-builder blocks for a game show.
27083
+ */
27084
+ GameShows.listBlocks = function (show_id, params) {
27085
+ return Requests.processRoute(GameShowsRoute.routes.listBlocks, {}, { show_id: show_id }, params);
27086
+ };
27087
+ /**
27088
+ * Create a page-builder block for a game show. Requires organizer permissions.
27089
+ */
27090
+ GameShows.createBlock = function (show_id, data, params) {
27091
+ return Requests.processRoute(GameShowsRoute.routes.createBlock, data, { show_id: show_id }, params);
27092
+ };
27093
+ /**
27094
+ * Update a page-builder block for a game show. Requires organizer permissions.
27095
+ */
27096
+ GameShows.updateBlock = function (show_id, block_id, data, params) {
27097
+ return Requests.processRoute(GameShowsRoute.routes.updateBlock, data, { show_id: show_id, block_id: block_id }, params);
27098
+ };
27099
+ /**
27100
+ * Delete a page-builder block from a game show. Requires organizer permissions.
27101
+ */
27102
+ GameShows.deleteBlock = function (show_id, block_id, params) {
27103
+ return Requests.processRoute(GameShowsRoute.routes.deleteBlock, {}, { show_id: show_id, block_id: block_id }, params);
27104
+ };
27105
+ /**
27106
+ * Reorder page-builder blocks for a game show. Requires organizer permissions.
27107
+ */
27108
+ GameShows.reorderBlocks = function (show_id, data, params) {
27109
+ return Requests.processRoute(GameShowsRoute.routes.reorderBlocks, data, { show_id: show_id }, params);
27110
+ };
27111
+ /**
27112
+ * List livestream and programming schedule items for a game show.
27113
+ */
27114
+ GameShows.listSchedule = function (show_id, params) {
27115
+ return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
27116
+ };
27117
+ /**
27118
+ * Create a schedule item for a game show. Requires organizer permissions.
27119
+ */
27120
+ GameShows.createScheduleItem = function (show_id, data, params) {
27121
+ return Requests.processRoute(GameShowsRoute.routes.createScheduleItem, data, { show_id: show_id }, params);
27122
+ };
27123
+ /**
27124
+ * Update a schedule item for a game show. Requires organizer permissions.
27125
+ */
27126
+ GameShows.updateScheduleItem = function (show_id, schedule_id, data, params) {
27127
+ return Requests.processRoute(GameShowsRoute.routes.updateScheduleItem, data, { show_id: show_id, schedule_id: schedule_id }, params);
27128
+ };
27129
+ /**
27130
+ * Delete a schedule item from a game show. Requires organizer permissions.
27131
+ */
27132
+ GameShows.deleteScheduleItem = function (show_id, schedule_id, params) {
27133
+ return Requests.processRoute(GameShowsRoute.routes.deleteScheduleItem, {}, { show_id: show_id, schedule_id: schedule_id }, params);
27134
+ };
27135
+ /**
27136
+ * Get the game show discovery queue.
27137
+ */
27138
+ GameShows.discoveryQueue = function (show_id, params) {
27139
+ return Requests.processRoute(GameShowsRoute.routes.discoveryQueue, {}, { show_id: show_id }, params);
27140
+ };
27141
+ /**
27142
+ * Track public game show analytics events.
27143
+ */
27144
+ GameShows.trackAnalytics = function (show_id, data, params) {
27145
+ return Requests.processRoute(GameShowsRoute.routes.trackAnalytics, data, { show_id: show_id }, params);
27146
+ };
27147
+ /**
27148
+ * Get organizer analytics for a game show.
27149
+ */
27150
+ GameShows.analyticsReport = function (show_id, params) {
27151
+ return Requests.processRoute(GameShowsRoute.routes.analyticsReport, {}, { show_id: show_id }, params);
27152
+ };
27069
27153
  /**
27070
27154
  * Join or update a public notification signup for a game show.
27071
27155
  */