types-auth0-python 4.8.0.20250404__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. auth0-stubs/METADATA.toml +3 -0
  2. auth0-stubs/__init__.pyi +7 -0
  3. auth0-stubs/asyncify.pyi +6 -0
  4. auth0-stubs/authentication/__init__.pyi +10 -0
  5. auth0-stubs/authentication/async_token_verifier.pyi +27 -0
  6. auth0-stubs/authentication/back_channel_login.pyi +4 -0
  7. auth0-stubs/authentication/base.pyi +31 -0
  8. auth0-stubs/authentication/client_authentication.pyi +13 -0
  9. auth0-stubs/authentication/database.pyi +21 -0
  10. auth0-stubs/authentication/delegated.pyi +12 -0
  11. auth0-stubs/authentication/enterprise.pyi +5 -0
  12. auth0-stubs/authentication/get_token.pyi +21 -0
  13. auth0-stubs/authentication/passwordless.pyi +5 -0
  14. auth0-stubs/authentication/pushed_authorization_requests.pyi +4 -0
  15. auth0-stubs/authentication/revoke_token.pyi +4 -0
  16. auth0-stubs/authentication/social.pyi +4 -0
  17. auth0-stubs/authentication/token_verifier.pyi +29 -0
  18. auth0-stubs/authentication/users.pyi +11 -0
  19. auth0-stubs/exceptions.pyi +14 -0
  20. auth0-stubs/management/__init__.pyi +63 -0
  21. auth0-stubs/management/actions.pyi +64 -0
  22. auth0-stubs/management/async_auth0.pyi +15 -0
  23. auth0-stubs/management/attack_protection.pyi +30 -0
  24. auth0-stubs/management/auth0.pyi +67 -0
  25. auth0-stubs/management/blacklists.pyi +21 -0
  26. auth0-stubs/management/branding.pyi +38 -0
  27. auth0-stubs/management/client_credentials.pyi +26 -0
  28. auth0-stubs/management/client_grants.pyi +60 -0
  29. auth0-stubs/management/clients.pyi +44 -0
  30. auth0-stubs/management/connections.pyi +48 -0
  31. auth0-stubs/management/custom_domains.pyi +28 -0
  32. auth0-stubs/management/device_credentials.pyi +44 -0
  33. auth0-stubs/management/email_templates.pyi +24 -0
  34. auth0-stubs/management/emails.pyi +26 -0
  35. auth0-stubs/management/grants.pyi +34 -0
  36. auth0-stubs/management/guardian.pyi +38 -0
  37. auth0-stubs/management/hooks.pyi +52 -0
  38. auth0-stubs/management/jobs.pyi +42 -0
  39. auth0-stubs/management/log_streams.pyi +29 -0
  40. auth0-stubs/management/logs.pyi +44 -0
  41. auth0-stubs/management/organizations.pyi +134 -0
  42. auth0-stubs/management/prompts.pyi +28 -0
  43. auth0-stubs/management/resource_servers.pyi +28 -0
  44. auth0-stubs/management/roles.pyi +63 -0
  45. auth0-stubs/management/rules.pyi +46 -0
  46. auth0-stubs/management/rules_configs.pyi +24 -0
  47. auth0-stubs/management/stats.pyi +24 -0
  48. auth0-stubs/management/tenants.pyi +22 -0
  49. auth0-stubs/management/tickets.pyi +22 -0
  50. auth0-stubs/management/user_blocks.pyi +26 -0
  51. auth0-stubs/management/users.pyi +117 -0
  52. auth0-stubs/management/users_by_email.pyi +24 -0
  53. auth0-stubs/py.typed +0 -0
  54. auth0-stubs/rest.pyi +48 -0
  55. auth0-stubs/rest_async.pyi +29 -0
  56. auth0-stubs/types.pyi +5 -0
  57. auth0-stubs/utils.pyi +1 -0
  58. types_auth0_python-4.8.0.20250404.dist-info/METADATA +45 -0
  59. types_auth0_python-4.8.0.20250404.dist-info/RECORD +62 -0
  60. types_auth0_python-4.8.0.20250404.dist-info/WHEEL +5 -0
  61. types_auth0_python-4.8.0.20250404.dist-info/licenses/LICENSE +237 -0
  62. types_auth0_python-4.8.0.20250404.dist-info/top_level.txt +1 -0
@@ -0,0 +1,44 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Clients:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all(
20
+ self,
21
+ fields: list[str] | None = None,
22
+ include_fields: bool = True,
23
+ page: int | None = None,
24
+ per_page: int | None = None,
25
+ extra_params: dict[str, Incomplete] | None = None,
26
+ ) -> list[dict[str, Incomplete]]: ...
27
+ async def all_async(
28
+ self,
29
+ fields: list[str] | None = None,
30
+ include_fields: bool = True,
31
+ page: int | None = None,
32
+ per_page: int | None = None,
33
+ extra_params: dict[str, Incomplete] | None = None,
34
+ ) -> list[dict[str, Incomplete]]: ...
35
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
36
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
37
+ def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
38
+ async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
39
+ def delete(self, id: str): ...
40
+ async def delete_async(self, id: str): ...
41
+ def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
42
+ async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
43
+ def rotate_secret(self, id: str) -> dict[str, Incomplete]: ...
44
+ async def rotate_secret_async(self, id: str) -> dict[str, Incomplete]: ...
@@ -0,0 +1,48 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Connections:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all(
20
+ self,
21
+ strategy: str | None = None,
22
+ fields: list[str] | None = None,
23
+ include_fields: bool = True,
24
+ page: int | None = None,
25
+ per_page: int | None = None,
26
+ extra_params: dict[str, Incomplete] | None = None,
27
+ name: str | None = None,
28
+ ) -> list[dict[str, Incomplete]]: ...
29
+ async def all_async(
30
+ self,
31
+ strategy: str | None = None,
32
+ fields: list[str] | None = None,
33
+ include_fields: bool = True,
34
+ page: int | None = None,
35
+ per_page: int | None = None,
36
+ extra_params: dict[str, Incomplete] | None = None,
37
+ name: str | None = None,
38
+ ) -> list[dict[str, Incomplete]]: ...
39
+ def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
40
+ async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
41
+ def delete(self, id: str): ...
42
+ async def delete_async(self, id: str): ...
43
+ def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
44
+ async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
45
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
46
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
47
+ def delete_user_by_email(self, id: str, email: str): ...
48
+ async def delete_user_by_email_async(self, id: str, email: str): ...
@@ -0,0 +1,28 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class CustomDomains:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all(self) -> list[dict[str, Incomplete]]: ...
20
+ async def all_async(self) -> list[dict[str, Incomplete]]: ...
21
+ def get(self, id: str) -> dict[str, Incomplete]: ...
22
+ async def get_async(self, id: str) -> dict[str, Incomplete]: ...
23
+ def delete(self, id: str): ...
24
+ async def delete_async(self, id: str): ...
25
+ def create_new(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
26
+ async def create_new_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
27
+ def verify(self, id: str) -> dict[str, Incomplete]: ...
28
+ async def verify_async(self, id: str) -> dict[str, Incomplete]: ...
@@ -0,0 +1,44 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class DeviceCredentials:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def get(
20
+ self,
21
+ user_id: str,
22
+ client_id: str,
23
+ type: str,
24
+ fields: list[str] | None = None,
25
+ include_fields: bool = True,
26
+ page: int | None = None,
27
+ per_page: int | None = None,
28
+ include_totals: bool = False,
29
+ ): ...
30
+ async def get_async(
31
+ self,
32
+ user_id: str,
33
+ client_id: str,
34
+ type: str,
35
+ fields: list[str] | None = None,
36
+ include_fields: bool = True,
37
+ page: int | None = None,
38
+ per_page: int | None = None,
39
+ include_totals: bool = False,
40
+ ): ...
41
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
42
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
43
+ def delete(self, id: str): ...
44
+ async def delete_async(self, id: str): ...
@@ -0,0 +1,24 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class EmailTemplates:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
20
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
21
+ def get(self, template_name: str) -> dict[str, Incomplete]: ...
22
+ async def get_async(self, template_name: str) -> dict[str, Incomplete]: ...
23
+ def update(self, template_name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
24
+ async def update_async(self, template_name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
@@ -0,0 +1,26 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Emails:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def get(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
20
+ async def get_async(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
21
+ def config(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
22
+ async def config_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
23
+ def delete(self): ...
24
+ async def delete_async(self): ...
25
+ def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
26
+ async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
@@ -0,0 +1,34 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Grants:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all(
20
+ self,
21
+ page: int | None = None,
22
+ per_page: int | None = None,
23
+ include_totals: bool = False,
24
+ extra_params: dict[str, Incomplete] | None = None,
25
+ ): ...
26
+ async def all_async(
27
+ self,
28
+ page: int | None = None,
29
+ per_page: int | None = None,
30
+ include_totals: bool = False,
31
+ extra_params: dict[str, Incomplete] | None = None,
32
+ ): ...
33
+ def delete(self, id: str): ...
34
+ async def delete_async(self, id: str): ...
@@ -0,0 +1,38 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Guardian:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all_factors(self) -> list[dict[str, Incomplete]]: ...
20
+ async def all_factors_async(self) -> list[dict[str, Incomplete]]: ...
21
+ def update_factor(self, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
22
+ async def update_factor_async(self, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
23
+ def update_templates(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
24
+ async def update_templates_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
25
+ def get_templates(self) -> dict[str, Incomplete]: ...
26
+ async def get_templates_async(self) -> dict[str, Incomplete]: ...
27
+ def get_enrollment(self, id: str) -> dict[str, Incomplete]: ...
28
+ async def get_enrollment_async(self, id: str) -> dict[str, Incomplete]: ...
29
+ def delete_enrollment(self, id: str): ...
30
+ async def delete_enrollment_async(self, id: str): ...
31
+ def create_enrollment_ticket(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
32
+ async def create_enrollment_ticket_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
33
+ def get_factor_providers(self, factor_name: str, name: str) -> dict[str, Incomplete]: ...
34
+ async def get_factor_providers_async(self, factor_name: str, name: str) -> dict[str, Incomplete]: ...
35
+ def update_factor_providers(self, factor_name: str, name: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
36
+ async def update_factor_providers_async(
37
+ self, factor_name: str, name: str, body: dict[str, Incomplete]
38
+ ) -> dict[str, Incomplete]: ...
@@ -0,0 +1,52 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Hooks:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all(
20
+ self,
21
+ enabled: bool = True,
22
+ fields: list[str] | None = None,
23
+ include_fields: bool = True,
24
+ page: int | None = None,
25
+ per_page: int | None = None,
26
+ include_totals: bool = False,
27
+ ): ...
28
+ async def all_async(
29
+ self,
30
+ enabled: bool = True,
31
+ fields: list[str] | None = None,
32
+ include_fields: bool = True,
33
+ page: int | None = None,
34
+ per_page: int | None = None,
35
+ include_totals: bool = False,
36
+ ): ...
37
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
38
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
39
+ def get(self, id: str, fields: list[str] | None = None) -> dict[str, Incomplete]: ...
40
+ async def get_async(self, id: str, fields: list[str] | None = None) -> dict[str, Incomplete]: ...
41
+ def delete(self, id: str): ...
42
+ async def delete_async(self, id: str): ...
43
+ def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
44
+ async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
45
+ def get_secrets(self, id: str) -> dict[str, Incomplete]: ...
46
+ async def get_secrets_async(self, id: str) -> dict[str, Incomplete]: ...
47
+ def add_secrets(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
48
+ async def add_secrets_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
49
+ def delete_secrets(self, id: str, body: list[str]): ...
50
+ async def delete_secrets_async(self, id: str, body: list[str]): ...
51
+ def update_secrets(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
52
+ async def update_secrets_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
@@ -0,0 +1,42 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Jobs:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def get(self, id: str) -> dict[str, Incomplete]: ...
20
+ async def get_async(self, id: str) -> dict[str, Incomplete]: ...
21
+ def get_failed_job(self, id: str) -> dict[str, Incomplete]: ...
22
+ async def get_failed_job_async(self, id: str) -> dict[str, Incomplete]: ...
23
+ def export_users(self, body: dict[str, Incomplete]): ...
24
+ async def export_users_async(self, body: dict[str, Incomplete]): ...
25
+ def import_users(
26
+ self,
27
+ connection_id: str,
28
+ file_obj,
29
+ upsert: bool = False,
30
+ send_completion_email: bool = True,
31
+ external_id: str | None = None,
32
+ ) -> dict[str, Incomplete]: ...
33
+ async def import_users_async(
34
+ self,
35
+ connection_id: str,
36
+ file_obj,
37
+ upsert: bool = False,
38
+ send_completion_email: bool = True,
39
+ external_id: str | None = None,
40
+ ) -> dict[str, Incomplete]: ...
41
+ def send_verification_email(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
42
+ async def send_verification_email_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
@@ -0,0 +1,29 @@
1
+ from _typeshed import Incomplete
2
+ from builtins import list as _list
3
+
4
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
5
+ from ..types import TimeoutType as TimeoutType
6
+
7
+ class LogStreams:
8
+ domain: Incomplete
9
+ protocol: Incomplete
10
+ client: Incomplete
11
+ def __init__(
12
+ self,
13
+ domain: str,
14
+ token: str,
15
+ telemetry: bool = True,
16
+ timeout: TimeoutType = 5.0,
17
+ protocol: str = "https",
18
+ rest_options: RestClientOptions | None = None,
19
+ ) -> None: ...
20
+ def list(self) -> _list[dict[str, Incomplete]]: ...
21
+ async def list_async(self) -> _list[dict[str, Incomplete]]: ...
22
+ def get(self, id: str) -> dict[str, Incomplete]: ...
23
+ async def get_async(self, id: str) -> dict[str, Incomplete]: ...
24
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
25
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
26
+ def delete(self, id: str) -> dict[str, Incomplete]: ...
27
+ async def delete_async(self, id: str) -> dict[str, Incomplete]: ...
28
+ def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
29
+ async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
@@ -0,0 +1,44 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Logs:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def search(
20
+ self,
21
+ page: int = 0,
22
+ per_page: int = 50,
23
+ sort: str | None = None,
24
+ q: str | None = None,
25
+ include_totals: bool = True,
26
+ fields: list[str] | None = None,
27
+ from_param: str | None = None,
28
+ take: int | None = None,
29
+ include_fields: bool = True,
30
+ ) -> dict[str, Incomplete]: ...
31
+ async def search_async(
32
+ self,
33
+ page: int = 0,
34
+ per_page: int = 50,
35
+ sort: str | None = None,
36
+ q: str | None = None,
37
+ include_totals: bool = True,
38
+ fields: list[str] | None = None,
39
+ from_param: str | None = None,
40
+ take: int | None = None,
41
+ include_fields: bool = True,
42
+ ) -> dict[str, Incomplete]: ...
43
+ def get(self, id: str) -> dict[str, Incomplete]: ...
44
+ async def get_async(self, id: str) -> dict[str, Incomplete]: ...
@@ -0,0 +1,134 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Organizations:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def all_organizations(
20
+ self,
21
+ page: int | None = None,
22
+ per_page: int | None = None,
23
+ include_totals: bool = True,
24
+ from_param: str | None = None,
25
+ take: int | None = None,
26
+ ) -> dict[str, Incomplete]: ...
27
+ async def all_organizations_async(
28
+ self,
29
+ page: int | None = None,
30
+ per_page: int | None = None,
31
+ include_totals: bool = True,
32
+ from_param: str | None = None,
33
+ take: int | None = None,
34
+ ) -> dict[str, Incomplete]: ...
35
+ def get_organization_by_name(self, name: str | None = None) -> dict[str, Incomplete]: ...
36
+ async def get_organization_by_name_async(self, name: str | None = None) -> dict[str, Incomplete]: ...
37
+ def get_organization(self, id: str) -> dict[str, Incomplete]: ...
38
+ async def get_organization_async(self, id: str) -> dict[str, Incomplete]: ...
39
+ def create_organization(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
40
+ async def create_organization_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
41
+ def update_organization(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
42
+ async def update_organization_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
43
+ def delete_organization(self, id: str): ...
44
+ async def delete_organization_async(self, id: str): ...
45
+ def all_organization_connections(
46
+ self, id: str, page: int | None = None, per_page: int | None = None
47
+ ) -> list[dict[str, Incomplete]]: ...
48
+ async def all_organization_connections_async(
49
+ self, id: str, page: int | None = None, per_page: int | None = None
50
+ ) -> list[dict[str, Incomplete]]: ...
51
+ def get_organization_connection(self, id: str, connection_id: str) -> dict[str, Incomplete]: ...
52
+ async def get_organization_connection_async(self, id: str, connection_id: str) -> dict[str, Incomplete]: ...
53
+ def create_organization_connection(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
54
+ async def create_organization_connection_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
55
+ def update_organization_connection(
56
+ self, id: str, connection_id: str, body: dict[str, Incomplete]
57
+ ) -> dict[str, Incomplete]: ...
58
+ async def update_organization_connection_async(
59
+ self, id: str, connection_id: str, body: dict[str, Incomplete]
60
+ ) -> dict[str, Incomplete]: ...
61
+ def delete_organization_connection(self, id: str, connection_id: str): ...
62
+ async def delete_organization_connection_async(self, id: str, connection_id: str): ...
63
+ def all_organization_members(
64
+ self,
65
+ id: str,
66
+ page: int | None = None,
67
+ per_page: int | None = None,
68
+ include_totals: bool = True,
69
+ from_param: str | None = None,
70
+ take: int | None = None,
71
+ fields: list[str] | None = None,
72
+ include_fields: bool = True,
73
+ ) -> dict[str, Incomplete]: ...
74
+ async def all_organization_members_async(
75
+ self,
76
+ id: str,
77
+ page: int | None = None,
78
+ per_page: int | None = None,
79
+ include_totals: bool = True,
80
+ from_param: str | None = None,
81
+ take: int | None = None,
82
+ fields: list[str] | None = None,
83
+ include_fields: bool = True,
84
+ ) -> dict[str, Incomplete]: ...
85
+ def create_organization_members(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
86
+ async def create_organization_members_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
87
+ def delete_organization_members(self, id: str, body: dict[str, Incomplete]): ...
88
+ async def delete_organization_members_async(self, id: str, body: dict[str, Incomplete]): ...
89
+ def all_organization_member_roles(
90
+ self, id: str, user_id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False
91
+ ) -> list[dict[str, Incomplete]]: ...
92
+ async def all_organization_member_roles_async(
93
+ self, id: str, user_id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False
94
+ ) -> list[dict[str, Incomplete]]: ...
95
+ def create_organization_member_roles(self, id: str, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
96
+ async def create_organization_member_roles_async(
97
+ self, id: str, user_id: str, body: dict[str, Incomplete]
98
+ ) -> dict[str, Incomplete]: ...
99
+ def delete_organization_member_roles(self, id: str, user_id: str, body: dict[str, Incomplete]): ...
100
+ async def delete_organization_member_roles_async(self, id: str, user_id: str, body: dict[str, Incomplete]): ...
101
+ def all_organization_invitations(
102
+ self, id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False
103
+ ) -> dict[str, Incomplete]: ...
104
+ async def all_organization_invitations_async(
105
+ self, id: str, page: int | None = None, per_page: int | None = None, include_totals: bool = False
106
+ ) -> dict[str, Incomplete]: ...
107
+ def get_organization_invitation(self, id: str, invitaton_id: str) -> dict[str, Incomplete]: ...
108
+ async def get_organization_invitation_async(self, id: str, invitaton_id: str) -> dict[str, Incomplete]: ...
109
+ def create_organization_invitation(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
110
+ async def create_organization_invitation_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
111
+ def delete_organization_invitation(self, id: str, invitation_id: str): ...
112
+ async def delete_organization_invitation_async(self, id: str, invitation_id: str): ...
113
+ def get_client_grants(
114
+ self,
115
+ id: str,
116
+ audience: str | None = None,
117
+ client_id: str | None = None,
118
+ page: int | None = None,
119
+ per_page: int | None = None,
120
+ include_totals: bool = False,
121
+ ) -> dict[str, Incomplete]: ...
122
+ async def get_client_grants_async(
123
+ self,
124
+ id: str,
125
+ audience: str | None = None,
126
+ client_id: str | None = None,
127
+ page: int | None = None,
128
+ per_page: int | None = None,
129
+ include_totals: bool = False,
130
+ ) -> dict[str, Incomplete]: ...
131
+ def add_client_grant(self, id: str, grant_id: str) -> dict[str, Incomplete]: ...
132
+ async def add_client_grant_async(self, id: str, grant_id: str) -> dict[str, Incomplete]: ...
133
+ def delete_client_grant(self, id: str, grant_id: str) -> dict[str, Incomplete]: ...
134
+ async def delete_client_grant_async(self, id: str, grant_id: str) -> dict[str, Incomplete]: ...
@@ -0,0 +1,28 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class Prompts:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def get(self) -> dict[str, Incomplete]: ...
20
+ async def get_async(self) -> dict[str, Incomplete]: ...
21
+ def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
22
+ async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
23
+ def get_custom_text(self, prompt: str, language: str): ...
24
+ async def get_custom_text_async(self, prompt: str, language: str): ...
25
+ def update_custom_text(self, prompt: str, language: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
26
+ async def update_custom_text_async(
27
+ self, prompt: str, language: str, body: dict[str, Incomplete]
28
+ ) -> dict[str, Incomplete]: ...
@@ -0,0 +1,28 @@
1
+ from _typeshed import Incomplete
2
+
3
+ from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
4
+ from ..types import TimeoutType as TimeoutType
5
+
6
+ class ResourceServers:
7
+ domain: Incomplete
8
+ protocol: Incomplete
9
+ client: Incomplete
10
+ def __init__(
11
+ self,
12
+ domain: str,
13
+ token: str,
14
+ telemetry: bool = True,
15
+ timeout: TimeoutType = 5.0,
16
+ protocol: str = "https",
17
+ rest_options: RestClientOptions | None = None,
18
+ ) -> None: ...
19
+ def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
20
+ async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
21
+ def get_all(self, page: int | None = None, per_page: int | None = None, include_totals: bool = False): ...
22
+ async def get_all_async(self, page: int | None = None, per_page: int | None = None, include_totals: bool = False): ...
23
+ def get(self, id: str) -> dict[str, Incomplete]: ...
24
+ async def get_async(self, id: str) -> dict[str, Incomplete]: ...
25
+ def delete(self, id: str): ...
26
+ async def delete_async(self, id: str): ...
27
+ def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
28
+ async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...