diff --git a/changelog.md b/changelog.md index fff9c8f..270e0c9 100644 --- a/changelog.md +++ b/changelog.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. - New methods in configuration-api v3.7 for canned responses: `create_canned_response`, `update_canned_response`, `list_canned_responses`, `delete_canned_response`. - New method `request_thread_summary` in agent-api v3.6 and v3.7. - New flag `name_is_default` in method `update_customer` in customer-api v3.6 and v3.7. +- New field `phone_number` in method `update_customer` in customer-api v3.6 and v3.7. - New method in reports-api v3.7: report `campaigns_conversion`. ### Changed diff --git a/livechat/customer/rtm/api/v36.py b/livechat/customer/rtm/api/v36.py index e975851..7b85f31 100644 --- a/livechat/customer/rtm/api/v36.py +++ b/livechat/customer/rtm/api/v36.py @@ -441,6 +441,7 @@ def update_customer(self, name: str = None, name_is_default: bool = None, email: str = None, + phone_number: str = None, avatar: str = None, session_fields: list = None, payload: dict = None) -> RtmResponse: @@ -450,6 +451,7 @@ def update_customer(self, name (str): Customer`s name. name_is_default (bool): Flag which states if the name is default. email (str): Customer`s email. + phone_number (str): Customer`s phone number. avatar (str): Customer`s avatar. session_fields (list): An array of custom object-enclosed key:value pairs. Respects the order of items. diff --git a/livechat/customer/rtm/api/v37.py b/livechat/customer/rtm/api/v37.py index e767c8b..b112e36 100644 --- a/livechat/customer/rtm/api/v37.py +++ b/livechat/customer/rtm/api/v37.py @@ -441,6 +441,7 @@ def update_customer(self, name: str = None, name_is_default: bool = None, email: str = None, + phone_number: str = None, avatar: str = None, session_fields: list = None, payload: dict = None) -> RtmResponse: @@ -450,6 +451,7 @@ def update_customer(self, name (str): Customer`s name. name_is_default (bool): Flag which states if the name is default. email (str): Customer`s email. + phone_number (str): Customer`s phone number. avatar (str): Customer`s avatar. session_fields (list): An array of custom object-enclosed key:value pairs. Respects the order of items. diff --git a/livechat/customer/web/api/v36.py b/livechat/customer/web/api/v36.py index 149f2ea..7c7181c 100644 --- a/livechat/customer/web/api/v36.py +++ b/livechat/customer/web/api/v36.py @@ -702,6 +702,7 @@ def update_customer(self, name: str = None, name_is_default: bool = None, email: str = None, + phone_number: str = None, avatar: str = None, session_fields: list = None, payload: dict = None, @@ -712,6 +713,7 @@ def update_customer(self, name (str): Name of the customer. name_is_default (bool): Flag which states if the name is default. email (str): Email of the customer. + phone_number (str): Phone number of the customer. avatar (str): The URL of the Customer's avatar. session_fields (list): An array of custom object-enclosed key:value pairs. Respects the order of items. diff --git a/livechat/customer/web/api/v37.py b/livechat/customer/web/api/v37.py index f9c6e7c..8e12bc0 100644 --- a/livechat/customer/web/api/v37.py +++ b/livechat/customer/web/api/v37.py @@ -702,6 +702,7 @@ def update_customer(self, name: str = None, name_is_default: bool = None, email: str = None, + phone_number: str = None, avatar: str = None, session_fields: list = None, payload: dict = None, @@ -712,6 +713,7 @@ def update_customer(self, name (str): Name of the customer. name_is_default (bool): Flag which states if the name is default. email (str): Email of the customer. + phone_number (str): Phone number of the customer. avatar (str): The URL of the Customer's avatar. session_fields (list): An array of custom object-enclosed key:value pairs. Respects the order of items.