Skip to content

Commit cf6309b

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#4)
1 parent 8a06f81 commit cf6309b

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-825ce446567db7e2dcda332131368fcaf1986bae2eff640205b4e1f7b582aaa4.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-208ded3468d1fbad85834462bced46e59d6cff963b347f9ba69c0b4fabe483c0.yml

src/resources/sessions/sessions.ts

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,47 +62,61 @@ export class Sessions extends APIResource {
6262
export interface Session {
6363
id: string;
6464

65-
createdAt: string;
65+
created_at: string;
6666

67-
expiresAt: string;
67+
expires_at: string;
6868

6969
/**
7070
* Indicates if the Session was created to be kept alive upon disconnections
7171
*/
72-
keepAlive: boolean;
72+
keep_alive: boolean;
7373

7474
/**
7575
* The Project ID linked to the Session.
7676
*/
77-
projectId: string;
77+
project_id: string;
7878

79-
/**
80-
* Bytes used via the [Proxy](/features/stealth-mode#proxies-and-residential-ips)
81-
*/
82-
proxyBytes: number;
79+
region: string;
8380

84-
startedAt: string;
81+
started_at: string;
8582

8683
status: 'RUNNING' | 'ERROR' | 'TIMED_OUT' | 'COMPLETED';
8784

88-
updatedAt: string;
85+
updated_at: string;
8986

9087
/**
9188
* CPU used by the Session
9289
*/
93-
avgCpuUsage?: number;
90+
avg_cpu_usage?: number;
91+
92+
connectUrl?: string;
9493

9594
/**
9695
* Optional. The Context linked to the Session.
9796
*/
98-
contextId?: string;
97+
context_id?: string;
98+
99+
ended_at?: string;
99100

100-
endedAt?: string;
101+
is_idle?: boolean;
101102

102103
/**
103104
* Memory used by the Session
104105
*/
105-
memoryUsage?: number;
106+
memory_usage?: number;
107+
108+
/**
109+
* Bytes used via the [Proxy](/features/stealth-mode#proxies-and-residential-ips)
110+
*/
111+
proxy_bytes?: number;
112+
113+
seleniumRemoteUrl?: string;
114+
115+
signingKey?: string;
116+
117+
viewport_height?: number;
118+
119+
viewport_width?: number;
106120
}
107121

108122
export interface SessionLiveURLs {

0 commit comments

Comments
 (0)