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.
- package/dist/cjs/index.js +25 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/GameShows.d.ts +17 -0
- package/dist/esm/index.js +25 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +17 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +25 -0
- package/src/routes/GameShowsRoute.ts +5 -0
package/dist/cjs/index.js
CHANGED
|
@@ -27032,6 +27032,11 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
27032
27032
|
// External registration file preview/import endpoints.
|
|
27033
27033
|
previewExternalTitles: { url: '/gameshows/{show_id}/external-titles/preview', method: HTTP_METHODS.POST },
|
|
27034
27034
|
importExternalTitles: { url: '/gameshows/{show_id}/external-titles/import', method: HTTP_METHODS.POST },
|
|
27035
|
+
listTitleClaims: { url: '/gameshows/{show_id}/title-claims', method: HTTP_METHODS.GET },
|
|
27036
|
+
inviteTitleClaim: { url: '/gameshows/{show_id}/titles/{title_id}/claim-invitation', method: HTTP_METHODS.POST },
|
|
27037
|
+
viewTitleClaim: { url: '/gameshows/{show_id}/title-claims/{token}', method: HTTP_METHODS.GET },
|
|
27038
|
+
claimTitle: { url: '/gameshows/{show_id}/title-claims/{token}/claim', method: HTTP_METHODS.POST },
|
|
27039
|
+
completeTitleClaim: { url: '/gameshows/{show_id}/title-claims/{token}/complete', method: HTTP_METHODS.POST },
|
|
27035
27040
|
viewTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.GET },
|
|
27036
27041
|
updateTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.PUT },
|
|
27037
27042
|
deleteTitle: { url: '/gameshows/{show_id}/titles/{title_id}', method: HTTP_METHODS.DELETE },
|
|
@@ -27358,6 +27363,26 @@ var GameShows = /** @class */ (function () {
|
|
|
27358
27363
|
GameShows.listForTitle = function (title_id, params) {
|
|
27359
27364
|
return Requests.processRoute(GameShowsRoute.routes.listForTitle, {}, { title_id: title_id }, params);
|
|
27360
27365
|
};
|
|
27366
|
+
/** List organizer-visible developer claim and completion workflows. */
|
|
27367
|
+
GameShows.listTitleClaims = function (show_id, params) {
|
|
27368
|
+
return Requests.processRoute(GameShowsRoute.routes.listTitleClaims, {}, { show_id: show_id }, params);
|
|
27369
|
+
};
|
|
27370
|
+
/** Invite or remind a developer to claim and complete a festival game. */
|
|
27371
|
+
GameShows.inviteTitleClaim = function (show_id, title_id, data, params) {
|
|
27372
|
+
return Requests.processRoute(GameShowsRoute.routes.inviteTitleClaim, data, { show_id: show_id, title_id: title_id }, params);
|
|
27373
|
+
};
|
|
27374
|
+
/** Open a private festival game claim before authentication. */
|
|
27375
|
+
GameShows.viewTitleClaim = function (show_id, token, params) {
|
|
27376
|
+
return Requests.processRoute(GameShowsRoute.routes.viewTitleClaim, {}, { show_id: show_id, token: token }, params);
|
|
27377
|
+
};
|
|
27378
|
+
/** Bind the invited game to the current user and one administered business. */
|
|
27379
|
+
GameShows.claimTitle = function (show_id, token, data, params) {
|
|
27380
|
+
return Requests.processRoute(GameShowsRoute.routes.claimTitle, data, { show_id: show_id, token: token }, params);
|
|
27381
|
+
};
|
|
27382
|
+
/** Finish required game information and record the optional build choice. */
|
|
27383
|
+
GameShows.completeTitleClaim = function (show_id, token, data, params) {
|
|
27384
|
+
return Requests.processRoute(GameShowsRoute.routes.completeTitleClaim, data, { show_id: show_id, token: token }, params);
|
|
27385
|
+
};
|
|
27361
27386
|
/** List private sponsor workflow, contact, billing, media, and placements. */
|
|
27362
27387
|
GameShows.listSponsors = function (show_id, params) {
|
|
27363
27388
|
return Requests.processRoute(GameShowsRoute.routes.listSponsors, {}, { show_id: show_id }, params);
|