Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5,592 changes: 5,562 additions & 30 deletions .fern/replay.lock

Large diffs are not rendered by default.

10,579 changes: 5,767 additions & 4,812 deletions reference.md

Large diffs are not rendered by default.

1,842 changes: 1,842 additions & 0 deletions src/auth0/management/__init__.py

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions src/auth0/management/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from .log_streams.client import AsyncLogStreamsClient, LogStreamsClient
from .logs.client import AsyncLogsClient, LogsClient
from .network_acls.client import AsyncNetworkAclsClient, NetworkAclsClient
from .organization_templates.client import AsyncOrganizationTemplatesClient, OrganizationTemplatesClient
from .organizations.client import AsyncOrganizationsClient, OrganizationsClient
from .prompts.client import AsyncPromptsClient, PromptsClient
from .rate_limit_policies.client import AsyncRateLimitPoliciesClient, RateLimitPoliciesClient
Expand Down Expand Up @@ -175,6 +176,7 @@ def __init__(
self._log_streams: typing.Optional[LogStreamsClient] = None
self._logs: typing.Optional[LogsClient] = None
self._network_acls: typing.Optional[NetworkAclsClient] = None
self._organization_templates: typing.Optional[OrganizationTemplatesClient] = None
self._organizations: typing.Optional[OrganizationsClient] = None
self._prompts: typing.Optional[PromptsClient] = None
self._rate_limit_policies: typing.Optional[RateLimitPoliciesClient] = None
Expand Down Expand Up @@ -369,6 +371,14 @@ def network_acls(self):
self._network_acls = NetworkAclsClient(client_wrapper=self._client_wrapper)
return self._network_acls

@property
def organization_templates(self):
if self._organization_templates is None:
from .organization_templates.client import OrganizationTemplatesClient # noqa: E402

self._organization_templates = OrganizationTemplatesClient(client_wrapper=self._client_wrapper)
return self._organization_templates

@property
def organizations(self):
if self._organizations is None:
Expand Down Expand Up @@ -708,6 +718,7 @@ def __init__(
self._log_streams: typing.Optional[AsyncLogStreamsClient] = None
self._logs: typing.Optional[AsyncLogsClient] = None
self._network_acls: typing.Optional[AsyncNetworkAclsClient] = None
self._organization_templates: typing.Optional[AsyncOrganizationTemplatesClient] = None
self._organizations: typing.Optional[AsyncOrganizationsClient] = None
self._prompts: typing.Optional[AsyncPromptsClient] = None
self._rate_limit_policies: typing.Optional[AsyncRateLimitPoliciesClient] = None
Expand Down Expand Up @@ -902,6 +913,14 @@ def network_acls(self):
self._network_acls = AsyncNetworkAclsClient(client_wrapper=self._client_wrapper)
return self._network_acls

@property
def organization_templates(self):
if self._organization_templates is None:
from .organization_templates.client import AsyncOrganizationTemplatesClient # noqa: E402

self._organization_templates = AsyncOrganizationTemplatesClient(client_wrapper=self._client_wrapper)
return self._organization_templates

@property
def organizations(self):
if self._organizations is None:
Expand Down
17 changes: 17 additions & 0 deletions src/auth0/management/clients/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.pagination import AsyncPager, SyncPager
from ..core.request_options import RequestOptions
from ..types.b_2_b_integration_configuration import B2BIntegrationConfiguration
from ..types.client import Client
from ..types.client_addons import ClientAddons
from ..types.client_app_type_enum import ClientAppTypeEnum
Expand Down Expand Up @@ -268,6 +269,7 @@ def create(
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPostConfiguration
Expand Down Expand Up @@ -431,6 +433,8 @@ def create(

express_configuration : typing.Optional[ExpressConfiguration]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]
Expand Down Expand Up @@ -509,6 +513,7 @@ def create(
third_party_security_mode=third_party_security_mode,
redirection_policy=redirection_policy,
express_configuration=express_configuration,
b_2_b_integration_configuration=b_2_b_integration_configuration,
my_organization_configuration=my_organization_configuration,
async_approval_notification_channels=async_approval_notification_channels,
request_options=request_options,
Expand Down Expand Up @@ -756,6 +761,7 @@ def update(
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
par_request_expiry: typing.Optional[int] = OMIT,
express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration
Expand Down Expand Up @@ -917,6 +923,8 @@ def update(

express_configuration : typing.Optional[ExpressConfigurationOrNull]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]
Expand Down Expand Up @@ -998,6 +1006,7 @@ def update(
token_exchange=token_exchange,
par_request_expiry=par_request_expiry,
express_configuration=express_configuration,
b_2_b_integration_configuration=b_2_b_integration_configuration,
my_organization_configuration=my_organization_configuration,
async_approval_notification_channels=async_approval_notification_channels,
third_party_security_mode=third_party_security_mode,
Expand Down Expand Up @@ -1265,6 +1274,7 @@ async def create(
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPostConfiguration
Expand Down Expand Up @@ -1428,6 +1438,8 @@ async def create(

express_configuration : typing.Optional[ExpressConfiguration]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]
Expand Down Expand Up @@ -1514,6 +1526,7 @@ async def main() -> None:
third_party_security_mode=third_party_security_mode,
redirection_policy=redirection_policy,
express_configuration=express_configuration,
b_2_b_integration_configuration=b_2_b_integration_configuration,
my_organization_configuration=my_organization_configuration,
async_approval_notification_channels=async_approval_notification_channels,
request_options=request_options,
Expand Down Expand Up @@ -1793,6 +1806,7 @@ async def update(
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
par_request_expiry: typing.Optional[int] = OMIT,
express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration
Expand Down Expand Up @@ -1954,6 +1968,8 @@ async def update(

express_configuration : typing.Optional[ExpressConfigurationOrNull]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]
Expand Down Expand Up @@ -2043,6 +2059,7 @@ async def main() -> None:
token_exchange=token_exchange,
par_request_expiry=par_request_expiry,
express_configuration=express_configuration,
b_2_b_integration_configuration=b_2_b_integration_configuration,
my_organization_configuration=my_organization_configuration,
async_approval_notification_channels=async_approval_notification_channels,
third_party_security_mode=third_party_security_mode,
Expand Down
25 changes: 25 additions & 0 deletions src/auth0/management/clients/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from ..errors.not_found_error import NotFoundError
from ..errors.too_many_requests_error import TooManyRequestsError
from ..errors.unauthorized_error import UnauthorizedError
from ..types.b_2_b_integration_configuration import B2BIntegrationConfiguration
from ..types.client import Client
from ..types.client_addons import ClientAddons
from ..types.client_app_type_enum import ClientAppTypeEnum
Expand Down Expand Up @@ -321,6 +322,7 @@ def create(
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPostConfiguration
Expand Down Expand Up @@ -484,6 +486,8 @@ def create(

express_configuration : typing.Optional[ExpressConfiguration]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]
Expand Down Expand Up @@ -602,6 +606,9 @@ def create(
"express_configuration": convert_and_respect_annotation_metadata(
object_=express_configuration, annotation=ExpressConfiguration, direction="write"
),
"b2b_integration_configuration": convert_and_respect_annotation_metadata(
object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write"
),
"my_organization_configuration": convert_and_respect_annotation_metadata(
object_=my_organization_configuration,
annotation=ClientMyOrganizationPostConfiguration,
Expand Down Expand Up @@ -1193,6 +1200,7 @@ def update(
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
par_request_expiry: typing.Optional[int] = OMIT,
express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration
Expand Down Expand Up @@ -1354,6 +1362,8 @@ def update(

express_configuration : typing.Optional[ExpressConfigurationOrNull]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]
Expand Down Expand Up @@ -1480,6 +1490,9 @@ def update(
annotation=typing.Optional[ExpressConfigurationOrNull],
direction="write",
),
"b2b_integration_configuration": convert_and_respect_annotation_metadata(
object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write"
),
"my_organization_configuration": convert_and_respect_annotation_metadata(
object_=my_organization_configuration,
annotation=typing.Optional[ClientMyOrganizationPatchConfiguration],
Expand Down Expand Up @@ -1915,6 +1928,7 @@ async def create(
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPostConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPostConfiguration
Expand Down Expand Up @@ -2078,6 +2092,8 @@ async def create(

express_configuration : typing.Optional[ExpressConfiguration]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPostConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPostConfiguration]
Expand Down Expand Up @@ -2196,6 +2212,9 @@ async def create(
"express_configuration": convert_and_respect_annotation_metadata(
object_=express_configuration, annotation=ExpressConfiguration, direction="write"
),
"b2b_integration_configuration": convert_and_respect_annotation_metadata(
object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write"
),
"my_organization_configuration": convert_and_respect_annotation_metadata(
object_=my_organization_configuration,
annotation=ClientMyOrganizationPostConfiguration,
Expand Down Expand Up @@ -2789,6 +2808,7 @@ async def update(
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
par_request_expiry: typing.Optional[int] = OMIT,
express_configuration: typing.Optional[ExpressConfigurationOrNull] = OMIT,
b_2_b_integration_configuration: typing.Optional[B2BIntegrationConfiguration] = OMIT,
my_organization_configuration: typing.Optional[ClientMyOrganizationPatchConfiguration] = OMIT,
async_approval_notification_channels: typing.Optional[
ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration
Expand Down Expand Up @@ -2950,6 +2970,8 @@ async def update(

express_configuration : typing.Optional[ExpressConfigurationOrNull]

b_2_b_integration_configuration : typing.Optional[B2BIntegrationConfiguration]

my_organization_configuration : typing.Optional[ClientMyOrganizationPatchConfiguration]

async_approval_notification_channels : typing.Optional[ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration]
Expand Down Expand Up @@ -3076,6 +3098,9 @@ async def update(
annotation=typing.Optional[ExpressConfigurationOrNull],
direction="write",
),
"b2b_integration_configuration": convert_and_respect_annotation_metadata(
object_=b_2_b_integration_configuration, annotation=B2BIntegrationConfiguration, direction="write"
),
"my_organization_configuration": convert_and_respect_annotation_metadata(
object_=my_organization_configuration,
annotation=typing.Optional[ClientMyOrganizationPatchConfiguration],
Expand Down
Loading
Loading