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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": "/api/iir/createChallenges",
"url": "/iir-api/createChallenges",
}

if isinstance(body, CreateChallengesRequest):
Expand Down
21 changes: 3 additions & 18 deletions ce/iir/api/iir_client/api/iir_api/iir_api_federation_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

def _get_kwargs(
*,
ctid: str,
sub: str,

) -> dict[str, Any]:
Expand All @@ -25,8 +24,6 @@ def _get_kwargs(

params: dict[str, Any] = {}

params["ctid"] = ctid

params["sub"] = sub


Expand All @@ -35,7 +32,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": "/api/iir/federationFetch",
"url": "/iir-api/federationFetch",
"params": params,
}

Expand Down Expand Up @@ -70,13 +67,11 @@ def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Res
def sync_detailed(
*,
client: AuthenticatedClient | Client,
ctid: str,
sub: str,

) -> Response[IIRApiFederationFetchResponse200]:
"""
Args:
ctid (str):
sub (str):

Raises:
Expand All @@ -89,8 +84,7 @@ def sync_detailed(


kwargs = _get_kwargs(
ctid=ctid,
sub=sub,
sub=sub,

)

Expand All @@ -103,13 +97,11 @@ def sync_detailed(
def sync(
*,
client: AuthenticatedClient | Client,
ctid: str,
sub: str,

) -> IIRApiFederationFetchResponse200 | None:
"""
Args:
ctid (str):
sub (str):

Raises:
Expand All @@ -123,21 +115,18 @@ def sync(

return sync_detailed(
client=client,
ctid=ctid,
sub=sub,

).parsed

async def asyncio_detailed(
*,
client: AuthenticatedClient | Client,
ctid: str,
sub: str,

) -> Response[IIRApiFederationFetchResponse200]:
"""
Args:
ctid (str):
sub (str):

Raises:
Expand All @@ -150,8 +139,7 @@ async def asyncio_detailed(


kwargs = _get_kwargs(
ctid=ctid,
sub=sub,
sub=sub,

)

Expand All @@ -164,13 +152,11 @@ async def asyncio_detailed(
async def asyncio(
*,
client: AuthenticatedClient | Client,
ctid: str,
sub: str,

) -> IIRApiFederationFetchResponse200 | None:
"""
Args:
ctid (str):
sub (str):

Raises:
Expand All @@ -184,7 +170,6 @@ async def asyncio(

return (await asyncio_detailed(
client=client,
ctid=ctid,
sub=sub,

)).parsed
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": "/api/iir/issuerByDid",
"url": "/iir-api/issuerByDid",
"params": params,
}

Expand Down
85 changes: 80 additions & 5 deletions ce/iir/api/iir_client/api/iir_api/iir_api_get_issuers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,41 @@
from ... import errors

from ...models.iir_api_get_issuers_response_200 import IIRApiGetIssuersResponse200
from ...types import UNSET, Unset
from typing import cast



def _get_kwargs(

*,
page: int | Unset = UNSET,
page_size: int | Unset = UNSET,
keyword: str | Unset = UNSET,
task: str | Unset = UNSET,

) -> dict[str, Any]:





params: dict[str, Any] = {}

params["page"] = page

params["pageSize"] = page_size

params["keyword"] = keyword

params["task"] = task


params = {k: v for k, v in params.items() if v is not UNSET and v is not None}


_kwargs: dict[str, Any] = {
"method": "get",
"url": "/api/iir/issuers",
"url": "/iir-api/issuers",
"params": params,
}


Expand Down Expand Up @@ -58,9 +77,19 @@ def _build_response(*, client: AuthenticatedClient | Client, response: httpx.Res
def sync_detailed(
*,
client: AuthenticatedClient | Client,
page: int | Unset = UNSET,
page_size: int | Unset = UNSET,
keyword: str | Unset = UNSET,
task: str | Unset = UNSET,

) -> Response[IIRApiGetIssuersResponse200]:
"""
Args:
page (int | Unset):
page_size (int | Unset):
keyword (str | Unset):
task (str | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException: If the request takes longer than Client.timeout.
Expand All @@ -71,7 +100,11 @@ def sync_detailed(


kwargs = _get_kwargs(

page=page,
page_size=page_size,
keyword=keyword,
task=task,

)

response = client.get_httpx_client().request(
Expand All @@ -83,9 +116,19 @@ def sync_detailed(
def sync(
*,
client: AuthenticatedClient | Client,
page: int | Unset = UNSET,
page_size: int | Unset = UNSET,
keyword: str | Unset = UNSET,
task: str | Unset = UNSET,

) -> IIRApiGetIssuersResponse200 | None:
"""
Args:
page (int | Unset):
page_size (int | Unset):
keyword (str | Unset):
task (str | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException: If the request takes longer than Client.timeout.
Expand All @@ -97,15 +140,29 @@ def sync(

return sync_detailed(
client=client,
page=page,
page_size=page_size,
keyword=keyword,
task=task,

).parsed

async def asyncio_detailed(
*,
client: AuthenticatedClient | Client,
page: int | Unset = UNSET,
page_size: int | Unset = UNSET,
keyword: str | Unset = UNSET,
task: str | Unset = UNSET,

) -> Response[IIRApiGetIssuersResponse200]:
"""
Args:
page (int | Unset):
page_size (int | Unset):
keyword (str | Unset):
task (str | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException: If the request takes longer than Client.timeout.
Expand All @@ -116,7 +173,11 @@ async def asyncio_detailed(


kwargs = _get_kwargs(

page=page,
page_size=page_size,
keyword=keyword,
task=task,

)

response = await client.get_async_httpx_client().request(
Expand All @@ -128,9 +189,19 @@ async def asyncio_detailed(
async def asyncio(
*,
client: AuthenticatedClient | Client,
page: int | Unset = UNSET,
page_size: int | Unset = UNSET,
keyword: str | Unset = UNSET,
task: str | Unset = UNSET,

) -> IIRApiGetIssuersResponse200 | None:
"""
Args:
page (int | Unset):
page_size (int | Unset):
keyword (str | Unset):
task (str | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException: If the request takes longer than Client.timeout.
Expand All @@ -142,5 +213,9 @@ async def asyncio(

return (await asyncio_detailed(
client=client,
page=page,
page_size=page_size,
keyword=keyword,
task=task,

)).parsed
Loading
Loading