ultracart-rest-sdk 4.1.27__py3-none-any.whl → 4.1.39__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 +945 -69
- ultracart/api/customer_api.py +171 -0
- ultracart/api/item_api.py +452 -0
- ultracart/api/order_api.py +153 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/conversation_agent_auth.py +4 -0
- ultracart/model/conversation_agent_profile.py +22 -0
- ultracart/model/conversation_mcp_server.py +297 -0
- ultracart/model/conversation_mcp_server_response.py +292 -0
- ultracart/model/conversation_mcp_server_tools_response.py +290 -0
- ultracart/model/conversation_mcp_servers_response.py +292 -0
- ultracart/model/conversation_message.py +4 -0
- ultracart/model/conversation_pbx_agent.py +4 -0
- ultracart/model/conversation_pbx_queue.py +13 -0
- ultracart/model/conversation_virtual_agent_capabilities.py +4 -0
- ultracart/model/coupon_free_item_with_item_purchase_and_free_shipping.py +4 -0
- ultracart/model/coupon_percent_off_items_and_free_shipping.py +4 -0
- ultracart/model/customer_query.py +8 -0
- ultracart/model/email_commseq_email.py +12 -0
- ultracart/model/item_inventory_update.py +272 -0
- ultracart/model/item_inventory_update_request.py +270 -0
- ultracart/model/item_related_item.py +2 -0
- ultracart/model/item_shipping.py +4 -0
- ultracart/model/item_shipping_distribution_center_response.py +292 -0
- ultracart/model/order_assign_to_affiliate_request.py +275 -0
- ultracart/models/__init__.py +8 -0
- {ultracart_rest_sdk-4.1.27.dist-info → ultracart_rest_sdk-4.1.39.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.1.27.dist-info → ultracart_rest_sdk-4.1.39.dist-info}/RECORD +33 -25
- {ultracart_rest_sdk-4.1.27.dist-info → ultracart_rest_sdk-4.1.39.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.1.27.dist-info → ultracart_rest_sdk-4.1.39.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.1.27.dist-info → ultracart_rest_sdk-4.1.39.dist-info}/top_level.txt +0 -0
|
@@ -46,6 +46,10 @@ from ultracart.model.conversation_join_request import ConversationJoinRequest
|
|
|
46
46
|
from ultracart.model.conversation_knowledge_base_document_upload_url_response import ConversationKnowledgeBaseDocumentUploadUrlResponse
|
|
47
47
|
from ultracart.model.conversation_knowledge_base_documents_response import ConversationKnowledgeBaseDocumentsResponse
|
|
48
48
|
from ultracart.model.conversation_locations_response import ConversationLocationsResponse
|
|
49
|
+
from ultracart.model.conversation_mcp_server import ConversationMcpServer
|
|
50
|
+
from ultracart.model.conversation_mcp_server_response import ConversationMcpServerResponse
|
|
51
|
+
from ultracart.model.conversation_mcp_server_tools_response import ConversationMcpServerToolsResponse
|
|
52
|
+
from ultracart.model.conversation_mcp_servers_response import ConversationMcpServersResponse
|
|
49
53
|
from ultracart.model.conversation_messages_response import ConversationMessagesResponse
|
|
50
54
|
from ultracart.model.conversation_multimedia_upload_url_response import ConversationMultimediaUploadUrlResponse
|
|
51
55
|
from ultracart.model.conversation_pbx_agent import ConversationPbxAgent
|
|
@@ -175,6 +179,64 @@ class ConversationApi(object):
|
|
|
175
179
|
},
|
|
176
180
|
api_client=api_client
|
|
177
181
|
)
|
|
182
|
+
self.delete_agent_profile_mcp_endpoint = _Endpoint(
|
|
183
|
+
settings={
|
|
184
|
+
'response_type': None,
|
|
185
|
+
'auth': [
|
|
186
|
+
'ultraCartOauth',
|
|
187
|
+
'ultraCartSimpleApiKey'
|
|
188
|
+
],
|
|
189
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}',
|
|
190
|
+
'operation_id': 'delete_agent_profile_mcp',
|
|
191
|
+
'http_method': 'DELETE',
|
|
192
|
+
'servers': None,
|
|
193
|
+
},
|
|
194
|
+
params_map={
|
|
195
|
+
'all': [
|
|
196
|
+
'user_id',
|
|
197
|
+
'mcp_server_uuid',
|
|
198
|
+
],
|
|
199
|
+
'required': [
|
|
200
|
+
'user_id',
|
|
201
|
+
'mcp_server_uuid',
|
|
202
|
+
],
|
|
203
|
+
'nullable': [
|
|
204
|
+
],
|
|
205
|
+
'enum': [
|
|
206
|
+
],
|
|
207
|
+
'validation': [
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
root_map={
|
|
211
|
+
'validations': {
|
|
212
|
+
},
|
|
213
|
+
'allowed_values': {
|
|
214
|
+
},
|
|
215
|
+
'openapi_types': {
|
|
216
|
+
'user_id':
|
|
217
|
+
(int,),
|
|
218
|
+
'mcp_server_uuid':
|
|
219
|
+
(str,),
|
|
220
|
+
},
|
|
221
|
+
'attribute_map': {
|
|
222
|
+
'user_id': 'user_id',
|
|
223
|
+
'mcp_server_uuid': 'mcp_server_uuid',
|
|
224
|
+
},
|
|
225
|
+
'location_map': {
|
|
226
|
+
'user_id': 'path',
|
|
227
|
+
'mcp_server_uuid': 'path',
|
|
228
|
+
},
|
|
229
|
+
'collection_format_map': {
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
headers_map={
|
|
233
|
+
'accept': [
|
|
234
|
+
'application/json'
|
|
235
|
+
],
|
|
236
|
+
'content_type': [],
|
|
237
|
+
},
|
|
238
|
+
api_client=api_client
|
|
239
|
+
)
|
|
178
240
|
self.delete_conversation_canned_message_endpoint = _Endpoint(
|
|
179
241
|
settings={
|
|
180
242
|
'response_type': None,
|
|
@@ -895,6 +957,174 @@ class ConversationApi(object):
|
|
|
895
957
|
},
|
|
896
958
|
api_client=api_client
|
|
897
959
|
)
|
|
960
|
+
self.get_agent_profile_mcp_endpoint = _Endpoint(
|
|
961
|
+
settings={
|
|
962
|
+
'response_type': (ConversationMcpServerResponse,),
|
|
963
|
+
'auth': [
|
|
964
|
+
'ultraCartOauth',
|
|
965
|
+
'ultraCartSimpleApiKey'
|
|
966
|
+
],
|
|
967
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}',
|
|
968
|
+
'operation_id': 'get_agent_profile_mcp',
|
|
969
|
+
'http_method': 'GET',
|
|
970
|
+
'servers': None,
|
|
971
|
+
},
|
|
972
|
+
params_map={
|
|
973
|
+
'all': [
|
|
974
|
+
'user_id',
|
|
975
|
+
'mcp_server_uuid',
|
|
976
|
+
],
|
|
977
|
+
'required': [
|
|
978
|
+
'user_id',
|
|
979
|
+
'mcp_server_uuid',
|
|
980
|
+
],
|
|
981
|
+
'nullable': [
|
|
982
|
+
],
|
|
983
|
+
'enum': [
|
|
984
|
+
],
|
|
985
|
+
'validation': [
|
|
986
|
+
]
|
|
987
|
+
},
|
|
988
|
+
root_map={
|
|
989
|
+
'validations': {
|
|
990
|
+
},
|
|
991
|
+
'allowed_values': {
|
|
992
|
+
},
|
|
993
|
+
'openapi_types': {
|
|
994
|
+
'user_id':
|
|
995
|
+
(int,),
|
|
996
|
+
'mcp_server_uuid':
|
|
997
|
+
(str,),
|
|
998
|
+
},
|
|
999
|
+
'attribute_map': {
|
|
1000
|
+
'user_id': 'user_id',
|
|
1001
|
+
'mcp_server_uuid': 'mcp_server_uuid',
|
|
1002
|
+
},
|
|
1003
|
+
'location_map': {
|
|
1004
|
+
'user_id': 'path',
|
|
1005
|
+
'mcp_server_uuid': 'path',
|
|
1006
|
+
},
|
|
1007
|
+
'collection_format_map': {
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
headers_map={
|
|
1011
|
+
'accept': [
|
|
1012
|
+
'application/json'
|
|
1013
|
+
],
|
|
1014
|
+
'content_type': [],
|
|
1015
|
+
},
|
|
1016
|
+
api_client=api_client
|
|
1017
|
+
)
|
|
1018
|
+
self.get_agent_profile_mcp_tools_endpoint = _Endpoint(
|
|
1019
|
+
settings={
|
|
1020
|
+
'response_type': (ConversationMcpServerToolsResponse,),
|
|
1021
|
+
'auth': [
|
|
1022
|
+
'ultraCartOauth',
|
|
1023
|
+
'ultraCartSimpleApiKey'
|
|
1024
|
+
],
|
|
1025
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}/tools',
|
|
1026
|
+
'operation_id': 'get_agent_profile_mcp_tools',
|
|
1027
|
+
'http_method': 'GET',
|
|
1028
|
+
'servers': None,
|
|
1029
|
+
},
|
|
1030
|
+
params_map={
|
|
1031
|
+
'all': [
|
|
1032
|
+
'user_id',
|
|
1033
|
+
'mcp_server_uuid',
|
|
1034
|
+
],
|
|
1035
|
+
'required': [
|
|
1036
|
+
'user_id',
|
|
1037
|
+
'mcp_server_uuid',
|
|
1038
|
+
],
|
|
1039
|
+
'nullable': [
|
|
1040
|
+
],
|
|
1041
|
+
'enum': [
|
|
1042
|
+
],
|
|
1043
|
+
'validation': [
|
|
1044
|
+
]
|
|
1045
|
+
},
|
|
1046
|
+
root_map={
|
|
1047
|
+
'validations': {
|
|
1048
|
+
},
|
|
1049
|
+
'allowed_values': {
|
|
1050
|
+
},
|
|
1051
|
+
'openapi_types': {
|
|
1052
|
+
'user_id':
|
|
1053
|
+
(int,),
|
|
1054
|
+
'mcp_server_uuid':
|
|
1055
|
+
(str,),
|
|
1056
|
+
},
|
|
1057
|
+
'attribute_map': {
|
|
1058
|
+
'user_id': 'user_id',
|
|
1059
|
+
'mcp_server_uuid': 'mcp_server_uuid',
|
|
1060
|
+
},
|
|
1061
|
+
'location_map': {
|
|
1062
|
+
'user_id': 'path',
|
|
1063
|
+
'mcp_server_uuid': 'path',
|
|
1064
|
+
},
|
|
1065
|
+
'collection_format_map': {
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
headers_map={
|
|
1069
|
+
'accept': [
|
|
1070
|
+
'application/json'
|
|
1071
|
+
],
|
|
1072
|
+
'content_type': [],
|
|
1073
|
+
},
|
|
1074
|
+
api_client=api_client
|
|
1075
|
+
)
|
|
1076
|
+
self.get_agent_profile_mcps_endpoint = _Endpoint(
|
|
1077
|
+
settings={
|
|
1078
|
+
'response_type': (ConversationMcpServersResponse,),
|
|
1079
|
+
'auth': [
|
|
1080
|
+
'ultraCartOauth',
|
|
1081
|
+
'ultraCartSimpleApiKey'
|
|
1082
|
+
],
|
|
1083
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps',
|
|
1084
|
+
'operation_id': 'get_agent_profile_mcps',
|
|
1085
|
+
'http_method': 'GET',
|
|
1086
|
+
'servers': None,
|
|
1087
|
+
},
|
|
1088
|
+
params_map={
|
|
1089
|
+
'all': [
|
|
1090
|
+
'user_id',
|
|
1091
|
+
],
|
|
1092
|
+
'required': [
|
|
1093
|
+
'user_id',
|
|
1094
|
+
],
|
|
1095
|
+
'nullable': [
|
|
1096
|
+
],
|
|
1097
|
+
'enum': [
|
|
1098
|
+
],
|
|
1099
|
+
'validation': [
|
|
1100
|
+
]
|
|
1101
|
+
},
|
|
1102
|
+
root_map={
|
|
1103
|
+
'validations': {
|
|
1104
|
+
},
|
|
1105
|
+
'allowed_values': {
|
|
1106
|
+
},
|
|
1107
|
+
'openapi_types': {
|
|
1108
|
+
'user_id':
|
|
1109
|
+
(int,),
|
|
1110
|
+
},
|
|
1111
|
+
'attribute_map': {
|
|
1112
|
+
'user_id': 'user_id',
|
|
1113
|
+
},
|
|
1114
|
+
'location_map': {
|
|
1115
|
+
'user_id': 'path',
|
|
1116
|
+
},
|
|
1117
|
+
'collection_format_map': {
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
headers_map={
|
|
1121
|
+
'accept': [
|
|
1122
|
+
'application/json'
|
|
1123
|
+
],
|
|
1124
|
+
'content_type': [],
|
|
1125
|
+
},
|
|
1126
|
+
api_client=api_client
|
|
1127
|
+
)
|
|
898
1128
|
self.get_agent_profiles_endpoint = _Endpoint(
|
|
899
1129
|
settings={
|
|
900
1130
|
'response_type': (ConversationAgentProfilesResponse,),
|
|
@@ -3094,6 +3324,65 @@ class ConversationApi(object):
|
|
|
3094
3324
|
},
|
|
3095
3325
|
api_client=api_client
|
|
3096
3326
|
)
|
|
3327
|
+
self.insert_agent_profile_mcp_endpoint = _Endpoint(
|
|
3328
|
+
settings={
|
|
3329
|
+
'response_type': (ConversationMcpServerResponse,),
|
|
3330
|
+
'auth': [
|
|
3331
|
+
'ultraCartOauth',
|
|
3332
|
+
'ultraCartSimpleApiKey'
|
|
3333
|
+
],
|
|
3334
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps',
|
|
3335
|
+
'operation_id': 'insert_agent_profile_mcp',
|
|
3336
|
+
'http_method': 'POST',
|
|
3337
|
+
'servers': None,
|
|
3338
|
+
},
|
|
3339
|
+
params_map={
|
|
3340
|
+
'all': [
|
|
3341
|
+
'user_id',
|
|
3342
|
+
'mcp_server',
|
|
3343
|
+
],
|
|
3344
|
+
'required': [
|
|
3345
|
+
'user_id',
|
|
3346
|
+
'mcp_server',
|
|
3347
|
+
],
|
|
3348
|
+
'nullable': [
|
|
3349
|
+
],
|
|
3350
|
+
'enum': [
|
|
3351
|
+
],
|
|
3352
|
+
'validation': [
|
|
3353
|
+
]
|
|
3354
|
+
},
|
|
3355
|
+
root_map={
|
|
3356
|
+
'validations': {
|
|
3357
|
+
},
|
|
3358
|
+
'allowed_values': {
|
|
3359
|
+
},
|
|
3360
|
+
'openapi_types': {
|
|
3361
|
+
'user_id':
|
|
3362
|
+
(int,),
|
|
3363
|
+
'mcp_server':
|
|
3364
|
+
(ConversationMcpServer,),
|
|
3365
|
+
},
|
|
3366
|
+
'attribute_map': {
|
|
3367
|
+
'user_id': 'user_id',
|
|
3368
|
+
},
|
|
3369
|
+
'location_map': {
|
|
3370
|
+
'user_id': 'path',
|
|
3371
|
+
'mcp_server': 'body',
|
|
3372
|
+
},
|
|
3373
|
+
'collection_format_map': {
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3376
|
+
headers_map={
|
|
3377
|
+
'accept': [
|
|
3378
|
+
'application/json'
|
|
3379
|
+
],
|
|
3380
|
+
'content_type': [
|
|
3381
|
+
'application/json'
|
|
3382
|
+
]
|
|
3383
|
+
},
|
|
3384
|
+
api_client=api_client
|
|
3385
|
+
)
|
|
3097
3386
|
self.insert_conversation_canned_message_endpoint = _Endpoint(
|
|
3098
3387
|
settings={
|
|
3099
3388
|
'response_type': (ConversationCannedMessageResponse,),
|
|
@@ -4106,25 +4395,90 @@ class ConversationApi(object):
|
|
|
4106
4395
|
},
|
|
4107
4396
|
api_client=api_client
|
|
4108
4397
|
)
|
|
4109
|
-
self.
|
|
4398
|
+
self.update_agent_profile_mcp_endpoint = _Endpoint(
|
|
4110
4399
|
settings={
|
|
4111
|
-
'response_type': (
|
|
4400
|
+
'response_type': (ConversationMcpServerResponse,),
|
|
4112
4401
|
'auth': [
|
|
4113
4402
|
'ultraCartOauth',
|
|
4114
4403
|
'ultraCartSimpleApiKey'
|
|
4115
4404
|
],
|
|
4116
|
-
'endpoint_path': '/conversation/
|
|
4117
|
-
'operation_id': '
|
|
4118
|
-
'http_method': '
|
|
4405
|
+
'endpoint_path': '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}',
|
|
4406
|
+
'operation_id': 'update_agent_profile_mcp',
|
|
4407
|
+
'http_method': 'POST',
|
|
4119
4408
|
'servers': None,
|
|
4120
4409
|
},
|
|
4121
4410
|
params_map={
|
|
4122
4411
|
'all': [
|
|
4123
|
-
'
|
|
4124
|
-
'
|
|
4412
|
+
'user_id',
|
|
4413
|
+
'mcp_server_uuid',
|
|
4414
|
+
'mcp_server',
|
|
4125
4415
|
],
|
|
4126
4416
|
'required': [
|
|
4127
|
-
'
|
|
4417
|
+
'user_id',
|
|
4418
|
+
'mcp_server_uuid',
|
|
4419
|
+
'mcp_server',
|
|
4420
|
+
],
|
|
4421
|
+
'nullable': [
|
|
4422
|
+
],
|
|
4423
|
+
'enum': [
|
|
4424
|
+
],
|
|
4425
|
+
'validation': [
|
|
4426
|
+
]
|
|
4427
|
+
},
|
|
4428
|
+
root_map={
|
|
4429
|
+
'validations': {
|
|
4430
|
+
},
|
|
4431
|
+
'allowed_values': {
|
|
4432
|
+
},
|
|
4433
|
+
'openapi_types': {
|
|
4434
|
+
'user_id':
|
|
4435
|
+
(int,),
|
|
4436
|
+
'mcp_server_uuid':
|
|
4437
|
+
(str,),
|
|
4438
|
+
'mcp_server':
|
|
4439
|
+
(ConversationMcpServer,),
|
|
4440
|
+
},
|
|
4441
|
+
'attribute_map': {
|
|
4442
|
+
'user_id': 'user_id',
|
|
4443
|
+
'mcp_server_uuid': 'mcp_server_uuid',
|
|
4444
|
+
},
|
|
4445
|
+
'location_map': {
|
|
4446
|
+
'user_id': 'path',
|
|
4447
|
+
'mcp_server_uuid': 'path',
|
|
4448
|
+
'mcp_server': 'body',
|
|
4449
|
+
},
|
|
4450
|
+
'collection_format_map': {
|
|
4451
|
+
}
|
|
4452
|
+
},
|
|
4453
|
+
headers_map={
|
|
4454
|
+
'accept': [
|
|
4455
|
+
'application/json'
|
|
4456
|
+
],
|
|
4457
|
+
'content_type': [
|
|
4458
|
+
'application/json'
|
|
4459
|
+
]
|
|
4460
|
+
},
|
|
4461
|
+
api_client=api_client
|
|
4462
|
+
)
|
|
4463
|
+
self.update_conversation_canned_message_endpoint = _Endpoint(
|
|
4464
|
+
settings={
|
|
4465
|
+
'response_type': (ConversationCannedMessageResponse,),
|
|
4466
|
+
'auth': [
|
|
4467
|
+
'ultraCartOauth',
|
|
4468
|
+
'ultraCartSimpleApiKey'
|
|
4469
|
+
],
|
|
4470
|
+
'endpoint_path': '/conversation/canned_messages/{conversation_canned_message_oid}',
|
|
4471
|
+
'operation_id': 'update_conversation_canned_message',
|
|
4472
|
+
'http_method': 'PUT',
|
|
4473
|
+
'servers': None,
|
|
4474
|
+
},
|
|
4475
|
+
params_map={
|
|
4476
|
+
'all': [
|
|
4477
|
+
'conversation_canned_message_oid',
|
|
4478
|
+
'canned_message',
|
|
4479
|
+
],
|
|
4480
|
+
'required': [
|
|
4481
|
+
'conversation_canned_message_oid',
|
|
4128
4482
|
'canned_message',
|
|
4129
4483
|
],
|
|
4130
4484
|
'nullable': [
|
|
@@ -5008,6 +5362,93 @@ class ConversationApi(object):
|
|
|
5008
5362
|
document_uuid
|
|
5009
5363
|
return self.delete_agent_profile_knowledge_base_document_endpoint.call_with_http_info(**kwargs)
|
|
5010
5364
|
|
|
5365
|
+
def delete_agent_profile_mcp(
|
|
5366
|
+
self,
|
|
5367
|
+
user_id,
|
|
5368
|
+
mcp_server_uuid,
|
|
5369
|
+
**kwargs
|
|
5370
|
+
):
|
|
5371
|
+
"""Delete an agent MCP server # noqa: E501
|
|
5372
|
+
|
|
5373
|
+
Delete an agent MCP server # noqa: E501
|
|
5374
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5375
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5376
|
+
|
|
5377
|
+
>>> thread = api.delete_agent_profile_mcp(user_id, mcp_server_uuid, async_req=True)
|
|
5378
|
+
>>> result = thread.get()
|
|
5379
|
+
|
|
5380
|
+
Args:
|
|
5381
|
+
user_id (int):
|
|
5382
|
+
mcp_server_uuid (str):
|
|
5383
|
+
|
|
5384
|
+
Keyword Args:
|
|
5385
|
+
_return_http_data_only (bool): response data without head status
|
|
5386
|
+
code and headers. Default is True.
|
|
5387
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5388
|
+
will be returned without reading/decoding response data.
|
|
5389
|
+
Default is True.
|
|
5390
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5391
|
+
one number provided, it will be total request timeout. It can also
|
|
5392
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
5393
|
+
Default is None.
|
|
5394
|
+
_check_input_type (bool): specifies if type checking
|
|
5395
|
+
should be done one the data sent to the server.
|
|
5396
|
+
Default is True.
|
|
5397
|
+
_check_return_type (bool): specifies if type checking
|
|
5398
|
+
should be done one the data received from the server.
|
|
5399
|
+
Default is True.
|
|
5400
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
5401
|
+
are serialized names, as specified in the OpenAPI document.
|
|
5402
|
+
False if the variable names in the input data
|
|
5403
|
+
are pythonic names, e.g. snake case (default)
|
|
5404
|
+
_content_type (str/None): force body content-type.
|
|
5405
|
+
Default is None and content-type will be predicted by allowed
|
|
5406
|
+
content-types and body.
|
|
5407
|
+
_host_index (int/None): specifies the index of the server
|
|
5408
|
+
that we want to use.
|
|
5409
|
+
Default is read from the configuration.
|
|
5410
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
5411
|
+
request; this effectively ignores the authentication
|
|
5412
|
+
in the spec for a single request.
|
|
5413
|
+
Default is None
|
|
5414
|
+
async_req (bool): execute request asynchronously
|
|
5415
|
+
|
|
5416
|
+
Returns:
|
|
5417
|
+
None
|
|
5418
|
+
If the method is called asynchronously, returns the request
|
|
5419
|
+
thread.
|
|
5420
|
+
"""
|
|
5421
|
+
kwargs['async_req'] = kwargs.get(
|
|
5422
|
+
'async_req', False
|
|
5423
|
+
)
|
|
5424
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5425
|
+
'_return_http_data_only', True
|
|
5426
|
+
)
|
|
5427
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
5428
|
+
'_preload_content', True
|
|
5429
|
+
)
|
|
5430
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
5431
|
+
'_request_timeout', None
|
|
5432
|
+
)
|
|
5433
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
5434
|
+
'_check_input_type', True
|
|
5435
|
+
)
|
|
5436
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
5437
|
+
'_check_return_type', True
|
|
5438
|
+
)
|
|
5439
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5440
|
+
'_spec_property_naming', False
|
|
5441
|
+
)
|
|
5442
|
+
kwargs['_content_type'] = kwargs.get(
|
|
5443
|
+
'_content_type')
|
|
5444
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5445
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5446
|
+
kwargs['user_id'] = \
|
|
5447
|
+
user_id
|
|
5448
|
+
kwargs['mcp_server_uuid'] = \
|
|
5449
|
+
mcp_server_uuid
|
|
5450
|
+
return self.delete_agent_profile_mcp_endpoint.call_with_http_info(**kwargs)
|
|
5451
|
+
|
|
5011
5452
|
def delete_conversation_canned_message(
|
|
5012
5453
|
self,
|
|
5013
5454
|
conversation_canned_message_oid,
|
|
@@ -5595,18 +6036,269 @@ class ConversationApi(object):
|
|
|
5595
6036
|
recording_sid,
|
|
5596
6037
|
**kwargs
|
|
5597
6038
|
):
|
|
5598
|
-
"""Delete Queue Voicemail # noqa: E501
|
|
6039
|
+
"""Delete Queue Voicemail # noqa: E501
|
|
6040
|
+
|
|
6041
|
+
Delete pbx queue Voicemail # noqa: E501
|
|
6042
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6043
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6044
|
+
|
|
6045
|
+
>>> thread = api.delete_pbx_queue_voicemail(queue_uuid, recording_sid, async_req=True)
|
|
6046
|
+
>>> result = thread.get()
|
|
6047
|
+
|
|
6048
|
+
Args:
|
|
6049
|
+
queue_uuid (str):
|
|
6050
|
+
recording_sid (str):
|
|
6051
|
+
|
|
6052
|
+
Keyword Args:
|
|
6053
|
+
_return_http_data_only (bool): response data without head status
|
|
6054
|
+
code and headers. Default is True.
|
|
6055
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6056
|
+
will be returned without reading/decoding response data.
|
|
6057
|
+
Default is True.
|
|
6058
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6059
|
+
one number provided, it will be total request timeout. It can also
|
|
6060
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
6061
|
+
Default is None.
|
|
6062
|
+
_check_input_type (bool): specifies if type checking
|
|
6063
|
+
should be done one the data sent to the server.
|
|
6064
|
+
Default is True.
|
|
6065
|
+
_check_return_type (bool): specifies if type checking
|
|
6066
|
+
should be done one the data received from the server.
|
|
6067
|
+
Default is True.
|
|
6068
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
6069
|
+
are serialized names, as specified in the OpenAPI document.
|
|
6070
|
+
False if the variable names in the input data
|
|
6071
|
+
are pythonic names, e.g. snake case (default)
|
|
6072
|
+
_content_type (str/None): force body content-type.
|
|
6073
|
+
Default is None and content-type will be predicted by allowed
|
|
6074
|
+
content-types and body.
|
|
6075
|
+
_host_index (int/None): specifies the index of the server
|
|
6076
|
+
that we want to use.
|
|
6077
|
+
Default is read from the configuration.
|
|
6078
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
6079
|
+
request; this effectively ignores the authentication
|
|
6080
|
+
in the spec for a single request.
|
|
6081
|
+
Default is None
|
|
6082
|
+
async_req (bool): execute request asynchronously
|
|
6083
|
+
|
|
6084
|
+
Returns:
|
|
6085
|
+
None
|
|
6086
|
+
If the method is called asynchronously, returns the request
|
|
6087
|
+
thread.
|
|
6088
|
+
"""
|
|
6089
|
+
kwargs['async_req'] = kwargs.get(
|
|
6090
|
+
'async_req', False
|
|
6091
|
+
)
|
|
6092
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6093
|
+
'_return_http_data_only', True
|
|
6094
|
+
)
|
|
6095
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
6096
|
+
'_preload_content', True
|
|
6097
|
+
)
|
|
6098
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
6099
|
+
'_request_timeout', None
|
|
6100
|
+
)
|
|
6101
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
6102
|
+
'_check_input_type', True
|
|
6103
|
+
)
|
|
6104
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
6105
|
+
'_check_return_type', True
|
|
6106
|
+
)
|
|
6107
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6108
|
+
'_spec_property_naming', False
|
|
6109
|
+
)
|
|
6110
|
+
kwargs['_content_type'] = kwargs.get(
|
|
6111
|
+
'_content_type')
|
|
6112
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6113
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6114
|
+
kwargs['queue_uuid'] = \
|
|
6115
|
+
queue_uuid
|
|
6116
|
+
kwargs['recording_sid'] = \
|
|
6117
|
+
recording_sid
|
|
6118
|
+
return self.delete_pbx_queue_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
6119
|
+
|
|
6120
|
+
def delete_pbx_time_based(
|
|
6121
|
+
self,
|
|
6122
|
+
conversation_pbx_time_based_uuid,
|
|
6123
|
+
**kwargs
|
|
6124
|
+
):
|
|
6125
|
+
"""Delete pbx timeBased # noqa: E501
|
|
6126
|
+
|
|
6127
|
+
Delete a pbx timeBased # noqa: E501
|
|
6128
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6129
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6130
|
+
|
|
6131
|
+
>>> thread = api.delete_pbx_time_based(conversation_pbx_time_based_uuid, async_req=True)
|
|
6132
|
+
>>> result = thread.get()
|
|
6133
|
+
|
|
6134
|
+
Args:
|
|
6135
|
+
conversation_pbx_time_based_uuid (str):
|
|
6136
|
+
|
|
6137
|
+
Keyword Args:
|
|
6138
|
+
_return_http_data_only (bool): response data without head status
|
|
6139
|
+
code and headers. Default is True.
|
|
6140
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6141
|
+
will be returned without reading/decoding response data.
|
|
6142
|
+
Default is True.
|
|
6143
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6144
|
+
one number provided, it will be total request timeout. It can also
|
|
6145
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
6146
|
+
Default is None.
|
|
6147
|
+
_check_input_type (bool): specifies if type checking
|
|
6148
|
+
should be done one the data sent to the server.
|
|
6149
|
+
Default is True.
|
|
6150
|
+
_check_return_type (bool): specifies if type checking
|
|
6151
|
+
should be done one the data received from the server.
|
|
6152
|
+
Default is True.
|
|
6153
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
6154
|
+
are serialized names, as specified in the OpenAPI document.
|
|
6155
|
+
False if the variable names in the input data
|
|
6156
|
+
are pythonic names, e.g. snake case (default)
|
|
6157
|
+
_content_type (str/None): force body content-type.
|
|
6158
|
+
Default is None and content-type will be predicted by allowed
|
|
6159
|
+
content-types and body.
|
|
6160
|
+
_host_index (int/None): specifies the index of the server
|
|
6161
|
+
that we want to use.
|
|
6162
|
+
Default is read from the configuration.
|
|
6163
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
6164
|
+
request; this effectively ignores the authentication
|
|
6165
|
+
in the spec for a single request.
|
|
6166
|
+
Default is None
|
|
6167
|
+
async_req (bool): execute request asynchronously
|
|
6168
|
+
|
|
6169
|
+
Returns:
|
|
6170
|
+
ConversationPbxTimeBasedResponse
|
|
6171
|
+
If the method is called asynchronously, returns the request
|
|
6172
|
+
thread.
|
|
6173
|
+
"""
|
|
6174
|
+
kwargs['async_req'] = kwargs.get(
|
|
6175
|
+
'async_req', False
|
|
6176
|
+
)
|
|
6177
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6178
|
+
'_return_http_data_only', True
|
|
6179
|
+
)
|
|
6180
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
6181
|
+
'_preload_content', True
|
|
6182
|
+
)
|
|
6183
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
6184
|
+
'_request_timeout', None
|
|
6185
|
+
)
|
|
6186
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
6187
|
+
'_check_input_type', True
|
|
6188
|
+
)
|
|
6189
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
6190
|
+
'_check_return_type', True
|
|
6191
|
+
)
|
|
6192
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6193
|
+
'_spec_property_naming', False
|
|
6194
|
+
)
|
|
6195
|
+
kwargs['_content_type'] = kwargs.get(
|
|
6196
|
+
'_content_type')
|
|
6197
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6198
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6199
|
+
kwargs['conversation_pbx_time_based_uuid'] = \
|
|
6200
|
+
conversation_pbx_time_based_uuid
|
|
6201
|
+
return self.delete_pbx_time_based_endpoint.call_with_http_info(**kwargs)
|
|
6202
|
+
|
|
6203
|
+
def delete_pbx_time_range(
|
|
6204
|
+
self,
|
|
6205
|
+
conversation_pbx_time_range_uuid,
|
|
6206
|
+
**kwargs
|
|
6207
|
+
):
|
|
6208
|
+
"""Delete pbx timeRange # noqa: E501
|
|
6209
|
+
|
|
6210
|
+
Delete a pbx timeRange # noqa: E501
|
|
6211
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6212
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6213
|
+
|
|
6214
|
+
>>> thread = api.delete_pbx_time_range(conversation_pbx_time_range_uuid, async_req=True)
|
|
6215
|
+
>>> result = thread.get()
|
|
6216
|
+
|
|
6217
|
+
Args:
|
|
6218
|
+
conversation_pbx_time_range_uuid (str):
|
|
6219
|
+
|
|
6220
|
+
Keyword Args:
|
|
6221
|
+
_return_http_data_only (bool): response data without head status
|
|
6222
|
+
code and headers. Default is True.
|
|
6223
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6224
|
+
will be returned without reading/decoding response data.
|
|
6225
|
+
Default is True.
|
|
6226
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6227
|
+
one number provided, it will be total request timeout. It can also
|
|
6228
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
6229
|
+
Default is None.
|
|
6230
|
+
_check_input_type (bool): specifies if type checking
|
|
6231
|
+
should be done one the data sent to the server.
|
|
6232
|
+
Default is True.
|
|
6233
|
+
_check_return_type (bool): specifies if type checking
|
|
6234
|
+
should be done one the data received from the server.
|
|
6235
|
+
Default is True.
|
|
6236
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
6237
|
+
are serialized names, as specified in the OpenAPI document.
|
|
6238
|
+
False if the variable names in the input data
|
|
6239
|
+
are pythonic names, e.g. snake case (default)
|
|
6240
|
+
_content_type (str/None): force body content-type.
|
|
6241
|
+
Default is None and content-type will be predicted by allowed
|
|
6242
|
+
content-types and body.
|
|
6243
|
+
_host_index (int/None): specifies the index of the server
|
|
6244
|
+
that we want to use.
|
|
6245
|
+
Default is read from the configuration.
|
|
6246
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
6247
|
+
request; this effectively ignores the authentication
|
|
6248
|
+
in the spec for a single request.
|
|
6249
|
+
Default is None
|
|
6250
|
+
async_req (bool): execute request asynchronously
|
|
6251
|
+
|
|
6252
|
+
Returns:
|
|
6253
|
+
ConversationPbxTimeRangeResponse
|
|
6254
|
+
If the method is called asynchronously, returns the request
|
|
6255
|
+
thread.
|
|
6256
|
+
"""
|
|
6257
|
+
kwargs['async_req'] = kwargs.get(
|
|
6258
|
+
'async_req', False
|
|
6259
|
+
)
|
|
6260
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6261
|
+
'_return_http_data_only', True
|
|
6262
|
+
)
|
|
6263
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
6264
|
+
'_preload_content', True
|
|
6265
|
+
)
|
|
6266
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
6267
|
+
'_request_timeout', None
|
|
6268
|
+
)
|
|
6269
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
6270
|
+
'_check_input_type', True
|
|
6271
|
+
)
|
|
6272
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
6273
|
+
'_check_return_type', True
|
|
6274
|
+
)
|
|
6275
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6276
|
+
'_spec_property_naming', False
|
|
6277
|
+
)
|
|
6278
|
+
kwargs['_content_type'] = kwargs.get(
|
|
6279
|
+
'_content_type')
|
|
6280
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6281
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6282
|
+
kwargs['conversation_pbx_time_range_uuid'] = \
|
|
6283
|
+
conversation_pbx_time_range_uuid
|
|
6284
|
+
return self.delete_pbx_time_range_endpoint.call_with_http_info(**kwargs)
|
|
6285
|
+
|
|
6286
|
+
def delete_pbx_voicemail_mailbox(
|
|
6287
|
+
self,
|
|
6288
|
+
conversation_pbx_voicemail_mailbox_uuid,
|
|
6289
|
+
**kwargs
|
|
6290
|
+
):
|
|
6291
|
+
"""Delete pbx voicemailMailbox # noqa: E501
|
|
5599
6292
|
|
|
5600
|
-
Delete pbx
|
|
6293
|
+
Delete a pbx voicemailMailbox # noqa: E501
|
|
5601
6294
|
This method makes a synchronous HTTP request by default. To make an
|
|
5602
6295
|
asynchronous HTTP request, please pass async_req=True
|
|
5603
6296
|
|
|
5604
|
-
>>> thread = api.
|
|
6297
|
+
>>> thread = api.delete_pbx_voicemail_mailbox(conversation_pbx_voicemail_mailbox_uuid, async_req=True)
|
|
5605
6298
|
>>> result = thread.get()
|
|
5606
6299
|
|
|
5607
6300
|
Args:
|
|
5608
|
-
|
|
5609
|
-
recording_sid (str):
|
|
6301
|
+
conversation_pbx_voicemail_mailbox_uuid (str):
|
|
5610
6302
|
|
|
5611
6303
|
Keyword Args:
|
|
5612
6304
|
_return_http_data_only (bool): response data without head status
|
|
@@ -5641,7 +6333,7 @@ class ConversationApi(object):
|
|
|
5641
6333
|
async_req (bool): execute request asynchronously
|
|
5642
6334
|
|
|
5643
6335
|
Returns:
|
|
5644
|
-
|
|
6336
|
+
ConversationPbxVoicemailMailboxResponse
|
|
5645
6337
|
If the method is called asynchronously, returns the request
|
|
5646
6338
|
thread.
|
|
5647
6339
|
"""
|
|
@@ -5670,28 +6362,23 @@ class ConversationApi(object):
|
|
|
5670
6362
|
'_content_type')
|
|
5671
6363
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5672
6364
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5673
|
-
kwargs['
|
|
5674
|
-
|
|
5675
|
-
kwargs
|
|
5676
|
-
recording_sid
|
|
5677
|
-
return self.delete_pbx_queue_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
6365
|
+
kwargs['conversation_pbx_voicemail_mailbox_uuid'] = \
|
|
6366
|
+
conversation_pbx_voicemail_mailbox_uuid
|
|
6367
|
+
return self.delete_pbx_voicemail_mailbox_endpoint.call_with_http_info(**kwargs)
|
|
5678
6368
|
|
|
5679
|
-
def
|
|
6369
|
+
def get_agent_keep_alive(
|
|
5680
6370
|
self,
|
|
5681
|
-
conversation_pbx_time_based_uuid,
|
|
5682
6371
|
**kwargs
|
|
5683
6372
|
):
|
|
5684
|
-
"""
|
|
6373
|
+
"""Agent keep alive # noqa: E501
|
|
5685
6374
|
|
|
5686
|
-
|
|
6375
|
+
Called periodically by the conversation API to keep the session alive. # noqa: E501
|
|
5687
6376
|
This method makes a synchronous HTTP request by default. To make an
|
|
5688
6377
|
asynchronous HTTP request, please pass async_req=True
|
|
5689
6378
|
|
|
5690
|
-
>>> thread = api.
|
|
6379
|
+
>>> thread = api.get_agent_keep_alive(async_req=True)
|
|
5691
6380
|
>>> result = thread.get()
|
|
5692
6381
|
|
|
5693
|
-
Args:
|
|
5694
|
-
conversation_pbx_time_based_uuid (str):
|
|
5695
6382
|
|
|
5696
6383
|
Keyword Args:
|
|
5697
6384
|
_return_http_data_only (bool): response data without head status
|
|
@@ -5726,7 +6413,7 @@ class ConversationApi(object):
|
|
|
5726
6413
|
async_req (bool): execute request asynchronously
|
|
5727
6414
|
|
|
5728
6415
|
Returns:
|
|
5729
|
-
|
|
6416
|
+
None
|
|
5730
6417
|
If the method is called asynchronously, returns the request
|
|
5731
6418
|
thread.
|
|
5732
6419
|
"""
|
|
@@ -5755,26 +6442,21 @@ class ConversationApi(object):
|
|
|
5755
6442
|
'_content_type')
|
|
5756
6443
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5757
6444
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5758
|
-
kwargs
|
|
5759
|
-
conversation_pbx_time_based_uuid
|
|
5760
|
-
return self.delete_pbx_time_based_endpoint.call_with_http_info(**kwargs)
|
|
6445
|
+
return self.get_agent_keep_alive_endpoint.call_with_http_info(**kwargs)
|
|
5761
6446
|
|
|
5762
|
-
def
|
|
6447
|
+
def get_agent_profile(
|
|
5763
6448
|
self,
|
|
5764
|
-
conversation_pbx_time_range_uuid,
|
|
5765
6449
|
**kwargs
|
|
5766
6450
|
):
|
|
5767
|
-
"""
|
|
6451
|
+
"""Get agent profile # noqa: E501
|
|
5768
6452
|
|
|
5769
|
-
|
|
6453
|
+
Retrieve the agents profile # noqa: E501
|
|
5770
6454
|
This method makes a synchronous HTTP request by default. To make an
|
|
5771
6455
|
asynchronous HTTP request, please pass async_req=True
|
|
5772
6456
|
|
|
5773
|
-
>>> thread = api.
|
|
6457
|
+
>>> thread = api.get_agent_profile(async_req=True)
|
|
5774
6458
|
>>> result = thread.get()
|
|
5775
6459
|
|
|
5776
|
-
Args:
|
|
5777
|
-
conversation_pbx_time_range_uuid (str):
|
|
5778
6460
|
|
|
5779
6461
|
Keyword Args:
|
|
5780
6462
|
_return_http_data_only (bool): response data without head status
|
|
@@ -5809,7 +6491,7 @@ class ConversationApi(object):
|
|
|
5809
6491
|
async_req (bool): execute request asynchronously
|
|
5810
6492
|
|
|
5811
6493
|
Returns:
|
|
5812
|
-
|
|
6494
|
+
ConversationAgentProfileResponse
|
|
5813
6495
|
If the method is called asynchronously, returns the request
|
|
5814
6496
|
thread.
|
|
5815
6497
|
"""
|
|
@@ -5838,26 +6520,24 @@ class ConversationApi(object):
|
|
|
5838
6520
|
'_content_type')
|
|
5839
6521
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5840
6522
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5841
|
-
kwargs
|
|
5842
|
-
conversation_pbx_time_range_uuid
|
|
5843
|
-
return self.delete_pbx_time_range_endpoint.call_with_http_info(**kwargs)
|
|
6523
|
+
return self.get_agent_profile_endpoint.call_with_http_info(**kwargs)
|
|
5844
6524
|
|
|
5845
|
-
def
|
|
6525
|
+
def get_agent_profile_knowledge_base(
|
|
5846
6526
|
self,
|
|
5847
|
-
|
|
6527
|
+
user_id,
|
|
5848
6528
|
**kwargs
|
|
5849
6529
|
):
|
|
5850
|
-
"""
|
|
6530
|
+
"""Get the list of knowledge base documents associated with this agent profile # noqa: E501
|
|
5851
6531
|
|
|
5852
|
-
|
|
6532
|
+
Retrieve knowledge base documents # noqa: E501
|
|
5853
6533
|
This method makes a synchronous HTTP request by default. To make an
|
|
5854
6534
|
asynchronous HTTP request, please pass async_req=True
|
|
5855
6535
|
|
|
5856
|
-
>>> thread = api.
|
|
6536
|
+
>>> thread = api.get_agent_profile_knowledge_base(user_id, async_req=True)
|
|
5857
6537
|
>>> result = thread.get()
|
|
5858
6538
|
|
|
5859
6539
|
Args:
|
|
5860
|
-
|
|
6540
|
+
user_id (int):
|
|
5861
6541
|
|
|
5862
6542
|
Keyword Args:
|
|
5863
6543
|
_return_http_data_only (bool): response data without head status
|
|
@@ -5892,7 +6572,7 @@ class ConversationApi(object):
|
|
|
5892
6572
|
async_req (bool): execute request asynchronously
|
|
5893
6573
|
|
|
5894
6574
|
Returns:
|
|
5895
|
-
|
|
6575
|
+
ConversationKnowledgeBaseDocumentsResponse
|
|
5896
6576
|
If the method is called asynchronously, returns the request
|
|
5897
6577
|
thread.
|
|
5898
6578
|
"""
|
|
@@ -5921,23 +6601,28 @@ class ConversationApi(object):
|
|
|
5921
6601
|
'_content_type')
|
|
5922
6602
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5923
6603
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5924
|
-
kwargs['
|
|
5925
|
-
|
|
5926
|
-
return self.
|
|
6604
|
+
kwargs['user_id'] = \
|
|
6605
|
+
user_id
|
|
6606
|
+
return self.get_agent_profile_knowledge_base_endpoint.call_with_http_info(**kwargs)
|
|
5927
6607
|
|
|
5928
|
-
def
|
|
6608
|
+
def get_agent_profile_mcp(
|
|
5929
6609
|
self,
|
|
6610
|
+
user_id,
|
|
6611
|
+
mcp_server_uuid,
|
|
5930
6612
|
**kwargs
|
|
5931
6613
|
):
|
|
5932
|
-
"""
|
|
6614
|
+
"""Get an MCP server associated with this agent # noqa: E501
|
|
5933
6615
|
|
|
5934
|
-
|
|
6616
|
+
Retrieve MCP server associated with this agent # noqa: E501
|
|
5935
6617
|
This method makes a synchronous HTTP request by default. To make an
|
|
5936
6618
|
asynchronous HTTP request, please pass async_req=True
|
|
5937
6619
|
|
|
5938
|
-
>>> thread = api.
|
|
6620
|
+
>>> thread = api.get_agent_profile_mcp(user_id, mcp_server_uuid, async_req=True)
|
|
5939
6621
|
>>> result = thread.get()
|
|
5940
6622
|
|
|
6623
|
+
Args:
|
|
6624
|
+
user_id (int):
|
|
6625
|
+
mcp_server_uuid (str):
|
|
5941
6626
|
|
|
5942
6627
|
Keyword Args:
|
|
5943
6628
|
_return_http_data_only (bool): response data without head status
|
|
@@ -5972,7 +6657,7 @@ class ConversationApi(object):
|
|
|
5972
6657
|
async_req (bool): execute request asynchronously
|
|
5973
6658
|
|
|
5974
6659
|
Returns:
|
|
5975
|
-
|
|
6660
|
+
ConversationMcpServerResponse
|
|
5976
6661
|
If the method is called asynchronously, returns the request
|
|
5977
6662
|
thread.
|
|
5978
6663
|
"""
|
|
@@ -6001,21 +6686,30 @@ class ConversationApi(object):
|
|
|
6001
6686
|
'_content_type')
|
|
6002
6687
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6003
6688
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6004
|
-
|
|
6689
|
+
kwargs['user_id'] = \
|
|
6690
|
+
user_id
|
|
6691
|
+
kwargs['mcp_server_uuid'] = \
|
|
6692
|
+
mcp_server_uuid
|
|
6693
|
+
return self.get_agent_profile_mcp_endpoint.call_with_http_info(**kwargs)
|
|
6005
6694
|
|
|
6006
|
-
def
|
|
6695
|
+
def get_agent_profile_mcp_tools(
|
|
6007
6696
|
self,
|
|
6697
|
+
user_id,
|
|
6698
|
+
mcp_server_uuid,
|
|
6008
6699
|
**kwargs
|
|
6009
6700
|
):
|
|
6010
|
-
"""Get
|
|
6701
|
+
"""Get the tools available from the MCP server # noqa: E501
|
|
6011
6702
|
|
|
6012
|
-
|
|
6703
|
+
Get the tools available from the MCP server # noqa: E501
|
|
6013
6704
|
This method makes a synchronous HTTP request by default. To make an
|
|
6014
6705
|
asynchronous HTTP request, please pass async_req=True
|
|
6015
6706
|
|
|
6016
|
-
>>> thread = api.
|
|
6707
|
+
>>> thread = api.get_agent_profile_mcp_tools(user_id, mcp_server_uuid, async_req=True)
|
|
6017
6708
|
>>> result = thread.get()
|
|
6018
6709
|
|
|
6710
|
+
Args:
|
|
6711
|
+
user_id (int):
|
|
6712
|
+
mcp_server_uuid (str):
|
|
6019
6713
|
|
|
6020
6714
|
Keyword Args:
|
|
6021
6715
|
_return_http_data_only (bool): response data without head status
|
|
@@ -6050,7 +6744,7 @@ class ConversationApi(object):
|
|
|
6050
6744
|
async_req (bool): execute request asynchronously
|
|
6051
6745
|
|
|
6052
6746
|
Returns:
|
|
6053
|
-
|
|
6747
|
+
ConversationMcpServerToolsResponse
|
|
6054
6748
|
If the method is called asynchronously, returns the request
|
|
6055
6749
|
thread.
|
|
6056
6750
|
"""
|
|
@@ -6079,20 +6773,24 @@ class ConversationApi(object):
|
|
|
6079
6773
|
'_content_type')
|
|
6080
6774
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6081
6775
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6082
|
-
|
|
6776
|
+
kwargs['user_id'] = \
|
|
6777
|
+
user_id
|
|
6778
|
+
kwargs['mcp_server_uuid'] = \
|
|
6779
|
+
mcp_server_uuid
|
|
6780
|
+
return self.get_agent_profile_mcp_tools_endpoint.call_with_http_info(**kwargs)
|
|
6083
6781
|
|
|
6084
|
-
def
|
|
6782
|
+
def get_agent_profile_mcps(
|
|
6085
6783
|
self,
|
|
6086
6784
|
user_id,
|
|
6087
6785
|
**kwargs
|
|
6088
6786
|
):
|
|
6089
|
-
"""Get the list of
|
|
6787
|
+
"""Get the list of MCP servers associated with this agent # noqa: E501
|
|
6090
6788
|
|
|
6091
|
-
Retrieve
|
|
6789
|
+
Retrieve MCP servers associated with this agent # noqa: E501
|
|
6092
6790
|
This method makes a synchronous HTTP request by default. To make an
|
|
6093
6791
|
asynchronous HTTP request, please pass async_req=True
|
|
6094
6792
|
|
|
6095
|
-
>>> thread = api.
|
|
6793
|
+
>>> thread = api.get_agent_profile_mcps(user_id, async_req=True)
|
|
6096
6794
|
>>> result = thread.get()
|
|
6097
6795
|
|
|
6098
6796
|
Args:
|
|
@@ -6131,7 +6829,7 @@ class ConversationApi(object):
|
|
|
6131
6829
|
async_req (bool): execute request asynchronously
|
|
6132
6830
|
|
|
6133
6831
|
Returns:
|
|
6134
|
-
|
|
6832
|
+
ConversationMcpServersResponse
|
|
6135
6833
|
If the method is called asynchronously, returns the request
|
|
6136
6834
|
thread.
|
|
6137
6835
|
"""
|
|
@@ -6162,7 +6860,7 @@ class ConversationApi(object):
|
|
|
6162
6860
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6163
6861
|
kwargs['user_id'] = \
|
|
6164
6862
|
user_id
|
|
6165
|
-
return self.
|
|
6863
|
+
return self.get_agent_profile_mcps_endpoint.call_with_http_info(**kwargs)
|
|
6166
6864
|
|
|
6167
6865
|
def get_agent_profiles(
|
|
6168
6866
|
self,
|
|
@@ -9733,6 +10431,93 @@ class ConversationApi(object):
|
|
|
9733
10431
|
knowledge_base_document_request
|
|
9734
10432
|
return self.insert_agent_profile_knowledge_base_document_endpoint.call_with_http_info(**kwargs)
|
|
9735
10433
|
|
|
10434
|
+
def insert_agent_profile_mcp(
|
|
10435
|
+
self,
|
|
10436
|
+
user_id,
|
|
10437
|
+
mcp_server,
|
|
10438
|
+
**kwargs
|
|
10439
|
+
):
|
|
10440
|
+
"""Insert an agent MCP server # noqa: E501
|
|
10441
|
+
|
|
10442
|
+
Insert an agent MCP server # noqa: E501
|
|
10443
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
10444
|
+
asynchronous HTTP request, please pass async_req=True
|
|
10445
|
+
|
|
10446
|
+
>>> thread = api.insert_agent_profile_mcp(user_id, mcp_server, async_req=True)
|
|
10447
|
+
>>> result = thread.get()
|
|
10448
|
+
|
|
10449
|
+
Args:
|
|
10450
|
+
user_id (int):
|
|
10451
|
+
mcp_server (ConversationMcpServer): MCP Server
|
|
10452
|
+
|
|
10453
|
+
Keyword Args:
|
|
10454
|
+
_return_http_data_only (bool): response data without head status
|
|
10455
|
+
code and headers. Default is True.
|
|
10456
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
10457
|
+
will be returned without reading/decoding response data.
|
|
10458
|
+
Default is True.
|
|
10459
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
10460
|
+
one number provided, it will be total request timeout. It can also
|
|
10461
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
10462
|
+
Default is None.
|
|
10463
|
+
_check_input_type (bool): specifies if type checking
|
|
10464
|
+
should be done one the data sent to the server.
|
|
10465
|
+
Default is True.
|
|
10466
|
+
_check_return_type (bool): specifies if type checking
|
|
10467
|
+
should be done one the data received from the server.
|
|
10468
|
+
Default is True.
|
|
10469
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
10470
|
+
are serialized names, as specified in the OpenAPI document.
|
|
10471
|
+
False if the variable names in the input data
|
|
10472
|
+
are pythonic names, e.g. snake case (default)
|
|
10473
|
+
_content_type (str/None): force body content-type.
|
|
10474
|
+
Default is None and content-type will be predicted by allowed
|
|
10475
|
+
content-types and body.
|
|
10476
|
+
_host_index (int/None): specifies the index of the server
|
|
10477
|
+
that we want to use.
|
|
10478
|
+
Default is read from the configuration.
|
|
10479
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
10480
|
+
request; this effectively ignores the authentication
|
|
10481
|
+
in the spec for a single request.
|
|
10482
|
+
Default is None
|
|
10483
|
+
async_req (bool): execute request asynchronously
|
|
10484
|
+
|
|
10485
|
+
Returns:
|
|
10486
|
+
ConversationMcpServerResponse
|
|
10487
|
+
If the method is called asynchronously, returns the request
|
|
10488
|
+
thread.
|
|
10489
|
+
"""
|
|
10490
|
+
kwargs['async_req'] = kwargs.get(
|
|
10491
|
+
'async_req', False
|
|
10492
|
+
)
|
|
10493
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
10494
|
+
'_return_http_data_only', True
|
|
10495
|
+
)
|
|
10496
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
10497
|
+
'_preload_content', True
|
|
10498
|
+
)
|
|
10499
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
10500
|
+
'_request_timeout', None
|
|
10501
|
+
)
|
|
10502
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
10503
|
+
'_check_input_type', True
|
|
10504
|
+
)
|
|
10505
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
10506
|
+
'_check_return_type', True
|
|
10507
|
+
)
|
|
10508
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
10509
|
+
'_spec_property_naming', False
|
|
10510
|
+
)
|
|
10511
|
+
kwargs['_content_type'] = kwargs.get(
|
|
10512
|
+
'_content_type')
|
|
10513
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
10514
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
10515
|
+
kwargs['user_id'] = \
|
|
10516
|
+
user_id
|
|
10517
|
+
kwargs['mcp_server'] = \
|
|
10518
|
+
mcp_server
|
|
10519
|
+
return self.insert_agent_profile_mcp_endpoint.call_with_http_info(**kwargs)
|
|
10520
|
+
|
|
9736
10521
|
def insert_conversation_canned_message(
|
|
9737
10522
|
self,
|
|
9738
10523
|
canned_message,
|
|
@@ -11315,6 +12100,97 @@ class ConversationApi(object):
|
|
|
11315
12100
|
profile_request
|
|
11316
12101
|
return self.update_agent_profile_endpoint.call_with_http_info(**kwargs)
|
|
11317
12102
|
|
|
12103
|
+
def update_agent_profile_mcp(
|
|
12104
|
+
self,
|
|
12105
|
+
user_id,
|
|
12106
|
+
mcp_server_uuid,
|
|
12107
|
+
mcp_server,
|
|
12108
|
+
**kwargs
|
|
12109
|
+
):
|
|
12110
|
+
"""Update an agent MCP server # noqa: E501
|
|
12111
|
+
|
|
12112
|
+
Update an agent MCP server # noqa: E501
|
|
12113
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
12114
|
+
asynchronous HTTP request, please pass async_req=True
|
|
12115
|
+
|
|
12116
|
+
>>> thread = api.update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server, async_req=True)
|
|
12117
|
+
>>> result = thread.get()
|
|
12118
|
+
|
|
12119
|
+
Args:
|
|
12120
|
+
user_id (int):
|
|
12121
|
+
mcp_server_uuid (str):
|
|
12122
|
+
mcp_server (ConversationMcpServer): MCP Server
|
|
12123
|
+
|
|
12124
|
+
Keyword Args:
|
|
12125
|
+
_return_http_data_only (bool): response data without head status
|
|
12126
|
+
code and headers. Default is True.
|
|
12127
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
12128
|
+
will be returned without reading/decoding response data.
|
|
12129
|
+
Default is True.
|
|
12130
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
12131
|
+
one number provided, it will be total request timeout. It can also
|
|
12132
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
12133
|
+
Default is None.
|
|
12134
|
+
_check_input_type (bool): specifies if type checking
|
|
12135
|
+
should be done one the data sent to the server.
|
|
12136
|
+
Default is True.
|
|
12137
|
+
_check_return_type (bool): specifies if type checking
|
|
12138
|
+
should be done one the data received from the server.
|
|
12139
|
+
Default is True.
|
|
12140
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
12141
|
+
are serialized names, as specified in the OpenAPI document.
|
|
12142
|
+
False if the variable names in the input data
|
|
12143
|
+
are pythonic names, e.g. snake case (default)
|
|
12144
|
+
_content_type (str/None): force body content-type.
|
|
12145
|
+
Default is None and content-type will be predicted by allowed
|
|
12146
|
+
content-types and body.
|
|
12147
|
+
_host_index (int/None): specifies the index of the server
|
|
12148
|
+
that we want to use.
|
|
12149
|
+
Default is read from the configuration.
|
|
12150
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
12151
|
+
request; this effectively ignores the authentication
|
|
12152
|
+
in the spec for a single request.
|
|
12153
|
+
Default is None
|
|
12154
|
+
async_req (bool): execute request asynchronously
|
|
12155
|
+
|
|
12156
|
+
Returns:
|
|
12157
|
+
ConversationMcpServerResponse
|
|
12158
|
+
If the method is called asynchronously, returns the request
|
|
12159
|
+
thread.
|
|
12160
|
+
"""
|
|
12161
|
+
kwargs['async_req'] = kwargs.get(
|
|
12162
|
+
'async_req', False
|
|
12163
|
+
)
|
|
12164
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
12165
|
+
'_return_http_data_only', True
|
|
12166
|
+
)
|
|
12167
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
12168
|
+
'_preload_content', True
|
|
12169
|
+
)
|
|
12170
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
12171
|
+
'_request_timeout', None
|
|
12172
|
+
)
|
|
12173
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
12174
|
+
'_check_input_type', True
|
|
12175
|
+
)
|
|
12176
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
12177
|
+
'_check_return_type', True
|
|
12178
|
+
)
|
|
12179
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
12180
|
+
'_spec_property_naming', False
|
|
12181
|
+
)
|
|
12182
|
+
kwargs['_content_type'] = kwargs.get(
|
|
12183
|
+
'_content_type')
|
|
12184
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
12185
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
12186
|
+
kwargs['user_id'] = \
|
|
12187
|
+
user_id
|
|
12188
|
+
kwargs['mcp_server_uuid'] = \
|
|
12189
|
+
mcp_server_uuid
|
|
12190
|
+
kwargs['mcp_server'] = \
|
|
12191
|
+
mcp_server
|
|
12192
|
+
return self.update_agent_profile_mcp_endpoint.call_with_http_info(**kwargs)
|
|
12193
|
+
|
|
11318
12194
|
def update_conversation_canned_message(
|
|
11319
12195
|
self,
|
|
11320
12196
|
conversation_canned_message_oid,
|