Skip to content

Commit d55e6f5

Browse files
chore(internal): codegen related update
1 parent b4e58af commit d55e6f5

File tree

18 files changed

+81
-0
lines changed

18 files changed

+81
-0
lines changed

src/client.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,16 +886,46 @@ export class Kernel {
886886

887887
static toFile = Uploads.toFile;
888888

889+
/**
890+
* Create and manage app deployments and stream deployment events.
891+
*/
889892
deployments: API.Deployments = new API.Deployments(this);
893+
/**
894+
* List applications and versions.
895+
*/
890896
apps: API.Apps = new API.Apps(this);
897+
/**
898+
* Invoke actions and stream or query invocation status and events.
899+
*/
891900
invocations: API.Invocations = new API.Invocations(this);
901+
/**
902+
* Create and manage browser sessions.
903+
*/
892904
browsers: API.Browsers = new API.Browsers(this);
905+
/**
906+
* Create, list, retrieve, and delete browser profiles.
907+
*/
893908
profiles: API.Profiles = new API.Profiles(this);
894909
auth: API.Auth = new API.Auth(this);
910+
/**
911+
* Create and manage proxy configurations for routing browser traffic.
912+
*/
895913
proxies: API.Proxies = new API.Proxies(this);
914+
/**
915+
* Create, list, retrieve, and delete browser extensions.
916+
*/
896917
extensions: API.Extensions = new API.Extensions(this);
918+
/**
919+
* Create and manage browser pools for acquiring and releasing browsers.
920+
*/
897921
browserPools: API.BrowserPools = new API.BrowserPools(this);
922+
/**
923+
* Create and manage credentials for authentication.
924+
*/
898925
credentials: API.Credentials = new API.Credentials(this);
926+
/**
927+
* Configure external credential providers like 1Password.
928+
*/
899929
credentialProviders: API.CredentialProviders = new API.CredentialProviders(this);
900930
}
901931

src/resources/apps.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import * as Shared from './shared';
55
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from '../core/pagination';
66
import { RequestOptions } from '../internal/request-options';
77

8+
/**
9+
* List applications and versions.
10+
*/
811
export class Apps extends APIResource {
912
/**
1013
* List applications. Optionally filter by app name and/or version label.

src/resources/auth/connections.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { buildHeaders } from '../../internal/headers';
99
import { RequestOptions } from '../../internal/request-options';
1010
import { path } from '../../internal/utils/path';
1111

12+
/**
13+
* Create and manage auth connections for automated credential capture and login.
14+
*/
1215
export class Connections extends APIResource {
1316
/**
1417
* Creates an auth connection for a profile and domain combination. Returns 409

src/resources/browser-pools.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import { buildHeaders } from '../internal/headers';
88
import { RequestOptions } from '../internal/request-options';
99
import { path } from '../internal/utils/path';
1010

11+
/**
12+
* Create and manage browser pools for acquiring and releasing browsers.
13+
*/
1114
export class BrowserPools extends APIResource {
1215
/**
1316
* Create a new browser pool with the specified configuration and size.

src/resources/browsers/browsers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ import { RequestOptions } from '../../internal/request-options';
7474
import { multipartFormRequestOptions } from '../../internal/uploads';
7575
import { path } from '../../internal/utils/path';
7676

77+
/**
78+
* Create and manage browser sessions.
79+
*/
7780
export class Browsers extends APIResource {
7881
replays: ReplaysAPI.Replays = new ReplaysAPI.Replays(this._client);
7982
fs: FsAPI.Fs = new FsAPI.Fs(this._client);

src/resources/browsers/fs/fs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import { RequestOptions } from '../../../internal/request-options';
1717
import { multipartFormRequestOptions } from '../../../internal/uploads';
1818
import { path } from '../../../internal/utils/path';
1919

20+
/**
21+
* Read, write, and manage files on the browser instance.
22+
*/
2023
export class Fs extends APIResource {
2124
watch: WatchAPI.Watch = new WatchAPI.Watch(this._client);
2225

src/resources/browsers/fs/watch.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { buildHeaders } from '../../../internal/headers';
77
import { RequestOptions } from '../../../internal/request-options';
88
import { path } from '../../../internal/utils/path';
99

10+
/**
11+
* Read, write, and manage files on the browser instance.
12+
*/
1013
export class Watch extends APIResource {
1114
/**
1215
* Stream filesystem events for a watch

src/resources/browsers/logs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import { buildHeaders } from '../../internal/headers';
88
import { RequestOptions } from '../../internal/request-options';
99
import { path } from '../../internal/utils/path';
1010

11+
/**
12+
* Stream logs from the browser instance.
13+
*/
1114
export class Logs extends APIResource {
1215
/**
1316
* Stream log files on the browser instance via SSE

src/resources/browsers/playwright.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { APIPromise } from '../../core/api-promise';
55
import { RequestOptions } from '../../internal/request-options';
66
import { path } from '../../internal/utils/path';
77

8+
/**
9+
* Execute Playwright code against the browser instance.
10+
*/
811
export class Playwright extends APIResource {
912
/**
1013
* Execute arbitrary Playwright code in a fresh execution context against the

src/resources/browsers/process.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { buildHeaders } from '../../internal/headers';
77
import { RequestOptions } from '../../internal/request-options';
88
import { path } from '../../internal/utils/path';
99

10+
/**
11+
* Execute and manage processes on the browser instance.
12+
*/
1013
export class Process extends APIResource {
1114
/**
1215
* Execute a command synchronously

0 commit comments

Comments
 (0)