ultracart-rest-sdk 4.1.41__py3-none-any.whl → 4.1.49__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.
- ultracart/__init__.py +1 -1
- ultracart/api/conversation_api.py +1008 -60
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/cart.py +6 -0
- ultracart/model/cart_utm.py +388 -0
- ultracart/model/conversation_agent_auth.py +8 -0
- ultracart/model/conversation_department_member.py +4 -0
- ultracart/model/conversation_pbx_address.py +4 -0
- ultracart/model/conversation_pbx_available_phone_number.py +4 -0
- ultracart/model/conversation_pbx_hardware_phone.py +342 -0
- ultracart/model/conversation_pbx_hardware_phone_response.py +292 -0
- ultracart/model/conversation_pbx_hardware_phones_response.py +270 -0
- ultracart/model/conversation_pbx_phone_manufacturer.py +278 -0
- ultracart/model/conversation_pbx_phone_manufacturers_response.py +292 -0
- ultracart/model/conversation_pbx_phone_model.py +268 -0
- ultracart/model/conversation_pbx_phone_number.py +7 -0
- ultracart/model/coupon_codes_request.py +7 -0
- ultracart/model/item_content_multimedia.py +4 -0
- ultracart/models/__init__.py +7 -0
- {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.49.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.49.dist-info}/RECORD +25 -18
- {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.49.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.49.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.1.41.dist-info → ultracart_rest_sdk-4.1.49.dist-info}/top_level.txt +0 -0
|
@@ -66,9 +66,13 @@ from ultracart.model.conversation_pbx_audios_response import ConversationPbxAudi
|
|
|
66
66
|
from ultracart.model.conversation_pbx_available_phone_numbers_response import ConversationPbxAvailablePhoneNumbersResponse
|
|
67
67
|
from ultracart.model.conversation_pbx_customer_snapshot_request import ConversationPbxCustomerSnapshotRequest
|
|
68
68
|
from ultracart.model.conversation_pbx_customer_snapshot_response import ConversationPbxCustomerSnapshotResponse
|
|
69
|
+
from ultracart.model.conversation_pbx_hardware_phone import ConversationPbxHardwarePhone
|
|
70
|
+
from ultracart.model.conversation_pbx_hardware_phone_response import ConversationPbxHardwarePhoneResponse
|
|
71
|
+
from ultracart.model.conversation_pbx_hardware_phones_response import ConversationPbxHardwarePhonesResponse
|
|
69
72
|
from ultracart.model.conversation_pbx_menu import ConversationPbxMenu
|
|
70
73
|
from ultracart.model.conversation_pbx_menu_response import ConversationPbxMenuResponse
|
|
71
74
|
from ultracart.model.conversation_pbx_menus_response import ConversationPbxMenusResponse
|
|
75
|
+
from ultracart.model.conversation_pbx_phone_manufacturers_response import ConversationPbxPhoneManufacturersResponse
|
|
72
76
|
from ultracart.model.conversation_pbx_phone_number import ConversationPbxPhoneNumber
|
|
73
77
|
from ultracart.model.conversation_pbx_phone_number_purchase_request import ConversationPbxPhoneNumberPurchaseRequest
|
|
74
78
|
from ultracart.model.conversation_pbx_phone_number_response import ConversationPbxPhoneNumberResponse
|
|
@@ -554,6 +558,58 @@ class ConversationApi(object):
|
|
|
554
558
|
},
|
|
555
559
|
api_client=api_client
|
|
556
560
|
)
|
|
561
|
+
self.delete_pbx_hardware_phone_endpoint = _Endpoint(
|
|
562
|
+
settings={
|
|
563
|
+
'response_type': (ConversationPbxHardwarePhoneResponse,),
|
|
564
|
+
'auth': [
|
|
565
|
+
'ultraCartOauth',
|
|
566
|
+
'ultraCartSimpleApiKey'
|
|
567
|
+
],
|
|
568
|
+
'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
|
|
569
|
+
'operation_id': 'delete_pbx_hardware_phone',
|
|
570
|
+
'http_method': 'DELETE',
|
|
571
|
+
'servers': None,
|
|
572
|
+
},
|
|
573
|
+
params_map={
|
|
574
|
+
'all': [
|
|
575
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
576
|
+
],
|
|
577
|
+
'required': [
|
|
578
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
579
|
+
],
|
|
580
|
+
'nullable': [
|
|
581
|
+
],
|
|
582
|
+
'enum': [
|
|
583
|
+
],
|
|
584
|
+
'validation': [
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
root_map={
|
|
588
|
+
'validations': {
|
|
589
|
+
},
|
|
590
|
+
'allowed_values': {
|
|
591
|
+
},
|
|
592
|
+
'openapi_types': {
|
|
593
|
+
'conversation_pbx_hardware_phone_uuid':
|
|
594
|
+
(str,),
|
|
595
|
+
},
|
|
596
|
+
'attribute_map': {
|
|
597
|
+
'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
|
|
598
|
+
},
|
|
599
|
+
'location_map': {
|
|
600
|
+
'conversation_pbx_hardware_phone_uuid': 'path',
|
|
601
|
+
},
|
|
602
|
+
'collection_format_map': {
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
headers_map={
|
|
606
|
+
'accept': [
|
|
607
|
+
'application/json'
|
|
608
|
+
],
|
|
609
|
+
'content_type': [],
|
|
610
|
+
},
|
|
611
|
+
api_client=api_client
|
|
612
|
+
)
|
|
557
613
|
self.delete_pbx_menu_endpoint = _Endpoint(
|
|
558
614
|
settings={
|
|
559
615
|
'response_type': (ConversationPbxMenuResponse,),
|
|
@@ -2689,6 +2745,148 @@ class ConversationApi(object):
|
|
|
2689
2745
|
},
|
|
2690
2746
|
api_client=api_client
|
|
2691
2747
|
)
|
|
2748
|
+
self.get_pbx_hardware_phone_endpoint = _Endpoint(
|
|
2749
|
+
settings={
|
|
2750
|
+
'response_type': (ConversationPbxHardwarePhoneResponse,),
|
|
2751
|
+
'auth': [
|
|
2752
|
+
'ultraCartOauth',
|
|
2753
|
+
'ultraCartSimpleApiKey'
|
|
2754
|
+
],
|
|
2755
|
+
'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
|
|
2756
|
+
'operation_id': 'get_pbx_hardware_phone',
|
|
2757
|
+
'http_method': 'GET',
|
|
2758
|
+
'servers': None,
|
|
2759
|
+
},
|
|
2760
|
+
params_map={
|
|
2761
|
+
'all': [
|
|
2762
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
2763
|
+
],
|
|
2764
|
+
'required': [
|
|
2765
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
2766
|
+
],
|
|
2767
|
+
'nullable': [
|
|
2768
|
+
],
|
|
2769
|
+
'enum': [
|
|
2770
|
+
],
|
|
2771
|
+
'validation': [
|
|
2772
|
+
]
|
|
2773
|
+
},
|
|
2774
|
+
root_map={
|
|
2775
|
+
'validations': {
|
|
2776
|
+
},
|
|
2777
|
+
'allowed_values': {
|
|
2778
|
+
},
|
|
2779
|
+
'openapi_types': {
|
|
2780
|
+
'conversation_pbx_hardware_phone_uuid':
|
|
2781
|
+
(str,),
|
|
2782
|
+
},
|
|
2783
|
+
'attribute_map': {
|
|
2784
|
+
'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
|
|
2785
|
+
},
|
|
2786
|
+
'location_map': {
|
|
2787
|
+
'conversation_pbx_hardware_phone_uuid': 'path',
|
|
2788
|
+
},
|
|
2789
|
+
'collection_format_map': {
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
headers_map={
|
|
2793
|
+
'accept': [
|
|
2794
|
+
'application/json'
|
|
2795
|
+
],
|
|
2796
|
+
'content_type': [],
|
|
2797
|
+
},
|
|
2798
|
+
api_client=api_client
|
|
2799
|
+
)
|
|
2800
|
+
self.get_pbx_hardware_phone_manufacturers_endpoint = _Endpoint(
|
|
2801
|
+
settings={
|
|
2802
|
+
'response_type': (ConversationPbxPhoneManufacturersResponse,),
|
|
2803
|
+
'auth': [
|
|
2804
|
+
'ultraCartOauth',
|
|
2805
|
+
'ultraCartSimpleApiKey'
|
|
2806
|
+
],
|
|
2807
|
+
'endpoint_path': '/conversation/pbx/hardware_phone/manufacturers',
|
|
2808
|
+
'operation_id': 'get_pbx_hardware_phone_manufacturers',
|
|
2809
|
+
'http_method': 'GET',
|
|
2810
|
+
'servers': None,
|
|
2811
|
+
},
|
|
2812
|
+
params_map={
|
|
2813
|
+
'all': [
|
|
2814
|
+
],
|
|
2815
|
+
'required': [],
|
|
2816
|
+
'nullable': [
|
|
2817
|
+
],
|
|
2818
|
+
'enum': [
|
|
2819
|
+
],
|
|
2820
|
+
'validation': [
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
|
+
root_map={
|
|
2824
|
+
'validations': {
|
|
2825
|
+
},
|
|
2826
|
+
'allowed_values': {
|
|
2827
|
+
},
|
|
2828
|
+
'openapi_types': {
|
|
2829
|
+
},
|
|
2830
|
+
'attribute_map': {
|
|
2831
|
+
},
|
|
2832
|
+
'location_map': {
|
|
2833
|
+
},
|
|
2834
|
+
'collection_format_map': {
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
headers_map={
|
|
2838
|
+
'accept': [
|
|
2839
|
+
'application/json'
|
|
2840
|
+
],
|
|
2841
|
+
'content_type': [],
|
|
2842
|
+
},
|
|
2843
|
+
api_client=api_client
|
|
2844
|
+
)
|
|
2845
|
+
self.get_pbx_hardware_phones_endpoint = _Endpoint(
|
|
2846
|
+
settings={
|
|
2847
|
+
'response_type': (ConversationPbxHardwarePhonesResponse,),
|
|
2848
|
+
'auth': [
|
|
2849
|
+
'ultraCartOauth',
|
|
2850
|
+
'ultraCartSimpleApiKey'
|
|
2851
|
+
],
|
|
2852
|
+
'endpoint_path': '/conversation/pbx/hardware_phone',
|
|
2853
|
+
'operation_id': 'get_pbx_hardware_phones',
|
|
2854
|
+
'http_method': 'GET',
|
|
2855
|
+
'servers': None,
|
|
2856
|
+
},
|
|
2857
|
+
params_map={
|
|
2858
|
+
'all': [
|
|
2859
|
+
],
|
|
2860
|
+
'required': [],
|
|
2861
|
+
'nullable': [
|
|
2862
|
+
],
|
|
2863
|
+
'enum': [
|
|
2864
|
+
],
|
|
2865
|
+
'validation': [
|
|
2866
|
+
]
|
|
2867
|
+
},
|
|
2868
|
+
root_map={
|
|
2869
|
+
'validations': {
|
|
2870
|
+
},
|
|
2871
|
+
'allowed_values': {
|
|
2872
|
+
},
|
|
2873
|
+
'openapi_types': {
|
|
2874
|
+
},
|
|
2875
|
+
'attribute_map': {
|
|
2876
|
+
},
|
|
2877
|
+
'location_map': {
|
|
2878
|
+
},
|
|
2879
|
+
'collection_format_map': {
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
headers_map={
|
|
2883
|
+
'accept': [
|
|
2884
|
+
'application/json'
|
|
2885
|
+
],
|
|
2886
|
+
'content_type': [],
|
|
2887
|
+
},
|
|
2888
|
+
api_client=api_client
|
|
2889
|
+
)
|
|
2692
2890
|
self.get_pbx_menu_endpoint = _Endpoint(
|
|
2693
2891
|
settings={
|
|
2694
2892
|
'response_type': (ConversationPbxMenuResponse,),
|
|
@@ -3854,6 +4052,59 @@ class ConversationApi(object):
|
|
|
3854
4052
|
},
|
|
3855
4053
|
api_client=api_client
|
|
3856
4054
|
)
|
|
4055
|
+
self.insert_pbx_hardware_phone_endpoint = _Endpoint(
|
|
4056
|
+
settings={
|
|
4057
|
+
'response_type': (ConversationPbxHardwarePhoneResponse,),
|
|
4058
|
+
'auth': [
|
|
4059
|
+
'ultraCartOauth',
|
|
4060
|
+
'ultraCartSimpleApiKey'
|
|
4061
|
+
],
|
|
4062
|
+
'endpoint_path': '/conversation/pbx/hardware_phone',
|
|
4063
|
+
'operation_id': 'insert_pbx_hardware_phone',
|
|
4064
|
+
'http_method': 'POST',
|
|
4065
|
+
'servers': None,
|
|
4066
|
+
},
|
|
4067
|
+
params_map={
|
|
4068
|
+
'all': [
|
|
4069
|
+
'pbx_hardware_phone',
|
|
4070
|
+
],
|
|
4071
|
+
'required': [
|
|
4072
|
+
'pbx_hardware_phone',
|
|
4073
|
+
],
|
|
4074
|
+
'nullable': [
|
|
4075
|
+
],
|
|
4076
|
+
'enum': [
|
|
4077
|
+
],
|
|
4078
|
+
'validation': [
|
|
4079
|
+
]
|
|
4080
|
+
},
|
|
4081
|
+
root_map={
|
|
4082
|
+
'validations': {
|
|
4083
|
+
},
|
|
4084
|
+
'allowed_values': {
|
|
4085
|
+
},
|
|
4086
|
+
'openapi_types': {
|
|
4087
|
+
'pbx_hardware_phone':
|
|
4088
|
+
(ConversationPbxHardwarePhone,),
|
|
4089
|
+
},
|
|
4090
|
+
'attribute_map': {
|
|
4091
|
+
},
|
|
4092
|
+
'location_map': {
|
|
4093
|
+
'pbx_hardware_phone': 'body',
|
|
4094
|
+
},
|
|
4095
|
+
'collection_format_map': {
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
4098
|
+
headers_map={
|
|
4099
|
+
'accept': [
|
|
4100
|
+
'application/json'
|
|
4101
|
+
],
|
|
4102
|
+
'content_type': [
|
|
4103
|
+
'application/json'
|
|
4104
|
+
]
|
|
4105
|
+
},
|
|
4106
|
+
api_client=api_client
|
|
4107
|
+
)
|
|
3857
4108
|
self.insert_pbx_menu_endpoint = _Endpoint(
|
|
3858
4109
|
settings={
|
|
3859
4110
|
'response_type': (ConversationPbxMenuResponse,),
|
|
@@ -4496,24 +4747,26 @@ class ConversationApi(object):
|
|
|
4496
4747
|
},
|
|
4497
4748
|
api_client=api_client
|
|
4498
4749
|
)
|
|
4499
|
-
self.
|
|
4750
|
+
self.regenerate_password_for_pbx_hardware_phone_endpoint = _Endpoint(
|
|
4500
4751
|
settings={
|
|
4501
|
-
'response_type':
|
|
4752
|
+
'response_type': (ConversationPbxHardwarePhoneResponse,),
|
|
4502
4753
|
'auth': [
|
|
4503
4754
|
'ultraCartOauth',
|
|
4504
4755
|
'ultraCartSimpleApiKey'
|
|
4505
4756
|
],
|
|
4506
|
-
'endpoint_path': '/conversation/pbx/
|
|
4507
|
-
'operation_id': '
|
|
4757
|
+
'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}/regenerate_password',
|
|
4758
|
+
'operation_id': 'regenerate_password_for_pbx_hardware_phone',
|
|
4508
4759
|
'http_method': 'POST',
|
|
4509
4760
|
'servers': None,
|
|
4510
4761
|
},
|
|
4511
4762
|
params_map={
|
|
4512
4763
|
'all': [
|
|
4513
|
-
'
|
|
4764
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
4765
|
+
'pbx_hardware_phone',
|
|
4514
4766
|
],
|
|
4515
4767
|
'required': [
|
|
4516
|
-
'
|
|
4768
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
4769
|
+
'pbx_hardware_phone',
|
|
4517
4770
|
],
|
|
4518
4771
|
'nullable': [
|
|
4519
4772
|
],
|
|
@@ -4528,14 +4781,17 @@ class ConversationApi(object):
|
|
|
4528
4781
|
'allowed_values': {
|
|
4529
4782
|
},
|
|
4530
4783
|
'openapi_types': {
|
|
4531
|
-
'
|
|
4784
|
+
'conversation_pbx_hardware_phone_uuid':
|
|
4532
4785
|
(str,),
|
|
4786
|
+
'pbx_hardware_phone':
|
|
4787
|
+
(ConversationPbxHardwarePhone,),
|
|
4533
4788
|
},
|
|
4534
4789
|
'attribute_map': {
|
|
4535
|
-
'
|
|
4790
|
+
'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
|
|
4536
4791
|
},
|
|
4537
4792
|
'location_map': {
|
|
4538
|
-
'
|
|
4793
|
+
'conversation_pbx_hardware_phone_uuid': 'path',
|
|
4794
|
+
'pbx_hardware_phone': 'body',
|
|
4539
4795
|
},
|
|
4540
4796
|
'collection_format_map': {
|
|
4541
4797
|
}
|
|
@@ -4544,28 +4800,30 @@ class ConversationApi(object):
|
|
|
4544
4800
|
'accept': [
|
|
4545
4801
|
'application/json'
|
|
4546
4802
|
],
|
|
4547
|
-
'content_type': [
|
|
4803
|
+
'content_type': [
|
|
4804
|
+
'application/json'
|
|
4805
|
+
]
|
|
4548
4806
|
},
|
|
4549
4807
|
api_client=api_client
|
|
4550
4808
|
)
|
|
4551
|
-
self.
|
|
4809
|
+
self.reset_conversation_pbx_queue_statistics_endpoint = _Endpoint(
|
|
4552
4810
|
settings={
|
|
4553
|
-
'response_type':
|
|
4811
|
+
'response_type': None,
|
|
4554
4812
|
'auth': [
|
|
4555
4813
|
'ultraCartOauth',
|
|
4556
4814
|
'ultraCartSimpleApiKey'
|
|
4557
4815
|
],
|
|
4558
|
-
'endpoint_path': '/conversation/
|
|
4559
|
-
'operation_id': '
|
|
4816
|
+
'endpoint_path': '/conversation/pbx/queues/{queue_uuid}/reset_statistics',
|
|
4817
|
+
'operation_id': 'reset_conversation_pbx_queue_statistics',
|
|
4560
4818
|
'http_method': 'POST',
|
|
4561
4819
|
'servers': None,
|
|
4562
4820
|
},
|
|
4563
4821
|
params_map={
|
|
4564
4822
|
'all': [
|
|
4565
|
-
'
|
|
4823
|
+
'queue_uuid',
|
|
4566
4824
|
],
|
|
4567
4825
|
'required': [
|
|
4568
|
-
'
|
|
4826
|
+
'queue_uuid',
|
|
4569
4827
|
],
|
|
4570
4828
|
'nullable': [
|
|
4571
4829
|
],
|
|
@@ -4580,13 +4838,14 @@ class ConversationApi(object):
|
|
|
4580
4838
|
'allowed_values': {
|
|
4581
4839
|
},
|
|
4582
4840
|
'openapi_types': {
|
|
4583
|
-
'
|
|
4584
|
-
(
|
|
4841
|
+
'queue_uuid':
|
|
4842
|
+
(str,),
|
|
4585
4843
|
},
|
|
4586
4844
|
'attribute_map': {
|
|
4845
|
+
'queue_uuid': 'queue_uuid',
|
|
4587
4846
|
},
|
|
4588
4847
|
'location_map': {
|
|
4589
|
-
'
|
|
4848
|
+
'queue_uuid': 'path',
|
|
4590
4849
|
},
|
|
4591
4850
|
'collection_format_map': {
|
|
4592
4851
|
}
|
|
@@ -4595,23 +4854,74 @@ class ConversationApi(object):
|
|
|
4595
4854
|
'accept': [
|
|
4596
4855
|
'application/json'
|
|
4597
4856
|
],
|
|
4598
|
-
'content_type': [
|
|
4599
|
-
'application/json'
|
|
4600
|
-
]
|
|
4857
|
+
'content_type': [],
|
|
4601
4858
|
},
|
|
4602
4859
|
api_client=api_client
|
|
4603
4860
|
)
|
|
4604
|
-
self.
|
|
4861
|
+
self.search_conversation_canned_messages_endpoint = _Endpoint(
|
|
4605
4862
|
settings={
|
|
4606
|
-
'response_type': (
|
|
4863
|
+
'response_type': (ConversationCannedMessagesResponse,),
|
|
4607
4864
|
'auth': [
|
|
4608
4865
|
'ultraCartOauth',
|
|
4609
4866
|
'ultraCartSimpleApiKey'
|
|
4610
4867
|
],
|
|
4611
|
-
'endpoint_path': '/conversation/
|
|
4612
|
-
'operation_id': '
|
|
4613
|
-
'http_method': '
|
|
4614
|
-
'servers': None,
|
|
4868
|
+
'endpoint_path': '/conversation/canned_messages/search',
|
|
4869
|
+
'operation_id': 'search_conversation_canned_messages',
|
|
4870
|
+
'http_method': 'POST',
|
|
4871
|
+
'servers': None,
|
|
4872
|
+
},
|
|
4873
|
+
params_map={
|
|
4874
|
+
'all': [
|
|
4875
|
+
'search_request',
|
|
4876
|
+
],
|
|
4877
|
+
'required': [
|
|
4878
|
+
'search_request',
|
|
4879
|
+
],
|
|
4880
|
+
'nullable': [
|
|
4881
|
+
],
|
|
4882
|
+
'enum': [
|
|
4883
|
+
],
|
|
4884
|
+
'validation': [
|
|
4885
|
+
]
|
|
4886
|
+
},
|
|
4887
|
+
root_map={
|
|
4888
|
+
'validations': {
|
|
4889
|
+
},
|
|
4890
|
+
'allowed_values': {
|
|
4891
|
+
},
|
|
4892
|
+
'openapi_types': {
|
|
4893
|
+
'search_request':
|
|
4894
|
+
(ConversationCannedMessagesSearch,),
|
|
4895
|
+
},
|
|
4896
|
+
'attribute_map': {
|
|
4897
|
+
},
|
|
4898
|
+
'location_map': {
|
|
4899
|
+
'search_request': 'body',
|
|
4900
|
+
},
|
|
4901
|
+
'collection_format_map': {
|
|
4902
|
+
}
|
|
4903
|
+
},
|
|
4904
|
+
headers_map={
|
|
4905
|
+
'accept': [
|
|
4906
|
+
'application/json'
|
|
4907
|
+
],
|
|
4908
|
+
'content_type': [
|
|
4909
|
+
'application/json'
|
|
4910
|
+
]
|
|
4911
|
+
},
|
|
4912
|
+
api_client=api_client
|
|
4913
|
+
)
|
|
4914
|
+
self.search_pbx_available_phone_numbers_endpoint = _Endpoint(
|
|
4915
|
+
settings={
|
|
4916
|
+
'response_type': (ConversationPbxAvailablePhoneNumbersResponse,),
|
|
4917
|
+
'auth': [
|
|
4918
|
+
'ultraCartOauth',
|
|
4919
|
+
'ultraCartSimpleApiKey'
|
|
4920
|
+
],
|
|
4921
|
+
'endpoint_path': '/conversation/pbx/phone_number/search',
|
|
4922
|
+
'operation_id': 'search_pbx_available_phone_numbers',
|
|
4923
|
+
'http_method': 'GET',
|
|
4924
|
+
'servers': None,
|
|
4615
4925
|
},
|
|
4616
4926
|
params_map={
|
|
4617
4927
|
'all': [
|
|
@@ -5319,6 +5629,65 @@ class ConversationApi(object):
|
|
|
5319
5629
|
},
|
|
5320
5630
|
api_client=api_client
|
|
5321
5631
|
)
|
|
5632
|
+
self.update_pbx_hardware_phone_endpoint = _Endpoint(
|
|
5633
|
+
settings={
|
|
5634
|
+
'response_type': (ConversationPbxHardwarePhoneResponse,),
|
|
5635
|
+
'auth': [
|
|
5636
|
+
'ultraCartOauth',
|
|
5637
|
+
'ultraCartSimpleApiKey'
|
|
5638
|
+
],
|
|
5639
|
+
'endpoint_path': '/conversation/pbx/hardware_phone/{conversationPbxHardwarePhoneUuid}',
|
|
5640
|
+
'operation_id': 'update_pbx_hardware_phone',
|
|
5641
|
+
'http_method': 'PUT',
|
|
5642
|
+
'servers': None,
|
|
5643
|
+
},
|
|
5644
|
+
params_map={
|
|
5645
|
+
'all': [
|
|
5646
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
5647
|
+
'pbx_hardware_phone',
|
|
5648
|
+
],
|
|
5649
|
+
'required': [
|
|
5650
|
+
'conversation_pbx_hardware_phone_uuid',
|
|
5651
|
+
'pbx_hardware_phone',
|
|
5652
|
+
],
|
|
5653
|
+
'nullable': [
|
|
5654
|
+
],
|
|
5655
|
+
'enum': [
|
|
5656
|
+
],
|
|
5657
|
+
'validation': [
|
|
5658
|
+
]
|
|
5659
|
+
},
|
|
5660
|
+
root_map={
|
|
5661
|
+
'validations': {
|
|
5662
|
+
},
|
|
5663
|
+
'allowed_values': {
|
|
5664
|
+
},
|
|
5665
|
+
'openapi_types': {
|
|
5666
|
+
'conversation_pbx_hardware_phone_uuid':
|
|
5667
|
+
(str,),
|
|
5668
|
+
'pbx_hardware_phone':
|
|
5669
|
+
(ConversationPbxHardwarePhone,),
|
|
5670
|
+
},
|
|
5671
|
+
'attribute_map': {
|
|
5672
|
+
'conversation_pbx_hardware_phone_uuid': 'conversationPbxHardwarePhoneUuid',
|
|
5673
|
+
},
|
|
5674
|
+
'location_map': {
|
|
5675
|
+
'conversation_pbx_hardware_phone_uuid': 'path',
|
|
5676
|
+
'pbx_hardware_phone': 'body',
|
|
5677
|
+
},
|
|
5678
|
+
'collection_format_map': {
|
|
5679
|
+
}
|
|
5680
|
+
},
|
|
5681
|
+
headers_map={
|
|
5682
|
+
'accept': [
|
|
5683
|
+
'application/json'
|
|
5684
|
+
],
|
|
5685
|
+
'content_type': [
|
|
5686
|
+
'application/json'
|
|
5687
|
+
]
|
|
5688
|
+
},
|
|
5689
|
+
api_client=api_client
|
|
5690
|
+
)
|
|
5322
5691
|
self.update_pbx_menu_endpoint = _Endpoint(
|
|
5323
5692
|
settings={
|
|
5324
5693
|
'response_type': (ConversationPbxMenuResponse,),
|
|
@@ -6452,6 +6821,89 @@ class ConversationApi(object):
|
|
|
6452
6821
|
conversation_pbx_audio_uuid
|
|
6453
6822
|
return self.delete_pbx_audio_endpoint.call_with_http_info(**kwargs)
|
|
6454
6823
|
|
|
6824
|
+
def delete_pbx_hardware_phone(
|
|
6825
|
+
self,
|
|
6826
|
+
conversation_pbx_hardware_phone_uuid,
|
|
6827
|
+
**kwargs
|
|
6828
|
+
):
|
|
6829
|
+
"""Delete pbx hardware phone # noqa: E501
|
|
6830
|
+
|
|
6831
|
+
Delete a pbx hardware phone # noqa: E501
|
|
6832
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6833
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6834
|
+
|
|
6835
|
+
>>> thread = api.delete_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, async_req=True)
|
|
6836
|
+
>>> result = thread.get()
|
|
6837
|
+
|
|
6838
|
+
Args:
|
|
6839
|
+
conversation_pbx_hardware_phone_uuid (str):
|
|
6840
|
+
|
|
6841
|
+
Keyword Args:
|
|
6842
|
+
_return_http_data_only (bool): response data without head status
|
|
6843
|
+
code and headers. Default is True.
|
|
6844
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6845
|
+
will be returned without reading/decoding response data.
|
|
6846
|
+
Default is True.
|
|
6847
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6848
|
+
one number provided, it will be total request timeout. It can also
|
|
6849
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
6850
|
+
Default is None.
|
|
6851
|
+
_check_input_type (bool): specifies if type checking
|
|
6852
|
+
should be done one the data sent to the server.
|
|
6853
|
+
Default is True.
|
|
6854
|
+
_check_return_type (bool): specifies if type checking
|
|
6855
|
+
should be done one the data received from the server.
|
|
6856
|
+
Default is True.
|
|
6857
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
6858
|
+
are serialized names, as specified in the OpenAPI document.
|
|
6859
|
+
False if the variable names in the input data
|
|
6860
|
+
are pythonic names, e.g. snake case (default)
|
|
6861
|
+
_content_type (str/None): force body content-type.
|
|
6862
|
+
Default is None and content-type will be predicted by allowed
|
|
6863
|
+
content-types and body.
|
|
6864
|
+
_host_index (int/None): specifies the index of the server
|
|
6865
|
+
that we want to use.
|
|
6866
|
+
Default is read from the configuration.
|
|
6867
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
6868
|
+
request; this effectively ignores the authentication
|
|
6869
|
+
in the spec for a single request.
|
|
6870
|
+
Default is None
|
|
6871
|
+
async_req (bool): execute request asynchronously
|
|
6872
|
+
|
|
6873
|
+
Returns:
|
|
6874
|
+
ConversationPbxHardwarePhoneResponse
|
|
6875
|
+
If the method is called asynchronously, returns the request
|
|
6876
|
+
thread.
|
|
6877
|
+
"""
|
|
6878
|
+
kwargs['async_req'] = kwargs.get(
|
|
6879
|
+
'async_req', False
|
|
6880
|
+
)
|
|
6881
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6882
|
+
'_return_http_data_only', True
|
|
6883
|
+
)
|
|
6884
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
6885
|
+
'_preload_content', True
|
|
6886
|
+
)
|
|
6887
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
6888
|
+
'_request_timeout', None
|
|
6889
|
+
)
|
|
6890
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
6891
|
+
'_check_input_type', True
|
|
6892
|
+
)
|
|
6893
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
6894
|
+
'_check_return_type', True
|
|
6895
|
+
)
|
|
6896
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6897
|
+
'_spec_property_naming', False
|
|
6898
|
+
)
|
|
6899
|
+
kwargs['_content_type'] = kwargs.get(
|
|
6900
|
+
'_content_type')
|
|
6901
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6902
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6903
|
+
kwargs['conversation_pbx_hardware_phone_uuid'] = \
|
|
6904
|
+
conversation_pbx_hardware_phone_uuid
|
|
6905
|
+
return self.delete_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
|
|
6906
|
+
|
|
6455
6907
|
def delete_pbx_menu(
|
|
6456
6908
|
self,
|
|
6457
6909
|
conversation_pbx_menu_uuid,
|
|
@@ -9566,13 +10018,257 @@ class ConversationApi(object):
|
|
|
9566
10018
|
self,
|
|
9567
10019
|
**kwargs
|
|
9568
10020
|
):
|
|
9569
|
-
"""Get pbx agents # noqa: E501
|
|
10021
|
+
"""Get pbx agents # noqa: E501
|
|
10022
|
+
|
|
10023
|
+
Retrieve pbx agents # noqa: E501
|
|
10024
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
10025
|
+
asynchronous HTTP request, please pass async_req=True
|
|
10026
|
+
|
|
10027
|
+
>>> thread = api.get_pbx_agents(async_req=True)
|
|
10028
|
+
>>> result = thread.get()
|
|
10029
|
+
|
|
10030
|
+
|
|
10031
|
+
Keyword Args:
|
|
10032
|
+
_return_http_data_only (bool): response data without head status
|
|
10033
|
+
code and headers. Default is True.
|
|
10034
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
10035
|
+
will be returned without reading/decoding response data.
|
|
10036
|
+
Default is True.
|
|
10037
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
10038
|
+
one number provided, it will be total request timeout. It can also
|
|
10039
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
10040
|
+
Default is None.
|
|
10041
|
+
_check_input_type (bool): specifies if type checking
|
|
10042
|
+
should be done one the data sent to the server.
|
|
10043
|
+
Default is True.
|
|
10044
|
+
_check_return_type (bool): specifies if type checking
|
|
10045
|
+
should be done one the data received from the server.
|
|
10046
|
+
Default is True.
|
|
10047
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
10048
|
+
are serialized names, as specified in the OpenAPI document.
|
|
10049
|
+
False if the variable names in the input data
|
|
10050
|
+
are pythonic names, e.g. snake case (default)
|
|
10051
|
+
_content_type (str/None): force body content-type.
|
|
10052
|
+
Default is None and content-type will be predicted by allowed
|
|
10053
|
+
content-types and body.
|
|
10054
|
+
_host_index (int/None): specifies the index of the server
|
|
10055
|
+
that we want to use.
|
|
10056
|
+
Default is read from the configuration.
|
|
10057
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
10058
|
+
request; this effectively ignores the authentication
|
|
10059
|
+
in the spec for a single request.
|
|
10060
|
+
Default is None
|
|
10061
|
+
async_req (bool): execute request asynchronously
|
|
10062
|
+
|
|
10063
|
+
Returns:
|
|
10064
|
+
ConversationPbxAgentsResponse
|
|
10065
|
+
If the method is called asynchronously, returns the request
|
|
10066
|
+
thread.
|
|
10067
|
+
"""
|
|
10068
|
+
kwargs['async_req'] = kwargs.get(
|
|
10069
|
+
'async_req', False
|
|
10070
|
+
)
|
|
10071
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
10072
|
+
'_return_http_data_only', True
|
|
10073
|
+
)
|
|
10074
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
10075
|
+
'_preload_content', True
|
|
10076
|
+
)
|
|
10077
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
10078
|
+
'_request_timeout', None
|
|
10079
|
+
)
|
|
10080
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
10081
|
+
'_check_input_type', True
|
|
10082
|
+
)
|
|
10083
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
10084
|
+
'_check_return_type', True
|
|
10085
|
+
)
|
|
10086
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
10087
|
+
'_spec_property_naming', False
|
|
10088
|
+
)
|
|
10089
|
+
kwargs['_content_type'] = kwargs.get(
|
|
10090
|
+
'_content_type')
|
|
10091
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
10092
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
10093
|
+
return self.get_pbx_agents_endpoint.call_with_http_info(**kwargs)
|
|
10094
|
+
|
|
10095
|
+
def get_pbx_audio(
|
|
10096
|
+
self,
|
|
10097
|
+
conversation_pbx_audio_uuid,
|
|
10098
|
+
**kwargs
|
|
10099
|
+
):
|
|
10100
|
+
"""Get pbx audio # noqa: E501
|
|
10101
|
+
|
|
10102
|
+
Retrieve a pbx audio # noqa: E501
|
|
10103
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
10104
|
+
asynchronous HTTP request, please pass async_req=True
|
|
10105
|
+
|
|
10106
|
+
>>> thread = api.get_pbx_audio(conversation_pbx_audio_uuid, async_req=True)
|
|
10107
|
+
>>> result = thread.get()
|
|
10108
|
+
|
|
10109
|
+
Args:
|
|
10110
|
+
conversation_pbx_audio_uuid (str):
|
|
10111
|
+
|
|
10112
|
+
Keyword Args:
|
|
10113
|
+
_return_http_data_only (bool): response data without head status
|
|
10114
|
+
code and headers. Default is True.
|
|
10115
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
10116
|
+
will be returned without reading/decoding response data.
|
|
10117
|
+
Default is True.
|
|
10118
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
10119
|
+
one number provided, it will be total request timeout. It can also
|
|
10120
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
10121
|
+
Default is None.
|
|
10122
|
+
_check_input_type (bool): specifies if type checking
|
|
10123
|
+
should be done one the data sent to the server.
|
|
10124
|
+
Default is True.
|
|
10125
|
+
_check_return_type (bool): specifies if type checking
|
|
10126
|
+
should be done one the data received from the server.
|
|
10127
|
+
Default is True.
|
|
10128
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
10129
|
+
are serialized names, as specified in the OpenAPI document.
|
|
10130
|
+
False if the variable names in the input data
|
|
10131
|
+
are pythonic names, e.g. snake case (default)
|
|
10132
|
+
_content_type (str/None): force body content-type.
|
|
10133
|
+
Default is None and content-type will be predicted by allowed
|
|
10134
|
+
content-types and body.
|
|
10135
|
+
_host_index (int/None): specifies the index of the server
|
|
10136
|
+
that we want to use.
|
|
10137
|
+
Default is read from the configuration.
|
|
10138
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
10139
|
+
request; this effectively ignores the authentication
|
|
10140
|
+
in the spec for a single request.
|
|
10141
|
+
Default is None
|
|
10142
|
+
async_req (bool): execute request asynchronously
|
|
10143
|
+
|
|
10144
|
+
Returns:
|
|
10145
|
+
ConversationPbxAudioResponse
|
|
10146
|
+
If the method is called asynchronously, returns the request
|
|
10147
|
+
thread.
|
|
10148
|
+
"""
|
|
10149
|
+
kwargs['async_req'] = kwargs.get(
|
|
10150
|
+
'async_req', False
|
|
10151
|
+
)
|
|
10152
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
10153
|
+
'_return_http_data_only', True
|
|
10154
|
+
)
|
|
10155
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
10156
|
+
'_preload_content', True
|
|
10157
|
+
)
|
|
10158
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
10159
|
+
'_request_timeout', None
|
|
10160
|
+
)
|
|
10161
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
10162
|
+
'_check_input_type', True
|
|
10163
|
+
)
|
|
10164
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
10165
|
+
'_check_return_type', True
|
|
10166
|
+
)
|
|
10167
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
10168
|
+
'_spec_property_naming', False
|
|
10169
|
+
)
|
|
10170
|
+
kwargs['_content_type'] = kwargs.get(
|
|
10171
|
+
'_content_type')
|
|
10172
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
10173
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
10174
|
+
kwargs['conversation_pbx_audio_uuid'] = \
|
|
10175
|
+
conversation_pbx_audio_uuid
|
|
10176
|
+
return self.get_pbx_audio_endpoint.call_with_http_info(**kwargs)
|
|
10177
|
+
|
|
10178
|
+
def get_pbx_audio_usage(
|
|
10179
|
+
self,
|
|
10180
|
+
conversation_pbx_audio_uuid,
|
|
10181
|
+
**kwargs
|
|
10182
|
+
):
|
|
10183
|
+
"""Get pbx audio usage # noqa: E501
|
|
10184
|
+
|
|
10185
|
+
Retrieve a pbx audio usage # noqa: E501
|
|
10186
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
10187
|
+
asynchronous HTTP request, please pass async_req=True
|
|
10188
|
+
|
|
10189
|
+
>>> thread = api.get_pbx_audio_usage(conversation_pbx_audio_uuid, async_req=True)
|
|
10190
|
+
>>> result = thread.get()
|
|
10191
|
+
|
|
10192
|
+
Args:
|
|
10193
|
+
conversation_pbx_audio_uuid (str):
|
|
10194
|
+
|
|
10195
|
+
Keyword Args:
|
|
10196
|
+
_return_http_data_only (bool): response data without head status
|
|
10197
|
+
code and headers. Default is True.
|
|
10198
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
10199
|
+
will be returned without reading/decoding response data.
|
|
10200
|
+
Default is True.
|
|
10201
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
10202
|
+
one number provided, it will be total request timeout. It can also
|
|
10203
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
10204
|
+
Default is None.
|
|
10205
|
+
_check_input_type (bool): specifies if type checking
|
|
10206
|
+
should be done one the data sent to the server.
|
|
10207
|
+
Default is True.
|
|
10208
|
+
_check_return_type (bool): specifies if type checking
|
|
10209
|
+
should be done one the data received from the server.
|
|
10210
|
+
Default is True.
|
|
10211
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
10212
|
+
are serialized names, as specified in the OpenAPI document.
|
|
10213
|
+
False if the variable names in the input data
|
|
10214
|
+
are pythonic names, e.g. snake case (default)
|
|
10215
|
+
_content_type (str/None): force body content-type.
|
|
10216
|
+
Default is None and content-type will be predicted by allowed
|
|
10217
|
+
content-types and body.
|
|
10218
|
+
_host_index (int/None): specifies the index of the server
|
|
10219
|
+
that we want to use.
|
|
10220
|
+
Default is read from the configuration.
|
|
10221
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
10222
|
+
request; this effectively ignores the authentication
|
|
10223
|
+
in the spec for a single request.
|
|
10224
|
+
Default is None
|
|
10225
|
+
async_req (bool): execute request asynchronously
|
|
10226
|
+
|
|
10227
|
+
Returns:
|
|
10228
|
+
ConversationPbxAudioUsageResponse
|
|
10229
|
+
If the method is called asynchronously, returns the request
|
|
10230
|
+
thread.
|
|
10231
|
+
"""
|
|
10232
|
+
kwargs['async_req'] = kwargs.get(
|
|
10233
|
+
'async_req', False
|
|
10234
|
+
)
|
|
10235
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
10236
|
+
'_return_http_data_only', True
|
|
10237
|
+
)
|
|
10238
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
10239
|
+
'_preload_content', True
|
|
10240
|
+
)
|
|
10241
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
10242
|
+
'_request_timeout', None
|
|
10243
|
+
)
|
|
10244
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
10245
|
+
'_check_input_type', True
|
|
10246
|
+
)
|
|
10247
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
10248
|
+
'_check_return_type', True
|
|
10249
|
+
)
|
|
10250
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
10251
|
+
'_spec_property_naming', False
|
|
10252
|
+
)
|
|
10253
|
+
kwargs['_content_type'] = kwargs.get(
|
|
10254
|
+
'_content_type')
|
|
10255
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
10256
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
10257
|
+
kwargs['conversation_pbx_audio_uuid'] = \
|
|
10258
|
+
conversation_pbx_audio_uuid
|
|
10259
|
+
return self.get_pbx_audio_usage_endpoint.call_with_http_info(**kwargs)
|
|
10260
|
+
|
|
10261
|
+
def get_pbx_audios(
|
|
10262
|
+
self,
|
|
10263
|
+
**kwargs
|
|
10264
|
+
):
|
|
10265
|
+
"""Get pbx audios # noqa: E501
|
|
9570
10266
|
|
|
9571
|
-
Retrieve pbx
|
|
10267
|
+
Retrieve pbx audios # noqa: E501
|
|
9572
10268
|
This method makes a synchronous HTTP request by default. To make an
|
|
9573
10269
|
asynchronous HTTP request, please pass async_req=True
|
|
9574
10270
|
|
|
9575
|
-
>>> thread = api.
|
|
10271
|
+
>>> thread = api.get_pbx_audios(async_req=True)
|
|
9576
10272
|
>>> result = thread.get()
|
|
9577
10273
|
|
|
9578
10274
|
|
|
@@ -9609,7 +10305,7 @@ class ConversationApi(object):
|
|
|
9609
10305
|
async_req (bool): execute request asynchronously
|
|
9610
10306
|
|
|
9611
10307
|
Returns:
|
|
9612
|
-
|
|
10308
|
+
ConversationPbxAudiosResponse
|
|
9613
10309
|
If the method is called asynchronously, returns the request
|
|
9614
10310
|
thread.
|
|
9615
10311
|
"""
|
|
@@ -9638,24 +10334,24 @@ class ConversationApi(object):
|
|
|
9638
10334
|
'_content_type')
|
|
9639
10335
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9640
10336
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9641
|
-
return self.
|
|
10337
|
+
return self.get_pbx_audios_endpoint.call_with_http_info(**kwargs)
|
|
9642
10338
|
|
|
9643
|
-
def
|
|
10339
|
+
def get_pbx_hardware_phone(
|
|
9644
10340
|
self,
|
|
9645
|
-
|
|
10341
|
+
conversation_pbx_hardware_phone_uuid,
|
|
9646
10342
|
**kwargs
|
|
9647
10343
|
):
|
|
9648
|
-
"""Get pbx
|
|
10344
|
+
"""Get pbx hardware phone # noqa: E501
|
|
9649
10345
|
|
|
9650
|
-
Retrieve a pbx
|
|
10346
|
+
Retrieve a pbx hardware phone # noqa: E501
|
|
9651
10347
|
This method makes a synchronous HTTP request by default. To make an
|
|
9652
10348
|
asynchronous HTTP request, please pass async_req=True
|
|
9653
10349
|
|
|
9654
|
-
>>> thread = api.
|
|
10350
|
+
>>> thread = api.get_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, async_req=True)
|
|
9655
10351
|
>>> result = thread.get()
|
|
9656
10352
|
|
|
9657
10353
|
Args:
|
|
9658
|
-
|
|
10354
|
+
conversation_pbx_hardware_phone_uuid (str):
|
|
9659
10355
|
|
|
9660
10356
|
Keyword Args:
|
|
9661
10357
|
_return_http_data_only (bool): response data without head status
|
|
@@ -9690,7 +10386,7 @@ class ConversationApi(object):
|
|
|
9690
10386
|
async_req (bool): execute request asynchronously
|
|
9691
10387
|
|
|
9692
10388
|
Returns:
|
|
9693
|
-
|
|
10389
|
+
ConversationPbxHardwarePhoneResponse
|
|
9694
10390
|
If the method is called asynchronously, returns the request
|
|
9695
10391
|
thread.
|
|
9696
10392
|
"""
|
|
@@ -9719,26 +10415,23 @@ class ConversationApi(object):
|
|
|
9719
10415
|
'_content_type')
|
|
9720
10416
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9721
10417
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9722
|
-
kwargs['
|
|
9723
|
-
|
|
9724
|
-
return self.
|
|
10418
|
+
kwargs['conversation_pbx_hardware_phone_uuid'] = \
|
|
10419
|
+
conversation_pbx_hardware_phone_uuid
|
|
10420
|
+
return self.get_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
|
|
9725
10421
|
|
|
9726
|
-
def
|
|
10422
|
+
def get_pbx_hardware_phone_manufacturers(
|
|
9727
10423
|
self,
|
|
9728
|
-
conversation_pbx_audio_uuid,
|
|
9729
10424
|
**kwargs
|
|
9730
10425
|
):
|
|
9731
|
-
"""Get pbx
|
|
10426
|
+
"""Get pbx hardware phone manufacturers # noqa: E501
|
|
9732
10427
|
|
|
9733
|
-
Retrieve
|
|
10428
|
+
Retrieve pbx hardware phone manufacturers and models for auto-provisioning # noqa: E501
|
|
9734
10429
|
This method makes a synchronous HTTP request by default. To make an
|
|
9735
10430
|
asynchronous HTTP request, please pass async_req=True
|
|
9736
10431
|
|
|
9737
|
-
>>> thread = api.
|
|
10432
|
+
>>> thread = api.get_pbx_hardware_phone_manufacturers(async_req=True)
|
|
9738
10433
|
>>> result = thread.get()
|
|
9739
10434
|
|
|
9740
|
-
Args:
|
|
9741
|
-
conversation_pbx_audio_uuid (str):
|
|
9742
10435
|
|
|
9743
10436
|
Keyword Args:
|
|
9744
10437
|
_return_http_data_only (bool): response data without head status
|
|
@@ -9773,7 +10466,7 @@ class ConversationApi(object):
|
|
|
9773
10466
|
async_req (bool): execute request asynchronously
|
|
9774
10467
|
|
|
9775
10468
|
Returns:
|
|
9776
|
-
|
|
10469
|
+
ConversationPbxPhoneManufacturersResponse
|
|
9777
10470
|
If the method is called asynchronously, returns the request
|
|
9778
10471
|
thread.
|
|
9779
10472
|
"""
|
|
@@ -9802,21 +10495,19 @@ class ConversationApi(object):
|
|
|
9802
10495
|
'_content_type')
|
|
9803
10496
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9804
10497
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9805
|
-
kwargs
|
|
9806
|
-
conversation_pbx_audio_uuid
|
|
9807
|
-
return self.get_pbx_audio_usage_endpoint.call_with_http_info(**kwargs)
|
|
10498
|
+
return self.get_pbx_hardware_phone_manufacturers_endpoint.call_with_http_info(**kwargs)
|
|
9808
10499
|
|
|
9809
|
-
def
|
|
10500
|
+
def get_pbx_hardware_phones(
|
|
9810
10501
|
self,
|
|
9811
10502
|
**kwargs
|
|
9812
10503
|
):
|
|
9813
|
-
"""Get pbx
|
|
10504
|
+
"""Get pbx hardware phones # noqa: E501
|
|
9814
10505
|
|
|
9815
|
-
Retrieve pbx
|
|
10506
|
+
Retrieve pbx hardware phones # noqa: E501
|
|
9816
10507
|
This method makes a synchronous HTTP request by default. To make an
|
|
9817
10508
|
asynchronous HTTP request, please pass async_req=True
|
|
9818
10509
|
|
|
9819
|
-
>>> thread = api.
|
|
10510
|
+
>>> thread = api.get_pbx_hardware_phones(async_req=True)
|
|
9820
10511
|
>>> result = thread.get()
|
|
9821
10512
|
|
|
9822
10513
|
|
|
@@ -9853,7 +10544,7 @@ class ConversationApi(object):
|
|
|
9853
10544
|
async_req (bool): execute request asynchronously
|
|
9854
10545
|
|
|
9855
10546
|
Returns:
|
|
9856
|
-
|
|
10547
|
+
ConversationPbxHardwarePhonesResponse
|
|
9857
10548
|
If the method is called asynchronously, returns the request
|
|
9858
10549
|
thread.
|
|
9859
10550
|
"""
|
|
@@ -9882,7 +10573,7 @@ class ConversationApi(object):
|
|
|
9882
10573
|
'_content_type')
|
|
9883
10574
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9884
10575
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9885
|
-
return self.
|
|
10576
|
+
return self.get_pbx_hardware_phones_endpoint.call_with_http_info(**kwargs)
|
|
9886
10577
|
|
|
9887
10578
|
def get_pbx_menu(
|
|
9888
10579
|
self,
|
|
@@ -11765,6 +12456,89 @@ class ConversationApi(object):
|
|
|
11765
12456
|
pbx_audio
|
|
11766
12457
|
return self.insert_pbx_audio_endpoint.call_with_http_info(**kwargs)
|
|
11767
12458
|
|
|
12459
|
+
def insert_pbx_hardware_phone(
|
|
12460
|
+
self,
|
|
12461
|
+
pbx_hardware_phone,
|
|
12462
|
+
**kwargs
|
|
12463
|
+
):
|
|
12464
|
+
"""Insert pbx hardware phone # noqa: E501
|
|
12465
|
+
|
|
12466
|
+
Insert a pbx hardware phone # noqa: E501
|
|
12467
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
12468
|
+
asynchronous HTTP request, please pass async_req=True
|
|
12469
|
+
|
|
12470
|
+
>>> thread = api.insert_pbx_hardware_phone(pbx_hardware_phone, async_req=True)
|
|
12471
|
+
>>> result = thread.get()
|
|
12472
|
+
|
|
12473
|
+
Args:
|
|
12474
|
+
pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
|
|
12475
|
+
|
|
12476
|
+
Keyword Args:
|
|
12477
|
+
_return_http_data_only (bool): response data without head status
|
|
12478
|
+
code and headers. Default is True.
|
|
12479
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
12480
|
+
will be returned without reading/decoding response data.
|
|
12481
|
+
Default is True.
|
|
12482
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
12483
|
+
one number provided, it will be total request timeout. It can also
|
|
12484
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
12485
|
+
Default is None.
|
|
12486
|
+
_check_input_type (bool): specifies if type checking
|
|
12487
|
+
should be done one the data sent to the server.
|
|
12488
|
+
Default is True.
|
|
12489
|
+
_check_return_type (bool): specifies if type checking
|
|
12490
|
+
should be done one the data received from the server.
|
|
12491
|
+
Default is True.
|
|
12492
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
12493
|
+
are serialized names, as specified in the OpenAPI document.
|
|
12494
|
+
False if the variable names in the input data
|
|
12495
|
+
are pythonic names, e.g. snake case (default)
|
|
12496
|
+
_content_type (str/None): force body content-type.
|
|
12497
|
+
Default is None and content-type will be predicted by allowed
|
|
12498
|
+
content-types and body.
|
|
12499
|
+
_host_index (int/None): specifies the index of the server
|
|
12500
|
+
that we want to use.
|
|
12501
|
+
Default is read from the configuration.
|
|
12502
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
12503
|
+
request; this effectively ignores the authentication
|
|
12504
|
+
in the spec for a single request.
|
|
12505
|
+
Default is None
|
|
12506
|
+
async_req (bool): execute request asynchronously
|
|
12507
|
+
|
|
12508
|
+
Returns:
|
|
12509
|
+
ConversationPbxHardwarePhoneResponse
|
|
12510
|
+
If the method is called asynchronously, returns the request
|
|
12511
|
+
thread.
|
|
12512
|
+
"""
|
|
12513
|
+
kwargs['async_req'] = kwargs.get(
|
|
12514
|
+
'async_req', False
|
|
12515
|
+
)
|
|
12516
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
12517
|
+
'_return_http_data_only', True
|
|
12518
|
+
)
|
|
12519
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
12520
|
+
'_preload_content', True
|
|
12521
|
+
)
|
|
12522
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
12523
|
+
'_request_timeout', None
|
|
12524
|
+
)
|
|
12525
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
12526
|
+
'_check_input_type', True
|
|
12527
|
+
)
|
|
12528
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
12529
|
+
'_check_return_type', True
|
|
12530
|
+
)
|
|
12531
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
12532
|
+
'_spec_property_naming', False
|
|
12533
|
+
)
|
|
12534
|
+
kwargs['_content_type'] = kwargs.get(
|
|
12535
|
+
'_content_type')
|
|
12536
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
12537
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
12538
|
+
kwargs['pbx_hardware_phone'] = \
|
|
12539
|
+
pbx_hardware_phone
|
|
12540
|
+
return self.insert_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
|
|
12541
|
+
|
|
11768
12542
|
def insert_pbx_menu(
|
|
11769
12543
|
self,
|
|
11770
12544
|
pbx_menu,
|
|
@@ -12766,6 +13540,93 @@ class ConversationApi(object):
|
|
|
12766
13540
|
phone_number_purchase_request
|
|
12767
13541
|
return self.purchase_pbx_phone_number_endpoint.call_with_http_info(**kwargs)
|
|
12768
13542
|
|
|
13543
|
+
def regenerate_password_for_pbx_hardware_phone(
|
|
13544
|
+
self,
|
|
13545
|
+
conversation_pbx_hardware_phone_uuid,
|
|
13546
|
+
pbx_hardware_phone,
|
|
13547
|
+
**kwargs
|
|
13548
|
+
):
|
|
13549
|
+
"""Update pbx hardware phone # noqa: E501
|
|
13550
|
+
|
|
13551
|
+
Update a pbx hardware phone # noqa: E501
|
|
13552
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
13553
|
+
asynchronous HTTP request, please pass async_req=True
|
|
13554
|
+
|
|
13555
|
+
>>> thread = api.regenerate_password_for_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, pbx_hardware_phone, async_req=True)
|
|
13556
|
+
>>> result = thread.get()
|
|
13557
|
+
|
|
13558
|
+
Args:
|
|
13559
|
+
conversation_pbx_hardware_phone_uuid (str):
|
|
13560
|
+
pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
|
|
13561
|
+
|
|
13562
|
+
Keyword Args:
|
|
13563
|
+
_return_http_data_only (bool): response data without head status
|
|
13564
|
+
code and headers. Default is True.
|
|
13565
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
13566
|
+
will be returned without reading/decoding response data.
|
|
13567
|
+
Default is True.
|
|
13568
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
13569
|
+
one number provided, it will be total request timeout. It can also
|
|
13570
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
13571
|
+
Default is None.
|
|
13572
|
+
_check_input_type (bool): specifies if type checking
|
|
13573
|
+
should be done one the data sent to the server.
|
|
13574
|
+
Default is True.
|
|
13575
|
+
_check_return_type (bool): specifies if type checking
|
|
13576
|
+
should be done one the data received from the server.
|
|
13577
|
+
Default is True.
|
|
13578
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
13579
|
+
are serialized names, as specified in the OpenAPI document.
|
|
13580
|
+
False if the variable names in the input data
|
|
13581
|
+
are pythonic names, e.g. snake case (default)
|
|
13582
|
+
_content_type (str/None): force body content-type.
|
|
13583
|
+
Default is None and content-type will be predicted by allowed
|
|
13584
|
+
content-types and body.
|
|
13585
|
+
_host_index (int/None): specifies the index of the server
|
|
13586
|
+
that we want to use.
|
|
13587
|
+
Default is read from the configuration.
|
|
13588
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
13589
|
+
request; this effectively ignores the authentication
|
|
13590
|
+
in the spec for a single request.
|
|
13591
|
+
Default is None
|
|
13592
|
+
async_req (bool): execute request asynchronously
|
|
13593
|
+
|
|
13594
|
+
Returns:
|
|
13595
|
+
ConversationPbxHardwarePhoneResponse
|
|
13596
|
+
If the method is called asynchronously, returns the request
|
|
13597
|
+
thread.
|
|
13598
|
+
"""
|
|
13599
|
+
kwargs['async_req'] = kwargs.get(
|
|
13600
|
+
'async_req', False
|
|
13601
|
+
)
|
|
13602
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
13603
|
+
'_return_http_data_only', True
|
|
13604
|
+
)
|
|
13605
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
13606
|
+
'_preload_content', True
|
|
13607
|
+
)
|
|
13608
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
13609
|
+
'_request_timeout', None
|
|
13610
|
+
)
|
|
13611
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
13612
|
+
'_check_input_type', True
|
|
13613
|
+
)
|
|
13614
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
13615
|
+
'_check_return_type', True
|
|
13616
|
+
)
|
|
13617
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
13618
|
+
'_spec_property_naming', False
|
|
13619
|
+
)
|
|
13620
|
+
kwargs['_content_type'] = kwargs.get(
|
|
13621
|
+
'_content_type')
|
|
13622
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
13623
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
13624
|
+
kwargs['conversation_pbx_hardware_phone_uuid'] = \
|
|
13625
|
+
conversation_pbx_hardware_phone_uuid
|
|
13626
|
+
kwargs['pbx_hardware_phone'] = \
|
|
13627
|
+
pbx_hardware_phone
|
|
13628
|
+
return self.regenerate_password_for_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
|
|
13629
|
+
|
|
12769
13630
|
def reset_conversation_pbx_queue_statistics(
|
|
12770
13631
|
self,
|
|
12771
13632
|
queue_uuid,
|
|
@@ -13970,6 +14831,93 @@ class ConversationApi(object):
|
|
|
13970
14831
|
pbx_audio
|
|
13971
14832
|
return self.update_pbx_audio_endpoint.call_with_http_info(**kwargs)
|
|
13972
14833
|
|
|
14834
|
+
def update_pbx_hardware_phone(
|
|
14835
|
+
self,
|
|
14836
|
+
conversation_pbx_hardware_phone_uuid,
|
|
14837
|
+
pbx_hardware_phone,
|
|
14838
|
+
**kwargs
|
|
14839
|
+
):
|
|
14840
|
+
"""Update pbx hardware phone # noqa: E501
|
|
14841
|
+
|
|
14842
|
+
Update a pbx hardware phone # noqa: E501
|
|
14843
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
14844
|
+
asynchronous HTTP request, please pass async_req=True
|
|
14845
|
+
|
|
14846
|
+
>>> thread = api.update_pbx_hardware_phone(conversation_pbx_hardware_phone_uuid, pbx_hardware_phone, async_req=True)
|
|
14847
|
+
>>> result = thread.get()
|
|
14848
|
+
|
|
14849
|
+
Args:
|
|
14850
|
+
conversation_pbx_hardware_phone_uuid (str):
|
|
14851
|
+
pbx_hardware_phone (ConversationPbxHardwarePhone): Pbx Hardware Phone
|
|
14852
|
+
|
|
14853
|
+
Keyword Args:
|
|
14854
|
+
_return_http_data_only (bool): response data without head status
|
|
14855
|
+
code and headers. Default is True.
|
|
14856
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
14857
|
+
will be returned without reading/decoding response data.
|
|
14858
|
+
Default is True.
|
|
14859
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
14860
|
+
one number provided, it will be total request timeout. It can also
|
|
14861
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
14862
|
+
Default is None.
|
|
14863
|
+
_check_input_type (bool): specifies if type checking
|
|
14864
|
+
should be done one the data sent to the server.
|
|
14865
|
+
Default is True.
|
|
14866
|
+
_check_return_type (bool): specifies if type checking
|
|
14867
|
+
should be done one the data received from the server.
|
|
14868
|
+
Default is True.
|
|
14869
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
14870
|
+
are serialized names, as specified in the OpenAPI document.
|
|
14871
|
+
False if the variable names in the input data
|
|
14872
|
+
are pythonic names, e.g. snake case (default)
|
|
14873
|
+
_content_type (str/None): force body content-type.
|
|
14874
|
+
Default is None and content-type will be predicted by allowed
|
|
14875
|
+
content-types and body.
|
|
14876
|
+
_host_index (int/None): specifies the index of the server
|
|
14877
|
+
that we want to use.
|
|
14878
|
+
Default is read from the configuration.
|
|
14879
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
14880
|
+
request; this effectively ignores the authentication
|
|
14881
|
+
in the spec for a single request.
|
|
14882
|
+
Default is None
|
|
14883
|
+
async_req (bool): execute request asynchronously
|
|
14884
|
+
|
|
14885
|
+
Returns:
|
|
14886
|
+
ConversationPbxHardwarePhoneResponse
|
|
14887
|
+
If the method is called asynchronously, returns the request
|
|
14888
|
+
thread.
|
|
14889
|
+
"""
|
|
14890
|
+
kwargs['async_req'] = kwargs.get(
|
|
14891
|
+
'async_req', False
|
|
14892
|
+
)
|
|
14893
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
14894
|
+
'_return_http_data_only', True
|
|
14895
|
+
)
|
|
14896
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
14897
|
+
'_preload_content', True
|
|
14898
|
+
)
|
|
14899
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
14900
|
+
'_request_timeout', None
|
|
14901
|
+
)
|
|
14902
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
14903
|
+
'_check_input_type', True
|
|
14904
|
+
)
|
|
14905
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
14906
|
+
'_check_return_type', True
|
|
14907
|
+
)
|
|
14908
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
14909
|
+
'_spec_property_naming', False
|
|
14910
|
+
)
|
|
14911
|
+
kwargs['_content_type'] = kwargs.get(
|
|
14912
|
+
'_content_type')
|
|
14913
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
14914
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
14915
|
+
kwargs['conversation_pbx_hardware_phone_uuid'] = \
|
|
14916
|
+
conversation_pbx_hardware_phone_uuid
|
|
14917
|
+
kwargs['pbx_hardware_phone'] = \
|
|
14918
|
+
pbx_hardware_phone
|
|
14919
|
+
return self.update_pbx_hardware_phone_endpoint.call_with_http_info(**kwargs)
|
|
14920
|
+
|
|
13973
14921
|
def update_pbx_menu(
|
|
13974
14922
|
self,
|
|
13975
14923
|
conversation_pbx_menu_uuid,
|