purecloud 0.35.1 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1459) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/Gemfile.lock +0 -2
  4. data/README.md +38 -51
  5. data/config-ruby.json +1 -1
  6. data/doc_out/Account.html.md +42 -0
  7. data/doc_out/AccountManager.html.md +16 -0
  8. data/doc_out/AccountOverview.html.md +20 -0
  9. data/doc_out/AccountStatus.html.md +21 -0
  10. data/doc_out/Actions.html.md +13 -0
  11. data/doc_out/AcwSettings.html.md +14 -0
  12. data/doc_out/Address.html.md +20 -0
  13. data/doc_out/AddressListing.html.md +22 -0
  14. data/doc_out/Agent.html.md +13 -0
  15. data/doc_out/AgentActivity.html.md +19 -0
  16. data/doc_out/AgentActivityEntityListing.html.md +22 -0
  17. data/doc_out/AgentEvaluatorActivity.html.md +19 -0
  18. data/doc_out/AggregateDataContainer.html.md +14 -0
  19. data/doc_out/AggregateMetricData.html.md +15 -0
  20. data/doc_out/AggregateQueryResponse.html.md +13 -0
  21. data/doc_out/AggregationQuery.html.md +18 -0
  22. data/doc_out/AggregationRange.html.md +14 -0
  23. data/doc_out/AggregationResult.html.md +17 -0
  24. data/doc_out/AggregationResultEntry.html.md +16 -0
  25. data/doc_out/AlertingApi.html.md +571 -0
  26. data/doc_out/AnalyticsApi.html.md +1233 -0
  27. data/doc_out/AnalyticsConversation.html.md +16 -0
  28. data/doc_out/AnalyticsConversationQueryResponse.html.md +14 -0
  29. data/doc_out/AnalyticsConversationSegment.html.md +34 -0
  30. data/doc_out/AnalyticsEvaluation.html.md +22 -0
  31. data/doc_out/AnalyticsParticipant.html.md +17 -0
  32. data/doc_out/AnalyticsProperty.html.md +15 -0
  33. data/doc_out/AnalyticsQueryAggregation.html.md +17 -0
  34. data/doc_out/AnalyticsQueryClause.html.md +14 -0
  35. data/doc_out/AnalyticsQueryFilter.html.md +15 -0
  36. data/doc_out/AnalyticsQueryPredicate.html.md +20 -0
  37. data/doc_out/AnalyticsSession.html.md +29 -0
  38. data/doc_out/Annotation.html.md +20 -0
  39. data/doc_out/App.html.md +14 -0
  40. data/doc_out/ArchiveRetention.html.md +14 -0
  41. data/doc_out/AssociatedDocument.html.md +14 -0
  42. data/doc_out/Attachment.html.md +17 -0
  43. data/doc_out/Attribute.html.md +21 -0
  44. data/doc_out/AttributeEntityListing.html.md +22 -0
  45. data/doc_out/AttributeFilterItem.html.md +15 -0
  46. data/doc_out/AttributeQueryRequest.html.md +15 -0
  47. data/doc_out/AttributesApi.html.md +362 -0
  48. data/doc_out/AuditChange.html.md +16 -0
  49. data/doc_out/AuditEntity.html.md +16 -0
  50. data/doc_out/AuditEntityReference.html.md +17 -0
  51. data/doc_out/AuditFacet.html.md +14 -0
  52. data/doc_out/AuditFilter.html.md +16 -0
  53. data/doc_out/AuditMessage.html.md +28 -0
  54. data/doc_out/AuditSearchResult.html.md +18 -0
  55. data/doc_out/AuditUser.html.md +15 -0
  56. data/doc_out/AuthorizationApi.html.md +1024 -0
  57. data/doc_out/AutomateQueue.html.md +19 -0
  58. data/doc_out/AutomateQueueMember.html.md +16 -0
  59. data/doc_out/AutomateQueueMemberEntityListing.html.md +22 -0
  60. data/doc_out/AvailableAdditionalService.html.md +22 -0
  61. data/doc_out/AvailableAdditionalServiceListing.html.md +22 -0
  62. data/doc_out/AvailableTopic.html.md +15 -0
  63. data/doc_out/AvailableTopicEntityListing.html.md +22 -0
  64. data/doc_out/BackendFlowAvailableActions.html.md +13 -0
  65. data/doc_out/BasicTransform.html.md +14 -0
  66. data/doc_out/BatchCommand.html.md +14 -0
  67. data/doc_out/BatchItem.html.md +15 -0
  68. data/doc_out/BatchItemBody.html.md +13 -0
  69. data/doc_out/BatchReply.html.md +13 -0
  70. data/doc_out/BatchReplyItem.html.md +15 -0
  71. data/doc_out/BillingAddress.html.md +20 -0
  72. data/doc_out/BillingPeriod.html.md +17 -0
  73. data/doc_out/Bullseye.html.md +13 -0
  74. data/doc_out/Calibration.html.md +28 -0
  75. data/doc_out/CalibrationAssignment.html.md +16 -0
  76. data/doc_out/CalibrationEntityListing.html.md +22 -0
  77. data/doc_out/Call.html.md +29 -0
  78. data/doc_out/CallCommand.html.md +13 -0
  79. data/doc_out/CallConversation.html.md +18 -0
  80. data/doc_out/CallConversationEntityListing.html.md +22 -0
  81. data/doc_out/CallForwarding.html.md +19 -0
  82. data/doc_out/CallMediaParticipant.html.md +43 -0
  83. data/doc_out/CallRecord.html.md +14 -0
  84. data/doc_out/CallableContactsDiagnostic.html.md +15 -0
  85. data/doc_out/CallableTime.html.md +14 -0
  86. data/doc_out/CallableTimeSet.html.md +19 -0
  87. data/doc_out/CallableTimeSetEntityListing.html.md +22 -0
  88. data/doc_out/Callback.html.md +27 -0
  89. data/doc_out/CallbackConversation.html.md +17 -0
  90. data/doc_out/CallbackConversationEntityListing.html.md +22 -0
  91. data/doc_out/CallbackMediaParticipant.html.md +38 -0
  92. data/doc_out/Campaign.html.md +38 -0
  93. data/doc_out/CampaignDiagnostics.html.md +15 -0
  94. data/doc_out/CampaignEntityListing.html.md +22 -0
  95. data/doc_out/CampaignProgress.html.md +17 -0
  96. data/doc_out/CampaignSchedule.html.md +21 -0
  97. data/doc_out/CampaignScheduleIntervals.html.md +14 -0
  98. data/doc_out/CampaignSequence.html.md +23 -0
  99. data/doc_out/CampaignSequenceEntityListing.html.md +22 -0
  100. data/doc_out/CampaignStats.html.md +16 -0
  101. data/doc_out/CampaignTimeSlot.html.md +15 -0
  102. data/doc_out/Carrier.html.md +20 -0
  103. data/doc_out/CarrierAddress.html.md +17 -0
  104. data/doc_out/CarrierEntityListing.html.md +22 -0
  105. data/doc_out/Certificate.html.md +13 -0
  106. data/doc_out/CertificateAuthorityEntityListing.html.md +22 -0
  107. data/doc_out/CertificateDetails.html.md +19 -0
  108. data/doc_out/Change.html.md +16 -0
  109. data/doc_out/Channel.html.md +14 -0
  110. data/doc_out/ChannelEntityListing.html.md +22 -0
  111. data/doc_out/ChannelTopic.html.md +14 -0
  112. data/doc_out/ChannelTopicEntityListing.html.md +22 -0
  113. data/doc_out/Charge.html.md +20 -0
  114. data/doc_out/Chat.html.md +13 -0
  115. data/doc_out/ChatConversation.html.md +17 -0
  116. data/doc_out/ChatConversationEntityListing.html.md +22 -0
  117. data/doc_out/ChatMediaParticipant.html.md +34 -0
  118. data/doc_out/ChatMessage.html.md +21 -0
  119. data/doc_out/ChatMessageUser.html.md +17 -0
  120. data/doc_out/ClientSpreadsheetTransform.html.md +19 -0
  121. data/doc_out/ClientTextTableTransform.html.md +20 -0
  122. data/doc_out/ColumnCollapse.html.md +14 -0
  123. data/doc_out/CommandStatus.html.md +20 -0
  124. data/doc_out/CommandStatusEntityListing.html.md +22 -0
  125. data/doc_out/CommonAuditRequest.html.md +19 -0
  126. data/doc_out/ComposerTemplate.html.md +22 -0
  127. data/doc_out/Condition.html.md +19 -0
  128. data/doc_out/ConfigurationApi.html.md +232 -0
  129. data/doc_out/ConnectRate.html.md +15 -0
  130. data/doc_out/ConsultTransfer.html.md +14 -0
  131. data/doc_out/ConsultTransferResponse.html.md +13 -0
  132. data/doc_out/ConsultTransferUpdate.html.md +13 -0
  133. data/doc_out/ConsumedResourcesEntityListing.html.md +22 -0
  134. data/doc_out/ConsumingResourcesEntityListing.html.md +22 -0
  135. data/doc_out/Contact.html.md +16 -0
  136. data/doc_out/ContactAddress.html.md +18 -0
  137. data/doc_out/ContactCallbackRequest.html.md +17 -0
  138. data/doc_out/ContactList.html.md +24 -0
  139. data/doc_out/ContactListEntityListing.html.md +22 -0
  140. data/doc_out/ContactListing.html.md +22 -0
  141. data/doc_out/ContactPhoneNumberColumn.html.md +15 -0
  142. data/doc_out/ContactSales.html.md +25 -0
  143. data/doc_out/ContactSalesResponse.html.md +16 -0
  144. data/doc_out/ContactSort.html.md +14 -0
  145. data/doc_out/ContentAttributeFilterItem.html.md +15 -0
  146. data/doc_out/ContentFacetFilterItem.html.md +16 -0
  147. data/doc_out/ContentFilterItem.html.md +16 -0
  148. data/doc_out/ContentManagementApi.html.md +2236 -0
  149. data/doc_out/ContentQueryRequest.html.md +19 -0
  150. data/doc_out/ContentSortItem.html.md +14 -0
  151. data/doc_out/Contract.html.md +18 -0
  152. data/doc_out/ContractJob.html.md +17 -0
  153. data/doc_out/Control.html.md +19 -0
  154. data/doc_out/ControlOptions.html.md +14 -0
  155. data/doc_out/Conversation.html.md +22 -0
  156. data/doc_out/ConversationChat.html.md +23 -0
  157. data/doc_out/ConversationEntityListing.html.md +22 -0
  158. data/doc_out/ConversationQuery.html.md +20 -0
  159. data/doc_out/ConversationsApi.html.md +3374 -0
  160. data/doc_out/CoverSheet.html.md +14 -0
  161. data/doc_out/CreateCallRequest.html.md +21 -0
  162. data/doc_out/CreateCallResponse.html.md +15 -0
  163. data/doc_out/CreateCallbackCommand.html.md +18 -0
  164. data/doc_out/CreateShareRequest.html.md +17 -0
  165. data/doc_out/CreateShareRequestMember.html.md +14 -0
  166. data/doc_out/CreateShareResponse.html.md +23 -0
  167. data/doc_out/CreateTemplateFromScriptRequestData.html.md +17 -0
  168. data/doc_out/CreateUser.html.md +19 -0
  169. data/doc_out/CsvSchema.html.md +19 -0
  170. data/doc_out/Currency.html.md +16 -0
  171. data/doc_out/CustomerAccount.html.md +21 -0
  172. data/doc_out/DID.html.md +28 -0
  173. data/doc_out/DIDEntityListing.html.md +22 -0
  174. data/doc_out/DIDPool.html.md +28 -0
  175. data/doc_out/DIDPoolEntityListing.html.md +22 -0
  176. data/doc_out/DataItem.html.md +15 -0
  177. data/doc_out/DataValueInfo.html.md +13 -0
  178. data/doc_out/DefaultGreetingList.html.md +22 -0
  179. data/doc_out/DeleteRetention.html.md +13 -0
  180. data/doc_out/DeletedResourceConsumerEntityListing.html.md +22 -0
  181. data/doc_out/DeltaDocument.html.md +19 -0
  182. data/doc_out/DeltaRequest.html.md +13 -0
  183. data/doc_out/DeltaResponse.html.md +15 -0
  184. data/doc_out/Dependency.html.md +18 -0
  185. data/doc_out/DependencyObject.html.md +20 -0
  186. data/doc_out/DependencyObjectEntityListing.html.md +22 -0
  187. data/doc_out/DependencyStatus.html.md +21 -0
  188. data/doc_out/DependencyType.html.md +16 -0
  189. data/doc_out/DependencyTypeEntityListing.html.md +22 -0
  190. data/doc_out/Destination.html.md +16 -0
  191. data/doc_out/Detail.html.md +16 -0
  192. data/doc_out/DiagnosticEmail.html.md +19 -0
  193. data/doc_out/DialerAction.html.md +16 -0
  194. data/doc_out/DialerAuditRequest.html.md +16 -0
  195. data/doc_out/DialerContact.html.md +20 -0
  196. data/doc_out/DialerPreview.html.md +17 -0
  197. data/doc_out/DialerRule.html.md +18 -0
  198. data/doc_out/DigitLength.html.md +14 -0
  199. data/doc_out/DisconnectReason.html.md +15 -0
  200. data/doc_out/Discount.html.md +20 -0
  201. data/doc_out/DncList.html.md +22 -0
  202. data/doc_out/DncListEntityListing.html.md +22 -0
  203. data/doc_out/Dns.html.md +15 -0
  204. data/doc_out/Document.html.md +43 -0
  205. data/doc_out/DocumentAttribute.html.md +14 -0
  206. data/doc_out/DocumentAudit.html.md +28 -0
  207. data/doc_out/DocumentAuditEntityListing.html.md +22 -0
  208. data/doc_out/DocumentEntityListing.html.md +22 -0
  209. data/doc_out/DocumentThumbnail.html.md +14 -0
  210. data/doc_out/DocumentUpdate.html.md +21 -0
  211. data/doc_out/DocumentUpload.html.md +16 -0
  212. data/doc_out/DomainBillingPeriodEntityListing.html.md +22 -0
  213. data/doc_out/DomainCapabilities.html.md +15 -0
  214. data/doc_out/DomainCertificateAuthority.html.md +28 -0
  215. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +21 -0
  216. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +20 -0
  217. data/doc_out/DomainEntity.html.md +15 -0
  218. data/doc_out/DomainEntityListing.html.md +22 -0
  219. data/doc_out/DomainEntityListingEvaluationForm.html.md +22 -0
  220. data/doc_out/DomainEntityListingQueryResult.html.md +22 -0
  221. data/doc_out/DomainInvoiceEntityListing.html.md +22 -0
  222. data/doc_out/DomainLogicalInterface.html.md +49 -0
  223. data/doc_out/DomainNetworkAddress.html.md +16 -0
  224. data/doc_out/DomainNetworkCommandResponse.html.md +16 -0
  225. data/doc_out/DomainNetworkRoute.html.md +17 -0
  226. data/doc_out/DomainOrgRoleDifference.html.md +17 -0
  227. data/doc_out/DomainOrganizationProduct.html.md +13 -0
  228. data/doc_out/DomainOrganizationRole.html.md +22 -0
  229. data/doc_out/DomainPermission.html.md +17 -0
  230. data/doc_out/DomainPermissionCollection.html.md +17 -0
  231. data/doc_out/DomainPermissionPolicy.html.md +20 -0
  232. data/doc_out/DomainPhysicalCapabilities.html.md +14 -0
  233. data/doc_out/DomainPhysicalInterface.html.md +20 -0
  234. data/doc_out/DomainResourceConditionNode.html.md +17 -0
  235. data/doc_out/DomainResourceConditionValue.html.md +16 -0
  236. data/doc_out/DomainRole.html.md +14 -0
  237. data/doc_out/DomainSchemaReference.html.md +15 -0
  238. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +22 -0
  239. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +22 -0
  240. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +22 -0
  241. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +22 -0
  242. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +22 -0
  243. data/doc_out/DownloadResponse.html.md +14 -0
  244. data/doc_out/DurationCondition.html.md +15 -0
  245. data/doc_out/Edge.html.md +47 -0
  246. data/doc_out/EdgeAutoUpdateConfig.html.md +16 -0
  247. data/doc_out/EdgeEntityListing.html.md +22 -0
  248. data/doc_out/EdgeGroup.html.md +28 -0
  249. data/doc_out/EdgeGroupEntityListing.html.md +22 -0
  250. data/doc_out/EdgeInterface.html.md +20 -0
  251. data/doc_out/EdgeLine.html.md +23 -0
  252. data/doc_out/EdgeLineEntityListing.html.md +22 -0
  253. data/doc_out/EdgeLogsJob.html.md +16 -0
  254. data/doc_out/EdgeLogsJobFile.html.md +21 -0
  255. data/doc_out/EdgeLogsJobRequest.html.md +15 -0
  256. data/doc_out/EdgeLogsJobResponse.html.md +15 -0
  257. data/doc_out/EdgeLogsJobUploadRequest.html.md +13 -0
  258. data/doc_out/EdgeVersionInformation.html.md +13 -0
  259. data/doc_out/EdgeVersionReport.html.md +14 -0
  260. data/doc_out/Email.html.md +25 -0
  261. data/doc_out/EmailAddress.html.md +14 -0
  262. data/doc_out/EmailAttachment.html.md +17 -0
  263. data/doc_out/EmailConversation.html.md +17 -0
  264. data/doc_out/EmailConversationEntityListing.html.md +22 -0
  265. data/doc_out/EmailMediaParticipant.html.md +35 -0
  266. data/doc_out/EmailMessage.html.md +24 -0
  267. data/doc_out/EmailMessageListing.html.md +22 -0
  268. data/doc_out/EmailSetup.html.md +13 -0
  269. data/doc_out/EmbeddedSignatureView.html.md +13 -0
  270. data/doc_out/EncryptionKey.html.md +18 -0
  271. data/doc_out/EncryptionKeyEntityListing.html.md +22 -0
  272. data/doc_out/Endpoint.html.md +30 -0
  273. data/doc_out/EndpointEntityListing.html.md +22 -0
  274. data/doc_out/Entity.html.md +16 -0
  275. data/doc_out/Entry.html.md +14 -0
  276. data/doc_out/ErrorBody.html.md +22 -0
  277. data/doc_out/ErrorDetails.html.md +20 -0
  278. data/doc_out/EstimatedWaitTimePredictions.html.md +13 -0
  279. data/doc_out/Evaluation.html.md +31 -0
  280. data/doc_out/EvaluationAssignment.html.md +14 -0
  281. data/doc_out/EvaluationEntityListing.html.md +22 -0
  282. data/doc_out/EvaluationForm.html.md +21 -0
  283. data/doc_out/EvaluationFormAndScoringSet.html.md +14 -0
  284. data/doc_out/EvaluationFormEntityListing.html.md +22 -0
  285. data/doc_out/EvaluationScoringSet.html.md +18 -0
  286. data/doc_out/EvaluatorActivity.html.md +22 -0
  287. data/doc_out/EvaluatorActivityEntityListing.html.md +22 -0
  288. data/doc_out/ExpansionCriterium.html.md +14 -0
  289. data/doc_out/ExpressionResponse.html.md +23 -0
  290. data/doc_out/Extension.html.md +28 -0
  291. data/doc_out/ExtensionEntityListing.html.md +22 -0
  292. data/doc_out/ExtensionPool.html.md +26 -0
  293. data/doc_out/ExtensionPoolEntityListing.html.md +22 -0
  294. data/doc_out/ExternalContact.html.md +30 -0
  295. data/doc_out/ExternalContactsApi.html.md +1594 -0
  296. data/doc_out/ExternalOrganization.html.md +28 -0
  297. data/doc_out/ExternalOrganizationListing.html.md +22 -0
  298. data/doc_out/FacetEntry.html.md +20 -0
  299. data/doc_out/FacetInfo.html.md +14 -0
  300. data/doc_out/FacetKeyAttribute.html.md +15 -0
  301. data/doc_out/FacetRequest.html.md +19 -0
  302. data/doc_out/FacetResult.html.md +17 -0
  303. data/doc_out/FacetResultItem.html.md +19 -0
  304. data/doc_out/FacetStatistics.html.md +19 -0
  305. data/doc_out/FacetTerm.html.md +18 -0
  306. data/doc_out/FailedObject.html.md +16 -0
  307. data/doc_out/FavoriteTemplateRequestData.html.md +13 -0
  308. data/doc_out/FaxApi.html.md +354 -0
  309. data/doc_out/FaxDocument.html.md +30 -0
  310. data/doc_out/FaxDocumentEntityListing.html.md +22 -0
  311. data/doc_out/FaxSendRequest.html.md +20 -0
  312. data/doc_out/FaxSendResponse.html.md +17 -0
  313. data/doc_out/FaxSummary.html.md +15 -0
  314. data/doc_out/FilterItem.html.md +17 -0
  315. data/doc_out/Flow.html.md +24 -0
  316. data/doc_out/FlowBody.html.md +14 -0
  317. data/doc_out/FlowBodyFormat.html.md +14 -0
  318. data/doc_out/FlowConfigId.html.md +16 -0
  319. data/doc_out/FlowConfigMetaData.html.md +23 -0
  320. data/doc_out/FlowConfigMetaDataEntityListing.html.md +22 -0
  321. data/doc_out/FlowDetails.html.md +24 -0
  322. data/doc_out/FlowDetailsSearchResult.html.md +14 -0
  323. data/doc_out/FlowEntityListing.html.md +22 -0
  324. data/doc_out/FlowExecId.html.md +15 -0
  325. data/doc_out/FlowHistoryItem.html.md +20 -0
  326. data/doc_out/FlowHistoryResultItem.html.md +15 -0
  327. data/doc_out/FlowHistoryResultItemEntityListing.html.md +22 -0
  328. data/doc_out/FlowInputData.html.md +13 -0
  329. data/doc_out/FlowLaunchRequest.html.md +16 -0
  330. data/doc_out/FlowPublish.html.md +17 -0
  331. data/doc_out/FlowReportResultItem.html.md +24 -0
  332. data/doc_out/FlowSearchRequest.html.md +19 -0
  333. data/doc_out/FlowState.html.md +15 -0
  334. data/doc_out/FlowTerminateRequest.html.md +13 -0
  335. data/doc_out/FlowUploadResponse.html.md +14 -0
  336. data/doc_out/FlowVersion.html.md +23 -0
  337. data/doc_out/FlowVersionConfigMetaData.html.md +20 -0
  338. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +22 -0
  339. data/doc_out/FlowVersionEntityListing.html.md +22 -0
  340. data/doc_out/Form.html.md +13 -0
  341. data/doc_out/Gateway.html.md +15 -0
  342. data/doc_out/Geolocation.html.md +22 -0
  343. data/doc_out/GeolocationApi.html.md +245 -0
  344. data/doc_out/GeolocationSettings.html.md +16 -0
  345. data/doc_out/Gistener.html.md +25 -0
  346. data/doc_out/Greeting.html.md +24 -0
  347. data/doc_out/GreetingAudioFile.html.md +15 -0
  348. data/doc_out/GreetingMediaInfo.html.md +15 -0
  349. data/doc_out/GreetingOwner.html.md +15 -0
  350. data/doc_out/GreetingsApi.html.md +712 -0
  351. data/doc_out/Group.html.md +22 -0
  352. data/doc_out/GroupEntityListing.html.md +22 -0
  353. data/doc_out/GroupTag.html.md +19 -0
  354. data/doc_out/GroupsApi.html.md +314 -0
  355. data/doc_out/GroupsSearchResponse.html.md +21 -0
  356. data/doc_out/HIPAAConfig.html.md +16 -0
  357. data/doc_out/HardwareRate.html.md +18 -0
  358. data/doc_out/HardwareRateListing.html.md +22 -0
  359. data/doc_out/HealthCheckInfo.html.md +21 -0
  360. data/doc_out/IVR.html.md +31 -0
  361. data/doc_out/IVREntityListing.html.md +22 -0
  362. data/doc_out/ImportStatus.html.md +17 -0
  363. data/doc_out/InboundDomain.html.md +17 -0
  364. data/doc_out/InboundDomainEntityListing.html.md +22 -0
  365. data/doc_out/InboundRoute.html.md +22 -0
  366. data/doc_out/InboundRouteEntityListing.html.md +22 -0
  367. data/doc_out/IndexedTransform.html.md +16 -0
  368. data/doc_out/IntegrationType.html.md +18 -0
  369. data/doc_out/IntegrationTypeEntityListing.html.md +22 -0
  370. data/doc_out/InteractionStatsAlert.html.md +29 -0
  371. data/doc_out/InteractionStatsAlertContainer.html.md +22 -0
  372. data/doc_out/InteractionStatsRule.html.md +26 -0
  373. data/doc_out/InteractionStatsRuleContainer.html.md +22 -0
  374. data/doc_out/Invoice.html.md +21 -0
  375. data/doc_out/JsonNode.html.md +33 -0
  376. data/doc_out/JsonNodeSearchResponse.html.md +21 -0
  377. data/doc_out/KeyRotationSchedule.html.md +16 -0
  378. data/doc_out/Language.html.md +18 -0
  379. data/doc_out/LanguageEntityListing.html.md +22 -0
  380. data/doc_out/LanguagesApi.html.md +306 -0
  381. data/doc_out/Library.html.md +18 -0
  382. data/doc_out/LibraryEntityListing.html.md +22 -0
  383. data/doc_out/License.html.md +14 -0
  384. data/doc_out/LicensesByPermission.html.md +15 -0
  385. data/doc_out/Line.html.md +32 -0
  386. data/doc_out/LineBase.html.md +17 -0
  387. data/doc_out/LineBaseEntityListing.html.md +22 -0
  388. data/doc_out/LineEntityListing.html.md +22 -0
  389. data/doc_out/LineStatus.html.md +17 -0
  390. data/doc_out/LinkedEntityListingFlowDetails.html.md +22 -0
  391. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +22 -0
  392. data/doc_out/Location.html.md +24 -0
  393. data/doc_out/LocationAddressFields.html.md +19 -0
  394. data/doc_out/LocationEmergencyNumber.html.md +15 -0
  395. data/doc_out/LocationEntityListing.html.md +22 -0
  396. data/doc_out/LocationsApi.html.md +133 -0
  397. data/doc_out/LockInfo.html.md +16 -0
  398. data/doc_out/LogicalInterfaceEntityListing.html.md +22 -0
  399. data/doc_out/ManagementUnit.html.md +18 -0
  400. data/doc_out/ManagementUnitTimezone.html.md +13 -0
  401. data/doc_out/MaxParticipants.html.md +13 -0
  402. data/doc_out/MediaParticipantRequest.html.md +19 -0
  403. data/doc_out/MediaPolicies.html.md +15 -0
  404. data/doc_out/MediaPolicy.html.md +14 -0
  405. data/doc_out/MediaResult.html.md +14 -0
  406. data/doc_out/MediaSetting.html.md +14 -0
  407. data/doc_out/MediaSummary.html.md +14 -0
  408. data/doc_out/MediaSummaryDetail.html.md +14 -0
  409. data/doc_out/MemberEntity.html.md +13 -0
  410. data/doc_out/Metabase.html.md +16 -0
  411. data/doc_out/MeteredEvaluationAssignment.html.md +18 -0
  412. data/doc_out/NocSupport.html.md +14 -0
  413. data/doc_out/Note.html.md +18 -0
  414. data/doc_out/NoteListing.html.md +22 -0
  415. data/doc_out/NotificationsApi.html.md +408 -0
  416. data/doc_out/Number.html.md +14 -0
  417. data/doc_out/NumberOrderRequest.html.md +17 -0
  418. data/doc_out/NumberPlan.html.md +31 -0
  419. data/doc_out/NumericRange.html.md +16 -0
  420. data/doc_out/OAuthApi.html.md +1192 -0
  421. data/doc_out/OAuthClient.html.md +21 -0
  422. data/doc_out/OAuthClientEntityListing.html.md +22 -0
  423. data/doc_out/OAuthProvider.html.md +15 -0
  424. data/doc_out/OAuthProviderEntityListing.html.md +22 -0
  425. data/doc_out/ObservationDataContainer.html.md +14 -0
  426. data/doc_out/ObservationQuery.html.md +14 -0
  427. data/doc_out/ObservationQueryResponse.html.md +13 -0
  428. data/doc_out/Okta.html.md +18 -0
  429. data/doc_out/OneLogin.html.md +18 -0
  430. data/doc_out/Order.html.md +17 -0
  431. data/doc_out/OrgLicenseAssignment.html.md +16 -0
  432. data/doc_out/OrgMediaUtilization.html.md +14 -0
  433. data/doc_out/Organization.html.md +23 -0
  434. data/doc_out/OrganizationApi.html.md +172 -0
  435. data/doc_out/OrganizationCreate.html.md +18 -0
  436. data/doc_out/OrganizationPresence.html.md +22 -0
  437. data/doc_out/OrganizationPresenceEntityListing.html.md +22 -0
  438. data/doc_out/OrganizationProductEntityListing.html.md +17 -0
  439. data/doc_out/OrganizationRoleEntityListing.html.md +22 -0
  440. data/doc_out/OrphanRecording.html.md +23 -0
  441. data/doc_out/OrphanRecordingListing.html.md +22 -0
  442. data/doc_out/OutOfOffice.html.md +19 -0
  443. data/doc_out/OutboundApi.html.md +3780 -0
  444. data/doc_out/OutboundRoute.html.md +30 -0
  445. data/doc_out/OutboundRouteEntityListing.html.md +22 -0
  446. data/doc_out/PINConfiguration.html.md +14 -0
  447. data/doc_out/Page.html.md +20 -0
  448. data/doc_out/PagingSpec.html.md +14 -0
  449. data/doc_out/Parameter.html.md +16 -0
  450. data/doc_out/ParsedCertificate.html.md +13 -0
  451. data/doc_out/Participant.html.md +44 -0
  452. data/doc_out/ParticipantAttributes.html.md +13 -0
  453. data/doc_out/PaymentMethod.html.md +18 -0
  454. data/doc_out/PaymentMethodListing.html.md +22 -0
  455. data/doc_out/PaymentTokenProvider.html.md +16 -0
  456. data/doc_out/PermissionCollectionEntityListing.html.md +22 -0
  457. data/doc_out/Permissions.html.md +15 -0
  458. data/doc_out/Phone.html.md +34 -0
  459. data/doc_out/PhoneBase.html.md +19 -0
  460. data/doc_out/PhoneBaseEntityListing.html.md +22 -0
  461. data/doc_out/PhoneCapabilities.html.md +18 -0
  462. data/doc_out/PhoneColumn.html.md +14 -0
  463. data/doc_out/PhoneEntityListing.html.md +22 -0
  464. data/doc_out/PhoneMetaBaseEntityListing.html.md +22 -0
  465. data/doc_out/PhoneNumber.html.md +18 -0
  466. data/doc_out/PhoneNumberColumn.html.md +14 -0
  467. data/doc_out/PhoneNumberStatus.html.md +13 -0
  468. data/doc_out/PhoneStatus.html.md +21 -0
  469. data/doc_out/PhonesReboot.html.md +14 -0
  470. data/doc_out/PhysicalInterfaceEntityListing.html.md +22 -0
  471. data/doc_out/Policy.html.md +24 -0
  472. data/doc_out/PolicyActions.html.md +18 -0
  473. data/doc_out/PolicyConditions.html.md +20 -0
  474. data/doc_out/PolicyEntityListing.html.md +22 -0
  475. data/doc_out/PolicyErrorMessage.html.md +19 -0
  476. data/doc_out/PolicyErrors.html.md +13 -0
  477. data/doc_out/PredictionResults.html.md +14 -0
  478. data/doc_out/PresenceApi.html.md +427 -0
  479. data/doc_out/PresenceQueryResponse.html.md +14 -0
  480. data/doc_out/Product.html.md +17 -0
  481. data/doc_out/Prompt.html.md +17 -0
  482. data/doc_out/PromptAsset.html.md +24 -0
  483. data/doc_out/PromptAssetEntityListing.html.md +22 -0
  484. data/doc_out/PromptEntityListing.html.md +22 -0
  485. data/doc_out/PropertyIndexRequest.html.md +15 -0
  486. data/doc_out/ProvisionInfo.html.md +15 -0
  487. data/doc_out/Publication.html.md +20 -0
  488. data/doc_out/PublishScriptRequestData.html.md +14 -0
  489. data/doc_out/PublishedResult.html.md +18 -0
  490. data/doc_out/PureCloud.html.md +15 -0
  491. data/doc_out/QualityApi.html.md +1569 -0
  492. data/doc_out/QualityAudit.html.md +23 -0
  493. data/doc_out/QualityAuditPage.html.md +22 -0
  494. data/doc_out/QueryFacetInfo.html.md +14 -0
  495. data/doc_out/QueryRequest.html.md +19 -0
  496. data/doc_out/QueryResult.html.md +16 -0
  497. data/doc_out/QueryResults.html.md +14 -0
  498. data/doc_out/QuestionGroup.html.md +21 -0
  499. data/doc_out/QuestionGroupScore.html.md +23 -0
  500. data/doc_out/QuestionScore.html.md +18 -0
  501. data/doc_out/Queue.html.md +32 -0
  502. data/doc_out/QueueEntityListing.html.md +22 -0
  503. data/doc_out/QueueMember.html.md +20 -0
  504. data/doc_out/QueueUtilizationDiagnostic.html.md +20 -0
  505. data/doc_out/QueuesEntityListing.html.md +22 -0
  506. data/doc_out/Quote.html.md +32 -0
  507. data/doc_out/QuoteCharge.html.md +25 -0
  508. data/doc_out/QuoteListing.html.md +22 -0
  509. data/doc_out/Rate.html.md +17 -0
  510. data/doc_out/Reaction.html.md +15 -0
  511. data/doc_out/Recording.html.md +34 -0
  512. data/doc_out/RecordingApi.html.md +1243 -0
  513. data/doc_out/RecordingEmailMessage.html.md +22 -0
  514. data/doc_out/RecordingSettings.html.md +13 -0
  515. data/doc_out/Relationship.html.md +18 -0
  516. data/doc_out/RelationshipListing.html.md +22 -0
  517. data/doc_out/ReplaceRequest.html.md +15 -0
  518. data/doc_out/ReplaceResponse.html.md +18 -0
  519. data/doc_out/ReportMetaData.html.md +21 -0
  520. data/doc_out/ReportMetaDataEntityListing.html.md +22 -0
  521. data/doc_out/ReportRequest.html.md +18 -0
  522. data/doc_out/ReportRunEntry.html.md +23 -0
  523. data/doc_out/ReportRunEntryEntityDomainListing.html.md +22 -0
  524. data/doc_out/ReportSchedule.html.md +29 -0
  525. data/doc_out/ReportScheduleEntityListing.html.md +22 -0
  526. data/doc_out/Reservation.html.md +16 -0
  527. data/doc_out/ResourceConditionNode.html.md +17 -0
  528. data/doc_out/ResourceConditionValue.html.md +14 -0
  529. data/doc_out/ResourcePermissionPolicy.html.md +22 -0
  530. data/doc_out/Response.html.md +20 -0
  531. data/doc_out/ResponseEntityList.html.md +22 -0
  532. data/doc_out/ResponseEntityListing.html.md +22 -0
  533. data/doc_out/ResponseFilter.html.md +15 -0
  534. data/doc_out/ResponseManagementApi.html.md +657 -0
  535. data/doc_out/ResponseQueryRequest.html.md +15 -0
  536. data/doc_out/ResponseQueryResults.html.md +13 -0
  537. data/doc_out/ResponseSet.html.md +19 -0
  538. data/doc_out/ResponseSetEntityListing.html.md +22 -0
  539. data/doc_out/ResponseText.html.md +14 -0
  540. data/doc_out/RestErrorDetail.html.md +14 -0
  541. data/doc_out/RetentionDuration.html.md +14 -0
  542. data/doc_out/Ring.html.md +14 -0
  543. data/doc_out/RoutingApi.html.md +2388 -0
  544. data/doc_out/RoutingSkill.html.md +19 -0
  545. data/doc_out/RoutingStatus.html.md +15 -0
  546. data/doc_out/RuleSet.html.md +21 -0
  547. data/doc_out/RuleSetEntityListing.html.md +22 -0
  548. data/doc_out/RunNowResponse.html.md +15 -0
  549. data/doc_out/Salesforce.html.md +18 -0
  550. data/doc_out/Schedule.html.md +28 -0
  551. data/doc_out/ScheduleEntityListing.html.md +22 -0
  552. data/doc_out/ScheduleGroup.html.md +27 -0
  553. data/doc_out/ScheduleGroupEntityListing.html.md +22 -0
  554. data/doc_out/SchemaCategory.html.md +15 -0
  555. data/doc_out/SchemaCategoryEntityListing.html.md +22 -0
  556. data/doc_out/SchemaReferenceEntityListing.html.md +22 -0
  557. data/doc_out/Script.html.md +25 -0
  558. data/doc_out/ScriptEntityListing.html.md +22 -0
  559. data/doc_out/SearchAggregation.html.md +15 -0
  560. data/doc_out/SearchApi.html.md +366 -0
  561. data/doc_out/SearchCriteria.html.md +20 -0
  562. data/doc_out/SearchRequest.html.md +21 -0
  563. data/doc_out/SecurityProfile.html.md +16 -0
  564. data/doc_out/SecurityProfileEntityListing.html.md +22 -0
  565. data/doc_out/Segment.html.md +17 -0
  566. data/doc_out/SequenceSchedule.html.md +21 -0
  567. data/doc_out/ServerDate.html.md +13 -0
  568. data/doc_out/Service.html.md +22 -0
  569. data/doc_out/ServiceContext.html.md +13 -0
  570. data/doc_out/ServiceEntityListing.html.md +22 -0
  571. data/doc_out/ServiceLevel.html.md +14 -0
  572. data/doc_out/ServiceType.html.md +19 -0
  573. data/doc_out/Share.html.md +22 -0
  574. data/doc_out/ShareEntityListing.html.md +22 -0
  575. data/doc_out/SharedEntity.html.md +13 -0
  576. data/doc_out/SharedResponse.html.md +17 -0
  577. data/doc_out/SheetSchema.html.md +18 -0
  578. data/doc_out/SheetTransform.html.md +15 -0
  579. data/doc_out/SignatureDocumentInfo.html.md +15 -0
  580. data/doc_out/Site.html.md +33 -0
  581. data/doc_out/SiteEntityListing.html.md +22 -0
  582. data/doc_out/SkillEntityListing.html.md +22 -0
  583. data/doc_out/SkillsToRemove.html.md +15 -0
  584. data/doc_out/Snapshot.html.md +15 -0
  585. data/doc_out/SocialAccount.html.md +24 -0
  586. data/doc_out/SocialConversation.html.md +17 -0
  587. data/doc_out/SocialConversationEntityListing.html.md +22 -0
  588. data/doc_out/SocialExpression.html.md +25 -0
  589. data/doc_out/SocialMediaParticipant.html.md +37 -0
  590. data/doc_out/SocializeEntityFilter.html.md +15 -0
  591. data/doc_out/SocializeFilterRequest.html.md +17 -0
  592. data/doc_out/SortBy.html.md +14 -0
  593. data/doc_out/SortField.html.md +14 -0
  594. data/doc_out/SortItem.html.md +14 -0
  595. data/doc_out/SpreadsheetTransform.html.md +21 -0
  596. data/doc_out/SpreadsheetTransformEntityListing.html.md +22 -0
  597. data/doc_out/Station.html.md +21 -0
  598. data/doc_out/StationEntityListing.html.md +22 -0
  599. data/doc_out/StationsApi.html.md +190 -0
  600. data/doc_out/StatisticalResponse.html.md +14 -0
  601. data/doc_out/StatisticalSummary.html.md +21 -0
  602. data/doc_out/SubDataItem.html.md +17 -0
  603. data/doc_out/SubscriberResponse.html.md +14 -0
  604. data/doc_out/Support.html.md +15 -0
  605. data/doc_out/SystemPrompt.html.md +17 -0
  606. data/doc_out/SystemPromptAsset.html.md +25 -0
  607. data/doc_out/SystemPromptAssetEntityListing.html.md +22 -0
  608. data/doc_out/SystemPromptEntityListing.html.md +22 -0
  609. data/doc_out/TableTransform.html.md +18 -0
  610. data/doc_out/TagModel.html.md +14 -0
  611. data/doc_out/TagQueryRequest.html.md +15 -0
  612. data/doc_out/TagValue.html.md +17 -0
  613. data/doc_out/TagValueEntityListing.html.md +22 -0
  614. data/doc_out/TelephonyProvidersEdgeApi.html.md +6283 -0
  615. data/doc_out/TemplateEntityListing.html.md +22 -0
  616. data/doc_out/TermAttribute.html.md +15 -0
  617. data/doc_out/TextTableTransform.html.md +21 -0
  618. data/doc_out/TextTableTransformEntityListing.html.md +22 -0
  619. data/doc_out/ThirdPartyAccount.html.md +19 -0
  620. data/doc_out/ThirdPartySubscription.html.md +18 -0
  621. data/doc_out/Ticker.html.md +14 -0
  622. data/doc_out/Tier.html.md +14 -0
  623. data/doc_out/TimeAllowed.html.md +15 -0
  624. data/doc_out/TimeInterval.html.md +14 -0
  625. data/doc_out/TimeSlot.html.md +15 -0
  626. data/doc_out/TimeZone.html.md +16 -0
  627. data/doc_out/TimeZoneEntityListing.html.md +22 -0
  628. data/doc_out/TokensApi.html.md +63 -0
  629. data/doc_out/Trace.html.md +19 -0
  630. data/doc_out/TraceList.html.md +14 -0
  631. data/doc_out/TransferRequest.html.md +17 -0
  632. data/doc_out/TransformEndpoint.html.md +24 -0
  633. data/doc_out/TransformLens.html.md +14 -0
  634. data/doc_out/TrunkBase.html.md +28 -0
  635. data/doc_out/TrunkBaseAssignment.html.md +14 -0
  636. data/doc_out/TrunkMetabaseEntityListing.html.md +22 -0
  637. data/doc_out/TwitterExpression.html.md +36 -0
  638. data/doc_out/TwitterExpressionBuffer.html.md +13 -0
  639. data/doc_out/UnpivotColumns.html.md +13 -0
  640. data/doc_out/UnreadMetric.html.md +13 -0
  641. data/doc_out/UnreadStatus.html.md +13 -0
  642. data/doc_out/UploadProgress.html.md +19 -0
  643. data/doc_out/UriReference.html.md +15 -0
  644. data/doc_out/UrlResponse.html.md +13 -0
  645. data/doc_out/User.html.md +32 -0
  646. data/doc_out/UserActionCategory.html.md +15 -0
  647. data/doc_out/UserActionCategoryEntityListing.html.md +22 -0
  648. data/doc_out/UserActionMetadata.html.md +22 -0
  649. data/doc_out/UserActionMetadataEntityListing.html.md +20 -0
  650. data/doc_out/UserActionMetadataRequest.html.md +18 -0
  651. data/doc_out/UserAuthorization.html.md +15 -0
  652. data/doc_out/UserConversationSummary.html.md +19 -0
  653. data/doc_out/UserEntityListing.html.md +22 -0
  654. data/doc_out/UserImage.html.md +14 -0
  655. data/doc_out/UserLicenseAssignment.html.md +17 -0
  656. data/doc_out/UserMe.html.md +33 -0
  657. data/doc_out/UserParam.html.md +14 -0
  658. data/doc_out/UserPresence.html.md +19 -0
  659. data/doc_out/UserQueue.html.md +33 -0
  660. data/doc_out/UserQueueEntityListing.html.md +22 -0
  661. data/doc_out/UserRecording.html.md +25 -0
  662. data/doc_out/UserRecordingEntityListing.html.md +22 -0
  663. data/doc_out/UserRecordingsApi.html.md +366 -0
  664. data/doc_out/UserRoutingSkill.html.md +18 -0
  665. data/doc_out/UserSkillEntityListing.html.md +22 -0
  666. data/doc_out/UserStation.html.md +16 -0
  667. data/doc_out/UserStations.html.md +16 -0
  668. data/doc_out/UsersApi.html.md +2104 -0
  669. data/doc_out/UsersEntityListing.html.md +22 -0
  670. data/doc_out/UsersSearchResponse.html.md +21 -0
  671. data/doc_out/UtilitiesApi.html.md +181 -0
  672. data/doc_out/Utilization.html.md +13 -0
  673. data/doc_out/ValidateAddressRequest.html.md +13 -0
  674. data/doc_out/ValidateAddressResponse.html.md +14 -0
  675. data/doc_out/Value.html.md +19 -0
  676. data/doc_out/VendorConnectionRequest.html.md +15 -0
  677. data/doc_out/Video.html.md +22 -0
  678. data/doc_out/VideoConversation.html.md +17 -0
  679. data/doc_out/VideoConversationEntityListing.html.md +22 -0
  680. data/doc_out/VideoMediaParticipant.html.md +38 -0
  681. data/doc_out/View.html.md +13 -0
  682. data/doc_out/VoiceRate.html.md +22 -0
  683. data/doc_out/VoiceRateExtended.html.md +31 -0
  684. data/doc_out/VoiceRateInternational.html.md +24 -0
  685. data/doc_out/VoiceRateInternationalEntityListing.html.md +22 -0
  686. data/doc_out/VoiceRateUpdate.html.md +25 -0
  687. data/doc_out/VoiceRatesCsv.html.md +16 -0
  688. data/doc_out/VoiceXmlOperation.html.md +24 -0
  689. data/doc_out/VoiceXmlOperationEntityListing.html.md +22 -0
  690. data/doc_out/VoicemailApi.html.md +627 -0
  691. data/doc_out/VoicemailMailboxInfo.html.md +18 -0
  692. data/doc_out/VoicemailMediaInfo.html.md +15 -0
  693. data/doc_out/VoicemailMessage.html.md +23 -0
  694. data/doc_out/VoicemailMessageEntityListing.html.md +22 -0
  695. data/doc_out/VoicemailOrganizationPolicy.html.md +27 -0
  696. data/doc_out/VoicemailUserPolicy.html.md +23 -0
  697. data/doc_out/Vpn.html.md +15 -0
  698. data/doc_out/WorkItem.html.md +15 -0
  699. data/doc_out/WorkItemActions.html.md +13 -0
  700. data/doc_out/WorkItemCache.html.md +17 -0
  701. data/doc_out/WorkItemCommand.html.md +14 -0
  702. data/doc_out/WorkItemCommandGroup.html.md +15 -0
  703. data/doc_out/WorkItemDefinition.html.md +16 -0
  704. data/doc_out/WorkItemDetails.html.md +32 -0
  705. data/doc_out/WorkItemSearchDetails.html.md +13 -0
  706. data/doc_out/WorkItemSearchDetailsSearchResult.html.md +14 -0
  707. data/doc_out/WorkItemSubmitRequest.html.md +14 -0
  708. data/doc_out/WorkItemTransferRequest.html.md +14 -0
  709. data/doc_out/Workspace.html.md +23 -0
  710. data/doc_out/WorkspaceCreate.html.md +14 -0
  711. data/doc_out/WorkspaceEntityListing.html.md +22 -0
  712. data/doc_out/WorkspaceMember.html.md +21 -0
  713. data/doc_out/WorkspaceMemberEntityListing.html.md +22 -0
  714. data/doc_out/WorkspaceSummary.html.md +13 -0
  715. data/doc_out/WrapUpCodeMapping.html.md +20 -0
  716. data/doc_out/Wrapup.html.md +19 -0
  717. data/doc_out/WrapupCode.html.md +19 -0
  718. data/doc_out/WrapupCodeEntityListing.html.md +22 -0
  719. data/doc_out/XlsxSchema.html.md +15 -0
  720. data/doc_out/index.html.md +56 -0
  721. data/external/swagger-codegen-cli.jar +0 -0
  722. data/git_push.sh +52 -0
  723. data/lib/purecloud.rb +679 -664
  724. data/lib/purecloud/api/alerting_api.rb +157 -155
  725. data/lib/purecloud/api/analytics_api.rb +384 -393
  726. data/lib/purecloud/api/attributes_api.rb +115 -109
  727. data/lib/purecloud/api/authorization_api.rb +322 -327
  728. data/lib/purecloud/api/configuration_api.rb +46 -38
  729. data/lib/purecloud/api/content_management_api.rb +739 -763
  730. data/lib/purecloud/api/conversations_api.rb +1082 -1126
  731. data/lib/purecloud/api/external_contacts_api.rb +522 -536
  732. data/lib/purecloud/api/fax_api.rb +110 -104
  733. data/lib/purecloud/api/geolocation_api.rb +61 -53
  734. data/lib/purecloud/api/greetings_api.rb +216 -216
  735. data/lib/purecloud/api/groups_api.rb +121 -114
  736. data/lib/purecloud/api/languages_api.rb +99 -92
  737. data/lib/purecloud/api/locations_api.rb +59 -49
  738. data/lib/purecloud/api/notifications_api.rb +97 -92
  739. data/lib/purecloud/api/o_auth_api.rb +330 -340
  740. data/lib/purecloud/api/organization_api.rb +53 -44
  741. data/lib/purecloud/api/outbound_api.rb +1259 -1310
  742. data/lib/purecloud/api/presence_api.rb +152 -147
  743. data/lib/purecloud/api/quality_api.rb +624 -636
  744. data/lib/purecloud/api/recording_api.rb +396 -404
  745. data/lib/purecloud/api/response_management_api.rb +200 -199
  746. data/lib/purecloud/api/routing_api.rb +721 -749
  747. data/lib/purecloud/api/search_api.rb +74 -68
  748. data/lib/purecloud/api/stations_api.rb +59 -50
  749. data/lib/purecloud/api/telephony_providers_edge_api.rb +1921 -2014
  750. data/lib/purecloud/api/tokens_api.rb +18 -7
  751. data/lib/purecloud/api/user_recordings_api.rb +129 -123
  752. data/lib/purecloud/api/users_api.rb +618 -641
  753. data/lib/purecloud/api/utilities_api.rb +62 -53
  754. data/lib/purecloud/api/voicemail_api.rb +186 -185
  755. data/lib/purecloud/api_client.rb +48 -14
  756. data/lib/purecloud/api_error.rb +16 -0
  757. data/lib/purecloud/models/account.rb +20 -1
  758. data/lib/purecloud/models/account_manager.rb +20 -1
  759. data/lib/purecloud/models/account_overview.rb +20 -1
  760. data/lib/purecloud/models/account_status.rb +20 -1
  761. data/lib/purecloud/models/actions.rb +20 -1
  762. data/lib/purecloud/models/acw_settings.rb +20 -1
  763. data/lib/purecloud/models/address.rb +20 -1
  764. data/lib/purecloud/models/address_listing.rb +20 -1
  765. data/lib/purecloud/models/agent.rb +20 -1
  766. data/lib/purecloud/models/agent_activity.rb +20 -1
  767. data/lib/purecloud/models/agent_activity_entity_listing.rb +20 -1
  768. data/lib/purecloud/models/agent_evaluator_activity.rb +20 -1
  769. data/lib/purecloud/models/aggregate_data_container.rb +20 -1
  770. data/lib/purecloud/models/aggregate_metric_data.rb +20 -1
  771. data/lib/purecloud/models/aggregate_query_response.rb +20 -1
  772. data/lib/purecloud/models/aggregation_query.rb +20 -1
  773. data/lib/purecloud/models/aggregation_range.rb +20 -1
  774. data/lib/purecloud/models/aggregation_result.rb +20 -1
  775. data/lib/purecloud/models/aggregation_result_entry.rb +20 -1
  776. data/lib/purecloud/models/analytics_conversation.rb +20 -1
  777. data/lib/purecloud/models/analytics_conversation_query_response.rb +20 -1
  778. data/lib/purecloud/models/analytics_conversation_segment.rb +20 -1
  779. data/lib/purecloud/models/analytics_evaluation.rb +20 -1
  780. data/lib/purecloud/models/analytics_participant.rb +20 -1
  781. data/lib/purecloud/models/analytics_property.rb +20 -1
  782. data/lib/purecloud/models/analytics_query_aggregation.rb +20 -1
  783. data/lib/purecloud/models/analytics_query_clause.rb +20 -1
  784. data/lib/purecloud/models/analytics_query_filter.rb +20 -1
  785. data/lib/purecloud/models/analytics_query_predicate.rb +20 -1
  786. data/lib/purecloud/models/analytics_session.rb +20 -1
  787. data/lib/purecloud/models/annotation.rb +20 -1
  788. data/lib/purecloud/models/app.rb +20 -1
  789. data/lib/purecloud/models/archive_retention.rb +20 -1
  790. data/lib/purecloud/models/associated_document.rb +20 -1
  791. data/lib/purecloud/models/attachment.rb +20 -1
  792. data/lib/purecloud/models/attribute.rb +20 -1
  793. data/lib/purecloud/models/attribute_entity_listing.rb +20 -1
  794. data/lib/purecloud/models/attribute_filter_item.rb +20 -1
  795. data/lib/purecloud/models/attribute_query_request.rb +20 -1
  796. data/lib/purecloud/models/audit_change.rb +20 -1
  797. data/lib/purecloud/models/audit_entity.rb +20 -1
  798. data/lib/purecloud/models/audit_entity_reference.rb +20 -1
  799. data/lib/purecloud/models/audit_facet.rb +20 -1
  800. data/lib/purecloud/models/audit_filter.rb +20 -1
  801. data/lib/purecloud/models/audit_message.rb +20 -1
  802. data/lib/purecloud/models/audit_search_result.rb +20 -1
  803. data/lib/purecloud/models/audit_user.rb +20 -1
  804. data/lib/purecloud/models/automate_queue.rb +21 -2
  805. data/lib/purecloud/models/automate_queue_member.rb +20 -1
  806. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +20 -1
  807. data/lib/purecloud/models/available_additional_service.rb +20 -1
  808. data/lib/purecloud/models/available_additional_service_listing.rb +20 -1
  809. data/lib/purecloud/models/available_topic.rb +21 -2
  810. data/lib/purecloud/models/available_topic_entity_listing.rb +20 -1
  811. data/lib/purecloud/models/backend_flow_available_actions.rb +20 -1
  812. data/lib/purecloud/models/basic_transform.rb +20 -1
  813. data/lib/purecloud/models/batch_command.rb +20 -1
  814. data/lib/purecloud/models/batch_item.rb +20 -1
  815. data/lib/purecloud/models/batch_item_body.rb +20 -1
  816. data/lib/purecloud/models/batch_reply.rb +20 -1
  817. data/lib/purecloud/models/batch_reply_item.rb +20 -1
  818. data/lib/purecloud/models/billing_address.rb +20 -1
  819. data/lib/purecloud/models/billing_period.rb +20 -1
  820. data/lib/purecloud/models/bullseye.rb +20 -1
  821. data/lib/purecloud/models/calibration.rb +20 -1
  822. data/lib/purecloud/models/calibration_assignment.rb +20 -1
  823. data/lib/purecloud/models/calibration_entity_listing.rb +20 -1
  824. data/lib/purecloud/models/call.rb +20 -1
  825. data/lib/purecloud/models/call_command.rb +20 -1
  826. data/lib/purecloud/models/call_conversation.rb +20 -1
  827. data/lib/purecloud/models/call_conversation_entity_listing.rb +20 -1
  828. data/lib/purecloud/models/call_forwarding.rb +20 -1
  829. data/lib/purecloud/models/call_media_participant.rb +20 -1
  830. data/lib/purecloud/models/call_record.rb +20 -1
  831. data/lib/purecloud/models/callable_contacts_diagnostic.rb +20 -1
  832. data/lib/purecloud/models/callable_time.rb +20 -1
  833. data/lib/purecloud/models/callable_time_set.rb +20 -1
  834. data/lib/purecloud/models/callable_time_set_entity_listing.rb +20 -1
  835. data/lib/purecloud/models/callback.rb +20 -1
  836. data/lib/purecloud/models/callback_conversation.rb +20 -1
  837. data/lib/purecloud/models/callback_conversation_entity_listing.rb +20 -1
  838. data/lib/purecloud/models/callback_media_participant.rb +20 -1
  839. data/lib/purecloud/models/campaign.rb +20 -1
  840. data/lib/purecloud/models/campaign_diagnostics.rb +20 -1
  841. data/lib/purecloud/models/campaign_entity_listing.rb +20 -1
  842. data/lib/purecloud/models/campaign_progress.rb +20 -1
  843. data/lib/purecloud/models/campaign_schedule.rb +21 -2
  844. data/lib/purecloud/models/campaign_schedule_intervals.rb +20 -1
  845. data/lib/purecloud/models/campaign_sequence.rb +20 -1
  846. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +20 -1
  847. data/lib/purecloud/models/campaign_stats.rb +20 -1
  848. data/lib/purecloud/models/campaign_time_slot.rb +20 -1
  849. data/lib/purecloud/models/carrier.rb +20 -1
  850. data/lib/purecloud/models/carrier_address.rb +20 -1
  851. data/lib/purecloud/models/carrier_entity_listing.rb +20 -1
  852. data/lib/purecloud/models/certificate.rb +20 -1
  853. data/lib/purecloud/models/certificate_authority_entity_listing.rb +20 -1
  854. data/lib/purecloud/models/certificate_details.rb +20 -1
  855. data/lib/purecloud/models/change.rb +20 -1
  856. data/lib/purecloud/models/channel.rb +20 -1
  857. data/lib/purecloud/models/channel_entity_listing.rb +20 -1
  858. data/lib/purecloud/models/channel_topic.rb +20 -1
  859. data/lib/purecloud/models/channel_topic_entity_listing.rb +20 -1
  860. data/lib/purecloud/models/charge.rb +20 -1
  861. data/lib/purecloud/models/chat.rb +20 -1
  862. data/lib/purecloud/models/chat_conversation.rb +20 -1
  863. data/lib/purecloud/models/chat_conversation_entity_listing.rb +20 -1
  864. data/lib/purecloud/models/chat_media_participant.rb +20 -1
  865. data/lib/purecloud/models/chat_message.rb +20 -1
  866. data/lib/purecloud/models/chat_message_user.rb +20 -1
  867. data/lib/purecloud/models/client_spreadsheet_transform.rb +20 -1
  868. data/lib/purecloud/models/client_text_table_transform.rb +20 -1
  869. data/lib/purecloud/models/column_collapse.rb +20 -1
  870. data/lib/purecloud/models/command_status.rb +20 -1
  871. data/lib/purecloud/models/command_status_entity_listing.rb +20 -1
  872. data/lib/purecloud/models/common_audit_request.rb +20 -1
  873. data/lib/purecloud/models/composer_template.rb +21 -2
  874. data/lib/purecloud/models/condition.rb +20 -1
  875. data/lib/purecloud/models/connect_rate.rb +20 -1
  876. data/lib/purecloud/models/consult_transfer.rb +20 -1
  877. data/lib/purecloud/models/consult_transfer_response.rb +20 -1
  878. data/lib/purecloud/models/consult_transfer_update.rb +20 -1
  879. data/lib/purecloud/models/consumed_resources_entity_listing.rb +20 -1
  880. data/lib/purecloud/models/consuming_resources_entity_listing.rb +20 -1
  881. data/lib/purecloud/models/contact.rb +20 -1
  882. data/lib/purecloud/models/contact_address.rb +20 -1
  883. data/lib/purecloud/models/contact_callback_request.rb +20 -1
  884. data/lib/purecloud/models/contact_list.rb +20 -1
  885. data/lib/purecloud/models/contact_list_entity_listing.rb +20 -1
  886. data/lib/purecloud/models/contact_listing.rb +20 -1
  887. data/lib/purecloud/models/contact_phone_number_column.rb +20 -1
  888. data/lib/purecloud/models/contact_sales.rb +20 -1
  889. data/lib/purecloud/models/contact_sales_response.rb +20 -1
  890. data/lib/purecloud/models/contact_sort.rb +20 -1
  891. data/lib/purecloud/models/content_attribute_filter_item.rb +20 -1
  892. data/lib/purecloud/models/content_facet_filter_item.rb +20 -1
  893. data/lib/purecloud/models/content_filter_item.rb +20 -1
  894. data/lib/purecloud/models/content_query_request.rb +20 -1
  895. data/lib/purecloud/models/content_sort_item.rb +20 -1
  896. data/lib/purecloud/models/contract.rb +20 -1
  897. data/lib/purecloud/models/contract_job.rb +20 -1
  898. data/lib/purecloud/models/control.rb +20 -1
  899. data/lib/purecloud/models/control_options.rb +20 -1
  900. data/lib/purecloud/models/conversation.rb +20 -1
  901. data/lib/purecloud/models/conversation_chat.rb +20 -1
  902. data/lib/purecloud/models/conversation_entity_listing.rb +20 -1
  903. data/lib/purecloud/models/conversation_query.rb +20 -1
  904. data/lib/purecloud/models/cover_sheet.rb +20 -1
  905. data/lib/purecloud/models/create_call_request.rb +20 -1
  906. data/lib/purecloud/models/create_call_response.rb +20 -1
  907. data/lib/purecloud/models/create_callback_command.rb +20 -1
  908. data/lib/purecloud/models/create_share_request.rb +20 -1
  909. data/lib/purecloud/models/create_share_request_member.rb +20 -1
  910. data/lib/purecloud/models/create_share_response.rb +20 -1
  911. data/lib/purecloud/models/create_template_from_script_request_data.rb +20 -1
  912. data/lib/purecloud/models/create_user.rb +20 -1
  913. data/lib/purecloud/models/csv_schema.rb +20 -1
  914. data/lib/purecloud/models/currency.rb +20 -1
  915. data/lib/purecloud/models/customer_account.rb +20 -1
  916. data/lib/purecloud/models/data_item.rb +20 -1
  917. data/lib/purecloud/models/data_value_info.rb +20 -1
  918. data/lib/purecloud/models/default_greeting_list.rb +20 -1
  919. data/lib/purecloud/models/delete_retention.rb +20 -1
  920. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +20 -1
  921. data/lib/purecloud/models/delta_document.rb +20 -1
  922. data/lib/purecloud/models/delta_request.rb +20 -1
  923. data/lib/purecloud/models/delta_response.rb +20 -1
  924. data/lib/purecloud/models/dependency.rb +20 -1
  925. data/lib/purecloud/models/dependency_object.rb +20 -1
  926. data/lib/purecloud/models/dependency_object_entity_listing.rb +20 -1
  927. data/lib/purecloud/models/dependency_status.rb +20 -1
  928. data/lib/purecloud/models/dependency_type.rb +20 -1
  929. data/lib/purecloud/models/dependency_type_entity_listing.rb +20 -1
  930. data/lib/purecloud/models/destination.rb +20 -1
  931. data/lib/purecloud/models/detail.rb +20 -1
  932. data/lib/purecloud/models/diagnostic_email.rb +20 -1
  933. data/lib/purecloud/models/dialer_action.rb +20 -1
  934. data/lib/purecloud/models/dialer_audit_request.rb +20 -1
  935. data/lib/purecloud/models/dialer_contact.rb +21 -2
  936. data/lib/purecloud/models/dialer_preview.rb +20 -1
  937. data/lib/purecloud/models/dialer_rule.rb +20 -1
  938. data/lib/purecloud/models/did.rb +20 -1
  939. data/lib/purecloud/models/did_entity_listing.rb +20 -1
  940. data/lib/purecloud/models/did_pool.rb +20 -1
  941. data/lib/purecloud/models/did_pool_entity_listing.rb +20 -1
  942. data/lib/purecloud/models/digit_length.rb +20 -1
  943. data/lib/purecloud/models/disconnect_reason.rb +20 -1
  944. data/lib/purecloud/models/discount.rb +20 -1
  945. data/lib/purecloud/models/dnc_list.rb +20 -1
  946. data/lib/purecloud/models/dnc_list_entity_listing.rb +20 -1
  947. data/lib/purecloud/models/dns.rb +20 -1
  948. data/lib/purecloud/models/document.rb +20 -1
  949. data/lib/purecloud/models/document_attribute.rb +20 -1
  950. data/lib/purecloud/models/document_audit.rb +20 -1
  951. data/lib/purecloud/models/document_audit_entity_listing.rb +20 -1
  952. data/lib/purecloud/models/document_entity_listing.rb +20 -1
  953. data/lib/purecloud/models/document_thumbnail.rb +20 -1
  954. data/lib/purecloud/models/document_update.rb +20 -1
  955. data/lib/purecloud/models/document_upload.rb +20 -1
  956. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +20 -1
  957. data/lib/purecloud/models/domain_capabilities.rb +20 -1
  958. data/lib/purecloud/models/domain_certificate_authority.rb +20 -1
  959. data/lib/purecloud/models/domain_edge_software_update_dto.rb +20 -1
  960. data/lib/purecloud/models/domain_edge_software_version_dto.rb +20 -1
  961. data/lib/purecloud/models/domain_entity.rb +20 -1
  962. data/lib/purecloud/models/domain_entity_listing.rb +20 -1
  963. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +20 -1
  964. data/lib/purecloud/models/domain_entity_listing_query_result.rb +20 -1
  965. data/lib/purecloud/models/domain_invoice_entity_listing.rb +20 -1
  966. data/lib/purecloud/models/domain_logical_interface.rb +20 -1
  967. data/lib/purecloud/models/domain_network_address.rb +20 -1
  968. data/lib/purecloud/models/domain_network_command_response.rb +20 -1
  969. data/lib/purecloud/models/domain_network_route.rb +20 -1
  970. data/lib/purecloud/models/domain_org_role_difference.rb +20 -1
  971. data/lib/purecloud/models/domain_organization_product.rb +20 -1
  972. data/lib/purecloud/models/domain_organization_role.rb +20 -1
  973. data/lib/purecloud/models/domain_permission.rb +20 -1
  974. data/lib/purecloud/models/domain_permission_collection.rb +20 -1
  975. data/lib/purecloud/models/domain_permission_policy.rb +20 -1
  976. data/lib/purecloud/models/domain_physical_capabilities.rb +20 -1
  977. data/lib/purecloud/models/domain_physical_interface.rb +20 -1
  978. data/lib/purecloud/models/domain_resource_condition_node.rb +20 -1
  979. data/lib/purecloud/models/domain_resource_condition_value.rb +20 -1
  980. data/lib/purecloud/models/domain_role.rb +20 -1
  981. data/lib/purecloud/models/domain_schema_reference.rb +20 -1
  982. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +20 -1
  983. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +20 -1
  984. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +20 -1
  985. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +20 -1
  986. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +20 -1
  987. data/lib/purecloud/models/download_response.rb +20 -1
  988. data/lib/purecloud/models/duration_condition.rb +20 -1
  989. data/lib/purecloud/models/edge.rb +20 -1
  990. data/lib/purecloud/models/edge_auto_update_config.rb +20 -1
  991. data/lib/purecloud/models/edge_entity_listing.rb +20 -1
  992. data/lib/purecloud/models/edge_group.rb +20 -1
  993. data/lib/purecloud/models/edge_group_entity_listing.rb +20 -1
  994. data/lib/purecloud/models/edge_interface.rb +20 -1
  995. data/lib/purecloud/models/edge_line.rb +21 -2
  996. data/lib/purecloud/models/edge_line_entity_listing.rb +20 -1
  997. data/lib/purecloud/models/edge_logs_job.rb +20 -1
  998. data/lib/purecloud/models/edge_logs_job_file.rb +20 -1
  999. data/lib/purecloud/models/edge_logs_job_request.rb +26 -7
  1000. data/lib/purecloud/models/edge_logs_job_response.rb +20 -1
  1001. data/lib/purecloud/models/edge_logs_job_upload_request.rb +20 -1
  1002. data/lib/purecloud/models/edge_version_information.rb +20 -1
  1003. data/lib/purecloud/models/edge_version_report.rb +20 -1
  1004. data/lib/purecloud/models/email.rb +20 -1
  1005. data/lib/purecloud/models/email_address.rb +20 -1
  1006. data/lib/purecloud/models/email_attachment.rb +20 -1
  1007. data/lib/purecloud/models/email_conversation.rb +20 -1
  1008. data/lib/purecloud/models/email_conversation_entity_listing.rb +20 -1
  1009. data/lib/purecloud/models/email_media_participant.rb +20 -1
  1010. data/lib/purecloud/models/email_message.rb +20 -1
  1011. data/lib/purecloud/models/email_message_listing.rb +20 -1
  1012. data/lib/purecloud/models/email_setup.rb +20 -1
  1013. data/lib/purecloud/models/embedded_signature_view.rb +20 -1
  1014. data/lib/purecloud/models/encryption_key.rb +20 -1
  1015. data/lib/purecloud/models/encryption_key_entity_listing.rb +20 -1
  1016. data/lib/purecloud/models/endpoint.rb +21 -2
  1017. data/lib/purecloud/models/endpoint_entity_listing.rb +20 -1
  1018. data/lib/purecloud/models/entity.rb +20 -1
  1019. data/lib/purecloud/models/entry.rb +20 -1
  1020. data/lib/purecloud/models/error_body.rb +20 -1
  1021. data/lib/purecloud/models/error_details.rb +20 -1
  1022. data/lib/purecloud/models/estimated_wait_time_predictions.rb +20 -1
  1023. data/lib/purecloud/models/evaluation.rb +20 -1
  1024. data/lib/purecloud/models/evaluation_assignment.rb +20 -1
  1025. data/lib/purecloud/models/evaluation_entity_listing.rb +20 -1
  1026. data/lib/purecloud/models/evaluation_form.rb +20 -1
  1027. data/lib/purecloud/models/evaluation_form_and_scoring_set.rb +20 -1
  1028. data/lib/purecloud/models/evaluation_form_entity_listing.rb +20 -1
  1029. data/lib/purecloud/models/evaluation_scoring_set.rb +20 -1
  1030. data/lib/purecloud/models/evaluator_activity.rb +20 -1
  1031. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +20 -1
  1032. data/lib/purecloud/models/expansion_criterium.rb +20 -1
  1033. data/lib/purecloud/models/expression_response.rb +20 -1
  1034. data/lib/purecloud/models/extension.rb +20 -1
  1035. data/lib/purecloud/models/extension_entity_listing.rb +20 -1
  1036. data/lib/purecloud/models/extension_pool.rb +20 -1
  1037. data/lib/purecloud/models/extension_pool_entity_listing.rb +20 -1
  1038. data/lib/purecloud/models/external_contact.rb +20 -1
  1039. data/lib/purecloud/models/external_organization.rb +20 -1
  1040. data/lib/purecloud/models/external_organization_listing.rb +20 -1
  1041. data/lib/purecloud/models/facet_entry.rb +20 -1
  1042. data/lib/purecloud/models/facet_info.rb +20 -1
  1043. data/lib/purecloud/models/facet_key_attribute.rb +20 -1
  1044. data/lib/purecloud/models/facet_request.rb +20 -1
  1045. data/lib/purecloud/models/facet_result.rb +20 -1
  1046. data/lib/purecloud/models/facet_result_item.rb +20 -1
  1047. data/lib/purecloud/models/facet_statistics.rb +20 -1
  1048. data/lib/purecloud/models/facet_term.rb +20 -1
  1049. data/lib/purecloud/models/failed_object.rb +20 -1
  1050. data/lib/purecloud/models/favorite_template_request_data.rb +20 -1
  1051. data/lib/purecloud/models/fax_document.rb +20 -1
  1052. data/lib/purecloud/models/fax_document_entity_listing.rb +20 -1
  1053. data/lib/purecloud/models/fax_send_request.rb +20 -1
  1054. data/lib/purecloud/models/fax_send_response.rb +20 -1
  1055. data/lib/purecloud/models/fax_summary.rb +20 -1
  1056. data/lib/purecloud/models/filter_item.rb +20 -1
  1057. data/lib/purecloud/models/flow.rb +20 -1
  1058. data/lib/purecloud/models/flow_body.rb +21 -2
  1059. data/lib/purecloud/models/flow_body_format.rb +20 -1
  1060. data/lib/purecloud/models/flow_config_id.rb +20 -1
  1061. data/lib/purecloud/models/flow_config_meta_data.rb +20 -1
  1062. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +20 -1
  1063. data/lib/purecloud/models/flow_details.rb +20 -1
  1064. data/lib/purecloud/models/flow_details_search_result.rb +20 -1
  1065. data/lib/purecloud/models/flow_entity_listing.rb +20 -1
  1066. data/lib/purecloud/models/flow_exec_id.rb +20 -1
  1067. data/lib/purecloud/models/flow_history_item.rb +20 -1
  1068. data/lib/purecloud/models/flow_history_result_item.rb +20 -1
  1069. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +20 -1
  1070. data/lib/purecloud/models/flow_input_data.rb +20 -1
  1071. data/lib/purecloud/models/flow_launch_request.rb +20 -1
  1072. data/lib/purecloud/models/flow_publish.rb +20 -1
  1073. data/lib/purecloud/models/flow_report_result_item.rb +20 -1
  1074. data/lib/purecloud/models/flow_search_request.rb +20 -1
  1075. data/lib/purecloud/models/flow_state.rb +20 -1
  1076. data/lib/purecloud/models/flow_terminate_request.rb +20 -1
  1077. data/lib/purecloud/models/flow_upload_response.rb +20 -1
  1078. data/lib/purecloud/models/flow_version.rb +20 -1
  1079. data/lib/purecloud/models/flow_version_config_meta_data.rb +20 -1
  1080. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +20 -1
  1081. data/lib/purecloud/models/flow_version_entity_listing.rb +20 -1
  1082. data/lib/purecloud/models/form.rb +20 -1
  1083. data/lib/purecloud/models/gateway.rb +20 -1
  1084. data/lib/purecloud/models/geolocation.rb +20 -1
  1085. data/lib/purecloud/models/geolocation_settings.rb +20 -1
  1086. data/lib/purecloud/models/gistener.rb +20 -1
  1087. data/lib/purecloud/models/greeting.rb +20 -1
  1088. data/lib/purecloud/models/greeting_audio_file.rb +20 -1
  1089. data/lib/purecloud/models/greeting_media_info.rb +20 -1
  1090. data/lib/purecloud/models/greeting_owner.rb +20 -1
  1091. data/lib/purecloud/models/group.rb +20 -1
  1092. data/lib/purecloud/models/group_entity_listing.rb +20 -1
  1093. data/lib/purecloud/models/group_tag.rb +20 -1
  1094. data/lib/purecloud/models/groups_search_response.rb +20 -1
  1095. data/lib/purecloud/models/hardware_rate.rb +20 -1
  1096. data/lib/purecloud/models/hardware_rate_listing.rb +20 -1
  1097. data/lib/purecloud/models/health_check_info.rb +20 -1
  1098. data/lib/purecloud/models/hipaa_config.rb +20 -1
  1099. data/lib/purecloud/models/import_status.rb +20 -1
  1100. data/lib/purecloud/models/inbound_domain.rb +20 -1
  1101. data/lib/purecloud/models/inbound_domain_entity_listing.rb +20 -1
  1102. data/lib/purecloud/models/inbound_route.rb +20 -1
  1103. data/lib/purecloud/models/inbound_route_entity_listing.rb +20 -1
  1104. data/lib/purecloud/models/indexed_transform.rb +20 -1
  1105. data/lib/purecloud/models/integration_type.rb +20 -1
  1106. data/lib/purecloud/models/integration_type_entity_listing.rb +20 -1
  1107. data/lib/purecloud/models/interaction_stats_alert.rb +20 -1
  1108. data/lib/purecloud/models/interaction_stats_alert_container.rb +20 -1
  1109. data/lib/purecloud/models/interaction_stats_rule.rb +20 -1
  1110. data/lib/purecloud/models/interaction_stats_rule_container.rb +20 -1
  1111. data/lib/purecloud/models/invoice.rb +20 -1
  1112. data/lib/purecloud/models/ivr.rb +20 -1
  1113. data/lib/purecloud/models/ivr_entity_listing.rb +20 -1
  1114. data/lib/purecloud/models/json_node.rb +20 -1
  1115. data/lib/purecloud/models/json_node_search_response.rb +20 -1
  1116. data/lib/purecloud/models/key_rotation_schedule.rb +20 -1
  1117. data/lib/purecloud/models/language.rb +20 -1
  1118. data/lib/purecloud/models/language_entity_listing.rb +20 -1
  1119. data/lib/purecloud/models/library.rb +20 -1
  1120. data/lib/purecloud/models/library_entity_listing.rb +20 -1
  1121. data/lib/purecloud/models/license.rb +20 -1
  1122. data/lib/purecloud/models/licenses_by_permission.rb +20 -1
  1123. data/lib/purecloud/models/line.rb +21 -2
  1124. data/lib/purecloud/models/line_base.rb +21 -2
  1125. data/lib/purecloud/models/line_base_entity_listing.rb +20 -1
  1126. data/lib/purecloud/models/line_entity_listing.rb +20 -1
  1127. data/lib/purecloud/models/line_status.rb +20 -1
  1128. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +20 -1
  1129. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +20 -1
  1130. data/lib/purecloud/models/location.rb +26 -7
  1131. data/lib/purecloud/models/location_address_fields.rb +20 -1
  1132. data/lib/purecloud/models/location_emergency_number.rb +20 -1
  1133. data/lib/purecloud/models/location_entity_listing.rb +20 -1
  1134. data/lib/purecloud/models/lock_info.rb +20 -1
  1135. data/lib/purecloud/models/logical_interface_entity_listing.rb +20 -1
  1136. data/lib/purecloud/models/management_unit.rb +20 -1
  1137. data/lib/purecloud/models/management_unit_timezone.rb +20 -1
  1138. data/lib/purecloud/models/max_participants.rb +20 -1
  1139. data/lib/purecloud/models/media_participant_request.rb +20 -1
  1140. data/lib/purecloud/models/media_policies.rb +20 -1
  1141. data/lib/purecloud/models/media_policy.rb +20 -1
  1142. data/lib/purecloud/models/media_result.rb +20 -1
  1143. data/lib/purecloud/models/media_setting.rb +20 -1
  1144. data/lib/purecloud/models/media_summary.rb +20 -1
  1145. data/lib/purecloud/models/media_summary_detail.rb +20 -1
  1146. data/lib/purecloud/models/member_entity.rb +20 -1
  1147. data/lib/purecloud/models/metabase.rb +20 -1
  1148. data/lib/purecloud/models/metered_evaluation_assignment.rb +20 -1
  1149. data/lib/purecloud/models/noc_support.rb +20 -1
  1150. data/lib/purecloud/models/note.rb +20 -1
  1151. data/lib/purecloud/models/note_listing.rb +20 -1
  1152. data/lib/purecloud/models/number.rb +20 -1
  1153. data/lib/purecloud/models/number_order_request.rb +20 -1
  1154. data/lib/purecloud/models/number_plan.rb +20 -1
  1155. data/lib/purecloud/models/numeric_range.rb +20 -1
  1156. data/lib/purecloud/models/o_auth_client.rb +20 -1
  1157. data/lib/purecloud/models/o_auth_client_entity_listing.rb +20 -1
  1158. data/lib/purecloud/models/o_auth_provider.rb +20 -1
  1159. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +20 -1
  1160. data/lib/purecloud/models/observation_data_container.rb +20 -1
  1161. data/lib/purecloud/models/observation_query.rb +20 -1
  1162. data/lib/purecloud/models/observation_query_response.rb +20 -1
  1163. data/lib/purecloud/models/okta.rb +20 -1
  1164. data/lib/purecloud/models/one_login.rb +20 -1
  1165. data/lib/purecloud/models/order.rb +20 -1
  1166. data/lib/purecloud/models/org_license_assignment.rb +20 -1
  1167. data/lib/purecloud/models/org_media_utilization.rb +20 -1
  1168. data/lib/purecloud/models/organization.rb +20 -1
  1169. data/lib/purecloud/models/organization_create.rb +20 -1
  1170. data/lib/purecloud/models/organization_presence.rb +20 -1
  1171. data/lib/purecloud/models/organization_presence_entity_listing.rb +20 -1
  1172. data/lib/purecloud/models/organization_product_entity_listing.rb +20 -1
  1173. data/lib/purecloud/models/organization_role_entity_listing.rb +20 -1
  1174. data/lib/purecloud/models/orphan_recording.rb +20 -1
  1175. data/lib/purecloud/models/orphan_recording_listing.rb +20 -1
  1176. data/lib/purecloud/models/out_of_office.rb +20 -1
  1177. data/lib/purecloud/models/outbound_route.rb +20 -1
  1178. data/lib/purecloud/models/outbound_route_entity_listing.rb +20 -1
  1179. data/lib/purecloud/models/page.rb +22 -3
  1180. data/lib/purecloud/models/paging_spec.rb +20 -1
  1181. data/lib/purecloud/models/parameter.rb +20 -1
  1182. data/lib/purecloud/models/parsed_certificate.rb +20 -1
  1183. data/lib/purecloud/models/participant.rb +20 -1
  1184. data/lib/purecloud/models/participant_attributes.rb +20 -1
  1185. data/lib/purecloud/models/payment_method.rb +20 -1
  1186. data/lib/purecloud/models/payment_method_listing.rb +20 -1
  1187. data/lib/purecloud/models/payment_token_provider.rb +20 -1
  1188. data/lib/purecloud/models/permission_collection_entity_listing.rb +20 -1
  1189. data/lib/purecloud/models/permissions.rb +20 -1
  1190. data/lib/purecloud/models/phone.rb +21 -2
  1191. data/lib/purecloud/models/phone_base.rb +21 -2
  1192. data/lib/purecloud/models/phone_base_entity_listing.rb +20 -1
  1193. data/lib/purecloud/models/phone_capabilities.rb +20 -1
  1194. data/lib/purecloud/models/phone_column.rb +20 -1
  1195. data/lib/purecloud/models/phone_entity_listing.rb +20 -1
  1196. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +20 -1
  1197. data/lib/purecloud/models/phone_number.rb +20 -1
  1198. data/lib/purecloud/models/phone_number_column.rb +20 -1
  1199. data/lib/purecloud/models/phone_number_status.rb +20 -1
  1200. data/lib/purecloud/models/phone_status.rb +20 -1
  1201. data/lib/purecloud/models/phones_reboot.rb +20 -1
  1202. data/lib/purecloud/models/physical_interface_entity_listing.rb +20 -1
  1203. data/lib/purecloud/models/pin_configuration.rb +20 -1
  1204. data/lib/purecloud/models/policy.rb +20 -1
  1205. data/lib/purecloud/models/policy_actions.rb +20 -1
  1206. data/lib/purecloud/models/policy_conditions.rb +20 -1
  1207. data/lib/purecloud/models/policy_entity_listing.rb +20 -1
  1208. data/lib/purecloud/models/policy_error_message.rb +20 -1
  1209. data/lib/purecloud/models/policy_errors.rb +20 -1
  1210. data/lib/purecloud/models/prediction_results.rb +20 -1
  1211. data/lib/purecloud/models/presence_query_response.rb +20 -1
  1212. data/lib/purecloud/models/product.rb +20 -1
  1213. data/lib/purecloud/models/prompt.rb +20 -1
  1214. data/lib/purecloud/models/prompt_asset.rb +20 -1
  1215. data/lib/purecloud/models/prompt_asset_entity_listing.rb +20 -1
  1216. data/lib/purecloud/models/prompt_entity_listing.rb +20 -1
  1217. data/lib/purecloud/models/property_index_request.rb +20 -1
  1218. data/lib/purecloud/models/provision_info.rb +20 -1
  1219. data/lib/purecloud/models/publication.rb +20 -1
  1220. data/lib/purecloud/models/publish_script_request_data.rb +20 -1
  1221. data/lib/purecloud/models/published_result.rb +20 -1
  1222. data/lib/purecloud/models/pure_cloud.rb +20 -1
  1223. data/lib/purecloud/models/quality_audit.rb +20 -1
  1224. data/lib/purecloud/models/quality_audit_page.rb +20 -1
  1225. data/lib/purecloud/models/query_facet_info.rb +20 -1
  1226. data/lib/purecloud/models/query_request.rb +20 -1
  1227. data/lib/purecloud/models/query_result.rb +20 -1
  1228. data/lib/purecloud/models/query_results.rb +20 -1
  1229. data/lib/purecloud/models/question_group.rb +20 -1
  1230. data/lib/purecloud/models/question_group_score.rb +20 -1
  1231. data/lib/purecloud/models/question_score.rb +20 -1
  1232. data/lib/purecloud/models/queue.rb +20 -1
  1233. data/lib/purecloud/models/queue_entity_listing.rb +20 -1
  1234. data/lib/purecloud/models/queue_member.rb +20 -1
  1235. data/lib/purecloud/models/queue_utilization_diagnostic.rb +20 -1
  1236. data/lib/purecloud/models/queues_entity_listing.rb +20 -1
  1237. data/lib/purecloud/models/quote.rb +20 -1
  1238. data/lib/purecloud/models/quote_charge.rb +20 -1
  1239. data/lib/purecloud/models/quote_listing.rb +20 -1
  1240. data/lib/purecloud/models/rate.rb +20 -1
  1241. data/lib/purecloud/models/reaction.rb +20 -1
  1242. data/lib/purecloud/models/recording.rb +26 -7
  1243. data/lib/purecloud/models/recording_email_message.rb +20 -1
  1244. data/lib/purecloud/models/recording_settings.rb +20 -1
  1245. data/lib/purecloud/models/relationship.rb +20 -1
  1246. data/lib/purecloud/models/relationship_listing.rb +20 -1
  1247. data/lib/purecloud/models/replace_request.rb +20 -1
  1248. data/lib/purecloud/models/replace_response.rb +20 -1
  1249. data/lib/purecloud/models/report_meta_data.rb +20 -1
  1250. data/lib/purecloud/models/report_meta_data_entity_listing.rb +20 -1
  1251. data/lib/purecloud/models/report_request.rb +20 -1
  1252. data/lib/purecloud/models/report_run_entry.rb +20 -1
  1253. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +20 -1
  1254. data/lib/purecloud/models/report_schedule.rb +21 -2
  1255. data/lib/purecloud/models/report_schedule_entity_listing.rb +20 -1
  1256. data/lib/purecloud/models/reservation.rb +20 -1
  1257. data/lib/purecloud/models/resource_condition_node.rb +20 -1
  1258. data/lib/purecloud/models/resource_condition_value.rb +20 -1
  1259. data/lib/purecloud/models/resource_permission_policy.rb +20 -1
  1260. data/lib/purecloud/models/response.rb +20 -1
  1261. data/lib/purecloud/models/response_entity_list.rb +20 -1
  1262. data/lib/purecloud/models/response_entity_listing.rb +20 -1
  1263. data/lib/purecloud/models/response_filter.rb +20 -1
  1264. data/lib/purecloud/models/response_query_request.rb +20 -1
  1265. data/lib/purecloud/models/response_query_results.rb +20 -1
  1266. data/lib/purecloud/models/response_set.rb +20 -1
  1267. data/lib/purecloud/models/response_set_entity_listing.rb +20 -1
  1268. data/lib/purecloud/models/response_text.rb +20 -1
  1269. data/lib/purecloud/models/rest_error_detail.rb +20 -1
  1270. data/lib/purecloud/models/retention_duration.rb +20 -1
  1271. data/lib/purecloud/models/ring.rb +20 -1
  1272. data/lib/purecloud/models/routing_skill.rb +20 -1
  1273. data/lib/purecloud/models/routing_status.rb +20 -1
  1274. data/lib/purecloud/models/rule_set.rb +20 -1
  1275. data/lib/purecloud/models/rule_set_entity_listing.rb +20 -1
  1276. data/lib/purecloud/models/run_now_response.rb +20 -1
  1277. data/lib/purecloud/models/salesforce.rb +20 -1
  1278. data/lib/purecloud/models/schedule.rb +20 -1
  1279. data/lib/purecloud/models/schedule_entity_listing.rb +20 -1
  1280. data/lib/purecloud/models/schedule_group.rb +20 -1
  1281. data/lib/purecloud/models/schedule_group_entity_listing.rb +20 -1
  1282. data/lib/purecloud/models/schema_category.rb +20 -1
  1283. data/lib/purecloud/models/schema_category_entity_listing.rb +20 -1
  1284. data/lib/purecloud/models/schema_reference_entity_listing.rb +20 -1
  1285. data/lib/purecloud/models/script.rb +20 -1
  1286. data/lib/purecloud/models/script_entity_listing.rb +20 -1
  1287. data/lib/purecloud/models/search_aggregation.rb +20 -1
  1288. data/lib/purecloud/models/search_criteria.rb +20 -1
  1289. data/lib/purecloud/models/search_request.rb +20 -1
  1290. data/lib/purecloud/models/security_profile.rb +20 -1
  1291. data/lib/purecloud/models/security_profile_entity_listing.rb +20 -1
  1292. data/lib/purecloud/models/segment.rb +20 -1
  1293. data/lib/purecloud/models/sequence_schedule.rb +21 -2
  1294. data/lib/purecloud/models/server_date.rb +20 -1
  1295. data/lib/purecloud/models/service.rb +20 -1
  1296. data/lib/purecloud/models/service_context.rb +20 -1
  1297. data/lib/purecloud/models/service_entity_listing.rb +20 -1
  1298. data/lib/purecloud/models/service_level.rb +20 -1
  1299. data/lib/purecloud/models/service_type.rb +20 -1
  1300. data/lib/purecloud/models/share.rb +20 -1
  1301. data/lib/purecloud/models/share_entity_listing.rb +20 -1
  1302. data/lib/purecloud/models/shared_entity.rb +20 -1
  1303. data/lib/purecloud/models/shared_response.rb +20 -1
  1304. data/lib/purecloud/models/sheet_schema.rb +20 -1
  1305. data/lib/purecloud/models/sheet_transform.rb +20 -1
  1306. data/lib/purecloud/models/signature_document_info.rb +20 -1
  1307. data/lib/purecloud/models/site.rb +20 -1
  1308. data/lib/purecloud/models/site_entity_listing.rb +20 -1
  1309. data/lib/purecloud/models/skill_entity_listing.rb +20 -1
  1310. data/lib/purecloud/models/skills_to_remove.rb +20 -1
  1311. data/lib/purecloud/models/snapshot.rb +20 -1
  1312. data/lib/purecloud/models/social_account.rb +20 -1
  1313. data/lib/purecloud/models/social_conversation.rb +20 -1
  1314. data/lib/purecloud/models/social_conversation_entity_listing.rb +20 -1
  1315. data/lib/purecloud/models/social_expression.rb +20 -1
  1316. data/lib/purecloud/models/social_media_participant.rb +20 -1
  1317. data/lib/purecloud/models/socialize_entity_filter.rb +20 -1
  1318. data/lib/purecloud/models/socialize_filter_request.rb +20 -1
  1319. data/lib/purecloud/models/sort_by.rb +20 -1
  1320. data/lib/purecloud/models/sort_field.rb +20 -1
  1321. data/lib/purecloud/models/sort_item.rb +20 -1
  1322. data/lib/purecloud/models/spreadsheet_transform.rb +20 -1
  1323. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +20 -1
  1324. data/lib/purecloud/models/station.rb +20 -1
  1325. data/lib/purecloud/models/station_entity_listing.rb +20 -1
  1326. data/lib/purecloud/models/statistical_response.rb +20 -1
  1327. data/lib/purecloud/models/statistical_summary.rb +20 -1
  1328. data/lib/purecloud/models/sub_data_item.rb +20 -1
  1329. data/lib/purecloud/models/subscriber_response.rb +20 -1
  1330. data/lib/purecloud/models/support.rb +20 -1
  1331. data/lib/purecloud/models/system_prompt.rb +20 -1
  1332. data/lib/purecloud/models/system_prompt_asset.rb +20 -1
  1333. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +20 -1
  1334. data/lib/purecloud/models/system_prompt_entity_listing.rb +20 -1
  1335. data/lib/purecloud/models/table_transform.rb +20 -1
  1336. data/lib/purecloud/models/tag_model.rb +20 -1
  1337. data/lib/purecloud/models/tag_query_request.rb +20 -1
  1338. data/lib/purecloud/models/tag_value.rb +20 -1
  1339. data/lib/purecloud/models/tag_value_entity_listing.rb +20 -1
  1340. data/lib/purecloud/models/template_entity_listing.rb +20 -1
  1341. data/lib/purecloud/models/term_attribute.rb +20 -1
  1342. data/lib/purecloud/models/text_table_transform.rb +20 -1
  1343. data/lib/purecloud/models/text_table_transform_entity_listing.rb +20 -1
  1344. data/lib/purecloud/models/third_party_account.rb +20 -1
  1345. data/lib/purecloud/models/third_party_subscription.rb +20 -1
  1346. data/lib/purecloud/models/ticker.rb +20 -1
  1347. data/lib/purecloud/models/tier.rb +20 -1
  1348. data/lib/purecloud/models/time_allowed.rb +20 -1
  1349. data/lib/purecloud/models/time_interval.rb +20 -1
  1350. data/lib/purecloud/models/time_slot.rb +20 -1
  1351. data/lib/purecloud/models/time_zone.rb +20 -1
  1352. data/lib/purecloud/models/time_zone_entity_listing.rb +20 -1
  1353. data/lib/purecloud/models/trace.rb +20 -1
  1354. data/lib/purecloud/models/trace_list.rb +20 -1
  1355. data/lib/purecloud/models/transfer_request.rb +20 -1
  1356. data/lib/purecloud/models/transform_endpoint.rb +20 -1
  1357. data/lib/purecloud/models/transform_lens.rb +20 -1
  1358. data/lib/purecloud/models/trunk_base.rb +21 -2
  1359. data/lib/purecloud/models/trunk_base_assignment.rb +20 -1
  1360. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +20 -1
  1361. data/lib/purecloud/models/twitter_expression.rb +20 -1
  1362. data/lib/purecloud/models/twitter_expression_buffer.rb +20 -1
  1363. data/lib/purecloud/models/unpivot_columns.rb +20 -1
  1364. data/lib/purecloud/models/unread_metric.rb +20 -1
  1365. data/lib/purecloud/models/unread_status.rb +20 -1
  1366. data/lib/purecloud/models/upload_progress.rb +20 -1
  1367. data/lib/purecloud/models/uri_reference.rb +20 -1
  1368. data/lib/purecloud/models/url_response.rb +20 -1
  1369. data/lib/purecloud/models/user.rb +20 -1
  1370. data/lib/purecloud/models/user_action_category.rb +20 -1
  1371. data/lib/purecloud/models/user_action_category_entity_listing.rb +20 -1
  1372. data/lib/purecloud/models/user_action_metadata.rb +20 -1
  1373. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +20 -1
  1374. data/lib/purecloud/models/user_action_metadata_request.rb +20 -1
  1375. data/lib/purecloud/models/user_authorization.rb +20 -1
  1376. data/lib/purecloud/models/user_conversation_summary.rb +20 -1
  1377. data/lib/purecloud/models/user_entity_listing.rb +20 -1
  1378. data/lib/purecloud/models/user_image.rb +20 -1
  1379. data/lib/purecloud/models/user_license_assignment.rb +20 -1
  1380. data/lib/purecloud/models/user_me.rb +21 -2
  1381. data/lib/purecloud/models/user_param.rb +20 -1
  1382. data/lib/purecloud/models/user_presence.rb +20 -1
  1383. data/lib/purecloud/models/user_queue.rb +20 -1
  1384. data/lib/purecloud/models/user_queue_entity_listing.rb +20 -1
  1385. data/lib/purecloud/models/user_recording.rb +20 -1
  1386. data/lib/purecloud/models/user_recording_entity_listing.rb +20 -1
  1387. data/lib/purecloud/models/user_routing_skill.rb +20 -1
  1388. data/lib/purecloud/models/user_skill_entity_listing.rb +20 -1
  1389. data/lib/purecloud/models/user_station.rb +20 -1
  1390. data/lib/purecloud/models/user_stations.rb +20 -1
  1391. data/lib/purecloud/models/users_entity_listing.rb +20 -1
  1392. data/lib/purecloud/models/users_search_response.rb +20 -1
  1393. data/lib/purecloud/models/utilization.rb +20 -1
  1394. data/lib/purecloud/models/validate_address_request.rb +20 -1
  1395. data/lib/purecloud/models/validate_address_response.rb +20 -1
  1396. data/lib/purecloud/models/value.rb +20 -1
  1397. data/lib/purecloud/models/vendor_connection_request.rb +20 -1
  1398. data/lib/purecloud/models/video.rb +20 -1
  1399. data/lib/purecloud/models/video_conversation.rb +20 -1
  1400. data/lib/purecloud/models/video_conversation_entity_listing.rb +20 -1
  1401. data/lib/purecloud/models/video_media_participant.rb +20 -1
  1402. data/lib/purecloud/models/view.rb +20 -1
  1403. data/lib/purecloud/models/voice_rate.rb +20 -1
  1404. data/lib/purecloud/models/voice_rate_extended.rb +20 -1
  1405. data/lib/purecloud/models/voice_rate_international.rb +20 -1
  1406. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +20 -1
  1407. data/lib/purecloud/models/voice_rate_update.rb +20 -1
  1408. data/lib/purecloud/models/voice_rates_csv.rb +20 -1
  1409. data/lib/purecloud/models/voice_xml_operation.rb +20 -1
  1410. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +20 -1
  1411. data/lib/purecloud/models/voicemail_mailbox_info.rb +20 -1
  1412. data/lib/purecloud/models/voicemail_media_info.rb +20 -1
  1413. data/lib/purecloud/models/voicemail_message.rb +20 -1
  1414. data/lib/purecloud/models/voicemail_message_entity_listing.rb +20 -1
  1415. data/lib/purecloud/models/voicemail_organization_policy.rb +20 -1
  1416. data/lib/purecloud/models/voicemail_user_policy.rb +20 -1
  1417. data/lib/purecloud/models/vpn.rb +20 -1
  1418. data/lib/purecloud/models/work_item.rb +20 -1
  1419. data/lib/purecloud/models/work_item_actions.rb +20 -1
  1420. data/lib/purecloud/models/work_item_cache.rb +20 -1
  1421. data/lib/purecloud/models/work_item_command.rb +20 -1
  1422. data/lib/purecloud/models/work_item_command_group.rb +20 -1
  1423. data/lib/purecloud/models/work_item_definition.rb +20 -1
  1424. data/lib/purecloud/models/work_item_details.rb +20 -1
  1425. data/lib/purecloud/models/work_item_search_details.rb +20 -1
  1426. data/lib/purecloud/models/work_item_search_details_search_result.rb +20 -1
  1427. data/lib/purecloud/models/work_item_submit_request.rb +20 -1
  1428. data/lib/purecloud/models/work_item_transfer_request.rb +20 -1
  1429. data/lib/purecloud/models/workspace.rb +20 -1
  1430. data/lib/purecloud/models/workspace_create.rb +20 -1
  1431. data/lib/purecloud/models/workspace_entity_listing.rb +20 -1
  1432. data/lib/purecloud/models/workspace_member.rb +20 -1
  1433. data/lib/purecloud/models/workspace_member_entity_listing.rb +20 -1
  1434. data/lib/purecloud/models/workspace_summary.rb +20 -1
  1435. data/lib/purecloud/models/wrap_up_code_mapping.rb +20 -1
  1436. data/lib/purecloud/models/wrapup.rb +20 -1
  1437. data/lib/purecloud/models/wrapup_code.rb +20 -1
  1438. data/lib/purecloud/models/wrapup_code_entity_listing.rb +20 -1
  1439. data/lib/purecloud/models/xlsx_schema.rb +20 -1
  1440. data/lib/purecloud/version.rb +17 -1
  1441. data/purecloud.gemspec +3 -4
  1442. data/rakefile +13 -23
  1443. data/spec/test.rb +109 -8
  1444. data/swagger_template/README.mustache +72 -0
  1445. data/swagger_template/api_client.mustache +36 -14
  1446. data/swagger_template/api_doc.mustache +80 -0
  1447. data/swagger_template/base_object.mustache +4 -1
  1448. data/swagger_template/gemspec.mustache +3 -4
  1449. data/swagger_template/gitignore.mustache +44 -0
  1450. data/swagger_template/model_doc.mustache +15 -0
  1451. data/version.json +1 -1
  1452. metadata +732 -34
  1453. data/doc/template/default/layout/html/layout.erb +0 -4
  1454. data/doc/template/default/method_details/html/source.erb +0 -0
  1455. data/doc/template/default/module/html/attribute_summary.erb +0 -8
  1456. data/doc/template/default/module/html/box_info.erb +0 -0
  1457. data/doc/template/default/module/html/children.erb +0 -0
  1458. data/lib/purecloud/models/line_properties.rb +0 -136
  1459. data/newVersion.md +0 -1
@@ -1,3 +1,19 @@
1
+ =begin
2
+ PureCloud API
3
+
4
+ PureCloud API
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: chuck.pulfer@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: http://www.inin.com
14
+
15
+ =end
16
+
1
17
  require "uri"
2
18
 
3
19
  module PureCloud
@@ -8,28 +24,31 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Query for user aggregates
27
+ # Delete user
12
28
  #
29
+ # @param user_id User ID
13
30
  # @param [Hash] opts the optional parameters
14
- # @option opts [AggregationQuery] :body query
15
- # @return [PresenceQueryResponse]
16
- def post_users_aggregates_query(opts = {})
17
- data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
31
+ # @return [String]
32
+ def delete_user_id(user_id, opts = {})
33
+ data, status_code, headers = delete_user_id_with_http_info(user_id, opts)
18
34
  return data
19
35
  end
20
36
 
21
- # Query for user aggregates
37
+ # Delete user
22
38
  #
39
+ # @param user_id User ID
23
40
  # @param [Hash] opts the optional parameters
24
- # @option opts [AggregationQuery] :body query
25
- # @return [Array<(PresenceQueryResponse, Fixnum, Hash)>] PresenceQueryResponse data, response status code and response headers
26
- def post_users_aggregates_query_with_http_info(opts = {})
41
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
42
+ def delete_user_id_with_http_info(user_id, opts = {})
27
43
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: UsersApi#post_users_aggregates_query ..."
44
+ @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id ..."
29
45
  end
30
46
 
47
+ # verify the required parameter 'user_id' is set
48
+ fail "Missing the required parameter 'user_id' when calling delete_user_id" if user_id.nil?
49
+
31
50
  # resource path
32
- path = "/api/v2/analytics/users/aggregates/query".sub('{format}','json')
51
+ local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
33
52
 
34
53
  # query parameters
35
54
  query_params = {}
@@ -49,45 +68,47 @@ module PureCloud
49
68
  form_params = {}
50
69
 
51
70
  # http body (model)
52
- post_body = @api_client.object_to_http_body(opts[:'body'])
71
+ post_body = nil
53
72
 
54
-
55
73
  auth_names = ['PureCloud Auth']
56
- data, status_code, headers = @api_client.call_api(:POST, path,
74
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
57
75
  :header_params => header_params,
58
76
  :query_params => query_params,
59
77
  :form_params => form_params,
60
78
  :body => post_body,
61
79
  :auth_names => auth_names,
62
- :return_type => 'PresenceQueryResponse')
80
+ :return_type => 'String')
63
81
  if @api_client.config.debugging
64
- @api_client.config.logger.debug "API called: UsersApi#post_users_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ @api_client.config.logger.debug "API called: UsersApi#delete_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
65
83
  end
66
84
  return data, status_code, headers
67
85
  end
68
86
 
69
- # Query for user observations
87
+ # Removes all the roles from the user.
70
88
  #
89
+ # @param user_id User ID
71
90
  # @param [Hash] opts the optional parameters
72
- # @option opts [ObservationQuery] :body query
73
- # @return [ObservationQueryResponse]
74
- def post_users_observations_query(opts = {})
75
- data, status_code, headers = post_users_observations_query_with_http_info(opts)
76
- return data
91
+ # @return [nil]
92
+ def delete_user_id_roles(user_id, opts = {})
93
+ delete_user_id_roles_with_http_info(user_id, opts)
94
+ return nil
77
95
  end
78
96
 
79
- # Query for user observations
97
+ # Removes all the roles from the user.
80
98
  #
99
+ # @param user_id User ID
81
100
  # @param [Hash] opts the optional parameters
82
- # @option opts [ObservationQuery] :body query
83
- # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
84
- def post_users_observations_query_with_http_info(opts = {})
101
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
102
+ def delete_user_id_roles_with_http_info(user_id, opts = {})
85
103
  if @api_client.config.debugging
86
- @api_client.config.logger.debug "Calling API: UsersApi#post_users_observations_query ..."
104
+ @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_roles ..."
87
105
  end
88
106
 
107
+ # verify the required parameter 'user_id' is set
108
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
109
+
89
110
  # resource path
90
- path = "/api/v2/analytics/users/observations/query".sub('{format}','json')
111
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
91
112
 
92
113
  # query parameters
93
114
  query_params = {}
@@ -107,65 +128,54 @@ module PureCloud
107
128
  form_params = {}
108
129
 
109
130
  # http body (model)
110
- post_body = @api_client.object_to_http_body(opts[:'body'])
131
+ post_body = nil
111
132
 
112
-
113
133
  auth_names = ['PureCloud Auth']
114
- data, status_code, headers = @api_client.call_api(:POST, path,
134
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
115
135
  :header_params => header_params,
116
136
  :query_params => query_params,
117
137
  :form_params => form_params,
118
138
  :body => post_body,
119
- :auth_names => auth_names,
120
- :return_type => 'ObservationQueryResponse')
139
+ :auth_names => auth_names)
121
140
  if @api_client.config.debugging
122
- @api_client.config.logger.debug "API called: UsersApi#post_users_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: UsersApi#delete_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
142
  end
124
143
  return data, status_code, headers
125
144
  end
126
145
 
127
- # Get the list of available users.
146
+ # Remove routing skill from user
128
147
  #
148
+ # @param user_id User ID
149
+ # @param skill_id
129
150
  # @param [Hash] opts the optional parameters
130
- # @option opts [Integer] :page_size Page size
131
- # @option opts [Integer] :page_number Page number
132
- # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
133
- # @option opts [String] :sort_order Ascending or descending sort order
134
- # @option opts [Array<String>] :expand Which fields, if any, to expand
135
- # @return [UsersEntityListing]
136
- def get_users(opts = {})
137
- data, status_code, headers = get_users_with_http_info(opts)
151
+ # @return [String]
152
+ def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
153
+ data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
138
154
  return data
139
155
  end
140
156
 
141
- # Get the list of available users.
157
+ # Remove routing skill from user
142
158
  #
159
+ # @param user_id User ID
160
+ # @param skill_id
143
161
  # @param [Hash] opts the optional parameters
144
- # @option opts [Integer] :page_size Page size
145
- # @option opts [Integer] :page_number Page number
146
- # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
147
- # @option opts [String] :sort_order Ascending or descending sort order
148
- # @option opts [Array<String>] :expand Which fields, if any, to expand
149
- # @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
150
- def get_users_with_http_info(opts = {})
162
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
163
+ def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
151
164
  if @api_client.config.debugging
152
- @api_client.config.logger.debug "Calling API: UsersApi#get_users ..."
165
+ @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_routingskills_skill_id ..."
153
166
  end
154
167
 
155
- if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
156
- fail 'invalid value for "sort_order", must be one of [ascending, descending]'
157
- end
168
+ # verify the required parameter 'user_id' is set
169
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
170
+
171
+ # verify the required parameter 'skill_id' is set
172
+ fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
158
173
 
159
174
  # resource path
160
- path = "/api/v2/users".sub('{format}','json')
175
+ local_var_path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
161
176
 
162
177
  # query parameters
163
178
  query_params = {}
164
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
165
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
166
- query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
167
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
168
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
169
179
 
170
180
  # header parameters
171
181
  header_params = {}
@@ -184,43 +194,45 @@ module PureCloud
184
194
  # http body (model)
185
195
  post_body = nil
186
196
 
187
-
188
197
  auth_names = ['PureCloud Auth']
189
- data, status_code, headers = @api_client.call_api(:GET, path,
198
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
190
199
  :header_params => header_params,
191
200
  :query_params => query_params,
192
201
  :form_params => form_params,
193
202
  :body => post_body,
194
203
  :auth_names => auth_names,
195
- :return_type => 'UsersEntityListing')
204
+ :return_type => 'String')
196
205
  if @api_client.config.debugging
197
- @api_client.config.logger.debug "API called: UsersApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
+ @api_client.config.logger.debug "API called: UsersApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
198
207
  end
199
208
  return data, status_code, headers
200
209
  end
201
210
 
202
- # Create user
211
+ # Clear associated station
203
212
  #
213
+ # @param user_id User ID
204
214
  # @param [Hash] opts the optional parameters
205
- # @option opts [CreateUser] :body User
206
- # @return [User]
207
- def post_users(opts = {})
208
- data, status_code, headers = post_users_with_http_info(opts)
209
- return data
215
+ # @return [nil]
216
+ def delete_user_id_station_associatedstation(user_id, opts = {})
217
+ delete_user_id_station_associatedstation_with_http_info(user_id, opts)
218
+ return nil
210
219
  end
211
220
 
212
- # Create user
221
+ # Clear associated station
213
222
  #
223
+ # @param user_id User ID
214
224
  # @param [Hash] opts the optional parameters
215
- # @option opts [CreateUser] :body User
216
- # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
217
- def post_users_with_http_info(opts = {})
225
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
226
+ def delete_user_id_station_associatedstation_with_http_info(user_id, opts = {})
218
227
  if @api_client.config.debugging
219
- @api_client.config.logger.debug "Calling API: UsersApi#post_users ..."
228
+ @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_associatedstation ..."
220
229
  end
221
230
 
231
+ # verify the required parameter 'user_id' is set
232
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_station_associatedstation" if user_id.nil?
233
+
222
234
  # resource path
223
- path = "/api/v2/users".sub('{format}','json')
235
+ local_var_path = "/api/v2/users/{userId}/station/associatedstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
224
236
 
225
237
  # query parameters
226
238
  query_params = {}
@@ -240,49 +252,49 @@ module PureCloud
240
252
  form_params = {}
241
253
 
242
254
  # http body (model)
243
- post_body = @api_client.object_to_http_body(opts[:'body'])
255
+ post_body = nil
244
256
 
245
-
246
257
  auth_names = ['PureCloud Auth']
247
- data, status_code, headers = @api_client.call_api(:POST, path,
258
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
248
259
  :header_params => header_params,
249
260
  :query_params => query_params,
250
261
  :form_params => form_params,
251
262
  :body => post_body,
252
- :auth_names => auth_names,
253
- :return_type => 'User')
263
+ :auth_names => auth_names)
254
264
  if @api_client.config.debugging
255
- @api_client.config.logger.debug "API called: UsersApi#post_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
265
+ @api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_associatedstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
266
  end
257
267
  return data, status_code, headers
258
268
  end
259
269
 
260
- # Get user.
270
+ # Clear default station
261
271
  #
272
+ # @param user_id User ID
262
273
  # @param [Hash] opts the optional parameters
263
- # @option opts [Array<String>] :expand Which fields, if any, to expand
264
- # @return [UserMe]
265
- def get_me(opts = {})
266
- data, status_code, headers = get_me_with_http_info(opts)
267
- return data
274
+ # @return [nil]
275
+ def delete_user_id_station_defaultstation(user_id, opts = {})
276
+ delete_user_id_station_defaultstation_with_http_info(user_id, opts)
277
+ return nil
268
278
  end
269
279
 
270
- # Get user.
280
+ # Clear default station
271
281
  #
282
+ # @param user_id User ID
272
283
  # @param [Hash] opts the optional parameters
273
- # @option opts [Array<String>] :expand Which fields, if any, to expand
274
- # @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
275
- def get_me_with_http_info(opts = {})
284
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
285
+ def delete_user_id_station_defaultstation_with_http_info(user_id, opts = {})
276
286
  if @api_client.config.debugging
277
- @api_client.config.logger.debug "Calling API: UsersApi#get_me ..."
287
+ @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_defaultstation ..."
278
288
  end
279
289
 
290
+ # verify the required parameter 'user_id' is set
291
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_station_defaultstation" if user_id.nil?
292
+
280
293
  # resource path
281
- path = "/api/v2/users/me".sub('{format}','json')
294
+ local_var_path = "/api/v2/users/{userId}/station/defaultstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
282
295
 
283
296
  # query parameters
284
297
  query_params = {}
285
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
286
298
 
287
299
  # header parameters
288
300
  header_params = {}
@@ -301,49 +313,44 @@ module PureCloud
301
313
  # http body (model)
302
314
  post_body = nil
303
315
 
304
-
305
316
  auth_names = ['PureCloud Auth']
306
- data, status_code, headers = @api_client.call_api(:GET, path,
317
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
307
318
  :header_params => header_params,
308
319
  :query_params => query_params,
309
320
  :form_params => form_params,
310
321
  :body => post_body,
311
- :auth_names => auth_names,
312
- :return_type => 'UserMe')
322
+ :auth_names => auth_names)
313
323
  if @api_client.config.debugging
314
- @api_client.config.logger.debug "API called: UsersApi#get_me\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
324
+ @api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_defaultstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
325
  end
316
326
  return data, status_code, headers
317
327
  end
318
328
 
319
- # Search using q64
329
+ # Get user.
320
330
  #
321
331
  # @param [Hash] opts the optional parameters
322
- # @option opts [String] :q64
323
- # @option opts [Array<String>] :expand
324
- # @return [UsersSearchResponse]
325
- def get_search(opts = {})
326
- data, status_code, headers = get_search_with_http_info(opts)
332
+ # @option opts [Array<String>] :expand Which fields, if any, to expand
333
+ # @return [UserMe]
334
+ def get_me(opts = {})
335
+ data, status_code, headers = get_me_with_http_info(opts)
327
336
  return data
328
337
  end
329
338
 
330
- # Search using q64
339
+ # Get user.
331
340
  #
332
341
  # @param [Hash] opts the optional parameters
333
- # @option opts [String] :q64
334
- # @option opts [Array<String>] :expand
335
- # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
336
- def get_search_with_http_info(opts = {})
342
+ # @option opts [Array<String>] :expand Which fields, if any, to expand
343
+ # @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
344
+ def get_me_with_http_info(opts = {})
337
345
  if @api_client.config.debugging
338
- @api_client.config.logger.debug "Calling API: UsersApi#get_search ..."
346
+ @api_client.config.logger.debug "Calling API: UsersApi#get_me ..."
339
347
  end
340
348
 
341
349
  # resource path
342
- path = "/api/v2/users/search".sub('{format}','json')
350
+ local_var_path = "/api/v2/users/me".sub('{format}','json')
343
351
 
344
352
  # query parameters
345
353
  query_params = {}
346
- query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
347
354
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
348
355
 
349
356
  # header parameters
@@ -363,46 +370,49 @@ module PureCloud
363
370
  # http body (model)
364
371
  post_body = nil
365
372
 
366
-
367
373
  auth_names = ['PureCloud Auth']
368
- data, status_code, headers = @api_client.call_api(:GET, path,
374
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
369
375
  :header_params => header_params,
370
376
  :query_params => query_params,
371
377
  :form_params => form_params,
372
378
  :body => post_body,
373
379
  :auth_names => auth_names,
374
- :return_type => 'UsersSearchResponse')
380
+ :return_type => 'UserMe')
375
381
  if @api_client.config.debugging
376
- @api_client.config.logger.debug "API called: UsersApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
382
+ @api_client.config.logger.debug "API called: UsersApi#get_me\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
383
  end
378
384
  return data, status_code, headers
379
385
  end
380
386
 
381
- # Search
387
+ # Search using q64
382
388
  #
383
389
  # @param [Hash] opts the optional parameters
384
- # @option opts [SearchRequest] :body Search request options
390
+ # @option opts [String] :q64
391
+ # @option opts [Array<String>] :expand
385
392
  # @return [UsersSearchResponse]
386
- def post_search(opts = {})
387
- data, status_code, headers = post_search_with_http_info(opts)
393
+ def get_search(opts = {})
394
+ data, status_code, headers = get_search_with_http_info(opts)
388
395
  return data
389
396
  end
390
397
 
391
- # Search
398
+ # Search using q64
392
399
  #
393
400
  # @param [Hash] opts the optional parameters
394
- # @option opts [SearchRequest] :body Search request options
401
+ # @option opts [String] :q64
402
+ # @option opts [Array<String>] :expand
395
403
  # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
396
- def post_search_with_http_info(opts = {})
404
+ def get_search_with_http_info(opts = {})
397
405
  if @api_client.config.debugging
398
- @api_client.config.logger.debug "Calling API: UsersApi#post_search ..."
406
+ @api_client.config.logger.debug "Calling API: UsersApi#get_search ..."
399
407
  end
400
408
 
401
409
  # resource path
402
- path = "/api/v2/users/search".sub('{format}','json')
410
+ local_var_path = "/api/v2/users/search".sub('{format}','json')
403
411
 
404
412
  # query parameters
405
413
  query_params = {}
414
+ query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
415
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
406
416
 
407
417
  # header parameters
408
418
  header_params = {}
@@ -419,11 +429,10 @@ module PureCloud
419
429
  form_params = {}
420
430
 
421
431
  # http body (model)
422
- post_body = @api_client.object_to_http_body(opts[:'body'])
432
+ post_body = nil
423
433
 
424
-
425
434
  auth_names = ['PureCloud Auth']
426
- data, status_code, headers = @api_client.call_api(:POST, path,
435
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
427
436
  :header_params => header_params,
428
437
  :query_params => query_params,
429
438
  :form_params => form_params,
@@ -431,7 +440,7 @@ module PureCloud
431
440
  :auth_names => auth_names,
432
441
  :return_type => 'UsersSearchResponse')
433
442
  if @api_client.config.debugging
434
- @api_client.config.logger.debug "API called: UsersApi#post_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
443
+ @api_client.config.logger.debug "API called: UsersApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
444
  end
436
445
  return data, status_code, headers
437
446
  end
@@ -462,7 +471,7 @@ module PureCloud
462
471
  fail "Missing the required parameter 'user_id' when calling get_user_id" if user_id.nil?
463
472
 
464
473
  # resource path
465
- path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
474
+ local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
466
475
 
467
476
  # query parameters
468
477
  query_params = {}
@@ -485,9 +494,8 @@ module PureCloud
485
494
  # http body (model)
486
495
  post_body = nil
487
496
 
488
-
489
497
  auth_names = ['PureCloud Auth']
490
- data, status_code, headers = @api_client.call_api(:GET, path,
498
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
491
499
  :header_params => header_params,
492
500
  :query_params => query_params,
493
501
  :form_params => form_params,
@@ -500,31 +508,31 @@ module PureCloud
500
508
  return data, status_code, headers
501
509
  end
502
510
 
503
- # Delete user
511
+ # Get a user's CallForwarding
504
512
  #
505
513
  # @param user_id User ID
506
514
  # @param [Hash] opts the optional parameters
507
- # @return [String]
508
- def delete_user_id(user_id, opts = {})
509
- data, status_code, headers = delete_user_id_with_http_info(user_id, opts)
515
+ # @return [CallForwarding]
516
+ def get_user_id_callforwarding(user_id, opts = {})
517
+ data, status_code, headers = get_user_id_callforwarding_with_http_info(user_id, opts)
510
518
  return data
511
519
  end
512
520
 
513
- # Delete user
521
+ # Get a user&#39;s CallForwarding
514
522
  #
515
523
  # @param user_id User ID
516
524
  # @param [Hash] opts the optional parameters
517
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
518
- def delete_user_id_with_http_info(user_id, opts = {})
525
+ # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
526
+ def get_user_id_callforwarding_with_http_info(user_id, opts = {})
519
527
  if @api_client.config.debugging
520
- @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id ..."
528
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_callforwarding ..."
521
529
  end
522
530
 
523
531
  # verify the required parameter 'user_id' is set
524
- fail "Missing the required parameter 'user_id' when calling delete_user_id" if user_id.nil?
532
+ fail "Missing the required parameter 'user_id' when calling get_user_id_callforwarding" if user_id.nil?
525
533
 
526
534
  # resource path
527
- path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
535
+ local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
528
536
 
529
537
  # query parameters
530
538
  query_params = {}
@@ -546,48 +554,50 @@ module PureCloud
546
554
  # http body (model)
547
555
  post_body = nil
548
556
 
549
-
550
557
  auth_names = ['PureCloud Auth']
551
- data, status_code, headers = @api_client.call_api(:DELETE, path,
558
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
552
559
  :header_params => header_params,
553
560
  :query_params => query_params,
554
561
  :form_params => form_params,
555
562
  :body => post_body,
556
563
  :auth_names => auth_names,
557
- :return_type => 'String')
564
+ :return_type => 'CallForwarding')
558
565
  if @api_client.config.debugging
559
- @api_client.config.logger.debug "API called: UsersApi#delete_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
566
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
560
567
  end
561
568
  return data, status_code, headers
562
569
  end
563
570
 
564
- # Update user
571
+ # Get a user's Geolocation
565
572
  #
566
- # @param user_id User ID
573
+ # @param user_id user Id
574
+ # @param client_id client Id
567
575
  # @param [Hash] opts the optional parameters
568
- # @option opts [User] :body
569
- # @return [User]
570
- def patch_user_id(user_id, opts = {})
571
- data, status_code, headers = patch_user_id_with_http_info(user_id, opts)
576
+ # @return [Geolocation]
577
+ def get_user_id_geolocations_client_id(user_id, client_id, opts = {})
578
+ data, status_code, headers = get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
572
579
  return data
573
580
  end
574
581
 
575
- # Update user
582
+ # Get a user&#39;s Geolocation
576
583
  #
577
- # @param user_id User ID
584
+ # @param user_id user Id
585
+ # @param client_id client Id
578
586
  # @param [Hash] opts the optional parameters
579
- # @option opts [User] :body
580
- # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
581
- def patch_user_id_with_http_info(user_id, opts = {})
587
+ # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
588
+ def get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
582
589
  if @api_client.config.debugging
583
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id ..."
590
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_geolocations_client_id ..."
584
591
  end
585
592
 
586
593
  # verify the required parameter 'user_id' is set
587
- fail "Missing the required parameter 'user_id' when calling patch_user_id" if user_id.nil?
594
+ fail "Missing the required parameter 'user_id' when calling get_user_id_geolocations_client_id" if user_id.nil?
595
+
596
+ # verify the required parameter 'client_id' is set
597
+ fail "Missing the required parameter 'client_id' when calling get_user_id_geolocations_client_id" if client_id.nil?
588
598
 
589
599
  # resource path
590
- path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
600
+ local_var_path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
591
601
 
592
602
  # query parameters
593
603
  query_params = {}
@@ -607,48 +617,47 @@ module PureCloud
607
617
  form_params = {}
608
618
 
609
619
  # http body (model)
610
- post_body = @api_client.object_to_http_body(opts[:'body'])
620
+ post_body = nil
611
621
 
612
-
613
622
  auth_names = ['PureCloud Auth']
614
- data, status_code, headers = @api_client.call_api(:PATCH, path,
623
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
615
624
  :header_params => header_params,
616
625
  :query_params => query_params,
617
626
  :form_params => form_params,
618
627
  :body => post_body,
619
628
  :auth_names => auth_names,
620
- :return_type => 'User')
629
+ :return_type => 'Geolocation')
621
630
  if @api_client.config.debugging
622
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
631
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
623
632
  end
624
633
  return data, status_code, headers
625
634
  end
626
635
 
627
- # Get a user&#39;s CallForwarding
636
+ # Get a OutOfOffice
628
637
  #
629
638
  # @param user_id User ID
630
639
  # @param [Hash] opts the optional parameters
631
- # @return [CallForwarding]
632
- def get_user_id_callforwarding(user_id, opts = {})
633
- data, status_code, headers = get_user_id_callforwarding_with_http_info(user_id, opts)
640
+ # @return [OutOfOffice]
641
+ def get_user_id_outofoffice(user_id, opts = {})
642
+ data, status_code, headers = get_user_id_outofoffice_with_http_info(user_id, opts)
634
643
  return data
635
644
  end
636
645
 
637
- # Get a user&#39;s CallForwarding
646
+ # Get a OutOfOffice
638
647
  #
639
648
  # @param user_id User ID
640
649
  # @param [Hash] opts the optional parameters
641
- # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
642
- def get_user_id_callforwarding_with_http_info(user_id, opts = {})
650
+ # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
651
+ def get_user_id_outofoffice_with_http_info(user_id, opts = {})
643
652
  if @api_client.config.debugging
644
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_callforwarding ..."
653
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_outofoffice ..."
645
654
  end
646
655
 
647
656
  # verify the required parameter 'user_id' is set
648
- fail "Missing the required parameter 'user_id' when calling get_user_id_callforwarding" if user_id.nil?
657
+ fail "Missing the required parameter 'user_id' when calling get_user_id_outofoffice" if user_id.nil?
649
658
 
650
659
  # resource path
651
- path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
660
+ local_var_path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
652
661
 
653
662
  # query parameters
654
663
  query_params = {}
@@ -670,48 +679,50 @@ module PureCloud
670
679
  # http body (model)
671
680
  post_body = nil
672
681
 
673
-
674
682
  auth_names = ['PureCloud Auth']
675
- data, status_code, headers = @api_client.call_api(:GET, path,
683
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
676
684
  :header_params => header_params,
677
685
  :query_params => query_params,
678
686
  :form_params => form_params,
679
687
  :body => post_body,
680
688
  :auth_names => auth_names,
681
- :return_type => 'CallForwarding')
689
+ :return_type => 'OutOfOffice')
682
690
  if @api_client.config.debugging
683
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
691
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
684
692
  end
685
693
  return data, status_code, headers
686
694
  end
687
695
 
688
- # Update a user&#39;s CallForwarding
696
+ # Get a user's Presence
689
697
  #
690
- # @param user_id User ID
698
+ # @param user_id user Id
699
+ # @param source source
691
700
  # @param [Hash] opts the optional parameters
692
- # @option opts [CallForwarding] :body
693
- # @return [CallForwarding]
694
- def put_user_id_callforwarding(user_id, opts = {})
695
- data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, opts)
701
+ # @return [UserPresence]
702
+ def get_user_id_presences_source(user_id, source, opts = {})
703
+ data, status_code, headers = get_user_id_presences_source_with_http_info(user_id, source, opts)
696
704
  return data
697
705
  end
698
706
 
699
- # Update a user&#39;s CallForwarding
707
+ # Get a user&#39;s Presence
700
708
  #
701
- # @param user_id User ID
709
+ # @param user_id user Id
710
+ # @param source source
702
711
  # @param [Hash] opts the optional parameters
703
- # @option opts [CallForwarding] :body
704
- # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
705
- def put_user_id_callforwarding_with_http_info(user_id, opts = {})
712
+ # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
713
+ def get_user_id_presences_source_with_http_info(user_id, source, opts = {})
706
714
  if @api_client.config.debugging
707
- @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_callforwarding ..."
715
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_presences_source ..."
708
716
  end
709
717
 
710
718
  # verify the required parameter 'user_id' is set
711
- fail "Missing the required parameter 'user_id' when calling put_user_id_callforwarding" if user_id.nil?
719
+ fail "Missing the required parameter 'user_id' when calling get_user_id_presences_source" if user_id.nil?
720
+
721
+ # verify the required parameter 'source' is set
722
+ fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
712
723
 
713
724
  # resource path
714
- path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
725
+ local_var_path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
715
726
 
716
727
  # query parameters
717
728
  query_params = {}
@@ -731,53 +742,56 @@ module PureCloud
731
742
  form_params = {}
732
743
 
733
744
  # http body (model)
734
- post_body = @api_client.object_to_http_body(opts[:'body'])
745
+ post_body = nil
735
746
 
736
-
737
747
  auth_names = ['PureCloud Auth']
738
- data, status_code, headers = @api_client.call_api(:PUT, path,
748
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
739
749
  :header_params => header_params,
740
750
  :query_params => query_params,
741
751
  :form_params => form_params,
742
752
  :body => post_body,
743
753
  :auth_names => auth_names,
744
- :return_type => 'CallForwarding')
754
+ :return_type => 'UserPresence')
745
755
  if @api_client.config.debugging
746
- @api_client.config.logger.debug "API called: UsersApi#put_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
756
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
747
757
  end
748
758
  return data, status_code, headers
749
759
  end
750
760
 
751
- # Patch a user&#39;s CallForwarding
761
+ # Get queues for user
752
762
  #
753
763
  # @param user_id User ID
754
764
  # @param [Hash] opts the optional parameters
755
- # @option opts [CallForwarding] :body
756
- # @return [CallForwarding]
757
- def patch_user_id_callforwarding(user_id, opts = {})
758
- data, status_code, headers = patch_user_id_callforwarding_with_http_info(user_id, opts)
765
+ # @option opts [Integer] :page_size Page size (default to 25)
766
+ # @option opts [Integer] :page_number Page number (default to 1)
767
+ # @return [UserQueueEntityListing]
768
+ def get_user_id_queues(user_id, opts = {})
769
+ data, status_code, headers = get_user_id_queues_with_http_info(user_id, opts)
759
770
  return data
760
771
  end
761
772
 
762
- # Patch a user&#39;s CallForwarding
773
+ # Get queues for user
763
774
  #
764
775
  # @param user_id User ID
765
776
  # @param [Hash] opts the optional parameters
766
- # @option opts [CallForwarding] :body
767
- # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
768
- def patch_user_id_callforwarding_with_http_info(user_id, opts = {})
777
+ # @option opts [Integer] :page_size Page size
778
+ # @option opts [Integer] :page_number Page number
779
+ # @return [Array<(UserQueueEntityListing, Fixnum, Hash)>] UserQueueEntityListing data, response status code and response headers
780
+ def get_user_id_queues_with_http_info(user_id, opts = {})
769
781
  if @api_client.config.debugging
770
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_callforwarding ..."
782
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_queues ..."
771
783
  end
772
784
 
773
785
  # verify the required parameter 'user_id' is set
774
- fail "Missing the required parameter 'user_id' when calling patch_user_id_callforwarding" if user_id.nil?
786
+ fail "Missing the required parameter 'user_id' when calling get_user_id_queues" if user_id.nil?
775
787
 
776
788
  # resource path
777
- path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
789
+ local_var_path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
778
790
 
779
791
  # query parameters
780
792
  query_params = {}
793
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
794
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
781
795
 
782
796
  # header parameters
783
797
  header_params = {}
@@ -794,53 +808,47 @@ module PureCloud
794
808
  form_params = {}
795
809
 
796
810
  # http body (model)
797
- post_body = @api_client.object_to_http_body(opts[:'body'])
811
+ post_body = nil
798
812
 
799
-
800
813
  auth_names = ['PureCloud Auth']
801
- data, status_code, headers = @api_client.call_api(:PATCH, path,
814
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
802
815
  :header_params => header_params,
803
816
  :query_params => query_params,
804
817
  :form_params => form_params,
805
818
  :body => post_body,
806
819
  :auth_names => auth_names,
807
- :return_type => 'CallForwarding')
820
+ :return_type => 'UserQueueEntityListing')
808
821
  if @api_client.config.debugging
809
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
822
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
810
823
  end
811
824
  return data, status_code, headers
812
825
  end
813
826
 
814
- # Get a user&#39;s Geolocation
827
+ # Returns a listing of roles and permissions for a user.
815
828
  #
816
- # @param user_id user Id
817
- # @param client_id client Id
829
+ # @param user_id User ID
818
830
  # @param [Hash] opts the optional parameters
819
- # @return [Geolocation]
820
- def get_user_id_geolocations_client_id(user_id, client_id, opts = {})
821
- data, status_code, headers = get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
831
+ # @return [UserAuthorization]
832
+ def get_user_id_roles(user_id, opts = {})
833
+ data, status_code, headers = get_user_id_roles_with_http_info(user_id, opts)
822
834
  return data
823
835
  end
824
836
 
825
- # Get a user&#39;s Geolocation
837
+ # Returns a listing of roles and permissions for a user.
826
838
  #
827
- # @param user_id user Id
828
- # @param client_id client Id
839
+ # @param user_id User ID
829
840
  # @param [Hash] opts the optional parameters
830
- # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
831
- def get_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
841
+ # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
842
+ def get_user_id_roles_with_http_info(user_id, opts = {})
832
843
  if @api_client.config.debugging
833
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_geolocations_client_id ..."
844
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_roles ..."
834
845
  end
835
846
 
836
847
  # verify the required parameter 'user_id' is set
837
- fail "Missing the required parameter 'user_id' when calling get_user_id_geolocations_client_id" if user_id.nil?
838
-
839
- # verify the required parameter 'client_id' is set
840
- fail "Missing the required parameter 'client_id' when calling get_user_id_geolocations_client_id" if client_id.nil?
848
+ fail "Missing the required parameter 'user_id' when calling get_user_id_roles" if user_id.nil?
841
849
 
842
850
  # resource path
843
- path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
851
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
844
852
 
845
853
  # query parameters
846
854
  query_params = {}
@@ -862,56 +870,61 @@ module PureCloud
862
870
  # http body (model)
863
871
  post_body = nil
864
872
 
865
-
866
873
  auth_names = ['PureCloud Auth']
867
- data, status_code, headers = @api_client.call_api(:GET, path,
874
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
868
875
  :header_params => header_params,
869
876
  :query_params => query_params,
870
877
  :form_params => form_params,
871
878
  :body => post_body,
872
879
  :auth_names => auth_names,
873
- :return_type => 'Geolocation')
880
+ :return_type => 'UserAuthorization')
874
881
  if @api_client.config.debugging
875
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
882
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
876
883
  end
877
884
  return data, status_code, headers
878
885
  end
879
886
 
880
- # Patch a user&#39;s Geolocation
881
- # 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.
882
- # @param user_id user Id
883
- # @param client_id client Id
887
+ # List routing skills for user
888
+ #
889
+ # @param user_id User ID
884
890
  # @param [Hash] opts the optional parameters
885
- # @option opts [Geolocation] :body
886
- # @return [Geolocation]
887
- def patch_user_id_geolocations_client_id(user_id, client_id, opts = {})
888
- data, status_code, headers = patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
891
+ # @option opts [Integer] :page_size Page size (default to 25)
892
+ # @option opts [Integer] :page_number Page number (default to 1)
893
+ # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
894
+ # @return [UserSkillEntityListing]
895
+ def get_user_id_routingskills(user_id, opts = {})
896
+ data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
889
897
  return data
890
898
  end
891
899
 
892
- # Patch a user&#39;s Geolocation
893
- # 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.
894
- # @param user_id user Id
895
- # @param client_id client Id
900
+ # List routing skills for user
901
+ #
902
+ # @param user_id User ID
896
903
  # @param [Hash] opts the optional parameters
897
- # @option opts [Geolocation] :body
898
- # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
899
- def patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
904
+ # @option opts [Integer] :page_size Page size
905
+ # @option opts [Integer] :page_number Page number
906
+ # @option opts [String] :sort_order Ascending or descending sort order
907
+ # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
908
+ def get_user_id_routingskills_with_http_info(user_id, opts = {})
900
909
  if @api_client.config.debugging
901
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_geolocations_client_id ..."
910
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingskills ..."
902
911
  end
903
912
 
904
913
  # verify the required parameter 'user_id' is set
905
- fail "Missing the required parameter 'user_id' when calling patch_user_id_geolocations_client_id" if user_id.nil?
914
+ fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
906
915
 
907
- # verify the required parameter 'client_id' is set
908
- fail "Missing the required parameter 'client_id' when calling patch_user_id_geolocations_client_id" if client_id.nil?
916
+ if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
917
+ fail 'invalid value for "sort_order", must be one of [ascending, descending]'
918
+ end
909
919
 
910
920
  # resource path
911
- path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
921
+ local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
912
922
 
913
923
  # query parameters
914
924
  query_params = {}
925
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
926
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
927
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
915
928
 
916
929
  # header parameters
917
930
  header_params = {}
@@ -928,48 +941,47 @@ module PureCloud
928
941
  form_params = {}
929
942
 
930
943
  # http body (model)
931
- post_body = @api_client.object_to_http_body(opts[:'body'])
944
+ post_body = nil
932
945
 
933
-
934
946
  auth_names = ['PureCloud Auth']
935
- data, status_code, headers = @api_client.call_api(:PATCH, path,
947
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
936
948
  :header_params => header_params,
937
949
  :query_params => query_params,
938
950
  :form_params => form_params,
939
951
  :body => post_body,
940
952
  :auth_names => auth_names,
941
- :return_type => 'Geolocation')
953
+ :return_type => 'UserSkillEntityListing')
942
954
  if @api_client.config.debugging
943
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
955
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
944
956
  end
945
957
  return data, status_code, headers
946
958
  end
947
959
 
948
- # Get a OutOfOffice
960
+ # Fetch the routing status of a user
949
961
  #
950
962
  # @param user_id User ID
951
963
  # @param [Hash] opts the optional parameters
952
- # @return [OutOfOffice]
953
- def get_user_id_outofoffice(user_id, opts = {})
954
- data, status_code, headers = get_user_id_outofoffice_with_http_info(user_id, opts)
964
+ # @return [RoutingStatus]
965
+ def get_user_id_routingstatus(user_id, opts = {})
966
+ data, status_code, headers = get_user_id_routingstatus_with_http_info(user_id, opts)
955
967
  return data
956
968
  end
957
969
 
958
- # Get a OutOfOffice
970
+ # Fetch the routing status of a user
959
971
  #
960
972
  # @param user_id User ID
961
973
  # @param [Hash] opts the optional parameters
962
- # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
963
- def get_user_id_outofoffice_with_http_info(user_id, opts = {})
974
+ # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
975
+ def get_user_id_routingstatus_with_http_info(user_id, opts = {})
964
976
  if @api_client.config.debugging
965
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_outofoffice ..."
977
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingstatus ..."
966
978
  end
967
979
 
968
980
  # verify the required parameter 'user_id' is set
969
- fail "Missing the required parameter 'user_id' when calling get_user_id_outofoffice" if user_id.nil?
981
+ fail "Missing the required parameter 'user_id' when calling get_user_id_routingstatus" if user_id.nil?
970
982
 
971
983
  # resource path
972
- path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
984
+ local_var_path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
973
985
 
974
986
  # query parameters
975
987
  query_params = {}
@@ -991,51 +1003,45 @@ module PureCloud
991
1003
  # http body (model)
992
1004
  post_body = nil
993
1005
 
994
-
995
1006
  auth_names = ['PureCloud Auth']
996
- data, status_code, headers = @api_client.call_api(:GET, path,
1007
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
997
1008
  :header_params => header_params,
998
1009
  :query_params => query_params,
999
1010
  :form_params => form_params,
1000
1011
  :body => post_body,
1001
1012
  :auth_names => auth_names,
1002
- :return_type => 'OutOfOffice')
1013
+ :return_type => 'RoutingStatus')
1003
1014
  if @api_client.config.debugging
1004
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1015
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1005
1016
  end
1006
1017
  return data, status_code, headers
1007
1018
  end
1008
1019
 
1009
- # Update an OutOfOffice
1020
+ # Get station information for user
1010
1021
  #
1011
1022
  # @param user_id User ID
1012
- # @param body The updated UserPresence
1013
1023
  # @param [Hash] opts the optional parameters
1014
- # @return [OutOfOffice]
1015
- def put_user_id_outofoffice(user_id, body, opts = {})
1016
- data, status_code, headers = put_user_id_outofoffice_with_http_info(user_id, body, opts)
1024
+ # @return [UserStations]
1025
+ def get_user_id_station(user_id, opts = {})
1026
+ data, status_code, headers = get_user_id_station_with_http_info(user_id, opts)
1017
1027
  return data
1018
1028
  end
1019
1029
 
1020
- # Update an OutOfOffice
1030
+ # Get station information for user
1021
1031
  #
1022
1032
  # @param user_id User ID
1023
- # @param body The updated UserPresence
1024
1033
  # @param [Hash] opts the optional parameters
1025
- # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
1026
- def put_user_id_outofoffice_with_http_info(user_id, body, opts = {})
1034
+ # @return [Array<(UserStations, Fixnum, Hash)>] UserStations data, response status code and response headers
1035
+ def get_user_id_station_with_http_info(user_id, opts = {})
1027
1036
  if @api_client.config.debugging
1028
- @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_outofoffice ..."
1037
+ @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_station ..."
1029
1038
  end
1030
1039
 
1031
1040
  # verify the required parameter 'user_id' is set
1032
- fail "Missing the required parameter 'user_id' when calling put_user_id_outofoffice" if user_id.nil?
1033
-
1034
- # verify the required parameter 'body' is set
1035
- fail "Missing the required parameter 'body' when calling put_user_id_outofoffice" if body.nil?
1041
+ fail "Missing the required parameter 'user_id' when calling get_user_id_station" if user_id.nil?
1036
1042
 
1037
1043
  # resource path
1038
- path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1044
+ local_var_path = "/api/v2/users/{userId}/station".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1039
1045
 
1040
1046
  # query parameters
1041
1047
  query_params = {}
@@ -1055,56 +1061,64 @@ module PureCloud
1055
1061
  form_params = {}
1056
1062
 
1057
1063
  # http body (model)
1058
- post_body = @api_client.object_to_http_body(body)
1064
+ post_body = nil
1059
1065
 
1060
-
1061
1066
  auth_names = ['PureCloud Auth']
1062
- data, status_code, headers = @api_client.call_api(:PUT, path,
1067
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1063
1068
  :header_params => header_params,
1064
1069
  :query_params => query_params,
1065
1070
  :form_params => form_params,
1066
1071
  :body => post_body,
1067
1072
  :auth_names => auth_names,
1068
- :return_type => 'OutOfOffice')
1073
+ :return_type => 'UserStations')
1069
1074
  if @api_client.config.debugging
1070
- @api_client.config.logger.debug "API called: UsersApi#put_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1075
+ @api_client.config.logger.debug "API called: UsersApi#get_user_id_station\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1071
1076
  end
1072
1077
  return data, status_code, headers
1073
1078
  end
1074
1079
 
1075
- # Get a user&#39;s Presence
1080
+ # Get the list of available users.
1076
1081
  #
1077
- # @param user_id user Id
1078
- # @param source source
1079
1082
  # @param [Hash] opts the optional parameters
1080
- # @return [UserPresence]
1081
- def get_user_id_presences_source(user_id, source, opts = {})
1082
- data, status_code, headers = get_user_id_presences_source_with_http_info(user_id, source, opts)
1083
+ # @option opts [Integer] :page_size Page size (default to 25)
1084
+ # @option opts [Integer] :page_number Page number (default to 1)
1085
+ # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
1086
+ # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
1087
+ # @option opts [Array<String>] :expand Which fields, if any, to expand
1088
+ # @return [UsersEntityListing]
1089
+ def get_users(opts = {})
1090
+ data, status_code, headers = get_users_with_http_info(opts)
1083
1091
  return data
1084
1092
  end
1085
1093
 
1086
- # Get a user&#39;s Presence
1094
+ # Get the list of available users.
1087
1095
  #
1088
- # @param user_id user Id
1089
- # @param source source
1090
1096
  # @param [Hash] opts the optional parameters
1091
- # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
1092
- def get_user_id_presences_source_with_http_info(user_id, source, opts = {})
1097
+ # @option opts [Integer] :page_size Page size
1098
+ # @option opts [Integer] :page_number Page number
1099
+ # @option opts [Array<String>] :id The list of user ids to get. Paging is ignored if ids are specified
1100
+ # @option opts [String] :sort_order Ascending or descending sort order
1101
+ # @option opts [Array<String>] :expand Which fields, if any, to expand
1102
+ # @return [Array<(UsersEntityListing, Fixnum, Hash)>] UsersEntityListing data, response status code and response headers
1103
+ def get_users_with_http_info(opts = {})
1093
1104
  if @api_client.config.debugging
1094
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_presences_source ..."
1105
+ @api_client.config.logger.debug "Calling API: UsersApi#get_users ..."
1095
1106
  end
1096
1107
 
1097
- # verify the required parameter 'user_id' is set
1098
- fail "Missing the required parameter 'user_id' when calling get_user_id_presences_source" if user_id.nil?
1099
-
1100
- # verify the required parameter 'source' is set
1101
- fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
1108
+ if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
1109
+ fail 'invalid value for "sort_order", must be one of [ascending, descending]'
1110
+ end
1102
1111
 
1103
1112
  # resource path
1104
- path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
1113
+ local_var_path = "/api/v2/users".sub('{format}','json')
1105
1114
 
1106
1115
  # query parameters
1107
1116
  query_params = {}
1117
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1118
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1119
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
1120
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1121
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
1108
1122
 
1109
1123
  # header parameters
1110
1124
  header_params = {}
@@ -1123,53 +1137,47 @@ module PureCloud
1123
1137
  # http body (model)
1124
1138
  post_body = nil
1125
1139
 
1126
-
1127
1140
  auth_names = ['PureCloud Auth']
1128
- data, status_code, headers = @api_client.call_api(:GET, path,
1141
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1129
1142
  :header_params => header_params,
1130
1143
  :query_params => query_params,
1131
1144
  :form_params => form_params,
1132
1145
  :body => post_body,
1133
1146
  :auth_names => auth_names,
1134
- :return_type => 'UserPresence')
1147
+ :return_type => 'UsersEntityListing')
1135
1148
  if @api_client.config.debugging
1136
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1149
+ @api_client.config.logger.debug "API called: UsersApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1137
1150
  end
1138
1151
  return data, status_code, headers
1139
1152
  end
1140
1153
 
1141
- # Patch a user&#39;s Presence
1142
- # The presence object can be patched one of three ways. Option 1: Set the &#39;primary&#39; property to true. This will set the &#39;source&#39; defined in the path as the user&#39;s primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
1143
- # @param user_id user Id
1144
- # @param source source
1154
+ # Update user
1155
+ #
1156
+ # @param user_id User ID
1145
1157
  # @param [Hash] opts the optional parameters
1146
- # @option opts [UserPresence] :body
1147
- # @return [UserPresence]
1148
- def patch_user_id_presences_source(user_id, source, opts = {})
1149
- data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, opts)
1158
+ # @option opts [User] :body
1159
+ # @return [User]
1160
+ def patch_user_id(user_id, opts = {})
1161
+ data, status_code, headers = patch_user_id_with_http_info(user_id, opts)
1150
1162
  return data
1151
1163
  end
1152
1164
 
1153
- # Patch a user&#39;s Presence
1154
- # The presence object can be patched one of three ways. Option 1: Set the &#39;primary&#39; property to true. This will set the &#39;source&#39; defined in the path as the user&#39;s primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
1155
- # @param user_id user Id
1156
- # @param source source
1165
+ # Update user
1166
+ #
1167
+ # @param user_id User ID
1157
1168
  # @param [Hash] opts the optional parameters
1158
- # @option opts [UserPresence] :body
1159
- # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
1160
- def patch_user_id_presences_source_with_http_info(user_id, source, opts = {})
1169
+ # @option opts [User] :body
1170
+ # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
1171
+ def patch_user_id_with_http_info(user_id, opts = {})
1161
1172
  if @api_client.config.debugging
1162
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_presences_source ..."
1173
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id ..."
1163
1174
  end
1164
1175
 
1165
1176
  # verify the required parameter 'user_id' is set
1166
- fail "Missing the required parameter 'user_id' when calling patch_user_id_presences_source" if user_id.nil?
1167
-
1168
- # verify the required parameter 'source' is set
1169
- fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
1177
+ fail "Missing the required parameter 'user_id' when calling patch_user_id" if user_id.nil?
1170
1178
 
1171
1179
  # resource path
1172
- path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
1180
+ local_var_path = "/api/v2/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1173
1181
 
1174
1182
  # query parameters
1175
1183
  query_params = {}
@@ -1191,55 +1199,50 @@ module PureCloud
1191
1199
  # http body (model)
1192
1200
  post_body = @api_client.object_to_http_body(opts[:'body'])
1193
1201
 
1194
-
1195
1202
  auth_names = ['PureCloud Auth']
1196
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1203
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1197
1204
  :header_params => header_params,
1198
1205
  :query_params => query_params,
1199
1206
  :form_params => form_params,
1200
1207
  :body => post_body,
1201
1208
  :auth_names => auth_names,
1202
- :return_type => 'UserPresence')
1209
+ :return_type => 'User')
1203
1210
  if @api_client.config.debugging
1204
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1211
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1205
1212
  end
1206
1213
  return data, status_code, headers
1207
1214
  end
1208
1215
 
1209
- # Get queues for user
1216
+ # Patch a user's CallForwarding
1210
1217
  #
1211
1218
  # @param user_id User ID
1212
1219
  # @param [Hash] opts the optional parameters
1213
- # @option opts [Integer] :page_size Page size
1214
- # @option opts [Integer] :page_number Page number
1215
- # @return [UserQueueEntityListing]
1216
- def get_user_id_queues(user_id, opts = {})
1217
- data, status_code, headers = get_user_id_queues_with_http_info(user_id, opts)
1220
+ # @option opts [CallForwarding] :body
1221
+ # @return [CallForwarding]
1222
+ def patch_user_id_callforwarding(user_id, opts = {})
1223
+ data, status_code, headers = patch_user_id_callforwarding_with_http_info(user_id, opts)
1218
1224
  return data
1219
1225
  end
1220
1226
 
1221
- # Get queues for user
1227
+ # Patch a user&#39;s CallForwarding
1222
1228
  #
1223
1229
  # @param user_id User ID
1224
1230
  # @param [Hash] opts the optional parameters
1225
- # @option opts [Integer] :page_size Page size
1226
- # @option opts [Integer] :page_number Page number
1227
- # @return [Array<(UserQueueEntityListing, Fixnum, Hash)>] UserQueueEntityListing data, response status code and response headers
1228
- def get_user_id_queues_with_http_info(user_id, opts = {})
1231
+ # @option opts [CallForwarding] :body
1232
+ # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
1233
+ def patch_user_id_callforwarding_with_http_info(user_id, opts = {})
1229
1234
  if @api_client.config.debugging
1230
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_queues ..."
1235
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_callforwarding ..."
1231
1236
  end
1232
1237
 
1233
1238
  # verify the required parameter 'user_id' is set
1234
- fail "Missing the required parameter 'user_id' when calling get_user_id_queues" if user_id.nil?
1239
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_callforwarding" if user_id.nil?
1235
1240
 
1236
1241
  # resource path
1237
- path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1242
+ local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1238
1243
 
1239
1244
  # query parameters
1240
1245
  query_params = {}
1241
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1242
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1243
1246
 
1244
1247
  # header parameters
1245
1248
  header_params = {}
@@ -1256,50 +1259,54 @@ module PureCloud
1256
1259
  form_params = {}
1257
1260
 
1258
1261
  # http body (model)
1259
- post_body = nil
1262
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1260
1263
 
1261
-
1262
1264
  auth_names = ['PureCloud Auth']
1263
- data, status_code, headers = @api_client.call_api(:GET, path,
1265
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1264
1266
  :header_params => header_params,
1265
1267
  :query_params => query_params,
1266
1268
  :form_params => form_params,
1267
1269
  :body => post_body,
1268
1270
  :auth_names => auth_names,
1269
- :return_type => 'UserQueueEntityListing')
1271
+ :return_type => 'CallForwarding')
1270
1272
  if @api_client.config.debugging
1271
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1273
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1272
1274
  end
1273
1275
  return data, status_code, headers
1274
1276
  end
1275
1277
 
1276
- # Join or unjoin a set of queues for a user
1277
- #
1278
- # @param user_id User ID
1278
+ # Patch a user's Geolocation
1279
+ # 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.
1280
+ # @param user_id user Id
1281
+ # @param client_id client Id
1279
1282
  # @param [Hash] opts the optional parameters
1280
- # @option opts [Array<UserQueue>] :body User Queues
1281
- # @return [UserQueue]
1282
- def patch_user_id_queues(user_id, opts = {})
1283
- data, status_code, headers = patch_user_id_queues_with_http_info(user_id, opts)
1283
+ # @option opts [Geolocation] :body
1284
+ # @return [Geolocation]
1285
+ def patch_user_id_geolocations_client_id(user_id, client_id, opts = {})
1286
+ data, status_code, headers = patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts)
1284
1287
  return data
1285
1288
  end
1286
1289
 
1287
- # Join or unjoin a set of queues for a user
1288
- #
1289
- # @param user_id User ID
1290
+ # Patch a user&#39;s Geolocation
1291
+ # 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.
1292
+ # @param user_id user Id
1293
+ # @param client_id client Id
1290
1294
  # @param [Hash] opts the optional parameters
1291
- # @option opts [Array<UserQueue>] :body User Queues
1292
- # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1293
- def patch_user_id_queues_with_http_info(user_id, opts = {})
1295
+ # @option opts [Geolocation] :body
1296
+ # @return [Array<(Geolocation, Fixnum, Hash)>] Geolocation data, response status code and response headers
1297
+ def patch_user_id_geolocations_client_id_with_http_info(user_id, client_id, opts = {})
1294
1298
  if @api_client.config.debugging
1295
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues ..."
1299
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_geolocations_client_id ..."
1296
1300
  end
1297
1301
 
1298
1302
  # verify the required parameter 'user_id' is set
1299
- fail "Missing the required parameter 'user_id' when calling patch_user_id_queues" if user_id.nil?
1303
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_geolocations_client_id" if user_id.nil?
1304
+
1305
+ # verify the required parameter 'client_id' is set
1306
+ fail "Missing the required parameter 'client_id' when calling patch_user_id_geolocations_client_id" if client_id.nil?
1300
1307
 
1301
1308
  # resource path
1302
- path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1309
+ local_var_path = "/api/v2/users/{userId}/geolocations/{clientId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'clientId' + '}', client_id.to_s)
1303
1310
 
1304
1311
  # query parameters
1305
1312
  query_params = {}
@@ -1321,53 +1328,52 @@ module PureCloud
1321
1328
  # http body (model)
1322
1329
  post_body = @api_client.object_to_http_body(opts[:'body'])
1323
1330
 
1324
-
1325
1331
  auth_names = ['PureCloud Auth']
1326
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1332
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1327
1333
  :header_params => header_params,
1328
1334
  :query_params => query_params,
1329
1335
  :form_params => form_params,
1330
1336
  :body => post_body,
1331
1337
  :auth_names => auth_names,
1332
- :return_type => 'UserQueue')
1338
+ :return_type => 'Geolocation')
1333
1339
  if @api_client.config.debugging
1334
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1340
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id_geolocations_client_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1335
1341
  end
1336
1342
  return data, status_code, headers
1337
1343
  end
1338
1344
 
1339
- # Join or unjoin a queue for a user
1340
- #
1341
- # @param queue_id Queue ID
1342
- # @param user_id User ID
1345
+ # Patch a user's Presence
1346
+ # The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
1347
+ # @param user_id user Id
1348
+ # @param source source
1343
1349
  # @param [Hash] opts the optional parameters
1344
- # @option opts [UserQueue] :body Queue Member
1345
- # @return [UserQueue]
1346
- def patch_user_id_queues_queue_id(queue_id, user_id, opts = {})
1347
- data, status_code, headers = patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts)
1350
+ # @option opts [UserPresence] :body
1351
+ # @return [UserPresence]
1352
+ def patch_user_id_presences_source(user_id, source, opts = {})
1353
+ data, status_code, headers = patch_user_id_presences_source_with_http_info(user_id, source, opts)
1348
1354
  return data
1349
1355
  end
1350
1356
 
1351
- # Join or unjoin a queue for a user
1352
- #
1353
- # @param queue_id Queue ID
1354
- # @param user_id User ID
1357
+ # Patch a user&#39;s Presence
1358
+ # The presence object can be patched one of three ways. Option 1: Set the &#39;primary&#39; property to true. This will set the &#39;source&#39; defined in the path as the user&#39;s primary presence source. Option 2: Provide the presenceDefinition value. Option 3: Provide the message value. Option 1 can be combined with Option2 and/or Option 3.
1359
+ # @param user_id user Id
1360
+ # @param source source
1355
1361
  # @param [Hash] opts the optional parameters
1356
- # @option opts [UserQueue] :body Queue Member
1357
- # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1358
- def patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts = {})
1362
+ # @option opts [UserPresence] :body
1363
+ # @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
1364
+ def patch_user_id_presences_source_with_http_info(user_id, source, opts = {})
1359
1365
  if @api_client.config.debugging
1360
- @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues_queue_id ..."
1366
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_presences_source ..."
1361
1367
  end
1362
1368
 
1363
- # verify the required parameter 'queue_id' is set
1364
- fail "Missing the required parameter 'queue_id' when calling patch_user_id_queues_queue_id" if queue_id.nil?
1365
-
1366
1369
  # verify the required parameter 'user_id' is set
1367
- fail "Missing the required parameter 'user_id' when calling patch_user_id_queues_queue_id" if user_id.nil?
1370
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_presences_source" if user_id.nil?
1371
+
1372
+ # verify the required parameter 'source' is set
1373
+ fail "Missing the required parameter 'source' when calling patch_user_id_presences_source" if source.nil?
1368
1374
 
1369
1375
  # resource path
1370
- path = "/api/v2/users/{userId}/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
1376
+ local_var_path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
1371
1377
 
1372
1378
  # query parameters
1373
1379
  query_params = {}
@@ -1389,46 +1395,47 @@ module PureCloud
1389
1395
  # http body (model)
1390
1396
  post_body = @api_client.object_to_http_body(opts[:'body'])
1391
1397
 
1392
-
1393
1398
  auth_names = ['PureCloud Auth']
1394
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1399
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1395
1400
  :header_params => header_params,
1396
1401
  :query_params => query_params,
1397
1402
  :form_params => form_params,
1398
1403
  :body => post_body,
1399
1404
  :auth_names => auth_names,
1400
- :return_type => 'UserQueue')
1405
+ :return_type => 'UserPresence')
1401
1406
  if @api_client.config.debugging
1402
- @api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1407
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id_presences_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1403
1408
  end
1404
1409
  return data, status_code, headers
1405
1410
  end
1406
1411
 
1407
- # Returns a listing of roles and permissions for a user.
1412
+ # Join or unjoin a set of queues for a user
1408
1413
  #
1409
1414
  # @param user_id User ID
1410
1415
  # @param [Hash] opts the optional parameters
1411
- # @return [UserAuthorization]
1412
- def get_user_id_roles(user_id, opts = {})
1413
- data, status_code, headers = get_user_id_roles_with_http_info(user_id, opts)
1416
+ # @option opts [Array<UserQueue>] :body User Queues
1417
+ # @return [UserQueue]
1418
+ def patch_user_id_queues(user_id, opts = {})
1419
+ data, status_code, headers = patch_user_id_queues_with_http_info(user_id, opts)
1414
1420
  return data
1415
1421
  end
1416
1422
 
1417
- # Returns a listing of roles and permissions for a user.
1423
+ # Join or unjoin a set of queues for a user
1418
1424
  #
1419
1425
  # @param user_id User ID
1420
1426
  # @param [Hash] opts the optional parameters
1421
- # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
1422
- def get_user_id_roles_with_http_info(user_id, opts = {})
1427
+ # @option opts [Array<UserQueue>] :body User Queues
1428
+ # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1429
+ def patch_user_id_queues_with_http_info(user_id, opts = {})
1423
1430
  if @api_client.config.debugging
1424
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_roles ..."
1431
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues ..."
1425
1432
  end
1426
1433
 
1427
1434
  # verify the required parameter 'user_id' is set
1428
- fail "Missing the required parameter 'user_id' when calling get_user_id_roles" if user_id.nil?
1435
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_queues" if user_id.nil?
1429
1436
 
1430
1437
  # resource path
1431
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1438
+ local_var_path = "/api/v2/users/{userId}/queues".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1432
1439
 
1433
1440
  # query parameters
1434
1441
  query_params = {}
@@ -1448,50 +1455,54 @@ module PureCloud
1448
1455
  form_params = {}
1449
1456
 
1450
1457
  # http body (model)
1451
- post_body = nil
1458
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1452
1459
 
1453
-
1454
1460
  auth_names = ['PureCloud Auth']
1455
- data, status_code, headers = @api_client.call_api(:GET, path,
1461
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1456
1462
  :header_params => header_params,
1457
1463
  :query_params => query_params,
1458
1464
  :form_params => form_params,
1459
1465
  :body => post_body,
1460
1466
  :auth_names => auth_names,
1461
- :return_type => 'UserAuthorization')
1467
+ :return_type => 'UserQueue')
1462
1468
  if @api_client.config.debugging
1463
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1469
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1464
1470
  end
1465
1471
  return data, status_code, headers
1466
1472
  end
1467
1473
 
1468
- # Sets the user&#39;s roles
1474
+ # Join or unjoin a queue for a user
1469
1475
  #
1476
+ # @param queue_id Queue ID
1470
1477
  # @param user_id User ID
1471
1478
  # @param [Hash] opts the optional parameters
1472
- # @option opts [Array<String>] :body
1473
- # @return [UserAuthorization]
1474
- def put_user_id_roles(user_id, opts = {})
1475
- data, status_code, headers = put_user_id_roles_with_http_info(user_id, opts)
1479
+ # @option opts [UserQueue] :body Queue Member
1480
+ # @return [UserQueue]
1481
+ def patch_user_id_queues_queue_id(queue_id, user_id, opts = {})
1482
+ data, status_code, headers = patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts)
1476
1483
  return data
1477
1484
  end
1478
1485
 
1479
- # Sets the user&#39;s roles
1486
+ # Join or unjoin a queue for a user
1480
1487
  #
1488
+ # @param queue_id Queue ID
1481
1489
  # @param user_id User ID
1482
1490
  # @param [Hash] opts the optional parameters
1483
- # @option opts [Array<String>] :body
1484
- # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
1485
- def put_user_id_roles_with_http_info(user_id, opts = {})
1491
+ # @option opts [UserQueue] :body Queue Member
1492
+ # @return [Array<(UserQueue, Fixnum, Hash)>] UserQueue data, response status code and response headers
1493
+ def patch_user_id_queues_queue_id_with_http_info(queue_id, user_id, opts = {})
1486
1494
  if @api_client.config.debugging
1487
- @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_roles ..."
1495
+ @api_client.config.logger.debug "Calling API: UsersApi#patch_user_id_queues_queue_id ..."
1488
1496
  end
1489
1497
 
1498
+ # verify the required parameter 'queue_id' is set
1499
+ fail "Missing the required parameter 'queue_id' when calling patch_user_id_queues_queue_id" if queue_id.nil?
1500
+
1490
1501
  # verify the required parameter 'user_id' is set
1491
- fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
1502
+ fail "Missing the required parameter 'user_id' when calling patch_user_id_queues_queue_id" if user_id.nil?
1492
1503
 
1493
1504
  # resource path
1494
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1505
+ local_var_path = "/api/v2/users/{userId}/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
1495
1506
 
1496
1507
  # query parameters
1497
1508
  query_params = {}
@@ -1513,46 +1524,42 @@ module PureCloud
1513
1524
  # http body (model)
1514
1525
  post_body = @api_client.object_to_http_body(opts[:'body'])
1515
1526
 
1516
-
1517
1527
  auth_names = ['PureCloud Auth']
1518
- data, status_code, headers = @api_client.call_api(:PUT, path,
1528
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1519
1529
  :header_params => header_params,
1520
1530
  :query_params => query_params,
1521
1531
  :form_params => form_params,
1522
1532
  :body => post_body,
1523
1533
  :auth_names => auth_names,
1524
- :return_type => 'UserAuthorization')
1534
+ :return_type => 'UserQueue')
1525
1535
  if @api_client.config.debugging
1526
- @api_client.config.logger.debug "API called: UsersApi#put_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1536
+ @api_client.config.logger.debug "API called: UsersApi#patch_user_id_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1527
1537
  end
1528
1538
  return data, status_code, headers
1529
1539
  end
1530
1540
 
1531
- # Removes all the roles from the user.
1541
+ # Search
1532
1542
  #
1533
- # @param user_id User ID
1534
1543
  # @param [Hash] opts the optional parameters
1535
- # @return [nil]
1536
- def delete_user_id_roles(user_id, opts = {})
1537
- delete_user_id_roles_with_http_info(user_id, opts)
1538
- return nil
1544
+ # @option opts [SearchRequest] :body Search request options
1545
+ # @return [UsersSearchResponse]
1546
+ def post_search(opts = {})
1547
+ data, status_code, headers = post_search_with_http_info(opts)
1548
+ return data
1539
1549
  end
1540
1550
 
1541
- # Removes all the roles from the user.
1551
+ # Search
1542
1552
  #
1543
- # @param user_id User ID
1544
1553
  # @param [Hash] opts the optional parameters
1545
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1546
- def delete_user_id_roles_with_http_info(user_id, opts = {})
1554
+ # @option opts [SearchRequest] :body Search request options
1555
+ # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
1556
+ def post_search_with_http_info(opts = {})
1547
1557
  if @api_client.config.debugging
1548
- @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_roles ..."
1558
+ @api_client.config.logger.debug "Calling API: UsersApi#post_search ..."
1549
1559
  end
1550
1560
 
1551
- # verify the required parameter 'user_id' is set
1552
- fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
1553
-
1554
1561
  # resource path
1555
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1562
+ local_var_path = "/api/v2/users/search".sub('{format}','json')
1556
1563
 
1557
1564
  # query parameters
1558
1565
  query_params = {}
@@ -1572,63 +1579,52 @@ module PureCloud
1572
1579
  form_params = {}
1573
1580
 
1574
1581
  # http body (model)
1575
- post_body = nil
1582
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1576
1583
 
1577
-
1578
1584
  auth_names = ['PureCloud Auth']
1579
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1585
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1580
1586
  :header_params => header_params,
1581
1587
  :query_params => query_params,
1582
1588
  :form_params => form_params,
1583
1589
  :body => post_body,
1584
- :auth_names => auth_names)
1590
+ :auth_names => auth_names,
1591
+ :return_type => 'UsersSearchResponse')
1585
1592
  if @api_client.config.debugging
1586
- @api_client.config.logger.debug "API called: UsersApi#delete_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1593
+ @api_client.config.logger.debug "API called: UsersApi#post_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1587
1594
  end
1588
1595
  return data, status_code, headers
1589
1596
  end
1590
1597
 
1591
- # List routing skills for user
1598
+ # Add routing skill to user
1592
1599
  #
1593
1600
  # @param user_id User ID
1594
1601
  # @param [Hash] opts the optional parameters
1595
- # @option opts [Integer] :page_size Page size
1596
- # @option opts [Integer] :page_number Page number
1597
- # @option opts [String] :sort_order Ascending or descending sort order
1598
- # @return [UserSkillEntityListing]
1599
- def get_user_id_routingskills(user_id, opts = {})
1600
- data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
1602
+ # @option opts [UserRoutingSkill] :body Skill
1603
+ # @return [UserRoutingSkill]
1604
+ def post_user_id_routingskills(user_id, opts = {})
1605
+ data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
1601
1606
  return data
1602
1607
  end
1603
1608
 
1604
- # List routing skills for user
1609
+ # Add routing skill to user
1605
1610
  #
1606
1611
  # @param user_id User ID
1607
1612
  # @param [Hash] opts the optional parameters
1608
- # @option opts [Integer] :page_size Page size
1609
- # @option opts [Integer] :page_number Page number
1610
- # @option opts [String] :sort_order Ascending or descending sort order
1611
- # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
1612
- def get_user_id_routingskills_with_http_info(user_id, opts = {})
1613
+ # @option opts [UserRoutingSkill] :body Skill
1614
+ # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
1615
+ def post_user_id_routingskills_with_http_info(user_id, opts = {})
1613
1616
  if @api_client.config.debugging
1614
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingskills ..."
1615
- end
1616
-
1617
- # verify the required parameter 'user_id' is set
1618
- fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
1619
-
1620
- if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
1621
- fail 'invalid value for "sort_order", must be one of [ascending, descending]'
1617
+ @api_client.config.logger.debug "Calling API: UsersApi#post_user_id_routingskills ..."
1622
1618
  end
1623
1619
 
1620
+ # verify the required parameter 'user_id' is set
1621
+ fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
1622
+
1624
1623
  # resource path
1625
- path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1624
+ local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1626
1625
 
1627
1626
  # query parameters
1628
1627
  query_params = {}
1629
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1630
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1631
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1632
1628
 
1633
1629
  # header parameters
1634
1630
  header_params = {}
@@ -1645,50 +1641,44 @@ module PureCloud
1645
1641
  form_params = {}
1646
1642
 
1647
1643
  # http body (model)
1648
- post_body = nil
1644
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1649
1645
 
1650
-
1651
1646
  auth_names = ['PureCloud Auth']
1652
- data, status_code, headers = @api_client.call_api(:GET, path,
1647
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1653
1648
  :header_params => header_params,
1654
1649
  :query_params => query_params,
1655
1650
  :form_params => form_params,
1656
1651
  :body => post_body,
1657
1652
  :auth_names => auth_names,
1658
- :return_type => 'UserSkillEntityListing')
1653
+ :return_type => 'UserRoutingSkill')
1659
1654
  if @api_client.config.debugging
1660
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1655
+ @api_client.config.logger.debug "API called: UsersApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1661
1656
  end
1662
1657
  return data, status_code, headers
1663
1658
  end
1664
1659
 
1665
- # Add routing skill to user
1660
+ # Create user
1666
1661
  #
1667
- # @param user_id User ID
1668
1662
  # @param [Hash] opts the optional parameters
1669
- # @option opts [UserRoutingSkill] :body Skill
1670
- # @return [UserRoutingSkill]
1671
- def post_user_id_routingskills(user_id, opts = {})
1672
- data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
1663
+ # @option opts [CreateUser] :body User
1664
+ # @return [User]
1665
+ def post_users(opts = {})
1666
+ data, status_code, headers = post_users_with_http_info(opts)
1673
1667
  return data
1674
1668
  end
1675
1669
 
1676
- # Add routing skill to user
1670
+ # Create user
1677
1671
  #
1678
- # @param user_id User ID
1679
1672
  # @param [Hash] opts the optional parameters
1680
- # @option opts [UserRoutingSkill] :body Skill
1681
- # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
1682
- def post_user_id_routingskills_with_http_info(user_id, opts = {})
1673
+ # @option opts [CreateUser] :body User
1674
+ # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
1675
+ def post_users_with_http_info(opts = {})
1683
1676
  if @api_client.config.debugging
1684
- @api_client.config.logger.debug "Calling API: UsersApi#post_user_id_routingskills ..."
1677
+ @api_client.config.logger.debug "Calling API: UsersApi#post_users ..."
1685
1678
  end
1686
1679
 
1687
- # verify the required parameter 'user_id' is set
1688
- fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
1689
-
1690
1680
  # resource path
1691
- path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1681
+ local_var_path = "/api/v2/users".sub('{format}','json')
1692
1682
 
1693
1683
  # query parameters
1694
1684
  query_params = {}
@@ -1710,51 +1700,42 @@ module PureCloud
1710
1700
  # http body (model)
1711
1701
  post_body = @api_client.object_to_http_body(opts[:'body'])
1712
1702
 
1713
-
1714
1703
  auth_names = ['PureCloud Auth']
1715
- data, status_code, headers = @api_client.call_api(:POST, path,
1704
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1716
1705
  :header_params => header_params,
1717
1706
  :query_params => query_params,
1718
1707
  :form_params => form_params,
1719
1708
  :body => post_body,
1720
1709
  :auth_names => auth_names,
1721
- :return_type => 'UserRoutingSkill')
1710
+ :return_type => 'User')
1722
1711
  if @api_client.config.debugging
1723
- @api_client.config.logger.debug "API called: UsersApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1712
+ @api_client.config.logger.debug "API called: UsersApi#post_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1724
1713
  end
1725
1714
  return data, status_code, headers
1726
1715
  end
1727
1716
 
1728
- # Remove routing skill from user
1717
+ # Query for user aggregates
1729
1718
  #
1730
- # @param user_id User ID
1731
- # @param skill_id
1732
1719
  # @param [Hash] opts the optional parameters
1733
- # @return [String]
1734
- def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
1735
- data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
1720
+ # @option opts [AggregationQuery] :body query
1721
+ # @return [PresenceQueryResponse]
1722
+ def post_users_aggregates_query(opts = {})
1723
+ data, status_code, headers = post_users_aggregates_query_with_http_info(opts)
1736
1724
  return data
1737
1725
  end
1738
1726
 
1739
- # Remove routing skill from user
1727
+ # Query for user aggregates
1740
1728
  #
1741
- # @param user_id User ID
1742
- # @param skill_id
1743
1729
  # @param [Hash] opts the optional parameters
1744
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1745
- def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
1730
+ # @option opts [AggregationQuery] :body query
1731
+ # @return [Array<(PresenceQueryResponse, Fixnum, Hash)>] PresenceQueryResponse data, response status code and response headers
1732
+ def post_users_aggregates_query_with_http_info(opts = {})
1746
1733
  if @api_client.config.debugging
1747
- @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_routingskills_skill_id ..."
1734
+ @api_client.config.logger.debug "Calling API: UsersApi#post_users_aggregates_query ..."
1748
1735
  end
1749
1736
 
1750
- # verify the required parameter 'user_id' is set
1751
- fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
1752
-
1753
- # verify the required parameter 'skill_id' is set
1754
- fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
1755
-
1756
1737
  # resource path
1757
- path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
1738
+ local_var_path = "/api/v2/analytics/users/aggregates/query".sub('{format}','json')
1758
1739
 
1759
1740
  # query parameters
1760
1741
  query_params = {}
@@ -1774,48 +1755,44 @@ module PureCloud
1774
1755
  form_params = {}
1775
1756
 
1776
1757
  # http body (model)
1777
- post_body = nil
1758
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1778
1759
 
1779
-
1780
1760
  auth_names = ['PureCloud Auth']
1781
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1761
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1782
1762
  :header_params => header_params,
1783
1763
  :query_params => query_params,
1784
1764
  :form_params => form_params,
1785
1765
  :body => post_body,
1786
1766
  :auth_names => auth_names,
1787
- :return_type => 'String')
1767
+ :return_type => 'PresenceQueryResponse')
1788
1768
  if @api_client.config.debugging
1789
- @api_client.config.logger.debug "API called: UsersApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1769
+ @api_client.config.logger.debug "API called: UsersApi#post_users_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1790
1770
  end
1791
1771
  return data, status_code, headers
1792
1772
  end
1793
1773
 
1794
- # Fetch the routing status of a user
1774
+ # Query for user observations
1795
1775
  #
1796
- # @param user_id User ID
1797
1776
  # @param [Hash] opts the optional parameters
1798
- # @return [RoutingStatus]
1799
- def get_user_id_routingstatus(user_id, opts = {})
1800
- data, status_code, headers = get_user_id_routingstatus_with_http_info(user_id, opts)
1777
+ # @option opts [ObservationQuery] :body query
1778
+ # @return [ObservationQueryResponse]
1779
+ def post_users_observations_query(opts = {})
1780
+ data, status_code, headers = post_users_observations_query_with_http_info(opts)
1801
1781
  return data
1802
1782
  end
1803
1783
 
1804
- # Fetch the routing status of a user
1784
+ # Query for user observations
1805
1785
  #
1806
- # @param user_id User ID
1807
1786
  # @param [Hash] opts the optional parameters
1808
- # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
1809
- def get_user_id_routingstatus_with_http_info(user_id, opts = {})
1787
+ # @option opts [ObservationQuery] :body query
1788
+ # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
1789
+ def post_users_observations_query_with_http_info(opts = {})
1810
1790
  if @api_client.config.debugging
1811
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_routingstatus ..."
1791
+ @api_client.config.logger.debug "Calling API: UsersApi#post_users_observations_query ..."
1812
1792
  end
1813
1793
 
1814
- # verify the required parameter 'user_id' is set
1815
- fail "Missing the required parameter 'user_id' when calling get_user_id_routingstatus" if user_id.nil?
1816
-
1817
1794
  # resource path
1818
- path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1795
+ local_var_path = "/api/v2/analytics/users/observations/query".sub('{format}','json')
1819
1796
 
1820
1797
  # query parameters
1821
1798
  query_params = {}
@@ -1835,50 +1812,49 @@ module PureCloud
1835
1812
  form_params = {}
1836
1813
 
1837
1814
  # http body (model)
1838
- post_body = nil
1815
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1839
1816
 
1840
-
1841
1817
  auth_names = ['PureCloud Auth']
1842
- data, status_code, headers = @api_client.call_api(:GET, path,
1818
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1843
1819
  :header_params => header_params,
1844
1820
  :query_params => query_params,
1845
1821
  :form_params => form_params,
1846
1822
  :body => post_body,
1847
1823
  :auth_names => auth_names,
1848
- :return_type => 'RoutingStatus')
1824
+ :return_type => 'ObservationQueryResponse')
1849
1825
  if @api_client.config.debugging
1850
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1826
+ @api_client.config.logger.debug "API called: UsersApi#post_users_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1851
1827
  end
1852
1828
  return data, status_code, headers
1853
1829
  end
1854
1830
 
1855
- # Update the routing status of a user
1831
+ # Update a user's CallForwarding
1856
1832
  #
1857
1833
  # @param user_id User ID
1858
1834
  # @param [Hash] opts the optional parameters
1859
- # @option opts [RoutingStatus] :body Routing Status
1860
- # @return [RoutingStatus]
1861
- def put_user_id_routingstatus(user_id, opts = {})
1862
- data, status_code, headers = put_user_id_routingstatus_with_http_info(user_id, opts)
1835
+ # @option opts [CallForwarding] :body
1836
+ # @return [CallForwarding]
1837
+ def put_user_id_callforwarding(user_id, opts = {})
1838
+ data, status_code, headers = put_user_id_callforwarding_with_http_info(user_id, opts)
1863
1839
  return data
1864
1840
  end
1865
1841
 
1866
- # Update the routing status of a user
1842
+ # Update a user&#39;s CallForwarding
1867
1843
  #
1868
1844
  # @param user_id User ID
1869
1845
  # @param [Hash] opts the optional parameters
1870
- # @option opts [RoutingStatus] :body Routing Status
1871
- # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
1872
- def put_user_id_routingstatus_with_http_info(user_id, opts = {})
1846
+ # @option opts [CallForwarding] :body
1847
+ # @return [Array<(CallForwarding, Fixnum, Hash)>] CallForwarding data, response status code and response headers
1848
+ def put_user_id_callforwarding_with_http_info(user_id, opts = {})
1873
1849
  if @api_client.config.debugging
1874
- @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_routingstatus ..."
1850
+ @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_callforwarding ..."
1875
1851
  end
1876
1852
 
1877
1853
  # verify the required parameter 'user_id' is set
1878
- fail "Missing the required parameter 'user_id' when calling put_user_id_routingstatus" if user_id.nil?
1854
+ fail "Missing the required parameter 'user_id' when calling put_user_id_callforwarding" if user_id.nil?
1879
1855
 
1880
1856
  # resource path
1881
- path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1857
+ local_var_path = "/api/v2/users/{userId}/callforwarding".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1882
1858
 
1883
1859
  # query parameters
1884
1860
  query_params = {}
@@ -1900,46 +1876,50 @@ module PureCloud
1900
1876
  # http body (model)
1901
1877
  post_body = @api_client.object_to_http_body(opts[:'body'])
1902
1878
 
1903
-
1904
1879
  auth_names = ['PureCloud Auth']
1905
- data, status_code, headers = @api_client.call_api(:PUT, path,
1880
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1906
1881
  :header_params => header_params,
1907
1882
  :query_params => query_params,
1908
1883
  :form_params => form_params,
1909
1884
  :body => post_body,
1910
1885
  :auth_names => auth_names,
1911
- :return_type => 'RoutingStatus')
1886
+ :return_type => 'CallForwarding')
1912
1887
  if @api_client.config.debugging
1913
- @api_client.config.logger.debug "API called: UsersApi#put_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1888
+ @api_client.config.logger.debug "API called: UsersApi#put_user_id_callforwarding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1914
1889
  end
1915
1890
  return data, status_code, headers
1916
1891
  end
1917
1892
 
1918
- # Get station information for user
1893
+ # Update an OutOfOffice
1919
1894
  #
1920
1895
  # @param user_id User ID
1896
+ # @param body The updated UserPresence
1921
1897
  # @param [Hash] opts the optional parameters
1922
- # @return [UserStations]
1923
- def get_user_id_station(user_id, opts = {})
1924
- data, status_code, headers = get_user_id_station_with_http_info(user_id, opts)
1898
+ # @return [OutOfOffice]
1899
+ def put_user_id_outofoffice(user_id, body, opts = {})
1900
+ data, status_code, headers = put_user_id_outofoffice_with_http_info(user_id, body, opts)
1925
1901
  return data
1926
1902
  end
1927
1903
 
1928
- # Get station information for user
1904
+ # Update an OutOfOffice
1929
1905
  #
1930
1906
  # @param user_id User ID
1907
+ # @param body The updated UserPresence
1931
1908
  # @param [Hash] opts the optional parameters
1932
- # @return [Array<(UserStations, Fixnum, Hash)>] UserStations data, response status code and response headers
1933
- def get_user_id_station_with_http_info(user_id, opts = {})
1909
+ # @return [Array<(OutOfOffice, Fixnum, Hash)>] OutOfOffice data, response status code and response headers
1910
+ def put_user_id_outofoffice_with_http_info(user_id, body, opts = {})
1934
1911
  if @api_client.config.debugging
1935
- @api_client.config.logger.debug "Calling API: UsersApi#get_user_id_station ..."
1912
+ @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_outofoffice ..."
1936
1913
  end
1937
1914
 
1938
1915
  # verify the required parameter 'user_id' is set
1939
- fail "Missing the required parameter 'user_id' when calling get_user_id_station" if user_id.nil?
1916
+ fail "Missing the required parameter 'user_id' when calling put_user_id_outofoffice" if user_id.nil?
1917
+
1918
+ # verify the required parameter 'body' is set
1919
+ fail "Missing the required parameter 'body' when calling put_user_id_outofoffice" if body.nil?
1940
1920
 
1941
1921
  # resource path
1942
- path = "/api/v2/users/{userId}/station".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1922
+ local_var_path = "/api/v2/users/{userId}/outofoffice".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1943
1923
 
1944
1924
  # query parameters
1945
1925
  query_params = {}
@@ -1959,48 +1939,49 @@ module PureCloud
1959
1939
  form_params = {}
1960
1940
 
1961
1941
  # http body (model)
1962
- post_body = nil
1942
+ post_body = @api_client.object_to_http_body(body)
1963
1943
 
1964
-
1965
1944
  auth_names = ['PureCloud Auth']
1966
- data, status_code, headers = @api_client.call_api(:GET, path,
1945
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1967
1946
  :header_params => header_params,
1968
1947
  :query_params => query_params,
1969
1948
  :form_params => form_params,
1970
1949
  :body => post_body,
1971
1950
  :auth_names => auth_names,
1972
- :return_type => 'UserStations')
1951
+ :return_type => 'OutOfOffice')
1973
1952
  if @api_client.config.debugging
1974
- @api_client.config.logger.debug "API called: UsersApi#get_user_id_station\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1953
+ @api_client.config.logger.debug "API called: UsersApi#put_user_id_outofoffice\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1975
1954
  end
1976
1955
  return data, status_code, headers
1977
1956
  end
1978
1957
 
1979
- # Clear associated station
1958
+ # Sets the user's roles
1980
1959
  #
1981
1960
  # @param user_id User ID
1982
1961
  # @param [Hash] opts the optional parameters
1983
- # @return [nil]
1984
- def delete_user_id_station_associatedstation(user_id, opts = {})
1985
- delete_user_id_station_associatedstation_with_http_info(user_id, opts)
1986
- return nil
1962
+ # @option opts [Array<String>] :body
1963
+ # @return [UserAuthorization]
1964
+ def put_user_id_roles(user_id, opts = {})
1965
+ data, status_code, headers = put_user_id_roles_with_http_info(user_id, opts)
1966
+ return data
1987
1967
  end
1988
1968
 
1989
- # Clear associated station
1969
+ # Sets the user&#39;s roles
1990
1970
  #
1991
1971
  # @param user_id User ID
1992
1972
  # @param [Hash] opts the optional parameters
1993
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1994
- def delete_user_id_station_associatedstation_with_http_info(user_id, opts = {})
1973
+ # @option opts [Array<String>] :body
1974
+ # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
1975
+ def put_user_id_roles_with_http_info(user_id, opts = {})
1995
1976
  if @api_client.config.debugging
1996
- @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_associatedstation ..."
1977
+ @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_roles ..."
1997
1978
  end
1998
1979
 
1999
1980
  # verify the required parameter 'user_id' is set
2000
- fail "Missing the required parameter 'user_id' when calling delete_user_id_station_associatedstation" if user_id.nil?
1981
+ fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
2001
1982
 
2002
1983
  # resource path
2003
- path = "/api/v2/users/{userId}/station/associatedstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1984
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2004
1985
 
2005
1986
  # query parameters
2006
1987
  query_params = {}
@@ -2020,52 +2001,49 @@ module PureCloud
2020
2001
  form_params = {}
2021
2002
 
2022
2003
  # http body (model)
2023
- post_body = nil
2004
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2024
2005
 
2025
-
2026
2006
  auth_names = ['PureCloud Auth']
2027
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2007
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2028
2008
  :header_params => header_params,
2029
2009
  :query_params => query_params,
2030
2010
  :form_params => form_params,
2031
2011
  :body => post_body,
2032
- :auth_names => auth_names)
2012
+ :auth_names => auth_names,
2013
+ :return_type => 'UserAuthorization')
2033
2014
  if @api_client.config.debugging
2034
- @api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_associatedstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2015
+ @api_client.config.logger.debug "API called: UsersApi#put_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2035
2016
  end
2036
2017
  return data, status_code, headers
2037
2018
  end
2038
2019
 
2039
- # Set associated station
2020
+ # Update the routing status of a user
2040
2021
  #
2041
2022
  # @param user_id User ID
2042
- # @param station_id
2043
2023
  # @param [Hash] opts the optional parameters
2044
- # @return [nil]
2045
- def put_user_id_station_associatedstation_station_id(user_id, station_id, opts = {})
2046
- put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts)
2047
- return nil
2024
+ # @option opts [RoutingStatus] :body Routing Status
2025
+ # @return [RoutingStatus]
2026
+ def put_user_id_routingstatus(user_id, opts = {})
2027
+ data, status_code, headers = put_user_id_routingstatus_with_http_info(user_id, opts)
2028
+ return data
2048
2029
  end
2049
2030
 
2050
- # Set associated station
2031
+ # Update the routing status of a user
2051
2032
  #
2052
2033
  # @param user_id User ID
2053
- # @param station_id
2054
2034
  # @param [Hash] opts the optional parameters
2055
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2056
- def put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts = {})
2035
+ # @option opts [RoutingStatus] :body Routing Status
2036
+ # @return [Array<(RoutingStatus, Fixnum, Hash)>] RoutingStatus data, response status code and response headers
2037
+ def put_user_id_routingstatus_with_http_info(user_id, opts = {})
2057
2038
  if @api_client.config.debugging
2058
- @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_station_associatedstation_station_id ..."
2039
+ @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_routingstatus ..."
2059
2040
  end
2060
2041
 
2061
2042
  # verify the required parameter 'user_id' is set
2062
- fail "Missing the required parameter 'user_id' when calling put_user_id_station_associatedstation_station_id" if user_id.nil?
2063
-
2064
- # verify the required parameter 'station_id' is set
2065
- fail "Missing the required parameter 'station_id' when calling put_user_id_station_associatedstation_station_id" if station_id.nil?
2043
+ fail "Missing the required parameter 'user_id' when calling put_user_id_routingstatus" if user_id.nil?
2066
2044
 
2067
2045
  # resource path
2068
- path = "/api/v2/users/{userId}/station/associatedstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
2046
+ local_var_path = "/api/v2/users/{userId}/routingstatus".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2069
2047
 
2070
2048
  # query parameters
2071
2049
  query_params = {}
@@ -2085,47 +2063,52 @@ module PureCloud
2085
2063
  form_params = {}
2086
2064
 
2087
2065
  # http body (model)
2088
- post_body = nil
2066
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2089
2067
 
2090
-
2091
2068
  auth_names = ['PureCloud Auth']
2092
- data, status_code, headers = @api_client.call_api(:PUT, path,
2069
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2093
2070
  :header_params => header_params,
2094
2071
  :query_params => query_params,
2095
2072
  :form_params => form_params,
2096
2073
  :body => post_body,
2097
- :auth_names => auth_names)
2074
+ :auth_names => auth_names,
2075
+ :return_type => 'RoutingStatus')
2098
2076
  if @api_client.config.debugging
2099
- @api_client.config.logger.debug "API called: UsersApi#put_user_id_station_associatedstation_station_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2077
+ @api_client.config.logger.debug "API called: UsersApi#put_user_id_routingstatus\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2100
2078
  end
2101
2079
  return data, status_code, headers
2102
2080
  end
2103
2081
 
2104
- # Clear default station
2082
+ # Set associated station
2105
2083
  #
2106
2084
  # @param user_id User ID
2085
+ # @param station_id
2107
2086
  # @param [Hash] opts the optional parameters
2108
2087
  # @return [nil]
2109
- def delete_user_id_station_defaultstation(user_id, opts = {})
2110
- delete_user_id_station_defaultstation_with_http_info(user_id, opts)
2088
+ def put_user_id_station_associatedstation_station_id(user_id, station_id, opts = {})
2089
+ put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts)
2111
2090
  return nil
2112
2091
  end
2113
2092
 
2114
- # Clear default station
2093
+ # Set associated station
2115
2094
  #
2116
2095
  # @param user_id User ID
2096
+ # @param station_id
2117
2097
  # @param [Hash] opts the optional parameters
2118
2098
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2119
- def delete_user_id_station_defaultstation_with_http_info(user_id, opts = {})
2099
+ def put_user_id_station_associatedstation_station_id_with_http_info(user_id, station_id, opts = {})
2120
2100
  if @api_client.config.debugging
2121
- @api_client.config.logger.debug "Calling API: UsersApi#delete_user_id_station_defaultstation ..."
2101
+ @api_client.config.logger.debug "Calling API: UsersApi#put_user_id_station_associatedstation_station_id ..."
2122
2102
  end
2123
2103
 
2124
2104
  # verify the required parameter 'user_id' is set
2125
- fail "Missing the required parameter 'user_id' when calling delete_user_id_station_defaultstation" if user_id.nil?
2105
+ fail "Missing the required parameter 'user_id' when calling put_user_id_station_associatedstation_station_id" if user_id.nil?
2106
+
2107
+ # verify the required parameter 'station_id' is set
2108
+ fail "Missing the required parameter 'station_id' when calling put_user_id_station_associatedstation_station_id" if station_id.nil?
2126
2109
 
2127
2110
  # resource path
2128
- path = "/api/v2/users/{userId}/station/defaultstation".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2111
+ local_var_path = "/api/v2/users/{userId}/station/associatedstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
2129
2112
 
2130
2113
  # query parameters
2131
2114
  query_params = {}
@@ -2147,16 +2130,15 @@ module PureCloud
2147
2130
  # http body (model)
2148
2131
  post_body = nil
2149
2132
 
2150
-
2151
2133
  auth_names = ['PureCloud Auth']
2152
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2134
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2153
2135
  :header_params => header_params,
2154
2136
  :query_params => query_params,
2155
2137
  :form_params => form_params,
2156
2138
  :body => post_body,
2157
2139
  :auth_names => auth_names)
2158
2140
  if @api_client.config.debugging
2159
- @api_client.config.logger.debug "API called: UsersApi#delete_user_id_station_defaultstation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2141
+ @api_client.config.logger.debug "API called: UsersApi#put_user_id_station_associatedstation_station_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2160
2142
  end
2161
2143
  return data, status_code, headers
2162
2144
  end
@@ -2190,7 +2172,7 @@ module PureCloud
2190
2172
  fail "Missing the required parameter 'station_id' when calling put_user_id_station_defaultstation_station_id" if station_id.nil?
2191
2173
 
2192
2174
  # resource path
2193
- path = "/api/v2/users/{userId}/station/defaultstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
2175
+ local_var_path = "/api/v2/users/{userId}/station/defaultstation/{stationId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'stationId' + '}', station_id.to_s)
2194
2176
 
2195
2177
  # query parameters
2196
2178
  query_params = {}
@@ -2212,9 +2194,8 @@ module PureCloud
2212
2194
  # http body (model)
2213
2195
  post_body = nil
2214
2196
 
2215
-
2216
2197
  auth_names = ['PureCloud Auth']
2217
- data, status_code, headers = @api_client.call_api(:PUT, path,
2198
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2218
2199
  :header_params => header_params,
2219
2200
  :query_params => query_params,
2220
2201
  :form_params => form_params,
@@ -2227,7 +2208,3 @@ module PureCloud
2227
2208
  end
2228
2209
  end
2229
2210
  end
2230
-
2231
-
2232
-
2233
-