purecloud 0.63.1 → 0.64.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.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/ADFS.html.md +1 -1
  5. data/doc_out/AggregationQuery.html.md +1 -1
  6. data/doc_out/AnalyticsConversationSegment.html.md +3 -3
  7. data/doc_out/AnalyticsSession.html.md +2 -2
  8. data/doc_out/AttributesApi.html.md +29 -29
  9. data/doc_out/AuditMessage.html.md +1 -1
  10. data/doc_out/Call.html.md +4 -4
  11. data/doc_out/CallForwarding.html.md +1 -1
  12. data/doc_out/CallMediaParticipant.html.md +6 -6
  13. data/doc_out/Callback.html.md +2 -2
  14. data/doc_out/CallbackMediaParticipant.html.md +4 -4
  15. data/doc_out/Campaign.html.md +1 -1
  16. data/doc_out/CampaignInteraction.html.md +1 -1
  17. data/doc_out/CampaignRule.html.md +2 -2
  18. data/doc_out/CampaignRuleActionEntities.html.md +1 -1
  19. data/doc_out/CampaignSequence.html.md +1 -1
  20. data/doc_out/CertificateDetails.html.md +3 -3
  21. data/doc_out/ChatMediaParticipant.html.md +3 -3
  22. data/doc_out/CobrowseMediaParticipant.html.md +3 -3
  23. data/doc_out/Condition.html.md +1 -1
  24. data/doc_out/ContactSort.html.md +1 -1
  25. data/doc_out/ContentQueryRequest.html.md +1 -1
  26. data/doc_out/ContentSortItem.html.md +1 -1
  27. data/doc_out/ConversationChat.html.md +1 -1
  28. data/doc_out/ConversationsApi.html.md +58 -58
  29. data/doc_out/CustomerInteractionCenter.html.md +1 -1
  30. data/doc_out/DialerContact.html.md +1 -1
  31. data/doc_out/Document.html.md +1 -1
  32. data/doc_out/DocumentAudit.html.md +1 -1
  33. data/doc_out/DocumentUpdate.html.md +1 -1
  34. data/doc_out/DomainCapabilities.html.md +4 -4
  35. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +2 -2
  36. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +2 -2
  37. data/doc_out/DomainLogicalInterface.html.md +3 -3
  38. data/doc_out/DomainNetworkAddress.html.md +1 -1
  39. data/doc_out/DomainNetworkCommandResponse.html.md +1 -1
  40. data/doc_out/DomainNetworkRoute.html.md +1 -1
  41. data/doc_out/DomainOrganizationRole.html.md +3 -3
  42. data/doc_out/DomainOrganizationRoleCreate.html.md +3 -3
  43. data/doc_out/DomainOrganizationRoleUpdate.html.md +3 -3
  44. data/doc_out/DomainPermission.html.md +1 -1
  45. data/doc_out/DomainPermissionPolicy.html.md +1 -1
  46. data/doc_out/DomainPhysicalCapabilities.html.md +2 -2
  47. data/doc_out/Edge.html.md +2 -2
  48. data/doc_out/EdgeAutoUpdateConfig.html.md +2 -2
  49. data/doc_out/EdgeGroup.html.md +1 -1
  50. data/doc_out/EdgeLogsJobRequest.html.md +1 -1
  51. data/doc_out/Email.html.md +1 -1
  52. data/doc_out/EmailMediaParticipant.html.md +3 -3
  53. data/doc_out/Endpoint.html.md +1 -1
  54. data/doc_out/Evaluation.html.md +4 -4
  55. data/doc_out/EvaluationForm.html.md +1 -1
  56. data/doc_out/EvaluationScoringSet.html.md +1 -1
  57. data/doc_out/FaxDocument.html.md +1 -1
  58. data/doc_out/FieldList.html.md +3 -3
  59. data/doc_out/Geolocation.html.md +1 -1
  60. data/doc_out/GeolocationSettings.html.md +1 -1
  61. data/doc_out/GreetingsApi.html.md +50 -50
  62. data/doc_out/Group.html.md +1 -1
  63. data/doc_out/GroupUpdate.html.md +1 -1
  64. data/doc_out/GroupsApi.html.md +68 -68
  65. data/doc_out/HeartBeatRule.html.md +2 -2
  66. data/doc_out/IdentityProviderApi.html.md +22 -22
  67. data/doc_out/InboundDomain.html.md +1 -1
  68. data/doc_out/InitiateScreenRecording.html.md +1 -1
  69. data/doc_out/InteractionStatsAlert.html.md +1 -1
  70. data/doc_out/InteractionStatsRule.html.md +2 -2
  71. data/doc_out/JsonNode.html.md +20 -20
  72. data/doc_out/LineStatus.html.md +1 -1
  73. data/doc_out/LocationDefinition.html.md +1 -1
  74. data/doc_out/MediaParticipantRequest.html.md +5 -5
  75. data/doc_out/MeteredEvaluationAssignment.html.md +1 -1
  76. data/doc_out/OAuthProvider.html.md +1 -1
  77. data/doc_out/Okta.html.md +1 -1
  78. data/doc_out/OneLogin.html.md +1 -1
  79. data/doc_out/OrgMediaUtilization.html.md +1 -1
  80. data/doc_out/Organization.html.md +1 -1
  81. data/doc_out/OrganizationPresence.html.md +2 -2
  82. data/doc_out/OutOfOffice.html.md +1 -1
  83. data/doc_out/OutboundRoute.html.md +2 -2
  84. data/doc_out/Parameter.html.md +1 -1
  85. data/doc_out/Participant.html.md +2 -2
  86. data/doc_out/PhoneCapabilities.html.md +5 -5
  87. data/doc_out/PhoneNumberStatus.html.md +1 -1
  88. data/doc_out/Policy.html.md +1 -1
  89. data/doc_out/PolicyActions.html.md +3 -3
  90. data/doc_out/PolicyCreate.html.md +1 -1
  91. data/doc_out/PresenceApi.html.md +33 -33
  92. data/doc_out/PureCloud.html.md +1 -1
  93. data/doc_out/QueryRequest.html.md +1 -1
  94. data/doc_out/QuestionGroup.html.md +4 -4
  95. data/doc_out/QuestionGroupScore.html.md +1 -1
  96. data/doc_out/QuestionScore.html.md +2 -2
  97. data/doc_out/QueueMember.html.md +1 -1
  98. data/doc_out/RecordingApi.html.md +70 -70
  99. data/doc_out/ReportSchedule.html.md +1 -1
  100. data/doc_out/ResourcePermissionPolicy.html.md +1 -1
  101. data/doc_out/RoutingStatusRule.html.md +2 -2
  102. data/doc_out/Salesforce.html.md +1 -1
  103. data/doc_out/Screenshare.html.md +1 -1
  104. data/doc_out/ScriptsApi.html.md +72 -72
  105. data/doc_out/Site.html.md +1 -1
  106. data/doc_out/SocialExpression.html.md +1 -1
  107. data/doc_out/SortItem.html.md +1 -1
  108. data/doc_out/TagValue.html.md +1 -1
  109. data/doc_out/TimeAllowed.html.md +1 -1
  110. data/doc_out/TimeOffRequest.html.md +2 -2
  111. data/doc_out/TimeOffRequestPatch.html.md +1 -1
  112. data/doc_out/TransferRequest.html.md +1 -1
  113. data/doc_out/Trunk.html.md +1 -1
  114. data/doc_out/TrunkBase.html.md +1 -1
  115. data/doc_out/UnreadStatus.html.md +1 -1
  116. data/doc_out/UserPresence.html.md +1 -1
  117. data/doc_out/UserPresenceRule.html.md +2 -2
  118. data/doc_out/UserQueue.html.md +1 -1
  119. data/doc_out/UserRecording.html.md +1 -1
  120. data/doc_out/UserRecordingsApi.html.md +47 -47
  121. data/doc_out/UserScheduleAdherence.html.md +1 -1
  122. data/doc_out/ValidateAddressResponse.html.md +1 -1
  123. data/doc_out/Video.html.md +3 -3
  124. data/doc_out/VoicemailGroupPolicy.html.md +2 -2
  125. data/doc_out/VoicemailMessage.html.md +2 -2
  126. data/doc_out/VoicemailOrganizationPolicy.html.md +4 -4
  127. data/doc_out/VoicemailUserPolicy.html.md +1 -1
  128. data/doc_out/Workspace.html.md +1 -1
  129. data/doc_out/Wrapup.html.md +1 -1
  130. data/doc_out/index.html.md +3 -3
  131. data/lib/purecloud/api/attributes_api.rb +39 -39
  132. data/lib/purecloud/api/conversations_api.rb +58 -58
  133. data/lib/purecloud/api/greetings_api.rb +67 -67
  134. data/lib/purecloud/api/groups_api.rb +104 -104
  135. data/lib/purecloud/api/identity_provider_api.rb +33 -33
  136. data/lib/purecloud/api/presence_api.rb +46 -46
  137. data/lib/purecloud/api/recording_api.rb +76 -76
  138. data/lib/purecloud/api/scripts_api.rb +87 -87
  139. data/lib/purecloud/api/user_recordings_api.rb +64 -64
  140. data/lib/purecloud/api_client.rb +1 -1
  141. data/lib/purecloud/models/adfs.rb +2 -0
  142. data/lib/purecloud/models/aggregation_query.rb +2 -0
  143. data/lib/purecloud/models/analytics_conversation_segment.rb +6 -0
  144. data/lib/purecloud/models/analytics_session.rb +4 -0
  145. data/lib/purecloud/models/audit_message.rb +2 -0
  146. data/lib/purecloud/models/call.rb +8 -0
  147. data/lib/purecloud/models/call_forwarding.rb +2 -0
  148. data/lib/purecloud/models/call_media_participant.rb +12 -0
  149. data/lib/purecloud/models/callback.rb +4 -0
  150. data/lib/purecloud/models/callback_media_participant.rb +8 -0
  151. data/lib/purecloud/models/campaign.rb +2 -0
  152. data/lib/purecloud/models/campaign_interaction.rb +2 -0
  153. data/lib/purecloud/models/campaign_rule.rb +4 -0
  154. data/lib/purecloud/models/campaign_rule_action_entities.rb +2 -0
  155. data/lib/purecloud/models/campaign_sequence.rb +2 -0
  156. data/lib/purecloud/models/certificate_details.rb +6 -0
  157. data/lib/purecloud/models/chat_media_participant.rb +6 -0
  158. data/lib/purecloud/models/cobrowse_media_participant.rb +6 -0
  159. data/lib/purecloud/models/condition.rb +2 -0
  160. data/lib/purecloud/models/contact_sort.rb +2 -0
  161. data/lib/purecloud/models/content_query_request.rb +2 -0
  162. data/lib/purecloud/models/content_sort_item.rb +2 -0
  163. data/lib/purecloud/models/conversation_chat.rb +2 -0
  164. data/lib/purecloud/models/customer_interaction_center.rb +2 -0
  165. data/lib/purecloud/models/dialer_contact.rb +2 -0
  166. data/lib/purecloud/models/document.rb +2 -0
  167. data/lib/purecloud/models/document_audit.rb +2 -0
  168. data/lib/purecloud/models/document_update.rb +2 -0
  169. data/lib/purecloud/models/domain_capabilities.rb +8 -0
  170. data/lib/purecloud/models/domain_edge_software_update_dto.rb +4 -0
  171. data/lib/purecloud/models/domain_edge_software_version_dto.rb +4 -0
  172. data/lib/purecloud/models/domain_logical_interface.rb +6 -0
  173. data/lib/purecloud/models/domain_network_address.rb +2 -0
  174. data/lib/purecloud/models/domain_network_command_response.rb +2 -0
  175. data/lib/purecloud/models/domain_network_route.rb +2 -0
  176. data/lib/purecloud/models/domain_organization_role.rb +17 -11
  177. data/lib/purecloud/models/domain_organization_role_create.rb +17 -11
  178. data/lib/purecloud/models/domain_organization_role_update.rb +17 -11
  179. data/lib/purecloud/models/domain_permission.rb +2 -0
  180. data/lib/purecloud/models/domain_permission_policy.rb +2 -0
  181. data/lib/purecloud/models/domain_physical_capabilities.rb +4 -0
  182. data/lib/purecloud/models/edge.rb +4 -0
  183. data/lib/purecloud/models/edge_auto_update_config.rb +4 -4
  184. data/lib/purecloud/models/edge_group.rb +2 -0
  185. data/lib/purecloud/models/edge_logs_job_request.rb +2 -0
  186. data/lib/purecloud/models/email.rb +2 -0
  187. data/lib/purecloud/models/email_media_participant.rb +6 -0
  188. data/lib/purecloud/models/endpoint.rb +2 -0
  189. data/lib/purecloud/models/evaluation.rb +8 -0
  190. data/lib/purecloud/models/evaluation_form.rb +2 -0
  191. data/lib/purecloud/models/evaluation_scoring_set.rb +2 -0
  192. data/lib/purecloud/models/fax_document.rb +2 -0
  193. data/lib/purecloud/models/field_list.rb +6 -0
  194. data/lib/purecloud/models/geolocation.rb +2 -0
  195. data/lib/purecloud/models/geolocation_settings.rb +2 -0
  196. data/lib/purecloud/models/group.rb +2 -0
  197. data/lib/purecloud/models/group_update.rb +2 -0
  198. data/lib/purecloud/models/heart_beat_rule.rb +4 -0
  199. data/lib/purecloud/models/inbound_domain.rb +2 -0
  200. data/lib/purecloud/models/initiate_screen_recording.rb +2 -0
  201. data/lib/purecloud/models/interaction_stats_alert.rb +2 -0
  202. data/lib/purecloud/models/interaction_stats_rule.rb +4 -0
  203. data/lib/purecloud/models/json_node.rb +64 -24
  204. data/lib/purecloud/models/line_status.rb +2 -0
  205. data/lib/purecloud/models/location_definition.rb +2 -0
  206. data/lib/purecloud/models/media_participant_request.rb +10 -0
  207. data/lib/purecloud/models/metered_evaluation_assignment.rb +2 -0
  208. data/lib/purecloud/models/o_auth_provider.rb +2 -0
  209. data/lib/purecloud/models/okta.rb +2 -0
  210. data/lib/purecloud/models/one_login.rb +2 -0
  211. data/lib/purecloud/models/org_media_utilization.rb +2 -0
  212. data/lib/purecloud/models/organization.rb +2 -0
  213. data/lib/purecloud/models/organization_presence.rb +4 -0
  214. data/lib/purecloud/models/out_of_office.rb +2 -0
  215. data/lib/purecloud/models/outbound_route.rb +4 -0
  216. data/lib/purecloud/models/parameter.rb +2 -0
  217. data/lib/purecloud/models/participant.rb +4 -0
  218. data/lib/purecloud/models/phone_capabilities.rb +10 -0
  219. data/lib/purecloud/models/phone_number_status.rb +2 -0
  220. data/lib/purecloud/models/policy.rb +2 -0
  221. data/lib/purecloud/models/policy_actions.rb +6 -0
  222. data/lib/purecloud/models/policy_create.rb +2 -0
  223. data/lib/purecloud/models/pure_cloud.rb +2 -0
  224. data/lib/purecloud/models/query_request.rb +2 -0
  225. data/lib/purecloud/models/question_group.rb +8 -0
  226. data/lib/purecloud/models/question_group_score.rb +2 -0
  227. data/lib/purecloud/models/question_score.rb +4 -0
  228. data/lib/purecloud/models/queue_member.rb +2 -0
  229. data/lib/purecloud/models/report_schedule.rb +2 -0
  230. data/lib/purecloud/models/resource_permission_policy.rb +2 -0
  231. data/lib/purecloud/models/routing_status_rule.rb +4 -0
  232. data/lib/purecloud/models/salesforce.rb +2 -0
  233. data/lib/purecloud/models/screenshare.rb +2 -0
  234. data/lib/purecloud/models/site.rb +2 -0
  235. data/lib/purecloud/models/social_expression.rb +2 -0
  236. data/lib/purecloud/models/sort_item.rb +2 -0
  237. data/lib/purecloud/models/tag_value.rb +2 -0
  238. data/lib/purecloud/models/time_allowed.rb +2 -0
  239. data/lib/purecloud/models/time_off_request.rb +4 -0
  240. data/lib/purecloud/models/time_off_request_patch.rb +2 -0
  241. data/lib/purecloud/models/transfer_request.rb +2 -0
  242. data/lib/purecloud/models/trunk.rb +2 -0
  243. data/lib/purecloud/models/trunk_base.rb +2 -0
  244. data/lib/purecloud/models/unread_status.rb +2 -0
  245. data/lib/purecloud/models/user_presence.rb +2 -0
  246. data/lib/purecloud/models/user_presence_rule.rb +4 -0
  247. data/lib/purecloud/models/user_queue.rb +2 -0
  248. data/lib/purecloud/models/user_recording.rb +2 -0
  249. data/lib/purecloud/models/user_schedule_adherence.rb +2 -0
  250. data/lib/purecloud/models/validate_address_response.rb +2 -0
  251. data/lib/purecloud/models/video.rb +6 -0
  252. data/lib/purecloud/models/voicemail_group_policy.rb +4 -0
  253. data/lib/purecloud/models/voicemail_message.rb +4 -0
  254. data/lib/purecloud/models/voicemail_organization_policy.rb +8 -0
  255. data/lib/purecloud/models/voicemail_user_policy.rb +2 -0
  256. data/lib/purecloud/models/workspace.rb +2 -0
  257. data/lib/purecloud/models/wrapup.rb +2 -0
  258. data/lib/purecloud/version.rb +1 -1
  259. data/newVersion.md +1 -1
  260. data/swagger.json +1 -1
  261. data/version.json +1 -1
  262. metadata +2 -2
@@ -274,82 +274,6 @@ module PureCloud
274
274
  return data, status_code, headers
275
275
  end
276
276
 
277
- # Gets all orphan recordings
278
- #
279
- # @param [Hash] opts the optional parameters
280
- # @option opts [Integer] :page_size The total page size requested (default to 25)
281
- # @option opts [Integer] :page_number The page number requested (default to 1)
282
- # @option opts [String] :sort_by variable name requested to sort by
283
- # @option opts [Array<Object>] :expand variable name requested by expand list
284
- # @option opts [String] :next_page next page token
285
- # @option opts [String] :previous_page Previous page token
286
- # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
287
- # @return [OrphanRecordingListing]
288
- def get(opts = {})
289
- data, status_code, headers = get_with_http_info(opts)
290
- return data
291
- end
292
-
293
- # Gets all orphan recordings
294
- #
295
- # @param [Hash] opts the optional parameters
296
- # @option opts [Integer] :page_size The total page size requested
297
- # @option opts [Integer] :page_number The page number requested
298
- # @option opts [String] :sort_by variable name requested to sort by
299
- # @option opts [Array<Object>] :expand variable name requested by expand list
300
- # @option opts [String] :next_page next page token
301
- # @option opts [String] :previous_page Previous page token
302
- # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
303
- # @return [Array<(OrphanRecordingListing, Fixnum, Hash)>] OrphanRecordingListing data, response status code and response headers
304
- def get_with_http_info(opts = {})
305
- if @api_client.config.debugging
306
- @api_client.config.logger.debug "Calling API: RecordingApi#get ..."
307
- end
308
-
309
- # resource path
310
- local_var_path = "/api/v2/orphanrecordings".sub('{format}','json')
311
-
312
- # query parameters
313
- query_params = {}
314
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
315
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
316
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
317
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
318
- query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
319
- query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
320
- query_params[:'hasConversation'] = opts[:'has_conversation'] if opts[:'has_conversation']
321
-
322
- # header parameters
323
- header_params = {}
324
-
325
- # HTTP header 'Accept' (if needed)
326
- _header_accept = ['application/json']
327
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
328
-
329
- # HTTP header 'Content-Type'
330
- _header_content_type = ['application/json']
331
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
332
-
333
- # form parameters
334
- form_params = {}
335
-
336
- # http body (model)
337
- post_body = nil
338
-
339
- auth_names = ['PureCloud Auth']
340
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
341
- :header_params => header_params,
342
- :query_params => query_params,
343
- :form_params => form_params,
344
- :body => post_body,
345
- :auth_names => auth_names,
346
- :return_type => 'OrphanRecordingListing')
347
- if @api_client.config.debugging
348
- @api_client.config.logger.debug "API called: RecordingApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
- end
350
- return data, status_code, headers
351
- end
352
-
353
277
  # Get all of a Conversation's Recordings.
354
278
  #
355
279
  # @param conversation_id Conversation ID
@@ -1026,6 +950,82 @@ module PureCloud
1026
950
  return data, status_code, headers
1027
951
  end
1028
952
 
953
+ # Gets all orphan recordings
954
+ #
955
+ # @param [Hash] opts the optional parameters
956
+ # @option opts [Integer] :page_size The total page size requested (default to 25)
957
+ # @option opts [Integer] :page_number The page number requested (default to 1)
958
+ # @option opts [String] :sort_by variable name requested to sort by
959
+ # @option opts [Array<Object>] :expand variable name requested by expand list
960
+ # @option opts [String] :next_page next page token
961
+ # @option opts [String] :previous_page Previous page token
962
+ # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
963
+ # @return [OrphanRecordingListing]
964
+ def get_orphanrecordings(opts = {})
965
+ data, status_code, headers = get_orphanrecordings_with_http_info(opts)
966
+ return data
967
+ end
968
+
969
+ # Gets all orphan recordings
970
+ #
971
+ # @param [Hash] opts the optional parameters
972
+ # @option opts [Integer] :page_size The total page size requested
973
+ # @option opts [Integer] :page_number The page number requested
974
+ # @option opts [String] :sort_by variable name requested to sort by
975
+ # @option opts [Array<Object>] :expand variable name requested by expand list
976
+ # @option opts [String] :next_page next page token
977
+ # @option opts [String] :previous_page Previous page token
978
+ # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
979
+ # @return [Array<(OrphanRecordingListing, Fixnum, Hash)>] OrphanRecordingListing data, response status code and response headers
980
+ def get_orphanrecordings_with_http_info(opts = {})
981
+ if @api_client.config.debugging
982
+ @api_client.config.logger.debug "Calling API: RecordingApi#get_orphanrecordings ..."
983
+ end
984
+
985
+ # resource path
986
+ local_var_path = "/api/v2/orphanrecordings".sub('{format}','json')
987
+
988
+ # query parameters
989
+ query_params = {}
990
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
991
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
992
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
993
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
994
+ query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
995
+ query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
996
+ query_params[:'hasConversation'] = opts[:'has_conversation'] if opts[:'has_conversation']
997
+
998
+ # header parameters
999
+ header_params = {}
1000
+
1001
+ # HTTP header 'Accept' (if needed)
1002
+ _header_accept = ['application/json']
1003
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
1004
+
1005
+ # HTTP header 'Content-Type'
1006
+ _header_content_type = ['application/json']
1007
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
1008
+
1009
+ # form parameters
1010
+ form_params = {}
1011
+
1012
+ # http body (model)
1013
+ post_body = nil
1014
+
1015
+ auth_names = ['PureCloud Auth']
1016
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1017
+ :header_params => header_params,
1018
+ :query_params => query_params,
1019
+ :form_params => form_params,
1020
+ :body => post_body,
1021
+ :auth_names => auth_names,
1022
+ :return_type => 'OrphanRecordingListing')
1023
+ if @api_client.config.debugging
1024
+ @api_client.config.logger.debug "API called: RecordingApi#get_orphanrecordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1025
+ end
1026
+ return data, status_code, headers
1027
+ end
1028
+
1029
1029
  # Get encryption key list
1030
1030
  #
1031
1031
  # @param [Hash] opts the optional parameters
@@ -24,93 +24,6 @@ module PureCloud
24
24
  @api_client = api_client
25
25
  end
26
26
 
27
- # Get the list of scripts
28
- #
29
- # @param [Hash] opts the optional parameters
30
- # @option opts [Integer] :page_size Page size (default to 25)
31
- # @option opts [Integer] :page_number Page number (default to 1)
32
- # @option opts [String] :expand Expand
33
- # @option opts [String] :name Name filter
34
- # @option opts [String] :feature Feature filter
35
- # @option opts [String] :flow_id Secure flow id filter
36
- # @option opts [String] :sort_by SortBy
37
- # @option opts [String] :sort_order SortOrder
38
- # @return [ScriptEntityListing]
39
- def get(opts = {})
40
- data, status_code, headers = get_with_http_info(opts)
41
- return data
42
- end
43
-
44
- # Get the list of scripts
45
- #
46
- # @param [Hash] opts the optional parameters
47
- # @option opts [Integer] :page_size Page size
48
- # @option opts [Integer] :page_number Page number
49
- # @option opts [String] :expand Expand
50
- # @option opts [String] :name Name filter
51
- # @option opts [String] :feature Feature filter
52
- # @option opts [String] :flow_id Secure flow id filter
53
- # @option opts [String] :sort_by SortBy
54
- # @option opts [String] :sort_order SortOrder
55
- # @return [Array<(ScriptEntityListing, Fixnum, Hash)>] ScriptEntityListing data, response status code and response headers
56
- def get_with_http_info(opts = {})
57
- if @api_client.config.debugging
58
- @api_client.config.logger.debug "Calling API: ScriptsApi#get ..."
59
- end
60
-
61
- if opts[:'sort_by'] && !['modifiedDate', 'createdDate'].include?(opts[:'sort_by'])
62
- fail 'invalid value for "sort_by", must be one of modifiedDate, createdDate'
63
- end
64
-
65
- if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
66
- fail 'invalid value for "sort_order", must be one of ascending, descending'
67
- end
68
-
69
- # resource path
70
- local_var_path = "/api/v2/scripts".sub('{format}','json')
71
-
72
- # query parameters
73
- query_params = {}
74
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
75
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
76
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
77
- query_params[:'name'] = opts[:'name'] if opts[:'name']
78
- query_params[:'feature'] = opts[:'feature'] if opts[:'feature']
79
- query_params[:'flowId'] = opts[:'flow_id'] if opts[:'flow_id']
80
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
81
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
82
-
83
- # header parameters
84
- header_params = {}
85
-
86
- # HTTP header 'Accept' (if needed)
87
- _header_accept = ['application/json']
88
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
89
-
90
- # HTTP header 'Content-Type'
91
- _header_content_type = ['application/json']
92
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
93
-
94
- # form parameters
95
- form_params = {}
96
-
97
- # http body (model)
98
- post_body = nil
99
-
100
- auth_names = ['PureCloud Auth']
101
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
102
- :header_params => header_params,
103
- :query_params => query_params,
104
- :form_params => form_params,
105
- :body => post_body,
106
- :auth_names => auth_names,
107
- :return_type => 'ScriptEntityListing')
108
- if @api_client.config.debugging
109
- @api_client.config.logger.debug "API called: ScriptsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
110
- end
111
- return data, status_code, headers
112
- end
113
-
114
27
  # Get the published scripts.
115
28
  #
116
29
  # @param [Hash] opts the optional parameters
@@ -613,5 +526,92 @@ module PureCloud
613
526
  end
614
527
  return data, status_code, headers
615
528
  end
529
+
530
+ # Get the list of scripts
531
+ #
532
+ # @param [Hash] opts the optional parameters
533
+ # @option opts [Integer] :page_size Page size (default to 25)
534
+ # @option opts [Integer] :page_number Page number (default to 1)
535
+ # @option opts [String] :expand Expand
536
+ # @option opts [String] :name Name filter
537
+ # @option opts [String] :feature Feature filter
538
+ # @option opts [String] :flow_id Secure flow id filter
539
+ # @option opts [String] :sort_by SortBy
540
+ # @option opts [String] :sort_order SortOrder
541
+ # @return [ScriptEntityListing]
542
+ def get_scripts(opts = {})
543
+ data, status_code, headers = get_scripts_with_http_info(opts)
544
+ return data
545
+ end
546
+
547
+ # Get the list of scripts
548
+ #
549
+ # @param [Hash] opts the optional parameters
550
+ # @option opts [Integer] :page_size Page size
551
+ # @option opts [Integer] :page_number Page number
552
+ # @option opts [String] :expand Expand
553
+ # @option opts [String] :name Name filter
554
+ # @option opts [String] :feature Feature filter
555
+ # @option opts [String] :flow_id Secure flow id filter
556
+ # @option opts [String] :sort_by SortBy
557
+ # @option opts [String] :sort_order SortOrder
558
+ # @return [Array<(ScriptEntityListing, Fixnum, Hash)>] ScriptEntityListing data, response status code and response headers
559
+ def get_scripts_with_http_info(opts = {})
560
+ if @api_client.config.debugging
561
+ @api_client.config.logger.debug "Calling API: ScriptsApi#get_scripts ..."
562
+ end
563
+
564
+ if opts[:'sort_by'] && !['modifiedDate', 'createdDate'].include?(opts[:'sort_by'])
565
+ fail 'invalid value for "sort_by", must be one of modifiedDate, createdDate'
566
+ end
567
+
568
+ if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
569
+ fail 'invalid value for "sort_order", must be one of ascending, descending'
570
+ end
571
+
572
+ # resource path
573
+ local_var_path = "/api/v2/scripts".sub('{format}','json')
574
+
575
+ # query parameters
576
+ query_params = {}
577
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
578
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
579
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
580
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
581
+ query_params[:'feature'] = opts[:'feature'] if opts[:'feature']
582
+ query_params[:'flowId'] = opts[:'flow_id'] if opts[:'flow_id']
583
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
584
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
585
+
586
+ # header parameters
587
+ header_params = {}
588
+
589
+ # HTTP header 'Accept' (if needed)
590
+ _header_accept = ['application/json']
591
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
592
+
593
+ # HTTP header 'Content-Type'
594
+ _header_content_type = ['application/json']
595
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
596
+
597
+ # form parameters
598
+ form_params = {}
599
+
600
+ # http body (model)
601
+ post_body = nil
602
+
603
+ auth_names = ['PureCloud Auth']
604
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
605
+ :header_params => header_params,
606
+ :query_params => query_params,
607
+ :form_params => form_params,
608
+ :body => post_body,
609
+ :auth_names => auth_names,
610
+ :return_type => 'ScriptEntityListing')
611
+ if @api_client.config.debugging
612
+ @api_client.config.logger.debug "API called: ScriptsApi#get_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
613
+ end
614
+ return data, status_code, headers
615
+ end
616
616
  end
617
617
  end
@@ -83,70 +83,6 @@ module PureCloud
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Get a list of user recordings.
87
- #
88
- # @param [Hash] opts the optional parameters
89
- # @option opts [Integer] :page_size Page size (default to 25)
90
- # @option opts [Integer] :page_number Page number (default to 1)
91
- # @option opts [Array<String>] :expand Which fields, if any, to expand.
92
- # @return [UserRecordingEntityListing]
93
- def get(opts = {})
94
- data, status_code, headers = get_with_http_info(opts)
95
- return data
96
- end
97
-
98
- # Get a list of user recordings.
99
- #
100
- # @param [Hash] opts the optional parameters
101
- # @option opts [Integer] :page_size Page size
102
- # @option opts [Integer] :page_number Page number
103
- # @option opts [Array<String>] :expand Which fields, if any, to expand.
104
- # @return [Array<(UserRecordingEntityListing, Fixnum, Hash)>] UserRecordingEntityListing data, response status code and response headers
105
- def get_with_http_info(opts = {})
106
- if @api_client.config.debugging
107
- @api_client.config.logger.debug "Calling API: UserRecordingsApi#get ..."
108
- end
109
-
110
- # resource path
111
- local_var_path = "/api/v2/userrecordings".sub('{format}','json')
112
-
113
- # query parameters
114
- query_params = {}
115
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
116
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
117
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
118
-
119
- # header parameters
120
- header_params = {}
121
-
122
- # HTTP header 'Accept' (if needed)
123
- _header_accept = ['application/json']
124
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
125
-
126
- # HTTP header 'Content-Type'
127
- _header_content_type = ['application/json']
128
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
129
-
130
- # form parameters
131
- form_params = {}
132
-
133
- # http body (model)
134
- post_body = nil
135
-
136
- auth_names = ['PureCloud Auth']
137
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
138
- :header_params => header_params,
139
- :query_params => query_params,
140
- :form_params => form_params,
141
- :body => post_body,
142
- :auth_names => auth_names,
143
- :return_type => 'UserRecordingEntityListing')
144
- if @api_client.config.debugging
145
- @api_client.config.logger.debug "API called: UserRecordingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
146
- end
147
- return data, status_code, headers
148
- end
149
-
150
86
  # Get a user recording.
151
87
  #
152
88
  # @param recording_id User Recording ID
@@ -332,6 +268,70 @@ module PureCloud
332
268
  return data, status_code, headers
333
269
  end
334
270
 
271
+ # Get a list of user recordings.
272
+ #
273
+ # @param [Hash] opts the optional parameters
274
+ # @option opts [Integer] :page_size Page size (default to 25)
275
+ # @option opts [Integer] :page_number Page number (default to 1)
276
+ # @option opts [Array<String>] :expand Which fields, if any, to expand.
277
+ # @return [UserRecordingEntityListing]
278
+ def get_userrecordings(opts = {})
279
+ data, status_code, headers = get_userrecordings_with_http_info(opts)
280
+ return data
281
+ end
282
+
283
+ # Get a list of user recordings.
284
+ #
285
+ # @param [Hash] opts the optional parameters
286
+ # @option opts [Integer] :page_size Page size
287
+ # @option opts [Integer] :page_number Page number
288
+ # @option opts [Array<String>] :expand Which fields, if any, to expand.
289
+ # @return [Array<(UserRecordingEntityListing, Fixnum, Hash)>] UserRecordingEntityListing data, response status code and response headers
290
+ def get_userrecordings_with_http_info(opts = {})
291
+ if @api_client.config.debugging
292
+ @api_client.config.logger.debug "Calling API: UserRecordingsApi#get_userrecordings ..."
293
+ end
294
+
295
+ # resource path
296
+ local_var_path = "/api/v2/userrecordings".sub('{format}','json')
297
+
298
+ # query parameters
299
+ query_params = {}
300
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
301
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
302
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
303
+
304
+ # header parameters
305
+ header_params = {}
306
+
307
+ # HTTP header 'Accept' (if needed)
308
+ _header_accept = ['application/json']
309
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
310
+
311
+ # HTTP header 'Content-Type'
312
+ _header_content_type = ['application/json']
313
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
314
+
315
+ # form parameters
316
+ form_params = {}
317
+
318
+ # http body (model)
319
+ post_body = nil
320
+
321
+ auth_names = ['PureCloud Auth']
322
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
323
+ :header_params => header_params,
324
+ :query_params => query_params,
325
+ :form_params => form_params,
326
+ :body => post_body,
327
+ :auth_names => auth_names,
328
+ :return_type => 'UserRecordingEntityListing')
329
+ if @api_client.config.debugging
330
+ @api_client.config.logger.debug "API called: UserRecordingsApi#get_userrecordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
331
+ end
332
+ return data, status_code, headers
333
+ end
334
+
335
335
  # Update a user recording.
336
336
  #
337
337
  # @param recording_id User Recording ID