Skip to content
Open
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
10 changes: 8 additions & 2 deletions .fern/replay.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,20 @@ generations:
cli_version: unknown
generator_versions:
fernapi/fern-python-sdk: 5.26.0
current_generation: 89e85b537368a6c746f34041680bd4f7fa3cfb5a
- commit_sha: 409145489efe540747e53517ece13087ed7a1fb8
tree_hash: e822049a6625f20ef7c1cfcc775f7ced9b541947
timestamp: 2026-11-24T05:40:27.276Z
cli_version: unknown
generator_versions:
fernapi/fern-python-sdk: 5.26.0
current_generation: 409145489efe540747e53517ece13087ed7a1fb8
patches:
- id: patch-3bac717a
content_hash: sha256:f4ad3ba43b0430fa3dfb54bfcf588cb697efe8185eb30350f9955849f831083f
original_commit: 3bac717acae703868197afb75fc26d296957a4fd
original_message: Restore Auth0 telemetry headers and keep UPGRADING.md (#900)
original_author: Kunal Dawar <35455566+developerkunal@users.noreply.github.com>
base_generation: 89e85b537368a6c746f34041680bd4f7fa3cfb5a
base_generation: 409145489efe540747e53517ece13087ed7a1fb8
files:
- src/auth0/management/core/client_wrapper.py
patch_content: |
Expand Down
24 changes: 24 additions & 0 deletions src/auth0/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3249,6 +3249,7 @@
GetUserResponseContent,
GetVariationResponseContent,
GetVerifiableCredentialTemplateResponseContent,
GetWebtaskResponseContent,
GoogleAccountLinkingConfiguration,
GoogleAccountLinkingConfigurationCreate,
GoogleAccountLinkingConfigurationOrNull,
Expand Down Expand Up @@ -4016,6 +4017,13 @@
VerificationMethodEnum,
VerifyCustomDomainResponseContent,
VerifyEmailTicketResponseContent,
Webtask,
WebtaskContainer,
WebtaskName,
WebtaskResponseMeta,
WebtaskResponseSecrets,
WebtaskToken,
WebtaskUrl,
X509CertificateCredential,
X509CertificateCredentialTypeEnum,
XssProtectionConfig,
Expand Down Expand Up @@ -7352,6 +7360,7 @@
"GetUserResponseContent": ".types",
"GetVariationResponseContent": ".types",
"GetVerifiableCredentialTemplateResponseContent": ".types",
"GetWebtaskResponseContent": ".types",
"GoneError": ".errors",
"GoogleAccountLinkingConfiguration": ".types",
"GoogleAccountLinkingConfigurationCreate": ".types",
Expand Down Expand Up @@ -8130,6 +8139,13 @@
"VerificationMethodEnum": ".types",
"VerifyCustomDomainResponseContent": ".types",
"VerifyEmailTicketResponseContent": ".types",
"Webtask": ".types",
"WebtaskContainer": ".types",
"WebtaskName": ".types",
"WebtaskResponseMeta": ".types",
"WebtaskResponseSecrets": ".types",
"WebtaskToken": ".types",
"WebtaskUrl": ".types",
"X509CertificateCredential": ".types",
"X509CertificateCredentialTypeEnum": ".types",
"XssProtectionConfig": ".types",
Expand Down Expand Up @@ -11465,6 +11481,7 @@ def __dir__():
"GetUserResponseContent",
"GetVariationResponseContent",
"GetVerifiableCredentialTemplateResponseContent",
"GetWebtaskResponseContent",
"GoneError",
"GoogleAccountLinkingConfiguration",
"GoogleAccountLinkingConfigurationCreate",
Expand Down Expand Up @@ -12243,6 +12260,13 @@ def __dir__():
"VerificationMethodEnum",
"VerifyCustomDomainResponseContent",
"VerifyEmailTicketResponseContent",
"Webtask",
"WebtaskContainer",
"WebtaskName",
"WebtaskResponseMeta",
"WebtaskResponseSecrets",
"WebtaskToken",
"WebtaskUrl",
"X509CertificateCredential",
"X509CertificateCredentialTypeEnum",
"XssProtectionConfig",
Expand Down
24 changes: 24 additions & 0 deletions src/auth0/management/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5708,6 +5708,7 @@
from .get_user_response_content import GetUserResponseContent
from .get_variation_response_content import GetVariationResponseContent
from .get_verifiable_credential_template_response_content import GetVerifiableCredentialTemplateResponseContent
from .get_webtask_response_content import GetWebtaskResponseContent
from .google_account_linking_configuration import GoogleAccountLinkingConfiguration
from .google_account_linking_configuration_create import GoogleAccountLinkingConfigurationCreate
from .google_account_linking_configuration_or_null import GoogleAccountLinkingConfigurationOrNull
Expand Down Expand Up @@ -6609,6 +6610,13 @@
from .verification_method_enum import VerificationMethodEnum
from .verify_custom_domain_response_content import VerifyCustomDomainResponseContent
from .verify_email_ticket_response_content import VerifyEmailTicketResponseContent
from .webtask import Webtask
from .webtask_container import WebtaskContainer
from .webtask_name import WebtaskName
from .webtask_response_meta import WebtaskResponseMeta
from .webtask_response_secrets import WebtaskResponseSecrets
from .webtask_token import WebtaskToken
from .webtask_url import WebtaskUrl
from .x_509_certificate_credential import X509CertificateCredential
from .x_509_certificate_credential_type_enum import X509CertificateCredentialTypeEnum
from .xss_protection_config import XssProtectionConfig
Expand Down Expand Up @@ -9856,6 +9864,7 @@
"GetUserResponseContent": ".get_user_response_content",
"GetVariationResponseContent": ".get_variation_response_content",
"GetVerifiableCredentialTemplateResponseContent": ".get_verifiable_credential_template_response_content",
"GetWebtaskResponseContent": ".get_webtask_response_content",
"GoogleAccountLinkingConfiguration": ".google_account_linking_configuration",
"GoogleAccountLinkingConfigurationCreate": ".google_account_linking_configuration_create",
"GoogleAccountLinkingConfigurationOrNull": ".google_account_linking_configuration_or_null",
Expand Down Expand Up @@ -10623,6 +10632,13 @@
"VerificationMethodEnum": ".verification_method_enum",
"VerifyCustomDomainResponseContent": ".verify_custom_domain_response_content",
"VerifyEmailTicketResponseContent": ".verify_email_ticket_response_content",
"Webtask": ".webtask",
"WebtaskContainer": ".webtask_container",
"WebtaskName": ".webtask_name",
"WebtaskResponseMeta": ".webtask_response_meta",
"WebtaskResponseSecrets": ".webtask_response_secrets",
"WebtaskToken": ".webtask_token",
"WebtaskUrl": ".webtask_url",
"X509CertificateCredential": ".x_509_certificate_credential",
"X509CertificateCredentialTypeEnum": ".x_509_certificate_credential_type_enum",
"XssProtectionConfig": ".xss_protection_config",
Expand Down Expand Up @@ -13894,6 +13910,7 @@ def __dir__():
"GetUserResponseContent",
"GetVariationResponseContent",
"GetVerifiableCredentialTemplateResponseContent",
"GetWebtaskResponseContent",
"GoogleAccountLinkingConfiguration",
"GoogleAccountLinkingConfigurationCreate",
"GoogleAccountLinkingConfigurationOrNull",
Expand Down Expand Up @@ -14661,6 +14678,13 @@ def __dir__():
"VerificationMethodEnum",
"VerifyCustomDomainResponseContent",
"VerifyEmailTicketResponseContent",
"Webtask",
"WebtaskContainer",
"WebtaskName",
"WebtaskResponseMeta",
"WebtaskResponseSecrets",
"WebtaskToken",
"WebtaskUrl",
"X509CertificateCredential",
"X509CertificateCredentialTypeEnum",
"XssProtectionConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class AssociateOrganizationClientGrantResponseContent(UniversalBaseModel):
id: typing.Optional[str] = pydantic.Field(default=None)
grant_id: typing.Optional[str] = pydantic.Field(default=None)
"""
ID of the client grant.
"""
Expand Down
30 changes: 30 additions & 0 deletions src/auth0/management/types/get_webtask_response_content.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file was auto-generated by Fern from our API Definition.

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from .webtask import Webtask
from .webtask_response_secrets import WebtaskResponseSecrets


class GetWebtaskResponseContent(Webtask):
"""
A webtask in the tenant's container, as returned by the webtask platform's GET. Code and decrypted secrets are only included when requested.
"""

code: typing.Optional[str] = pydantic.Field(default=None)
"""
JavaScript code of the webtask. Only returned with <code>fetch_code=true</code>.
"""

secrets: typing.Optional[WebtaskResponseSecrets] = None

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:

class Config:
frozen = True
smart_union = True
extra = pydantic.Extra.allow
2 changes: 1 addition & 1 deletion src/auth0/management/types/tenant_settings_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class TenantSettingsFlags(UniversalBaseModel):

allow_legacy_delegation_grant_types: typing.Optional[bool] = pydantic.Field(default=None)
"""
If enabled, clients are able to add legacy delegation grants.
DEPRECATED property. If enabled, first-party applications can add the legacy delegation grant types. It does not enable the /delegation endpoint.
"""

allow_legacy_ro_grant_types: typing.Optional[bool] = pydantic.Field(default=None)
Expand Down
32 changes: 32 additions & 0 deletions src/auth0/management/types/webtask.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file was auto-generated by Fern from our API Definition.

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
from .webtask_container import WebtaskContainer
from .webtask_name import WebtaskName
from .webtask_response_meta import WebtaskResponseMeta
from .webtask_token import WebtaskToken
from .webtask_url import WebtaskUrl


class Webtask(UniversalBaseModel):
"""
A webtask in the tenant's container, as returned by the webtask platform.
"""

container: WebtaskContainer
name: WebtaskName
token: typing.Optional[WebtaskToken] = None
meta: WebtaskResponseMeta
webtask_url: typing.Optional[WebtaskUrl] = None

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:

class Config:
frozen = True
smart_union = True
extra = pydantic.Extra.allow
6 changes: 6 additions & 0 deletions src/auth0/management/types/webtask_container.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

WebtaskContainer = str
"""
Webtask container of the tenant. Hooks run in the same container.
"""
6 changes: 6 additions & 0 deletions src/auth0/management/types/webtask_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

WebtaskName = str
"""
Name of the webtask. It is part of the webtask URL.
"""
8 changes: 8 additions & 0 deletions src/auth0/management/types/webtask_response_meta.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was auto-generated by Fern from our API Definition.

import typing

WebtaskResponseMeta = typing.Dict[str, str]
"""
Metadata of the webtask, as returned by the webtask platform. Values have no length limit, since webtasks written by other tools are returned too.
"""
8 changes: 8 additions & 0 deletions src/auth0/management/types/webtask_response_secrets.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was auto-generated by Fern from our API Definition.

import typing

WebtaskResponseSecrets = typing.Dict[str, str]
"""
Secrets of the webtask, decrypted. Only returned by <code>GET /api/v2/webtasks/{name}</code> with <code>decrypt=true</code>. Values have no length limit, since webtasks written by other tools are returned too.
"""
6 changes: 6 additions & 0 deletions src/auth0/management/types/webtask_token.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

WebtaskToken = str
"""
Webtask token issued by the webtask platform for this webtask.
"""
6 changes: 6 additions & 0 deletions src/auth0/management/types/webtask_url.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

WebtaskUrl = str
"""
URL the webtask runs at.
"""
2 changes: 1 addition & 1 deletion wiremock/wiremock-mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14174,7 +14174,7 @@
},
"response": {
"status": 201,
"body": "{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}",
"body": "{\n \"grant_id\": \"grant_id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}",
"headers": {
"Content-Type": "application/json"
}
Expand Down
Loading