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.
@@ -117,6 +117,54 @@ declare class GameShows {
117
117
  * Delete a specific title from a game show.
118
118
  */
119
119
  static deleteTitle<T>(show_id: string, title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
120
+ /**
121
+ * List public page-builder blocks for a game show.
122
+ */
123
+ static listBlocks<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
124
+ /**
125
+ * Create a page-builder block for a game show. Requires organizer permissions.
126
+ */
127
+ static createBlock<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
128
+ /**
129
+ * Update a page-builder block for a game show. Requires organizer permissions.
130
+ */
131
+ static updateBlock<T>(show_id: string, block_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
132
+ /**
133
+ * Delete a page-builder block from a game show. Requires organizer permissions.
134
+ */
135
+ static deleteBlock<T>(show_id: string, block_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
136
+ /**
137
+ * Reorder page-builder blocks for a game show. Requires organizer permissions.
138
+ */
139
+ static reorderBlocks<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
140
+ /**
141
+ * List livestream and programming schedule items for a game show.
142
+ */
143
+ static listSchedule<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
144
+ /**
145
+ * Create a schedule item for a game show. Requires organizer permissions.
146
+ */
147
+ static createScheduleItem<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
148
+ /**
149
+ * Update a schedule item for a game show. Requires organizer permissions.
150
+ */
151
+ static updateScheduleItem<T>(show_id: string, schedule_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
152
+ /**
153
+ * Delete a schedule item from a game show. Requires organizer permissions.
154
+ */
155
+ static deleteScheduleItem<T>(show_id: string, schedule_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
156
+ /**
157
+ * Get the game show discovery queue.
158
+ */
159
+ static discoveryQueue<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
160
+ /**
161
+ * Track public game show analytics events.
162
+ */
163
+ static trackAnalytics<T>(show_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
164
+ /**
165
+ * Get organizer analytics for a game show.
166
+ */
167
+ static analyticsReport<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
120
168
  /**
121
169
  * Join or update a public notification signup for a game show.
122
170
  */
package/dist/esm/index.js CHANGED
@@ -14909,6 +14909,18 @@ var GameShowsRoute = /** @class */ (function () {
14909
14909
  viewTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.GET },
14910
14910
  updateTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.PUT },
14911
14911
  deleteTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.DELETE },
14912
+ listBlocks: { url: '/gameshows/{show_id}/blocks', method: HTTP_METHODS.GET },
14913
+ createBlock: { url: '/gameshows/{show_id}/blocks', method: HTTP_METHODS.POST },
14914
+ updateBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.PUT },
14915
+ deleteBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.DELETE },
14916
+ reorderBlocks: { url: '/gameshows/{show_id}/blocks/reorder', method: HTTP_METHODS.POST },
14917
+ listSchedule: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.GET },
14918
+ createScheduleItem: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.POST },
14919
+ updateScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.PUT },
14920
+ deleteScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.DELETE },
14921
+ discoveryQueue: { url: '/gameshows/{show_id}/discovery', method: HTTP_METHODS.GET },
14922
+ trackAnalytics: { url: '/gameshows/{show_id}/analytics', method: HTTP_METHODS.POST },
14923
+ analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
14912
14924
  joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
14913
14925
  listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
14914
14926
  };
@@ -15068,6 +15080,78 @@ var GameShows = /** @class */ (function () {
15068
15080
  GameShows.deleteTitle = function (show_id, title_id, params) {
15069
15081
  return Requests.processRoute(GameShowsRoute.routes.deleteTitle, {}, { show_id: show_id, title_id: title_id }, params);
15070
15082
  };
15083
+ /**
15084
+ * List public page-builder blocks for a game show.
15085
+ */
15086
+ GameShows.listBlocks = function (show_id, params) {
15087
+ return Requests.processRoute(GameShowsRoute.routes.listBlocks, {}, { show_id: show_id }, params);
15088
+ };
15089
+ /**
15090
+ * Create a page-builder block for a game show. Requires organizer permissions.
15091
+ */
15092
+ GameShows.createBlock = function (show_id, data, params) {
15093
+ return Requests.processRoute(GameShowsRoute.routes.createBlock, data, { show_id: show_id }, params);
15094
+ };
15095
+ /**
15096
+ * Update a page-builder block for a game show. Requires organizer permissions.
15097
+ */
15098
+ GameShows.updateBlock = function (show_id, block_id, data, params) {
15099
+ return Requests.processRoute(GameShowsRoute.routes.updateBlock, data, { show_id: show_id, block_id: block_id }, params);
15100
+ };
15101
+ /**
15102
+ * Delete a page-builder block from a game show. Requires organizer permissions.
15103
+ */
15104
+ GameShows.deleteBlock = function (show_id, block_id, params) {
15105
+ return Requests.processRoute(GameShowsRoute.routes.deleteBlock, {}, { show_id: show_id, block_id: block_id }, params);
15106
+ };
15107
+ /**
15108
+ * Reorder page-builder blocks for a game show. Requires organizer permissions.
15109
+ */
15110
+ GameShows.reorderBlocks = function (show_id, data, params) {
15111
+ return Requests.processRoute(GameShowsRoute.routes.reorderBlocks, data, { show_id: show_id }, params);
15112
+ };
15113
+ /**
15114
+ * List livestream and programming schedule items for a game show.
15115
+ */
15116
+ GameShows.listSchedule = function (show_id, params) {
15117
+ return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
15118
+ };
15119
+ /**
15120
+ * Create a schedule item for a game show. Requires organizer permissions.
15121
+ */
15122
+ GameShows.createScheduleItem = function (show_id, data, params) {
15123
+ return Requests.processRoute(GameShowsRoute.routes.createScheduleItem, data, { show_id: show_id }, params);
15124
+ };
15125
+ /**
15126
+ * Update a schedule item for a game show. Requires organizer permissions.
15127
+ */
15128
+ GameShows.updateScheduleItem = function (show_id, schedule_id, data, params) {
15129
+ return Requests.processRoute(GameShowsRoute.routes.updateScheduleItem, data, { show_id: show_id, schedule_id: schedule_id }, params);
15130
+ };
15131
+ /**
15132
+ * Delete a schedule item from a game show. Requires organizer permissions.
15133
+ */
15134
+ GameShows.deleteScheduleItem = function (show_id, schedule_id, params) {
15135
+ return Requests.processRoute(GameShowsRoute.routes.deleteScheduleItem, {}, { show_id: show_id, schedule_id: schedule_id }, params);
15136
+ };
15137
+ /**
15138
+ * Get the game show discovery queue.
15139
+ */
15140
+ GameShows.discoveryQueue = function (show_id, params) {
15141
+ return Requests.processRoute(GameShowsRoute.routes.discoveryQueue, {}, { show_id: show_id }, params);
15142
+ };
15143
+ /**
15144
+ * Track public game show analytics events.
15145
+ */
15146
+ GameShows.trackAnalytics = function (show_id, data, params) {
15147
+ return Requests.processRoute(GameShowsRoute.routes.trackAnalytics, data, { show_id: show_id }, params);
15148
+ };
15149
+ /**
15150
+ * Get organizer analytics for a game show.
15151
+ */
15152
+ GameShows.analyticsReport = function (show_id, params) {
15153
+ return Requests.processRoute(GameShowsRoute.routes.analyticsReport, {}, { show_id: show_id }, params);
15154
+ };
15071
15155
  /**
15072
15156
  * Join or update a public notification signup for a game show.
15073
15157
  */