purecloud 0.18.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +2 -2
  4. data/README.md +1 -7
  5. data/config-ruby.json +1 -1
  6. data/extensions/auth.rb +2 -2
  7. data/lib/purecloud.rb +110 -75
  8. data/lib/purecloud/api/architect_api.rb +3127 -74
  9. data/lib/purecloud/api/attributes_api.rb +33 -33
  10. data/lib/purecloud/api/authorization_api.rb +83 -83
  11. data/lib/purecloud/api/compliance_api.rb +5 -5
  12. data/lib/purecloud/api/configuration_api.rb +594 -397
  13. data/lib/purecloud/api/content_management_api.rb +183 -183
  14. data/lib/purecloud/api/conversations_api.rb +289 -159
  15. data/lib/purecloud/api/downloads_api.rb +6 -6
  16. data/lib/purecloud/api/external_contacts_api.rb +1693 -0
  17. data/lib/purecloud/api/fax_api.rb +24 -24
  18. data/lib/purecloud/api/geolocation_api.rb +14 -14
  19. data/lib/purecloud/api/greetings_api.rb +68 -68
  20. data/lib/purecloud/api/groups_api.rb +31 -20
  21. data/lib/purecloud/api/languages_api.rb +18 -11
  22. data/lib/purecloud/api/licensing_api.rb +5 -5
  23. data/lib/purecloud/api/locations_api.rb +11 -11
  24. data/lib/purecloud/api/notifications_api.rb +41 -41
  25. data/lib/purecloud/api/o_auth_api.rb +69 -69
  26. data/lib/purecloud/api/outbound_api.rb +505 -325
  27. data/lib/purecloud/api/presence_api.rb +65 -65
  28. data/lib/purecloud/api/quality_api.rb +66 -639
  29. data/lib/purecloud/api/recording_api.rb +1343 -0
  30. data/lib/purecloud/api/response_management_api.rb +687 -0
  31. data/lib/purecloud/api/routing_api.rb +224 -170
  32. data/lib/purecloud/api/scripts_api.rb +52 -52
  33. data/lib/purecloud/api/search_api.rb +5 -5
  34. data/lib/purecloud/api/stations_api.rb +8 -8
  35. data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
  36. data/lib/purecloud/api/user_recordings_api.rb +29 -29
  37. data/lib/purecloud/api/users_api.rb +123 -123
  38. data/lib/purecloud/api/utilities_api.rb +71 -15
  39. data/lib/purecloud/api/voicemail_api.rb +42 -42
  40. data/lib/purecloud/api_client.rb +1 -1
  41. data/lib/purecloud/models/address.rb +49 -51
  42. data/lib/purecloud/models/attribute_filter_item.rb +177 -0
  43. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
  44. data/lib/purecloud/models/available_additional_service.rb +40 -1
  45. data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
  46. data/lib/purecloud/models/call.rb +36 -5
  47. data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
  48. data/lib/purecloud/models/callback.rb +15 -4
  49. data/lib/purecloud/models/campaign.rb +219 -17
  50. data/lib/purecloud/models/campaign_progress.rb +186 -0
  51. data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
  52. data/lib/purecloud/models/charge.rb +14 -4
  53. data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
  54. data/lib/purecloud/models/contact.rb +1 -1
  55. data/lib/purecloud/models/contact_list.rb +111 -1
  56. data/lib/purecloud/models/contact_listing.rb +238 -0
  57. data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
  58. data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
  59. data/lib/purecloud/models/content_query_request.rb +16 -4
  60. data/lib/purecloud/models/control.rb +221 -0
  61. data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
  62. data/lib/purecloud/models/create_callback_command.rb +200 -0
  63. data/lib/purecloud/models/discount.rb +220 -0
  64. data/lib/purecloud/models/document.rb +13 -1
  65. data/lib/purecloud/models/document_attribute.rb +158 -0
  66. data/lib/purecloud/models/document_update.rb +28 -16
  67. data/lib/purecloud/models/document_upload.rb +4 -16
  68. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
  69. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
  70. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
  71. data/lib/purecloud/models/edge_line.rb +1 -1
  72. data/lib/purecloud/models/edge_logs_job.rb +181 -0
  73. data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
  74. data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
  75. data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
  76. data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
  77. data/lib/purecloud/models/email.rb +15 -4
  78. data/lib/purecloud/models/endpoint.rb +1 -1
  79. data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
  80. data/lib/purecloud/models/external_contact.rb +320 -0
  81. data/lib/purecloud/models/external_organization.rb +306 -0
  82. data/lib/purecloud/models/external_organization_listing.rb +238 -0
  83. data/lib/purecloud/models/facet_filter_item.rb +1 -1
  84. data/lib/purecloud/models/flow_body.rb +1 -1
  85. data/lib/purecloud/models/flow_body_format.rb +10 -20
  86. data/lib/purecloud/models/flow_terminate_request.rb +3 -16
  87. data/lib/purecloud/models/form.rb +148 -0
  88. data/lib/purecloud/models/group.rb +11 -1
  89. data/lib/purecloud/models/health_check_info.rb +268 -0
  90. data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
  91. data/lib/purecloud/models/integration_type.rb +209 -0
  92. data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
  93. data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
  94. data/lib/purecloud/models/language.rb +41 -1
  95. data/lib/purecloud/models/line.rb +1 -1
  96. data/lib/purecloud/models/line_base.rb +1 -1
  97. data/lib/purecloud/models/media_policies.rb +169 -0
  98. data/lib/purecloud/models/media_policy.rb +171 -0
  99. data/lib/purecloud/models/note.rb +200 -0
  100. data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
  101. data/lib/purecloud/models/o_auth_client.rb +1 -1
  102. data/lib/purecloud/models/page.rb +2 -2
  103. data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
  104. data/lib/purecloud/models/payment_method_listing.rb +238 -0
  105. data/lib/purecloud/models/payment_token_provider.rb +180 -0
  106. data/lib/purecloud/models/phone.rb +1 -1
  107. data/lib/purecloud/models/phone_base.rb +1 -1
  108. data/lib/purecloud/models/phone_number.rb +198 -0
  109. data/lib/purecloud/models/phones_reboot.rb +14 -4
  110. data/lib/purecloud/models/policy.rb +14 -1
  111. data/lib/purecloud/models/prediction_results.rb +167 -0
  112. data/lib/purecloud/models/query_request.rb +16 -4
  113. data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
  114. data/lib/purecloud/models/quote.rb +13 -1
  115. data/lib/purecloud/models/recording_settings.rb +146 -0
  116. data/lib/purecloud/models/relationship.rb +201 -0
  117. data/lib/purecloud/models/relationship_listing.rb +238 -0
  118. data/lib/purecloud/models/report_schedule.rb +3 -2
  119. data/lib/purecloud/models/service_type.rb +12 -1
  120. data/lib/purecloud/models/social_expression.rb +25 -4
  121. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
  122. data/lib/purecloud/models/template.rb +1 -1
  123. data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
  124. data/lib/purecloud/models/ticker.rb +158 -0
  125. data/lib/purecloud/models/time_slot.rb +1 -0
  126. data/lib/purecloud/models/trunk_base.rb +1 -1
  127. data/lib/purecloud/models/vendor_connection_request.rb +166 -0
  128. data/lib/purecloud/models/video.rb +15 -4
  129. data/lib/purecloud/models/work_item_definition.rb +8 -10
  130. data/lib/purecloud/version.rb +1 -1
  131. data/ossindex.json +17 -0
  132. data/purecloud.gemspec +4 -3
  133. data/rakefile +3 -15
  134. data/spec/test.rb +6 -3
  135. data/swagger.json +1 -1
  136. data/swagger_template/api_client.mustache +304 -0
  137. data/swagger_template/base_object.mustache +90 -0
  138. data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
  139. data/version.json +1 -1
  140. metadata +76 -25
  141. data/lib/purecloud/api/analytics_api.rb +0 -1554
  142. data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
  143. data/newVersion.md +0 -1
@@ -14,8 +14,8 @@ module PureCloud
14
14
  # @option opts [Integer] :page_number Page number
15
15
  # @option opts [Integer] :page_size Page size
16
16
  # @return [OrganizationPresenceEntityListing]
17
- def get(opts = {})
18
- data, status_code, headers = get_with_http_info(opts)
17
+ def get_presencedefinitions(opts = {})
18
+ data, status_code, headers = get_presencedefinitions_with_http_info(opts)
19
19
  return data
20
20
  end
21
21
 
@@ -25,9 +25,9 @@ module PureCloud
25
25
  # @option opts [Integer] :page_number Page number
26
26
  # @option opts [Integer] :page_size Page size
27
27
  # @return [Array<(OrganizationPresenceEntityListing, Fixnum, Hash)>] OrganizationPresenceEntityListing data, response status code and response headers
28
- def get_with_http_info(opts = {})
28
+ def get_presencedefinitions_with_http_info(opts = {})
29
29
  if @api_client.config.debugging
30
- @api_client.config.logger.debug "Calling API: PresenceApi#get ..."
30
+ @api_client.config.logger.debug "Calling API: PresenceApi#get_presencedefinitions ..."
31
31
  end
32
32
 
33
33
  # resource path
@@ -65,7 +65,7 @@ module PureCloud
65
65
  :auth_names => auth_names,
66
66
  :return_type => 'OrganizationPresenceEntityListing')
67
67
  if @api_client.config.debugging
68
- @api_client.config.logger.debug "API called: PresenceApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
68
+ @api_client.config.logger.debug "API called: PresenceApi#get_presencedefinitions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
69
69
  end
70
70
  return data, status_code, headers
71
71
  end
@@ -75,8 +75,8 @@ module PureCloud
75
75
  # @param body The OrganizationPresence to create
76
76
  # @param [Hash] opts the optional parameters
77
77
  # @return [OrganizationPresence]
78
- def create(body, opts = {})
79
- data, status_code, headers = create_with_http_info(body, opts)
78
+ def post_presencedefinitions(body, opts = {})
79
+ data, status_code, headers = post_presencedefinitions_with_http_info(body, opts)
80
80
  return data
81
81
  end
82
82
 
@@ -85,13 +85,13 @@ module PureCloud
85
85
  # @param body The OrganizationPresence to create
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
88
- def create_with_http_info(body, opts = {})
88
+ def post_presencedefinitions_with_http_info(body, opts = {})
89
89
  if @api_client.config.debugging
90
- @api_client.config.logger.debug "Calling API: PresenceApi#create ..."
90
+ @api_client.config.logger.debug "Calling API: PresenceApi#post_presencedefinitions ..."
91
91
  end
92
92
 
93
93
  # verify the required parameter 'body' is set
94
- fail "Missing the required parameter 'body' when calling create" if body.nil?
94
+ fail "Missing the required parameter 'body' when calling post_presencedefinitions" if body.nil?
95
95
 
96
96
  # resource path
97
97
  path = "/api/v1/presencedefinitions".sub('{format}','json')
@@ -126,7 +126,7 @@ module PureCloud
126
126
  :auth_names => auth_names,
127
127
  :return_type => 'OrganizationPresence')
128
128
  if @api_client.config.debugging
129
- @api_client.config.logger.debug "API called: PresenceApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
+ @api_client.config.logger.debug "API called: PresenceApi#post_presencedefinitions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
130
  end
131
131
  return data, status_code, headers
132
132
  end
@@ -136,8 +136,8 @@ module PureCloud
136
136
  # @param presence_id Organization Presence ID
137
137
  # @param [Hash] opts the optional parameters
138
138
  # @return [OrganizationPresence]
139
- def get_presence(presence_id, opts = {})
140
- data, status_code, headers = get_presence_with_http_info(presence_id, opts)
139
+ def get_presence_id(presence_id, opts = {})
140
+ data, status_code, headers = get_presence_id_with_http_info(presence_id, opts)
141
141
  return data
142
142
  end
143
143
 
@@ -146,13 +146,13 @@ module PureCloud
146
146
  # @param presence_id Organization Presence ID
147
147
  # @param [Hash] opts the optional parameters
148
148
  # @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
149
- def get_presence_with_http_info(presence_id, opts = {})
149
+ def get_presence_id_with_http_info(presence_id, opts = {})
150
150
  if @api_client.config.debugging
151
- @api_client.config.logger.debug "Calling API: PresenceApi#get_presence ..."
151
+ @api_client.config.logger.debug "Calling API: PresenceApi#get_presence_id ..."
152
152
  end
153
153
 
154
154
  # verify the required parameter 'presence_id' is set
155
- fail "Missing the required parameter 'presence_id' when calling get_presence" if presence_id.nil?
155
+ fail "Missing the required parameter 'presence_id' when calling get_presence_id" if presence_id.nil?
156
156
 
157
157
  # resource path
158
158
  path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
@@ -187,7 +187,7 @@ module PureCloud
187
187
  :auth_names => auth_names,
188
188
  :return_type => 'OrganizationPresence')
189
189
  if @api_client.config.debugging
190
- @api_client.config.logger.debug "API called: PresenceApi#get_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
190
+ @api_client.config.logger.debug "API called: PresenceApi#get_presence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
191
191
  end
192
192
  return data, status_code, headers
193
193
  end
@@ -198,8 +198,8 @@ module PureCloud
198
198
  # @param body The OrganizationPresence to update
199
199
  # @param [Hash] opts the optional parameters
200
200
  # @return [OrganizationPresence]
201
- def update_presence(presence_id, body, opts = {})
202
- data, status_code, headers = update_presence_with_http_info(presence_id, body, opts)
201
+ def put_presence_id(presence_id, body, opts = {})
202
+ data, status_code, headers = put_presence_id_with_http_info(presence_id, body, opts)
203
203
  return data
204
204
  end
205
205
 
@@ -209,16 +209,16 @@ module PureCloud
209
209
  # @param body The OrganizationPresence to update
210
210
  # @param [Hash] opts the optional parameters
211
211
  # @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
212
- def update_presence_with_http_info(presence_id, body, opts = {})
212
+ def put_presence_id_with_http_info(presence_id, body, opts = {})
213
213
  if @api_client.config.debugging
214
- @api_client.config.logger.debug "Calling API: PresenceApi#update_presence ..."
214
+ @api_client.config.logger.debug "Calling API: PresenceApi#put_presence_id ..."
215
215
  end
216
216
 
217
217
  # verify the required parameter 'presence_id' is set
218
- fail "Missing the required parameter 'presence_id' when calling update_presence" if presence_id.nil?
218
+ fail "Missing the required parameter 'presence_id' when calling put_presence_id" if presence_id.nil?
219
219
 
220
220
  # verify the required parameter 'body' is set
221
- fail "Missing the required parameter 'body' when calling update_presence" if body.nil?
221
+ fail "Missing the required parameter 'body' when calling put_presence_id" if body.nil?
222
222
 
223
223
  # resource path
224
224
  path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
@@ -253,7 +253,7 @@ module PureCloud
253
253
  :auth_names => auth_names,
254
254
  :return_type => 'OrganizationPresence')
255
255
  if @api_client.config.debugging
256
- @api_client.config.logger.debug "API called: PresenceApi#update_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
+ @api_client.config.logger.debug "API called: PresenceApi#put_presence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
257
257
  end
258
258
  return data, status_code, headers
259
259
  end
@@ -263,8 +263,8 @@ module PureCloud
263
263
  # @param presence_id Organization Presence ID
264
264
  # @param [Hash] opts the optional parameters
265
265
  # @return [OrganizationPresence]
266
- def delete_presence(presence_id, opts = {})
267
- data, status_code, headers = delete_presence_with_http_info(presence_id, opts)
266
+ def delete_presence_id(presence_id, opts = {})
267
+ data, status_code, headers = delete_presence_id_with_http_info(presence_id, opts)
268
268
  return data
269
269
  end
270
270
 
@@ -273,13 +273,13 @@ module PureCloud
273
273
  # @param presence_id Organization Presence ID
274
274
  # @param [Hash] opts the optional parameters
275
275
  # @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
276
- def delete_presence_with_http_info(presence_id, opts = {})
276
+ def delete_presence_id_with_http_info(presence_id, opts = {})
277
277
  if @api_client.config.debugging
278
- @api_client.config.logger.debug "Calling API: PresenceApi#delete_presence ..."
278
+ @api_client.config.logger.debug "Calling API: PresenceApi#delete_presence_id ..."
279
279
  end
280
280
 
281
281
  # verify the required parameter 'presence_id' is set
282
- fail "Missing the required parameter 'presence_id' when calling delete_presence" if presence_id.nil?
282
+ fail "Missing the required parameter 'presence_id' when calling delete_presence_id" if presence_id.nil?
283
283
 
284
284
  # resource path
285
285
  path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
@@ -314,7 +314,7 @@ module PureCloud
314
314
  :auth_names => auth_names,
315
315
  :return_type => 'OrganizationPresence')
316
316
  if @api_client.config.debugging
317
- @api_client.config.logger.debug "API called: PresenceApi#delete_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
+ @api_client.config.logger.debug "API called: PresenceApi#delete_presence_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
318
318
  end
319
319
  return data, status_code, headers
320
320
  end
@@ -326,8 +326,8 @@ module PureCloud
326
326
  # @option opts [Integer] :page_number Page number
327
327
  # @option opts [Integer] :page_size Page size
328
328
  # @return [UserPresenceEntityListing]
329
- def get_user_presences(user_id, opts = {})
330
- data, status_code, headers = get_user_presences_with_http_info(user_id, opts)
329
+ def get_user_id_presences(user_id, opts = {})
330
+ data, status_code, headers = get_user_id_presences_with_http_info(user_id, opts)
331
331
  return data
332
332
  end
333
333
 
@@ -338,13 +338,13 @@ module PureCloud
338
338
  # @option opts [Integer] :page_number Page number
339
339
  # @option opts [Integer] :page_size Page size
340
340
  # @return [Array<(UserPresenceEntityListing, Fixnum, Hash)>] UserPresenceEntityListing data, response status code and response headers
341
- def get_user_presences_with_http_info(user_id, opts = {})
341
+ def get_user_id_presences_with_http_info(user_id, opts = {})
342
342
  if @api_client.config.debugging
343
- @api_client.config.logger.debug "Calling API: PresenceApi#get_user_presences ..."
343
+ @api_client.config.logger.debug "Calling API: PresenceApi#get_user_id_presences ..."
344
344
  end
345
345
 
346
346
  # verify the required parameter 'user_id' is set
347
- fail "Missing the required parameter 'user_id' when calling get_user_presences" if user_id.nil?
347
+ fail "Missing the required parameter 'user_id' when calling get_user_id_presences" if user_id.nil?
348
348
 
349
349
  # resource path
350
350
  path = "/api/v1/users/{userId}/presences".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -381,7 +381,7 @@ module PureCloud
381
381
  :auth_names => auth_names,
382
382
  :return_type => 'UserPresenceEntityListing')
383
383
  if @api_client.config.debugging
384
- @api_client.config.logger.debug "API called: PresenceApi#get_user_presences\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
384
+ @api_client.config.logger.debug "API called: PresenceApi#get_user_id_presences\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
385
  end
386
386
  return data, status_code, headers
387
387
  end
@@ -392,8 +392,8 @@ module PureCloud
392
392
  # @param source Source
393
393
  # @param [Hash] opts the optional parameters
394
394
  # @return [UserPresence]
395
- def get_user_presences_by_source(user_id, source, opts = {})
396
- data, status_code, headers = get_user_presences_by_source_with_http_info(user_id, source, opts)
395
+ def get_user_id_presences_source(user_id, source, opts = {})
396
+ data, status_code, headers = get_user_id_presences_source_with_http_info(user_id, source, opts)
397
397
  return data
398
398
  end
399
399
 
@@ -403,16 +403,16 @@ module PureCloud
403
403
  # @param source Source
404
404
  # @param [Hash] opts the optional parameters
405
405
  # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
406
- def get_user_presences_by_source_with_http_info(user_id, source, opts = {})
406
+ def get_user_id_presences_source_with_http_info(user_id, source, opts = {})
407
407
  if @api_client.config.debugging
408
- @api_client.config.logger.debug "Calling API: PresenceApi#get_user_presences_by_source ..."
408
+ @api_client.config.logger.debug "Calling API: PresenceApi#get_user_id_presences_source ..."
409
409
  end
410
410
 
411
411
  # verify the required parameter 'user_id' is set
412
- fail "Missing the required parameter 'user_id' when calling get_user_presences_by_source" if user_id.nil?
412
+ fail "Missing the required parameter 'user_id' when calling get_user_id_presences_source" if user_id.nil?
413
413
 
414
414
  # verify the required parameter 'source' is set
415
- fail "Missing the required parameter 'source' when calling get_user_presences_by_source" if source.nil?
415
+ fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
416
416
 
417
417
  # resource path
418
418
  path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
@@ -447,7 +447,7 @@ module PureCloud
447
447
  :auth_names => auth_names,
448
448
  :return_type => 'UserPresence')
449
449
  if @api_client.config.debugging
450
- @api_client.config.logger.debug "API called: PresenceApi#get_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
450
+ @api_client.config.logger.debug "API called: PresenceApi#get_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
451
451
  end
452
452
  return data, status_code, headers
453
453
  end
@@ -459,8 +459,8 @@ module PureCloud
459
459
  # @param body The updated UserPresence
460
460
  # @param [Hash] opts the optional parameters
461
461
  # @return [UserPresence]
462
- def update_user_presences_by_source(user_id, source, body, opts = {})
463
- data, status_code, headers = update_user_presences_by_source_with_http_info(user_id, source, body, opts)
462
+ def put_user_id_presences_source(user_id, source, body, opts = {})
463
+ data, status_code, headers = put_user_id_presences_source_with_http_info(user_id, source, body, opts)
464
464
  return data
465
465
  end
466
466
 
@@ -471,19 +471,19 @@ module PureCloud
471
471
  # @param body The updated UserPresence
472
472
  # @param [Hash] opts the optional parameters
473
473
  # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
474
- def update_user_presences_by_source_with_http_info(user_id, source, body, opts = {})
474
+ def put_user_id_presences_source_with_http_info(user_id, source, body, opts = {})
475
475
  if @api_client.config.debugging
476
- @api_client.config.logger.debug "Calling API: PresenceApi#update_user_presences_by_source ..."
476
+ @api_client.config.logger.debug "Calling API: PresenceApi#put_user_id_presences_source ..."
477
477
  end
478
478
 
479
479
  # verify the required parameter 'user_id' is set
480
- fail "Missing the required parameter 'user_id' when calling update_user_presences_by_source" if user_id.nil?
480
+ fail "Missing the required parameter 'user_id' when calling put_user_id_presences_source" if user_id.nil?
481
481
 
482
482
  # verify the required parameter 'source' is set
483
- fail "Missing the required parameter 'source' when calling update_user_presences_by_source" if source.nil?
483
+ fail "Missing the required parameter 'source' when calling put_user_id_presences_source" if source.nil?
484
484
 
485
485
  # verify the required parameter 'body' is set
486
- fail "Missing the required parameter 'body' when calling update_user_presences_by_source" if body.nil?
486
+ fail "Missing the required parameter 'body' when calling put_user_id_presences_source" if body.nil?
487
487
 
488
488
  # resource path
489
489
  path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
@@ -518,7 +518,7 @@ module PureCloud
518
518
  :auth_names => auth_names,
519
519
  :return_type => 'UserPresence')
520
520
  if @api_client.config.debugging
521
- @api_client.config.logger.debug "API called: PresenceApi#update_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
521
+ @api_client.config.logger.debug "API called: PresenceApi#put_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
522
522
  end
523
523
  return data, status_code, headers
524
524
  end
@@ -530,8 +530,8 @@ module PureCloud
530
530
  # @param body The patched UserPresence
531
531
  # @param [Hash] opts the optional parameters
532
532
  # @return [UserPresence]
533
- def patch_user_presences_by_source(user_id, source, body, opts = {})
534
- data, status_code, headers = patch_user_presences_by_source_with_http_info(user_id, source, body, opts)
533
+ def patch_user_id_presences_source(user_id, source, body, opts = {})
534
+ data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, body, opts)
535
535
  return data
536
536
  end
537
537
 
@@ -542,19 +542,19 @@ module PureCloud
542
542
  # @param body The patched UserPresence
543
543
  # @param [Hash] opts the optional parameters
544
544
  # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
545
- def patch_user_presences_by_source_with_http_info(user_id, source, body, opts = {})
545
+ def patch_user_id_presences_source_with_http_info(user_id, source, body, opts = {})
546
546
  if @api_client.config.debugging
547
- @api_client.config.logger.debug "Calling API: PresenceApi#patch_user_presences_by_source ..."
547
+ @api_client.config.logger.debug "Calling API: PresenceApi#patch_user_id_presences_source ..."
548
548
  end
549
549
 
550
550
  # verify the required parameter 'user_id' is set
551
- fail "Missing the required parameter 'user_id' when calling patch_user_presences_by_source" if user_id.nil?
551
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_presences_source" if user_id.nil?
552
552
 
553
553
  # verify the required parameter 'source' is set
554
- fail "Missing the required parameter 'source' when calling patch_user_presences_by_source" if source.nil?
554
+ fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
555
555
 
556
556
  # verify the required parameter 'body' is set
557
- fail "Missing the required parameter 'body' when calling patch_user_presences_by_source" if body.nil?
557
+ fail "Missing the required parameter 'body' when calling patch_user_id_presences_source" if body.nil?
558
558
 
559
559
  # resource path
560
560
  path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
@@ -589,7 +589,7 @@ module PureCloud
589
589
  :auth_names => auth_names,
590
590
  :return_type => 'UserPresence')
591
591
  if @api_client.config.debugging
592
- @api_client.config.logger.debug "API called: PresenceApi#patch_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
592
+ @api_client.config.logger.debug "API called: PresenceApi#patch_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
593
593
  end
594
594
  return data, status_code, headers
595
595
  end
@@ -599,8 +599,8 @@ module PureCloud
599
599
  # @param user_id User ID
600
600
  # @param [Hash] opts the optional parameters
601
601
  # @return [UserPresence]
602
- def get_user_primarypresence(user_id, opts = {})
603
- data, status_code, headers = get_user_primarypresence_with_http_info(user_id, opts)
602
+ def get_user_id_primarypresence(user_id, opts = {})
603
+ data, status_code, headers = get_user_id_primarypresence_with_http_info(user_id, opts)
604
604
  return data
605
605
  end
606
606
 
@@ -609,13 +609,13 @@ module PureCloud
609
609
  # @param user_id User ID
610
610
  # @param [Hash] opts the optional parameters
611
611
  # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
612
- def get_user_primarypresence_with_http_info(user_id, opts = {})
612
+ def get_user_id_primarypresence_with_http_info(user_id, opts = {})
613
613
  if @api_client.config.debugging
614
- @api_client.config.logger.debug "Calling API: PresenceApi#get_user_primarypresence ..."
614
+ @api_client.config.logger.debug "Calling API: PresenceApi#get_user_id_primarypresence ..."
615
615
  end
616
616
 
617
617
  # verify the required parameter 'user_id' is set
618
- fail "Missing the required parameter 'user_id' when calling get_user_primarypresence" if user_id.nil?
618
+ fail "Missing the required parameter 'user_id' when calling get_user_id_primarypresence" if user_id.nil?
619
619
 
620
620
  # resource path
621
621
  path = "/api/v1/users/{userId}/primarypresence".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
@@ -650,7 +650,7 @@ module PureCloud
650
650
  :auth_names => auth_names,
651
651
  :return_type => 'UserPresence')
652
652
  if @api_client.config.debugging
653
- @api_client.config.logger.debug "API called: PresenceApi#get_user_primarypresence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
653
+ @api_client.config.logger.debug "API called: PresenceApi#get_user_id_primarypresence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
654
654
  end
655
655
  return data, status_code, headers
656
656
  end
@@ -8,579 +8,6 @@ module PureCloud
8
8
  @api_client = api_client
9
9
  end
10
10
 
11
- # Get all of a Conversation&#39;s Recordings.
12
- #
13
- # @param conversation_id Conversation ID
14
- # @param [Hash] opts the optional parameters
15
- # @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for the recording to be ready.
16
- # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
17
- # @return [Array<Recording>]
18
- def get_conversation_recordings(conversation_id, opts = {})
19
- data, status_code, headers = get_conversation_recordings_with_http_info(conversation_id, opts)
20
- return data
21
- end
22
-
23
- # Get all of a Conversation&#39;s Recordings.
24
- #
25
- # @param conversation_id Conversation ID
26
- # @param [Hash] opts the optional parameters
27
- # @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for the recording to be ready.
28
- # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
29
- # @return [Array<(Array<Recording>, Fixnum, Hash)>] Array<Recording> data, response status code and response headers
30
- def get_conversation_recordings_with_http_info(conversation_id, opts = {})
31
- if @api_client.config.debugging
32
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings ..."
33
- end
34
-
35
- # verify the required parameter 'conversation_id' is set
36
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings" if conversation_id.nil?
37
-
38
- if opts[:'format_id'] && !['WEBM', 'WAV'].include?(opts[:'format_id'])
39
- fail 'invalid value for "format_id", must be one of WEBM, WAV'
40
- end
41
-
42
- # resource path
43
- path = "/api/v1/conversations/{conversationId}/recordings".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
44
-
45
- # query parameters
46
- query_params = {}
47
- query_params[:'maxWaitMs'] = opts[:'max_wait_ms'] if opts[:'max_wait_ms']
48
- query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
49
-
50
- # header parameters
51
- header_params = {}
52
-
53
- # HTTP header 'Accept' (if needed)
54
- _header_accept = ['application/json']
55
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
56
-
57
- # HTTP header 'Content-Type'
58
- _header_content_type = ['application/json']
59
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
60
-
61
- # form parameters
62
- form_params = {}
63
-
64
- # http body (model)
65
- post_body = nil
66
-
67
-
68
- auth_names = ['PureCloud Auth']
69
- data, status_code, headers = @api_client.call_api(:GET, path,
70
- :header_params => header_params,
71
- :query_params => query_params,
72
- :form_params => form_params,
73
- :body => post_body,
74
- :auth_names => auth_names,
75
- :return_type => 'Array<Recording>')
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
- # Gets a specific recording.
83
- #
84
- # @param conversation_id Conversation ID
85
- # @param recording_id Recording ID
86
- # @param [Hash] opts the optional parameters
87
- # @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for completion.
88
- # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
89
- # @option opts [BOOLEAN] :download requesting a download format of the recording
90
- # @option opts [String] :file_name the name of the downloaded fileName
91
- # @return [nil]
92
- def get_conversation_recordings_by_recording_id(conversation_id, recording_id, opts = {})
93
- get_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, opts)
94
- return nil
95
- end
96
-
97
- # Gets a specific recording.
98
- #
99
- # @param conversation_id Conversation ID
100
- # @param recording_id Recording ID
101
- # @param [Hash] opts the optional parameters
102
- # @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for completion.
103
- # @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
104
- # @option opts [BOOLEAN] :download requesting a download format of the recording
105
- # @option opts [String] :file_name the name of the downloaded fileName
106
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
107
- def get_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, opts = {})
108
- if @api_client.config.debugging
109
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id ..."
110
- end
111
-
112
- # verify the required parameter 'conversation_id' is set
113
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id" if conversation_id.nil?
114
-
115
- # verify the required parameter 'recording_id' is set
116
- fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id" if recording_id.nil?
117
-
118
- if opts[:'format_id'] && !['WEBM', 'WAV'].include?(opts[:'format_id'])
119
- fail 'invalid value for "format_id", must be one of WEBM, WAV'
120
- end
121
-
122
- # resource path
123
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
124
-
125
- # query parameters
126
- query_params = {}
127
- query_params[:'maxWaitMs'] = opts[:'max_wait_ms'] if opts[:'max_wait_ms']
128
- query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
129
- query_params[:'download'] = opts[:'download'] if opts[:'download']
130
- query_params[:'fileName'] = opts[:'file_name'] if opts[:'file_name']
131
-
132
- # header parameters
133
- header_params = {}
134
-
135
- # HTTP header 'Accept' (if needed)
136
- _header_accept = ['application/json']
137
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
138
-
139
- # HTTP header 'Content-Type'
140
- _header_content_type = ['application/json']
141
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
142
-
143
- # form parameters
144
- form_params = {}
145
-
146
- # http body (model)
147
- post_body = nil
148
-
149
-
150
- auth_names = ['PureCloud Auth']
151
- data, status_code, headers = @api_client.call_api(:GET, path,
152
- :header_params => header_params,
153
- :query_params => query_params,
154
- :form_params => form_params,
155
- :body => post_body,
156
- :auth_names => auth_names)
157
- if @api_client.config.debugging
158
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
159
- end
160
- return data, status_code, headers
161
- end
162
-
163
- # Updates the retention records on a recording.
164
- # Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. Use of the query parameter &#39;restoreDays&#39; is deprecated and will be removed in the next major version release. If &#39;restoreDays&#39; is provided, no attempt at updating other retention data will be made. To migrate to the new usage, issuing a request with restoreDays=10 would instead set the archiveDate&#39;s time stamp in the PUT body to 10 days in the future.
165
- # @param conversation_id Conversation ID
166
- # @param recording_id Recording ID
167
- # @param body recording
168
- # @param [Hash] opts the optional parameters
169
- # @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
170
- # @return [nil]
171
- def update_conversation_recordings_by_recording_id(conversation_id, recording_id, body, opts = {})
172
- update_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, body, opts)
173
- return nil
174
- end
175
-
176
- # Updates the retention records on a recording.
177
- # Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. Use of the query parameter &#39;restoreDays&#39; is deprecated and will be removed in the next major version release. If &#39;restoreDays&#39; is provided, no attempt at updating other retention data will be made. To migrate to the new usage, issuing a request with restoreDays=10 would instead set the archiveDate&#39;s time stamp in the PUT body to 10 days in the future.
178
- # @param conversation_id Conversation ID
179
- # @param recording_id Recording ID
180
- # @param body recording
181
- # @param [Hash] opts the optional parameters
182
- # @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
183
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
184
- def update_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, body, opts = {})
185
- if @api_client.config.debugging
186
- @api_client.config.logger.debug "Calling API: QualityApi#update_conversation_recordings_by_recording_id ..."
187
- end
188
-
189
- # verify the required parameter 'conversation_id' is set
190
- fail "Missing the required parameter 'conversation_id' when calling update_conversation_recordings_by_recording_id" if conversation_id.nil?
191
-
192
- # verify the required parameter 'recording_id' is set
193
- fail "Missing the required parameter 'recording_id' when calling update_conversation_recordings_by_recording_id" if recording_id.nil?
194
-
195
- # verify the required parameter 'body' is set
196
- fail "Missing the required parameter 'body' when calling update_conversation_recordings_by_recording_id" if body.nil?
197
-
198
- # resource path
199
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
200
-
201
- # query parameters
202
- query_params = {}
203
- query_params[:'restoreDays'] = opts[:'restore_days'] if opts[:'restore_days']
204
-
205
- # header parameters
206
- header_params = {}
207
-
208
- # HTTP header 'Accept' (if needed)
209
- _header_accept = ['application/json']
210
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
211
-
212
- # HTTP header 'Content-Type'
213
- _header_content_type = ['application/json']
214
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
215
-
216
- # form parameters
217
- form_params = {}
218
-
219
- # http body (model)
220
- post_body = @api_client.object_to_http_body(body)
221
-
222
-
223
- auth_names = ['PureCloud Auth']
224
- data, status_code, headers = @api_client.call_api(:PUT, path,
225
- :header_params => header_params,
226
- :query_params => query_params,
227
- :form_params => form_params,
228
- :body => post_body,
229
- :auth_names => auth_names)
230
- if @api_client.config.debugging
231
- @api_client.config.logger.debug "API called: QualityApi#update_conversation_recordings_by_recording_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
232
- end
233
- return data, status_code, headers
234
- end
235
-
236
- # Get annotations for recording
237
- #
238
- # @param conversation_id Conversation ID
239
- # @param recording_id Recording ID
240
- # @param [Hash] opts the optional parameters
241
- # @return [Array<Annotation>]
242
- def get_conversation_recordings_by_recording_id_annotations(conversation_id, recording_id, opts = {})
243
- data, status_code, headers = get_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts)
244
- return data
245
- end
246
-
247
- # Get annotations for recording
248
- #
249
- # @param conversation_id Conversation ID
250
- # @param recording_id Recording ID
251
- # @param [Hash] opts the optional parameters
252
- # @return [Array<(Array<Annotation>, Fixnum, Hash)>] Array<Annotation> data, response status code and response headers
253
- def get_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts = {})
254
- if @api_client.config.debugging
255
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id_annotations ..."
256
- end
257
-
258
- # verify the required parameter 'conversation_id' is set
259
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id_annotations" if conversation_id.nil?
260
-
261
- # verify the required parameter 'recording_id' is set
262
- fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id_annotations" if recording_id.nil?
263
-
264
- # resource path
265
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
266
-
267
- # query parameters
268
- query_params = {}
269
-
270
- # header parameters
271
- header_params = {}
272
-
273
- # HTTP header 'Accept' (if needed)
274
- _header_accept = ['application/json']
275
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
276
-
277
- # HTTP header 'Content-Type'
278
- _header_content_type = ['application/json']
279
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
280
-
281
- # form parameters
282
- form_params = {}
283
-
284
- # http body (model)
285
- post_body = nil
286
-
287
-
288
- auth_names = ['PureCloud Auth']
289
- data, status_code, headers = @api_client.call_api(:GET, path,
290
- :header_params => header_params,
291
- :query_params => query_params,
292
- :form_params => form_params,
293
- :body => post_body,
294
- :auth_names => auth_names,
295
- :return_type => 'Array<Annotation>')
296
- if @api_client.config.debugging
297
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
298
- end
299
- return data, status_code, headers
300
- end
301
-
302
- # Create annotation
303
- #
304
- # @param conversation_id Conversation ID
305
- # @param recording_id Recording ID
306
- # @param [Hash] opts the optional parameters
307
- # @option opts [Annotation] :body annotation
308
- # @return [Annotation]
309
- def create_conversation_recordings_by_recording_id_annotations(conversation_id, recording_id, opts = {})
310
- data, status_code, headers = create_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts)
311
- return data
312
- end
313
-
314
- # Create annotation
315
- #
316
- # @param conversation_id Conversation ID
317
- # @param recording_id Recording ID
318
- # @param [Hash] opts the optional parameters
319
- # @option opts [Annotation] :body annotation
320
- # @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
321
- def create_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts = {})
322
- if @api_client.config.debugging
323
- @api_client.config.logger.debug "Calling API: QualityApi#create_conversation_recordings_by_recording_id_annotations ..."
324
- end
325
-
326
- # verify the required parameter 'conversation_id' is set
327
- fail "Missing the required parameter 'conversation_id' when calling create_conversation_recordings_by_recording_id_annotations" if conversation_id.nil?
328
-
329
- # verify the required parameter 'recording_id' is set
330
- fail "Missing the required parameter 'recording_id' when calling create_conversation_recordings_by_recording_id_annotations" if recording_id.nil?
331
-
332
- # resource path
333
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
334
-
335
- # query parameters
336
- query_params = {}
337
-
338
- # header parameters
339
- header_params = {}
340
-
341
- # HTTP header 'Accept' (if needed)
342
- _header_accept = ['application/json']
343
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
344
-
345
- # HTTP header 'Content-Type'
346
- _header_content_type = ['application/json']
347
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
348
-
349
- # form parameters
350
- form_params = {}
351
-
352
- # http body (model)
353
- post_body = @api_client.object_to_http_body(opts[:'body'])
354
-
355
-
356
- auth_names = ['PureCloud Auth']
357
- data, status_code, headers = @api_client.call_api(:POST, path,
358
- :header_params => header_params,
359
- :query_params => query_params,
360
- :form_params => form_params,
361
- :body => post_body,
362
- :auth_names => auth_names,
363
- :return_type => 'Annotation')
364
- if @api_client.config.debugging
365
- @api_client.config.logger.debug "API called: QualityApi#create_conversation_recordings_by_recording_id_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
- end
367
- return data, status_code, headers
368
- end
369
-
370
- # Get annotation
371
- #
372
- # @param conversation_id Conversation ID
373
- # @param recording_id Recording ID
374
- # @param annotation_id Annotation ID
375
- # @param [Hash] opts the optional parameters
376
- # @return [Annotation]
377
- def get_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
378
- data, status_code, headers = get_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
379
- return data
380
- end
381
-
382
- # Get annotation
383
- #
384
- # @param conversation_id Conversation ID
385
- # @param recording_id Recording ID
386
- # @param annotation_id Annotation ID
387
- # @param [Hash] opts the optional parameters
388
- # @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
389
- def get_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
390
- if @api_client.config.debugging
391
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
392
- end
393
-
394
- # verify the required parameter 'conversation_id' is set
395
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
396
-
397
- # verify the required parameter 'recording_id' is set
398
- fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
399
-
400
- # verify the required parameter 'annotation_id' is set
401
- fail "Missing the required parameter 'annotation_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
402
-
403
- # resource path
404
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
405
-
406
- # query parameters
407
- query_params = {}
408
-
409
- # header parameters
410
- header_params = {}
411
-
412
- # HTTP header 'Accept' (if needed)
413
- _header_accept = ['application/json']
414
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
415
-
416
- # HTTP header 'Content-Type'
417
- _header_content_type = ['application/json']
418
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
419
-
420
- # form parameters
421
- form_params = {}
422
-
423
- # http body (model)
424
- post_body = nil
425
-
426
-
427
- auth_names = ['PureCloud Auth']
428
- data, status_code, headers = @api_client.call_api(:GET, path,
429
- :header_params => header_params,
430
- :query_params => query_params,
431
- :form_params => form_params,
432
- :body => post_body,
433
- :auth_names => auth_names,
434
- :return_type => 'Annotation')
435
- if @api_client.config.debugging
436
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
- end
438
- return data, status_code, headers
439
- end
440
-
441
- # Update annotation
442
- #
443
- # @param conversation_id Conversation ID
444
- # @param recording_id Recording ID
445
- # @param annotation_id Annotation ID
446
- # @param [Hash] opts the optional parameters
447
- # @option opts [Annotation] :body annotation
448
- # @return [Annotation]
449
- def update_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
450
- data, status_code, headers = update_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
451
- return data
452
- end
453
-
454
- # Update annotation
455
- #
456
- # @param conversation_id Conversation ID
457
- # @param recording_id Recording ID
458
- # @param annotation_id Annotation ID
459
- # @param [Hash] opts the optional parameters
460
- # @option opts [Annotation] :body annotation
461
- # @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
462
- def update_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
463
- if @api_client.config.debugging
464
- @api_client.config.logger.debug "Calling API: QualityApi#update_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
465
- end
466
-
467
- # verify the required parameter 'conversation_id' is set
468
- fail "Missing the required parameter 'conversation_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
469
-
470
- # verify the required parameter 'recording_id' is set
471
- fail "Missing the required parameter 'recording_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
472
-
473
- # verify the required parameter 'annotation_id' is set
474
- fail "Missing the required parameter 'annotation_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
475
-
476
- # resource path
477
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
478
-
479
- # query parameters
480
- query_params = {}
481
-
482
- # header parameters
483
- header_params = {}
484
-
485
- # HTTP header 'Accept' (if needed)
486
- _header_accept = ['application/json']
487
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
488
-
489
- # HTTP header 'Content-Type'
490
- _header_content_type = ['application/json']
491
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
492
-
493
- # form parameters
494
- form_params = {}
495
-
496
- # http body (model)
497
- post_body = @api_client.object_to_http_body(opts[:'body'])
498
-
499
-
500
- auth_names = ['PureCloud Auth']
501
- data, status_code, headers = @api_client.call_api(:PUT, path,
502
- :header_params => header_params,
503
- :query_params => query_params,
504
- :form_params => form_params,
505
- :body => post_body,
506
- :auth_names => auth_names,
507
- :return_type => 'Annotation')
508
- if @api_client.config.debugging
509
- @api_client.config.logger.debug "API called: QualityApi#update_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
510
- end
511
- return data, status_code, headers
512
- end
513
-
514
- # Delete annotation
515
- #
516
- # @param conversation_id Conversation ID
517
- # @param recording_id Recording ID
518
- # @param annotation_id Annotation ID
519
- # @param [Hash] opts the optional parameters
520
- # @return [nil]
521
- def delete_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
522
- delete_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
523
- return nil
524
- end
525
-
526
- # Delete annotation
527
- #
528
- # @param conversation_id Conversation ID
529
- # @param recording_id Recording ID
530
- # @param annotation_id Annotation ID
531
- # @param [Hash] opts the optional parameters
532
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
533
- def delete_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
534
- if @api_client.config.debugging
535
- @api_client.config.logger.debug "Calling API: QualityApi#delete_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
536
- end
537
-
538
- # verify the required parameter 'conversation_id' is set
539
- fail "Missing the required parameter 'conversation_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
540
-
541
- # verify the required parameter 'recording_id' is set
542
- fail "Missing the required parameter 'recording_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
543
-
544
- # verify the required parameter 'annotation_id' is set
545
- fail "Missing the required parameter 'annotation_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
546
-
547
- # resource path
548
- path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
549
-
550
- # query parameters
551
- query_params = {}
552
-
553
- # header parameters
554
- header_params = {}
555
-
556
- # HTTP header 'Accept' (if needed)
557
- _header_accept = ['application/json']
558
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
559
-
560
- # HTTP header 'Content-Type'
561
- _header_content_type = ['application/json']
562
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
563
-
564
- # form parameters
565
- form_params = {}
566
-
567
- # http body (model)
568
- post_body = nil
569
-
570
-
571
- auth_names = ['PureCloud Auth']
572
- data, status_code, headers = @api_client.call_api(:DELETE, path,
573
- :header_params => header_params,
574
- :query_params => query_params,
575
- :form_params => form_params,
576
- :body => post_body,
577
- :auth_names => auth_names)
578
- if @api_client.config.debugging
579
- @api_client.config.logger.debug "API called: QualityApi#delete_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
580
- end
581
- return data, status_code, headers
582
- end
583
-
584
11
  # Gets a list of Agent Activities
585
12
  # Including the number of evaluations and average evaluation score
586
13
  # @param [Hash] opts the optional parameters
@@ -753,8 +180,8 @@ module PureCloud
753
180
  # @option opts [Calibration] :body calibration
754
181
  # @option opts [String] :expand calibratorId
755
182
  # @return [Calibration]
756
- def create_calibrations(opts = {})
757
- data, status_code, headers = create_calibrations_with_http_info(opts)
183
+ def post_calibrations(opts = {})
184
+ data, status_code, headers = post_calibrations_with_http_info(opts)
758
185
  return data
759
186
  end
760
187
 
@@ -764,9 +191,9 @@ module PureCloud
764
191
  # @option opts [Calibration] :body calibration
765
192
  # @option opts [String] :expand calibratorId
766
193
  # @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
767
- def create_calibrations_with_http_info(opts = {})
194
+ def post_calibrations_with_http_info(opts = {})
768
195
  if @api_client.config.debugging
769
- @api_client.config.logger.debug "Calling API: QualityApi#create_calibrations ..."
196
+ @api_client.config.logger.debug "Calling API: QualityApi#post_calibrations ..."
770
197
  end
771
198
 
772
199
  # resource path
@@ -803,7 +230,7 @@ module PureCloud
803
230
  :auth_names => auth_names,
804
231
  :return_type => 'Calibration')
805
232
  if @api_client.config.debugging
806
- @api_client.config.logger.debug "API called: QualityApi#create_calibrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
233
+ @api_client.config.logger.debug "API called: QualityApi#post_calibrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
807
234
  end
808
235
  return data, status_code, headers
809
236
  end
@@ -814,8 +241,8 @@ module PureCloud
814
241
  # @param [Hash] opts the optional parameters
815
242
  # @option opts [String] :calibrator_id calibratorId
816
243
  # @return [Calibration]
817
- def get_calibration(calibration_id, opts = {})
818
- data, status_code, headers = get_calibration_with_http_info(calibration_id, opts)
244
+ def get_calibrations_calibration_id(calibration_id, opts = {})
245
+ data, status_code, headers = get_calibrations_calibration_id_with_http_info(calibration_id, opts)
819
246
  return data
820
247
  end
821
248
 
@@ -825,13 +252,13 @@ module PureCloud
825
252
  # @param [Hash] opts the optional parameters
826
253
  # @option opts [String] :calibrator_id calibratorId
827
254
  # @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
828
- def get_calibration_with_http_info(calibration_id, opts = {})
255
+ def get_calibrations_calibration_id_with_http_info(calibration_id, opts = {})
829
256
  if @api_client.config.debugging
830
- @api_client.config.logger.debug "Calling API: QualityApi#get_calibration ..."
257
+ @api_client.config.logger.debug "Calling API: QualityApi#get_calibrations_calibration_id ..."
831
258
  end
832
259
 
833
260
  # verify the required parameter 'calibration_id' is set
834
- fail "Missing the required parameter 'calibration_id' when calling get_calibration" if calibration_id.nil?
261
+ fail "Missing the required parameter 'calibration_id' when calling get_calibrations_calibration_id" if calibration_id.nil?
835
262
 
836
263
  # resource path
837
264
  path = "/api/v1/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
@@ -867,7 +294,7 @@ module PureCloud
867
294
  :auth_names => auth_names,
868
295
  :return_type => 'Calibration')
869
296
  if @api_client.config.debugging
870
- @api_client.config.logger.debug "API called: QualityApi#get_calibration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
297
+ @api_client.config.logger.debug "API called: QualityApi#get_calibrations_calibration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
871
298
  end
872
299
  return data, status_code, headers
873
300
  end
@@ -878,8 +305,8 @@ module PureCloud
878
305
  # @param [Hash] opts the optional parameters
879
306
  # @option opts [Calibration] :body Calibration
880
307
  # @return [Calibration]
881
- def update_calibration(calibration_id, opts = {})
882
- data, status_code, headers = update_calibration_with_http_info(calibration_id, opts)
308
+ def put_calibrations_calibration_id(calibration_id, opts = {})
309
+ data, status_code, headers = put_calibrations_calibration_id_with_http_info(calibration_id, opts)
883
310
  return data
884
311
  end
885
312
 
@@ -889,13 +316,13 @@ module PureCloud
889
316
  # @param [Hash] opts the optional parameters
890
317
  # @option opts [Calibration] :body Calibration
891
318
  # @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
892
- def update_calibration_with_http_info(calibration_id, opts = {})
319
+ def put_calibrations_calibration_id_with_http_info(calibration_id, opts = {})
893
320
  if @api_client.config.debugging
894
- @api_client.config.logger.debug "Calling API: QualityApi#update_calibration ..."
321
+ @api_client.config.logger.debug "Calling API: QualityApi#put_calibrations_calibration_id ..."
895
322
  end
896
323
 
897
324
  # verify the required parameter 'calibration_id' is set
898
- fail "Missing the required parameter 'calibration_id' when calling update_calibration" if calibration_id.nil?
325
+ fail "Missing the required parameter 'calibration_id' when calling put_calibrations_calibration_id" if calibration_id.nil?
899
326
 
900
327
  # resource path
901
328
  path = "/api/v1/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
@@ -930,7 +357,7 @@ module PureCloud
930
357
  :auth_names => auth_names,
931
358
  :return_type => 'Calibration')
932
359
  if @api_client.config.debugging
933
- @api_client.config.logger.debug "API called: QualityApi#update_calibration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
360
+ @api_client.config.logger.debug "API called: QualityApi#put_calibrations_calibration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
934
361
  end
935
362
  return data, status_code, headers
936
363
  end
@@ -941,8 +368,8 @@ module PureCloud
941
368
  # @param [Hash] opts the optional parameters
942
369
  # @option opts [String] :calibrator_id calibratorId
943
370
  # @return [Calibration]
944
- def delete_calibration(calibration_id, opts = {})
945
- data, status_code, headers = delete_calibration_with_http_info(calibration_id, opts)
371
+ def delete_calibrations_calibration_id(calibration_id, opts = {})
372
+ data, status_code, headers = delete_calibrations_calibration_id_with_http_info(calibration_id, opts)
946
373
  return data
947
374
  end
948
375
 
@@ -952,13 +379,13 @@ module PureCloud
952
379
  # @param [Hash] opts the optional parameters
953
380
  # @option opts [String] :calibrator_id calibratorId
954
381
  # @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
955
- def delete_calibration_with_http_info(calibration_id, opts = {})
382
+ def delete_calibrations_calibration_id_with_http_info(calibration_id, opts = {})
956
383
  if @api_client.config.debugging
957
- @api_client.config.logger.debug "Calling API: QualityApi#delete_calibration ..."
384
+ @api_client.config.logger.debug "Calling API: QualityApi#delete_calibrations_calibration_id ..."
958
385
  end
959
386
 
960
387
  # verify the required parameter 'calibration_id' is set
961
- fail "Missing the required parameter 'calibration_id' when calling delete_calibration" if calibration_id.nil?
388
+ fail "Missing the required parameter 'calibration_id' when calling delete_calibrations_calibration_id" if calibration_id.nil?
962
389
 
963
390
  # resource path
964
391
  path = "/api/v1/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
@@ -994,7 +421,7 @@ module PureCloud
994
421
  :auth_names => auth_names,
995
422
  :return_type => 'Calibration')
996
423
  if @api_client.config.debugging
997
- @api_client.config.logger.debug "API called: QualityApi#delete_calibration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
424
+ @api_client.config.logger.debug "API called: QualityApi#delete_calibrations_calibration_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
998
425
  end
999
426
  return data, status_code, headers
1000
427
  end
@@ -1010,8 +437,8 @@ module PureCloud
1010
437
  # @option opts [String] :recording_id id of the recording
1011
438
  # @option opts [String] :entity_type entity type options: Recording, Calibration, Evaluation, Annotation
1012
439
  # @return [QualityAuditPage]
1013
- def get_conversation_audits(conversation_id, opts = {})
1014
- data, status_code, headers = get_conversation_audits_with_http_info(conversation_id, opts)
440
+ def get_conversations_conversation_id_audits(conversation_id, opts = {})
441
+ data, status_code, headers = get_conversations_conversation_id_audits_with_http_info(conversation_id, opts)
1015
442
  return data
1016
443
  end
1017
444
 
@@ -1026,13 +453,13 @@ module PureCloud
1026
453
  # @option opts [String] :recording_id id of the recording
1027
454
  # @option opts [String] :entity_type entity type options: Recording, Calibration, Evaluation, Annotation
1028
455
  # @return [Array<(QualityAuditPage, Fixnum, Hash)>] QualityAuditPage data, response status code and response headers
1029
- def get_conversation_audits_with_http_info(conversation_id, opts = {})
456
+ def get_conversations_conversation_id_audits_with_http_info(conversation_id, opts = {})
1030
457
  if @api_client.config.debugging
1031
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_audits ..."
458
+ @api_client.config.logger.debug "Calling API: QualityApi#get_conversations_conversation_id_audits ..."
1032
459
  end
1033
460
 
1034
461
  # verify the required parameter 'conversation_id' is set
1035
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_audits" if conversation_id.nil?
462
+ fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_audits" if conversation_id.nil?
1036
463
 
1037
464
  # resource path
1038
465
  path = "/api/v1/quality/conversations/{conversationId}/audits".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
@@ -1073,7 +500,7 @@ module PureCloud
1073
500
  :auth_names => auth_names,
1074
501
  :return_type => 'QualityAuditPage')
1075
502
  if @api_client.config.debugging
1076
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_audits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
503
+ @api_client.config.logger.debug "API called: QualityApi#get_conversations_conversation_id_audits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1077
504
  end
1078
505
  return data, status_code, headers
1079
506
  end
@@ -1085,8 +512,8 @@ module PureCloud
1085
512
  # @option opts [Evaluation] :body evaluation
1086
513
  # @option opts [String] :expand evaluatorId
1087
514
  # @return [Evaluation]
1088
- def create_conversation_evaluations(conversation_id, opts = {})
1089
- data, status_code, headers = create_conversation_evaluations_with_http_info(conversation_id, opts)
515
+ def post_conversations_conversation_id_evaluations(conversation_id, opts = {})
516
+ data, status_code, headers = post_conversations_conversation_id_evaluations_with_http_info(conversation_id, opts)
1090
517
  return data
1091
518
  end
1092
519
 
@@ -1097,13 +524,13 @@ module PureCloud
1097
524
  # @option opts [Evaluation] :body evaluation
1098
525
  # @option opts [String] :expand evaluatorId
1099
526
  # @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
1100
- def create_conversation_evaluations_with_http_info(conversation_id, opts = {})
527
+ def post_conversations_conversation_id_evaluations_with_http_info(conversation_id, opts = {})
1101
528
  if @api_client.config.debugging
1102
- @api_client.config.logger.debug "Calling API: QualityApi#create_conversation_evaluations ..."
529
+ @api_client.config.logger.debug "Calling API: QualityApi#post_conversations_conversation_id_evaluations ..."
1103
530
  end
1104
531
 
1105
532
  # verify the required parameter 'conversation_id' is set
1106
- fail "Missing the required parameter 'conversation_id' when calling create_conversation_evaluations" if conversation_id.nil?
533
+ fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_evaluations" if conversation_id.nil?
1107
534
 
1108
535
  # resource path
1109
536
  path = "/api/v1/quality/conversations/{conversationId}/evaluations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
@@ -1139,7 +566,7 @@ module PureCloud
1139
566
  :auth_names => auth_names,
1140
567
  :return_type => 'Evaluation')
1141
568
  if @api_client.config.debugging
1142
- @api_client.config.logger.debug "API called: QualityApi#create_conversation_evaluations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
569
+ @api_client.config.logger.debug "API called: QualityApi#post_conversations_conversation_id_evaluations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1143
570
  end
1144
571
  return data, status_code, headers
1145
572
  end
@@ -1151,8 +578,8 @@ module PureCloud
1151
578
  # @param [Hash] opts the optional parameters
1152
579
  # @option opts [String] :expand agent, evaluator, evaluationForm
1153
580
  # @return [Evaluation]
1154
- def get_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
1155
- data, status_code, headers = get_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
581
+ def get_conversations_conversation_id_evaluations_evaluation_id(conversation_id, evaluation_id, opts = {})
582
+ data, status_code, headers = get_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
1156
583
  return data
1157
584
  end
1158
585
 
@@ -1163,16 +590,16 @@ module PureCloud
1163
590
  # @param [Hash] opts the optional parameters
1164
591
  # @option opts [String] :expand agent, evaluator, evaluationForm
1165
592
  # @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
1166
- def get_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
593
+ def get_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
1167
594
  if @api_client.config.debugging
1168
- @api_client.config.logger.debug "Calling API: QualityApi#get_conversation_evaluations_by_evaluation_id ..."
595
+ @api_client.config.logger.debug "Calling API: QualityApi#get_conversations_conversation_id_evaluations_evaluation_id ..."
1169
596
  end
1170
597
 
1171
598
  # verify the required parameter 'conversation_id' is set
1172
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
599
+ fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_evaluations_evaluation_id" if conversation_id.nil?
1173
600
 
1174
601
  # verify the required parameter 'evaluation_id' is set
1175
- fail "Missing the required parameter 'evaluation_id' when calling get_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
602
+ fail "Missing the required parameter 'evaluation_id' when calling get_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
1176
603
 
1177
604
  # resource path
1178
605
  path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
@@ -1208,7 +635,7 @@ module PureCloud
1208
635
  :auth_names => auth_names,
1209
636
  :return_type => 'Evaluation')
1210
637
  if @api_client.config.debugging
1211
- @api_client.config.logger.debug "API called: QualityApi#get_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
638
+ @api_client.config.logger.debug "API called: QualityApi#get_conversations_conversation_id_evaluations_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1212
639
  end
1213
640
  return data, status_code, headers
1214
641
  end
@@ -1221,8 +648,8 @@ module PureCloud
1221
648
  # @option opts [Evaluation] :body evaluation
1222
649
  # @option opts [String] :expand evaluatorId
1223
650
  # @return [Evaluation]
1224
- def update_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
1225
- data, status_code, headers = update_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
651
+ def put_conversations_conversation_id_evaluations_evaluation_id(conversation_id, evaluation_id, opts = {})
652
+ data, status_code, headers = put_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
1226
653
  return data
1227
654
  end
1228
655
 
@@ -1234,16 +661,16 @@ module PureCloud
1234
661
  # @option opts [Evaluation] :body evaluation
1235
662
  # @option opts [String] :expand evaluatorId
1236
663
  # @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
1237
- def update_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
664
+ def put_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
1238
665
  if @api_client.config.debugging
1239
- @api_client.config.logger.debug "Calling API: QualityApi#update_conversation_evaluations_by_evaluation_id ..."
666
+ @api_client.config.logger.debug "Calling API: QualityApi#put_conversations_conversation_id_evaluations_evaluation_id ..."
1240
667
  end
1241
668
 
1242
669
  # verify the required parameter 'conversation_id' is set
1243
- fail "Missing the required parameter 'conversation_id' when calling update_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
670
+ fail "Missing the required parameter 'conversation_id' when calling put_conversations_conversation_id_evaluations_evaluation_id" if conversation_id.nil?
1244
671
 
1245
672
  # verify the required parameter 'evaluation_id' is set
1246
- fail "Missing the required parameter 'evaluation_id' when calling update_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
673
+ fail "Missing the required parameter 'evaluation_id' when calling put_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
1247
674
 
1248
675
  # resource path
1249
676
  path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
@@ -1279,7 +706,7 @@ module PureCloud
1279
706
  :auth_names => auth_names,
1280
707
  :return_type => 'Evaluation')
1281
708
  if @api_client.config.debugging
1282
- @api_client.config.logger.debug "API called: QualityApi#update_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
709
+ @api_client.config.logger.debug "API called: QualityApi#put_conversations_conversation_id_evaluations_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1283
710
  end
1284
711
  return data, status_code, headers
1285
712
  end
@@ -1291,8 +718,8 @@ module PureCloud
1291
718
  # @param [Hash] opts the optional parameters
1292
719
  # @option opts [String] :expand evaluatorId
1293
720
  # @return [Evaluation]
1294
- def delete_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
1295
- data, status_code, headers = delete_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
721
+ def delete_conversations_conversation_id_evaluations_evaluation_id(conversation_id, evaluation_id, opts = {})
722
+ data, status_code, headers = delete_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
1296
723
  return data
1297
724
  end
1298
725
 
@@ -1303,16 +730,16 @@ module PureCloud
1303
730
  # @param [Hash] opts the optional parameters
1304
731
  # @option opts [String] :expand evaluatorId
1305
732
  # @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
1306
- def delete_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
733
+ def delete_conversations_conversation_id_evaluations_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
1307
734
  if @api_client.config.debugging
1308
- @api_client.config.logger.debug "Calling API: QualityApi#delete_conversation_evaluations_by_evaluation_id ..."
735
+ @api_client.config.logger.debug "Calling API: QualityApi#delete_conversations_conversation_id_evaluations_evaluation_id ..."
1309
736
  end
1310
737
 
1311
738
  # verify the required parameter 'conversation_id' is set
1312
- fail "Missing the required parameter 'conversation_id' when calling delete_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
739
+ fail "Missing the required parameter 'conversation_id' when calling delete_conversations_conversation_id_evaluations_evaluation_id" if conversation_id.nil?
1313
740
 
1314
741
  # verify the required parameter 'evaluation_id' is set
1315
- fail "Missing the required parameter 'evaluation_id' when calling delete_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
742
+ fail "Missing the required parameter 'evaluation_id' when calling delete_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
1316
743
 
1317
744
  # resource path
1318
745
  path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
@@ -1348,7 +775,7 @@ module PureCloud
1348
775
  :auth_names => auth_names,
1349
776
  :return_type => 'Evaluation')
1350
777
  if @api_client.config.debugging
1351
- @api_client.config.logger.debug "API called: QualityApi#delete_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
778
+ @api_client.config.logger.debug "API called: QualityApi#delete_conversations_conversation_id_evaluations_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1352
779
  end
1353
780
  return data, status_code, headers
1354
781
  end
@@ -1460,8 +887,8 @@ module PureCloud
1460
887
  # @option opts [EvaluationQueryRequest] :body query
1461
888
  # @option opts [String] :expand evaluator,agent
1462
889
  # @return [EvaluationEntityListing]
1463
- def create_evaluations_query(opts = {})
1464
- data, status_code, headers = create_evaluations_query_with_http_info(opts)
890
+ def post_evaluations_query(opts = {})
891
+ data, status_code, headers = post_evaluations_query_with_http_info(opts)
1465
892
  return data
1466
893
  end
1467
894
 
@@ -1471,9 +898,9 @@ module PureCloud
1471
898
  # @option opts [EvaluationQueryRequest] :body query
1472
899
  # @option opts [String] :expand evaluator,agent
1473
900
  # @return [Array<(EvaluationEntityListing, Fixnum, Hash)>] EvaluationEntityListing data, response status code and response headers
1474
- def create_evaluations_query_with_http_info(opts = {})
901
+ def post_evaluations_query_with_http_info(opts = {})
1475
902
  if @api_client.config.debugging
1476
- @api_client.config.logger.debug "Calling API: QualityApi#create_evaluations_query ..."
903
+ @api_client.config.logger.debug "Calling API: QualityApi#post_evaluations_query ..."
1477
904
  end
1478
905
 
1479
906
  # resource path
@@ -1510,7 +937,7 @@ module PureCloud
1510
937
  :auth_names => auth_names,
1511
938
  :return_type => 'EvaluationEntityListing')
1512
939
  if @api_client.config.debugging
1513
- @api_client.config.logger.debug "API called: QualityApi#create_evaluations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
940
+ @api_client.config.logger.debug "API called: QualityApi#post_evaluations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1514
941
  end
1515
942
  return data, status_code, headers
1516
943
  end
@@ -1520,8 +947,8 @@ module PureCloud
1520
947
  # @param [Hash] opts the optional parameters
1521
948
  # @option opts [EvaluationFormAndScoringSet] :body evaluationAndScoringSet
1522
949
  # @return [EvaluationScoringSet]
1523
- def create_evaluations_scoring(opts = {})
1524
- data, status_code, headers = create_evaluations_scoring_with_http_info(opts)
950
+ def post_evaluations_scoring(opts = {})
951
+ data, status_code, headers = post_evaluations_scoring_with_http_info(opts)
1525
952
  return data
1526
953
  end
1527
954
 
@@ -1530,9 +957,9 @@ module PureCloud
1530
957
  # @param [Hash] opts the optional parameters
1531
958
  # @option opts [EvaluationFormAndScoringSet] :body evaluationAndScoringSet
1532
959
  # @return [Array<(EvaluationScoringSet, Fixnum, Hash)>] EvaluationScoringSet data, response status code and response headers
1533
- def create_evaluations_scoring_with_http_info(opts = {})
960
+ def post_evaluations_scoring_with_http_info(opts = {})
1534
961
  if @api_client.config.debugging
1535
- @api_client.config.logger.debug "Calling API: QualityApi#create_evaluations_scoring ..."
962
+ @api_client.config.logger.debug "Calling API: QualityApi#post_evaluations_scoring ..."
1536
963
  end
1537
964
 
1538
965
  # resource path
@@ -1568,7 +995,7 @@ module PureCloud
1568
995
  :auth_names => auth_names,
1569
996
  :return_type => 'EvaluationScoringSet')
1570
997
  if @api_client.config.debugging
1571
- @api_client.config.logger.debug "API called: QualityApi#create_evaluations_scoring\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
998
+ @api_client.config.logger.debug "API called: QualityApi#post_evaluations_scoring\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1572
999
  end
1573
1000
  return data, status_code, headers
1574
1001
  end