glitch-javascript-sdk 2.8.9 → 2.9.0

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
@@ -24952,6 +24952,7 @@ var TitlesRoute = /** @class */ (function () {
24952
24952
  url: '/titles/{title_id}/reports/attribution-funnel',
24953
24953
  method: HTTP_METHODS.GET
24954
24954
  },
24955
+ updateBuildStatus: { url: '/titles/{title_id}/deployments/{build_id}/status', method: HTTP_METHODS.PUT },
24955
24956
  };
24956
24957
  return TitlesRoute;
24957
24958
  }());
@@ -25700,6 +25701,15 @@ var Titles = /** @class */ (function () {
25700
25701
  Titles.attributionFunnel = function (title_id, params) {
25701
25702
  return Requests.processRoute(TitlesRoute.routes.attributionFunnel, undefined, { title_id: title_id }, params);
25702
25703
  };
25704
+ /**
25705
+ * Update the status of a specific deployment build.
25706
+ * @param title_id The UUID of the title.
25707
+ * @param build_id The UUID of the build.
25708
+ * @param status The new status ('ready', 'inactive', or 'failed').
25709
+ */
25710
+ Titles.updateBuildStatus = function (title_id, build_id, status) {
25711
+ return Requests.processRoute(TitlesRoute.routes.updateBuildStatus, { status: status }, { title_id: title_id, build_id: build_id });
25712
+ };
25703
25713
  return Titles;
25704
25714
  }());
25705
25715