|
33 | 33 | if TYPE_CHECKING: |
34 | 34 | from .resources import ( |
35 | 35 | apps, |
| 36 | + auth, |
36 | 37 | agents, |
37 | 38 | proxies, |
38 | 39 | browsers, |
|
47 | 48 | from .resources.apps import AppsResource, AsyncAppsResource |
48 | 49 | from .resources.proxies import ProxiesResource, AsyncProxiesResource |
49 | 50 | from .resources.profiles import ProfilesResource, AsyncProfilesResource |
| 51 | + from .resources.auth.auth import AuthResource, AsyncAuthResource |
50 | 52 | from .resources.extensions import ExtensionsResource, AsyncExtensionsResource |
51 | 53 | from .resources.credentials import CredentialsResource, AsyncCredentialsResource |
52 | 54 | from .resources.deployments import DeploymentsResource, AsyncDeploymentsResource |
@@ -183,6 +185,12 @@ def profiles(self) -> ProfilesResource: |
183 | 185 |
|
184 | 186 | return ProfilesResource(self) |
185 | 187 |
|
| 188 | + @cached_property |
| 189 | + def auth(self) -> AuthResource: |
| 190 | + from .resources.auth import AuthResource |
| 191 | + |
| 192 | + return AuthResource(self) |
| 193 | + |
186 | 194 | @cached_property |
187 | 195 | def proxies(self) -> ProxiesResource: |
188 | 196 | from .resources.proxies import ProxiesResource |
@@ -443,6 +451,12 @@ def profiles(self) -> AsyncProfilesResource: |
443 | 451 |
|
444 | 452 | return AsyncProfilesResource(self) |
445 | 453 |
|
| 454 | + @cached_property |
| 455 | + def auth(self) -> AsyncAuthResource: |
| 456 | + from .resources.auth import AsyncAuthResource |
| 457 | + |
| 458 | + return AsyncAuthResource(self) |
| 459 | + |
446 | 460 | @cached_property |
447 | 461 | def proxies(self) -> AsyncProxiesResource: |
448 | 462 | from .resources.proxies import AsyncProxiesResource |
@@ -630,6 +644,12 @@ def profiles(self) -> profiles.ProfilesResourceWithRawResponse: |
630 | 644 |
|
631 | 645 | return ProfilesResourceWithRawResponse(self._client.profiles) |
632 | 646 |
|
| 647 | + @cached_property |
| 648 | + def auth(self) -> auth.AuthResourceWithRawResponse: |
| 649 | + from .resources.auth import AuthResourceWithRawResponse |
| 650 | + |
| 651 | + return AuthResourceWithRawResponse(self._client.auth) |
| 652 | + |
633 | 653 | @cached_property |
634 | 654 | def proxies(self) -> proxies.ProxiesResourceWithRawResponse: |
635 | 655 | from .resources.proxies import ProxiesResourceWithRawResponse |
@@ -703,6 +723,12 @@ def profiles(self) -> profiles.AsyncProfilesResourceWithRawResponse: |
703 | 723 |
|
704 | 724 | return AsyncProfilesResourceWithRawResponse(self._client.profiles) |
705 | 725 |
|
| 726 | + @cached_property |
| 727 | + def auth(self) -> auth.AsyncAuthResourceWithRawResponse: |
| 728 | + from .resources.auth import AsyncAuthResourceWithRawResponse |
| 729 | + |
| 730 | + return AsyncAuthResourceWithRawResponse(self._client.auth) |
| 731 | + |
706 | 732 | @cached_property |
707 | 733 | def proxies(self) -> proxies.AsyncProxiesResourceWithRawResponse: |
708 | 734 | from .resources.proxies import AsyncProxiesResourceWithRawResponse |
@@ -776,6 +802,12 @@ def profiles(self) -> profiles.ProfilesResourceWithStreamingResponse: |
776 | 802 |
|
777 | 803 | return ProfilesResourceWithStreamingResponse(self._client.profiles) |
778 | 804 |
|
| 805 | + @cached_property |
| 806 | + def auth(self) -> auth.AuthResourceWithStreamingResponse: |
| 807 | + from .resources.auth import AuthResourceWithStreamingResponse |
| 808 | + |
| 809 | + return AuthResourceWithStreamingResponse(self._client.auth) |
| 810 | + |
779 | 811 | @cached_property |
780 | 812 | def proxies(self) -> proxies.ProxiesResourceWithStreamingResponse: |
781 | 813 | from .resources.proxies import ProxiesResourceWithStreamingResponse |
@@ -849,6 +881,12 @@ def profiles(self) -> profiles.AsyncProfilesResourceWithStreamingResponse: |
849 | 881 |
|
850 | 882 | return AsyncProfilesResourceWithStreamingResponse(self._client.profiles) |
851 | 883 |
|
| 884 | + @cached_property |
| 885 | + def auth(self) -> auth.AsyncAuthResourceWithStreamingResponse: |
| 886 | + from .resources.auth import AsyncAuthResourceWithStreamingResponse |
| 887 | + |
| 888 | + return AsyncAuthResourceWithStreamingResponse(self._client.auth) |
| 889 | + |
852 | 890 | @cached_property |
853 | 891 | def proxies(self) -> proxies.AsyncProxiesResourceWithStreamingResponse: |
854 | 892 | from .resources.proxies import AsyncProxiesResourceWithStreamingResponse |
|
0 commit comments