Skip to content

Commit

Permalink
Merge pull request #141 from livechat/fix-update-auto-access
Browse files Browse the repository at this point in the history
Fix update auto access
  • Loading branch information
zuczkows authored Nov 8, 2024
2 parents 0cf0bb5 + e21e338 commit 4d8c3a5
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
- New `update_session` method in agent-api v3.6 (rtm).

### Changed
- Added missing top-level arguments to `update_auto_access` method in configuration-api.
- Updated outdated packages.

## [0.3.9] - 2024-04-22
Expand Down
6 changes: 6 additions & 0 deletions livechat/configuration/api/v33.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ def delete_auto_access(self,
def update_auto_access(self,
id: str = None,
next_id: str = None,
access: dict = None,
conditions: dict = None,
description: str = None,
payload: dict = None,
headers: dict = None) -> httpx.Response:
''' Moves an existing auto access data structure, specified by id,
Expand All @@ -381,6 +384,9 @@ def update_auto_access(self,
Args:
id (str): ID of the auto access to move.
next_id (str): ID of the auto access that should follow the moved auto access.
access (dict): Destination access.
conditions (dict): Conditions to check.
description (str): Description of the auto access.
payload (dict): Custom payload to be used as request's data.
It overrides all other parameters provided for the method.
headers (dict): Custom headers to be used with session headers.
Expand Down
6 changes: 6 additions & 0 deletions livechat/configuration/api/v34.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ def delete_auto_access(self,
def update_auto_access(self,
id: str = None,
next_id: str = None,
access: dict = None,
conditions: dict = None,
description: str = None,
payload: dict = None,
headers: dict = None) -> httpx.Response:
''' Moves an existing auto access data structure, specified by id,
Expand All @@ -381,6 +384,9 @@ def update_auto_access(self,
Args:
id (str): ID of the auto access to move.
next_id (str): ID of the auto access that should follow the moved auto access.
access (dict): Destination access.
conditions (dict): Conditions to check.
description (str): Description of the auto access.
payload (dict): Custom payload to be used as request's data.
It overrides all other parameters provided for the method.
headers (dict): Custom headers to be used with session headers.
Expand Down
6 changes: 6 additions & 0 deletions livechat/configuration/api/v35.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ def delete_auto_access(self,
def update_auto_access(self,
id: str = None,
next_id: str = None,
access: dict = None,
conditions: dict = None,
description: str = None,
payload: dict = None,
headers: dict = None) -> httpx.Response:
''' Moves an existing auto access data structure, specified by id,
Expand All @@ -381,6 +384,9 @@ def update_auto_access(self,
Args:
id (str): ID of the auto access to move.
next_id (str): ID of the auto access that should follow the moved auto access.
access (dict): Destination access.
conditions (dict): Conditions to check.
description (str): Description of the auto access.
payload (dict): Custom payload to be used as request's data.
It overrides all other parameters provided for the method.
headers (dict): Custom headers to be used with session headers.
Expand Down
6 changes: 6 additions & 0 deletions livechat/configuration/api/v36.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@ def delete_auto_access(self,
def update_auto_access(self,
id: str = None,
next_id: str = None,
access: dict = None,
conditions: dict = None,
description: str = None,
payload: dict = None,
headers: dict = None) -> httpx.Response:
''' Moves an existing auto access data structure, specified by id,
Expand All @@ -383,6 +386,9 @@ def update_auto_access(self,
Args:
id (str): ID of the auto access to move.
next_id (str): ID of the auto access that should follow the moved auto access.
access (dict): Destination access.
conditions (dict): Conditions to check.
description (str): Description of the auto access.
payload (dict): Custom payload to be used as request's data.
It overrides all other parameters provided for the method.
headers (dict): Custom headers to be used with session headers.
Expand Down

0 comments on commit 4d8c3a5

Please sign in to comment.