purecloud 0.31.1 → 0.32.1
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.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/conversations_api.rb +0 -453
- data/lib/purecloud/api/users_api.rb +3 -9
- data/lib/purecloud/models/address_listing.rb +17 -17
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
- data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact.rb +2 -0
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_listing.rb +17 -17
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_user.rb +3 -0
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/external_organization_listing.rb +17 -17
- data/lib/purecloud/models/fax_document.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
- data/lib/purecloud/models/json_node.rb +32 -32
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
- data/lib/purecloud/models/location_entity_listing.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/note_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/payment_method_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queues_entity_listing.rb +17 -17
- data/lib/purecloud/models/quote_listing.rb +17 -17
- data/lib/purecloud/models/relationship_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/service_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/template_entity_listing.rb +17 -17
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/user.rb +1 -0
- data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_me.rb +2 -13
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/users_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/lib/purecloud.rb +62 -62
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0039ddbe0f080b71084374f800c9b2ec284f9de
|
|
4
|
+
data.tar.gz: 98259557d8d4795b193f192ef7ecc7e59aca695f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba570310cc782df9249f14a4fb4650bb165d11b18062e040e3f8d23016d2a8c7a46245b5a986b35bf693481f12a2a04a04c02823ace5604f89a3858757013aaa
|
|
7
|
+
data.tar.gz: c58cab8ee0c468b5265a09216845feff0a9d7a8fefc50cf4580db9e625a2bedff00abdfb098824322fb2d3974aee1e50036aade6a36f01b2d2161fe1228a27d8
|
data/config-ruby.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"gemVersion":"0.
|
|
1
|
+
{"gemVersion":"0.32.1","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"https://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com"}
|
|
@@ -3127,459 +3127,6 @@ module PureCloud
|
|
|
3127
3127
|
return data, status_code, headers
|
|
3128
3128
|
end
|
|
3129
3129
|
|
|
3130
|
-
# Get recent video conversations
|
|
3131
|
-
#
|
|
3132
|
-
# @param [Hash] opts the optional parameters
|
|
3133
|
-
# @return [VideoConversationEntityListing]
|
|
3134
|
-
def get_videos(opts = {})
|
|
3135
|
-
data, status_code, headers = get_videos_with_http_info(opts)
|
|
3136
|
-
return data
|
|
3137
|
-
end
|
|
3138
|
-
|
|
3139
|
-
# Get recent video conversations
|
|
3140
|
-
#
|
|
3141
|
-
# @param [Hash] opts the optional parameters
|
|
3142
|
-
# @return [Array<(VideoConversationEntityListing, Fixnum, Hash)>] VideoConversationEntityListing data, response status code and response headers
|
|
3143
|
-
def get_videos_with_http_info(opts = {})
|
|
3144
|
-
if @api_client.config.debugging
|
|
3145
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#get_videos ..."
|
|
3146
|
-
end
|
|
3147
|
-
|
|
3148
|
-
# resource path
|
|
3149
|
-
path = "/api/v2/conversations/videos".sub('{format}','json')
|
|
3150
|
-
|
|
3151
|
-
# query parameters
|
|
3152
|
-
query_params = {}
|
|
3153
|
-
|
|
3154
|
-
# header parameters
|
|
3155
|
-
header_params = {}
|
|
3156
|
-
|
|
3157
|
-
# HTTP header 'Accept' (if needed)
|
|
3158
|
-
_header_accept = ['application/json']
|
|
3159
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3160
|
-
|
|
3161
|
-
# HTTP header 'Content-Type'
|
|
3162
|
-
_header_content_type = ['application/json']
|
|
3163
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3164
|
-
|
|
3165
|
-
# form parameters
|
|
3166
|
-
form_params = {}
|
|
3167
|
-
|
|
3168
|
-
# http body (model)
|
|
3169
|
-
post_body = nil
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
auth_names = ['PureCloud Auth']
|
|
3173
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
3174
|
-
:header_params => header_params,
|
|
3175
|
-
:query_params => query_params,
|
|
3176
|
-
:form_params => form_params,
|
|
3177
|
-
:body => post_body,
|
|
3178
|
-
:auth_names => auth_names,
|
|
3179
|
-
:return_type => 'VideoConversationEntityListing')
|
|
3180
|
-
if @api_client.config.debugging
|
|
3181
|
-
@api_client.config.logger.debug "API called: ConversationsApi#get_videos\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3182
|
-
end
|
|
3183
|
-
return data, status_code, headers
|
|
3184
|
-
end
|
|
3185
|
-
|
|
3186
|
-
# Get video conversation
|
|
3187
|
-
#
|
|
3188
|
-
# @param video_id
|
|
3189
|
-
# @param [Hash] opts the optional parameters
|
|
3190
|
-
# @return [VideoConversation]
|
|
3191
|
-
def get_videos_video_id(video_id, opts = {})
|
|
3192
|
-
data, status_code, headers = get_videos_video_id_with_http_info(video_id, opts)
|
|
3193
|
-
return data
|
|
3194
|
-
end
|
|
3195
|
-
|
|
3196
|
-
# Get video conversation
|
|
3197
|
-
#
|
|
3198
|
-
# @param video_id
|
|
3199
|
-
# @param [Hash] opts the optional parameters
|
|
3200
|
-
# @return [Array<(VideoConversation, Fixnum, Hash)>] VideoConversation data, response status code and response headers
|
|
3201
|
-
def get_videos_video_id_with_http_info(video_id, opts = {})
|
|
3202
|
-
if @api_client.config.debugging
|
|
3203
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#get_videos_video_id ..."
|
|
3204
|
-
end
|
|
3205
|
-
|
|
3206
|
-
# verify the required parameter 'video_id' is set
|
|
3207
|
-
fail "Missing the required parameter 'video_id' when calling get_videos_video_id" if video_id.nil?
|
|
3208
|
-
|
|
3209
|
-
# resource path
|
|
3210
|
-
path = "/api/v2/conversations/videos/{videoId}".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s)
|
|
3211
|
-
|
|
3212
|
-
# query parameters
|
|
3213
|
-
query_params = {}
|
|
3214
|
-
|
|
3215
|
-
# header parameters
|
|
3216
|
-
header_params = {}
|
|
3217
|
-
|
|
3218
|
-
# HTTP header 'Accept' (if needed)
|
|
3219
|
-
_header_accept = ['application/json']
|
|
3220
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3221
|
-
|
|
3222
|
-
# HTTP header 'Content-Type'
|
|
3223
|
-
_header_content_type = ['application/json']
|
|
3224
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3225
|
-
|
|
3226
|
-
# form parameters
|
|
3227
|
-
form_params = {}
|
|
3228
|
-
|
|
3229
|
-
# http body (model)
|
|
3230
|
-
post_body = nil
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
auth_names = ['PureCloud Auth']
|
|
3234
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
3235
|
-
:header_params => header_params,
|
|
3236
|
-
:query_params => query_params,
|
|
3237
|
-
:form_params => form_params,
|
|
3238
|
-
:body => post_body,
|
|
3239
|
-
:auth_names => auth_names,
|
|
3240
|
-
:return_type => 'VideoConversation')
|
|
3241
|
-
if @api_client.config.debugging
|
|
3242
|
-
@api_client.config.logger.debug "API called: ConversationsApi#get_videos_video_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3243
|
-
end
|
|
3244
|
-
return data, status_code, headers
|
|
3245
|
-
end
|
|
3246
|
-
|
|
3247
|
-
# Update conversation participant
|
|
3248
|
-
#
|
|
3249
|
-
# @param video_id
|
|
3250
|
-
# @param participant_id
|
|
3251
|
-
# @param [Hash] opts the optional parameters
|
|
3252
|
-
# @option opts [MediaParticipantRequest] :body
|
|
3253
|
-
# @return [nil]
|
|
3254
|
-
def patch_videos_video_id_participants_participant_id(video_id, participant_id, opts = {})
|
|
3255
|
-
patch_videos_video_id_participants_participant_id_with_http_info(video_id, participant_id, opts)
|
|
3256
|
-
return nil
|
|
3257
|
-
end
|
|
3258
|
-
|
|
3259
|
-
# Update conversation participant
|
|
3260
|
-
#
|
|
3261
|
-
# @param video_id
|
|
3262
|
-
# @param participant_id
|
|
3263
|
-
# @param [Hash] opts the optional parameters
|
|
3264
|
-
# @option opts [MediaParticipantRequest] :body
|
|
3265
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3266
|
-
def patch_videos_video_id_participants_participant_id_with_http_info(video_id, participant_id, opts = {})
|
|
3267
|
-
if @api_client.config.debugging
|
|
3268
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_videos_video_id_participants_participant_id ..."
|
|
3269
|
-
end
|
|
3270
|
-
|
|
3271
|
-
# verify the required parameter 'video_id' is set
|
|
3272
|
-
fail "Missing the required parameter 'video_id' when calling patch_videos_video_id_participants_participant_id" if video_id.nil?
|
|
3273
|
-
|
|
3274
|
-
# verify the required parameter 'participant_id' is set
|
|
3275
|
-
fail "Missing the required parameter 'participant_id' when calling patch_videos_video_id_participants_participant_id" if participant_id.nil?
|
|
3276
|
-
|
|
3277
|
-
# resource path
|
|
3278
|
-
path = "/api/v2/conversations/videos/{videoId}/participants/{participantId}".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3279
|
-
|
|
3280
|
-
# query parameters
|
|
3281
|
-
query_params = {}
|
|
3282
|
-
|
|
3283
|
-
# header parameters
|
|
3284
|
-
header_params = {}
|
|
3285
|
-
|
|
3286
|
-
# HTTP header 'Accept' (if needed)
|
|
3287
|
-
_header_accept = ['application/json']
|
|
3288
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3289
|
-
|
|
3290
|
-
# HTTP header 'Content-Type'
|
|
3291
|
-
_header_content_type = ['application/json']
|
|
3292
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3293
|
-
|
|
3294
|
-
# form parameters
|
|
3295
|
-
form_params = {}
|
|
3296
|
-
|
|
3297
|
-
# http body (model)
|
|
3298
|
-
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
auth_names = ['PureCloud Auth']
|
|
3302
|
-
data, status_code, headers = @api_client.call_api(:PATCH, path,
|
|
3303
|
-
:header_params => header_params,
|
|
3304
|
-
:query_params => query_params,
|
|
3305
|
-
:form_params => form_params,
|
|
3306
|
-
:body => post_body,
|
|
3307
|
-
:auth_names => auth_names)
|
|
3308
|
-
if @api_client.config.debugging
|
|
3309
|
-
@api_client.config.logger.debug "API called: ConversationsApi#patch_videos_video_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3310
|
-
end
|
|
3311
|
-
return data, status_code, headers
|
|
3312
|
-
end
|
|
3313
|
-
|
|
3314
|
-
# Update the attributes on a conversation participant.
|
|
3315
|
-
#
|
|
3316
|
-
# @param video_id
|
|
3317
|
-
# @param participant_id
|
|
3318
|
-
# @param [Hash] opts the optional parameters
|
|
3319
|
-
# @option opts [ParticipantAttributes] :body
|
|
3320
|
-
# @return [nil]
|
|
3321
|
-
def patch_videos_video_id_participants_participant_id_attributes(video_id, participant_id, opts = {})
|
|
3322
|
-
patch_videos_video_id_participants_participant_id_attributes_with_http_info(video_id, participant_id, opts)
|
|
3323
|
-
return nil
|
|
3324
|
-
end
|
|
3325
|
-
|
|
3326
|
-
# Update the attributes on a conversation participant.
|
|
3327
|
-
#
|
|
3328
|
-
# @param video_id
|
|
3329
|
-
# @param participant_id
|
|
3330
|
-
# @param [Hash] opts the optional parameters
|
|
3331
|
-
# @option opts [ParticipantAttributes] :body
|
|
3332
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3333
|
-
def patch_videos_video_id_participants_participant_id_attributes_with_http_info(video_id, participant_id, opts = {})
|
|
3334
|
-
if @api_client.config.debugging
|
|
3335
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#patch_videos_video_id_participants_participant_id_attributes ..."
|
|
3336
|
-
end
|
|
3337
|
-
|
|
3338
|
-
# verify the required parameter 'video_id' is set
|
|
3339
|
-
fail "Missing the required parameter 'video_id' when calling patch_videos_video_id_participants_participant_id_attributes" if video_id.nil?
|
|
3340
|
-
|
|
3341
|
-
# verify the required parameter 'participant_id' is set
|
|
3342
|
-
fail "Missing the required parameter 'participant_id' when calling patch_videos_video_id_participants_participant_id_attributes" if participant_id.nil?
|
|
3343
|
-
|
|
3344
|
-
# resource path
|
|
3345
|
-
path = "/api/v2/conversations/videos/{videoId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3346
|
-
|
|
3347
|
-
# query parameters
|
|
3348
|
-
query_params = {}
|
|
3349
|
-
|
|
3350
|
-
# header parameters
|
|
3351
|
-
header_params = {}
|
|
3352
|
-
|
|
3353
|
-
# HTTP header 'Accept' (if needed)
|
|
3354
|
-
_header_accept = ['application/json']
|
|
3355
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3356
|
-
|
|
3357
|
-
# HTTP header 'Content-Type'
|
|
3358
|
-
_header_content_type = ['application/json']
|
|
3359
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3360
|
-
|
|
3361
|
-
# form parameters
|
|
3362
|
-
form_params = {}
|
|
3363
|
-
|
|
3364
|
-
# http body (model)
|
|
3365
|
-
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
auth_names = ['PureCloud Auth']
|
|
3369
|
-
data, status_code, headers = @api_client.call_api(:PATCH, path,
|
|
3370
|
-
:header_params => header_params,
|
|
3371
|
-
:query_params => query_params,
|
|
3372
|
-
:form_params => form_params,
|
|
3373
|
-
:body => post_body,
|
|
3374
|
-
:auth_names => auth_names)
|
|
3375
|
-
if @api_client.config.debugging
|
|
3376
|
-
@api_client.config.logger.debug "API called: ConversationsApi#patch_videos_video_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3377
|
-
end
|
|
3378
|
-
return data, status_code, headers
|
|
3379
|
-
end
|
|
3380
|
-
|
|
3381
|
-
# Replace this participant with the specified user and/or address
|
|
3382
|
-
#
|
|
3383
|
-
# @param video_id
|
|
3384
|
-
# @param participant_id
|
|
3385
|
-
# @param [Hash] opts the optional parameters
|
|
3386
|
-
# @option opts [TransferRequest] :body
|
|
3387
|
-
# @return [nil]
|
|
3388
|
-
def post_videos_video_id_participants_participant_id_replace(video_id, participant_id, opts = {})
|
|
3389
|
-
post_videos_video_id_participants_participant_id_replace_with_http_info(video_id, participant_id, opts)
|
|
3390
|
-
return nil
|
|
3391
|
-
end
|
|
3392
|
-
|
|
3393
|
-
# Replace this participant with the specified user and/or address
|
|
3394
|
-
#
|
|
3395
|
-
# @param video_id
|
|
3396
|
-
# @param participant_id
|
|
3397
|
-
# @param [Hash] opts the optional parameters
|
|
3398
|
-
# @option opts [TransferRequest] :body
|
|
3399
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3400
|
-
def post_videos_video_id_participants_participant_id_replace_with_http_info(video_id, participant_id, opts = {})
|
|
3401
|
-
if @api_client.config.debugging
|
|
3402
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#post_videos_video_id_participants_participant_id_replace ..."
|
|
3403
|
-
end
|
|
3404
|
-
|
|
3405
|
-
# verify the required parameter 'video_id' is set
|
|
3406
|
-
fail "Missing the required parameter 'video_id' when calling post_videos_video_id_participants_participant_id_replace" if video_id.nil?
|
|
3407
|
-
|
|
3408
|
-
# verify the required parameter 'participant_id' is set
|
|
3409
|
-
fail "Missing the required parameter 'participant_id' when calling post_videos_video_id_participants_participant_id_replace" if participant_id.nil?
|
|
3410
|
-
|
|
3411
|
-
# resource path
|
|
3412
|
-
path = "/api/v2/conversations/videos/{videoId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3413
|
-
|
|
3414
|
-
# query parameters
|
|
3415
|
-
query_params = {}
|
|
3416
|
-
|
|
3417
|
-
# header parameters
|
|
3418
|
-
header_params = {}
|
|
3419
|
-
|
|
3420
|
-
# HTTP header 'Accept' (if needed)
|
|
3421
|
-
_header_accept = ['application/json']
|
|
3422
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3423
|
-
|
|
3424
|
-
# HTTP header 'Content-Type'
|
|
3425
|
-
_header_content_type = ['application/json']
|
|
3426
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3427
|
-
|
|
3428
|
-
# form parameters
|
|
3429
|
-
form_params = {}
|
|
3430
|
-
|
|
3431
|
-
# http body (model)
|
|
3432
|
-
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
auth_names = ['PureCloud Auth']
|
|
3436
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
|
3437
|
-
:header_params => header_params,
|
|
3438
|
-
:query_params => query_params,
|
|
3439
|
-
:form_params => form_params,
|
|
3440
|
-
:body => post_body,
|
|
3441
|
-
:auth_names => auth_names)
|
|
3442
|
-
if @api_client.config.debugging
|
|
3443
|
-
@api_client.config.logger.debug "API called: ConversationsApi#post_videos_video_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3444
|
-
end
|
|
3445
|
-
return data, status_code, headers
|
|
3446
|
-
end
|
|
3447
|
-
|
|
3448
|
-
# Get the wrap-up for this conversation participant.
|
|
3449
|
-
#
|
|
3450
|
-
# @param video_id
|
|
3451
|
-
# @param participant_id
|
|
3452
|
-
# @param [Hash] opts the optional parameters
|
|
3453
|
-
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
3454
|
-
# @return [WrapupCode]
|
|
3455
|
-
def get_videos_video_id_participants_participant_id_wrapup(video_id, participant_id, opts = {})
|
|
3456
|
-
data, status_code, headers = get_videos_video_id_participants_participant_id_wrapup_with_http_info(video_id, participant_id, opts)
|
|
3457
|
-
return data
|
|
3458
|
-
end
|
|
3459
|
-
|
|
3460
|
-
# Get the wrap-up for this conversation participant.
|
|
3461
|
-
#
|
|
3462
|
-
# @param video_id
|
|
3463
|
-
# @param participant_id
|
|
3464
|
-
# @param [Hash] opts the optional parameters
|
|
3465
|
-
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
3466
|
-
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
3467
|
-
def get_videos_video_id_participants_participant_id_wrapup_with_http_info(video_id, participant_id, opts = {})
|
|
3468
|
-
if @api_client.config.debugging
|
|
3469
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#get_videos_video_id_participants_participant_id_wrapup ..."
|
|
3470
|
-
end
|
|
3471
|
-
|
|
3472
|
-
# verify the required parameter 'video_id' is set
|
|
3473
|
-
fail "Missing the required parameter 'video_id' when calling get_videos_video_id_participants_participant_id_wrapup" if video_id.nil?
|
|
3474
|
-
|
|
3475
|
-
# verify the required parameter 'participant_id' is set
|
|
3476
|
-
fail "Missing the required parameter 'participant_id' when calling get_videos_video_id_participants_participant_id_wrapup" if participant_id.nil?
|
|
3477
|
-
|
|
3478
|
-
# resource path
|
|
3479
|
-
path = "/api/v2/conversations/videos/{videoId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3480
|
-
|
|
3481
|
-
# query parameters
|
|
3482
|
-
query_params = {}
|
|
3483
|
-
query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
|
|
3484
|
-
|
|
3485
|
-
# header parameters
|
|
3486
|
-
header_params = {}
|
|
3487
|
-
|
|
3488
|
-
# HTTP header 'Accept' (if needed)
|
|
3489
|
-
_header_accept = ['application/json']
|
|
3490
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3491
|
-
|
|
3492
|
-
# HTTP header 'Content-Type'
|
|
3493
|
-
_header_content_type = ['application/json']
|
|
3494
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3495
|
-
|
|
3496
|
-
# form parameters
|
|
3497
|
-
form_params = {}
|
|
3498
|
-
|
|
3499
|
-
# http body (model)
|
|
3500
|
-
post_body = nil
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
auth_names = ['PureCloud Auth']
|
|
3504
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
3505
|
-
:header_params => header_params,
|
|
3506
|
-
:query_params => query_params,
|
|
3507
|
-
:form_params => form_params,
|
|
3508
|
-
:body => post_body,
|
|
3509
|
-
:auth_names => auth_names,
|
|
3510
|
-
:return_type => 'WrapupCode')
|
|
3511
|
-
if @api_client.config.debugging
|
|
3512
|
-
@api_client.config.logger.debug "API called: ConversationsApi#get_videos_video_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3513
|
-
end
|
|
3514
|
-
return data, status_code, headers
|
|
3515
|
-
end
|
|
3516
|
-
|
|
3517
|
-
# Get list of wrapup codes for this conversation participant
|
|
3518
|
-
#
|
|
3519
|
-
# @param video_id
|
|
3520
|
-
# @param participant_id
|
|
3521
|
-
# @param [Hash] opts the optional parameters
|
|
3522
|
-
# @return [WrapupCode]
|
|
3523
|
-
def get_videos_video_id_participants_participant_id_wrapupcodes(video_id, participant_id, opts = {})
|
|
3524
|
-
data, status_code, headers = get_videos_video_id_participants_participant_id_wrapupcodes_with_http_info(video_id, participant_id, opts)
|
|
3525
|
-
return data
|
|
3526
|
-
end
|
|
3527
|
-
|
|
3528
|
-
# Get list of wrapup codes for this conversation participant
|
|
3529
|
-
#
|
|
3530
|
-
# @param video_id
|
|
3531
|
-
# @param participant_id
|
|
3532
|
-
# @param [Hash] opts the optional parameters
|
|
3533
|
-
# @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
|
|
3534
|
-
def get_videos_video_id_participants_participant_id_wrapupcodes_with_http_info(video_id, participant_id, opts = {})
|
|
3535
|
-
if @api_client.config.debugging
|
|
3536
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#get_videos_video_id_participants_participant_id_wrapupcodes ..."
|
|
3537
|
-
end
|
|
3538
|
-
|
|
3539
|
-
# verify the required parameter 'video_id' is set
|
|
3540
|
-
fail "Missing the required parameter 'video_id' when calling get_videos_video_id_participants_participant_id_wrapupcodes" if video_id.nil?
|
|
3541
|
-
|
|
3542
|
-
# verify the required parameter 'participant_id' is set
|
|
3543
|
-
fail "Missing the required parameter 'participant_id' when calling get_videos_video_id_participants_participant_id_wrapupcodes" if participant_id.nil?
|
|
3544
|
-
|
|
3545
|
-
# resource path
|
|
3546
|
-
path = "/api/v2/conversations/videos/{videoId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'videoId' + '}', video_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3547
|
-
|
|
3548
|
-
# query parameters
|
|
3549
|
-
query_params = {}
|
|
3550
|
-
|
|
3551
|
-
# header parameters
|
|
3552
|
-
header_params = {}
|
|
3553
|
-
|
|
3554
|
-
# HTTP header 'Accept' (if needed)
|
|
3555
|
-
_header_accept = ['application/json']
|
|
3556
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
3557
|
-
|
|
3558
|
-
# HTTP header 'Content-Type'
|
|
3559
|
-
_header_content_type = ['application/json']
|
|
3560
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
3561
|
-
|
|
3562
|
-
# form parameters
|
|
3563
|
-
form_params = {}
|
|
3564
|
-
|
|
3565
|
-
# http body (model)
|
|
3566
|
-
post_body = nil
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
auth_names = ['PureCloud Auth']
|
|
3570
|
-
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
3571
|
-
:header_params => header_params,
|
|
3572
|
-
:query_params => query_params,
|
|
3573
|
-
:form_params => form_params,
|
|
3574
|
-
:body => post_body,
|
|
3575
|
-
:auth_names => auth_names,
|
|
3576
|
-
:return_type => 'WrapupCode')
|
|
3577
|
-
if @api_client.config.debugging
|
|
3578
|
-
@api_client.config.logger.debug "API called: ConversationsApi#get_videos_video_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3579
|
-
end
|
|
3580
|
-
return data, status_code, headers
|
|
3581
|
-
end
|
|
3582
|
-
|
|
3583
3130
|
# Get conversation
|
|
3584
3131
|
#
|
|
3585
3132
|
# @param conversation_id conversation ID
|
|
@@ -259,35 +259,29 @@ module PureCloud
|
|
|
259
259
|
|
|
260
260
|
# Get user.
|
|
261
261
|
#
|
|
262
|
-
# @param feature The feature toggles to query.
|
|
263
262
|
# @param [Hash] opts the optional parameters
|
|
264
263
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
265
264
|
# @return [UserMe]
|
|
266
|
-
def get_me(
|
|
267
|
-
data, status_code, headers = get_me_with_http_info(
|
|
265
|
+
def get_me(opts = {})
|
|
266
|
+
data, status_code, headers = get_me_with_http_info(opts)
|
|
268
267
|
return data
|
|
269
268
|
end
|
|
270
269
|
|
|
271
270
|
# Get user.
|
|
272
271
|
#
|
|
273
|
-
# @param feature The feature toggles to query.
|
|
274
272
|
# @param [Hash] opts the optional parameters
|
|
275
273
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
276
274
|
# @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
|
|
277
|
-
def get_me_with_http_info(
|
|
275
|
+
def get_me_with_http_info(opts = {})
|
|
278
276
|
if @api_client.config.debugging
|
|
279
277
|
@api_client.config.logger.debug "Calling API: UsersApi#get_me ..."
|
|
280
278
|
end
|
|
281
279
|
|
|
282
|
-
# verify the required parameter 'feature' is set
|
|
283
|
-
fail "Missing the required parameter 'feature' when calling get_me" if feature.nil?
|
|
284
|
-
|
|
285
280
|
# resource path
|
|
286
281
|
path = "/api/v2/users/me".sub('{format}','json')
|
|
287
282
|
|
|
288
283
|
# query parameters
|
|
289
284
|
query_params = {}
|
|
290
|
-
query_params[:'feature'] = @api_client.build_collection_param(feature, :multi)
|
|
291
285
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
292
286
|
|
|
293
287
|
# header parameters
|
|
@@ -12,14 +12,14 @@ module PureCloud
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :self_uri
|
|
14
14
|
|
|
15
|
-
attr_accessor :previous_uri
|
|
16
|
-
|
|
17
15
|
attr_accessor :first_uri
|
|
18
16
|
|
|
19
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :previous_uri
|
|
20
18
|
|
|
21
19
|
attr_accessor :next_uri
|
|
22
20
|
|
|
21
|
+
attr_accessor :last_uri
|
|
22
|
+
|
|
23
23
|
attr_accessor :page_count
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,14 +36,14 @@ module PureCloud
|
|
|
36
36
|
|
|
37
37
|
:'self_uri' => :'selfUri',
|
|
38
38
|
|
|
39
|
-
:'previous_uri' => :'previousUri',
|
|
40
|
-
|
|
41
39
|
:'first_uri' => :'firstUri',
|
|
42
40
|
|
|
43
|
-
:'
|
|
41
|
+
:'previous_uri' => :'previousUri',
|
|
44
42
|
|
|
45
43
|
:'next_uri' => :'nextUri',
|
|
46
44
|
|
|
45
|
+
:'last_uri' => :'lastUri',
|
|
46
|
+
|
|
47
47
|
:'page_count' => :'pageCount'
|
|
48
48
|
|
|
49
49
|
}
|
|
@@ -57,10 +57,10 @@ module PureCloud
|
|
|
57
57
|
:'total' => :'Integer',
|
|
58
58
|
:'entities' => :'Array<BillingAddress>',
|
|
59
59
|
:'self_uri' => :'String',
|
|
60
|
-
:'previous_uri' => :'String',
|
|
61
60
|
:'first_uri' => :'String',
|
|
62
|
-
:'
|
|
61
|
+
:'previous_uri' => :'String',
|
|
63
62
|
:'next_uri' => :'String',
|
|
63
|
+
:'last_uri' => :'String',
|
|
64
64
|
:'page_count' => :'Integer'
|
|
65
65
|
|
|
66
66
|
}
|
|
@@ -95,22 +95,22 @@ module PureCloud
|
|
|
95
95
|
self.self_uri = attributes[:'selfUri']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
if attributes[:'previousUri']
|
|
99
|
-
self.previous_uri = attributes[:'previousUri']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
98
|
if attributes[:'firstUri']
|
|
103
99
|
self.first_uri = attributes[:'firstUri']
|
|
104
100
|
end
|
|
105
101
|
|
|
106
|
-
if attributes[:'
|
|
107
|
-
self.
|
|
102
|
+
if attributes[:'previousUri']
|
|
103
|
+
self.previous_uri = attributes[:'previousUri']
|
|
108
104
|
end
|
|
109
105
|
|
|
110
106
|
if attributes[:'nextUri']
|
|
111
107
|
self.next_uri = attributes[:'nextUri']
|
|
112
108
|
end
|
|
113
109
|
|
|
110
|
+
if attributes[:'lastUri']
|
|
111
|
+
self.last_uri = attributes[:'lastUri']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
114
|
if attributes[:'pageCount']
|
|
115
115
|
self.page_count = attributes[:'pageCount']
|
|
116
116
|
end
|
|
@@ -126,10 +126,10 @@ module PureCloud
|
|
|
126
126
|
total == o.total &&
|
|
127
127
|
entities == o.entities &&
|
|
128
128
|
self_uri == o.self_uri &&
|
|
129
|
-
previous_uri == o.previous_uri &&
|
|
130
129
|
first_uri == o.first_uri &&
|
|
131
|
-
|
|
130
|
+
previous_uri == o.previous_uri &&
|
|
132
131
|
next_uri == o.next_uri &&
|
|
132
|
+
last_uri == o.last_uri &&
|
|
133
133
|
page_count == o.page_count
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -140,7 +140,7 @@ module PureCloud
|
|
|
140
140
|
|
|
141
141
|
# Calculate hash code according to all attributes.
|
|
142
142
|
def hash
|
|
143
|
-
[page_size, page_number, total, entities, self_uri, previous_uri,
|
|
143
|
+
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# build the object from hash
|