Skip to content

Commit 2d4bb1a

Browse files
feat: Use ping instead of bright data for ISP proxy
1 parent d399b0a commit 2d4bb1a

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 65
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ecf484375ede1edd7754779ad8beeebd4ba9118152fe6cd65772dc7245a19dee.yml
3-
openapi_spec_hash: b1f3f05005f75cbf5b82299459e2aa9b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e914e2d08b888c77051acb09176d5e88052f130e0d22e85d946a675d2c3d39ab.yml
3+
openapi_spec_hash: 611d0ed1b4519331470b5d14e5f6784a
44
config_hash: 3ded7a0ed77b1bfd68eabc6763521fe8

src/resources/proxies.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,19 @@ export namespace ProxyCreateResponse {
8888
*/
8989
export interface DatacenterProxyConfig {
9090
/**
91-
* ISO 3166 country code.
91+
* ISO 3166 country code. Defaults to US if not provided.
9292
*/
93-
country: string;
93+
country?: string;
9494
}
9595

9696
/**
9797
* Configuration for an ISP proxy.
9898
*/
9999
export interface IspProxyConfig {
100100
/**
101-
* ISO 3166 country code.
101+
* ISO 3166 country code. Defaults to US if not provided.
102102
*/
103-
country: string;
103+
country?: string;
104104
}
105105

106106
/**
@@ -308,19 +308,19 @@ export namespace ProxyRetrieveResponse {
308308
*/
309309
export interface DatacenterProxyConfig {
310310
/**
311-
* ISO 3166 country code.
311+
* ISO 3166 country code. Defaults to US if not provided.
312312
*/
313-
country: string;
313+
country?: string;
314314
}
315315

316316
/**
317317
* Configuration for an ISP proxy.
318318
*/
319319
export interface IspProxyConfig {
320320
/**
321-
* ISO 3166 country code.
321+
* ISO 3166 country code. Defaults to US if not provided.
322322
*/
323-
country: string;
323+
country?: string;
324324
}
325325

326326
/**
@@ -531,19 +531,19 @@ export namespace ProxyListResponse {
531531
*/
532532
export interface DatacenterProxyConfig {
533533
/**
534-
* ISO 3166 country code.
534+
* ISO 3166 country code. Defaults to US if not provided.
535535
*/
536-
country: string;
536+
country?: string;
537537
}
538538

539539
/**
540540
* Configuration for an ISP proxy.
541541
*/
542542
export interface IspProxyConfig {
543543
/**
544-
* ISO 3166 country code.
544+
* ISO 3166 country code. Defaults to US if not provided.
545545
*/
546-
country: string;
546+
country?: string;
547547
}
548548

549549
/**
@@ -737,19 +737,19 @@ export namespace ProxyCreateParams {
737737
*/
738738
export interface DatacenterProxyConfig {
739739
/**
740-
* ISO 3166 country code.
740+
* ISO 3166 country code. Defaults to US if not provided.
741741
*/
742-
country: string;
742+
country?: string;
743743
}
744744

745745
/**
746746
* Configuration for an ISP proxy.
747747
*/
748748
export interface IspProxyConfig {
749749
/**
750-
* ISO 3166 country code.
750+
* ISO 3166 country code. Defaults to US if not provided.
751751
*/
752-
country: string;
752+
country?: string;
753753
}
754754

755755
/**

0 commit comments

Comments
 (0)