From f51e272d0e68aa7dc0e12dadfe5bb58e07252212 Mon Sep 17 00:00:00 2001 From: stubsabot <> Date: Wed, 4 Nov 2026 00:14:26 +0000 Subject: [PATCH] [stubsabot] Remove auth0-python as ships py.typed file Typeshed release: https://pypi.org/pypi/types-auth0-python Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/auth0-python --- pyrightconfig.stricter.json | 1 - .../@tests/stubtest_allowlist.txt | 7 - stubs/auth0-python/METADATA.toml | 4 - stubs/auth0-python/auth0/__init__.pyi | 3 - stubs/auth0-python/auth0/asyncify.pyi | 6 - .../auth0/authentication/__init__.pyi | 10 -- .../authentication/async_token_verifier.pyi | 24 ---- .../authentication/back_channel_login.pyi | 13 -- .../auth0/authentication/base.pyi | 30 ---- .../authentication/client_authentication.pyi | 13 -- .../auth0/authentication/database.pyi | 21 --- .../auth0/authentication/delegated.pyi | 12 -- .../auth0/authentication/enterprise.pyi | 5 - .../auth0/authentication/get_token.pyi | 29 ---- .../auth0/authentication/passwordless.pyi | 5 - .../pushed_authorization_requests.pyi | 4 - .../auth0/authentication/revoke_token.pyi | 4 - .../auth0/authentication/social.pyi | 4 - .../auth0/authentication/token_verifier.pyi | 27 ---- .../auth0/authentication/users.pyi | 11 -- stubs/auth0-python/auth0/exceptions.pyi | 14 -- .../auth0/management/__init__.pyi | 65 --------- .../auth0-python/auth0/management/actions.pyi | 64 --------- .../auth0/management/async_auth0.pyi | 76 ---------- .../auth0/management/attack_protection.pyi | 30 ---- stubs/auth0-python/auth0/management/auth0.pyi | 67 --------- .../auth0/management/blacklists.pyi | 21 --- .../auth0/management/branding.pyi | 38 ----- .../auth0/management/client_credentials.pyi | 26 ---- .../auth0/management/client_grants.pyi | 60 -------- .../auth0-python/auth0/management/clients.pyi | 44 ------ .../auth0/management/connections.pyi | 48 ------- .../auth0/management/custom_domains.pyi | 28 ---- .../auth0/management/device_credentials.pyi | 44 ------ .../auth0/management/email_templates.pyi | 24 ---- .../auth0-python/auth0/management/emails.pyi | 26 ---- .../auth0-python/auth0/management/grants.pyi | 34 ----- .../auth0/management/guardian.pyi | 38 ----- stubs/auth0-python/auth0/management/hooks.pyi | 52 ------- stubs/auth0-python/auth0/management/jobs.pyi | 42 ------ .../auth0/management/log_streams.pyi | 29 ---- stubs/auth0-python/auth0/management/logs.pyi | 44 ------ .../auth0/management/organizations.pyi | 134 ------------------ .../auth0-python/auth0/management/prompts.pyi | 28 ---- .../auth0/management/resource_servers.pyi | 28 ---- stubs/auth0-python/auth0/management/roles.pyi | 63 -------- stubs/auth0-python/auth0/management/rules.pyi | 46 ------ .../auth0/management/rules_configs.pyi | 24 ---- .../management/self_service_profiles.pyi | 26 ---- stubs/auth0-python/auth0/management/stats.pyi | 24 ---- .../auth0-python/auth0/management/tenants.pyi | 22 --- .../auth0-python/auth0/management/tickets.pyi | 22 --- .../auth0/management/user_blocks.pyi | 26 ---- stubs/auth0-python/auth0/management/users.pyi | 119 ---------------- .../auth0/management/users_by_email.pyi | 24 ---- stubs/auth0-python/auth0/rest.pyi | 48 ------- stubs/auth0-python/auth0/rest_async.pyi | 23 --- stubs/auth0-python/auth0/types.pyi | 5 - stubs/auth0-python/auth0/utils.pyi | 1 - 59 files changed, 1810 deletions(-) delete mode 100644 stubs/auth0-python/@tests/stubtest_allowlist.txt delete mode 100644 stubs/auth0-python/METADATA.toml delete mode 100644 stubs/auth0-python/auth0/__init__.pyi delete mode 100644 stubs/auth0-python/auth0/asyncify.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/__init__.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/async_token_verifier.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/back_channel_login.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/base.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/client_authentication.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/database.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/delegated.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/enterprise.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/get_token.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/passwordless.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/pushed_authorization_requests.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/revoke_token.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/social.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/token_verifier.pyi delete mode 100644 stubs/auth0-python/auth0/authentication/users.pyi delete mode 100644 stubs/auth0-python/auth0/exceptions.pyi delete mode 100644 stubs/auth0-python/auth0/management/__init__.pyi delete mode 100644 stubs/auth0-python/auth0/management/actions.pyi delete mode 100644 stubs/auth0-python/auth0/management/async_auth0.pyi delete mode 100644 stubs/auth0-python/auth0/management/attack_protection.pyi delete mode 100644 stubs/auth0-python/auth0/management/auth0.pyi delete mode 100644 stubs/auth0-python/auth0/management/blacklists.pyi delete mode 100644 stubs/auth0-python/auth0/management/branding.pyi delete mode 100644 stubs/auth0-python/auth0/management/client_credentials.pyi delete mode 100644 stubs/auth0-python/auth0/management/client_grants.pyi delete mode 100644 stubs/auth0-python/auth0/management/clients.pyi delete mode 100644 stubs/auth0-python/auth0/management/connections.pyi delete mode 100644 stubs/auth0-python/auth0/management/custom_domains.pyi delete mode 100644 stubs/auth0-python/auth0/management/device_credentials.pyi delete mode 100644 stubs/auth0-python/auth0/management/email_templates.pyi delete mode 100644 stubs/auth0-python/auth0/management/emails.pyi delete mode 100644 stubs/auth0-python/auth0/management/grants.pyi delete mode 100644 stubs/auth0-python/auth0/management/guardian.pyi delete mode 100644 stubs/auth0-python/auth0/management/hooks.pyi delete mode 100644 stubs/auth0-python/auth0/management/jobs.pyi delete mode 100644 stubs/auth0-python/auth0/management/log_streams.pyi delete mode 100644 stubs/auth0-python/auth0/management/logs.pyi delete mode 100644 stubs/auth0-python/auth0/management/organizations.pyi delete mode 100644 stubs/auth0-python/auth0/management/prompts.pyi delete mode 100644 stubs/auth0-python/auth0/management/resource_servers.pyi delete mode 100644 stubs/auth0-python/auth0/management/roles.pyi delete mode 100644 stubs/auth0-python/auth0/management/rules.pyi delete mode 100644 stubs/auth0-python/auth0/management/rules_configs.pyi delete mode 100644 stubs/auth0-python/auth0/management/self_service_profiles.pyi delete mode 100644 stubs/auth0-python/auth0/management/stats.pyi delete mode 100644 stubs/auth0-python/auth0/management/tenants.pyi delete mode 100644 stubs/auth0-python/auth0/management/tickets.pyi delete mode 100644 stubs/auth0-python/auth0/management/user_blocks.pyi delete mode 100644 stubs/auth0-python/auth0/management/users.pyi delete mode 100644 stubs/auth0-python/auth0/management/users_by_email.pyi delete mode 100644 stubs/auth0-python/auth0/rest.pyi delete mode 100644 stubs/auth0-python/auth0/rest_async.pyi delete mode 100644 stubs/auth0-python/auth0/types.pyi delete mode 100644 stubs/auth0-python/auth0/utils.pyi diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index d3d66b8fd7fc..2b724712154b 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -26,7 +26,6 @@ "stdlib/tkinter/tix.pyi", "stdlib/tkinter/ttk.pyi", "stubs/antlr4-python3-runtime", - "stubs/auth0-python", "stubs/Authlib", "stubs/aws-xray-sdk", "stubs/behave", diff --git a/stubs/auth0-python/@tests/stubtest_allowlist.txt b/stubs/auth0-python/@tests/stubtest_allowlist.txt deleted file mode 100644 index 8ebe98654c0b..000000000000 --- a/stubs/auth0-python/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Omit tests -auth0\.test.* - -# Omit _async functions because they aren't present at runtime -# The way these stubs are currently implemented is that we pretend all classes have async methods -# Even though in reality, users need to call `auth0.asyncify.asyncify` to generate async subclasses -auth0\..*_async diff --git a/stubs/auth0-python/METADATA.toml b/stubs/auth0-python/METADATA.toml deleted file mode 100644 index 2c5034126f1f..000000000000 --- a/stubs/auth0-python/METADATA.toml +++ /dev/null @@ -1,4 +0,0 @@ -version = "4.10.*" -upstream-repository = "https://github.com/auth0/auth0-python" -dependencies = ["cryptography", "requests>=2.34.0"] -obsolete-since = { version = "5.4.0", date = "2026-05-04" } diff --git a/stubs/auth0-python/auth0/__init__.pyi b/stubs/auth0-python/auth0/__init__.pyi deleted file mode 100644 index 48e8b1da8e62..000000000000 --- a/stubs/auth0-python/auth0/__init__.pyi +++ /dev/null @@ -1,3 +0,0 @@ -from auth0.exceptions import Auth0Error, RateLimitError, TokenValidationError - -__all__ = ("Auth0Error", "RateLimitError", "TokenValidationError") diff --git a/stubs/auth0-python/auth0/asyncify.pyi b/stubs/auth0-python/auth0/asyncify.pyi deleted file mode 100644 index c4109958aad6..000000000000 --- a/stubs/auth0-python/auth0/asyncify.pyi +++ /dev/null @@ -1,6 +0,0 @@ -from typing import TypeVar - -_T = TypeVar("_T") - -# See note in stubs/auth0-python/@tests/stubtest_allowlist.txt about _async methods -def asyncify(cls: type[_T]) -> type[_T]: ... diff --git a/stubs/auth0-python/auth0/authentication/__init__.pyi b/stubs/auth0-python/auth0/authentication/__init__.pyi deleted file mode 100644 index 24384af11585..000000000000 --- a/stubs/auth0-python/auth0/authentication/__init__.pyi +++ /dev/null @@ -1,10 +0,0 @@ -from .database import Database -from .delegated import Delegated -from .enterprise import Enterprise -from .get_token import GetToken -from .passwordless import Passwordless -from .revoke_token import RevokeToken -from .social import Social -from .users import Users - -__all__ = ("Database", "Delegated", "Enterprise", "GetToken", "Passwordless", "RevokeToken", "Social", "Users") diff --git a/stubs/auth0-python/auth0/authentication/async_token_verifier.pyi b/stubs/auth0-python/auth0/authentication/async_token_verifier.pyi deleted file mode 100644 index 5b18760b06b2..000000000000 --- a/stubs/auth0-python/auth0/authentication/async_token_verifier.pyi +++ /dev/null @@ -1,24 +0,0 @@ -from _typeshed import Incomplete - -from .token_verifier import AsymmetricSignatureVerifier, JwksFetcher, TokenVerifier - -class AsyncAsymmetricSignatureVerifier(AsymmetricSignatureVerifier): - def __init__(self, jwks_url: str, algorithm: str = "RS256") -> None: ... - def set_session(self, session) -> None: ... - -class AsyncJwksFetcher(JwksFetcher): - def __init__(self, *args, **kwargs) -> None: ... - def set_session(self, session) -> None: ... - async def get_key(self, key_id: str): ... - -class AsyncTokenVerifier(TokenVerifier): - iss: str - aud: str - leeway: int - def __init__( - self, signature_verifier: AsyncAsymmetricSignatureVerifier, issuer: str, audience: str, leeway: int = 0 - ) -> None: ... - def set_session(self, session) -> None: ... - async def verify( # type: ignore[override] # Differs from supertype - self, token: str, nonce: str | None = None, max_age: int | None = None, organization: str | None = None - ) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/authentication/back_channel_login.pyi b/stubs/auth0-python/auth0/authentication/back_channel_login.pyi deleted file mode 100644 index 0f5004a431ad..000000000000 --- a/stubs/auth0-python/auth0/authentication/back_channel_login.pyi +++ /dev/null @@ -1,13 +0,0 @@ -from _typeshed import Incomplete - -from .base import AuthenticationBase - -class BackChannelLogin(AuthenticationBase): - def back_channel_login( - self, - binding_message: str, - login_hint: str, - scope: str, - authorization_details: str | list[dict[str, Incomplete]] | None = None, - **kwargs, - ): ... diff --git a/stubs/auth0-python/auth0/authentication/base.pyi b/stubs/auth0-python/auth0/authentication/base.pyi deleted file mode 100644 index ca603c1dabb3..000000000000 --- a/stubs/auth0-python/auth0/authentication/base.pyi +++ /dev/null @@ -1,30 +0,0 @@ -from _typeshed import Incomplete -from typing import Final - -from auth0.rest import RestClient -from auth0.types import RequestData - -UNKNOWN_ERROR: Final[str] - -class AuthenticationBase: - domain: str - client_id: str - client_secret: str | None - client_assertion_signing_key: str | None - client_assertion_signing_alg: str | None - protocol: str - client: RestClient - def __init__( - self, - domain: str, - client_id: str, - client_secret: str | None = None, - client_assertion_signing_key: str | None = None, - client_assertion_signing_alg: str | None = None, - telemetry: bool = True, - timeout: float | tuple[float, float] = 5.0, - protocol: str = "https", - ) -> None: ... - def post(self, url: str, data: RequestData | None = None, headers: dict[str, str] | None = None): ... - def authenticated_post(self, url: str, data: dict[str, Incomplete], headers: dict[str, str] | None = None): ... - def get(self, url: str, params: dict[str, Incomplete] | None = None, headers: dict[str, str] | None = None): ... diff --git a/stubs/auth0-python/auth0/authentication/client_authentication.pyi b/stubs/auth0-python/auth0/authentication/client_authentication.pyi deleted file mode 100644 index e75647fe00f5..000000000000 --- a/stubs/auth0-python/auth0/authentication/client_authentication.pyi +++ /dev/null @@ -1,13 +0,0 @@ -from _typeshed import Incomplete - -def create_client_assertion_jwt( - domain: str, client_id: str, client_assertion_signing_key: str, client_assertion_signing_alg: str | None -) -> str: ... -def add_client_authentication( - payload: dict[str, Incomplete], - domain: str, - client_id: str, - client_secret: str | None, - client_assertion_signing_key: str | None, - client_assertion_signing_alg: str | None, -) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/authentication/database.pyi b/stubs/auth0-python/auth0/authentication/database.pyi deleted file mode 100644 index f5ed2a558afc..000000000000 --- a/stubs/auth0-python/auth0/authentication/database.pyi +++ /dev/null @@ -1,21 +0,0 @@ -from _typeshed import Incomplete - -from .base import AuthenticationBase - -class Database(AuthenticationBase): - def signup( - self, - email: str, - password: str, - connection: str, - username: str | None = None, - user_metadata: dict[str, Incomplete] | None = None, - given_name: str | None = None, - family_name: str | None = None, - name: str | None = None, - nickname: str | None = None, - picture: str | None = None, - ) -> dict[str, Incomplete]: ... - def change_password( - self, email: str, connection: str, password: str | None = None, organization: str | None = None - ) -> str: ... diff --git a/stubs/auth0-python/auth0/authentication/delegated.pyi b/stubs/auth0-python/auth0/authentication/delegated.pyi deleted file mode 100644 index 5be5035f3ac9..000000000000 --- a/stubs/auth0-python/auth0/authentication/delegated.pyi +++ /dev/null @@ -1,12 +0,0 @@ -from .base import AuthenticationBase - -class Delegated(AuthenticationBase): - def get_token( - self, - target: str, - api_type: str, - grant_type: str, - id_token: str | None = None, - refresh_token: str | None = None, - scope: str = "openid", - ): ... diff --git a/stubs/auth0-python/auth0/authentication/enterprise.pyi b/stubs/auth0-python/auth0/authentication/enterprise.pyi deleted file mode 100644 index 0b205ebdb83f..000000000000 --- a/stubs/auth0-python/auth0/authentication/enterprise.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from .base import AuthenticationBase - -class Enterprise(AuthenticationBase): - def saml_metadata(self): ... - def wsfed_metadata(self): ... diff --git a/stubs/auth0-python/auth0/authentication/get_token.pyi b/stubs/auth0-python/auth0/authentication/get_token.pyi deleted file mode 100644 index 5308543ca245..000000000000 --- a/stubs/auth0-python/auth0/authentication/get_token.pyi +++ /dev/null @@ -1,29 +0,0 @@ -from .base import AuthenticationBase - -class GetToken(AuthenticationBase): - def authorization_code(self, code: str, redirect_uri: str | None, grant_type: str = "authorization_code"): ... - def authorization_code_pkce( - self, code_verifier: str, code: str, redirect_uri: str | None, grant_type: str = "authorization_code" - ): ... - def client_credentials(self, audience: str, grant_type: str = "client_credentials", organization: str | None = None): ... - def login( - self, - username: str, - password: str, - scope: str | None = None, - realm: str | None = None, - audience: str | None = None, - grant_type: str = "http://auth0.com/oauth/grant-type/password-realm", - forwarded_for: str | None = None, - ): ... - def refresh_token(self, refresh_token: str, scope: str = "", grant_type: str = "refresh_token"): ... - def passwordless_login(self, username: str, otp: str, realm: str, scope: str, audience: str): ... - def backchannel_login(self, auth_req_id: str, grant_type: str = "urn:openid:params:grant-type:ciba"): ... - def access_token_for_connection( - self, - subject_token_type: str, - subject_token: str, - requested_token_type: str, - connection: str | None = None, - grant_type: str = ..., - ): ... diff --git a/stubs/auth0-python/auth0/authentication/passwordless.pyi b/stubs/auth0-python/auth0/authentication/passwordless.pyi deleted file mode 100644 index aac13339a26c..000000000000 --- a/stubs/auth0-python/auth0/authentication/passwordless.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from .base import AuthenticationBase - -class Passwordless(AuthenticationBase): - def email(self, email: str, send: str = "link", auth_params: dict[str, str] | None = None): ... - def sms(self, phone_number: str): ... diff --git a/stubs/auth0-python/auth0/authentication/pushed_authorization_requests.pyi b/stubs/auth0-python/auth0/authentication/pushed_authorization_requests.pyi deleted file mode 100644 index 6d0f0193c2ae..000000000000 --- a/stubs/auth0-python/auth0/authentication/pushed_authorization_requests.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from .base import AuthenticationBase - -class PushedAuthorizationRequests(AuthenticationBase): - def pushed_authorization_request(self, response_type: str, redirect_uri: str, **kwargs): ... diff --git a/stubs/auth0-python/auth0/authentication/revoke_token.pyi b/stubs/auth0-python/auth0/authentication/revoke_token.pyi deleted file mode 100644 index 8a26618fdbe7..000000000000 --- a/stubs/auth0-python/auth0/authentication/revoke_token.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from .base import AuthenticationBase - -class RevokeToken(AuthenticationBase): - def revoke_refresh_token(self, token: str): ... diff --git a/stubs/auth0-python/auth0/authentication/social.pyi b/stubs/auth0-python/auth0/authentication/social.pyi deleted file mode 100644 index c17a225c507b..000000000000 --- a/stubs/auth0-python/auth0/authentication/social.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from .base import AuthenticationBase - -class Social(AuthenticationBase): - def login(self, access_token: str, connection: str, scope: str = "openid"): ... diff --git a/stubs/auth0-python/auth0/authentication/token_verifier.pyi b/stubs/auth0-python/auth0/authentication/token_verifier.pyi deleted file mode 100644 index 8ce69a71fa9d..000000000000 --- a/stubs/auth0-python/auth0/authentication/token_verifier.pyi +++ /dev/null @@ -1,27 +0,0 @@ -from _typeshed import Incomplete -from typing import ClassVar - -class SignatureVerifier: - DISABLE_JWT_CHECKS: ClassVar[dict[str, bool]] - def __init__(self, algorithm: str) -> None: ... - async def verify_signature(self, token: str) -> dict[str, Incomplete]: ... - -class SymmetricSignatureVerifier(SignatureVerifier): - def __init__(self, shared_secret: str, algorithm: str = "HS256") -> None: ... - -class JwksFetcher: - CACHE_TTL: ClassVar[int] - def __init__(self, jwks_url: str, cache_ttl: int = 600) -> None: ... - def get_key(self, key_id: str): ... - -class AsymmetricSignatureVerifier(SignatureVerifier): - def __init__(self, jwks_url: str, algorithm: str = "RS256", cache_ttl: int = 600) -> None: ... - -class TokenVerifier: - iss: str - aud: str - leeway: int - def __init__(self, signature_verifier: SignatureVerifier, issuer: str, audience: str, leeway: int = 0) -> None: ... - def verify( - self, token: str, nonce: str | None = None, max_age: int | None = None, organization: str | None = None - ) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/authentication/users.pyi b/stubs/auth0-python/auth0/authentication/users.pyi deleted file mode 100644 index 3484f5f98e78..000000000000 --- a/stubs/auth0-python/auth0/authentication/users.pyi +++ /dev/null @@ -1,11 +0,0 @@ -from _typeshed import Incomplete - -from auth0.rest import RestClient -from auth0.types import TimeoutType - -class Users: - domain: str - protocol: str - client: RestClient - def __init__(self, domain: str, telemetry: bool = True, timeout: TimeoutType = 5.0, protocol: str = "https") -> None: ... - def userinfo(self, access_token: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/exceptions.pyi b/stubs/auth0-python/auth0/exceptions.pyi deleted file mode 100644 index 608d6bb013f7..000000000000 --- a/stubs/auth0-python/auth0/exceptions.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from _typeshed import Incomplete - -class Auth0Error(Exception): - status_code: int - error_code: str - message: str - content: Incomplete | None - def __init__(self, status_code: int, error_code: str, message: str, content=None) -> None: ... - -class RateLimitError(Auth0Error): - reset_at: int - def __init__(self, error_code: str, message: str, reset_at: int) -> None: ... - -class TokenValidationError(Exception): ... diff --git a/stubs/auth0-python/auth0/management/__init__.pyi b/stubs/auth0-python/auth0/management/__init__.pyi deleted file mode 100644 index ef02c99b9d43..000000000000 --- a/stubs/auth0-python/auth0/management/__init__.pyi +++ /dev/null @@ -1,65 +0,0 @@ -from .actions import Actions -from .attack_protection import AttackProtection -from .auth0 import Auth0 -from .blacklists import Blacklists -from .branding import Branding -from .client_credentials import ClientCredentials -from .client_grants import ClientGrants -from .clients import Clients -from .connections import Connections -from .custom_domains import CustomDomains -from .device_credentials import DeviceCredentials -from .email_templates import EmailTemplates -from .emails import Emails -from .grants import Grants -from .guardian import Guardian -from .hooks import Hooks -from .jobs import Jobs -from .log_streams import LogStreams -from .logs import Logs -from .organizations import Organizations -from .resource_servers import ResourceServers -from .roles import Roles -from .rules import Rules -from .rules_configs import RulesConfigs -from .self_service_profiles import SelfServiceProfiles -from .stats import Stats -from .tenants import Tenants -from .tickets import Tickets -from .user_blocks import UserBlocks -from .users import Users -from .users_by_email import UsersByEmail - -__all__ = ( - "Auth0", - "Actions", - "AttackProtection", - "Blacklists", - "Branding", - "ClientCredentials", - "ClientGrants", - "Clients", - "Connections", - "CustomDomains", - "DeviceCredentials", - "EmailTemplates", - "Emails", - "Grants", - "Guardian", - "Hooks", - "Jobs", - "LogStreams", - "Logs", - "Organizations", - "ResourceServers", - "Roles", - "RulesConfigs", - "Rules", - "SelfServiceProfiles", - "Stats", - "Tenants", - "Tickets", - "UserBlocks", - "UsersByEmail", - "Users", -) diff --git a/stubs/auth0-python/auth0/management/actions.pyi b/stubs/auth0-python/auth0/management/actions.pyi deleted file mode 100644 index 8c8179c20c82..000000000000 --- a/stubs/auth0-python/auth0/management/actions.pyi +++ /dev/null @@ -1,64 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Actions: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get_actions( - self, - trigger_id: str | None = None, - action_name: str | None = None, - deployed: bool | None = None, - installed: bool = False, - page: int | None = None, - per_page: int | None = None, - ): ... - async def get_actions_async( - self, - trigger_id: str | None = None, - action_name: str | None = None, - deployed: bool | None = None, - installed: bool = False, - page: int | None = None, - per_page: int | None = None, - ): ... - def create_action(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_action_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_action(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_action_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_action(self, id: str) -> dict[str, Incomplete]: ... - async def get_action_async(self, id: str) -> dict[str, Incomplete]: ... - def delete_action(self, id: str, force: bool = False): ... - async def delete_action_async(self, id: str, force: bool = False): ... - def get_triggers(self) -> dict[str, Incomplete]: ... - async def get_triggers_async(self) -> dict[str, Incomplete]: ... - def get_execution(self, id: str) -> dict[str, Incomplete]: ... - async def get_execution_async(self, id: str) -> dict[str, Incomplete]: ... - def get_action_versions(self, id: str, page: int | None = None, per_page: int | None = None) -> dict[str, Incomplete]: ... - async def get_action_versions_async( - self, id: str, page: int | None = None, per_page: int | None = None - ) -> dict[str, Incomplete]: ... - def get_trigger_bindings(self, id: str, page: int | None = None, per_page: int | None = None) -> dict[str, Incomplete]: ... - async def get_trigger_bindings_async( - self, id: str, page: int | None = None, per_page: int | None = None - ) -> dict[str, Incomplete]: ... - def get_action_version(self, action_id: str, version_id: str) -> dict[str, Incomplete]: ... - async def get_action_version_async(self, action_id: str, version_id: str) -> dict[str, Incomplete]: ... - def deploy_action(self, id: str) -> dict[str, Incomplete]: ... - async def deploy_action_async(self, id: str) -> dict[str, Incomplete]: ... - def rollback_action_version(self, action_id: str, version_id: str) -> dict[str, Incomplete]: ... - async def rollback_action_version_async(self, action_id: str, version_id: str) -> dict[str, Incomplete]: ... - def update_trigger_bindings(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_trigger_bindings_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/async_auth0.pyi b/stubs/auth0-python/auth0/management/async_auth0.pyi deleted file mode 100644 index f73b2a97fbd7..000000000000 --- a/stubs/auth0-python/auth0/management/async_auth0.pyi +++ /dev/null @@ -1,76 +0,0 @@ -from types import TracebackType -from typing_extensions import Self - -from auth0.rest import RestClientOptions - -from .actions import Actions -from .attack_protection import AttackProtection -from .blacklists import Blacklists -from .branding import Branding -from .client_credentials import ClientCredentials -from .client_grants import ClientGrants -from .clients import Clients -from .connections import Connections -from .custom_domains import CustomDomains -from .device_credentials import DeviceCredentials -from .email_templates import EmailTemplates -from .emails import Emails -from .grants import Grants -from .guardian import Guardian -from .hooks import Hooks -from .jobs import Jobs -from .log_streams import LogStreams -from .logs import Logs -from .organizations import Organizations -from .prompts import Prompts -from .resource_servers import ResourceServers -from .roles import Roles -from .rules import Rules -from .rules_configs import RulesConfigs -from .stats import Stats -from .tenants import Tenants -from .tickets import Tickets -from .user_blocks import UserBlocks -from .users import Users -from .users_by_email import UsersByEmail - -class AsyncAuth0: - def __init__(self, domain: str, token: str, rest_options: RestClientOptions | None = None) -> None: ... - def set_session(self, session) -> None: ... - async def __aenter__(self) -> Self: ... - async def __aexit__( - self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None - ) -> None: ... - - # Same attributes as Auth0 - # See note in stubs/auth0-python/@tests/stubtest_allowlist.txt about _async methods - actions: Actions - attack_protection: AttackProtection - blacklists: Blacklists - branding: Branding - client_credentials: ClientCredentials - client_grants: ClientGrants - clients: Clients - connections: Connections - custom_domains: CustomDomains - device_credentials: DeviceCredentials - email_templates: EmailTemplates - emails: Emails - grants: Grants - guardian: Guardian - hooks: Hooks - jobs: Jobs - log_streams: LogStreams - logs: Logs - organizations: Organizations - prompts: Prompts - resource_servers: ResourceServers - roles: Roles - rules_configs: RulesConfigs - rules: Rules - stats: Stats - tenants: Tenants - tickets: Tickets - user_blocks: UserBlocks - users_by_email: UsersByEmail - users: Users diff --git a/stubs/auth0-python/auth0/management/attack_protection.pyi b/stubs/auth0-python/auth0/management/attack_protection.pyi deleted file mode 100644 index d87701e522c7..000000000000 --- a/stubs/auth0-python/auth0/management/attack_protection.pyi +++ /dev/null @@ -1,30 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class AttackProtection: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get_breached_password_detection(self) -> dict[str, Incomplete]: ... - async def get_breached_password_detection_async(self) -> dict[str, Incomplete]: ... - def update_breached_password_detection(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_breached_password_detection_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_brute_force_protection(self) -> dict[str, Incomplete]: ... - async def get_brute_force_protection_async(self) -> dict[str, Incomplete]: ... - def update_brute_force_protection(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_brute_force_protection_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_suspicious_ip_throttling(self) -> dict[str, Incomplete]: ... - async def get_suspicious_ip_throttling_async(self) -> dict[str, Incomplete]: ... - def update_suspicious_ip_throttling(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_suspicious_ip_throttling_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/auth0.pyi b/stubs/auth0-python/auth0/management/auth0.pyi deleted file mode 100644 index 817d1700cc93..000000000000 --- a/stubs/auth0-python/auth0/management/auth0.pyi +++ /dev/null @@ -1,67 +0,0 @@ -from auth0.rest import RestClientOptions - -from .actions import Actions -from .attack_protection import AttackProtection -from .blacklists import Blacklists -from .branding import Branding -from .client_credentials import ClientCredentials -from .client_grants import ClientGrants -from .clients import Clients -from .connections import Connections -from .custom_domains import CustomDomains -from .device_credentials import DeviceCredentials -from .email_templates import EmailTemplates -from .emails import Emails -from .grants import Grants -from .guardian import Guardian -from .hooks import Hooks -from .jobs import Jobs -from .log_streams import LogStreams -from .logs import Logs -from .organizations import Organizations -from .prompts import Prompts -from .resource_servers import ResourceServers -from .roles import Roles -from .rules import Rules -from .rules_configs import RulesConfigs -from .self_service_profiles import SelfServiceProfiles -from .stats import Stats -from .tenants import Tenants -from .tickets import Tickets -from .user_blocks import UserBlocks -from .users import Users -from .users_by_email import UsersByEmail - -class Auth0: - actions: Actions - attack_protection: AttackProtection - blacklists: Blacklists - branding: Branding - client_credentials: ClientCredentials - client_grants: ClientGrants - clients: Clients - connections: Connections - custom_domains: CustomDomains - device_credentials: DeviceCredentials - email_templates: EmailTemplates - emails: Emails - grants: Grants - guardian: Guardian - hooks: Hooks - jobs: Jobs - log_streams: LogStreams - logs: Logs - organizations: Organizations - prompts: Prompts - resource_servers: ResourceServers - roles: Roles - rules_configs: RulesConfigs - rules: Rules - self_service_profiles: SelfServiceProfiles - stats: Stats - tenants: Tenants - tickets: Tickets - user_blocks: UserBlocks - users_by_email: UsersByEmail - users: Users - def __init__(self, domain: str, token: str, rest_options: RestClientOptions | None = None) -> None: ... diff --git a/stubs/auth0-python/auth0/management/blacklists.pyi b/stubs/auth0-python/auth0/management/blacklists.pyi deleted file mode 100644 index b2793ec1272d..000000000000 --- a/stubs/auth0-python/auth0/management/blacklists.pyi +++ /dev/null @@ -1,21 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Blacklists: - url: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self, aud: str | None = None) -> list[dict[str, str]]: ... - async def get_async(self, aud: str | None = None) -> list[dict[str, str]]: ... - def create(self, jti: str, aud: str | None = None) -> dict[str, str]: ... - async def create_async(self, jti: str, aud: str | None = None) -> dict[str, str]: ... diff --git a/stubs/auth0-python/auth0/management/branding.pyi b/stubs/auth0-python/auth0/management/branding.pyi deleted file mode 100644 index 8350d1a8267f..000000000000 --- a/stubs/auth0-python/auth0/management/branding.pyi +++ /dev/null @@ -1,38 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Branding: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self) -> dict[str, Incomplete]: ... - async def get_async(self) -> dict[str, Incomplete]: ... - def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_template_universal_login(self) -> dict[str, Incomplete]: ... - async def get_template_universal_login_async(self) -> dict[str, Incomplete]: ... - def delete_template_universal_login(self): ... - async def delete_template_universal_login_async(self): ... - def update_template_universal_login(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_template_universal_login_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_default_branding_theme(self) -> dict[str, Incomplete]: ... - async def get_default_branding_theme_async(self) -> dict[str, Incomplete]: ... - def get_branding_theme(self, theme_id: str) -> dict[str, Incomplete]: ... - async def get_branding_theme_async(self, theme_id: str) -> dict[str, Incomplete]: ... - def delete_branding_theme(self, theme_id: str): ... - async def delete_branding_theme_async(self, theme_id: str): ... - def update_branding_theme(self, theme_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_branding_theme_async(self, theme_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def create_branding_theme(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_branding_theme_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/client_credentials.pyi b/stubs/auth0-python/auth0/management/client_credentials.pyi deleted file mode 100644 index 107534317423..000000000000 --- a/stubs/auth0-python/auth0/management/client_credentials.pyi +++ /dev/null @@ -1,26 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class ClientCredentials: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all(self, client_id: str) -> list[dict[str, Incomplete]]: ... - async def all_async(self, client_id: str) -> list[dict[str, Incomplete]]: ... - def get(self, client_id: str, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, client_id: str, id: str) -> dict[str, Incomplete]: ... - def create(self, client_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, client_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete(self, client_id: str, id: str) -> dict[str, Incomplete]: ... - async def delete_async(self, client_id: str, id: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/client_grants.pyi b/stubs/auth0-python/auth0/management/client_grants.pyi deleted file mode 100644 index 1938b8c2f29c..000000000000 --- a/stubs/auth0-python/auth0/management/client_grants.pyi +++ /dev/null @@ -1,60 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class ClientGrants: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - audience: str | None = None, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - client_id: str | None = None, - allow_any_organization: bool | None = None, - ) -> dict[str, Incomplete]: ... - async def all_async( - self, - audience: str | None = None, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - client_id: str | None = None, - allow_any_organization: bool | None = None, - ) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_organizations( - self, - id: str, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... - async def get_organizations_async( - self, - id: str, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/clients.pyi b/stubs/auth0-python/auth0/management/clients.pyi deleted file mode 100644 index 21358fc59ddf..000000000000 --- a/stubs/auth0-python/auth0/management/clients.pyi +++ /dev/null @@ -1,44 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Clients: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - extra_params: dict[str, Incomplete] | None = None, - ) -> list[dict[str, Incomplete]]: ... - async def all_async( - self, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - extra_params: dict[str, Incomplete] | None = None, - ) -> list[dict[str, Incomplete]]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def rotate_secret(self, id: str) -> dict[str, Incomplete]: ... - async def rotate_secret_async(self, id: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/connections.pyi b/stubs/auth0-python/auth0/management/connections.pyi deleted file mode 100644 index 69caf1afa4ee..000000000000 --- a/stubs/auth0-python/auth0/management/connections.pyi +++ /dev/null @@ -1,48 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Connections: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - strategy: str | None = None, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - extra_params: dict[str, Incomplete] | None = None, - name: str | None = None, - ) -> list[dict[str, Incomplete]]: ... - async def all_async( - self, - strategy: str | None = None, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - extra_params: dict[str, Incomplete] | None = None, - name: str | None = None, - ) -> list[dict[str, Incomplete]]: ... - def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete_user_by_email(self, id: str, email: str): ... - async def delete_user_by_email_async(self, id: str, email: str): ... diff --git a/stubs/auth0-python/auth0/management/custom_domains.pyi b/stubs/auth0-python/auth0/management/custom_domains.pyi deleted file mode 100644 index e6e05a81e5cc..000000000000 --- a/stubs/auth0-python/auth0/management/custom_domains.pyi +++ /dev/null @@ -1,28 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class CustomDomains: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all(self) -> list[dict[str, Incomplete]]: ... - async def all_async(self) -> list[dict[str, Incomplete]]: ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def create_new(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_new_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def verify(self, id: str) -> dict[str, Incomplete]: ... - async def verify_async(self, id: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/device_credentials.pyi b/stubs/auth0-python/auth0/management/device_credentials.pyi deleted file mode 100644 index a89bfa418fe0..000000000000 --- a/stubs/auth0-python/auth0/management/device_credentials.pyi +++ /dev/null @@ -1,44 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class DeviceCredentials: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get( - self, - user_id: str, - client_id: str, - type: str, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ): ... - async def get_async( - self, - user_id: str, - client_id: str, - type: str, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ): ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... diff --git a/stubs/auth0-python/auth0/management/email_templates.pyi b/stubs/auth0-python/auth0/management/email_templates.pyi deleted file mode 100644 index 17e9b9c6c11d..000000000000 --- a/stubs/auth0-python/auth0/management/email_templates.pyi +++ /dev/null @@ -1,24 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class EmailTemplates: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, template_name: str) -> dict[str, Incomplete]: ... - async def get_async(self, template_name: str) -> dict[str, Incomplete]: ... - def update(self, template_name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, template_name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/emails.pyi b/stubs/auth0-python/auth0/management/emails.pyi deleted file mode 100644 index 24421140bd5b..000000000000 --- a/stubs/auth0-python/auth0/management/emails.pyi +++ /dev/null @@ -1,26 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Emails: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - def config(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def config_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete(self): ... - async def delete_async(self): ... - def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/grants.pyi b/stubs/auth0-python/auth0/management/grants.pyi deleted file mode 100644 index 7354186fd494..000000000000 --- a/stubs/auth0-python/auth0/management/grants.pyi +++ /dev/null @@ -1,34 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Grants: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - extra_params: dict[str, Incomplete] | None = None, - ): ... - async def all_async( - self, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - extra_params: dict[str, Incomplete] | None = None, - ): ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... diff --git a/stubs/auth0-python/auth0/management/guardian.pyi b/stubs/auth0-python/auth0/management/guardian.pyi deleted file mode 100644 index 4614fb344f4c..000000000000 --- a/stubs/auth0-python/auth0/management/guardian.pyi +++ /dev/null @@ -1,38 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Guardian: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all_factors(self) -> list[dict[str, Incomplete]]: ... - async def all_factors_async(self) -> list[dict[str, Incomplete]]: ... - def update_factor(self, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_factor_async(self, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_templates(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_templates_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_templates(self) -> dict[str, Incomplete]: ... - async def get_templates_async(self) -> dict[str, Incomplete]: ... - def get_enrollment(self, id: str) -> dict[str, Incomplete]: ... - async def get_enrollment_async(self, id: str) -> dict[str, Incomplete]: ... - def delete_enrollment(self, id: str): ... - async def delete_enrollment_async(self, id: str): ... - def create_enrollment_ticket(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_enrollment_ticket_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_factor_providers(self, factor_name: str, name: str) -> dict[str, Incomplete]: ... - async def get_factor_providers_async(self, factor_name: str, name: str) -> dict[str, Incomplete]: ... - def update_factor_providers(self, factor_name: str, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_factor_providers_async( - self, factor_name: str, name: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/hooks.pyi b/stubs/auth0-python/auth0/management/hooks.pyi deleted file mode 100644 index 18d7f5c63e9a..000000000000 --- a/stubs/auth0-python/auth0/management/hooks.pyi +++ /dev/null @@ -1,52 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Hooks: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - enabled: bool = True, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ): ... - async def all_async( - self, - enabled: bool = True, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ): ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, id: str, fields: list[str] | None = None) -> dict[str, Incomplete]: ... - async def get_async(self, id: str, fields: list[str] | None = None) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_secrets(self, id: str) -> dict[str, Incomplete]: ... - async def get_secrets_async(self, id: str) -> dict[str, Incomplete]: ... - def add_secrets(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def add_secrets_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete_secrets(self, id: str, body: list[str]): ... - async def delete_secrets_async(self, id: str, body: list[str]): ... - def update_secrets(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_secrets_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/jobs.pyi b/stubs/auth0-python/auth0/management/jobs.pyi deleted file mode 100644 index bd55f89399f3..000000000000 --- a/stubs/auth0-python/auth0/management/jobs.pyi +++ /dev/null @@ -1,42 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Jobs: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def get_failed_job(self, id: str) -> dict[str, Incomplete]: ... - async def get_failed_job_async(self, id: str) -> dict[str, Incomplete]: ... - def export_users(self, body: dict[str, Incomplete]): ... - async def export_users_async(self, body: dict[str, Incomplete]): ... - def import_users( - self, - connection_id: str, - file_obj, - upsert: bool = False, - send_completion_email: bool = True, - external_id: str | None = None, - ) -> dict[str, Incomplete]: ... - async def import_users_async( - self, - connection_id: str, - file_obj, - upsert: bool = False, - send_completion_email: bool = True, - external_id: str | None = None, - ) -> dict[str, Incomplete]: ... - def send_verification_email(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def send_verification_email_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/log_streams.pyi b/stubs/auth0-python/auth0/management/log_streams.pyi deleted file mode 100644 index 9990a570ee3a..000000000000 --- a/stubs/auth0-python/auth0/management/log_streams.pyi +++ /dev/null @@ -1,29 +0,0 @@ -from _typeshed import Incomplete -from builtins import list as _list - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class LogStreams: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def list(self) -> _list[dict[str, Incomplete]]: ... - async def list_async(self) -> _list[dict[str, Incomplete]]: ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete(self, id: str) -> dict[str, Incomplete]: ... - async def delete_async(self, id: str) -> dict[str, Incomplete]: ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/logs.pyi b/stubs/auth0-python/auth0/management/logs.pyi deleted file mode 100644 index 800778d2dbf5..000000000000 --- a/stubs/auth0-python/auth0/management/logs.pyi +++ /dev/null @@ -1,44 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Logs: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def search( - self, - page: int = 0, - per_page: int = 50, - sort: str | None = None, - q: str | None = None, - include_totals: bool = True, - fields: list[str] | None = None, - from_param: str | None = None, - take: int | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - async def search_async( - self, - page: int = 0, - per_page: int = 50, - sort: str | None = None, - q: str | None = None, - include_totals: bool = True, - fields: list[str] | None = None, - from_param: str | None = None, - take: int | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/organizations.pyi b/stubs/auth0-python/auth0/management/organizations.pyi deleted file mode 100644 index eb750ff79fd0..000000000000 --- a/stubs/auth0-python/auth0/management/organizations.pyi +++ /dev/null @@ -1,134 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Organizations: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all_organizations( - self, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... - async def all_organizations_async( - self, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... - def get_organization_by_name(self, name: str | None = None) -> dict[str, Incomplete]: ... - async def get_organization_by_name_async(self, name: str | None = None) -> dict[str, Incomplete]: ... - def get_organization(self, id: str) -> dict[str, Incomplete]: ... - async def get_organization_async(self, id: str) -> dict[str, Incomplete]: ... - def create_organization(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_organization_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_organization(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_organization_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete_organization(self, id: str): ... - async def delete_organization_async(self, id: str): ... - def all_organization_connections( - self, id: str, page: int | None = None, per_page: int | None = None - ) -> list[dict[str, Incomplete]]: ... - async def all_organization_connections_async( - self, id: str, page: int | None = None, per_page: int | None = None - ) -> list[dict[str, Incomplete]]: ... - def get_organization_connection(self, id: str, connection_id: str) -> dict[str, Incomplete]: ... - async def get_organization_connection_async(self, id: str, connection_id: str) -> dict[str, Incomplete]: ... - def create_organization_connection(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_organization_connection_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_organization_connection( - self, id: str, connection_id: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - async def update_organization_connection_async( - self, id: str, connection_id: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - def delete_organization_connection(self, id: str, connection_id: str): ... - async def delete_organization_connection_async(self, id: str, connection_id: str): ... - def all_organization_members( - self, - id: str, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - fields: list[str] | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - async def all_organization_members_async( - self, - id: str, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - fields: list[str] | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - def create_organization_members(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_organization_members_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete_organization_members(self, id: str, body: dict[str, Incomplete]): ... - async def delete_organization_members_async(self, id: str, body: dict[str, Incomplete]): ... - def all_organization_member_roles( - self, id: str, user_id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False - ) -> list[dict[str, Incomplete]]: ... - async def all_organization_member_roles_async( - self, id: str, user_id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False - ) -> list[dict[str, Incomplete]]: ... - def create_organization_member_roles(self, id: str, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_organization_member_roles_async( - self, id: str, user_id: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - def delete_organization_member_roles(self, id: str, user_id: str, body: dict[str, Incomplete]): ... - async def delete_organization_member_roles_async(self, id: str, user_id: str, body: dict[str, Incomplete]): ... - def all_organization_invitations( - self, id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False - ) -> dict[str, Incomplete]: ... - async def all_organization_invitations_async( - self, id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False - ) -> dict[str, Incomplete]: ... - def get_organization_invitation(self, id: str, invitaton_id: str) -> dict[str, Incomplete]: ... - async def get_organization_invitation_async(self, id: str, invitaton_id: str) -> dict[str, Incomplete]: ... - def create_organization_invitation(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_organization_invitation_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def delete_organization_invitation(self, id: str, invitation_id: str): ... - async def delete_organization_invitation_async(self, id: str, invitation_id: str): ... - def get_client_grants( - self, - id: str, - audience: str | None = None, - client_id: str | None = None, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ) -> dict[str, Incomplete]: ... - async def get_client_grants_async( - self, - id: str, - audience: str | None = None, - client_id: str | None = None, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ) -> dict[str, Incomplete]: ... - def add_client_grant(self, id: str, grant_id: str) -> dict[str, Incomplete]: ... - async def add_client_grant_async(self, id: str, grant_id: str) -> dict[str, Incomplete]: ... - def delete_client_grant(self, id: str, grant_id: str) -> dict[str, Incomplete]: ... - async def delete_client_grant_async(self, id: str, grant_id: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/prompts.pyi b/stubs/auth0-python/auth0/management/prompts.pyi deleted file mode 100644 index 5b11913678f4..000000000000 --- a/stubs/auth0-python/auth0/management/prompts.pyi +++ /dev/null @@ -1,28 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Prompts: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self) -> dict[str, Incomplete]: ... - async def get_async(self) -> dict[str, Incomplete]: ... - def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_custom_text(self, prompt: str, language: str): ... - async def get_custom_text_async(self, prompt: str, language: str): ... - def update_custom_text(self, prompt: str, language: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_custom_text_async( - self, prompt: str, language: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/resource_servers.pyi b/stubs/auth0-python/auth0/management/resource_servers.pyi deleted file mode 100644 index cb8e175b34dd..000000000000 --- a/stubs/auth0-python/auth0/management/resource_servers.pyi +++ /dev/null @@ -1,28 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class ResourceServers: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_all(self, page: int | None = None, per_page: int | None = None, include_totals: bool = False): ... - async def get_all_async(self, page: int | None = None, per_page: int | None = None, include_totals: bool = False): ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/roles.pyi b/stubs/auth0-python/auth0/management/roles.pyi deleted file mode 100644 index 5c288c09a5da..000000000000 --- a/stubs/auth0-python/auth0/management/roles.pyi +++ /dev/null @@ -1,63 +0,0 @@ -from _typeshed import Incomplete -from builtins import list as _list - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Roles: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def list( - self, page: int = 0, per_page: int = 25, include_totals: bool = True, name_filter: str | None = None - ) -> dict[str, Incomplete]: ... - async def list_async( - self, page: int = 0, per_page: int = 25, include_totals: bool = True, name_filter: str | None = None - ) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def list_users( - self, - id: str, - page: int = 0, - per_page: int = 25, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... - async def list_users_async( - self, - id: str, - page: int = 0, - per_page: int = 25, - include_totals: bool = True, - from_param: str | None = None, - take: int | None = None, - ) -> dict[str, Incomplete]: ... - def add_users(self, id: str, users: _list[str]) -> dict[str, Incomplete]: ... - async def add_users_async(self, id: str, users: _list[str]) -> dict[str, Incomplete]: ... - def list_permissions( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - async def list_permissions_async( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - def remove_permissions(self, id: str, permissions: _list[dict[str, str]]): ... - async def remove_permissions_async(self, id: str, permissions: _list[dict[str, str]]): ... - def add_permissions(self, id: str, permissions: _list[dict[str, str]]) -> dict[str, Incomplete]: ... - async def add_permissions_async(self, id: str, permissions: _list[dict[str, str]]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/rules.pyi b/stubs/auth0-python/auth0/management/rules.pyi deleted file mode 100644 index 6cee7f6e151d..000000000000 --- a/stubs/auth0-python/auth0/management/rules.pyi +++ /dev/null @@ -1,46 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Rules: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all( - self, - stage: str = "login_success", - enabled: bool = True, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ) -> dict[str, Incomplete]: ... - async def all_async( - self, - stage: str = "login_success", - enabled: bool = True, - fields: list[str] | None = None, - include_fields: bool = True, - page: int | None = None, - per_page: int | None = None, - include_totals: bool = False, - ) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/rules_configs.pyi b/stubs/auth0-python/auth0/management/rules_configs.pyi deleted file mode 100644 index 5f2f361d5f46..000000000000 --- a/stubs/auth0-python/auth0/management/rules_configs.pyi +++ /dev/null @@ -1,24 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class RulesConfigs: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all(self) -> list[dict[str, Incomplete]]: ... - async def all_async(self) -> list[dict[str, Incomplete]]: ... - def unset(self, key: str): ... - async def unset_async(self, key: str): ... - def set(self, key: str, value: str) -> dict[str, Incomplete]: ... - async def set_async(self, key: str, value: str) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/self_service_profiles.pyi b/stubs/auth0-python/auth0/management/self_service_profiles.pyi deleted file mode 100644 index e75e2a098844..000000000000 --- a/stubs/auth0-python/auth0/management/self_service_profiles.pyi +++ /dev/null @@ -1,26 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class SelfServiceProfiles: - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def all(self, page: int = 0, per_page: int = 25, include_totals: bool = True) -> list[dict[str, Incomplete]]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, profile_id: str) -> dict[str, Incomplete]: ... - def delete(self, profile_id: str) -> None: ... - def update(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get_custom_text(self, profile_id: str, language: str, page: str) -> dict[str, Incomplete]: ... - def update_custom_text( - self, profile_id: str, language: str, page: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - def create_sso_ticket(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def revoke_sso_ticket(self, profile_id: str, ticket_id: str) -> None: ... diff --git a/stubs/auth0-python/auth0/management/stats.pyi b/stubs/auth0-python/auth0/management/stats.pyi deleted file mode 100644 index 3cff2985672c..000000000000 --- a/stubs/auth0-python/auth0/management/stats.pyi +++ /dev/null @@ -1,24 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Stats: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def active_users(self) -> int: ... - async def active_users_async(self) -> int: ... - def daily_stats(self, from_date: str | None = None, to_date: str | None = None) -> list[dict[str, Incomplete]]: ... - async def daily_stats_async( - self, from_date: str | None = None, to_date: str | None = None - ) -> list[dict[str, Incomplete]]: ... diff --git a/stubs/auth0-python/auth0/management/tenants.pyi b/stubs/auth0-python/auth0/management/tenants.pyi deleted file mode 100644 index 3df24bf63374..000000000000 --- a/stubs/auth0-python/auth0/management/tenants.pyi +++ /dev/null @@ -1,22 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Tenants: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/tickets.pyi b/stubs/auth0-python/auth0/management/tickets.pyi deleted file mode 100644 index 4c0dfaf2c879..000000000000 --- a/stubs/auth0-python/auth0/management/tickets.pyi +++ /dev/null @@ -1,22 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Tickets: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def create_email_verification(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_email_verification_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def create_pswd_change(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_pswd_change_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... diff --git a/stubs/auth0-python/auth0/management/user_blocks.pyi b/stubs/auth0-python/auth0/management/user_blocks.pyi deleted file mode 100644 index f6dbb555097f..000000000000 --- a/stubs/auth0-python/auth0/management/user_blocks.pyi +++ /dev/null @@ -1,26 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class UserBlocks: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def get_by_identifier(self, identifier: str) -> dict[str, Incomplete]: ... - async def get_by_identifier_async(self, identifier: str) -> dict[str, Incomplete]: ... - def unblock_by_identifier(self, identifier: dict[str, Incomplete]): ... - async def unblock_by_identifier_async(self, identifier: dict[str, Incomplete]): ... - def get(self, id: str) -> dict[str, Incomplete]: ... - async def get_async(self, id: str) -> dict[str, Incomplete]: ... - def unblock(self, id: str): ... - async def unblock_async(self, id: str): ... diff --git a/stubs/auth0-python/auth0/management/users.pyi b/stubs/auth0-python/auth0/management/users.pyi deleted file mode 100644 index 2a744f2db6fe..000000000000 --- a/stubs/auth0-python/auth0/management/users.pyi +++ /dev/null @@ -1,119 +0,0 @@ -from _typeshed import Incomplete -from builtins import list as _list - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class Users: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def list( - self, - page: int = 0, - per_page: int = 25, - sort: str | None = None, - connection: str | None = None, - q: str | None = None, - search_engine: str | None = None, - include_totals: bool = True, - fields: _list[str] | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - async def list_async( - self, - page: int = 0, - per_page: int = 25, - sort: str | None = None, - connection: str | None = None, - q: str | None = None, - search_engine: str | None = None, - include_totals: bool = True, - fields: _list[str] | None = None, - include_fields: bool = True, - ) -> dict[str, Incomplete]: ... - def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def get(self, id: str, fields: _list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ... - async def get_async( - self, id: str, fields: _list[str] | None = None, include_fields: bool = True - ) -> dict[str, Incomplete]: ... - def delete(self, id: str): ... - async def delete_async(self, id: str): ... - def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def list_organizations( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - async def list_organizations_async( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - def list_roles(self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True) -> dict[str, Incomplete]: ... - async def list_roles_async( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - def remove_roles(self, id: str, roles: _list[str]): ... - async def remove_roles_async(self, id: str, roles: _list[str]): ... - def add_roles(self, id: str, roles: _list[str]) -> dict[str, Incomplete]: ... - async def add_roles_async(self, id: str, roles: _list[str]) -> dict[str, Incomplete]: ... - def list_permissions( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - async def list_permissions_async( - self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True - ) -> dict[str, Incomplete]: ... - def remove_permissions(self, id: str, permissions: _list[str]): ... - async def remove_permissions_async(self, id: str, permissions: _list[str]): ... - def add_permissions(self, id: str, permissions: _list[str]) -> dict[str, Incomplete]: ... - async def add_permissions_async(self, id: str, permissions: _list[str]) -> dict[str, Incomplete]: ... - def delete_multifactor(self, id: str, provider: str): ... - async def delete_multifactor_async(self, id: str, provider: str): ... - def delete_authenticators(self, id: str): ... - async def delete_authenticators_async(self, id: str): ... - def unlink_user_account(self, id: str, provider: str, user_id: str): ... - async def unlink_user_account_async(self, id: str, provider: str, user_id: str): ... - def link_user_account(self, user_id: str, body: dict[str, Incomplete]) -> _list[dict[str, Incomplete]]: ... - async def link_user_account_async(self, user_id: str, body: dict[str, Incomplete]) -> _list[dict[str, Incomplete]]: ... - def regenerate_recovery_code(self, user_id: str) -> dict[str, Incomplete]: ... - async def regenerate_recovery_code_async(self, user_id: str) -> dict[str, Incomplete]: ... - def get_guardian_enrollments(self, user_id: str) -> dict[str, Incomplete]: ... - async def get_guardian_enrollments_async(self, user_id: str) -> dict[str, Incomplete]: ... - def get_log_events( - self, user_id: str, page: int = 0, per_page: int = 50, sort: str | None = None, include_totals: bool = False - ) -> dict[str, Incomplete]: ... - async def get_log_events_async( - self, user_id: str, page: int = 0, per_page: int = 50, sort: str | None = None, include_totals: bool = False - ) -> dict[str, Incomplete]: ... - def invalidate_remembered_browsers(self, user_id: str) -> dict[str, Incomplete]: ... - async def invalidate_remembered_browsers_async(self, user_id: str) -> dict[str, Incomplete]: ... - def get_authentication_methods(self, user_id: str) -> dict[str, Incomplete]: ... - async def get_authentication_methods_async(self, user_id: str) -> dict[str, Incomplete]: ... - def get_authentication_method_by_id(self, user_id: str, authentication_method_id: str) -> dict[str, Incomplete]: ... - async def get_authentication_method_by_id_async( - self, user_id: str, authentication_method_id: str - ) -> dict[str, Incomplete]: ... - def create_authentication_method(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def create_authentication_method_async(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_authentication_methods(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - async def update_authentication_methods_async(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... - def update_authentication_method_by_id( - self, user_id: str, authentication_method_id: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - async def update_authentication_method_by_id_async( - self, user_id: str, authentication_method_id: str, body: dict[str, Incomplete] - ) -> dict[str, Incomplete]: ... - def delete_authentication_methods(self, user_id: str): ... - async def delete_authentication_methods_async(self, user_id: str): ... - def delete_authentication_method_by_id(self, user_id: str, authentication_method_id: str): ... - async def delete_authentication_method_by_id_async(self, user_id: str, authentication_method_id: str): ... - def list_tokensets(self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True): ... - def delete_tokenset_by_id(self, user_id: str, tokenset_id: str): ... diff --git a/stubs/auth0-python/auth0/management/users_by_email.pyi b/stubs/auth0-python/auth0/management/users_by_email.pyi deleted file mode 100644 index 34b166a046cb..000000000000 --- a/stubs/auth0-python/auth0/management/users_by_email.pyi +++ /dev/null @@ -1,24 +0,0 @@ -from _typeshed import Incomplete - -from ..rest import RestClientOptions -from ..types import TimeoutType - -class UsersByEmail: - domain: Incomplete - protocol: Incomplete - client: Incomplete - def __init__( - self, - domain: str, - token: str, - telemetry: bool = True, - timeout: TimeoutType = 5.0, - protocol: str = "https", - rest_options: RestClientOptions | None = None, - ) -> None: ... - def search_users_by_email( - self, email: str, fields: list[str] | None = None, include_fields: bool = True - ) -> list[dict[str, Incomplete]]: ... - async def search_users_by_email_async( - self, email: str, fields: list[str] | None = None, include_fields: bool = True - ) -> list[dict[str, Incomplete]]: ... diff --git a/stubs/auth0-python/auth0/rest.pyi b/stubs/auth0-python/auth0/rest.pyi deleted file mode 100644 index 474716ed553b..000000000000 --- a/stubs/auth0-python/auth0/rest.pyi +++ /dev/null @@ -1,48 +0,0 @@ -from _typeshed import Incomplete -from collections.abc import Mapping -from typing import Final - -import requests -from auth0.rest_async import RequestsResponse -from auth0.types import RequestData, TimeoutType - -UNKNOWN_ERROR: Final[str] - -class RestClientOptions: - telemetry: bool - timeout: TimeoutType - retries: int - def __init__(self, telemetry: bool = True, timeout: TimeoutType = 5.0, retries: int = 3) -> None: ... - -class RestClient: - options: RestClientOptions - jwt: str | None - base_headers: dict[str, str] - telemetry: bool - timeout: TimeoutType - def __init__( - self, jwt: str | None, telemetry: bool = True, timeout: TimeoutType = 5.0, options: RestClientOptions | None = None - ) -> None: ... - def MAX_REQUEST_RETRIES(self) -> int: ... - def MAX_REQUEST_RETRY_JITTER(self) -> int: ... - def MAX_REQUEST_RETRY_DELAY(self) -> int: ... - def MIN_REQUEST_RETRY_DELAY(self) -> int: ... - def get(self, url: str, params: dict[str, Incomplete] | None = None, headers: dict[str, str] | None = None): ... - def post(self, url: str, data: RequestData | None = None, headers: dict[str, str] | None = None): ... - def file_post(self, url: str, data: RequestData | None = None, files: dict[str, Incomplete] | None = None): ... - def patch(self, url: str, data: RequestData | None = None): ... - def put(self, url: str, data: RequestData | None = None): ... - def delete(self, url: str, params: dict[str, Incomplete] | None = None, data: RequestData | None = None): ... - -class Response: - def __init__(self, status_code: int, content, headers: Mapping[str, str]) -> None: ... - def content(self): ... - -class JsonResponse(Response): - def __init__(self, response: requests.Response | RequestsResponse) -> None: ... - -class PlainResponse(Response): - def __init__(self, response: requests.Response | RequestsResponse) -> None: ... - -class EmptyResponse(Response): - def __init__(self, status_code: int) -> None: ... diff --git a/stubs/auth0-python/auth0/rest_async.pyi b/stubs/auth0-python/auth0/rest_async.pyi deleted file mode 100644 index 56dc43e76804..000000000000 --- a/stubs/auth0-python/auth0/rest_async.pyi +++ /dev/null @@ -1,23 +0,0 @@ -from _typeshed import Incomplete - -from auth0.types import RequestData - -from .rest import RestClient - -class AsyncRestClient(RestClient): - timeout: Incomplete - def set_session(self, session) -> None: ... - async def get(self, url: str, params: dict[str, Incomplete] | None = None, headers: dict[str, str] | None = None): ... - async def post(self, url: str, data: RequestData | None = None, headers: dict[str, str] | None = None): ... - async def file_post( # type: ignore[override] # Differs from supertype - self, url: str, data: dict[str, Incomplete], files: dict[str, Incomplete] - ): ... - async def patch(self, url: str, data: RequestData | None = None): ... - async def put(self, url: str, data: RequestData | None = None): ... - async def delete(self, url: str, params: dict[str, Incomplete] | None = None, data: RequestData | None = None): ... - -class RequestsResponse: - status_code: int - headers: Incomplete - text: str - def __init__(self, response, text: str) -> None: ... diff --git a/stubs/auth0-python/auth0/types.pyi b/stubs/auth0-python/auth0/types.pyi deleted file mode 100644 index 2d9d79d8cbdb..000000000000 --- a/stubs/auth0-python/auth0/types.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from _typeshed import Incomplete -from typing import TypeAlias - -TimeoutType: TypeAlias = float | tuple[float, float] -RequestData: TypeAlias = dict[str, Incomplete] | list[Incomplete] diff --git a/stubs/auth0-python/auth0/utils.pyi b/stubs/auth0-python/auth0/utils.pyi deleted file mode 100644 index 611cd037c258..000000000000 --- a/stubs/auth0-python/auth0/utils.pyi +++ /dev/null @@ -1 +0,0 @@ -def is_async_available() -> bool: ...