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
15 changes: 15 additions & 0 deletions src/convoy/api/events/batch_replay_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
def _get_kwargs(
project_id: str,
*,
body: str | Unset = UNSET,
direction: BatchReplayEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -32,6 +33,8 @@ def _get_kwargs(

params: dict[str, Any] = {}

params["body"] = body

json_direction: str | Unset = UNSET
if not isinstance(direction, Unset):
json_direction = direction.value
Expand Down Expand Up @@ -134,6 +137,7 @@ def sync_detailed(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: BatchReplayEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -157,6 +161,7 @@ def sync_detailed(

Args:
project_id (str):
body (str | Unset):
direction (BatchReplayEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -179,6 +184,7 @@ def sync_detailed(

kwargs = _get_kwargs(
project_id=project_id,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -203,6 +209,7 @@ def sync(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: BatchReplayEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -227,6 +234,7 @@ def sync(

Args:
project_id (str):
body (str | Unset):
direction (BatchReplayEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -250,6 +258,7 @@ def sync(
return sync_detailed(
project_id=project_id,
client=client,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -268,6 +277,7 @@ async def asyncio_detailed(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: BatchReplayEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -291,6 +301,7 @@ async def asyncio_detailed(

Args:
project_id (str):
body (str | Unset):
direction (BatchReplayEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -313,6 +324,7 @@ async def asyncio_detailed(

kwargs = _get_kwargs(
project_id=project_id,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -335,6 +347,7 @@ async def asyncio(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: BatchReplayEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -359,6 +372,7 @@ async def asyncio(

Args:
project_id (str):
body (str | Unset):
direction (BatchReplayEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -383,6 +397,7 @@ async def asyncio(
await asyncio_detailed(
project_id=project_id,
client=client,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand Down
15 changes: 15 additions & 0 deletions src/convoy/api/events/count_affected_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
def _get_kwargs(
project_id: str,
*,
body: str | Unset = UNSET,
direction: CountAffectedEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -32,6 +33,8 @@ def _get_kwargs(

params: dict[str, Any] = {}

params["body"] = body

json_direction: str | Unset = UNSET
if not isinstance(direction, Unset):
json_direction = direction.value
Expand Down Expand Up @@ -134,6 +137,7 @@ def sync_detailed(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: CountAffectedEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -157,6 +161,7 @@ def sync_detailed(

Args:
project_id (str):
body (str | Unset):
direction (CountAffectedEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -179,6 +184,7 @@ def sync_detailed(

kwargs = _get_kwargs(
project_id=project_id,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -203,6 +209,7 @@ def sync(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: CountAffectedEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -227,6 +234,7 @@ def sync(

Args:
project_id (str):
body (str | Unset):
direction (CountAffectedEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -250,6 +258,7 @@ def sync(
return sync_detailed(
project_id=project_id,
client=client,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -268,6 +277,7 @@ async def asyncio_detailed(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: CountAffectedEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -291,6 +301,7 @@ async def asyncio_detailed(

Args:
project_id (str):
body (str | Unset):
direction (CountAffectedEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -313,6 +324,7 @@ async def asyncio_detailed(

kwargs = _get_kwargs(
project_id=project_id,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand All @@ -335,6 +347,7 @@ async def asyncio(
project_id: str,
*,
client: AuthenticatedClient,
body: str | Unset = UNSET,
direction: CountAffectedEventsDirection | Unset = UNSET,
end_date: str | Unset = UNSET,
endpoint_id: list[str] | Unset = UNSET,
Expand All @@ -359,6 +372,7 @@ async def asyncio(

Args:
project_id (str):
body (str | Unset):
direction (CountAffectedEventsDirection | Unset):
end_date (str | Unset):
endpoint_id (list[str] | Unset):
Expand All @@ -383,6 +397,7 @@ async def asyncio(
await asyncio_detailed(
project_id=project_id,
client=client,
body=body,
direction=direction,
end_date=end_date,
endpoint_id=endpoint_id,
Expand Down
Loading