casedev 0.51.0 → 0.53.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/CHANGELOG.md +16 -0
- package/client.d.mts +0 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +0 -3
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +0 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +0 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/vault/vault.d.mts +4 -2
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +4 -2
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs.map +1 -1
- package/src/client.ts +0 -5
- package/src/resources/index.ts +0 -1
- package/src/resources/vault/vault.ts +4 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/applications/applications.d.mts +0 -10
- package/resources/applications/applications.d.mts.map +0 -1
- package/resources/applications/applications.d.ts +0 -10
- package/resources/applications/applications.d.ts.map +0 -1
- package/resources/applications/applications.js +0 -17
- package/resources/applications/applications.js.map +0 -1
- package/resources/applications/applications.mjs +0 -12
- package/resources/applications/applications.mjs.map +0 -1
- package/resources/applications/index.d.mts +0 -3
- package/resources/applications/index.d.mts.map +0 -1
- package/resources/applications/index.d.ts +0 -3
- package/resources/applications/index.d.ts.map +0 -1
- package/resources/applications/index.js +0 -9
- package/resources/applications/index.js.map +0 -1
- package/resources/applications/index.mjs +0 -4
- package/resources/applications/index.mjs.map +0 -1
- package/resources/applications/v1/deployments.d.mts +0 -118
- package/resources/applications/v1/deployments.d.mts.map +0 -1
- package/resources/applications/v1/deployments.d.ts +0 -118
- package/resources/applications/v1/deployments.d.ts.map +0 -1
- package/resources/applications/v1/deployments.js +0 -102
- package/resources/applications/v1/deployments.js.map +0 -1
- package/resources/applications/v1/deployments.mjs +0 -98
- package/resources/applications/v1/deployments.mjs.map +0 -1
- package/resources/applications/v1/index.d.mts +0 -5
- package/resources/applications/v1/index.d.mts.map +0 -1
- package/resources/applications/v1/index.d.ts +0 -5
- package/resources/applications/v1/index.d.ts.map +0 -1
- package/resources/applications/v1/index.js +0 -13
- package/resources/applications/v1/index.js.map +0 -1
- package/resources/applications/v1/index.mjs +0 -6
- package/resources/applications/v1/index.mjs.map +0 -1
- package/resources/applications/v1/projects.d.mts +0 -313
- package/resources/applications/v1/projects.d.mts.map +0 -1
- package/resources/applications/v1/projects.d.ts +0 -313
- package/resources/applications/v1/projects.d.ts.map +0 -1
- package/resources/applications/v1/projects.js +0 -148
- package/resources/applications/v1/projects.js.map +0 -1
- package/resources/applications/v1/projects.mjs +0 -144
- package/resources/applications/v1/projects.mjs.map +0 -1
- package/resources/applications/v1/v1.d.mts +0 -18
- package/resources/applications/v1/v1.d.mts.map +0 -1
- package/resources/applications/v1/v1.d.ts +0 -18
- package/resources/applications/v1/v1.d.ts.map +0 -1
- package/resources/applications/v1/v1.js +0 -25
- package/resources/applications/v1/v1.js.map +0 -1
- package/resources/applications/v1/v1.mjs +0 -20
- package/resources/applications/v1/v1.mjs.map +0 -1
- package/resources/applications/v1/workflows.d.mts +0 -22
- package/resources/applications/v1/workflows.d.mts.map +0 -1
- package/resources/applications/v1/workflows.d.ts +0 -22
- package/resources/applications/v1/workflows.d.ts.map +0 -1
- package/resources/applications/v1/workflows.js +0 -24
- package/resources/applications/v1/workflows.js.map +0 -1
- package/resources/applications/v1/workflows.mjs +0 -20
- package/resources/applications/v1/workflows.mjs.map +0 -1
- package/resources/applications/v1.d.mts +0 -2
- package/resources/applications/v1.d.mts.map +0 -1
- package/resources/applications/v1.d.ts +0 -2
- package/resources/applications/v1.d.ts.map +0 -1
- package/resources/applications/v1.js +0 -6
- package/resources/applications/v1.js.map +0 -1
- package/resources/applications/v1.mjs +0 -3
- package/resources/applications/v1.mjs.map +0 -1
- package/resources/applications.d.mts +0 -2
- package/resources/applications.d.mts.map +0 -1
- package/resources/applications.d.ts +0 -2
- package/resources/applications.d.ts.map +0 -1
- package/resources/applications.js +0 -6
- package/resources/applications.js.map +0 -1
- package/resources/applications.mjs +0 -3
- package/resources/applications.mjs.map +0 -1
- package/src/resources/applications/applications.ts +0 -15
- package/src/resources/applications/index.ts +0 -4
- package/src/resources/applications/v1/deployments.ts +0 -196
- package/src/resources/applications/v1/index.ts +0 -28
- package/src/resources/applications/v1/projects.ts +0 -493
- package/src/resources/applications/v1/v1.ts +0 -71
- package/src/resources/applications/v1/workflows.ts +0 -34
- package/src/resources/applications/v1.ts +0 -3
- package/src/resources/applications.ts +0 -3
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as DeploymentsAPI from "./deployments.js";
|
|
3
|
-
import { DeploymentCancelParams, DeploymentCreateParams, DeploymentGetLogsParams, DeploymentListParams, DeploymentRetrieveParams, DeploymentStreamParams, Deployments } from "./deployments.js";
|
|
4
|
-
import * as ProjectsAPI from "./projects.js";
|
|
5
|
-
import { ProjectCreateDeploymentParams, ProjectCreateDomainParams, ProjectCreateEnvParams, ProjectCreateParams, ProjectDeleteDomainParams, ProjectDeleteEnvParams, ProjectDeleteParams, ProjectGetRuntimeLogsParams, ProjectListDeploymentsParams, ProjectListEnvParams, ProjectListParams, ProjectListResponse, Projects } from "./projects.js";
|
|
6
|
-
import * as WorkflowsAPI from "./workflows.js";
|
|
7
|
-
import { WorkflowGetStatusParams, Workflows } from "./workflows.js";
|
|
8
|
-
export declare class V1 extends APIResource {
|
|
9
|
-
deployments: DeploymentsAPI.Deployments;
|
|
10
|
-
projects: ProjectsAPI.Projects;
|
|
11
|
-
workflows: WorkflowsAPI.Workflows;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace V1 {
|
|
14
|
-
export { Deployments as Deployments, type DeploymentCreateParams as DeploymentCreateParams, type DeploymentRetrieveParams as DeploymentRetrieveParams, type DeploymentListParams as DeploymentListParams, type DeploymentCancelParams as DeploymentCancelParams, type DeploymentGetLogsParams as DeploymentGetLogsParams, type DeploymentStreamParams as DeploymentStreamParams, };
|
|
15
|
-
export { Projects as Projects, type ProjectListResponse as ProjectListResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectListParams as ProjectListParams, type ProjectDeleteParams as ProjectDeleteParams, type ProjectCreateDeploymentParams as ProjectCreateDeploymentParams, type ProjectCreateDomainParams as ProjectCreateDomainParams, type ProjectCreateEnvParams as ProjectCreateEnvParams, type ProjectDeleteDomainParams as ProjectDeleteDomainParams, type ProjectDeleteEnvParams as ProjectDeleteEnvParams, type ProjectGetRuntimeLogsParams as ProjectGetRuntimeLogsParams, type ProjectListDeploymentsParams as ProjectListDeploymentsParams, type ProjectListEnvParams as ProjectListEnvParams, };
|
|
16
|
-
export { Workflows as Workflows, type WorkflowGetStatusParams as WorkflowGetStatusParams };
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=v1.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/applications/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACtB,WAAW,EACZ;OACM,KAAK,WAAW;OAChB,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,4BAA4B,EAC5B,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACT;OACM,KAAK,YAAY;OACjB,EAAE,uBAAuB,EAAE,SAAS,EAAE;AAE7C,qBAAa,EAAG,SAAQ,WAAW;IACjC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CAC5F"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.V1 = void 0;
|
|
5
|
-
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
-
const resource_1 = require("../../../core/resource.js");
|
|
7
|
-
const DeploymentsAPI = tslib_1.__importStar(require("./deployments.js"));
|
|
8
|
-
const deployments_1 = require("./deployments.js");
|
|
9
|
-
const ProjectsAPI = tslib_1.__importStar(require("./projects.js"));
|
|
10
|
-
const projects_1 = require("./projects.js");
|
|
11
|
-
const WorkflowsAPI = tslib_1.__importStar(require("./workflows.js"));
|
|
12
|
-
const workflows_1 = require("./workflows.js");
|
|
13
|
-
class V1 extends resource_1.APIResource {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.deployments = new DeploymentsAPI.Deployments(this._client);
|
|
17
|
-
this.projects = new ProjectsAPI.Projects(this._client);
|
|
18
|
-
this.workflows = new WorkflowsAPI.Workflows(this._client);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.V1 = V1;
|
|
22
|
-
V1.Deployments = deployments_1.Deployments;
|
|
23
|
-
V1.Projects = projects_1.Projects;
|
|
24
|
-
V1.Workflows = workflows_1.Workflows;
|
|
25
|
-
//# sourceMappingURL=v1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/applications/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,yEAAgD;AAChD,kDAQuB;AACvB,mEAA0C;AAC1C,4CAcoB;AACpB,qEAA4C;AAC5C,8CAAiE;AAEjE,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,WAAW,GAAG,yBAAW,CAAC;AAC7B,EAAE,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AACvB,EAAE,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import * as DeploymentsAPI from "./deployments.mjs";
|
|
4
|
-
import { Deployments, } from "./deployments.mjs";
|
|
5
|
-
import * as ProjectsAPI from "./projects.mjs";
|
|
6
|
-
import { Projects, } from "./projects.mjs";
|
|
7
|
-
import * as WorkflowsAPI from "./workflows.mjs";
|
|
8
|
-
import { Workflows } from "./workflows.mjs";
|
|
9
|
-
export class V1 extends APIResource {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.deployments = new DeploymentsAPI.Deployments(this._client);
|
|
13
|
-
this.projects = new ProjectsAPI.Projects(this._client);
|
|
14
|
-
this.workflows = new WorkflowsAPI.Workflows(this._client);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
V1.Deployments = Deployments;
|
|
18
|
-
V1.Projects = Projects;
|
|
19
|
-
V1.Workflows = Workflows;
|
|
20
|
-
//# sourceMappingURL=v1.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/applications/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAOL,WAAW,GACZ;OACM,KAAK,WAAW;OAChB,EAaL,QAAQ,GACT;OACM,KAAK,YAAY;OACjB,EAA2B,SAAS,EAAE;AAE7C,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Web application deployment management
|
|
6
|
-
*/
|
|
7
|
-
export declare class Workflows extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get current deployment workflow status and accumulated events
|
|
10
|
-
*/
|
|
11
|
-
getStatus(id: string, query: WorkflowGetStatusParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
-
}
|
|
13
|
-
export interface WorkflowGetStatusParams {
|
|
14
|
-
/**
|
|
15
|
-
* Project ID (for authorization)
|
|
16
|
-
*/
|
|
17
|
-
projectId: string;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace Workflows {
|
|
20
|
-
export { type WorkflowGetStatusParams as WorkflowGetStatusParams };
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=workflows.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.mts","sourceRoot":"","sources":["../../../src/resources/applications/v1/workflows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOlG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Web application deployment management
|
|
6
|
-
*/
|
|
7
|
-
export declare class Workflows extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get current deployment workflow status and accumulated events
|
|
10
|
-
*/
|
|
11
|
-
getStatus(id: string, query: WorkflowGetStatusParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
-
}
|
|
13
|
-
export interface WorkflowGetStatusParams {
|
|
14
|
-
/**
|
|
15
|
-
* Project ID (for authorization)
|
|
16
|
-
*/
|
|
17
|
-
projectId: string;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace Workflows {
|
|
20
|
-
export { type WorkflowGetStatusParams as WorkflowGetStatusParams };
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/resources/applications/v1/workflows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOlG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Workflows = void 0;
|
|
5
|
-
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
8
|
-
/**
|
|
9
|
-
* Web application deployment management
|
|
10
|
-
*/
|
|
11
|
-
class Workflows extends resource_1.APIResource {
|
|
12
|
-
/**
|
|
13
|
-
* Get current deployment workflow status and accumulated events
|
|
14
|
-
*/
|
|
15
|
-
getStatus(id, query, options) {
|
|
16
|
-
return this._client.get((0, path_1.path) `/applications/v1/workflows/${id}/status`, {
|
|
17
|
-
query,
|
|
18
|
-
...options,
|
|
19
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
exports.Workflows = Workflows;
|
|
24
|
-
//# sourceMappingURL=workflows.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../../src/resources/applications/v1/workflows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,SAAS,CAAC,EAAU,EAAE,KAA8B,EAAE,OAAwB;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,SAAS,EAAE;YACrE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAXD,8BAWC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Web application deployment management
|
|
7
|
-
*/
|
|
8
|
-
export class Workflows extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get current deployment workflow status and accumulated events
|
|
11
|
-
*/
|
|
12
|
-
getStatus(id, query, options) {
|
|
13
|
-
return this._client.get(path `/applications/v1/workflows/${id}/status`, {
|
|
14
|
-
query,
|
|
15
|
-
...options,
|
|
16
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=workflows.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../../src/resources/applications/v1/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,SAAS,CAAC,EAAU,EAAE,KAA8B,EAAE,OAAwB;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,SAAS,EAAE;YACrE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/applications/v1.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/applications/v1.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./v1/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=v1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/applications/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/applications/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applications.d.mts","sourceRoot":"","sources":["../src/resources/applications.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../src/resources/applications.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./applications/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=applications.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applications.js","sourceRoot":"","sources":["../src/resources/applications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applications.mjs","sourceRoot":"","sources":["../src/resources/applications.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as V1API from './v1/v1';
|
|
5
|
-
import { V1 } from './v1/v1';
|
|
6
|
-
|
|
7
|
-
export class Applications extends APIResource {
|
|
8
|
-
v1: V1API.V1 = new V1API.V1(this._client);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
Applications.V1 = V1;
|
|
12
|
-
|
|
13
|
-
export declare namespace Applications {
|
|
14
|
-
export { V1 as V1 };
|
|
15
|
-
}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
-
import { path } from '../../../internal/utils/path';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Web application deployment management
|
|
11
|
-
*/
|
|
12
|
-
export class Deployments extends APIResource {
|
|
13
|
-
/**
|
|
14
|
-
* Creates a deployment for an existing project by fetching repository files from
|
|
15
|
-
* GitHub and uploading them to the hosting provider. Use ref to deploy a branch,
|
|
16
|
-
* tag, or commit other than the project default branch.
|
|
17
|
-
*/
|
|
18
|
-
create(body: DeploymentCreateParams, options?: RequestOptions): APIPromise<void> {
|
|
19
|
-
return this._client.post('/applications/v1/deployments', {
|
|
20
|
-
body,
|
|
21
|
-
...options,
|
|
22
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Returns deployment details for one project in the authenticated organization.
|
|
28
|
-
* Set includeLogs=true to include recent build output in the response.
|
|
29
|
-
*/
|
|
30
|
-
retrieve(id: string, query: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<void> {
|
|
31
|
-
return this._client.get(path`/applications/v1/deployments/${id}`, {
|
|
32
|
-
query,
|
|
33
|
-
...options,
|
|
34
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Lists recent deployments for one project in the authenticated organization. Use
|
|
40
|
-
* the optional filters to narrow results by target or deployment state.
|
|
41
|
-
*/
|
|
42
|
-
list(query: DeploymentListParams, options?: RequestOptions): APIPromise<void> {
|
|
43
|
-
return this._client.get('/applications/v1/deployments', {
|
|
44
|
-
query,
|
|
45
|
-
...options,
|
|
46
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Cancels a running deployment after verifying that the referenced project belongs
|
|
52
|
-
* to the authenticated organization. Use this when a build is stuck,
|
|
53
|
-
* misconfigured, or no longer needed.
|
|
54
|
-
*/
|
|
55
|
-
cancel(id: string, body: DeploymentCancelParams, options?: RequestOptions): APIPromise<void> {
|
|
56
|
-
return this._client.post(path`/applications/v1/deployments/${id}/cancel`, {
|
|
57
|
-
body,
|
|
58
|
-
...options,
|
|
59
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Create a deployment from raw file contents for application deployments
|
|
65
|
-
*/
|
|
66
|
-
createFromFiles(options?: RequestOptions): APIPromise<void> {
|
|
67
|
-
return this._client.post('/applications/v1/deployments/from-files', {
|
|
68
|
-
...options,
|
|
69
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Returns build and runtime log events for a deployment after verifying access to
|
|
75
|
-
* the owning project. Use this when you need detailed output for a failed or
|
|
76
|
-
* in-progress build.
|
|
77
|
-
*/
|
|
78
|
-
getLogs(id: string, query: DeploymentGetLogsParams, options?: RequestOptions): APIPromise<void> {
|
|
79
|
-
return this._client.get(path`/applications/v1/deployments/${id}/logs`, {
|
|
80
|
-
query,
|
|
81
|
-
...options,
|
|
82
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Returns the current status of a deployment without fetching full build logs. Use
|
|
88
|
-
* this endpoint for lightweight polling while a deployment is building or waiting
|
|
89
|
-
* to become ready.
|
|
90
|
-
*/
|
|
91
|
-
getStatus(id: string, options?: RequestOptions): APIPromise<void> {
|
|
92
|
-
return this._client.get(path`/applications/v1/deployments/${id}/status`, {
|
|
93
|
-
...options,
|
|
94
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Stream real-time deployment progress events via Server-Sent Events
|
|
100
|
-
*/
|
|
101
|
-
stream(id: string, query: DeploymentStreamParams, options?: RequestOptions): APIPromise<void> {
|
|
102
|
-
return this._client.get(path`/applications/v1/deployments/${id}/stream`, {
|
|
103
|
-
query,
|
|
104
|
-
...options,
|
|
105
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export interface DeploymentCreateParams {
|
|
111
|
-
/**
|
|
112
|
-
* Project ID to deploy
|
|
113
|
-
*/
|
|
114
|
-
projectId: string;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Git branch, tag, or commit to deploy. Defaults to the project branch.
|
|
118
|
-
*/
|
|
119
|
-
ref?: string;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Deployment target environment
|
|
123
|
-
*/
|
|
124
|
-
target?: 'production' | 'preview';
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export interface DeploymentRetrieveParams {
|
|
128
|
-
/**
|
|
129
|
-
* Project ID used to verify access to the deployment
|
|
130
|
-
*/
|
|
131
|
-
projectId: string;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Whether to include build logs in the response
|
|
135
|
-
*/
|
|
136
|
-
includeLogs?: boolean;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export interface DeploymentListParams {
|
|
140
|
-
/**
|
|
141
|
-
* Project ID to list deployments for
|
|
142
|
-
*/
|
|
143
|
-
projectId: string;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Maximum number of deployments to return
|
|
147
|
-
*/
|
|
148
|
-
limit?: number;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Deployment state to filter by
|
|
152
|
-
*/
|
|
153
|
-
state?: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Deployment target to filter by
|
|
157
|
-
*/
|
|
158
|
-
target?: 'production' | 'staging';
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface DeploymentCancelParams {
|
|
162
|
-
/**
|
|
163
|
-
* Project ID used to verify access to the deployment
|
|
164
|
-
*/
|
|
165
|
-
projectId: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface DeploymentGetLogsParams {
|
|
169
|
-
/**
|
|
170
|
-
* Project ID used to verify access to the deployment
|
|
171
|
-
*/
|
|
172
|
-
projectId: string;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface DeploymentStreamParams {
|
|
176
|
-
/**
|
|
177
|
-
* Project ID (for authorization)
|
|
178
|
-
*/
|
|
179
|
-
projectId: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Resume stream from this index (for reconnection)
|
|
183
|
-
*/
|
|
184
|
-
startIndex?: number;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export declare namespace Deployments {
|
|
188
|
-
export {
|
|
189
|
-
type DeploymentCreateParams as DeploymentCreateParams,
|
|
190
|
-
type DeploymentRetrieveParams as DeploymentRetrieveParams,
|
|
191
|
-
type DeploymentListParams as DeploymentListParams,
|
|
192
|
-
type DeploymentCancelParams as DeploymentCancelParams,
|
|
193
|
-
type DeploymentGetLogsParams as DeploymentGetLogsParams,
|
|
194
|
-
type DeploymentStreamParams as DeploymentStreamParams,
|
|
195
|
-
};
|
|
196
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
Deployments,
|
|
5
|
-
type DeploymentCreateParams,
|
|
6
|
-
type DeploymentRetrieveParams,
|
|
7
|
-
type DeploymentListParams,
|
|
8
|
-
type DeploymentCancelParams,
|
|
9
|
-
type DeploymentGetLogsParams,
|
|
10
|
-
type DeploymentStreamParams,
|
|
11
|
-
} from './deployments';
|
|
12
|
-
export {
|
|
13
|
-
Projects,
|
|
14
|
-
type ProjectListResponse,
|
|
15
|
-
type ProjectCreateParams,
|
|
16
|
-
type ProjectListParams,
|
|
17
|
-
type ProjectDeleteParams,
|
|
18
|
-
type ProjectCreateDeploymentParams,
|
|
19
|
-
type ProjectCreateDomainParams,
|
|
20
|
-
type ProjectCreateEnvParams,
|
|
21
|
-
type ProjectDeleteDomainParams,
|
|
22
|
-
type ProjectDeleteEnvParams,
|
|
23
|
-
type ProjectGetRuntimeLogsParams,
|
|
24
|
-
type ProjectListDeploymentsParams,
|
|
25
|
-
type ProjectListEnvParams,
|
|
26
|
-
} from './projects';
|
|
27
|
-
export { V1 } from './v1';
|
|
28
|
-
export { Workflows, type WorkflowGetStatusParams } from './workflows';
|