purecloud 0.49.1 → 0.50.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AuthorizationApi.html.md +4 -4
- data/doc_out/CallbackMediaParticipant.html.md +5 -5
- data/doc_out/CampaignDiagnostics.html.md +1 -0
- data/doc_out/ConversationsApi.html.md +10 -10
- data/doc_out/Document.html.md +1 -1
- data/doc_out/DomainLogicalInterface.html.md +0 -1
- data/doc_out/EdgeGroup.html.md +1 -2
- data/doc_out/FaxDocument.html.md +1 -1
- data/doc_out/GroupsSearchResponse.html.md +0 -1
- data/doc_out/JsonNode.html.md +2 -2
- data/doc_out/Keyword.html.md +5 -5
- data/doc_out/KeywordSet.html.md +3 -3
- data/doc_out/Line.html.md +1 -0
- data/doc_out/LocationsSearchResponse.html.md +0 -1
- data/doc_out/OutboundApi.html.md +2 -2
- data/doc_out/PresenceApi.html.md +2 -2
- data/doc_out/QualityApi.html.md +18 -18
- data/doc_out/QualityAudit.html.md +1 -1
- data/doc_out/RecordingApi.html.md +4 -4
- data/doc_out/RoutingApi.html.md +315 -0
- data/doc_out/RuleSetDiagnostic.html.md +14 -0
- data/doc_out/ScreenRecordingSession.html.md +1 -1
- data/doc_out/TelephonyProvidersEdgeApi.html.md +20 -6
- data/doc_out/TrunkBaseAssignment.html.md +1 -1
- data/doc_out/UsersApi.html.md +3 -1
- data/doc_out/UsersSearchResponse.html.md +0 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +1 -1
- data/lib/purecloud/api/authorization_api.rb +4 -4
- data/lib/purecloud/api/conversations_api.rb +15 -15
- data/lib/purecloud/api/outbound_api.rb +3 -3
- data/lib/purecloud/api/presence_api.rb +3 -3
- data/lib/purecloud/api/quality_api.rb +18 -18
- data/lib/purecloud/api/recording_api.rb +4 -4
- data/lib/purecloud/api/routing_api.rb +330 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +12 -0
- data/lib/purecloud/api/users_api.rb +3 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/callback_media_participant.rb +5 -0
- data/lib/purecloud/models/campaign_diagnostics.rb +14 -1
- data/lib/purecloud/models/document.rb +11 -11
- data/lib/purecloud/models/domain_logical_interface.rb +1 -14
- data/lib/purecloud/models/edge_group.rb +2 -15
- data/lib/purecloud/models/fax_document.rb +11 -11
- data/lib/purecloud/models/groups_search_response.rb +4 -16
- data/lib/purecloud/models/json_node.rb +20 -20
- data/lib/purecloud/models/keyword.rb +5 -0
- data/lib/purecloud/models/keyword_set.rb +2 -0
- data/lib/purecloud/models/line.rb +11 -1
- data/lib/purecloud/models/locations_search_response.rb +4 -16
- data/lib/purecloud/models/quality_audit.rb +11 -11
- data/lib/purecloud/models/{dialer_contact_entity_listing.rb → rule_set_diagnostic.rb} +17 -95
- data/lib/purecloud/models/screen_recording_session.rb +1 -0
- data/lib/purecloud/models/trunk_base_assignment.rb +1 -1
- data/lib/purecloud/models/users_search_response.rb +4 -16
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +4 -4
- data/doc_out/DialerContactEntityListing.html.md +0 -22
@@ -947,6 +947,336 @@ module PureCloud
|
|
947
947
|
return data, status_code, headers
|
948
948
|
end
|
949
949
|
|
950
|
+
# Get recent conversations that are still active
|
951
|
+
#
|
952
|
+
# @param queue_id Queue ID
|
953
|
+
# @param [Hash] opts the optional parameters
|
954
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
955
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
956
|
+
# @return [CallConversationEntityListing]
|
957
|
+
def get_queues_queue_id_conversations(queue_id, opts = {})
|
958
|
+
data, status_code, headers = get_queues_queue_id_conversations_with_http_info(queue_id, opts)
|
959
|
+
return data
|
960
|
+
end
|
961
|
+
|
962
|
+
# Get recent conversations that are still active
|
963
|
+
#
|
964
|
+
# @param queue_id Queue ID
|
965
|
+
# @param [Hash] opts the optional parameters
|
966
|
+
# @option opts [Integer] :page_size Page size
|
967
|
+
# @option opts [Integer] :page_number Page number
|
968
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
969
|
+
def get_queues_queue_id_conversations_with_http_info(queue_id, opts = {})
|
970
|
+
if @api_client.config.debugging
|
971
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_conversations ..."
|
972
|
+
end
|
973
|
+
|
974
|
+
# verify the required parameter 'queue_id' is set
|
975
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_conversations" if queue_id.nil?
|
976
|
+
|
977
|
+
# resource path
|
978
|
+
local_var_path = "/api/v2/routing/queues/{queueId}/conversations".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
979
|
+
|
980
|
+
# query parameters
|
981
|
+
query_params = {}
|
982
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
983
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
984
|
+
|
985
|
+
# header parameters
|
986
|
+
header_params = {}
|
987
|
+
|
988
|
+
# HTTP header 'Accept' (if needed)
|
989
|
+
_header_accept = ['application/json']
|
990
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
991
|
+
|
992
|
+
# HTTP header 'Content-Type'
|
993
|
+
_header_content_type = ['application/json']
|
994
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
995
|
+
|
996
|
+
# form parameters
|
997
|
+
form_params = {}
|
998
|
+
|
999
|
+
# http body (model)
|
1000
|
+
post_body = nil
|
1001
|
+
|
1002
|
+
auth_names = ['PureCloud Auth']
|
1003
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1004
|
+
:header_params => header_params,
|
1005
|
+
:query_params => query_params,
|
1006
|
+
:form_params => form_params,
|
1007
|
+
:body => post_body,
|
1008
|
+
:auth_names => auth_names,
|
1009
|
+
:return_type => 'CallConversationEntityListing')
|
1010
|
+
if @api_client.config.debugging
|
1011
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1012
|
+
end
|
1013
|
+
return data, status_code, headers
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
# Get recent callback conversations that are still active
|
1017
|
+
#
|
1018
|
+
# @param queue_id Queue ID
|
1019
|
+
# @param [Hash] opts the optional parameters
|
1020
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1021
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1022
|
+
# @return [CallbackConversationEntityListing]
|
1023
|
+
def get_queues_queue_id_conversations_callbacks(queue_id, opts = {})
|
1024
|
+
data, status_code, headers = get_queues_queue_id_conversations_callbacks_with_http_info(queue_id, opts)
|
1025
|
+
return data
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
# Get recent callback conversations that are still active
|
1029
|
+
#
|
1030
|
+
# @param queue_id Queue ID
|
1031
|
+
# @param [Hash] opts the optional parameters
|
1032
|
+
# @option opts [Integer] :page_size Page size
|
1033
|
+
# @option opts [Integer] :page_number Page number
|
1034
|
+
# @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
|
1035
|
+
def get_queues_queue_id_conversations_callbacks_with_http_info(queue_id, opts = {})
|
1036
|
+
if @api_client.config.debugging
|
1037
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_conversations_callbacks ..."
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# verify the required parameter 'queue_id' is set
|
1041
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_conversations_callbacks" if queue_id.nil?
|
1042
|
+
|
1043
|
+
# resource path
|
1044
|
+
local_var_path = "/api/v2/routing/queues/{queueId}/conversations/callbacks".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
1045
|
+
|
1046
|
+
# query parameters
|
1047
|
+
query_params = {}
|
1048
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1049
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1050
|
+
|
1051
|
+
# header parameters
|
1052
|
+
header_params = {}
|
1053
|
+
|
1054
|
+
# HTTP header 'Accept' (if needed)
|
1055
|
+
_header_accept = ['application/json']
|
1056
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1057
|
+
|
1058
|
+
# HTTP header 'Content-Type'
|
1059
|
+
_header_content_type = ['application/json']
|
1060
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1061
|
+
|
1062
|
+
# form parameters
|
1063
|
+
form_params = {}
|
1064
|
+
|
1065
|
+
# http body (model)
|
1066
|
+
post_body = nil
|
1067
|
+
|
1068
|
+
auth_names = ['PureCloud Auth']
|
1069
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1070
|
+
:header_params => header_params,
|
1071
|
+
:query_params => query_params,
|
1072
|
+
:form_params => form_params,
|
1073
|
+
:body => post_body,
|
1074
|
+
:auth_names => auth_names,
|
1075
|
+
:return_type => 'CallbackConversationEntityListing')
|
1076
|
+
if @api_client.config.debugging
|
1077
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_conversations_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1078
|
+
end
|
1079
|
+
return data, status_code, headers
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# Get recent call conversations that are still active
|
1083
|
+
#
|
1084
|
+
# @param queue_id Queue ID
|
1085
|
+
# @param [Hash] opts the optional parameters
|
1086
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1087
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1088
|
+
# @return [CallConversationEntityListing]
|
1089
|
+
def get_queues_queue_id_conversations_calls(queue_id, opts = {})
|
1090
|
+
data, status_code, headers = get_queues_queue_id_conversations_calls_with_http_info(queue_id, opts)
|
1091
|
+
return data
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
# Get recent call conversations that are still active
|
1095
|
+
#
|
1096
|
+
# @param queue_id Queue ID
|
1097
|
+
# @param [Hash] opts the optional parameters
|
1098
|
+
# @option opts [Integer] :page_size Page size
|
1099
|
+
# @option opts [Integer] :page_number Page number
|
1100
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
1101
|
+
def get_queues_queue_id_conversations_calls_with_http_info(queue_id, opts = {})
|
1102
|
+
if @api_client.config.debugging
|
1103
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_conversations_calls ..."
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# verify the required parameter 'queue_id' is set
|
1107
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_conversations_calls" if queue_id.nil?
|
1108
|
+
|
1109
|
+
# resource path
|
1110
|
+
local_var_path = "/api/v2/routing/queues/{queueId}/conversations/calls".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
1111
|
+
|
1112
|
+
# query parameters
|
1113
|
+
query_params = {}
|
1114
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1115
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1116
|
+
|
1117
|
+
# header parameters
|
1118
|
+
header_params = {}
|
1119
|
+
|
1120
|
+
# HTTP header 'Accept' (if needed)
|
1121
|
+
_header_accept = ['application/json']
|
1122
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1123
|
+
|
1124
|
+
# HTTP header 'Content-Type'
|
1125
|
+
_header_content_type = ['application/json']
|
1126
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1127
|
+
|
1128
|
+
# form parameters
|
1129
|
+
form_params = {}
|
1130
|
+
|
1131
|
+
# http body (model)
|
1132
|
+
post_body = nil
|
1133
|
+
|
1134
|
+
auth_names = ['PureCloud Auth']
|
1135
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1136
|
+
:header_params => header_params,
|
1137
|
+
:query_params => query_params,
|
1138
|
+
:form_params => form_params,
|
1139
|
+
:body => post_body,
|
1140
|
+
:auth_names => auth_names,
|
1141
|
+
:return_type => 'CallConversationEntityListing')
|
1142
|
+
if @api_client.config.debugging
|
1143
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_conversations_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1144
|
+
end
|
1145
|
+
return data, status_code, headers
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# Get recent chat conversations that are still active
|
1149
|
+
#
|
1150
|
+
# @param queue_id Queue ID
|
1151
|
+
# @param [Hash] opts the optional parameters
|
1152
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1153
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1154
|
+
# @return [ChatConversationEntityListing]
|
1155
|
+
def get_queues_queue_id_conversations_chats(queue_id, opts = {})
|
1156
|
+
data, status_code, headers = get_queues_queue_id_conversations_chats_with_http_info(queue_id, opts)
|
1157
|
+
return data
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# Get recent chat conversations that are still active
|
1161
|
+
#
|
1162
|
+
# @param queue_id Queue ID
|
1163
|
+
# @param [Hash] opts the optional parameters
|
1164
|
+
# @option opts [Integer] :page_size Page size
|
1165
|
+
# @option opts [Integer] :page_number Page number
|
1166
|
+
# @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
|
1167
|
+
def get_queues_queue_id_conversations_chats_with_http_info(queue_id, opts = {})
|
1168
|
+
if @api_client.config.debugging
|
1169
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_conversations_chats ..."
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# verify the required parameter 'queue_id' is set
|
1173
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_conversations_chats" if queue_id.nil?
|
1174
|
+
|
1175
|
+
# resource path
|
1176
|
+
local_var_path = "/api/v2/routing/queues/{queueId}/conversations/chats".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
1177
|
+
|
1178
|
+
# query parameters
|
1179
|
+
query_params = {}
|
1180
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1181
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1182
|
+
|
1183
|
+
# header parameters
|
1184
|
+
header_params = {}
|
1185
|
+
|
1186
|
+
# HTTP header 'Accept' (if needed)
|
1187
|
+
_header_accept = ['application/json']
|
1188
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1189
|
+
|
1190
|
+
# HTTP header 'Content-Type'
|
1191
|
+
_header_content_type = ['application/json']
|
1192
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1193
|
+
|
1194
|
+
# form parameters
|
1195
|
+
form_params = {}
|
1196
|
+
|
1197
|
+
# http body (model)
|
1198
|
+
post_body = nil
|
1199
|
+
|
1200
|
+
auth_names = ['PureCloud Auth']
|
1201
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1202
|
+
:header_params => header_params,
|
1203
|
+
:query_params => query_params,
|
1204
|
+
:form_params => form_params,
|
1205
|
+
:body => post_body,
|
1206
|
+
:auth_names => auth_names,
|
1207
|
+
:return_type => 'ChatConversationEntityListing')
|
1208
|
+
if @api_client.config.debugging
|
1209
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_conversations_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1210
|
+
end
|
1211
|
+
return data, status_code, headers
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# Get recent email conversations that are still active
|
1215
|
+
#
|
1216
|
+
# @param queue_id Queue ID
|
1217
|
+
# @param [Hash] opts the optional parameters
|
1218
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
1219
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
1220
|
+
# @return [EmailConversationEntityListing]
|
1221
|
+
def get_queues_queue_id_conversations_emails(queue_id, opts = {})
|
1222
|
+
data, status_code, headers = get_queues_queue_id_conversations_emails_with_http_info(queue_id, opts)
|
1223
|
+
return data
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# Get recent email conversations that are still active
|
1227
|
+
#
|
1228
|
+
# @param queue_id Queue ID
|
1229
|
+
# @param [Hash] opts the optional parameters
|
1230
|
+
# @option opts [Integer] :page_size Page size
|
1231
|
+
# @option opts [Integer] :page_number Page number
|
1232
|
+
# @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
|
1233
|
+
def get_queues_queue_id_conversations_emails_with_http_info(queue_id, opts = {})
|
1234
|
+
if @api_client.config.debugging
|
1235
|
+
@api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_conversations_emails ..."
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# verify the required parameter 'queue_id' is set
|
1239
|
+
fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_conversations_emails" if queue_id.nil?
|
1240
|
+
|
1241
|
+
# resource path
|
1242
|
+
local_var_path = "/api/v2/routing/queues/{queueId}/conversations/emails".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
|
1243
|
+
|
1244
|
+
# query parameters
|
1245
|
+
query_params = {}
|
1246
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
1247
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
1248
|
+
|
1249
|
+
# header parameters
|
1250
|
+
header_params = {}
|
1251
|
+
|
1252
|
+
# HTTP header 'Accept' (if needed)
|
1253
|
+
_header_accept = ['application/json']
|
1254
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1255
|
+
|
1256
|
+
# HTTP header 'Content-Type'
|
1257
|
+
_header_content_type = ['application/json']
|
1258
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1259
|
+
|
1260
|
+
# form parameters
|
1261
|
+
form_params = {}
|
1262
|
+
|
1263
|
+
# http body (model)
|
1264
|
+
post_body = nil
|
1265
|
+
|
1266
|
+
auth_names = ['PureCloud Auth']
|
1267
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1268
|
+
:header_params => header_params,
|
1269
|
+
:query_params => query_params,
|
1270
|
+
:form_params => form_params,
|
1271
|
+
:body => post_body,
|
1272
|
+
:auth_names => auth_names,
|
1273
|
+
:return_type => 'EmailConversationEntityListing')
|
1274
|
+
if @api_client.config.debugging
|
1275
|
+
@api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_conversations_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1276
|
+
end
|
1277
|
+
return data, status_code, headers
|
1278
|
+
end
|
1279
|
+
|
950
1280
|
# Get Estimated Wait Time
|
951
1281
|
#
|
952
1282
|
# @param queue_id queueId
|
@@ -1500,6 +1500,7 @@ module PureCloud
|
|
1500
1500
|
# Retrieve a list of all configured logical interfaces from a specific edge.
|
1501
1501
|
# @param edge_id Edge ID
|
1502
1502
|
# @param [Hash] opts the optional parameters
|
1503
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
1503
1504
|
# @return [LogicalInterfaceEntityListing]
|
1504
1505
|
def get_providers_edges_edge_id_logicalinterfaces(edge_id, opts = {})
|
1505
1506
|
data, status_code, headers = get_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
|
@@ -1510,6 +1511,7 @@ module PureCloud
|
|
1510
1511
|
# Retrieve a list of all configured logical interfaces from a specific edge.
|
1511
1512
|
# @param edge_id Edge ID
|
1512
1513
|
# @param [Hash] opts the optional parameters
|
1514
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
1513
1515
|
# @return [Array<(LogicalInterfaceEntityListing, Fixnum, Hash)>] LogicalInterfaceEntityListing data, response status code and response headers
|
1514
1516
|
def get_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
|
1515
1517
|
if @api_client.config.debugging
|
@@ -1524,6 +1526,7 @@ module PureCloud
|
|
1524
1526
|
|
1525
1527
|
# query parameters
|
1526
1528
|
query_params = {}
|
1529
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
1527
1530
|
|
1528
1531
|
# header parameters
|
1529
1532
|
header_params = {}
|
@@ -1561,6 +1564,7 @@ module PureCloud
|
|
1561
1564
|
# @param edge_id Edge ID
|
1562
1565
|
# @param interface_id Interface ID
|
1563
1566
|
# @param [Hash] opts the optional parameters
|
1567
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
1564
1568
|
# @return [DomainLogicalInterface]
|
1565
1569
|
def get_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
1566
1570
|
data, status_code, headers = get_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
@@ -1572,6 +1576,7 @@ module PureCloud
|
|
1572
1576
|
# @param edge_id Edge ID
|
1573
1577
|
# @param interface_id Interface ID
|
1574
1578
|
# @param [Hash] opts the optional parameters
|
1579
|
+
# @option opts [Array<String>] :expand Field to expand in the response
|
1575
1580
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
1576
1581
|
def get_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
1577
1582
|
if @api_client.config.debugging
|
@@ -1589,6 +1594,7 @@ module PureCloud
|
|
1589
1594
|
|
1590
1595
|
# query parameters
|
1591
1596
|
query_params = {}
|
1597
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
1592
1598
|
|
1593
1599
|
# header parameters
|
1594
1600
|
header_params = {}
|
@@ -2002,6 +2008,7 @@ module PureCloud
|
|
2002
2008
|
#
|
2003
2009
|
# @param edge_group_id Edge group ID
|
2004
2010
|
# @param [Hash] opts the optional parameters
|
2011
|
+
# @option opts [Array<String>] :expand Fields to expand in the response
|
2005
2012
|
# @return [EdgeGroup]
|
2006
2013
|
def get_providers_edges_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
2007
2014
|
data, status_code, headers = get_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
@@ -2012,6 +2019,7 @@ module PureCloud
|
|
2012
2019
|
#
|
2013
2020
|
# @param edge_group_id Edge group ID
|
2014
2021
|
# @param [Hash] opts the optional parameters
|
2022
|
+
# @option opts [Array<String>] :expand Fields to expand in the response
|
2015
2023
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
2016
2024
|
def get_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
2017
2025
|
if @api_client.config.debugging
|
@@ -2026,6 +2034,7 @@ module PureCloud
|
|
2026
2034
|
|
2027
2035
|
# query parameters
|
2028
2036
|
query_params = {}
|
2037
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
2029
2038
|
|
2030
2039
|
# header parameters
|
2031
2040
|
header_params = {}
|
@@ -3205,6 +3214,7 @@ module PureCloud
|
|
3205
3214
|
# @option opts [String] :web_rtc_user_id Filter by webRtcUser.id
|
3206
3215
|
# @option opts [String] :phone_base_settings_id Filter by phoneBaseSettings.id
|
3207
3216
|
# @option opts [String] :lines_logged_in_user_id Filter by lines.loggedInUser.id
|
3217
|
+
# @option opts [String] :lines_default_for_user_id Filter by lines.defaultForUser.id
|
3208
3218
|
# @option opts [String] :phone_hardware_id Filter by phone_hardwareId
|
3209
3219
|
# @option opts [String] :lines_id Filter by lines.id
|
3210
3220
|
# @option opts [String] :lines_name Filter by lines.name
|
@@ -3227,6 +3237,7 @@ module PureCloud
|
|
3227
3237
|
# @option opts [String] :web_rtc_user_id Filter by webRtcUser.id
|
3228
3238
|
# @option opts [String] :phone_base_settings_id Filter by phoneBaseSettings.id
|
3229
3239
|
# @option opts [String] :lines_logged_in_user_id Filter by lines.loggedInUser.id
|
3240
|
+
# @option opts [String] :lines_default_for_user_id Filter by lines.defaultForUser.id
|
3230
3241
|
# @option opts [String] :phone_hardware_id Filter by phone_hardwareId
|
3231
3242
|
# @option opts [String] :lines_id Filter by lines.id
|
3232
3243
|
# @option opts [String] :lines_name Filter by lines.name
|
@@ -3251,6 +3262,7 @@ module PureCloud
|
|
3251
3262
|
query_params[:'webRtcUser.id'] = opts[:'web_rtc_user_id'] if opts[:'web_rtc_user_id']
|
3252
3263
|
query_params[:'phoneBaseSettings.id'] = opts[:'phone_base_settings_id'] if opts[:'phone_base_settings_id']
|
3253
3264
|
query_params[:'lines.loggedInUser.id'] = opts[:'lines_logged_in_user_id'] if opts[:'lines_logged_in_user_id']
|
3265
|
+
query_params[:'lines.defaultForUser.id'] = opts[:'lines_default_for_user_id'] if opts[:'lines_default_for_user_id']
|
3254
3266
|
query_params[:'phone_hardwareId'] = opts[:'phone_hardware_id'] if opts[:'phone_hardware_id']
|
3255
3267
|
query_params[:'lines.id'] = opts[:'lines_id'] if opts[:'lines_id']
|
3256
3268
|
query_params[:'lines.name'] = opts[:'lines_name'] if opts[:'lines_name']
|
@@ -702,6 +702,7 @@ module PureCloud
|
|
702
702
|
# @param [Hash] opts the optional parameters
|
703
703
|
# @option opts [Integer] :page_size Page size (default to 25)
|
704
704
|
# @option opts [Integer] :page_number Page number (default to 1)
|
705
|
+
# @option opts [BOOLEAN] :joined Is joined to the queue (default to true)
|
705
706
|
# @return [UserQueueEntityListing]
|
706
707
|
def get_user_id_queues(user_id, opts = {})
|
707
708
|
data, status_code, headers = get_user_id_queues_with_http_info(user_id, opts)
|
@@ -714,6 +715,7 @@ module PureCloud
|
|
714
715
|
# @param [Hash] opts the optional parameters
|
715
716
|
# @option opts [Integer] :page_size Page size
|
716
717
|
# @option opts [Integer] :page_number Page number
|
718
|
+
# @option opts [BOOLEAN] :joined Is joined to the queue
|
717
719
|
# @return [Array<(UserQueueEntityListing, Fixnum, Hash)>] UserQueueEntityListing data, response status code and response headers
|
718
720
|
def get_user_id_queues_with_http_info(user_id, opts = {})
|
719
721
|
if @api_client.config.debugging
|
@@ -730,6 +732,7 @@ module PureCloud
|
|
730
732
|
query_params = {}
|
731
733
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
732
734
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
735
|
+
query_params[:'joined'] = opts[:'joined'] if opts[:'joined']
|
733
736
|
|
734
737
|
# header parameters
|
735
738
|
header_params = {}
|
data/lib/purecloud/api_client.rb
CHANGED
@@ -33,7 +33,7 @@ module PureCloud
|
|
33
33
|
|
34
34
|
def initialize(config = Configuration.default)
|
35
35
|
@config = config
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.50.1"
|
37
37
|
@default_headers = {
|
38
38
|
'Content-Type' => "application/json",
|
39
39
|
'User-Agent' => @user_agent
|