ultracart-rest-sdk 4.1.41__py3-none-any.whl → 4.1.54__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. ultracart/__init__.py +1 -1
  2. ultracart/api/conversation_api.py +1293 -53
  3. ultracart/api_client.py +1 -1
  4. ultracart/configuration.py +1 -1
  5. ultracart/model/cart.py +6 -0
  6. ultracart/model/cart_utm.py +388 -0
  7. ultracart/model/conversation_agent_auth.py +8 -0
  8. ultracart/model/conversation_department_member.py +4 -0
  9. ultracart/model/conversation_pbx_address.py +4 -0
  10. ultracart/model/conversation_pbx_agent.py +21 -4
  11. ultracart/model/conversation_pbx_available_phone_number.py +4 -0
  12. ultracart/model/conversation_pbx_call.py +370 -0
  13. ultracart/model/conversation_pbx_call_agent.py +296 -0
  14. ultracart/model/conversation_pbx_call_ai_cost.py +276 -0
  15. ultracart/model/conversation_pbx_call_ai_engagement.py +314 -0
  16. ultracart/model/conversation_pbx_call_ai_tool_call.py +296 -0
  17. ultracart/model/conversation_pbx_call_ai_whisper.py +276 -0
  18. ultracart/model/conversation_pbx_call_caller.py +280 -0
  19. ultracart/model/conversation_pbx_call_financial.py +288 -0
  20. ultracart/model/conversation_pbx_call_hold.py +276 -0
  21. ultracart/model/conversation_pbx_call_queue.py +284 -0
  22. ultracart/model/conversation_pbx_call_recording.py +294 -0
  23. ultracart/model/conversation_pbx_call_response.py +292 -0
  24. ultracart/model/conversation_pbx_call_routing.py +278 -0
  25. ultracart/model/conversation_pbx_call_search_request.py +324 -0
  26. ultracart/model/conversation_pbx_call_search_response.py +292 -0
  27. ultracart/model/conversation_pbx_call_timeline.py +284 -0
  28. ultracart/model/conversation_pbx_call_transcript.py +294 -0
  29. ultracart/model/conversation_pbx_call_transcript_segment.py +292 -0
  30. ultracart/model/conversation_pbx_call_transfer.py +280 -0
  31. ultracart/model/conversation_pbx_hardware_phone.py +361 -0
  32. ultracart/model/conversation_pbx_hardware_phone_response.py +292 -0
  33. ultracart/model/conversation_pbx_hardware_phones_response.py +270 -0
  34. ultracart/model/conversation_pbx_phone_manufacturer.py +278 -0
  35. ultracart/model/conversation_pbx_phone_manufacturers_response.py +292 -0
  36. ultracart/model/conversation_pbx_phone_model.py +268 -0
  37. ultracart/model/conversation_pbx_phone_number.py +11 -0
  38. ultracart/model/conversation_pbx_queue.py +4 -0
  39. ultracart/model/coupon_codes_request.py +7 -0
  40. ultracart/model/item_content_multimedia.py +4 -0
  41. ultracart/models/__init__.py +26 -0
  42. {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.54.dist-info}/METADATA +1 -1
  43. {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.54.dist-info}/RECORD +46 -20
  44. {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.54.dist-info}/LICENSE +0 -0
  45. {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.54.dist-info}/WHEEL +0 -0
  46. {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.54.dist-info}/top_level.txt +0 -0
@@ -64,11 +64,18 @@ from ultracart.model.conversation_pbx_audio_upload_url_response import Conversat
64
64
  from ultracart.model.conversation_pbx_audio_usage_response import ConversationPbxAudioUsageResponse
65
65
  from ultracart.model.conversation_pbx_audios_response import ConversationPbxAudiosResponse
66
66
  from ultracart.model.conversation_pbx_available_phone_numbers_response import ConversationPbxAvailablePhoneNumbersResponse
67
+ from ultracart.model.conversation_pbx_call_response import ConversationPbxCallResponse
68
+ from ultracart.model.conversation_pbx_call_search_request import ConversationPbxCallSearchRequest
69
+ from ultracart.model.conversation_pbx_call_search_response import ConversationPbxCallSearchResponse
67
70
  from ultracart.model.conversation_pbx_customer_snapshot_request import ConversationPbxCustomerSnapshotRequest
68
71
  from ultracart.model.conversation_pbx_customer_snapshot_response import ConversationPbxCustomerSnapshotResponse
72
+ from ultracart.model.conversation_pbx_hardware_phone import ConversationPbxHardwarePhone
73
+ from ultracart.model.conversation_pbx_hardware_phone_response import ConversationPbxHardwarePhoneResponse
74
+ from ultracart.model.conversation_pbx_hardware_phones_response import ConversationPbxHardwarePhonesResponse
69
75
  from ultracart.model.conversation_pbx_menu import ConversationPbxMenu
70
76
  from ultracart.model.conversation_pbx_menu_response import ConversationPbxMenuResponse
71
77
  from ultracart.model.conversation_pbx_menus_response import ConversationPbxMenusResponse
78
+ from ultracart.model.conversation_pbx_phone_manufacturers_response import ConversationPbxPhoneManufacturersResponse
72
79
  from ultracart.model.conversation_pbx_phone_number import ConversationPbxPhoneNumber
73
80
  from ultracart.model.conversation_pbx_phone_number_purchase_request import ConversationPbxPhoneNumberPurchaseRequest
74
81
  from ultracart.model.conversation_pbx_phone_number_response import ConversationPbxPhoneNumberResponse
@@ -554,6 +561,58 @@ class ConversationApi(object):
554
561
  },
555
562
  api_client=api_client
556
563
  )
564
+ self.delete_pbx_hardware_phone_endpoint = _Endpoint(
565
+ settings={
566
+ 'response_type': (ConversationPbxHardwarePhoneResponse,),
567
+ 'auth': [
568
+ 'ultraCartOauth',
569
+ 'ultraCartSimpleApiKey'
570
+ ],
571
+ 'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
572
+ 'operation_id': 'delete_pbx_hardware_phone',
573
+ 'http_method': 'DELETE',
574
+ 'servers': None,
575
+ },
576
+ params_map={
577
+ 'all': [
578
+ 'conversation_pbx_hardware_phone_uuid',
579
+ ],
580
+ 'required': [
581
+ 'conversation_pbx_hardware_phone_uuid',
582
+ ],
583
+ 'nullable': [
584
+ ],
585
+ 'enum': [
586
+ ],
587
+ 'validation': [
588
+ ]
589
+ },
590
+ root_map={
591
+ 'validations': {
592
+ },
593
+ 'allowed_values': {
594
+ },
595
+ 'openapi_types': {
596
+ 'conversation_pbx_hardware_phone_uuid':
597
+ (str,),
598
+ },
599
+ 'attribute_map': {
600
+ 'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
601
+ },
602
+ 'location_map': {
603
+ 'conversation_pbx_hardware_phone_uuid': 'path',
604
+ },
605
+ 'collection_format_map': {
606
+ }
607
+ },
608
+ headers_map={
609
+ 'accept': [
610
+ 'application/json'
611
+ ],
612
+ 'content_type': [],
613
+ },
614
+ api_client=api_client
615
+ )
557
616
  self.delete_pbx_menu_endpoint = _Endpoint(
558
617
  settings={
559
618
  'response_type': (ConversationPbxMenuResponse,),
@@ -2689,6 +2748,200 @@ class ConversationApi(object):
2689
2748
  },
2690
2749
  api_client=api_client
2691
2750
  )
2751
+ self.get_pbx_call_endpoint = _Endpoint(
2752
+ settings={
2753
+ 'response_type': (ConversationPbxCallResponse,),
2754
+ 'auth': [
2755
+ 'ultraCartOauth',
2756
+ 'ultraCartSimpleApiKey'
2757
+ ],
2758
+ 'endpoint_path': '/conversation/pbx/call/{callUuid}',
2759
+ 'operation_id': 'get_pbx_call',
2760
+ 'http_method': 'GET',
2761
+ 'servers': None,
2762
+ },
2763
+ params_map={
2764
+ 'all': [
2765
+ 'call_uuid',
2766
+ ],
2767
+ 'required': [
2768
+ 'call_uuid',
2769
+ ],
2770
+ 'nullable': [
2771
+ ],
2772
+ 'enum': [
2773
+ ],
2774
+ 'validation': [
2775
+ ]
2776
+ },
2777
+ root_map={
2778
+ 'validations': {
2779
+ },
2780
+ 'allowed_values': {
2781
+ },
2782
+ 'openapi_types': {
2783
+ 'call_uuid':
2784
+ (str,),
2785
+ },
2786
+ 'attribute_map': {
2787
+ 'call_uuid': 'callUuid',
2788
+ },
2789
+ 'location_map': {
2790
+ 'call_uuid': 'path',
2791
+ },
2792
+ 'collection_format_map': {
2793
+ }
2794
+ },
2795
+ headers_map={
2796
+ 'accept': [
2797
+ 'application/json'
2798
+ ],
2799
+ 'content_type': [],
2800
+ },
2801
+ api_client=api_client
2802
+ )
2803
+ self.get_pbx_hardware_phone_endpoint = _Endpoint(
2804
+ settings={
2805
+ 'response_type': (ConversationPbxHardwarePhoneResponse,),
2806
+ 'auth': [
2807
+ 'ultraCartOauth',
2808
+ 'ultraCartSimpleApiKey'
2809
+ ],
2810
+ 'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
2811
+ 'operation_id': 'get_pbx_hardware_phone',
2812
+ 'http_method': 'GET',
2813
+ 'servers': None,
2814
+ },
2815
+ params_map={
2816
+ 'all': [
2817
+ 'conversation_pbx_hardware_phone_uuid',
2818
+ ],
2819
+ 'required': [
2820
+ 'conversation_pbx_hardware_phone_uuid',
2821
+ ],
2822
+ 'nullable': [
2823
+ ],
2824
+ 'enum': [
2825
+ ],
2826
+ 'validation': [
2827
+ ]
2828
+ },
2829
+ root_map={
2830
+ 'validations': {
2831
+ },
2832
+ 'allowed_values': {
2833
+ },
2834
+ 'openapi_types': {
2835
+ 'conversation_pbx_hardware_phone_uuid':
2836
+ (str,),
2837
+ },
2838
+ 'attribute_map': {
2839
+ 'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
2840
+ },
2841
+ 'location_map': {
2842
+ 'conversation_pbx_hardware_phone_uuid': 'path',
2843
+ },
2844
+ 'collection_format_map': {
2845
+ }
2846
+ },
2847
+ headers_map={
2848
+ 'accept': [
2849
+ 'application/json'
2850
+ ],
2851
+ 'content_type': [],
2852
+ },
2853
+ api_client=api_client
2854
+ )
2855
+ self.get_pbx_hardware_phone_manufacturers_endpoint = _Endpoint(
2856
+ settings={
2857
+ 'response_type': (ConversationPbxPhoneManufacturersResponse,),
2858
+ 'auth': [
2859
+ 'ultraCartOauth',
2860
+ 'ultraCartSimpleApiKey'
2861
+ ],
2862
+ 'endpoint_path': '/conversation/pbx/hardware_phone/manufacturers',
2863
+ 'operation_id': 'get_pbx_hardware_phone_manufacturers',
2864
+ 'http_method': 'GET',
2865
+ 'servers': None,
2866
+ },
2867
+ params_map={
2868
+ 'all': [
2869
+ ],
2870
+ 'required': [],
2871
+ 'nullable': [
2872
+ ],
2873
+ 'enum': [
2874
+ ],
2875
+ 'validation': [
2876
+ ]
2877
+ },
2878
+ root_map={
2879
+ 'validations': {
2880
+ },
2881
+ 'allowed_values': {
2882
+ },
2883
+ 'openapi_types': {
2884
+ },
2885
+ 'attribute_map': {
2886
+ },
2887
+ 'location_map': {
2888
+ },
2889
+ 'collection_format_map': {
2890
+ }
2891
+ },
2892
+ headers_map={
2893
+ 'accept': [
2894
+ 'application/json'
2895
+ ],
2896
+ 'content_type': [],
2897
+ },
2898
+ api_client=api_client
2899
+ )
2900
+ self.get_pbx_hardware_phones_endpoint = _Endpoint(
2901
+ settings={
2902
+ 'response_type': (ConversationPbxHardwarePhonesResponse,),
2903
+ 'auth': [
2904
+ 'ultraCartOauth',
2905
+ 'ultraCartSimpleApiKey'
2906
+ ],
2907
+ 'endpoint_path': '/conversation/pbx/hardware_phone',
2908
+ 'operation_id': 'get_pbx_hardware_phones',
2909
+ 'http_method': 'GET',
2910
+ 'servers': None,
2911
+ },
2912
+ params_map={
2913
+ 'all': [
2914
+ ],
2915
+ 'required': [],
2916
+ 'nullable': [
2917
+ ],
2918
+ 'enum': [
2919
+ ],
2920
+ 'validation': [
2921
+ ]
2922
+ },
2923
+ root_map={
2924
+ 'validations': {
2925
+ },
2926
+ 'allowed_values': {
2927
+ },
2928
+ 'openapi_types': {
2929
+ },
2930
+ 'attribute_map': {
2931
+ },
2932
+ 'location_map': {
2933
+ },
2934
+ 'collection_format_map': {
2935
+ }
2936
+ },
2937
+ headers_map={
2938
+ 'accept': [
2939
+ 'application/json'
2940
+ ],
2941
+ 'content_type': [],
2942
+ },
2943
+ api_client=api_client
2944
+ )
2692
2945
  self.get_pbx_menu_endpoint = _Endpoint(
2693
2946
  settings={
2694
2947
  'response_type': (ConversationPbxMenuResponse,),
@@ -3854,6 +4107,59 @@ class ConversationApi(object):
3854
4107
  },
3855
4108
  api_client=api_client
3856
4109
  )
4110
+ self.insert_pbx_hardware_phone_endpoint = _Endpoint(
4111
+ settings={
4112
+ 'response_type': (ConversationPbxHardwarePhoneResponse,),
4113
+ 'auth': [
4114
+ 'ultraCartOauth',
4115
+ 'ultraCartSimpleApiKey'
4116
+ ],
4117
+ 'endpoint_path': '/conversation/pbx/hardware_phone',
4118
+ 'operation_id': 'insert_pbx_hardware_phone',
4119
+ 'http_method': 'POST',
4120
+ 'servers': None,
4121
+ },
4122
+ params_map={
4123
+ 'all': [
4124
+ 'pbx_hardware_phone',
4125
+ ],
4126
+ 'required': [
4127
+ 'pbx_hardware_phone',
4128
+ ],
4129
+ 'nullable': [
4130
+ ],
4131
+ 'enum': [
4132
+ ],
4133
+ 'validation': [
4134
+ ]
4135
+ },
4136
+ root_map={
4137
+ 'validations': {
4138
+ },
4139
+ 'allowed_values': {
4140
+ },
4141
+ 'openapi_types': {
4142
+ 'pbx_hardware_phone':
4143
+ (ConversationPbxHardwarePhone,),
4144
+ },
4145
+ 'attribute_map': {
4146
+ },
4147
+ 'location_map': {
4148
+ 'pbx_hardware_phone': 'body',
4149
+ },
4150
+ 'collection_format_map': {
4151
+ }
4152
+ },
4153
+ headers_map={
4154
+ 'accept': [
4155
+ 'application/json'
4156
+ ],
4157
+ 'content_type': [
4158
+ 'application/json'
4159
+ ]
4160
+ },
4161
+ api_client=api_client
4162
+ )
3857
4163
  self.insert_pbx_menu_endpoint = _Endpoint(
3858
4164
  settings={
3859
4165
  'response_type': (ConversationPbxMenuResponse,),
@@ -4496,7 +4802,66 @@ class ConversationApi(object):
4496
4802
  },
4497
4803
  api_client=api_client
4498
4804
  )
4499
- self.reset_conversation_pbx_queue_statistics_endpoint = _Endpoint(
4805
+ self.regenerate_password_for_pbx_hardware_phone_endpoint = _Endpoint(
4806
+ settings={
4807
+ 'response_type': (ConversationPbxHardwarePhoneResponse,),
4808
+ 'auth': [
4809
+ 'ultraCartOauth',
4810
+ 'ultraCartSimpleApiKey'
4811
+ ],
4812
+ 'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}/regenerate_password',
4813
+ 'operation_id': 'regenerate_password_for_pbx_hardware_phone',
4814
+ 'http_method': 'POST',
4815
+ 'servers': None,
4816
+ },
4817
+ params_map={
4818
+ 'all': [
4819
+ 'conversation_pbx_hardware_phone_uuid',
4820
+ 'pbx_hardware_phone',
4821
+ ],
4822
+ 'required': [
4823
+ 'conversation_pbx_hardware_phone_uuid',
4824
+ 'pbx_hardware_phone',
4825
+ ],
4826
+ 'nullable': [
4827
+ ],
4828
+ 'enum': [
4829
+ ],
4830
+ 'validation': [
4831
+ ]
4832
+ },
4833
+ root_map={
4834
+ 'validations': {
4835
+ },
4836
+ 'allowed_values': {
4837
+ },
4838
+ 'openapi_types': {
4839
+ 'conversation_pbx_hardware_phone_uuid':
4840
+ (str,),
4841
+ 'pbx_hardware_phone':
4842
+ (ConversationPbxHardwarePhone,),
4843
+ },
4844
+ 'attribute_map': {
4845
+ 'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
4846
+ },
4847
+ 'location_map': {
4848
+ 'conversation_pbx_hardware_phone_uuid': 'path',
4849
+ 'pbx_hardware_phone': 'body',
4850
+ },
4851
+ 'collection_format_map': {
4852
+ }
4853
+ },
4854
+ headers_map={
4855
+ 'accept': [
4856
+ 'application/json'
4857
+ ],
4858
+ 'content_type': [
4859
+ 'application/json'
4860
+ ]
4861
+ },
4862
+ api_client=api_client
4863
+ )
4864
+ self.reset_conversation_pbx_queue_statistics_endpoint = _Endpoint(
4500
4865
  settings={
4501
4866
  'response_type': None,
4502
4867
  'auth': [
@@ -4683,6 +5048,74 @@ class ConversationApi(object):
4683
5048
  },
4684
5049
  api_client=api_client
4685
5050
  )
5051
+ self.search_pbx_calls_endpoint = _Endpoint(
5052
+ settings={
5053
+ 'response_type': (ConversationPbxCallSearchResponse,),
5054
+ 'auth': [
5055
+ 'ultraCartOauth',
5056
+ 'ultraCartSimpleApiKey'
5057
+ ],
5058
+ 'endpoint_path': '/conversation/pbx/call/search',
5059
+ 'operation_id': 'search_pbx_calls',
5060
+ 'http_method': 'POST',
5061
+ 'servers': None,
5062
+ },
5063
+ params_map={
5064
+ 'all': [
5065
+ 'search_request',
5066
+ 'limit',
5067
+ 'offset',
5068
+ 'sort',
5069
+ ],
5070
+ 'required': [
5071
+ 'search_request',
5072
+ ],
5073
+ 'nullable': [
5074
+ ],
5075
+ 'enum': [
5076
+ ],
5077
+ 'validation': [
5078
+ ]
5079
+ },
5080
+ root_map={
5081
+ 'validations': {
5082
+ },
5083
+ 'allowed_values': {
5084
+ },
5085
+ 'openapi_types': {
5086
+ 'search_request':
5087
+ (ConversationPbxCallSearchRequest,),
5088
+ 'limit':
5089
+ (int,),
5090
+ 'offset':
5091
+ (int,),
5092
+ 'sort':
5093
+ (str,),
5094
+ },
5095
+ 'attribute_map': {
5096
+ 'limit': '_limit',
5097
+ 'offset': '_offset',
5098
+ 'sort': '_sort',
5099
+ },
5100
+ 'location_map': {
5101
+ 'search_request': 'body',
5102
+ 'limit': 'query',
5103
+ 'offset': 'query',
5104
+ 'sort': 'query',
5105
+ },
5106
+ 'collection_format_map': {
5107
+ }
5108
+ },
5109
+ headers_map={
5110
+ 'accept': [
5111
+ 'application/json'
5112
+ ],
5113
+ 'content_type': [
5114
+ 'application/json'
5115
+ ]
5116
+ },
5117
+ api_client=api_client
5118
+ )
4686
5119
  self.sms_unsubscribe_conversation_endpoint = _Endpoint(
4687
5120
  settings={
4688
5121
  'response_type': None,
@@ -5319,6 +5752,65 @@ class ConversationApi(object):
5319
5752
  },
5320
5753
  api_client=api_client
5321
5754
  )
5755
+ self.update_pbx_hardware_phone_endpoint = _Endpoint(
5756
+ settings={
5757
+ 'response_type': (ConversationPbxHardwarePhoneResponse,),
5758
+ 'auth': [
5759
+ 'ultraCartOauth',
5760
+ 'ultraCartSimpleApiKey'
5761
+ ],
5762
+ 'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
5763
+ 'operation_id': 'update_pbx_hardware_phone',
5764
+ 'http_method': 'PUT',
5765
+ 'servers': None,
5766
+ },
5767
+ params_map={
5768
+ 'all': [
5769
+ 'conversation_pbx_hardware_phone_uuid',
5770
+ 'pbx_hardware_phone',
5771
+ ],
5772
+ 'required': [
5773
+ 'conversation_pbx_hardware_phone_uuid',
5774
+ 'pbx_hardware_phone',
5775
+ ],
5776
+ 'nullable': [
5777
+ ],
5778
+ 'enum': [
5779
+ ],
5780
+ 'validation': [
5781
+ ]
5782
+ },
5783
+ root_map={
5784
+ 'validations': {
5785
+ },
5786
+ 'allowed_values': {
5787
+ },
5788
+ 'openapi_types': {
5789
+ 'conversation_pbx_hardware_phone_uuid':
5790
+ (str,),
5791
+ 'pbx_hardware_phone':
5792
+ (ConversationPbxHardwarePhone,),
5793
+ },
5794
+ 'attribute_map': {
5795
+ 'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
5796
+ },
5797
+ 'location_map': {
5798
+ 'conversation_pbx_hardware_phone_uuid': 'path',
5799
+ 'pbx_hardware_phone': 'body',
5800
+ },
5801
+ 'collection_format_map': {
5802
+ }
5803
+ },
5804
+ headers_map={
5805
+ 'accept': [
5806
+ 'application/json'
5807
+ ],
5808
+ 'content_type': [
5809
+ 'application/json'
5810
+ ]
5811
+ },
5812
+ api_client=api_client
5813
+ )
5322
5814
  self.update_pbx_menu_endpoint = _Endpoint(
5323
5815
  settings={
5324
5816
  'response_type': (ConversationPbxMenuResponse,),
@@ -6452,6 +6944,89 @@ class ConversationApi(object):
6452
6944
  conversation_pbx_audio_uuid
6453
6945
  return self.delete_pbx_audio_endpoint.call_with_http_info(**kwargs)
6454
6946
 
6947
+ def delete_pbx_hardware_phone(
6948
+ self,
6949
+ conversation_pbx_hardware_phone_uuid,
6950
+ **kwargs
6951
+ ):
6952
+ """Delete pbx hardware phone # noqa: E501
6953
+
6954
+ Delete a pbx hardware phone # noqa: E501
6955
+ This method makes a synchronous HTTP request by default. To make an
6956
+ asynchronous HTTP request, please pass async_req=True
6957
+
6958
+ >>> thread = api.delete_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, async_req=True)
6959
+ >>> result = thread.get()
6960
+
6961
+ Args:
6962
+ conversation_pbx_hardware_phone_uuid (str):
6963
+
6964
+ Keyword Args:
6965
+ _return_http_data_only (bool): response data without head status
6966
+ code and headers. Default is True.
6967
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
6968
+ will be returned without reading/decoding response data.
6969
+ Default is True.
6970
+ _request_timeout (int/float/tuple): timeout setting for this request. If
6971
+ one number provided, it will be total request timeout. It can also
6972
+ be a pair (tuple) of (connection, read) timeouts.
6973
+ Default is None.
6974
+ _check_input_type (bool): specifies if type checking
6975
+ should be done one the data sent to the server.
6976
+ Default is True.
6977
+ _check_return_type (bool): specifies if type checking
6978
+ should be done one the data received from the server.
6979
+ Default is True.
6980
+ _spec_property_naming (bool): True if the variable names in the input data
6981
+ are serialized names, as specified in the OpenAPI document.
6982
+ False if the variable names in the input data
6983
+ are pythonic names, e.g. snake case (default)
6984
+ _content_type (str/None): force body content-type.
6985
+ Default is None and content-type will be predicted by allowed
6986
+ content-types and body.
6987
+ _host_index (int/None): specifies the index of the server
6988
+ that we want to use.
6989
+ Default is read from the configuration.
6990
+ _request_auths (list): set to override the auth_settings for an a single
6991
+ request; this effectively ignores the authentication
6992
+ in the spec for a single request.
6993
+ Default is None
6994
+ async_req (bool): execute request asynchronously
6995
+
6996
+ Returns:
6997
+ ConversationPbxHardwarePhoneResponse
6998
+ If the method is called asynchronously, returns the request
6999
+ thread.
7000
+ """
7001
+ kwargs['async_req'] = kwargs.get(
7002
+ 'async_req', False
7003
+ )
7004
+ kwargs['_return_http_data_only'] = kwargs.get(
7005
+ '_return_http_data_only', True
7006
+ )
7007
+ kwargs['_preload_content'] = kwargs.get(
7008
+ '_preload_content', True
7009
+ )
7010
+ kwargs['_request_timeout'] = kwargs.get(
7011
+ '_request_timeout', None
7012
+ )
7013
+ kwargs['_check_input_type'] = kwargs.get(
7014
+ '_check_input_type', True
7015
+ )
7016
+ kwargs['_check_return_type'] = kwargs.get(
7017
+ '_check_return_type', True
7018
+ )
7019
+ kwargs['_spec_property_naming'] = kwargs.get(
7020
+ '_spec_property_naming', False
7021
+ )
7022
+ kwargs['_content_type'] = kwargs.get(
7023
+ '_content_type')
7024
+ kwargs['_host_index'] = kwargs.get('_host_index')
7025
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7026
+ kwargs['conversation_pbx_hardware_phone_uuid'] = \
7027
+ conversation_pbx_hardware_phone_uuid
7028
+ return self.delete_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
7029
+
6455
7030
  def delete_pbx_menu(
6456
7031
  self,
6457
7032
  conversation_pbx_menu_uuid,
@@ -9884,22 +10459,22 @@ class ConversationApi(object):
9884
10459
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
9885
10460
  return self.get_pbx_audios_endpoint.call_with_http_info(**kwargs)
9886
10461
 
9887
- def get_pbx_menu(
10462
+ def get_pbx_call(
9888
10463
  self,
9889
- conversation_pbx_menu_uuid,
10464
+ call_uuid,
9890
10465
  **kwargs
9891
10466
  ):
9892
- """Get pbx menu # noqa: E501
10467
+ """Get pbx call record # noqa: E501
9893
10468
 
9894
- Retrieve a pbx menu # noqa: E501
10469
+ Retrieve a single PBX call record with full details # noqa: E501
9895
10470
  This method makes a synchronous HTTP request by default. To make an
9896
10471
  asynchronous HTTP request, please pass async_req=True
9897
10472
 
9898
- >>> thread = api.get_pbx_menu(conversation_pbx_menu_uuid, async_req=True)
10473
+ >>> thread = api.get_pbx_call(call_uuid, async_req=True)
9899
10474
  >>> result = thread.get()
9900
10475
 
9901
10476
  Args:
9902
- conversation_pbx_menu_uuid (str):
10477
+ call_uuid (str):
9903
10478
 
9904
10479
  Keyword Args:
9905
10480
  _return_http_data_only (bool): response data without head status
@@ -9934,7 +10509,7 @@ class ConversationApi(object):
9934
10509
  async_req (bool): execute request asynchronously
9935
10510
 
9936
10511
  Returns:
9937
- ConversationPbxMenuResponse
10512
+ ConversationPbxCallResponse
9938
10513
  If the method is called asynchronously, returns the request
9939
10514
  thread.
9940
10515
  """
@@ -9963,23 +10538,26 @@ class ConversationApi(object):
9963
10538
  '_content_type')
9964
10539
  kwargs['_host_index'] = kwargs.get('_host_index')
9965
10540
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
9966
- kwargs['conversation_pbx_menu_uuid'] = \
9967
- conversation_pbx_menu_uuid
9968
- return self.get_pbx_menu_endpoint.call_with_http_info(**kwargs)
10541
+ kwargs['call_uuid'] = \
10542
+ call_uuid
10543
+ return self.get_pbx_call_endpoint.call_with_http_info(**kwargs)
9969
10544
 
9970
- def get_pbx_menus(
10545
+ def get_pbx_hardware_phone(
9971
10546
  self,
10547
+ conversation_pbx_hardware_phone_uuid,
9972
10548
  **kwargs
9973
10549
  ):
9974
- """Get pbx menus # noqa: E501
10550
+ """Get pbx hardware phone # noqa: E501
9975
10551
 
9976
- Retrieve pbx menus # noqa: E501
10552
+ Retrieve a pbx hardware phone # noqa: E501
9977
10553
  This method makes a synchronous HTTP request by default. To make an
9978
10554
  asynchronous HTTP request, please pass async_req=True
9979
10555
 
9980
- >>> thread = api.get_pbx_menus(async_req=True)
10556
+ >>> thread = api.get_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, async_req=True)
9981
10557
  >>> result = thread.get()
9982
10558
 
10559
+ Args:
10560
+ conversation_pbx_hardware_phone_uuid (str):
9983
10561
 
9984
10562
  Keyword Args:
9985
10563
  _return_http_data_only (bool): response data without head status
@@ -10014,7 +10592,7 @@ class ConversationApi(object):
10014
10592
  async_req (bool): execute request asynchronously
10015
10593
 
10016
10594
  Returns:
10017
- ConversationPbxMenusResponse
10595
+ ConversationPbxHardwarePhoneResponse
10018
10596
  If the method is called asynchronously, returns the request
10019
10597
  thread.
10020
10598
  """
@@ -10043,24 +10621,23 @@ class ConversationApi(object):
10043
10621
  '_content_type')
10044
10622
  kwargs['_host_index'] = kwargs.get('_host_index')
10045
10623
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
10046
- return self.get_pbx_menus_endpoint.call_with_http_info(**kwargs)
10624
+ kwargs['conversation_pbx_hardware_phone_uuid'] = \
10625
+ conversation_pbx_hardware_phone_uuid
10626
+ return self.get_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
10047
10627
 
10048
- def get_pbx_phone_number(
10628
+ def get_pbx_hardware_phone_manufacturers(
10049
10629
  self,
10050
- conversation_pbx_phone_number_uuid,
10051
10630
  **kwargs
10052
10631
  ):
10053
- """Get pbx phoneNumber # noqa: E501
10632
+ """Get pbx hardware phone manufacturers # noqa: E501
10054
10633
 
10055
- Retrieve a pbx phoneNumber # noqa: E501
10634
+ Retrieve pbx hardware phone manufacturers and models for auto-provisioning # noqa: E501
10056
10635
  This method makes a synchronous HTTP request by default. To make an
10057
10636
  asynchronous HTTP request, please pass async_req=True
10058
10637
 
10059
- >>> thread = api.get_pbx_phone_number(conversation_pbx_phone_number_uuid, async_req=True)
10638
+ >>> thread = api.get_pbx_hardware_phone_manufacturers(async_req=True)
10060
10639
  >>> result = thread.get()
10061
10640
 
10062
- Args:
10063
- conversation_pbx_phone_number_uuid (str):
10064
10641
 
10065
10642
  Keyword Args:
10066
10643
  _return_http_data_only (bool): response data without head status
@@ -10095,7 +10672,7 @@ class ConversationApi(object):
10095
10672
  async_req (bool): execute request asynchronously
10096
10673
 
10097
10674
  Returns:
10098
- ConversationPbxPhoneNumberResponse
10675
+ ConversationPbxPhoneManufacturersResponse
10099
10676
  If the method is called asynchronously, returns the request
10100
10677
  thread.
10101
10678
  """
@@ -10124,21 +10701,19 @@ class ConversationApi(object):
10124
10701
  '_content_type')
10125
10702
  kwargs['_host_index'] = kwargs.get('_host_index')
10126
10703
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
10127
- kwargs['conversation_pbx_phone_number_uuid'] = \
10128
- conversation_pbx_phone_number_uuid
10129
- return self.get_pbx_phone_number_endpoint.call_with_http_info(**kwargs)
10704
+ return self.get_pbx_hardware_phone_manufacturers_endpoint.call_with_http_info(**kwargs)
10130
10705
 
10131
- def get_pbx_phone_numbers(
10706
+ def get_pbx_hardware_phones(
10132
10707
  self,
10133
10708
  **kwargs
10134
10709
  ):
10135
- """Get pbx phoneNumbers # noqa: E501
10710
+ """Get pbx hardware phones # noqa: E501
10136
10711
 
10137
- Retrieve pbx phoneNumbers # noqa: E501
10712
+ Retrieve pbx hardware phones # noqa: E501
10138
10713
  This method makes a synchronous HTTP request by default. To make an
10139
10714
  asynchronous HTTP request, please pass async_req=True
10140
10715
 
10141
- >>> thread = api.get_pbx_phone_numbers(async_req=True)
10716
+ >>> thread = api.get_pbx_hardware_phones(async_req=True)
10142
10717
  >>> result = thread.get()
10143
10718
 
10144
10719
 
@@ -10175,7 +10750,329 @@ class ConversationApi(object):
10175
10750
  async_req (bool): execute request asynchronously
10176
10751
 
10177
10752
  Returns:
10178
- ConversationPbxPhoneNumbersResponse
10753
+ ConversationPbxHardwarePhonesResponse
10754
+ If the method is called asynchronously, returns the request
10755
+ thread.
10756
+ """
10757
+ kwargs['async_req'] = kwargs.get(
10758
+ 'async_req', False
10759
+ )
10760
+ kwargs['_return_http_data_only'] = kwargs.get(
10761
+ '_return_http_data_only', True
10762
+ )
10763
+ kwargs['_preload_content'] = kwargs.get(
10764
+ '_preload_content', True
10765
+ )
10766
+ kwargs['_request_timeout'] = kwargs.get(
10767
+ '_request_timeout', None
10768
+ )
10769
+ kwargs['_check_input_type'] = kwargs.get(
10770
+ '_check_input_type', True
10771
+ )
10772
+ kwargs['_check_return_type'] = kwargs.get(
10773
+ '_check_return_type', True
10774
+ )
10775
+ kwargs['_spec_property_naming'] = kwargs.get(
10776
+ '_spec_property_naming', False
10777
+ )
10778
+ kwargs['_content_type'] = kwargs.get(
10779
+ '_content_type')
10780
+ kwargs['_host_index'] = kwargs.get('_host_index')
10781
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
10782
+ return self.get_pbx_hardware_phones_endpoint.call_with_http_info(**kwargs)
10783
+
10784
+ def get_pbx_menu(
10785
+ self,
10786
+ conversation_pbx_menu_uuid,
10787
+ **kwargs
10788
+ ):
10789
+ """Get pbx menu # noqa: E501
10790
+
10791
+ Retrieve a pbx menu # noqa: E501
10792
+ This method makes a synchronous HTTP request by default. To make an
10793
+ asynchronous HTTP request, please pass async_req=True
10794
+
10795
+ >>> thread = api.get_pbx_menu(conversation_pbx_menu_uuid, async_req=True)
10796
+ >>> result = thread.get()
10797
+
10798
+ Args:
10799
+ conversation_pbx_menu_uuid (str):
10800
+
10801
+ Keyword Args:
10802
+ _return_http_data_only (bool): response data without head status
10803
+ code and headers. Default is True.
10804
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
10805
+ will be returned without reading/decoding response data.
10806
+ Default is True.
10807
+ _request_timeout (int/float/tuple): timeout setting for this request. If
10808
+ one number provided, it will be total request timeout. It can also
10809
+ be a pair (tuple) of (connection, read) timeouts.
10810
+ Default is None.
10811
+ _check_input_type (bool): specifies if type checking
10812
+ should be done one the data sent to the server.
10813
+ Default is True.
10814
+ _check_return_type (bool): specifies if type checking
10815
+ should be done one the data received from the server.
10816
+ Default is True.
10817
+ _spec_property_naming (bool): True if the variable names in the input data
10818
+ are serialized names, as specified in the OpenAPI document.
10819
+ False if the variable names in the input data
10820
+ are pythonic names, e.g. snake case (default)
10821
+ _content_type (str/None): force body content-type.
10822
+ Default is None and content-type will be predicted by allowed
10823
+ content-types and body.
10824
+ _host_index (int/None): specifies the index of the server
10825
+ that we want to use.
10826
+ Default is read from the configuration.
10827
+ _request_auths (list): set to override the auth_settings for an a single
10828
+ request; this effectively ignores the authentication
10829
+ in the spec for a single request.
10830
+ Default is None
10831
+ async_req (bool): execute request asynchronously
10832
+
10833
+ Returns:
10834
+ ConversationPbxMenuResponse
10835
+ If the method is called asynchronously, returns the request
10836
+ thread.
10837
+ """
10838
+ kwargs['async_req'] = kwargs.get(
10839
+ 'async_req', False
10840
+ )
10841
+ kwargs['_return_http_data_only'] = kwargs.get(
10842
+ '_return_http_data_only', True
10843
+ )
10844
+ kwargs['_preload_content'] = kwargs.get(
10845
+ '_preload_content', True
10846
+ )
10847
+ kwargs['_request_timeout'] = kwargs.get(
10848
+ '_request_timeout', None
10849
+ )
10850
+ kwargs['_check_input_type'] = kwargs.get(
10851
+ '_check_input_type', True
10852
+ )
10853
+ kwargs['_check_return_type'] = kwargs.get(
10854
+ '_check_return_type', True
10855
+ )
10856
+ kwargs['_spec_property_naming'] = kwargs.get(
10857
+ '_spec_property_naming', False
10858
+ )
10859
+ kwargs['_content_type'] = kwargs.get(
10860
+ '_content_type')
10861
+ kwargs['_host_index'] = kwargs.get('_host_index')
10862
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
10863
+ kwargs['conversation_pbx_menu_uuid'] = \
10864
+ conversation_pbx_menu_uuid
10865
+ return self.get_pbx_menu_endpoint.call_with_http_info(**kwargs)
10866
+
10867
+ def get_pbx_menus(
10868
+ self,
10869
+ **kwargs
10870
+ ):
10871
+ """Get pbx menus # noqa: E501
10872
+
10873
+ Retrieve pbx menus # noqa: E501
10874
+ This method makes a synchronous HTTP request by default. To make an
10875
+ asynchronous HTTP request, please pass async_req=True
10876
+
10877
+ >>> thread = api.get_pbx_menus(async_req=True)
10878
+ >>> result = thread.get()
10879
+
10880
+
10881
+ Keyword Args:
10882
+ _return_http_data_only (bool): response data without head status
10883
+ code and headers. Default is True.
10884
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
10885
+ will be returned without reading/decoding response data.
10886
+ Default is True.
10887
+ _request_timeout (int/float/tuple): timeout setting for this request. If
10888
+ one number provided, it will be total request timeout. It can also
10889
+ be a pair (tuple) of (connection, read) timeouts.
10890
+ Default is None.
10891
+ _check_input_type (bool): specifies if type checking
10892
+ should be done one the data sent to the server.
10893
+ Default is True.
10894
+ _check_return_type (bool): specifies if type checking
10895
+ should be done one the data received from the server.
10896
+ Default is True.
10897
+ _spec_property_naming (bool): True if the variable names in the input data
10898
+ are serialized names, as specified in the OpenAPI document.
10899
+ False if the variable names in the input data
10900
+ are pythonic names, e.g. snake case (default)
10901
+ _content_type (str/None): force body content-type.
10902
+ Default is None and content-type will be predicted by allowed
10903
+ content-types and body.
10904
+ _host_index (int/None): specifies the index of the server
10905
+ that we want to use.
10906
+ Default is read from the configuration.
10907
+ _request_auths (list): set to override the auth_settings for an a single
10908
+ request; this effectively ignores the authentication
10909
+ in the spec for a single request.
10910
+ Default is None
10911
+ async_req (bool): execute request asynchronously
10912
+
10913
+ Returns:
10914
+ ConversationPbxMenusResponse
10915
+ If the method is called asynchronously, returns the request
10916
+ thread.
10917
+ """
10918
+ kwargs['async_req'] = kwargs.get(
10919
+ 'async_req', False
10920
+ )
10921
+ kwargs['_return_http_data_only'] = kwargs.get(
10922
+ '_return_http_data_only', True
10923
+ )
10924
+ kwargs['_preload_content'] = kwargs.get(
10925
+ '_preload_content', True
10926
+ )
10927
+ kwargs['_request_timeout'] = kwargs.get(
10928
+ '_request_timeout', None
10929
+ )
10930
+ kwargs['_check_input_type'] = kwargs.get(
10931
+ '_check_input_type', True
10932
+ )
10933
+ kwargs['_check_return_type'] = kwargs.get(
10934
+ '_check_return_type', True
10935
+ )
10936
+ kwargs['_spec_property_naming'] = kwargs.get(
10937
+ '_spec_property_naming', False
10938
+ )
10939
+ kwargs['_content_type'] = kwargs.get(
10940
+ '_content_type')
10941
+ kwargs['_host_index'] = kwargs.get('_host_index')
10942
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
10943
+ return self.get_pbx_menus_endpoint.call_with_http_info(**kwargs)
10944
+
10945
+ def get_pbx_phone_number(
10946
+ self,
10947
+ conversation_pbx_phone_number_uuid,
10948
+ **kwargs
10949
+ ):
10950
+ """Get pbx phoneNumber # noqa: E501
10951
+
10952
+ Retrieve a pbx phoneNumber # noqa: E501
10953
+ This method makes a synchronous HTTP request by default. To make an
10954
+ asynchronous HTTP request, please pass async_req=True
10955
+
10956
+ >>> thread = api.get_pbx_phone_number(conversation_pbx_phone_number_uuid, async_req=True)
10957
+ >>> result = thread.get()
10958
+
10959
+ Args:
10960
+ conversation_pbx_phone_number_uuid (str):
10961
+
10962
+ Keyword Args:
10963
+ _return_http_data_only (bool): response data without head status
10964
+ code and headers. Default is True.
10965
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
10966
+ will be returned without reading/decoding response data.
10967
+ Default is True.
10968
+ _request_timeout (int/float/tuple): timeout setting for this request. If
10969
+ one number provided, it will be total request timeout. It can also
10970
+ be a pair (tuple) of (connection, read) timeouts.
10971
+ Default is None.
10972
+ _check_input_type (bool): specifies if type checking
10973
+ should be done one the data sent to the server.
10974
+ Default is True.
10975
+ _check_return_type (bool): specifies if type checking
10976
+ should be done one the data received from the server.
10977
+ Default is True.
10978
+ _spec_property_naming (bool): True if the variable names in the input data
10979
+ are serialized names, as specified in the OpenAPI document.
10980
+ False if the variable names in the input data
10981
+ are pythonic names, e.g. snake case (default)
10982
+ _content_type (str/None): force body content-type.
10983
+ Default is None and content-type will be predicted by allowed
10984
+ content-types and body.
10985
+ _host_index (int/None): specifies the index of the server
10986
+ that we want to use.
10987
+ Default is read from the configuration.
10988
+ _request_auths (list): set to override the auth_settings for an a single
10989
+ request; this effectively ignores the authentication
10990
+ in the spec for a single request.
10991
+ Default is None
10992
+ async_req (bool): execute request asynchronously
10993
+
10994
+ Returns:
10995
+ ConversationPbxPhoneNumberResponse
10996
+ If the method is called asynchronously, returns the request
10997
+ thread.
10998
+ """
10999
+ kwargs['async_req'] = kwargs.get(
11000
+ 'async_req', False
11001
+ )
11002
+ kwargs['_return_http_data_only'] = kwargs.get(
11003
+ '_return_http_data_only', True
11004
+ )
11005
+ kwargs['_preload_content'] = kwargs.get(
11006
+ '_preload_content', True
11007
+ )
11008
+ kwargs['_request_timeout'] = kwargs.get(
11009
+ '_request_timeout', None
11010
+ )
11011
+ kwargs['_check_input_type'] = kwargs.get(
11012
+ '_check_input_type', True
11013
+ )
11014
+ kwargs['_check_return_type'] = kwargs.get(
11015
+ '_check_return_type', True
11016
+ )
11017
+ kwargs['_spec_property_naming'] = kwargs.get(
11018
+ '_spec_property_naming', False
11019
+ )
11020
+ kwargs['_content_type'] = kwargs.get(
11021
+ '_content_type')
11022
+ kwargs['_host_index'] = kwargs.get('_host_index')
11023
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
11024
+ kwargs['conversation_pbx_phone_number_uuid'] = \
11025
+ conversation_pbx_phone_number_uuid
11026
+ return self.get_pbx_phone_number_endpoint.call_with_http_info(**kwargs)
11027
+
11028
+ def get_pbx_phone_numbers(
11029
+ self,
11030
+ **kwargs
11031
+ ):
11032
+ """Get pbx phoneNumbers # noqa: E501
11033
+
11034
+ Retrieve pbx phoneNumbers # noqa: E501
11035
+ This method makes a synchronous HTTP request by default. To make an
11036
+ asynchronous HTTP request, please pass async_req=True
11037
+
11038
+ >>> thread = api.get_pbx_phone_numbers(async_req=True)
11039
+ >>> result = thread.get()
11040
+
11041
+
11042
+ Keyword Args:
11043
+ _return_http_data_only (bool): response data without head status
11044
+ code and headers. Default is True.
11045
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
11046
+ will be returned without reading/decoding response data.
11047
+ Default is True.
11048
+ _request_timeout (int/float/tuple): timeout setting for this request. If
11049
+ one number provided, it will be total request timeout. It can also
11050
+ be a pair (tuple) of (connection, read) timeouts.
11051
+ Default is None.
11052
+ _check_input_type (bool): specifies if type checking
11053
+ should be done one the data sent to the server.
11054
+ Default is True.
11055
+ _check_return_type (bool): specifies if type checking
11056
+ should be done one the data received from the server.
11057
+ Default is True.
11058
+ _spec_property_naming (bool): True if the variable names in the input data
11059
+ are serialized names, as specified in the OpenAPI document.
11060
+ False if the variable names in the input data
11061
+ are pythonic names, e.g. snake case (default)
11062
+ _content_type (str/None): force body content-type.
11063
+ Default is None and content-type will be predicted by allowed
11064
+ content-types and body.
11065
+ _host_index (int/None): specifies the index of the server
11066
+ that we want to use.
11067
+ Default is read from the configuration.
11068
+ _request_auths (list): set to override the auth_settings for an a single
11069
+ request; this effectively ignores the authentication
11070
+ in the spec for a single request.
11071
+ Default is None
11072
+ async_req (bool): execute request asynchronously
11073
+
11074
+ Returns:
11075
+ ConversationPbxPhoneNumbersResponse
10179
11076
  If the method is called asynchronously, returns the request
10180
11077
  thread.
10181
11078
  """
@@ -11599,22 +12496,105 @@ class ConversationApi(object):
11599
12496
  engagement
11600
12497
  return self.insert_conversation_engagement_endpoint.call_with_http_info(**kwargs)
11601
12498
 
11602
- def insert_pbx_address(
12499
+ def insert_pbx_address(
12500
+ self,
12501
+ pbx_address,
12502
+ **kwargs
12503
+ ):
12504
+ """Insert pbx address # noqa: E501
12505
+
12506
+ Insert a pbx address # noqa: E501
12507
+ This method makes a synchronous HTTP request by default. To make an
12508
+ asynchronous HTTP request, please pass async_req=True
12509
+
12510
+ >>> thread = api.insert_pbx_address(pbx_address, async_req=True)
12511
+ >>> result = thread.get()
12512
+
12513
+ Args:
12514
+ pbx_address (ConversationPbxAddress): Pbx Address
12515
+
12516
+ Keyword Args:
12517
+ _return_http_data_only (bool): response data without head status
12518
+ code and headers. Default is True.
12519
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
12520
+ will be returned without reading/decoding response data.
12521
+ Default is True.
12522
+ _request_timeout (int/float/tuple): timeout setting for this request. If
12523
+ one number provided, it will be total request timeout. It can also
12524
+ be a pair (tuple) of (connection, read) timeouts.
12525
+ Default is None.
12526
+ _check_input_type (bool): specifies if type checking
12527
+ should be done one the data sent to the server.
12528
+ Default is True.
12529
+ _check_return_type (bool): specifies if type checking
12530
+ should be done one the data received from the server.
12531
+ Default is True.
12532
+ _spec_property_naming (bool): True if the variable names in the input data
12533
+ are serialized names, as specified in the OpenAPI document.
12534
+ False if the variable names in the input data
12535
+ are pythonic names, e.g. snake case (default)
12536
+ _content_type (str/None): force body content-type.
12537
+ Default is None and content-type will be predicted by allowed
12538
+ content-types and body.
12539
+ _host_index (int/None): specifies the index of the server
12540
+ that we want to use.
12541
+ Default is read from the configuration.
12542
+ _request_auths (list): set to override the auth_settings for an a single
12543
+ request; this effectively ignores the authentication
12544
+ in the spec for a single request.
12545
+ Default is None
12546
+ async_req (bool): execute request asynchronously
12547
+
12548
+ Returns:
12549
+ ConversationPbxAddressResponse
12550
+ If the method is called asynchronously, returns the request
12551
+ thread.
12552
+ """
12553
+ kwargs['async_req'] = kwargs.get(
12554
+ 'async_req', False
12555
+ )
12556
+ kwargs['_return_http_data_only'] = kwargs.get(
12557
+ '_return_http_data_only', True
12558
+ )
12559
+ kwargs['_preload_content'] = kwargs.get(
12560
+ '_preload_content', True
12561
+ )
12562
+ kwargs['_request_timeout'] = kwargs.get(
12563
+ '_request_timeout', None
12564
+ )
12565
+ kwargs['_check_input_type'] = kwargs.get(
12566
+ '_check_input_type', True
12567
+ )
12568
+ kwargs['_check_return_type'] = kwargs.get(
12569
+ '_check_return_type', True
12570
+ )
12571
+ kwargs['_spec_property_naming'] = kwargs.get(
12572
+ '_spec_property_naming', False
12573
+ )
12574
+ kwargs['_content_type'] = kwargs.get(
12575
+ '_content_type')
12576
+ kwargs['_host_index'] = kwargs.get('_host_index')
12577
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
12578
+ kwargs['pbx_address'] = \
12579
+ pbx_address
12580
+ return self.insert_pbx_address_endpoint.call_with_http_info(**kwargs)
12581
+
12582
+ def insert_pbx_audio(
11603
12583
  self,
11604
- pbx_address,
12584
+ pbx_audio,
11605
12585
  **kwargs
11606
12586
  ):
11607
- """Insert pbx address # noqa: E501
12587
+ """Insert pbx audio # noqa: E501
11608
12588
 
11609
- Insert a pbx address # noqa: E501
12589
+ Insert a pbx audio # noqa: E501
11610
12590
  This method makes a synchronous HTTP request by default. To make an
11611
12591
  asynchronous HTTP request, please pass async_req=True
11612
12592
 
11613
- >>> thread = api.insert_pbx_address(pbx_address, async_req=True)
12593
+ >>> thread = api.insert_pbx_audio(pbx_audio, async_req=True)
11614
12594
  >>> result = thread.get()
11615
12595
 
11616
12596
  Args:
11617
- pbx_address (ConversationPbxAddress): Pbx Address
12597
+ pbx_audio (ConversationPbxAudio): Pbx Audio
11618
12598
 
11619
12599
  Keyword Args:
11620
12600
  _return_http_data_only (bool): response data without head status
@@ -11649,7 +12629,7 @@ class ConversationApi(object):
11649
12629
  async_req (bool): execute request asynchronously
11650
12630
 
11651
12631
  Returns:
11652
- ConversationPbxAddressResponse
12632
+ ConversationPbxAudioResponse
11653
12633
  If the method is called asynchronously, returns the request
11654
12634
  thread.
11655
12635
  """
@@ -11678,26 +12658,26 @@ class ConversationApi(object):
11678
12658
  '_content_type')
11679
12659
  kwargs['_host_index'] = kwargs.get('_host_index')
11680
12660
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
11681
- kwargs['pbx_address'] = \
11682
- pbx_address
11683
- return self.insert_pbx_address_endpoint.call_with_http_info(**kwargs)
12661
+ kwargs['pbx_audio'] = \
12662
+ pbx_audio
12663
+ return self.insert_pbx_audio_endpoint.call_with_http_info(**kwargs)
11684
12664
 
11685
- def insert_pbx_audio(
12665
+ def insert_pbx_hardware_phone(
11686
12666
  self,
11687
- pbx_audio,
12667
+ pbx_hardware_phone,
11688
12668
  **kwargs
11689
12669
  ):
11690
- """Insert pbx audio # noqa: E501
12670
+ """Insert pbx hardware phone # noqa: E501
11691
12671
 
11692
- Insert a pbx audio # noqa: E501
12672
+ Insert a pbx hardware phone # noqa: E501
11693
12673
  This method makes a synchronous HTTP request by default. To make an
11694
12674
  asynchronous HTTP request, please pass async_req=True
11695
12675
 
11696
- >>> thread = api.insert_pbx_audio(pbx_audio, async_req=True)
12676
+ >>> thread = api.insert_pbx_hardware_phone(pbx_hardware_phone, async_req=True)
11697
12677
  >>> result = thread.get()
11698
12678
 
11699
12679
  Args:
11700
- pbx_audio (ConversationPbxAudio): Pbx Audio
12680
+ pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
11701
12681
 
11702
12682
  Keyword Args:
11703
12683
  _return_http_data_only (bool): response data without head status
@@ -11732,7 +12712,7 @@ class ConversationApi(object):
11732
12712
  async_req (bool): execute request asynchronously
11733
12713
 
11734
12714
  Returns:
11735
- ConversationPbxAudioResponse
12715
+ ConversationPbxHardwarePhoneResponse
11736
12716
  If the method is called asynchronously, returns the request
11737
12717
  thread.
11738
12718
  """
@@ -11761,9 +12741,9 @@ class ConversationApi(object):
11761
12741
  '_content_type')
11762
12742
  kwargs['_host_index'] = kwargs.get('_host_index')
11763
12743
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
11764
- kwargs['pbx_audio'] = \
11765
- pbx_audio
11766
- return self.insert_pbx_audio_endpoint.call_with_http_info(**kwargs)
12744
+ kwargs['pbx_hardware_phone'] = \
12745
+ pbx_hardware_phone
12746
+ return self.insert_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
11767
12747
 
11768
12748
  def insert_pbx_menu(
11769
12749
  self,
@@ -12766,6 +13746,93 @@ class ConversationApi(object):
12766
13746
  phone_number_purchase_request
12767
13747
  return self.purchase_pbx_phone_number_endpoint.call_with_http_info(**kwargs)
12768
13748
 
13749
+ def regenerate_password_for_pbx_hardware_phone(
13750
+ self,
13751
+ conversation_pbx_hardware_phone_uuid,
13752
+ pbx_hardware_phone,
13753
+ **kwargs
13754
+ ):
13755
+ """Update pbx hardware phone # noqa: E501
13756
+
13757
+ Update a pbx hardware phone # noqa: E501
13758
+ This method makes a synchronous HTTP request by default. To make an
13759
+ asynchronous HTTP request, please pass async_req=True
13760
+
13761
+ >>> thread = api.regenerate_password_for_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, pbx_hardware_phone, async_req=True)
13762
+ >>> result = thread.get()
13763
+
13764
+ Args:
13765
+ conversation_pbx_hardware_phone_uuid (str):
13766
+ pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
13767
+
13768
+ Keyword Args:
13769
+ _return_http_data_only (bool): response data without head status
13770
+ code and headers. Default is True.
13771
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
13772
+ will be returned without reading/decoding response data.
13773
+ Default is True.
13774
+ _request_timeout (int/float/tuple): timeout setting for this request. If
13775
+ one number provided, it will be total request timeout. It can also
13776
+ be a pair (tuple) of (connection, read) timeouts.
13777
+ Default is None.
13778
+ _check_input_type (bool): specifies if type checking
13779
+ should be done one the data sent to the server.
13780
+ Default is True.
13781
+ _check_return_type (bool): specifies if type checking
13782
+ should be done one the data received from the server.
13783
+ Default is True.
13784
+ _spec_property_naming (bool): True if the variable names in the input data
13785
+ are serialized names, as specified in the OpenAPI document.
13786
+ False if the variable names in the input data
13787
+ are pythonic names, e.g. snake case (default)
13788
+ _content_type (str/None): force body content-type.
13789
+ Default is None and content-type will be predicted by allowed
13790
+ content-types and body.
13791
+ _host_index (int/None): specifies the index of the server
13792
+ that we want to use.
13793
+ Default is read from the configuration.
13794
+ _request_auths (list): set to override the auth_settings for an a single
13795
+ request; this effectively ignores the authentication
13796
+ in the spec for a single request.
13797
+ Default is None
13798
+ async_req (bool): execute request asynchronously
13799
+
13800
+ Returns:
13801
+ ConversationPbxHardwarePhoneResponse
13802
+ If the method is called asynchronously, returns the request
13803
+ thread.
13804
+ """
13805
+ kwargs['async_req'] = kwargs.get(
13806
+ 'async_req', False
13807
+ )
13808
+ kwargs['_return_http_data_only'] = kwargs.get(
13809
+ '_return_http_data_only', True
13810
+ )
13811
+ kwargs['_preload_content'] = kwargs.get(
13812
+ '_preload_content', True
13813
+ )
13814
+ kwargs['_request_timeout'] = kwargs.get(
13815
+ '_request_timeout', None
13816
+ )
13817
+ kwargs['_check_input_type'] = kwargs.get(
13818
+ '_check_input_type', True
13819
+ )
13820
+ kwargs['_check_return_type'] = kwargs.get(
13821
+ '_check_return_type', True
13822
+ )
13823
+ kwargs['_spec_property_naming'] = kwargs.get(
13824
+ '_spec_property_naming', False
13825
+ )
13826
+ kwargs['_content_type'] = kwargs.get(
13827
+ '_content_type')
13828
+ kwargs['_host_index'] = kwargs.get('_host_index')
13829
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
13830
+ kwargs['conversation_pbx_hardware_phone_uuid'] = \
13831
+ conversation_pbx_hardware_phone_uuid
13832
+ kwargs['pbx_hardware_phone'] = \
13833
+ pbx_hardware_phone
13834
+ return self.regenerate_password_for_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
13835
+
12769
13836
  def reset_conversation_pbx_queue_statistics(
12770
13837
  self,
12771
13838
  queue_uuid,
@@ -13021,6 +14088,92 @@ class ConversationApi(object):
13021
14088
  country
13022
14089
  return self.search_pbx_available_phone_numbers_endpoint.call_with_http_info(**kwargs)
13023
14090
 
14091
+ def search_pbx_calls(
14092
+ self,
14093
+ search_request,
14094
+ **kwargs
14095
+ ):
14096
+ """Search pbx call records # noqa: E501
14097
+
14098
+ Search and list PBX call records with filtering, sorting, and pagination # noqa: E501
14099
+ This method makes a synchronous HTTP request by default. To make an
14100
+ asynchronous HTTP request, please pass async_req=True
14101
+
14102
+ >>> thread = api.search_pbx_calls(search_request, async_req=True)
14103
+ >>> result = thread.get()
14104
+
14105
+ Args:
14106
+ search_request (ConversationPbxCallSearchRequest): Search Request
14107
+
14108
+ Keyword Args:
14109
+ limit (int): The maximum number of records to return on this one API call. (Maximum 200). [optional] if omitted the server will use the default value of 100
14110
+ offset (int): Pagination of the record set. Offset is a zero based index.. [optional] if omitted the server will use the default value of 0
14111
+ sort (str): The sort order of the calls.. [optional]
14112
+ _return_http_data_only (bool): response data without head status
14113
+ code and headers. Default is True.
14114
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
14115
+ will be returned without reading/decoding response data.
14116
+ Default is True.
14117
+ _request_timeout (int/float/tuple): timeout setting for this request. If
14118
+ one number provided, it will be total request timeout. It can also
14119
+ be a pair (tuple) of (connection, read) timeouts.
14120
+ Default is None.
14121
+ _check_input_type (bool): specifies if type checking
14122
+ should be done one the data sent to the server.
14123
+ Default is True.
14124
+ _check_return_type (bool): specifies if type checking
14125
+ should be done one the data received from the server.
14126
+ Default is True.
14127
+ _spec_property_naming (bool): True if the variable names in the input data
14128
+ are serialized names, as specified in the OpenAPI document.
14129
+ False if the variable names in the input data
14130
+ are pythonic names, e.g. snake case (default)
14131
+ _content_type (str/None): force body content-type.
14132
+ Default is None and content-type will be predicted by allowed
14133
+ content-types and body.
14134
+ _host_index (int/None): specifies the index of the server
14135
+ that we want to use.
14136
+ Default is read from the configuration.
14137
+ _request_auths (list): set to override the auth_settings for an a single
14138
+ request; this effectively ignores the authentication
14139
+ in the spec for a single request.
14140
+ Default is None
14141
+ async_req (bool): execute request asynchronously
14142
+
14143
+ Returns:
14144
+ ConversationPbxCallSearchResponse
14145
+ If the method is called asynchronously, returns the request
14146
+ thread.
14147
+ """
14148
+ kwargs['async_req'] = kwargs.get(
14149
+ 'async_req', False
14150
+ )
14151
+ kwargs['_return_http_data_only'] = kwargs.get(
14152
+ '_return_http_data_only', True
14153
+ )
14154
+ kwargs['_preload_content'] = kwargs.get(
14155
+ '_preload_content', True
14156
+ )
14157
+ kwargs['_request_timeout'] = kwargs.get(
14158
+ '_request_timeout', None
14159
+ )
14160
+ kwargs['_check_input_type'] = kwargs.get(
14161
+ '_check_input_type', True
14162
+ )
14163
+ kwargs['_check_return_type'] = kwargs.get(
14164
+ '_check_return_type', True
14165
+ )
14166
+ kwargs['_spec_property_naming'] = kwargs.get(
14167
+ '_spec_property_naming', False
14168
+ )
14169
+ kwargs['_content_type'] = kwargs.get(
14170
+ '_content_type')
14171
+ kwargs['_host_index'] = kwargs.get('_host_index')
14172
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
14173
+ kwargs['search_request'] = \
14174
+ search_request
14175
+ return self.search_pbx_calls_endpoint.call_with_http_info(**kwargs)
14176
+
13024
14177
  def sms_unsubscribe_conversation(
13025
14178
  self,
13026
14179
  conversation_uuid,
@@ -13970,6 +15123,93 @@ class ConversationApi(object):
13970
15123
  pbx_audio
13971
15124
  return self.update_pbx_audio_endpoint.call_with_http_info(**kwargs)
13972
15125
 
15126
+ def update_pbx_hardware_phone(
15127
+ self,
15128
+ conversation_pbx_hardware_phone_uuid,
15129
+ pbx_hardware_phone,
15130
+ **kwargs
15131
+ ):
15132
+ """Update pbx hardware phone # noqa: E501
15133
+
15134
+ Update a pbx hardware phone # noqa: E501
15135
+ This method makes a synchronous HTTP request by default. To make an
15136
+ asynchronous HTTP request, please pass async_req=True
15137
+
15138
+ >>> thread = api.update_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, pbx_hardware_phone, async_req=True)
15139
+ >>> result = thread.get()
15140
+
15141
+ Args:
15142
+ conversation_pbx_hardware_phone_uuid (str):
15143
+ pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
15144
+
15145
+ Keyword Args:
15146
+ _return_http_data_only (bool): response data without head status
15147
+ code and headers. Default is True.
15148
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
15149
+ will be returned without reading/decoding response data.
15150
+ Default is True.
15151
+ _request_timeout (int/float/tuple): timeout setting for this request. If
15152
+ one number provided, it will be total request timeout. It can also
15153
+ be a pair (tuple) of (connection, read) timeouts.
15154
+ Default is None.
15155
+ _check_input_type (bool): specifies if type checking
15156
+ should be done one the data sent to the server.
15157
+ Default is True.
15158
+ _check_return_type (bool): specifies if type checking
15159
+ should be done one the data received from the server.
15160
+ Default is True.
15161
+ _spec_property_naming (bool): True if the variable names in the input data
15162
+ are serialized names, as specified in the OpenAPI document.
15163
+ False if the variable names in the input data
15164
+ are pythonic names, e.g. snake case (default)
15165
+ _content_type (str/None): force body content-type.
15166
+ Default is None and content-type will be predicted by allowed
15167
+ content-types and body.
15168
+ _host_index (int/None): specifies the index of the server
15169
+ that we want to use.
15170
+ Default is read from the configuration.
15171
+ _request_auths (list): set to override the auth_settings for an a single
15172
+ request; this effectively ignores the authentication
15173
+ in the spec for a single request.
15174
+ Default is None
15175
+ async_req (bool): execute request asynchronously
15176
+
15177
+ Returns:
15178
+ ConversationPbxHardwarePhoneResponse
15179
+ If the method is called asynchronously, returns the request
15180
+ thread.
15181
+ """
15182
+ kwargs['async_req'] = kwargs.get(
15183
+ 'async_req', False
15184
+ )
15185
+ kwargs['_return_http_data_only'] = kwargs.get(
15186
+ '_return_http_data_only', True
15187
+ )
15188
+ kwargs['_preload_content'] = kwargs.get(
15189
+ '_preload_content', True
15190
+ )
15191
+ kwargs['_request_timeout'] = kwargs.get(
15192
+ '_request_timeout', None
15193
+ )
15194
+ kwargs['_check_input_type'] = kwargs.get(
15195
+ '_check_input_type', True
15196
+ )
15197
+ kwargs['_check_return_type'] = kwargs.get(
15198
+ '_check_return_type', True
15199
+ )
15200
+ kwargs['_spec_property_naming'] = kwargs.get(
15201
+ '_spec_property_naming', False
15202
+ )
15203
+ kwargs['_content_type'] = kwargs.get(
15204
+ '_content_type')
15205
+ kwargs['_host_index'] = kwargs.get('_host_index')
15206
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
15207
+ kwargs['conversation_pbx_hardware_phone_uuid'] = \
15208
+ conversation_pbx_hardware_phone_uuid
15209
+ kwargs['pbx_hardware_phone'] = \
15210
+ pbx_hardware_phone
15211
+ return self.update_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
15212
+
13973
15213
  def update_pbx_menu(
13974
15214
  self,
13975
15215
  conversation_pbx_menu_uuid,