purecloud 0.28.0 → 0.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (294) hide show
  1. checksums.yaml +4 -4
  2. data/config-ruby.json +1 -1
  3. data/lib/purecloud.rb +119 -110
  4. data/lib/purecloud/api/alerting_api.rb +609 -0
  5. data/lib/purecloud/api/analytics_api.rb +0 -618
  6. data/lib/purecloud/api/authorization_api.rb +32 -26
  7. data/lib/purecloud/api/callbacks_api.rb +5 -5
  8. data/lib/purecloud/api/calls_api.rb +5 -5
  9. data/lib/purecloud/api/chats_api.rb +5 -5
  10. data/lib/purecloud/api/configuration_api.rb +325 -4514
  11. data/lib/purecloud/api/conversations_api.rb +30 -157
  12. data/lib/purecloud/api/emails_api.rb +5 -5
  13. data/lib/purecloud/api/groups_api.rb +120 -0
  14. data/lib/purecloud/api/integrations_api.rb +6 -0
  15. data/lib/purecloud/api/integrations_workforce_management_api.rb +73 -0
  16. data/lib/purecloud/api/languages_api.rb +181 -0
  17. data/lib/purecloud/api/organization_api.rb +243 -0
  18. data/lib/purecloud/api/outbound_api.rb +13 -380
  19. data/lib/purecloud/api/presence_api.rb +20 -222
  20. data/lib/purecloud/api/quality_api.rb +30 -0
  21. data/lib/purecloud/api/recording_api.rb +12 -0
  22. data/lib/purecloud/api/routing_api.rb +211 -8
  23. data/lib/purecloud/api/scripts_api.rb +8 -2
  24. data/lib/purecloud/api/search_api.rb +315 -13
  25. data/lib/purecloud/api/socials_api.rb +5 -5
  26. data/lib/purecloud/api/telephony_providers_edge_api.rb +4594 -698
  27. data/lib/purecloud/api/users_api.rb +303 -44
  28. data/lib/purecloud/api/utilities_api.rb +0 -58
  29. data/lib/purecloud/api/videos_api.rb +5 -5
  30. data/lib/purecloud/models/address.rb +49 -51
  31. data/lib/purecloud/models/address_listing.rb +12 -12
  32. data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
  33. data/lib/purecloud/models/{analytics_segment.rb → analytics_conversation_segment.rb} +8 -8
  34. data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
  35. data/lib/purecloud/models/analytics_session.rb +1 -1
  36. data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
  37. data/lib/purecloud/models/{primary_user_presence_source.rb → audit_entity.rb} +12 -24
  38. data/lib/purecloud/models/{facet.rb → audit_facet.rb} +1 -1
  39. data/lib/purecloud/models/audit_filter.rb +178 -0
  40. data/lib/purecloud/models/audit_message.rb +2 -2
  41. data/lib/purecloud/models/{facet_group.rb → audit_user.rb} +18 -20
  42. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +11 -11
  43. data/lib/purecloud/models/available_additional_service_listing.rb +11 -11
  44. data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
  45. data/lib/purecloud/models/{chat_search_item.rb → billing_address.rb} +37 -27
  46. data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
  47. data/lib/purecloud/models/call.rb +16 -4
  48. data/lib/purecloud/models/call_conversation.rb +1 -1
  49. data/lib/purecloud/models/{chat_search_listing.rb → call_conversation_entity_listing.rb} +13 -13
  50. data/lib/purecloud/models/{call_participant.rb → call_media_participant.rb} +1 -1
  51. data/lib/purecloud/models/callable_time.rb +1 -1
  52. data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
  53. data/lib/purecloud/models/callback_conversation.rb +1 -1
  54. data/lib/purecloud/models/callback_conversation_entity_listing.rb +238 -0
  55. data/lib/purecloud/models/{callback_participant.rb → callback_media_participant.rb} +1 -1
  56. data/lib/purecloud/models/campaign.rb +219 -17
  57. data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
  58. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
  59. data/lib/purecloud/models/{facet_item.rb → campaign_time_slot.rb} +20 -20
  60. data/lib/purecloud/models/carrier_entity_listing.rb +11 -11
  61. data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
  62. data/lib/purecloud/models/change.rb +1 -1
  63. data/lib/purecloud/models/channel_entity_listing.rb +11 -11
  64. data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
  65. data/lib/purecloud/models/chat_conversation.rb +1 -1
  66. data/lib/purecloud/models/{rule_entity_listing.rb → chat_conversation_entity_listing.rb} +13 -13
  67. data/lib/purecloud/models/{chat_participant.rb → chat_media_participant.rb} +1 -1
  68. data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
  69. data/lib/purecloud/models/common_audit_request.rb +2 -2
  70. data/lib/purecloud/models/{template.rb → composer_template.rb} +2 -2
  71. data/lib/purecloud/models/consumed_resources_entity_listing.rb +11 -11
  72. data/lib/purecloud/models/consuming_resources_entity_listing.rb +11 -11
  73. data/lib/purecloud/models/{client_transform_model.rb → contact_address.rb} +42 -36
  74. data/lib/purecloud/models/contact_list.rb +111 -1
  75. data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
  76. data/lib/purecloud/models/contact_listing.rb +11 -11
  77. data/lib/purecloud/models/{dialer_disposition_call_command.rb → contact_phone_number_column.rb} +20 -20
  78. data/lib/purecloud/models/{facet_filter_item.rb → content_filter_item.rb} +1 -1
  79. data/lib/purecloud/models/{transform_progress.rb → conversation_chat.rb} +91 -82
  80. data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
  81. data/lib/purecloud/models/create_share_request.rb +2 -2
  82. data/lib/purecloud/models/create_share_request_member.rb +1 -1
  83. data/lib/purecloud/models/customer_account.rb +1 -1
  84. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +11 -11
  85. data/lib/purecloud/models/dependency_object_entity_listing.rb +11 -11
  86. data/lib/purecloud/models/dependency_type_entity_listing.rb +11 -11
  87. data/lib/purecloud/models/{action.rb → dialer_action.rb} +1 -1
  88. data/lib/purecloud/models/dialer_audit_request.rb +2 -2
  89. data/lib/purecloud/models/{transform_model.rb → dialer_contact.rb} +42 -28
  90. data/lib/purecloud/models/{rule.rb → dialer_rule.rb} +2 -2
  91. data/lib/purecloud/models/did.rb +1 -1
  92. data/lib/purecloud/models/did_entity_listing.rb +11 -11
  93. data/lib/purecloud/models/did_pool.rb +1 -1
  94. data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
  95. data/lib/purecloud/models/{metric_threshold.rb → disconnect_reason.rb} +29 -19
  96. data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
  97. data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
  98. data/lib/purecloud/models/document_entity_listing.rb +11 -11
  99. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +11 -11
  100. data/lib/purecloud/models/domain_certificate_authority.rb +1 -1
  101. data/lib/purecloud/models/domain_entity_listing.rb +11 -11
  102. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
  103. data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
  104. data/lib/purecloud/models/domain_invoice_entity_listing.rb +11 -11
  105. data/lib/purecloud/models/domain_logical_interface.rb +28 -2
  106. data/lib/purecloud/models/{dialer_place_call_command.rb → domain_role.rb} +16 -14
  107. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +11 -11
  108. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +11 -11
  109. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +11 -11
  110. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +11 -11
  111. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +11 -11
  112. data/lib/purecloud/models/edge.rb +1 -1
  113. data/lib/purecloud/models/edge_entity_listing.rb +11 -11
  114. data/lib/purecloud/models/edge_group.rb +1 -1
  115. data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
  116. data/lib/purecloud/models/edge_line.rb +1 -1
  117. data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
  118. data/lib/purecloud/models/email_conversation.rb +1 -1
  119. data/lib/purecloud/models/{user_presence_entity_listing.rb → email_conversation_entity_listing.rb} +13 -13
  120. data/lib/purecloud/models/{email_participant.rb → email_media_participant.rb} +1 -1
  121. data/lib/purecloud/models/email_message.rb +56 -26
  122. data/lib/purecloud/models/email_message_listing.rb +11 -11
  123. data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
  124. data/lib/purecloud/models/endpoint.rb +2 -2
  125. data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
  126. data/lib/purecloud/models/entity.rb +20 -10
  127. data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
  128. data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
  129. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
  130. data/lib/purecloud/models/extension.rb +1 -1
  131. data/lib/purecloud/models/extension_entity_listing.rb +11 -11
  132. data/lib/purecloud/models/extension_pool.rb +1 -1
  133. data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
  134. data/lib/purecloud/models/external_contact.rb +1 -1
  135. data/lib/purecloud/models/external_organization.rb +1 -1
  136. data/lib/purecloud/models/external_organization_listing.rb +11 -11
  137. data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
  138. data/lib/purecloud/models/flow_body.rb +1 -1
  139. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +11 -11
  140. data/lib/purecloud/models/flow_entity_listing.rb +11 -11
  141. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +11 -11
  142. data/lib/purecloud/models/flow_search_request.rb +222 -0
  143. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +11 -11
  144. data/lib/purecloud/models/flow_version_entity_listing.rb +11 -11
  145. data/lib/purecloud/models/group.rb +42 -36
  146. data/lib/purecloud/models/group_entity_listing.rb +11 -11
  147. data/lib/purecloud/models/groups_search_response.rb +230 -0
  148. data/lib/purecloud/models/hardware_rate_listing.rb +11 -11
  149. data/lib/purecloud/models/health_check_info.rb +1 -31
  150. data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
  151. data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
  152. data/lib/purecloud/models/integration_type_entity_listing.rb +11 -11
  153. data/lib/purecloud/models/interaction_stats_alert.rb +373 -0
  154. data/lib/purecloud/models/interaction_stats_alert_container.rb +238 -0
  155. data/lib/purecloud/models/{alert.rb → interaction_stats_rule.rb} +111 -80
  156. data/lib/purecloud/models/interaction_stats_rule_container.rb +238 -0
  157. data/lib/purecloud/models/ivr.rb +1 -1
  158. data/lib/purecloud/models/ivr_entity_listing.rb +11 -11
  159. data/lib/purecloud/models/json_node.rb +395 -0
  160. data/lib/purecloud/models/json_node_search_response.rb +228 -0
  161. data/lib/purecloud/models/language_entity_listing.rb +11 -11
  162. data/lib/purecloud/models/library_entity_listing.rb +11 -11
  163. data/lib/purecloud/models/line.rb +2 -2
  164. data/lib/purecloud/models/line_base.rb +1 -1
  165. data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
  166. data/lib/purecloud/models/line_entity_listing.rb +11 -11
  167. data/lib/purecloud/models/{body_1.rb → line_properties.rb} +1 -1
  168. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +11 -11
  169. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +11 -11
  170. data/lib/purecloud/models/location_entity_listing.rb +11 -11
  171. data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
  172. data/lib/purecloud/models/media_participant_request.rb +232 -0
  173. data/lib/purecloud/models/{inline_response_200.rb → member_entity.rb} +13 -3
  174. data/lib/purecloud/models/note_listing.rb +11 -11
  175. data/lib/purecloud/models/number_plan.rb +1 -1
  176. data/lib/purecloud/models/o_auth_client.rb +1 -1
  177. data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
  178. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
  179. data/lib/purecloud/models/organization.rb +2 -22
  180. data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
  181. data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
  182. data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
  183. data/lib/purecloud/models/outbound_route.rb +1 -1
  184. data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
  185. data/lib/purecloud/models/page.rb +2 -2
  186. data/lib/purecloud/models/participant.rb +1 -1
  187. data/lib/purecloud/models/participant_request.rb +7 -0
  188. data/lib/purecloud/models/payment_method_listing.rb +11 -11
  189. data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
  190. data/lib/purecloud/models/phone.rb +2 -2
  191. data/lib/purecloud/models/phone_base.rb +1 -1
  192. data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
  193. data/lib/purecloud/models/phone_entity_listing.rb +11 -11
  194. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
  195. data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
  196. data/lib/purecloud/models/policy_entity_listing.rb +11 -11
  197. data/lib/purecloud/models/prompt_asset.rb +25 -1
  198. data/lib/purecloud/models/prompt_asset_entity_listing.rb +11 -11
  199. data/lib/purecloud/models/prompt_entity_listing.rb +11 -11
  200. data/lib/purecloud/models/quality_audit_page.rb +11 -11
  201. data/lib/purecloud/models/query_request.rb +1 -1
  202. data/lib/purecloud/models/queue.rb +1 -1
  203. data/lib/purecloud/models/queue_entity_listing.rb +11 -11
  204. data/lib/purecloud/models/queues_entity_listing.rb +11 -11
  205. data/lib/purecloud/models/quote_charge.rb +1 -1
  206. data/lib/purecloud/models/quote_listing.rb +11 -11
  207. data/lib/purecloud/models/recording.rb +13 -2
  208. data/lib/purecloud/models/{preview.rb → recording_email_message.rb} +72 -57
  209. data/lib/purecloud/models/relationship_listing.rb +11 -11
  210. data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
  211. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
  212. data/lib/purecloud/models/report_schedule.rb +1 -1
  213. data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
  214. data/lib/purecloud/models/resource_permission_policy.rb +1 -11
  215. data/lib/purecloud/models/response.rb +84 -14
  216. data/lib/purecloud/models/response_entity_list.rb +11 -11
  217. data/lib/purecloud/models/response_entity_listing.rb +11 -11
  218. data/lib/purecloud/models/{filter.rb → response_filter.rb} +1 -1
  219. data/lib/purecloud/models/response_query_request.rb +1 -1
  220. data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
  221. data/lib/purecloud/models/rule_set.rb +1 -1
  222. data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
  223. data/lib/purecloud/models/schedule.rb +1 -1
  224. data/lib/purecloud/models/schedule_entity_listing.rb +11 -11
  225. data/lib/purecloud/models/schedule_group.rb +1 -1
  226. data/lib/purecloud/models/schedule_group_entity_listing.rb +11 -11
  227. data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
  228. data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
  229. data/lib/purecloud/models/script_entity_listing.rb +11 -11
  230. data/lib/purecloud/models/{occurrence.rb → search_aggregation.rb} +19 -9
  231. data/lib/purecloud/models/{conversation_historical_query_request_filter.rb → search_criteria.rb} +83 -24
  232. data/lib/purecloud/models/search_request.rb +73 -50
  233. data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
  234. data/lib/purecloud/models/service_entity_listing.rb +11 -11
  235. data/lib/purecloud/models/share_entity_listing.rb +11 -11
  236. data/lib/purecloud/models/{group_images.rb → shared_entity.rb} +8 -10
  237. data/lib/purecloud/models/site.rb +1 -1
  238. data/lib/purecloud/models/site_entity_listing.rb +11 -11
  239. data/lib/purecloud/models/skill_entity_listing.rb +11 -11
  240. data/lib/purecloud/models/social_conversation.rb +1 -1
  241. data/lib/purecloud/models/social_conversation_entity_listing.rb +238 -0
  242. data/lib/purecloud/models/{social_participant.rb → social_media_participant.rb} +1 -1
  243. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +11 -11
  244. data/lib/purecloud/models/station.rb +11 -1
  245. data/lib/purecloud/models/station_entity_listing.rb +11 -11
  246. data/lib/purecloud/models/{facets.rb → subscriber_response.rb} +16 -16
  247. data/lib/purecloud/models/system_prompt_asset.rb +25 -1
  248. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +11 -11
  249. data/lib/purecloud/models/system_prompt_entity_listing.rb +11 -11
  250. data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
  251. data/lib/purecloud/models/template_entity_listing.rb +12 -12
  252. data/lib/purecloud/models/text_table_transform_entity_listing.rb +11 -11
  253. data/lib/purecloud/models/time_slot.rb +3 -0
  254. data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
  255. data/lib/purecloud/models/trunk_base.rb +2 -2
  256. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
  257. data/lib/purecloud/models/unread_metric.rb +1 -0
  258. data/lib/purecloud/models/unread_status.rb +149 -0
  259. data/lib/purecloud/models/user.rb +7 -7
  260. data/lib/purecloud/models/user_action_category_entity_listing.rb +11 -11
  261. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  262. data/lib/purecloud/models/user_authorization.rb +7 -37
  263. data/lib/purecloud/models/user_entity_listing.rb +11 -11
  264. data/lib/purecloud/models/user_me.rb +375 -0
  265. data/lib/purecloud/models/user_presence.rb +14 -32
  266. data/lib/purecloud/models/user_queue.rb +1 -1
  267. data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
  268. data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
  269. data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
  270. data/lib/purecloud/models/users_entity_listing.rb +11 -11
  271. data/lib/purecloud/models/users_search_response.rb +230 -0
  272. data/lib/purecloud/models/validate_address_response.rb +1 -1
  273. data/lib/purecloud/models/video_conversation.rb +1 -1
  274. data/lib/purecloud/models/{alert_entity_listing.rb → video_conversation_entity_listing.rb} +13 -13
  275. data/lib/purecloud/models/{video_participant.rb → video_media_participant.rb} +1 -1
  276. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +11 -11
  277. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +11 -11
  278. data/lib/purecloud/models/voicemail_message_entity_listing.rb +11 -11
  279. data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
  280. data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
  281. data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
  282. data/lib/purecloud/version.rb +1 -1
  283. data/newVersion.md +1 -1
  284. data/swagger.json +1 -1
  285. data/version.json +1 -1
  286. metadata +54 -45
  287. data/lib/purecloud/api/architect_api.rb +0 -3285
  288. data/lib/purecloud/models/chat_search_request.rb +0 -244
  289. data/lib/purecloud/models/conversation_historical_query_request_body.rb +0 -185
  290. data/lib/purecloud/models/conversation_query_response.rb +0 -366
  291. data/lib/purecloud/models/dialer_call.rb +0 -156
  292. data/lib/purecloud/models/penetration_rate.rb +0 -176
  293. data/lib/purecloud/models/penetration_rate_id.rb +0 -156
  294. data/lib/purecloud/models/progress_model.rb +0 -169
@@ -1650,64 +1650,6 @@ module PureCloud
1650
1650
  return data, status_code, headers
1651
1651
  end
1652
1652
 
1653
- # Get penetration rates for a list of penetration rate identifiers (contact list id and qualifier id)
1654
- #
1655
- # @param [Hash] opts the optional parameters
1656
- # @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
1657
- # @return [Array<PenetrationRate>]
1658
- def post_contactlists_penetrationrates(opts = {})
1659
- data, status_code, headers = post_contactlists_penetrationrates_with_http_info(opts)
1660
- return data
1661
- end
1662
-
1663
- # Get penetration rates for a list of penetration rate identifiers (contact list id and qualifier id)
1664
- #
1665
- # @param [Hash] opts the optional parameters
1666
- # @option opts [Array<PenetrationRateId>] :body PenetrationRateIdentifierList
1667
- # @return [Array<(Array<PenetrationRate>, Fixnum, Hash)>] Array<PenetrationRate> data, response status code and response headers
1668
- def post_contactlists_penetrationrates_with_http_info(opts = {})
1669
- if @api_client.config.debugging
1670
- @api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_penetrationrates ..."
1671
- end
1672
-
1673
- # resource path
1674
- path = "/api/v2/outbound/contactlists/penetrationrates".sub('{format}','json')
1675
-
1676
- # query parameters
1677
- query_params = {}
1678
-
1679
- # header parameters
1680
- header_params = {}
1681
-
1682
- # HTTP header 'Accept' (if needed)
1683
- _header_accept = ['application/json']
1684
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
1685
-
1686
- # HTTP header 'Content-Type'
1687
- _header_content_type = ['application/json']
1688
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
1689
-
1690
- # form parameters
1691
- form_params = {}
1692
-
1693
- # http body (model)
1694
- post_body = @api_client.object_to_http_body(opts[:'body'])
1695
-
1696
-
1697
- auth_names = ['PureCloud Auth']
1698
- data, status_code, headers = @api_client.call_api(:POST, path,
1699
- :header_params => header_params,
1700
- :query_params => query_params,
1701
- :form_params => form_params,
1702
- :body => post_body,
1703
- :auth_names => auth_names,
1704
- :return_type => 'Array<PenetrationRate>')
1705
- if @api_client.config.debugging
1706
- @api_client.config.logger.debug "API called: OutboundApi#post_contactlists_penetrationrates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1707
- end
1708
- return data, status_code, headers
1709
- end
1710
-
1711
1653
  # Get dialer contactList.
1712
1654
  #
1713
1655
  # @param contact_list_id ContactList ID
@@ -1903,9 +1845,9 @@ module PureCloud
1903
1845
  #
1904
1846
  # @param contact_list_id Contact List ID
1905
1847
  # @param [Hash] opts the optional parameters
1906
- # @option opts [Array<Contact>] :body Contact
1848
+ # @option opts [Array<DialerContact>] :body Contact
1907
1849
  # @option opts [BOOLEAN] :priority
1908
- # @return [Contact]
1850
+ # @return [DialerContact]
1909
1851
  def post_contactlists_contactlist_id_contacts(contact_list_id, opts = {})
1910
1852
  data, status_code, headers = post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts)
1911
1853
  return data
@@ -1915,9 +1857,9 @@ module PureCloud
1915
1857
  #
1916
1858
  # @param contact_list_id Contact List ID
1917
1859
  # @param [Hash] opts the optional parameters
1918
- # @option opts [Array<Contact>] :body Contact
1860
+ # @option opts [Array<DialerContact>] :body Contact
1919
1861
  # @option opts [BOOLEAN] :priority
1920
- # @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
1862
+ # @return [Array<(DialerContact, Fixnum, Hash)>] DialerContact data, response status code and response headers
1921
1863
  def post_contactlists_contactlist_id_contacts_with_http_info(contact_list_id, opts = {})
1922
1864
  if @api_client.config.debugging
1923
1865
  @api_client.config.logger.debug "Calling API: OutboundApi#post_contactlists_contactlist_id_contacts ..."
@@ -1958,7 +1900,7 @@ module PureCloud
1958
1900
  :form_params => form_params,
1959
1901
  :body => post_body,
1960
1902
  :auth_names => auth_names,
1961
- :return_type => 'Contact')
1903
+ :return_type => 'DialerContact')
1962
1904
  if @api_client.config.debugging
1963
1905
  @api_client.config.logger.debug "API called: OutboundApi#post_contactlists_contactlist_id_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1964
1906
  end
@@ -1970,7 +1912,7 @@ module PureCloud
1970
1912
  # @param contact_list_id Contact List ID
1971
1913
  # @param contact_id Contact ID
1972
1914
  # @param [Hash] opts the optional parameters
1973
- # @return [Contact]
1915
+ # @return [DialerContact]
1974
1916
  def get_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
1975
1917
  data, status_code, headers = get_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
1976
1918
  return data
@@ -1981,7 +1923,7 @@ module PureCloud
1981
1923
  # @param contact_list_id Contact List ID
1982
1924
  # @param contact_id Contact ID
1983
1925
  # @param [Hash] opts the optional parameters
1984
- # @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
1926
+ # @return [Array<(DialerContact, Fixnum, Hash)>] DialerContact data, response status code and response headers
1985
1927
  def get_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
1986
1928
  if @api_client.config.debugging
1987
1929
  @api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id_contacts_contact_id ..."
@@ -2024,7 +1966,7 @@ module PureCloud
2024
1966
  :form_params => form_params,
2025
1967
  :body => post_body,
2026
1968
  :auth_names => auth_names,
2027
- :return_type => 'Contact')
1969
+ :return_type => 'DialerContact')
2028
1970
  if @api_client.config.debugging
2029
1971
  @api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2030
1972
  end
@@ -2036,8 +1978,8 @@ module PureCloud
2036
1978
  # @param contact_list_id Contact List ID
2037
1979
  # @param contact_id Contact ID
2038
1980
  # @param [Hash] opts the optional parameters
2039
- # @option opts [Contact] :body Contact
2040
- # @return [Contact]
1981
+ # @option opts [DialerContact] :body Contact
1982
+ # @return [DialerContact]
2041
1983
  def put_contactlists_contactlist_id_contacts_contact_id(contact_list_id, contact_id, opts = {})
2042
1984
  data, status_code, headers = put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts)
2043
1985
  return data
@@ -2048,8 +1990,8 @@ module PureCloud
2048
1990
  # @param contact_list_id Contact List ID
2049
1991
  # @param contact_id Contact ID
2050
1992
  # @param [Hash] opts the optional parameters
2051
- # @option opts [Contact] :body Contact
2052
- # @return [Array<(Contact, Fixnum, Hash)>] Contact data, response status code and response headers
1993
+ # @option opts [DialerContact] :body Contact
1994
+ # @return [Array<(DialerContact, Fixnum, Hash)>] DialerContact data, response status code and response headers
2053
1995
  def put_contactlists_contactlist_id_contacts_contact_id_with_http_info(contact_list_id, contact_id, opts = {})
2054
1996
  if @api_client.config.debugging
2055
1997
  @api_client.config.logger.debug "Calling API: OutboundApi#put_contactlists_contactlist_id_contacts_contact_id ..."
@@ -2092,7 +2034,7 @@ module PureCloud
2092
2034
  :form_params => form_params,
2093
2035
  :body => post_body,
2094
2036
  :auth_names => auth_names,
2095
- :return_type => 'Contact')
2037
+ :return_type => 'DialerContact')
2096
2038
  if @api_client.config.debugging
2097
2039
  @api_client.config.logger.debug "API called: OutboundApi#put_contactlists_contactlist_id_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2098
2040
  end
@@ -2287,72 +2229,6 @@ module PureCloud
2287
2229
  return data, status_code, headers
2288
2230
  end
2289
2231
 
2290
- # Get Dialer campaign&#39;s penetration rate
2291
- # Get dialer campaign&#39;s penetration rate.
2292
- # @param contact_list_id ContactList ID
2293
- # @param campaign_id Campaign ID
2294
- # @param [Hash] opts the optional parameters
2295
- # @return [PenetrationRate]
2296
- def get_contactlists_contactlist_id_campaign_id_penetrationrate(contact_list_id, campaign_id, opts = {})
2297
- data, status_code, headers = get_contactlists_contactlist_id_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts)
2298
- return data
2299
- end
2300
-
2301
- # Get Dialer campaign&#39;s penetration rate
2302
- # Get dialer campaign&#39;s penetration rate.
2303
- # @param contact_list_id ContactList ID
2304
- # @param campaign_id Campaign ID
2305
- # @param [Hash] opts the optional parameters
2306
- # @return [Array<(PenetrationRate, Fixnum, Hash)>] PenetrationRate data, response status code and response headers
2307
- def get_contactlists_contactlist_id_campaign_id_penetrationrate_with_http_info(contact_list_id, campaign_id, opts = {})
2308
- if @api_client.config.debugging
2309
- @api_client.config.logger.debug "Calling API: OutboundApi#get_contactlists_contactlist_id_campaign_id_penetrationrate ..."
2310
- end
2311
-
2312
- # verify the required parameter 'contact_list_id' is set
2313
- fail "Missing the required parameter 'contact_list_id' when calling get_contactlists_contactlist_id_campaign_id_penetrationrate" if contact_list_id.nil?
2314
-
2315
- # verify the required parameter 'campaign_id' is set
2316
- fail "Missing the required parameter 'campaign_id' when calling get_contactlists_contactlist_id_campaign_id_penetrationrate" if campaign_id.nil?
2317
-
2318
- # resource path
2319
- path = "/api/v2/outbound/contactlists/{contactListId}/{campaignId}/penetrationrate".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s).sub('{' + 'campaignId' + '}', campaign_id.to_s)
2320
-
2321
- # query parameters
2322
- query_params = {}
2323
-
2324
- # header parameters
2325
- header_params = {}
2326
-
2327
- # HTTP header 'Accept' (if needed)
2328
- _header_accept = ['application/json']
2329
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
2330
-
2331
- # HTTP header 'Content-Type'
2332
- _header_content_type = ['application/json']
2333
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
2334
-
2335
- # form parameters
2336
- form_params = {}
2337
-
2338
- # http body (model)
2339
- post_body = nil
2340
-
2341
-
2342
- auth_names = ['PureCloud Auth']
2343
- data, status_code, headers = @api_client.call_api(:GET, path,
2344
- :header_params => header_params,
2345
- :query_params => query_params,
2346
- :form_params => form_params,
2347
- :body => post_body,
2348
- :auth_names => auth_names,
2349
- :return_type => 'PenetrationRate')
2350
- if @api_client.config.debugging
2351
- @api_client.config.logger.debug "API called: OutboundApi#get_contactlists_contactlist_id_campaign_id_penetrationrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2352
- end
2353
- return data, status_code, headers
2354
- end
2355
-
2356
2232
  # Add phone numbers to a Dialer DNC list.
2357
2233
  #
2358
2234
  # @param conversation_id Conversation ID
@@ -2934,249 +2810,6 @@ module PureCloud
2934
2810
  return data, status_code, headers
2935
2811
  end
2936
2812
 
2937
- # Get dialer preview for user
2938
- #
2939
- # @param [Hash] opts the optional parameters
2940
- # @return [Array<Preview>]
2941
- def get_previews(opts = {})
2942
- data, status_code, headers = get_previews_with_http_info(opts)
2943
- return data
2944
- end
2945
-
2946
- # Get dialer preview for user
2947
- #
2948
- # @param [Hash] opts the optional parameters
2949
- # @return [Array<(Array<Preview>, Fixnum, Hash)>] Array<Preview> data, response status code and response headers
2950
- def get_previews_with_http_info(opts = {})
2951
- if @api_client.config.debugging
2952
- @api_client.config.logger.debug "Calling API: OutboundApi#get_previews ..."
2953
- end
2954
-
2955
- # resource path
2956
- path = "/api/v2/outbound/previews".sub('{format}','json')
2957
-
2958
- # query parameters
2959
- query_params = {}
2960
-
2961
- # header parameters
2962
- header_params = {}
2963
-
2964
- # HTTP header 'Accept' (if needed)
2965
- _header_accept = ['application/json']
2966
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
2967
-
2968
- # HTTP header 'Content-Type'
2969
- _header_content_type = ['application/json']
2970
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
2971
-
2972
- # form parameters
2973
- form_params = {}
2974
-
2975
- # http body (model)
2976
- post_body = nil
2977
-
2978
-
2979
- auth_names = ['PureCloud Auth']
2980
- data, status_code, headers = @api_client.call_api(:GET, path,
2981
- :header_params => header_params,
2982
- :query_params => query_params,
2983
- :form_params => form_params,
2984
- :body => post_body,
2985
- :auth_names => auth_names,
2986
- :return_type => 'Array<Preview>')
2987
- if @api_client.config.debugging
2988
- @api_client.config.logger.debug "API called: OutboundApi#get_previews\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2989
- end
2990
- return data, status_code, headers
2991
- end
2992
-
2993
- # Get dialer preview
2994
- #
2995
- # @param preview_id preview ID
2996
- # @param [Hash] opts the optional parameters
2997
- # @return [Preview]
2998
- def get_previews_preview_id(preview_id, opts = {})
2999
- data, status_code, headers = get_previews_preview_id_with_http_info(preview_id, opts)
3000
- return data
3001
- end
3002
-
3003
- # Get dialer preview
3004
- #
3005
- # @param preview_id preview ID
3006
- # @param [Hash] opts the optional parameters
3007
- # @return [Array<(Preview, Fixnum, Hash)>] Preview data, response status code and response headers
3008
- def get_previews_preview_id_with_http_info(preview_id, opts = {})
3009
- if @api_client.config.debugging
3010
- @api_client.config.logger.debug "Calling API: OutboundApi#get_previews_preview_id ..."
3011
- end
3012
-
3013
- # verify the required parameter 'preview_id' is set
3014
- fail "Missing the required parameter 'preview_id' when calling get_previews_preview_id" if preview_id.nil?
3015
-
3016
- # resource path
3017
- path = "/api/v2/outbound/previews/{previewId}".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
3018
-
3019
- # query parameters
3020
- query_params = {}
3021
-
3022
- # header parameters
3023
- header_params = {}
3024
-
3025
- # HTTP header 'Accept' (if needed)
3026
- _header_accept = ['application/json']
3027
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
3028
-
3029
- # HTTP header 'Content-Type'
3030
- _header_content_type = ['application/json']
3031
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
3032
-
3033
- # form parameters
3034
- form_params = {}
3035
-
3036
- # http body (model)
3037
- post_body = nil
3038
-
3039
-
3040
- auth_names = ['PureCloud Auth']
3041
- data, status_code, headers = @api_client.call_api(:GET, path,
3042
- :header_params => header_params,
3043
- :query_params => query_params,
3044
- :form_params => form_params,
3045
- :body => post_body,
3046
- :auth_names => auth_names,
3047
- :return_type => 'Preview')
3048
- if @api_client.config.debugging
3049
- @api_client.config.logger.debug "API called: OutboundApi#get_previews_preview_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3050
- end
3051
- return data, status_code, headers
3052
- end
3053
-
3054
- # Disposition preview call
3055
- #
3056
- # @param preview_id preview ID
3057
- # @param [Hash] opts the optional parameters
3058
- # @option opts [DialerDispositionCallCommand] :body
3059
- # @return [String]
3060
- def post_previews_preview_id_dispositioncall(preview_id, opts = {})
3061
- data, status_code, headers = post_previews_preview_id_dispositioncall_with_http_info(preview_id, opts)
3062
- return data
3063
- end
3064
-
3065
- # Disposition preview call
3066
- #
3067
- # @param preview_id preview ID
3068
- # @param [Hash] opts the optional parameters
3069
- # @option opts [DialerDispositionCallCommand] :body
3070
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
3071
- def post_previews_preview_id_dispositioncall_with_http_info(preview_id, opts = {})
3072
- if @api_client.config.debugging
3073
- @api_client.config.logger.debug "Calling API: OutboundApi#post_previews_preview_id_dispositioncall ..."
3074
- end
3075
-
3076
- # verify the required parameter 'preview_id' is set
3077
- fail "Missing the required parameter 'preview_id' when calling post_previews_preview_id_dispositioncall" if preview_id.nil?
3078
-
3079
- # resource path
3080
- path = "/api/v2/outbound/previews/{previewId}/dispositioncall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
3081
-
3082
- # query parameters
3083
- query_params = {}
3084
-
3085
- # header parameters
3086
- header_params = {}
3087
-
3088
- # HTTP header 'Accept' (if needed)
3089
- _header_accept = ['application/json']
3090
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
3091
-
3092
- # HTTP header 'Content-Type'
3093
- _header_content_type = ['application/json']
3094
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
3095
-
3096
- # form parameters
3097
- form_params = {}
3098
-
3099
- # http body (model)
3100
- post_body = @api_client.object_to_http_body(opts[:'body'])
3101
-
3102
-
3103
- auth_names = ['PureCloud Auth']
3104
- data, status_code, headers = @api_client.call_api(:POST, path,
3105
- :header_params => header_params,
3106
- :query_params => query_params,
3107
- :form_params => form_params,
3108
- :body => post_body,
3109
- :auth_names => auth_names,
3110
- :return_type => 'String')
3111
- if @api_client.config.debugging
3112
- @api_client.config.logger.debug "API called: OutboundApi#post_previews_preview_id_dispositioncall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3113
- end
3114
- return data, status_code, headers
3115
- end
3116
-
3117
- # place preview call
3118
- #
3119
- # @param preview_id preview ID
3120
- # @param [Hash] opts the optional parameters
3121
- # @option opts [DialerPlaceCallCommand] :body
3122
- # @return [DialerCall]
3123
- def post_previews_preview_id_placecall(preview_id, opts = {})
3124
- data, status_code, headers = post_previews_preview_id_placecall_with_http_info(preview_id, opts)
3125
- return data
3126
- end
3127
-
3128
- # place preview call
3129
- #
3130
- # @param preview_id preview ID
3131
- # @param [Hash] opts the optional parameters
3132
- # @option opts [DialerPlaceCallCommand] :body
3133
- # @return [Array<(DialerCall, Fixnum, Hash)>] DialerCall data, response status code and response headers
3134
- def post_previews_preview_id_placecall_with_http_info(preview_id, opts = {})
3135
- if @api_client.config.debugging
3136
- @api_client.config.logger.debug "Calling API: OutboundApi#post_previews_preview_id_placecall ..."
3137
- end
3138
-
3139
- # verify the required parameter 'preview_id' is set
3140
- fail "Missing the required parameter 'preview_id' when calling post_previews_preview_id_placecall" if preview_id.nil?
3141
-
3142
- # resource path
3143
- path = "/api/v2/outbound/previews/{previewId}/placecall".sub('{format}','json').sub('{' + 'previewId' + '}', preview_id.to_s)
3144
-
3145
- # query parameters
3146
- query_params = {}
3147
-
3148
- # header parameters
3149
- header_params = {}
3150
-
3151
- # HTTP header 'Accept' (if needed)
3152
- _header_accept = ['application/json']
3153
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
3154
-
3155
- # HTTP header 'Content-Type'
3156
- _header_content_type = ['application/json']
3157
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
3158
-
3159
- # form parameters
3160
- form_params = {}
3161
-
3162
- # http body (model)
3163
- post_body = @api_client.object_to_http_body(opts[:'body'])
3164
-
3165
-
3166
- auth_names = ['PureCloud Auth']
3167
- data, status_code, headers = @api_client.call_api(:POST, path,
3168
- :header_params => header_params,
3169
- :query_params => query_params,
3170
- :form_params => form_params,
3171
- :body => post_body,
3172
- :auth_names => auth_names,
3173
- :return_type => 'DialerCall')
3174
- if @api_client.config.debugging
3175
- @api_client.config.logger.debug "API called: OutboundApi#post_previews_preview_id_placecall\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3176
- end
3177
- return data, status_code, headers
3178
- end
3179
-
3180
2813
  # Query a list of Rule Sets.
3181
2814
  #
3182
2815
  # @param [Hash] opts the optional parameters