All notable changes to this project will be documented in this file.
- New
get_company_details
,list_customer_bans
andunban_customer
methods in configuration-api v3.6. - Added
response_timeout
parameter inopen_connection
methods. - New
get_license_info
method in agent-api v3.5. - New
update_session
method in agent-api v3.6 (rtm). - Allow passing custom header for websocket handshake.
- Added missing top-level arguments to
update_auto_access
method in configuration-api. - Updated outdated packages.
- Changed pre-commit flake8 URL
- New methods in configuration-api v3.5, v3.6 for bot management:
create_bot_template
,delete_bot_template
,update_bot_template
,list_bot_templates
,issue_bot_token
,reset_bot_secret
,reset_bot_template_secret
.
- Updated outdated packages.
- Enhanced error logging for improved troubleshooting: Automatically includes response headers in the log for server errors, providing detailed information (such as x-debug-id) for more effective issue diagnosis.
- Enhanced timeouts for the RTM and WEB clients.
- Introduced
AccessToken
structure which allows keeping token type in separate field. Previous way of passing tokens as a string of formattype: token
remains supported for backwards compatibility.
- Enabled instantiation for
CustomerRtmV36
within the 3.6 version of the Customer RTM API. - Adjusted the return types in
get_client
method across RTM and WEB clients. - Fixed an issue where messages in the WebSocket client were incorrectly shared across all instances.
- Fixed
upload_file
method in agent-api v3.4/v3.5/v3.6 classes.
- Support for
logout
method in agent-api v3.6 web class. - Support for
agent_id
parameter in agent-api v3.6logout
method.
- Implemented truncation of request params in logging for large data.
- Allow sending rtm events as a bot by adding
author_id
param.
reactivate_email
andupdate_company_details
actions in configuration-api v3.6 class.disable_logging
flag for web based clients.
- Loguru used for logging.
- Required packages to currently newest versions.
- Fix HTTP request type for
get_product_source
method in Configuration API v3.5 and v3.6. - Fix an issue related to fetching responses in RTM.
- Added support for billing-api.
- New
highest_available
option forcustomer_monitoring_level
in agent-apilogin
method.
- Fix
customer_monitoring_level
parameter inlogin
method in agent-api v3.3/v3.4/v3.5 classes. - Fix
httpx
version in setup.cfg
- Support for
list_customers
method in agent-api v3.6 classes.
- Support for new batch methods in configuration-api v3.5:
batch_create_bots
,batch_delete_bots
,batch_update_bots
. - Support for new version 3.6.
- Config now points to v3.5 as stable and 3.6 as dev-preview version.
- New methods in configuration-api v3.5:
list_groups_properties
,get_product_source
. - Support for
default_group_priority
parameter increate_bot
andupdate_bot
methods in configuration-api v3.3/v3.4/v3.5 classes. - Support for
job_title
parameter increate_bot
method in configuration-api v3.3/v3.4/v3.5 classes. - Support for
proxies
andverify
parameters for web base clients.
- Renamed method
tag_chat_usage
tochat_usage
in reports-api v3.5. - Internal documentation main page and structure.
- Fix paths for
response_time
andfirst_response_time
methods in reports-api v3.4/v3.5 classes. - Fix
upload_file
method in agent-api v3.4/v3.5 classes.
- Support for
list_group_properties
,get_license_id
andget_organization_id
method in configuration-api v3.5 class. - Support for
webhook
parameter increate_bot
andupdate_bot
methods in configuration-api v3.3/v3.4/v3.5 classes.
- Support for new batch methods in configuration-api v3.5:
batch_create_agents
,batch_delete_agents
,batch_update_agents
,batch_approve_agents
,batch_suspend_agents
,batch_unsuspend_agents
.
- Updated requirements.txt.
- Fix HTTP method in
get_dynamic_configuration
,get_configuration
,get_localization
,list_group_properties
,list_license_properties
anddelete_event_properties
. - Fix
upload_file
method by changing the way of uploading files; using HTTP multipart encoding.
- Webhooks support. Allows to easily convert webhook's body into parsed data classes.
- Updated httpx dependency to a version which fixes a potential vulnerability.
- Updated readme file and extended examples with getting pushes from the websocket client.
- New methods in configuration-api v3.5 for tags management:
create_tag
,list_tags
,update_tag
,delete_tag
. - New method in reports-api v3.5 for getting tags usage statistics in chats:
tags_chat_usage
.
- Major refactoring: classes with API methods for each version are now held in separate modules
This is possibly breaking change, please make sure if your imports point to
livechat.<service>.<transport>.base
). When in doubt, please compare with the updatedexamples
directory. - Added new param
owner_client_id
in Configuration APIcreate_bot
for Interface and v3.5 classes. - Added new methods related to product information (
list_channels
,check_product_limits
) in Configuration API v3.5.
- Handling of configuration file.
- API stable version 3.4 as a default.
- API dev preview version 3.5 support.
- Proxy support to web interfaces.
- RtmResponse structure for RTM clients.
- Added new methods related to greetings conversion, chat surveys, and response time in reports-api v3.4.
- Added new methods for organization/license ID lookup in configuration v3.4.
- Fixed methods for uploading files.
- Renamed
reorder_auto_access
toupdate_auto_access
- Added logging for web interface
- Support for
organization_id
in Customer(rtm/web) v3.4.
- Added type hints support
- Added support for reports-api.
- Refactored ws_client module - new client extends WebSocketApp from websocket-client package.
- Handling for
pushes
param inlogin
of agent RTM.
- websocket-client package to version 1.2.1.
- urllib package to version 1.26.6.
- Support for HTTP/2 protocol within the following clients: Agent(web), Customer(web), Configuration.
- requests to httpx package.
- Handle new destructive action flags (
ignore_requester_presence
,ignore_agents_availability
) in v3.4.
- Include essential subpackages
- Api version 3.4 support.
- Example usages of following clients: Agent(rtm/web), Customer(rtm/web), Configuration.
add_user_to_chat
andsend_typing_indicator
methods to v3.4 class with a support of visibility arg.- Custom header handling for the following clients: Agent(web), Customer(web), Configuration.
- Support for
grant_chat_access
andrevoke_chat_access
methods in v3.4 class. - Flag
require_active_thread
in methodadd_user_to_chat
.
- urllib package to version 1.26.5.
- New header manipulation/retrieval methods.
- Changelog file.
- Simple usage example in
readme.md
.
agent
,configuration
andcustomer
packages now have common rootlivechat
.- rename
ConfigurationApi
method for obtaining client toget_client
for consistency with other clients.