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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 88 additions & 49 deletions .fern/replay.lock

Large diffs are not rendered by default.

546 changes: 277 additions & 269 deletions reference.md

Large diffs are not rendered by default.

93 changes: 63 additions & 30 deletions src/auth0/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,7 @@
BotDetectionMonitoringModeEnabled,
BrandingColors,
BrandingFont,
BrandingIdentifiers,
BrandingLoginDisplayEnum,
BrandingPageBackground,
BrandingPhoneDisplay,
BrandingPhoneFormattingEnum,
BrandingPhoneMaskingEnum,
BrandingThemeBorders,
BrandingThemeBordersButtonsStyleEnum,
BrandingThemeBordersInputsStyleEnum,
Expand Down Expand Up @@ -406,6 +401,7 @@
ConnectionId,
ConnectionIdTokenEncryptionAlgValuesSupported,
ConnectionIdTokenEncryptionEncValuesSupported,
ConnectionIdTokenSessionExpirySupported,
ConnectionIdTokenSignedResponseAlgEnum,
ConnectionIdTokenSignedResponseAlgs,
ConnectionIdTokenSigningAlgValuesSupported,
Expand Down Expand Up @@ -762,6 +758,7 @@
ConnectionWaadProtocol,
ConnectionWaadProtocolEnumAzureAd,
ConnectionsMetadata,
ContentSecurityPolicyConfig,
CreateActionModuleResponseContent,
CreateActionModuleVersionResponseContent,
CreateActionResponseContent,
Expand Down Expand Up @@ -1018,6 +1015,18 @@
CreatedUserAuthenticationMethodTypeEnum,
CredentialDeviceTypeEnum,
CredentialId,
CspDirectives,
CspFlag,
CspFlags,
CspPolicies,
CspPolicy,
CspPolicyMode,
CspPolicyReporting,
CspReportTo,
CspReportToEndpoint,
CspReportToEndpoints,
CspReportingEndpoints,
CspReportingInfrastructure,
CustomDomain,
CustomDomainCustomClientIpHeader,
CustomDomainCustomClientIpHeaderEnum,
Expand Down Expand Up @@ -2504,13 +2513,18 @@
SynchronizeGroupsEnum,
SynchronizedGroupPayload,
TenantOidcLogoutSettings,
TenantSettingsCountryCodes,
TenantSettingsCountryCodesMode,
TenantSettingsCountryCodesModeResponse,
TenantSettingsCountryCodesResponse,
TenantSettingsDeviceFlow,
TenantSettingsDeviceFlowCharset,
TenantSettingsDynamicClientRegistrationSecurityMode,
TenantSettingsErrorPage,
TenantSettingsFlags,
TenantSettingsGuardianPage,
TenantSettingsMtls,
TenantSettingsNullableSecurityHeaders,
TenantSettingsPasswordPage,
TenantSettingsResourceParameterProfile,
TenantSettingsSessions,
Expand Down Expand Up @@ -2541,12 +2555,7 @@
UpdateBotDetectionSettingsResponseContent,
UpdateBrandingColors,
UpdateBrandingFont,
UpdateBrandingIdentifiers,
UpdateBrandingLoginDisplayEnum,
UpdateBrandingPageBackground,
UpdateBrandingPhoneDisplay,
UpdateBrandingPhoneFormattingEnum,
UpdateBrandingPhoneMaskingEnum,
UpdateBrandingPhoneProviderResponseContent,
UpdateBrandingResponseContent,
UpdateBrandingThemeResponseContent,
Expand Down Expand Up @@ -2716,6 +2725,8 @@
VerifyEmailTicketResponseContent,
X509CertificateCredential,
X509CertificateCredentialTypeEnum,
XssProtectionConfig,
XssProtectionMode,
)
from .errors import (
BadRequestError,
Expand Down Expand Up @@ -2881,12 +2892,7 @@
"BotDetectionMonitoringModeEnabled": ".types",
"BrandingColors": ".types",
"BrandingFont": ".types",
"BrandingIdentifiers": ".types",
"BrandingLoginDisplayEnum": ".types",
"BrandingPageBackground": ".types",
"BrandingPhoneDisplay": ".types",
"BrandingPhoneFormattingEnum": ".types",
"BrandingPhoneMaskingEnum": ".types",
"BrandingThemeBorders": ".types",
"BrandingThemeBordersButtonsStyleEnum": ".types",
"BrandingThemeBordersInputsStyleEnum": ".types",
Expand Down Expand Up @@ -3192,6 +3198,7 @@
"ConnectionId": ".types",
"ConnectionIdTokenEncryptionAlgValuesSupported": ".types",
"ConnectionIdTokenEncryptionEncValuesSupported": ".types",
"ConnectionIdTokenSessionExpirySupported": ".types",
"ConnectionIdTokenSignedResponseAlgEnum": ".types",
"ConnectionIdTokenSignedResponseAlgs": ".types",
"ConnectionIdTokenSigningAlgValuesSupported": ".types",
Expand Down Expand Up @@ -3548,6 +3555,7 @@
"ConnectionWaadProtocol": ".types",
"ConnectionWaadProtocolEnumAzureAd": ".types",
"ConnectionsMetadata": ".types",
"ContentSecurityPolicyConfig": ".types",
"ContentTooLargeError": ".errors",
"CreateActionModuleResponseContent": ".types",
"CreateActionModuleVersionResponseContent": ".types",
Expand Down Expand Up @@ -3805,6 +3813,18 @@
"CreatedUserAuthenticationMethodTypeEnum": ".types",
"CredentialDeviceTypeEnum": ".types",
"CredentialId": ".types",
"CspDirectives": ".types",
"CspFlag": ".types",
"CspFlags": ".types",
"CspPolicies": ".types",
"CspPolicy": ".types",
"CspPolicyMode": ".types",
"CspPolicyReporting": ".types",
"CspReportTo": ".types",
"CspReportToEndpoint": ".types",
"CspReportToEndpoints": ".types",
"CspReportingEndpoints": ".types",
"CspReportingInfrastructure": ".types",
"CustomDomain": ".types",
"CustomDomainHeader": ".management_client",
"CustomDomainCustomClientIpHeader": ".types",
Expand Down Expand Up @@ -5303,13 +5323,18 @@
"SynchronizeGroupsEnum": ".types",
"SynchronizedGroupPayload": ".types",
"TenantOidcLogoutSettings": ".types",
"TenantSettingsCountryCodes": ".types",
"TenantSettingsCountryCodesMode": ".types",
"TenantSettingsCountryCodesModeResponse": ".types",
"TenantSettingsCountryCodesResponse": ".types",
"TenantSettingsDeviceFlow": ".types",
"TenantSettingsDeviceFlowCharset": ".types",
"TenantSettingsDynamicClientRegistrationSecurityMode": ".types",
"TenantSettingsErrorPage": ".types",
"TenantSettingsFlags": ".types",
"TenantSettingsGuardianPage": ".types",
"TenantSettingsMtls": ".types",
"TenantSettingsNullableSecurityHeaders": ".types",
"TenantSettingsPasswordPage": ".types",
"TenantSettingsResourceParameterProfile": ".types",
"TenantSettingsSessions": ".types",
Expand Down Expand Up @@ -5343,12 +5368,7 @@
"UpdateBotDetectionSettingsResponseContent": ".types",
"UpdateBrandingColors": ".types",
"UpdateBrandingFont": ".types",
"UpdateBrandingIdentifiers": ".types",
"UpdateBrandingLoginDisplayEnum": ".types",
"UpdateBrandingPageBackground": ".types",
"UpdateBrandingPhoneDisplay": ".types",
"UpdateBrandingPhoneFormattingEnum": ".types",
"UpdateBrandingPhoneMaskingEnum": ".types",
"UpdateBrandingPhoneProviderResponseContent": ".types",
"UpdateBrandingResponseContent": ".types",
"UpdateBrandingThemeResponseContent": ".types",
Expand Down Expand Up @@ -5518,6 +5538,8 @@
"VerifyEmailTicketResponseContent": ".types",
"X509CertificateCredential": ".types",
"X509CertificateCredentialTypeEnum": ".types",
"XssProtectionConfig": ".types",
"XssProtectionMode": ".types",
"__version__": ".version",
"actions": ".actions",
"anomaly": ".anomaly",
Expand Down Expand Up @@ -5684,12 +5706,7 @@ def __dir__():
"BotDetectionMonitoringModeEnabled",
"BrandingColors",
"BrandingFont",
"BrandingIdentifiers",
"BrandingLoginDisplayEnum",
"BrandingPageBackground",
"BrandingPhoneDisplay",
"BrandingPhoneFormattingEnum",
"BrandingPhoneMaskingEnum",
"BrandingThemeBorders",
"BrandingThemeBordersButtonsStyleEnum",
"BrandingThemeBordersInputsStyleEnum",
Expand Down Expand Up @@ -5995,6 +6012,7 @@ def __dir__():
"ConnectionId",
"ConnectionIdTokenEncryptionAlgValuesSupported",
"ConnectionIdTokenEncryptionEncValuesSupported",
"ConnectionIdTokenSessionExpirySupported",
"ConnectionIdTokenSignedResponseAlgEnum",
"ConnectionIdTokenSignedResponseAlgs",
"ConnectionIdTokenSigningAlgValuesSupported",
Expand Down Expand Up @@ -6351,6 +6369,7 @@ def __dir__():
"ConnectionWaadProtocol",
"ConnectionWaadProtocolEnumAzureAd",
"ConnectionsMetadata",
"ContentSecurityPolicyConfig",
"ContentTooLargeError",
"CreateActionModuleResponseContent",
"CreateActionModuleVersionResponseContent",
Expand Down Expand Up @@ -6608,6 +6627,18 @@ def __dir__():
"CreatedUserAuthenticationMethodTypeEnum",
"CredentialDeviceTypeEnum",
"CredentialId",
"CspDirectives",
"CspFlag",
"CspFlags",
"CspPolicies",
"CspPolicy",
"CspPolicyMode",
"CspPolicyReporting",
"CspReportTo",
"CspReportToEndpoint",
"CspReportToEndpoints",
"CspReportingEndpoints",
"CspReportingInfrastructure",
"CustomDomain",
"CustomDomainCustomClientIpHeader",
"CustomDomainCustomClientIpHeaderEnum",
Expand Down Expand Up @@ -8105,13 +8136,18 @@ def __dir__():
"SynchronizeGroupsEnum",
"SynchronizedGroupPayload",
"TenantOidcLogoutSettings",
"TenantSettingsCountryCodes",
"TenantSettingsCountryCodesMode",
"TenantSettingsCountryCodesModeResponse",
"TenantSettingsCountryCodesResponse",
"TenantSettingsDeviceFlow",
"TenantSettingsDeviceFlowCharset",
"TenantSettingsDynamicClientRegistrationSecurityMode",
"TenantSettingsErrorPage",
"TenantSettingsFlags",
"TenantSettingsGuardianPage",
"TenantSettingsMtls",
"TenantSettingsNullableSecurityHeaders",
"TenantSettingsPasswordPage",
"TenantSettingsResourceParameterProfile",
"TenantSettingsSessions",
Expand Down Expand Up @@ -8145,12 +8181,7 @@ def __dir__():
"UpdateBotDetectionSettingsResponseContent",
"UpdateBrandingColors",
"UpdateBrandingFont",
"UpdateBrandingIdentifiers",
"UpdateBrandingLoginDisplayEnum",
"UpdateBrandingPageBackground",
"UpdateBrandingPhoneDisplay",
"UpdateBrandingPhoneFormattingEnum",
"UpdateBrandingPhoneMaskingEnum",
"UpdateBrandingPhoneProviderResponseContent",
"UpdateBrandingResponseContent",
"UpdateBrandingThemeResponseContent",
Expand Down Expand Up @@ -8320,6 +8351,8 @@ def __dir__():
"VerifyEmailTicketResponseContent",
"X509CertificateCredential",
"X509CertificateCredentialTypeEnum",
"XssProtectionConfig",
"XssProtectionMode",
"__version__",
"actions",
"anomaly",
Expand Down
21 changes: 2 additions & 19 deletions src/auth0/management/branding/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from ..types.get_branding_response_content import GetBrandingResponseContent
from ..types.update_branding_colors import UpdateBrandingColors
from ..types.update_branding_font import UpdateBrandingFont
from ..types.update_branding_identifiers import UpdateBrandingIdentifiers
from ..types.update_branding_response_content import UpdateBrandingResponseContent
from .raw_client import AsyncRawBrandingClient, RawBrandingClient

Expand Down Expand Up @@ -72,7 +71,6 @@ def update(
colors: typing.Optional[UpdateBrandingColors] = OMIT,
favicon_url: typing.Optional[str] = OMIT,
logo_url: typing.Optional[str] = OMIT,
identifiers: typing.Optional[UpdateBrandingIdentifiers] = OMIT,
font: typing.Optional[UpdateBrandingFont] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpdateBrandingResponseContent:
Expand All @@ -89,8 +87,6 @@ def update(
logo_url : typing.Optional[str]
URL for the logo. Must use HTTPS.

identifiers : typing.Optional[UpdateBrandingIdentifiers]

font : typing.Optional[UpdateBrandingFont]

request_options : typing.Optional[RequestOptions]
Expand All @@ -111,12 +107,7 @@ def update(
client.branding.update()
"""
_response = self._raw_client.update(
colors=colors,
favicon_url=favicon_url,
logo_url=logo_url,
identifiers=identifiers,
font=font,
request_options=request_options,
colors=colors, favicon_url=favicon_url, logo_url=logo_url, font=font, request_options=request_options
)
return _response.data

Expand Down Expand Up @@ -204,7 +195,6 @@ async def update(
colors: typing.Optional[UpdateBrandingColors] = OMIT,
favicon_url: typing.Optional[str] = OMIT,
logo_url: typing.Optional[str] = OMIT,
identifiers: typing.Optional[UpdateBrandingIdentifiers] = OMIT,
font: typing.Optional[UpdateBrandingFont] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpdateBrandingResponseContent:
Expand All @@ -221,8 +211,6 @@ async def update(
logo_url : typing.Optional[str]
URL for the logo. Must use HTTPS.

identifiers : typing.Optional[UpdateBrandingIdentifiers]

font : typing.Optional[UpdateBrandingFont]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -251,12 +239,7 @@ async def main() -> None:
asyncio.run(main())
"""
_response = await self._raw_client.update(
colors=colors,
favicon_url=favicon_url,
logo_url=logo_url,
identifiers=identifiers,
font=font,
request_options=request_options,
colors=colors, favicon_url=favicon_url, logo_url=logo_url, font=font, request_options=request_options
)
return _response.data

Expand Down
Loading
Loading