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,36 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Query for queue observations
27
+ # Delete a route
12
28
  #
29
+ # @param domain email domain
30
+ # @param id route ID
13
31
  # @param [Hash] opts the optional parameters
14
- # @option opts [ObservationQuery] :body query
15
- # @return [ObservationQueryResponse]
16
- def post_queues_observations_query(opts = {})
17
- data, status_code, headers = post_queues_observations_query_with_http_info(opts)
32
+ # @return [String]
33
+ def delete_email_domains_domain_routes_id(domain, id, opts = {})
34
+ data, status_code, headers = delete_email_domains_domain_routes_id_with_http_info(domain, id, opts)
18
35
  return data
19
36
  end
20
37
 
21
- # Query for queue observations
38
+ # Delete a route
22
39
  #
40
+ # @param domain email domain
41
+ # @param id route ID
23
42
  # @param [Hash] opts the optional parameters
24
- # @option opts [ObservationQuery] :body query
25
- # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
26
- def post_queues_observations_query_with_http_info(opts = {})
43
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
44
+ def delete_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
27
45
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_observations_query ..."
46
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domains_domain_routes_id ..."
29
47
  end
30
48
 
49
+ # verify the required parameter 'domain' is set
50
+ fail "Missing the required parameter 'domain' when calling delete_email_domains_domain_routes_id" if domain.nil?
51
+
52
+ # verify the required parameter 'id' is set
53
+ fail "Missing the required parameter 'id' when calling delete_email_domains_domain_routes_id" if id.nil?
54
+
31
55
  # resource path
32
- path = "/api/v2/analytics/queues/observations/query".sub('{format}','json')
56
+ local_var_path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
33
57
 
34
58
  # query parameters
35
59
  query_params = {}
@@ -49,43 +73,47 @@ module PureCloud
49
73
  form_params = {}
50
74
 
51
75
  # http body (model)
52
- post_body = @api_client.object_to_http_body(opts[:'body'])
76
+ post_body = nil
53
77
 
54
-
55
78
  auth_names = ['PureCloud Auth']
56
- data, status_code, headers = @api_client.call_api(:POST, path,
79
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
57
80
  :header_params => header_params,
58
81
  :query_params => query_params,
59
82
  :form_params => form_params,
60
83
  :body => post_body,
61
84
  :auth_names => auth_names,
62
- :return_type => 'ObservationQueryResponse')
85
+ :return_type => 'String')
63
86
  if @api_client.config.debugging
64
- @api_client.config.logger.debug "API called: RoutingApi#post_queues_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: RoutingApi#delete_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
65
88
  end
66
89
  return data, status_code, headers
67
90
  end
68
91
 
69
- # Get domains
92
+ # Delete a domain
70
93
  #
94
+ # @param id domain ID
71
95
  # @param [Hash] opts the optional parameters
72
- # @return [InboundDomainEntityListing]
73
- def get_email_domains(opts = {})
74
- data, status_code, headers = get_email_domains_with_http_info(opts)
96
+ # @return [String]
97
+ def delete_email_domains_id(id, opts = {})
98
+ data, status_code, headers = delete_email_domains_id_with_http_info(id, opts)
75
99
  return data
76
100
  end
77
101
 
78
- # Get domains
102
+ # Delete a domain
79
103
  #
104
+ # @param id domain ID
80
105
  # @param [Hash] opts the optional parameters
81
- # @return [Array<(InboundDomainEntityListing, Fixnum, Hash)>] InboundDomainEntityListing data, response status code and response headers
82
- def get_email_domains_with_http_info(opts = {})
106
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
107
+ def delete_email_domains_id_with_http_info(id, opts = {})
83
108
  if @api_client.config.debugging
84
- @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains ..."
109
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domains_id ..."
85
110
  end
86
111
 
112
+ # verify the required parameter 'id' is set
113
+ fail "Missing the required parameter 'id' when calling delete_email_domains_id" if id.nil?
114
+
87
115
  # resource path
88
- path = "/api/v2/routing/email/domains".sub('{format}','json')
116
+ local_var_path = "/api/v2/routing/email/domains/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
89
117
 
90
118
  # query parameters
91
119
  query_params = {}
@@ -107,46 +135,51 @@ module PureCloud
107
135
  # http body (model)
108
136
  post_body = nil
109
137
 
110
-
111
138
  auth_names = ['PureCloud Auth']
112
- data, status_code, headers = @api_client.call_api(:GET, path,
139
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
113
140
  :header_params => header_params,
114
141
  :query_params => query_params,
115
142
  :form_params => form_params,
116
143
  :body => post_body,
117
144
  :auth_names => auth_names,
118
- :return_type => 'InboundDomainEntityListing')
145
+ :return_type => 'String')
119
146
  if @api_client.config.debugging
120
- @api_client.config.logger.debug "API called: RoutingApi#get_email_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: RoutingApi#delete_email_domains_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
148
  end
122
149
  return data, status_code, headers
123
150
  end
124
151
 
125
- # Create a domain
152
+ # Delete a queue
126
153
  #
154
+ # @param queue_id Queue ID
127
155
  # @param [Hash] opts the optional parameters
128
- # @option opts [InboundDomain] :body Domain
129
- # @return [InboundDomain]
130
- def post_email_domains(opts = {})
131
- data, status_code, headers = post_email_domains_with_http_info(opts)
156
+ # @option opts [BOOLEAN] :force_delete
157
+ # @return [String]
158
+ def delete_queues_queue_id(queue_id, opts = {})
159
+ data, status_code, headers = delete_queues_queue_id_with_http_info(queue_id, opts)
132
160
  return data
133
161
  end
134
162
 
135
- # Create a domain
163
+ # Delete a queue
136
164
  #
165
+ # @param queue_id Queue ID
137
166
  # @param [Hash] opts the optional parameters
138
- # @option opts [InboundDomain] :body Domain
139
- # @return [Array<(InboundDomain, Fixnum, Hash)>] InboundDomain data, response status code and response headers
140
- def post_email_domains_with_http_info(opts = {})
167
+ # @option opts [BOOLEAN] :force_delete
168
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
169
+ def delete_queues_queue_id_with_http_info(queue_id, opts = {})
141
170
  if @api_client.config.debugging
142
- @api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains ..."
171
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id ..."
143
172
  end
144
173
 
174
+ # verify the required parameter 'queue_id' is set
175
+ fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id" if queue_id.nil?
176
+
145
177
  # resource path
146
- path = "/api/v2/routing/email/domains".sub('{format}','json')
178
+ local_var_path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
147
179
 
148
180
  # query parameters
149
181
  query_params = {}
182
+ query_params[:'forceDelete'] = opts[:'force_delete'] if opts[:'force_delete']
150
183
 
151
184
  # header parameters
152
185
  header_params = {}
@@ -163,48 +196,52 @@ module PureCloud
163
196
  form_params = {}
164
197
 
165
198
  # http body (model)
166
- post_body = @api_client.object_to_http_body(opts[:'body'])
199
+ post_body = nil
167
200
 
168
-
169
201
  auth_names = ['PureCloud Auth']
170
- data, status_code, headers = @api_client.call_api(:POST, path,
202
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
171
203
  :header_params => header_params,
172
204
  :query_params => query_params,
173
205
  :form_params => form_params,
174
206
  :body => post_body,
175
207
  :auth_names => auth_names,
176
- :return_type => 'InboundDomain')
208
+ :return_type => 'String')
177
209
  if @api_client.config.debugging
178
- @api_client.config.logger.debug "API called: RoutingApi#post_email_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
+ @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
179
211
  end
180
212
  return data, status_code, headers
181
213
  end
182
214
 
183
- # Get routes
215
+ # Delete queue member
184
216
  #
185
- # @param domain email domain
217
+ # @param queue_id Queue ID
218
+ # @param member_id Member ID
186
219
  # @param [Hash] opts the optional parameters
187
- # @return [InboundRouteEntityListing]
188
- def get_email_domains_domain_routes(domain, opts = {})
189
- data, status_code, headers = get_email_domains_domain_routes_with_http_info(domain, opts)
220
+ # @return [String]
221
+ def delete_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
222
+ data, status_code, headers = delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
190
223
  return data
191
224
  end
192
225
 
193
- # Get routes
226
+ # Delete queue member
194
227
  #
195
- # @param domain email domain
228
+ # @param queue_id Queue ID
229
+ # @param member_id Member ID
196
230
  # @param [Hash] opts the optional parameters
197
- # @return [Array<(InboundRouteEntityListing, Fixnum, Hash)>] InboundRouteEntityListing data, response status code and response headers
198
- def get_email_domains_domain_routes_with_http_info(domain, opts = {})
231
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
232
+ def delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
199
233
  if @api_client.config.debugging
200
- @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains_domain_routes ..."
234
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_users_member_id ..."
201
235
  end
202
236
 
203
- # verify the required parameter 'domain' is set
204
- fail "Missing the required parameter 'domain' when calling get_email_domains_domain_routes" if domain.nil?
237
+ # verify the required parameter 'queue_id' is set
238
+ fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_users_member_id" if queue_id.nil?
239
+
240
+ # verify the required parameter 'member_id' is set
241
+ fail "Missing the required parameter 'member_id' when calling delete_queues_queue_id_users_member_id" if member_id.nil?
205
242
 
206
243
  # resource path
207
- path = "/api/v2/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
244
+ local_var_path = "/api/v2/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
208
245
 
209
246
  # query parameters
210
247
  query_params = {}
@@ -226,48 +263,50 @@ module PureCloud
226
263
  # http body (model)
227
264
  post_body = nil
228
265
 
229
-
230
266
  auth_names = ['PureCloud Auth']
231
- data, status_code, headers = @api_client.call_api(:GET, path,
267
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
232
268
  :header_params => header_params,
233
269
  :query_params => query_params,
234
270
  :form_params => form_params,
235
271
  :body => post_body,
236
272
  :auth_names => auth_names,
237
- :return_type => 'InboundRouteEntityListing')
273
+ :return_type => 'String')
238
274
  if @api_client.config.debugging
239
- @api_client.config.logger.debug "API called: RoutingApi#get_email_domains_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
275
+ @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
240
276
  end
241
277
  return data, status_code, headers
242
278
  end
243
279
 
244
- # Create a route
280
+ # Delete a wrap-up code from a queue
245
281
  #
246
- # @param domain email domain
282
+ # @param queue_id Queue ID
283
+ # @param code_id Code ID
247
284
  # @param [Hash] opts the optional parameters
248
- # @option opts [InboundRoute] :body Route
249
- # @return [InboundRoute]
250
- def post_email_domains_domain_routes(domain, opts = {})
251
- data, status_code, headers = post_email_domains_domain_routes_with_http_info(domain, opts)
285
+ # @return [String]
286
+ def delete_queues_queue_id_wrapupcodes_code_id(queue_id, code_id, opts = {})
287
+ data, status_code, headers = delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts)
252
288
  return data
253
289
  end
254
290
 
255
- # Create a route
291
+ # Delete a wrap-up code from a queue
256
292
  #
257
- # @param domain email domain
293
+ # @param queue_id Queue ID
294
+ # @param code_id Code ID
258
295
  # @param [Hash] opts the optional parameters
259
- # @option opts [InboundRoute] :body Route
260
- # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
261
- def post_email_domains_domain_routes_with_http_info(domain, opts = {})
296
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
297
+ def delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts = {})
262
298
  if @api_client.config.debugging
263
- @api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains_domain_routes ..."
299
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id ..."
264
300
  end
265
301
 
266
- # verify the required parameter 'domain' is set
267
- fail "Missing the required parameter 'domain' when calling post_email_domains_domain_routes" if domain.nil?
302
+ # verify the required parameter 'queue_id' is set
303
+ fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if queue_id.nil?
304
+
305
+ # verify the required parameter 'code_id' is set
306
+ fail "Missing the required parameter 'code_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if code_id.nil?
268
307
 
269
308
  # resource path
270
- path = "/api/v2/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
309
+ local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
271
310
 
272
311
  # query parameters
273
312
  query_params = {}
@@ -287,53 +326,47 @@ module PureCloud
287
326
  form_params = {}
288
327
 
289
328
  # http body (model)
290
- post_body = @api_client.object_to_http_body(opts[:'body'])
329
+ post_body = nil
291
330
 
292
-
293
331
  auth_names = ['PureCloud Auth']
294
- data, status_code, headers = @api_client.call_api(:POST, path,
332
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
295
333
  :header_params => header_params,
296
334
  :query_params => query_params,
297
335
  :form_params => form_params,
298
336
  :body => post_body,
299
337
  :auth_names => auth_names,
300
- :return_type => 'InboundRoute')
338
+ :return_type => 'String')
301
339
  if @api_client.config.debugging
302
- @api_client.config.logger.debug "API called: RoutingApi#post_email_domains_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
340
+ @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
303
341
  end
304
342
  return data, status_code, headers
305
343
  end
306
344
 
307
- # Get a route
345
+ # Delete Routing Skill
308
346
  #
309
- # @param domain email domain
310
- # @param id route ID
347
+ # @param skill_id Skill ID
311
348
  # @param [Hash] opts the optional parameters
312
- # @return [InboundRoute]
313
- def get_email_domains_domain_routes_id(domain, id, opts = {})
314
- data, status_code, headers = get_email_domains_domain_routes_id_with_http_info(domain, id, opts)
349
+ # @return [String]
350
+ def delete_skills_skill_id(skill_id, opts = {})
351
+ data, status_code, headers = delete_skills_skill_id_with_http_info(skill_id, opts)
315
352
  return data
316
353
  end
317
354
 
318
- # Get a route
355
+ # Delete Routing Skill
319
356
  #
320
- # @param domain email domain
321
- # @param id route ID
357
+ # @param skill_id Skill ID
322
358
  # @param [Hash] opts the optional parameters
323
- # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
324
- def get_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
359
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
360
+ def delete_skills_skill_id_with_http_info(skill_id, opts = {})
325
361
  if @api_client.config.debugging
326
- @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains_domain_routes_id ..."
362
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_skills_skill_id ..."
327
363
  end
328
364
 
329
- # verify the required parameter 'domain' is set
330
- fail "Missing the required parameter 'domain' when calling get_email_domains_domain_routes_id" if domain.nil?
331
-
332
- # verify the required parameter 'id' is set
333
- fail "Missing the required parameter 'id' when calling get_email_domains_domain_routes_id" if id.nil?
365
+ # verify the required parameter 'skill_id' is set
366
+ fail "Missing the required parameter 'skill_id' when calling delete_skills_skill_id" if skill_id.nil?
334
367
 
335
368
  # resource path
336
- path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
369
+ local_var_path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
337
370
 
338
371
  # query parameters
339
372
  query_params = {}
@@ -355,53 +388,50 @@ module PureCloud
355
388
  # http body (model)
356
389
  post_body = nil
357
390
 
358
-
359
391
  auth_names = ['PureCloud Auth']
360
- data, status_code, headers = @api_client.call_api(:GET, path,
392
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
361
393
  :header_params => header_params,
362
394
  :query_params => query_params,
363
395
  :form_params => form_params,
364
396
  :body => post_body,
365
397
  :auth_names => auth_names,
366
- :return_type => 'InboundRoute')
398
+ :return_type => 'String')
367
399
  if @api_client.config.debugging
368
- @api_client.config.logger.debug "API called: RoutingApi#get_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
400
+ @api_client.config.logger.debug "API called: RoutingApi#delete_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
369
401
  end
370
402
  return data, status_code, headers
371
403
  end
372
404
 
373
- # Update a route
405
+ # Remove routing skill from user
374
406
  #
375
- # @param domain email domain
376
- # @param id route ID
407
+ # @param user_id User ID
408
+ # @param skill_id
377
409
  # @param [Hash] opts the optional parameters
378
- # @option opts [InboundRoute] :body Route
379
- # @return [InboundRoute]
380
- def put_email_domains_domain_routes_id(domain, id, opts = {})
381
- data, status_code, headers = put_email_domains_domain_routes_id_with_http_info(domain, id, opts)
410
+ # @return [String]
411
+ def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
412
+ data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
382
413
  return data
383
414
  end
384
415
 
385
- # Update a route
416
+ # Remove routing skill from user
386
417
  #
387
- # @param domain email domain
388
- # @param id route ID
418
+ # @param user_id User ID
419
+ # @param skill_id
389
420
  # @param [Hash] opts the optional parameters
390
- # @option opts [InboundRoute] :body Route
391
- # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
392
- def put_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
421
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
422
+ def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
393
423
  if @api_client.config.debugging
394
- @api_client.config.logger.debug "Calling API: RoutingApi#put_email_domains_domain_routes_id ..."
424
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_user_id_routingskills_skill_id ..."
395
425
  end
396
426
 
397
- # verify the required parameter 'domain' is set
398
- fail "Missing the required parameter 'domain' when calling put_email_domains_domain_routes_id" if domain.nil?
427
+ # verify the required parameter 'user_id' is set
428
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
399
429
 
400
- # verify the required parameter 'id' is set
401
- fail "Missing the required parameter 'id' when calling put_email_domains_domain_routes_id" if id.nil?
430
+ # verify the required parameter 'skill_id' is set
431
+ fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
402
432
 
403
433
  # resource path
404
- path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
434
+ local_var_path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
405
435
 
406
436
  # query parameters
407
437
  query_params = {}
@@ -421,53 +451,42 @@ module PureCloud
421
451
  form_params = {}
422
452
 
423
453
  # http body (model)
424
- post_body = @api_client.object_to_http_body(opts[:'body'])
454
+ post_body = nil
425
455
 
426
-
427
456
  auth_names = ['PureCloud Auth']
428
- data, status_code, headers = @api_client.call_api(:PUT, path,
457
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
429
458
  :header_params => header_params,
430
459
  :query_params => query_params,
431
460
  :form_params => form_params,
432
461
  :body => post_body,
433
462
  :auth_names => auth_names,
434
- :return_type => 'InboundRoute')
463
+ :return_type => 'String')
435
464
  if @api_client.config.debugging
436
- @api_client.config.logger.debug "API called: RoutingApi#put_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
465
+ @api_client.config.logger.debug "API called: RoutingApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
466
  end
438
467
  return data, status_code, headers
439
468
  end
440
469
 
441
- # Delete a route
470
+ # Delete utilization settings and revert to system defaults.
442
471
  #
443
- # @param domain email domain
444
- # @param id route ID
445
472
  # @param [Hash] opts the optional parameters
446
473
  # @return [String]
447
- def delete_email_domains_domain_routes_id(domain, id, opts = {})
448
- data, status_code, headers = delete_email_domains_domain_routes_id_with_http_info(domain, id, opts)
474
+ def delete_utilization(opts = {})
475
+ data, status_code, headers = delete_utilization_with_http_info(opts)
449
476
  return data
450
477
  end
451
478
 
452
- # Delete a route
479
+ # Delete utilization settings and revert to system defaults.
453
480
  #
454
- # @param domain email domain
455
- # @param id route ID
456
481
  # @param [Hash] opts the optional parameters
457
482
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
458
- def delete_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
483
+ def delete_utilization_with_http_info(opts = {})
459
484
  if @api_client.config.debugging
460
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domains_domain_routes_id ..."
485
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_utilization ..."
461
486
  end
462
487
 
463
- # verify the required parameter 'domain' is set
464
- fail "Missing the required parameter 'domain' when calling delete_email_domains_domain_routes_id" if domain.nil?
465
-
466
- # verify the required parameter 'id' is set
467
- fail "Missing the required parameter 'id' when calling delete_email_domains_domain_routes_id" if id.nil?
468
-
469
488
  # resource path
470
- path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
489
+ local_var_path = "/api/v2/routing/utilization".sub('{format}','json')
471
490
 
472
491
  # query parameters
473
492
  query_params = {}
@@ -489,9 +508,8 @@ module PureCloud
489
508
  # http body (model)
490
509
  post_body = nil
491
510
 
492
-
493
511
  auth_names = ['PureCloud Auth']
494
- data, status_code, headers = @api_client.call_api(:DELETE, path,
512
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
495
513
  :header_params => header_params,
496
514
  :query_params => query_params,
497
515
  :form_params => form_params,
@@ -499,36 +517,36 @@ module PureCloud
499
517
  :auth_names => auth_names,
500
518
  :return_type => 'String')
501
519
  if @api_client.config.debugging
502
- @api_client.config.logger.debug "API called: RoutingApi#delete_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
520
+ @api_client.config.logger.debug "API called: RoutingApi#delete_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
503
521
  end
504
522
  return data, status_code, headers
505
523
  end
506
524
 
507
- # Delete a domain
525
+ # Delete wrap-up code
508
526
  #
509
- # @param id domain ID
527
+ # @param code_id Wrapup Code ID
510
528
  # @param [Hash] opts the optional parameters
511
529
  # @return [String]
512
- def delete_email_domains_id(id, opts = {})
513
- data, status_code, headers = delete_email_domains_id_with_http_info(id, opts)
530
+ def delete_wrapupcodes_code_id(code_id, opts = {})
531
+ data, status_code, headers = delete_wrapupcodes_code_id_with_http_info(code_id, opts)
514
532
  return data
515
533
  end
516
534
 
517
- # Delete a domain
535
+ # Delete wrap-up code
518
536
  #
519
- # @param id domain ID
537
+ # @param code_id Wrapup Code ID
520
538
  # @param [Hash] opts the optional parameters
521
539
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
522
- def delete_email_domains_id_with_http_info(id, opts = {})
540
+ def delete_wrapupcodes_code_id_with_http_info(code_id, opts = {})
523
541
  if @api_client.config.debugging
524
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_email_domains_id ..."
542
+ @api_client.config.logger.debug "Calling API: RoutingApi#delete_wrapupcodes_code_id ..."
525
543
  end
526
544
 
527
- # verify the required parameter 'id' is set
528
- fail "Missing the required parameter 'id' when calling delete_email_domains_id" if id.nil?
545
+ # verify the required parameter 'code_id' is set
546
+ fail "Missing the required parameter 'code_id' when calling delete_wrapupcodes_code_id" if code_id.nil?
529
547
 
530
548
  # resource path
531
- path = "/api/v2/routing/email/domains/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
549
+ local_var_path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
532
550
 
533
551
  # query parameters
534
552
  query_params = {}
@@ -550,9 +568,8 @@ module PureCloud
550
568
  # http body (model)
551
569
  post_body = nil
552
570
 
553
-
554
571
  auth_names = ['PureCloud Auth']
555
- data, status_code, headers = @api_client.call_api(:DELETE, path,
572
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
556
573
  :header_params => header_params,
557
574
  :query_params => query_params,
558
575
  :form_params => form_params,
@@ -560,31 +577,31 @@ module PureCloud
560
577
  :auth_names => auth_names,
561
578
  :return_type => 'String')
562
579
  if @api_client.config.debugging
563
- @api_client.config.logger.debug "API called: RoutingApi#delete_email_domains_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
580
+ @api_client.config.logger.debug "API called: RoutingApi#delete_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
564
581
  end
565
582
  return data, status_code, headers
566
583
  end
567
584
 
568
- # Get email setup
585
+ # Get domains
569
586
  #
570
587
  # @param [Hash] opts the optional parameters
571
- # @return [EmailSetup]
572
- def get_email_setup(opts = {})
573
- data, status_code, headers = get_email_setup_with_http_info(opts)
588
+ # @return [InboundDomainEntityListing]
589
+ def get_email_domains(opts = {})
590
+ data, status_code, headers = get_email_domains_with_http_info(opts)
574
591
  return data
575
592
  end
576
593
 
577
- # Get email setup
594
+ # Get domains
578
595
  #
579
596
  # @param [Hash] opts the optional parameters
580
- # @return [Array<(EmailSetup, Fixnum, Hash)>] EmailSetup data, response status code and response headers
581
- def get_email_setup_with_http_info(opts = {})
597
+ # @return [Array<(InboundDomainEntityListing, Fixnum, Hash)>] InboundDomainEntityListing data, response status code and response headers
598
+ def get_email_domains_with_http_info(opts = {})
582
599
  if @api_client.config.debugging
583
- @api_client.config.logger.debug "Calling API: RoutingApi#get_email_setup ..."
600
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains ..."
584
601
  end
585
602
 
586
603
  # resource path
587
- path = "/api/v2/routing/email/setup".sub('{format}','json')
604
+ local_var_path = "/api/v2/routing/email/domains".sub('{format}','json')
588
605
 
589
606
  # query parameters
590
607
  query_params = {}
@@ -606,59 +623,48 @@ module PureCloud
606
623
  # http body (model)
607
624
  post_body = nil
608
625
 
609
-
610
626
  auth_names = ['PureCloud Auth']
611
- data, status_code, headers = @api_client.call_api(:GET, path,
627
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
612
628
  :header_params => header_params,
613
629
  :query_params => query_params,
614
630
  :form_params => form_params,
615
631
  :body => post_body,
616
632
  :auth_names => auth_names,
617
- :return_type => 'EmailSetup')
633
+ :return_type => 'InboundDomainEntityListing')
618
634
  if @api_client.config.debugging
619
- @api_client.config.logger.debug "API called: RoutingApi#get_email_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
635
+ @api_client.config.logger.debug "API called: RoutingApi#get_email_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
620
636
  end
621
637
  return data, status_code, headers
622
638
  end
623
639
 
624
- # Get list of queues.
640
+ # Get routes
625
641
  #
642
+ # @param domain email domain
626
643
  # @param [Hash] opts the optional parameters
627
- # @option opts [Integer] :page_size Page size
628
- # @option opts [Integer] :page_number Page number
629
- # @option opts [String] :sort_by Sort by
630
- # @option opts [String] :name Name
631
- # @option opts [BOOLEAN] :active Active
632
- # @return [QueueEntityListing]
633
- def get_queues(opts = {})
634
- data, status_code, headers = get_queues_with_http_info(opts)
644
+ # @return [InboundRouteEntityListing]
645
+ def get_email_domains_domain_routes(domain, opts = {})
646
+ data, status_code, headers = get_email_domains_domain_routes_with_http_info(domain, opts)
635
647
  return data
636
648
  end
637
649
 
638
- # Get list of queues.
650
+ # Get routes
639
651
  #
652
+ # @param domain email domain
640
653
  # @param [Hash] opts the optional parameters
641
- # @option opts [Integer] :page_size Page size
642
- # @option opts [Integer] :page_number Page number
643
- # @option opts [String] :sort_by Sort by
644
- # @option opts [String] :name Name
645
- # @option opts [BOOLEAN] :active Active
646
- # @return [Array<(QueueEntityListing, Fixnum, Hash)>] QueueEntityListing data, response status code and response headers
647
- def get_queues_with_http_info(opts = {})
654
+ # @return [Array<(InboundRouteEntityListing, Fixnum, Hash)>] InboundRouteEntityListing data, response status code and response headers
655
+ def get_email_domains_domain_routes_with_http_info(domain, opts = {})
648
656
  if @api_client.config.debugging
649
- @api_client.config.logger.debug "Calling API: RoutingApi#get_queues ..."
657
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains_domain_routes ..."
650
658
  end
651
659
 
660
+ # verify the required parameter 'domain' is set
661
+ fail "Missing the required parameter 'domain' when calling get_email_domains_domain_routes" if domain.nil?
662
+
652
663
  # resource path
653
- path = "/api/v2/routing/queues".sub('{format}','json')
664
+ local_var_path = "/api/v2/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
654
665
 
655
666
  # query parameters
656
667
  query_params = {}
657
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
658
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
659
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
660
- query_params[:'name'] = opts[:'name'] if opts[:'name']
661
- query_params[:'active'] = opts[:'active'] if opts[:'active']
662
668
 
663
669
  # header parameters
664
670
  header_params = {}
@@ -677,43 +683,50 @@ module PureCloud
677
683
  # http body (model)
678
684
  post_body = nil
679
685
 
680
-
681
686
  auth_names = ['PureCloud Auth']
682
- data, status_code, headers = @api_client.call_api(:GET, path,
687
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
683
688
  :header_params => header_params,
684
689
  :query_params => query_params,
685
690
  :form_params => form_params,
686
691
  :body => post_body,
687
692
  :auth_names => auth_names,
688
- :return_type => 'QueueEntityListing')
693
+ :return_type => 'InboundRouteEntityListing')
689
694
  if @api_client.config.debugging
690
- @api_client.config.logger.debug "API called: RoutingApi#get_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
695
+ @api_client.config.logger.debug "API called: RoutingApi#get_email_domains_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
691
696
  end
692
697
  return data, status_code, headers
693
698
  end
694
699
 
695
- # Create queue
700
+ # Get a route
696
701
  #
702
+ # @param domain email domain
703
+ # @param id route ID
697
704
  # @param [Hash] opts the optional parameters
698
- # @option opts [Queue] :body Queue
699
- # @return [Queue]
700
- def post_queues(opts = {})
701
- data, status_code, headers = post_queues_with_http_info(opts)
705
+ # @return [InboundRoute]
706
+ def get_email_domains_domain_routes_id(domain, id, opts = {})
707
+ data, status_code, headers = get_email_domains_domain_routes_id_with_http_info(domain, id, opts)
702
708
  return data
703
709
  end
704
710
 
705
- # Create queue
711
+ # Get a route
706
712
  #
713
+ # @param domain email domain
714
+ # @param id route ID
707
715
  # @param [Hash] opts the optional parameters
708
- # @option opts [Queue] :body Queue
709
- # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
710
- def post_queues_with_http_info(opts = {})
716
+ # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
717
+ def get_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
711
718
  if @api_client.config.debugging
712
- @api_client.config.logger.debug "Calling API: RoutingApi#post_queues ..."
719
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains_domain_routes_id ..."
713
720
  end
714
721
 
722
+ # verify the required parameter 'domain' is set
723
+ fail "Missing the required parameter 'domain' when calling get_email_domains_domain_routes_id" if domain.nil?
724
+
725
+ # verify the required parameter 'id' is set
726
+ fail "Missing the required parameter 'id' when calling get_email_domains_domain_routes_id" if id.nil?
727
+
715
728
  # resource path
716
- path = "/api/v2/routing/queues".sub('{format}','json')
729
+ local_var_path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
717
730
 
718
731
  # query parameters
719
732
  query_params = {}
@@ -733,48 +746,42 @@ module PureCloud
733
746
  form_params = {}
734
747
 
735
748
  # http body (model)
736
- post_body = @api_client.object_to_http_body(opts[:'body'])
749
+ post_body = nil
737
750
 
738
-
739
751
  auth_names = ['PureCloud Auth']
740
- data, status_code, headers = @api_client.call_api(:POST, path,
752
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
741
753
  :header_params => header_params,
742
754
  :query_params => query_params,
743
755
  :form_params => form_params,
744
756
  :body => post_body,
745
757
  :auth_names => auth_names,
746
- :return_type => 'Queue')
758
+ :return_type => 'InboundRoute')
747
759
  if @api_client.config.debugging
748
- @api_client.config.logger.debug "API called: RoutingApi#post_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
760
+ @api_client.config.logger.debug "API called: RoutingApi#get_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
749
761
  end
750
762
  return data, status_code, headers
751
763
  end
752
764
 
753
- # Get details about this queue.
765
+ # Get email setup
754
766
  #
755
- # @param queue_id Queue ID
756
767
  # @param [Hash] opts the optional parameters
757
- # @return [Queue]
758
- def get_queues_queue_id(queue_id, opts = {})
759
- data, status_code, headers = get_queues_queue_id_with_http_info(queue_id, opts)
768
+ # @return [EmailSetup]
769
+ def get_email_setup(opts = {})
770
+ data, status_code, headers = get_email_setup_with_http_info(opts)
760
771
  return data
761
772
  end
762
773
 
763
- # Get details about this queue.
774
+ # Get email setup
764
775
  #
765
- # @param queue_id Queue ID
766
776
  # @param [Hash] opts the optional parameters
767
- # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
768
- def get_queues_queue_id_with_http_info(queue_id, opts = {})
777
+ # @return [Array<(EmailSetup, Fixnum, Hash)>] EmailSetup data, response status code and response headers
778
+ def get_email_setup_with_http_info(opts = {})
769
779
  if @api_client.config.debugging
770
- @api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id ..."
780
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_email_setup ..."
771
781
  end
772
782
 
773
- # verify the required parameter 'queue_id' is set
774
- fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id" if queue_id.nil?
775
-
776
783
  # resource path
777
- path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
784
+ local_var_path = "/api/v2/routing/email/setup".sub('{format}','json')
778
785
 
779
786
  # query parameters
780
787
  query_params = {}
@@ -796,51 +803,58 @@ module PureCloud
796
803
  # http body (model)
797
804
  post_body = nil
798
805
 
799
-
800
806
  auth_names = ['PureCloud Auth']
801
- data, status_code, headers = @api_client.call_api(:GET, path,
807
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
802
808
  :header_params => header_params,
803
809
  :query_params => query_params,
804
810
  :form_params => form_params,
805
811
  :body => post_body,
806
812
  :auth_names => auth_names,
807
- :return_type => 'Queue')
813
+ :return_type => 'EmailSetup')
808
814
  if @api_client.config.debugging
809
- @api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
815
+ @api_client.config.logger.debug "API called: RoutingApi#get_email_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
810
816
  end
811
817
  return data, status_code, headers
812
818
  end
813
819
 
814
- # Update a queue
820
+ # Get list of queues.
815
821
  #
816
- # @param queue_id Queue ID
817
822
  # @param [Hash] opts the optional parameters
818
- # @option opts [Queue] :body Queue
819
- # @return [Queue]
820
- def put_queues_queue_id(queue_id, opts = {})
821
- data, status_code, headers = put_queues_queue_id_with_http_info(queue_id, opts)
823
+ # @option opts [Integer] :page_size Page size (default to 25)
824
+ # @option opts [Integer] :page_number Page number (default to 1)
825
+ # @option opts [String] :sort_by Sort by (default to name)
826
+ # @option opts [String] :name Name
827
+ # @option opts [BOOLEAN] :active Active
828
+ # @return [QueueEntityListing]
829
+ def get_queues(opts = {})
830
+ data, status_code, headers = get_queues_with_http_info(opts)
822
831
  return data
823
832
  end
824
833
 
825
- # Update a queue
834
+ # Get list of queues.
826
835
  #
827
- # @param queue_id Queue ID
828
836
  # @param [Hash] opts the optional parameters
829
- # @option opts [Queue] :body Queue
830
- # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
831
- def put_queues_queue_id_with_http_info(queue_id, opts = {})
837
+ # @option opts [Integer] :page_size Page size
838
+ # @option opts [Integer] :page_number Page number
839
+ # @option opts [String] :sort_by Sort by
840
+ # @option opts [String] :name Name
841
+ # @option opts [BOOLEAN] :active Active
842
+ # @return [Array<(QueueEntityListing, Fixnum, Hash)>] QueueEntityListing data, response status code and response headers
843
+ def get_queues_with_http_info(opts = {})
832
844
  if @api_client.config.debugging
833
- @api_client.config.logger.debug "Calling API: RoutingApi#put_queues_queue_id ..."
845
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_queues ..."
834
846
  end
835
847
 
836
- # verify the required parameter 'queue_id' is set
837
- fail "Missing the required parameter 'queue_id' when calling put_queues_queue_id" if queue_id.nil?
838
-
839
848
  # resource path
840
- path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
849
+ local_var_path = "/api/v2/routing/queues".sub('{format}','json')
841
850
 
842
851
  # query parameters
843
852
  query_params = {}
853
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
854
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
855
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
856
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
857
+ query_params[:'active'] = opts[:'active'] if opts[:'active']
844
858
 
845
859
  # header parameters
846
860
  header_params = {}
@@ -857,54 +871,50 @@ module PureCloud
857
871
  form_params = {}
858
872
 
859
873
  # http body (model)
860
- post_body = @api_client.object_to_http_body(opts[:'body'])
874
+ post_body = nil
861
875
 
862
-
863
876
  auth_names = ['PureCloud Auth']
864
- data, status_code, headers = @api_client.call_api(:PUT, path,
877
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
865
878
  :header_params => header_params,
866
879
  :query_params => query_params,
867
880
  :form_params => form_params,
868
881
  :body => post_body,
869
882
  :auth_names => auth_names,
870
- :return_type => 'Queue')
883
+ :return_type => 'QueueEntityListing')
871
884
  if @api_client.config.debugging
872
- @api_client.config.logger.debug "API called: RoutingApi#put_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
885
+ @api_client.config.logger.debug "API called: RoutingApi#get_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
873
886
  end
874
887
  return data, status_code, headers
875
888
  end
876
889
 
877
- # Delete a queue
890
+ # Get details about this queue.
878
891
  #
879
892
  # @param queue_id Queue ID
880
893
  # @param [Hash] opts the optional parameters
881
- # @option opts [BOOLEAN] :force_delete
882
- # @return [String]
883
- def delete_queues_queue_id(queue_id, opts = {})
884
- data, status_code, headers = delete_queues_queue_id_with_http_info(queue_id, opts)
894
+ # @return [Queue]
895
+ def get_queues_queue_id(queue_id, opts = {})
896
+ data, status_code, headers = get_queues_queue_id_with_http_info(queue_id, opts)
885
897
  return data
886
898
  end
887
899
 
888
- # Delete a queue
900
+ # Get details about this queue.
889
901
  #
890
902
  # @param queue_id Queue ID
891
903
  # @param [Hash] opts the optional parameters
892
- # @option opts [BOOLEAN] :force_delete
893
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
894
- def delete_queues_queue_id_with_http_info(queue_id, opts = {})
904
+ # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
905
+ def get_queues_queue_id_with_http_info(queue_id, opts = {})
895
906
  if @api_client.config.debugging
896
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id ..."
907
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id ..."
897
908
  end
898
909
 
899
910
  # verify the required parameter 'queue_id' is set
900
- fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id" if queue_id.nil?
911
+ fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id" if queue_id.nil?
901
912
 
902
913
  # resource path
903
- path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
914
+ local_var_path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
904
915
 
905
916
  # query parameters
906
917
  query_params = {}
907
- query_params[:'forceDelete'] = opts[:'force_delete'] if opts[:'force_delete']
908
918
 
909
919
  # header parameters
910
920
  header_params = {}
@@ -923,17 +933,16 @@ module PureCloud
923
933
  # http body (model)
924
934
  post_body = nil
925
935
 
926
-
927
936
  auth_names = ['PureCloud Auth']
928
- data, status_code, headers = @api_client.call_api(:DELETE, path,
937
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
929
938
  :header_params => header_params,
930
939
  :query_params => query_params,
931
940
  :form_params => form_params,
932
941
  :body => post_body,
933
942
  :auth_names => auth_names,
934
- :return_type => 'String')
943
+ :return_type => 'Queue')
935
944
  if @api_client.config.debugging
936
- @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
945
+ @api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
937
946
  end
938
947
  return data, status_code, headers
939
948
  end
@@ -964,7 +973,7 @@ module PureCloud
964
973
  fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_estimatedwaittime" if queue_id.nil?
965
974
 
966
975
  # resource path
967
- path = "/api/v2/routing/queues/{queueId}/estimatedwaittime".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
976
+ local_var_path = "/api/v2/routing/queues/{queueId}/estimatedwaittime".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
968
977
 
969
978
  # query parameters
970
979
  query_params = {}
@@ -987,9 +996,8 @@ module PureCloud
987
996
  # http body (model)
988
997
  post_body = nil
989
998
 
990
-
991
999
  auth_names = ['PureCloud Auth']
992
- data, status_code, headers = @api_client.call_api(:GET, path,
1000
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
993
1001
  :header_params => header_params,
994
1002
  :query_params => query_params,
995
1003
  :form_params => form_params,
@@ -1006,11 +1014,11 @@ module PureCloud
1006
1014
  #
1007
1015
  # @param queue_id Queue ID
1008
1016
  # @param [Hash] opts the optional parameters
1009
- # @option opts [Integer] :page_size Page size
1010
- # @option opts [Integer] :page_number Page number
1011
- # @option opts [String] :sort_by Sort by
1017
+ # @option opts [Integer] :page_size Page size (default to 25)
1018
+ # @option opts [Integer] :page_number Page number (default to 1)
1019
+ # @option opts [String] :sort_by Sort by (default to name)
1012
1020
  # @option opts [String] :expand expand
1013
- # @option opts [BOOLEAN] :direct_members Only get users that are direct members of the queue
1021
+ # @option opts [BOOLEAN] :direct_members Only get users that are direct members of the queue (default to false)
1014
1022
  # @return [QueueMember]
1015
1023
  def get_queues_queue_id_users(queue_id, opts = {})
1016
1024
  data, status_code, headers = get_queues_queue_id_users_with_http_info(queue_id, opts)
@@ -1036,7 +1044,7 @@ module PureCloud
1036
1044
  fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_users" if queue_id.nil?
1037
1045
 
1038
1046
  # resource path
1039
- path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1047
+ local_var_path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1040
1048
 
1041
1049
  # query parameters
1042
1050
  query_params = {}
@@ -1063,9 +1071,8 @@ module PureCloud
1063
1071
  # http body (model)
1064
1072
  post_body = nil
1065
1073
 
1066
-
1067
1074
  auth_names = ['PureCloud Auth']
1068
- data, status_code, headers = @api_client.call_api(:GET, path,
1075
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1069
1076
  :header_params => header_params,
1070
1077
  :query_params => query_params,
1071
1078
  :form_params => form_params,
@@ -1078,39 +1085,39 @@ module PureCloud
1078
1085
  return data, status_code, headers
1079
1086
  end
1080
1087
 
1081
- # Bulk add or delete up to 100 queue members
1088
+ # Get the wrap-up codes for a queue
1082
1089
  #
1083
1090
  # @param queue_id Queue ID
1091
+ # @param code_id Code ID
1084
1092
  # @param [Hash] opts the optional parameters
1085
- # @option opts [Array<QueueMember>] :body Queue Members
1086
- # @option opts [BOOLEAN] :delete True to delete queue members
1087
- # @return [QueueMember]
1088
- def post_queues_queue_id_users(queue_id, opts = {})
1089
- data, status_code, headers = post_queues_queue_id_users_with_http_info(queue_id, opts)
1093
+ # @return [WrapupCode]
1094
+ def get_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
1095
+ data, status_code, headers = get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
1090
1096
  return data
1091
1097
  end
1092
1098
 
1093
- # Bulk add or delete up to 100 queue members
1099
+ # Get the wrap-up codes for a queue
1094
1100
  #
1095
1101
  # @param queue_id Queue ID
1102
+ # @param code_id Code ID
1096
1103
  # @param [Hash] opts the optional parameters
1097
- # @option opts [Array<QueueMember>] :body Queue Members
1098
- # @option opts [BOOLEAN] :delete True to delete queue members
1099
- # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1100
- def post_queues_queue_id_users_with_http_info(queue_id, opts = {})
1104
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1105
+ def get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
1101
1106
  if @api_client.config.debugging
1102
- @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_users ..."
1107
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_wrapupcodes ..."
1103
1108
  end
1104
1109
 
1105
1110
  # verify the required parameter 'queue_id' is set
1106
- fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_users" if queue_id.nil?
1111
+ fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_wrapupcodes" if queue_id.nil?
1112
+
1113
+ # verify the required parameter 'code_id' is set
1114
+ fail "Missing the required parameter 'code_id' when calling get_queues_queue_id_wrapupcodes" if code_id.nil?
1107
1115
 
1108
1116
  # resource path
1109
- path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1117
+ local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
1110
1118
 
1111
1119
  # query parameters
1112
1120
  query_params = {}
1113
- query_params[:'delete'] = opts[:'delete'] if opts[:'delete']
1114
1121
 
1115
1122
  # header parameters
1116
1123
  header_params = {}
@@ -1127,53 +1134,51 @@ module PureCloud
1127
1134
  form_params = {}
1128
1135
 
1129
1136
  # http body (model)
1130
- post_body = @api_client.object_to_http_body(opts[:'body'])
1137
+ post_body = nil
1131
1138
 
1132
-
1133
1139
  auth_names = ['PureCloud Auth']
1134
- data, status_code, headers = @api_client.call_api(:POST, path,
1140
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1135
1141
  :header_params => header_params,
1136
1142
  :query_params => query_params,
1137
1143
  :form_params => form_params,
1138
1144
  :body => post_body,
1139
1145
  :auth_names => auth_names,
1140
- :return_type => 'QueueMember')
1146
+ :return_type => 'WrapupCode')
1141
1147
  if @api_client.config.debugging
1142
- @api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1148
+ @api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1143
1149
  end
1144
1150
  return data, status_code, headers
1145
1151
  end
1146
1152
 
1147
- # Join or unjoin a set of users for a queue
1153
+ # Get the list of routing skills.
1148
1154
  #
1149
- # @param queue_id Queue ID
1150
1155
  # @param [Hash] opts the optional parameters
1151
- # @option opts [Array<QueueMember>] :body Queue Members
1152
- # @return [QueueMember]
1153
- def patch_queues_queue_id_users(queue_id, opts = {})
1154
- data, status_code, headers = patch_queues_queue_id_users_with_http_info(queue_id, opts)
1156
+ # @option opts [Integer] :page_size Page size (default to 25)
1157
+ # @option opts [Integer] :page_number Page number (default to 1)
1158
+ # @return [SkillEntityListing]
1159
+ def get_skills(opts = {})
1160
+ data, status_code, headers = get_skills_with_http_info(opts)
1155
1161
  return data
1156
1162
  end
1157
1163
 
1158
- # Join or unjoin a set of users for a queue
1164
+ # Get the list of routing skills.
1159
1165
  #
1160
- # @param queue_id Queue ID
1161
1166
  # @param [Hash] opts the optional parameters
1162
- # @option opts [Array<QueueMember>] :body Queue Members
1163
- # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1164
- def patch_queues_queue_id_users_with_http_info(queue_id, opts = {})
1167
+ # @option opts [Integer] :page_size Page size
1168
+ # @option opts [Integer] :page_number Page number
1169
+ # @return [Array<(SkillEntityListing, Fixnum, Hash)>] SkillEntityListing data, response status code and response headers
1170
+ def get_skills_with_http_info(opts = {})
1165
1171
  if @api_client.config.debugging
1166
- @api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users ..."
1172
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_skills ..."
1167
1173
  end
1168
1174
 
1169
- # verify the required parameter 'queue_id' is set
1170
- fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users" if queue_id.nil?
1171
-
1172
1175
  # resource path
1173
- path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1176
+ local_var_path = "/api/v2/routing/skills".sub('{format}','json')
1174
1177
 
1175
1178
  # query parameters
1176
1179
  query_params = {}
1180
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1181
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1177
1182
 
1178
1183
  # header parameters
1179
1184
  header_params = {}
@@ -1190,53 +1195,47 @@ module PureCloud
1190
1195
  form_params = {}
1191
1196
 
1192
1197
  # http body (model)
1193
- post_body = @api_client.object_to_http_body(opts[:'body'])
1198
+ post_body = nil
1194
1199
 
1195
-
1196
1200
  auth_names = ['PureCloud Auth']
1197
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1201
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1198
1202
  :header_params => header_params,
1199
1203
  :query_params => query_params,
1200
1204
  :form_params => form_params,
1201
1205
  :body => post_body,
1202
1206
  :auth_names => auth_names,
1203
- :return_type => 'QueueMember')
1207
+ :return_type => 'SkillEntityListing')
1204
1208
  if @api_client.config.debugging
1205
- @api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1209
+ @api_client.config.logger.debug "API called: RoutingApi#get_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1206
1210
  end
1207
1211
  return data, status_code, headers
1208
1212
  end
1209
1213
 
1210
- # Delete queue member
1214
+ # Get Routing Skill
1211
1215
  #
1212
- # @param queue_id Queue ID
1213
- # @param member_id Member ID
1216
+ # @param skill_id Skill ID
1214
1217
  # @param [Hash] opts the optional parameters
1215
- # @return [String]
1216
- def delete_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
1217
- data, status_code, headers = delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
1218
+ # @return [RoutingSkill]
1219
+ def get_skills_skill_id(skill_id, opts = {})
1220
+ data, status_code, headers = get_skills_skill_id_with_http_info(skill_id, opts)
1218
1221
  return data
1219
1222
  end
1220
1223
 
1221
- # Delete queue member
1224
+ # Get Routing Skill
1222
1225
  #
1223
- # @param queue_id Queue ID
1224
- # @param member_id Member ID
1226
+ # @param skill_id Skill ID
1225
1227
  # @param [Hash] opts the optional parameters
1226
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1227
- def delete_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
1228
+ # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
1229
+ def get_skills_skill_id_with_http_info(skill_id, opts = {})
1228
1230
  if @api_client.config.debugging
1229
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_users_member_id ..."
1231
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_skills_skill_id ..."
1230
1232
  end
1231
1233
 
1232
- # verify the required parameter 'queue_id' is set
1233
- fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_users_member_id" if queue_id.nil?
1234
-
1235
- # verify the required parameter 'member_id' is set
1236
- fail "Missing the required parameter 'member_id' when calling delete_queues_queue_id_users_member_id" if member_id.nil?
1234
+ # verify the required parameter 'skill_id' is set
1235
+ fail "Missing the required parameter 'skill_id' when calling get_skills_skill_id" if skill_id.nil?
1237
1236
 
1238
1237
  # resource path
1239
- path = "/api/v2/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1238
+ local_var_path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
1240
1239
 
1241
1240
  # query parameters
1242
1241
  query_params = {}
@@ -1258,56 +1257,61 @@ module PureCloud
1258
1257
  # http body (model)
1259
1258
  post_body = nil
1260
1259
 
1261
-
1262
1260
  auth_names = ['PureCloud Auth']
1263
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1261
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1264
1262
  :header_params => header_params,
1265
1263
  :query_params => query_params,
1266
1264
  :form_params => form_params,
1267
1265
  :body => post_body,
1268
1266
  :auth_names => auth_names,
1269
- :return_type => 'String')
1267
+ :return_type => 'RoutingSkill')
1270
1268
  if @api_client.config.debugging
1271
- @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1269
+ @api_client.config.logger.debug "API called: RoutingApi#get_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1272
1270
  end
1273
1271
  return data, status_code, headers
1274
1272
  end
1275
1273
 
1276
- # Update the ring number of joined status for a User in a Queue
1274
+ # List routing skills for user
1277
1275
  #
1278
- # @param queue_id Queue ID
1279
- # @param member_id Member ID
1276
+ # @param user_id User ID
1280
1277
  # @param [Hash] opts the optional parameters
1281
- # @option opts [QueueMember] :body Queue Member
1282
- # @return [QueueMember]
1283
- def patch_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
1284
- data, status_code, headers = patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
1278
+ # @option opts [Integer] :page_size Page size (default to 25)
1279
+ # @option opts [Integer] :page_number Page number (default to 1)
1280
+ # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
1281
+ # @return [UserSkillEntityListing]
1282
+ def get_user_id_routingskills(user_id, opts = {})
1283
+ data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
1285
1284
  return data
1286
1285
  end
1287
1286
 
1288
- # Update the ring number of joined status for a User in a Queue
1287
+ # List routing skills for user
1289
1288
  #
1290
- # @param queue_id Queue ID
1291
- # @param member_id Member ID
1289
+ # @param user_id User ID
1292
1290
  # @param [Hash] opts the optional parameters
1293
- # @option opts [QueueMember] :body Queue Member
1294
- # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1295
- def patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
1291
+ # @option opts [Integer] :page_size Page size
1292
+ # @option opts [Integer] :page_number Page number
1293
+ # @option opts [String] :sort_order Ascending or descending sort order
1294
+ # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
1295
+ def get_user_id_routingskills_with_http_info(user_id, opts = {})
1296
1296
  if @api_client.config.debugging
1297
- @api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users_member_id ..."
1297
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_user_id_routingskills ..."
1298
1298
  end
1299
1299
 
1300
- # verify the required parameter 'queue_id' is set
1301
- fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users_member_id" if queue_id.nil?
1300
+ # verify the required parameter 'user_id' is set
1301
+ fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
1302
1302
 
1303
- # verify the required parameter 'member_id' is set
1304
- fail "Missing the required parameter 'member_id' when calling patch_queues_queue_id_users_member_id" if member_id.nil?
1303
+ if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
1304
+ fail 'invalid value for "sort_order", must be one of [ascending, descending]'
1305
+ end
1305
1306
 
1306
1307
  # resource path
1307
- path = "/api/v2/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1308
+ local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1308
1309
 
1309
1310
  # query parameters
1310
1311
  query_params = {}
1312
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1313
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1314
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1311
1315
 
1312
1316
  # header parameters
1313
1317
  header_params = {}
@@ -1324,53 +1328,42 @@ module PureCloud
1324
1328
  form_params = {}
1325
1329
 
1326
1330
  # http body (model)
1327
- post_body = @api_client.object_to_http_body(opts[:'body'])
1331
+ post_body = nil
1328
1332
 
1329
-
1330
1333
  auth_names = ['PureCloud Auth']
1331
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1334
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1332
1335
  :header_params => header_params,
1333
1336
  :query_params => query_params,
1334
1337
  :form_params => form_params,
1335
1338
  :body => post_body,
1336
1339
  :auth_names => auth_names,
1337
- :return_type => 'QueueMember')
1340
+ :return_type => 'UserSkillEntityListing')
1338
1341
  if @api_client.config.debugging
1339
- @api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1342
+ @api_client.config.logger.debug "API called: RoutingApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1340
1343
  end
1341
1344
  return data, status_code, headers
1342
1345
  end
1343
1346
 
1344
- # Get the wrap-up codes for a queue
1347
+ # Get the utilization settings.
1345
1348
  #
1346
- # @param queue_id Queue ID
1347
- # @param code_id Code ID
1348
1349
  # @param [Hash] opts the optional parameters
1349
- # @return [WrapupCode]
1350
- def get_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
1351
- data, status_code, headers = get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
1350
+ # @return [Utilization]
1351
+ def get_utilization(opts = {})
1352
+ data, status_code, headers = get_utilization_with_http_info(opts)
1352
1353
  return data
1353
1354
  end
1354
1355
 
1355
- # Get the wrap-up codes for a queue
1356
+ # Get the utilization settings.
1356
1357
  #
1357
- # @param queue_id Queue ID
1358
- # @param code_id Code ID
1359
1358
  # @param [Hash] opts the optional parameters
1360
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1361
- def get_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
1359
+ # @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
1360
+ def get_utilization_with_http_info(opts = {})
1362
1361
  if @api_client.config.debugging
1363
- @api_client.config.logger.debug "Calling API: RoutingApi#get_queues_queue_id_wrapupcodes ..."
1362
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_utilization ..."
1364
1363
  end
1365
1364
 
1366
- # verify the required parameter 'queue_id' is set
1367
- fail "Missing the required parameter 'queue_id' when calling get_queues_queue_id_wrapupcodes" if queue_id.nil?
1368
-
1369
- # verify the required parameter 'code_id' is set
1370
- fail "Missing the required parameter 'code_id' when calling get_queues_queue_id_wrapupcodes" if code_id.nil?
1371
-
1372
1365
  # resource path
1373
- path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
1366
+ local_var_path = "/api/v2/routing/utilization".sub('{format}','json')
1374
1367
 
1375
1368
  # query parameters
1376
1369
  query_params = {}
@@ -1392,56 +1385,52 @@ module PureCloud
1392
1385
  # http body (model)
1393
1386
  post_body = nil
1394
1387
 
1395
-
1396
1388
  auth_names = ['PureCloud Auth']
1397
- data, status_code, headers = @api_client.call_api(:GET, path,
1389
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1398
1390
  :header_params => header_params,
1399
1391
  :query_params => query_params,
1400
1392
  :form_params => form_params,
1401
1393
  :body => post_body,
1402
1394
  :auth_names => auth_names,
1403
- :return_type => 'WrapupCode')
1395
+ :return_type => 'Utilization')
1404
1396
  if @api_client.config.debugging
1405
- @api_client.config.logger.debug "API called: RoutingApi#get_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1397
+ @api_client.config.logger.debug "API called: RoutingApi#get_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1406
1398
  end
1407
1399
  return data, status_code, headers
1408
1400
  end
1409
1401
 
1410
- # Add up to 100 wrap-up codes to a queue
1402
+ # Get list of wrapup codes.
1411
1403
  #
1412
- # @param queue_id Queue ID
1413
- # @param code_id Code ID
1414
1404
  # @param [Hash] opts the optional parameters
1415
- # @option opts [Array<WrapupCode>] :body
1416
- # @return [WrapupCode]
1417
- def post_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
1418
- data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
1405
+ # @option opts [Integer] :page_size Page size (default to 25)
1406
+ # @option opts [Integer] :page_number Page number (default to 1)
1407
+ # @option opts [String] :sort_by Sort by (default to name)
1408
+ # @return [WrapupCodeEntityListing]
1409
+ def get_wrapupcodes(opts = {})
1410
+ data, status_code, headers = get_wrapupcodes_with_http_info(opts)
1419
1411
  return data
1420
1412
  end
1421
1413
 
1422
- # Add up to 100 wrap-up codes to a queue
1414
+ # Get list of wrapup codes.
1423
1415
  #
1424
- # @param queue_id Queue ID
1425
- # @param code_id Code ID
1426
1416
  # @param [Hash] opts the optional parameters
1427
- # @option opts [Array<WrapupCode>] :body
1428
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1429
- def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
1417
+ # @option opts [Integer] :page_size Page size
1418
+ # @option opts [Integer] :page_number Page number
1419
+ # @option opts [String] :sort_by Sort by
1420
+ # @return [Array<(WrapupCodeEntityListing, Fixnum, Hash)>] WrapupCodeEntityListing data, response status code and response headers
1421
+ def get_wrapupcodes_with_http_info(opts = {})
1430
1422
  if @api_client.config.debugging
1431
- @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_wrapupcodes ..."
1423
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes ..."
1432
1424
  end
1433
1425
 
1434
- # verify the required parameter 'queue_id' is set
1435
- fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_wrapupcodes" if queue_id.nil?
1436
-
1437
- # verify the required parameter 'code_id' is set
1438
- fail "Missing the required parameter 'code_id' when calling post_queues_queue_id_wrapupcodes" if code_id.nil?
1439
-
1440
1426
  # resource path
1441
- path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
1427
+ local_var_path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
1442
1428
 
1443
1429
  # query parameters
1444
1430
  query_params = {}
1431
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1432
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1433
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
1445
1434
 
1446
1435
  # header parameters
1447
1436
  header_params = {}
@@ -1458,53 +1447,47 @@ module PureCloud
1458
1447
  form_params = {}
1459
1448
 
1460
1449
  # http body (model)
1461
- post_body = @api_client.object_to_http_body(opts[:'body'])
1450
+ post_body = nil
1462
1451
 
1463
-
1464
1452
  auth_names = ['PureCloud Auth']
1465
- data, status_code, headers = @api_client.call_api(:POST, path,
1453
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1466
1454
  :header_params => header_params,
1467
1455
  :query_params => query_params,
1468
1456
  :form_params => form_params,
1469
1457
  :body => post_body,
1470
1458
  :auth_names => auth_names,
1471
- :return_type => 'WrapupCode')
1459
+ :return_type => 'WrapupCodeEntityListing')
1472
1460
  if @api_client.config.debugging
1473
- @api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1461
+ @api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1474
1462
  end
1475
1463
  return data, status_code, headers
1476
1464
  end
1477
1465
 
1478
- # Delete a wrap-up code from a queue
1466
+ # Get details about this wrap-up code.
1479
1467
  #
1480
- # @param queue_id Queue ID
1481
- # @param code_id Code ID
1468
+ # @param code_id Wrapup Code ID
1482
1469
  # @param [Hash] opts the optional parameters
1483
- # @return [String]
1484
- def delete_queues_queue_id_wrapupcodes_code_id(queue_id, code_id, opts = {})
1485
- data, status_code, headers = delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts)
1470
+ # @return [WrapupCode]
1471
+ def get_wrapupcodes_code_id(code_id, opts = {})
1472
+ data, status_code, headers = get_wrapupcodes_code_id_with_http_info(code_id, opts)
1486
1473
  return data
1487
1474
  end
1488
1475
 
1489
- # Delete a wrap-up code from a queue
1476
+ # Get details about this wrap-up code.
1490
1477
  #
1491
- # @param queue_id Queue ID
1492
- # @param code_id Code ID
1478
+ # @param code_id Wrapup Code ID
1493
1479
  # @param [Hash] opts the optional parameters
1494
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1495
- def delete_queues_queue_id_wrapupcodes_code_id_with_http_info(queue_id, code_id, opts = {})
1480
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1481
+ def get_wrapupcodes_code_id_with_http_info(code_id, opts = {})
1496
1482
  if @api_client.config.debugging
1497
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id ..."
1483
+ @api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes_code_id ..."
1498
1484
  end
1499
1485
 
1500
- # verify the required parameter 'queue_id' is set
1501
- fail "Missing the required parameter 'queue_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if queue_id.nil?
1502
-
1503
1486
  # verify the required parameter 'code_id' is set
1504
- fail "Missing the required parameter 'code_id' when calling delete_queues_queue_id_wrapupcodes_code_id" if code_id.nil?
1487
+ fail "Missing the required parameter 'code_id' when calling get_wrapupcodes_code_id" if code_id.nil?
1505
1488
 
1506
1489
  # resource path
1507
- path = "/api/v2/routing/queues/{queueId}/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
1490
+ local_var_path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
1508
1491
 
1509
1492
  # query parameters
1510
1493
  query_params = {}
@@ -1526,50 +1509,50 @@ module PureCloud
1526
1509
  # http body (model)
1527
1510
  post_body = nil
1528
1511
 
1529
-
1530
1512
  auth_names = ['PureCloud Auth']
1531
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1513
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1532
1514
  :header_params => header_params,
1533
1515
  :query_params => query_params,
1534
1516
  :form_params => form_params,
1535
1517
  :body => post_body,
1536
1518
  :auth_names => auth_names,
1537
- :return_type => 'String')
1519
+ :return_type => 'WrapupCode')
1538
1520
  if @api_client.config.debugging
1539
- @api_client.config.logger.debug "API called: RoutingApi#delete_queues_queue_id_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1521
+ @api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1540
1522
  end
1541
1523
  return data, status_code, headers
1542
1524
  end
1543
1525
 
1544
- # Get the list of routing skills.
1526
+ # Join or unjoin a set of users for a queue
1545
1527
  #
1528
+ # @param queue_id Queue ID
1546
1529
  # @param [Hash] opts the optional parameters
1547
- # @option opts [Integer] :page_size Page size
1548
- # @option opts [Integer] :page_number Page number
1549
- # @return [SkillEntityListing]
1550
- def get_skills(opts = {})
1551
- data, status_code, headers = get_skills_with_http_info(opts)
1530
+ # @option opts [Array<QueueMember>] :body Queue Members
1531
+ # @return [QueueMember]
1532
+ def patch_queues_queue_id_users(queue_id, opts = {})
1533
+ data, status_code, headers = patch_queues_queue_id_users_with_http_info(queue_id, opts)
1552
1534
  return data
1553
1535
  end
1554
1536
 
1555
- # Get the list of routing skills.
1537
+ # Join or unjoin a set of users for a queue
1556
1538
  #
1539
+ # @param queue_id Queue ID
1557
1540
  # @param [Hash] opts the optional parameters
1558
- # @option opts [Integer] :page_size Page size
1559
- # @option opts [Integer] :page_number Page number
1560
- # @return [Array<(SkillEntityListing, Fixnum, Hash)>] SkillEntityListing data, response status code and response headers
1561
- def get_skills_with_http_info(opts = {})
1541
+ # @option opts [Array<QueueMember>] :body Queue Members
1542
+ # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1543
+ def patch_queues_queue_id_users_with_http_info(queue_id, opts = {})
1562
1544
  if @api_client.config.debugging
1563
- @api_client.config.logger.debug "Calling API: RoutingApi#get_skills ..."
1545
+ @api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users ..."
1564
1546
  end
1565
1547
 
1548
+ # verify the required parameter 'queue_id' is set
1549
+ fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users" if queue_id.nil?
1550
+
1566
1551
  # resource path
1567
- path = "/api/v2/routing/skills".sub('{format}','json')
1552
+ local_var_path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1568
1553
 
1569
1554
  # query parameters
1570
1555
  query_params = {}
1571
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1572
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1573
1556
 
1574
1557
  # header parameters
1575
1558
  header_params = {}
@@ -1586,45 +1569,54 @@ module PureCloud
1586
1569
  form_params = {}
1587
1570
 
1588
1571
  # http body (model)
1589
- post_body = nil
1572
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1590
1573
 
1591
-
1592
1574
  auth_names = ['PureCloud Auth']
1593
- data, status_code, headers = @api_client.call_api(:GET, path,
1575
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1594
1576
  :header_params => header_params,
1595
1577
  :query_params => query_params,
1596
1578
  :form_params => form_params,
1597
1579
  :body => post_body,
1598
1580
  :auth_names => auth_names,
1599
- :return_type => 'SkillEntityListing')
1581
+ :return_type => 'QueueMember')
1600
1582
  if @api_client.config.debugging
1601
- @api_client.config.logger.debug "API called: RoutingApi#get_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1583
+ @api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1602
1584
  end
1603
1585
  return data, status_code, headers
1604
1586
  end
1605
1587
 
1606
- # Create Skill
1588
+ # Update the ring number of joined status for a User in a Queue
1607
1589
  #
1590
+ # @param queue_id Queue ID
1591
+ # @param member_id Member ID
1608
1592
  # @param [Hash] opts the optional parameters
1609
- # @option opts [RoutingSkill] :body Skill
1610
- # @return [RoutingSkill]
1611
- def post_skills(opts = {})
1612
- data, status_code, headers = post_skills_with_http_info(opts)
1593
+ # @option opts [QueueMember] :body Queue Member
1594
+ # @return [QueueMember]
1595
+ def patch_queues_queue_id_users_member_id(queue_id, member_id, opts = {})
1596
+ data, status_code, headers = patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts)
1613
1597
  return data
1614
1598
  end
1615
1599
 
1616
- # Create Skill
1600
+ # Update the ring number of joined status for a User in a Queue
1617
1601
  #
1602
+ # @param queue_id Queue ID
1603
+ # @param member_id Member ID
1618
1604
  # @param [Hash] opts the optional parameters
1619
- # @option opts [RoutingSkill] :body Skill
1620
- # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
1621
- def post_skills_with_http_info(opts = {})
1605
+ # @option opts [QueueMember] :body Queue Member
1606
+ # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1607
+ def patch_queues_queue_id_users_member_id_with_http_info(queue_id, member_id, opts = {})
1622
1608
  if @api_client.config.debugging
1623
- @api_client.config.logger.debug "Calling API: RoutingApi#post_skills ..."
1609
+ @api_client.config.logger.debug "Calling API: RoutingApi#patch_queues_queue_id_users_member_id ..."
1624
1610
  end
1625
1611
 
1612
+ # verify the required parameter 'queue_id' is set
1613
+ fail "Missing the required parameter 'queue_id' when calling patch_queues_queue_id_users_member_id" if queue_id.nil?
1614
+
1615
+ # verify the required parameter 'member_id' is set
1616
+ fail "Missing the required parameter 'member_id' when calling patch_queues_queue_id_users_member_id" if member_id.nil?
1617
+
1626
1618
  # resource path
1627
- path = "/api/v2/routing/skills".sub('{format}','json')
1619
+ local_var_path = "/api/v2/routing/queues/{queueId}/users/{memberId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1628
1620
 
1629
1621
  # query parameters
1630
1622
  query_params = {}
@@ -1646,46 +1638,42 @@ module PureCloud
1646
1638
  # http body (model)
1647
1639
  post_body = @api_client.object_to_http_body(opts[:'body'])
1648
1640
 
1649
-
1650
1641
  auth_names = ['PureCloud Auth']
1651
- data, status_code, headers = @api_client.call_api(:POST, path,
1642
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1652
1643
  :header_params => header_params,
1653
1644
  :query_params => query_params,
1654
1645
  :form_params => form_params,
1655
1646
  :body => post_body,
1656
1647
  :auth_names => auth_names,
1657
- :return_type => 'RoutingSkill')
1648
+ :return_type => 'QueueMember')
1658
1649
  if @api_client.config.debugging
1659
- @api_client.config.logger.debug "API called: RoutingApi#post_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1650
+ @api_client.config.logger.debug "API called: RoutingApi#patch_queues_queue_id_users_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1660
1651
  end
1661
1652
  return data, status_code, headers
1662
1653
  end
1663
1654
 
1664
- # Get Routing Skill
1655
+ # Create a domain
1665
1656
  #
1666
- # @param skill_id Skill ID
1667
1657
  # @param [Hash] opts the optional parameters
1668
- # @return [RoutingSkill]
1669
- def get_skills_skill_id(skill_id, opts = {})
1670
- data, status_code, headers = get_skills_skill_id_with_http_info(skill_id, opts)
1658
+ # @option opts [InboundDomain] :body Domain
1659
+ # @return [InboundDomain]
1660
+ def post_email_domains(opts = {})
1661
+ data, status_code, headers = post_email_domains_with_http_info(opts)
1671
1662
  return data
1672
1663
  end
1673
1664
 
1674
- # Get Routing Skill
1665
+ # Create a domain
1675
1666
  #
1676
- # @param skill_id Skill ID
1677
1667
  # @param [Hash] opts the optional parameters
1678
- # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
1679
- def get_skills_skill_id_with_http_info(skill_id, opts = {})
1668
+ # @option opts [InboundDomain] :body Domain
1669
+ # @return [Array<(InboundDomain, Fixnum, Hash)>] InboundDomain data, response status code and response headers
1670
+ def post_email_domains_with_http_info(opts = {})
1680
1671
  if @api_client.config.debugging
1681
- @api_client.config.logger.debug "Calling API: RoutingApi#get_skills_skill_id ..."
1672
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains ..."
1682
1673
  end
1683
1674
 
1684
- # verify the required parameter 'skill_id' is set
1685
- fail "Missing the required parameter 'skill_id' when calling get_skills_skill_id" if skill_id.nil?
1686
-
1687
1675
  # resource path
1688
- path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
1676
+ local_var_path = "/api/v2/routing/email/domains".sub('{format}','json')
1689
1677
 
1690
1678
  # query parameters
1691
1679
  query_params = {}
@@ -1705,50 +1693,49 @@ module PureCloud
1705
1693
  form_params = {}
1706
1694
 
1707
1695
  # http body (model)
1708
- post_body = nil
1696
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1709
1697
 
1710
-
1711
1698
  auth_names = ['PureCloud Auth']
1712
- data, status_code, headers = @api_client.call_api(:GET, path,
1699
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1713
1700
  :header_params => header_params,
1714
1701
  :query_params => query_params,
1715
1702
  :form_params => form_params,
1716
1703
  :body => post_body,
1717
1704
  :auth_names => auth_names,
1718
- :return_type => 'RoutingSkill')
1705
+ :return_type => 'InboundDomain')
1719
1706
  if @api_client.config.debugging
1720
- @api_client.config.logger.debug "API called: RoutingApi#get_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1707
+ @api_client.config.logger.debug "API called: RoutingApi#post_email_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1721
1708
  end
1722
1709
  return data, status_code, headers
1723
1710
  end
1724
1711
 
1725
- # Update Routing Skill
1712
+ # Create a route
1726
1713
  #
1727
- # @param skill_id Skill ID
1714
+ # @param domain email domain
1728
1715
  # @param [Hash] opts the optional parameters
1729
- # @option opts [RoutingSkill] :body Skill
1730
- # @return [RoutingSkill]
1731
- def put_skills_skill_id(skill_id, opts = {})
1732
- data, status_code, headers = put_skills_skill_id_with_http_info(skill_id, opts)
1716
+ # @option opts [InboundRoute] :body Route
1717
+ # @return [InboundRoute]
1718
+ def post_email_domains_domain_routes(domain, opts = {})
1719
+ data, status_code, headers = post_email_domains_domain_routes_with_http_info(domain, opts)
1733
1720
  return data
1734
1721
  end
1735
1722
 
1736
- # Update Routing Skill
1723
+ # Create a route
1737
1724
  #
1738
- # @param skill_id Skill ID
1725
+ # @param domain email domain
1739
1726
  # @param [Hash] opts the optional parameters
1740
- # @option opts [RoutingSkill] :body Skill
1741
- # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
1742
- def put_skills_skill_id_with_http_info(skill_id, opts = {})
1727
+ # @option opts [InboundRoute] :body Route
1728
+ # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
1729
+ def post_email_domains_domain_routes_with_http_info(domain, opts = {})
1743
1730
  if @api_client.config.debugging
1744
- @api_client.config.logger.debug "Calling API: RoutingApi#put_skills_skill_id ..."
1731
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_email_domains_domain_routes ..."
1745
1732
  end
1746
1733
 
1747
- # verify the required parameter 'skill_id' is set
1748
- fail "Missing the required parameter 'skill_id' when calling put_skills_skill_id" if skill_id.nil?
1734
+ # verify the required parameter 'domain' is set
1735
+ fail "Missing the required parameter 'domain' when calling post_email_domains_domain_routes" if domain.nil?
1749
1736
 
1750
1737
  # resource path
1751
- path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
1738
+ local_var_path = "/api/v2/routing/email/domains/{domain}/routes".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s)
1752
1739
 
1753
1740
  # query parameters
1754
1741
  query_params = {}
@@ -1770,46 +1757,42 @@ module PureCloud
1770
1757
  # http body (model)
1771
1758
  post_body = @api_client.object_to_http_body(opts[:'body'])
1772
1759
 
1773
-
1774
1760
  auth_names = ['PureCloud Auth']
1775
- data, status_code, headers = @api_client.call_api(:PUT, path,
1761
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1776
1762
  :header_params => header_params,
1777
1763
  :query_params => query_params,
1778
1764
  :form_params => form_params,
1779
1765
  :body => post_body,
1780
1766
  :auth_names => auth_names,
1781
- :return_type => 'RoutingSkill')
1767
+ :return_type => 'InboundRoute')
1782
1768
  if @api_client.config.debugging
1783
- @api_client.config.logger.debug "API called: RoutingApi#put_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1769
+ @api_client.config.logger.debug "API called: RoutingApi#post_email_domains_domain_routes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1784
1770
  end
1785
1771
  return data, status_code, headers
1786
1772
  end
1787
1773
 
1788
- # Delete Routing Skill
1774
+ # Create queue
1789
1775
  #
1790
- # @param skill_id Skill ID
1791
1776
  # @param [Hash] opts the optional parameters
1792
- # @return [String]
1793
- def delete_skills_skill_id(skill_id, opts = {})
1794
- data, status_code, headers = delete_skills_skill_id_with_http_info(skill_id, opts)
1777
+ # @option opts [Queue] :body Queue
1778
+ # @return [Queue]
1779
+ def post_queues(opts = {})
1780
+ data, status_code, headers = post_queues_with_http_info(opts)
1795
1781
  return data
1796
1782
  end
1797
1783
 
1798
- # Delete Routing Skill
1784
+ # Create queue
1799
1785
  #
1800
- # @param skill_id Skill ID
1801
1786
  # @param [Hash] opts the optional parameters
1802
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1803
- def delete_skills_skill_id_with_http_info(skill_id, opts = {})
1787
+ # @option opts [Queue] :body Queue
1788
+ # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
1789
+ def post_queues_with_http_info(opts = {})
1804
1790
  if @api_client.config.debugging
1805
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_skills_skill_id ..."
1791
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_queues ..."
1806
1792
  end
1807
1793
 
1808
- # verify the required parameter 'skill_id' is set
1809
- fail "Missing the required parameter 'skill_id' when calling delete_skills_skill_id" if skill_id.nil?
1810
-
1811
1794
  # resource path
1812
- path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
1795
+ local_var_path = "/api/v2/routing/queues".sub('{format}','json')
1813
1796
 
1814
1797
  # query parameters
1815
1798
  query_params = {}
@@ -1829,43 +1812,44 @@ module PureCloud
1829
1812
  form_params = {}
1830
1813
 
1831
1814
  # http body (model)
1832
- post_body = nil
1815
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1833
1816
 
1834
-
1835
1817
  auth_names = ['PureCloud Auth']
1836
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1818
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1837
1819
  :header_params => header_params,
1838
1820
  :query_params => query_params,
1839
1821
  :form_params => form_params,
1840
1822
  :body => post_body,
1841
1823
  :auth_names => auth_names,
1842
- :return_type => 'String')
1824
+ :return_type => 'Queue')
1843
1825
  if @api_client.config.debugging
1844
- @api_client.config.logger.debug "API called: RoutingApi#delete_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1826
+ @api_client.config.logger.debug "API called: RoutingApi#post_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1845
1827
  end
1846
1828
  return data, status_code, headers
1847
1829
  end
1848
1830
 
1849
- # Get the utilization settings.
1831
+ # Query for queue observations
1850
1832
  #
1851
1833
  # @param [Hash] opts the optional parameters
1852
- # @return [Utilization]
1853
- def get_utilization(opts = {})
1854
- data, status_code, headers = get_utilization_with_http_info(opts)
1834
+ # @option opts [ObservationQuery] :body query
1835
+ # @return [ObservationQueryResponse]
1836
+ def post_queues_observations_query(opts = {})
1837
+ data, status_code, headers = post_queues_observations_query_with_http_info(opts)
1855
1838
  return data
1856
1839
  end
1857
1840
 
1858
- # Get the utilization settings.
1841
+ # Query for queue observations
1859
1842
  #
1860
1843
  # @param [Hash] opts the optional parameters
1861
- # @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
1862
- def get_utilization_with_http_info(opts = {})
1844
+ # @option opts [ObservationQuery] :body query
1845
+ # @return [Array<(ObservationQueryResponse, Fixnum, Hash)>] ObservationQueryResponse data, response status code and response headers
1846
+ def post_queues_observations_query_with_http_info(opts = {})
1863
1847
  if @api_client.config.debugging
1864
- @api_client.config.logger.debug "Calling API: RoutingApi#get_utilization ..."
1848
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_observations_query ..."
1865
1849
  end
1866
1850
 
1867
1851
  # resource path
1868
- path = "/api/v2/routing/utilization".sub('{format}','json')
1852
+ local_var_path = "/api/v2/analytics/queues/observations/query".sub('{format}','json')
1869
1853
 
1870
1854
  # query parameters
1871
1855
  query_params = {}
@@ -1885,48 +1869,55 @@ module PureCloud
1885
1869
  form_params = {}
1886
1870
 
1887
1871
  # http body (model)
1888
- post_body = nil
1872
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1889
1873
 
1890
-
1891
1874
  auth_names = ['PureCloud Auth']
1892
- data, status_code, headers = @api_client.call_api(:GET, path,
1875
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1893
1876
  :header_params => header_params,
1894
1877
  :query_params => query_params,
1895
1878
  :form_params => form_params,
1896
1879
  :body => post_body,
1897
1880
  :auth_names => auth_names,
1898
- :return_type => 'Utilization')
1881
+ :return_type => 'ObservationQueryResponse')
1899
1882
  if @api_client.config.debugging
1900
- @api_client.config.logger.debug "API called: RoutingApi#get_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1883
+ @api_client.config.logger.debug "API called: RoutingApi#post_queues_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1901
1884
  end
1902
1885
  return data, status_code, headers
1903
1886
  end
1904
1887
 
1905
- # Update the utilization settings.
1888
+ # Bulk add or delete up to 100 queue members
1906
1889
  #
1890
+ # @param queue_id Queue ID
1907
1891
  # @param [Hash] opts the optional parameters
1908
- # @option opts [Utilization] :body utilization
1909
- # @return [Utilization]
1910
- def put_utilization(opts = {})
1911
- data, status_code, headers = put_utilization_with_http_info(opts)
1892
+ # @option opts [Array<QueueMember>] :body Queue Members
1893
+ # @option opts [BOOLEAN] :delete True to delete queue members (default to false)
1894
+ # @return [QueueMember]
1895
+ def post_queues_queue_id_users(queue_id, opts = {})
1896
+ data, status_code, headers = post_queues_queue_id_users_with_http_info(queue_id, opts)
1912
1897
  return data
1913
1898
  end
1914
1899
 
1915
- # Update the utilization settings.
1900
+ # Bulk add or delete up to 100 queue members
1916
1901
  #
1902
+ # @param queue_id Queue ID
1917
1903
  # @param [Hash] opts the optional parameters
1918
- # @option opts [Utilization] :body utilization
1919
- # @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
1920
- def put_utilization_with_http_info(opts = {})
1904
+ # @option opts [Array<QueueMember>] :body Queue Members
1905
+ # @option opts [BOOLEAN] :delete True to delete queue members
1906
+ # @return [Array<(QueueMember, Fixnum, Hash)>] QueueMember data, response status code and response headers
1907
+ def post_queues_queue_id_users_with_http_info(queue_id, opts = {})
1921
1908
  if @api_client.config.debugging
1922
- @api_client.config.logger.debug "Calling API: RoutingApi#put_utilization ..."
1909
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_users ..."
1923
1910
  end
1924
1911
 
1912
+ # verify the required parameter 'queue_id' is set
1913
+ fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_users" if queue_id.nil?
1914
+
1925
1915
  # resource path
1926
- path = "/api/v2/routing/utilization".sub('{format}','json')
1916
+ local_var_path = "/api/v2/routing/queues/{queueId}/users".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
1927
1917
 
1928
1918
  # query parameters
1929
1919
  query_params = {}
1920
+ query_params[:'delete'] = opts[:'delete'] if opts[:'delete']
1930
1921
 
1931
1922
  # header parameters
1932
1923
  header_params = {}
@@ -1945,41 +1936,52 @@ module PureCloud
1945
1936
  # http body (model)
1946
1937
  post_body = @api_client.object_to_http_body(opts[:'body'])
1947
1938
 
1948
-
1949
1939
  auth_names = ['PureCloud Auth']
1950
- data, status_code, headers = @api_client.call_api(:PUT, path,
1940
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1951
1941
  :header_params => header_params,
1952
1942
  :query_params => query_params,
1953
1943
  :form_params => form_params,
1954
1944
  :body => post_body,
1955
1945
  :auth_names => auth_names,
1956
- :return_type => 'Utilization')
1946
+ :return_type => 'QueueMember')
1957
1947
  if @api_client.config.debugging
1958
- @api_client.config.logger.debug "API called: RoutingApi#put_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1948
+ @api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1959
1949
  end
1960
1950
  return data, status_code, headers
1961
1951
  end
1962
1952
 
1963
- # Delete utilization settings and revert to system defaults.
1953
+ # Add up to 100 wrap-up codes to a queue
1964
1954
  #
1955
+ # @param queue_id Queue ID
1956
+ # @param code_id Code ID
1965
1957
  # @param [Hash] opts the optional parameters
1966
- # @return [String]
1967
- def delete_utilization(opts = {})
1968
- data, status_code, headers = delete_utilization_with_http_info(opts)
1958
+ # @option opts [Array<WrapupCode>] :body
1959
+ # @return [WrapupCode]
1960
+ def post_queues_queue_id_wrapupcodes(queue_id, code_id, opts = {})
1961
+ data, status_code, headers = post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts)
1969
1962
  return data
1970
1963
  end
1971
1964
 
1972
- # Delete utilization settings and revert to system defaults.
1965
+ # Add up to 100 wrap-up codes to a queue
1973
1966
  #
1967
+ # @param queue_id Queue ID
1968
+ # @param code_id Code ID
1974
1969
  # @param [Hash] opts the optional parameters
1975
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1976
- def delete_utilization_with_http_info(opts = {})
1970
+ # @option opts [Array<WrapupCode>] :body
1971
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1972
+ def post_queues_queue_id_wrapupcodes_with_http_info(queue_id, code_id, opts = {})
1977
1973
  if @api_client.config.debugging
1978
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_utilization ..."
1974
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_queues_queue_id_wrapupcodes ..."
1979
1975
  end
1980
1976
 
1977
+ # verify the required parameter 'queue_id' is set
1978
+ fail "Missing the required parameter 'queue_id' when calling post_queues_queue_id_wrapupcodes" if queue_id.nil?
1979
+
1980
+ # verify the required parameter 'code_id' is set
1981
+ fail "Missing the required parameter 'code_id' when calling post_queues_queue_id_wrapupcodes" if code_id.nil?
1982
+
1981
1983
  # resource path
1982
- path = "/api/v2/routing/utilization".sub('{format}','json')
1984
+ local_var_path = "/api/v2/routing/queues/{queueId}/wrapupcodes".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s).sub('{' + 'codeId' + '}', code_id.to_s)
1983
1985
 
1984
1986
  # query parameters
1985
1987
  query_params = {}
@@ -1999,55 +2001,47 @@ module PureCloud
1999
2001
  form_params = {}
2000
2002
 
2001
2003
  # http body (model)
2002
- post_body = nil
2004
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2003
2005
 
2004
-
2005
2006
  auth_names = ['PureCloud Auth']
2006
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2007
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2007
2008
  :header_params => header_params,
2008
2009
  :query_params => query_params,
2009
2010
  :form_params => form_params,
2010
2011
  :body => post_body,
2011
2012
  :auth_names => auth_names,
2012
- :return_type => 'String')
2013
+ :return_type => 'WrapupCode')
2013
2014
  if @api_client.config.debugging
2014
- @api_client.config.logger.debug "API called: RoutingApi#delete_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2015
+ @api_client.config.logger.debug "API called: RoutingApi#post_queues_queue_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2015
2016
  end
2016
2017
  return data, status_code, headers
2017
2018
  end
2018
2019
 
2019
- # Get list of wrapup codes.
2020
+ # Create Skill
2020
2021
  #
2021
2022
  # @param [Hash] opts the optional parameters
2022
- # @option opts [Integer] :page_size Page size
2023
- # @option opts [Integer] :page_number Page number
2024
- # @option opts [String] :sort_by Sort by
2025
- # @return [WrapupCodeEntityListing]
2026
- def get_wrapupcodes(opts = {})
2027
- data, status_code, headers = get_wrapupcodes_with_http_info(opts)
2023
+ # @option opts [RoutingSkill] :body Skill
2024
+ # @return [RoutingSkill]
2025
+ def post_skills(opts = {})
2026
+ data, status_code, headers = post_skills_with_http_info(opts)
2028
2027
  return data
2029
2028
  end
2030
2029
 
2031
- # Get list of wrapup codes.
2030
+ # Create Skill
2032
2031
  #
2033
2032
  # @param [Hash] opts the optional parameters
2034
- # @option opts [Integer] :page_size Page size
2035
- # @option opts [Integer] :page_number Page number
2036
- # @option opts [String] :sort_by Sort by
2037
- # @return [Array<(WrapupCodeEntityListing, Fixnum, Hash)>] WrapupCodeEntityListing data, response status code and response headers
2038
- def get_wrapupcodes_with_http_info(opts = {})
2033
+ # @option opts [RoutingSkill] :body Skill
2034
+ # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
2035
+ def post_skills_with_http_info(opts = {})
2039
2036
  if @api_client.config.debugging
2040
- @api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes ..."
2037
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_skills ..."
2041
2038
  end
2042
2039
 
2043
2040
  # resource path
2044
- path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
2041
+ local_var_path = "/api/v2/routing/skills".sub('{format}','json')
2045
2042
 
2046
2043
  # query parameters
2047
2044
  query_params = {}
2048
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2049
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2050
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
2051
2045
 
2052
2046
  # header parameters
2053
2047
  header_params = {}
@@ -2064,45 +2058,49 @@ module PureCloud
2064
2058
  form_params = {}
2065
2059
 
2066
2060
  # http body (model)
2067
- post_body = nil
2061
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2068
2062
 
2069
-
2070
2063
  auth_names = ['PureCloud Auth']
2071
- data, status_code, headers = @api_client.call_api(:GET, path,
2064
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2072
2065
  :header_params => header_params,
2073
2066
  :query_params => query_params,
2074
2067
  :form_params => form_params,
2075
2068
  :body => post_body,
2076
2069
  :auth_names => auth_names,
2077
- :return_type => 'WrapupCodeEntityListing')
2070
+ :return_type => 'RoutingSkill')
2078
2071
  if @api_client.config.debugging
2079
- @api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2072
+ @api_client.config.logger.debug "API called: RoutingApi#post_skills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2080
2073
  end
2081
2074
  return data, status_code, headers
2082
2075
  end
2083
2076
 
2084
- # Create a wrap-up code
2077
+ # Add routing skill to user
2085
2078
  #
2079
+ # @param user_id User ID
2086
2080
  # @param [Hash] opts the optional parameters
2087
- # @option opts [WrapupCode] :body WrapupCode
2088
- # @return [CallableTimeSet]
2089
- def post_wrapupcodes(opts = {})
2090
- data, status_code, headers = post_wrapupcodes_with_http_info(opts)
2081
+ # @option opts [UserRoutingSkill] :body Skill
2082
+ # @return [UserRoutingSkill]
2083
+ def post_user_id_routingskills(user_id, opts = {})
2084
+ data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
2091
2085
  return data
2092
2086
  end
2093
2087
 
2094
- # Create a wrap-up code
2088
+ # Add routing skill to user
2095
2089
  #
2090
+ # @param user_id User ID
2096
2091
  # @param [Hash] opts the optional parameters
2097
- # @option opts [WrapupCode] :body WrapupCode
2098
- # @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
2099
- def post_wrapupcodes_with_http_info(opts = {})
2092
+ # @option opts [UserRoutingSkill] :body Skill
2093
+ # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
2094
+ def post_user_id_routingskills_with_http_info(user_id, opts = {})
2100
2095
  if @api_client.config.debugging
2101
- @api_client.config.logger.debug "Calling API: RoutingApi#post_wrapupcodes ..."
2096
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_user_id_routingskills ..."
2102
2097
  end
2103
2098
 
2099
+ # verify the required parameter 'user_id' is set
2100
+ fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
2101
+
2104
2102
  # resource path
2105
- path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
2103
+ local_var_path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2106
2104
 
2107
2105
  # query parameters
2108
2106
  query_params = {}
@@ -2124,46 +2122,42 @@ module PureCloud
2124
2122
  # http body (model)
2125
2123
  post_body = @api_client.object_to_http_body(opts[:'body'])
2126
2124
 
2127
-
2128
2125
  auth_names = ['PureCloud Auth']
2129
- data, status_code, headers = @api_client.call_api(:POST, path,
2126
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2130
2127
  :header_params => header_params,
2131
2128
  :query_params => query_params,
2132
2129
  :form_params => form_params,
2133
2130
  :body => post_body,
2134
2131
  :auth_names => auth_names,
2135
- :return_type => 'CallableTimeSet')
2132
+ :return_type => 'UserRoutingSkill')
2136
2133
  if @api_client.config.debugging
2137
- @api_client.config.logger.debug "API called: RoutingApi#post_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2134
+ @api_client.config.logger.debug "API called: RoutingApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2138
2135
  end
2139
2136
  return data, status_code, headers
2140
2137
  end
2141
2138
 
2142
- # Get details about this wrap-up code.
2139
+ # Create a wrap-up code
2143
2140
  #
2144
- # @param code_id Wrapup Code ID
2145
2141
  # @param [Hash] opts the optional parameters
2146
- # @return [WrapupCode]
2147
- def get_wrapupcodes_code_id(code_id, opts = {})
2148
- data, status_code, headers = get_wrapupcodes_code_id_with_http_info(code_id, opts)
2142
+ # @option opts [WrapupCode] :body WrapupCode
2143
+ # @return [CallableTimeSet]
2144
+ def post_wrapupcodes(opts = {})
2145
+ data, status_code, headers = post_wrapupcodes_with_http_info(opts)
2149
2146
  return data
2150
2147
  end
2151
2148
 
2152
- # Get details about this wrap-up code.
2149
+ # Create a wrap-up code
2153
2150
  #
2154
- # @param code_id Wrapup Code ID
2155
2151
  # @param [Hash] opts the optional parameters
2156
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2157
- def get_wrapupcodes_code_id_with_http_info(code_id, opts = {})
2152
+ # @option opts [WrapupCode] :body WrapupCode
2153
+ # @return [Array<(CallableTimeSet, Fixnum, Hash)>] CallableTimeSet data, response status code and response headers
2154
+ def post_wrapupcodes_with_http_info(opts = {})
2158
2155
  if @api_client.config.debugging
2159
- @api_client.config.logger.debug "Calling API: RoutingApi#get_wrapupcodes_code_id ..."
2156
+ @api_client.config.logger.debug "Calling API: RoutingApi#post_wrapupcodes ..."
2160
2157
  end
2161
2158
 
2162
- # verify the required parameter 'code_id' is set
2163
- fail "Missing the required parameter 'code_id' when calling get_wrapupcodes_code_id" if code_id.nil?
2164
-
2165
2159
  # resource path
2166
- path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
2160
+ local_var_path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
2167
2161
 
2168
2162
  # query parameters
2169
2163
  query_params = {}
@@ -2183,50 +2177,54 @@ module PureCloud
2183
2177
  form_params = {}
2184
2178
 
2185
2179
  # http body (model)
2186
- post_body = nil
2180
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2187
2181
 
2188
-
2189
2182
  auth_names = ['PureCloud Auth']
2190
- data, status_code, headers = @api_client.call_api(:GET, path,
2183
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2191
2184
  :header_params => header_params,
2192
2185
  :query_params => query_params,
2193
2186
  :form_params => form_params,
2194
2187
  :body => post_body,
2195
2188
  :auth_names => auth_names,
2196
- :return_type => 'WrapupCode')
2189
+ :return_type => 'CallableTimeSet')
2197
2190
  if @api_client.config.debugging
2198
- @api_client.config.logger.debug "API called: RoutingApi#get_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2191
+ @api_client.config.logger.debug "API called: RoutingApi#post_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2199
2192
  end
2200
2193
  return data, status_code, headers
2201
2194
  end
2202
2195
 
2203
- # Update wrap-up code
2196
+ # Update a route
2204
2197
  #
2205
- # @param code_id Wrapup Code ID
2198
+ # @param domain email domain
2199
+ # @param id route ID
2206
2200
  # @param [Hash] opts the optional parameters
2207
- # @option opts [WrapupCode] :body WrapupCode
2208
- # @return [WrapupCode]
2209
- def put_wrapupcodes_code_id(code_id, opts = {})
2210
- data, status_code, headers = put_wrapupcodes_code_id_with_http_info(code_id, opts)
2201
+ # @option opts [InboundRoute] :body Route
2202
+ # @return [InboundRoute]
2203
+ def put_email_domains_domain_routes_id(domain, id, opts = {})
2204
+ data, status_code, headers = put_email_domains_domain_routes_id_with_http_info(domain, id, opts)
2211
2205
  return data
2212
2206
  end
2213
2207
 
2214
- # Update wrap-up code
2208
+ # Update a route
2215
2209
  #
2216
- # @param code_id Wrapup Code ID
2210
+ # @param domain email domain
2211
+ # @param id route ID
2217
2212
  # @param [Hash] opts the optional parameters
2218
- # @option opts [WrapupCode] :body WrapupCode
2219
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2220
- def put_wrapupcodes_code_id_with_http_info(code_id, opts = {})
2213
+ # @option opts [InboundRoute] :body Route
2214
+ # @return [Array<(InboundRoute, Fixnum, Hash)>] InboundRoute data, response status code and response headers
2215
+ def put_email_domains_domain_routes_id_with_http_info(domain, id, opts = {})
2221
2216
  if @api_client.config.debugging
2222
- @api_client.config.logger.debug "Calling API: RoutingApi#put_wrapupcodes_code_id ..."
2217
+ @api_client.config.logger.debug "Calling API: RoutingApi#put_email_domains_domain_routes_id ..."
2223
2218
  end
2224
2219
 
2225
- # verify the required parameter 'code_id' is set
2226
- fail "Missing the required parameter 'code_id' when calling put_wrapupcodes_code_id" if code_id.nil?
2220
+ # verify the required parameter 'domain' is set
2221
+ fail "Missing the required parameter 'domain' when calling put_email_domains_domain_routes_id" if domain.nil?
2222
+
2223
+ # verify the required parameter 'id' is set
2224
+ fail "Missing the required parameter 'id' when calling put_email_domains_domain_routes_id" if id.nil?
2227
2225
 
2228
2226
  # resource path
2229
- path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
2227
+ local_var_path = "/api/v2/routing/email/domains/{domain}/routes/{id}".sub('{format}','json').sub('{' + 'domain' + '}', domain.to_s).sub('{' + 'id' + '}', id.to_s)
2230
2228
 
2231
2229
  # query parameters
2232
2230
  query_params = {}
@@ -2248,46 +2246,47 @@ module PureCloud
2248
2246
  # http body (model)
2249
2247
  post_body = @api_client.object_to_http_body(opts[:'body'])
2250
2248
 
2251
-
2252
2249
  auth_names = ['PureCloud Auth']
2253
- data, status_code, headers = @api_client.call_api(:PUT, path,
2250
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2254
2251
  :header_params => header_params,
2255
2252
  :query_params => query_params,
2256
2253
  :form_params => form_params,
2257
2254
  :body => post_body,
2258
2255
  :auth_names => auth_names,
2259
- :return_type => 'WrapupCode')
2256
+ :return_type => 'InboundRoute')
2260
2257
  if @api_client.config.debugging
2261
- @api_client.config.logger.debug "API called: RoutingApi#put_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2258
+ @api_client.config.logger.debug "API called: RoutingApi#put_email_domains_domain_routes_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2262
2259
  end
2263
2260
  return data, status_code, headers
2264
2261
  end
2265
2262
 
2266
- # Delete wrap-up code
2263
+ # Update a queue
2267
2264
  #
2268
- # @param code_id Wrapup Code ID
2265
+ # @param queue_id Queue ID
2269
2266
  # @param [Hash] opts the optional parameters
2270
- # @return [String]
2271
- def delete_wrapupcodes_code_id(code_id, opts = {})
2272
- data, status_code, headers = delete_wrapupcodes_code_id_with_http_info(code_id, opts)
2267
+ # @option opts [Queue] :body Queue
2268
+ # @return [Queue]
2269
+ def put_queues_queue_id(queue_id, opts = {})
2270
+ data, status_code, headers = put_queues_queue_id_with_http_info(queue_id, opts)
2273
2271
  return data
2274
2272
  end
2275
2273
 
2276
- # Delete wrap-up code
2274
+ # Update a queue
2277
2275
  #
2278
- # @param code_id Wrapup Code ID
2276
+ # @param queue_id Queue ID
2279
2277
  # @param [Hash] opts the optional parameters
2280
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2281
- def delete_wrapupcodes_code_id_with_http_info(code_id, opts = {})
2278
+ # @option opts [Queue] :body Queue
2279
+ # @return [Array<(Queue, Fixnum, Hash)>] Queue data, response status code and response headers
2280
+ def put_queues_queue_id_with_http_info(queue_id, opts = {})
2282
2281
  if @api_client.config.debugging
2283
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_wrapupcodes_code_id ..."
2282
+ @api_client.config.logger.debug "Calling API: RoutingApi#put_queues_queue_id ..."
2284
2283
  end
2285
2284
 
2286
- # verify the required parameter 'code_id' is set
2287
- fail "Missing the required parameter 'code_id' when calling delete_wrapupcodes_code_id" if code_id.nil?
2285
+ # verify the required parameter 'queue_id' is set
2286
+ fail "Missing the required parameter 'queue_id' when calling put_queues_queue_id" if queue_id.nil?
2288
2287
 
2289
2288
  # resource path
2290
- path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
2289
+ local_var_path = "/api/v2/routing/queues/{queueId}".sub('{format}','json').sub('{' + 'queueId' + '}', queue_id.to_s)
2291
2290
 
2292
2291
  # query parameters
2293
2292
  query_params = {}
@@ -2307,64 +2306,52 @@ module PureCloud
2307
2306
  form_params = {}
2308
2307
 
2309
2308
  # http body (model)
2310
- post_body = nil
2309
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2311
2310
 
2312
-
2313
2311
  auth_names = ['PureCloud Auth']
2314
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2312
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2315
2313
  :header_params => header_params,
2316
2314
  :query_params => query_params,
2317
2315
  :form_params => form_params,
2318
2316
  :body => post_body,
2319
2317
  :auth_names => auth_names,
2320
- :return_type => 'String')
2318
+ :return_type => 'Queue')
2321
2319
  if @api_client.config.debugging
2322
- @api_client.config.logger.debug "API called: RoutingApi#delete_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2320
+ @api_client.config.logger.debug "API called: RoutingApi#put_queues_queue_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2323
2321
  end
2324
2322
  return data, status_code, headers
2325
2323
  end
2326
2324
 
2327
- # List routing skills for user
2325
+ # Update Routing Skill
2328
2326
  #
2329
- # @param user_id User ID
2327
+ # @param skill_id Skill ID
2330
2328
  # @param [Hash] opts the optional parameters
2331
- # @option opts [Integer] :page_size Page size
2332
- # @option opts [Integer] :page_number Page number
2333
- # @option opts [String] :sort_order Ascending or descending sort order
2334
- # @return [UserSkillEntityListing]
2335
- def get_user_id_routingskills(user_id, opts = {})
2336
- data, status_code, headers = get_user_id_routingskills_with_http_info(user_id, opts)
2329
+ # @option opts [RoutingSkill] :body Skill
2330
+ # @return [RoutingSkill]
2331
+ def put_skills_skill_id(skill_id, opts = {})
2332
+ data, status_code, headers = put_skills_skill_id_with_http_info(skill_id, opts)
2337
2333
  return data
2338
2334
  end
2339
2335
 
2340
- # List routing skills for user
2336
+ # Update Routing Skill
2341
2337
  #
2342
- # @param user_id User ID
2338
+ # @param skill_id Skill ID
2343
2339
  # @param [Hash] opts the optional parameters
2344
- # @option opts [Integer] :page_size Page size
2345
- # @option opts [Integer] :page_number Page number
2346
- # @option opts [String] :sort_order Ascending or descending sort order
2347
- # @return [Array<(UserSkillEntityListing, Fixnum, Hash)>] UserSkillEntityListing data, response status code and response headers
2348
- def get_user_id_routingskills_with_http_info(user_id, opts = {})
2340
+ # @option opts [RoutingSkill] :body Skill
2341
+ # @return [Array<(RoutingSkill, Fixnum, Hash)>] RoutingSkill data, response status code and response headers
2342
+ def put_skills_skill_id_with_http_info(skill_id, opts = {})
2349
2343
  if @api_client.config.debugging
2350
- @api_client.config.logger.debug "Calling API: RoutingApi#get_user_id_routingskills ..."
2344
+ @api_client.config.logger.debug "Calling API: RoutingApi#put_skills_skill_id ..."
2351
2345
  end
2352
2346
 
2353
- # verify the required parameter 'user_id' is set
2354
- fail "Missing the required parameter 'user_id' when calling get_user_id_routingskills" if user_id.nil?
2355
-
2356
- if opts[:'sort_order'] && !['[ascending', 'descending]'].include?(opts[:'sort_order'])
2357
- fail 'invalid value for "sort_order", must be one of [ascending, descending]'
2358
- end
2347
+ # verify the required parameter 'skill_id' is set
2348
+ fail "Missing the required parameter 'skill_id' when calling put_skills_skill_id" if skill_id.nil?
2359
2349
 
2360
2350
  # resource path
2361
- path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2351
+ local_var_path = "/api/v2/routing/skills/{skillId}".sub('{format}','json').sub('{' + 'skillId' + '}', skill_id.to_s)
2362
2352
 
2363
2353
  # query parameters
2364
2354
  query_params = {}
2365
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2366
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2367
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
2368
2355
 
2369
2356
  # header parameters
2370
2357
  header_params = {}
@@ -2381,50 +2368,44 @@ module PureCloud
2381
2368
  form_params = {}
2382
2369
 
2383
2370
  # http body (model)
2384
- post_body = nil
2371
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2385
2372
 
2386
-
2387
2373
  auth_names = ['PureCloud Auth']
2388
- data, status_code, headers = @api_client.call_api(:GET, path,
2374
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2389
2375
  :header_params => header_params,
2390
2376
  :query_params => query_params,
2391
2377
  :form_params => form_params,
2392
2378
  :body => post_body,
2393
2379
  :auth_names => auth_names,
2394
- :return_type => 'UserSkillEntityListing')
2380
+ :return_type => 'RoutingSkill')
2395
2381
  if @api_client.config.debugging
2396
- @api_client.config.logger.debug "API called: RoutingApi#get_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2382
+ @api_client.config.logger.debug "API called: RoutingApi#put_skills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2397
2383
  end
2398
2384
  return data, status_code, headers
2399
2385
  end
2400
2386
 
2401
- # Add routing skill to user
2387
+ # Update the utilization settings.
2402
2388
  #
2403
- # @param user_id User ID
2404
2389
  # @param [Hash] opts the optional parameters
2405
- # @option opts [UserRoutingSkill] :body Skill
2406
- # @return [UserRoutingSkill]
2407
- def post_user_id_routingskills(user_id, opts = {})
2408
- data, status_code, headers = post_user_id_routingskills_with_http_info(user_id, opts)
2390
+ # @option opts [Utilization] :body utilization
2391
+ # @return [Utilization]
2392
+ def put_utilization(opts = {})
2393
+ data, status_code, headers = put_utilization_with_http_info(opts)
2409
2394
  return data
2410
2395
  end
2411
2396
 
2412
- # Add routing skill to user
2397
+ # Update the utilization settings.
2413
2398
  #
2414
- # @param user_id User ID
2415
2399
  # @param [Hash] opts the optional parameters
2416
- # @option opts [UserRoutingSkill] :body Skill
2417
- # @return [Array<(UserRoutingSkill, Fixnum, Hash)>] UserRoutingSkill data, response status code and response headers
2418
- def post_user_id_routingskills_with_http_info(user_id, opts = {})
2400
+ # @option opts [Utilization] :body utilization
2401
+ # @return [Array<(Utilization, Fixnum, Hash)>] Utilization data, response status code and response headers
2402
+ def put_utilization_with_http_info(opts = {})
2419
2403
  if @api_client.config.debugging
2420
- @api_client.config.logger.debug "Calling API: RoutingApi#post_user_id_routingskills ..."
2404
+ @api_client.config.logger.debug "Calling API: RoutingApi#put_utilization ..."
2421
2405
  end
2422
2406
 
2423
- # verify the required parameter 'user_id' is set
2424
- fail "Missing the required parameter 'user_id' when calling post_user_id_routingskills" if user_id.nil?
2425
-
2426
2407
  # resource path
2427
- path = "/api/v2/users/{userId}/routingskills".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
2408
+ local_var_path = "/api/v2/routing/utilization".sub('{format}','json')
2428
2409
 
2429
2410
  # query parameters
2430
2411
  query_params = {}
@@ -2446,51 +2427,47 @@ module PureCloud
2446
2427
  # http body (model)
2447
2428
  post_body = @api_client.object_to_http_body(opts[:'body'])
2448
2429
 
2449
-
2450
2430
  auth_names = ['PureCloud Auth']
2451
- data, status_code, headers = @api_client.call_api(:POST, path,
2431
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2452
2432
  :header_params => header_params,
2453
2433
  :query_params => query_params,
2454
2434
  :form_params => form_params,
2455
2435
  :body => post_body,
2456
2436
  :auth_names => auth_names,
2457
- :return_type => 'UserRoutingSkill')
2437
+ :return_type => 'Utilization')
2458
2438
  if @api_client.config.debugging
2459
- @api_client.config.logger.debug "API called: RoutingApi#post_user_id_routingskills\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2439
+ @api_client.config.logger.debug "API called: RoutingApi#put_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2460
2440
  end
2461
2441
  return data, status_code, headers
2462
2442
  end
2463
2443
 
2464
- # Remove routing skill from user
2444
+ # Update wrap-up code
2465
2445
  #
2466
- # @param user_id User ID
2467
- # @param skill_id
2446
+ # @param code_id Wrapup Code ID
2468
2447
  # @param [Hash] opts the optional parameters
2469
- # @return [String]
2470
- def delete_user_id_routingskills_skill_id(user_id, skill_id, opts = {})
2471
- data, status_code, headers = delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts)
2448
+ # @option opts [WrapupCode] :body WrapupCode
2449
+ # @return [WrapupCode]
2450
+ def put_wrapupcodes_code_id(code_id, opts = {})
2451
+ data, status_code, headers = put_wrapupcodes_code_id_with_http_info(code_id, opts)
2472
2452
  return data
2473
2453
  end
2474
2454
 
2475
- # Remove routing skill from user
2455
+ # Update wrap-up code
2476
2456
  #
2477
- # @param user_id User ID
2478
- # @param skill_id
2457
+ # @param code_id Wrapup Code ID
2479
2458
  # @param [Hash] opts the optional parameters
2480
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2481
- def delete_user_id_routingskills_skill_id_with_http_info(user_id, skill_id, opts = {})
2459
+ # @option opts [WrapupCode] :body WrapupCode
2460
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2461
+ def put_wrapupcodes_code_id_with_http_info(code_id, opts = {})
2482
2462
  if @api_client.config.debugging
2483
- @api_client.config.logger.debug "Calling API: RoutingApi#delete_user_id_routingskills_skill_id ..."
2463
+ @api_client.config.logger.debug "Calling API: RoutingApi#put_wrapupcodes_code_id ..."
2484
2464
  end
2485
2465
 
2486
- # verify the required parameter 'user_id' is set
2487
- fail "Missing the required parameter 'user_id' when calling delete_user_id_routingskills_skill_id" if user_id.nil?
2488
-
2489
- # verify the required parameter 'skill_id' is set
2490
- fail "Missing the required parameter 'skill_id' when calling delete_user_id_routingskills_skill_id" if skill_id.nil?
2466
+ # verify the required parameter 'code_id' is set
2467
+ fail "Missing the required parameter 'code_id' when calling put_wrapupcodes_code_id" if code_id.nil?
2491
2468
 
2492
2469
  # resource path
2493
- path = "/api/v2/users/{userId}/routingskills/{skillId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'skillId' + '}', skill_id.to_s)
2470
+ local_var_path = "/api/v2/routing/wrapupcodes/{codeId}".sub('{format}','json').sub('{' + 'codeId' + '}', code_id.to_s)
2494
2471
 
2495
2472
  # query parameters
2496
2473
  query_params = {}
@@ -2510,25 +2487,20 @@ module PureCloud
2510
2487
  form_params = {}
2511
2488
 
2512
2489
  # http body (model)
2513
- post_body = nil
2490
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2514
2491
 
2515
-
2516
2492
  auth_names = ['PureCloud Auth']
2517
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2493
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2518
2494
  :header_params => header_params,
2519
2495
  :query_params => query_params,
2520
2496
  :form_params => form_params,
2521
2497
  :body => post_body,
2522
2498
  :auth_names => auth_names,
2523
- :return_type => 'String')
2499
+ :return_type => 'WrapupCode')
2524
2500
  if @api_client.config.debugging
2525
- @api_client.config.logger.debug "API called: RoutingApi#delete_user_id_routingskills_skill_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2501
+ @api_client.config.logger.debug "API called: RoutingApi#put_wrapupcodes_code_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2526
2502
  end
2527
2503
  return data, status_code, headers
2528
2504
  end
2529
2505
  end
2530
2506
  end
2531
-
2532
-
2533
-
2534
-