Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update auto access #141

Merged
merged 2 commits into from
Nov 8, 2024
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
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
Loading