@@ -651,31 +651,6 @@ <h1 class="title">Module <code>livechat.agent.rtm.api.v36</code></h1>
651
651
payload = prepare_payload(locals())
652
652
return self.ws.send({'action': 'get_customer', 'payload': payload})
653
653
654
- def create_customer(self,
655
- name: str = None,
656
- email: str = None,
657
- avatar: str = None,
658
- session_fields: list = None,
659
- payload: dict = None) -> RtmResponse:
660
- ''' Creates a new Customer user type.
661
-
662
- Args:
663
- name (str): Customer's name.
664
- email (str): Customer's email.
665
- avatar (str): URL of the Customer's avatar.
666
- session_fields (list): An array of custom object-enclosed key:value pairs.
667
- Respects the order of items.
668
- payload (dict): Custom payload to be used as request's data.
669
- It overrides all other parameters provided for the method.
670
-
671
- Returns:
672
- RtmResponse: RTM response structure (`request_id`, `action`,
673
- `type`, `success` and `payload` properties)
674
- '''
675
- if payload is None:
676
- payload = prepare_payload(locals())
677
- return self.ws.send({'action': 'create_customer', 'payload': payload})
678
-
679
654
def update_customer(self,
680
655
id: str = None,
681
656
name: str = None,
@@ -1709,31 +1684,6 @@ <h2 class="section-title" id="header-classes">Classes</h2>
1709
1684
payload = prepare_payload(locals())
1710
1685
return self.ws.send({'action': 'get_customer', 'payload': payload})
1711
1686
1712
- def create_customer(self,
1713
- name: str = None,
1714
- email: str = None,
1715
- avatar: str = None,
1716
- session_fields: list = None,
1717
- payload: dict = None) -> RtmResponse:
1718
- ''' Creates a new Customer user type.
1719
-
1720
- Args:
1721
- name (str): Customer's name.
1722
- email (str): Customer's email.
1723
- avatar (str): URL of the Customer's avatar.
1724
- session_fields (list): An array of custom object-enclosed key:value pairs.
1725
- Respects the order of items.
1726
- payload (dict): Custom payload to be used as request's data.
1727
- It overrides all other parameters provided for the method.
1728
-
1729
- Returns:
1730
- RtmResponse: RTM response structure (`request_id`, `action`,
1731
- `type`, `success` and `payload` properties)
1732
- '''
1733
- if payload is None:
1734
- payload = prepare_payload(locals())
1735
- return self.ws.send({'action': 'create_customer', 'payload': payload})
1736
-
1737
1687
def update_customer(self,
1738
1688
id: str = None,
1739
1689
name: str = None,
@@ -2317,62 +2267,6 @@ <h2 id="returns">Returns</h2>
2317
2267
self.ws.close()</ code > </ pre >
2318
2268
</ details >
2319
2269
</ dd >
2320
- < dt id ="livechat.agent.rtm.api.v36.AgentRtmV36.create_customer "> < code class ="name flex ">
2321
- < span > def < span class ="ident "> create_customer</ span > </ span > (< span > self, name: str = None, email: str = None, avatar: str = None, session_fields: list = None, payload: dict = None) ‑> livechat.utils.structures.RtmResponse</ span >
2322
- </ code > </ dt >
2323
- < dd >
2324
- < div class ="desc "> < p > Creates a new Customer user type.</ p >
2325
- < h2 id ="args "> Args</ h2 >
2326
- < dl >
2327
- < dt > < strong > < code > name</ code > </ strong > : < code > str</ code > </ dt >
2328
- < dd > Customer's name.</ dd >
2329
- < dt > < strong > < code > email</ code > </ strong > : < code > str</ code > </ dt >
2330
- < dd > Customer's email.</ dd >
2331
- < dt > < strong > < code > avatar</ code > </ strong > : < code > str</ code > </ dt >
2332
- < dd > URL of the Customer's avatar.</ dd >
2333
- < dt > < strong > < code > session_fields</ code > </ strong > : < code > list</ code > </ dt >
2334
- < dd > An array of custom object-enclosed key:value pairs.
2335
- Respects the order of items.</ dd >
2336
- < dt > < strong > < code > payload</ code > </ strong > : < code > dict</ code > </ dt >
2337
- < dd > Custom payload to be used as request's data.
2338
- It overrides all other parameters provided for the method.</ dd >
2339
- </ dl >
2340
- < h2 id ="returns "> Returns</ h2 >
2341
- < dl >
2342
- < dt > < code > RtmResponse</ code > </ dt >
2343
- < dd > RTM response structure (< code > request_id</ code > , < code > action</ code > ,
2344
- < code > type</ code > , < code > success</ code > and < code > payload</ code > properties)</ dd >
2345
- </ dl > </ div >
2346
- < details class ="source ">
2347
- < summary >
2348
- < span > Expand source code</ span >
2349
- </ summary >
2350
- < pre > < code class ="python "> def create_customer(self,
2351
- name: str = None,
2352
- email: str = None,
2353
- avatar: str = None,
2354
- session_fields: list = None,
2355
- payload: dict = None) -> RtmResponse:
2356
- ''' Creates a new Customer user type.
2357
-
2358
- Args:
2359
- name (str): Customer's name.
2360
- email (str): Customer's email.
2361
- avatar (str): URL of the Customer's avatar.
2362
- session_fields (list): An array of custom object-enclosed key:value pairs.
2363
- Respects the order of items.
2364
- payload (dict): Custom payload to be used as request's data.
2365
- It overrides all other parameters provided for the method.
2366
-
2367
- Returns:
2368
- RtmResponse: RTM response structure (`request_id`, `action`,
2369
- `type`, `success` and `payload` properties)
2370
- '''
2371
- if payload is None:
2372
- payload = prepare_payload(locals())
2373
- return self.ws.send({'action': 'create_customer', 'payload': payload})</ code > </ pre >
2374
- </ details >
2375
- </ dd >
2376
2270
< dt id ="livechat.agent.rtm.api.v36.AgentRtmV36.deactivate_chat "> < code class ="name flex ">
2377
2271
< span > def < span class ="ident "> deactivate_chat</ span > </ span > (< span > self, id: str = None, ignore_requester_presence: bool = None, payload: dict = None) ‑> livechat.utils.structures.RtmResponse</ span >
2378
2272
</ code > </ dt >
@@ -4373,7 +4267,6 @@ <h4><code><a title="livechat.agent.rtm.api.v36.AgentRtmV36" href="#livechat.agen
4373
4267
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.ban_customer " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.ban_customer "> ban_customer</ a > </ code > </ li >
4374
4268
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.change_push_notifications " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.change_push_notifications "> change_push_notifications</ a > </ code > </ li >
4375
4269
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.close_connection " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.close_connection "> close_connection</ a > </ code > </ li >
4376
- < li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.create_customer " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.create_customer "> create_customer</ a > </ code > </ li >
4377
4270
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.deactivate_chat " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.deactivate_chat "> deactivate_chat</ a > </ code > </ li >
4378
4271
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.delete_chat_properties " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.delete_chat_properties "> delete_chat_properties</ a > </ code > </ li >
4379
4272
< li > < code > < a title ="livechat.agent.rtm.api.v36.AgentRtmV36.delete_event_properties " href ="#livechat.agent.rtm.api.v36.AgentRtmV36.delete_event_properties "> delete_event_properties</ a > </ code > </ li >
0 commit comments