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
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ All notable changes to this project will be documented in this file.
- Fixed passing query params in customer-api WEB client for httpx v0.28.0 compatibility.

### Removed
- Support for version 3.3.
- Support for versions 3.3 and 3.4.
- Removed support for billing-api.
- Support `get_predicted_agent` in customer-api v3.7.
- Support for `create_customer` method removed in agent-api v3.6 and later.
Expand Down
962 changes: 0 additions & 962 deletions livechat/agent/rtm/api/v34.py

This file was deleted.

4 changes: 1 addition & 3 deletions livechat/agent/rtm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from typing import Callable, Union

from livechat.agent.rtm.api.v34 import AgentRtmV34
from livechat.agent.rtm.api.v35 import AgentRtmV35
from livechat.agent.rtm.api.v36 import AgentRtmV36
from livechat.agent.rtm.api.v37 import AgentRtmV37
Expand All @@ -22,7 +21,7 @@ def get_client(
version: str = stable_version,
base_url: str = api_url,
header: Union[list, dict, Callable, None] = None,
) -> Union[AgentRtmV34, AgentRtmV35, AgentRtmV36, AgentRtmV37]:
) -> Union[AgentRtmV35, AgentRtmV36, AgentRtmV37]:
''' Returns client for specific Agent RTM version.

Args:
Expand All @@ -38,7 +37,6 @@ def get_client(
ValueError: If the specified version does not exist.
'''
client = {
'3.4': AgentRtmV34,
'3.5': AgentRtmV35,
'3.6': AgentRtmV36,
'3.7': AgentRtmV37,
Expand Down
1,019 changes: 0 additions & 1,019 deletions livechat/agent/web/api/v34.py

This file was deleted.

6 changes: 1 addition & 5 deletions livechat/agent/web/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import httpx

from livechat.agent.web.api.v34 import AgentWebV34
from livechat.agent.web.api.v35 import AgentWebV35
from livechat.agent.web.api.v36 import AgentWebV36
from livechat.agent.web.api.v37 import AgentWebV37
Expand All @@ -31,7 +30,7 @@ def get_client(
verify: bool = True,
disable_logging: bool = False,
timeout: float = httpx.Timeout(15)
) -> Union[AgentWebV34, AgentWebV35, AgentWebV36, AgentWebV37]:
) -> Union[AgentWebV35, AgentWebV36, AgentWebV37]:
''' Returns client for specific API version.

Args:
Expand All @@ -57,9 +56,6 @@ def get_client(
ValueError: If the specified version does not exist.
'''
client = {
'3.4':
AgentWebV34(access_token, base_url, http2, proxies, verify,
disable_logging, timeout),
'3.5':
AgentWebV35(access_token, base_url, http2, proxies, verify,
disable_logging, timeout),
Expand Down
1,210 changes: 0 additions & 1,210 deletions livechat/configuration/api/v34.py

This file was deleted.

6 changes: 1 addition & 5 deletions livechat/configuration/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import httpx

from livechat.config import CONFIG
from livechat.configuration.api.v34 import ConfigurationApiV34
from livechat.configuration.api.v35 import ConfigurationApiV35
from livechat.configuration.api.v36 import ConfigurationApiV36
from livechat.configuration.api.v37 import ConfigurationApiV37
Expand All @@ -32,7 +31,7 @@ def get_client(
verify: bool = True,
disable_logging: bool = False,
timeout: float = httpx.Timeout(15)
) -> Union[ConfigurationApiV34, ConfigurationApiV35, ConfigurationApiV36,
) -> Union[ConfigurationApiV35, ConfigurationApiV36,
ConfigurationApiV37]:
''' Returns client for specific Configuration API version.

Expand All @@ -59,9 +58,6 @@ def get_client(
ValueError: If the specified version does not exist.
'''
client = {
'3.4':
ConfigurationApiV34(token, base_url, http2, proxies, verify,
disable_logging, timeout),
'3.5':
ConfigurationApiV35(token, base_url, http2, proxies, verify,
disable_logging, timeout),
Expand Down
Loading
Loading