glitch-javascript-sdk 3.5.0 → 3.5.1

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.
@@ -197,6 +197,23 @@ declare class GameShows {
197
197
  * List public game shows that include a title. Useful for game-page festival banners.
198
198
  */
199
199
  static listForTitle<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
200
+ /** List organizer-visible developer claim and completion workflows. */
201
+ static listTitleClaims<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
202
+ /** Invite or remind a developer to claim and complete a festival game. */
203
+ static inviteTitleClaim<T>(show_id: string, title_id: string, data: {
204
+ email: string;
205
+ }, params?: Record<string, any>): AxiosPromise<Response<T>>;
206
+ /** Open a private festival game claim before authentication. */
207
+ static viewTitleClaim<T>(show_id: string, token: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
208
+ /** Bind the invited game to the current user and one administered business. */
209
+ static claimTitle<T>(show_id: string, token: string, data: {
210
+ community_id: string;
211
+ }, params?: Record<string, any>): AxiosPromise<Response<T>>;
212
+ /** Finish required game information and record the optional build choice. */
213
+ static completeTitleClaim<T>(show_id: string, token: string, data: {
214
+ build_choice: 'upload' | 'skip';
215
+ build_completed?: boolean;
216
+ }, params?: Record<string, any>): AxiosPromise<Response<T>>;
200
217
  /** List private sponsor workflow, contact, billing, media, and placements. */
201
218
  static listSponsors<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
202
219
  /** Create a manual sponsor or send a self-service invitation. */
package/dist/esm/index.js CHANGED
@@ -15034,6 +15034,11 @@ var GameShowsRoute = /** @class */ (function () {
15034
15034
  // External registration file preview/import endpoints.
15035
15035
  previewExternalTitles: { url: '/gameshows/{show_id}/external-titles/preview', method: HTTP_METHODS.POST },
15036
15036
  importExternalTitles: { url: '/gameshows/{show_id}/external-titles/import', method: HTTP_METHODS.POST },
15037
+ listTitleClaims: { url: '/gameshows/{show_id}/title-claims', method: HTTP_METHODS.GET },
15038
+ inviteTitleClaim: { url: '/gameshows/{show_id}/titles/{title_id}/claim-invitation', method: HTTP_METHODS.POST },
15039
+ viewTitleClaim: { url: '/gameshows/{show_id}/title-claims/{token}', method: HTTP_METHODS.GET },
15040
+ claimTitle: { url: '/gameshows/{show_id}/title-claims/{token}/claim', method: HTTP_METHODS.POST },
15041
+ completeTitleClaim: { url: '/gameshows/{show_id}/title-claims/{token}/complete', method: HTTP_METHODS.POST },
15037
15042
  viewTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.GET },
15038
15043
  updateTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.PUT },
15039
15044
  deleteTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.DELETE },
@@ -15360,6 +15365,26 @@ var GameShows = /** @class */ (function () {
15360
15365
  GameShows.listForTitle = function (title_id, params) {
15361
15366
  return Requests.processRoute(GameShowsRoute.routes.listForTitle, {}, { title_id: title_id }, params);
15362
15367
  };
15368
+ /** List organizer-visible developer claim and completion workflows. */
15369
+ GameShows.listTitleClaims = function (show_id, params) {
15370
+ return Requests.processRoute(GameShowsRoute.routes.listTitleClaims, {}, { show_id: show_id }, params);
15371
+ };
15372
+ /** Invite or remind a developer to claim and complete a festival game. */
15373
+ GameShows.inviteTitleClaim = function (show_id, title_id, data, params) {
15374
+ return Requests.processRoute(GameShowsRoute.routes.inviteTitleClaim, data, { show_id: show_id, title_id: title_id }, params);
15375
+ };
15376
+ /** Open a private festival game claim before authentication. */
15377
+ GameShows.viewTitleClaim = function (show_id, token, params) {
15378
+ return Requests.processRoute(GameShowsRoute.routes.viewTitleClaim, {}, { show_id: show_id, token: token }, params);
15379
+ };
15380
+ /** Bind the invited game to the current user and one administered business. */
15381
+ GameShows.claimTitle = function (show_id, token, data, params) {
15382
+ return Requests.processRoute(GameShowsRoute.routes.claimTitle, data, { show_id: show_id, token: token }, params);
15383
+ };
15384
+ /** Finish required game information and record the optional build choice. */
15385
+ GameShows.completeTitleClaim = function (show_id, token, data, params) {
15386
+ return Requests.processRoute(GameShowsRoute.routes.completeTitleClaim, data, { show_id: show_id, token: token }, params);
15387
+ };
15363
15388
  /** List private sponsor workflow, contact, billing, media, and placements. */
15364
15389
  GameShows.listSponsors = function (show_id, params) {
15365
15390
  return Requests.processRoute(GameShowsRoute.routes.listSponsors, {}, { show_id: show_id }, params);