purecloud 0.35.1 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
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,35 +24,34 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Gets a list of existing attributes.
12
- #
27
+ # Delete an existing Attribute.
28
+ # This will remove attribute.
29
+ # @param attribute_id Attribute ID
13
30
  # @param [Hash] opts the optional parameters
14
- # @option opts [Integer] :page_number Page number
15
- # @option opts [Integer] :page_size Page size
16
- # @return [AttributeEntityListing]
17
- def get_attributes(opts = {})
18
- data, status_code, headers = get_attributes_with_http_info(opts)
19
- return data
31
+ # @return [nil]
32
+ def delete_attribute_id(attribute_id, opts = {})
33
+ delete_attribute_id_with_http_info(attribute_id, opts)
34
+ return nil
20
35
  end
21
36
 
22
- # Gets a list of existing attributes.
23
- #
37
+ # Delete an existing Attribute.
38
+ # This will remove attribute.
39
+ # @param attribute_id Attribute ID
24
40
  # @param [Hash] opts the optional parameters
25
- # @option opts [Integer] :page_number Page number
26
- # @option opts [Integer] :page_size Page size
27
- # @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
28
- def get_attributes_with_http_info(opts = {})
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_attribute_id_with_http_info(attribute_id, opts = {})
29
43
  if @api_client.config.debugging
30
- @api_client.config.logger.debug "Calling API: AttributesApi#get_attributes ..."
44
+ @api_client.config.logger.debug "Calling API: AttributesApi#delete_attribute_id ..."
31
45
  end
32
46
 
47
+ # verify the required parameter 'attribute_id' is set
48
+ fail "Missing the required parameter 'attribute_id' when calling delete_attribute_id" if attribute_id.nil?
49
+
33
50
  # resource path
34
- path = "/api/v2/attributes".sub('{format}','json')
51
+ local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
35
52
 
36
53
  # query parameters
37
54
  query_params = {}
38
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
39
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
40
55
 
41
56
  # header parameters
42
57
  header_params = {}
@@ -55,43 +70,44 @@ module PureCloud
55
70
  # http body (model)
56
71
  post_body = nil
57
72
 
58
-
59
73
  auth_names = ['PureCloud Auth']
60
- data, status_code, headers = @api_client.call_api(:GET, path,
74
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
61
75
  :header_params => header_params,
62
76
  :query_params => query_params,
63
77
  :form_params => form_params,
64
78
  :body => post_body,
65
- :auth_names => auth_names,
66
- :return_type => 'AttributeEntityListing')
79
+ :auth_names => auth_names)
67
80
  if @api_client.config.debugging
68
- @api_client.config.logger.debug "API called: AttributesApi#get_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: AttributesApi#delete_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
69
82
  end
70
83
  return data, status_code, headers
71
84
  end
72
85
 
73
- # Create an attribute.
86
+ # Get details about an existing attribute.
74
87
  #
88
+ # @param attribute_id Attribute ID
75
89
  # @param [Hash] opts the optional parameters
76
- # @option opts [Attribute] :body Attribute
77
90
  # @return [Attribute]
78
- def post_attributes(opts = {})
79
- data, status_code, headers = post_attributes_with_http_info(opts)
91
+ def get_attribute_id(attribute_id, opts = {})
92
+ data, status_code, headers = get_attribute_id_with_http_info(attribute_id, opts)
80
93
  return data
81
94
  end
82
95
 
83
- # Create an attribute.
96
+ # Get details about an existing attribute.
84
97
  #
98
+ # @param attribute_id Attribute ID
85
99
  # @param [Hash] opts the optional parameters
86
- # @option opts [Attribute] :body Attribute
87
100
  # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
88
- def post_attributes_with_http_info(opts = {})
101
+ def get_attribute_id_with_http_info(attribute_id, opts = {})
89
102
  if @api_client.config.debugging
90
- @api_client.config.logger.debug "Calling API: AttributesApi#post_attributes ..."
103
+ @api_client.config.logger.debug "Calling API: AttributesApi#get_attribute_id ..."
91
104
  end
92
105
 
106
+ # verify the required parameter 'attribute_id' is set
107
+ fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
108
+
93
109
  # resource path
94
- path = "/api/v2/attributes".sub('{format}','json')
110
+ local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
95
111
 
96
112
  # query parameters
97
113
  query_params = {}
@@ -111,11 +127,10 @@ module PureCloud
111
127
  form_params = {}
112
128
 
113
129
  # http body (model)
114
- post_body = @api_client.object_to_http_body(opts[:'body'])
130
+ post_body = nil
115
131
 
116
-
117
132
  auth_names = ['PureCloud Auth']
118
- data, status_code, headers = @api_client.call_api(:POST, path,
133
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
119
134
  :header_params => header_params,
120
135
  :query_params => query_params,
121
136
  :form_params => form_params,
@@ -123,36 +138,40 @@ module PureCloud
123
138
  :auth_names => auth_names,
124
139
  :return_type => 'Attribute')
125
140
  if @api_client.config.debugging
126
- @api_client.config.logger.debug "API called: AttributesApi#post_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: AttributesApi#get_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
142
  end
128
143
  return data, status_code, headers
129
144
  end
130
145
 
131
- # Query attributes
146
+ # Gets a list of existing attributes.
132
147
  #
133
148
  # @param [Hash] opts the optional parameters
134
- # @option opts [AttributeQueryRequest] :body query
149
+ # @option opts [Integer] :page_number Page number (default to 1)
150
+ # @option opts [Integer] :page_size Page size (default to 25)
135
151
  # @return [AttributeEntityListing]
136
- def post_query(opts = {})
137
- data, status_code, headers = post_query_with_http_info(opts)
152
+ def get_attributes(opts = {})
153
+ data, status_code, headers = get_attributes_with_http_info(opts)
138
154
  return data
139
155
  end
140
156
 
141
- # Query attributes
157
+ # Gets a list of existing attributes.
142
158
  #
143
159
  # @param [Hash] opts the optional parameters
144
- # @option opts [AttributeQueryRequest] :body query
160
+ # @option opts [Integer] :page_number Page number
161
+ # @option opts [Integer] :page_size Page size
145
162
  # @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
146
- def post_query_with_http_info(opts = {})
163
+ def get_attributes_with_http_info(opts = {})
147
164
  if @api_client.config.debugging
148
- @api_client.config.logger.debug "Calling API: AttributesApi#post_query ..."
165
+ @api_client.config.logger.debug "Calling API: AttributesApi#get_attributes ..."
149
166
  end
150
167
 
151
168
  # resource path
152
- path = "/api/v2/attributes/query".sub('{format}','json')
169
+ local_var_path = "/api/v2/attributes".sub('{format}','json')
153
170
 
154
171
  # query parameters
155
172
  query_params = {}
173
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
174
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
156
175
 
157
176
  # header parameters
158
177
  header_params = {}
@@ -169,11 +188,10 @@ module PureCloud
169
188
  form_params = {}
170
189
 
171
190
  # http body (model)
172
- post_body = @api_client.object_to_http_body(opts[:'body'])
191
+ post_body = nil
173
192
 
174
-
175
193
  auth_names = ['PureCloud Auth']
176
- data, status_code, headers = @api_client.call_api(:POST, path,
194
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
177
195
  :header_params => header_params,
178
196
  :query_params => query_params,
179
197
  :form_params => form_params,
@@ -181,36 +199,33 @@ module PureCloud
181
199
  :auth_names => auth_names,
182
200
  :return_type => 'AttributeEntityListing')
183
201
  if @api_client.config.debugging
184
- @api_client.config.logger.debug "API called: AttributesApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
202
+ @api_client.config.logger.debug "API called: AttributesApi#get_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
185
203
  end
186
204
  return data, status_code, headers
187
205
  end
188
206
 
189
- # Get details about an existing attribute.
207
+ # Create an attribute.
190
208
  #
191
- # @param attribute_id Attribute ID
192
209
  # @param [Hash] opts the optional parameters
210
+ # @option opts [Attribute] :body Attribute
193
211
  # @return [Attribute]
194
- def get_attribute_id(attribute_id, opts = {})
195
- data, status_code, headers = get_attribute_id_with_http_info(attribute_id, opts)
212
+ def post_attributes(opts = {})
213
+ data, status_code, headers = post_attributes_with_http_info(opts)
196
214
  return data
197
215
  end
198
216
 
199
- # Get details about an existing attribute.
217
+ # Create an attribute.
200
218
  #
201
- # @param attribute_id Attribute ID
202
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [Attribute] :body Attribute
203
221
  # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
204
- def get_attribute_id_with_http_info(attribute_id, opts = {})
222
+ def post_attributes_with_http_info(opts = {})
205
223
  if @api_client.config.debugging
206
- @api_client.config.logger.debug "Calling API: AttributesApi#get_attribute_id ..."
224
+ @api_client.config.logger.debug "Calling API: AttributesApi#post_attributes ..."
207
225
  end
208
226
 
209
- # verify the required parameter 'attribute_id' is set
210
- fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
211
-
212
227
  # resource path
213
- path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
228
+ local_var_path = "/api/v2/attributes".sub('{format}','json')
214
229
 
215
230
  # query parameters
216
231
  query_params = {}
@@ -230,11 +245,10 @@ module PureCloud
230
245
  form_params = {}
231
246
 
232
247
  # http body (model)
233
- post_body = nil
248
+ post_body = @api_client.object_to_http_body(opts[:'body'])
234
249
 
235
-
236
250
  auth_names = ['PureCloud Auth']
237
- data, status_code, headers = @api_client.call_api(:GET, path,
251
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
238
252
  :header_params => header_params,
239
253
  :query_params => query_params,
240
254
  :form_params => form_params,
@@ -242,38 +256,33 @@ module PureCloud
242
256
  :auth_names => auth_names,
243
257
  :return_type => 'Attribute')
244
258
  if @api_client.config.debugging
245
- @api_client.config.logger.debug "API called: AttributesApi#get_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
259
+ @api_client.config.logger.debug "API called: AttributesApi#post_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
246
260
  end
247
261
  return data, status_code, headers
248
262
  end
249
263
 
250
- # Update an existing attribute.
251
- # Fields that can be updated: name, description. The most recent version is required for updates.
252
- # @param attribute_id Attribute ID
264
+ # Query attributes
265
+ #
253
266
  # @param [Hash] opts the optional parameters
254
- # @option opts [Attribute] :body Attribute
255
- # @return [Attribute]
256
- def put_attribute_id(attribute_id, opts = {})
257
- data, status_code, headers = put_attribute_id_with_http_info(attribute_id, opts)
267
+ # @option opts [AttributeQueryRequest] :body query
268
+ # @return [AttributeEntityListing]
269
+ def post_query(opts = {})
270
+ data, status_code, headers = post_query_with_http_info(opts)
258
271
  return data
259
272
  end
260
273
 
261
- # Update an existing attribute.
262
- # Fields that can be updated: name, description. The most recent version is required for updates.
263
- # @param attribute_id Attribute ID
274
+ # Query attributes
275
+ #
264
276
  # @param [Hash] opts the optional parameters
265
- # @option opts [Attribute] :body Attribute
266
- # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
267
- def put_attribute_id_with_http_info(attribute_id, opts = {})
277
+ # @option opts [AttributeQueryRequest] :body query
278
+ # @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
279
+ def post_query_with_http_info(opts = {})
268
280
  if @api_client.config.debugging
269
- @api_client.config.logger.debug "Calling API: AttributesApi#put_attribute_id ..."
281
+ @api_client.config.logger.debug "Calling API: AttributesApi#post_query ..."
270
282
  end
271
283
 
272
- # verify the required parameter 'attribute_id' is set
273
- fail "Missing the required parameter 'attribute_id' when calling put_attribute_id" if attribute_id.nil?
274
-
275
284
  # resource path
276
- path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
285
+ local_var_path = "/api/v2/attributes/query".sub('{format}','json')
277
286
 
278
287
  # query parameters
279
288
  query_params = {}
@@ -295,46 +304,47 @@ module PureCloud
295
304
  # http body (model)
296
305
  post_body = @api_client.object_to_http_body(opts[:'body'])
297
306
 
298
-
299
307
  auth_names = ['PureCloud Auth']
300
- data, status_code, headers = @api_client.call_api(:PUT, path,
308
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
301
309
  :header_params => header_params,
302
310
  :query_params => query_params,
303
311
  :form_params => form_params,
304
312
  :body => post_body,
305
313
  :auth_names => auth_names,
306
- :return_type => 'Attribute')
314
+ :return_type => 'AttributeEntityListing')
307
315
  if @api_client.config.debugging
308
- @api_client.config.logger.debug "API called: AttributesApi#put_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
316
+ @api_client.config.logger.debug "API called: AttributesApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
309
317
  end
310
318
  return data, status_code, headers
311
319
  end
312
320
 
313
- # Delete an existing Attribute.
314
- # This will remove attribute.
321
+ # Update an existing attribute.
322
+ # Fields that can be updated: name, description. The most recent version is required for updates.
315
323
  # @param attribute_id Attribute ID
316
324
  # @param [Hash] opts the optional parameters
317
- # @return [nil]
318
- def delete_attribute_id(attribute_id, opts = {})
319
- delete_attribute_id_with_http_info(attribute_id, opts)
320
- return nil
325
+ # @option opts [Attribute] :body Attribute
326
+ # @return [Attribute]
327
+ def put_attribute_id(attribute_id, opts = {})
328
+ data, status_code, headers = put_attribute_id_with_http_info(attribute_id, opts)
329
+ return data
321
330
  end
322
331
 
323
- # Delete an existing Attribute.
324
- # This will remove attribute.
332
+ # Update an existing attribute.
333
+ # Fields that can be updated: name, description. The most recent version is required for updates.
325
334
  # @param attribute_id Attribute ID
326
335
  # @param [Hash] opts the optional parameters
327
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
328
- def delete_attribute_id_with_http_info(attribute_id, opts = {})
336
+ # @option opts [Attribute] :body Attribute
337
+ # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
338
+ def put_attribute_id_with_http_info(attribute_id, opts = {})
329
339
  if @api_client.config.debugging
330
- @api_client.config.logger.debug "Calling API: AttributesApi#delete_attribute_id ..."
340
+ @api_client.config.logger.debug "Calling API: AttributesApi#put_attribute_id ..."
331
341
  end
332
342
 
333
343
  # verify the required parameter 'attribute_id' is set
334
- fail "Missing the required parameter 'attribute_id' when calling delete_attribute_id" if attribute_id.nil?
344
+ fail "Missing the required parameter 'attribute_id' when calling put_attribute_id" if attribute_id.nil?
335
345
 
336
346
  # resource path
337
- path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
347
+ local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
338
348
 
339
349
  # query parameters
340
350
  query_params = {}
@@ -354,24 +364,20 @@ module PureCloud
354
364
  form_params = {}
355
365
 
356
366
  # http body (model)
357
- post_body = nil
367
+ post_body = @api_client.object_to_http_body(opts[:'body'])
358
368
 
359
-
360
369
  auth_names = ['PureCloud Auth']
361
- data, status_code, headers = @api_client.call_api(:DELETE, path,
370
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
362
371
  :header_params => header_params,
363
372
  :query_params => query_params,
364
373
  :form_params => form_params,
365
374
  :body => post_body,
366
- :auth_names => auth_names)
375
+ :auth_names => auth_names,
376
+ :return_type => 'Attribute')
367
377
  if @api_client.config.debugging
368
- @api_client.config.logger.debug "API called: AttributesApi#delete_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
+ @api_client.config.logger.debug "API called: AttributesApi#put_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
369
379
  end
370
380
  return data, status_code, headers
371
381
  end
372
382
  end
373
383
  end
374
-
375
-
376
-
377
-
@@ -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,11 +24,129 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
27
+ # Delete an organization role.
28
+ #
29
+ # @param role_id Role ID
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [nil]
32
+ def delete_roles_role_id(role_id, opts = {})
33
+ delete_roles_role_id_with_http_info(role_id, opts)
34
+ return nil
35
+ end
36
+
37
+ # Delete an organization role.
38
+ #
39
+ # @param role_id Role ID
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_roles_role_id_with_http_info(role_id, opts = {})
43
+ if @api_client.config.debugging
44
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#delete_roles_role_id ..."
45
+ end
46
+
47
+ # verify the required parameter 'role_id' is set
48
+ fail "Missing the required parameter 'role_id' when calling delete_roles_role_id" if role_id.nil?
49
+
50
+ # resource path
51
+ local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
52
+
53
+ # query parameters
54
+ query_params = {}
55
+
56
+ # header parameters
57
+ header_params = {}
58
+
59
+ # HTTP header 'Accept' (if needed)
60
+ _header_accept = ['application/json']
61
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
62
+
63
+ # HTTP header 'Content-Type'
64
+ _header_content_type = ['application/json']
65
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
66
+
67
+ # form parameters
68
+ form_params = {}
69
+
70
+ # http body (model)
71
+ post_body = nil
72
+
73
+ auth_names = ['PureCloud Auth']
74
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
75
+ :header_params => header_params,
76
+ :query_params => query_params,
77
+ :form_params => form_params,
78
+ :body => post_body,
79
+ :auth_names => auth_names)
80
+ if @api_client.config.debugging
81
+ @api_client.config.logger.debug "API called: AuthorizationApi#delete_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ end
83
+ return data, status_code, headers
84
+ end
85
+
86
+ # Removes all the roles from the user.
87
+ #
88
+ # @param user_id User ID
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ def delete_user_id_roles(user_id, opts = {})
92
+ delete_user_id_roles_with_http_info(user_id, opts)
93
+ return nil
94
+ end
95
+
96
+ # Removes all the roles from the user.
97
+ #
98
+ # @param user_id User ID
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
101
+ def delete_user_id_roles_with_http_info(user_id, opts = {})
102
+ if @api_client.config.debugging
103
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#delete_user_id_roles ..."
104
+ end
105
+
106
+ # verify the required parameter 'user_id' is set
107
+ fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
108
+
109
+ # resource path
110
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
111
+
112
+ # query parameters
113
+ query_params = {}
114
+
115
+ # header parameters
116
+ header_params = {}
117
+
118
+ # HTTP header 'Accept' (if needed)
119
+ _header_accept = ['application/json']
120
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
121
+
122
+ # HTTP header 'Content-Type'
123
+ _header_content_type = ['application/json']
124
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
125
+
126
+ # form parameters
127
+ form_params = {}
128
+
129
+ # http body (model)
130
+ post_body = nil
131
+
132
+ auth_names = ['PureCloud Auth']
133
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
134
+ :header_params => header_params,
135
+ :query_params => query_params,
136
+ :form_params => form_params,
137
+ :body => post_body,
138
+ :auth_names => auth_names)
139
+ if @api_client.config.debugging
140
+ @api_client.config.logger.debug "API called: AuthorizationApi#delete_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ end
142
+ return data, status_code, headers
143
+ end
144
+
11
145
  # Get all permissions.
12
146
  # Retrieve a list of all permission defined in the system.
13
147
  # @param [Hash] opts the optional parameters
14
- # @option opts [Integer] :page_size Page size
15
- # @option opts [Integer] :page_number Page number
148
+ # @option opts [Integer] :page_size Page size (default to 25)
149
+ # @option opts [Integer] :page_number Page number (default to 1)
16
150
  # @return [PermissionCollectionEntityListing]
17
151
  def get_permissions(opts = {})
18
152
  data, status_code, headers = get_permissions_with_http_info(opts)
@@ -31,7 +165,7 @@ module PureCloud
31
165
  end
32
166
 
33
167
  # resource path
34
- path = "/api/v2/authorization/permissions".sub('{format}','json')
168
+ local_var_path = "/api/v2/authorization/permissions".sub('{format}','json')
35
169
 
36
170
  # query parameters
37
171
  query_params = {}
@@ -55,9 +189,8 @@ module PureCloud
55
189
  # http body (model)
56
190
  post_body = nil
57
191
 
58
-
59
192
  auth_names = ['PureCloud Auth']
60
- data, status_code, headers = @api_client.call_api(:GET, path,
193
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
194
  :header_params => header_params,
62
195
  :query_params => query_params,
63
196
  :form_params => form_params,
@@ -89,7 +222,7 @@ module PureCloud
89
222
  end
90
223
 
91
224
  # resource path
92
- path = "/api/v2/authorization/products".sub('{format}','json')
225
+ local_var_path = "/api/v2/authorization/products".sub('{format}','json')
93
226
 
94
227
  # query parameters
95
228
  query_params = {}
@@ -111,9 +244,8 @@ module PureCloud
111
244
  # http body (model)
112
245
  post_body = nil
113
246
 
114
-
115
247
  auth_names = ['PureCloud Auth']
116
- data, status_code, headers = @api_client.call_api(:GET, path,
248
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
117
249
  :header_params => header_params,
118
250
  :query_params => query_params,
119
251
  :form_params => form_params,
@@ -129,14 +261,14 @@ module PureCloud
129
261
  # Retrieve a list of all roles defined for the organization
130
262
  #
131
263
  # @param [Hash] opts the optional parameters
132
- # @option opts [Integer] :page_size The total page size requested
133
- # @option opts [Integer] :page_number The page number requested
264
+ # @option opts [Integer] :page_size The total page size requested (default to 25)
265
+ # @option opts [Integer] :page_number The page number requested (default to 1)
134
266
  # @option opts [String] :sort_by variable name requested to sort by
135
267
  # @option opts [Array<String>] :expand variable name requested by expand list
136
268
  # @option opts [String] :next_page next page token
137
269
  # @option opts [String] :previous_page Previous page token
138
270
  # @option opts [Array<String>] :permission
139
- # @option opts [BOOLEAN] :user_count
271
+ # @option opts [BOOLEAN] :user_count (default to true)
140
272
  # @return [OrganizationRoleEntityListing]
141
273
  def get_roles(opts = {})
142
274
  data, status_code, headers = get_roles_with_http_info(opts)
@@ -161,7 +293,7 @@ module PureCloud
161
293
  end
162
294
 
163
295
  # resource path
164
- path = "/api/v2/authorization/roles".sub('{format}','json')
296
+ local_var_path = "/api/v2/authorization/roles".sub('{format}','json')
165
297
 
166
298
  # query parameters
167
299
  query_params = {}
@@ -191,9 +323,8 @@ module PureCloud
191
323
  # http body (model)
192
324
  post_body = nil
193
325
 
194
-
195
326
  auth_names = ['PureCloud Auth']
196
- data, status_code, headers = @api_client.call_api(:GET, path,
327
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
197
328
  :header_params => header_params,
198
329
  :query_params => query_params,
199
330
  :form_params => form_params,
@@ -206,28 +337,36 @@ module PureCloud
206
337
  return data, status_code, headers
207
338
  end
208
339
 
209
- # Create an organization role.
210
- #
340
+ # Get an org role to default role comparison comparison
341
+ # Compares any organization role to a default role id and show differences
342
+ # @param left_role_id Left Role ID
343
+ # @param right_role_id Right Role id
211
344
  # @param [Hash] opts the optional parameters
212
- # @option opts [DomainOrganizationRole] :body
213
- # @return [DomainOrganizationRole]
214
- def post_roles(opts = {})
215
- data, status_code, headers = post_roles_with_http_info(opts)
345
+ # @return [DomainOrgRoleDifference]
346
+ def get_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, opts = {})
347
+ data, status_code, headers = get_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts)
216
348
  return data
217
349
  end
218
350
 
219
- # Create an organization role.
220
- #
351
+ # Get an org role to default role comparison comparison
352
+ # Compares any organization role to a default role id and show differences
353
+ # @param left_role_id Left Role ID
354
+ # @param right_role_id Right Role id
221
355
  # @param [Hash] opts the optional parameters
222
- # @option opts [DomainOrganizationRole] :body
223
- # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
224
- def post_roles_with_http_info(opts = {})
356
+ # @return [Array<(DomainOrgRoleDifference, Fixnum, Hash)>] DomainOrgRoleDifference data, response status code and response headers
357
+ def get_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts = {})
225
358
  if @api_client.config.debugging
226
- @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles ..."
359
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#get_roles_leftrole_id_comparedefault_rightrole_id ..."
227
360
  end
228
361
 
362
+ # verify the required parameter 'left_role_id' is set
363
+ fail "Missing the required parameter 'left_role_id' when calling get_roles_leftrole_id_comparedefault_rightrole_id" if left_role_id.nil?
364
+
365
+ # verify the required parameter 'right_role_id' is set
366
+ fail "Missing the required parameter 'right_role_id' when calling get_roles_leftrole_id_comparedefault_rightrole_id" if right_role_id.nil?
367
+
229
368
  # resource path
230
- path = "/api/v2/authorization/roles".sub('{format}','json')
369
+ local_var_path = "/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}".sub('{format}','json').sub('{' + 'leftRoleId' + '}', left_role_id.to_s).sub('{' + 'rightRoleId' + '}', right_role_id.to_s)
231
370
 
232
371
  # query parameters
233
372
  query_params = {}
@@ -247,45 +386,47 @@ module PureCloud
247
386
  form_params = {}
248
387
 
249
388
  # http body (model)
250
- post_body = @api_client.object_to_http_body(opts[:'body'])
389
+ post_body = nil
251
390
 
252
-
253
391
  auth_names = ['PureCloud Auth']
254
- data, status_code, headers = @api_client.call_api(:POST, path,
392
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
255
393
  :header_params => header_params,
256
394
  :query_params => query_params,
257
395
  :form_params => form_params,
258
396
  :body => post_body,
259
397
  :auth_names => auth_names,
260
- :return_type => 'DomainOrganizationRole')
398
+ :return_type => 'DomainOrgRoleDifference')
261
399
  if @api_client.config.debugging
262
- @api_client.config.logger.debug "API called: AuthorizationApi#post_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
400
+ @api_client.config.logger.debug "API called: AuthorizationApi#get_roles_leftrole_id_comparedefault_rightrole_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
263
401
  end
264
402
  return data, status_code, headers
265
403
  end
266
404
 
267
- # Restore specified default roles
268
- #
405
+ # Get a single organization role.
406
+ # Get the organization role specified by its ID.
407
+ # @param role_id Role ID
269
408
  # @param [Hash] opts the optional parameters
270
- # @option opts [Array<DomainOrganizationRole>] :body
271
- # @return [OrganizationRoleEntityListing]
272
- def put_roles_default(opts = {})
273
- data, status_code, headers = put_roles_default_with_http_info(opts)
409
+ # @return [DomainOrganizationRole]
410
+ def get_roles_role_id(role_id, opts = {})
411
+ data, status_code, headers = get_roles_role_id_with_http_info(role_id, opts)
274
412
  return data
275
413
  end
276
414
 
277
- # Restore specified default roles
278
- #
415
+ # Get a single organization role.
416
+ # Get the organization role specified by its ID.
417
+ # @param role_id Role ID
279
418
  # @param [Hash] opts the optional parameters
280
- # @option opts [Array<DomainOrganizationRole>] :body
281
- # @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
282
- def put_roles_default_with_http_info(opts = {})
419
+ # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
420
+ def get_roles_role_id_with_http_info(role_id, opts = {})
283
421
  if @api_client.config.debugging
284
- @api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_default ..."
422
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#get_roles_role_id ..."
285
423
  end
286
424
 
425
+ # verify the required parameter 'role_id' is set
426
+ fail "Missing the required parameter 'role_id' when calling get_roles_role_id" if role_id.nil?
427
+
287
428
  # resource path
288
- path = "/api/v2/authorization/roles/default".sub('{format}','json')
429
+ local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
289
430
 
290
431
  # query parameters
291
432
  query_params = {}
@@ -305,49 +446,50 @@ module PureCloud
305
446
  form_params = {}
306
447
 
307
448
  # http body (model)
308
- post_body = @api_client.object_to_http_body(opts[:'body'])
449
+ post_body = nil
309
450
 
310
-
311
451
  auth_names = ['PureCloud Auth']
312
- data, status_code, headers = @api_client.call_api(:PUT, path,
452
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
313
453
  :header_params => header_params,
314
454
  :query_params => query_params,
315
455
  :form_params => form_params,
316
456
  :body => post_body,
317
457
  :auth_names => auth_names,
318
- :return_type => 'OrganizationRoleEntityListing')
458
+ :return_type => 'DomainOrganizationRole')
319
459
  if @api_client.config.debugging
320
- @api_client.config.logger.debug "API called: AuthorizationApi#put_roles_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
460
+ @api_client.config.logger.debug "API called: AuthorizationApi#get_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
321
461
  end
322
462
  return data, status_code, headers
323
463
  end
324
464
 
325
- # Restores all default roles
326
- # This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true, it only adds the default roles not configured for the org; it does not overwrite roles. 2. Using the query param force=true, you can restore all default roles. Note: This does not have an effect on custom roles.
465
+ # Returns a listing of roles and permissions for a user.
466
+ #
467
+ # @param user_id User ID
327
468
  # @param [Hash] opts the optional parameters
328
- # @option opts [BOOLEAN] :force Restore default roles
329
- # @return [OrganizationRoleEntityListing]
330
- def post_roles_default(opts = {})
331
- data, status_code, headers = post_roles_default_with_http_info(opts)
469
+ # @return [UserAuthorization]
470
+ def get_user_id_roles(user_id, opts = {})
471
+ data, status_code, headers = get_user_id_roles_with_http_info(user_id, opts)
332
472
  return data
333
473
  end
334
474
 
335
- # Restores all default roles
336
- # This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true, it only adds the default roles not configured for the org; it does not overwrite roles. 2. Using the query param force=true, you can restore all default roles. Note: This does not have an effect on custom roles.
475
+ # Returns a listing of roles and permissions for a user.
476
+ #
477
+ # @param user_id User ID
337
478
  # @param [Hash] opts the optional parameters
338
- # @option opts [BOOLEAN] :force Restore default roles
339
- # @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
340
- def post_roles_default_with_http_info(opts = {})
479
+ # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
480
+ def get_user_id_roles_with_http_info(user_id, opts = {})
341
481
  if @api_client.config.debugging
342
- @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles_default ..."
482
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#get_user_id_roles ..."
343
483
  end
344
484
 
485
+ # verify the required parameter 'user_id' is set
486
+ fail "Missing the required parameter 'user_id' when calling get_user_id_roles" if user_id.nil?
487
+
345
488
  # resource path
346
- path = "/api/v2/authorization/roles/default".sub('{format}','json')
489
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
347
490
 
348
491
  # query parameters
349
492
  query_params = {}
350
- query_params[:'force'] = opts[:'force'] if opts[:'force']
351
493
 
352
494
  # header parameters
353
495
  header_params = {}
@@ -366,51 +508,47 @@ module PureCloud
366
508
  # http body (model)
367
509
  post_body = nil
368
510
 
369
-
370
511
  auth_names = ['PureCloud Auth']
371
- data, status_code, headers = @api_client.call_api(:POST, path,
512
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
372
513
  :header_params => header_params,
373
514
  :query_params => query_params,
374
515
  :form_params => form_params,
375
516
  :body => post_body,
376
517
  :auth_names => auth_names,
377
- :return_type => 'OrganizationRoleEntityListing')
518
+ :return_type => 'UserAuthorization')
378
519
  if @api_client.config.debugging
379
- @api_client.config.logger.debug "API called: AuthorizationApi#post_roles_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
520
+ @api_client.config.logger.debug "API called: AuthorizationApi#get_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
380
521
  end
381
522
  return data, status_code, headers
382
523
  end
383
524
 
384
- # Get an org role to default role comparison comparison
385
- # Compares any organization role to a default role id and show differences
386
- # @param left_role_id Left Role ID
387
- # @param right_role_id Right Role id
525
+ # Patch Organization Role for needsUpdate Field
526
+ # Patch Organization Role for needsUpdate Field
527
+ # @param role_id Role ID
388
528
  # @param [Hash] opts the optional parameters
389
- # @return [DomainOrgRoleDifference]
390
- def get_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, opts = {})
391
- data, status_code, headers = get_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts)
529
+ # @option opts [DomainOrganizationRole] :body
530
+ # @return [DomainOrganizationRole]
531
+ def patch_roles_role_id(role_id, opts = {})
532
+ data, status_code, headers = patch_roles_role_id_with_http_info(role_id, opts)
392
533
  return data
393
534
  end
394
535
 
395
- # Get an org role to default role comparison comparison
396
- # Compares any organization role to a default role id and show differences
397
- # @param left_role_id Left Role ID
398
- # @param right_role_id Right Role id
536
+ # Patch Organization Role for needsUpdate Field
537
+ # Patch Organization Role for needsUpdate Field
538
+ # @param role_id Role ID
399
539
  # @param [Hash] opts the optional parameters
400
- # @return [Array<(DomainOrgRoleDifference, Fixnum, Hash)>] DomainOrgRoleDifference data, response status code and response headers
401
- def get_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts = {})
540
+ # @option opts [DomainOrganizationRole] :body
541
+ # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
542
+ def patch_roles_role_id_with_http_info(role_id, opts = {})
402
543
  if @api_client.config.debugging
403
- @api_client.config.logger.debug "Calling API: AuthorizationApi#get_roles_leftrole_id_comparedefault_rightrole_id ..."
544
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#patch_roles_role_id ..."
404
545
  end
405
546
 
406
- # verify the required parameter 'left_role_id' is set
407
- fail "Missing the required parameter 'left_role_id' when calling get_roles_leftrole_id_comparedefault_rightrole_id" if left_role_id.nil?
408
-
409
- # verify the required parameter 'right_role_id' is set
410
- fail "Missing the required parameter 'right_role_id' when calling get_roles_leftrole_id_comparedefault_rightrole_id" if right_role_id.nil?
547
+ # verify the required parameter 'role_id' is set
548
+ fail "Missing the required parameter 'role_id' when calling patch_roles_role_id" if role_id.nil?
411
549
 
412
550
  # resource path
413
- path = "/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}".sub('{format}','json').sub('{' + 'leftRoleId' + '}', left_role_id.to_s).sub('{' + 'rightRoleId' + '}', right_role_id.to_s)
551
+ local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
414
552
 
415
553
  # query parameters
416
554
  query_params = {}
@@ -430,55 +568,44 @@ module PureCloud
430
568
  form_params = {}
431
569
 
432
570
  # http body (model)
433
- post_body = nil
571
+ post_body = @api_client.object_to_http_body(opts[:'body'])
434
572
 
435
-
436
573
  auth_names = ['PureCloud Auth']
437
- data, status_code, headers = @api_client.call_api(:GET, path,
574
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
438
575
  :header_params => header_params,
439
576
  :query_params => query_params,
440
577
  :form_params => form_params,
441
578
  :body => post_body,
442
579
  :auth_names => auth_names,
443
- :return_type => 'DomainOrgRoleDifference')
580
+ :return_type => 'DomainOrganizationRole')
444
581
  if @api_client.config.debugging
445
- @api_client.config.logger.debug "API called: AuthorizationApi#get_roles_leftrole_id_comparedefault_rightrole_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
582
+ @api_client.config.logger.debug "API called: AuthorizationApi#patch_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
446
583
  end
447
584
  return data, status_code, headers
448
585
  end
449
586
 
450
- # Get an unsaved org role to default role comparison
451
- # Allows users to compare their existing roles in an unsaved state to its default role
452
- # @param left_role_id Left Role ID
453
- # @param right_role_id Right Role id
587
+ # Create an organization role.
588
+ #
454
589
  # @param [Hash] opts the optional parameters
455
590
  # @option opts [DomainOrganizationRole] :body
456
- # @return [DomainOrgRoleDifference]
457
- def post_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, opts = {})
458
- data, status_code, headers = post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts)
591
+ # @return [DomainOrganizationRole]
592
+ def post_roles(opts = {})
593
+ data, status_code, headers = post_roles_with_http_info(opts)
459
594
  return data
460
595
  end
461
596
 
462
- # Get an unsaved org role to default role comparison
463
- # Allows users to compare their existing roles in an unsaved state to its default role
464
- # @param left_role_id Left Role ID
465
- # @param right_role_id Right Role id
597
+ # Create an organization role.
598
+ #
466
599
  # @param [Hash] opts the optional parameters
467
600
  # @option opts [DomainOrganizationRole] :body
468
- # @return [Array<(DomainOrgRoleDifference, Fixnum, Hash)>] DomainOrgRoleDifference data, response status code and response headers
469
- def post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts = {})
470
- if @api_client.config.debugging
471
- @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles_leftrole_id_comparedefault_rightrole_id ..."
472
- end
473
-
474
- # verify the required parameter 'left_role_id' is set
475
- fail "Missing the required parameter 'left_role_id' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if left_role_id.nil?
476
-
477
- # verify the required parameter 'right_role_id' is set
478
- fail "Missing the required parameter 'right_role_id' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if right_role_id.nil?
601
+ # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
602
+ def post_roles_with_http_info(opts = {})
603
+ if @api_client.config.debugging
604
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles ..."
605
+ end
479
606
 
480
607
  # resource path
481
- path = "/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}".sub('{format}','json').sub('{' + 'leftRoleId' + '}', left_role_id.to_s).sub('{' + 'rightRoleId' + '}', right_role_id.to_s)
608
+ local_var_path = "/api/v2/authorization/roles".sub('{format}','json')
482
609
 
483
610
  # query parameters
484
611
  query_params = {}
@@ -500,49 +627,46 @@ module PureCloud
500
627
  # http body (model)
501
628
  post_body = @api_client.object_to_http_body(opts[:'body'])
502
629
 
503
-
504
630
  auth_names = ['PureCloud Auth']
505
- data, status_code, headers = @api_client.call_api(:POST, path,
631
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
506
632
  :header_params => header_params,
507
633
  :query_params => query_params,
508
634
  :form_params => form_params,
509
635
  :body => post_body,
510
636
  :auth_names => auth_names,
511
- :return_type => 'DomainOrgRoleDifference')
637
+ :return_type => 'DomainOrganizationRole')
512
638
  if @api_client.config.debugging
513
- @api_client.config.logger.debug "API called: AuthorizationApi#post_roles_leftrole_id_comparedefault_rightrole_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
639
+ @api_client.config.logger.debug "API called: AuthorizationApi#post_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
640
  end
515
641
  return data, status_code, headers
516
642
  end
517
643
 
518
- # Get a single organization role.
519
- # Get the organization role specified by its ID.
520
- # @param role_id Role ID
644
+ # Restores all default roles
645
+ # This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true, it only adds the default roles not configured for the org; it does not overwrite roles. 2. Using the query param force=true, you can restore all default roles. Note: This does not have an effect on custom roles.
521
646
  # @param [Hash] opts the optional parameters
522
- # @return [DomainOrganizationRole]
523
- def get_roles_role_id(role_id, opts = {})
524
- data, status_code, headers = get_roles_role_id_with_http_info(role_id, opts)
647
+ # @option opts [BOOLEAN] :force Restore default roles (default to false)
648
+ # @return [OrganizationRoleEntityListing]
649
+ def post_roles_default(opts = {})
650
+ data, status_code, headers = post_roles_default_with_http_info(opts)
525
651
  return data
526
652
  end
527
653
 
528
- # Get a single organization role.
529
- # Get the organization role specified by its ID.
530
- # @param role_id Role ID
654
+ # Restores all default roles
655
+ # This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true, it only adds the default roles not configured for the org; it does not overwrite roles. 2. Using the query param force=true, you can restore all default roles. Note: This does not have an effect on custom roles.
531
656
  # @param [Hash] opts the optional parameters
532
- # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
533
- def get_roles_role_id_with_http_info(role_id, opts = {})
657
+ # @option opts [BOOLEAN] :force Restore default roles
658
+ # @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
659
+ def post_roles_default_with_http_info(opts = {})
534
660
  if @api_client.config.debugging
535
- @api_client.config.logger.debug "Calling API: AuthorizationApi#get_roles_role_id ..."
661
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles_default ..."
536
662
  end
537
663
 
538
- # verify the required parameter 'role_id' is set
539
- fail "Missing the required parameter 'role_id' when calling get_roles_role_id" if role_id.nil?
540
-
541
664
  # resource path
542
- path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
665
+ local_var_path = "/api/v2/authorization/roles/default".sub('{format}','json')
543
666
 
544
667
  # query parameters
545
668
  query_params = {}
669
+ query_params[:'force'] = opts[:'force'] if opts[:'force']
546
670
 
547
671
  # header parameters
548
672
  header_params = {}
@@ -561,48 +685,52 @@ module PureCloud
561
685
  # http body (model)
562
686
  post_body = nil
563
687
 
564
-
565
688
  auth_names = ['PureCloud Auth']
566
- data, status_code, headers = @api_client.call_api(:GET, path,
689
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
567
690
  :header_params => header_params,
568
691
  :query_params => query_params,
569
692
  :form_params => form_params,
570
693
  :body => post_body,
571
694
  :auth_names => auth_names,
572
- :return_type => 'DomainOrganizationRole')
695
+ :return_type => 'OrganizationRoleEntityListing')
573
696
  if @api_client.config.debugging
574
- @api_client.config.logger.debug "API called: AuthorizationApi#get_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
697
+ @api_client.config.logger.debug "API called: AuthorizationApi#post_roles_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
575
698
  end
576
699
  return data, status_code, headers
577
700
  end
578
701
 
579
- # Update an organization role.
580
- # Update
581
- # @param role_id Role ID
702
+ # Get an unsaved org role to default role comparison
703
+ # Allows users to compare their existing roles in an unsaved state to its default role
704
+ # @param left_role_id Left Role ID
705
+ # @param right_role_id Right Role id
582
706
  # @param [Hash] opts the optional parameters
583
707
  # @option opts [DomainOrganizationRole] :body
584
- # @return [DomainOrganizationRole]
585
- def put_roles_role_id(role_id, opts = {})
586
- data, status_code, headers = put_roles_role_id_with_http_info(role_id, opts)
708
+ # @return [DomainOrgRoleDifference]
709
+ def post_roles_leftrole_id_comparedefault_rightrole_id(left_role_id, right_role_id, opts = {})
710
+ data, status_code, headers = post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts)
587
711
  return data
588
712
  end
589
713
 
590
- # Update an organization role.
591
- # Update
592
- # @param role_id Role ID
714
+ # Get an unsaved org role to default role comparison
715
+ # Allows users to compare their existing roles in an unsaved state to its default role
716
+ # @param left_role_id Left Role ID
717
+ # @param right_role_id Right Role id
593
718
  # @param [Hash] opts the optional parameters
594
719
  # @option opts [DomainOrganizationRole] :body
595
- # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
596
- def put_roles_role_id_with_http_info(role_id, opts = {})
720
+ # @return [Array<(DomainOrgRoleDifference, Fixnum, Hash)>] DomainOrgRoleDifference data, response status code and response headers
721
+ def post_roles_leftrole_id_comparedefault_rightrole_id_with_http_info(left_role_id, right_role_id, opts = {})
597
722
  if @api_client.config.debugging
598
- @api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_role_id ..."
723
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#post_roles_leftrole_id_comparedefault_rightrole_id ..."
599
724
  end
600
725
 
601
- # verify the required parameter 'role_id' is set
602
- fail "Missing the required parameter 'role_id' when calling put_roles_role_id" if role_id.nil?
726
+ # verify the required parameter 'left_role_id' is set
727
+ fail "Missing the required parameter 'left_role_id' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if left_role_id.nil?
728
+
729
+ # verify the required parameter 'right_role_id' is set
730
+ fail "Missing the required parameter 'right_role_id' when calling post_roles_leftrole_id_comparedefault_rightrole_id" if right_role_id.nil?
603
731
 
604
732
  # resource path
605
- path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
733
+ local_var_path = "/api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId}".sub('{format}','json').sub('{' + 'leftRoleId' + '}', left_role_id.to_s).sub('{' + 'rightRoleId' + '}', right_role_id.to_s)
606
734
 
607
735
  # query parameters
608
736
  query_params = {}
@@ -624,46 +752,42 @@ module PureCloud
624
752
  # http body (model)
625
753
  post_body = @api_client.object_to_http_body(opts[:'body'])
626
754
 
627
-
628
755
  auth_names = ['PureCloud Auth']
629
- data, status_code, headers = @api_client.call_api(:PUT, path,
756
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
630
757
  :header_params => header_params,
631
758
  :query_params => query_params,
632
759
  :form_params => form_params,
633
760
  :body => post_body,
634
761
  :auth_names => auth_names,
635
- :return_type => 'DomainOrganizationRole')
762
+ :return_type => 'DomainOrgRoleDifference')
636
763
  if @api_client.config.debugging
637
- @api_client.config.logger.debug "API called: AuthorizationApi#put_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
764
+ @api_client.config.logger.debug "API called: AuthorizationApi#post_roles_leftrole_id_comparedefault_rightrole_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
638
765
  end
639
766
  return data, status_code, headers
640
767
  end
641
768
 
642
- # Delete an organization role.
769
+ # Restore specified default roles
643
770
  #
644
- # @param role_id Role ID
645
771
  # @param [Hash] opts the optional parameters
646
- # @return [nil]
647
- def delete_roles_role_id(role_id, opts = {})
648
- delete_roles_role_id_with_http_info(role_id, opts)
649
- return nil
772
+ # @option opts [Array<DomainOrganizationRole>] :body
773
+ # @return [OrganizationRoleEntityListing]
774
+ def put_roles_default(opts = {})
775
+ data, status_code, headers = put_roles_default_with_http_info(opts)
776
+ return data
650
777
  end
651
778
 
652
- # Delete an organization role.
779
+ # Restore specified default roles
653
780
  #
654
- # @param role_id Role ID
655
781
  # @param [Hash] opts the optional parameters
656
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
657
- def delete_roles_role_id_with_http_info(role_id, opts = {})
782
+ # @option opts [Array<DomainOrganizationRole>] :body
783
+ # @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
784
+ def put_roles_default_with_http_info(opts = {})
658
785
  if @api_client.config.debugging
659
- @api_client.config.logger.debug "Calling API: AuthorizationApi#delete_roles_role_id ..."
786
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_default ..."
660
787
  end
661
788
 
662
- # verify the required parameter 'role_id' is set
663
- fail "Missing the required parameter 'role_id' when calling delete_roles_role_id" if role_id.nil?
664
-
665
789
  # resource path
666
- path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
790
+ local_var_path = "/api/v2/authorization/roles/default".sub('{format}','json')
667
791
 
668
792
  # query parameters
669
793
  query_params = {}
@@ -683,49 +807,49 @@ module PureCloud
683
807
  form_params = {}
684
808
 
685
809
  # http body (model)
686
- post_body = nil
810
+ post_body = @api_client.object_to_http_body(opts[:'body'])
687
811
 
688
-
689
812
  auth_names = ['PureCloud Auth']
690
- data, status_code, headers = @api_client.call_api(:DELETE, path,
813
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
691
814
  :header_params => header_params,
692
815
  :query_params => query_params,
693
816
  :form_params => form_params,
694
817
  :body => post_body,
695
- :auth_names => auth_names)
818
+ :auth_names => auth_names,
819
+ :return_type => 'OrganizationRoleEntityListing')
696
820
  if @api_client.config.debugging
697
- @api_client.config.logger.debug "API called: AuthorizationApi#delete_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
821
+ @api_client.config.logger.debug "API called: AuthorizationApi#put_roles_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
698
822
  end
699
823
  return data, status_code, headers
700
824
  end
701
825
 
702
- # Patch Organization Role for needsUpdate Field
703
- # Patch Organization Role for needsUpdate Field
826
+ # Update an organization role.
827
+ # Update
704
828
  # @param role_id Role ID
705
829
  # @param [Hash] opts the optional parameters
706
830
  # @option opts [DomainOrganizationRole] :body
707
831
  # @return [DomainOrganizationRole]
708
- def patch_roles_role_id(role_id, opts = {})
709
- data, status_code, headers = patch_roles_role_id_with_http_info(role_id, opts)
832
+ def put_roles_role_id(role_id, opts = {})
833
+ data, status_code, headers = put_roles_role_id_with_http_info(role_id, opts)
710
834
  return data
711
835
  end
712
836
 
713
- # Patch Organization Role for needsUpdate Field
714
- # Patch Organization Role for needsUpdate Field
837
+ # Update an organization role.
838
+ # Update
715
839
  # @param role_id Role ID
716
840
  # @param [Hash] opts the optional parameters
717
841
  # @option opts [DomainOrganizationRole] :body
718
842
  # @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
719
- def patch_roles_role_id_with_http_info(role_id, opts = {})
843
+ def put_roles_role_id_with_http_info(role_id, opts = {})
720
844
  if @api_client.config.debugging
721
- @api_client.config.logger.debug "Calling API: AuthorizationApi#patch_roles_role_id ..."
845
+ @api_client.config.logger.debug "Calling API: AuthorizationApi#put_roles_role_id ..."
722
846
  end
723
847
 
724
848
  # verify the required parameter 'role_id' is set
725
- fail "Missing the required parameter 'role_id' when calling patch_roles_role_id" if role_id.nil?
849
+ fail "Missing the required parameter 'role_id' when calling put_roles_role_id" if role_id.nil?
726
850
 
727
851
  # resource path
728
- path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
852
+ local_var_path = "/api/v2/authorization/roles/{roleId}".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
729
853
 
730
854
  # query parameters
731
855
  query_params = {}
@@ -747,9 +871,8 @@ module PureCloud
747
871
  # http body (model)
748
872
  post_body = @api_client.object_to_http_body(opts[:'body'])
749
873
 
750
-
751
874
  auth_names = ['PureCloud Auth']
752
- data, status_code, headers = @api_client.call_api(:PATCH, path,
875
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
753
876
  :header_params => header_params,
754
877
  :query_params => query_params,
755
878
  :form_params => form_params,
@@ -757,7 +880,7 @@ module PureCloud
757
880
  :auth_names => auth_names,
758
881
  :return_type => 'DomainOrganizationRole')
759
882
  if @api_client.config.debugging
760
- @api_client.config.logger.debug "API called: AuthorizationApi#patch_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
883
+ @api_client.config.logger.debug "API called: AuthorizationApi#put_roles_role_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
761
884
  end
762
885
  return data, status_code, headers
763
886
  end
@@ -788,7 +911,7 @@ module PureCloud
788
911
  fail "Missing the required parameter 'role_id' when calling put_roles_role_id_users_add" if role_id.nil?
789
912
 
790
913
  # resource path
791
- path = "/api/v2/authorization/roles/{roleId}/users/add".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
914
+ local_var_path = "/api/v2/authorization/roles/{roleId}/users/add".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
792
915
 
793
916
  # query parameters
794
917
  query_params = {}
@@ -810,9 +933,8 @@ module PureCloud
810
933
  # http body (model)
811
934
  post_body = @api_client.object_to_http_body(opts[:'body'])
812
935
 
813
-
814
936
  auth_names = ['PureCloud Auth']
815
- data, status_code, headers = @api_client.call_api(:PUT, path,
937
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
816
938
  :header_params => header_params,
817
939
  :query_params => query_params,
818
940
  :form_params => form_params,
@@ -851,7 +973,7 @@ module PureCloud
851
973
  fail "Missing the required parameter 'role_id' when calling put_roles_role_id_users_remove" if role_id.nil?
852
974
 
853
975
  # resource path
854
- path = "/api/v2/authorization/roles/{roleId}/users/remove".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
976
+ local_var_path = "/api/v2/authorization/roles/{roleId}/users/remove".sub('{format}','json').sub('{' + 'roleId' + '}', role_id.to_s)
855
977
 
856
978
  # query parameters
857
979
  query_params = {}
@@ -873,9 +995,8 @@ module PureCloud
873
995
  # http body (model)
874
996
  post_body = @api_client.object_to_http_body(opts[:'body'])
875
997
 
876
-
877
998
  auth_names = ['PureCloud Auth']
878
- data, status_code, headers = @api_client.call_api(:PUT, path,
999
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
879
1000
  :header_params => header_params,
880
1001
  :query_params => query_params,
881
1002
  :form_params => form_params,
@@ -888,68 +1009,7 @@ module PureCloud
888
1009
  return data, status_code, headers
889
1010
  end
890
1011
 
891
- # Returns a listing of roles and permissions for a user.
892
- #
893
- # @param user_id User ID
894
- # @param [Hash] opts the optional parameters
895
- # @return [UserAuthorization]
896
- def get_user_id_roles(user_id, opts = {})
897
- data, status_code, headers = get_user_id_roles_with_http_info(user_id, opts)
898
- return data
899
- end
900
-
901
- # Returns a listing of roles and permissions for a user.
902
- #
903
- # @param user_id User ID
904
- # @param [Hash] opts the optional parameters
905
- # @return [Array<(UserAuthorization, Fixnum, Hash)>] UserAuthorization data, response status code and response headers
906
- def get_user_id_roles_with_http_info(user_id, opts = {})
907
- if @api_client.config.debugging
908
- @api_client.config.logger.debug "Calling API: AuthorizationApi#get_user_id_roles ..."
909
- end
910
-
911
- # verify the required parameter 'user_id' is set
912
- fail "Missing the required parameter 'user_id' when calling get_user_id_roles" if user_id.nil?
913
-
914
- # resource path
915
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
916
-
917
- # query parameters
918
- query_params = {}
919
-
920
- # header parameters
921
- header_params = {}
922
-
923
- # HTTP header 'Accept' (if needed)
924
- _header_accept = ['application/json']
925
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
926
-
927
- # HTTP header 'Content-Type'
928
- _header_content_type = ['application/json']
929
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
930
-
931
- # form parameters
932
- form_params = {}
933
-
934
- # http body (model)
935
- post_body = nil
936
-
937
-
938
- auth_names = ['PureCloud Auth']
939
- data, status_code, headers = @api_client.call_api(:GET, path,
940
- :header_params => header_params,
941
- :query_params => query_params,
942
- :form_params => form_params,
943
- :body => post_body,
944
- :auth_names => auth_names,
945
- :return_type => 'UserAuthorization')
946
- if @api_client.config.debugging
947
- @api_client.config.logger.debug "API called: AuthorizationApi#get_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
948
- end
949
- return data, status_code, headers
950
- end
951
-
952
- # Sets the user&#39;s roles
1012
+ # Sets the user's roles
953
1013
  #
954
1014
  # @param user_id User ID
955
1015
  # @param [Hash] opts the optional parameters
@@ -975,7 +1035,7 @@ module PureCloud
975
1035
  fail "Missing the required parameter 'user_id' when calling put_user_id_roles" if user_id.nil?
976
1036
 
977
1037
  # resource path
978
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1038
+ local_var_path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
979
1039
 
980
1040
  # query parameters
981
1041
  query_params = {}
@@ -997,9 +1057,8 @@ module PureCloud
997
1057
  # http body (model)
998
1058
  post_body = @api_client.object_to_http_body(opts[:'body'])
999
1059
 
1000
-
1001
1060
  auth_names = ['PureCloud Auth']
1002
- data, status_code, headers = @api_client.call_api(:PUT, path,
1061
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1003
1062
  :header_params => header_params,
1004
1063
  :query_params => query_params,
1005
1064
  :form_params => form_params,
@@ -1011,69 +1070,5 @@ module PureCloud
1011
1070
  end
1012
1071
  return data, status_code, headers
1013
1072
  end
1014
-
1015
- # Removes all the roles from the user.
1016
- #
1017
- # @param user_id User ID
1018
- # @param [Hash] opts the optional parameters
1019
- # @return [nil]
1020
- def delete_user_id_roles(user_id, opts = {})
1021
- delete_user_id_roles_with_http_info(user_id, opts)
1022
- return nil
1023
- end
1024
-
1025
- # Removes all the roles from the user.
1026
- #
1027
- # @param user_id User ID
1028
- # @param [Hash] opts the optional parameters
1029
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1030
- def delete_user_id_roles_with_http_info(user_id, opts = {})
1031
- if @api_client.config.debugging
1032
- @api_client.config.logger.debug "Calling API: AuthorizationApi#delete_user_id_roles ..."
1033
- end
1034
-
1035
- # verify the required parameter 'user_id' is set
1036
- fail "Missing the required parameter 'user_id' when calling delete_user_id_roles" if user_id.nil?
1037
-
1038
- # resource path
1039
- path = "/api/v2/users/{userId}/roles".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1040
-
1041
- # query parameters
1042
- query_params = {}
1043
-
1044
- # header parameters
1045
- header_params = {}
1046
-
1047
- # HTTP header 'Accept' (if needed)
1048
- _header_accept = ['application/json']
1049
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
1050
-
1051
- # HTTP header 'Content-Type'
1052
- _header_content_type = ['application/json']
1053
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
1054
-
1055
- # form parameters
1056
- form_params = {}
1057
-
1058
- # http body (model)
1059
- post_body = nil
1060
-
1061
-
1062
- auth_names = ['PureCloud Auth']
1063
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1064
- :header_params => header_params,
1065
- :query_params => query_params,
1066
- :form_params => form_params,
1067
- :body => post_body,
1068
- :auth_names => auth_names)
1069
- if @api_client.config.debugging
1070
- @api_client.config.logger.debug "API called: AuthorizationApi#delete_user_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1071
- end
1072
- return data, status_code, headers
1073
- end
1074
1073
  end
1075
1074
  end
1076
-
1077
-
1078
-
1079
-