|
96 | 96 | abuse_reports, |
97 | 97 | email_routing, |
98 | 98 | magic_transit, |
| 99 | + organizations, |
99 | 100 | secrets_store, |
100 | 101 | waiting_rooms, |
101 | 102 | bot_management, |
|
200 | 201 | from .resources.healthchecks.healthchecks import HealthchecksResource, AsyncHealthchecksResource |
201 | 202 | from .resources.email_routing.email_routing import EmailRoutingResource, AsyncEmailRoutingResource |
202 | 203 | from .resources.magic_transit.magic_transit import MagicTransitResource, AsyncMagicTransitResource |
| 204 | + from .resources.organizations.organizations import OrganizationsResource, AsyncOrganizationsResource |
203 | 205 | from .resources.secrets_store.secrets_store import SecretsStoreResource, AsyncSecretsStoreResource |
204 | 206 | from .resources.waiting_rooms.waiting_rooms import WaitingRoomsResource, AsyncWaitingRoomsResource |
205 | 207 | from .resources.cloudforce_one.cloudforce_one import CloudforceOneResource, AsyncCloudforceOneResource |
@@ -349,6 +351,12 @@ def accounts(self) -> AccountsResource: |
349 | 351 |
|
350 | 352 | return AccountsResource(self) |
351 | 353 |
|
| 354 | + @cached_property |
| 355 | + def organizations(self) -> OrganizationsResource: |
| 356 | + from .resources.organizations import OrganizationsResource |
| 357 | + |
| 358 | + return OrganizationsResource(self) |
| 359 | + |
352 | 360 | @cached_property |
353 | 361 | def origin_ca_certificates(self) -> OriginCACertificatesResource: |
354 | 362 | from .resources.origin_ca_certificates import OriginCACertificatesResource |
@@ -1181,6 +1189,12 @@ def accounts(self) -> AsyncAccountsResource: |
1181 | 1189 |
|
1182 | 1190 | return AsyncAccountsResource(self) |
1183 | 1191 |
|
| 1192 | + @cached_property |
| 1193 | + def organizations(self) -> AsyncOrganizationsResource: |
| 1194 | + from .resources.organizations import AsyncOrganizationsResource |
| 1195 | + |
| 1196 | + return AsyncOrganizationsResource(self) |
| 1197 | + |
1184 | 1198 | @cached_property |
1185 | 1199 | def origin_ca_certificates(self) -> AsyncOriginCACertificatesResource: |
1186 | 1200 | from .resources.origin_ca_certificates import AsyncOriginCACertificatesResource |
@@ -1941,6 +1955,12 @@ def accounts(self) -> accounts.AccountsResourceWithRawResponse: |
1941 | 1955 |
|
1942 | 1956 | return AccountsResourceWithRawResponse(self._client.accounts) |
1943 | 1957 |
|
| 1958 | + @cached_property |
| 1959 | + def organizations(self) -> organizations.OrganizationsResourceWithRawResponse: |
| 1960 | + from .resources.organizations import OrganizationsResourceWithRawResponse |
| 1961 | + |
| 1962 | + return OrganizationsResourceWithRawResponse(self._client.organizations) |
| 1963 | + |
1944 | 1964 | @cached_property |
1945 | 1965 | def origin_ca_certificates(self) -> origin_ca_certificates.OriginCACertificatesResourceWithRawResponse: |
1946 | 1966 | from .resources.origin_ca_certificates import OriginCACertificatesResourceWithRawResponse |
@@ -2520,6 +2540,12 @@ def accounts(self) -> accounts.AsyncAccountsResourceWithRawResponse: |
2520 | 2540 |
|
2521 | 2541 | return AsyncAccountsResourceWithRawResponse(self._client.accounts) |
2522 | 2542 |
|
| 2543 | + @cached_property |
| 2544 | + def organizations(self) -> organizations.AsyncOrganizationsResourceWithRawResponse: |
| 2545 | + from .resources.organizations import AsyncOrganizationsResourceWithRawResponse |
| 2546 | + |
| 2547 | + return AsyncOrganizationsResourceWithRawResponse(self._client.organizations) |
| 2548 | + |
2523 | 2549 | @cached_property |
2524 | 2550 | def origin_ca_certificates(self) -> origin_ca_certificates.AsyncOriginCACertificatesResourceWithRawResponse: |
2525 | 2551 | from .resources.origin_ca_certificates import AsyncOriginCACertificatesResourceWithRawResponse |
@@ -3099,6 +3125,12 @@ def accounts(self) -> accounts.AccountsResourceWithStreamingResponse: |
3099 | 3125 |
|
3100 | 3126 | return AccountsResourceWithStreamingResponse(self._client.accounts) |
3101 | 3127 |
|
| 3128 | + @cached_property |
| 3129 | + def organizations(self) -> organizations.OrganizationsResourceWithStreamingResponse: |
| 3130 | + from .resources.organizations import OrganizationsResourceWithStreamingResponse |
| 3131 | + |
| 3132 | + return OrganizationsResourceWithStreamingResponse(self._client.organizations) |
| 3133 | + |
3102 | 3134 | @cached_property |
3103 | 3135 | def origin_ca_certificates(self) -> origin_ca_certificates.OriginCACertificatesResourceWithStreamingResponse: |
3104 | 3136 | from .resources.origin_ca_certificates import OriginCACertificatesResourceWithStreamingResponse |
@@ -3678,6 +3710,12 @@ def accounts(self) -> accounts.AsyncAccountsResourceWithStreamingResponse: |
3678 | 3710 |
|
3679 | 3711 | return AsyncAccountsResourceWithStreamingResponse(self._client.accounts) |
3680 | 3712 |
|
| 3713 | + @cached_property |
| 3714 | + def organizations(self) -> organizations.AsyncOrganizationsResourceWithStreamingResponse: |
| 3715 | + from .resources.organizations import AsyncOrganizationsResourceWithStreamingResponse |
| 3716 | + |
| 3717 | + return AsyncOrganizationsResourceWithStreamingResponse(self._client.organizations) |
| 3718 | + |
3681 | 3719 | @cached_property |
3682 | 3720 | def origin_ca_certificates(self) -> origin_ca_certificates.AsyncOriginCACertificatesResourceWithStreamingResponse: |
3683 | 3721 | from .resources.origin_ca_certificates import AsyncOriginCACertificatesResourceWithStreamingResponse |
|
0 commit comments