Skip to content

Commit 171423f

Browse files
feat(api): update via SDK Studio
1 parent 638c748 commit 171423f

6 files changed

Lines changed: 484 additions & 4 deletions

File tree

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 11
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e622f6886b1153050eb4ee9fda37fff8b36b38b52e5d247ea172deb2594bf9d6.yml
3-
openapi_spec_hash: 3fa294f57c68b34e526a52bdd86eb562
4-
config_hash: c6bab7ac8da570a5abbcfb19db119b6b
1+
configured_endpoints: 14
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d2dfee8d576aa73f6075e6da61228571cb2e844b969a06067e34e43eb7898554.yml
3+
openapi_spec_hash: 9981744bf9c27426cdf721f7b27cf093
4+
config_hash: a085d1b39ddf0b26ee798501a9f47e20

api.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Deployments
2+
3+
Types:
4+
5+
- <code><a href="./src/resources/deployments.ts">DeploymentCreateResponse</a></code>
6+
- <code><a href="./src/resources/deployments.ts">DeploymentRetrieveResponse</a></code>
7+
- <code><a href="./src/resources/deployments.ts">DeploymentFollowResponse</a></code>
8+
9+
Methods:
10+
11+
- <code title="post /deployments">client.deployments.<a href="./src/resources/deployments.ts">create</a>({ ...params }) -> DeploymentCreateResponse</code>
12+
- <code title="get /deployments/{id}">client.deployments.<a href="./src/resources/deployments.ts">retrieve</a>(id) -> DeploymentRetrieveResponse</code>
13+
- <code title="get /deployments/{id}/events">client.deployments.<a href="./src/resources/deployments.ts">follow</a>(id) -> DeploymentFollowResponse</code>
14+
115
# Apps
216

317
Types:

src/client.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ import {
2929
BrowserRetrieveResponse,
3030
Browsers,
3131
} from './resources/browsers';
32+
import {
33+
DeploymentCreateParams,
34+
DeploymentCreateResponse,
35+
DeploymentFollowResponse,
36+
DeploymentRetrieveResponse,
37+
Deployments,
38+
} from './resources/deployments';
3239
import { readEnv } from './internal/utils/env';
3340
import { formatRequestDetails, loggerFor } from './internal/utils/log';
3441
import { isEmptyObj } from './internal/utils/values';
@@ -735,14 +742,24 @@ export class Kernel {
735742

736743
static toFile = Uploads.toFile;
737744

745+
deployments: API.Deployments = new API.Deployments(this);
738746
apps: API.Apps = new API.Apps(this);
739747
browsers: API.Browsers = new API.Browsers(this);
740748
}
749+
Kernel.Deployments = Deployments;
741750
Kernel.Apps = Apps;
742751
Kernel.Browsers = Browsers;
743752
export declare namespace Kernel {
744753
export type RequestOptions = Opts.RequestOptions;
745754

755+
export {
756+
Deployments as Deployments,
757+
type DeploymentCreateResponse as DeploymentCreateResponse,
758+
type DeploymentRetrieveResponse as DeploymentRetrieveResponse,
759+
type DeploymentFollowResponse as DeploymentFollowResponse,
760+
type DeploymentCreateParams as DeploymentCreateParams,
761+
};
762+
746763
export { Apps as Apps, type AppListResponse as AppListResponse, type AppListParams as AppListParams };
747764

748765
export {

0 commit comments

Comments
 (0)