@@ -172,9 +172,7 @@ export interface SessionCreateParams {
172
172
* Proxy configuration. Can be true for default proxy, or an array of proxy
173
173
* configurations.
174
174
*/
175
- proxies ?:
176
- | boolean
177
- | Array < SessionCreateParams . BrowserbaseProxyConfig | SessionCreateParams . ExternalProxyConfig > ;
175
+ proxies ?: unknown | boolean ;
178
176
179
177
/**
180
178
* Duration in seconds after which the session will automatically end. Defaults to
@@ -279,75 +277,6 @@ export namespace SessionCreateParams {
279
277
width ?: number ;
280
278
}
281
279
}
282
-
283
- export interface BrowserbaseProxyConfig {
284
- /**
285
- * Type of proxy. Always use 'browserbase' for the Browserbase managed proxy
286
- * network.
287
- */
288
- type : 'browserbase' ;
289
-
290
- /**
291
- * Domain pattern for which this proxy should be used. If omitted, defaults to all
292
- * domains. Optional.
293
- */
294
- domainPattern ?: string ;
295
-
296
- /**
297
- * Configuration for geolocation
298
- */
299
- geolocation ?: BrowserbaseProxyConfig . Geolocation ;
300
- }
301
-
302
- export namespace BrowserbaseProxyConfig {
303
- /**
304
- * Configuration for geolocation
305
- */
306
- export interface Geolocation {
307
- /**
308
- * Country code in ISO 3166-1 alpha-2 format
309
- */
310
- country : string ;
311
-
312
- /**
313
- * Name of the city. Use spaces for multi-word city names. Optional.
314
- */
315
- city ?: string ;
316
-
317
- /**
318
- * US state code (2 characters). Must also specify US as the country. Optional.
319
- */
320
- state ?: string ;
321
- }
322
- }
323
-
324
- export interface ExternalProxyConfig {
325
- /**
326
- * Server URL for external proxy. Required.
327
- */
328
- server : string ;
329
-
330
- /**
331
- * Type of proxy. Always 'external' for this config.
332
- */
333
- type : 'external' ;
334
-
335
- /**
336
- * Domain pattern for which this proxy should be used. If omitted, defaults to all
337
- * domains. Optional.
338
- */
339
- domainPattern ?: string ;
340
-
341
- /**
342
- * Password for external proxy authentication. Optional.
343
- */
344
- password ?: string ;
345
-
346
- /**
347
- * Username for external proxy authentication. Optional.
348
- */
349
- username ?: string ;
350
- }
351
280
}
352
281
353
282
export interface SessionUpdateParams {
0 commit comments