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
@@ -1541,7 +1541,7 @@ module PureCloud
1541
1541
  return data, status_code, headers
1542
1542
  end
1543
1543
 
1544
- # Get the list of skills.
1544
+ # Get the list of routing skills.
1545
1545
  #
1546
1546
  # @param [Hash] opts the optional parameters
1547
1547
  # @option opts [Integer] :page_size Page size
@@ -1552,7 +1552,7 @@ module PureCloud
1552
1552
  return data
1553
1553
  end
1554
1554
 
1555
- # Get the list of skills.
1555
+ # Get the list of routing skills.
1556
1556
  #
1557
1557
  # @param [Hash] opts the optional parameters
1558
1558
  # @option opts [Integer] :page_size Page size
@@ -1661,7 +1661,7 @@ module PureCloud
1661
1661
  return data, status_code, headers
1662
1662
  end
1663
1663
 
1664
- # Get Skill
1664
+ # Get Routing Skill
1665
1665
  #
1666
1666
  # @param skill_id Skill ID
1667
1667
  # @param [Hash] opts the optional parameters
@@ -1671,7 +1671,7 @@ module PureCloud
1671
1671
  return data
1672
1672
  end
1673
1673
 
1674
- # Get Skill
1674
+ # Get Routing Skill
1675
1675
  #
1676
1676
  # @param skill_id Skill ID
1677
1677
  # @param [Hash] opts the optional parameters
@@ -1722,7 +1722,7 @@ module PureCloud
1722
1722
  return data, status_code, headers
1723
1723
  end
1724
1724
 
1725
- # Update Skill
1725
+ # Update Routing Skill
1726
1726
  #
1727
1727
  # @param skill_id Skill ID
1728
1728
  # @param [Hash] opts the optional parameters
@@ -1733,7 +1733,7 @@ module PureCloud
1733
1733
  return data
1734
1734
  end
1735
1735
 
1736
- # Update Skill
1736
+ # Update Routing Skill
1737
1737
  #
1738
1738
  # @param skill_id Skill ID
1739
1739
  # @param [Hash] opts the optional parameters
@@ -1785,7 +1785,7 @@ module PureCloud
1785
1785
  return data, status_code, headers
1786
1786
  end
1787
1787
 
1788
- # Delete Skill
1788
+ # Delete Routing Skill
1789
1789
  #
1790
1790
  # @param skill_id Skill ID
1791
1791
  # @param [Hash] opts the optional parameters
@@ -1795,7 +1795,7 @@ module PureCloud
1795
1795
  return data
1796
1796
  end
1797
1797
 
1798
- # Delete Skill
1798
+ # Delete Routing Skill
1799
1799
  #
1800
1800
  # @param skill_id Skill ID
1801
1801
  # @param [Hash] opts the optional parameters
@@ -2323,6 +2323,209 @@ module PureCloud
2323
2323
  end
2324
2324
  return data, status_code, headers
2325
2325
  end
2326
+
2327
+ # List routing skills for user
2328
+ #
2329
+ # @param user_id User ID
2330
+ # @param [Hash] opts the optional parameters
2331
+ # @option opts [Integer] :page_size Page size
2332
+ # @option opts [Integer] :page_number Page number
2333
+ # @option opts [String] :sort_order Ascending or descending sort order
2334
+ # @return [UserSkillEntityListing]
2335
+ def get_user_id_routingskills(user_id, opts = {})
2336
+ data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
2337
+ return data
2338
+ end
2339
+
2340
+ # List routing skills for user
2341
+ #
2342
+ # @param user_id User ID
2343
+ # @param [Hash] opts the optional parameters
2344
+ # @option opts [Integer] :page_size Page size
2345
+ # @option opts [Integer] :page_number Page number
2346
+ # @option opts [String] :sort_order Ascending or descending sort order
2347
+ # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
2348
+ def get_user_id_routingskills_with_http_info(user_id, opts = {})
2349
+ if @api_client.config.debugging
2350
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_user_id_routingskills ..."
2351
+ end
2352
+
2353
+ # verify the required parameter 'user_id' is set
2354
+ fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
2355
+
2356
+ if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
2357
+ fail 'invalid value for "sort_order", must be one of [ascending, descending]'
2358
+ end
2359
+
2360
+ # resource path
2361
+ path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2362
+
2363
+ # query parameters
2364
+ query_params = {}
2365
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2366
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2367
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
2368
+
2369
+ # header parameters
2370
+ header_params = {}
2371
+
2372
+ # HTTP header 'Accept' (if needed)
2373
+ _header_accept = ['application/json']
2374
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
2375
+
2376
+ # HTTP header 'Content-Type'
2377
+ _header_content_type = ['application/json']
2378
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
2379
+
2380
+ # form parameters
2381
+ form_params = {}
2382
+
2383
+ # http body (model)
2384
+ post_body = nil
2385
+
2386
+
2387
+ auth_names = ['PureCloud Auth']
2388
+ data, status_code, headers = @api_client.call_api(:GET, path,
2389
+ :header_params => header_params,
2390
+ :query_params => query_params,
2391
+ :form_params => form_params,
2392
+ :body => post_body,
2393
+ :auth_names => auth_names,
2394
+ :return_type => 'UserSkillEntityListing')
2395
+ if @api_client.config.debugging
2396
+ @api_client.config.logger.debug "API called: RoutingApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2397
+ end
2398
+ return data, status_code, headers
2399
+ end
2400
+
2401
+ # Add routing skill to user
2402
+ #
2403
+ # @param user_id User ID
2404
+ # @param [Hash] opts the optional parameters
2405
+ # @option opts [UserRoutingSkill] :body Skill
2406
+ # @return [UserRoutingSkill]
2407
+ def post_user_id_routingskills(user_id, opts = {})
2408
+ data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
2409
+ return data
2410
+ end
2411
+
2412
+ # Add routing skill to user
2413
+ #
2414
+ # @param user_id User ID
2415
+ # @param [Hash] opts the optional parameters
2416
+ # @option opts [UserRoutingSkill] :body Skill
2417
+ # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
2418
+ def post_user_id_routingskills_with_http_info(user_id, opts = {})
2419
+ if @api_client.config.debugging
2420
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_user_id_routingskills ..."
2421
+ end
2422
+
2423
+ # verify the required parameter 'user_id' is set
2424
+ fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
2425
+
2426
+ # resource path
2427
+ path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2428
+
2429
+ # query parameters
2430
+ query_params = {}
2431
+
2432
+ # header parameters
2433
+ header_params = {}
2434
+
2435
+ # HTTP header 'Accept' (if needed)
2436
+ _header_accept = ['application/json']
2437
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
2438
+
2439
+ # HTTP header 'Content-Type'
2440
+ _header_content_type = ['application/json']
2441
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
2442
+
2443
+ # form parameters
2444
+ form_params = {}
2445
+
2446
+ # http body (model)
2447
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2448
+
2449
+
2450
+ auth_names = ['PureCloud Auth']
2451
+ data, status_code, headers = @api_client.call_api(:POST, path,
2452
+ :header_params => header_params,
2453
+ :query_params => query_params,
2454
+ :form_params => form_params,
2455
+ :body => post_body,
2456
+ :auth_names => auth_names,
2457
+ :return_type => 'UserRoutingSkill')
2458
+ if @api_client.config.debugging
2459
+ @api_client.config.logger.debug "API called: RoutingApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2460
+ end
2461
+ return data, status_code, headers
2462
+ end
2463
+
2464
+ # Remove routing skill from user
2465
+ #
2466
+ # @param user_id User ID
2467
+ # @param skill_id
2468
+ # @param [Hash] opts the optional parameters
2469
+ # @return [String]
2470
+ def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
2471
+ data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
2472
+ return data
2473
+ end
2474
+
2475
+ # Remove routing skill from user
2476
+ #
2477
+ # @param user_id User ID
2478
+ # @param skill_id
2479
+ # @param [Hash] opts the optional parameters
2480
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2481
+ def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
2482
+ if @api_client.config.debugging
2483
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_user_id_routingskills_skill_id ..."
2484
+ end
2485
+
2486
+ # verify the required parameter 'user_id' is set
2487
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
2488
+
2489
+ # verify the required parameter 'skill_id' is set
2490
+ fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
2491
+
2492
+ # resource path
2493
+ path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
2494
+
2495
+ # query parameters
2496
+ query_params = {}
2497
+
2498
+ # header parameters
2499
+ header_params = {}
2500
+
2501
+ # HTTP header 'Accept' (if needed)
2502
+ _header_accept = ['application/json']
2503
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
2504
+
2505
+ # HTTP header 'Content-Type'
2506
+ _header_content_type = ['application/json']
2507
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
2508
+
2509
+ # form parameters
2510
+ form_params = {}
2511
+
2512
+ # http body (model)
2513
+ post_body = nil
2514
+
2515
+
2516
+ auth_names = ['PureCloud Auth']
2517
+ data, status_code, headers = @api_client.call_api(:DELETE, path,
2518
+ :header_params => header_params,
2519
+ :query_params => query_params,
2520
+ :form_params => form_params,
2521
+ :body => post_body,
2522
+ :auth_names => auth_names,
2523
+ :return_type => 'String')
2524
+ if @api_client.config.debugging
2525
+ @api_client.config.logger.debug "API called: RoutingApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2526
+ end
2527
+ return data, status_code, headers
2528
+ end
2326
2529
  end
2327
2530
  end
2328
2531
 
@@ -15,6 +15,8 @@ module PureCloud
15
15
  # @option opts [Integer] :page_number The page number requested
16
16
  # @option opts [String] :sort_by variable name requested to sort by
17
17
  # @option opts [Array<String>] :expand variable name requested by expand list
18
+ # @option opts [String] :next_page next page token
19
+ # @option opts [String] :previous_page Previous page token
18
20
  # @option opts [String] :expand2 Expand
19
21
  # @option opts [String] :name Name
20
22
  # @return [EvaluationFormEntityListing]
@@ -30,6 +32,8 @@ module PureCloud
30
32
  # @option opts [Integer] :page_number The page number requested
31
33
  # @option opts [String] :sort_by variable name requested to sort by
32
34
  # @option opts [Array<String>] :expand variable name requested by expand list
35
+ # @option opts [String] :next_page next page token
36
+ # @option opts [String] :previous_page Previous page token
33
37
  # @option opts [String] :expand2 Expand
34
38
  # @option opts [String] :name Name
35
39
  # @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
@@ -47,6 +51,8 @@ module PureCloud
47
51
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
48
52
  query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
49
53
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
54
+ query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
55
+ query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
50
56
  query_params[:'expand'] = opts[:'expand2'] if opts[:'expand2']
51
57
  query_params[:'name'] = opts[:'name'] if opts[:'name']
52
58
 
@@ -650,7 +656,7 @@ module PureCloud
650
656
  # Create a script.
651
657
  #
652
658
  # @param [Hash] opts the optional parameters
653
- # @option opts [Body1] :body
659
+ # @option opts [Body] :body
654
660
  # @return [Script]
655
661
  def post_scripts(opts = {})
656
662
  data, status_code, headers = post_scripts_with_http_info(opts)
@@ -660,7 +666,7 @@ module PureCloud
660
666
  # Create a script.
661
667
  #
662
668
  # @param [Hash] opts the optional parameters
663
- # @option opts [Body1] :body
669
+ # @option opts [Body] :body
664
670
  # @return [Array<(Script, Fixnum, Hash)>] Script data, response status code and response headers
665
671
  def post_scripts_with_http_info(opts = {})
666
672
  if @api_client.config.debugging
@@ -8,28 +8,330 @@ module PureCloud
8
8
  @api_client = api_client
9
9
  end
10
10
 
11
- # Search chat history
11
+ # Search using q64
12
12
  #
13
13
  # @param [Hash] opts the optional parameters
14
- # @option opts [ChatSearchRequest] :body Search request options
15
- # @return [ChatSearchListing]
16
- def post_chats(opts = {})
17
- data, status_code, headers = post_chats_with_http_info(opts)
14
+ # @option opts [String] :q64
15
+ # @option opts [Array<String>] :expand
16
+ # @return [GroupsSearchResponse]
17
+ def get_search(opts = {})
18
+ data, status_code, headers = get_search_with_http_info(opts)
18
19
  return data
19
20
  end
20
21
 
21
- # Search chat history
22
+ # Search using q64
22
23
  #
23
24
  # @param [Hash] opts the optional parameters
24
- # @option opts [ChatSearchRequest] :body Search request options
25
- # @return [Array<(ChatSearchListing, Fixnum, Hash)>] ChatSearchListing data, response status code and response headers
26
- def post_chats_with_http_info(opts = {})
25
+ # @option opts [String] :q64
26
+ # @option opts [Array<String>] :expand
27
+ # @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
28
+ def get_search_with_http_info(opts = {})
27
29
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: SearchApi#post_chats ..."
30
+ @api_client.config.logger.debug "Calling API: SearchApi#get_search ..."
29
31
  end
30
32
 
31
33
  # resource path
32
- path = "/api/v2/search/chats".sub('{format}','json')
34
+ path = "/api/v2/groups/search".sub('{format}','json')
35
+
36
+ # query parameters
37
+ query_params = {}
38
+ query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
39
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
40
+
41
+ # header parameters
42
+ header_params = {}
43
+
44
+ # HTTP header 'Accept' (if needed)
45
+ _header_accept = ['application/json']
46
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
47
+
48
+ # HTTP header 'Content-Type'
49
+ _header_content_type = ['application/json']
50
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
51
+
52
+ # form parameters
53
+ form_params = {}
54
+
55
+ # http body (model)
56
+ post_body = nil
57
+
58
+
59
+ auth_names = ['PureCloud Auth']
60
+ data, status_code, headers = @api_client.call_api(:GET, path,
61
+ :header_params => header_params,
62
+ :query_params => query_params,
63
+ :form_params => form_params,
64
+ :body => post_body,
65
+ :auth_names => auth_names,
66
+ :return_type => 'GroupsSearchResponse')
67
+ if @api_client.config.debugging
68
+ @api_client.config.logger.debug "API called: SearchApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
69
+ end
70
+ return data, status_code, headers
71
+ end
72
+
73
+ # Search
74
+ #
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [SearchRequest] :body Search request options
77
+ # @return [GroupsSearchResponse]
78
+ def post_search(opts = {})
79
+ data, status_code, headers = post_search_with_http_info(opts)
80
+ return data
81
+ end
82
+
83
+ # Search
84
+ #
85
+ # @param [Hash] opts the optional parameters
86
+ # @option opts [SearchRequest] :body Search request options
87
+ # @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
88
+ def post_search_with_http_info(opts = {})
89
+ if @api_client.config.debugging
90
+ @api_client.config.logger.debug "Calling API: SearchApi#post_search ..."
91
+ end
92
+
93
+ # resource path
94
+ path = "/api/v2/groups/search".sub('{format}','json')
95
+
96
+ # query parameters
97
+ query_params = {}
98
+
99
+ # header parameters
100
+ header_params = {}
101
+
102
+ # HTTP header 'Accept' (if needed)
103
+ _header_accept = ['application/json']
104
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
105
+
106
+ # HTTP header 'Content-Type'
107
+ _header_content_type = ['application/json']
108
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
109
+
110
+ # form parameters
111
+ form_params = {}
112
+
113
+ # http body (model)
114
+ post_body = @api_client.object_to_http_body(opts[:'body'])
115
+
116
+
117
+ auth_names = ['PureCloud Auth']
118
+ data, status_code, headers = @api_client.call_api(:POST, path,
119
+ :header_params => header_params,
120
+ :query_params => query_params,
121
+ :form_params => form_params,
122
+ :body => post_body,
123
+ :auth_names => auth_names,
124
+ :return_type => 'GroupsSearchResponse')
125
+ if @api_client.config.debugging
126
+ @api_client.config.logger.debug "API called: SearchApi#post_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ end
128
+ return data, status_code, headers
129
+ end
130
+
131
+ # Search using q64
132
+ #
133
+ # @param [Hash] opts the optional parameters
134
+ # @option opts [String] :q64
135
+ # @option opts [Array<String>] :expand
136
+ # @return [JsonNodeSearchResponse]
137
+ def get_search_0(opts = {})
138
+ data, status_code, headers = get_search_0_with_http_info(opts)
139
+ return data
140
+ end
141
+
142
+ # Search using q64
143
+ #
144
+ # @param [Hash] opts the optional parameters
145
+ # @option opts [String] :q64
146
+ # @option opts [Array<String>] :expand
147
+ # @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
148
+ def get_search_0_with_http_info(opts = {})
149
+ if @api_client.config.debugging
150
+ @api_client.config.logger.debug "Calling API: SearchApi#get_search_0 ..."
151
+ end
152
+
153
+ # resource path
154
+ path = "/api/v2/search".sub('{format}','json')
155
+
156
+ # query parameters
157
+ query_params = {}
158
+ query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
159
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
160
+
161
+ # header parameters
162
+ header_params = {}
163
+
164
+ # HTTP header 'Accept' (if needed)
165
+ _header_accept = ['application/json']
166
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
167
+
168
+ # HTTP header 'Content-Type'
169
+ _header_content_type = ['application/json']
170
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
171
+
172
+ # form parameters
173
+ form_params = {}
174
+
175
+ # http body (model)
176
+ post_body = nil
177
+
178
+
179
+ auth_names = ['PureCloud Auth']
180
+ data, status_code, headers = @api_client.call_api(:GET, path,
181
+ :header_params => header_params,
182
+ :query_params => query_params,
183
+ :form_params => form_params,
184
+ :body => post_body,
185
+ :auth_names => auth_names,
186
+ :return_type => 'JsonNodeSearchResponse')
187
+ if @api_client.config.debugging
188
+ @api_client.config.logger.debug "API called: SearchApi#get_search_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
189
+ end
190
+ return data, status_code, headers
191
+ end
192
+
193
+ # Search
194
+ #
195
+ # @param [Hash] opts the optional parameters
196
+ # @option opts [SearchRequest] :body Search request options
197
+ # @return [JsonNodeSearchResponse]
198
+ def post_search_0(opts = {})
199
+ data, status_code, headers = post_search_0_with_http_info(opts)
200
+ return data
201
+ end
202
+
203
+ # Search
204
+ #
205
+ # @param [Hash] opts the optional parameters
206
+ # @option opts [SearchRequest] :body Search request options
207
+ # @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
208
+ def post_search_0_with_http_info(opts = {})
209
+ if @api_client.config.debugging
210
+ @api_client.config.logger.debug "Calling API: SearchApi#post_search_0 ..."
211
+ end
212
+
213
+ # resource path
214
+ path = "/api/v2/search".sub('{format}','json')
215
+
216
+ # query parameters
217
+ query_params = {}
218
+
219
+ # header parameters
220
+ header_params = {}
221
+
222
+ # HTTP header 'Accept' (if needed)
223
+ _header_accept = ['application/json']
224
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
225
+
226
+ # HTTP header 'Content-Type'
227
+ _header_content_type = ['application/json']
228
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
229
+
230
+ # form parameters
231
+ form_params = {}
232
+
233
+ # http body (model)
234
+ post_body = @api_client.object_to_http_body(opts[:'body'])
235
+
236
+
237
+ auth_names = ['PureCloud Auth']
238
+ data, status_code, headers = @api_client.call_api(:POST, path,
239
+ :header_params => header_params,
240
+ :query_params => query_params,
241
+ :form_params => form_params,
242
+ :body => post_body,
243
+ :auth_names => auth_names,
244
+ :return_type => 'JsonNodeSearchResponse')
245
+ if @api_client.config.debugging
246
+ @api_client.config.logger.debug "API called: SearchApi#post_search_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
247
+ end
248
+ return data, status_code, headers
249
+ end
250
+
251
+ # Search using q64
252
+ #
253
+ # @param [Hash] opts the optional parameters
254
+ # @option opts [String] :q64
255
+ # @option opts [Array<String>] :expand
256
+ # @return [UsersSearchResponse]
257
+ def get_search_1(opts = {})
258
+ data, status_code, headers = get_search_1_with_http_info(opts)
259
+ return data
260
+ end
261
+
262
+ # Search using q64
263
+ #
264
+ # @param [Hash] opts the optional parameters
265
+ # @option opts [String] :q64
266
+ # @option opts [Array<String>] :expand
267
+ # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
268
+ def get_search_1_with_http_info(opts = {})
269
+ if @api_client.config.debugging
270
+ @api_client.config.logger.debug "Calling API: SearchApi#get_search_1 ..."
271
+ end
272
+
273
+ # resource path
274
+ path = "/api/v2/users/search".sub('{format}','json')
275
+
276
+ # query parameters
277
+ query_params = {}
278
+ query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
279
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
280
+
281
+ # header parameters
282
+ header_params = {}
283
+
284
+ # HTTP header 'Accept' (if needed)
285
+ _header_accept = ['application/json']
286
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
287
+
288
+ # HTTP header 'Content-Type'
289
+ _header_content_type = ['application/json']
290
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
291
+
292
+ # form parameters
293
+ form_params = {}
294
+
295
+ # http body (model)
296
+ post_body = nil
297
+
298
+
299
+ auth_names = ['PureCloud Auth']
300
+ data, status_code, headers = @api_client.call_api(:GET, path,
301
+ :header_params => header_params,
302
+ :query_params => query_params,
303
+ :form_params => form_params,
304
+ :body => post_body,
305
+ :auth_names => auth_names,
306
+ :return_type => 'UsersSearchResponse')
307
+ if @api_client.config.debugging
308
+ @api_client.config.logger.debug "API called: SearchApi#get_search_1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
309
+ end
310
+ return data, status_code, headers
311
+ end
312
+
313
+ # Search
314
+ #
315
+ # @param [Hash] opts the optional parameters
316
+ # @option opts [SearchRequest] :body Search request options
317
+ # @return [UsersSearchResponse]
318
+ def post_search_1(opts = {})
319
+ data, status_code, headers = post_search_1_with_http_info(opts)
320
+ return data
321
+ end
322
+
323
+ # Search
324
+ #
325
+ # @param [Hash] opts the optional parameters
326
+ # @option opts [SearchRequest] :body Search request options
327
+ # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
328
+ def post_search_1_with_http_info(opts = {})
329
+ if @api_client.config.debugging
330
+ @api_client.config.logger.debug "Calling API: SearchApi#post_search_1 ..."
331
+ end
332
+
333
+ # resource path
334
+ path = "/api/v2/users/search".sub('{format}','json')
33
335
 
34
336
  # query parameters
35
337
  query_params = {}
@@ -59,9 +361,9 @@ module PureCloud
59
361
  :form_params => form_params,
60
362
  :body => post_body,
61
363
  :auth_names => auth_names,
62
- :return_type => 'ChatSearchListing')
364
+ :return_type => 'UsersSearchResponse')
63
365
  if @api_client.config.debugging
64
- @api_client.config.logger.debug "API called: SearchApi#post_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
+ @api_client.config.logger.debug "API called: SearchApi#post_search_1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
65
367
  end
66
368
  return data, status_code, headers
67
369
  end