|
62 | 62 | deployments, |
63 | 63 | invocations, |
64 | 64 | organization, |
| 65 | + site_configs, |
65 | 66 | browser_pools, |
66 | 67 | credential_providers, |
67 | 68 | ) |
|
74 | 75 | from .resources.credentials import CredentialsResource, AsyncCredentialsResource |
75 | 76 | from .resources.deployments import DeploymentsResource, AsyncDeploymentsResource |
76 | 77 | from .resources.invocations import InvocationsResource, AsyncInvocationsResource |
| 78 | + from .resources.site_configs import SiteConfigsResource, AsyncSiteConfigsResource |
77 | 79 | from .resources.browser_pools import BrowserPoolsResource, AsyncBrowserPoolsResource |
78 | 80 | from .resources.browsers.browsers import BrowsersResource, AsyncBrowsersResource |
79 | 81 | from .resources.projects.projects import ProjectsResource, AsyncProjectsResource |
@@ -223,6 +225,13 @@ def invocations(self) -> InvocationsResource: |
223 | 225 |
|
224 | 226 | return InvocationsResource(self) |
225 | 227 |
|
| 228 | + @cached_property |
| 229 | + def site_configs(self) -> SiteConfigsResource: |
| 230 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 231 | + from .resources.site_configs import SiteConfigsResource |
| 232 | + |
| 233 | + return SiteConfigsResource(self) |
| 234 | + |
226 | 235 | @cached_property |
227 | 236 | def browsers(self) -> BrowsersResource: |
228 | 237 | """Create and manage browser sessions.""" |
@@ -599,6 +608,13 @@ def invocations(self) -> AsyncInvocationsResource: |
599 | 608 |
|
600 | 609 | return AsyncInvocationsResource(self) |
601 | 610 |
|
| 611 | + @cached_property |
| 612 | + def site_configs(self) -> AsyncSiteConfigsResource: |
| 613 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 614 | + from .resources.site_configs import AsyncSiteConfigsResource |
| 615 | + |
| 616 | + return AsyncSiteConfigsResource(self) |
| 617 | + |
602 | 618 | @cached_property |
603 | 619 | def browsers(self) -> AsyncBrowsersResource: |
604 | 620 | """Create and manage browser sessions.""" |
@@ -879,6 +895,13 @@ def invocations(self) -> invocations.InvocationsResourceWithRawResponse: |
879 | 895 |
|
880 | 896 | return InvocationsResourceWithRawResponse(self._client.invocations) |
881 | 897 |
|
| 898 | + @cached_property |
| 899 | + def site_configs(self) -> site_configs.SiteConfigsResourceWithRawResponse: |
| 900 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 901 | + from .resources.site_configs import SiteConfigsResourceWithRawResponse |
| 902 | + |
| 903 | + return SiteConfigsResourceWithRawResponse(self._client.site_configs) |
| 904 | + |
882 | 905 | @cached_property |
883 | 906 | def browsers(self) -> browsers.BrowsersResourceWithRawResponse: |
884 | 907 | """Create and manage browser sessions.""" |
@@ -999,6 +1022,13 @@ def invocations(self) -> invocations.AsyncInvocationsResourceWithRawResponse: |
999 | 1022 |
|
1000 | 1023 | return AsyncInvocationsResourceWithRawResponse(self._client.invocations) |
1001 | 1024 |
|
| 1025 | + @cached_property |
| 1026 | + def site_configs(self) -> site_configs.AsyncSiteConfigsResourceWithRawResponse: |
| 1027 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 1028 | + from .resources.site_configs import AsyncSiteConfigsResourceWithRawResponse |
| 1029 | + |
| 1030 | + return AsyncSiteConfigsResourceWithRawResponse(self._client.site_configs) |
| 1031 | + |
1002 | 1032 | @cached_property |
1003 | 1033 | def browsers(self) -> browsers.AsyncBrowsersResourceWithRawResponse: |
1004 | 1034 | """Create and manage browser sessions.""" |
@@ -1119,6 +1149,13 @@ def invocations(self) -> invocations.InvocationsResourceWithStreamingResponse: |
1119 | 1149 |
|
1120 | 1150 | return InvocationsResourceWithStreamingResponse(self._client.invocations) |
1121 | 1151 |
|
| 1152 | + @cached_property |
| 1153 | + def site_configs(self) -> site_configs.SiteConfigsResourceWithStreamingResponse: |
| 1154 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 1155 | + from .resources.site_configs import SiteConfigsResourceWithStreamingResponse |
| 1156 | + |
| 1157 | + return SiteConfigsResourceWithStreamingResponse(self._client.site_configs) |
| 1158 | + |
1122 | 1159 | @cached_property |
1123 | 1160 | def browsers(self) -> browsers.BrowsersResourceWithStreamingResponse: |
1124 | 1161 | """Create and manage browser sessions.""" |
@@ -1239,6 +1276,13 @@ def invocations(self) -> invocations.AsyncInvocationsResourceWithStreamingRespon |
1239 | 1276 |
|
1240 | 1277 | return AsyncInvocationsResourceWithStreamingResponse(self._client.invocations) |
1241 | 1278 |
|
| 1279 | + @cached_property |
| 1280 | + def site_configs(self) -> site_configs.AsyncSiteConfigsResourceWithStreamingResponse: |
| 1281 | + """Resolve browser and proxy recommendations for bot-protected sites.""" |
| 1282 | + from .resources.site_configs import AsyncSiteConfigsResourceWithStreamingResponse |
| 1283 | + |
| 1284 | + return AsyncSiteConfigsResourceWithStreamingResponse(self._client.site_configs) |
| 1285 | + |
1242 | 1286 | @cached_property |
1243 | 1287 | def browsers(self) -> browsers.AsyncBrowsersResourceWithStreamingResponse: |
1244 | 1288 | """Create and manage browser sessions.""" |
|
0 commit comments