Skip to content

Commit 88be24c

Browse files
feat: Hide and deprecate mobile proxy type
1 parent 927c14e commit 88be24c

File tree

2 files changed

+22
-30
lines changed

2 files changed

+22
-30
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: 57
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-936db268b3dcae5d64bd5d590506d8134304ffcbf67389eb9b1555b3febfd4cb.yml
3-
openapi_spec_hash: 145485087adf1b28c052bacb4df68462
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-592ab7a96084f7241d77b4cc1ce2a074795b0dc40d8247e1a0129fe3f89c1ed4.yml
3+
openapi_spec_hash: 3a23b4c9c05946251be45c5c4e7a415d
44
config_hash: 15cd063f8e308686ac71bf9ee9634625

src/resources/proxies.ts

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export namespace ProxyCreateResponse {
8888
*/
8989
export interface DatacenterProxyConfig {
9090
/**
91-
* ISO 3166 country code or EU for the proxy exit node.
91+
* ISO 3166 country code.
9292
*/
9393
country: string;
9494
}
@@ -98,7 +98,7 @@ export namespace ProxyCreateResponse {
9898
*/
9999
export interface IspProxyConfig {
100100
/**
101-
* ISO 3166 country code or EU for the proxy exit node.
101+
* ISO 3166 country code.
102102
*/
103103
country: string;
104104
}
@@ -119,13 +119,12 @@ export namespace ProxyCreateResponse {
119119
city?: string;
120120

121121
/**
122-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
123-
* provided.
122+
* ISO 3166 country code.
124123
*/
125124
country?: string;
126125

127126
/**
128-
* Operating system of the residential device.
127+
* @deprecated Operating system of the residential device.
129128
*/
130129
os?: 'windows' | 'macos' | 'android';
131130

@@ -219,8 +218,7 @@ export namespace ProxyCreateResponse {
219218
city?: string;
220219

221220
/**
222-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
223-
* provided.
221+
* ISO 3166 country code
224222
*/
225223
country?: string;
226224

@@ -310,7 +308,7 @@ export namespace ProxyRetrieveResponse {
310308
*/
311309
export interface DatacenterProxyConfig {
312310
/**
313-
* ISO 3166 country code or EU for the proxy exit node.
311+
* ISO 3166 country code.
314312
*/
315313
country: string;
316314
}
@@ -320,7 +318,7 @@ export namespace ProxyRetrieveResponse {
320318
*/
321319
export interface IspProxyConfig {
322320
/**
323-
* ISO 3166 country code or EU for the proxy exit node.
321+
* ISO 3166 country code.
324322
*/
325323
country: string;
326324
}
@@ -341,13 +339,12 @@ export namespace ProxyRetrieveResponse {
341339
city?: string;
342340

343341
/**
344-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
345-
* provided.
342+
* ISO 3166 country code.
346343
*/
347344
country?: string;
348345

349346
/**
350-
* Operating system of the residential device.
347+
* @deprecated Operating system of the residential device.
351348
*/
352349
os?: 'windows' | 'macos' | 'android';
353350

@@ -441,8 +438,7 @@ export namespace ProxyRetrieveResponse {
441438
city?: string;
442439

443440
/**
444-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
445-
* provided.
441+
* ISO 3166 country code
446442
*/
447443
country?: string;
448444

@@ -535,7 +531,7 @@ export namespace ProxyListResponse {
535531
*/
536532
export interface DatacenterProxyConfig {
537533
/**
538-
* ISO 3166 country code or EU for the proxy exit node.
534+
* ISO 3166 country code.
539535
*/
540536
country: string;
541537
}
@@ -545,7 +541,7 @@ export namespace ProxyListResponse {
545541
*/
546542
export interface IspProxyConfig {
547543
/**
548-
* ISO 3166 country code or EU for the proxy exit node.
544+
* ISO 3166 country code.
549545
*/
550546
country: string;
551547
}
@@ -566,13 +562,12 @@ export namespace ProxyListResponse {
566562
city?: string;
567563

568564
/**
569-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
570-
* provided.
565+
* ISO 3166 country code.
571566
*/
572567
country?: string;
573568

574569
/**
575-
* Operating system of the residential device.
570+
* @deprecated Operating system of the residential device.
576571
*/
577572
os?: 'windows' | 'macos' | 'android';
578573

@@ -666,8 +661,7 @@ export namespace ProxyListResponse {
666661
city?: string;
667662

668663
/**
669-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
670-
* provided.
664+
* ISO 3166 country code
671665
*/
672666
country?: string;
673667

@@ -743,7 +737,7 @@ export namespace ProxyCreateParams {
743737
*/
744738
export interface DatacenterProxyConfig {
745739
/**
746-
* ISO 3166 country code or EU for the proxy exit node.
740+
* ISO 3166 country code.
747741
*/
748742
country: string;
749743
}
@@ -753,7 +747,7 @@ export namespace ProxyCreateParams {
753747
*/
754748
export interface IspProxyConfig {
755749
/**
756-
* ISO 3166 country code or EU for the proxy exit node.
750+
* ISO 3166 country code.
757751
*/
758752
country: string;
759753
}
@@ -774,13 +768,12 @@ export namespace ProxyCreateParams {
774768
city?: string;
775769

776770
/**
777-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
778-
* provided.
771+
* ISO 3166 country code.
779772
*/
780773
country?: string;
781774

782775
/**
783-
* Operating system of the residential device.
776+
* @deprecated Operating system of the residential device.
784777
*/
785778
os?: 'windows' | 'macos' | 'android';
786779

@@ -874,8 +867,7 @@ export namespace ProxyCreateParams {
874867
city?: string;
875868

876869
/**
877-
* ISO 3166 country code or EU for the proxy exit node. Required if `city` is
878-
* provided.
870+
* ISO 3166 country code
879871
*/
880872
country?: string;
881873

0 commit comments

Comments
 (0)