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 +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Titles.d.ts +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/api/Titles.ts +10 -0
- package/src/routes/TitlesRoute.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -4382,6 +4382,13 @@ declare class Titles {
|
|
|
4382
4382
|
* @param title_id The UUID of the title.
|
|
4383
4383
|
*/
|
|
4384
4384
|
static attributionFunnel<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
4385
|
+
/**
|
|
4386
|
+
* Update the status of a specific deployment build.
|
|
4387
|
+
* @param title_id The UUID of the title.
|
|
4388
|
+
* @param build_id The UUID of the build.
|
|
4389
|
+
* @param status The new status ('ready', 'inactive', or 'failed').
|
|
4390
|
+
*/
|
|
4391
|
+
static updateBuildStatus<T>(title_id: string, build_id: string, status: string): AxiosPromise<Response<T>>;
|
|
4385
4392
|
}
|
|
4386
4393
|
|
|
4387
4394
|
declare class Campaigns {
|
package/package.json
CHANGED
package/src/api/Titles.ts
CHANGED
|
@@ -1082,6 +1082,16 @@ class Titles {
|
|
|
1082
1082
|
public static attributionFunnel<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
|
|
1083
1083
|
return Requests.processRoute(TitlesRoute.routes.attributionFunnel, undefined, { title_id }, params);
|
|
1084
1084
|
}
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Update the status of a specific deployment build.
|
|
1088
|
+
* @param title_id The UUID of the title.
|
|
1089
|
+
* @param build_id The UUID of the build.
|
|
1090
|
+
* @param status The new status ('ready', 'inactive', or 'failed').
|
|
1091
|
+
*/
|
|
1092
|
+
public static updateBuildStatus<T>(title_id: string, build_id: string, status: string): AxiosPromise<Response<T>> {
|
|
1093
|
+
return Requests.processRoute(TitlesRoute.routes.updateBuildStatus, { status }, { title_id, build_id });
|
|
1094
|
+
}
|
|
1085
1095
|
}
|
|
1086
1096
|
|
|
1087
1097
|
export default Titles;
|