v 0.1.5
This commit is contained in:
parent
a52092e8ec
commit
88dc681687
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "callerapimanager"
|
||||
version = "0.1.4-2"
|
||||
version = "0.1.5"
|
||||
description = ""
|
||||
authors = [
|
||||
{name = "Evgeny (Krymmy) Momotov",email = "evgeny.momotov@gmail.com"}
|
||||
|
|
|
|||
|
|
@ -79,6 +79,10 @@ class CallerManagerClient:
|
|||
return None
|
||||
return CallDialog(**response)
|
||||
|
||||
async def update_call_dialog(self, call_id: int, dialog: CallDialogIn) -> CallDialog:
|
||||
response = await self._request('PATCH', f'/calls/{call_id}/dialog', json=dialog.model_dump(exclude_none=True))
|
||||
return CallDialog(**response)
|
||||
|
||||
async def create_call_dialog(self, dialog: CallDialogIn) -> CallDialog:
|
||||
response = await self._request('POST', f'/calls/dialog', json=dialog.model_dump(exclude_none=True))
|
||||
return CallDialog(**response)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue