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
@@ -11,8 +27,8 @@ module PureCloud
11
27
  # Get encryption key list
12
28
  #
13
29
  # @param [Hash] opts the optional parameters
14
- # @option opts [Integer] :page_size Page size
15
- # @option opts [Integer] :page_number Page number
30
+ # @option opts [Integer] :page_size Page size (default to 25)
31
+ # @option opts [Integer] :page_number Page number (default to 1)
16
32
  # @return [EncryptionKeyEntityListing]
17
33
  def get_recordingkeys(opts = {})
18
34
  data, status_code, headers = get_recordingkeys_with_http_info(opts)
@@ -31,7 +47,7 @@ module PureCloud
31
47
  end
32
48
 
33
49
  # resource path
34
- path = "/api/v2/recording/recordingkeys".sub('{format}','json')
50
+ local_var_path = "/api/v2/recording/recordingkeys".sub('{format}','json')
35
51
 
36
52
  # query parameters
37
53
  query_params = {}
@@ -55,9 +71,8 @@ module PureCloud
55
71
  # http body (model)
56
72
  post_body = nil
57
73
 
58
-
59
74
  auth_names = ['PureCloud Auth']
60
- data, status_code, headers = @api_client.call_api(:GET, path,
75
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
61
76
  :header_params => header_params,
62
77
  :query_params => query_params,
63
78
  :form_params => form_params,
@@ -70,26 +85,26 @@ module PureCloud
70
85
  return data, status_code, headers
71
86
  end
72
87
 
73
- # Create encryption key
88
+ # Get key rotation schedule
74
89
  #
75
90
  # @param [Hash] opts the optional parameters
76
- # @return [EncryptionKey]
77
- def post_recordingkeys(opts = {})
78
- data, status_code, headers = post_recordingkeys_with_http_info(opts)
91
+ # @return [KeyRotationSchedule]
92
+ def get_recordingkeys_rotationschedule(opts = {})
93
+ data, status_code, headers = get_recordingkeys_rotationschedule_with_http_info(opts)
79
94
  return data
80
95
  end
81
96
 
82
- # Create encryption key
97
+ # Get key rotation schedule
83
98
  #
84
99
  # @param [Hash] opts the optional parameters
85
- # @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
86
- def post_recordingkeys_with_http_info(opts = {})
100
+ # @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
101
+ def get_recordingkeys_rotationschedule_with_http_info(opts = {})
87
102
  if @api_client.config.debugging
88
- @api_client.config.logger.debug "Calling API: ConfigurationApi#post_recordingkeys ..."
103
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_recordingkeys_rotationschedule ..."
89
104
  end
90
105
 
91
106
  # resource path
92
- path = "/api/v2/recording/recordingkeys".sub('{format}','json')
107
+ local_var_path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
93
108
 
94
109
  # query parameters
95
110
  query_params = {}
@@ -111,41 +126,40 @@ module PureCloud
111
126
  # http body (model)
112
127
  post_body = nil
113
128
 
114
-
115
129
  auth_names = ['PureCloud Auth']
116
- data, status_code, headers = @api_client.call_api(:POST, path,
130
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
117
131
  :header_params => header_params,
118
132
  :query_params => query_params,
119
133
  :form_params => form_params,
120
134
  :body => post_body,
121
135
  :auth_names => auth_names,
122
- :return_type => 'EncryptionKey')
136
+ :return_type => 'KeyRotationSchedule')
123
137
  if @api_client.config.debugging
124
- @api_client.config.logger.debug "API called: ConfigurationApi#post_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
138
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
125
139
  end
126
140
  return data, status_code, headers
127
141
  end
128
142
 
129
- # Get key rotation schedule
143
+ # Create encryption key
130
144
  #
131
145
  # @param [Hash] opts the optional parameters
132
- # @return [KeyRotationSchedule]
133
- def get_recordingkeys_rotationschedule(opts = {})
134
- data, status_code, headers = get_recordingkeys_rotationschedule_with_http_info(opts)
146
+ # @return [EncryptionKey]
147
+ def post_recordingkeys(opts = {})
148
+ data, status_code, headers = post_recordingkeys_with_http_info(opts)
135
149
  return data
136
150
  end
137
151
 
138
- # Get key rotation schedule
152
+ # Create encryption key
139
153
  #
140
154
  # @param [Hash] opts the optional parameters
141
- # @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
142
- def get_recordingkeys_rotationschedule_with_http_info(opts = {})
155
+ # @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
156
+ def post_recordingkeys_with_http_info(opts = {})
143
157
  if @api_client.config.debugging
144
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_recordingkeys_rotationschedule ..."
158
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_recordingkeys ..."
145
159
  end
146
160
 
147
161
  # resource path
148
- path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
162
+ local_var_path = "/api/v2/recording/recordingkeys".sub('{format}','json')
149
163
 
150
164
  # query parameters
151
165
  query_params = {}
@@ -167,17 +181,16 @@ module PureCloud
167
181
  # http body (model)
168
182
  post_body = nil
169
183
 
170
-
171
184
  auth_names = ['PureCloud Auth']
172
- data, status_code, headers = @api_client.call_api(:GET, path,
185
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
173
186
  :header_params => header_params,
174
187
  :query_params => query_params,
175
188
  :form_params => form_params,
176
189
  :body => post_body,
177
190
  :auth_names => auth_names,
178
- :return_type => 'KeyRotationSchedule')
191
+ :return_type => 'EncryptionKey')
179
192
  if @api_client.config.debugging
180
- @api_client.config.logger.debug "API called: ConfigurationApi#get_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
193
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
181
194
  end
182
195
  return data, status_code, headers
183
196
  end
@@ -203,7 +216,7 @@ module PureCloud
203
216
  end
204
217
 
205
218
  # resource path
206
- path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
219
+ local_var_path = "/api/v2/recording/recordingkeys/rotationschedule".sub('{format}','json')
207
220
 
208
221
  # query parameters
209
222
  query_params = {}
@@ -225,9 +238,8 @@ module PureCloud
225
238
  # http body (model)
226
239
  post_body = @api_client.object_to_http_body(opts[:'body'])
227
240
 
228
-
229
241
  auth_names = ['PureCloud Auth']
230
- data, status_code, headers = @api_client.call_api(:PUT, path,
242
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
231
243
  :header_params => header_params,
232
244
  :query_params => query_params,
233
245
  :form_params => form_params,
@@ -241,7 +253,3 @@ module PureCloud
241
253
  end
242
254
  end
243
255
  end
244
-
245
-
246
-
247
-
@@ -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,34 +24,37 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Query audits
27
+ # Delete a document.
12
28
  #
13
- # @param body Allows for a filtered query returning facet information
29
+ # @param document_id Document ID
14
30
  # @param [Hash] opts the optional parameters
15
- # @return [QueryResults]
16
- def post_auditquery(body, opts = {})
17
- data, status_code, headers = post_auditquery_with_http_info(body, opts)
18
- return data
31
+ # @option opts [BOOLEAN] :override Override any lock on the document
32
+ # @return [nil]
33
+ def delete_documents_document_id(document_id, opts = {})
34
+ delete_documents_document_id_with_http_info(document_id, opts)
35
+ return nil
19
36
  end
20
37
 
21
- # Query audits
38
+ # Delete a document.
22
39
  #
23
- # @param body Allows for a filtered query returning facet information
40
+ # @param document_id Document ID
24
41
  # @param [Hash] opts the optional parameters
25
- # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
26
- def post_auditquery_with_http_info(body, opts = {})
42
+ # @option opts [BOOLEAN] :override Override any lock on the document
43
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
44
+ def delete_documents_document_id_with_http_info(document_id, opts = {})
27
45
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_auditquery ..."
46
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_documents_document_id ..."
29
47
  end
30
48
 
31
- # verify the required parameter 'body' is set
32
- fail "Missing the required parameter 'body' when calling post_auditquery" if body.nil?
49
+ # verify the required parameter 'document_id' is set
50
+ fail "Missing the required parameter 'document_id' when calling delete_documents_document_id" if document_id.nil?
33
51
 
34
52
  # resource path
35
- path = "/api/v2/contentmanagement/auditquery".sub('{format}','json')
53
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
36
54
 
37
55
  # query parameters
38
56
  query_params = {}
57
+ query_params[:'override'] = opts[:'override'] if opts[:'override']
39
58
 
40
59
  # header parameters
41
60
  header_params = {}
@@ -52,74 +71,108 @@ module PureCloud
52
71
  form_params = {}
53
72
 
54
73
  # http body (model)
55
- post_body = @api_client.object_to_http_body(body)
74
+ post_body = nil
56
75
 
76
+ auth_names = ['PureCloud Auth']
77
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
78
+ :header_params => header_params,
79
+ :query_params => query_params,
80
+ :form_params => form_params,
81
+ :body => post_body,
82
+ :auth_names => auth_names)
83
+ if @api_client.config.debugging
84
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ end
86
+ return data, status_code, headers
87
+ end
88
+
89
+ # Deletes an existing share.
90
+ # This revokes sharing rights specified in the share record
91
+ # @param share_id Share ID
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [nil]
94
+ def delete_shares_share_id(share_id, opts = {})
95
+ delete_shares_share_id_with_http_info(share_id, opts)
96
+ return nil
97
+ end
98
+
99
+ # Deletes an existing share.
100
+ # This revokes sharing rights specified in the share record
101
+ # @param share_id Share ID
102
+ # @param [Hash] opts the optional parameters
103
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
104
+ def delete_shares_share_id_with_http_info(share_id, opts = {})
105
+ if @api_client.config.debugging
106
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_shares_share_id ..."
107
+ end
108
+
109
+ # verify the required parameter 'share_id' is set
110
+ fail "Missing the required parameter 'share_id' when calling delete_shares_share_id" if share_id.nil?
111
+
112
+ # resource path
113
+ local_var_path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
114
+
115
+ # query parameters
116
+ query_params = {}
117
+
118
+ # header parameters
119
+ header_params = {}
120
+
121
+ # HTTP header 'Accept' (if needed)
122
+ _header_accept = ['application/json']
123
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
57
124
 
125
+ # HTTP header 'Content-Type'
126
+ _header_content_type = ['application/json']
127
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
128
+
129
+ # form parameters
130
+ form_params = {}
131
+
132
+ # http body (model)
133
+ post_body = nil
134
+
58
135
  auth_names = ['PureCloud Auth']
59
- data, status_code, headers = @api_client.call_api(:POST, path,
136
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
60
137
  :header_params => header_params,
61
138
  :query_params => query_params,
62
139
  :form_params => form_params,
63
140
  :body => post_body,
64
- :auth_names => auth_names,
65
- :return_type => 'QueryResults')
141
+ :auth_names => auth_names)
66
142
  if @api_client.config.debugging
67
- @api_client.config.logger.debug "API called: ContentManagementApi#post_auditquery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
68
144
  end
69
145
  return data, status_code, headers
70
146
  end
71
147
 
72
- # Get a list of documents.
148
+ # Cancel the command for this status
73
149
  #
74
- # @param workspace_id Workspace ID
150
+ # @param status_id Status ID
75
151
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :name Name
77
- # @option opts [String] :expand Expand some document fields
78
- # @option opts [Integer] :page_size Page size
79
- # @option opts [Integer] :page_number Page number
80
- # @option opts [String] :sort_by name or dateCreated
81
- # @option opts [String] :sort_order ascending or descending
82
- # @return [DocumentEntityListing]
83
- def get_documents(workspace_id, opts = {})
84
- data, status_code, headers = get_documents_with_http_info(workspace_id, opts)
85
- return data
152
+ # @return [nil]
153
+ def delete_status_status_id(status_id, opts = {})
154
+ delete_status_status_id_with_http_info(status_id, opts)
155
+ return nil
86
156
  end
87
157
 
88
- # Get a list of documents.
158
+ # Cancel the command for this status
89
159
  #
90
- # @param workspace_id Workspace ID
160
+ # @param status_id Status ID
91
161
  # @param [Hash] opts the optional parameters
92
- # @option opts [String] :name Name
93
- # @option opts [String] :expand Expand some document fields
94
- # @option opts [Integer] :page_size Page size
95
- # @option opts [Integer] :page_number Page number
96
- # @option opts [String] :sort_by name or dateCreated
97
- # @option opts [String] :sort_order ascending or descending
98
- # @return [Array<(DocumentEntityListing, Fixnum, Hash)>] DocumentEntityListing data, response status code and response headers
99
- def get_documents_with_http_info(workspace_id, opts = {})
162
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
163
+ def delete_status_status_id_with_http_info(status_id, opts = {})
100
164
  if @api_client.config.debugging
101
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents ..."
165
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_status_status_id ..."
102
166
  end
103
167
 
104
- # verify the required parameter 'workspace_id' is set
105
- fail "Missing the required parameter 'workspace_id' when calling get_documents" if workspace_id.nil?
106
-
107
- if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
108
- fail 'invalid value for "expand", must be one of acl, workspace'
109
- end
168
+ # verify the required parameter 'status_id' is set
169
+ fail "Missing the required parameter 'status_id' when calling delete_status_status_id" if status_id.nil?
110
170
 
111
171
  # resource path
112
- path = "/api/v2/contentmanagement/documents".sub('{format}','json')
172
+ local_var_path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
113
173
 
114
174
  # query parameters
115
175
  query_params = {}
116
- query_params[:'workspaceId'] = workspace_id
117
- query_params[:'name'] = opts[:'name'] if opts[:'name']
118
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
119
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
120
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
121
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
122
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
123
176
 
124
177
  # header parameters
125
178
  header_params = {}
@@ -138,55 +191,50 @@ module PureCloud
138
191
  # http body (model)
139
192
  post_body = nil
140
193
 
141
-
142
194
  auth_names = ['PureCloud Auth']
143
- data, status_code, headers = @api_client.call_api(:GET, path,
195
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
144
196
  :header_params => header_params,
145
197
  :query_params => query_params,
146
198
  :form_params => form_params,
147
199
  :body => post_body,
148
- :auth_names => auth_names,
149
- :return_type => 'DocumentEntityListing')
200
+ :auth_names => auth_names)
150
201
  if @api_client.config.debugging
151
- @api_client.config.logger.debug "API called: ContentManagementApi#get_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
202
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
152
203
  end
153
204
  return data, status_code, headers
154
205
  end
155
206
 
156
- # Add a document.
207
+ # Delete a workspace
157
208
  #
209
+ # @param workspace_id Workspace ID
158
210
  # @param [Hash] opts the optional parameters
159
- # @option opts [DocumentUpload] :body Document
160
- # @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
161
- # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
162
- # @option opts [BOOLEAN] :override Override any lock on the source document
163
- # @return [Document]
164
- def post_documents(opts = {})
165
- data, status_code, headers = post_documents_with_http_info(opts)
166
- return data
211
+ # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
212
+ # @return [nil]
213
+ def delete_workspaces_workspace_id(workspace_id, opts = {})
214
+ delete_workspaces_workspace_id_with_http_info(workspace_id, opts)
215
+ return nil
167
216
  end
168
217
 
169
- # Add a document.
218
+ # Delete a workspace
170
219
  #
220
+ # @param workspace_id Workspace ID
171
221
  # @param [Hash] opts the optional parameters
172
- # @option opts [DocumentUpload] :body Document
173
- # @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
174
- # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
175
- # @option opts [BOOLEAN] :override Override any lock on the source document
176
- # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
177
- def post_documents_with_http_info(opts = {})
222
+ # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
223
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
224
+ def delete_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
178
225
  if @api_client.config.debugging
179
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents ..."
226
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id ..."
180
227
  end
181
228
 
229
+ # verify the required parameter 'workspace_id' is set
230
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id" if workspace_id.nil?
231
+
182
232
  # resource path
183
- path = "/api/v2/contentmanagement/documents".sub('{format}','json')
233
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
184
234
 
185
235
  # query parameters
186
236
  query_params = {}
187
- query_params[:'copySource'] = opts[:'copy_source'] if opts[:'copy_source']
188
- query_params[:'moveSource'] = opts[:'move_source'] if opts[:'move_source']
189
- query_params[:'override'] = opts[:'override'] if opts[:'override']
237
+ query_params[:'moveChildrenToWorkspaceId'] = opts[:'move_children_to_workspace_id'] if opts[:'move_children_to_workspace_id']
190
238
 
191
239
  # header parameters
192
240
  header_params = {}
@@ -203,58 +251,54 @@ module PureCloud
203
251
  form_params = {}
204
252
 
205
253
  # http body (model)
206
- post_body = @api_client.object_to_http_body(opts[:'body'])
254
+ post_body = nil
207
255
 
208
-
209
256
  auth_names = ['PureCloud Auth']
210
- data, status_code, headers = @api_client.call_api(:POST, path,
257
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
211
258
  :header_params => header_params,
212
259
  :query_params => query_params,
213
260
  :form_params => form_params,
214
261
  :body => post_body,
215
- :auth_names => auth_names,
216
- :return_type => 'Document')
262
+ :auth_names => auth_names)
217
263
  if @api_client.config.debugging
218
- @api_client.config.logger.debug "API called: ContentManagementApi#post_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
264
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
265
  end
220
266
  return data, status_code, headers
221
267
  end
222
268
 
223
- # Get a document.
269
+ # Delete a member from a workspace
224
270
  #
225
- # @param document_id Document ID
271
+ # @param workspace_id Workspace ID
272
+ # @param member_id Member ID
226
273
  # @param [Hash] opts the optional parameters
227
- # @option opts [String] :expand Expand some document fields
228
- # @return [Document]
229
- def get_documents_document_id(document_id, opts = {})
230
- data, status_code, headers = get_documents_document_id_with_http_info(document_id, opts)
231
- return data
274
+ # @return [nil]
275
+ def delete_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
276
+ delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
277
+ return nil
232
278
  end
233
279
 
234
- # Get a document.
280
+ # Delete a member from a workspace
235
281
  #
236
- # @param document_id Document ID
282
+ # @param workspace_id Workspace ID
283
+ # @param member_id Member ID
237
284
  # @param [Hash] opts the optional parameters
238
- # @option opts [String] :expand Expand some document fields
239
- # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
240
- def get_documents_document_id_with_http_info(document_id, opts = {})
285
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
286
+ def delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
241
287
  if @api_client.config.debugging
242
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents_document_id ..."
288
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_members_member_id ..."
243
289
  end
244
290
 
245
- # verify the required parameter 'document_id' is set
246
- fail "Missing the required parameter 'document_id' when calling get_documents_document_id" if document_id.nil?
291
+ # verify the required parameter 'workspace_id' is set
292
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_members_member_id" if workspace_id.nil?
247
293
 
248
- if opts[:'expand'] && !['lockInfo', 'acl', 'workspace'].include?(opts[:'expand'])
249
- fail 'invalid value for "expand", must be one of lockInfo, acl, workspace'
250
- end
294
+ # verify the required parameter 'member_id' is set
295
+ fail "Missing the required parameter 'member_id' when calling delete_workspaces_workspace_id_members_member_id" if member_id.nil?
251
296
 
252
297
  # resource path
253
- path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
298
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
254
299
 
255
300
  # query parameters
256
301
  query_params = {}
257
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
258
302
 
259
303
  # header parameters
260
304
  header_params = {}
@@ -273,61 +317,134 @@ module PureCloud
273
317
  # http body (model)
274
318
  post_body = nil
275
319
 
320
+ auth_names = ['PureCloud Auth']
321
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
322
+ :header_params => header_params,
323
+ :query_params => query_params,
324
+ :form_params => form_params,
325
+ :body => post_body,
326
+ :auth_names => auth_names)
327
+ if @api_client.config.debugging
328
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
329
+ end
330
+ return data, status_code, headers
331
+ end
332
+
333
+ # Delete workspace tag
334
+ # Delete a tag from a workspace. Will remove this tag from all documents.
335
+ # @param workspace_id Workspace ID
336
+ # @param tag_id Tag ID
337
+ # @param [Hash] opts the optional parameters
338
+ # @return [nil]
339
+ def delete_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
340
+ delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
341
+ return nil
342
+ end
343
+
344
+ # Delete workspace tag
345
+ # Delete a tag from a workspace. Will remove this tag from all documents.
346
+ # @param workspace_id Workspace ID
347
+ # @param tag_id Tag ID
348
+ # @param [Hash] opts the optional parameters
349
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
350
+ def delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
351
+ if @api_client.config.debugging
352
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id ..."
353
+ end
354
+
355
+ # verify the required parameter 'workspace_id' is set
356
+ fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
357
+
358
+ # verify the required parameter 'tag_id' is set
359
+ fail "Missing the required parameter 'tag_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
360
+
361
+ # resource path
362
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
363
+
364
+ # query parameters
365
+ query_params = {}
366
+
367
+ # header parameters
368
+ header_params = {}
276
369
 
370
+ # HTTP header 'Accept' (if needed)
371
+ _header_accept = ['application/json']
372
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
373
+
374
+ # HTTP header 'Content-Type'
375
+ _header_content_type = ['application/json']
376
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
377
+
378
+ # form parameters
379
+ form_params = {}
380
+
381
+ # http body (model)
382
+ post_body = nil
383
+
277
384
  auth_names = ['PureCloud Auth']
278
- data, status_code, headers = @api_client.call_api(:GET, path,
385
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
279
386
  :header_params => header_params,
280
387
  :query_params => query_params,
281
388
  :form_params => form_params,
282
389
  :body => post_body,
283
- :auth_names => auth_names,
284
- :return_type => 'Document')
390
+ :auth_names => auth_names)
285
391
  if @api_client.config.debugging
286
- @api_client.config.logger.debug "API called: ContentManagementApi#get_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
392
+ @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
287
393
  end
288
394
  return data, status_code, headers
289
395
  end
290
396
 
291
- # Update a document.
397
+ # Get a list of documents.
292
398
  #
293
- # @param document_id Document ID
399
+ # @param workspace_id Workspace ID
294
400
  # @param [Hash] opts the optional parameters
295
- # @option opts [DocumentUpdate] :body Document
401
+ # @option opts [String] :name Name
296
402
  # @option opts [String] :expand Expand some document fields
297
- # @option opts [BOOLEAN] :override Override any lock on the document
298
- # @return [Document]
299
- def post_documents_document_id(document_id, opts = {})
300
- data, status_code, headers = post_documents_document_id_with_http_info(document_id, opts)
403
+ # @option opts [Integer] :page_size Page size (default to 25)
404
+ # @option opts [Integer] :page_number Page number (default to 1)
405
+ # @option opts [String] :sort_by name or dateCreated
406
+ # @option opts [String] :sort_order ascending or descending (default to ascending)
407
+ # @return [DocumentEntityListing]
408
+ def get_documents(workspace_id, opts = {})
409
+ data, status_code, headers = get_documents_with_http_info(workspace_id, opts)
301
410
  return data
302
411
  end
303
412
 
304
- # Update a document.
413
+ # Get a list of documents.
305
414
  #
306
- # @param document_id Document ID
415
+ # @param workspace_id Workspace ID
307
416
  # @param [Hash] opts the optional parameters
308
- # @option opts [DocumentUpdate] :body Document
417
+ # @option opts [String] :name Name
309
418
  # @option opts [String] :expand Expand some document fields
310
- # @option opts [BOOLEAN] :override Override any lock on the document
311
- # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
312
- def post_documents_document_id_with_http_info(document_id, opts = {})
419
+ # @option opts [Integer] :page_size Page size
420
+ # @option opts [Integer] :page_number Page number
421
+ # @option opts [String] :sort_by name or dateCreated
422
+ # @option opts [String] :sort_order ascending or descending
423
+ # @return [Array<(DocumentEntityListing, Fixnum, Hash)>] DocumentEntityListing data, response status code and response headers
424
+ def get_documents_with_http_info(workspace_id, opts = {})
313
425
  if @api_client.config.debugging
314
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id ..."
426
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents ..."
315
427
  end
316
428
 
317
- # verify the required parameter 'document_id' is set
318
- fail "Missing the required parameter 'document_id' when calling post_documents_document_id" if document_id.nil?
429
+ # verify the required parameter 'workspace_id' is set
430
+ fail "Missing the required parameter 'workspace_id' when calling get_documents" if workspace_id.nil?
319
431
 
320
- if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
321
- fail 'invalid value for "expand", must be one of acl'
432
+ if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
433
+ fail 'invalid value for "expand", must be one of acl, workspace'
322
434
  end
323
435
 
324
436
  # resource path
325
- path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
437
+ local_var_path = "/api/v2/contentmanagement/documents".sub('{format}','json')
326
438
 
327
439
  # query parameters
328
440
  query_params = {}
441
+ query_params[:'workspaceId'] = workspace_id
442
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
329
443
  query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
330
- query_params[:'override'] = opts[:'override'] if opts[:'override']
444
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
445
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
446
+ query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
447
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
331
448
 
332
449
  # header parameters
333
450
  header_params = {}
@@ -344,54 +461,57 @@ module PureCloud
344
461
  form_params = {}
345
462
 
346
463
  # http body (model)
347
- post_body = @api_client.object_to_http_body(opts[:'body'])
464
+ post_body = nil
348
465
 
349
-
350
466
  auth_names = ['PureCloud Auth']
351
- data, status_code, headers = @api_client.call_api(:POST, path,
467
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
352
468
  :header_params => header_params,
353
469
  :query_params => query_params,
354
470
  :form_params => form_params,
355
471
  :body => post_body,
356
472
  :auth_names => auth_names,
357
- :return_type => 'Document')
473
+ :return_type => 'DocumentEntityListing')
358
474
  if @api_client.config.debugging
359
- @api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
475
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
360
476
  end
361
477
  return data, status_code, headers
362
478
  end
363
479
 
364
- # Delete a document.
480
+ # Get a document.
365
481
  #
366
482
  # @param document_id Document ID
367
483
  # @param [Hash] opts the optional parameters
368
- # @option opts [BOOLEAN] :override Override any lock on the document
369
- # @return [nil]
370
- def delete_documents_document_id(document_id, opts = {})
371
- delete_documents_document_id_with_http_info(document_id, opts)
372
- return nil
484
+ # @option opts [String] :expand Expand some document fields
485
+ # @return [Document]
486
+ def get_documents_document_id(document_id, opts = {})
487
+ data, status_code, headers = get_documents_document_id_with_http_info(document_id, opts)
488
+ return data
373
489
  end
374
490
 
375
- # Delete a document.
491
+ # Get a document.
376
492
  #
377
493
  # @param document_id Document ID
378
494
  # @param [Hash] opts the optional parameters
379
- # @option opts [BOOLEAN] :override Override any lock on the document
380
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
381
- def delete_documents_document_id_with_http_info(document_id, opts = {})
495
+ # @option opts [String] :expand Expand some document fields
496
+ # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
497
+ def get_documents_document_id_with_http_info(document_id, opts = {})
382
498
  if @api_client.config.debugging
383
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_documents_document_id ..."
499
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_documents_document_id ..."
384
500
  end
385
501
 
386
502
  # verify the required parameter 'document_id' is set
387
- fail "Missing the required parameter 'document_id' when calling delete_documents_document_id" if document_id.nil?
503
+ fail "Missing the required parameter 'document_id' when calling get_documents_document_id" if document_id.nil?
504
+
505
+ if opts[:'expand'] && !['lockInfo', 'acl', 'workspace'].include?(opts[:'expand'])
506
+ fail 'invalid value for "expand", must be one of lockInfo, acl, workspace'
507
+ end
388
508
 
389
509
  # resource path
390
- path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
510
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
391
511
 
392
512
  # query parameters
393
513
  query_params = {}
394
- query_params[:'override'] = opts[:'override'] if opts[:'override']
514
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
395
515
 
396
516
  # header parameters
397
517
  header_params = {}
@@ -410,16 +530,16 @@ module PureCloud
410
530
  # http body (model)
411
531
  post_body = nil
412
532
 
413
-
414
533
  auth_names = ['PureCloud Auth']
415
- data, status_code, headers = @api_client.call_api(:DELETE, path,
534
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
416
535
  :header_params => header_params,
417
536
  :query_params => query_params,
418
537
  :form_params => form_params,
419
538
  :body => post_body,
420
- :auth_names => auth_names)
539
+ :auth_names => auth_names,
540
+ :return_type => 'Document')
421
541
  if @api_client.config.debugging
422
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
542
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
423
543
  end
424
544
  return data, status_code, headers
425
545
  end
@@ -428,12 +548,12 @@ module PureCloud
428
548
  #
429
549
  # @param document_id Document ID
430
550
  # @param [Hash] opts the optional parameters
431
- # @option opts [Integer] :page_size Page size
432
- # @option opts [Integer] :page_number Page number
551
+ # @option opts [Integer] :page_size Page size (default to 25)
552
+ # @option opts [Integer] :page_number Page number (default to 1)
433
553
  # @option opts [String] :transaction_filter Transaction filter
434
- # @option opts [String] :level level
554
+ # @option opts [String] :level level (default to USER)
435
555
  # @option opts [String] :sort_by Sort by
436
- # @option opts [String] :sort_order Sort order
556
+ # @option opts [String] :sort_order Sort order (default to ascending)
437
557
  # @return [DocumentAuditEntityListing]
438
558
  def get_documents_document_id_audits(document_id, opts = {})
439
559
  data, status_code, headers = get_documents_document_id_audits_with_http_info(document_id, opts)
@@ -460,7 +580,7 @@ module PureCloud
460
580
  fail "Missing the required parameter 'document_id' when calling get_documents_document_id_audits" if document_id.nil?
461
581
 
462
582
  # resource path
463
- path = "/api/v2/contentmanagement/documents/{documentId}/audits".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
583
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}/audits".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
464
584
 
465
585
  # query parameters
466
586
  query_params = {}
@@ -488,9 +608,8 @@ module PureCloud
488
608
  # http body (model)
489
609
  post_body = nil
490
610
 
491
-
492
611
  auth_names = ['PureCloud Auth']
493
- data, status_code, headers = @api_client.call_api(:GET, path,
612
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
494
613
  :header_params => header_params,
495
614
  :query_params => query_params,
496
615
  :form_params => form_params,
@@ -535,7 +654,7 @@ module PureCloud
535
654
  end
536
655
 
537
656
  # resource path
538
- path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
657
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
539
658
 
540
659
  # query parameters
541
660
  query_params = {}
@@ -559,9 +678,8 @@ module PureCloud
559
678
  # http body (model)
560
679
  post_body = nil
561
680
 
562
-
563
681
  auth_names = ['PureCloud Auth']
564
- data, status_code, headers = @api_client.call_api(:GET, path,
682
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
565
683
  :header_params => header_params,
566
684
  :query_params => query_params,
567
685
  :form_params => form_params,
@@ -573,80 +691,14 @@ module PureCloud
573
691
  return data, status_code, headers
574
692
  end
575
693
 
576
- # Replace the contents of a document.
577
- #
578
- # @param document_id Document ID
579
- # @param [Hash] opts the optional parameters
580
- # @option opts [ReplaceRequest] :body Replace Request
581
- # @option opts [BOOLEAN] :override Override any lock on the document
582
- # @return [ReplaceResponse]
583
- def post_documents_document_id_content(document_id, opts = {})
584
- data, status_code, headers = post_documents_document_id_content_with_http_info(document_id, opts)
585
- return data
586
- end
587
-
588
- # Replace the contents of a document.
589
- #
590
- # @param document_id Document ID
591
- # @param [Hash] opts the optional parameters
592
- # @option opts [ReplaceRequest] :body Replace Request
593
- # @option opts [BOOLEAN] :override Override any lock on the document
594
- # @return [Array<(ReplaceResponse, Fixnum, Hash)>] ReplaceResponse data, response status code and response headers
595
- def post_documents_document_id_content_with_http_info(document_id, opts = {})
596
- if @api_client.config.debugging
597
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id_content ..."
598
- end
599
-
600
- # verify the required parameter 'document_id' is set
601
- fail "Missing the required parameter 'document_id' when calling post_documents_document_id_content" if document_id.nil?
602
-
603
- # resource path
604
- path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
605
-
606
- # query parameters
607
- query_params = {}
608
- query_params[:'override'] = opts[:'override'] if opts[:'override']
609
-
610
- # header parameters
611
- header_params = {}
612
-
613
- # HTTP header 'Accept' (if needed)
614
- _header_accept = ['application/json']
615
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
616
-
617
- # HTTP header 'Content-Type'
618
- _header_content_type = ['application/json']
619
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
620
-
621
- # form parameters
622
- form_params = {}
623
-
624
- # http body (model)
625
- post_body = @api_client.object_to_http_body(opts[:'body'])
626
-
627
-
628
- auth_names = ['PureCloud Auth']
629
- data, status_code, headers = @api_client.call_api(:POST, path,
630
- :header_params => header_params,
631
- :query_params => query_params,
632
- :form_params => form_params,
633
- :body => post_body,
634
- :auth_names => auth_names,
635
- :return_type => 'ReplaceResponse')
636
- if @api_client.config.debugging
637
- @api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
638
- end
639
- return data, status_code, headers
640
- end
641
-
642
694
  # Query content
643
695
  #
644
696
  # @param query_phrase Phrase tokens are ANDed together over all searchable fields
645
697
  # @param [Hash] opts the optional parameters
646
- # @option opts [Integer] :page_size Page size
647
- # @option opts [Integer] :page_number Page number
648
- # @option opts [String] :sort_by name or dateCreated
649
- # @option opts [String] :sort_order ascending or descending
698
+ # @option opts [Integer] :page_size Page size (default to 25)
699
+ # @option opts [Integer] :page_number Page number (default to 1)
700
+ # @option opts [String] :sort_by name or dateCreated (default to name)
701
+ # @option opts [String] :sort_order ascending or descending (default to ascending)
650
702
  # @option opts [String] :expand Expand some document fields
651
703
  # @return [QueryResults]
652
704
  def get_query(query_phrase, opts = {})
@@ -677,7 +729,7 @@ module PureCloud
677
729
  end
678
730
 
679
731
  # resource path
680
- path = "/api/v2/contentmanagement/query".sub('{format}','json')
732
+ local_var_path = "/api/v2/contentmanagement/query".sub('{format}','json')
681
733
 
682
734
  # query parameters
683
735
  query_params = {}
@@ -705,9 +757,8 @@ module PureCloud
705
757
  # http body (model)
706
758
  post_body = nil
707
759
 
708
-
709
760
  auth_names = ['PureCloud Auth']
710
- data, status_code, headers = @api_client.call_api(:GET, path,
761
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
711
762
  :header_params => header_params,
712
763
  :query_params => query_params,
713
764
  :form_params => form_params,
@@ -720,74 +771,6 @@ module PureCloud
720
771
  return data, status_code, headers
721
772
  end
722
773
 
723
- # Query content
724
- #
725
- # @param body Allows for a filtered query returning facet information
726
- # @param [Hash] opts the optional parameters
727
- # @option opts [String] :expand Expand some document fields
728
- # @return [QueryResults]
729
- def post_query(body, opts = {})
730
- data, status_code, headers = post_query_with_http_info(body, opts)
731
- return data
732
- end
733
-
734
- # Query content
735
- #
736
- # @param body Allows for a filtered query returning facet information
737
- # @param [Hash] opts the optional parameters
738
- # @option opts [String] :expand Expand some document fields
739
- # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
740
- def post_query_with_http_info(body, opts = {})
741
- if @api_client.config.debugging
742
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_query ..."
743
- end
744
-
745
- # verify the required parameter 'body' is set
746
- fail "Missing the required parameter 'body' when calling post_query" if body.nil?
747
-
748
- if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
749
- fail 'invalid value for "expand", must be one of acl, workspace'
750
- end
751
-
752
- # resource path
753
- path = "/api/v2/contentmanagement/query".sub('{format}','json')
754
-
755
- # query parameters
756
- query_params = {}
757
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
758
-
759
- # header parameters
760
- header_params = {}
761
-
762
- # HTTP header 'Accept' (if needed)
763
- _header_accept = ['application/json']
764
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
765
-
766
- # HTTP header 'Content-Type'
767
- _header_content_type = ['application/json']
768
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
769
-
770
- # form parameters
771
- form_params = {}
772
-
773
- # http body (model)
774
- post_body = @api_client.object_to_http_body(body)
775
-
776
-
777
- auth_names = ['PureCloud Auth']
778
- data, status_code, headers = @api_client.call_api(:POST, path,
779
- :header_params => header_params,
780
- :query_params => query_params,
781
- :form_params => form_params,
782
- :body => post_body,
783
- :auth_names => auth_names,
784
- :return_type => 'QueryResults')
785
- if @api_client.config.debugging
786
- @api_client.config.logger.debug "API called: ContentManagementApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
787
- end
788
- return data, status_code, headers
789
- end
790
-
791
774
  # Get a List of Security Profiles
792
775
  #
793
776
  # @param [Hash] opts the optional parameters
@@ -807,7 +790,7 @@ module PureCloud
807
790
  end
808
791
 
809
792
  # resource path
810
- path = "/api/v2/contentmanagement/securityprofiles".sub('{format}','json')
793
+ local_var_path = "/api/v2/contentmanagement/securityprofiles".sub('{format}','json')
811
794
 
812
795
  # query parameters
813
796
  query_params = {}
@@ -829,9 +812,8 @@ module PureCloud
829
812
  # http body (model)
830
813
  post_body = nil
831
814
 
832
-
833
815
  auth_names = ['PureCloud Auth']
834
- data, status_code, headers = @api_client.call_api(:GET, path,
816
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
835
817
  :header_params => header_params,
836
818
  :query_params => query_params,
837
819
  :form_params => form_params,
@@ -868,7 +850,7 @@ module PureCloud
868
850
  fail "Missing the required parameter 'security_profile_id' when calling get_securityprofiles_securityprofile_id" if security_profile_id.nil?
869
851
 
870
852
  # resource path
871
- path = "/api/v2/contentmanagement/securityprofiles/{securityProfileId}".sub('{format}','json').sub('{' + 'securityProfileId' + '}', security_profile_id.to_s)
853
+ local_var_path = "/api/v2/contentmanagement/securityprofiles/{securityProfileId}".sub('{format}','json').sub('{' + 'securityProfileId' + '}', security_profile_id.to_s)
872
854
 
873
855
  # query parameters
874
856
  query_params = {}
@@ -890,9 +872,8 @@ module PureCloud
890
872
  # http body (model)
891
873
  post_body = nil
892
874
 
893
-
894
875
  auth_names = ['PureCloud Auth']
895
- data, status_code, headers = @api_client.call_api(:GET, path,
876
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
896
877
  :header_params => header_params,
897
878
  :query_params => query_params,
898
879
  :form_params => form_params,
@@ -909,8 +890,8 @@ module PureCloud
909
890
  # This method requires the download sharing URI obtained in the get document response (downloadSharingUri). Documents may be shared between users in the same workspace. Documents may also be shared between any user by creating a content management share.
910
891
  # @param shared_id Shared ID
911
892
  # @param [Hash] opts the optional parameters
912
- # @option opts [BOOLEAN] :redirect Turn on or off redirect
913
- # @option opts [String] :disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment.
893
+ # @option opts [BOOLEAN] :redirect Turn on or off redirect (default to true)
894
+ # @option opts [String] :disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment. (default to attachment)
914
895
  # @option opts [String] :content_type The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
915
896
  # @option opts [String] :expand Expand some document fields
916
897
  # @return [nil]
@@ -945,7 +926,7 @@ module PureCloud
945
926
  end
946
927
 
947
928
  # resource path
948
- path = "/api/v2/contentmanagement/shared/{sharedId}".sub('{format}','json').sub('{' + 'sharedId' + '}', shared_id.to_s)
929
+ local_var_path = "/api/v2/contentmanagement/shared/{sharedId}".sub('{format}','json').sub('{' + 'sharedId' + '}', shared_id.to_s)
949
930
 
950
931
  # query parameters
951
932
  query_params = {}
@@ -971,9 +952,8 @@ module PureCloud
971
952
  # http body (model)
972
953
  post_body = nil
973
954
 
974
-
975
955
  auth_names = ['PureCloud Auth']
976
- data, status_code, headers = @api_client.call_api(:GET, path,
956
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
977
957
  :header_params => header_params,
978
958
  :query_params => query_params,
979
959
  :form_params => form_params,
@@ -990,8 +970,8 @@ module PureCloud
990
970
  # @param [Hash] opts the optional parameters
991
971
  # @option opts [String] :entity_id Filters the shares returned to only the entity specified by the value of this parameter.
992
972
  # @option opts [String] :expand Expand share fields
993
- # @option opts [Integer] :page_size Page size
994
- # @option opts [Integer] :page_number Page number
973
+ # @option opts [Integer] :page_size Page size (default to 25)
974
+ # @option opts [Integer] :page_number Page number (default to 1)
995
975
  # @return [ShareEntityListing]
996
976
  def get_shares(opts = {})
997
977
  data, status_code, headers = get_shares_with_http_info(opts)
@@ -1016,7 +996,7 @@ module PureCloud
1016
996
  end
1017
997
 
1018
998
  # resource path
1019
- path = "/api/v2/contentmanagement/shares".sub('{format}','json')
999
+ local_var_path = "/api/v2/contentmanagement/shares".sub('{format}','json')
1020
1000
 
1021
1001
  # query parameters
1022
1002
  query_params = {}
@@ -1042,9 +1022,8 @@ module PureCloud
1042
1022
  # http body (model)
1043
1023
  post_body = nil
1044
1024
 
1045
-
1046
1025
  auth_names = ['PureCloud Auth']
1047
- data, status_code, headers = @api_client.call_api(:GET, path,
1026
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1048
1027
  :header_params => header_params,
1049
1028
  :query_params => query_params,
1050
1029
  :form_params => form_params,
@@ -1057,31 +1036,41 @@ module PureCloud
1057
1036
  return data, status_code, headers
1058
1037
  end
1059
1038
 
1060
- # Creates a new share or updates an existing share if the entity has already been shared
1039
+ # Retrieve details about an existing share.
1061
1040
  #
1041
+ # @param share_id Share ID
1062
1042
  # @param [Hash] opts the optional parameters
1063
- # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
1064
- # @return [CreateShareResponse]
1065
- def post_shares(opts = {})
1066
- data, status_code, headers = post_shares_with_http_info(opts)
1043
+ # @option opts [String] :expand Expand share fields
1044
+ # @return [Share]
1045
+ def get_shares_share_id(share_id, opts = {})
1046
+ data, status_code, headers = get_shares_share_id_with_http_info(share_id, opts)
1067
1047
  return data
1068
1048
  end
1069
1049
 
1070
- # Creates a new share or updates an existing share if the entity has already been shared
1050
+ # Retrieve details about an existing share.
1071
1051
  #
1072
- # @param [Hash] opts the optional parameters
1073
- # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
1074
- # @return [Array<(CreateShareResponse, Fixnum, Hash)>] CreateShareResponse data, response status code and response headers
1075
- def post_shares_with_http_info(opts = {})
1052
+ # @param share_id Share ID
1053
+ # @param [Hash] opts the optional parameters
1054
+ # @option opts [String] :expand Expand share fields
1055
+ # @return [Array<(Share, Fixnum, Hash)>] Share data, response status code and response headers
1056
+ def get_shares_share_id_with_http_info(share_id, opts = {})
1076
1057
  if @api_client.config.debugging
1077
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_shares ..."
1058
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_shares_share_id ..."
1059
+ end
1060
+
1061
+ # verify the required parameter 'share_id' is set
1062
+ fail "Missing the required parameter 'share_id' when calling get_shares_share_id" if share_id.nil?
1063
+
1064
+ if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1065
+ fail 'invalid value for "expand", must be one of member'
1078
1066
  end
1079
1067
 
1080
1068
  # resource path
1081
- path = "/api/v2/contentmanagement/shares".sub('{format}','json')
1069
+ local_var_path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
1082
1070
 
1083
1071
  # query parameters
1084
1072
  query_params = {}
1073
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1085
1074
 
1086
1075
  # header parameters
1087
1076
  header_params = {}
@@ -1098,58 +1087,51 @@ module PureCloud
1098
1087
  form_params = {}
1099
1088
 
1100
1089
  # http body (model)
1101
- post_body = @api_client.object_to_http_body(opts[:'body'])
1090
+ post_body = nil
1102
1091
 
1103
-
1104
1092
  auth_names = ['PureCloud Auth']
1105
- data, status_code, headers = @api_client.call_api(:POST, path,
1093
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1106
1094
  :header_params => header_params,
1107
1095
  :query_params => query_params,
1108
1096
  :form_params => form_params,
1109
1097
  :body => post_body,
1110
1098
  :auth_names => auth_names,
1111
- :return_type => 'CreateShareResponse')
1099
+ :return_type => 'Share')
1112
1100
  if @api_client.config.debugging
1113
- @api_client.config.logger.debug "API called: ContentManagementApi#post_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1101
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1114
1102
  end
1115
1103
  return data, status_code, headers
1116
1104
  end
1117
1105
 
1118
- # Retrieve details about an existing share.
1106
+ # Get a list of statuses for pending operations
1119
1107
  #
1120
- # @param share_id Share ID
1121
1108
  # @param [Hash] opts the optional parameters
1122
- # @option opts [String] :expand Expand share fields
1123
- # @return [Share]
1124
- def get_shares_share_id(share_id, opts = {})
1125
- data, status_code, headers = get_shares_share_id_with_http_info(share_id, opts)
1109
+ # @option opts [Integer] :page_size Page size (default to 25)
1110
+ # @option opts [Integer] :page_number Page number (default to 1)
1111
+ # @return [CommandStatusEntityListing]
1112
+ def get_status(opts = {})
1113
+ data, status_code, headers = get_status_with_http_info(opts)
1126
1114
  return data
1127
1115
  end
1128
1116
 
1129
- # Retrieve details about an existing share.
1117
+ # Get a list of statuses for pending operations
1130
1118
  #
1131
- # @param share_id Share ID
1132
1119
  # @param [Hash] opts the optional parameters
1133
- # @option opts [String] :expand Expand share fields
1134
- # @return [Array<(Share, Fixnum, Hash)>] Share data, response status code and response headers
1135
- def get_shares_share_id_with_http_info(share_id, opts = {})
1120
+ # @option opts [Integer] :page_size Page size
1121
+ # @option opts [Integer] :page_number Page number
1122
+ # @return [Array<(CommandStatusEntityListing, Fixnum, Hash)>] CommandStatusEntityListing data, response status code and response headers
1123
+ def get_status_with_http_info(opts = {})
1136
1124
  if @api_client.config.debugging
1137
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_shares_share_id ..."
1138
- end
1139
-
1140
- # verify the required parameter 'share_id' is set
1141
- fail "Missing the required parameter 'share_id' when calling get_shares_share_id" if share_id.nil?
1142
-
1143
- if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1144
- fail 'invalid value for "expand", must be one of member'
1125
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status ..."
1145
1126
  end
1146
1127
 
1147
1128
  # resource path
1148
- path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
1129
+ local_var_path = "/api/v2/contentmanagement/status".sub('{format}','json')
1149
1130
 
1150
1131
  # query parameters
1151
1132
  query_params = {}
1152
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1133
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1134
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1153
1135
 
1154
1136
  # header parameters
1155
1137
  header_params = {}
@@ -1168,46 +1150,45 @@ module PureCloud
1168
1150
  # http body (model)
1169
1151
  post_body = nil
1170
1152
 
1171
-
1172
1153
  auth_names = ['PureCloud Auth']
1173
- data, status_code, headers = @api_client.call_api(:GET, path,
1154
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1174
1155
  :header_params => header_params,
1175
1156
  :query_params => query_params,
1176
1157
  :form_params => form_params,
1177
1158
  :body => post_body,
1178
1159
  :auth_names => auth_names,
1179
- :return_type => 'Share')
1160
+ :return_type => 'CommandStatusEntityListing')
1180
1161
  if @api_client.config.debugging
1181
- @api_client.config.logger.debug "API called: ContentManagementApi#get_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1162
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1182
1163
  end
1183
1164
  return data, status_code, headers
1184
1165
  end
1185
1166
 
1186
- # Deletes an existing share.
1187
- # This revokes sharing rights specified in the share record
1188
- # @param share_id Share ID
1167
+ # Get a status.
1168
+ #
1169
+ # @param status_id Status ID
1189
1170
  # @param [Hash] opts the optional parameters
1190
- # @return [nil]
1191
- def delete_shares_share_id(share_id, opts = {})
1192
- delete_shares_share_id_with_http_info(share_id, opts)
1193
- return nil
1171
+ # @return [CommandStatus]
1172
+ def get_status_status_id(status_id, opts = {})
1173
+ data, status_code, headers = get_status_status_id_with_http_info(status_id, opts)
1174
+ return data
1194
1175
  end
1195
1176
 
1196
- # Deletes an existing share.
1197
- # This revokes sharing rights specified in the share record
1198
- # @param share_id Share ID
1177
+ # Get a status.
1178
+ #
1179
+ # @param status_id Status ID
1199
1180
  # @param [Hash] opts the optional parameters
1200
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1201
- def delete_shares_share_id_with_http_info(share_id, opts = {})
1181
+ # @return [Array<(CommandStatus, Fixnum, Hash)>] CommandStatus data, response status code and response headers
1182
+ def get_status_status_id_with_http_info(status_id, opts = {})
1202
1183
  if @api_client.config.debugging
1203
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_shares_share_id ..."
1184
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status_status_id ..."
1204
1185
  end
1205
1186
 
1206
- # verify the required parameter 'share_id' is set
1207
- fail "Missing the required parameter 'share_id' when calling delete_shares_share_id" if share_id.nil?
1187
+ # verify the required parameter 'status_id' is set
1188
+ fail "Missing the required parameter 'status_id' when calling get_status_status_id" if status_id.nil?
1208
1189
 
1209
1190
  # resource path
1210
- path = "/api/v2/contentmanagement/shares/{shareId}".sub('{format}','json').sub('{' + 'shareId' + '}', share_id.to_s)
1191
+ local_var_path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
1211
1192
 
1212
1193
  # query parameters
1213
1194
  query_params = {}
@@ -1229,49 +1210,63 @@ module PureCloud
1229
1210
  # http body (model)
1230
1211
  post_body = nil
1231
1212
 
1232
-
1233
1213
  auth_names = ['PureCloud Auth']
1234
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1214
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1235
1215
  :header_params => header_params,
1236
1216
  :query_params => query_params,
1237
1217
  :form_params => form_params,
1238
1218
  :body => post_body,
1239
- :auth_names => auth_names)
1219
+ :auth_names => auth_names,
1220
+ :return_type => 'CommandStatus')
1240
1221
  if @api_client.config.debugging
1241
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_shares_share_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1222
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1242
1223
  end
1243
1224
  return data, status_code, headers
1244
1225
  end
1245
1226
 
1246
- # Get a list of statuses for pending operations
1247
- #
1227
+ # Get a list of workspaces.
1228
+ # Specifying 'content' access will return all workspaces the user has document access to, while 'admin' access will return all group workspaces the user has administrative rights to.
1248
1229
  # @param [Hash] opts the optional parameters
1249
- # @option opts [Integer] :page_size Page size
1250
- # @option opts [Integer] :page_number Page number
1251
- # @return [CommandStatusEntityListing]
1252
- def get_status(opts = {})
1253
- data, status_code, headers = get_status_with_http_info(opts)
1230
+ # @option opts [Integer] :page_size Page size (default to 25)
1231
+ # @option opts [Integer] :page_number Page number (default to 1)
1232
+ # @option opts [String] :access Requested access level (default to document:viewmetadata)
1233
+ # @option opts [String] :expand Expand some workspace fields
1234
+ # @return [WorkspaceEntityListing]
1235
+ def get_workspaces(opts = {})
1236
+ data, status_code, headers = get_workspaces_with_http_info(opts)
1254
1237
  return data
1255
1238
  end
1256
1239
 
1257
- # Get a list of statuses for pending operations
1258
- #
1240
+ # Get a list of workspaces.
1241
+ # Specifying &#39;content&#39; access will return all workspaces the user has document access to, while &#39;admin&#39; access will return all group workspaces the user has administrative rights to.
1259
1242
  # @param [Hash] opts the optional parameters
1260
1243
  # @option opts [Integer] :page_size Page size
1261
1244
  # @option opts [Integer] :page_number Page number
1262
- # @return [Array<(CommandStatusEntityListing, Fixnum, Hash)>] CommandStatusEntityListing data, response status code and response headers
1263
- def get_status_with_http_info(opts = {})
1245
+ # @option opts [String] :access Requested access level
1246
+ # @option opts [String] :expand Expand some workspace fields
1247
+ # @return [Array<(WorkspaceEntityListing, Fixnum, Hash)>] WorkspaceEntityListing data, response status code and response headers
1248
+ def get_workspaces_with_http_info(opts = {})
1264
1249
  if @api_client.config.debugging
1265
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status ..."
1250
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces ..."
1251
+ end
1252
+
1253
+ if opts[:'access'] && !['content', 'admin', 'document:create', 'document:viewContent', 'document:viewMetadata', 'document:download', 'document:delete', 'document:update', 'document:share', 'document:shareView', 'document:email', 'document:print', 'document:auditView', 'document:replace', 'document:tag', 'tag:create', 'tag:view', 'tag:update', 'tag:apply', 'tag:remove', 'tag:delete'].include?(opts[:'access'])
1254
+ fail 'invalid value for "access", must be one of content, admin, document:create, document:viewContent, document:viewMetadata, document:download, document:delete, document:update, document:share, document:shareView, document:email, document:print, document:auditView, document:replace, document:tag, tag:create, tag:view, tag:update, tag:apply, tag:remove, tag:delete'
1255
+ end
1256
+
1257
+ if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
1258
+ fail 'invalid value for "expand", must be one of summary, acl'
1266
1259
  end
1267
1260
 
1268
1261
  # resource path
1269
- path = "/api/v2/contentmanagement/status".sub('{format}','json')
1262
+ local_var_path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
1270
1263
 
1271
1264
  # query parameters
1272
1265
  query_params = {}
1273
1266
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1274
1267
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1268
+ query_params[:'access'] = opts[:'access'] if opts[:'access']
1269
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1275
1270
 
1276
1271
  # header parameters
1277
1272
  header_params = {}
@@ -1290,49 +1285,55 @@ module PureCloud
1290
1285
  # http body (model)
1291
1286
  post_body = nil
1292
1287
 
1293
-
1294
1288
  auth_names = ['PureCloud Auth']
1295
- data, status_code, headers = @api_client.call_api(:GET, path,
1289
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1296
1290
  :header_params => header_params,
1297
1291
  :query_params => query_params,
1298
1292
  :form_params => form_params,
1299
1293
  :body => post_body,
1300
1294
  :auth_names => auth_names,
1301
- :return_type => 'CommandStatusEntityListing')
1295
+ :return_type => 'WorkspaceEntityListing')
1302
1296
  if @api_client.config.debugging
1303
- @api_client.config.logger.debug "API called: ContentManagementApi#get_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1297
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1304
1298
  end
1305
1299
  return data, status_code, headers
1306
1300
  end
1307
1301
 
1308
- # Get a status.
1302
+ # Get a workspace.
1309
1303
  #
1310
- # @param status_id Status ID
1304
+ # @param workspace_id Workspace ID
1311
1305
  # @param [Hash] opts the optional parameters
1312
- # @return [CommandStatus]
1313
- def get_status_status_id(status_id, opts = {})
1314
- data, status_code, headers = get_status_status_id_with_http_info(status_id, opts)
1306
+ # @option opts [String] :expand Expand some workspace fields
1307
+ # @return [Workspace]
1308
+ def get_workspaces_workspace_id(workspace_id, opts = {})
1309
+ data, status_code, headers = get_workspaces_workspace_id_with_http_info(workspace_id, opts)
1315
1310
  return data
1316
1311
  end
1317
1312
 
1318
- # Get a status.
1313
+ # Get a workspace.
1319
1314
  #
1320
- # @param status_id Status ID
1315
+ # @param workspace_id Workspace ID
1321
1316
  # @param [Hash] opts the optional parameters
1322
- # @return [Array<(CommandStatus, Fixnum, Hash)>] CommandStatus data, response status code and response headers
1323
- def get_status_status_id_with_http_info(status_id, opts = {})
1317
+ # @option opts [String] :expand Expand some workspace fields
1318
+ # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1319
+ def get_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
1324
1320
  if @api_client.config.debugging
1325
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_status_status_id ..."
1321
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id ..."
1326
1322
  end
1327
1323
 
1328
- # verify the required parameter 'status_id' is set
1329
- fail "Missing the required parameter 'status_id' when calling get_status_status_id" if status_id.nil?
1324
+ # verify the required parameter 'workspace_id' is set
1325
+ fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id" if workspace_id.nil?
1326
+
1327
+ if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
1328
+ fail 'invalid value for "expand", must be one of summary, acl'
1329
+ end
1330
1330
 
1331
1331
  # resource path
1332
- path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
1332
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1333
1333
 
1334
1334
  # query parameters
1335
1335
  query_params = {}
1336
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1336
1337
 
1337
1338
  # header parameters
1338
1339
  header_params = {}
@@ -1351,49 +1352,61 @@ module PureCloud
1351
1352
  # http body (model)
1352
1353
  post_body = nil
1353
1354
 
1354
-
1355
1355
  auth_names = ['PureCloud Auth']
1356
- data, status_code, headers = @api_client.call_api(:GET, path,
1356
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1357
1357
  :header_params => header_params,
1358
1358
  :query_params => query_params,
1359
1359
  :form_params => form_params,
1360
1360
  :body => post_body,
1361
1361
  :auth_names => auth_names,
1362
- :return_type => 'CommandStatus')
1362
+ :return_type => 'Workspace')
1363
1363
  if @api_client.config.debugging
1364
- @api_client.config.logger.debug "API called: ContentManagementApi#get_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1364
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1365
1365
  end
1366
1366
  return data, status_code, headers
1367
1367
  end
1368
1368
 
1369
- # Cancel the command for this status
1369
+ # Get a list workspace members
1370
1370
  #
1371
- # @param status_id Status ID
1371
+ # @param workspace_id Workspace ID
1372
1372
  # @param [Hash] opts the optional parameters
1373
- # @return [nil]
1374
- def delete_status_status_id(status_id, opts = {})
1375
- delete_status_status_id_with_http_info(status_id, opts)
1376
- return nil
1373
+ # @option opts [Integer] :page_size Page size (default to 25)
1374
+ # @option opts [Integer] :page_number Page number (default to 1)
1375
+ # @option opts [String] :expand Expand workspace member fields
1376
+ # @return [WorkspaceMemberEntityListing]
1377
+ def get_workspaces_workspace_id_members(workspace_id, opts = {})
1378
+ data, status_code, headers = get_workspaces_workspace_id_members_with_http_info(workspace_id, opts)
1379
+ return data
1377
1380
  end
1378
1381
 
1379
- # Cancel the command for this status
1382
+ # Get a list workspace members
1380
1383
  #
1381
- # @param status_id Status ID
1384
+ # @param workspace_id Workspace ID
1382
1385
  # @param [Hash] opts the optional parameters
1383
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1384
- def delete_status_status_id_with_http_info(status_id, opts = {})
1386
+ # @option opts [Integer] :page_size Page size
1387
+ # @option opts [Integer] :page_number Page number
1388
+ # @option opts [String] :expand Expand workspace member fields
1389
+ # @return [Array<(WorkspaceMemberEntityListing, Fixnum, Hash)>] WorkspaceMemberEntityListing data, response status code and response headers
1390
+ def get_workspaces_workspace_id_members_with_http_info(workspace_id, opts = {})
1385
1391
  if @api_client.config.debugging
1386
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_status_status_id ..."
1392
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members ..."
1387
1393
  end
1388
1394
 
1389
- # verify the required parameter 'status_id' is set
1390
- fail "Missing the required parameter 'status_id' when calling delete_status_status_id" if status_id.nil?
1395
+ # verify the required parameter 'workspace_id' is set
1396
+ fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members" if workspace_id.nil?
1397
+
1398
+ if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1399
+ fail 'invalid value for "expand", must be one of member'
1400
+ end
1391
1401
 
1392
1402
  # resource path
1393
- path = "/api/v2/contentmanagement/status/{statusId}".sub('{format}','json').sub('{' + 'statusId' + '}', status_id.to_s)
1403
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1394
1404
 
1395
1405
  # query parameters
1396
1406
  query_params = {}
1407
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1408
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1409
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1397
1410
 
1398
1411
  # header parameters
1399
1412
  header_params = {}
@@ -1412,62 +1425,59 @@ module PureCloud
1412
1425
  # http body (model)
1413
1426
  post_body = nil
1414
1427
 
1415
-
1416
1428
  auth_names = ['PureCloud Auth']
1417
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1429
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1418
1430
  :header_params => header_params,
1419
1431
  :query_params => query_params,
1420
1432
  :form_params => form_params,
1421
1433
  :body => post_body,
1422
- :auth_names => auth_names)
1434
+ :auth_names => auth_names,
1435
+ :return_type => 'WorkspaceMemberEntityListing')
1423
1436
  if @api_client.config.debugging
1424
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_status_status_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1437
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1425
1438
  end
1426
1439
  return data, status_code, headers
1427
1440
  end
1428
1441
 
1429
- # Get a list of workspaces.
1430
- # Specifying &#39;content&#39; access will return all workspaces the user has document access to, while &#39;admin&#39; access will return all group workspaces the user has administrative rights to.
1442
+ # Get a workspace member
1443
+ #
1444
+ # @param workspace_id Workspace ID
1445
+ # @param member_id Member ID
1431
1446
  # @param [Hash] opts the optional parameters
1432
- # @option opts [Integer] :page_size Page size
1433
- # @option opts [Integer] :page_number Page number
1434
- # @option opts [String] :access Requested access level
1435
- # @option opts [String] :expand Expand some workspace fields
1436
- # @return [WorkspaceEntityListing]
1437
- def get_workspaces(opts = {})
1438
- data, status_code, headers = get_workspaces_with_http_info(opts)
1447
+ # @option opts [String] :expand Expand workspace member fields
1448
+ # @return [WorkspaceMember]
1449
+ def get_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
1450
+ data, status_code, headers = get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
1439
1451
  return data
1440
1452
  end
1441
1453
 
1442
- # Get a list of workspaces.
1443
- # Specifying &#39;content&#39; access will return all workspaces the user has document access to, while &#39;admin&#39; access will return all group workspaces the user has administrative rights to.
1454
+ # Get a workspace member
1455
+ #
1456
+ # @param workspace_id Workspace ID
1457
+ # @param member_id Member ID
1444
1458
  # @param [Hash] opts the optional parameters
1445
- # @option opts [Integer] :page_size Page size
1446
- # @option opts [Integer] :page_number Page number
1447
- # @option opts [String] :access Requested access level
1448
- # @option opts [String] :expand Expand some workspace fields
1449
- # @return [Array<(WorkspaceEntityListing, Fixnum, Hash)>] WorkspaceEntityListing data, response status code and response headers
1450
- def get_workspaces_with_http_info(opts = {})
1459
+ # @option opts [String] :expand Expand workspace member fields
1460
+ # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
1461
+ def get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
1451
1462
  if @api_client.config.debugging
1452
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces ..."
1463
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members_member_id ..."
1453
1464
  end
1454
1465
 
1455
- if opts[:'access'] && !['content', 'admin', 'document:create', 'document:viewContent', 'document:viewMetadata', 'document:download', 'document:delete', 'document:update', 'document:share', 'document:shareView', 'document:email', 'document:print', 'document:auditView', 'document:replace', 'document:tag', 'tag:create', 'tag:view', 'tag:update', 'tag:apply', 'tag:remove', 'tag:delete'].include?(opts[:'access'])
1456
- fail 'invalid value for "access", must be one of content, admin, document:create, document:viewContent, document:viewMetadata, document:download, document:delete, document:update, document:share, document:shareView, document:email, document:print, document:auditView, document:replace, document:tag, tag:create, tag:view, tag:update, tag:apply, tag:remove, tag:delete'
1457
- end
1466
+ # verify the required parameter 'workspace_id' is set
1467
+ fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members_member_id" if workspace_id.nil?
1458
1468
 
1459
- if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
1460
- fail 'invalid value for "expand", must be one of summary, acl'
1469
+ # verify the required parameter 'member_id' is set
1470
+ fail "Missing the required parameter 'member_id' when calling get_workspaces_workspace_id_members_member_id" if member_id.nil?
1471
+
1472
+ if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1473
+ fail 'invalid value for "expand", must be one of member'
1461
1474
  end
1462
1475
 
1463
1476
  # resource path
1464
- path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
1477
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1465
1478
 
1466
1479
  # query parameters
1467
1480
  query_params = {}
1468
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1469
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1470
- query_params[:'access'] = opts[:'access'] if opts[:'access']
1471
1481
  query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1472
1482
 
1473
1483
  # header parameters
@@ -1487,46 +1497,64 @@ module PureCloud
1487
1497
  # http body (model)
1488
1498
  post_body = nil
1489
1499
 
1490
-
1491
1500
  auth_names = ['PureCloud Auth']
1492
- data, status_code, headers = @api_client.call_api(:GET, path,
1501
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1493
1502
  :header_params => header_params,
1494
1503
  :query_params => query_params,
1495
1504
  :form_params => form_params,
1496
1505
  :body => post_body,
1497
1506
  :auth_names => auth_names,
1498
- :return_type => 'WorkspaceEntityListing')
1507
+ :return_type => 'WorkspaceMember')
1499
1508
  if @api_client.config.debugging
1500
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1509
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1501
1510
  end
1502
1511
  return data, status_code, headers
1503
1512
  end
1504
1513
 
1505
- # Create a group workspace
1514
+ # Get a list of workspace tags
1506
1515
  #
1516
+ # @param workspace_id Workspace ID
1507
1517
  # @param [Hash] opts the optional parameters
1508
- # @option opts [WorkspaceCreate] :body Workspace
1509
- # @return [Workspace]
1510
- def post_workspaces(opts = {})
1511
- data, status_code, headers = post_workspaces_with_http_info(opts)
1518
+ # @option opts [String] :value filter the list of tags returned
1519
+ # @option opts [Integer] :page_size Page size (default to 25)
1520
+ # @option opts [Integer] :page_number Page number (default to 1)
1521
+ # @option opts [String] :expand Expand some document fields
1522
+ # @return [TagValueEntityListing]
1523
+ def get_workspaces_workspace_id_tagvalues(workspace_id, opts = {})
1524
+ data, status_code, headers = get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts)
1512
1525
  return data
1513
1526
  end
1514
1527
 
1515
- # Create a group workspace
1528
+ # Get a list of workspace tags
1516
1529
  #
1530
+ # @param workspace_id Workspace ID
1517
1531
  # @param [Hash] opts the optional parameters
1518
- # @option opts [WorkspaceCreate] :body Workspace
1519
- # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1520
- def post_workspaces_with_http_info(opts = {})
1532
+ # @option opts [String] :value filter the list of tags returned
1533
+ # @option opts [Integer] :page_size Page size
1534
+ # @option opts [Integer] :page_number Page number
1535
+ # @option opts [String] :expand Expand some document fields
1536
+ # @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
1537
+ def get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts = {})
1521
1538
  if @api_client.config.debugging
1522
- @api_client.config.logger.debug "Calling API: ContentManagementApi#post_workspaces ..."
1539
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues ..."
1540
+ end
1541
+
1542
+ # verify the required parameter 'workspace_id' is set
1543
+ fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues" if workspace_id.nil?
1544
+
1545
+ if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
1546
+ fail 'invalid value for "expand", must be one of acl'
1523
1547
  end
1524
1548
 
1525
1549
  # resource path
1526
- path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
1550
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1527
1551
 
1528
1552
  # query parameters
1529
1553
  query_params = {}
1554
+ query_params[:'value'] = opts[:'value'] if opts[:'value']
1555
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1556
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1557
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1530
1558
 
1531
1559
  # header parameters
1532
1560
  header_params = {}
@@ -1543,54 +1571,58 @@ module PureCloud
1543
1571
  form_params = {}
1544
1572
 
1545
1573
  # http body (model)
1546
- post_body = @api_client.object_to_http_body(opts[:'body'])
1574
+ post_body = nil
1547
1575
 
1548
-
1549
1576
  auth_names = ['PureCloud Auth']
1550
- data, status_code, headers = @api_client.call_api(:POST, path,
1577
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1551
1578
  :header_params => header_params,
1552
1579
  :query_params => query_params,
1553
1580
  :form_params => form_params,
1554
1581
  :body => post_body,
1555
1582
  :auth_names => auth_names,
1556
- :return_type => 'Workspace')
1583
+ :return_type => 'TagValueEntityListing')
1557
1584
  if @api_client.config.debugging
1558
- @api_client.config.logger.debug "API called: ContentManagementApi#post_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1585
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1559
1586
  end
1560
1587
  return data, status_code, headers
1561
1588
  end
1562
1589
 
1563
- # Get a workspace.
1590
+ # Get a workspace tag
1564
1591
  #
1565
1592
  # @param workspace_id Workspace ID
1593
+ # @param tag_id Tag ID
1566
1594
  # @param [Hash] opts the optional parameters
1567
- # @option opts [String] :expand Expand some workspace fields
1568
- # @return [Workspace]
1569
- def get_workspaces_workspace_id(workspace_id, opts = {})
1570
- data, status_code, headers = get_workspaces_workspace_id_with_http_info(workspace_id, opts)
1595
+ # @option opts [String] :expand Expand some document fields
1596
+ # @return [TagValue]
1597
+ def get_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
1598
+ data, status_code, headers = get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
1571
1599
  return data
1572
1600
  end
1573
1601
 
1574
- # Get a workspace.
1602
+ # Get a workspace tag
1575
1603
  #
1576
1604
  # @param workspace_id Workspace ID
1605
+ # @param tag_id Tag ID
1577
1606
  # @param [Hash] opts the optional parameters
1578
- # @option opts [String] :expand Expand some workspace fields
1579
- # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1580
- def get_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
1607
+ # @option opts [String] :expand Expand some document fields
1608
+ # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
1609
+ def get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
1581
1610
  if @api_client.config.debugging
1582
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id ..."
1611
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id ..."
1583
1612
  end
1584
1613
 
1585
1614
  # verify the required parameter 'workspace_id' is set
1586
- fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id" if workspace_id.nil?
1615
+ fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
1587
1616
 
1588
- if opts[:'expand'] && !['summary', 'acl'].include?(opts[:'expand'])
1589
- fail 'invalid value for "expand", must be one of summary, acl'
1617
+ # verify the required parameter 'tag_id' is set
1618
+ fail "Missing the required parameter 'tag_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
1619
+
1620
+ if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
1621
+ fail 'invalid value for "expand", must be one of acl'
1590
1622
  end
1591
1623
 
1592
1624
  # resource path
1593
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1625
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
1594
1626
 
1595
1627
  # query parameters
1596
1628
  query_params = {}
@@ -1613,48 +1645,45 @@ module PureCloud
1613
1645
  # http body (model)
1614
1646
  post_body = nil
1615
1647
 
1616
-
1617
1648
  auth_names = ['PureCloud Auth']
1618
- data, status_code, headers = @api_client.call_api(:GET, path,
1649
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1619
1650
  :header_params => header_params,
1620
1651
  :query_params => query_params,
1621
1652
  :form_params => form_params,
1622
1653
  :body => post_body,
1623
1654
  :auth_names => auth_names,
1624
- :return_type => 'Workspace')
1655
+ :return_type => 'TagValue')
1625
1656
  if @api_client.config.debugging
1626
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1657
+ @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1627
1658
  end
1628
1659
  return data, status_code, headers
1629
1660
  end
1630
1661
 
1631
- # Update a workspace
1662
+ # Query audits
1632
1663
  #
1633
- # @param workspace_id Workspace ID
1664
+ # @param body Allows for a filtered query returning facet information
1634
1665
  # @param [Hash] opts the optional parameters
1635
- # @option opts [Workspace] :body Workspace
1636
- # @return [Workspace]
1637
- def put_workspaces_workspace_id(workspace_id, opts = {})
1638
- data, status_code, headers = put_workspaces_workspace_id_with_http_info(workspace_id, opts)
1666
+ # @return [QueryResults]
1667
+ def post_auditquery(body, opts = {})
1668
+ data, status_code, headers = post_auditquery_with_http_info(body, opts)
1639
1669
  return data
1640
1670
  end
1641
1671
 
1642
- # Update a workspace
1672
+ # Query audits
1643
1673
  #
1644
- # @param workspace_id Workspace ID
1674
+ # @param body Allows for a filtered query returning facet information
1645
1675
  # @param [Hash] opts the optional parameters
1646
- # @option opts [Workspace] :body Workspace
1647
- # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
1648
- def put_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
1676
+ # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
1677
+ def post_auditquery_with_http_info(body, opts = {})
1649
1678
  if @api_client.config.debugging
1650
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id ..."
1679
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_auditquery ..."
1651
1680
  end
1652
1681
 
1653
- # verify the required parameter 'workspace_id' is set
1654
- fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id" if workspace_id.nil?
1682
+ # verify the required parameter 'body' is set
1683
+ fail "Missing the required parameter 'body' when calling post_auditquery" if body.nil?
1655
1684
 
1656
1685
  # resource path
1657
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1686
+ local_var_path = "/api/v2/contentmanagement/auditquery".sub('{format}','json')
1658
1687
 
1659
1688
  # query parameters
1660
1689
  query_params = {}
@@ -1674,54 +1703,56 @@ module PureCloud
1674
1703
  form_params = {}
1675
1704
 
1676
1705
  # http body (model)
1677
- post_body = @api_client.object_to_http_body(opts[:'body'])
1706
+ post_body = @api_client.object_to_http_body(body)
1678
1707
 
1679
-
1680
1708
  auth_names = ['PureCloud Auth']
1681
- data, status_code, headers = @api_client.call_api(:PUT, path,
1709
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1682
1710
  :header_params => header_params,
1683
1711
  :query_params => query_params,
1684
1712
  :form_params => form_params,
1685
1713
  :body => post_body,
1686
1714
  :auth_names => auth_names,
1687
- :return_type => 'Workspace')
1715
+ :return_type => 'QueryResults')
1688
1716
  if @api_client.config.debugging
1689
- @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1717
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_auditquery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1690
1718
  end
1691
1719
  return data, status_code, headers
1692
1720
  end
1693
1721
 
1694
- # Delete a workspace
1722
+ # Add a document.
1695
1723
  #
1696
- # @param workspace_id Workspace ID
1697
1724
  # @param [Hash] opts the optional parameters
1698
- # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
1699
- # @return [nil]
1700
- def delete_workspaces_workspace_id(workspace_id, opts = {})
1701
- delete_workspaces_workspace_id_with_http_info(workspace_id, opts)
1702
- return nil
1725
+ # @option opts [DocumentUpload] :body Document
1726
+ # @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
1727
+ # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
1728
+ # @option opts [BOOLEAN] :override Override any lock on the source document
1729
+ # @return [Document]
1730
+ def post_documents(opts = {})
1731
+ data, status_code, headers = post_documents_with_http_info(opts)
1732
+ return data
1703
1733
  end
1704
1734
 
1705
- # Delete a workspace
1735
+ # Add a document.
1706
1736
  #
1707
- # @param workspace_id Workspace ID
1708
1737
  # @param [Hash] opts the optional parameters
1709
- # @option opts [String] :move_children_to_workspace_id New location for objects in deleted workspace.
1710
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1711
- def delete_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
1738
+ # @option opts [DocumentUpload] :body Document
1739
+ # @option opts [String] :copy_source Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
1740
+ # @option opts [String] :move_source Move a document to a new workspace. Provide a document ID as the move source.
1741
+ # @option opts [BOOLEAN] :override Override any lock on the source document
1742
+ # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
1743
+ def post_documents_with_http_info(opts = {})
1712
1744
  if @api_client.config.debugging
1713
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id ..."
1745
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents ..."
1714
1746
  end
1715
1747
 
1716
- # verify the required parameter 'workspace_id' is set
1717
- fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id" if workspace_id.nil?
1718
-
1719
1748
  # resource path
1720
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1749
+ local_var_path = "/api/v2/contentmanagement/documents".sub('{format}','json')
1721
1750
 
1722
1751
  # query parameters
1723
1752
  query_params = {}
1724
- query_params[:'moveChildrenToWorkspaceId'] = opts[:'move_children_to_workspace_id'] if opts[:'move_children_to_workspace_id']
1753
+ query_params[:'copySource'] = opts[:'copy_source'] if opts[:'copy_source']
1754
+ query_params[:'moveSource'] = opts[:'move_source'] if opts[:'move_source']
1755
+ query_params[:'override'] = opts[:'override'] if opts[:'override']
1725
1756
 
1726
1757
  # header parameters
1727
1758
  header_params = {}
@@ -1738,63 +1769,62 @@ module PureCloud
1738
1769
  form_params = {}
1739
1770
 
1740
1771
  # http body (model)
1741
- post_body = nil
1772
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1742
1773
 
1743
-
1744
1774
  auth_names = ['PureCloud Auth']
1745
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1775
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1746
1776
  :header_params => header_params,
1747
1777
  :query_params => query_params,
1748
1778
  :form_params => form_params,
1749
1779
  :body => post_body,
1750
- :auth_names => auth_names)
1780
+ :auth_names => auth_names,
1781
+ :return_type => 'Document')
1751
1782
  if @api_client.config.debugging
1752
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1783
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_documents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1753
1784
  end
1754
1785
  return data, status_code, headers
1755
1786
  end
1756
1787
 
1757
- # Get a list workspace members
1788
+ # Update a document.
1758
1789
  #
1759
- # @param workspace_id Workspace ID
1790
+ # @param document_id Document ID
1760
1791
  # @param [Hash] opts the optional parameters
1761
- # @option opts [Integer] :page_size Page size
1762
- # @option opts [Integer] :page_number Page number
1763
- # @option opts [String] :expand Expand workspace member fields
1764
- # @return [WorkspaceMemberEntityListing]
1765
- def get_workspaces_workspace_id_members(workspace_id, opts = {})
1766
- data, status_code, headers = get_workspaces_workspace_id_members_with_http_info(workspace_id, opts)
1792
+ # @option opts [DocumentUpdate] :body Document
1793
+ # @option opts [String] :expand Expand some document fields
1794
+ # @option opts [BOOLEAN] :override Override any lock on the document
1795
+ # @return [Document]
1796
+ def post_documents_document_id(document_id, opts = {})
1797
+ data, status_code, headers = post_documents_document_id_with_http_info(document_id, opts)
1767
1798
  return data
1768
1799
  end
1769
1800
 
1770
- # Get a list workspace members
1801
+ # Update a document.
1771
1802
  #
1772
- # @param workspace_id Workspace ID
1803
+ # @param document_id Document ID
1773
1804
  # @param [Hash] opts the optional parameters
1774
- # @option opts [Integer] :page_size Page size
1775
- # @option opts [Integer] :page_number Page number
1776
- # @option opts [String] :expand Expand workspace member fields
1777
- # @return [Array<(WorkspaceMemberEntityListing, Fixnum, Hash)>] WorkspaceMemberEntityListing data, response status code and response headers
1778
- def get_workspaces_workspace_id_members_with_http_info(workspace_id, opts = {})
1805
+ # @option opts [DocumentUpdate] :body Document
1806
+ # @option opts [String] :expand Expand some document fields
1807
+ # @option opts [BOOLEAN] :override Override any lock on the document
1808
+ # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
1809
+ def post_documents_document_id_with_http_info(document_id, opts = {})
1779
1810
  if @api_client.config.debugging
1780
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members ..."
1811
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id ..."
1781
1812
  end
1782
1813
 
1783
- # verify the required parameter 'workspace_id' is set
1784
- fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members" if workspace_id.nil?
1814
+ # verify the required parameter 'document_id' is set
1815
+ fail "Missing the required parameter 'document_id' when calling post_documents_document_id" if document_id.nil?
1785
1816
 
1786
- if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1787
- fail 'invalid value for "expand", must be one of member'
1817
+ if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
1818
+ fail 'invalid value for "expand", must be one of acl'
1788
1819
  end
1789
1820
 
1790
1821
  # resource path
1791
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
1822
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
1792
1823
 
1793
1824
  # query parameters
1794
1825
  query_params = {}
1795
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1796
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1797
1826
  query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1827
+ query_params[:'override'] = opts[:'override'] if opts[:'override']
1798
1828
 
1799
1829
  # header parameters
1800
1830
  header_params = {}
@@ -1811,63 +1841,55 @@ module PureCloud
1811
1841
  form_params = {}
1812
1842
 
1813
1843
  # http body (model)
1814
- post_body = nil
1844
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1815
1845
 
1816
-
1817
1846
  auth_names = ['PureCloud Auth']
1818
- data, status_code, headers = @api_client.call_api(:GET, path,
1847
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1819
1848
  :header_params => header_params,
1820
1849
  :query_params => query_params,
1821
1850
  :form_params => form_params,
1822
1851
  :body => post_body,
1823
1852
  :auth_names => auth_names,
1824
- :return_type => 'WorkspaceMemberEntityListing')
1853
+ :return_type => 'Document')
1825
1854
  if @api_client.config.debugging
1826
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1855
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1827
1856
  end
1828
1857
  return data, status_code, headers
1829
1858
  end
1830
1859
 
1831
- # Get a workspace member
1860
+ # Replace the contents of a document.
1832
1861
  #
1833
- # @param workspace_id Workspace ID
1834
- # @param member_id Member ID
1862
+ # @param document_id Document ID
1835
1863
  # @param [Hash] opts the optional parameters
1836
- # @option opts [String] :expand Expand workspace member fields
1837
- # @return [WorkspaceMember]
1838
- def get_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
1839
- data, status_code, headers = get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
1864
+ # @option opts [ReplaceRequest] :body Replace Request
1865
+ # @option opts [BOOLEAN] :override Override any lock on the document
1866
+ # @return [ReplaceResponse]
1867
+ def post_documents_document_id_content(document_id, opts = {})
1868
+ data, status_code, headers = post_documents_document_id_content_with_http_info(document_id, opts)
1840
1869
  return data
1841
1870
  end
1842
1871
 
1843
- # Get a workspace member
1872
+ # Replace the contents of a document.
1844
1873
  #
1845
- # @param workspace_id Workspace ID
1846
- # @param member_id Member ID
1874
+ # @param document_id Document ID
1847
1875
  # @param [Hash] opts the optional parameters
1848
- # @option opts [String] :expand Expand workspace member fields
1849
- # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
1850
- def get_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
1876
+ # @option opts [ReplaceRequest] :body Replace Request
1877
+ # @option opts [BOOLEAN] :override Override any lock on the document
1878
+ # @return [Array<(ReplaceResponse, Fixnum, Hash)>] ReplaceResponse data, response status code and response headers
1879
+ def post_documents_document_id_content_with_http_info(document_id, opts = {})
1851
1880
  if @api_client.config.debugging
1852
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_members_member_id ..."
1853
- end
1854
-
1855
- # verify the required parameter 'workspace_id' is set
1856
- fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_members_member_id" if workspace_id.nil?
1857
-
1858
- # verify the required parameter 'member_id' is set
1859
- fail "Missing the required parameter 'member_id' when calling get_workspaces_workspace_id_members_member_id" if member_id.nil?
1860
-
1861
- if opts[:'expand'] && !['member'].include?(opts[:'expand'])
1862
- fail 'invalid value for "expand", must be one of member'
1881
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_documents_document_id_content ..."
1863
1882
  end
1864
1883
 
1884
+ # verify the required parameter 'document_id' is set
1885
+ fail "Missing the required parameter 'document_id' when calling post_documents_document_id_content" if document_id.nil?
1886
+
1865
1887
  # resource path
1866
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1888
+ local_var_path = "/api/v2/contentmanagement/documents/{documentId}/content".sub('{format}','json').sub('{' + 'documentId' + '}', document_id.to_s)
1867
1889
 
1868
1890
  # query parameters
1869
1891
  query_params = {}
1870
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1892
+ query_params[:'override'] = opts[:'override'] if opts[:'override']
1871
1893
 
1872
1894
  # header parameters
1873
1895
  header_params = {}
@@ -1884,58 +1906,57 @@ module PureCloud
1884
1906
  form_params = {}
1885
1907
 
1886
1908
  # http body (model)
1887
- post_body = nil
1909
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1888
1910
 
1889
-
1890
1911
  auth_names = ['PureCloud Auth']
1891
- data, status_code, headers = @api_client.call_api(:GET, path,
1912
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1892
1913
  :header_params => header_params,
1893
1914
  :query_params => query_params,
1894
1915
  :form_params => form_params,
1895
1916
  :body => post_body,
1896
1917
  :auth_names => auth_names,
1897
- :return_type => 'WorkspaceMember')
1918
+ :return_type => 'ReplaceResponse')
1898
1919
  if @api_client.config.debugging
1899
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1920
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_documents_document_id_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1900
1921
  end
1901
1922
  return data, status_code, headers
1902
1923
  end
1903
1924
 
1904
- # Add a member to a workspace
1925
+ # Query content
1905
1926
  #
1906
- # @param workspace_id Workspace ID
1907
- # @param member_id Member ID
1927
+ # @param body Allows for a filtered query returning facet information
1908
1928
  # @param [Hash] opts the optional parameters
1909
- # @option opts [WorkspaceMember] :body Workspace
1910
- # @return [WorkspaceMember]
1911
- def put_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
1912
- data, status_code, headers = put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
1929
+ # @option opts [String] :expand Expand some document fields
1930
+ # @return [QueryResults]
1931
+ def post_query(body, opts = {})
1932
+ data, status_code, headers = post_query_with_http_info(body, opts)
1913
1933
  return data
1914
1934
  end
1915
1935
 
1916
- # Add a member to a workspace
1936
+ # Query content
1917
1937
  #
1918
- # @param workspace_id Workspace ID
1919
- # @param member_id Member ID
1938
+ # @param body Allows for a filtered query returning facet information
1920
1939
  # @param [Hash] opts the optional parameters
1921
- # @option opts [WorkspaceMember] :body Workspace
1922
- # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
1923
- def put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
1940
+ # @option opts [String] :expand Expand some document fields
1941
+ # @return [Array<(QueryResults, Fixnum, Hash)>] QueryResults data, response status code and response headers
1942
+ def post_query_with_http_info(body, opts = {})
1924
1943
  if @api_client.config.debugging
1925
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_members_member_id ..."
1944
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_query ..."
1926
1945
  end
1927
1946
 
1928
- # verify the required parameter 'workspace_id' is set
1929
- fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_members_member_id" if workspace_id.nil?
1947
+ # verify the required parameter 'body' is set
1948
+ fail "Missing the required parameter 'body' when calling post_query" if body.nil?
1930
1949
 
1931
- # verify the required parameter 'member_id' is set
1932
- fail "Missing the required parameter 'member_id' when calling put_workspaces_workspace_id_members_member_id" if member_id.nil?
1950
+ if opts[:'expand'] && !['acl', 'workspace'].include?(opts[:'expand'])
1951
+ fail 'invalid value for "expand", must be one of acl, workspace'
1952
+ end
1933
1953
 
1934
1954
  # resource path
1935
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
1955
+ local_var_path = "/api/v2/contentmanagement/query".sub('{format}','json')
1936
1956
 
1937
1957
  # query parameters
1938
1958
  query_params = {}
1959
+ query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
1939
1960
 
1940
1961
  # header parameters
1941
1962
  header_params = {}
@@ -1952,53 +1973,44 @@ module PureCloud
1952
1973
  form_params = {}
1953
1974
 
1954
1975
  # http body (model)
1955
- post_body = @api_client.object_to_http_body(opts[:'body'])
1976
+ post_body = @api_client.object_to_http_body(body)
1956
1977
 
1957
-
1958
1978
  auth_names = ['PureCloud Auth']
1959
- data, status_code, headers = @api_client.call_api(:PUT, path,
1979
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1960
1980
  :header_params => header_params,
1961
1981
  :query_params => query_params,
1962
1982
  :form_params => form_params,
1963
1983
  :body => post_body,
1964
1984
  :auth_names => auth_names,
1965
- :return_type => 'WorkspaceMember')
1985
+ :return_type => 'QueryResults')
1966
1986
  if @api_client.config.debugging
1967
- @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1987
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1968
1988
  end
1969
1989
  return data, status_code, headers
1970
1990
  end
1971
1991
 
1972
- # Delete a member from a workspace
1992
+ # Creates a new share or updates an existing share if the entity has already been shared
1973
1993
  #
1974
- # @param workspace_id Workspace ID
1975
- # @param member_id Member ID
1976
1994
  # @param [Hash] opts the optional parameters
1977
- # @return [nil]
1978
- def delete_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
1979
- delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
1980
- return nil
1995
+ # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
1996
+ # @return [CreateShareResponse]
1997
+ def post_shares(opts = {})
1998
+ data, status_code, headers = post_shares_with_http_info(opts)
1999
+ return data
1981
2000
  end
1982
2001
 
1983
- # Delete a member from a workspace
2002
+ # Creates a new share or updates an existing share if the entity has already been shared
1984
2003
  #
1985
- # @param workspace_id Workspace ID
1986
- # @param member_id Member ID
1987
2004
  # @param [Hash] opts the optional parameters
1988
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1989
- def delete_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
2005
+ # @option opts [CreateShareRequest] :body CreateShareRequest - entity id and type and a single member or list of members are required
2006
+ # @return [Array<(CreateShareResponse, Fixnum, Hash)>] CreateShareResponse data, response status code and response headers
2007
+ def post_shares_with_http_info(opts = {})
1990
2008
  if @api_client.config.debugging
1991
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_members_member_id ..."
2009
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_shares ..."
1992
2010
  end
1993
2011
 
1994
- # verify the required parameter 'workspace_id' is set
1995
- fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_members_member_id" if workspace_id.nil?
1996
-
1997
- # verify the required parameter 'member_id' is set
1998
- fail "Missing the required parameter 'member_id' when calling delete_workspaces_workspace_id_members_member_id" if member_id.nil?
1999
-
2000
2012
  # resource path
2001
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
2013
+ local_var_path = "/api/v2/contentmanagement/shares".sub('{format}','json')
2002
2014
 
2003
2015
  # query parameters
2004
2016
  query_params = {}
@@ -2018,66 +2030,47 @@ module PureCloud
2018
2030
  form_params = {}
2019
2031
 
2020
2032
  # http body (model)
2021
- post_body = nil
2033
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2022
2034
 
2023
-
2024
2035
  auth_names = ['PureCloud Auth']
2025
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2036
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2026
2037
  :header_params => header_params,
2027
2038
  :query_params => query_params,
2028
2039
  :form_params => form_params,
2029
2040
  :body => post_body,
2030
- :auth_names => auth_names)
2041
+ :auth_names => auth_names,
2042
+ :return_type => 'CreateShareResponse')
2031
2043
  if @api_client.config.debugging
2032
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2044
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2033
2045
  end
2034
2046
  return data, status_code, headers
2035
2047
  end
2036
2048
 
2037
- # Get a list of workspace tags
2049
+ # Create a group workspace
2038
2050
  #
2039
- # @param workspace_id Workspace ID
2040
2051
  # @param [Hash] opts the optional parameters
2041
- # @option opts [String] :value filter the list of tags returned
2042
- # @option opts [Integer] :page_size Page size
2043
- # @option opts [Integer] :page_number Page number
2044
- # @option opts [String] :expand Expand some document fields
2045
- # @return [TagValueEntityListing]
2046
- def get_workspaces_workspace_id_tagvalues(workspace_id, opts = {})
2047
- data, status_code, headers = get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts)
2052
+ # @option opts [WorkspaceCreate] :body Workspace
2053
+ # @return [Workspace]
2054
+ def post_workspaces(opts = {})
2055
+ data, status_code, headers = post_workspaces_with_http_info(opts)
2048
2056
  return data
2049
2057
  end
2050
2058
 
2051
- # Get a list of workspace tags
2059
+ # Create a group workspace
2052
2060
  #
2053
- # @param workspace_id Workspace ID
2054
2061
  # @param [Hash] opts the optional parameters
2055
- # @option opts [String] :value filter the list of tags returned
2056
- # @option opts [Integer] :page_size Page size
2057
- # @option opts [Integer] :page_number Page number
2058
- # @option opts [String] :expand Expand some document fields
2059
- # @return [Array<(TagValueEntityListing, Fixnum, Hash)>] TagValueEntityListing data, response status code and response headers
2060
- def get_workspaces_workspace_id_tagvalues_with_http_info(workspace_id, opts = {})
2062
+ # @option opts [WorkspaceCreate] :body Workspace
2063
+ # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
2064
+ def post_workspaces_with_http_info(opts = {})
2061
2065
  if @api_client.config.debugging
2062
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues ..."
2063
- end
2064
-
2065
- # verify the required parameter 'workspace_id' is set
2066
- fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues" if workspace_id.nil?
2067
-
2068
- if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
2069
- fail 'invalid value for "expand", must be one of acl'
2066
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#post_workspaces ..."
2070
2067
  end
2071
2068
 
2072
2069
  # resource path
2073
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2070
+ local_var_path = "/api/v2/contentmanagement/workspaces".sub('{format}','json')
2074
2071
 
2075
2072
  # query parameters
2076
2073
  query_params = {}
2077
- query_params[:'value'] = opts[:'value'] if opts[:'value']
2078
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
2079
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
2080
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
2081
2074
 
2082
2075
  # header parameters
2083
2076
  header_params = {}
@@ -2094,19 +2087,18 @@ module PureCloud
2094
2087
  form_params = {}
2095
2088
 
2096
2089
  # http body (model)
2097
- post_body = nil
2090
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2098
2091
 
2099
-
2100
2092
  auth_names = ['PureCloud Auth']
2101
- data, status_code, headers = @api_client.call_api(:GET, path,
2093
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2102
2094
  :header_params => header_params,
2103
2095
  :query_params => query_params,
2104
2096
  :form_params => form_params,
2105
2097
  :body => post_body,
2106
2098
  :auth_names => auth_names,
2107
- :return_type => 'TagValueEntityListing')
2099
+ :return_type => 'Workspace')
2108
2100
  if @api_client.config.debugging
2109
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2101
+ @api_client.config.logger.debug "API called: ContentManagementApi#post_workspaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2110
2102
  end
2111
2103
  return data, status_code, headers
2112
2104
  end
@@ -2137,7 +2129,7 @@ module PureCloud
2137
2129
  fail "Missing the required parameter 'workspace_id' when calling post_workspaces_workspace_id_tagvalues" if workspace_id.nil?
2138
2130
 
2139
2131
  # resource path
2140
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2132
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2141
2133
 
2142
2134
  # query parameters
2143
2135
  query_params = {}
@@ -2159,9 +2151,8 @@ module PureCloud
2159
2151
  # http body (model)
2160
2152
  post_body = @api_client.object_to_http_body(opts[:'body'])
2161
2153
 
2162
-
2163
2154
  auth_names = ['PureCloud Auth']
2164
- data, status_code, headers = @api_client.call_api(:POST, path,
2155
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2165
2156
  :header_params => header_params,
2166
2157
  :query_params => query_params,
2167
2158
  :form_params => form_params,
@@ -2206,7 +2197,7 @@ module PureCloud
2206
2197
  end
2207
2198
 
2208
2199
  # resource path
2209
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/query".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2200
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/query".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2210
2201
 
2211
2202
  # query parameters
2212
2203
  query_params = {}
@@ -2229,9 +2220,8 @@ module PureCloud
2229
2220
  # http body (model)
2230
2221
  post_body = @api_client.object_to_http_body(opts[:'body'])
2231
2222
 
2232
-
2233
2223
  auth_names = ['PureCloud Auth']
2234
- data, status_code, headers = @api_client.call_api(:POST, path,
2224
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2235
2225
  :header_params => header_params,
2236
2226
  :query_params => query_params,
2237
2227
  :form_params => form_params,
@@ -2244,46 +2234,36 @@ module PureCloud
2244
2234
  return data, status_code, headers
2245
2235
  end
2246
2236
 
2247
- # Get a workspace tag
2237
+ # Update a workspace
2248
2238
  #
2249
2239
  # @param workspace_id Workspace ID
2250
- # @param tag_id Tag ID
2251
2240
  # @param [Hash] opts the optional parameters
2252
- # @option opts [String] :expand Expand some document fields
2253
- # @return [TagValue]
2254
- def get_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
2255
- data, status_code, headers = get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
2241
+ # @option opts [Workspace] :body Workspace
2242
+ # @return [Workspace]
2243
+ def put_workspaces_workspace_id(workspace_id, opts = {})
2244
+ data, status_code, headers = put_workspaces_workspace_id_with_http_info(workspace_id, opts)
2256
2245
  return data
2257
2246
  end
2258
2247
 
2259
- # Get a workspace tag
2248
+ # Update a workspace
2260
2249
  #
2261
2250
  # @param workspace_id Workspace ID
2262
- # @param tag_id Tag ID
2263
2251
  # @param [Hash] opts the optional parameters
2264
- # @option opts [String] :expand Expand some document fields
2265
- # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2266
- def get_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2252
+ # @option opts [Workspace] :body Workspace
2253
+ # @return [Array<(Workspace, Fixnum, Hash)>] Workspace data, response status code and response headers
2254
+ def put_workspaces_workspace_id_with_http_info(workspace_id, opts = {})
2267
2255
  if @api_client.config.debugging
2268
- @api_client.config.logger.debug "Calling API: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id ..."
2256
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id ..."
2269
2257
  end
2270
2258
 
2271
2259
  # verify the required parameter 'workspace_id' is set
2272
- fail "Missing the required parameter 'workspace_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
2273
-
2274
- # verify the required parameter 'tag_id' is set
2275
- fail "Missing the required parameter 'tag_id' when calling get_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
2276
-
2277
- if opts[:'expand'] && !['acl'].include?(opts[:'expand'])
2278
- fail 'invalid value for "expand", must be one of acl'
2279
- end
2260
+ fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id" if workspace_id.nil?
2280
2261
 
2281
2262
  # resource path
2282
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
2263
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s)
2283
2264
 
2284
2265
  # query parameters
2285
2266
  query_params = {}
2286
- query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
2287
2267
 
2288
2268
  # header parameters
2289
2269
  header_params = {}
@@ -2300,55 +2280,54 @@ module PureCloud
2300
2280
  form_params = {}
2301
2281
 
2302
2282
  # http body (model)
2303
- post_body = nil
2283
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2304
2284
 
2305
-
2306
2285
  auth_names = ['PureCloud Auth']
2307
- data, status_code, headers = @api_client.call_api(:GET, path,
2286
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2308
2287
  :header_params => header_params,
2309
2288
  :query_params => query_params,
2310
2289
  :form_params => form_params,
2311
2290
  :body => post_body,
2312
2291
  :auth_names => auth_names,
2313
- :return_type => 'TagValue')
2292
+ :return_type => 'Workspace')
2314
2293
  if @api_client.config.debugging
2315
- @api_client.config.logger.debug "API called: ContentManagementApi#get_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2294
+ @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2316
2295
  end
2317
2296
  return data, status_code, headers
2318
2297
  end
2319
2298
 
2320
- # Update a workspace tag. Will update all documents with the new tag value.
2299
+ # Add a member to a workspace
2321
2300
  #
2322
2301
  # @param workspace_id Workspace ID
2323
- # @param tag_id Tag ID
2302
+ # @param member_id Member ID
2324
2303
  # @param [Hash] opts the optional parameters
2325
- # @option opts [TagValue] :body Workspace
2326
- # @return [TagValue]
2327
- def put_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
2328
- data, status_code, headers = put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
2304
+ # @option opts [WorkspaceMember] :body Workspace
2305
+ # @return [WorkspaceMember]
2306
+ def put_workspaces_workspace_id_members_member_id(workspace_id, member_id, opts = {})
2307
+ data, status_code, headers = put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts)
2329
2308
  return data
2330
2309
  end
2331
2310
 
2332
- # Update a workspace tag. Will update all documents with the new tag value.
2311
+ # Add a member to a workspace
2333
2312
  #
2334
2313
  # @param workspace_id Workspace ID
2335
- # @param tag_id Tag ID
2314
+ # @param member_id Member ID
2336
2315
  # @param [Hash] opts the optional parameters
2337
- # @option opts [TagValue] :body Workspace
2338
- # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2339
- def put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2316
+ # @option opts [WorkspaceMember] :body Workspace
2317
+ # @return [Array<(WorkspaceMember, Fixnum, Hash)>] WorkspaceMember data, response status code and response headers
2318
+ def put_workspaces_workspace_id_members_member_id_with_http_info(workspace_id, member_id, opts = {})
2340
2319
  if @api_client.config.debugging
2341
- @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id ..."
2320
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_members_member_id ..."
2342
2321
  end
2343
2322
 
2344
2323
  # verify the required parameter 'workspace_id' is set
2345
- fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
2324
+ fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_members_member_id" if workspace_id.nil?
2346
2325
 
2347
- # verify the required parameter 'tag_id' is set
2348
- fail "Missing the required parameter 'tag_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
2326
+ # verify the required parameter 'member_id' is set
2327
+ fail "Missing the required parameter 'member_id' when calling put_workspaces_workspace_id_members_member_id" if member_id.nil?
2349
2328
 
2350
2329
  # resource path
2351
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
2330
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/members/{memberId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'memberId' + '}', member_id.to_s)
2352
2331
 
2353
2332
  # query parameters
2354
2333
  query_params = {}
@@ -2370,51 +2349,52 @@ module PureCloud
2370
2349
  # http body (model)
2371
2350
  post_body = @api_client.object_to_http_body(opts[:'body'])
2372
2351
 
2373
-
2374
2352
  auth_names = ['PureCloud Auth']
2375
- data, status_code, headers = @api_client.call_api(:PUT, path,
2353
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2376
2354
  :header_params => header_params,
2377
2355
  :query_params => query_params,
2378
2356
  :form_params => form_params,
2379
2357
  :body => post_body,
2380
2358
  :auth_names => auth_names,
2381
- :return_type => 'TagValue')
2359
+ :return_type => 'WorkspaceMember')
2382
2360
  if @api_client.config.debugging
2383
- @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2361
+ @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_members_member_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2384
2362
  end
2385
2363
  return data, status_code, headers
2386
2364
  end
2387
2365
 
2388
- # Delete workspace tag
2389
- # Delete a tag from a workspace. Will remove this tag from all documents.
2366
+ # Update a workspace tag. Will update all documents with the new tag value.
2367
+ #
2390
2368
  # @param workspace_id Workspace ID
2391
2369
  # @param tag_id Tag ID
2392
2370
  # @param [Hash] opts the optional parameters
2393
- # @return [nil]
2394
- def delete_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
2395
- delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
2396
- return nil
2371
+ # @option opts [TagValue] :body Workspace
2372
+ # @return [TagValue]
2373
+ def put_workspaces_workspace_id_tagvalues_tag_id(workspace_id, tag_id, opts = {})
2374
+ data, status_code, headers = put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts)
2375
+ return data
2397
2376
  end
2398
2377
 
2399
- # Delete workspace tag
2400
- # Delete a tag from a workspace. Will remove this tag from all documents.
2378
+ # Update a workspace tag. Will update all documents with the new tag value.
2379
+ #
2401
2380
  # @param workspace_id Workspace ID
2402
2381
  # @param tag_id Tag ID
2403
2382
  # @param [Hash] opts the optional parameters
2404
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2405
- def delete_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2383
+ # @option opts [TagValue] :body Workspace
2384
+ # @return [Array<(TagValue, Fixnum, Hash)>] TagValue data, response status code and response headers
2385
+ def put_workspaces_workspace_id_tagvalues_tag_id_with_http_info(workspace_id, tag_id, opts = {})
2406
2386
  if @api_client.config.debugging
2407
- @api_client.config.logger.debug "Calling API: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id ..."
2387
+ @api_client.config.logger.debug "Calling API: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id ..."
2408
2388
  end
2409
2389
 
2410
2390
  # verify the required parameter 'workspace_id' is set
2411
- fail "Missing the required parameter 'workspace_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
2391
+ fail "Missing the required parameter 'workspace_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if workspace_id.nil?
2412
2392
 
2413
2393
  # verify the required parameter 'tag_id' is set
2414
- fail "Missing the required parameter 'tag_id' when calling delete_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
2394
+ fail "Missing the required parameter 'tag_id' when calling put_workspaces_workspace_id_tagvalues_tag_id" if tag_id.nil?
2415
2395
 
2416
2396
  # resource path
2417
- path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
2397
+ local_var_path = "/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}".sub('{format}','json').sub('{' + 'workspaceId' + '}', workspace_id.to_s).sub('{' + 'tagId' + '}', tag_id.to_s)
2418
2398
 
2419
2399
  # query parameters
2420
2400
  query_params = {}
@@ -2434,24 +2414,20 @@ module PureCloud
2434
2414
  form_params = {}
2435
2415
 
2436
2416
  # http body (model)
2437
- post_body = nil
2417
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2438
2418
 
2439
-
2440
2419
  auth_names = ['PureCloud Auth']
2441
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2420
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2442
2421
  :header_params => header_params,
2443
2422
  :query_params => query_params,
2444
2423
  :form_params => form_params,
2445
2424
  :body => post_body,
2446
- :auth_names => auth_names)
2425
+ :auth_names => auth_names,
2426
+ :return_type => 'TagValue')
2447
2427
  if @api_client.config.debugging
2448
- @api_client.config.logger.debug "API called: ContentManagementApi#delete_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2428
+ @api_client.config.logger.debug "API called: ContentManagementApi#put_workspaces_workspace_id_tagvalues_tag_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2449
2429
  end
2450
2430
  return data, status_code, headers
2451
2431
  end
2452
2432
  end
2453
2433
  end
2454
-
2455
-
2456
-
2457
-