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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10,130 changes: 10,001 additions & 129 deletions .fern/replay.lock

Large diffs are not rendered by default.

3,668 changes: 2,534 additions & 1,134 deletions reference.md

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions src/auth0/management/__init__.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/auth0/management/actions/executions/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ...core.api_error import ApiError
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ...core.http_response import AsyncHttpResponse, HttpResponse
from ...core.jsonable_encoder import encode_path_param
from ...core.jsonable_encoder import quote_path_param
from ...core.parse_error import ParsingError
from ...core.pydantic_utilities import parse_obj_as
from ...core.request_options import RequestOptions
Expand Down Expand Up @@ -43,7 +43,7 @@ def get(
The execution was retrieved.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/executions/{encode_path_param(id)}",
f"actions/executions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -146,7 +146,7 @@ async def get(
The execution was retrieved.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/executions/{encode_path_param(id)}",
f"actions/executions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down
22 changes: 11 additions & 11 deletions src/auth0/management/actions/modules/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ...core.api_error import ApiError
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ...core.http_response import AsyncHttpResponse, HttpResponse
from ...core.jsonable_encoder import encode_path_param
from ...core.jsonable_encoder import quote_path_param
from ...core.pagination import AsyncPager, SyncPager
from ...core.parse_error import ParsingError
from ...core.pydantic_utilities import parse_obj_as
Expand Down Expand Up @@ -303,7 +303,7 @@ def get(
The action module was retrieved.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -398,7 +398,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] =
HttpResponse[None]
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="DELETE",
request_options=request_options,
)
Expand Down Expand Up @@ -515,7 +515,7 @@ def update(
The action module was updated.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="PATCH",
json={
"code": code,
Expand Down Expand Up @@ -650,7 +650,7 @@ def list_actions(
page = page if page is not None else 0

_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/actions",
f"actions/modules/{quote_path_param(id)}/actions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -763,7 +763,7 @@ def rollback(
The rollback was successful.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/rollback",
f"actions/modules/{quote_path_param(id)}/rollback",
method="POST",
json={
"module_version_id": module_version_id,
Expand Down Expand Up @@ -1131,7 +1131,7 @@ async def get(
The action module was retrieved.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -1228,7 +1228,7 @@ async def delete(
AsyncHttpResponse[None]
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="DELETE",
request_options=request_options,
)
Expand Down Expand Up @@ -1345,7 +1345,7 @@ async def update(
The action module was updated.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}",
f"actions/modules/{quote_path_param(id)}",
method="PATCH",
json={
"code": code,
Expand Down Expand Up @@ -1480,7 +1480,7 @@ async def list_actions(
page = page if page is not None else 0

_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/actions",
f"actions/modules/{quote_path_param(id)}/actions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -1596,7 +1596,7 @@ async def rollback(
The rollback was successful.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/rollback",
f"actions/modules/{quote_path_param(id)}/rollback",
method="POST",
json={
"module_version_id": module_version_id,
Expand Down
14 changes: 7 additions & 7 deletions src/auth0/management/actions/modules/versions/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ....core.api_error import ApiError
from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ....core.http_response import AsyncHttpResponse, HttpResponse
from ....core.jsonable_encoder import encode_path_param
from ....core.jsonable_encoder import quote_path_param
from ....core.pagination import AsyncPager, SyncPager
from ....core.parse_error import ParsingError
from ....core.pydantic_utilities import parse_obj_as
Expand Down Expand Up @@ -62,7 +62,7 @@ def list(
page = page if page is not None else 0

_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions",
f"actions/modules/{quote_path_param(id)}/versions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -172,7 +172,7 @@ def create(
The action module version was created.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions",
f"actions/modules/{quote_path_param(id)}/versions",
method="POST",
request_options=request_options,
)
Expand Down Expand Up @@ -284,7 +284,7 @@ def get(
The module version was retrieved.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions/{encode_path_param(version_id)}",
f"actions/modules/{quote_path_param(id)}/versions/{quote_path_param(version_id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -400,7 +400,7 @@ async def list(
page = page if page is not None else 0

_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions",
f"actions/modules/{quote_path_param(id)}/versions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -513,7 +513,7 @@ async def create(
The action module version was created.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions",
f"actions/modules/{quote_path_param(id)}/versions",
method="POST",
request_options=request_options,
)
Expand Down Expand Up @@ -625,7 +625,7 @@ async def get(
The module version was retrieved.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/modules/{encode_path_param(id)}/versions/{encode_path_param(version_id)}",
f"actions/modules/{quote_path_param(id)}/versions/{quote_path_param(version_id)}",
method="GET",
request_options=request_options,
)
Expand Down
22 changes: 11 additions & 11 deletions src/auth0/management/actions/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ..core.api_error import ApiError
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.http_response import AsyncHttpResponse, HttpResponse
from ..core.jsonable_encoder import encode_path_param
from ..core.jsonable_encoder import quote_path_param
from ..core.pagination import AsyncPager, SyncPager
from ..core.parse_error import ParsingError
from ..core.pydantic_utilities import parse_obj_as
Expand Down Expand Up @@ -331,7 +331,7 @@ def get(
The action was retrieved.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -431,7 +431,7 @@ def delete(
HttpResponse[None]
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="DELETE",
params={
"force": force,
Expand Down Expand Up @@ -556,7 +556,7 @@ def update(
Action successfully updated.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="PATCH",
json={
"name": name,
Expand Down Expand Up @@ -675,7 +675,7 @@ def deploy(
Request to create action version was accepted.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}/deploy",
f"actions/actions/{quote_path_param(id)}/deploy",
method="POST",
request_options=request_options,
)
Expand Down Expand Up @@ -764,7 +764,7 @@ def test(
Test action version successfully created.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}/test",
f"actions/actions/{quote_path_param(id)}/test",
method="POST",
json={
"payload": payload,
Expand Down Expand Up @@ -1137,7 +1137,7 @@ async def get(
The action was retrieved.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -1237,7 +1237,7 @@ async def delete(
AsyncHttpResponse[None]
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="DELETE",
params={
"force": force,
Expand Down Expand Up @@ -1362,7 +1362,7 @@ async def update(
Action successfully updated.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(id)}",
method="PATCH",
json={
"name": name,
Expand Down Expand Up @@ -1481,7 +1481,7 @@ async def deploy(
Request to create action version was accepted.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}/deploy",
f"actions/actions/{quote_path_param(id)}/deploy",
method="POST",
request_options=request_options,
)
Expand Down Expand Up @@ -1570,7 +1570,7 @@ async def test(
Test action version successfully created.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(id)}/test",
f"actions/actions/{quote_path_param(id)}/test",
method="POST",
json={
"payload": payload,
Expand Down
10 changes: 5 additions & 5 deletions src/auth0/management/actions/triggers/bindings/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ....core.api_error import ApiError
from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ....core.http_response import AsyncHttpResponse, HttpResponse
from ....core.jsonable_encoder import encode_path_param
from ....core.jsonable_encoder import quote_path_param
from ....core.pagination import AsyncPager, SyncPager
from ....core.parse_error import ParsingError
from ....core.pydantic_utilities import parse_obj_as
Expand Down Expand Up @@ -64,7 +64,7 @@ def list(
page = page if page is not None else 0

_response = self._client_wrapper.httpx_client.request(
f"actions/triggers/{encode_path_param(trigger_id)}/bindings",
f"actions/triggers/{quote_path_param(trigger_id)}/bindings",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -170,7 +170,7 @@ def update_many(
The bindings were updated.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/triggers/{encode_path_param(trigger_id)}/bindings",
f"actions/triggers/{quote_path_param(trigger_id)}/bindings",
method="PATCH",
json={
"bindings": convert_and_respect_annotation_metadata(
Expand Down Expand Up @@ -284,7 +284,7 @@ async def list(
page = page if page is not None else 0

_response = await self._client_wrapper.httpx_client.request(
f"actions/triggers/{encode_path_param(trigger_id)}/bindings",
f"actions/triggers/{quote_path_param(trigger_id)}/bindings",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -393,7 +393,7 @@ async def update_many(
The bindings were updated.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/triggers/{encode_path_param(trigger_id)}/bindings",
f"actions/triggers/{quote_path_param(trigger_id)}/bindings",
method="PATCH",
json={
"bindings": convert_and_respect_annotation_metadata(
Expand Down
14 changes: 7 additions & 7 deletions src/auth0/management/actions/versions/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ...core.api_error import ApiError
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ...core.http_response import AsyncHttpResponse, HttpResponse
from ...core.jsonable_encoder import encode_path_param
from ...core.jsonable_encoder import quote_path_param
from ...core.pagination import AsyncPager, SyncPager
from ...core.parse_error import ParsingError
from ...core.pydantic_utilities import parse_obj_as
Expand Down Expand Up @@ -65,7 +65,7 @@ def list(
page = page if page is not None else 0

_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions",
f"actions/actions/{quote_path_param(action_id)}/versions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -167,7 +167,7 @@ def get(
The action version was retrieved.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -275,7 +275,7 @@ def deploy(
Request to create action version was accepted.
"""
_response = self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}/deploy",
f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}/deploy",
method="POST",
json=convert_and_respect_annotation_metadata(
object_=request, annotation=typing.Optional[DeployActionVersionRequestContent], direction="write"
Expand Down Expand Up @@ -384,7 +384,7 @@ async def list(
page = page if page is not None else 0

_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions",
f"actions/actions/{quote_path_param(action_id)}/versions",
method="GET",
params={
"page": page,
Expand Down Expand Up @@ -489,7 +489,7 @@ async def get(
The action version was retrieved.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}",
f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}",
method="GET",
request_options=request_options,
)
Expand Down Expand Up @@ -597,7 +597,7 @@ async def deploy(
Request to create action version was accepted.
"""
_response = await self._client_wrapper.httpx_client.request(
f"actions/actions/{encode_path_param(action_id)}/versions/{encode_path_param(id)}/deploy",
f"actions/actions/{quote_path_param(action_id)}/versions/{quote_path_param(id)}/deploy",
method="POST",
json=convert_and_respect_annotation_metadata(
object_=request, annotation=typing.Optional[DeployActionVersionRequestContent], direction="write"
Expand Down
Loading
Loading