diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.ts index 3d175577..8b02f77a 100644 --- a/skyvern-frontend/src/api/types.ts +++ b/skyvern-frontend/src/api/types.ts @@ -38,6 +38,9 @@ export const ProxyLocation = { ResidentialGB: "RESIDENTIAL_GB", ResidentialFR: "RESIDENTIAL_FR", ResidentialDE: "RESIDENTIAL_DE", + ResidentialNZ: "RESIDENTIAL_NZ", + ResidentialZA: "RESIDENTIAL_ZA", + ResidentialAR: "RESIDENTIAL_AR", ResidentialISP: "RESIDENTIAL_ISP", None: "NONE", } as const; diff --git a/skyvern-frontend/src/components/ProxySelector.tsx b/skyvern-frontend/src/components/ProxySelector.tsx index 835a8d13..8d5d2982 100644 --- a/skyvern-frontend/src/components/ProxySelector.tsx +++ b/skyvern-frontend/src/components/ProxySelector.tsx @@ -45,6 +45,15 @@ function ProxySelector({ value, onChange, className }: Props) { Residential (Germany) + + Residential (New Zealand) + + + Residential (South Africa) + + + Residential (Argentina) + ); diff --git a/skyvern/forge/sdk/schemas/tasks.py b/skyvern/forge/sdk/schemas/tasks.py index 9a78c078..aa1e4d13 100644 --- a/skyvern/forge/sdk/schemas/tasks.py +++ b/skyvern/forge/sdk/schemas/tasks.py @@ -27,6 +27,9 @@ class ProxyLocation(StrEnum): RESIDENTIAL_JP = "RESIDENTIAL_JP" RESIDENTIAL_FR = "RESIDENTIAL_FR" RESIDENTIAL_DE = "RESIDENTIAL_DE" + RESIDENTIAL_NZ = "RESIDENTIAL_NZ" + RESIDENTIAL_ZA = "RESIDENTIAL_ZA" + RESIDENTIAL_AR = "RESIDENTIAL_AR" RESIDENTIAL_ISP = "RESIDENTIAL_ISP" NONE = "NONE" @@ -74,6 +77,15 @@ def get_tzinfo_from_proxy(proxy_location: ProxyLocation) -> ZoneInfo | None: if proxy_location == ProxyLocation.RESIDENTIAL_DE: return ZoneInfo("Europe/Berlin") + if proxy_location == ProxyLocation.RESIDENTIAL_NZ: + return ZoneInfo("Pacific/Auckland") + + if proxy_location == ProxyLocation.RESIDENTIAL_ZA: + return ZoneInfo("Africa/Johannesburg") + + if proxy_location == ProxyLocation.RESIDENTIAL_AR: + return ZoneInfo("America/Argentina/Buenos_Aires") + if proxy_location == ProxyLocation.RESIDENTIAL_ISP: return ZoneInfo("America/New_York")