Skip to content

Commit 78adb8a

Browse files
feat: Support international ISP proxy countries
Stainless-Generated-From: 3cb3f808b95f723b62071d2e57647368fd68baae
1 parent e0d9d71 commit 78adb8a

7 files changed

Lines changed: 28 additions & 7 deletions

src/kernel/types/proxy.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ class ConfigRegistryManagedProxyCreateConfigIspProxyConfig(BaseModel):
3737
"""Configuration for an ISP proxy."""
3838

3939
country: Optional[str] = None
40-
"""ISO 3166 country code. Defaults to US if not provided."""
40+
"""ISO 3166 country code.
41+
42+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
43+
"""
4144

4245

4346
class ConfigRegistryManagedProxyCreateConfigResidentialProxyConfig(BaseModel):

src/kernel/types/proxy_check_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class ConfigIspProxyConfig(BaseModel):
2828
"""Configuration for an ISP proxy."""
2929

3030
country: Optional[str] = None
31-
"""ISO 3166 country code. Defaults to US if not provided."""
31+
"""ISO 3166 country code.
32+
33+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
34+
"""
3235

3336

3437
class ConfigResidentialProxyConfig(BaseModel):

src/kernel/types/proxy_create_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ class ConfigIspProxyConfig(TypedDict, total=False):
5050
"""Configuration for an ISP proxy."""
5151

5252
country: str
53-
"""ISO 3166 country code. Defaults to US if not provided."""
53+
"""ISO 3166 country code.
54+
55+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
56+
"""
5457

5558

5659
class ConfigResidentialProxyConfig(TypedDict, total=False):

src/kernel/types/proxy_create_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class ConfigIspProxyConfig(BaseModel):
2828
"""Configuration for an ISP proxy."""
2929

3030
country: Optional[str] = None
31-
"""ISO 3166 country code. Defaults to US if not provided."""
31+
"""ISO 3166 country code.
32+
33+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
34+
"""
3235

3336

3437
class ConfigResidentialProxyConfig(BaseModel):

src/kernel/types/proxy_list_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class ConfigIspProxyConfig(BaseModel):
2828
"""Configuration for an ISP proxy."""
2929

3030
country: Optional[str] = None
31-
"""ISO 3166 country code. Defaults to US if not provided."""
31+
"""ISO 3166 country code.
32+
33+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
34+
"""
3235

3336

3437
class ConfigResidentialProxyConfig(BaseModel):

src/kernel/types/proxy_retrieve_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class ConfigIspProxyConfig(BaseModel):
2828
"""Configuration for an ISP proxy."""
2929

3030
country: Optional[str] = None
31-
"""ISO 3166 country code. Defaults to US if not provided."""
31+
"""ISO 3166 country code.
32+
33+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
34+
"""
3235

3336

3437
class ConfigResidentialProxyConfig(BaseModel):

src/kernel/types/proxy_update_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class ConfigIspProxyConfig(BaseModel):
2828
"""Configuration for an ISP proxy."""
2929

3030
country: Optional[str] = None
31-
"""ISO 3166 country code. Defaults to US if not provided."""
31+
"""ISO 3166 country code.
32+
33+
Supported countries are US, GB, FR, DE, and SG. Defaults to US if not provided.
34+
"""
3235

3336

3437
class ConfigResidentialProxyConfig(BaseModel):

0 commit comments

Comments
 (0)