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
@@ -335,23 +335,23 @@ module PureCloud
335
335
  # Update a user recording.
336
336
  #
337
337
  # @param recording_id User Recording ID
338
+ # @param body UserRecording
338
339
  # @param [Hash] opts the optional parameters
339
- # @option opts [UserRecording] :body UserRecording
340
340
  # @option opts [String] :expand conversation
341
341
  # @return [UserRecording]
342
- def put_recording_id(recording_id, opts = {})
343
- data, status_code, headers = put_recording_id_with_http_info(recording_id, opts)
342
+ def put_recording_id(recording_id, body, opts = {})
343
+ data, status_code, headers = put_recording_id_with_http_info(recording_id, body, opts)
344
344
  return data
345
345
  end
346
346
 
347
347
  # Update a user recording.
348
348
  #
349
349
  # @param recording_id User Recording ID
350
+ # @param body UserRecording
350
351
  # @param [Hash] opts the optional parameters
351
- # @option opts [UserRecording] :body UserRecording
352
352
  # @option opts [String] :expand conversation
353
353
  # @return [Array<(UserRecording, Fixnum, Hash)>] UserRecording data, response status code and response headers
354
- def put_recording_id_with_http_info(recording_id, opts = {})
354
+ def put_recording_id_with_http_info(recording_id, body, opts = {})
355
355
  if @api_client.config.debugging
356
356
  @api_client.config.logger.debug "Calling API: UserRecordingsApi#put_recording_id ..."
357
357
  end
@@ -359,6 +359,9 @@ module PureCloud
359
359
  # verify the required parameter 'recording_id' is set
360
360
  fail "Missing the required parameter 'recording_id' when calling put_recording_id" if recording_id.nil?
361
361
 
362
+ # verify the required parameter 'body' is set
363
+ fail "Missing the required parameter 'body' when calling put_recording_id" if body.nil?
364
+
362
365
  # resource path
363
366
  local_var_path = "/api/v2/userrecordings/{recordingId}".sub('{format}','json').sub('{' + 'recordingId' + '}', recording_id.to_s)
364
367
 
@@ -381,7 +384,7 @@ module PureCloud
381
384
  form_params = {}
382
385
 
383
386
  # http body (model)
384
- post_body = @api_client.object_to_http_body(opts[:'body'])
387
+ post_body = @api_client.object_to_http_body(body)
385
388
 
386
389
  auth_names = ['PureCloud Auth']
387
390
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -326,20 +326,20 @@ module PureCloud
326
326
  return data, status_code, headers
327
327
  end
328
328
 
329
- # Get user.
330
- #
329
+ # Get current user details.
330
+ # This request is not valid when using the Client Credentials OAuth grant.
331
331
  # @param [Hash] opts the optional parameters
332
- # @option opts [Array<String>] :expand Which fields, if any, to expand
332
+ # @option opts [Array<String>] :expand Which fields, if any, to expand.
333
333
  # @return [UserMe]
334
334
  def get_me(opts = {})
335
335
  data, status_code, headers = get_me_with_http_info(opts)
336
336
  return data
337
337
  end
338
338
 
339
- # Get user.
340
- #
339
+ # Get current user details.
340
+ # This request is not valid when using the Client Credentials OAuth grant.
341
341
  # @param [Hash] opts the optional parameters
342
- # @option opts [Array<String>] :expand Which fields, if any, to expand
342
+ # @option opts [Array<String>] :expand Which fields, if any, to expand.
343
343
  # @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
344
344
  def get_me_with_http_info(opts = {})
345
345
  if @api_client.config.debugging
@@ -386,32 +386,35 @@ module PureCloud
386
386
 
387
387
  # Search using q64
388
388
  #
389
+ # @param q64
389
390
  # @param [Hash] opts the optional parameters
390
- # @option opts [String] :q64
391
391
  # @option opts [Array<String>] :expand
392
392
  # @return [UsersSearchResponse]
393
- def get_search(opts = {})
394
- data, status_code, headers = get_search_with_http_info(opts)
393
+ def get_search(q64, opts = {})
394
+ data, status_code, headers = get_search_with_http_info(q64, opts)
395
395
  return data
396
396
  end
397
397
 
398
398
  # Search using q64
399
399
  #
400
+ # @param q64
400
401
  # @param [Hash] opts the optional parameters
401
- # @option opts [String] :q64
402
402
  # @option opts [Array<String>] :expand
403
403
  # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
404
- def get_search_with_http_info(opts = {})
404
+ def get_search_with_http_info(q64, opts = {})
405
405
  if @api_client.config.debugging
406
406
  @api_client.config.logger.debug "Calling API: UsersApi#get_search ..."
407
407
  end
408
408
 
409
+ # verify the required parameter 'q64' is set
410
+ fail "Missing the required parameter 'q64' when calling get_search" if q64.nil?
411
+
409
412
  # resource path
410
413
  local_var_path = "/api/v2/users/search".sub('{format}','json')
411
414
 
412
415
  # query parameters
413
416
  query_params = {}
414
- query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
417
+ query_params[:'q64'] = q64
415
418
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
416
419
 
417
420
  # header parameters
@@ -445,7 +448,7 @@ module PureCloud
445
448
  return data, status_code, headers
446
449
  end
447
450
 
448
- # Get user
451
+ # Get user.
449
452
  #
450
453
  # @param user_id User ID
451
454
  # @param [Hash] opts the optional parameters
@@ -456,7 +459,7 @@ module PureCloud
456
459
  return data
457
460
  end
458
461
 
459
- # Get user
462
+ # Get user.
460
463
  #
461
464
  # @param user_id User ID
462
465
  # @param [Hash] opts the optional parameters
@@ -1017,7 +1020,7 @@ module PureCloud
1017
1020
  # @param [Hash] opts the optional parameters
1018
1021
  # @option opts [Integer] :page_size Page size (default to 25)
1019
1022
  # @option opts [Integer] :page_number Page number (default to 1)
1020
- # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
1023
+ # @option opts [Array<String>] :id id
1021
1024
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
1022
1025
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1023
1026
  # @return [UsersEntityListing]
@@ -1031,7 +1034,7 @@ module PureCloud
1031
1034
  # @param [Hash] opts the optional parameters
1032
1035
  # @option opts [Integer] :page_size Page size
1033
1036
  # @option opts [Integer] :page_number Page number
1034
- # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
1037
+ # @option opts [Array<String>] :id id
1035
1038
  # @option opts [String] :sort_order Ascending or descending sort order
1036
1039
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1037
1040
  # @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
@@ -1089,21 +1092,21 @@ module PureCloud
1089
1092
  # Update user
1090
1093
  #
1091
1094
  # @param user_id User ID
1095
+ # @param body User
1092
1096
  # @param [Hash] opts the optional parameters
1093
- # @option opts [User] :body
1094
1097
  # @return [User]
1095
- def patch_user_id(user_id, opts = {})
1096
- data, status_code, headers = patch_user_id_with_http_info(user_id, opts)
1098
+ def patch_user_id(user_id, body, opts = {})
1099
+ data, status_code, headers = patch_user_id_with_http_info(user_id, body, opts)
1097
1100
  return data
1098
1101
  end
1099
1102
 
1100
1103
  # Update user
1101
1104
  #
1102
1105
  # @param user_id User ID
1106
+ # @param body User
1103
1107
  # @param [Hash] opts the optional parameters
1104
- # @option opts [User] :body
1105
1108
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
1106
- def patch_user_id_with_http_info(user_id, opts = {})
1109
+ def patch_user_id_with_http_info(user_id, body, opts = {})
1107
1110
  if @api_client.config.debugging
1108
1111
  @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id ..."
1109
1112
  end
@@ -1111,6 +1114,9 @@ module PureCloud
1111
1114
  # verify the required parameter 'user_id' is set
1112
1115
  fail "Missing the required parameter 'user_id' when calling patch_user_id" if user_id.nil?
1113
1116
 
1117
+ # verify the required parameter 'body' is set
1118
+ fail "Missing the required parameter 'body' when calling patch_user_id" if body.nil?
1119
+
1114
1120
  # resource path
1115
1121
  local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1116
1122
 
@@ -1132,7 +1138,7 @@ module PureCloud
1132
1138
  form_params = {}
1133
1139
 
1134
1140
  # http body (model)
1135
- post_body = @api_client.object_to_http_body(opts[:'body'])
1141
+ post_body = @api_client.object_to_http_body(body)
1136
1142
 
1137
1143
  auth_names = ['PureCloud Auth']
1138
1144
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -1151,21 +1157,21 @@ module PureCloud
1151
1157
  # Patch a user's CallForwarding
1152
1158
  #
1153
1159
  # @param user_id User ID
1160
+ # @param body Call forwarding
1154
1161
  # @param [Hash] opts the optional parameters
1155
- # @option opts [CallForwarding] :body
1156
1162
  # @return [CallForwarding]
1157
- def patch_user_id_callforwarding(user_id, opts = {})
1158
- data, status_code, headers = patch_user_id_callforwarding_with_http_info(user_id, opts)
1163
+ def patch_user_id_callforwarding(user_id, body, opts = {})
1164
+ data, status_code, headers = patch_user_id_callforwarding_with_http_info(user_id, body, opts)
1159
1165
  return data
1160
1166
  end
1161
1167
 
1162
1168
  # Patch a user&#39;s CallForwarding
1163
1169
  #
1164
1170
  # @param user_id User ID
1171
+ # @param body Call forwarding
1165
1172
  # @param [Hash] opts the optional parameters
1166
- # @option opts [CallForwarding] :body
1167
1173
  # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
1168
- def patch_user_id_callforwarding_with_http_info(user_id, opts = {})
1174
+ def patch_user_id_callforwarding_with_http_info(user_id, body, opts = {})
1169
1175
  if @api_client.config.debugging
1170
1176
  @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_callforwarding ..."
1171
1177
  end
@@ -1173,6 +1179,9 @@ module PureCloud
1173
1179
  # verify the required parameter 'user_id' is set
1174
1180
  fail "Missing the required parameter 'user_id' when calling patch_user_id_callforwarding" if user_id.nil?
1175
1181
 
1182
+ # verify the required parameter 'body' is set
1183
+ fail "Missing the required parameter 'body' when calling patch_user_id_callforwarding" if body.nil?
1184
+
1176
1185
  # resource path
1177
1186
  local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1178
1187
 
@@ -1194,7 +1203,7 @@ module PureCloud
1194
1203
  form_params = {}
1195
1204
 
1196
1205
  # http body (model)
1197
- post_body = @api_client.object_to_http_body(opts[:'body'])
1206
+ post_body = @api_client.object_to_http_body(body)
1198
1207
 
1199
1208
  auth_names = ['PureCloud Auth']
1200
1209
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -1214,11 +1223,11 @@ module PureCloud
1214
1223
  # The geolocation object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the client as the user's primary geolocation source. Option 2: Provide the 'latitude' and 'longitude' values. This will enqueue an asynchronous update of the 'city', 'region', and 'country', generating a notification. A subsequent GET operation will include the new values for 'city', 'region' and 'country'. Option 3: Provide the 'city', 'region', 'country' values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
1215
1224
  # @param user_id user Id
1216
1225
  # @param client_id client Id
1226
+ # @param body Geolocation
1217
1227
  # @param [Hash] opts the optional parameters
1218
- # @option opts [Geolocation] :body
1219
1228
  # @return [Geolocation]
1220
- def patch_user_id_geolocations_client_id(user_id, client_id, opts = {})
1221
- data, status_code, headers = patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
1229
+ def patch_user_id_geolocations_client_id(user_id, client_id, body, opts = {})
1230
+ data, status_code, headers = patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, body, opts)
1222
1231
  return data
1223
1232
  end
1224
1233
 
@@ -1226,10 +1235,10 @@ module PureCloud
1226
1235
  # The geolocation object can be patched one of three ways. Option 1: Set the &#39;primary&#39; property to true. This will set the client as the user&#39;s primary geolocation source. Option 2: Provide the &#39;latitude&#39; and &#39;longitude&#39; values. This will enqueue an asynchronous update of the &#39;city&#39;, &#39;region&#39;, and &#39;country&#39;, generating a notification. A subsequent GET operation will include the new values for &#39;city&#39;, &#39;region&#39; and &#39;country&#39;. Option 3: Provide the &#39;city&#39;, &#39;region&#39;, &#39;country&#39; values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
1227
1236
  # @param user_id user Id
1228
1237
  # @param client_id client Id
1238
+ # @param body Geolocation
1229
1239
  # @param [Hash] opts the optional parameters
1230
- # @option opts [Geolocation] :body
1231
1240
  # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
1232
- def patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
1241
+ def patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, body, opts = {})
1233
1242
  if @api_client.config.debugging
1234
1243
  @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_geolocations_client_id ..."
1235
1244
  end
@@ -1240,6 +1249,9 @@ module PureCloud
1240
1249
  # verify the required parameter 'client_id' is set
1241
1250
  fail "Missing the required parameter 'client_id' when calling patch_user_id_geolocations_client_id" if client_id.nil?
1242
1251
 
1252
+ # verify the required parameter 'body' is set
1253
+ fail "Missing the required parameter 'body' when calling patch_user_id_geolocations_client_id" if body.nil?
1254
+
1243
1255
  # resource path
1244
1256
  local_var_path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
1245
1257
 
@@ -1261,7 +1273,7 @@ module PureCloud
1261
1273
  form_params = {}
1262
1274
 
1263
1275
  # http body (model)
1264
- post_body = @api_client.object_to_http_body(opts[:'body'])
1276
+ post_body = @api_client.object_to_http_body(body)
1265
1277
 
1266
1278
  auth_names = ['PureCloud Auth']
1267
1279
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -1280,21 +1292,21 @@ module PureCloud
1280
1292
  # Join or unjoin a set of queues for a user
1281
1293
  #
1282
1294
  # @param user_id User ID
1295
+ # @param body User Queues
1283
1296
  # @param [Hash] opts the optional parameters
1284
- # @option opts [Array<UserQueue>] :body User Queues
1285
1297
  # @return [UserQueue]
1286
- def patch_user_id_queues(user_id, opts = {})
1287
- data, status_code, headers = patch_user_id_queues_with_http_info(user_id, opts)
1298
+ def patch_user_id_queues(user_id, body, opts = {})
1299
+ data, status_code, headers = patch_user_id_queues_with_http_info(user_id, body, opts)
1288
1300
  return data
1289
1301
  end
1290
1302
 
1291
1303
  # Join or unjoin a set of queues for a user
1292
1304
  #
1293
1305
  # @param user_id User ID
1306
+ # @param body User Queues
1294
1307
  # @param [Hash] opts the optional parameters
1295
- # @option opts [Array<UserQueue>] :body User Queues
1296
1308
  # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1297
- def patch_user_id_queues_with_http_info(user_id, opts = {})
1309
+ def patch_user_id_queues_with_http_info(user_id, body, opts = {})
1298
1310
  if @api_client.config.debugging
1299
1311
  @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues ..."
1300
1312
  end
@@ -1302,6 +1314,9 @@ module PureCloud
1302
1314
  # verify the required parameter 'user_id' is set
1303
1315
  fail "Missing the required parameter 'user_id' when calling patch_user_id_queues" if user_id.nil?
1304
1316
 
1317
+ # verify the required parameter 'body' is set
1318
+ fail "Missing the required parameter 'body' when calling patch_user_id_queues" if body.nil?
1319
+
1305
1320
  # resource path
1306
1321
  local_var_path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1307
1322
 
@@ -1323,7 +1338,7 @@ module PureCloud
1323
1338
  form_params = {}
1324
1339
 
1325
1340
  # http body (model)
1326
- post_body = @api_client.object_to_http_body(opts[:'body'])
1341
+ post_body = @api_client.object_to_http_body(body)
1327
1342
 
1328
1343
  auth_names = ['PureCloud Auth']
1329
1344
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -1343,11 +1358,11 @@ module PureCloud
1343
1358
  #
1344
1359
  # @param queue_id Queue ID
1345
1360
  # @param user_id User ID
1361
+ # @param body Queue Member
1346
1362
  # @param [Hash] opts the optional parameters
1347
- # @option opts [UserQueue] :body Queue Member
1348
1363
  # @return [UserQueue]
1349
- def patch_user_id_queues_queue_id(queue_id, user_id, opts = {})
1350
- data, status_code, headers = patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts)
1364
+ def patch_user_id_queues_queue_id(queue_id, user_id, body, opts = {})
1365
+ data, status_code, headers = patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, body, opts)
1351
1366
  return data
1352
1367
  end
1353
1368
 
@@ -1355,10 +1370,10 @@ module PureCloud
1355
1370
  #
1356
1371
  # @param queue_id Queue ID
1357
1372
  # @param user_id User ID
1373
+ # @param body Queue Member
1358
1374
  # @param [Hash] opts the optional parameters
1359
- # @option opts [UserQueue] :body Queue Member
1360
1375
  # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1361
- def patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts = {})
1376
+ def patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, body, opts = {})
1362
1377
  if @api_client.config.debugging
1363
1378
  @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues_queue_id ..."
1364
1379
  end
@@ -1369,6 +1384,9 @@ module PureCloud
1369
1384
  # verify the required parameter 'user_id' is set
1370
1385
  fail "Missing the required parameter 'user_id' when calling patch_user_id_queues_queue_id" if user_id.nil?
1371
1386
 
1387
+ # verify the required parameter 'body' is set
1388
+ fail "Missing the required parameter 'body' when calling patch_user_id_queues_queue_id" if body.nil?
1389
+
1372
1390
  # resource path
1373
1391
  local_var_path = "/api/v2/users/{userId}/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
1374
1392
 
@@ -1390,7 +1408,7 @@ module PureCloud
1390
1408
  form_params = {}
1391
1409
 
1392
1410
  # http body (model)
1393
- post_body = @api_client.object_to_http_body(opts[:'body'])
1411
+ post_body = @api_client.object_to_http_body(body)
1394
1412
 
1395
1413
  auth_names = ['PureCloud Auth']
1396
1414
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -1408,24 +1426,27 @@ module PureCloud
1408
1426
 
1409
1427
  # Search
1410
1428
  #
1429
+ # @param body Search request options
1411
1430
  # @param [Hash] opts the optional parameters
1412
- # @option opts [UserSearchRequest] :body Search request options
1413
1431
  # @return [UsersSearchResponse]
1414
- def post_search(opts = {})
1415
- data, status_code, headers = post_search_with_http_info(opts)
1432
+ def post_search(body, opts = {})
1433
+ data, status_code, headers = post_search_with_http_info(body, opts)
1416
1434
  return data
1417
1435
  end
1418
1436
 
1419
1437
  # Search
1420
1438
  #
1439
+ # @param body Search request options
1421
1440
  # @param [Hash] opts the optional parameters
1422
- # @option opts [UserSearchRequest] :body Search request options
1423
1441
  # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
1424
- def post_search_with_http_info(opts = {})
1442
+ def post_search_with_http_info(body, opts = {})
1425
1443
  if @api_client.config.debugging
1426
1444
  @api_client.config.logger.debug "Calling API: UsersApi#post_search ..."
1427
1445
  end
1428
1446
 
1447
+ # verify the required parameter 'body' is set
1448
+ fail "Missing the required parameter 'body' when calling post_search" if body.nil?
1449
+
1429
1450
  # resource path
1430
1451
  local_var_path = "/api/v2/users/search".sub('{format}','json')
1431
1452
 
@@ -1447,7 +1468,7 @@ module PureCloud
1447
1468
  form_params = {}
1448
1469
 
1449
1470
  # http body (model)
1450
- post_body = @api_client.object_to_http_body(opts[:'body'])
1471
+ post_body = @api_client.object_to_http_body(body)
1451
1472
 
1452
1473
  auth_names = ['PureCloud Auth']
1453
1474
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1466,21 +1487,21 @@ module PureCloud
1466
1487
  # Add routing skill to user
1467
1488
  #
1468
1489
  # @param user_id User ID
1490
+ # @param body Skill
1469
1491
  # @param [Hash] opts the optional parameters
1470
- # @option opts [UserRoutingSkill] :body Skill
1471
1492
  # @return [UserRoutingSkill]
1472
- def post_user_id_routingskills(user_id, opts = {})
1473
- data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
1493
+ def post_user_id_routingskills(user_id, body, opts = {})
1494
+ data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, body, opts)
1474
1495
  return data
1475
1496
  end
1476
1497
 
1477
1498
  # Add routing skill to user
1478
1499
  #
1479
1500
  # @param user_id User ID
1501
+ # @param body Skill
1480
1502
  # @param [Hash] opts the optional parameters
1481
- # @option opts [UserRoutingSkill] :body Skill
1482
1503
  # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
1483
- def post_user_id_routingskills_with_http_info(user_id, opts = {})
1504
+ def post_user_id_routingskills_with_http_info(user_id, body, opts = {})
1484
1505
  if @api_client.config.debugging
1485
1506
  @api_client.config.logger.debug "Calling API: UsersApi#post_user_id_routingskills ..."
1486
1507
  end
@@ -1488,6 +1509,9 @@ module PureCloud
1488
1509
  # verify the required parameter 'user_id' is set
1489
1510
  fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
1490
1511
 
1512
+ # verify the required parameter 'body' is set
1513
+ fail "Missing the required parameter 'body' when calling post_user_id_routingskills" if body.nil?
1514
+
1491
1515
  # resource path
1492
1516
  local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1493
1517
 
@@ -1509,7 +1533,7 @@ module PureCloud
1509
1533
  form_params = {}
1510
1534
 
1511
1535
  # http body (model)
1512
- post_body = @api_client.object_to_http_body(opts[:'body'])
1536
+ post_body = @api_client.object_to_http_body(body)
1513
1537
 
1514
1538
  auth_names = ['PureCloud Auth']
1515
1539
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1527,24 +1551,27 @@ module PureCloud
1527
1551
 
1528
1552
  # Create user
1529
1553
  #
1554
+ # @param body User
1530
1555
  # @param [Hash] opts the optional parameters
1531
- # @option opts [CreateUser] :body User
1532
1556
  # @return [User]
1533
- def post_users(opts = {})
1534
- data, status_code, headers = post_users_with_http_info(opts)
1557
+ def post_users(body, opts = {})
1558
+ data, status_code, headers = post_users_with_http_info(body, opts)
1535
1559
  return data
1536
1560
  end
1537
1561
 
1538
1562
  # Create user
1539
1563
  #
1564
+ # @param body User
1540
1565
  # @param [Hash] opts the optional parameters
1541
- # @option opts [CreateUser] :body User
1542
1566
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
1543
- def post_users_with_http_info(opts = {})
1567
+ def post_users_with_http_info(body, opts = {})
1544
1568
  if @api_client.config.debugging
1545
1569
  @api_client.config.logger.debug "Calling API: UsersApi#post_users ..."
1546
1570
  end
1547
1571
 
1572
+ # verify the required parameter 'body' is set
1573
+ fail "Missing the required parameter 'body' when calling post_users" if body.nil?
1574
+
1548
1575
  # resource path
1549
1576
  local_var_path = "/api/v2/users".sub('{format}','json')
1550
1577
 
@@ -1566,7 +1593,7 @@ module PureCloud
1566
1593
  form_params = {}
1567
1594
 
1568
1595
  # http body (model)
1569
- post_body = @api_client.object_to_http_body(opts[:'body'])
1596
+ post_body = @api_client.object_to_http_body(body)
1570
1597
 
1571
1598
  auth_names = ['PureCloud Auth']
1572
1599
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1584,24 +1611,27 @@ module PureCloud
1584
1611
 
1585
1612
  # Query for user aggregates
1586
1613
  #
1614
+ # @param body query
1587
1615
  # @param [Hash] opts the optional parameters
1588
- # @option opts [AggregationQuery] :body query
1589
1616
  # @return [PresenceQueryResponse]
1590
- def post_users_aggregates_query(opts = {})
1591
- data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
1617
+ def post_users_aggregates_query(body, opts = {})
1618
+ data, status_code, headers = post_users_aggregates_query_with_http_info(body, opts)
1592
1619
  return data
1593
1620
  end
1594
1621
 
1595
1622
  # Query for user aggregates
1596
1623
  #
1624
+ # @param body query
1597
1625
  # @param [Hash] opts the optional parameters
1598
- # @option opts [AggregationQuery] :body query
1599
1626
  # @return [Array<(PresenceQueryResponse, Fixnum, Hash)>] PresenceQueryResponse data, response status code and response headers
1600
- def post_users_aggregates_query_with_http_info(opts = {})
1627
+ def post_users_aggregates_query_with_http_info(body, opts = {})
1601
1628
  if @api_client.config.debugging
1602
1629
  @api_client.config.logger.debug "Calling API: UsersApi#post_users_aggregates_query ..."
1603
1630
  end
1604
1631
 
1632
+ # verify the required parameter 'body' is set
1633
+ fail "Missing the required parameter 'body' when calling post_users_aggregates_query" if body.nil?
1634
+
1605
1635
  # resource path
1606
1636
  local_var_path = "/api/v2/analytics/users/aggregates/query".sub('{format}','json')
1607
1637
 
@@ -1623,7 +1653,7 @@ module PureCloud
1623
1653
  form_params = {}
1624
1654
 
1625
1655
  # http body (model)
1626
- post_body = @api_client.object_to_http_body(opts[:'body'])
1656
+ post_body = @api_client.object_to_http_body(body)
1627
1657
 
1628
1658
  auth_names = ['PureCloud Auth']
1629
1659
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1641,24 +1671,27 @@ module PureCloud
1641
1671
 
1642
1672
  # Query for user observations
1643
1673
  #
1674
+ # @param body query
1644
1675
  # @param [Hash] opts the optional parameters
1645
- # @option opts [ObservationQuery] :body query
1646
1676
  # @return [ObservationQueryResponse]
1647
- def post_users_observations_query(opts = {})
1648
- data, status_code, headers = post_users_observations_query_with_http_info(opts)
1677
+ def post_users_observations_query(body, opts = {})
1678
+ data, status_code, headers = post_users_observations_query_with_http_info(body, opts)
1649
1679
  return data
1650
1680
  end
1651
1681
 
1652
1682
  # Query for user observations
1653
1683
  #
1684
+ # @param body query
1654
1685
  # @param [Hash] opts the optional parameters
1655
- # @option opts [ObservationQuery] :body query
1656
1686
  # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
1657
- def post_users_observations_query_with_http_info(opts = {})
1687
+ def post_users_observations_query_with_http_info(body, opts = {})
1658
1688
  if @api_client.config.debugging
1659
1689
  @api_client.config.logger.debug "Calling API: UsersApi#post_users_observations_query ..."
1660
1690
  end
1661
1691
 
1692
+ # verify the required parameter 'body' is set
1693
+ fail "Missing the required parameter 'body' when calling post_users_observations_query" if body.nil?
1694
+
1662
1695
  # resource path
1663
1696
  local_var_path = "/api/v2/analytics/users/observations/query".sub('{format}','json')
1664
1697
 
@@ -1680,7 +1713,7 @@ module PureCloud
1680
1713
  form_params = {}
1681
1714
 
1682
1715
  # http body (model)
1683
- post_body = @api_client.object_to_http_body(opts[:'body'])
1716
+ post_body = @api_client.object_to_http_body(body)
1684
1717
 
1685
1718
  auth_names = ['PureCloud Auth']
1686
1719
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -1699,21 +1732,21 @@ module PureCloud
1699
1732
  # Update a user's CallForwarding
1700
1733
  #
1701
1734
  # @param user_id User ID
1735
+ # @param body Call forwarding
1702
1736
  # @param [Hash] opts the optional parameters
1703
- # @option opts [CallForwarding] :body
1704
1737
  # @return [CallForwarding]
1705
- def put_user_id_callforwarding(user_id, opts = {})
1706
- data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, opts)
1738
+ def put_user_id_callforwarding(user_id, body, opts = {})
1739
+ data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, body, opts)
1707
1740
  return data
1708
1741
  end
1709
1742
 
1710
1743
  # Update a user&#39;s CallForwarding
1711
1744
  #
1712
1745
  # @param user_id User ID
1746
+ # @param body Call forwarding
1713
1747
  # @param [Hash] opts the optional parameters
1714
- # @option opts [CallForwarding] :body
1715
1748
  # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
1716
- def put_user_id_callforwarding_with_http_info(user_id, opts = {})
1749
+ def put_user_id_callforwarding_with_http_info(user_id, body, opts = {})
1717
1750
  if @api_client.config.debugging
1718
1751
  @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_callforwarding ..."
1719
1752
  end
@@ -1721,6 +1754,9 @@ module PureCloud
1721
1754
  # verify the required parameter 'user_id' is set
1722
1755
  fail "Missing the required parameter 'user_id' when calling put_user_id_callforwarding" if user_id.nil?
1723
1756
 
1757
+ # verify the required parameter 'body' is set
1758
+ fail "Missing the required parameter 'body' when calling put_user_id_callforwarding" if body.nil?
1759
+
1724
1760
  # resource path
1725
1761
  local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1726
1762
 
@@ -1742,7 +1778,7 @@ module PureCloud
1742
1778
  form_params = {}
1743
1779
 
1744
1780
  # http body (model)
1745
- post_body = @api_client.object_to_http_body(opts[:'body'])
1781
+ post_body = @api_client.object_to_http_body(body)
1746
1782
 
1747
1783
  auth_names = ['PureCloud Auth']
1748
1784
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -1826,21 +1862,21 @@ module PureCloud
1826
1862
  # Sets the user's roles
1827
1863
  #
1828
1864
  # @param user_id User ID
1865
+ # @param body List of roles
1829
1866
  # @param [Hash] opts the optional parameters
1830
- # @option opts [Array<String>] :body
1831
1867
  # @return [UserAuthorization]
1832
- def put_user_id_roles(user_id, opts = {})
1833
- data, status_code, headers = put_user_id_roles_with_http_info(user_id, opts)
1868
+ def put_user_id_roles(user_id, body, opts = {})
1869
+ data, status_code, headers = put_user_id_roles_with_http_info(user_id, body, opts)
1834
1870
  return data
1835
1871
  end
1836
1872
 
1837
1873
  # Sets the user&#39;s roles
1838
1874
  #
1839
1875
  # @param user_id User ID
1876
+ # @param body List of roles
1840
1877
  # @param [Hash] opts the optional parameters
1841
- # @option opts [Array<String>] :body
1842
1878
  # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
1843
- def put_user_id_roles_with_http_info(user_id, opts = {})
1879
+ def put_user_id_roles_with_http_info(user_id, body, opts = {})
1844
1880
  if @api_client.config.debugging
1845
1881
  @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_roles ..."
1846
1882
  end
@@ -1848,6 +1884,9 @@ module PureCloud
1848
1884
  # verify the required parameter 'user_id' is set
1849
1885
  fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
1850
1886
 
1887
+ # verify the required parameter 'body' is set
1888
+ fail "Missing the required parameter 'body' when calling put_user_id_roles" if body.nil?
1889
+
1851
1890
  # resource path
1852
1891
  local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1853
1892
 
@@ -1869,7 +1908,7 @@ module PureCloud
1869
1908
  form_params = {}
1870
1909
 
1871
1910
  # http body (model)
1872
- post_body = @api_client.object_to_http_body(opts[:'body'])
1911
+ post_body = @api_client.object_to_http_body(body)
1873
1912
 
1874
1913
  auth_names = ['PureCloud Auth']
1875
1914
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -1889,11 +1928,11 @@ module PureCloud
1889
1928
  #
1890
1929
  # @param user_id User ID
1891
1930
  # @param skill_id
1931
+ # @param body Skill
1892
1932
  # @param [Hash] opts the optional parameters
1893
- # @option opts [UserRoutingSkill] :body Skill
1894
1933
  # @return [UserRoutingSkill]
1895
- def put_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
1896
- data, status_code, headers = put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
1934
+ def put_user_id_routingskills_skill_id(user_id, skill_id, body, opts = {})
1935
+ data, status_code, headers = put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, body, opts)
1897
1936
  return data
1898
1937
  end
1899
1938
 
@@ -1901,10 +1940,10 @@ module PureCloud
1901
1940
  #
1902
1941
  # @param user_id User ID
1903
1942
  # @param skill_id
1943
+ # @param body Skill
1904
1944
  # @param [Hash] opts the optional parameters
1905
- # @option opts [UserRoutingSkill] :body Skill
1906
1945
  # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
1907
- def put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
1946
+ def put_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, body, opts = {})
1908
1947
  if @api_client.config.debugging
1909
1948
  @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_routingskills_skill_id ..."
1910
1949
  end
@@ -1915,6 +1954,9 @@ module PureCloud
1915
1954
  # verify the required parameter 'skill_id' is set
1916
1955
  fail "Missing the required parameter 'skill_id' when calling put_user_id_routingskills_skill_id" if skill_id.nil?
1917
1956
 
1957
+ # verify the required parameter 'body' is set
1958
+ fail "Missing the required parameter 'body' when calling put_user_id_routingskills_skill_id" if body.nil?
1959
+
1918
1960
  # resource path
1919
1961
  local_var_path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
1920
1962
 
@@ -1936,7 +1978,7 @@ module PureCloud
1936
1978
  form_params = {}
1937
1979
 
1938
1980
  # http body (model)
1939
- post_body = @api_client.object_to_http_body(opts[:'body'])
1981
+ post_body = @api_client.object_to_http_body(body)
1940
1982
 
1941
1983
  auth_names = ['PureCloud Auth']
1942
1984
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -1955,21 +1997,21 @@ module PureCloud
1955
1997
  # Update the routing status of a user
1956
1998
  #
1957
1999
  # @param user_id User ID
2000
+ # @param body Routing Status
1958
2001
  # @param [Hash] opts the optional parameters
1959
- # @option opts [RoutingStatus] :body Routing Status
1960
2002
  # @return [RoutingStatus]
1961
- def put_user_id_routingstatus(user_id, opts = {})
1962
- data, status_code, headers = put_user_id_routingstatus_with_http_info(user_id, opts)
2003
+ def put_user_id_routingstatus(user_id, body, opts = {})
2004
+ data, status_code, headers = put_user_id_routingstatus_with_http_info(user_id, body, opts)
1963
2005
  return data
1964
2006
  end
1965
2007
 
1966
2008
  # Update the routing status of a user
1967
2009
  #
1968
2010
  # @param user_id User ID
2011
+ # @param body Routing Status
1969
2012
  # @param [Hash] opts the optional parameters
1970
- # @option opts [RoutingStatus] :body Routing Status
1971
2013
  # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
1972
- def put_user_id_routingstatus_with_http_info(user_id, opts = {})
2014
+ def put_user_id_routingstatus_with_http_info(user_id, body, opts = {})
1973
2015
  if @api_client.config.debugging
1974
2016
  @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_routingstatus ..."
1975
2017
  end
@@ -1977,6 +2019,9 @@ module PureCloud
1977
2019
  # verify the required parameter 'user_id' is set
1978
2020
  fail "Missing the required parameter 'user_id' when calling put_user_id_routingstatus" if user_id.nil?
1979
2021
 
2022
+ # verify the required parameter 'body' is set
2023
+ fail "Missing the required parameter 'body' when calling put_user_id_routingstatus" if body.nil?
2024
+
1980
2025
  # resource path
1981
2026
  local_var_path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1982
2027
 
@@ -1998,7 +2043,7 @@ module PureCloud
1998
2043
  form_params = {}
1999
2044
 
2000
2045
  # http body (model)
2001
- post_body = @api_client.object_to_http_body(opts[:'body'])
2046
+ post_body = @api_client.object_to_http_body(body)
2002
2047
 
2003
2048
  auth_names = ['PureCloud Auth']
2004
2049
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,