purecloudplatformclientv2 45.0.0 → 46.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ADFS.md +1 -1
  4. data/docs/ActionEntityListing.md +1 -1
  5. data/docs/AgentActivityEntityListing.md +1 -1
  6. data/docs/AnalyticsApi.md +67 -0
  7. data/docs/AnalyticsSession.md +1 -0
  8. data/docs/ArchitectApi.md +8 -10
  9. data/docs/AttemptLimitsEntityListing.md +1 -1
  10. data/docs/AttributeEntityListing.md +1 -1
  11. data/docs/AuthzDivisionEntityListing.md +1 -1
  12. data/docs/CalibrationEntityListing.md +1 -1
  13. data/docs/CallConversationEntityListing.md +1 -1
  14. data/docs/CallHistoryConversationEntityListing.md +1 -1
  15. data/docs/CallableTimeSetEntityListing.md +1 -1
  16. data/docs/CallbackConversationEntityListing.md +1 -1
  17. data/docs/CampaignDivisionViewListing.md +1 -1
  18. data/docs/CampaignEntityListing.md +1 -1
  19. data/docs/CampaignRuleEntityListing.md +1 -1
  20. data/docs/CampaignSequenceEntityListing.md +1 -1
  21. data/docs/CertificateAuthorityEntityListing.md +1 -1
  22. data/docs/CertificateDetails.md +1 -1
  23. data/docs/ChatConversationEntityListing.md +1 -1
  24. data/docs/ClientAppEntityListing.md +1 -1
  25. data/docs/CobrowseConversationEntityListing.md +1 -1
  26. data/docs/CommandStatusEntityListing.md +1 -1
  27. data/docs/ConsumedResourcesEntityListing.md +1 -1
  28. data/docs/ConsumingResourcesEntityListing.md +1 -1
  29. data/docs/ContactListDivisionViewListing.md +1 -1
  30. data/docs/ContactListEntityListing.md +1 -1
  31. data/docs/ContactListFilterEntityListing.md +1 -1
  32. data/docs/ContactListing.md +1 -1
  33. data/docs/ConversationEntityListing.md +1 -1
  34. data/docs/ConversationsApi.md +67 -0
  35. data/docs/CreateCallRequest.md +1 -0
  36. data/docs/CredentialInfoListing.md +1 -1
  37. data/docs/CredentialTypeListing.md +1 -1
  38. data/docs/CustomerInteractionCenter.md +1 -1
  39. data/docs/DIDEntityListing.md +1 -1
  40. data/docs/DIDPoolEntityListing.md +1 -1
  41. data/docs/DataTableRowEntityListing.md +1 -1
  42. data/docs/DataTablesDomainEntityListing.md +1 -1
  43. data/docs/DependencyObjectEntityListing.md +1 -1
  44. data/docs/DependencyTypeEntityListing.md +1 -1
  45. data/docs/DialerEventEntityListing.md +1 -1
  46. data/docs/DirectoryUserDevicesListing.md +1 -1
  47. data/docs/DncListDivisionView.md +18 -0
  48. data/docs/DncListDivisionViewListing.md +22 -0
  49. data/docs/DncListEntityListing.md +1 -1
  50. data/docs/DocumentAuditEntityListing.md +1 -1
  51. data/docs/DocumentEntityListing.md +1 -1
  52. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  53. data/docs/DomainEntityListing.md +1 -1
  54. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  55. data/docs/DomainEntityListingQueryResult.md +1 -1
  56. data/docs/DomainEntityListingSurveyForm.md +1 -1
  57. data/docs/EdgeEntityListing.md +1 -1
  58. data/docs/EdgeGroupEntityListing.md +1 -1
  59. data/docs/EdgeLineEntityListing.md +1 -1
  60. data/docs/EmailConversationEntityListing.md +1 -1
  61. data/docs/EmailMessageListing.md +1 -1
  62. data/docs/EmergencyGroupListing.md +1 -1
  63. data/docs/EncryptionKeyEntityListing.md +1 -1
  64. data/docs/EndpointEntityListing.md +1 -1
  65. data/docs/EvaluationEntityListing.md +1 -1
  66. data/docs/EvaluationFormEntityListing.md +1 -1
  67. data/docs/EvaluatorActivityEntityListing.md +1 -1
  68. data/docs/ExtensionEntityListing.md +1 -1
  69. data/docs/ExtensionPoolEntityListing.md +1 -1
  70. data/docs/ExternalOrganizationListing.md +1 -1
  71. data/docs/FacebookIntegrationEntityListing.md +1 -1
  72. data/docs/FaxDocumentEntityListing.md +1 -1
  73. data/docs/FlowDivisionViewEntityListing.md +1 -1
  74. data/docs/FlowEntityListing.md +1 -1
  75. data/docs/FlowVersionEntityListing.md +1 -1
  76. data/docs/GDPRRequestEntityListing.md +1 -1
  77. data/docs/GDPRSubjectEntityListing.md +1 -1
  78. data/docs/GSuite.md +1 -1
  79. data/docs/GreetingListing.md +1 -1
  80. data/docs/GroupEntityListing.md +1 -1
  81. data/docs/GroupProfileEntityListing.md +1 -1
  82. data/docs/IVREntityListing.md +1 -1
  83. data/docs/IdentityNow.md +1 -1
  84. data/docs/InboundDomainEntityListing.md +1 -1
  85. data/docs/InboundRouteEntityListing.md +1 -1
  86. data/docs/IntegrationEntityListing.md +1 -1
  87. data/docs/IntegrationEventEntityListing.md +1 -1
  88. data/docs/IntegrationTypeEntityListing.md +1 -1
  89. data/docs/InteractionStatsAlertContainer.md +1 -1
  90. data/docs/InteractionStatsRuleContainer.md +1 -1
  91. data/docs/KeywordSetEntityListing.md +1 -1
  92. data/docs/LanguageEntityListing.md +1 -1
  93. data/docs/LibraryEntityListing.md +1 -1
  94. data/docs/LineBaseEntityListing.md +1 -1
  95. data/docs/LineEntityListing.md +1 -1
  96. data/docs/LineIntegrationEntityListing.md +1 -1
  97. data/docs/LocationEntityListing.md +1 -1
  98. data/docs/LogicalInterfaceEntityListing.md +1 -1
  99. data/docs/ManagementUnitListing.md +1 -1
  100. data/docs/MessageConversationEntityListing.md +1 -1
  101. data/docs/MessageMediaAttachment.md +17 -0
  102. data/docs/MessageStickerAttachment.md +14 -0
  103. data/docs/MessagingStickerEntityListing.md +1 -1
  104. data/docs/NoteListing.md +1 -1
  105. data/docs/OAuthClientEntityListing.md +1 -1
  106. data/docs/OAuthProviderEntityListing.md +1 -1
  107. data/docs/Okta.md +1 -1
  108. data/docs/OneLogin.md +1 -1
  109. data/docs/OrganizationPresenceEntityListing.md +1 -1
  110. data/docs/OrganizationRoleEntityListing.md +1 -1
  111. data/docs/OrphanRecordingListing.md +1 -1
  112. data/docs/OutboundApi.md +228 -66
  113. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  114. data/docs/OutboundRouteEntityListing.md +1 -1
  115. data/docs/PermissionCollectionEntityListing.md +1 -1
  116. data/docs/PhoneBaseEntityListing.md +1 -1
  117. data/docs/PhoneEntityListing.md +1 -1
  118. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  119. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  120. data/docs/PingIdentity.md +1 -1
  121. data/docs/PolicyEntityListing.md +1 -1
  122. data/docs/PromptAssetEntityListing.md +1 -1
  123. data/docs/PromptEntityListing.md +1 -1
  124. data/docs/QualityApi.md +83 -7
  125. data/docs/QualityAuditPage.md +1 -1
  126. data/docs/QueueEntityListing.md +1 -1
  127. data/docs/QueueMemberEntityListing.md +1 -1
  128. data/docs/RecipientListing.md +1 -1
  129. data/docs/RecordingMessagingMessage.md +2 -0
  130. data/docs/RelationshipListing.md +1 -1
  131. data/docs/ReportMetaDataEntityListing.md +1 -1
  132. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  133. data/docs/ReportScheduleEntityListing.md +1 -1
  134. data/docs/ReportingExportJobListing.md +1 -1
  135. data/docs/ResponseEntityList.md +1 -1
  136. data/docs/ResponseEntityListing.md +1 -1
  137. data/docs/ResponseSetEntityListing.md +1 -1
  138. data/docs/RoutingApi.md +6 -2
  139. data/docs/RuleSetEntityListing.md +1 -1
  140. data/docs/Salesforce.md +1 -1
  141. data/docs/ScheduleEntityListing.md +1 -1
  142. data/docs/ScheduleGroupEntityListing.md +1 -1
  143. data/docs/SchemaCategoryEntityListing.md +1 -1
  144. data/docs/SchemaReferenceEntityListing.md +1 -1
  145. data/docs/ScreenRecordingSessionListing.md +1 -1
  146. data/docs/ScriptEntityListing.md +1 -1
  147. data/docs/SecurityProfileEntityListing.md +1 -1
  148. data/docs/ShareEntityListing.md +1 -1
  149. data/docs/SiteEntityListing.md +1 -1
  150. data/docs/SkillEntityListing.md +1 -1
  151. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  152. data/docs/StationEntityListing.md +1 -1
  153. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  154. data/docs/SurveyFormEntityListing.md +1 -1
  155. data/docs/SystemPromptAssetEntityListing.md +1 -1
  156. data/docs/SystemPromptEntityListing.md +1 -1
  157. data/docs/TagValueEntityListing.md +1 -1
  158. data/docs/TextMessageListing.md +1 -1
  159. data/docs/TimeZoneEntityListing.md +1 -1
  160. data/docs/TrunkBaseEntityListing.md +1 -1
  161. data/docs/TrunkEntityListing.md +1 -1
  162. data/docs/TrunkMetabaseEntityListing.md +1 -1
  163. data/docs/TrustEntityListing.md +1 -1
  164. data/docs/TrustUserEntityListing.md +1 -1
  165. data/docs/TrustorEntityListing.md +1 -1
  166. data/docs/TwitterIntegrationEntityListing.md +1 -1
  167. data/docs/UserActionCategoryEntityListing.md +1 -1
  168. data/docs/UserEntityListing.md +1 -1
  169. data/docs/UserLanguageEntityListing.md +1 -1
  170. data/docs/UserProfileEntityListing.md +1 -1
  171. data/docs/UserQueueEntityListing.md +1 -1
  172. data/docs/UserRecordingEntityListing.md +1 -1
  173. data/docs/UserSkillEntityListing.md +1 -1
  174. data/docs/ViewFilter.md +7 -0
  175. data/docs/VoicemailMessageEntityListing.md +1 -1
  176. data/docs/WorkspaceEntityListing.md +1 -1
  177. data/docs/WorkspaceMemberEntityListing.md +1 -1
  178. data/docs/WrapupCodeEntityListing.md +1 -1
  179. data/lib/purecloudplatformclientv2.rb +4 -0
  180. data/lib/purecloudplatformclientv2/api/analytics_api.rb +64 -0
  181. data/lib/purecloudplatformclientv2/api/architect_api.rb +12 -26
  182. data/lib/purecloudplatformclientv2/api/conversations_api.rb +64 -0
  183. data/lib/purecloudplatformclientv2/api/outbound_api.rb +312 -66
  184. data/lib/purecloudplatformclientv2/api/quality_api.rb +110 -8
  185. data/lib/purecloudplatformclientv2/api/routing_api.rb +18 -0
  186. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  187. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  188. data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
  189. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  190. data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
  191. data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +2 -2
  192. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  193. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +12 -12
  194. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  195. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  196. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  197. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  198. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  199. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  200. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  201. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  202. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  203. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  204. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  205. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  206. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  207. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  208. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  209. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  210. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  211. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  212. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  213. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  214. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  215. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +2 -2
  218. data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +2 -2
  219. data/lib/purecloudplatformclientv2/models/create_call_request.rb +30 -4
  220. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  221. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  222. data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
  223. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  224. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  225. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  226. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  227. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  228. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  229. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  230. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  231. data/lib/purecloudplatformclientv2/models/dnc_list_division_view.rb +331 -0
  232. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +428 -0
  233. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  234. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  235. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  236. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  237. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  238. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  239. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  240. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  241. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  242. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  243. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  244. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  245. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  246. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  247. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  248. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +12 -12
  249. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  250. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  256. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  257. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  258. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  259. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  260. data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
  261. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  262. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  263. data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +2 -2
  264. data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +2 -2
  265. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  266. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  267. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  268. data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
  269. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  270. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  271. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  272. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  273. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  274. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  275. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  276. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  277. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  278. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  279. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  280. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  281. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  282. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  283. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  284. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  285. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +2 -2
  288. data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +2 -2
  289. data/lib/purecloudplatformclientv2/models/message_media_attachment.rb +318 -0
  290. data/lib/purecloudplatformclientv2/models/message_sticker_attachment.rb +227 -0
  291. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  292. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  293. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  294. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  295. data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
  296. data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
  297. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  298. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  299. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  300. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  302. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  303. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  304. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  306. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  307. data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
  308. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  309. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  310. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  312. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  313. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  314. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  315. data/lib/purecloudplatformclientv2/models/recording_messaging_message.rb +58 -4
  316. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  318. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  319. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  320. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  321. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  322. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  323. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  324. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  325. data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
  326. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  327. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  328. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  329. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  330. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  331. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  332. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  333. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  334. data/lib/purecloudplatformclientv2/models/short_term_forecast_response.rb +2 -2
  335. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  336. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  338. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  339. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  340. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  341. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  342. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  343. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  344. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  345. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  346. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  347. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  348. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  349. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  350. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  354. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  355. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  356. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/view_filter.rb +232 -4
  361. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  362. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_calculations_complete_notice_notification.rb +2 -2
  363. data/lib/purecloudplatformclientv2/models/wfm_schedule_notification_notification.rb +2 -2
  364. data/lib/purecloudplatformclientv2/models/wfm_update_agent_details_complete_notification.rb +2 -2
  365. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  366. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  367. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/version.rb +1 -1
  369. metadata +10 -2
@@ -3856,8 +3856,8 @@ module PureCloud
3856
3856
 
3857
3857
  # Get a pageable list of flows, filtered by query parameters
3858
3858
  # Multiple IDs can be specified, in which case all matching flows will be returned, and no other parameters will be evaluated.
3859
- # @param type Type
3860
3859
  # @param [Hash] opts the optional parameters
3860
+ # @option opts [Array<String>] :type Type
3861
3861
  # @option opts [Integer] :page_number Page number (default to 1)
3862
3862
  # @option opts [Integer] :page_size Page size (default to 25)
3863
3863
  # @option opts [String] :sort_by Sort by (default to id)
@@ -3876,15 +3876,15 @@ module PureCloud
3876
3876
  # @option opts [String] :published_before Published before
3877
3877
  # @option opts [Array<String>] :division_id division ID(s)
3878
3878
  # @return [FlowEntityListing]
3879
- def get_flows(type, opts = {})
3880
- data, _status_code, _headers = get_flows_with_http_info(type, opts)
3879
+ def get_flows(opts = {})
3880
+ data, _status_code, _headers = get_flows_with_http_info(opts)
3881
3881
  return data
3882
3882
  end
3883
3883
 
3884
3884
  # Get a pageable list of flows, filtered by query parameters
3885
3885
  # Multiple IDs can be specified, in which case all matching flows will be returned, and no other parameters will be evaluated.
3886
- # @param type Type
3887
3886
  # @param [Hash] opts the optional parameters
3887
+ # @option opts [Array<String>] :type Type
3888
3888
  # @option opts [Integer] :page_number Page number
3889
3889
  # @option opts [Integer] :page_size Page size
3890
3890
  # @option opts [String] :sort_by Sort by
@@ -3903,19 +3903,12 @@ module PureCloud
3903
3903
  # @option opts [String] :published_before Published before
3904
3904
  # @option opts [Array<String>] :division_id division ID(s)
3905
3905
  # @return [Array<(FlowEntityListing, Fixnum, Hash)>] FlowEntityListing data, response status code and response headers
3906
- def get_flows_with_http_info(type, opts = {})
3906
+ def get_flows_with_http_info(opts = {})
3907
3907
  if @api_client.config.debugging
3908
3908
  @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows ..."
3909
3909
  end
3910
3910
 
3911
3911
 
3912
- # verify the required parameter 'type' is set
3913
- fail ArgumentError, "Missing the required parameter 'type' when calling ArchitectApi.get_flows" if type.nil?
3914
-
3915
- # verify enum value
3916
- unless ['inboundcall', 'inboundemail', 'inboundshortmessage', 'outboundcall', 'inqueuecall', 'speech', 'securecall', 'surveyinvite', 'workflow'].include?(type)
3917
- fail ArgumentError, "invalid value for 'type', must be one of inboundcall, inboundemail, inboundshortmessage, outboundcall, inqueuecall, speech, securecall, surveyinvite, workflow"
3918
- end
3919
3912
 
3920
3913
 
3921
3914
 
@@ -4032,7 +4025,7 @@ module PureCloud
4032
4025
 
4033
4026
  # query parameters
4034
4027
  query_params = {}
4035
- query_params[:'type'] = type
4028
+ query_params[:'type'] = @api_client.build_collection_param(opts[:'type'], :multi) if opts[:'type']
4036
4029
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
4037
4030
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
4038
4031
  query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
@@ -4446,8 +4439,8 @@ module PureCloud
4446
4439
 
4447
4440
  # Get a pageable list of basic flow information objects filterable by query parameters.
4448
4441
  # This returns a simplified version of /flow consisting of name and type.
4449
- # @param type Type
4450
4442
  # @param [Hash] opts the optional parameters
4443
+ # @option opts [Array<String>] :type Type
4451
4444
  # @option opts [Integer] :page_number Page number (default to 1)
4452
4445
  # @option opts [Integer] :page_size Page size (default to 25)
4453
4446
  # @option opts [String] :sort_by Sort by (default to id)
@@ -4459,15 +4452,15 @@ module PureCloud
4459
4452
  # @option opts [String] :published_before Published before
4460
4453
  # @option opts [Array<String>] :division_id division ID(s)
4461
4454
  # @return [FlowDivisionViewEntityListing]
4462
- def get_flows_divisionviews(type, opts = {})
4463
- data, _status_code, _headers = get_flows_divisionviews_with_http_info(type, opts)
4455
+ def get_flows_divisionviews(opts = {})
4456
+ data, _status_code, _headers = get_flows_divisionviews_with_http_info(opts)
4464
4457
  return data
4465
4458
  end
4466
4459
 
4467
4460
  # Get a pageable list of basic flow information objects filterable by query parameters.
4468
4461
  # This returns a simplified version of /flow consisting of name and type.
4469
- # @param type Type
4470
4462
  # @param [Hash] opts the optional parameters
4463
+ # @option opts [Array<String>] :type Type
4471
4464
  # @option opts [Integer] :page_number Page number
4472
4465
  # @option opts [Integer] :page_size Page size
4473
4466
  # @option opts [String] :sort_by Sort by
@@ -4479,19 +4472,12 @@ module PureCloud
4479
4472
  # @option opts [String] :published_before Published before
4480
4473
  # @option opts [Array<String>] :division_id division ID(s)
4481
4474
  # @return [Array<(FlowDivisionViewEntityListing, Fixnum, Hash)>] FlowDivisionViewEntityListing data, response status code and response headers
4482
- def get_flows_divisionviews_with_http_info(type, opts = {})
4475
+ def get_flows_divisionviews_with_http_info(opts = {})
4483
4476
  if @api_client.config.debugging
4484
4477
  @api_client.config.logger.debug "Calling API: ArchitectApi.get_flows_divisionviews ..."
4485
4478
  end
4486
4479
 
4487
4480
 
4488
- # verify the required parameter 'type' is set
4489
- fail ArgumentError, "Missing the required parameter 'type' when calling ArchitectApi.get_flows_divisionviews" if type.nil?
4490
-
4491
- # verify enum value
4492
- unless ['inboundcall', 'inboundemail', 'inboundshortmessage', 'outboundcall', 'inqueuecall', 'speech', 'securecall', 'surveyinvite', 'workflow'].include?(type)
4493
- fail ArgumentError, "invalid value for 'type', must be one of inboundcall, inboundemail, inboundshortmessage, outboundcall, inqueuecall, speech, securecall, surveyinvite, workflow"
4494
- end
4495
4481
 
4496
4482
 
4497
4483
 
@@ -4562,7 +4548,7 @@ module PureCloud
4562
4548
 
4563
4549
  # query parameters
4564
4550
  query_params = {}
4565
- query_params[:'type'] = type
4551
+ query_params[:'type'] = @api_client.build_collection_param(opts[:'type'], :multi) if opts[:'type']
4566
4552
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
4567
4553
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
4568
4554
  query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
@@ -321,6 +321,70 @@ module PureCloud
321
321
  return data, status_code, headers
322
322
  end
323
323
 
324
+ # Gets multiple conversations by id
325
+ #
326
+ # @param [Hash] opts the optional parameters
327
+ # @option opts [Array<String>] :id Comma-separated conversation ids
328
+ # @return [AnalyticsConversation]
329
+ def get_analytics_conversations_details(opts = {})
330
+ data, _status_code, _headers = get_analytics_conversations_details_with_http_info(opts)
331
+ return data
332
+ end
333
+
334
+ # Gets multiple conversations by id
335
+ #
336
+ # @param [Hash] opts the optional parameters
337
+ # @option opts [Array<String>] :id Comma-separated conversation ids
338
+ # @return [Array<(AnalyticsConversation, Fixnum, Hash)>] AnalyticsConversation data, response status code and response headers
339
+ def get_analytics_conversations_details_with_http_info(opts = {})
340
+ if @api_client.config.debugging
341
+ @api_client.config.logger.debug "Calling API: ConversationsApi.get_analytics_conversations_details ..."
342
+ end
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+ # resource path
351
+ local_var_path = "/api/v2/analytics/conversations/details".sub('{format}','json')
352
+
353
+ # query parameters
354
+ query_params = {}
355
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
356
+
357
+ # header parameters
358
+ header_params = {}
359
+
360
+ # HTTP header 'Accept' (if needed)
361
+ local_header_accept = ['application/json']
362
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
363
+
364
+ # HTTP header 'Content-Type'
365
+ local_header_content_type = ['application/json']
366
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
367
+
368
+ # form parameters
369
+ form_params = {}
370
+
371
+ # http body (model)
372
+ post_body = nil
373
+
374
+ auth_names = ['PureCloud Auth']
375
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
376
+ :header_params => header_params,
377
+ :query_params => query_params,
378
+ :form_params => form_params,
379
+ :body => post_body,
380
+ :auth_names => auth_names,
381
+ :return_type => 'AnalyticsConversation')
382
+ if @api_client.config.debugging
383
+ @api_client.config.logger.debug "API called: ConversationsApi#get_analytics_conversations_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
384
+ end
385
+ return data, status_code, headers
386
+ end
387
+
324
388
  # Get conversation
325
389
  #
326
390
  # @param conversation_id conversation ID
@@ -3127,8 +3127,91 @@ module PureCloud
3127
3127
  return data, status_code, headers
3128
3128
  end
3129
3129
 
3130
+ # Get a basic ContactList information object
3131
+ # This returns a simplified version of a ContactList, consisting of the name, division, column names, phone columns, import status, and size.
3132
+ # @param contact_list_id Contactlist ID
3133
+ # @param [Hash] opts the optional parameters
3134
+ # @option opts [BOOLEAN] :include_import_status Include import status (default to false)
3135
+ # @option opts [BOOLEAN] :include_size Include size (default to false)
3136
+ # @return [ContactListDivisionView]
3137
+ def get_outbound_contactlists_divisionview(contact_list_id, opts = {})
3138
+ data, _status_code, _headers = get_outbound_contactlists_divisionview_with_http_info(contact_list_id, opts)
3139
+ return data
3140
+ end
3141
+
3142
+ # Get a basic ContactList information object
3143
+ # This returns a simplified version of a ContactList, consisting of the name, division, column names, phone columns, import status, and size.
3144
+ # @param contact_list_id Contactlist ID
3145
+ # @param [Hash] opts the optional parameters
3146
+ # @option opts [BOOLEAN] :include_import_status Include import status
3147
+ # @option opts [BOOLEAN] :include_size Include size
3148
+ # @return [Array<(ContactListDivisionView, Fixnum, Hash)>] ContactListDivisionView data, response status code and response headers
3149
+ def get_outbound_contactlists_divisionview_with_http_info(contact_list_id, opts = {})
3150
+ if @api_client.config.debugging
3151
+ @api_client.config.logger.debug "Calling API: OutboundApi.get_outbound_contactlists_divisionview ..."
3152
+ end
3153
+
3154
+
3155
+ # verify the required parameter 'contact_list_id' is set
3156
+ fail ArgumentError, "Missing the required parameter 'contact_list_id' when calling OutboundApi.get_outbound_contactlists_divisionview" if contact_list_id.nil?
3157
+
3158
+
3159
+
3160
+
3161
+
3162
+
3163
+
3164
+
3165
+
3166
+
3167
+
3168
+
3169
+
3170
+
3171
+
3172
+
3173
+
3174
+ # resource path
3175
+ local_var_path = "/api/v2/outbound/contactlists/divisionviews/{contactListId}".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
3176
+
3177
+ # query parameters
3178
+ query_params = {}
3179
+ query_params[:'includeImportStatus'] = opts[:'include_import_status'] if opts[:'include_import_status']
3180
+ query_params[:'includeSize'] = opts[:'include_size'] if opts[:'include_size']
3181
+
3182
+ # header parameters
3183
+ header_params = {}
3184
+
3185
+ # HTTP header 'Accept' (if needed)
3186
+ local_header_accept = ['application/json']
3187
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3188
+
3189
+ # HTTP header 'Content-Type'
3190
+ local_header_content_type = ['application/json']
3191
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3192
+
3193
+ # form parameters
3194
+ form_params = {}
3195
+
3196
+ # http body (model)
3197
+ post_body = nil
3198
+
3199
+ auth_names = ['PureCloud Auth']
3200
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3201
+ :header_params => header_params,
3202
+ :query_params => query_params,
3203
+ :form_params => form_params,
3204
+ :body => post_body,
3205
+ :auth_names => auth_names,
3206
+ :return_type => 'ContactListDivisionView')
3207
+ if @api_client.config.debugging
3208
+ @api_client.config.logger.debug "API called: OutboundApi#get_outbound_contactlists_divisionview\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3209
+ end
3210
+ return data, status_code, headers
3211
+ end
3212
+
3130
3213
  # Query a list of simplified contact list objects.
3131
- # This return a simplified version of contact lists, consisting of the name, divisions, columns, and phone columns.
3214
+ # This return a simplified version of contact lists, consisting of the name, division, column names, phone columns, import status, and size.
3132
3215
  # @param [Hash] opts the optional parameters
3133
3216
  # @option opts [BOOLEAN] :include_import_status Include import status (default to false)
3134
3217
  # @option opts [BOOLEAN] :include_size Include size (default to false)
@@ -3146,7 +3229,7 @@ module PureCloud
3146
3229
  end
3147
3230
 
3148
3231
  # Query a list of simplified contact list objects.
3149
- # This return a simplified version of contact lists, consisting of the name, divisions, columns, and phone columns.
3232
+ # This return a simplified version of contact lists, consisting of the name, division, column names, phone columns, import status, and size.
3150
3233
  # @param [Hash] opts the optional parameters
3151
3234
  # @option opts [BOOLEAN] :include_import_status Include import status
3152
3235
  # @option opts [BOOLEAN] :include_size Include size
@@ -3650,6 +3733,233 @@ module PureCloud
3650
3733
  return data, status_code, headers
3651
3734
  end
3652
3735
 
3736
+ # Get a basic DncList information object
3737
+ # This returns a simplified version of a DncList, consisting of the name, division, import status, and size.
3738
+ # @param dnc_list_id Dnclist ID
3739
+ # @param [Hash] opts the optional parameters
3740
+ # @option opts [BOOLEAN] :include_import_status Include import status (default to false)
3741
+ # @option opts [BOOLEAN] :include_size Include size (default to false)
3742
+ # @return [DncListDivisionView]
3743
+ def get_outbound_dnclists_divisionview(dnc_list_id, opts = {})
3744
+ data, _status_code, _headers = get_outbound_dnclists_divisionview_with_http_info(dnc_list_id, opts)
3745
+ return data
3746
+ end
3747
+
3748
+ # Get a basic DncList information object
3749
+ # This returns a simplified version of a DncList, consisting of the name, division, import status, and size.
3750
+ # @param dnc_list_id Dnclist ID
3751
+ # @param [Hash] opts the optional parameters
3752
+ # @option opts [BOOLEAN] :include_import_status Include import status
3753
+ # @option opts [BOOLEAN] :include_size Include size
3754
+ # @return [Array<(DncListDivisionView, Fixnum, Hash)>] DncListDivisionView data, response status code and response headers
3755
+ def get_outbound_dnclists_divisionview_with_http_info(dnc_list_id, opts = {})
3756
+ if @api_client.config.debugging
3757
+ @api_client.config.logger.debug "Calling API: OutboundApi.get_outbound_dnclists_divisionview ..."
3758
+ end
3759
+
3760
+
3761
+ # verify the required parameter 'dnc_list_id' is set
3762
+ fail ArgumentError, "Missing the required parameter 'dnc_list_id' when calling OutboundApi.get_outbound_dnclists_divisionview" if dnc_list_id.nil?
3763
+
3764
+
3765
+
3766
+
3767
+
3768
+
3769
+
3770
+
3771
+
3772
+
3773
+
3774
+
3775
+
3776
+
3777
+
3778
+
3779
+
3780
+ # resource path
3781
+ local_var_path = "/api/v2/outbound/dnclists/divisionviews/{dncListId}".sub('{format}','json').sub('{' + 'dncListId' + '}', dnc_list_id.to_s)
3782
+
3783
+ # query parameters
3784
+ query_params = {}
3785
+ query_params[:'includeImportStatus'] = opts[:'include_import_status'] if opts[:'include_import_status']
3786
+ query_params[:'includeSize'] = opts[:'include_size'] if opts[:'include_size']
3787
+
3788
+ # header parameters
3789
+ header_params = {}
3790
+
3791
+ # HTTP header 'Accept' (if needed)
3792
+ local_header_accept = ['application/json']
3793
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3794
+
3795
+ # HTTP header 'Content-Type'
3796
+ local_header_content_type = ['application/json']
3797
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3798
+
3799
+ # form parameters
3800
+ form_params = {}
3801
+
3802
+ # http body (model)
3803
+ post_body = nil
3804
+
3805
+ auth_names = ['PureCloud Auth']
3806
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3807
+ :header_params => header_params,
3808
+ :query_params => query_params,
3809
+ :form_params => form_params,
3810
+ :body => post_body,
3811
+ :auth_names => auth_names,
3812
+ :return_type => 'DncListDivisionView')
3813
+ if @api_client.config.debugging
3814
+ @api_client.config.logger.debug "API called: OutboundApi#get_outbound_dnclists_divisionview\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3815
+ end
3816
+ return data, status_code, headers
3817
+ end
3818
+
3819
+ # Query a list of simplified dnc list objects.
3820
+ # This return a simplified version of dnc lists, consisting of the name, division, import status, and size.
3821
+ # @param [Hash] opts the optional parameters
3822
+ # @option opts [BOOLEAN] :include_import_status Include import status (default to false)
3823
+ # @option opts [BOOLEAN] :include_size Include size (default to false)
3824
+ # @option opts [Integer] :page_size Page size. The max that will be returned is 100. (default to 25)
3825
+ # @option opts [Integer] :page_number Page number (default to 1)
3826
+ # @option opts [String] :filter_type Filter type (default to Prefix)
3827
+ # @option opts [String] :name Name
3828
+ # @option opts [Array<String>] :id id
3829
+ # @option opts [String] :sort_by Sort by
3830
+ # @option opts [String] :sort_order Sort order (default to a)
3831
+ # @return [DncListDivisionViewListing]
3832
+ def get_outbound_dnclists_divisionviews(opts = {})
3833
+ data, _status_code, _headers = get_outbound_dnclists_divisionviews_with_http_info(opts)
3834
+ return data
3835
+ end
3836
+
3837
+ # Query a list of simplified dnc list objects.
3838
+ # This return a simplified version of dnc lists, consisting of the name, division, import status, and size.
3839
+ # @param [Hash] opts the optional parameters
3840
+ # @option opts [BOOLEAN] :include_import_status Include import status
3841
+ # @option opts [BOOLEAN] :include_size Include size
3842
+ # @option opts [Integer] :page_size Page size. The max that will be returned is 100.
3843
+ # @option opts [Integer] :page_number Page number
3844
+ # @option opts [String] :filter_type Filter type
3845
+ # @option opts [String] :name Name
3846
+ # @option opts [Array<String>] :id id
3847
+ # @option opts [String] :sort_by Sort by
3848
+ # @option opts [String] :sort_order Sort order
3849
+ # @return [Array<(DncListDivisionViewListing, Fixnum, Hash)>] DncListDivisionViewListing data, response status code and response headers
3850
+ def get_outbound_dnclists_divisionviews_with_http_info(opts = {})
3851
+ if @api_client.config.debugging
3852
+ @api_client.config.logger.debug "Calling API: OutboundApi.get_outbound_dnclists_divisionviews ..."
3853
+ end
3854
+
3855
+
3856
+
3857
+
3858
+
3859
+
3860
+
3861
+
3862
+
3863
+
3864
+
3865
+
3866
+
3867
+
3868
+
3869
+
3870
+
3871
+
3872
+
3873
+
3874
+
3875
+
3876
+
3877
+
3878
+
3879
+
3880
+
3881
+
3882
+ if opts[:'filter_type'] && !['Equals', 'RegEx', 'Contains', 'Prefix', 'LessThan', 'LessThanEqualTo', 'GreaterThan', 'GreaterThanEqualTo', 'BeginsWith', 'EndsWith'].include?(opts[:'filter_type'])
3883
+ fail ArgumentError, 'invalid value for "filter_type", must be one of Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith'
3884
+ end
3885
+
3886
+
3887
+
3888
+
3889
+
3890
+
3891
+
3892
+
3893
+
3894
+
3895
+
3896
+
3897
+
3898
+
3899
+
3900
+
3901
+
3902
+
3903
+
3904
+
3905
+
3906
+
3907
+
3908
+
3909
+
3910
+ if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
3911
+ fail ArgumentError, 'invalid value for "sort_order", must be one of ascending, descending'
3912
+ end
3913
+
3914
+
3915
+
3916
+
3917
+ # resource path
3918
+ local_var_path = "/api/v2/outbound/dnclists/divisionviews".sub('{format}','json')
3919
+
3920
+ # query parameters
3921
+ query_params = {}
3922
+ query_params[:'includeImportStatus'] = opts[:'include_import_status'] if opts[:'include_import_status']
3923
+ query_params[:'includeSize'] = opts[:'include_size'] if opts[:'include_size']
3924
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
3925
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
3926
+ query_params[:'filterType'] = opts[:'filter_type'] if opts[:'filter_type']
3927
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
3928
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
3929
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
3930
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
3931
+
3932
+ # header parameters
3933
+ header_params = {}
3934
+
3935
+ # HTTP header 'Accept' (if needed)
3936
+ local_header_accept = ['application/json']
3937
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3938
+
3939
+ # HTTP header 'Content-Type'
3940
+ local_header_content_type = ['application/json']
3941
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3942
+
3943
+ # form parameters
3944
+ form_params = {}
3945
+
3946
+ # http body (model)
3947
+ post_body = nil
3948
+
3949
+ auth_names = ['PureCloud Auth']
3950
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3951
+ :header_params => header_params,
3952
+ :query_params => query_params,
3953
+ :form_params => form_params,
3954
+ :body => post_body,
3955
+ :auth_names => auth_names,
3956
+ :return_type => 'DncListDivisionViewListing')
3957
+ if @api_client.config.debugging
3958
+ @api_client.config.logger.debug "API called: OutboundApi#get_outbound_dnclists_divisionviews\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3959
+ end
3960
+ return data, status_code, headers
3961
+ end
3962
+
3653
3963
  # Get Dialer Event
3654
3964
  #
3655
3965
  # @param event_id Event Log ID
@@ -5194,70 +5504,6 @@ module PureCloud
5194
5504
  return data, status_code, headers
5195
5505
  end
5196
5506
 
5197
- # Deletes all contacts out of a list. All outstanding recalls or rule-scheduled callbacks for non-preview campaigns configured with the contactlist will be cancelled.
5198
- #
5199
- # @param contact_list_id Contact List ID
5200
- # @param [Hash] opts the optional parameters
5201
- # @return [nil]
5202
- def post_outbound_contactlist_clear(contact_list_id, opts = {})
5203
- post_outbound_contactlist_clear_with_http_info(contact_list_id, opts)
5204
- return nil
5205
- end
5206
-
5207
- # Deletes all contacts out of a list. All outstanding recalls or rule-scheduled callbacks for non-preview campaigns configured with the contactlist will be cancelled.
5208
- #
5209
- # @param contact_list_id Contact List ID
5210
- # @param [Hash] opts the optional parameters
5211
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
5212
- def post_outbound_contactlist_clear_with_http_info(contact_list_id, opts = {})
5213
- if @api_client.config.debugging
5214
- @api_client.config.logger.debug "Calling API: OutboundApi.post_outbound_contactlist_clear ..."
5215
- end
5216
-
5217
-
5218
- # verify the required parameter 'contact_list_id' is set
5219
- fail ArgumentError, "Missing the required parameter 'contact_list_id' when calling OutboundApi.post_outbound_contactlist_clear" if contact_list_id.nil?
5220
-
5221
-
5222
-
5223
-
5224
-
5225
- # resource path
5226
- local_var_path = "/api/v2/outbound/contactlists/{contactListId}/clear".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
5227
-
5228
- # query parameters
5229
- query_params = {}
5230
-
5231
- # header parameters
5232
- header_params = {}
5233
-
5234
- # HTTP header 'Accept' (if needed)
5235
- local_header_accept = ['application/json']
5236
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
5237
-
5238
- # HTTP header 'Content-Type'
5239
- local_header_content_type = ['application/json']
5240
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
5241
-
5242
- # form parameters
5243
- form_params = {}
5244
-
5245
- # http body (model)
5246
- post_body = nil
5247
-
5248
- auth_names = ['PureCloud Auth']
5249
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5250
- :header_params => header_params,
5251
- :query_params => query_params,
5252
- :form_params => form_params,
5253
- :body => post_body,
5254
- :auth_names => auth_names)
5255
- if @api_client.config.debugging
5256
- @api_client.config.logger.debug "API called: OutboundApi#post_outbound_contactlist_clear\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5257
- end
5258
- return data, status_code, headers
5259
- end
5260
-
5261
5507
  # Add contacts to a contact list.
5262
5508
  #
5263
5509
  # @param contact_list_id Contact List ID