purecloud 0.44.1 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/Account.html.md +12 -12
  5. data/doc_out/AddressListing.html.md +2 -2
  6. data/doc_out/AgentActivityEntityListing.html.md +2 -2
  7. data/doc_out/AlertingApi.html.md +15 -18
  8. data/doc_out/AnalyticsApi.html.md +45 -54
  9. data/doc_out/AnalyticsSession.html.md +6 -0
  10. data/doc_out/AssetEntityListing.html.md +2 -2
  11. data/doc_out/AttributeEntityListing.html.md +2 -2
  12. data/doc_out/AttributesApi.html.md +15 -18
  13. data/doc_out/AuthorizationApi.html.md +43 -51
  14. data/doc_out/AvailableAdditionalServiceListing.html.md +2 -2
  15. data/doc_out/AvailableTopicEntityListing.html.md +2 -2
  16. data/doc_out/BillingAddress.html.md +5 -5
  17. data/doc_out/BillingContactListing.html.md +2 -2
  18. data/doc_out/CalibrationEntityListing.html.md +2 -2
  19. data/doc_out/CallConversationEntityListing.html.md +2 -2
  20. data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
  21. data/doc_out/CallbackConversationEntityListing.html.md +2 -2
  22. data/doc_out/CampaignEntityListing.html.md +2 -2
  23. data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
  24. data/doc_out/CarrierEntityListing.html.md +2 -2
  25. data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
  26. data/doc_out/ChannelEntityListing.html.md +2 -2
  27. data/doc_out/ChannelTopicEntityListing.html.md +2 -2
  28. data/doc_out/ChatConversationEntityListing.html.md +2 -2
  29. data/doc_out/CommandStatusEntityListing.html.md +2 -2
  30. data/doc_out/ConfigurationApi.html.md +5 -6
  31. data/doc_out/ConsumedResourcesEntityListing.html.md +2 -2
  32. data/doc_out/ConsumingResourcesEntityListing.html.md +2 -2
  33. data/doc_out/ContactListEntityListing.html.md +2 -2
  34. data/doc_out/ContactListing.html.md +2 -2
  35. data/doc_out/ContactSales.html.md +10 -10
  36. data/doc_out/ContentManagementApi.html.md +50 -52
  37. data/doc_out/Contract.html.md +3 -3
  38. data/doc_out/ConversationEntityListing.html.md +2 -2
  39. data/doc_out/ConversationsApi.html.md +140 -168
  40. data/doc_out/CreateCallbackCommand.html.md +2 -1
  41. data/doc_out/DIDEntityListing.html.md +2 -2
  42. data/doc_out/DIDPoolEntityListing.html.md +2 -2
  43. data/doc_out/DependencyObjectEntityListing.html.md +2 -2
  44. data/doc_out/DependencyTypeEntityListing.html.md +2 -2
  45. data/doc_out/Deployment.html.md +17 -0
  46. data/doc_out/DeploymentEntityListing.html.md +22 -0
  47. data/doc_out/DncList.html.md +4 -0
  48. data/doc_out/DncListEntityListing.html.md +2 -2
  49. data/doc_out/DocumentAuditEntityListing.html.md +2 -2
  50. data/doc_out/DocumentEntityListing.html.md +2 -2
  51. data/doc_out/DomainBillingPeriodEntityListing.html.md +2 -2
  52. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -1
  53. data/doc_out/DomainEntityListing.html.md +2 -2
  54. data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
  55. data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
  56. data/doc_out/DomainInvoiceEntityListing.html.md +2 -2
  57. data/doc_out/DomainLogicalInterface.html.md +3 -3
  58. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +2 -2
  59. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +2 -2
  60. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +2 -2
  61. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +2 -2
  62. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +2 -2
  63. data/doc_out/EdgeEntityListing.html.md +2 -2
  64. data/doc_out/EdgeGroup.html.md +1 -1
  65. data/doc_out/EdgeGroupEntityListing.html.md +2 -2
  66. data/doc_out/EdgeLineEntityListing.html.md +2 -2
  67. data/doc_out/EmailConversationEntityListing.html.md +2 -2
  68. data/doc_out/EmailMessageListing.html.md +2 -2
  69. data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
  70. data/doc_out/Endpoint.html.md +2 -2
  71. data/doc_out/EndpointEntityListing.html.md +2 -2
  72. data/doc_out/EvaluationEntityListing.html.md +2 -2
  73. data/doc_out/EvaluationFormEntityListing.html.md +2 -2
  74. data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
  75. data/doc_out/ExpressionResponse.html.md +1 -1
  76. data/doc_out/ExtensionEntityListing.html.md +2 -2
  77. data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
  78. data/doc_out/ExternalContact.html.md +1 -0
  79. data/doc_out/ExternalOrganization.html.md +1 -0
  80. data/doc_out/ExternalOrganizationListing.html.md +2 -2
  81. data/doc_out/FaxApi.html.md +5 -6
  82. data/doc_out/FaxDocumentEntityListing.html.md +2 -2
  83. data/doc_out/Flow.html.md +5 -2
  84. data/doc_out/FlowConfigMetaDataEntityListing.html.md +2 -2
  85. data/doc_out/FlowEntityListing.html.md +2 -2
  86. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +2 -2
  87. data/doc_out/FlowVersionEntityListing.html.md +2 -2
  88. data/doc_out/GeolocationApi.html.md +10 -12
  89. data/doc_out/Gistener.html.md +2 -2
  90. data/doc_out/Greeting.html.md +3 -3
  91. data/doc_out/GroupEntityListing.html.md +2 -2
  92. data/doc_out/GroupTag.html.md +1 -1
  93. data/doc_out/GroupsApi.html.md +20 -22
  94. data/doc_out/HardwareRateListing.html.md +2 -2
  95. data/doc_out/IVREntityListing.html.md +2 -2
  96. data/doc_out/IdentityProviderApi.html.md +35 -42
  97. data/doc_out/InboundDomain.html.md +1 -1
  98. data/doc_out/InboundDomainEntityListing.html.md +2 -2
  99. data/doc_out/InboundRouteEntityListing.html.md +2 -2
  100. data/doc_out/IntegrationEntityListing.html.md +2 -2
  101. data/doc_out/IntegrationTypeEntityListing.html.md +2 -2
  102. data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
  103. data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
  104. data/doc_out/JsonNode.html.md +1 -1
  105. data/doc_out/KeywordSetEntityListing.html.md +2 -2
  106. data/doc_out/LanguageEntityListing.html.md +2 -2
  107. data/doc_out/LanguagesApi.html.md +13 -13
  108. data/doc_out/LibraryEntityListing.html.md +2 -2
  109. data/doc_out/LineBaseEntityListing.html.md +2 -2
  110. data/doc_out/LineEntityListing.html.md +2 -2
  111. data/doc_out/LinkedEntityListingFlowDetails.html.md +2 -2
  112. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +2 -2
  113. data/doc_out/LocationsApi.html.md +10 -10
  114. data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
  115. data/doc_out/NoteListing.html.md +2 -2
  116. data/doc_out/NotificationsApi.html.md +10 -12
  117. data/doc_out/OAuthApi.html.md +10 -12
  118. data/doc_out/OAuthClientEntityListing.html.md +2 -2
  119. data/doc_out/OAuthProviderEntityListing.html.md +2 -2
  120. data/doc_out/Operation.html.md +16 -0
  121. data/doc_out/Order.html.md +2 -2
  122. data/doc_out/OrganizationPresence.html.md +1 -0
  123. data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
  124. data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
  125. data/doc_out/OrphanRecordingListing.html.md +2 -2
  126. data/doc_out/OutboundApi.html.md +125 -145
  127. data/doc_out/OutboundRoute.html.md +1 -1
  128. data/doc_out/OutboundRouteEntityListing.html.md +2 -2
  129. data/doc_out/PaymentMethod.html.md +3 -3
  130. data/doc_out/PaymentMethodListing.html.md +2 -2
  131. data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
  132. data/doc_out/Phone.html.md +3 -3
  133. data/doc_out/PhoneBase.html.md +2 -2
  134. data/doc_out/PhoneBaseEntityListing.html.md +2 -2
  135. data/doc_out/PhoneEntityListing.html.md +2 -2
  136. data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
  137. data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
  138. data/doc_out/PolicyEntityListing.html.md +2 -2
  139. data/doc_out/PresenceApi.html.md +5 -6
  140. data/doc_out/Prompt.html.md +1 -0
  141. data/doc_out/PromptAssetEntityListing.html.md +2 -2
  142. data/doc_out/PromptEntityListing.html.md +2 -2
  143. data/doc_out/Publication.html.md +1 -1
  144. data/doc_out/QualityApi.html.md +55 -58
  145. data/doc_out/QualityAuditPage.html.md +2 -2
  146. data/doc_out/QueueEntityListing.html.md +2 -2
  147. data/doc_out/Quote.html.md +3 -3
  148. data/doc_out/QuoteListing.html.md +2 -2
  149. data/doc_out/RecordingApi.html.md +30 -36
  150. data/doc_out/RelationshipListing.html.md +2 -2
  151. data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
  152. data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
  153. data/doc_out/ReportSchedule.html.md +3 -3
  154. data/doc_out/ReportScheduleEntityListing.html.md +2 -2
  155. data/doc_out/ResourcePermissionPolicy.html.md +1 -0
  156. data/doc_out/ResponseEntityList.html.md +2 -2
  157. data/doc_out/ResponseEntityListing.html.md +2 -2
  158. data/doc_out/ResponseManagementApi.html.md +25 -30
  159. data/doc_out/ResponseSetEntityListing.html.md +2 -2
  160. data/doc_out/RoutingApi.html.md +80 -94
  161. data/doc_out/RuleSetEntityListing.html.md +2 -2
  162. data/doc_out/SceneEntityListing.html.md +2 -2
  163. data/doc_out/SceneGroupEntityListing.html.md +2 -2
  164. data/doc_out/ScheduleEntityListing.html.md +2 -2
  165. data/doc_out/ScheduleGroupEntityListing.html.md +2 -2
  166. data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
  167. data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
  168. data/doc_out/ScriptEntityListing.html.md +2 -2
  169. data/doc_out/SearchApi.html.md +50 -46
  170. data/doc_out/SecurityProfileEntityListing.html.md +2 -2
  171. data/doc_out/ServiceEntityListing.html.md +2 -2
  172. data/doc_out/Share.html.md +1 -0
  173. data/doc_out/ShareEntityListing.html.md +2 -2
  174. data/doc_out/Site.html.md +1 -1
  175. data/doc_out/SiteEntityListing.html.md +2 -2
  176. data/doc_out/SkillEntityListing.html.md +2 -2
  177. data/doc_out/SocialAccount.html.md +2 -2
  178. data/doc_out/SocialConversationEntityListing.html.md +2 -2
  179. data/doc_out/SocializeFilterRequest.html.md +1 -1
  180. data/doc_out/SpreadsheetTransformEntityListing.html.md +2 -2
  181. data/doc_out/StationEntityListing.html.md +2 -2
  182. data/doc_out/SuggestApi.html.md +20 -16
  183. data/doc_out/SupportCreditListing.html.md +2 -2
  184. data/doc_out/SystemPromptAssetEntityListing.html.md +2 -2
  185. data/doc_out/SystemPromptEntityListing.html.md +2 -2
  186. data/doc_out/TagValueEntityListing.html.md +2 -2
  187. data/doc_out/TelephonyProvidersEdgeApi.html.md +160 -192
  188. data/doc_out/TemplateEntityListing.html.md +2 -2
  189. data/doc_out/TextTableTransformEntityListing.html.md +2 -2
  190. data/doc_out/TimeOffRequest.html.md +30 -0
  191. data/doc_out/TimeOffRequestList.html.md +16 -0
  192. data/doc_out/TimeOffRequestPatch.html.md +13 -0
  193. data/doc_out/TimeZoneEntityListing.html.md +2 -2
  194. data/doc_out/TrunkEntityListing.html.md +2 -2
  195. data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
  196. data/doc_out/TwitterExpression.html.md +4 -4
  197. data/doc_out/TwitterId.html.md +17 -0
  198. data/doc_out/UserActionCategoryEntityListing.html.md +2 -2
  199. data/doc_out/UserActionMetadataEntityListing.html.md +1 -1
  200. data/doc_out/UserEntityListing.html.md +2 -2
  201. data/doc_out/UserQueueEntityListing.html.md +2 -2
  202. data/doc_out/UserRecordingEntityListing.html.md +2 -2
  203. data/doc_out/UserRecordingsApi.html.md +5 -4
  204. data/doc_out/UserSkillEntityListing.html.md +2 -2
  205. data/doc_out/UsersApi.html.md +86 -99
  206. data/doc_out/UsersEntityListing.html.md +2 -2
  207. data/doc_out/UtilitiesApi.html.md +5 -6
  208. data/doc_out/VideoConversationEntityListing.html.md +2 -2
  209. data/doc_out/VoiceRateInternationalEntityListing.html.md +2 -2
  210. data/doc_out/VoiceXmlOperation.html.md +1 -0
  211. data/doc_out/VoiceXmlOperationEntityListing.html.md +2 -2
  212. data/doc_out/VoicemailApi.html.md +10 -12
  213. data/doc_out/WaypointEntityListing.html.md +2 -2
  214. data/doc_out/WorkspaceEntityListing.html.md +2 -2
  215. data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
  216. data/doc_out/WrapupCodeEntityListing.html.md +2 -2
  217. data/doc_out/index.html.md +3 -3
  218. data/lib/purecloud.rb +7 -0
  219. data/lib/purecloud/api/alerting_api.rb +27 -18
  220. data/lib/purecloud/api/analytics_api.rb +81 -54
  221. data/lib/purecloud/api/attributes_api.rb +27 -18
  222. data/lib/purecloud/api/authorization_api.rb +74 -50
  223. data/lib/purecloud/api/configuration_api.rb +9 -6
  224. data/lib/purecloud/api/content_management_api.rb +90 -60
  225. data/lib/purecloud/api/conversations_api.rb +252 -168
  226. data/lib/purecloud/api/fax_api.rb +9 -6
  227. data/lib/purecloud/api/geolocation_api.rb +18 -12
  228. data/lib/purecloud/api/groups_api.rb +36 -24
  229. data/lib/purecloud/api/identity_provider_api.rb +63 -42
  230. data/lib/purecloud/api/languages_api.rb +21 -12
  231. data/lib/purecloud/api/locations_api.rb +18 -12
  232. data/lib/purecloud/api/notifications_api.rb +18 -12
  233. data/lib/purecloud/api/o_auth_api.rb +18 -12
  234. data/lib/purecloud/api/outbound_api.rb +220 -148
  235. data/lib/purecloud/api/presence_api.rb +9 -6
  236. data/lib/purecloud/api/quality_api.rb +99 -66
  237. data/lib/purecloud/api/recording_api.rb +54 -36
  238. data/lib/purecloud/api/response_management_api.rb +45 -30
  239. data/lib/purecloud/api/routing_api.rb +144 -96
  240. data/lib/purecloud/api/search_api.rb +90 -60
  241. data/lib/purecloud/api/suggest_api.rb +36 -24
  242. data/lib/purecloud/api/telephony_providers_edge_api.rb +288 -192
  243. data/lib/purecloud/api/user_recordings_api.rb +9 -6
  244. data/lib/purecloud/api/users_api.rb +145 -100
  245. data/lib/purecloud/api/utilities_api.rb +9 -6
  246. data/lib/purecloud/api/voicemail_api.rb +18 -12
  247. data/lib/purecloud/api_client.rb +1 -1
  248. data/lib/purecloud/models/account.rb +12 -0
  249. data/lib/purecloud/models/address_listing.rb +17 -17
  250. data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
  251. data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
  252. data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
  253. data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
  254. data/lib/purecloud/models/analytics_session.rb +66 -1
  255. data/lib/purecloud/models/asset_entity_listing.rb +17 -17
  256. data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
  257. data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
  258. data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
  259. data/lib/purecloud/models/billing_address.rb +5 -0
  260. data/lib/purecloud/models/billing_contact_listing.rb +17 -17
  261. data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
  262. data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
  263. data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
  264. data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
  265. data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
  266. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
  267. data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
  268. data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
  269. data/lib/purecloud/models/channel_entity_listing.rb +17 -17
  270. data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
  271. data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
  272. data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
  273. data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
  274. data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
  275. data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
  276. data/lib/purecloud/models/contact_listing.rb +17 -17
  277. data/lib/purecloud/models/contact_sales.rb +10 -0
  278. data/lib/purecloud/models/contract.rb +3 -0
  279. data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
  280. data/lib/purecloud/models/create_callback_command.rb +18 -8
  281. data/lib/purecloud/models/create_share_request.rb +1 -1
  282. data/lib/purecloud/models/create_share_request_member.rb +1 -1
  283. data/lib/purecloud/models/create_share_response.rb +1 -1
  284. data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
  285. data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
  286. data/lib/purecloud/models/deployment.rb +209 -0
  287. data/lib/purecloud/models/deployment_entity_listing.rb +257 -0
  288. data/lib/purecloud/models/did_entity_listing.rb +17 -17
  289. data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
  290. data/lib/purecloud/models/dnc_list.rb +56 -1
  291. data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
  292. data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
  293. data/lib/purecloud/models/document_entity_listing.rb +17 -17
  294. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
  295. data/lib/purecloud/models/domain_edge_software_update_dto.rb +1 -0
  296. data/lib/purecloud/models/domain_entity_listing.rb +17 -17
  297. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
  298. data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
  299. data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
  300. data/lib/purecloud/models/domain_logical_interface.rb +3 -0
  301. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
  302. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
  303. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
  304. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
  305. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
  306. data/lib/purecloud/models/edge_entity_listing.rb +17 -17
  307. data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
  308. data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
  309. data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
  310. data/lib/purecloud/models/email_message_listing.rb +17 -17
  311. data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
  312. data/lib/purecloud/models/endpoint.rb +2 -0
  313. data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
  314. data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
  315. data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
  316. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
  317. data/lib/purecloud/models/extension_entity_listing.rb +17 -17
  318. data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
  319. data/lib/purecloud/models/external_contact.rb +11 -1
  320. data/lib/purecloud/models/external_organization.rb +11 -1
  321. data/lib/purecloud/models/external_organization_listing.rb +17 -17
  322. data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
  323. data/lib/purecloud/models/flow.rb +49 -19
  324. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
  325. data/lib/purecloud/models/flow_entity_listing.rb +17 -17
  326. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
  327. data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
  328. data/lib/purecloud/models/greeting.rb +3 -0
  329. data/lib/purecloud/models/group_entity_listing.rb +17 -17
  330. data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
  331. data/lib/purecloud/models/inbound_domain.rb +1 -0
  332. data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
  333. data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
  334. data/lib/purecloud/models/integration_entity_listing.rb +17 -17
  335. data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
  336. data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
  337. data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
  338. data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
  339. data/lib/purecloud/models/json_node.rb +13 -13
  340. data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
  341. data/lib/purecloud/models/language_entity_listing.rb +17 -17
  342. data/lib/purecloud/models/library_entity_listing.rb +17 -17
  343. data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
  344. data/lib/purecloud/models/line_entity_listing.rb +17 -17
  345. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
  346. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
  347. data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
  348. data/lib/purecloud/models/management_unit.rb +1 -0
  349. data/lib/purecloud/models/note_listing.rb +17 -17
  350. data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
  351. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
  352. data/lib/purecloud/models/operation.rb +195 -0
  353. data/lib/purecloud/models/order.rb +2 -0
  354. data/lib/purecloud/models/organization_presence.rb +13 -1
  355. data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
  356. data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
  357. data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
  358. data/lib/purecloud/models/outbound_route.rb +1 -0
  359. data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
  360. data/lib/purecloud/models/payment_method.rb +3 -0
  361. data/lib/purecloud/models/payment_method_listing.rb +17 -17
  362. data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
  363. data/lib/purecloud/models/phone.rb +3 -0
  364. data/lib/purecloud/models/phone_base.rb +2 -0
  365. data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
  366. data/lib/purecloud/models/phone_entity_listing.rb +17 -17
  367. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
  368. data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
  369. data/lib/purecloud/models/policy_entity_listing.rb +17 -17
  370. data/lib/purecloud/models/prompt.rb +11 -1
  371. data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
  372. data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
  373. data/lib/purecloud/models/quality_audit_page.rb +17 -17
  374. data/lib/purecloud/models/queue_entity_listing.rb +17 -17
  375. data/lib/purecloud/models/quote.rb +3 -0
  376. data/lib/purecloud/models/quote_listing.rb +17 -17
  377. data/lib/purecloud/models/relationship_listing.rb +17 -17
  378. data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
  379. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
  380. data/lib/purecloud/models/report_schedule.rb +3 -1
  381. data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
  382. data/lib/purecloud/models/resource_permission_policy.rb +13 -1
  383. data/lib/purecloud/models/response_entity_list.rb +17 -17
  384. data/lib/purecloud/models/response_entity_listing.rb +17 -17
  385. data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
  386. data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
  387. data/lib/purecloud/models/scene_entity_listing.rb +17 -17
  388. data/lib/purecloud/models/scene_group_entity_listing.rb +17 -17
  389. data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
  390. data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
  391. data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
  392. data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
  393. data/lib/purecloud/models/script_entity_listing.rb +17 -17
  394. data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
  395. data/lib/purecloud/models/service_entity_listing.rb +17 -17
  396. data/lib/purecloud/models/share.rb +12 -2
  397. data/lib/purecloud/models/share_entity_listing.rb +17 -17
  398. data/lib/purecloud/models/site.rb +1 -0
  399. data/lib/purecloud/models/site_entity_listing.rb +17 -17
  400. data/lib/purecloud/models/skill_entity_listing.rb +17 -17
  401. data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
  402. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
  403. data/lib/purecloud/models/station_entity_listing.rb +17 -17
  404. data/lib/purecloud/models/support_credit_listing.rb +17 -17
  405. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
  406. data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
  407. data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
  408. data/lib/purecloud/models/template_entity_listing.rb +17 -17
  409. data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
  410. data/lib/purecloud/models/time_off_request.rb +356 -0
  411. data/lib/purecloud/models/time_off_request_list.rb +199 -0
  412. data/lib/purecloud/models/time_off_request_patch.rb +167 -0
  413. data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
  414. data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
  415. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
  416. data/lib/purecloud/models/twitter_id.rb +213 -0
  417. data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
  418. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  419. data/lib/purecloud/models/user_entity_listing.rb +17 -17
  420. data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
  421. data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
  422. data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
  423. data/lib/purecloud/models/users_entity_listing.rb +17 -17
  424. data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
  425. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
  426. data/lib/purecloud/models/voice_xml_operation.rb +11 -1
  427. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
  428. data/lib/purecloud/models/waypoint_entity_listing.rb +17 -17
  429. data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
  430. data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
  431. data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
  432. data/lib/purecloud/version.rb +1 -1
  433. data/newVersion.md +1 -1
  434. data/swagger.json +1 -1
  435. data/version.json +1 -1
  436. metadata +16 -2
@@ -12,10 +12,10 @@ title: UsersEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array<User>**](User.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -124,7 +124,7 @@ Name | Type | Description | Notes
124
124
 
125
125
  <a name="post_details"></a>
126
126
 
127
- ## -[**ParsedCertificate**](ParsedCertificate.html) post_details(opts)
127
+ ## -[**ParsedCertificate**](ParsedCertificate.html) post_details(body)
128
128
 
129
129
  Returns the information about an X509 PEM encoded certificate or certificate chain.
130
130
 
@@ -147,13 +147,12 @@ end
147
147
 
148
148
  api_instance = PureCloud::UtilitiesApi.new
149
149
 
150
- opts = {
151
- body: PureCloud::Certificate.new # Certificate |
152
- }
150
+ body = PureCloud::Certificate.new # Certificate | Certificate
151
+
153
152
 
154
153
  begin
155
154
  #Returns the information about an X509 PEM encoded certificate or certificate chain.
156
- result = api_instance.post_details(opts)
155
+ result = api_instance.post_details(body)
157
156
  p result
158
157
  rescue PureCloud::ApiError => e
159
158
  puts "Exception when calling UtilitiesApi->post_details: #{e}"
@@ -164,7 +163,7 @@ end
164
163
 
165
164
  Name | Type | Description | Notes
166
165
  ------------- | ------------- | ------------- | -------------
167
- **body** | [**Certificate**](Certificate.html)| | [optional]
166
+ **body** | [**Certificate**](Certificate.html)| Certificate |
168
167
  {: class="table table-striped"}
169
168
 
170
169
 
@@ -12,10 +12,10 @@ title: VideoConversationEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;VideoConversation&gt;**](VideoConversation.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -12,10 +12,10 @@ title: VoiceRateInternationalEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;VoiceRateExtended&gt;**](VoiceRateExtended.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -18,6 +18,7 @@ title: VoiceXmlOperation
18
18
  | **outputs** | **String** | | [optional] |
19
19
  | **fetch_audio** | **String** | | [optional] |
20
20
  | **timeout_ms** | **Integer** | | [optional] |
21
+ | **current_operation** | [**Operation**](Operation.html) | | [optional] |
21
22
  | **self_uri** | **String** | The URI for this object | [optional] |
22
23
  {: class="table table-striped"}
23
24
 
@@ -12,10 +12,10 @@ title: VoiceXmlOperationEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;VoiceXmlOperation&gt;**](VoiceXmlOperation.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -510,7 +510,7 @@ Name | Type | Description | Notes
510
510
 
511
511
  <a name="put_messages_message_id"></a>
512
512
 
513
- ## -[**VoicemailMessage**](VoicemailMessage.html) put_messages_message_id(message_id, opts)
513
+ ## -[**VoicemailMessage**](VoicemailMessage.html) put_messages_message_id(message_id, body)
514
514
 
515
515
  Update a message.
516
516
 
@@ -535,13 +535,12 @@ api_instance = PureCloud::VoicemailApi.new
535
535
 
536
536
  message_id = "message_id_example" # String | Message ID
537
537
 
538
- opts = {
539
- body: PureCloud::VoicemailMessage.new # VoicemailMessage | VoicemailMessage
540
- }
538
+ body = PureCloud::VoicemailMessage.new # VoicemailMessage | VoicemailMessage
539
+
541
540
 
542
541
  begin
543
542
  #Update a message.
544
- result = api_instance.put_messages_message_id(message_id, opts)
543
+ result = api_instance.put_messages_message_id(message_id, body)
545
544
  p result
546
545
  rescue PureCloud::ApiError => e
547
546
  puts "Exception when calling VoicemailApi->put_messages_message_id: #{e}"
@@ -553,7 +552,7 @@ end
553
552
  Name | Type | Description | Notes
554
553
  ------------- | ------------- | ------------- | -------------
555
554
  **message_id** | **String**| Message ID |
556
- **body** | [**VoicemailMessage**](VoicemailMessage.html)| VoicemailMessage | [optional]
555
+ **body** | [**VoicemailMessage**](VoicemailMessage.html)| VoicemailMessage |
557
556
  {: class="table table-striped"}
558
557
 
559
558
 
@@ -570,7 +569,7 @@ Name | Type | Description | Notes
570
569
 
571
570
  <a name="put_policy"></a>
572
571
 
573
- ## -[**VoicemailOrganizationPolicy**](VoicemailOrganizationPolicy.html) put_policy(opts)
572
+ ## -[**VoicemailOrganizationPolicy**](VoicemailOrganizationPolicy.html) put_policy(body)
574
573
 
575
574
  Update a policy
576
575
 
@@ -593,13 +592,12 @@ end
593
592
 
594
593
  api_instance = PureCloud::VoicemailApi.new
595
594
 
596
- opts = {
597
- body: PureCloud::VoicemailOrganizationPolicy.new # VoicemailOrganizationPolicy | Policy
598
- }
595
+ body = PureCloud::VoicemailOrganizationPolicy.new # VoicemailOrganizationPolicy | Policy
596
+
599
597
 
600
598
  begin
601
599
  #Update a policy
602
- result = api_instance.put_policy(opts)
600
+ result = api_instance.put_policy(body)
603
601
  p result
604
602
  rescue PureCloud::ApiError => e
605
603
  puts "Exception when calling VoicemailApi->put_policy: #{e}"
@@ -610,7 +608,7 @@ end
610
608
 
611
609
  Name | Type | Description | Notes
612
610
  ------------- | ------------- | ------------- | -------------
613
- **body** | [**VoicemailOrganizationPolicy**](VoicemailOrganizationPolicy.html)| Policy | [optional]
611
+ **body** | [**VoicemailOrganizationPolicy**](VoicemailOrganizationPolicy.html)| Policy |
614
612
  {: class="table table-striped"}
615
613
 
616
614
 
@@ -12,10 +12,10 @@ title: WaypointEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;Waypoint&gt;**](Waypoint.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -12,10 +12,10 @@ title: WorkspaceEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;Workspace&gt;**](Workspace.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -12,10 +12,10 @@ title: WorkspaceMemberEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;WorkspaceMember&gt;**](WorkspaceMember.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -12,10 +12,10 @@ title: WrapupCodeEntityListing
12
12
  | **total** | **Integer** | | [optional] |
13
13
  | **entities** | [**Array&lt;WrapupCode&gt;**](WrapupCode.html) | | [optional] |
14
14
  | **self_uri** | **String** | | [optional] |
15
- | **first_uri** | **String** | | [optional] |
16
15
  | **previous_uri** | **String** | | [optional] |
17
- | **next_uri** | **String** | | [optional] |
16
+ | **first_uri** | **String** | | [optional] |
18
17
  | **last_uri** | **String** | | [optional] |
18
+ | **next_uri** | **String** | | [optional] |
19
19
  | **page_count** | **Integer** | | [optional] |
20
20
  {: class="table table-striped"}
21
21
 
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
9
9
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
10
10
 
11
11
  - API version: v2
12
- - Package version: 0.44.1
13
- - Build date: 2016-06-19T03:13:42.677Z
12
+ - Package version: 0.45.1
13
+ - Build date: 2016-07-03T03:13:42.712Z
14
14
 
15
15
  For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
16
16
 
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
18
18
 
19
19
  ### from rubygems.org
20
20
 
21
- gem 'purecloud', '~> 0.44.1'
21
+ gem 'purecloud', '~> 0.45.1'
22
22
 
23
23
  ### Install from Git
24
24
 
data/lib/purecloud.rb CHANGED
@@ -220,6 +220,8 @@ require 'purecloud/models/dependency_object_entity_listing'
220
220
  require 'purecloud/models/dependency_status'
221
221
  require 'purecloud/models/dependency_type'
222
222
  require 'purecloud/models/dependency_type_entity_listing'
223
+ require 'purecloud/models/deployment'
224
+ require 'purecloud/models/deployment_entity_listing'
223
225
  require 'purecloud/models/destination'
224
226
  require 'purecloud/models/detail'
225
227
  require 'purecloud/models/diagnostic_email'
@@ -468,6 +470,7 @@ require 'purecloud/models/observation_query'
468
470
  require 'purecloud/models/observation_query_response'
469
471
  require 'purecloud/models/okta'
470
472
  require 'purecloud/models/one_login'
473
+ require 'purecloud/models/operation'
471
474
  require 'purecloud/models/order'
472
475
  require 'purecloud/models/org_license_assignment'
473
476
  require 'purecloud/models/org_media_utilization'
@@ -665,6 +668,9 @@ require 'purecloud/models/ticker'
665
668
  require 'purecloud/models/tier'
666
669
  require 'purecloud/models/time_allowed'
667
670
  require 'purecloud/models/time_interval'
671
+ require 'purecloud/models/time_off_request'
672
+ require 'purecloud/models/time_off_request_list'
673
+ require 'purecloud/models/time_off_request_patch'
668
674
  require 'purecloud/models/time_slot'
669
675
  require 'purecloud/models/time_zone'
670
676
  require 'purecloud/models/time_zone_entity_listing'
@@ -681,6 +687,7 @@ require 'purecloud/models/trunk_metabase_entity_listing'
681
687
  require 'purecloud/models/trunk_recording_enabled_count'
682
688
  require 'purecloud/models/twitter_expression'
683
689
  require 'purecloud/models/twitter_expression_buffer'
690
+ require 'purecloud/models/twitter_id'
684
691
  require 'purecloud/models/unpivot_columns'
685
692
  require 'purecloud/models/unread_metric'
686
693
  require 'purecloud/models/unread_status'
@@ -429,24 +429,27 @@ module PureCloud
429
429
 
430
430
  # Create an interaction stats rule.
431
431
  #
432
+ # @param body AlertingRule
432
433
  # @param [Hash] opts the optional parameters
433
- # @option opts [InteractionStatsRule] :body AlertingRule
434
434
  # @return [InteractionStatsRule]
435
- def post_interactionstats_rules(opts = {})
436
- data, status_code, headers = post_interactionstats_rules_with_http_info(opts)
435
+ def post_interactionstats_rules(body, opts = {})
436
+ data, status_code, headers = post_interactionstats_rules_with_http_info(body, opts)
437
437
  return data
438
438
  end
439
439
 
440
440
  # Create an interaction stats rule.
441
441
  #
442
+ # @param body AlertingRule
442
443
  # @param [Hash] opts the optional parameters
443
- # @option opts [InteractionStatsRule] :body AlertingRule
444
444
  # @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
445
- def post_interactionstats_rules_with_http_info(opts = {})
445
+ def post_interactionstats_rules_with_http_info(body, opts = {})
446
446
  if @api_client.config.debugging
447
447
  @api_client.config.logger.debug "Calling API: AlertingApi#post_interactionstats_rules ..."
448
448
  end
449
449
 
450
+ # verify the required parameter 'body' is set
451
+ fail "Missing the required parameter 'body' when calling post_interactionstats_rules" if body.nil?
452
+
450
453
  # resource path
451
454
  local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json')
452
455
 
@@ -468,7 +471,7 @@ module PureCloud
468
471
  form_params = {}
469
472
 
470
473
  # http body (model)
471
- post_body = @api_client.object_to_http_body(opts[:'body'])
474
+ post_body = @api_client.object_to_http_body(body)
472
475
 
473
476
  auth_names = ['PureCloud Auth']
474
477
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -487,21 +490,21 @@ module PureCloud
487
490
  # Update an interaction stats alert read status
488
491
  #
489
492
  # @param alert_id Alert ID
493
+ # @param body InteractionStatsAlert
490
494
  # @param [Hash] opts the optional parameters
491
- # @option opts [UnreadStatus] :body InteractionStatsAlert
492
495
  # @return [UnreadStatus]
493
- def put_interactionstats_alerts_alert_id(alert_id, opts = {})
494
- data, status_code, headers = put_interactionstats_alerts_alert_id_with_http_info(alert_id, opts)
496
+ def put_interactionstats_alerts_alert_id(alert_id, body, opts = {})
497
+ data, status_code, headers = put_interactionstats_alerts_alert_id_with_http_info(alert_id, body, opts)
495
498
  return data
496
499
  end
497
500
 
498
501
  # Update an interaction stats alert read status
499
502
  #
500
503
  # @param alert_id Alert ID
504
+ # @param body InteractionStatsAlert
501
505
  # @param [Hash] opts the optional parameters
502
- # @option opts [UnreadStatus] :body InteractionStatsAlert
503
506
  # @return [Array<(UnreadStatus, Fixnum, Hash)>] UnreadStatus data, response status code and response headers
504
- def put_interactionstats_alerts_alert_id_with_http_info(alert_id, opts = {})
507
+ def put_interactionstats_alerts_alert_id_with_http_info(alert_id, body, opts = {})
505
508
  if @api_client.config.debugging
506
509
  @api_client.config.logger.debug "Calling API: AlertingApi#put_interactionstats_alerts_alert_id ..."
507
510
  end
@@ -509,6 +512,9 @@ module PureCloud
509
512
  # verify the required parameter 'alert_id' is set
510
513
  fail "Missing the required parameter 'alert_id' when calling put_interactionstats_alerts_alert_id" if alert_id.nil?
511
514
 
515
+ # verify the required parameter 'body' is set
516
+ fail "Missing the required parameter 'body' when calling put_interactionstats_alerts_alert_id" if body.nil?
517
+
512
518
  # resource path
513
519
  local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
514
520
 
@@ -530,7 +536,7 @@ module PureCloud
530
536
  form_params = {}
531
537
 
532
538
  # http body (model)
533
- post_body = @api_client.object_to_http_body(opts[:'body'])
539
+ post_body = @api_client.object_to_http_body(body)
534
540
 
535
541
  auth_names = ['PureCloud Auth']
536
542
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -549,21 +555,21 @@ module PureCloud
549
555
  # Update an interaction stats rule
550
556
  #
551
557
  # @param rule_id Rule ID
558
+ # @param body AlertingRule
552
559
  # @param [Hash] opts the optional parameters
553
- # @option opts [InteractionStatsRule] :body AlertingRule
554
560
  # @return [InteractionStatsRule]
555
- def put_interactionstats_rules_rule_id(rule_id, opts = {})
556
- data, status_code, headers = put_interactionstats_rules_rule_id_with_http_info(rule_id, opts)
561
+ def put_interactionstats_rules_rule_id(rule_id, body, opts = {})
562
+ data, status_code, headers = put_interactionstats_rules_rule_id_with_http_info(rule_id, body, opts)
557
563
  return data
558
564
  end
559
565
 
560
566
  # Update an interaction stats rule
561
567
  #
562
568
  # @param rule_id Rule ID
569
+ # @param body AlertingRule
563
570
  # @param [Hash] opts the optional parameters
564
- # @option opts [InteractionStatsRule] :body AlertingRule
565
571
  # @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
566
- def put_interactionstats_rules_rule_id_with_http_info(rule_id, opts = {})
572
+ def put_interactionstats_rules_rule_id_with_http_info(rule_id, body, opts = {})
567
573
  if @api_client.config.debugging
568
574
  @api_client.config.logger.debug "Calling API: AlertingApi#put_interactionstats_rules_rule_id ..."
569
575
  end
@@ -571,6 +577,9 @@ module PureCloud
571
577
  # verify the required parameter 'rule_id' is set
572
578
  fail "Missing the required parameter 'rule_id' when calling put_interactionstats_rules_rule_id" if rule_id.nil?
573
579
 
580
+ # verify the required parameter 'body' is set
581
+ fail "Missing the required parameter 'body' when calling put_interactionstats_rules_rule_id" if body.nil?
582
+
574
583
  # resource path
575
584
  local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
576
585
 
@@ -592,7 +601,7 @@ module PureCloud
592
601
  form_params = {}
593
602
 
594
603
  # http body (model)
595
- post_body = @api_client.object_to_http_body(opts[:'body'])
604
+ post_body = @api_client.object_to_http_body(body)
596
605
 
597
606
  auth_names = ['PureCloud Auth']
598
607
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -695,24 +695,27 @@ module PureCloud
695
695
 
696
696
  # Query for conversation aggregates
697
697
  #
698
+ # @param body query
698
699
  # @param [Hash] opts the optional parameters
699
- # @option opts [AggregationQuery] :body query
700
700
  # @return [AggregateQueryResponse]
701
- def post_conversations_aggregates_query(opts = {})
702
- data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
701
+ def post_conversations_aggregates_query(body, opts = {})
702
+ data, status_code, headers = post_conversations_aggregates_query_with_http_info(body, opts)
703
703
  return data
704
704
  end
705
705
 
706
706
  # Query for conversation aggregates
707
707
  #
708
+ # @param body query
708
709
  # @param [Hash] opts the optional parameters
709
- # @option opts [AggregationQuery] :body query
710
710
  # @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
711
- def post_conversations_aggregates_query_with_http_info(opts = {})
711
+ def post_conversations_aggregates_query_with_http_info(body, opts = {})
712
712
  if @api_client.config.debugging
713
713
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_conversations_aggregates_query ..."
714
714
  end
715
715
 
716
+ # verify the required parameter 'body' is set
717
+ fail "Missing the required parameter 'body' when calling post_conversations_aggregates_query" if body.nil?
718
+
716
719
  # resource path
717
720
  local_var_path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
718
721
 
@@ -734,7 +737,7 @@ module PureCloud
734
737
  form_params = {}
735
738
 
736
739
  # http body (model)
737
- post_body = @api_client.object_to_http_body(opts[:'body'])
740
+ post_body = @api_client.object_to_http_body(body)
738
741
 
739
742
  auth_names = ['PureCloud Auth']
740
743
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -753,21 +756,21 @@ module PureCloud
753
756
  # Index conversation properties
754
757
  #
755
758
  # @param conversation_id conversationId
759
+ # @param body request
756
760
  # @param [Hash] opts the optional parameters
757
- # @option opts [PropertyIndexRequest] :body request
758
761
  # @return [PropertyIndexRequest]
759
- def post_conversations_conversation_id_details_properties(conversation_id, opts = {})
760
- data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
762
+ def post_conversations_conversation_id_details_properties(conversation_id, body, opts = {})
763
+ data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, body, opts)
761
764
  return data
762
765
  end
763
766
 
764
767
  # Index conversation properties
765
768
  #
766
769
  # @param conversation_id conversationId
770
+ # @param body request
767
771
  # @param [Hash] opts the optional parameters
768
- # @option opts [PropertyIndexRequest] :body request
769
772
  # @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
770
- def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
773
+ def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, body, opts = {})
771
774
  if @api_client.config.debugging
772
775
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_conversations_conversation_id_details_properties ..."
773
776
  end
@@ -775,6 +778,9 @@ module PureCloud
775
778
  # verify the required parameter 'conversation_id' is set
776
779
  fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_details_properties" if conversation_id.nil?
777
780
 
781
+ # verify the required parameter 'body' is set
782
+ fail "Missing the required parameter 'body' when calling post_conversations_conversation_id_details_properties" if body.nil?
783
+
778
784
  # resource path
779
785
  local_var_path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
780
786
 
@@ -796,7 +802,7 @@ module PureCloud
796
802
  form_params = {}
797
803
 
798
804
  # http body (model)
799
- post_body = @api_client.object_to_http_body(opts[:'body'])
805
+ post_body = @api_client.object_to_http_body(body)
800
806
 
801
807
  auth_names = ['PureCloud Auth']
802
808
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -814,24 +820,27 @@ module PureCloud
814
820
 
815
821
  # Query for conversation details
816
822
  #
823
+ # @param body query
817
824
  # @param [Hash] opts the optional parameters
818
- # @option opts [ConversationQuery] :body query
819
825
  # @return [AnalyticsConversationQueryResponse]
820
- def post_conversations_details_query(opts = {})
821
- data, status_code, headers = post_conversations_details_query_with_http_info(opts)
826
+ def post_conversations_details_query(body, opts = {})
827
+ data, status_code, headers = post_conversations_details_query_with_http_info(body, opts)
822
828
  return data
823
829
  end
824
830
 
825
831
  # Query for conversation details
826
832
  #
833
+ # @param body query
827
834
  # @param [Hash] opts the optional parameters
828
- # @option opts [ConversationQuery] :body query
829
835
  # @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
830
- def post_conversations_details_query_with_http_info(opts = {})
836
+ def post_conversations_details_query_with_http_info(body, opts = {})
831
837
  if @api_client.config.debugging
832
838
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_conversations_details_query ..."
833
839
  end
834
840
 
841
+ # verify the required parameter 'body' is set
842
+ fail "Missing the required parameter 'body' when calling post_conversations_details_query" if body.nil?
843
+
835
844
  # resource path
836
845
  local_var_path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
837
846
 
@@ -853,7 +862,7 @@ module PureCloud
853
862
  form_params = {}
854
863
 
855
864
  # http body (model)
856
- post_body = @api_client.object_to_http_body(opts[:'body'])
865
+ post_body = @api_client.object_to_http_body(body)
857
866
 
858
867
  auth_names = ['PureCloud Auth']
859
868
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -871,24 +880,27 @@ module PureCloud
871
880
 
872
881
  # Query for evaluation aggregates
873
882
  #
883
+ # @param body query
874
884
  # @param [Hash] opts the optional parameters
875
- # @option opts [AggregationQuery] :body query
876
885
  # @return [AggregateQueryResponse]
877
- def post_evaluations_aggregates_query(opts = {})
878
- data, status_code, headers = post_evaluations_aggregates_query_with_http_info(opts)
886
+ def post_evaluations_aggregates_query(body, opts = {})
887
+ data, status_code, headers = post_evaluations_aggregates_query_with_http_info(body, opts)
879
888
  return data
880
889
  end
881
890
 
882
891
  # Query for evaluation aggregates
883
892
  #
893
+ # @param body query
884
894
  # @param [Hash] opts the optional parameters
885
- # @option opts [AggregationQuery] :body query
886
895
  # @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
887
- def post_evaluations_aggregates_query_with_http_info(opts = {})
896
+ def post_evaluations_aggregates_query_with_http_info(body, opts = {})
888
897
  if @api_client.config.debugging
889
898
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_evaluations_aggregates_query ..."
890
899
  end
891
900
 
901
+ # verify the required parameter 'body' is set
902
+ fail "Missing the required parameter 'body' when calling post_evaluations_aggregates_query" if body.nil?
903
+
892
904
  # resource path
893
905
  local_var_path = "/api/v2/analytics/evaluations/aggregates/query".sub('{format}','json')
894
906
 
@@ -910,7 +922,7 @@ module PureCloud
910
922
  form_params = {}
911
923
 
912
924
  # http body (model)
913
- post_body = @api_client.object_to_http_body(opts[:'body'])
925
+ post_body = @api_client.object_to_http_body(body)
914
926
 
915
927
  auth_names = ['PureCloud Auth']
916
928
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -928,24 +940,27 @@ module PureCloud
928
940
 
929
941
  # Query for queue observations
930
942
  #
943
+ # @param body query
931
944
  # @param [Hash] opts the optional parameters
932
- # @option opts [ObservationQuery] :body query
933
945
  # @return [ObservationQueryResponse]
934
- def post_queues_observations_query(opts = {})
935
- data, status_code, headers = post_queues_observations_query_with_http_info(opts)
946
+ def post_queues_observations_query(body, opts = {})
947
+ data, status_code, headers = post_queues_observations_query_with_http_info(body, opts)
936
948
  return data
937
949
  end
938
950
 
939
951
  # Query for queue observations
940
952
  #
953
+ # @param body query
941
954
  # @param [Hash] opts the optional parameters
942
- # @option opts [ObservationQuery] :body query
943
955
  # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
944
- def post_queues_observations_query_with_http_info(opts = {})
956
+ def post_queues_observations_query_with_http_info(body, opts = {})
945
957
  if @api_client.config.debugging
946
958
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_queues_observations_query ..."
947
959
  end
948
960
 
961
+ # verify the required parameter 'body' is set
962
+ fail "Missing the required parameter 'body' when calling post_queues_observations_query" if body.nil?
963
+
949
964
  # resource path
950
965
  local_var_path = "/api/v2/analytics/queues/observations/query".sub('{format}','json')
951
966
 
@@ -967,7 +982,7 @@ module PureCloud
967
982
  form_params = {}
968
983
 
969
984
  # http body (model)
970
- post_body = @api_client.object_to_http_body(opts[:'body'])
985
+ post_body = @api_client.object_to_http_body(body)
971
986
 
972
987
  auth_names = ['PureCloud Auth']
973
988
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -985,24 +1000,27 @@ module PureCloud
985
1000
 
986
1001
  # Create a scheduled report job
987
1002
  # Create a scheduled report job.
1003
+ # @param body ReportSchedule
988
1004
  # @param [Hash] opts the optional parameters
989
- # @option opts [ReportSchedule] :body ReportSchedule
990
1005
  # @return [ReportSchedule]
991
- def post_reporting_schedules(opts = {})
992
- data, status_code, headers = post_reporting_schedules_with_http_info(opts)
1006
+ def post_reporting_schedules(body, opts = {})
1007
+ data, status_code, headers = post_reporting_schedules_with_http_info(body, opts)
993
1008
  return data
994
1009
  end
995
1010
 
996
1011
  # Create a scheduled report job
997
1012
  # Create a scheduled report job.
1013
+ # @param body ReportSchedule
998
1014
  # @param [Hash] opts the optional parameters
999
- # @option opts [ReportSchedule] :body ReportSchedule
1000
1015
  # @return [Array<(ReportSchedule, Fixnum, Hash)>] ReportSchedule data, response status code and response headers
1001
- def post_reporting_schedules_with_http_info(opts = {})
1016
+ def post_reporting_schedules_with_http_info(body, opts = {})
1002
1017
  if @api_client.config.debugging
1003
1018
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_reporting_schedules ..."
1004
1019
  end
1005
1020
 
1021
+ # verify the required parameter 'body' is set
1022
+ fail "Missing the required parameter 'body' when calling post_reporting_schedules" if body.nil?
1023
+
1006
1024
  # resource path
1007
1025
  local_var_path = "/api/v2/analytics/reporting/schedules".sub('{format}','json')
1008
1026
 
@@ -1024,7 +1042,7 @@ module PureCloud
1024
1042
  form_params = {}
1025
1043
 
1026
1044
  # http body (model)
1027
- post_body = @api_client.object_to_http_body(opts[:'body'])
1045
+ post_body = @api_client.object_to_http_body(body)
1028
1046
 
1029
1047
  auth_names = ['PureCloud Auth']
1030
1048
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1102,24 +1120,27 @@ module PureCloud
1102
1120
 
1103
1121
  # Query for user aggregates
1104
1122
  #
1123
+ # @param body query
1105
1124
  # @param [Hash] opts the optional parameters
1106
- # @option opts [AggregationQuery] :body query
1107
1125
  # @return [PresenceQueryResponse]
1108
- def post_users_aggregates_query(opts = {})
1109
- data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
1126
+ def post_users_aggregates_query(body, opts = {})
1127
+ data, status_code, headers = post_users_aggregates_query_with_http_info(body, opts)
1110
1128
  return data
1111
1129
  end
1112
1130
 
1113
1131
  # Query for user aggregates
1114
1132
  #
1133
+ # @param body query
1115
1134
  # @param [Hash] opts the optional parameters
1116
- # @option opts [AggregationQuery] :body query
1117
1135
  # @return [Array<(PresenceQueryResponse, Fixnum, Hash)>] PresenceQueryResponse data, response status code and response headers
1118
- def post_users_aggregates_query_with_http_info(opts = {})
1136
+ def post_users_aggregates_query_with_http_info(body, opts = {})
1119
1137
  if @api_client.config.debugging
1120
1138
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_users_aggregates_query ..."
1121
1139
  end
1122
1140
 
1141
+ # verify the required parameter 'body' is set
1142
+ fail "Missing the required parameter 'body' when calling post_users_aggregates_query" if body.nil?
1143
+
1123
1144
  # resource path
1124
1145
  local_var_path = "/api/v2/analytics/users/aggregates/query".sub('{format}','json')
1125
1146
 
@@ -1141,7 +1162,7 @@ module PureCloud
1141
1162
  form_params = {}
1142
1163
 
1143
1164
  # http body (model)
1144
- post_body = @api_client.object_to_http_body(opts[:'body'])
1165
+ post_body = @api_client.object_to_http_body(body)
1145
1166
 
1146
1167
  auth_names = ['PureCloud Auth']
1147
1168
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1159,24 +1180,27 @@ module PureCloud
1159
1180
 
1160
1181
  # Query for user observations
1161
1182
  #
1183
+ # @param body query
1162
1184
  # @param [Hash] opts the optional parameters
1163
- # @option opts [ObservationQuery] :body query
1164
1185
  # @return [ObservationQueryResponse]
1165
- def post_users_observations_query(opts = {})
1166
- data, status_code, headers = post_users_observations_query_with_http_info(opts)
1186
+ def post_users_observations_query(body, opts = {})
1187
+ data, status_code, headers = post_users_observations_query_with_http_info(body, opts)
1167
1188
  return data
1168
1189
  end
1169
1190
 
1170
1191
  # Query for user observations
1171
1192
  #
1193
+ # @param body query
1172
1194
  # @param [Hash] opts the optional parameters
1173
- # @option opts [ObservationQuery] :body query
1174
1195
  # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
1175
- def post_users_observations_query_with_http_info(opts = {})
1196
+ def post_users_observations_query_with_http_info(body, opts = {})
1176
1197
  if @api_client.config.debugging
1177
1198
  @api_client.config.logger.debug "Calling API: AnalyticsApi#post_users_observations_query ..."
1178
1199
  end
1179
1200
 
1201
+ # verify the required parameter 'body' is set
1202
+ fail "Missing the required parameter 'body' when calling post_users_observations_query" if body.nil?
1203
+
1180
1204
  # resource path
1181
1205
  local_var_path = "/api/v2/analytics/users/observations/query".sub('{format}','json')
1182
1206
 
@@ -1198,7 +1222,7 @@ module PureCloud
1198
1222
  form_params = {}
1199
1223
 
1200
1224
  # http body (model)
1201
- post_body = @api_client.object_to_http_body(opts[:'body'])
1225
+ post_body = @api_client.object_to_http_body(body)
1202
1226
 
1203
1227
  auth_names = ['PureCloud Auth']
1204
1228
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1217,21 +1241,21 @@ module PureCloud
1217
1241
  # Update a scheduled report job.
1218
1242
  #
1219
1243
  # @param schedule_id Schedule ID
1244
+ # @param body ReportSchedule
1220
1245
  # @param [Hash] opts the optional parameters
1221
- # @option opts [ReportSchedule] :body ReportSchedule
1222
1246
  # @return [ReportSchedule]
1223
- def put_reporting_schedules_schedule_id(schedule_id, opts = {})
1224
- data, status_code, headers = put_reporting_schedules_schedule_id_with_http_info(schedule_id, opts)
1247
+ def put_reporting_schedules_schedule_id(schedule_id, body, opts = {})
1248
+ data, status_code, headers = put_reporting_schedules_schedule_id_with_http_info(schedule_id, body, opts)
1225
1249
  return data
1226
1250
  end
1227
1251
 
1228
1252
  # Update a scheduled report job.
1229
1253
  #
1230
1254
  # @param schedule_id Schedule ID
1255
+ # @param body ReportSchedule
1231
1256
  # @param [Hash] opts the optional parameters
1232
- # @option opts [ReportSchedule] :body ReportSchedule
1233
1257
  # @return [Array<(ReportSchedule, Fixnum, Hash)>] ReportSchedule data, response status code and response headers
1234
- def put_reporting_schedules_schedule_id_with_http_info(schedule_id, opts = {})
1258
+ def put_reporting_schedules_schedule_id_with_http_info(schedule_id, body, opts = {})
1235
1259
  if @api_client.config.debugging
1236
1260
  @api_client.config.logger.debug "Calling API: AnalyticsApi#put_reporting_schedules_schedule_id ..."
1237
1261
  end
@@ -1239,6 +1263,9 @@ module PureCloud
1239
1263
  # verify the required parameter 'schedule_id' is set
1240
1264
  fail "Missing the required parameter 'schedule_id' when calling put_reporting_schedules_schedule_id" if schedule_id.nil?
1241
1265
 
1266
+ # verify the required parameter 'body' is set
1267
+ fail "Missing the required parameter 'body' when calling put_reporting_schedules_schedule_id" if body.nil?
1268
+
1242
1269
  # resource path
1243
1270
  local_var_path = "/api/v2/analytics/reporting/schedules/{scheduleId}".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
1244
1271
 
@@ -1260,7 +1287,7 @@ module PureCloud
1260
1287
  form_params = {}
1261
1288
 
1262
1289
  # http body (model)
1263
- post_body = @api_client.object_to_http_body(opts[:'body'])
1290
+ post_body = @api_client.object_to_http_body(body)
1264
1291
 
1265
1292
  auth_names = ['PureCloud Auth']
1266
1293
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,