purecloud 0.35.1 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1459) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/Gemfile.lock +0 -2
  4. data/README.md +38 -51
  5. data/config-ruby.json +1 -1
  6. data/doc_out/Account.html.md +42 -0
  7. data/doc_out/AccountManager.html.md +16 -0
  8. data/doc_out/AccountOverview.html.md +20 -0
  9. data/doc_out/AccountStatus.html.md +21 -0
  10. data/doc_out/Actions.html.md +13 -0
  11. data/doc_out/AcwSettings.html.md +14 -0
  12. data/doc_out/Address.html.md +20 -0
  13. data/doc_out/AddressListing.html.md +22 -0
  14. data/doc_out/Agent.html.md +13 -0
  15. data/doc_out/AgentActivity.html.md +19 -0
  16. data/doc_out/AgentActivityEntityListing.html.md +22 -0
  17. data/doc_out/AgentEvaluatorActivity.html.md +19 -0
  18. data/doc_out/AggregateDataContainer.html.md +14 -0
  19. data/doc_out/AggregateMetricData.html.md +15 -0
  20. data/doc_out/AggregateQueryResponse.html.md +13 -0
  21. data/doc_out/AggregationQuery.html.md +18 -0
  22. data/doc_out/AggregationRange.html.md +14 -0
  23. data/doc_out/AggregationResult.html.md +17 -0
  24. data/doc_out/AggregationResultEntry.html.md +16 -0
  25. data/doc_out/AlertingApi.html.md +571 -0
  26. data/doc_out/AnalyticsApi.html.md +1233 -0
  27. data/doc_out/AnalyticsConversation.html.md +16 -0
  28. data/doc_out/AnalyticsConversationQueryResponse.html.md +14 -0
  29. data/doc_out/AnalyticsConversationSegment.html.md +34 -0
  30. data/doc_out/AnalyticsEvaluation.html.md +22 -0
  31. data/doc_out/AnalyticsParticipant.html.md +17 -0
  32. data/doc_out/AnalyticsProperty.html.md +15 -0
  33. data/doc_out/AnalyticsQueryAggregation.html.md +17 -0
  34. data/doc_out/AnalyticsQueryClause.html.md +14 -0
  35. data/doc_out/AnalyticsQueryFilter.html.md +15 -0
  36. data/doc_out/AnalyticsQueryPredicate.html.md +20 -0
  37. data/doc_out/AnalyticsSession.html.md +29 -0
  38. data/doc_out/Annotation.html.md +20 -0
  39. data/doc_out/App.html.md +14 -0
  40. data/doc_out/ArchiveRetention.html.md +14 -0
  41. data/doc_out/AssociatedDocument.html.md +14 -0
  42. data/doc_out/Attachment.html.md +17 -0
  43. data/doc_out/Attribute.html.md +21 -0
  44. data/doc_out/AttributeEntityListing.html.md +22 -0
  45. data/doc_out/AttributeFilterItem.html.md +15 -0
  46. data/doc_out/AttributeQueryRequest.html.md +15 -0
  47. data/doc_out/AttributesApi.html.md +362 -0
  48. data/doc_out/AuditChange.html.md +16 -0
  49. data/doc_out/AuditEntity.html.md +16 -0
  50. data/doc_out/AuditEntityReference.html.md +17 -0
  51. data/doc_out/AuditFacet.html.md +14 -0
  52. data/doc_out/AuditFilter.html.md +16 -0
  53. data/doc_out/AuditMessage.html.md +28 -0
  54. data/doc_out/AuditSearchResult.html.md +18 -0
  55. data/doc_out/AuditUser.html.md +15 -0
  56. data/doc_out/AuthorizationApi.html.md +1024 -0
  57. data/doc_out/AutomateQueue.html.md +19 -0
  58. data/doc_out/AutomateQueueMember.html.md +16 -0
  59. data/doc_out/AutomateQueueMemberEntityListing.html.md +22 -0
  60. data/doc_out/AvailableAdditionalService.html.md +22 -0
  61. data/doc_out/AvailableAdditionalServiceListing.html.md +22 -0
  62. data/doc_out/AvailableTopic.html.md +15 -0
  63. data/doc_out/AvailableTopicEntityListing.html.md +22 -0
  64. data/doc_out/BackendFlowAvailableActions.html.md +13 -0
  65. data/doc_out/BasicTransform.html.md +14 -0
  66. data/doc_out/BatchCommand.html.md +14 -0
  67. data/doc_out/BatchItem.html.md +15 -0
  68. data/doc_out/BatchItemBody.html.md +13 -0
  69. data/doc_out/BatchReply.html.md +13 -0
  70. data/doc_out/BatchReplyItem.html.md +15 -0
  71. data/doc_out/BillingAddress.html.md +20 -0
  72. data/doc_out/BillingPeriod.html.md +17 -0
  73. data/doc_out/Bullseye.html.md +13 -0
  74. data/doc_out/Calibration.html.md +28 -0
  75. data/doc_out/CalibrationAssignment.html.md +16 -0
  76. data/doc_out/CalibrationEntityListing.html.md +22 -0
  77. data/doc_out/Call.html.md +29 -0
  78. data/doc_out/CallCommand.html.md +13 -0
  79. data/doc_out/CallConversation.html.md +18 -0
  80. data/doc_out/CallConversationEntityListing.html.md +22 -0
  81. data/doc_out/CallForwarding.html.md +19 -0
  82. data/doc_out/CallMediaParticipant.html.md +43 -0
  83. data/doc_out/CallRecord.html.md +14 -0
  84. data/doc_out/CallableContactsDiagnostic.html.md +15 -0
  85. data/doc_out/CallableTime.html.md +14 -0
  86. data/doc_out/CallableTimeSet.html.md +19 -0
  87. data/doc_out/CallableTimeSetEntityListing.html.md +22 -0
  88. data/doc_out/Callback.html.md +27 -0
  89. data/doc_out/CallbackConversation.html.md +17 -0
  90. data/doc_out/CallbackConversationEntityListing.html.md +22 -0
  91. data/doc_out/CallbackMediaParticipant.html.md +38 -0
  92. data/doc_out/Campaign.html.md +38 -0
  93. data/doc_out/CampaignDiagnostics.html.md +15 -0
  94. data/doc_out/CampaignEntityListing.html.md +22 -0
  95. data/doc_out/CampaignProgress.html.md +17 -0
  96. data/doc_out/CampaignSchedule.html.md +21 -0
  97. data/doc_out/CampaignScheduleIntervals.html.md +14 -0
  98. data/doc_out/CampaignSequence.html.md +23 -0
  99. data/doc_out/CampaignSequenceEntityListing.html.md +22 -0
  100. data/doc_out/CampaignStats.html.md +16 -0
  101. data/doc_out/CampaignTimeSlot.html.md +15 -0
  102. data/doc_out/Carrier.html.md +20 -0
  103. data/doc_out/CarrierAddress.html.md +17 -0
  104. data/doc_out/CarrierEntityListing.html.md +22 -0
  105. data/doc_out/Certificate.html.md +13 -0
  106. data/doc_out/CertificateAuthorityEntityListing.html.md +22 -0
  107. data/doc_out/CertificateDetails.html.md +19 -0
  108. data/doc_out/Change.html.md +16 -0
  109. data/doc_out/Channel.html.md +14 -0
  110. data/doc_out/ChannelEntityListing.html.md +22 -0
  111. data/doc_out/ChannelTopic.html.md +14 -0
  112. data/doc_out/ChannelTopicEntityListing.html.md +22 -0
  113. data/doc_out/Charge.html.md +20 -0
  114. data/doc_out/Chat.html.md +13 -0
  115. data/doc_out/ChatConversation.html.md +17 -0
  116. data/doc_out/ChatConversationEntityListing.html.md +22 -0
  117. data/doc_out/ChatMediaParticipant.html.md +34 -0
  118. data/doc_out/ChatMessage.html.md +21 -0
  119. data/doc_out/ChatMessageUser.html.md +17 -0
  120. data/doc_out/ClientSpreadsheetTransform.html.md +19 -0
  121. data/doc_out/ClientTextTableTransform.html.md +20 -0
  122. data/doc_out/ColumnCollapse.html.md +14 -0
  123. data/doc_out/CommandStatus.html.md +20 -0
  124. data/doc_out/CommandStatusEntityListing.html.md +22 -0
  125. data/doc_out/CommonAuditRequest.html.md +19 -0
  126. data/doc_out/ComposerTemplate.html.md +22 -0
  127. data/doc_out/Condition.html.md +19 -0
  128. data/doc_out/ConfigurationApi.html.md +232 -0
  129. data/doc_out/ConnectRate.html.md +15 -0
  130. data/doc_out/ConsultTransfer.html.md +14 -0
  131. data/doc_out/ConsultTransferResponse.html.md +13 -0
  132. data/doc_out/ConsultTransferUpdate.html.md +13 -0
  133. data/doc_out/ConsumedResourcesEntityListing.html.md +22 -0
  134. data/doc_out/ConsumingResourcesEntityListing.html.md +22 -0
  135. data/doc_out/Contact.html.md +16 -0
  136. data/doc_out/ContactAddress.html.md +18 -0
  137. data/doc_out/ContactCallbackRequest.html.md +17 -0
  138. data/doc_out/ContactList.html.md +24 -0
  139. data/doc_out/ContactListEntityListing.html.md +22 -0
  140. data/doc_out/ContactListing.html.md +22 -0
  141. data/doc_out/ContactPhoneNumberColumn.html.md +15 -0
  142. data/doc_out/ContactSales.html.md +25 -0
  143. data/doc_out/ContactSalesResponse.html.md +16 -0
  144. data/doc_out/ContactSort.html.md +14 -0
  145. data/doc_out/ContentAttributeFilterItem.html.md +15 -0
  146. data/doc_out/ContentFacetFilterItem.html.md +16 -0
  147. data/doc_out/ContentFilterItem.html.md +16 -0
  148. data/doc_out/ContentManagementApi.html.md +2236 -0
  149. data/doc_out/ContentQueryRequest.html.md +19 -0
  150. data/doc_out/ContentSortItem.html.md +14 -0
  151. data/doc_out/Contract.html.md +18 -0
  152. data/doc_out/ContractJob.html.md +17 -0
  153. data/doc_out/Control.html.md +19 -0
  154. data/doc_out/ControlOptions.html.md +14 -0
  155. data/doc_out/Conversation.html.md +22 -0
  156. data/doc_out/ConversationChat.html.md +23 -0
  157. data/doc_out/ConversationEntityListing.html.md +22 -0
  158. data/doc_out/ConversationQuery.html.md +20 -0
  159. data/doc_out/ConversationsApi.html.md +3374 -0
  160. data/doc_out/CoverSheet.html.md +14 -0
  161. data/doc_out/CreateCallRequest.html.md +21 -0
  162. data/doc_out/CreateCallResponse.html.md +15 -0
  163. data/doc_out/CreateCallbackCommand.html.md +18 -0
  164. data/doc_out/CreateShareRequest.html.md +17 -0
  165. data/doc_out/CreateShareRequestMember.html.md +14 -0
  166. data/doc_out/CreateShareResponse.html.md +23 -0
  167. data/doc_out/CreateTemplateFromScriptRequestData.html.md +17 -0
  168. data/doc_out/CreateUser.html.md +19 -0
  169. data/doc_out/CsvSchema.html.md +19 -0
  170. data/doc_out/Currency.html.md +16 -0
  171. data/doc_out/CustomerAccount.html.md +21 -0
  172. data/doc_out/DID.html.md +28 -0
  173. data/doc_out/DIDEntityListing.html.md +22 -0
  174. data/doc_out/DIDPool.html.md +28 -0
  175. data/doc_out/DIDPoolEntityListing.html.md +22 -0
  176. data/doc_out/DataItem.html.md +15 -0
  177. data/doc_out/DataValueInfo.html.md +13 -0
  178. data/doc_out/DefaultGreetingList.html.md +22 -0
  179. data/doc_out/DeleteRetention.html.md +13 -0
  180. data/doc_out/DeletedResourceConsumerEntityListing.html.md +22 -0
  181. data/doc_out/DeltaDocument.html.md +19 -0
  182. data/doc_out/DeltaRequest.html.md +13 -0
  183. data/doc_out/DeltaResponse.html.md +15 -0
  184. data/doc_out/Dependency.html.md +18 -0
  185. data/doc_out/DependencyObject.html.md +20 -0
  186. data/doc_out/DependencyObjectEntityListing.html.md +22 -0
  187. data/doc_out/DependencyStatus.html.md +21 -0
  188. data/doc_out/DependencyType.html.md +16 -0
  189. data/doc_out/DependencyTypeEntityListing.html.md +22 -0
  190. data/doc_out/Destination.html.md +16 -0
  191. data/doc_out/Detail.html.md +16 -0
  192. data/doc_out/DiagnosticEmail.html.md +19 -0
  193. data/doc_out/DialerAction.html.md +16 -0
  194. data/doc_out/DialerAuditRequest.html.md +16 -0
  195. data/doc_out/DialerContact.html.md +20 -0
  196. data/doc_out/DialerPreview.html.md +17 -0
  197. data/doc_out/DialerRule.html.md +18 -0
  198. data/doc_out/DigitLength.html.md +14 -0
  199. data/doc_out/DisconnectReason.html.md +15 -0
  200. data/doc_out/Discount.html.md +20 -0
  201. data/doc_out/DncList.html.md +22 -0
  202. data/doc_out/DncListEntityListing.html.md +22 -0
  203. data/doc_out/Dns.html.md +15 -0
  204. data/doc_out/Document.html.md +43 -0
  205. data/doc_out/DocumentAttribute.html.md +14 -0
  206. data/doc_out/DocumentAudit.html.md +28 -0
  207. data/doc_out/DocumentAuditEntityListing.html.md +22 -0
  208. data/doc_out/DocumentEntityListing.html.md +22 -0
  209. data/doc_out/DocumentThumbnail.html.md +14 -0
  210. data/doc_out/DocumentUpdate.html.md +21 -0
  211. data/doc_out/DocumentUpload.html.md +16 -0
  212. data/doc_out/DomainBillingPeriodEntityListing.html.md +22 -0
  213. data/doc_out/DomainCapabilities.html.md +15 -0
  214. data/doc_out/DomainCertificateAuthority.html.md +28 -0
  215. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +21 -0
  216. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +20 -0
  217. data/doc_out/DomainEntity.html.md +15 -0
  218. data/doc_out/DomainEntityListing.html.md +22 -0
  219. data/doc_out/DomainEntityListingEvaluationForm.html.md +22 -0
  220. data/doc_out/DomainEntityListingQueryResult.html.md +22 -0
  221. data/doc_out/DomainInvoiceEntityListing.html.md +22 -0
  222. data/doc_out/DomainLogicalInterface.html.md +49 -0
  223. data/doc_out/DomainNetworkAddress.html.md +16 -0
  224. data/doc_out/DomainNetworkCommandResponse.html.md +16 -0
  225. data/doc_out/DomainNetworkRoute.html.md +17 -0
  226. data/doc_out/DomainOrgRoleDifference.html.md +17 -0
  227. data/doc_out/DomainOrganizationProduct.html.md +13 -0
  228. data/doc_out/DomainOrganizationRole.html.md +22 -0
  229. data/doc_out/DomainPermission.html.md +17 -0
  230. data/doc_out/DomainPermissionCollection.html.md +17 -0
  231. data/doc_out/DomainPermissionPolicy.html.md +20 -0
  232. data/doc_out/DomainPhysicalCapabilities.html.md +14 -0
  233. data/doc_out/DomainPhysicalInterface.html.md +20 -0
  234. data/doc_out/DomainResourceConditionNode.html.md +17 -0
  235. data/doc_out/DomainResourceConditionValue.html.md +16 -0
  236. data/doc_out/DomainRole.html.md +14 -0
  237. data/doc_out/DomainSchemaReference.html.md +15 -0
  238. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +22 -0
  239. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +22 -0
  240. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +22 -0
  241. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +22 -0
  242. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +22 -0
  243. data/doc_out/DownloadResponse.html.md +14 -0
  244. data/doc_out/DurationCondition.html.md +15 -0
  245. data/doc_out/Edge.html.md +47 -0
  246. data/doc_out/EdgeAutoUpdateConfig.html.md +16 -0
  247. data/doc_out/EdgeEntityListing.html.md +22 -0
  248. data/doc_out/EdgeGroup.html.md +28 -0
  249. data/doc_out/EdgeGroupEntityListing.html.md +22 -0
  250. data/doc_out/EdgeInterface.html.md +20 -0
  251. data/doc_out/EdgeLine.html.md +23 -0
  252. data/doc_out/EdgeLineEntityListing.html.md +22 -0
  253. data/doc_out/EdgeLogsJob.html.md +16 -0
  254. data/doc_out/EdgeLogsJobFile.html.md +21 -0
  255. data/doc_out/EdgeLogsJobRequest.html.md +15 -0
  256. data/doc_out/EdgeLogsJobResponse.html.md +15 -0
  257. data/doc_out/EdgeLogsJobUploadRequest.html.md +13 -0
  258. data/doc_out/EdgeVersionInformation.html.md +13 -0
  259. data/doc_out/EdgeVersionReport.html.md +14 -0
  260. data/doc_out/Email.html.md +25 -0
  261. data/doc_out/EmailAddress.html.md +14 -0
  262. data/doc_out/EmailAttachment.html.md +17 -0
  263. data/doc_out/EmailConversation.html.md +17 -0
  264. data/doc_out/EmailConversationEntityListing.html.md +22 -0
  265. data/doc_out/EmailMediaParticipant.html.md +35 -0
  266. data/doc_out/EmailMessage.html.md +24 -0
  267. data/doc_out/EmailMessageListing.html.md +22 -0
  268. data/doc_out/EmailSetup.html.md +13 -0
  269. data/doc_out/EmbeddedSignatureView.html.md +13 -0
  270. data/doc_out/EncryptionKey.html.md +18 -0
  271. data/doc_out/EncryptionKeyEntityListing.html.md +22 -0
  272. data/doc_out/Endpoint.html.md +30 -0
  273. data/doc_out/EndpointEntityListing.html.md +22 -0
  274. data/doc_out/Entity.html.md +16 -0
  275. data/doc_out/Entry.html.md +14 -0
  276. data/doc_out/ErrorBody.html.md +22 -0
  277. data/doc_out/ErrorDetails.html.md +20 -0
  278. data/doc_out/EstimatedWaitTimePredictions.html.md +13 -0
  279. data/doc_out/Evaluation.html.md +31 -0
  280. data/doc_out/EvaluationAssignment.html.md +14 -0
  281. data/doc_out/EvaluationEntityListing.html.md +22 -0
  282. data/doc_out/EvaluationForm.html.md +21 -0
  283. data/doc_out/EvaluationFormAndScoringSet.html.md +14 -0
  284. data/doc_out/EvaluationFormEntityListing.html.md +22 -0
  285. data/doc_out/EvaluationScoringSet.html.md +18 -0
  286. data/doc_out/EvaluatorActivity.html.md +22 -0
  287. data/doc_out/EvaluatorActivityEntityListing.html.md +22 -0
  288. data/doc_out/ExpansionCriterium.html.md +14 -0
  289. data/doc_out/ExpressionResponse.html.md +23 -0
  290. data/doc_out/Extension.html.md +28 -0
  291. data/doc_out/ExtensionEntityListing.html.md +22 -0
  292. data/doc_out/ExtensionPool.html.md +26 -0
  293. data/doc_out/ExtensionPoolEntityListing.html.md +22 -0
  294. data/doc_out/ExternalContact.html.md +30 -0
  295. data/doc_out/ExternalContactsApi.html.md +1594 -0
  296. data/doc_out/ExternalOrganization.html.md +28 -0
  297. data/doc_out/ExternalOrganizationListing.html.md +22 -0
  298. data/doc_out/FacetEntry.html.md +20 -0
  299. data/doc_out/FacetInfo.html.md +14 -0
  300. data/doc_out/FacetKeyAttribute.html.md +15 -0
  301. data/doc_out/FacetRequest.html.md +19 -0
  302. data/doc_out/FacetResult.html.md +17 -0
  303. data/doc_out/FacetResultItem.html.md +19 -0
  304. data/doc_out/FacetStatistics.html.md +19 -0
  305. data/doc_out/FacetTerm.html.md +18 -0
  306. data/doc_out/FailedObject.html.md +16 -0
  307. data/doc_out/FavoriteTemplateRequestData.html.md +13 -0
  308. data/doc_out/FaxApi.html.md +354 -0
  309. data/doc_out/FaxDocument.html.md +30 -0
  310. data/doc_out/FaxDocumentEntityListing.html.md +22 -0
  311. data/doc_out/FaxSendRequest.html.md +20 -0
  312. data/doc_out/FaxSendResponse.html.md +17 -0
  313. data/doc_out/FaxSummary.html.md +15 -0
  314. data/doc_out/FilterItem.html.md +17 -0
  315. data/doc_out/Flow.html.md +24 -0
  316. data/doc_out/FlowBody.html.md +14 -0
  317. data/doc_out/FlowBodyFormat.html.md +14 -0
  318. data/doc_out/FlowConfigId.html.md +16 -0
  319. data/doc_out/FlowConfigMetaData.html.md +23 -0
  320. data/doc_out/FlowConfigMetaDataEntityListing.html.md +22 -0
  321. data/doc_out/FlowDetails.html.md +24 -0
  322. data/doc_out/FlowDetailsSearchResult.html.md +14 -0
  323. data/doc_out/FlowEntityListing.html.md +22 -0
  324. data/doc_out/FlowExecId.html.md +15 -0
  325. data/doc_out/FlowHistoryItem.html.md +20 -0
  326. data/doc_out/FlowHistoryResultItem.html.md +15 -0
  327. data/doc_out/FlowHistoryResultItemEntityListing.html.md +22 -0
  328. data/doc_out/FlowInputData.html.md +13 -0
  329. data/doc_out/FlowLaunchRequest.html.md +16 -0
  330. data/doc_out/FlowPublish.html.md +17 -0
  331. data/doc_out/FlowReportResultItem.html.md +24 -0
  332. data/doc_out/FlowSearchRequest.html.md +19 -0
  333. data/doc_out/FlowState.html.md +15 -0
  334. data/doc_out/FlowTerminateRequest.html.md +13 -0
  335. data/doc_out/FlowUploadResponse.html.md +14 -0
  336. data/doc_out/FlowVersion.html.md +23 -0
  337. data/doc_out/FlowVersionConfigMetaData.html.md +20 -0
  338. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +22 -0
  339. data/doc_out/FlowVersionEntityListing.html.md +22 -0
  340. data/doc_out/Form.html.md +13 -0
  341. data/doc_out/Gateway.html.md +15 -0
  342. data/doc_out/Geolocation.html.md +22 -0
  343. data/doc_out/GeolocationApi.html.md +245 -0
  344. data/doc_out/GeolocationSettings.html.md +16 -0
  345. data/doc_out/Gistener.html.md +25 -0
  346. data/doc_out/Greeting.html.md +24 -0
  347. data/doc_out/GreetingAudioFile.html.md +15 -0
  348. data/doc_out/GreetingMediaInfo.html.md +15 -0
  349. data/doc_out/GreetingOwner.html.md +15 -0
  350. data/doc_out/GreetingsApi.html.md +712 -0
  351. data/doc_out/Group.html.md +22 -0
  352. data/doc_out/GroupEntityListing.html.md +22 -0
  353. data/doc_out/GroupTag.html.md +19 -0
  354. data/doc_out/GroupsApi.html.md +314 -0
  355. data/doc_out/GroupsSearchResponse.html.md +21 -0
  356. data/doc_out/HIPAAConfig.html.md +16 -0
  357. data/doc_out/HardwareRate.html.md +18 -0
  358. data/doc_out/HardwareRateListing.html.md +22 -0
  359. data/doc_out/HealthCheckInfo.html.md +21 -0
  360. data/doc_out/IVR.html.md +31 -0
  361. data/doc_out/IVREntityListing.html.md +22 -0
  362. data/doc_out/ImportStatus.html.md +17 -0
  363. data/doc_out/InboundDomain.html.md +17 -0
  364. data/doc_out/InboundDomainEntityListing.html.md +22 -0
  365. data/doc_out/InboundRoute.html.md +22 -0
  366. data/doc_out/InboundRouteEntityListing.html.md +22 -0
  367. data/doc_out/IndexedTransform.html.md +16 -0
  368. data/doc_out/IntegrationType.html.md +18 -0
  369. data/doc_out/IntegrationTypeEntityListing.html.md +22 -0
  370. data/doc_out/InteractionStatsAlert.html.md +29 -0
  371. data/doc_out/InteractionStatsAlertContainer.html.md +22 -0
  372. data/doc_out/InteractionStatsRule.html.md +26 -0
  373. data/doc_out/InteractionStatsRuleContainer.html.md +22 -0
  374. data/doc_out/Invoice.html.md +21 -0
  375. data/doc_out/JsonNode.html.md +33 -0
  376. data/doc_out/JsonNodeSearchResponse.html.md +21 -0
  377. data/doc_out/KeyRotationSchedule.html.md +16 -0
  378. data/doc_out/Language.html.md +18 -0
  379. data/doc_out/LanguageEntityListing.html.md +22 -0
  380. data/doc_out/LanguagesApi.html.md +306 -0
  381. data/doc_out/Library.html.md +18 -0
  382. data/doc_out/LibraryEntityListing.html.md +22 -0
  383. data/doc_out/License.html.md +14 -0
  384. data/doc_out/LicensesByPermission.html.md +15 -0
  385. data/doc_out/Line.html.md +32 -0
  386. data/doc_out/LineBase.html.md +17 -0
  387. data/doc_out/LineBaseEntityListing.html.md +22 -0
  388. data/doc_out/LineEntityListing.html.md +22 -0
  389. data/doc_out/LineStatus.html.md +17 -0
  390. data/doc_out/LinkedEntityListingFlowDetails.html.md +22 -0
  391. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +22 -0
  392. data/doc_out/Location.html.md +24 -0
  393. data/doc_out/LocationAddressFields.html.md +19 -0
  394. data/doc_out/LocationEmergencyNumber.html.md +15 -0
  395. data/doc_out/LocationEntityListing.html.md +22 -0
  396. data/doc_out/LocationsApi.html.md +133 -0
  397. data/doc_out/LockInfo.html.md +16 -0
  398. data/doc_out/LogicalInterfaceEntityListing.html.md +22 -0
  399. data/doc_out/ManagementUnit.html.md +18 -0
  400. data/doc_out/ManagementUnitTimezone.html.md +13 -0
  401. data/doc_out/MaxParticipants.html.md +13 -0
  402. data/doc_out/MediaParticipantRequest.html.md +19 -0
  403. data/doc_out/MediaPolicies.html.md +15 -0
  404. data/doc_out/MediaPolicy.html.md +14 -0
  405. data/doc_out/MediaResult.html.md +14 -0
  406. data/doc_out/MediaSetting.html.md +14 -0
  407. data/doc_out/MediaSummary.html.md +14 -0
  408. data/doc_out/MediaSummaryDetail.html.md +14 -0
  409. data/doc_out/MemberEntity.html.md +13 -0
  410. data/doc_out/Metabase.html.md +16 -0
  411. data/doc_out/MeteredEvaluationAssignment.html.md +18 -0
  412. data/doc_out/NocSupport.html.md +14 -0
  413. data/doc_out/Note.html.md +18 -0
  414. data/doc_out/NoteListing.html.md +22 -0
  415. data/doc_out/NotificationsApi.html.md +408 -0
  416. data/doc_out/Number.html.md +14 -0
  417. data/doc_out/NumberOrderRequest.html.md +17 -0
  418. data/doc_out/NumberPlan.html.md +31 -0
  419. data/doc_out/NumericRange.html.md +16 -0
  420. data/doc_out/OAuthApi.html.md +1192 -0
  421. data/doc_out/OAuthClient.html.md +21 -0
  422. data/doc_out/OAuthClientEntityListing.html.md +22 -0
  423. data/doc_out/OAuthProvider.html.md +15 -0
  424. data/doc_out/OAuthProviderEntityListing.html.md +22 -0
  425. data/doc_out/ObservationDataContainer.html.md +14 -0
  426. data/doc_out/ObservationQuery.html.md +14 -0
  427. data/doc_out/ObservationQueryResponse.html.md +13 -0
  428. data/doc_out/Okta.html.md +18 -0
  429. data/doc_out/OneLogin.html.md +18 -0
  430. data/doc_out/Order.html.md +17 -0
  431. data/doc_out/OrgLicenseAssignment.html.md +16 -0
  432. data/doc_out/OrgMediaUtilization.html.md +14 -0
  433. data/doc_out/Organization.html.md +23 -0
  434. data/doc_out/OrganizationApi.html.md +172 -0
  435. data/doc_out/OrganizationCreate.html.md +18 -0
  436. data/doc_out/OrganizationPresence.html.md +22 -0
  437. data/doc_out/OrganizationPresenceEntityListing.html.md +22 -0
  438. data/doc_out/OrganizationProductEntityListing.html.md +17 -0
  439. data/doc_out/OrganizationRoleEntityListing.html.md +22 -0
  440. data/doc_out/OrphanRecording.html.md +23 -0
  441. data/doc_out/OrphanRecordingListing.html.md +22 -0
  442. data/doc_out/OutOfOffice.html.md +19 -0
  443. data/doc_out/OutboundApi.html.md +3780 -0
  444. data/doc_out/OutboundRoute.html.md +30 -0
  445. data/doc_out/OutboundRouteEntityListing.html.md +22 -0
  446. data/doc_out/PINConfiguration.html.md +14 -0
  447. data/doc_out/Page.html.md +20 -0
  448. data/doc_out/PagingSpec.html.md +14 -0
  449. data/doc_out/Parameter.html.md +16 -0
  450. data/doc_out/ParsedCertificate.html.md +13 -0
  451. data/doc_out/Participant.html.md +44 -0
  452. data/doc_out/ParticipantAttributes.html.md +13 -0
  453. data/doc_out/PaymentMethod.html.md +18 -0
  454. data/doc_out/PaymentMethodListing.html.md +22 -0
  455. data/doc_out/PaymentTokenProvider.html.md +16 -0
  456. data/doc_out/PermissionCollectionEntityListing.html.md +22 -0
  457. data/doc_out/Permissions.html.md +15 -0
  458. data/doc_out/Phone.html.md +34 -0
  459. data/doc_out/PhoneBase.html.md +19 -0
  460. data/doc_out/PhoneBaseEntityListing.html.md +22 -0
  461. data/doc_out/PhoneCapabilities.html.md +18 -0
  462. data/doc_out/PhoneColumn.html.md +14 -0
  463. data/doc_out/PhoneEntityListing.html.md +22 -0
  464. data/doc_out/PhoneMetaBaseEntityListing.html.md +22 -0
  465. data/doc_out/PhoneNumber.html.md +18 -0
  466. data/doc_out/PhoneNumberColumn.html.md +14 -0
  467. data/doc_out/PhoneNumberStatus.html.md +13 -0
  468. data/doc_out/PhoneStatus.html.md +21 -0
  469. data/doc_out/PhonesReboot.html.md +14 -0
  470. data/doc_out/PhysicalInterfaceEntityListing.html.md +22 -0
  471. data/doc_out/Policy.html.md +24 -0
  472. data/doc_out/PolicyActions.html.md +18 -0
  473. data/doc_out/PolicyConditions.html.md +20 -0
  474. data/doc_out/PolicyEntityListing.html.md +22 -0
  475. data/doc_out/PolicyErrorMessage.html.md +19 -0
  476. data/doc_out/PolicyErrors.html.md +13 -0
  477. data/doc_out/PredictionResults.html.md +14 -0
  478. data/doc_out/PresenceApi.html.md +427 -0
  479. data/doc_out/PresenceQueryResponse.html.md +14 -0
  480. data/doc_out/Product.html.md +17 -0
  481. data/doc_out/Prompt.html.md +17 -0
  482. data/doc_out/PromptAsset.html.md +24 -0
  483. data/doc_out/PromptAssetEntityListing.html.md +22 -0
  484. data/doc_out/PromptEntityListing.html.md +22 -0
  485. data/doc_out/PropertyIndexRequest.html.md +15 -0
  486. data/doc_out/ProvisionInfo.html.md +15 -0
  487. data/doc_out/Publication.html.md +20 -0
  488. data/doc_out/PublishScriptRequestData.html.md +14 -0
  489. data/doc_out/PublishedResult.html.md +18 -0
  490. data/doc_out/PureCloud.html.md +15 -0
  491. data/doc_out/QualityApi.html.md +1569 -0
  492. data/doc_out/QualityAudit.html.md +23 -0
  493. data/doc_out/QualityAuditPage.html.md +22 -0
  494. data/doc_out/QueryFacetInfo.html.md +14 -0
  495. data/doc_out/QueryRequest.html.md +19 -0
  496. data/doc_out/QueryResult.html.md +16 -0
  497. data/doc_out/QueryResults.html.md +14 -0
  498. data/doc_out/QuestionGroup.html.md +21 -0
  499. data/doc_out/QuestionGroupScore.html.md +23 -0
  500. data/doc_out/QuestionScore.html.md +18 -0
  501. data/doc_out/Queue.html.md +32 -0
  502. data/doc_out/QueueEntityListing.html.md +22 -0
  503. data/doc_out/QueueMember.html.md +20 -0
  504. data/doc_out/QueueUtilizationDiagnostic.html.md +20 -0
  505. data/doc_out/QueuesEntityListing.html.md +22 -0
  506. data/doc_out/Quote.html.md +32 -0
  507. data/doc_out/QuoteCharge.html.md +25 -0
  508. data/doc_out/QuoteListing.html.md +22 -0
  509. data/doc_out/Rate.html.md +17 -0
  510. data/doc_out/Reaction.html.md +15 -0
  511. data/doc_out/Recording.html.md +34 -0
  512. data/doc_out/RecordingApi.html.md +1243 -0
  513. data/doc_out/RecordingEmailMessage.html.md +22 -0
  514. data/doc_out/RecordingSettings.html.md +13 -0
  515. data/doc_out/Relationship.html.md +18 -0
  516. data/doc_out/RelationshipListing.html.md +22 -0
  517. data/doc_out/ReplaceRequest.html.md +15 -0
  518. data/doc_out/ReplaceResponse.html.md +18 -0
  519. data/doc_out/ReportMetaData.html.md +21 -0
  520. data/doc_out/ReportMetaDataEntityListing.html.md +22 -0
  521. data/doc_out/ReportRequest.html.md +18 -0
  522. data/doc_out/ReportRunEntry.html.md +23 -0
  523. data/doc_out/ReportRunEntryEntityDomainListing.html.md +22 -0
  524. data/doc_out/ReportSchedule.html.md +29 -0
  525. data/doc_out/ReportScheduleEntityListing.html.md +22 -0
  526. data/doc_out/Reservation.html.md +16 -0
  527. data/doc_out/ResourceConditionNode.html.md +17 -0
  528. data/doc_out/ResourceConditionValue.html.md +14 -0
  529. data/doc_out/ResourcePermissionPolicy.html.md +22 -0
  530. data/doc_out/Response.html.md +20 -0
  531. data/doc_out/ResponseEntityList.html.md +22 -0
  532. data/doc_out/ResponseEntityListing.html.md +22 -0
  533. data/doc_out/ResponseFilter.html.md +15 -0
  534. data/doc_out/ResponseManagementApi.html.md +657 -0
  535. data/doc_out/ResponseQueryRequest.html.md +15 -0
  536. data/doc_out/ResponseQueryResults.html.md +13 -0
  537. data/doc_out/ResponseSet.html.md +19 -0
  538. data/doc_out/ResponseSetEntityListing.html.md +22 -0
  539. data/doc_out/ResponseText.html.md +14 -0
  540. data/doc_out/RestErrorDetail.html.md +14 -0
  541. data/doc_out/RetentionDuration.html.md +14 -0
  542. data/doc_out/Ring.html.md +14 -0
  543. data/doc_out/RoutingApi.html.md +2388 -0
  544. data/doc_out/RoutingSkill.html.md +19 -0
  545. data/doc_out/RoutingStatus.html.md +15 -0
  546. data/doc_out/RuleSet.html.md +21 -0
  547. data/doc_out/RuleSetEntityListing.html.md +22 -0
  548. data/doc_out/RunNowResponse.html.md +15 -0
  549. data/doc_out/Salesforce.html.md +18 -0
  550. data/doc_out/Schedule.html.md +28 -0
  551. data/doc_out/ScheduleEntityListing.html.md +22 -0
  552. data/doc_out/ScheduleGroup.html.md +27 -0
  553. data/doc_out/ScheduleGroupEntityListing.html.md +22 -0
  554. data/doc_out/SchemaCategory.html.md +15 -0
  555. data/doc_out/SchemaCategoryEntityListing.html.md +22 -0
  556. data/doc_out/SchemaReferenceEntityListing.html.md +22 -0
  557. data/doc_out/Script.html.md +25 -0
  558. data/doc_out/ScriptEntityListing.html.md +22 -0
  559. data/doc_out/SearchAggregation.html.md +15 -0
  560. data/doc_out/SearchApi.html.md +366 -0
  561. data/doc_out/SearchCriteria.html.md +20 -0
  562. data/doc_out/SearchRequest.html.md +21 -0
  563. data/doc_out/SecurityProfile.html.md +16 -0
  564. data/doc_out/SecurityProfileEntityListing.html.md +22 -0
  565. data/doc_out/Segment.html.md +17 -0
  566. data/doc_out/SequenceSchedule.html.md +21 -0
  567. data/doc_out/ServerDate.html.md +13 -0
  568. data/doc_out/Service.html.md +22 -0
  569. data/doc_out/ServiceContext.html.md +13 -0
  570. data/doc_out/ServiceEntityListing.html.md +22 -0
  571. data/doc_out/ServiceLevel.html.md +14 -0
  572. data/doc_out/ServiceType.html.md +19 -0
  573. data/doc_out/Share.html.md +22 -0
  574. data/doc_out/ShareEntityListing.html.md +22 -0
  575. data/doc_out/SharedEntity.html.md +13 -0
  576. data/doc_out/SharedResponse.html.md +17 -0
  577. data/doc_out/SheetSchema.html.md +18 -0
  578. data/doc_out/SheetTransform.html.md +15 -0
  579. data/doc_out/SignatureDocumentInfo.html.md +15 -0
  580. data/doc_out/Site.html.md +33 -0
  581. data/doc_out/SiteEntityListing.html.md +22 -0
  582. data/doc_out/SkillEntityListing.html.md +22 -0
  583. data/doc_out/SkillsToRemove.html.md +15 -0
  584. data/doc_out/Snapshot.html.md +15 -0
  585. data/doc_out/SocialAccount.html.md +24 -0
  586. data/doc_out/SocialConversation.html.md +17 -0
  587. data/doc_out/SocialConversationEntityListing.html.md +22 -0
  588. data/doc_out/SocialExpression.html.md +25 -0
  589. data/doc_out/SocialMediaParticipant.html.md +37 -0
  590. data/doc_out/SocializeEntityFilter.html.md +15 -0
  591. data/doc_out/SocializeFilterRequest.html.md +17 -0
  592. data/doc_out/SortBy.html.md +14 -0
  593. data/doc_out/SortField.html.md +14 -0
  594. data/doc_out/SortItem.html.md +14 -0
  595. data/doc_out/SpreadsheetTransform.html.md +21 -0
  596. data/doc_out/SpreadsheetTransformEntityListing.html.md +22 -0
  597. data/doc_out/Station.html.md +21 -0
  598. data/doc_out/StationEntityListing.html.md +22 -0
  599. data/doc_out/StationsApi.html.md +190 -0
  600. data/doc_out/StatisticalResponse.html.md +14 -0
  601. data/doc_out/StatisticalSummary.html.md +21 -0
  602. data/doc_out/SubDataItem.html.md +17 -0
  603. data/doc_out/SubscriberResponse.html.md +14 -0
  604. data/doc_out/Support.html.md +15 -0
  605. data/doc_out/SystemPrompt.html.md +17 -0
  606. data/doc_out/SystemPromptAsset.html.md +25 -0
  607. data/doc_out/SystemPromptAssetEntityListing.html.md +22 -0
  608. data/doc_out/SystemPromptEntityListing.html.md +22 -0
  609. data/doc_out/TableTransform.html.md +18 -0
  610. data/doc_out/TagModel.html.md +14 -0
  611. data/doc_out/TagQueryRequest.html.md +15 -0
  612. data/doc_out/TagValue.html.md +17 -0
  613. data/doc_out/TagValueEntityListing.html.md +22 -0
  614. data/doc_out/TelephonyProvidersEdgeApi.html.md +6283 -0
  615. data/doc_out/TemplateEntityListing.html.md +22 -0
  616. data/doc_out/TermAttribute.html.md +15 -0
  617. data/doc_out/TextTableTransform.html.md +21 -0
  618. data/doc_out/TextTableTransformEntityListing.html.md +22 -0
  619. data/doc_out/ThirdPartyAccount.html.md +19 -0
  620. data/doc_out/ThirdPartySubscription.html.md +18 -0
  621. data/doc_out/Ticker.html.md +14 -0
  622. data/doc_out/Tier.html.md +14 -0
  623. data/doc_out/TimeAllowed.html.md +15 -0
  624. data/doc_out/TimeInterval.html.md +14 -0
  625. data/doc_out/TimeSlot.html.md +15 -0
  626. data/doc_out/TimeZone.html.md +16 -0
  627. data/doc_out/TimeZoneEntityListing.html.md +22 -0
  628. data/doc_out/TokensApi.html.md +63 -0
  629. data/doc_out/Trace.html.md +19 -0
  630. data/doc_out/TraceList.html.md +14 -0
  631. data/doc_out/TransferRequest.html.md +17 -0
  632. data/doc_out/TransformEndpoint.html.md +24 -0
  633. data/doc_out/TransformLens.html.md +14 -0
  634. data/doc_out/TrunkBase.html.md +28 -0
  635. data/doc_out/TrunkBaseAssignment.html.md +14 -0
  636. data/doc_out/TrunkMetabaseEntityListing.html.md +22 -0
  637. data/doc_out/TwitterExpression.html.md +36 -0
  638. data/doc_out/TwitterExpressionBuffer.html.md +13 -0
  639. data/doc_out/UnpivotColumns.html.md +13 -0
  640. data/doc_out/UnreadMetric.html.md +13 -0
  641. data/doc_out/UnreadStatus.html.md +13 -0
  642. data/doc_out/UploadProgress.html.md +19 -0
  643. data/doc_out/UriReference.html.md +15 -0
  644. data/doc_out/UrlResponse.html.md +13 -0
  645. data/doc_out/User.html.md +32 -0
  646. data/doc_out/UserActionCategory.html.md +15 -0
  647. data/doc_out/UserActionCategoryEntityListing.html.md +22 -0
  648. data/doc_out/UserActionMetadata.html.md +22 -0
  649. data/doc_out/UserActionMetadataEntityListing.html.md +20 -0
  650. data/doc_out/UserActionMetadataRequest.html.md +18 -0
  651. data/doc_out/UserAuthorization.html.md +15 -0
  652. data/doc_out/UserConversationSummary.html.md +19 -0
  653. data/doc_out/UserEntityListing.html.md +22 -0
  654. data/doc_out/UserImage.html.md +14 -0
  655. data/doc_out/UserLicenseAssignment.html.md +17 -0
  656. data/doc_out/UserMe.html.md +33 -0
  657. data/doc_out/UserParam.html.md +14 -0
  658. data/doc_out/UserPresence.html.md +19 -0
  659. data/doc_out/UserQueue.html.md +33 -0
  660. data/doc_out/UserQueueEntityListing.html.md +22 -0
  661. data/doc_out/UserRecording.html.md +25 -0
  662. data/doc_out/UserRecordingEntityListing.html.md +22 -0
  663. data/doc_out/UserRecordingsApi.html.md +366 -0
  664. data/doc_out/UserRoutingSkill.html.md +18 -0
  665. data/doc_out/UserSkillEntityListing.html.md +22 -0
  666. data/doc_out/UserStation.html.md +16 -0
  667. data/doc_out/UserStations.html.md +16 -0
  668. data/doc_out/UsersApi.html.md +2104 -0
  669. data/doc_out/UsersEntityListing.html.md +22 -0
  670. data/doc_out/UsersSearchResponse.html.md +21 -0
  671. data/doc_out/UtilitiesApi.html.md +181 -0
  672. data/doc_out/Utilization.html.md +13 -0
  673. data/doc_out/ValidateAddressRequest.html.md +13 -0
  674. data/doc_out/ValidateAddressResponse.html.md +14 -0
  675. data/doc_out/Value.html.md +19 -0
  676. data/doc_out/VendorConnectionRequest.html.md +15 -0
  677. data/doc_out/Video.html.md +22 -0
  678. data/doc_out/VideoConversation.html.md +17 -0
  679. data/doc_out/VideoConversationEntityListing.html.md +22 -0
  680. data/doc_out/VideoMediaParticipant.html.md +38 -0
  681. data/doc_out/View.html.md +13 -0
  682. data/doc_out/VoiceRate.html.md +22 -0
  683. data/doc_out/VoiceRateExtended.html.md +31 -0
  684. data/doc_out/VoiceRateInternational.html.md +24 -0
  685. data/doc_out/VoiceRateInternationalEntityListing.html.md +22 -0
  686. data/doc_out/VoiceRateUpdate.html.md +25 -0
  687. data/doc_out/VoiceRatesCsv.html.md +16 -0
  688. data/doc_out/VoiceXmlOperation.html.md +24 -0
  689. data/doc_out/VoiceXmlOperationEntityListing.html.md +22 -0
  690. data/doc_out/VoicemailApi.html.md +627 -0
  691. data/doc_out/VoicemailMailboxInfo.html.md +18 -0
  692. data/doc_out/VoicemailMediaInfo.html.md +15 -0
  693. data/doc_out/VoicemailMessage.html.md +23 -0
  694. data/doc_out/VoicemailMessageEntityListing.html.md +22 -0
  695. data/doc_out/VoicemailOrganizationPolicy.html.md +27 -0
  696. data/doc_out/VoicemailUserPolicy.html.md +23 -0
  697. data/doc_out/Vpn.html.md +15 -0
  698. data/doc_out/WorkItem.html.md +15 -0
  699. data/doc_out/WorkItemActions.html.md +13 -0
  700. data/doc_out/WorkItemCache.html.md +17 -0
  701. data/doc_out/WorkItemCommand.html.md +14 -0
  702. data/doc_out/WorkItemCommandGroup.html.md +15 -0
  703. data/doc_out/WorkItemDefinition.html.md +16 -0
  704. data/doc_out/WorkItemDetails.html.md +32 -0
  705. data/doc_out/WorkItemSearchDetails.html.md +13 -0
  706. data/doc_out/WorkItemSearchDetailsSearchResult.html.md +14 -0
  707. data/doc_out/WorkItemSubmitRequest.html.md +14 -0
  708. data/doc_out/WorkItemTransferRequest.html.md +14 -0
  709. data/doc_out/Workspace.html.md +23 -0
  710. data/doc_out/WorkspaceCreate.html.md +14 -0
  711. data/doc_out/WorkspaceEntityListing.html.md +22 -0
  712. data/doc_out/WorkspaceMember.html.md +21 -0
  713. data/doc_out/WorkspaceMemberEntityListing.html.md +22 -0
  714. data/doc_out/WorkspaceSummary.html.md +13 -0
  715. data/doc_out/WrapUpCodeMapping.html.md +20 -0
  716. data/doc_out/Wrapup.html.md +19 -0
  717. data/doc_out/WrapupCode.html.md +19 -0
  718. data/doc_out/WrapupCodeEntityListing.html.md +22 -0
  719. data/doc_out/XlsxSchema.html.md +15 -0
  720. data/doc_out/index.html.md +56 -0
  721. data/external/swagger-codegen-cli.jar +0 -0
  722. data/git_push.sh +52 -0
  723. data/lib/purecloud.rb +679 -664
  724. data/lib/purecloud/api/alerting_api.rb +157 -155
  725. data/lib/purecloud/api/analytics_api.rb +384 -393
  726. data/lib/purecloud/api/attributes_api.rb +115 -109
  727. data/lib/purecloud/api/authorization_api.rb +322 -327
  728. data/lib/purecloud/api/configuration_api.rb +46 -38
  729. data/lib/purecloud/api/content_management_api.rb +739 -763
  730. data/lib/purecloud/api/conversations_api.rb +1082 -1126
  731. data/lib/purecloud/api/external_contacts_api.rb +522 -536
  732. data/lib/purecloud/api/fax_api.rb +110 -104
  733. data/lib/purecloud/api/geolocation_api.rb +61 -53
  734. data/lib/purecloud/api/greetings_api.rb +216 -216
  735. data/lib/purecloud/api/groups_api.rb +121 -114
  736. data/lib/purecloud/api/languages_api.rb +99 -92
  737. data/lib/purecloud/api/locations_api.rb +59 -49
  738. data/lib/purecloud/api/notifications_api.rb +97 -92
  739. data/lib/purecloud/api/o_auth_api.rb +330 -340
  740. data/lib/purecloud/api/organization_api.rb +53 -44
  741. data/lib/purecloud/api/outbound_api.rb +1259 -1310
  742. data/lib/purecloud/api/presence_api.rb +152 -147
  743. data/lib/purecloud/api/quality_api.rb +624 -636
  744. data/lib/purecloud/api/recording_api.rb +396 -404
  745. data/lib/purecloud/api/response_management_api.rb +200 -199
  746. data/lib/purecloud/api/routing_api.rb +721 -749
  747. data/lib/purecloud/api/search_api.rb +74 -68
  748. data/lib/purecloud/api/stations_api.rb +59 -50
  749. data/lib/purecloud/api/telephony_providers_edge_api.rb +1921 -2014
  750. data/lib/purecloud/api/tokens_api.rb +18 -7
  751. data/lib/purecloud/api/user_recordings_api.rb +129 -123
  752. data/lib/purecloud/api/users_api.rb +618 -641
  753. data/lib/purecloud/api/utilities_api.rb +62 -53
  754. data/lib/purecloud/api/voicemail_api.rb +186 -185
  755. data/lib/purecloud/api_client.rb +48 -14
  756. data/lib/purecloud/api_error.rb +16 -0
  757. data/lib/purecloud/models/account.rb +20 -1
  758. data/lib/purecloud/models/account_manager.rb +20 -1
  759. data/lib/purecloud/models/account_overview.rb +20 -1
  760. data/lib/purecloud/models/account_status.rb +20 -1
  761. data/lib/purecloud/models/actions.rb +20 -1
  762. data/lib/purecloud/models/acw_settings.rb +20 -1
  763. data/lib/purecloud/models/address.rb +20 -1
  764. data/lib/purecloud/models/address_listing.rb +20 -1
  765. data/lib/purecloud/models/agent.rb +20 -1
  766. data/lib/purecloud/models/agent_activity.rb +20 -1
  767. data/lib/purecloud/models/agent_activity_entity_listing.rb +20 -1
  768. data/lib/purecloud/models/agent_evaluator_activity.rb +20 -1
  769. data/lib/purecloud/models/aggregate_data_container.rb +20 -1
  770. data/lib/purecloud/models/aggregate_metric_data.rb +20 -1
  771. data/lib/purecloud/models/aggregate_query_response.rb +20 -1
  772. data/lib/purecloud/models/aggregation_query.rb +20 -1
  773. data/lib/purecloud/models/aggregation_range.rb +20 -1
  774. data/lib/purecloud/models/aggregation_result.rb +20 -1
  775. data/lib/purecloud/models/aggregation_result_entry.rb +20 -1
  776. data/lib/purecloud/models/analytics_conversation.rb +20 -1
  777. data/lib/purecloud/models/analytics_conversation_query_response.rb +20 -1
  778. data/lib/purecloud/models/analytics_conversation_segment.rb +20 -1
  779. data/lib/purecloud/models/analytics_evaluation.rb +20 -1
  780. data/lib/purecloud/models/analytics_participant.rb +20 -1
  781. data/lib/purecloud/models/analytics_property.rb +20 -1
  782. data/lib/purecloud/models/analytics_query_aggregation.rb +20 -1
  783. data/lib/purecloud/models/analytics_query_clause.rb +20 -1
  784. data/lib/purecloud/models/analytics_query_filter.rb +20 -1
  785. data/lib/purecloud/models/analytics_query_predicate.rb +20 -1
  786. data/lib/purecloud/models/analytics_session.rb +20 -1
  787. data/lib/purecloud/models/annotation.rb +20 -1
  788. data/lib/purecloud/models/app.rb +20 -1
  789. data/lib/purecloud/models/archive_retention.rb +20 -1
  790. data/lib/purecloud/models/associated_document.rb +20 -1
  791. data/lib/purecloud/models/attachment.rb +20 -1
  792. data/lib/purecloud/models/attribute.rb +20 -1
  793. data/lib/purecloud/models/attribute_entity_listing.rb +20 -1
  794. data/lib/purecloud/models/attribute_filter_item.rb +20 -1
  795. data/lib/purecloud/models/attribute_query_request.rb +20 -1
  796. data/lib/purecloud/models/audit_change.rb +20 -1
  797. data/lib/purecloud/models/audit_entity.rb +20 -1
  798. data/lib/purecloud/models/audit_entity_reference.rb +20 -1
  799. data/lib/purecloud/models/audit_facet.rb +20 -1
  800. data/lib/purecloud/models/audit_filter.rb +20 -1
  801. data/lib/purecloud/models/audit_message.rb +20 -1
  802. data/lib/purecloud/models/audit_search_result.rb +20 -1
  803. data/lib/purecloud/models/audit_user.rb +20 -1
  804. data/lib/purecloud/models/automate_queue.rb +21 -2
  805. data/lib/purecloud/models/automate_queue_member.rb +20 -1
  806. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +20 -1
  807. data/lib/purecloud/models/available_additional_service.rb +20 -1
  808. data/lib/purecloud/models/available_additional_service_listing.rb +20 -1
  809. data/lib/purecloud/models/available_topic.rb +21 -2
  810. data/lib/purecloud/models/available_topic_entity_listing.rb +20 -1
  811. data/lib/purecloud/models/backend_flow_available_actions.rb +20 -1
  812. data/lib/purecloud/models/basic_transform.rb +20 -1
  813. data/lib/purecloud/models/batch_command.rb +20 -1
  814. data/lib/purecloud/models/batch_item.rb +20 -1
  815. data/lib/purecloud/models/batch_item_body.rb +20 -1
  816. data/lib/purecloud/models/batch_reply.rb +20 -1
  817. data/lib/purecloud/models/batch_reply_item.rb +20 -1
  818. data/lib/purecloud/models/billing_address.rb +20 -1
  819. data/lib/purecloud/models/billing_period.rb +20 -1
  820. data/lib/purecloud/models/bullseye.rb +20 -1
  821. data/lib/purecloud/models/calibration.rb +20 -1
  822. data/lib/purecloud/models/calibration_assignment.rb +20 -1
  823. data/lib/purecloud/models/calibration_entity_listing.rb +20 -1
  824. data/lib/purecloud/models/call.rb +20 -1
  825. data/lib/purecloud/models/call_command.rb +20 -1
  826. data/lib/purecloud/models/call_conversation.rb +20 -1
  827. data/lib/purecloud/models/call_conversation_entity_listing.rb +20 -1
  828. data/lib/purecloud/models/call_forwarding.rb +20 -1
  829. data/lib/purecloud/models/call_media_participant.rb +20 -1
  830. data/lib/purecloud/models/call_record.rb +20 -1
  831. data/lib/purecloud/models/callable_contacts_diagnostic.rb +20 -1
  832. data/lib/purecloud/models/callable_time.rb +20 -1
  833. data/lib/purecloud/models/callable_time_set.rb +20 -1
  834. data/lib/purecloud/models/callable_time_set_entity_listing.rb +20 -1
  835. data/lib/purecloud/models/callback.rb +20 -1
  836. data/lib/purecloud/models/callback_conversation.rb +20 -1
  837. data/lib/purecloud/models/callback_conversation_entity_listing.rb +20 -1
  838. data/lib/purecloud/models/callback_media_participant.rb +20 -1
  839. data/lib/purecloud/models/campaign.rb +20 -1
  840. data/lib/purecloud/models/campaign_diagnostics.rb +20 -1
  841. data/lib/purecloud/models/campaign_entity_listing.rb +20 -1
  842. data/lib/purecloud/models/campaign_progress.rb +20 -1
  843. data/lib/purecloud/models/campaign_schedule.rb +21 -2
  844. data/lib/purecloud/models/campaign_schedule_intervals.rb +20 -1
  845. data/lib/purecloud/models/campaign_sequence.rb +20 -1
  846. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +20 -1
  847. data/lib/purecloud/models/campaign_stats.rb +20 -1
  848. data/lib/purecloud/models/campaign_time_slot.rb +20 -1
  849. data/lib/purecloud/models/carrier.rb +20 -1
  850. data/lib/purecloud/models/carrier_address.rb +20 -1
  851. data/lib/purecloud/models/carrier_entity_listing.rb +20 -1
  852. data/lib/purecloud/models/certificate.rb +20 -1
  853. data/lib/purecloud/models/certificate_authority_entity_listing.rb +20 -1
  854. data/lib/purecloud/models/certificate_details.rb +20 -1
  855. data/lib/purecloud/models/change.rb +20 -1
  856. data/lib/purecloud/models/channel.rb +20 -1
  857. data/lib/purecloud/models/channel_entity_listing.rb +20 -1
  858. data/lib/purecloud/models/channel_topic.rb +20 -1
  859. data/lib/purecloud/models/channel_topic_entity_listing.rb +20 -1
  860. data/lib/purecloud/models/charge.rb +20 -1
  861. data/lib/purecloud/models/chat.rb +20 -1
  862. data/lib/purecloud/models/chat_conversation.rb +20 -1
  863. data/lib/purecloud/models/chat_conversation_entity_listing.rb +20 -1
  864. data/lib/purecloud/models/chat_media_participant.rb +20 -1
  865. data/lib/purecloud/models/chat_message.rb +20 -1
  866. data/lib/purecloud/models/chat_message_user.rb +20 -1
  867. data/lib/purecloud/models/client_spreadsheet_transform.rb +20 -1
  868. data/lib/purecloud/models/client_text_table_transform.rb +20 -1
  869. data/lib/purecloud/models/column_collapse.rb +20 -1
  870. data/lib/purecloud/models/command_status.rb +20 -1
  871. data/lib/purecloud/models/command_status_entity_listing.rb +20 -1
  872. data/lib/purecloud/models/common_audit_request.rb +20 -1
  873. data/lib/purecloud/models/composer_template.rb +21 -2
  874. data/lib/purecloud/models/condition.rb +20 -1
  875. data/lib/purecloud/models/connect_rate.rb +20 -1
  876. data/lib/purecloud/models/consult_transfer.rb +20 -1
  877. data/lib/purecloud/models/consult_transfer_response.rb +20 -1
  878. data/lib/purecloud/models/consult_transfer_update.rb +20 -1
  879. data/lib/purecloud/models/consumed_resources_entity_listing.rb +20 -1
  880. data/lib/purecloud/models/consuming_resources_entity_listing.rb +20 -1
  881. data/lib/purecloud/models/contact.rb +20 -1
  882. data/lib/purecloud/models/contact_address.rb +20 -1
  883. data/lib/purecloud/models/contact_callback_request.rb +20 -1
  884. data/lib/purecloud/models/contact_list.rb +20 -1
  885. data/lib/purecloud/models/contact_list_entity_listing.rb +20 -1
  886. data/lib/purecloud/models/contact_listing.rb +20 -1
  887. data/lib/purecloud/models/contact_phone_number_column.rb +20 -1
  888. data/lib/purecloud/models/contact_sales.rb +20 -1
  889. data/lib/purecloud/models/contact_sales_response.rb +20 -1
  890. data/lib/purecloud/models/contact_sort.rb +20 -1
  891. data/lib/purecloud/models/content_attribute_filter_item.rb +20 -1
  892. data/lib/purecloud/models/content_facet_filter_item.rb +20 -1
  893. data/lib/purecloud/models/content_filter_item.rb +20 -1
  894. data/lib/purecloud/models/content_query_request.rb +20 -1
  895. data/lib/purecloud/models/content_sort_item.rb +20 -1
  896. data/lib/purecloud/models/contract.rb +20 -1
  897. data/lib/purecloud/models/contract_job.rb +20 -1
  898. data/lib/purecloud/models/control.rb +20 -1
  899. data/lib/purecloud/models/control_options.rb +20 -1
  900. data/lib/purecloud/models/conversation.rb +20 -1
  901. data/lib/purecloud/models/conversation_chat.rb +20 -1
  902. data/lib/purecloud/models/conversation_entity_listing.rb +20 -1
  903. data/lib/purecloud/models/conversation_query.rb +20 -1
  904. data/lib/purecloud/models/cover_sheet.rb +20 -1
  905. data/lib/purecloud/models/create_call_request.rb +20 -1
  906. data/lib/purecloud/models/create_call_response.rb +20 -1
  907. data/lib/purecloud/models/create_callback_command.rb +20 -1
  908. data/lib/purecloud/models/create_share_request.rb +20 -1
  909. data/lib/purecloud/models/create_share_request_member.rb +20 -1
  910. data/lib/purecloud/models/create_share_response.rb +20 -1
  911. data/lib/purecloud/models/create_template_from_script_request_data.rb +20 -1
  912. data/lib/purecloud/models/create_user.rb +20 -1
  913. data/lib/purecloud/models/csv_schema.rb +20 -1
  914. data/lib/purecloud/models/currency.rb +20 -1
  915. data/lib/purecloud/models/customer_account.rb +20 -1
  916. data/lib/purecloud/models/data_item.rb +20 -1
  917. data/lib/purecloud/models/data_value_info.rb +20 -1
  918. data/lib/purecloud/models/default_greeting_list.rb +20 -1
  919. data/lib/purecloud/models/delete_retention.rb +20 -1
  920. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +20 -1
  921. data/lib/purecloud/models/delta_document.rb +20 -1
  922. data/lib/purecloud/models/delta_request.rb +20 -1
  923. data/lib/purecloud/models/delta_response.rb +20 -1
  924. data/lib/purecloud/models/dependency.rb +20 -1
  925. data/lib/purecloud/models/dependency_object.rb +20 -1
  926. data/lib/purecloud/models/dependency_object_entity_listing.rb +20 -1
  927. data/lib/purecloud/models/dependency_status.rb +20 -1
  928. data/lib/purecloud/models/dependency_type.rb +20 -1
  929. data/lib/purecloud/models/dependency_type_entity_listing.rb +20 -1
  930. data/lib/purecloud/models/destination.rb +20 -1
  931. data/lib/purecloud/models/detail.rb +20 -1
  932. data/lib/purecloud/models/diagnostic_email.rb +20 -1
  933. data/lib/purecloud/models/dialer_action.rb +20 -1
  934. data/lib/purecloud/models/dialer_audit_request.rb +20 -1
  935. data/lib/purecloud/models/dialer_contact.rb +21 -2
  936. data/lib/purecloud/models/dialer_preview.rb +20 -1
  937. data/lib/purecloud/models/dialer_rule.rb +20 -1
  938. data/lib/purecloud/models/did.rb +20 -1
  939. data/lib/purecloud/models/did_entity_listing.rb +20 -1
  940. data/lib/purecloud/models/did_pool.rb +20 -1
  941. data/lib/purecloud/models/did_pool_entity_listing.rb +20 -1
  942. data/lib/purecloud/models/digit_length.rb +20 -1
  943. data/lib/purecloud/models/disconnect_reason.rb +20 -1
  944. data/lib/purecloud/models/discount.rb +20 -1
  945. data/lib/purecloud/models/dnc_list.rb +20 -1
  946. data/lib/purecloud/models/dnc_list_entity_listing.rb +20 -1
  947. data/lib/purecloud/models/dns.rb +20 -1
  948. data/lib/purecloud/models/document.rb +20 -1
  949. data/lib/purecloud/models/document_attribute.rb +20 -1
  950. data/lib/purecloud/models/document_audit.rb +20 -1
  951. data/lib/purecloud/models/document_audit_entity_listing.rb +20 -1
  952. data/lib/purecloud/models/document_entity_listing.rb +20 -1
  953. data/lib/purecloud/models/document_thumbnail.rb +20 -1
  954. data/lib/purecloud/models/document_update.rb +20 -1
  955. data/lib/purecloud/models/document_upload.rb +20 -1
  956. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +20 -1
  957. data/lib/purecloud/models/domain_capabilities.rb +20 -1
  958. data/lib/purecloud/models/domain_certificate_authority.rb +20 -1
  959. data/lib/purecloud/models/domain_edge_software_update_dto.rb +20 -1
  960. data/lib/purecloud/models/domain_edge_software_version_dto.rb +20 -1
  961. data/lib/purecloud/models/domain_entity.rb +20 -1
  962. data/lib/purecloud/models/domain_entity_listing.rb +20 -1
  963. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +20 -1
  964. data/lib/purecloud/models/domain_entity_listing_query_result.rb +20 -1
  965. data/lib/purecloud/models/domain_invoice_entity_listing.rb +20 -1
  966. data/lib/purecloud/models/domain_logical_interface.rb +20 -1
  967. data/lib/purecloud/models/domain_network_address.rb +20 -1
  968. data/lib/purecloud/models/domain_network_command_response.rb +20 -1
  969. data/lib/purecloud/models/domain_network_route.rb +20 -1
  970. data/lib/purecloud/models/domain_org_role_difference.rb +20 -1
  971. data/lib/purecloud/models/domain_organization_product.rb +20 -1
  972. data/lib/purecloud/models/domain_organization_role.rb +20 -1
  973. data/lib/purecloud/models/domain_permission.rb +20 -1
  974. data/lib/purecloud/models/domain_permission_collection.rb +20 -1
  975. data/lib/purecloud/models/domain_permission_policy.rb +20 -1
  976. data/lib/purecloud/models/domain_physical_capabilities.rb +20 -1
  977. data/lib/purecloud/models/domain_physical_interface.rb +20 -1
  978. data/lib/purecloud/models/domain_resource_condition_node.rb +20 -1
  979. data/lib/purecloud/models/domain_resource_condition_value.rb +20 -1
  980. data/lib/purecloud/models/domain_role.rb +20 -1
  981. data/lib/purecloud/models/domain_schema_reference.rb +20 -1
  982. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +20 -1
  983. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +20 -1
  984. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +20 -1
  985. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +20 -1
  986. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +20 -1
  987. data/lib/purecloud/models/download_response.rb +20 -1
  988. data/lib/purecloud/models/duration_condition.rb +20 -1
  989. data/lib/purecloud/models/edge.rb +20 -1
  990. data/lib/purecloud/models/edge_auto_update_config.rb +20 -1
  991. data/lib/purecloud/models/edge_entity_listing.rb +20 -1
  992. data/lib/purecloud/models/edge_group.rb +20 -1
  993. data/lib/purecloud/models/edge_group_entity_listing.rb +20 -1
  994. data/lib/purecloud/models/edge_interface.rb +20 -1
  995. data/lib/purecloud/models/edge_line.rb +21 -2
  996. data/lib/purecloud/models/edge_line_entity_listing.rb +20 -1
  997. data/lib/purecloud/models/edge_logs_job.rb +20 -1
  998. data/lib/purecloud/models/edge_logs_job_file.rb +20 -1
  999. data/lib/purecloud/models/edge_logs_job_request.rb +26 -7
  1000. data/lib/purecloud/models/edge_logs_job_response.rb +20 -1
  1001. data/lib/purecloud/models/edge_logs_job_upload_request.rb +20 -1
  1002. data/lib/purecloud/models/edge_version_information.rb +20 -1
  1003. data/lib/purecloud/models/edge_version_report.rb +20 -1
  1004. data/lib/purecloud/models/email.rb +20 -1
  1005. data/lib/purecloud/models/email_address.rb +20 -1
  1006. data/lib/purecloud/models/email_attachment.rb +20 -1
  1007. data/lib/purecloud/models/email_conversation.rb +20 -1
  1008. data/lib/purecloud/models/email_conversation_entity_listing.rb +20 -1
  1009. data/lib/purecloud/models/email_media_participant.rb +20 -1
  1010. data/lib/purecloud/models/email_message.rb +20 -1
  1011. data/lib/purecloud/models/email_message_listing.rb +20 -1
  1012. data/lib/purecloud/models/email_setup.rb +20 -1
  1013. data/lib/purecloud/models/embedded_signature_view.rb +20 -1
  1014. data/lib/purecloud/models/encryption_key.rb +20 -1
  1015. data/lib/purecloud/models/encryption_key_entity_listing.rb +20 -1
  1016. data/lib/purecloud/models/endpoint.rb +21 -2
  1017. data/lib/purecloud/models/endpoint_entity_listing.rb +20 -1
  1018. data/lib/purecloud/models/entity.rb +20 -1
  1019. data/lib/purecloud/models/entry.rb +20 -1
  1020. data/lib/purecloud/models/error_body.rb +20 -1
  1021. data/lib/purecloud/models/error_details.rb +20 -1
  1022. data/lib/purecloud/models/estimated_wait_time_predictions.rb +20 -1
  1023. data/lib/purecloud/models/evaluation.rb +20 -1
  1024. data/lib/purecloud/models/evaluation_assignment.rb +20 -1
  1025. data/lib/purecloud/models/evaluation_entity_listing.rb +20 -1
  1026. data/lib/purecloud/models/evaluation_form.rb +20 -1
  1027. data/lib/purecloud/models/evaluation_form_and_scoring_set.rb +20 -1
  1028. data/lib/purecloud/models/evaluation_form_entity_listing.rb +20 -1
  1029. data/lib/purecloud/models/evaluation_scoring_set.rb +20 -1
  1030. data/lib/purecloud/models/evaluator_activity.rb +20 -1
  1031. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +20 -1
  1032. data/lib/purecloud/models/expansion_criterium.rb +20 -1
  1033. data/lib/purecloud/models/expression_response.rb +20 -1
  1034. data/lib/purecloud/models/extension.rb +20 -1
  1035. data/lib/purecloud/models/extension_entity_listing.rb +20 -1
  1036. data/lib/purecloud/models/extension_pool.rb +20 -1
  1037. data/lib/purecloud/models/extension_pool_entity_listing.rb +20 -1
  1038. data/lib/purecloud/models/external_contact.rb +20 -1
  1039. data/lib/purecloud/models/external_organization.rb +20 -1
  1040. data/lib/purecloud/models/external_organization_listing.rb +20 -1
  1041. data/lib/purecloud/models/facet_entry.rb +20 -1
  1042. data/lib/purecloud/models/facet_info.rb +20 -1
  1043. data/lib/purecloud/models/facet_key_attribute.rb +20 -1
  1044. data/lib/purecloud/models/facet_request.rb +20 -1
  1045. data/lib/purecloud/models/facet_result.rb +20 -1
  1046. data/lib/purecloud/models/facet_result_item.rb +20 -1
  1047. data/lib/purecloud/models/facet_statistics.rb +20 -1
  1048. data/lib/purecloud/models/facet_term.rb +20 -1
  1049. data/lib/purecloud/models/failed_object.rb +20 -1
  1050. data/lib/purecloud/models/favorite_template_request_data.rb +20 -1
  1051. data/lib/purecloud/models/fax_document.rb +20 -1
  1052. data/lib/purecloud/models/fax_document_entity_listing.rb +20 -1
  1053. data/lib/purecloud/models/fax_send_request.rb +20 -1
  1054. data/lib/purecloud/models/fax_send_response.rb +20 -1
  1055. data/lib/purecloud/models/fax_summary.rb +20 -1
  1056. data/lib/purecloud/models/filter_item.rb +20 -1
  1057. data/lib/purecloud/models/flow.rb +20 -1
  1058. data/lib/purecloud/models/flow_body.rb +21 -2
  1059. data/lib/purecloud/models/flow_body_format.rb +20 -1
  1060. data/lib/purecloud/models/flow_config_id.rb +20 -1
  1061. data/lib/purecloud/models/flow_config_meta_data.rb +20 -1
  1062. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +20 -1
  1063. data/lib/purecloud/models/flow_details.rb +20 -1
  1064. data/lib/purecloud/models/flow_details_search_result.rb +20 -1
  1065. data/lib/purecloud/models/flow_entity_listing.rb +20 -1
  1066. data/lib/purecloud/models/flow_exec_id.rb +20 -1
  1067. data/lib/purecloud/models/flow_history_item.rb +20 -1
  1068. data/lib/purecloud/models/flow_history_result_item.rb +20 -1
  1069. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +20 -1
  1070. data/lib/purecloud/models/flow_input_data.rb +20 -1
  1071. data/lib/purecloud/models/flow_launch_request.rb +20 -1
  1072. data/lib/purecloud/models/flow_publish.rb +20 -1
  1073. data/lib/purecloud/models/flow_report_result_item.rb +20 -1
  1074. data/lib/purecloud/models/flow_search_request.rb +20 -1
  1075. data/lib/purecloud/models/flow_state.rb +20 -1
  1076. data/lib/purecloud/models/flow_terminate_request.rb +20 -1
  1077. data/lib/purecloud/models/flow_upload_response.rb +20 -1
  1078. data/lib/purecloud/models/flow_version.rb +20 -1
  1079. data/lib/purecloud/models/flow_version_config_meta_data.rb +20 -1
  1080. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +20 -1
  1081. data/lib/purecloud/models/flow_version_entity_listing.rb +20 -1
  1082. data/lib/purecloud/models/form.rb +20 -1
  1083. data/lib/purecloud/models/gateway.rb +20 -1
  1084. data/lib/purecloud/models/geolocation.rb +20 -1
  1085. data/lib/purecloud/models/geolocation_settings.rb +20 -1
  1086. data/lib/purecloud/models/gistener.rb +20 -1
  1087. data/lib/purecloud/models/greeting.rb +20 -1
  1088. data/lib/purecloud/models/greeting_audio_file.rb +20 -1
  1089. data/lib/purecloud/models/greeting_media_info.rb +20 -1
  1090. data/lib/purecloud/models/greeting_owner.rb +20 -1
  1091. data/lib/purecloud/models/group.rb +20 -1
  1092. data/lib/purecloud/models/group_entity_listing.rb +20 -1
  1093. data/lib/purecloud/models/group_tag.rb +20 -1
  1094. data/lib/purecloud/models/groups_search_response.rb +20 -1
  1095. data/lib/purecloud/models/hardware_rate.rb +20 -1
  1096. data/lib/purecloud/models/hardware_rate_listing.rb +20 -1
  1097. data/lib/purecloud/models/health_check_info.rb +20 -1
  1098. data/lib/purecloud/models/hipaa_config.rb +20 -1
  1099. data/lib/purecloud/models/import_status.rb +20 -1
  1100. data/lib/purecloud/models/inbound_domain.rb +20 -1
  1101. data/lib/purecloud/models/inbound_domain_entity_listing.rb +20 -1
  1102. data/lib/purecloud/models/inbound_route.rb +20 -1
  1103. data/lib/purecloud/models/inbound_route_entity_listing.rb +20 -1
  1104. data/lib/purecloud/models/indexed_transform.rb +20 -1
  1105. data/lib/purecloud/models/integration_type.rb +20 -1
  1106. data/lib/purecloud/models/integration_type_entity_listing.rb +20 -1
  1107. data/lib/purecloud/models/interaction_stats_alert.rb +20 -1
  1108. data/lib/purecloud/models/interaction_stats_alert_container.rb +20 -1
  1109. data/lib/purecloud/models/interaction_stats_rule.rb +20 -1
  1110. data/lib/purecloud/models/interaction_stats_rule_container.rb +20 -1
  1111. data/lib/purecloud/models/invoice.rb +20 -1
  1112. data/lib/purecloud/models/ivr.rb +20 -1
  1113. data/lib/purecloud/models/ivr_entity_listing.rb +20 -1
  1114. data/lib/purecloud/models/json_node.rb +20 -1
  1115. data/lib/purecloud/models/json_node_search_response.rb +20 -1
  1116. data/lib/purecloud/models/key_rotation_schedule.rb +20 -1
  1117. data/lib/purecloud/models/language.rb +20 -1
  1118. data/lib/purecloud/models/language_entity_listing.rb +20 -1
  1119. data/lib/purecloud/models/library.rb +20 -1
  1120. data/lib/purecloud/models/library_entity_listing.rb +20 -1
  1121. data/lib/purecloud/models/license.rb +20 -1
  1122. data/lib/purecloud/models/licenses_by_permission.rb +20 -1
  1123. data/lib/purecloud/models/line.rb +21 -2
  1124. data/lib/purecloud/models/line_base.rb +21 -2
  1125. data/lib/purecloud/models/line_base_entity_listing.rb +20 -1
  1126. data/lib/purecloud/models/line_entity_listing.rb +20 -1
  1127. data/lib/purecloud/models/line_status.rb +20 -1
  1128. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +20 -1
  1129. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +20 -1
  1130. data/lib/purecloud/models/location.rb +26 -7
  1131. data/lib/purecloud/models/location_address_fields.rb +20 -1
  1132. data/lib/purecloud/models/location_emergency_number.rb +20 -1
  1133. data/lib/purecloud/models/location_entity_listing.rb +20 -1
  1134. data/lib/purecloud/models/lock_info.rb +20 -1
  1135. data/lib/purecloud/models/logical_interface_entity_listing.rb +20 -1
  1136. data/lib/purecloud/models/management_unit.rb +20 -1
  1137. data/lib/purecloud/models/management_unit_timezone.rb +20 -1
  1138. data/lib/purecloud/models/max_participants.rb +20 -1
  1139. data/lib/purecloud/models/media_participant_request.rb +20 -1
  1140. data/lib/purecloud/models/media_policies.rb +20 -1
  1141. data/lib/purecloud/models/media_policy.rb +20 -1
  1142. data/lib/purecloud/models/media_result.rb +20 -1
  1143. data/lib/purecloud/models/media_setting.rb +20 -1
  1144. data/lib/purecloud/models/media_summary.rb +20 -1
  1145. data/lib/purecloud/models/media_summary_detail.rb +20 -1
  1146. data/lib/purecloud/models/member_entity.rb +20 -1
  1147. data/lib/purecloud/models/metabase.rb +20 -1
  1148. data/lib/purecloud/models/metered_evaluation_assignment.rb +20 -1
  1149. data/lib/purecloud/models/noc_support.rb +20 -1
  1150. data/lib/purecloud/models/note.rb +20 -1
  1151. data/lib/purecloud/models/note_listing.rb +20 -1
  1152. data/lib/purecloud/models/number.rb +20 -1
  1153. data/lib/purecloud/models/number_order_request.rb +20 -1
  1154. data/lib/purecloud/models/number_plan.rb +20 -1
  1155. data/lib/purecloud/models/numeric_range.rb +20 -1
  1156. data/lib/purecloud/models/o_auth_client.rb +20 -1
  1157. data/lib/purecloud/models/o_auth_client_entity_listing.rb +20 -1
  1158. data/lib/purecloud/models/o_auth_provider.rb +20 -1
  1159. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +20 -1
  1160. data/lib/purecloud/models/observation_data_container.rb +20 -1
  1161. data/lib/purecloud/models/observation_query.rb +20 -1
  1162. data/lib/purecloud/models/observation_query_response.rb +20 -1
  1163. data/lib/purecloud/models/okta.rb +20 -1
  1164. data/lib/purecloud/models/one_login.rb +20 -1
  1165. data/lib/purecloud/models/order.rb +20 -1
  1166. data/lib/purecloud/models/org_license_assignment.rb +20 -1
  1167. data/lib/purecloud/models/org_media_utilization.rb +20 -1
  1168. data/lib/purecloud/models/organization.rb +20 -1
  1169. data/lib/purecloud/models/organization_create.rb +20 -1
  1170. data/lib/purecloud/models/organization_presence.rb +20 -1
  1171. data/lib/purecloud/models/organization_presence_entity_listing.rb +20 -1
  1172. data/lib/purecloud/models/organization_product_entity_listing.rb +20 -1
  1173. data/lib/purecloud/models/organization_role_entity_listing.rb +20 -1
  1174. data/lib/purecloud/models/orphan_recording.rb +20 -1
  1175. data/lib/purecloud/models/orphan_recording_listing.rb +20 -1
  1176. data/lib/purecloud/models/out_of_office.rb +20 -1
  1177. data/lib/purecloud/models/outbound_route.rb +20 -1
  1178. data/lib/purecloud/models/outbound_route_entity_listing.rb +20 -1
  1179. data/lib/purecloud/models/page.rb +22 -3
  1180. data/lib/purecloud/models/paging_spec.rb +20 -1
  1181. data/lib/purecloud/models/parameter.rb +20 -1
  1182. data/lib/purecloud/models/parsed_certificate.rb +20 -1
  1183. data/lib/purecloud/models/participant.rb +20 -1
  1184. data/lib/purecloud/models/participant_attributes.rb +20 -1
  1185. data/lib/purecloud/models/payment_method.rb +20 -1
  1186. data/lib/purecloud/models/payment_method_listing.rb +20 -1
  1187. data/lib/purecloud/models/payment_token_provider.rb +20 -1
  1188. data/lib/purecloud/models/permission_collection_entity_listing.rb +20 -1
  1189. data/lib/purecloud/models/permissions.rb +20 -1
  1190. data/lib/purecloud/models/phone.rb +21 -2
  1191. data/lib/purecloud/models/phone_base.rb +21 -2
  1192. data/lib/purecloud/models/phone_base_entity_listing.rb +20 -1
  1193. data/lib/purecloud/models/phone_capabilities.rb +20 -1
  1194. data/lib/purecloud/models/phone_column.rb +20 -1
  1195. data/lib/purecloud/models/phone_entity_listing.rb +20 -1
  1196. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +20 -1
  1197. data/lib/purecloud/models/phone_number.rb +20 -1
  1198. data/lib/purecloud/models/phone_number_column.rb +20 -1
  1199. data/lib/purecloud/models/phone_number_status.rb +20 -1
  1200. data/lib/purecloud/models/phone_status.rb +20 -1
  1201. data/lib/purecloud/models/phones_reboot.rb +20 -1
  1202. data/lib/purecloud/models/physical_interface_entity_listing.rb +20 -1
  1203. data/lib/purecloud/models/pin_configuration.rb +20 -1
  1204. data/lib/purecloud/models/policy.rb +20 -1
  1205. data/lib/purecloud/models/policy_actions.rb +20 -1
  1206. data/lib/purecloud/models/policy_conditions.rb +20 -1
  1207. data/lib/purecloud/models/policy_entity_listing.rb +20 -1
  1208. data/lib/purecloud/models/policy_error_message.rb +20 -1
  1209. data/lib/purecloud/models/policy_errors.rb +20 -1
  1210. data/lib/purecloud/models/prediction_results.rb +20 -1
  1211. data/lib/purecloud/models/presence_query_response.rb +20 -1
  1212. data/lib/purecloud/models/product.rb +20 -1
  1213. data/lib/purecloud/models/prompt.rb +20 -1
  1214. data/lib/purecloud/models/prompt_asset.rb +20 -1
  1215. data/lib/purecloud/models/prompt_asset_entity_listing.rb +20 -1
  1216. data/lib/purecloud/models/prompt_entity_listing.rb +20 -1
  1217. data/lib/purecloud/models/property_index_request.rb +20 -1
  1218. data/lib/purecloud/models/provision_info.rb +20 -1
  1219. data/lib/purecloud/models/publication.rb +20 -1
  1220. data/lib/purecloud/models/publish_script_request_data.rb +20 -1
  1221. data/lib/purecloud/models/published_result.rb +20 -1
  1222. data/lib/purecloud/models/pure_cloud.rb +20 -1
  1223. data/lib/purecloud/models/quality_audit.rb +20 -1
  1224. data/lib/purecloud/models/quality_audit_page.rb +20 -1
  1225. data/lib/purecloud/models/query_facet_info.rb +20 -1
  1226. data/lib/purecloud/models/query_request.rb +20 -1
  1227. data/lib/purecloud/models/query_result.rb +20 -1
  1228. data/lib/purecloud/models/query_results.rb +20 -1
  1229. data/lib/purecloud/models/question_group.rb +20 -1
  1230. data/lib/purecloud/models/question_group_score.rb +20 -1
  1231. data/lib/purecloud/models/question_score.rb +20 -1
  1232. data/lib/purecloud/models/queue.rb +20 -1
  1233. data/lib/purecloud/models/queue_entity_listing.rb +20 -1
  1234. data/lib/purecloud/models/queue_member.rb +20 -1
  1235. data/lib/purecloud/models/queue_utilization_diagnostic.rb +20 -1
  1236. data/lib/purecloud/models/queues_entity_listing.rb +20 -1
  1237. data/lib/purecloud/models/quote.rb +20 -1
  1238. data/lib/purecloud/models/quote_charge.rb +20 -1
  1239. data/lib/purecloud/models/quote_listing.rb +20 -1
  1240. data/lib/purecloud/models/rate.rb +20 -1
  1241. data/lib/purecloud/models/reaction.rb +20 -1
  1242. data/lib/purecloud/models/recording.rb +26 -7
  1243. data/lib/purecloud/models/recording_email_message.rb +20 -1
  1244. data/lib/purecloud/models/recording_settings.rb +20 -1
  1245. data/lib/purecloud/models/relationship.rb +20 -1
  1246. data/lib/purecloud/models/relationship_listing.rb +20 -1
  1247. data/lib/purecloud/models/replace_request.rb +20 -1
  1248. data/lib/purecloud/models/replace_response.rb +20 -1
  1249. data/lib/purecloud/models/report_meta_data.rb +20 -1
  1250. data/lib/purecloud/models/report_meta_data_entity_listing.rb +20 -1
  1251. data/lib/purecloud/models/report_request.rb +20 -1
  1252. data/lib/purecloud/models/report_run_entry.rb +20 -1
  1253. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +20 -1
  1254. data/lib/purecloud/models/report_schedule.rb +21 -2
  1255. data/lib/purecloud/models/report_schedule_entity_listing.rb +20 -1
  1256. data/lib/purecloud/models/reservation.rb +20 -1
  1257. data/lib/purecloud/models/resource_condition_node.rb +20 -1
  1258. data/lib/purecloud/models/resource_condition_value.rb +20 -1
  1259. data/lib/purecloud/models/resource_permission_policy.rb +20 -1
  1260. data/lib/purecloud/models/response.rb +20 -1
  1261. data/lib/purecloud/models/response_entity_list.rb +20 -1
  1262. data/lib/purecloud/models/response_entity_listing.rb +20 -1
  1263. data/lib/purecloud/models/response_filter.rb +20 -1
  1264. data/lib/purecloud/models/response_query_request.rb +20 -1
  1265. data/lib/purecloud/models/response_query_results.rb +20 -1
  1266. data/lib/purecloud/models/response_set.rb +20 -1
  1267. data/lib/purecloud/models/response_set_entity_listing.rb +20 -1
  1268. data/lib/purecloud/models/response_text.rb +20 -1
  1269. data/lib/purecloud/models/rest_error_detail.rb +20 -1
  1270. data/lib/purecloud/models/retention_duration.rb +20 -1
  1271. data/lib/purecloud/models/ring.rb +20 -1
  1272. data/lib/purecloud/models/routing_skill.rb +20 -1
  1273. data/lib/purecloud/models/routing_status.rb +20 -1
  1274. data/lib/purecloud/models/rule_set.rb +20 -1
  1275. data/lib/purecloud/models/rule_set_entity_listing.rb +20 -1
  1276. data/lib/purecloud/models/run_now_response.rb +20 -1
  1277. data/lib/purecloud/models/salesforce.rb +20 -1
  1278. data/lib/purecloud/models/schedule.rb +20 -1
  1279. data/lib/purecloud/models/schedule_entity_listing.rb +20 -1
  1280. data/lib/purecloud/models/schedule_group.rb +20 -1
  1281. data/lib/purecloud/models/schedule_group_entity_listing.rb +20 -1
  1282. data/lib/purecloud/models/schema_category.rb +20 -1
  1283. data/lib/purecloud/models/schema_category_entity_listing.rb +20 -1
  1284. data/lib/purecloud/models/schema_reference_entity_listing.rb +20 -1
  1285. data/lib/purecloud/models/script.rb +20 -1
  1286. data/lib/purecloud/models/script_entity_listing.rb +20 -1
  1287. data/lib/purecloud/models/search_aggregation.rb +20 -1
  1288. data/lib/purecloud/models/search_criteria.rb +20 -1
  1289. data/lib/purecloud/models/search_request.rb +20 -1
  1290. data/lib/purecloud/models/security_profile.rb +20 -1
  1291. data/lib/purecloud/models/security_profile_entity_listing.rb +20 -1
  1292. data/lib/purecloud/models/segment.rb +20 -1
  1293. data/lib/purecloud/models/sequence_schedule.rb +21 -2
  1294. data/lib/purecloud/models/server_date.rb +20 -1
  1295. data/lib/purecloud/models/service.rb +20 -1
  1296. data/lib/purecloud/models/service_context.rb +20 -1
  1297. data/lib/purecloud/models/service_entity_listing.rb +20 -1
  1298. data/lib/purecloud/models/service_level.rb +20 -1
  1299. data/lib/purecloud/models/service_type.rb +20 -1
  1300. data/lib/purecloud/models/share.rb +20 -1
  1301. data/lib/purecloud/models/share_entity_listing.rb +20 -1
  1302. data/lib/purecloud/models/shared_entity.rb +20 -1
  1303. data/lib/purecloud/models/shared_response.rb +20 -1
  1304. data/lib/purecloud/models/sheet_schema.rb +20 -1
  1305. data/lib/purecloud/models/sheet_transform.rb +20 -1
  1306. data/lib/purecloud/models/signature_document_info.rb +20 -1
  1307. data/lib/purecloud/models/site.rb +20 -1
  1308. data/lib/purecloud/models/site_entity_listing.rb +20 -1
  1309. data/lib/purecloud/models/skill_entity_listing.rb +20 -1
  1310. data/lib/purecloud/models/skills_to_remove.rb +20 -1
  1311. data/lib/purecloud/models/snapshot.rb +20 -1
  1312. data/lib/purecloud/models/social_account.rb +20 -1
  1313. data/lib/purecloud/models/social_conversation.rb +20 -1
  1314. data/lib/purecloud/models/social_conversation_entity_listing.rb +20 -1
  1315. data/lib/purecloud/models/social_expression.rb +20 -1
  1316. data/lib/purecloud/models/social_media_participant.rb +20 -1
  1317. data/lib/purecloud/models/socialize_entity_filter.rb +20 -1
  1318. data/lib/purecloud/models/socialize_filter_request.rb +20 -1
  1319. data/lib/purecloud/models/sort_by.rb +20 -1
  1320. data/lib/purecloud/models/sort_field.rb +20 -1
  1321. data/lib/purecloud/models/sort_item.rb +20 -1
  1322. data/lib/purecloud/models/spreadsheet_transform.rb +20 -1
  1323. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +20 -1
  1324. data/lib/purecloud/models/station.rb +20 -1
  1325. data/lib/purecloud/models/station_entity_listing.rb +20 -1
  1326. data/lib/purecloud/models/statistical_response.rb +20 -1
  1327. data/lib/purecloud/models/statistical_summary.rb +20 -1
  1328. data/lib/purecloud/models/sub_data_item.rb +20 -1
  1329. data/lib/purecloud/models/subscriber_response.rb +20 -1
  1330. data/lib/purecloud/models/support.rb +20 -1
  1331. data/lib/purecloud/models/system_prompt.rb +20 -1
  1332. data/lib/purecloud/models/system_prompt_asset.rb +20 -1
  1333. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +20 -1
  1334. data/lib/purecloud/models/system_prompt_entity_listing.rb +20 -1
  1335. data/lib/purecloud/models/table_transform.rb +20 -1
  1336. data/lib/purecloud/models/tag_model.rb +20 -1
  1337. data/lib/purecloud/models/tag_query_request.rb +20 -1
  1338. data/lib/purecloud/models/tag_value.rb +20 -1
  1339. data/lib/purecloud/models/tag_value_entity_listing.rb +20 -1
  1340. data/lib/purecloud/models/template_entity_listing.rb +20 -1
  1341. data/lib/purecloud/models/term_attribute.rb +20 -1
  1342. data/lib/purecloud/models/text_table_transform.rb +20 -1
  1343. data/lib/purecloud/models/text_table_transform_entity_listing.rb +20 -1
  1344. data/lib/purecloud/models/third_party_account.rb +20 -1
  1345. data/lib/purecloud/models/third_party_subscription.rb +20 -1
  1346. data/lib/purecloud/models/ticker.rb +20 -1
  1347. data/lib/purecloud/models/tier.rb +20 -1
  1348. data/lib/purecloud/models/time_allowed.rb +20 -1
  1349. data/lib/purecloud/models/time_interval.rb +20 -1
  1350. data/lib/purecloud/models/time_slot.rb +20 -1
  1351. data/lib/purecloud/models/time_zone.rb +20 -1
  1352. data/lib/purecloud/models/time_zone_entity_listing.rb +20 -1
  1353. data/lib/purecloud/models/trace.rb +20 -1
  1354. data/lib/purecloud/models/trace_list.rb +20 -1
  1355. data/lib/purecloud/models/transfer_request.rb +20 -1
  1356. data/lib/purecloud/models/transform_endpoint.rb +20 -1
  1357. data/lib/purecloud/models/transform_lens.rb +20 -1
  1358. data/lib/purecloud/models/trunk_base.rb +21 -2
  1359. data/lib/purecloud/models/trunk_base_assignment.rb +20 -1
  1360. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +20 -1
  1361. data/lib/purecloud/models/twitter_expression.rb +20 -1
  1362. data/lib/purecloud/models/twitter_expression_buffer.rb +20 -1
  1363. data/lib/purecloud/models/unpivot_columns.rb +20 -1
  1364. data/lib/purecloud/models/unread_metric.rb +20 -1
  1365. data/lib/purecloud/models/unread_status.rb +20 -1
  1366. data/lib/purecloud/models/upload_progress.rb +20 -1
  1367. data/lib/purecloud/models/uri_reference.rb +20 -1
  1368. data/lib/purecloud/models/url_response.rb +20 -1
  1369. data/lib/purecloud/models/user.rb +20 -1
  1370. data/lib/purecloud/models/user_action_category.rb +20 -1
  1371. data/lib/purecloud/models/user_action_category_entity_listing.rb +20 -1
  1372. data/lib/purecloud/models/user_action_metadata.rb +20 -1
  1373. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +20 -1
  1374. data/lib/purecloud/models/user_action_metadata_request.rb +20 -1
  1375. data/lib/purecloud/models/user_authorization.rb +20 -1
  1376. data/lib/purecloud/models/user_conversation_summary.rb +20 -1
  1377. data/lib/purecloud/models/user_entity_listing.rb +20 -1
  1378. data/lib/purecloud/models/user_image.rb +20 -1
  1379. data/lib/purecloud/models/user_license_assignment.rb +20 -1
  1380. data/lib/purecloud/models/user_me.rb +21 -2
  1381. data/lib/purecloud/models/user_param.rb +20 -1
  1382. data/lib/purecloud/models/user_presence.rb +20 -1
  1383. data/lib/purecloud/models/user_queue.rb +20 -1
  1384. data/lib/purecloud/models/user_queue_entity_listing.rb +20 -1
  1385. data/lib/purecloud/models/user_recording.rb +20 -1
  1386. data/lib/purecloud/models/user_recording_entity_listing.rb +20 -1
  1387. data/lib/purecloud/models/user_routing_skill.rb +20 -1
  1388. data/lib/purecloud/models/user_skill_entity_listing.rb +20 -1
  1389. data/lib/purecloud/models/user_station.rb +20 -1
  1390. data/lib/purecloud/models/user_stations.rb +20 -1
  1391. data/lib/purecloud/models/users_entity_listing.rb +20 -1
  1392. data/lib/purecloud/models/users_search_response.rb +20 -1
  1393. data/lib/purecloud/models/utilization.rb +20 -1
  1394. data/lib/purecloud/models/validate_address_request.rb +20 -1
  1395. data/lib/purecloud/models/validate_address_response.rb +20 -1
  1396. data/lib/purecloud/models/value.rb +20 -1
  1397. data/lib/purecloud/models/vendor_connection_request.rb +20 -1
  1398. data/lib/purecloud/models/video.rb +20 -1
  1399. data/lib/purecloud/models/video_conversation.rb +20 -1
  1400. data/lib/purecloud/models/video_conversation_entity_listing.rb +20 -1
  1401. data/lib/purecloud/models/video_media_participant.rb +20 -1
  1402. data/lib/purecloud/models/view.rb +20 -1
  1403. data/lib/purecloud/models/voice_rate.rb +20 -1
  1404. data/lib/purecloud/models/voice_rate_extended.rb +20 -1
  1405. data/lib/purecloud/models/voice_rate_international.rb +20 -1
  1406. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +20 -1
  1407. data/lib/purecloud/models/voice_rate_update.rb +20 -1
  1408. data/lib/purecloud/models/voice_rates_csv.rb +20 -1
  1409. data/lib/purecloud/models/voice_xml_operation.rb +20 -1
  1410. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +20 -1
  1411. data/lib/purecloud/models/voicemail_mailbox_info.rb +20 -1
  1412. data/lib/purecloud/models/voicemail_media_info.rb +20 -1
  1413. data/lib/purecloud/models/voicemail_message.rb +20 -1
  1414. data/lib/purecloud/models/voicemail_message_entity_listing.rb +20 -1
  1415. data/lib/purecloud/models/voicemail_organization_policy.rb +20 -1
  1416. data/lib/purecloud/models/voicemail_user_policy.rb +20 -1
  1417. data/lib/purecloud/models/vpn.rb +20 -1
  1418. data/lib/purecloud/models/work_item.rb +20 -1
  1419. data/lib/purecloud/models/work_item_actions.rb +20 -1
  1420. data/lib/purecloud/models/work_item_cache.rb +20 -1
  1421. data/lib/purecloud/models/work_item_command.rb +20 -1
  1422. data/lib/purecloud/models/work_item_command_group.rb +20 -1
  1423. data/lib/purecloud/models/work_item_definition.rb +20 -1
  1424. data/lib/purecloud/models/work_item_details.rb +20 -1
  1425. data/lib/purecloud/models/work_item_search_details.rb +20 -1
  1426. data/lib/purecloud/models/work_item_search_details_search_result.rb +20 -1
  1427. data/lib/purecloud/models/work_item_submit_request.rb +20 -1
  1428. data/lib/purecloud/models/work_item_transfer_request.rb +20 -1
  1429. data/lib/purecloud/models/workspace.rb +20 -1
  1430. data/lib/purecloud/models/workspace_create.rb +20 -1
  1431. data/lib/purecloud/models/workspace_entity_listing.rb +20 -1
  1432. data/lib/purecloud/models/workspace_member.rb +20 -1
  1433. data/lib/purecloud/models/workspace_member_entity_listing.rb +20 -1
  1434. data/lib/purecloud/models/workspace_summary.rb +20 -1
  1435. data/lib/purecloud/models/wrap_up_code_mapping.rb +20 -1
  1436. data/lib/purecloud/models/wrapup.rb +20 -1
  1437. data/lib/purecloud/models/wrapup_code.rb +20 -1
  1438. data/lib/purecloud/models/wrapup_code_entity_listing.rb +20 -1
  1439. data/lib/purecloud/models/xlsx_schema.rb +20 -1
  1440. data/lib/purecloud/version.rb +17 -1
  1441. data/purecloud.gemspec +3 -4
  1442. data/rakefile +13 -23
  1443. data/spec/test.rb +109 -8
  1444. data/swagger_template/README.mustache +72 -0
  1445. data/swagger_template/api_client.mustache +36 -14
  1446. data/swagger_template/api_doc.mustache +80 -0
  1447. data/swagger_template/base_object.mustache +4 -1
  1448. data/swagger_template/gemspec.mustache +3 -4
  1449. data/swagger_template/gitignore.mustache +44 -0
  1450. data/swagger_template/model_doc.mustache +15 -0
  1451. data/version.json +1 -1
  1452. metadata +732 -34
  1453. data/doc/template/default/layout/html/layout.erb +0 -4
  1454. data/doc/template/default/method_details/html/source.erb +0 -0
  1455. data/doc/template/default/module/html/attribute_summary.erb +0 -8
  1456. data/doc/template/default/module/html/box_info.erb +0 -0
  1457. data/doc/template/default/module/html/children.erb +0 -0
  1458. data/lib/purecloud/models/line_properties.rb +0 -136
  1459. data/newVersion.md +0 -1
@@ -1,3 +1,19 @@
1
+ =begin
2
+ PureCloud API
3
+
4
+ PureCloud API
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: chuck.pulfer@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: http://www.inin.com
14
+
15
+ =end
16
+
1
17
  require "uri"
2
18
 
3
19
  module PureCloud
@@ -8,28 +24,36 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Query for conversation aggregates
27
+ # Cancel the transfer
12
28
  #
29
+ # @param call_id
30
+ # @param participant_id
13
31
  # @param [Hash] opts the optional parameters
14
- # @option opts [AggregationQuery] :body query
15
- # @return [AggregateQueryResponse]
16
- def post_conversations_aggregates_query(opts = {})
17
- data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
32
+ # @return [String]
33
+ def delete_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
34
+ data, status_code, headers = delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
18
35
  return data
19
36
  end
20
37
 
21
- # Query for conversation aggregates
38
+ # Cancel the transfer
22
39
  #
40
+ # @param call_id
41
+ # @param participant_id
23
42
  # @param [Hash] opts the optional parameters
24
- # @option opts [AggregationQuery] :body query
25
- # @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
26
- def post_conversations_aggregates_query_with_http_info(opts = {})
43
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
44
+ def delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
27
45
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_aggregates_query ..."
46
+ @api_client.config.logger.debug "Calling API: ConversationsApi#delete_calls_call_id_participants_participant_id_consult ..."
29
47
  end
30
48
 
49
+ # verify the required parameter 'call_id' is set
50
+ fail "Missing the required parameter 'call_id' when calling delete_calls_call_id_participants_participant_id_consult" if call_id.nil?
51
+
52
+ # verify the required parameter 'participant_id' is set
53
+ fail "Missing the required parameter 'participant_id' when calling delete_calls_call_id_participants_participant_id_consult" if participant_id.nil?
54
+
31
55
  # resource path
32
- path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
56
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
33
57
 
34
58
  # query parameters
35
59
  query_params = {}
@@ -49,45 +73,52 @@ module PureCloud
49
73
  form_params = {}
50
74
 
51
75
  # http body (model)
52
- post_body = @api_client.object_to_http_body(opts[:'body'])
76
+ post_body = nil
53
77
 
54
-
55
78
  auth_names = ['PureCloud Auth']
56
- data, status_code, headers = @api_client.call_api(:POST, path,
79
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
57
80
  :header_params => header_params,
58
81
  :query_params => query_params,
59
82
  :form_params => form_params,
60
83
  :body => post_body,
61
84
  :auth_names => auth_names,
62
- :return_type => 'AggregateQueryResponse')
85
+ :return_type => 'String')
63
86
  if @api_client.config.debugging
64
- @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: ConversationsApi#delete_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
65
88
  end
66
89
  return data, status_code, headers
67
90
  end
68
91
 
69
- # Query for conversation details
92
+ # Delete attachment from draft
70
93
  #
94
+ # @param email_id
95
+ # @param attachment_id
71
96
  # @param [Hash] opts the optional parameters
72
- # @option opts [ConversationQuery] :body query
73
- # @return [AnalyticsConversationQueryResponse]
74
- def post_conversations_details_query(opts = {})
75
- data, status_code, headers = post_conversations_details_query_with_http_info(opts)
97
+ # @return [String]
98
+ def delete_emails_email_id_messages_draft_attachments_attachment_id(email_id, attachment_id, opts = {})
99
+ data, status_code, headers = delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts)
76
100
  return data
77
101
  end
78
102
 
79
- # Query for conversation details
103
+ # Delete attachment from draft
80
104
  #
105
+ # @param email_id
106
+ # @param attachment_id
81
107
  # @param [Hash] opts the optional parameters
82
- # @option opts [ConversationQuery] :body query
83
- # @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
84
- def post_conversations_details_query_with_http_info(opts = {})
108
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
109
+ def delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts = {})
85
110
  if @api_client.config.debugging
86
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_details_query ..."
111
+ @api_client.config.logger.debug "Calling API: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id ..."
87
112
  end
88
113
 
114
+ # verify the required parameter 'email_id' is set
115
+ fail "Missing the required parameter 'email_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if email_id.nil?
116
+
117
+ # verify the required parameter 'attachment_id' is set
118
+ fail "Missing the required parameter 'attachment_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if attachment_id.nil?
119
+
89
120
  # resource path
90
- path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
121
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft/attachments/{attachmentId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'attachmentId' + '}', attachment_id.to_s)
91
122
 
92
123
  # query parameters
93
124
  query_params = {}
@@ -107,48 +138,42 @@ module PureCloud
107
138
  form_params = {}
108
139
 
109
140
  # http body (model)
110
- post_body = @api_client.object_to_http_body(opts[:'body'])
141
+ post_body = nil
111
142
 
112
-
113
143
  auth_names = ['PureCloud Auth']
114
- data, status_code, headers = @api_client.call_api(:POST, path,
144
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
115
145
  :header_params => header_params,
116
146
  :query_params => query_params,
117
147
  :form_params => form_params,
118
148
  :body => post_body,
119
149
  :auth_names => auth_names,
120
- :return_type => 'AnalyticsConversationQueryResponse')
150
+ :return_type => 'String')
121
151
  if @api_client.config.debugging
122
- @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_details_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
152
+ @api_client.config.logger.debug "API called: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
153
  end
124
154
  return data, status_code, headers
125
155
  end
126
156
 
127
- # Get a conversation by id
157
+ # Get callback conversations
128
158
  #
129
- # @param conversation_id conversationId
130
159
  # @param [Hash] opts the optional parameters
131
- # @return [AnalyticsConversation]
132
- def get_conversations_conversation_id_details(conversation_id, opts = {})
133
- data, status_code, headers = get_conversations_conversation_id_details_with_http_info(conversation_id, opts)
160
+ # @return [CallbackConversationEntityListing]
161
+ def get_callbacks(opts = {})
162
+ data, status_code, headers = get_callbacks_with_http_info(opts)
134
163
  return data
135
164
  end
136
165
 
137
- # Get a conversation by id
166
+ # Get callback conversations
138
167
  #
139
- # @param conversation_id conversationId
140
168
  # @param [Hash] opts the optional parameters
141
- # @return [Array<(AnalyticsConversation, Fixnum, Hash)>] AnalyticsConversation data, response status code and response headers
142
- def get_conversations_conversation_id_details_with_http_info(conversation_id, opts = {})
169
+ # @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
170
+ def get_callbacks_with_http_info(opts = {})
143
171
  if @api_client.config.debugging
144
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations_conversation_id_details ..."
172
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks ..."
145
173
  end
146
174
 
147
- # verify the required parameter 'conversation_id' is set
148
- fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_details" if conversation_id.nil?
149
-
150
175
  # resource path
151
- path = "/api/v2/analytics/conversations/{conversationId}/details".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
176
+ local_var_path = "/api/v2/conversations/callbacks".sub('{format}','json')
152
177
 
153
178
  # query parameters
154
179
  query_params = {}
@@ -170,48 +195,45 @@ module PureCloud
170
195
  # http body (model)
171
196
  post_body = nil
172
197
 
173
-
174
198
  auth_names = ['PureCloud Auth']
175
- data, status_code, headers = @api_client.call_api(:GET, path,
199
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
176
200
  :header_params => header_params,
177
201
  :query_params => query_params,
178
202
  :form_params => form_params,
179
203
  :body => post_body,
180
204
  :auth_names => auth_names,
181
- :return_type => 'AnalyticsConversation')
205
+ :return_type => 'CallbackConversationEntityListing')
182
206
  if @api_client.config.debugging
183
- @api_client.config.logger.debug "API called: ConversationsApi#get_conversations_conversation_id_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
207
+ @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
184
208
  end
185
209
  return data, status_code, headers
186
210
  end
187
211
 
188
- # Index conversation properties
212
+ # Get callback conversation
189
213
  #
190
- # @param conversation_id conversationId
214
+ # @param callback_id
191
215
  # @param [Hash] opts the optional parameters
192
- # @option opts [PropertyIndexRequest] :body request
193
- # @return [PropertyIndexRequest]
194
- def post_conversations_conversation_id_details_properties(conversation_id, opts = {})
195
- data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
216
+ # @return [CallbackConversation]
217
+ def get_callbacks_callback_id(callback_id, opts = {})
218
+ data, status_code, headers = get_callbacks_callback_id_with_http_info(callback_id, opts)
196
219
  return data
197
220
  end
198
221
 
199
- # Index conversation properties
222
+ # Get callback conversation
200
223
  #
201
- # @param conversation_id conversationId
224
+ # @param callback_id
202
225
  # @param [Hash] opts the optional parameters
203
- # @option opts [PropertyIndexRequest] :body request
204
- # @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
205
- def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
226
+ # @return [Array<(CallbackConversation, Fixnum, Hash)>] CallbackConversation data, response status code and response headers
227
+ def get_callbacks_callback_id_with_http_info(callback_id, opts = {})
206
228
  if @api_client.config.debugging
207
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_conversation_id_details_properties ..."
229
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id ..."
208
230
  end
209
231
 
210
- # verify the required parameter 'conversation_id' is set
211
- fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_details_properties" if conversation_id.nil?
232
+ # verify the required parameter 'callback_id' is set
233
+ fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id" if callback_id.nil?
212
234
 
213
235
  # resource path
214
- path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
236
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s)
215
237
 
216
238
  # query parameters
217
239
  query_params = {}
@@ -231,49 +253,58 @@ module PureCloud
231
253
  form_params = {}
232
254
 
233
255
  # http body (model)
234
- post_body = @api_client.object_to_http_body(opts[:'body'])
256
+ post_body = nil
235
257
 
236
-
237
258
  auth_names = ['PureCloud Auth']
238
- data, status_code, headers = @api_client.call_api(:POST, path,
259
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
239
260
  :header_params => header_params,
240
261
  :query_params => query_params,
241
262
  :form_params => form_params,
242
263
  :body => post_body,
243
264
  :auth_names => auth_names,
244
- :return_type => 'PropertyIndexRequest')
265
+ :return_type => 'CallbackConversation')
245
266
  if @api_client.config.debugging
246
- @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_conversation_id_details_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
267
+ @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
247
268
  end
248
269
  return data, status_code, headers
249
270
  end
250
271
 
251
- # Get conversations
272
+ # Get the wrap-up for this conversation participant.
252
273
  #
274
+ # @param callback_id
275
+ # @param participant_id
253
276
  # @param [Hash] opts the optional parameters
254
- # @option opts [String] :communication_type Call or Chat communication filtering
255
- # @return [ConversationEntityListing]
256
- def get_conversations(opts = {})
257
- data, status_code, headers = get_conversations_with_http_info(opts)
277
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
278
+ # @return [WrapupCode]
279
+ def get_callbacks_callback_id_participants_participant_id_wrapup(callback_id, participant_id, opts = {})
280
+ data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts)
258
281
  return data
259
282
  end
260
283
 
261
- # Get conversations
284
+ # Get the wrap-up for this conversation participant.
262
285
  #
286
+ # @param callback_id
287
+ # @param participant_id
263
288
  # @param [Hash] opts the optional parameters
264
- # @option opts [String] :communication_type Call or Chat communication filtering
265
- # @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
266
- def get_conversations_with_http_info(opts = {})
289
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
290
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
291
+ def get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts = {})
267
292
  if @api_client.config.debugging
268
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations ..."
293
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup ..."
269
294
  end
270
295
 
296
+ # verify the required parameter 'callback_id' is set
297
+ fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if callback_id.nil?
298
+
299
+ # verify the required parameter 'participant_id' is set
300
+ fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if participant_id.nil?
301
+
271
302
  # resource path
272
- path = "/api/v2/conversations".sub('{format}','json')
303
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
273
304
 
274
305
  # query parameters
275
306
  query_params = {}
276
- query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
307
+ query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
277
308
 
278
309
  # header parameters
279
310
  header_params = {}
@@ -292,41 +323,50 @@ module PureCloud
292
323
  # http body (model)
293
324
  post_body = nil
294
325
 
295
-
296
326
  auth_names = ['PureCloud Auth']
297
- data, status_code, headers = @api_client.call_api(:GET, path,
327
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
298
328
  :header_params => header_params,
299
329
  :query_params => query_params,
300
330
  :form_params => form_params,
301
331
  :body => post_body,
302
332
  :auth_names => auth_names,
303
- :return_type => 'ConversationEntityListing')
333
+ :return_type => 'WrapupCode')
304
334
  if @api_client.config.debugging
305
- @api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
335
+ @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
306
336
  end
307
337
  return data, status_code, headers
308
338
  end
309
339
 
310
- # Get callback conversations
340
+ # Get list of wrapup codes for this conversation participant
311
341
  #
342
+ # @param callback_id
343
+ # @param participant_id
312
344
  # @param [Hash] opts the optional parameters
313
- # @return [CallbackConversationEntityListing]
314
- def get_callbacks(opts = {})
315
- data, status_code, headers = get_callbacks_with_http_info(opts)
345
+ # @return [WrapupCode]
346
+ def get_callbacks_callback_id_participants_participant_id_wrapupcodes(callback_id, participant_id, opts = {})
347
+ data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts)
316
348
  return data
317
349
  end
318
350
 
319
- # Get callback conversations
351
+ # Get list of wrapup codes for this conversation participant
320
352
  #
353
+ # @param callback_id
354
+ # @param participant_id
321
355
  # @param [Hash] opts the optional parameters
322
- # @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
323
- def get_callbacks_with_http_info(opts = {})
356
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
357
+ def get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts = {})
324
358
  if @api_client.config.debugging
325
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks ..."
359
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes ..."
326
360
  end
327
361
 
362
+ # verify the required parameter 'callback_id' is set
363
+ fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if callback_id.nil?
364
+
365
+ # verify the required parameter 'participant_id' is set
366
+ fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if participant_id.nil?
367
+
328
368
  # resource path
329
- path = "/api/v2/conversations/callbacks".sub('{format}','json')
369
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
330
370
 
331
371
  # query parameters
332
372
  query_params = {}
@@ -348,46 +388,40 @@ module PureCloud
348
388
  # http body (model)
349
389
  post_body = nil
350
390
 
351
-
352
391
  auth_names = ['PureCloud Auth']
353
- data, status_code, headers = @api_client.call_api(:GET, path,
392
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
354
393
  :header_params => header_params,
355
394
  :query_params => query_params,
356
395
  :form_params => form_params,
357
396
  :body => post_body,
358
397
  :auth_names => auth_names,
359
- :return_type => 'CallbackConversationEntityListing')
398
+ :return_type => 'WrapupCode')
360
399
  if @api_client.config.debugging
361
- @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
400
+ @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
362
401
  end
363
402
  return data, status_code, headers
364
403
  end
365
404
 
366
- # Get callback conversation
405
+ # Get recent conversations
367
406
  #
368
- # @param callback_id
369
407
  # @param [Hash] opts the optional parameters
370
- # @return [CallbackConversation]
371
- def get_callbacks_callback_id(callback_id, opts = {})
372
- data, status_code, headers = get_callbacks_callback_id_with_http_info(callback_id, opts)
408
+ # @return [CallConversationEntityListing]
409
+ def get_calls(opts = {})
410
+ data, status_code, headers = get_calls_with_http_info(opts)
373
411
  return data
374
412
  end
375
413
 
376
- # Get callback conversation
414
+ # Get recent conversations
377
415
  #
378
- # @param callback_id
379
416
  # @param [Hash] opts the optional parameters
380
- # @return [Array<(CallbackConversation, Fixnum, Hash)>] CallbackConversation data, response status code and response headers
381
- def get_callbacks_callback_id_with_http_info(callback_id, opts = {})
417
+ # @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
418
+ def get_calls_with_http_info(opts = {})
382
419
  if @api_client.config.debugging
383
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id ..."
420
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls ..."
384
421
  end
385
422
 
386
- # verify the required parameter 'callback_id' is set
387
- fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id" if callback_id.nil?
388
-
389
423
  # resource path
390
- path = "/api/v2/conversations/callbacks/{callbackId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s)
424
+ local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
391
425
 
392
426
  # query parameters
393
427
  query_params = {}
@@ -409,53 +443,45 @@ module PureCloud
409
443
  # http body (model)
410
444
  post_body = nil
411
445
 
412
-
413
446
  auth_names = ['PureCloud Auth']
414
- data, status_code, headers = @api_client.call_api(:GET, path,
447
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
415
448
  :header_params => header_params,
416
449
  :query_params => query_params,
417
450
  :form_params => form_params,
418
451
  :body => post_body,
419
452
  :auth_names => auth_names,
420
- :return_type => 'CallbackConversation')
453
+ :return_type => 'CallConversationEntityListing')
421
454
  if @api_client.config.debugging
422
- @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
455
+ @api_client.config.logger.debug "API called: ConversationsApi#get_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
423
456
  end
424
457
  return data, status_code, headers
425
458
  end
426
459
 
427
- # Update conversation participant
460
+ # Get call conversation
428
461
  #
429
- # @param callback_id
430
- # @param participant_id
462
+ # @param call_id
431
463
  # @param [Hash] opts the optional parameters
432
- # @option opts [MediaParticipantRequest] :body
433
- # @return [nil]
434
- def patch_callbacks_callback_id_participants_participant_id(callback_id, participant_id, opts = {})
435
- patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts)
436
- return nil
464
+ # @return [CallConversation]
465
+ def get_calls_call_id(call_id, opts = {})
466
+ data, status_code, headers = get_calls_call_id_with_http_info(call_id, opts)
467
+ return data
437
468
  end
438
469
 
439
- # Update conversation participant
470
+ # Get call conversation
440
471
  #
441
- # @param callback_id
442
- # @param participant_id
472
+ # @param call_id
443
473
  # @param [Hash] opts the optional parameters
444
- # @option opts [MediaParticipantRequest] :body
445
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
446
- def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts = {})
474
+ # @return [Array<(CallConversation, Fixnum, Hash)>] CallConversation data, response status code and response headers
475
+ def get_calls_call_id_with_http_info(call_id, opts = {})
447
476
  if @api_client.config.debugging
448
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id ..."
477
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id ..."
449
478
  end
450
479
 
451
- # verify the required parameter 'callback_id' is set
452
- fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id" if callback_id.nil?
453
-
454
- # verify the required parameter 'participant_id' is set
455
- fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id" if participant_id.nil?
480
+ # verify the required parameter 'call_id' is set
481
+ fail "Missing the required parameter 'call_id' when calling get_calls_call_id" if call_id.nil?
456
482
 
457
483
  # resource path
458
- path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
484
+ local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
459
485
 
460
486
  # query parameters
461
487
  query_params = {}
@@ -475,57 +501,58 @@ module PureCloud
475
501
  form_params = {}
476
502
 
477
503
  # http body (model)
478
- post_body = @api_client.object_to_http_body(opts[:'body'])
504
+ post_body = nil
479
505
 
480
-
481
506
  auth_names = ['PureCloud Auth']
482
- data, status_code, headers = @api_client.call_api(:PATCH, path,
507
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
483
508
  :header_params => header_params,
484
509
  :query_params => query_params,
485
510
  :form_params => form_params,
486
511
  :body => post_body,
487
- :auth_names => auth_names)
512
+ :auth_names => auth_names,
513
+ :return_type => 'CallConversation')
488
514
  if @api_client.config.debugging
489
- @api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
515
+ @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
490
516
  end
491
517
  return data, status_code, headers
492
518
  end
493
519
 
494
- # Update the attributes on a conversation participant.
520
+ # Get the wrap-up for this conversation participant.
495
521
  #
496
- # @param callback_id
522
+ # @param call_id
497
523
  # @param participant_id
498
524
  # @param [Hash] opts the optional parameters
499
- # @option opts [ParticipantAttributes] :body
500
- # @return [nil]
501
- def patch_callbacks_callback_id_participants_participant_id_attributes(callback_id, participant_id, opts = {})
502
- patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts)
503
- return nil
525
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
526
+ # @return [WrapupCode]
527
+ def get_calls_call_id_participants_participant_id_wrapup(call_id, participant_id, opts = {})
528
+ data, status_code, headers = get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts)
529
+ return data
504
530
  end
505
531
 
506
- # Update the attributes on a conversation participant.
532
+ # Get the wrap-up for this conversation participant.
507
533
  #
508
- # @param callback_id
534
+ # @param call_id
509
535
  # @param participant_id
510
536
  # @param [Hash] opts the optional parameters
511
- # @option opts [ParticipantAttributes] :body
512
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
513
- def patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts = {})
537
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
538
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
539
+ def get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts = {})
514
540
  if @api_client.config.debugging
515
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes ..."
541
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup ..."
516
542
  end
517
543
 
518
- # verify the required parameter 'callback_id' is set
519
- fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if callback_id.nil?
544
+ # verify the required parameter 'call_id' is set
545
+ fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapup" if call_id.nil?
520
546
 
521
547
  # verify the required parameter 'participant_id' is set
522
- fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if participant_id.nil?
548
+ fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapup" if participant_id.nil?
523
549
 
524
550
  # resource path
525
- path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
551
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
526
552
 
527
553
  # query parameters
528
554
  query_params = {}
555
+ query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
529
556
 
530
557
  # header parameters
531
558
  header_params = {}
@@ -542,54 +569,52 @@ module PureCloud
542
569
  form_params = {}
543
570
 
544
571
  # http body (model)
545
- post_body = @api_client.object_to_http_body(opts[:'body'])
572
+ post_body = nil
546
573
 
547
-
548
574
  auth_names = ['PureCloud Auth']
549
- data, status_code, headers = @api_client.call_api(:PATCH, path,
575
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
550
576
  :header_params => header_params,
551
577
  :query_params => query_params,
552
578
  :form_params => form_params,
553
579
  :body => post_body,
554
- :auth_names => auth_names)
580
+ :auth_names => auth_names,
581
+ :return_type => 'WrapupCode')
555
582
  if @api_client.config.debugging
556
- @api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
583
+ @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
557
584
  end
558
585
  return data, status_code, headers
559
586
  end
560
587
 
561
- # Replace this participant with the specified user and/or address
588
+ # Get list of wrapup codes for this conversation participant
562
589
  #
563
- # @param callback_id
590
+ # @param call_id
564
591
  # @param participant_id
565
592
  # @param [Hash] opts the optional parameters
566
- # @option opts [TransferRequest] :body
567
- # @return [nil]
568
- def post_callbacks_callback_id_participants_participant_id_replace(callback_id, participant_id, opts = {})
569
- post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts)
570
- return nil
593
+ # @return [WrapupCode]
594
+ def get_calls_call_id_participants_participant_id_wrapupcodes(call_id, participant_id, opts = {})
595
+ data, status_code, headers = get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts)
596
+ return data
571
597
  end
572
598
 
573
- # Replace this participant with the specified user and/or address
599
+ # Get list of wrapup codes for this conversation participant
574
600
  #
575
- # @param callback_id
601
+ # @param call_id
576
602
  # @param participant_id
577
603
  # @param [Hash] opts the optional parameters
578
- # @option opts [TransferRequest] :body
579
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
580
- def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts = {})
604
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
605
+ def get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts = {})
581
606
  if @api_client.config.debugging
582
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace ..."
607
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes ..."
583
608
  end
584
609
 
585
- # verify the required parameter 'callback_id' is set
586
- fail "Missing the required parameter 'callback_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if callback_id.nil?
610
+ # verify the required parameter 'call_id' is set
611
+ fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if call_id.nil?
587
612
 
588
613
  # verify the required parameter 'participant_id' is set
589
- fail "Missing the required parameter 'participant_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if participant_id.nil?
614
+ fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if participant_id.nil?
590
615
 
591
616
  # resource path
592
- path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
617
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
593
618
 
594
619
  # query parameters
595
620
  query_params = {}
@@ -609,58 +634,45 @@ module PureCloud
609
634
  form_params = {}
610
635
 
611
636
  # http body (model)
612
- post_body = @api_client.object_to_http_body(opts[:'body'])
637
+ post_body = nil
613
638
 
614
-
615
639
  auth_names = ['PureCloud Auth']
616
- data, status_code, headers = @api_client.call_api(:POST, path,
640
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
617
641
  :header_params => header_params,
618
642
  :query_params => query_params,
619
643
  :form_params => form_params,
620
644
  :body => post_body,
621
- :auth_names => auth_names)
645
+ :auth_names => auth_names,
646
+ :return_type => 'WrapupCode')
622
647
  if @api_client.config.debugging
623
- @api_client.config.logger.debug "API called: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
648
+ @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
624
649
  end
625
650
  return data, status_code, headers
626
651
  end
627
652
 
628
- # Get the wrap-up for this conversation participant.
653
+ # Get the maximum number of participants that this user can have on a conference
629
654
  #
630
- # @param callback_id
631
- # @param participant_id
632
655
  # @param [Hash] opts the optional parameters
633
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
634
- # @return [WrapupCode]
635
- def get_callbacks_callback_id_participants_participant_id_wrapup(callback_id, participant_id, opts = {})
636
- data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts)
656
+ # @return [MaxParticipants]
657
+ def get_calls_maximumconferenceparties(opts = {})
658
+ data, status_code, headers = get_calls_maximumconferenceparties_with_http_info(opts)
637
659
  return data
638
660
  end
639
661
 
640
- # Get the wrap-up for this conversation participant.
662
+ # Get the maximum number of participants that this user can have on a conference
641
663
  #
642
- # @param callback_id
643
- # @param participant_id
644
664
  # @param [Hash] opts the optional parameters
645
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
646
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
647
- def get_callbacks_callback_id_participants_participant_id_wrapup_with_http_info(callback_id, participant_id, opts = {})
665
+ # @return [Array<(MaxParticipants, Fixnum, Hash)>] MaxParticipants data, response status code and response headers
666
+ def get_calls_maximumconferenceparties_with_http_info(opts = {})
648
667
  if @api_client.config.debugging
649
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup ..."
668
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_maximumconferenceparties ..."
650
669
  end
651
670
 
652
- # verify the required parameter 'callback_id' is set
653
- fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if callback_id.nil?
654
-
655
- # verify the required parameter 'participant_id' is set
656
- fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapup" if participant_id.nil?
657
-
658
671
  # resource path
659
- path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
672
+ local_var_path = "/api/v2/conversations/calls/maximumconferenceparties".sub('{format}','json')
660
673
 
661
674
  # query parameters
662
675
  query_params = {}
663
- query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
664
676
 
665
677
  # header parameters
666
678
  header_params = {}
@@ -679,51 +691,40 @@ module PureCloud
679
691
  # http body (model)
680
692
  post_body = nil
681
693
 
682
-
683
694
  auth_names = ['PureCloud Auth']
684
- data, status_code, headers = @api_client.call_api(:GET, path,
695
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
685
696
  :header_params => header_params,
686
697
  :query_params => query_params,
687
698
  :form_params => form_params,
688
699
  :body => post_body,
689
700
  :auth_names => auth_names,
690
- :return_type => 'WrapupCode')
701
+ :return_type => 'MaxParticipants')
691
702
  if @api_client.config.debugging
692
- @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
703
+ @api_client.config.logger.debug "API called: ConversationsApi#get_calls_maximumconferenceparties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
693
704
  end
694
705
  return data, status_code, headers
695
706
  end
696
707
 
697
- # Get list of wrapup codes for this conversation participant
708
+ # Get recent chat conversations
698
709
  #
699
- # @param callback_id
700
- # @param participant_id
701
710
  # @param [Hash] opts the optional parameters
702
- # @return [WrapupCode]
703
- def get_callbacks_callback_id_participants_participant_id_wrapupcodes(callback_id, participant_id, opts = {})
704
- data, status_code, headers = get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts)
711
+ # @return [ChatConversationEntityListing]
712
+ def get_chats(opts = {})
713
+ data, status_code, headers = get_chats_with_http_info(opts)
705
714
  return data
706
715
  end
707
716
 
708
- # Get list of wrapup codes for this conversation participant
717
+ # Get recent chat conversations
709
718
  #
710
- # @param callback_id
711
- # @param participant_id
712
719
  # @param [Hash] opts the optional parameters
713
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
714
- def get_callbacks_callback_id_participants_participant_id_wrapupcodes_with_http_info(callback_id, participant_id, opts = {})
720
+ # @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
721
+ def get_chats_with_http_info(opts = {})
715
722
  if @api_client.config.debugging
716
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes ..."
723
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats ..."
717
724
  end
718
725
 
719
- # verify the required parameter 'callback_id' is set
720
- fail "Missing the required parameter 'callback_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if callback_id.nil?
721
-
722
- # verify the required parameter 'participant_id' is set
723
- fail "Missing the required parameter 'participant_id' when calling get_callbacks_callback_id_participants_participant_id_wrapupcodes" if participant_id.nil?
724
-
725
726
  # resource path
726
- path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
727
+ local_var_path = "/api/v2/conversations/chats".sub('{format}','json')
727
728
 
728
729
  # query parameters
729
730
  query_params = {}
@@ -745,41 +746,45 @@ module PureCloud
745
746
  # http body (model)
746
747
  post_body = nil
747
748
 
748
-
749
749
  auth_names = ['PureCloud Auth']
750
- data, status_code, headers = @api_client.call_api(:GET, path,
750
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
751
751
  :header_params => header_params,
752
752
  :query_params => query_params,
753
753
  :form_params => form_params,
754
754
  :body => post_body,
755
755
  :auth_names => auth_names,
756
- :return_type => 'WrapupCode')
756
+ :return_type => 'ChatConversationEntityListing')
757
757
  if @api_client.config.debugging
758
- @api_client.config.logger.debug "API called: ConversationsApi#get_callbacks_callback_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
758
+ @api_client.config.logger.debug "API called: ConversationsApi#get_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
759
759
  end
760
760
  return data, status_code, headers
761
761
  end
762
762
 
763
- # Get recent conversations
763
+ # Get chat conversation
764
764
  #
765
+ # @param chat_id
765
766
  # @param [Hash] opts the optional parameters
766
- # @return [CallConversationEntityListing]
767
- def get_calls(opts = {})
768
- data, status_code, headers = get_calls_with_http_info(opts)
767
+ # @return [ChatConversation]
768
+ def get_chats_chat_id(chat_id, opts = {})
769
+ data, status_code, headers = get_chats_chat_id_with_http_info(chat_id, opts)
769
770
  return data
770
771
  end
771
772
 
772
- # Get recent conversations
773
+ # Get chat conversation
773
774
  #
775
+ # @param chat_id
774
776
  # @param [Hash] opts the optional parameters
775
- # @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
776
- def get_calls_with_http_info(opts = {})
777
+ # @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
778
+ def get_chats_chat_id_with_http_info(chat_id, opts = {})
777
779
  if @api_client.config.debugging
778
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls ..."
780
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id ..."
779
781
  end
780
782
 
783
+ # verify the required parameter 'chat_id' is set
784
+ fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id" if chat_id.nil?
785
+
781
786
  # resource path
782
- path = "/api/v2/conversations/calls".sub('{format}','json')
787
+ local_var_path = "/api/v2/conversations/chats/{chatId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s)
783
788
 
784
789
  # query parameters
785
790
  query_params = {}
@@ -801,46 +806,56 @@ module PureCloud
801
806
  # http body (model)
802
807
  post_body = nil
803
808
 
804
-
805
809
  auth_names = ['PureCloud Auth']
806
- data, status_code, headers = @api_client.call_api(:GET, path,
810
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
807
811
  :header_params => header_params,
808
812
  :query_params => query_params,
809
813
  :form_params => form_params,
810
814
  :body => post_body,
811
815
  :auth_names => auth_names,
812
- :return_type => 'CallConversationEntityListing')
816
+ :return_type => 'ChatConversation')
813
817
  if @api_client.config.debugging
814
- @api_client.config.logger.debug "API called: ConversationsApi#get_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
818
+ @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
815
819
  end
816
820
  return data, status_code, headers
817
821
  end
818
822
 
819
- # Create a call conversation
823
+ # Get the wrap-up for this conversation participant.
820
824
  #
825
+ # @param chat_id
826
+ # @param participant_id
821
827
  # @param [Hash] opts the optional parameters
822
- # @option opts [CreateCallRequest] :body
823
- # @return [CreateCallResponse]
824
- def post_calls(opts = {})
825
- data, status_code, headers = post_calls_with_http_info(opts)
828
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
829
+ # @return [WrapupCode]
830
+ def get_chats_chat_id_participants_participant_id_wrapup(chat_id, participant_id, opts = {})
831
+ data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts)
826
832
  return data
827
833
  end
828
834
 
829
- # Create a call conversation
835
+ # Get the wrap-up for this conversation participant.
830
836
  #
837
+ # @param chat_id
838
+ # @param participant_id
831
839
  # @param [Hash] opts the optional parameters
832
- # @option opts [CreateCallRequest] :body
833
- # @return [Array<(CreateCallResponse, Fixnum, Hash)>] CreateCallResponse data, response status code and response headers
834
- def post_calls_with_http_info(opts = {})
840
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
841
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
842
+ def get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts = {})
835
843
  if @api_client.config.debugging
836
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls ..."
844
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup ..."
837
845
  end
838
846
 
847
+ # verify the required parameter 'chat_id' is set
848
+ fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if chat_id.nil?
849
+
850
+ # verify the required parameter 'participant_id' is set
851
+ fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if participant_id.nil?
852
+
839
853
  # resource path
840
- path = "/api/v2/conversations/calls".sub('{format}','json')
854
+ local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
841
855
 
842
856
  # query parameters
843
857
  query_params = {}
858
+ query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
844
859
 
845
860
  # header parameters
846
861
  header_params = {}
@@ -857,43 +872,52 @@ module PureCloud
857
872
  form_params = {}
858
873
 
859
874
  # http body (model)
860
- post_body = @api_client.object_to_http_body(opts[:'body'])
875
+ post_body = nil
861
876
 
862
-
863
877
  auth_names = ['PureCloud Auth']
864
- data, status_code, headers = @api_client.call_api(:POST, path,
878
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
865
879
  :header_params => header_params,
866
880
  :query_params => query_params,
867
881
  :form_params => form_params,
868
882
  :body => post_body,
869
883
  :auth_names => auth_names,
870
- :return_type => 'CreateCallResponse')
884
+ :return_type => 'WrapupCode')
871
885
  if @api_client.config.debugging
872
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
886
+ @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
873
887
  end
874
888
  return data, status_code, headers
875
889
  end
876
890
 
877
- # Get the maximum number of participants that this user can have on a conference
891
+ # Get list of wrapup codes for this conversation participant
878
892
  #
893
+ # @param chat_id
894
+ # @param participant_id
879
895
  # @param [Hash] opts the optional parameters
880
- # @return [MaxParticipants]
881
- def get_calls_maximumconferenceparties(opts = {})
882
- data, status_code, headers = get_calls_maximumconferenceparties_with_http_info(opts)
896
+ # @return [WrapupCode]
897
+ def get_chats_chat_id_participants_participant_id_wrapupcodes(chat_id, participant_id, opts = {})
898
+ data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts)
883
899
  return data
884
900
  end
885
901
 
886
- # Get the maximum number of participants that this user can have on a conference
902
+ # Get list of wrapup codes for this conversation participant
887
903
  #
904
+ # @param chat_id
905
+ # @param participant_id
888
906
  # @param [Hash] opts the optional parameters
889
- # @return [Array<(MaxParticipants, Fixnum, Hash)>] MaxParticipants data, response status code and response headers
890
- def get_calls_maximumconferenceparties_with_http_info(opts = {})
907
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
908
+ def get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts = {})
891
909
  if @api_client.config.debugging
892
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_maximumconferenceparties ..."
910
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes ..."
893
911
  end
894
912
 
913
+ # verify the required parameter 'chat_id' is set
914
+ fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if chat_id.nil?
915
+
916
+ # verify the required parameter 'participant_id' is set
917
+ fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if participant_id.nil?
918
+
895
919
  # resource path
896
- path = "/api/v2/conversations/calls/maximumconferenceparties".sub('{format}','json')
920
+ local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
897
921
 
898
922
  # query parameters
899
923
  query_params = {}
@@ -915,46 +939,45 @@ module PureCloud
915
939
  # http body (model)
916
940
  post_body = nil
917
941
 
918
-
919
942
  auth_names = ['PureCloud Auth']
920
- data, status_code, headers = @api_client.call_api(:GET, path,
943
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
921
944
  :header_params => header_params,
922
945
  :query_params => query_params,
923
946
  :form_params => form_params,
924
947
  :body => post_body,
925
948
  :auth_names => auth_names,
926
- :return_type => 'MaxParticipants')
949
+ :return_type => 'WrapupCode')
927
950
  if @api_client.config.debugging
928
- @api_client.config.logger.debug "API called: ConversationsApi#get_calls_maximumconferenceparties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
951
+ @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
929
952
  end
930
953
  return data, status_code, headers
931
954
  end
932
955
 
933
- # Get call conversation
956
+ # Get conversation
934
957
  #
935
- # @param call_id
958
+ # @param conversation_id conversation ID
936
959
  # @param [Hash] opts the optional parameters
937
- # @return [CallConversation]
938
- def get_calls_call_id(call_id, opts = {})
939
- data, status_code, headers = get_calls_call_id_with_http_info(call_id, opts)
960
+ # @return [Conversation]
961
+ def get_conversation_id(conversation_id, opts = {})
962
+ data, status_code, headers = get_conversation_id_with_http_info(conversation_id, opts)
940
963
  return data
941
964
  end
942
965
 
943
- # Get call conversation
966
+ # Get conversation
944
967
  #
945
- # @param call_id
968
+ # @param conversation_id conversation ID
946
969
  # @param [Hash] opts the optional parameters
947
- # @return [Array<(CallConversation, Fixnum, Hash)>] CallConversation data, response status code and response headers
948
- def get_calls_call_id_with_http_info(call_id, opts = {})
970
+ # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
971
+ def get_conversation_id_with_http_info(conversation_id, opts = {})
949
972
  if @api_client.config.debugging
950
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id ..."
973
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id ..."
951
974
  end
952
975
 
953
- # verify the required parameter 'call_id' is set
954
- fail "Missing the required parameter 'call_id' when calling get_calls_call_id" if call_id.nil?
976
+ # verify the required parameter 'conversation_id' is set
977
+ fail "Missing the required parameter 'conversation_id' when calling get_conversation_id" if conversation_id.nil?
955
978
 
956
979
  # resource path
957
- path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
980
+ local_var_path = "/api/v2/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
958
981
 
959
982
  # query parameters
960
983
  query_params = {}
@@ -976,51 +999,56 @@ module PureCloud
976
999
  # http body (model)
977
1000
  post_body = nil
978
1001
 
979
-
980
1002
  auth_names = ['PureCloud Auth']
981
- data, status_code, headers = @api_client.call_api(:GET, path,
1003
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
982
1004
  :header_params => header_params,
983
1005
  :query_params => query_params,
984
1006
  :form_params => form_params,
985
1007
  :body => post_body,
986
1008
  :auth_names => auth_names,
987
- :return_type => 'CallConversation')
1009
+ :return_type => 'Conversation')
988
1010
  if @api_client.config.debugging
989
- @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1011
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
990
1012
  end
991
1013
  return data, status_code, headers
992
1014
  end
993
1015
 
994
- # Add a new call to a conversation
1016
+ # Get the wrap-up for this conversation participant.
995
1017
  #
996
- # @param call_id
1018
+ # @param conversation_id conversation ID
1019
+ # @param participant_id participant ID
997
1020
  # @param [Hash] opts the optional parameters
998
- # @option opts [CallCommand] :body Conversation
999
- # @return [Conversation]
1000
- def post_calls_call_id(call_id, opts = {})
1001
- data, status_code, headers = post_calls_call_id_with_http_info(call_id, opts)
1021
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
1022
+ # @return [WrapupCode]
1023
+ def get_conversation_id_participants_participant_id_wrapup(conversation_id, participant_id, opts = {})
1024
+ data, status_code, headers = get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts)
1002
1025
  return data
1003
1026
  end
1004
1027
 
1005
- # Add a new call to a conversation
1028
+ # Get the wrap-up for this conversation participant.
1006
1029
  #
1007
- # @param call_id
1030
+ # @param conversation_id conversation ID
1031
+ # @param participant_id participant ID
1008
1032
  # @param [Hash] opts the optional parameters
1009
- # @option opts [CallCommand] :body Conversation
1010
- # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
1011
- def post_calls_call_id_with_http_info(call_id, opts = {})
1033
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
1034
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1035
+ def get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts = {})
1012
1036
  if @api_client.config.debugging
1013
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id ..."
1037
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapup ..."
1014
1038
  end
1015
1039
 
1016
- # verify the required parameter 'call_id' is set
1017
- fail "Missing the required parameter 'call_id' when calling post_calls_call_id" if call_id.nil?
1040
+ # verify the required parameter 'conversation_id' is set
1041
+ fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapup" if conversation_id.nil?
1042
+
1043
+ # verify the required parameter 'participant_id' is set
1044
+ fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapup" if participant_id.nil?
1018
1045
 
1019
1046
  # resource path
1020
- path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
1047
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1021
1048
 
1022
1049
  # query parameters
1023
1050
  query_params = {}
1051
+ query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
1024
1052
 
1025
1053
  # header parameters
1026
1054
  header_params = {}
@@ -1037,50 +1065,52 @@ module PureCloud
1037
1065
  form_params = {}
1038
1066
 
1039
1067
  # http body (model)
1040
- post_body = @api_client.object_to_http_body(opts[:'body'])
1068
+ post_body = nil
1041
1069
 
1042
-
1043
1070
  auth_names = ['PureCloud Auth']
1044
- data, status_code, headers = @api_client.call_api(:POST, path,
1071
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1045
1072
  :header_params => header_params,
1046
1073
  :query_params => query_params,
1047
1074
  :form_params => form_params,
1048
1075
  :body => post_body,
1049
1076
  :auth_names => auth_names,
1050
- :return_type => 'Conversation')
1077
+ :return_type => 'WrapupCode')
1051
1078
  if @api_client.config.debugging
1052
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1079
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1053
1080
  end
1054
1081
  return data, status_code, headers
1055
1082
  end
1056
1083
 
1057
- # Update conversation
1084
+ # Get list of wrapup codes for this conversation participant
1058
1085
  #
1059
- # @param call_id
1086
+ # @param conversation_id conversation ID
1087
+ # @param participant_id participant ID
1060
1088
  # @param [Hash] opts the optional parameters
1061
- # @option opts [Conversation] :body Conversation
1062
- # @return [Conversation]
1063
- def patch_calls_call_id(call_id, opts = {})
1064
- data, status_code, headers = patch_calls_call_id_with_http_info(call_id, opts)
1089
+ # @return [WrapupCode]
1090
+ def get_conversation_id_participants_participant_id_wrapupcodes(conversation_id, participant_id, opts = {})
1091
+ data, status_code, headers = get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
1065
1092
  return data
1066
1093
  end
1067
1094
 
1068
- # Update conversation
1095
+ # Get list of wrapup codes for this conversation participant
1069
1096
  #
1070
- # @param call_id
1097
+ # @param conversation_id conversation ID
1098
+ # @param participant_id participant ID
1071
1099
  # @param [Hash] opts the optional parameters
1072
- # @option opts [Conversation] :body Conversation
1073
- # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
1074
- def patch_calls_call_id_with_http_info(call_id, opts = {})
1100
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1101
+ def get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
1075
1102
  if @api_client.config.debugging
1076
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id ..."
1103
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes ..."
1077
1104
  end
1078
1105
 
1079
- # verify the required parameter 'call_id' is set
1080
- fail "Missing the required parameter 'call_id' when calling patch_calls_call_id" if call_id.nil?
1106
+ # verify the required parameter 'conversation_id' is set
1107
+ fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if conversation_id.nil?
1108
+
1109
+ # verify the required parameter 'participant_id' is set
1110
+ fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if participant_id.nil?
1081
1111
 
1082
1112
  # resource path
1083
- path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
1113
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1084
1114
 
1085
1115
  # query parameters
1086
1116
  query_params = {}
@@ -1100,53 +1130,48 @@ module PureCloud
1100
1130
  form_params = {}
1101
1131
 
1102
1132
  # http body (model)
1103
- post_body = @api_client.object_to_http_body(opts[:'body'])
1133
+ post_body = nil
1104
1134
 
1105
-
1106
1135
  auth_names = ['PureCloud Auth']
1107
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1136
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1108
1137
  :header_params => header_params,
1109
1138
  :query_params => query_params,
1110
1139
  :form_params => form_params,
1111
1140
  :body => post_body,
1112
1141
  :auth_names => auth_names,
1113
- :return_type => 'Conversation')
1142
+ :return_type => 'WrapupCode')
1114
1143
  if @api_client.config.debugging
1115
- @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1144
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1116
1145
  end
1117
1146
  return data, status_code, headers
1118
1147
  end
1119
1148
 
1120
- # Add participants to a conversation
1149
+ # Get conversations
1121
1150
  #
1122
- # @param call_id
1123
1151
  # @param [Hash] opts the optional parameters
1124
- # @option opts [Conversation] :body Conversation
1125
- # @return [Conversation]
1126
- def post_calls_call_id_participants(call_id, opts = {})
1127
- data, status_code, headers = post_calls_call_id_participants_with_http_info(call_id, opts)
1152
+ # @option opts [String] :communication_type Call or Chat communication filtering
1153
+ # @return [ConversationEntityListing]
1154
+ def get_conversations(opts = {})
1155
+ data, status_code, headers = get_conversations_with_http_info(opts)
1128
1156
  return data
1129
1157
  end
1130
1158
 
1131
- # Add participants to a conversation
1159
+ # Get conversations
1132
1160
  #
1133
- # @param call_id
1134
1161
  # @param [Hash] opts the optional parameters
1135
- # @option opts [Conversation] :body Conversation
1136
- # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
1137
- def post_calls_call_id_participants_with_http_info(call_id, opts = {})
1162
+ # @option opts [String] :communication_type Call or Chat communication filtering
1163
+ # @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
1164
+ def get_conversations_with_http_info(opts = {})
1138
1165
  if @api_client.config.debugging
1139
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants ..."
1166
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations ..."
1140
1167
  end
1141
1168
 
1142
- # verify the required parameter 'call_id' is set
1143
- fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants" if call_id.nil?
1144
-
1145
1169
  # resource path
1146
- path = "/api/v2/conversations/calls/{callId}/participants".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
1170
+ local_var_path = "/api/v2/conversations".sub('{format}','json')
1147
1171
 
1148
1172
  # query parameters
1149
1173
  query_params = {}
1174
+ query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
1150
1175
 
1151
1176
  # header parameters
1152
1177
  header_params = {}
@@ -1163,55 +1188,47 @@ module PureCloud
1163
1188
  form_params = {}
1164
1189
 
1165
1190
  # http body (model)
1166
- post_body = @api_client.object_to_http_body(opts[:'body'])
1191
+ post_body = nil
1167
1192
 
1168
-
1169
1193
  auth_names = ['PureCloud Auth']
1170
- data, status_code, headers = @api_client.call_api(:POST, path,
1194
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1171
1195
  :header_params => header_params,
1172
1196
  :query_params => query_params,
1173
1197
  :form_params => form_params,
1174
1198
  :body => post_body,
1175
1199
  :auth_names => auth_names,
1176
- :return_type => 'Conversation')
1200
+ :return_type => 'ConversationEntityListing')
1177
1201
  if @api_client.config.debugging
1178
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1202
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1179
1203
  end
1180
1204
  return data, status_code, headers
1181
1205
  end
1182
1206
 
1183
- # Update conversation participant
1207
+ # Get a conversation by id
1184
1208
  #
1185
- # @param call_id
1186
- # @param participant_id
1209
+ # @param conversation_id conversationId
1187
1210
  # @param [Hash] opts the optional parameters
1188
- # @option opts [MediaParticipantRequest] :body
1189
- # @return [nil]
1190
- def patch_calls_call_id_participants_participant_id(call_id, participant_id, opts = {})
1191
- patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts)
1192
- return nil
1211
+ # @return [AnalyticsConversation]
1212
+ def get_conversations_conversation_id_details(conversation_id, opts = {})
1213
+ data, status_code, headers = get_conversations_conversation_id_details_with_http_info(conversation_id, opts)
1214
+ return data
1193
1215
  end
1194
1216
 
1195
- # Update conversation participant
1217
+ # Get a conversation by id
1196
1218
  #
1197
- # @param call_id
1198
- # @param participant_id
1219
+ # @param conversation_id conversationId
1199
1220
  # @param [Hash] opts the optional parameters
1200
- # @option opts [MediaParticipantRequest] :body
1201
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1202
- def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts = {})
1221
+ # @return [Array<(AnalyticsConversation, Fixnum, Hash)>] AnalyticsConversation data, response status code and response headers
1222
+ def get_conversations_conversation_id_details_with_http_info(conversation_id, opts = {})
1203
1223
  if @api_client.config.debugging
1204
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id ..."
1224
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations_conversation_id_details ..."
1205
1225
  end
1206
1226
 
1207
- # verify the required parameter 'call_id' is set
1208
- fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id" if call_id.nil?
1209
-
1210
- # verify the required parameter 'participant_id' is set
1211
- fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id" if participant_id.nil?
1227
+ # verify the required parameter 'conversation_id' is set
1228
+ fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_details" if conversation_id.nil?
1212
1229
 
1213
1230
  # resource path
1214
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1231
+ local_var_path = "/api/v2/analytics/conversations/{conversationId}/details".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
1215
1232
 
1216
1233
  # query parameters
1217
1234
  query_params = {}
@@ -1231,54 +1248,42 @@ module PureCloud
1231
1248
  form_params = {}
1232
1249
 
1233
1250
  # http body (model)
1234
- post_body = @api_client.object_to_http_body(opts[:'body'])
1251
+ post_body = nil
1235
1252
 
1236
-
1237
1253
  auth_names = ['PureCloud Auth']
1238
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1254
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1239
1255
  :header_params => header_params,
1240
1256
  :query_params => query_params,
1241
1257
  :form_params => form_params,
1242
1258
  :body => post_body,
1243
- :auth_names => auth_names)
1259
+ :auth_names => auth_names,
1260
+ :return_type => 'AnalyticsConversation')
1244
1261
  if @api_client.config.debugging
1245
- @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1262
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversations_conversation_id_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1246
1263
  end
1247
1264
  return data, status_code, headers
1248
1265
  end
1249
1266
 
1250
- # Update the attributes on a conversation participant.
1267
+ # Get recent email conversations
1251
1268
  #
1252
- # @param call_id
1253
- # @param participant_id
1254
1269
  # @param [Hash] opts the optional parameters
1255
- # @option opts [ParticipantAttributes] :body
1256
- # @return [nil]
1257
- def patch_calls_call_id_participants_participant_id_attributes(call_id, participant_id, opts = {})
1258
- patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts)
1259
- return nil
1270
+ # @return [EmailConversationEntityListing]
1271
+ def get_emails(opts = {})
1272
+ data, status_code, headers = get_emails_with_http_info(opts)
1273
+ return data
1260
1274
  end
1261
1275
 
1262
- # Update the attributes on a conversation participant.
1276
+ # Get recent email conversations
1263
1277
  #
1264
- # @param call_id
1265
- # @param participant_id
1266
1278
  # @param [Hash] opts the optional parameters
1267
- # @option opts [ParticipantAttributes] :body
1268
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1269
- def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts = {})
1279
+ # @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
1280
+ def get_emails_with_http_info(opts = {})
1270
1281
  if @api_client.config.debugging
1271
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes ..."
1282
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails ..."
1272
1283
  end
1273
1284
 
1274
- # verify the required parameter 'call_id' is set
1275
- fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_attributes" if call_id.nil?
1276
-
1277
- # verify the required parameter 'participant_id' is set
1278
- fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_attributes" if participant_id.nil?
1279
-
1280
1285
  # resource path
1281
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1286
+ local_var_path = "/api/v2/conversations/emails".sub('{format}','json')
1282
1287
 
1283
1288
  # query parameters
1284
1289
  query_params = {}
@@ -1298,54 +1303,47 @@ module PureCloud
1298
1303
  form_params = {}
1299
1304
 
1300
1305
  # http body (model)
1301
- post_body = @api_client.object_to_http_body(opts[:'body'])
1306
+ post_body = nil
1302
1307
 
1303
-
1304
1308
  auth_names = ['PureCloud Auth']
1305
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1309
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1306
1310
  :header_params => header_params,
1307
1311
  :query_params => query_params,
1308
1312
  :form_params => form_params,
1309
1313
  :body => post_body,
1310
- :auth_names => auth_names)
1314
+ :auth_names => auth_names,
1315
+ :return_type => 'EmailConversationEntityListing')
1311
1316
  if @api_client.config.debugging
1312
- @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1317
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1313
1318
  end
1314
1319
  return data, status_code, headers
1315
1320
  end
1316
1321
 
1317
- # Initiate and update consult transfer
1322
+ # Get email conversation
1318
1323
  #
1319
- # @param call_id
1320
- # @param participant_id
1324
+ # @param email_id
1321
1325
  # @param [Hash] opts the optional parameters
1322
- # @option opts [ConsultTransfer] :body Destination address &amp; initial speak to
1323
- # @return [ConsultTransferResponse]
1324
- def post_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
1325
- data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
1326
+ # @return [EmailConversation]
1327
+ def get_emails_email_id(email_id, opts = {})
1328
+ data, status_code, headers = get_emails_email_id_with_http_info(email_id, opts)
1326
1329
  return data
1327
1330
  end
1328
1331
 
1329
- # Initiate and update consult transfer
1332
+ # Get email conversation
1330
1333
  #
1331
- # @param call_id
1332
- # @param participant_id
1334
+ # @param email_id
1333
1335
  # @param [Hash] opts the optional parameters
1334
- # @option opts [ConsultTransfer] :body Destination address &amp; initial speak to
1335
- # @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
1336
- def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
1336
+ # @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
1337
+ def get_emails_email_id_with_http_info(email_id, opts = {})
1337
1338
  if @api_client.config.debugging
1338
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_consult ..."
1339
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id ..."
1339
1340
  end
1340
1341
 
1341
- # verify the required parameter 'call_id' is set
1342
- fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_consult" if call_id.nil?
1343
-
1344
- # verify the required parameter 'participant_id' is set
1345
- fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_consult" if participant_id.nil?
1342
+ # verify the required parameter 'email_id' is set
1343
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id" if email_id.nil?
1346
1344
 
1347
1345
  # resource path
1348
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1346
+ local_var_path = "/api/v2/conversations/emails/{emailId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
1349
1347
 
1350
1348
  # query parameters
1351
1349
  query_params = {}
@@ -1365,53 +1363,47 @@ module PureCloud
1365
1363
  form_params = {}
1366
1364
 
1367
1365
  # http body (model)
1368
- post_body = @api_client.object_to_http_body(opts[:'body'])
1366
+ post_body = nil
1369
1367
 
1370
-
1371
1368
  auth_names = ['PureCloud Auth']
1372
- data, status_code, headers = @api_client.call_api(:POST, path,
1369
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1373
1370
  :header_params => header_params,
1374
1371
  :query_params => query_params,
1375
1372
  :form_params => form_params,
1376
1373
  :body => post_body,
1377
1374
  :auth_names => auth_names,
1378
- :return_type => 'ConsultTransferResponse')
1375
+ :return_type => 'EmailConversation')
1379
1376
  if @api_client.config.debugging
1380
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1377
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1381
1378
  end
1382
1379
  return data, status_code, headers
1383
1380
  end
1384
1381
 
1385
- # Cancel the transfer
1382
+ # Get conversation messages
1386
1383
  #
1387
- # @param call_id
1388
- # @param participant_id
1384
+ # @param email_id
1389
1385
  # @param [Hash] opts the optional parameters
1390
- # @return [String]
1391
- def delete_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
1392
- data, status_code, headers = delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
1386
+ # @return [EmailMessageListing]
1387
+ def get_emails_email_id_messages(email_id, opts = {})
1388
+ data, status_code, headers = get_emails_email_id_messages_with_http_info(email_id, opts)
1393
1389
  return data
1394
1390
  end
1395
1391
 
1396
- # Cancel the transfer
1392
+ # Get conversation messages
1397
1393
  #
1398
- # @param call_id
1399
- # @param participant_id
1394
+ # @param email_id
1400
1395
  # @param [Hash] opts the optional parameters
1401
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1402
- def delete_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
1396
+ # @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
1397
+ def get_emails_email_id_messages_with_http_info(email_id, opts = {})
1403
1398
  if @api_client.config.debugging
1404
- @api_client.config.logger.debug "Calling API: ConversationsApi#delete_calls_call_id_participants_participant_id_consult ..."
1399
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages ..."
1405
1400
  end
1406
1401
 
1407
- # verify the required parameter 'call_id' is set
1408
- fail "Missing the required parameter 'call_id' when calling delete_calls_call_id_participants_participant_id_consult" if call_id.nil?
1409
-
1410
- # verify the required parameter 'participant_id' is set
1411
- fail "Missing the required parameter 'participant_id' when calling delete_calls_call_id_participants_participant_id_consult" if participant_id.nil?
1402
+ # verify the required parameter 'email_id' is set
1403
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages" if email_id.nil?
1412
1404
 
1413
1405
  # resource path
1414
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1406
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
1415
1407
 
1416
1408
  # query parameters
1417
1409
  query_params = {}
@@ -1433,53 +1425,45 @@ module PureCloud
1433
1425
  # http body (model)
1434
1426
  post_body = nil
1435
1427
 
1436
-
1437
1428
  auth_names = ['PureCloud Auth']
1438
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1429
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1439
1430
  :header_params => header_params,
1440
1431
  :query_params => query_params,
1441
1432
  :form_params => form_params,
1442
1433
  :body => post_body,
1443
1434
  :auth_names => auth_names,
1444
- :return_type => 'String')
1435
+ :return_type => 'EmailMessageListing')
1445
1436
  if @api_client.config.debugging
1446
- @api_client.config.logger.debug "API called: ConversationsApi#delete_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1437
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1447
1438
  end
1448
1439
  return data, status_code, headers
1449
1440
  end
1450
1441
 
1451
- # Change who can speak
1442
+ # Get conversation draft reply
1452
1443
  #
1453
- # @param call_id
1454
- # @param participant_id
1444
+ # @param email_id
1455
1445
  # @param [Hash] opts the optional parameters
1456
- # @option opts [ConsultTransferUpdate] :body new speak to
1457
- # @return [ConsultTransferResponse]
1458
- def patch_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
1459
- data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
1446
+ # @return [EmailMessage]
1447
+ def get_emails_email_id_messages_draft(email_id, opts = {})
1448
+ data, status_code, headers = get_emails_email_id_messages_draft_with_http_info(email_id, opts)
1460
1449
  return data
1461
1450
  end
1462
1451
 
1463
- # Change who can speak
1452
+ # Get conversation draft reply
1464
1453
  #
1465
- # @param call_id
1466
- # @param participant_id
1454
+ # @param email_id
1467
1455
  # @param [Hash] opts the optional parameters
1468
- # @option opts [ConsultTransferUpdate] :body new speak to
1469
- # @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
1470
- def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
1456
+ # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
1457
+ def get_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
1471
1458
  if @api_client.config.debugging
1472
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_consult ..."
1459
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_draft ..."
1473
1460
  end
1474
1461
 
1475
- # verify the required parameter 'call_id' is set
1476
- fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_consult" if call_id.nil?
1477
-
1478
- # verify the required parameter 'participant_id' is set
1479
- fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_consult" if participant_id.nil?
1462
+ # verify the required parameter 'email_id' is set
1463
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_draft" if email_id.nil?
1480
1464
 
1481
1465
  # resource path
1482
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1466
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
1483
1467
 
1484
1468
  # query parameters
1485
1469
  query_params = {}
@@ -1499,53 +1483,52 @@ module PureCloud
1499
1483
  form_params = {}
1500
1484
 
1501
1485
  # http body (model)
1502
- post_body = @api_client.object_to_http_body(opts[:'body'])
1486
+ post_body = nil
1503
1487
 
1504
-
1505
1488
  auth_names = ['PureCloud Auth']
1506
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1489
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1507
1490
  :header_params => header_params,
1508
1491
  :query_params => query_params,
1509
1492
  :form_params => form_params,
1510
1493
  :body => post_body,
1511
1494
  :auth_names => auth_names,
1512
- :return_type => 'ConsultTransferResponse')
1495
+ :return_type => 'EmailMessage')
1513
1496
  if @api_client.config.debugging
1514
- @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1497
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1515
1498
  end
1516
1499
  return data, status_code, headers
1517
1500
  end
1518
1501
 
1519
- # Listen in on the conversation from the point of view of a given participant.
1502
+ # Get conversation message
1520
1503
  #
1521
- # @param call_id
1522
- # @param participant_id
1504
+ # @param email_id
1505
+ # @param message_id
1523
1506
  # @param [Hash] opts the optional parameters
1524
- # @return [nil]
1525
- def post_calls_call_id_participants_participant_id_monitor(call_id, participant_id, opts = {})
1526
- post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts)
1527
- return nil
1507
+ # @return [EmailMessage]
1508
+ def get_emails_email_id_messages_message_id(email_id, message_id, opts = {})
1509
+ data, status_code, headers = get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts)
1510
+ return data
1528
1511
  end
1529
1512
 
1530
- # Listen in on the conversation from the point of view of a given participant.
1513
+ # Get conversation message
1531
1514
  #
1532
- # @param call_id
1533
- # @param participant_id
1515
+ # @param email_id
1516
+ # @param message_id
1534
1517
  # @param [Hash] opts the optional parameters
1535
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1536
- def post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts = {})
1518
+ # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
1519
+ def get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts = {})
1537
1520
  if @api_client.config.debugging
1538
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_monitor ..."
1521
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_message_id ..."
1539
1522
  end
1540
1523
 
1541
- # verify the required parameter 'call_id' is set
1542
- fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_monitor" if call_id.nil?
1524
+ # verify the required parameter 'email_id' is set
1525
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_message_id" if email_id.nil?
1543
1526
 
1544
- # verify the required parameter 'participant_id' is set
1545
- fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_monitor" if participant_id.nil?
1527
+ # verify the required parameter 'message_id' is set
1528
+ fail "Missing the required parameter 'message_id' when calling get_emails_email_id_messages_message_id" if message_id.nil?
1546
1529
 
1547
1530
  # resource path
1548
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/monitor".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1531
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages/{messageId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'messageId' + '}', message_id.to_s)
1549
1532
 
1550
1533
  # query parameters
1551
1534
  query_params = {}
@@ -1567,55 +1550,56 @@ module PureCloud
1567
1550
  # http body (model)
1568
1551
  post_body = nil
1569
1552
 
1570
-
1571
1553
  auth_names = ['PureCloud Auth']
1572
- data, status_code, headers = @api_client.call_api(:POST, path,
1554
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1573
1555
  :header_params => header_params,
1574
1556
  :query_params => query_params,
1575
1557
  :form_params => form_params,
1576
1558
  :body => post_body,
1577
- :auth_names => auth_names)
1559
+ :auth_names => auth_names,
1560
+ :return_type => 'EmailMessage')
1578
1561
  if @api_client.config.debugging
1579
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_monitor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1562
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_message_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1580
1563
  end
1581
1564
  return data, status_code, headers
1582
1565
  end
1583
1566
 
1584
- # Replace this participant with the specified user and/or address
1567
+ # Get the wrap-up for this conversation participant.
1585
1568
  #
1586
- # @param call_id
1569
+ # @param email_id
1587
1570
  # @param participant_id
1588
1571
  # @param [Hash] opts the optional parameters
1589
- # @option opts [TransferRequest] :body
1590
- # @return [nil]
1591
- def post_calls_call_id_participants_participant_id_replace(call_id, participant_id, opts = {})
1592
- post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts)
1593
- return nil
1572
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
1573
+ # @return [WrapupCode]
1574
+ def get_emails_email_id_participants_participant_id_wrapup(email_id, participant_id, opts = {})
1575
+ data, status_code, headers = get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts)
1576
+ return data
1594
1577
  end
1595
1578
 
1596
- # Replace this participant with the specified user and/or address
1579
+ # Get the wrap-up for this conversation participant.
1597
1580
  #
1598
- # @param call_id
1581
+ # @param email_id
1599
1582
  # @param participant_id
1600
1583
  # @param [Hash] opts the optional parameters
1601
- # @option opts [TransferRequest] :body
1602
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1603
- def post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts = {})
1584
+ # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
1585
+ # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1586
+ def get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts = {})
1604
1587
  if @api_client.config.debugging
1605
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_replace ..."
1588
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup ..."
1606
1589
  end
1607
1590
 
1608
- # verify the required parameter 'call_id' is set
1609
- fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_replace" if call_id.nil?
1591
+ # verify the required parameter 'email_id' is set
1592
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapup" if email_id.nil?
1610
1593
 
1611
1594
  # verify the required parameter 'participant_id' is set
1612
- fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_replace" if participant_id.nil?
1595
+ fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapup" if participant_id.nil?
1613
1596
 
1614
1597
  # resource path
1615
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1598
+ local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1616
1599
 
1617
1600
  # query parameters
1618
1601
  query_params = {}
1602
+ query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
1619
1603
 
1620
1604
  # header parameters
1621
1605
  header_params = {}
@@ -1632,58 +1616,55 @@ module PureCloud
1632
1616
  form_params = {}
1633
1617
 
1634
1618
  # http body (model)
1635
- post_body = @api_client.object_to_http_body(opts[:'body'])
1619
+ post_body = nil
1636
1620
 
1637
-
1638
1621
  auth_names = ['PureCloud Auth']
1639
- data, status_code, headers = @api_client.call_api(:POST, path,
1622
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1640
1623
  :header_params => header_params,
1641
1624
  :query_params => query_params,
1642
1625
  :form_params => form_params,
1643
1626
  :body => post_body,
1644
- :auth_names => auth_names)
1627
+ :auth_names => auth_names,
1628
+ :return_type => 'WrapupCode')
1645
1629
  if @api_client.config.debugging
1646
- @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1630
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1647
1631
  end
1648
1632
  return data, status_code, headers
1649
1633
  end
1650
1634
 
1651
- # Get the wrap-up for this conversation participant.
1635
+ # Get list of wrapup codes for this conversation participant
1652
1636
  #
1653
- # @param call_id
1637
+ # @param email_id
1654
1638
  # @param participant_id
1655
1639
  # @param [Hash] opts the optional parameters
1656
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
1657
1640
  # @return [WrapupCode]
1658
- def get_calls_call_id_participants_participant_id_wrapup(call_id, participant_id, opts = {})
1659
- data, status_code, headers = get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts)
1641
+ def get_emails_email_id_participants_participant_id_wrapupcodes(email_id, participant_id, opts = {})
1642
+ data, status_code, headers = get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts)
1660
1643
  return data
1661
1644
  end
1662
1645
 
1663
- # Get the wrap-up for this conversation participant.
1646
+ # Get list of wrapup codes for this conversation participant
1664
1647
  #
1665
- # @param call_id
1648
+ # @param email_id
1666
1649
  # @param participant_id
1667
1650
  # @param [Hash] opts the optional parameters
1668
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
1669
1651
  # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1670
- def get_calls_call_id_participants_participant_id_wrapup_with_http_info(call_id, participant_id, opts = {})
1652
+ def get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts = {})
1671
1653
  if @api_client.config.debugging
1672
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup ..."
1654
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes ..."
1673
1655
  end
1674
1656
 
1675
- # verify the required parameter 'call_id' is set
1676
- fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapup" if call_id.nil?
1657
+ # verify the required parameter 'email_id' is set
1658
+ fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if email_id.nil?
1677
1659
 
1678
1660
  # verify the required parameter 'participant_id' is set
1679
- fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapup" if participant_id.nil?
1661
+ fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if participant_id.nil?
1680
1662
 
1681
1663
  # resource path
1682
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1664
+ local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1683
1665
 
1684
1666
  # query parameters
1685
1667
  query_params = {}
1686
- query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
1687
1668
 
1688
1669
  # header parameters
1689
1670
  header_params = {}
@@ -1702,9 +1683,8 @@ module PureCloud
1702
1683
  # http body (model)
1703
1684
  post_body = nil
1704
1685
 
1705
-
1706
1686
  auth_names = ['PureCloud Auth']
1707
- data, status_code, headers = @api_client.call_api(:GET, path,
1687
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1708
1688
  :header_params => header_params,
1709
1689
  :query_params => query_params,
1710
1690
  :form_params => form_params,
@@ -1712,41 +1692,43 @@ module PureCloud
1712
1692
  :auth_names => auth_names,
1713
1693
  :return_type => 'WrapupCode')
1714
1694
  if @api_client.config.debugging
1715
- @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1695
+ @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1716
1696
  end
1717
1697
  return data, status_code, headers
1718
1698
  end
1719
1699
 
1720
- # Get list of wrapup codes for this conversation participant
1700
+ # Update conversation participant
1721
1701
  #
1722
- # @param call_id
1702
+ # @param callback_id
1723
1703
  # @param participant_id
1724
1704
  # @param [Hash] opts the optional parameters
1725
- # @return [WrapupCode]
1726
- def get_calls_call_id_participants_participant_id_wrapupcodes(call_id, participant_id, opts = {})
1727
- data, status_code, headers = get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts)
1728
- return data
1705
+ # @option opts [MediaParticipantRequest] :body
1706
+ # @return [nil]
1707
+ def patch_callbacks_callback_id_participants_participant_id(callback_id, participant_id, opts = {})
1708
+ patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts)
1709
+ return nil
1729
1710
  end
1730
1711
 
1731
- # Get list of wrapup codes for this conversation participant
1712
+ # Update conversation participant
1732
1713
  #
1733
- # @param call_id
1714
+ # @param callback_id
1734
1715
  # @param participant_id
1735
1716
  # @param [Hash] opts the optional parameters
1736
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
1737
- def get_calls_call_id_participants_participant_id_wrapupcodes_with_http_info(call_id, participant_id, opts = {})
1717
+ # @option opts [MediaParticipantRequest] :body
1718
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1719
+ def patch_callbacks_callback_id_participants_participant_id_with_http_info(callback_id, participant_id, opts = {})
1738
1720
  if @api_client.config.debugging
1739
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes ..."
1721
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id ..."
1740
1722
  end
1741
1723
 
1742
- # verify the required parameter 'call_id' is set
1743
- fail "Missing the required parameter 'call_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if call_id.nil?
1724
+ # verify the required parameter 'callback_id' is set
1725
+ fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id" if callback_id.nil?
1744
1726
 
1745
1727
  # verify the required parameter 'participant_id' is set
1746
- fail "Missing the required parameter 'participant_id' when calling get_calls_call_id_participants_participant_id_wrapupcodes" if participant_id.nil?
1728
+ fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id" if participant_id.nil?
1747
1729
 
1748
1730
  # resource path
1749
- path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1731
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1750
1732
 
1751
1733
  # query parameters
1752
1734
  query_params = {}
@@ -1766,43 +1748,53 @@ module PureCloud
1766
1748
  form_params = {}
1767
1749
 
1768
1750
  # http body (model)
1769
- post_body = nil
1751
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1770
1752
 
1771
-
1772
1753
  auth_names = ['PureCloud Auth']
1773
- data, status_code, headers = @api_client.call_api(:GET, path,
1754
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1774
1755
  :header_params => header_params,
1775
1756
  :query_params => query_params,
1776
1757
  :form_params => form_params,
1777
1758
  :body => post_body,
1778
- :auth_names => auth_names,
1779
- :return_type => 'WrapupCode')
1759
+ :auth_names => auth_names)
1780
1760
  if @api_client.config.debugging
1781
- @api_client.config.logger.debug "API called: ConversationsApi#get_calls_call_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1761
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1782
1762
  end
1783
1763
  return data, status_code, headers
1784
1764
  end
1785
1765
 
1786
- # Get recent chat conversations
1766
+ # Update the attributes on a conversation participant.
1787
1767
  #
1768
+ # @param callback_id
1769
+ # @param participant_id
1788
1770
  # @param [Hash] opts the optional parameters
1789
- # @return [ChatConversationEntityListing]
1790
- def get_chats(opts = {})
1791
- data, status_code, headers = get_chats_with_http_info(opts)
1792
- return data
1771
+ # @option opts [ParticipantAttributes] :body
1772
+ # @return [nil]
1773
+ def patch_callbacks_callback_id_participants_participant_id_attributes(callback_id, participant_id, opts = {})
1774
+ patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts)
1775
+ return nil
1793
1776
  end
1794
1777
 
1795
- # Get recent chat conversations
1778
+ # Update the attributes on a conversation participant.
1796
1779
  #
1780
+ # @param callback_id
1781
+ # @param participant_id
1797
1782
  # @param [Hash] opts the optional parameters
1798
- # @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
1799
- def get_chats_with_http_info(opts = {})
1783
+ # @option opts [ParticipantAttributes] :body
1784
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1785
+ def patch_callbacks_callback_id_participants_participant_id_attributes_with_http_info(callback_id, participant_id, opts = {})
1800
1786
  if @api_client.config.debugging
1801
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats ..."
1787
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes ..."
1802
1788
  end
1803
1789
 
1790
+ # verify the required parameter 'callback_id' is set
1791
+ fail "Missing the required parameter 'callback_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if callback_id.nil?
1792
+
1793
+ # verify the required parameter 'participant_id' is set
1794
+ fail "Missing the required parameter 'participant_id' when calling patch_callbacks_callback_id_participants_participant_id_attributes" if participant_id.nil?
1795
+
1804
1796
  # resource path
1805
- path = "/api/v2/conversations/chats".sub('{format}','json')
1797
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1806
1798
 
1807
1799
  # query parameters
1808
1800
  query_params = {}
@@ -1822,48 +1814,48 @@ module PureCloud
1822
1814
  form_params = {}
1823
1815
 
1824
1816
  # http body (model)
1825
- post_body = nil
1817
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1826
1818
 
1827
-
1828
1819
  auth_names = ['PureCloud Auth']
1829
- data, status_code, headers = @api_client.call_api(:GET, path,
1820
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1830
1821
  :header_params => header_params,
1831
1822
  :query_params => query_params,
1832
1823
  :form_params => form_params,
1833
1824
  :body => post_body,
1834
- :auth_names => auth_names,
1835
- :return_type => 'ChatConversationEntityListing')
1825
+ :auth_names => auth_names)
1836
1826
  if @api_client.config.debugging
1837
- @api_client.config.logger.debug "API called: ConversationsApi#get_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1827
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_callbacks_callback_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1838
1828
  end
1839
1829
  return data, status_code, headers
1840
1830
  end
1841
1831
 
1842
- # Get chat conversation
1832
+ # Update conversation
1843
1833
  #
1844
- # @param chat_id
1834
+ # @param call_id
1845
1835
  # @param [Hash] opts the optional parameters
1846
- # @return [ChatConversation]
1847
- def get_chats_chat_id(chat_id, opts = {})
1848
- data, status_code, headers = get_chats_chat_id_with_http_info(chat_id, opts)
1836
+ # @option opts [Conversation] :body Conversation
1837
+ # @return [Conversation]
1838
+ def patch_calls_call_id(call_id, opts = {})
1839
+ data, status_code, headers = patch_calls_call_id_with_http_info(call_id, opts)
1849
1840
  return data
1850
1841
  end
1851
1842
 
1852
- # Get chat conversation
1843
+ # Update conversation
1853
1844
  #
1854
- # @param chat_id
1845
+ # @param call_id
1855
1846
  # @param [Hash] opts the optional parameters
1856
- # @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
1857
- def get_chats_chat_id_with_http_info(chat_id, opts = {})
1858
- if @api_client.config.debugging
1859
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id ..."
1847
+ # @option opts [Conversation] :body Conversation
1848
+ # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
1849
+ def patch_calls_call_id_with_http_info(call_id, opts = {})
1850
+ if @api_client.config.debugging
1851
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id ..."
1860
1852
  end
1861
1853
 
1862
- # verify the required parameter 'chat_id' is set
1863
- fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id" if chat_id.nil?
1854
+ # verify the required parameter 'call_id' is set
1855
+ fail "Missing the required parameter 'call_id' when calling patch_calls_call_id" if call_id.nil?
1864
1856
 
1865
1857
  # resource path
1866
- path = "/api/v2/conversations/chats/{chatId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s)
1858
+ local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
1867
1859
 
1868
1860
  # query parameters
1869
1861
  query_params = {}
@@ -1883,55 +1875,54 @@ module PureCloud
1883
1875
  form_params = {}
1884
1876
 
1885
1877
  # http body (model)
1886
- post_body = nil
1878
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1887
1879
 
1888
-
1889
1880
  auth_names = ['PureCloud Auth']
1890
- data, status_code, headers = @api_client.call_api(:GET, path,
1881
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1891
1882
  :header_params => header_params,
1892
1883
  :query_params => query_params,
1893
1884
  :form_params => form_params,
1894
1885
  :body => post_body,
1895
1886
  :auth_names => auth_names,
1896
- :return_type => 'ChatConversation')
1887
+ :return_type => 'Conversation')
1897
1888
  if @api_client.config.debugging
1898
- @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1889
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1899
1890
  end
1900
1891
  return data, status_code, headers
1901
1892
  end
1902
1893
 
1903
1894
  # Update conversation participant
1904
1895
  #
1905
- # @param chat_id
1896
+ # @param call_id
1906
1897
  # @param participant_id
1907
1898
  # @param [Hash] opts the optional parameters
1908
1899
  # @option opts [MediaParticipantRequest] :body
1909
1900
  # @return [nil]
1910
- def patch_chats_chat_id_participants_participant_id(chat_id, participant_id, opts = {})
1911
- patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts)
1901
+ def patch_calls_call_id_participants_participant_id(call_id, participant_id, opts = {})
1902
+ patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts)
1912
1903
  return nil
1913
1904
  end
1914
1905
 
1915
1906
  # Update conversation participant
1916
1907
  #
1917
- # @param chat_id
1908
+ # @param call_id
1918
1909
  # @param participant_id
1919
1910
  # @param [Hash] opts the optional parameters
1920
1911
  # @option opts [MediaParticipantRequest] :body
1921
1912
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1922
- def patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts = {})
1913
+ def patch_calls_call_id_participants_participant_id_with_http_info(call_id, participant_id, opts = {})
1923
1914
  if @api_client.config.debugging
1924
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id ..."
1915
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id ..."
1925
1916
  end
1926
1917
 
1927
- # verify the required parameter 'chat_id' is set
1928
- fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id" if chat_id.nil?
1918
+ # verify the required parameter 'call_id' is set
1919
+ fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id" if call_id.nil?
1929
1920
 
1930
1921
  # verify the required parameter 'participant_id' is set
1931
- fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id" if participant_id.nil?
1922
+ fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id" if participant_id.nil?
1932
1923
 
1933
1924
  # resource path
1934
- path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1925
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1935
1926
 
1936
1927
  # query parameters
1937
1928
  query_params = {}
@@ -1953,52 +1944,51 @@ module PureCloud
1953
1944
  # http body (model)
1954
1945
  post_body = @api_client.object_to_http_body(opts[:'body'])
1955
1946
 
1956
-
1957
1947
  auth_names = ['PureCloud Auth']
1958
- data, status_code, headers = @api_client.call_api(:PATCH, path,
1948
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
1959
1949
  :header_params => header_params,
1960
1950
  :query_params => query_params,
1961
1951
  :form_params => form_params,
1962
1952
  :body => post_body,
1963
1953
  :auth_names => auth_names)
1964
1954
  if @api_client.config.debugging
1965
- @api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1955
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1966
1956
  end
1967
1957
  return data, status_code, headers
1968
1958
  end
1969
1959
 
1970
1960
  # Update the attributes on a conversation participant.
1971
1961
  #
1972
- # @param chat_id
1962
+ # @param call_id
1973
1963
  # @param participant_id
1974
1964
  # @param [Hash] opts the optional parameters
1975
1965
  # @option opts [ParticipantAttributes] :body
1976
1966
  # @return [nil]
1977
- def patch_chats_chat_id_participants_participant_id_attributes(chat_id, participant_id, opts = {})
1978
- patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts)
1967
+ def patch_calls_call_id_participants_participant_id_attributes(call_id, participant_id, opts = {})
1968
+ patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts)
1979
1969
  return nil
1980
1970
  end
1981
1971
 
1982
1972
  # Update the attributes on a conversation participant.
1983
1973
  #
1984
- # @param chat_id
1974
+ # @param call_id
1985
1975
  # @param participant_id
1986
1976
  # @param [Hash] opts the optional parameters
1987
1977
  # @option opts [ParticipantAttributes] :body
1988
1978
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1989
- def patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts = {})
1979
+ def patch_calls_call_id_participants_participant_id_attributes_with_http_info(call_id, participant_id, opts = {})
1990
1980
  if @api_client.config.debugging
1991
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes ..."
1981
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes ..."
1992
1982
  end
1993
1983
 
1994
- # verify the required parameter 'chat_id' is set
1995
- fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if chat_id.nil?
1984
+ # verify the required parameter 'call_id' is set
1985
+ fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_attributes" if call_id.nil?
1996
1986
 
1997
1987
  # verify the required parameter 'participant_id' is set
1998
- fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if participant_id.nil?
1988
+ fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_attributes" if participant_id.nil?
1999
1989
 
2000
1990
  # resource path
2001
- path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
1991
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2002
1992
 
2003
1993
  # query parameters
2004
1994
  query_params = {}
@@ -2020,52 +2010,51 @@ module PureCloud
2020
2010
  # http body (model)
2021
2011
  post_body = @api_client.object_to_http_body(opts[:'body'])
2022
2012
 
2023
-
2024
2013
  auth_names = ['PureCloud Auth']
2025
- data, status_code, headers = @api_client.call_api(:PATCH, path,
2014
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2026
2015
  :header_params => header_params,
2027
2016
  :query_params => query_params,
2028
2017
  :form_params => form_params,
2029
2018
  :body => post_body,
2030
2019
  :auth_names => auth_names)
2031
2020
  if @api_client.config.debugging
2032
- @api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2021
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2033
2022
  end
2034
2023
  return data, status_code, headers
2035
2024
  end
2036
2025
 
2037
- # Replace this participant with the specified user and/or address
2026
+ # Change who can speak
2038
2027
  #
2039
- # @param chat_id
2028
+ # @param call_id
2040
2029
  # @param participant_id
2041
2030
  # @param [Hash] opts the optional parameters
2042
- # @option opts [TransferRequest] :body
2043
- # @return [nil]
2044
- def post_chats_chat_id_participants_participant_id_replace(chat_id, participant_id, opts = {})
2045
- post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts)
2046
- return nil
2031
+ # @option opts [ConsultTransferUpdate] :body new speak to
2032
+ # @return [ConsultTransferResponse]
2033
+ def patch_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
2034
+ data, status_code, headers = patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
2035
+ return data
2047
2036
  end
2048
2037
 
2049
- # Replace this participant with the specified user and/or address
2038
+ # Change who can speak
2050
2039
  #
2051
- # @param chat_id
2040
+ # @param call_id
2052
2041
  # @param participant_id
2053
2042
  # @param [Hash] opts the optional parameters
2054
- # @option opts [TransferRequest] :body
2055
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2056
- def post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts = {})
2043
+ # @option opts [ConsultTransferUpdate] :body new speak to
2044
+ # @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
2045
+ def patch_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
2057
2046
  if @api_client.config.debugging
2058
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_chats_chat_id_participants_participant_id_replace ..."
2047
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_calls_call_id_participants_participant_id_consult ..."
2059
2048
  end
2060
2049
 
2061
- # verify the required parameter 'chat_id' is set
2062
- fail "Missing the required parameter 'chat_id' when calling post_chats_chat_id_participants_participant_id_replace" if chat_id.nil?
2050
+ # verify the required parameter 'call_id' is set
2051
+ fail "Missing the required parameter 'call_id' when calling patch_calls_call_id_participants_participant_id_consult" if call_id.nil?
2063
2052
 
2064
2053
  # verify the required parameter 'participant_id' is set
2065
- fail "Missing the required parameter 'participant_id' when calling post_chats_chat_id_participants_participant_id_replace" if participant_id.nil?
2054
+ fail "Missing the required parameter 'participant_id' when calling patch_calls_call_id_participants_participant_id_consult" if participant_id.nil?
2066
2055
 
2067
2056
  # resource path
2068
- path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2057
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2069
2058
 
2070
2059
  # query parameters
2071
2060
  query_params = {}
@@ -2087,56 +2076,55 @@ module PureCloud
2087
2076
  # http body (model)
2088
2077
  post_body = @api_client.object_to_http_body(opts[:'body'])
2089
2078
 
2090
-
2091
2079
  auth_names = ['PureCloud Auth']
2092
- data, status_code, headers = @api_client.call_api(:POST, path,
2080
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2093
2081
  :header_params => header_params,
2094
2082
  :query_params => query_params,
2095
2083
  :form_params => form_params,
2096
2084
  :body => post_body,
2097
- :auth_names => auth_names)
2085
+ :auth_names => auth_names,
2086
+ :return_type => 'ConsultTransferResponse')
2098
2087
  if @api_client.config.debugging
2099
- @api_client.config.logger.debug "API called: ConversationsApi#post_chats_chat_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2088
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2100
2089
  end
2101
2090
  return data, status_code, headers
2102
2091
  end
2103
2092
 
2104
- # Get the wrap-up for this conversation participant.
2093
+ # Update conversation participant
2105
2094
  #
2106
2095
  # @param chat_id
2107
2096
  # @param participant_id
2108
2097
  # @param [Hash] opts the optional parameters
2109
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
2110
- # @return [WrapupCode]
2111
- def get_chats_chat_id_participants_participant_id_wrapup(chat_id, participant_id, opts = {})
2112
- data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts)
2113
- return data
2098
+ # @option opts [MediaParticipantRequest] :body
2099
+ # @return [nil]
2100
+ def patch_chats_chat_id_participants_participant_id(chat_id, participant_id, opts = {})
2101
+ patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts)
2102
+ return nil
2114
2103
  end
2115
2104
 
2116
- # Get the wrap-up for this conversation participant.
2105
+ # Update conversation participant
2117
2106
  #
2118
2107
  # @param chat_id
2119
2108
  # @param participant_id
2120
2109
  # @param [Hash] opts the optional parameters
2121
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
2122
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2123
- def get_chats_chat_id_participants_participant_id_wrapup_with_http_info(chat_id, participant_id, opts = {})
2110
+ # @option opts [MediaParticipantRequest] :body
2111
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2112
+ def patch_chats_chat_id_participants_participant_id_with_http_info(chat_id, participant_id, opts = {})
2124
2113
  if @api_client.config.debugging
2125
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup ..."
2114
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id ..."
2126
2115
  end
2127
2116
 
2128
2117
  # verify the required parameter 'chat_id' is set
2129
- fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if chat_id.nil?
2118
+ fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id" if chat_id.nil?
2130
2119
 
2131
2120
  # verify the required parameter 'participant_id' is set
2132
- fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapup" if participant_id.nil?
2121
+ fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id" if participant_id.nil?
2133
2122
 
2134
2123
  # resource path
2135
- path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2124
+ local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2136
2125
 
2137
2126
  # query parameters
2138
2127
  query_params = {}
2139
- query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
2140
2128
 
2141
2129
  # header parameters
2142
2130
  header_params = {}
@@ -2153,53 +2141,53 @@ module PureCloud
2153
2141
  form_params = {}
2154
2142
 
2155
2143
  # http body (model)
2156
- post_body = nil
2144
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2157
2145
 
2158
-
2159
2146
  auth_names = ['PureCloud Auth']
2160
- data, status_code, headers = @api_client.call_api(:GET, path,
2147
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2161
2148
  :header_params => header_params,
2162
2149
  :query_params => query_params,
2163
2150
  :form_params => form_params,
2164
2151
  :body => post_body,
2165
- :auth_names => auth_names,
2166
- :return_type => 'WrapupCode')
2152
+ :auth_names => auth_names)
2167
2153
  if @api_client.config.debugging
2168
- @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2154
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2169
2155
  end
2170
2156
  return data, status_code, headers
2171
2157
  end
2172
2158
 
2173
- # Get list of wrapup codes for this conversation participant
2159
+ # Update the attributes on a conversation participant.
2174
2160
  #
2175
2161
  # @param chat_id
2176
2162
  # @param participant_id
2177
2163
  # @param [Hash] opts the optional parameters
2178
- # @return [WrapupCode]
2179
- def get_chats_chat_id_participants_participant_id_wrapupcodes(chat_id, participant_id, opts = {})
2180
- data, status_code, headers = get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts)
2181
- return data
2164
+ # @option opts [ParticipantAttributes] :body
2165
+ # @return [nil]
2166
+ def patch_chats_chat_id_participants_participant_id_attributes(chat_id, participant_id, opts = {})
2167
+ patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts)
2168
+ return nil
2182
2169
  end
2183
2170
 
2184
- # Get list of wrapup codes for this conversation participant
2171
+ # Update the attributes on a conversation participant.
2185
2172
  #
2186
2173
  # @param chat_id
2187
2174
  # @param participant_id
2188
2175
  # @param [Hash] opts the optional parameters
2189
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2190
- def get_chats_chat_id_participants_participant_id_wrapupcodes_with_http_info(chat_id, participant_id, opts = {})
2176
+ # @option opts [ParticipantAttributes] :body
2177
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2178
+ def patch_chats_chat_id_participants_participant_id_attributes_with_http_info(chat_id, participant_id, opts = {})
2191
2179
  if @api_client.config.debugging
2192
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes ..."
2180
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes ..."
2193
2181
  end
2194
2182
 
2195
2183
  # verify the required parameter 'chat_id' is set
2196
- fail "Missing the required parameter 'chat_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if chat_id.nil?
2184
+ fail "Missing the required parameter 'chat_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if chat_id.nil?
2197
2185
 
2198
2186
  # verify the required parameter 'participant_id' is set
2199
- fail "Missing the required parameter 'participant_id' when calling get_chats_chat_id_participants_participant_id_wrapupcodes" if participant_id.nil?
2187
+ fail "Missing the required parameter 'participant_id' when calling patch_chats_chat_id_participants_participant_id_attributes" if participant_id.nil?
2200
2188
 
2201
2189
  # resource path
2202
- path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2190
+ local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2203
2191
 
2204
2192
  # query parameters
2205
2193
  query_params = {}
@@ -2219,43 +2207,53 @@ module PureCloud
2219
2207
  form_params = {}
2220
2208
 
2221
2209
  # http body (model)
2222
- post_body = nil
2210
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2223
2211
 
2224
-
2225
2212
  auth_names = ['PureCloud Auth']
2226
- data, status_code, headers = @api_client.call_api(:GET, path,
2213
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2227
2214
  :header_params => header_params,
2228
2215
  :query_params => query_params,
2229
2216
  :form_params => form_params,
2230
2217
  :body => post_body,
2231
- :auth_names => auth_names,
2232
- :return_type => 'WrapupCode')
2218
+ :auth_names => auth_names)
2233
2219
  if @api_client.config.debugging
2234
- @api_client.config.logger.debug "API called: ConversationsApi#get_chats_chat_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2220
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_chats_chat_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2235
2221
  end
2236
2222
  return data, status_code, headers
2237
2223
  end
2238
2224
 
2239
- # Get recent email conversations
2240
- #
2225
+ # Update a participant.
2226
+ # Update conversation participant.
2227
+ # @param conversation_id conversation ID
2228
+ # @param participant_id participant ID
2241
2229
  # @param [Hash] opts the optional parameters
2242
- # @return [EmailConversationEntityListing]
2243
- def get_emails(opts = {})
2244
- data, status_code, headers = get_emails_with_http_info(opts)
2245
- return data
2230
+ # @option opts [MediaParticipantRequest] :body
2231
+ # @return [nil]
2232
+ def patch_conversation_id_participants_participant_id(conversation_id, participant_id, opts = {})
2233
+ patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts)
2234
+ return nil
2246
2235
  end
2247
2236
 
2248
- # Get recent email conversations
2249
- #
2237
+ # Update a participant.
2238
+ # Update conversation participant.
2239
+ # @param conversation_id conversation ID
2240
+ # @param participant_id participant ID
2250
2241
  # @param [Hash] opts the optional parameters
2251
- # @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
2252
- def get_emails_with_http_info(opts = {})
2242
+ # @option opts [MediaParticipantRequest] :body
2243
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2244
+ def patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {})
2253
2245
  if @api_client.config.debugging
2254
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails ..."
2246
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id ..."
2255
2247
  end
2256
2248
 
2249
+ # verify the required parameter 'conversation_id' is set
2250
+ fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id" if conversation_id.nil?
2251
+
2252
+ # verify the required parameter 'participant_id' is set
2253
+ fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id" if participant_id.nil?
2254
+
2257
2255
  # resource path
2258
- path = "/api/v2/conversations/emails".sub('{format}','json')
2256
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2259
2257
 
2260
2258
  # query parameters
2261
2259
  query_params = {}
@@ -2275,48 +2273,53 @@ module PureCloud
2275
2273
  form_params = {}
2276
2274
 
2277
2275
  # http body (model)
2278
- post_body = nil
2276
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2279
2277
 
2280
-
2281
2278
  auth_names = ['PureCloud Auth']
2282
- data, status_code, headers = @api_client.call_api(:GET, path,
2279
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2283
2280
  :header_params => header_params,
2284
2281
  :query_params => query_params,
2285
2282
  :form_params => form_params,
2286
2283
  :body => post_body,
2287
- :auth_names => auth_names,
2288
- :return_type => 'EmailConversationEntityListing')
2284
+ :auth_names => auth_names)
2289
2285
  if @api_client.config.debugging
2290
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2286
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2291
2287
  end
2292
2288
  return data, status_code, headers
2293
2289
  end
2294
2290
 
2295
- # Get email conversation
2291
+ # Update the attributes on a conversation participant.
2296
2292
  #
2297
- # @param email_id
2293
+ # @param conversation_id conversation ID
2294
+ # @param participant_id participant ID
2298
2295
  # @param [Hash] opts the optional parameters
2299
- # @return [EmailConversation]
2300
- def get_emails_email_id(email_id, opts = {})
2301
- data, status_code, headers = get_emails_email_id_with_http_info(email_id, opts)
2302
- return data
2296
+ # @option opts [ParticipantAttributes] :body
2297
+ # @return [nil]
2298
+ def patch_conversation_id_participants_participant_id_attributes(conversation_id, participant_id, opts = {})
2299
+ patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts)
2300
+ return nil
2303
2301
  end
2304
2302
 
2305
- # Get email conversation
2303
+ # Update the attributes on a conversation participant.
2306
2304
  #
2307
- # @param email_id
2305
+ # @param conversation_id conversation ID
2306
+ # @param participant_id participant ID
2308
2307
  # @param [Hash] opts the optional parameters
2309
- # @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
2310
- def get_emails_email_id_with_http_info(email_id, opts = {})
2308
+ # @option opts [ParticipantAttributes] :body
2309
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2310
+ def patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts = {})
2311
2311
  if @api_client.config.debugging
2312
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id ..."
2312
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id_attributes ..."
2313
2313
  end
2314
2314
 
2315
- # verify the required parameter 'email_id' is set
2316
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id" if email_id.nil?
2315
+ # verify the required parameter 'conversation_id' is set
2316
+ fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id_attributes" if conversation_id.nil?
2317
+
2318
+ # verify the required parameter 'participant_id' is set
2319
+ fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id_attributes" if participant_id.nil?
2317
2320
 
2318
2321
  # resource path
2319
- path = "/api/v2/conversations/emails/{emailId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
2322
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2320
2323
 
2321
2324
  # query parameters
2322
2325
  query_params = {}
@@ -2336,48 +2339,53 @@ module PureCloud
2336
2339
  form_params = {}
2337
2340
 
2338
2341
  # http body (model)
2339
- post_body = nil
2342
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2340
2343
 
2341
-
2342
2344
  auth_names = ['PureCloud Auth']
2343
- data, status_code, headers = @api_client.call_api(:GET, path,
2345
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2344
2346
  :header_params => header_params,
2345
2347
  :query_params => query_params,
2346
2348
  :form_params => form_params,
2347
2349
  :body => post_body,
2348
- :auth_names => auth_names,
2349
- :return_type => 'EmailConversation')
2350
+ :auth_names => auth_names)
2350
2351
  if @api_client.config.debugging
2351
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2352
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2352
2353
  end
2353
2354
  return data, status_code, headers
2354
2355
  end
2355
2356
 
2356
- # Get conversation messages
2357
+ # Update conversation participant
2357
2358
  #
2358
2359
  # @param email_id
2360
+ # @param participant_id
2359
2361
  # @param [Hash] opts the optional parameters
2360
- # @return [EmailMessageListing]
2361
- def get_emails_email_id_messages(email_id, opts = {})
2362
- data, status_code, headers = get_emails_email_id_messages_with_http_info(email_id, opts)
2363
- return data
2362
+ # @option opts [MediaParticipantRequest] :body
2363
+ # @return [nil]
2364
+ def patch_emails_email_id_participants_participant_id(email_id, participant_id, opts = {})
2365
+ patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts)
2366
+ return nil
2364
2367
  end
2365
2368
 
2366
- # Get conversation messages
2369
+ # Update conversation participant
2367
2370
  #
2368
2371
  # @param email_id
2372
+ # @param participant_id
2369
2373
  # @param [Hash] opts the optional parameters
2370
- # @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
2371
- def get_emails_email_id_messages_with_http_info(email_id, opts = {})
2374
+ # @option opts [MediaParticipantRequest] :body
2375
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2376
+ def patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts = {})
2372
2377
  if @api_client.config.debugging
2373
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages ..."
2378
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id ..."
2374
2379
  end
2375
2380
 
2376
2381
  # verify the required parameter 'email_id' is set
2377
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages" if email_id.nil?
2382
+ fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id" if email_id.nil?
2383
+
2384
+ # verify the required parameter 'participant_id' is set
2385
+ fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id" if participant_id.nil?
2378
2386
 
2379
2387
  # resource path
2380
- path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
2388
+ local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2381
2389
 
2382
2390
  # query parameters
2383
2391
  query_params = {}
@@ -2397,50 +2405,53 @@ module PureCloud
2397
2405
  form_params = {}
2398
2406
 
2399
2407
  # http body (model)
2400
- post_body = nil
2408
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2401
2409
 
2402
-
2403
2410
  auth_names = ['PureCloud Auth']
2404
- data, status_code, headers = @api_client.call_api(:GET, path,
2411
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2405
2412
  :header_params => header_params,
2406
2413
  :query_params => query_params,
2407
2414
  :form_params => form_params,
2408
2415
  :body => post_body,
2409
- :auth_names => auth_names,
2410
- :return_type => 'EmailMessageListing')
2416
+ :auth_names => auth_names)
2411
2417
  if @api_client.config.debugging
2412
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2418
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2413
2419
  end
2414
2420
  return data, status_code, headers
2415
2421
  end
2416
2422
 
2417
- # Send an email reply
2423
+ # Update the attributes on a conversation participant.
2418
2424
  #
2419
2425
  # @param email_id
2426
+ # @param participant_id
2420
2427
  # @param [Hash] opts the optional parameters
2421
- # @option opts [EmailMessage] :body Reply
2422
- # @return [EmailMessage]
2423
- def post_emails_email_id_messages(email_id, opts = {})
2424
- data, status_code, headers = post_emails_email_id_messages_with_http_info(email_id, opts)
2425
- return data
2428
+ # @option opts [ParticipantAttributes] :body
2429
+ # @return [nil]
2430
+ def patch_emails_email_id_participants_participant_id_attributes(email_id, participant_id, opts = {})
2431
+ patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts)
2432
+ return nil
2426
2433
  end
2427
2434
 
2428
- # Send an email reply
2435
+ # Update the attributes on a conversation participant.
2429
2436
  #
2430
2437
  # @param email_id
2438
+ # @param participant_id
2431
2439
  # @param [Hash] opts the optional parameters
2432
- # @option opts [EmailMessage] :body Reply
2433
- # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
2434
- def post_emails_email_id_messages_with_http_info(email_id, opts = {})
2440
+ # @option opts [ParticipantAttributes] :body
2441
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2442
+ def patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts = {})
2435
2443
  if @api_client.config.debugging
2436
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_messages ..."
2444
+ @api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes ..."
2437
2445
  end
2438
2446
 
2439
2447
  # verify the required parameter 'email_id' is set
2440
- fail "Missing the required parameter 'email_id' when calling post_emails_email_id_messages" if email_id.nil?
2448
+ fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id_attributes" if email_id.nil?
2449
+
2450
+ # verify the required parameter 'participant_id' is set
2451
+ fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id_attributes" if participant_id.nil?
2441
2452
 
2442
2453
  # resource path
2443
- path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
2454
+ local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2444
2455
 
2445
2456
  # query parameters
2446
2457
  query_params = {}
@@ -2462,46 +2473,51 @@ module PureCloud
2462
2473
  # http body (model)
2463
2474
  post_body = @api_client.object_to_http_body(opts[:'body'])
2464
2475
 
2465
-
2466
2476
  auth_names = ['PureCloud Auth']
2467
- data, status_code, headers = @api_client.call_api(:POST, path,
2477
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
2468
2478
  :header_params => header_params,
2469
2479
  :query_params => query_params,
2470
2480
  :form_params => form_params,
2471
2481
  :body => post_body,
2472
- :auth_names => auth_names,
2473
- :return_type => 'EmailMessage')
2482
+ :auth_names => auth_names)
2474
2483
  if @api_client.config.debugging
2475
- @api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2484
+ @api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2476
2485
  end
2477
2486
  return data, status_code, headers
2478
2487
  end
2479
2488
 
2480
- # Get conversation draft reply
2489
+ # Replace this participant with the specified user and/or address
2481
2490
  #
2482
- # @param email_id
2491
+ # @param callback_id
2492
+ # @param participant_id
2483
2493
  # @param [Hash] opts the optional parameters
2484
- # @return [EmailMessage]
2485
- def get_emails_email_id_messages_draft(email_id, opts = {})
2486
- data, status_code, headers = get_emails_email_id_messages_draft_with_http_info(email_id, opts)
2487
- return data
2494
+ # @option opts [TransferRequest] :body
2495
+ # @return [nil]
2496
+ def post_callbacks_callback_id_participants_participant_id_replace(callback_id, participant_id, opts = {})
2497
+ post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts)
2498
+ return nil
2488
2499
  end
2489
2500
 
2490
- # Get conversation draft reply
2501
+ # Replace this participant with the specified user and/or address
2491
2502
  #
2492
- # @param email_id
2503
+ # @param callback_id
2504
+ # @param participant_id
2493
2505
  # @param [Hash] opts the optional parameters
2494
- # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
2495
- def get_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
2506
+ # @option opts [TransferRequest] :body
2507
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2508
+ def post_callbacks_callback_id_participants_participant_id_replace_with_http_info(callback_id, participant_id, opts = {})
2496
2509
  if @api_client.config.debugging
2497
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_draft ..."
2510
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace ..."
2498
2511
  end
2499
2512
 
2500
- # verify the required parameter 'email_id' is set
2501
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_draft" if email_id.nil?
2513
+ # verify the required parameter 'callback_id' is set
2514
+ fail "Missing the required parameter 'callback_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if callback_id.nil?
2515
+
2516
+ # verify the required parameter 'participant_id' is set
2517
+ fail "Missing the required parameter 'participant_id' when calling post_callbacks_callback_id_participants_participant_id_replace" if participant_id.nil?
2502
2518
 
2503
2519
  # resource path
2504
- path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
2520
+ local_var_path = "/api/v2/conversations/callbacks/{callbackId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callbackId' + '}', callback_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2505
2521
 
2506
2522
  # query parameters
2507
2523
  query_params = {}
@@ -2521,50 +2537,43 @@ module PureCloud
2521
2537
  form_params = {}
2522
2538
 
2523
2539
  # http body (model)
2524
- post_body = nil
2540
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2525
2541
 
2526
-
2527
2542
  auth_names = ['PureCloud Auth']
2528
- data, status_code, headers = @api_client.call_api(:GET, path,
2543
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2529
2544
  :header_params => header_params,
2530
2545
  :query_params => query_params,
2531
2546
  :form_params => form_params,
2532
2547
  :body => post_body,
2533
- :auth_names => auth_names,
2534
- :return_type => 'EmailMessage')
2548
+ :auth_names => auth_names)
2535
2549
  if @api_client.config.debugging
2536
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2550
+ @api_client.config.logger.debug "API called: ConversationsApi#post_callbacks_callback_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2537
2551
  end
2538
2552
  return data, status_code, headers
2539
2553
  end
2540
2554
 
2541
- # Update conversation draft reply
2555
+ # Create a call conversation
2542
2556
  #
2543
- # @param email_id
2544
2557
  # @param [Hash] opts the optional parameters
2545
- # @option opts [EmailMessage] :body Draft
2546
- # @return [EmailMessage]
2547
- def put_emails_email_id_messages_draft(email_id, opts = {})
2548
- data, status_code, headers = put_emails_email_id_messages_draft_with_http_info(email_id, opts)
2558
+ # @option opts [CreateCallRequest] :body
2559
+ # @return [CreateCallResponse]
2560
+ def post_calls(opts = {})
2561
+ data, status_code, headers = post_calls_with_http_info(opts)
2549
2562
  return data
2550
2563
  end
2551
2564
 
2552
- # Update conversation draft reply
2565
+ # Create a call conversation
2553
2566
  #
2554
- # @param email_id
2555
2567
  # @param [Hash] opts the optional parameters
2556
- # @option opts [EmailMessage] :body Draft
2557
- # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
2558
- def put_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
2568
+ # @option opts [CreateCallRequest] :body
2569
+ # @return [Array<(CreateCallResponse, Fixnum, Hash)>] CreateCallResponse data, response status code and response headers
2570
+ def post_calls_with_http_info(opts = {})
2559
2571
  if @api_client.config.debugging
2560
- @api_client.config.logger.debug "Calling API: ConversationsApi#put_emails_email_id_messages_draft ..."
2572
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls ..."
2561
2573
  end
2562
2574
 
2563
- # verify the required parameter 'email_id' is set
2564
- fail "Missing the required parameter 'email_id' when calling put_emails_email_id_messages_draft" if email_id.nil?
2565
-
2566
2575
  # resource path
2567
- path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
2576
+ local_var_path = "/api/v2/conversations/calls".sub('{format}','json')
2568
2577
 
2569
2578
  # query parameters
2570
2579
  query_params = {}
@@ -2586,51 +2595,47 @@ module PureCloud
2586
2595
  # http body (model)
2587
2596
  post_body = @api_client.object_to_http_body(opts[:'body'])
2588
2597
 
2589
-
2590
2598
  auth_names = ['PureCloud Auth']
2591
- data, status_code, headers = @api_client.call_api(:PUT, path,
2599
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2592
2600
  :header_params => header_params,
2593
2601
  :query_params => query_params,
2594
2602
  :form_params => form_params,
2595
2603
  :body => post_body,
2596
2604
  :auth_names => auth_names,
2597
- :return_type => 'EmailMessage')
2605
+ :return_type => 'CreateCallResponse')
2598
2606
  if @api_client.config.debugging
2599
- @api_client.config.logger.debug "API called: ConversationsApi#put_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2607
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2600
2608
  end
2601
2609
  return data, status_code, headers
2602
2610
  end
2603
2611
 
2604
- # Delete attachment from draft
2612
+ # Add a new call to a conversation
2605
2613
  #
2606
- # @param email_id
2607
- # @param attachment_id
2614
+ # @param call_id
2608
2615
  # @param [Hash] opts the optional parameters
2609
- # @return [String]
2610
- def delete_emails_email_id_messages_draft_attachments_attachment_id(email_id, attachment_id, opts = {})
2611
- data, status_code, headers = delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts)
2616
+ # @option opts [CallCommand] :body Conversation
2617
+ # @return [Conversation]
2618
+ def post_calls_call_id(call_id, opts = {})
2619
+ data, status_code, headers = post_calls_call_id_with_http_info(call_id, opts)
2612
2620
  return data
2613
2621
  end
2614
2622
 
2615
- # Delete attachment from draft
2623
+ # Add a new call to a conversation
2616
2624
  #
2617
- # @param email_id
2618
- # @param attachment_id
2625
+ # @param call_id
2619
2626
  # @param [Hash] opts the optional parameters
2620
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2621
- def delete_emails_email_id_messages_draft_attachments_attachment_id_with_http_info(email_id, attachment_id, opts = {})
2627
+ # @option opts [CallCommand] :body Conversation
2628
+ # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
2629
+ def post_calls_call_id_with_http_info(call_id, opts = {})
2622
2630
  if @api_client.config.debugging
2623
- @api_client.config.logger.debug "Calling API: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id ..."
2624
- end
2625
-
2626
- # verify the required parameter 'email_id' is set
2627
- fail "Missing the required parameter 'email_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if email_id.nil?
2631
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id ..."
2632
+ end
2628
2633
 
2629
- # verify the required parameter 'attachment_id' is set
2630
- fail "Missing the required parameter 'attachment_id' when calling delete_emails_email_id_messages_draft_attachments_attachment_id" if attachment_id.nil?
2634
+ # verify the required parameter 'call_id' is set
2635
+ fail "Missing the required parameter 'call_id' when calling post_calls_call_id" if call_id.nil?
2631
2636
 
2632
2637
  # resource path
2633
- path = "/api/v2/conversations/emails/{emailId}/messages/draft/attachments/{attachmentId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'attachmentId' + '}', attachment_id.to_s)
2638
+ local_var_path = "/api/v2/conversations/calls/{callId}".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
2634
2639
 
2635
2640
  # query parameters
2636
2641
  query_params = {}
@@ -2650,53 +2655,49 @@ module PureCloud
2650
2655
  form_params = {}
2651
2656
 
2652
2657
  # http body (model)
2653
- post_body = nil
2658
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2654
2659
 
2655
-
2656
2660
  auth_names = ['PureCloud Auth']
2657
- data, status_code, headers = @api_client.call_api(:DELETE, path,
2661
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2658
2662
  :header_params => header_params,
2659
2663
  :query_params => query_params,
2660
2664
  :form_params => form_params,
2661
2665
  :body => post_body,
2662
2666
  :auth_names => auth_names,
2663
- :return_type => 'String')
2667
+ :return_type => 'Conversation')
2664
2668
  if @api_client.config.debugging
2665
- @api_client.config.logger.debug "API called: ConversationsApi#delete_emails_email_id_messages_draft_attachments_attachment_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2669
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2666
2670
  end
2667
2671
  return data, status_code, headers
2668
2672
  end
2669
2673
 
2670
- # Get conversation message
2674
+ # Add participants to a conversation
2671
2675
  #
2672
- # @param email_id
2673
- # @param message_id
2676
+ # @param call_id
2674
2677
  # @param [Hash] opts the optional parameters
2675
- # @return [EmailMessage]
2676
- def get_emails_email_id_messages_message_id(email_id, message_id, opts = {})
2677
- data, status_code, headers = get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts)
2678
+ # @option opts [Conversation] :body Conversation
2679
+ # @return [Conversation]
2680
+ def post_calls_call_id_participants(call_id, opts = {})
2681
+ data, status_code, headers = post_calls_call_id_participants_with_http_info(call_id, opts)
2678
2682
  return data
2679
2683
  end
2680
2684
 
2681
- # Get conversation message
2685
+ # Add participants to a conversation
2682
2686
  #
2683
- # @param email_id
2684
- # @param message_id
2687
+ # @param call_id
2685
2688
  # @param [Hash] opts the optional parameters
2686
- # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
2687
- def get_emails_email_id_messages_message_id_with_http_info(email_id, message_id, opts = {})
2689
+ # @option opts [Conversation] :body Conversation
2690
+ # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
2691
+ def post_calls_call_id_participants_with_http_info(call_id, opts = {})
2688
2692
  if @api_client.config.debugging
2689
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_messages_message_id ..."
2693
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants ..."
2690
2694
  end
2691
2695
 
2692
- # verify the required parameter 'email_id' is set
2693
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id_messages_message_id" if email_id.nil?
2694
-
2695
- # verify the required parameter 'message_id' is set
2696
- fail "Missing the required parameter 'message_id' when calling get_emails_email_id_messages_message_id" if message_id.nil?
2696
+ # verify the required parameter 'call_id' is set
2697
+ fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants" if call_id.nil?
2697
2698
 
2698
2699
  # resource path
2699
- path = "/api/v2/conversations/emails/{emailId}/messages/{messageId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'messageId' + '}', message_id.to_s)
2700
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s)
2700
2701
 
2701
2702
  # query parameters
2702
2703
  query_params = {}
@@ -2716,55 +2717,54 @@ module PureCloud
2716
2717
  form_params = {}
2717
2718
 
2718
2719
  # http body (model)
2719
- post_body = nil
2720
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2720
2721
 
2721
-
2722
2722
  auth_names = ['PureCloud Auth']
2723
- data, status_code, headers = @api_client.call_api(:GET, path,
2723
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2724
2724
  :header_params => header_params,
2725
2725
  :query_params => query_params,
2726
2726
  :form_params => form_params,
2727
2727
  :body => post_body,
2728
2728
  :auth_names => auth_names,
2729
- :return_type => 'EmailMessage')
2729
+ :return_type => 'Conversation')
2730
2730
  if @api_client.config.debugging
2731
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_messages_message_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2731
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2732
2732
  end
2733
2733
  return data, status_code, headers
2734
2734
  end
2735
2735
 
2736
- # Update conversation participant
2736
+ # Initiate and update consult transfer
2737
2737
  #
2738
- # @param email_id
2738
+ # @param call_id
2739
2739
  # @param participant_id
2740
2740
  # @param [Hash] opts the optional parameters
2741
- # @option opts [MediaParticipantRequest] :body
2742
- # @return [nil]
2743
- def patch_emails_email_id_participants_participant_id(email_id, participant_id, opts = {})
2744
- patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts)
2745
- return nil
2741
+ # @option opts [ConsultTransfer] :body Destination address &amp; initial speak to
2742
+ # @return [ConsultTransferResponse]
2743
+ def post_calls_call_id_participants_participant_id_consult(call_id, participant_id, opts = {})
2744
+ data, status_code, headers = post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts)
2745
+ return data
2746
2746
  end
2747
2747
 
2748
- # Update conversation participant
2748
+ # Initiate and update consult transfer
2749
2749
  #
2750
- # @param email_id
2750
+ # @param call_id
2751
2751
  # @param participant_id
2752
2752
  # @param [Hash] opts the optional parameters
2753
- # @option opts [MediaParticipantRequest] :body
2754
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2755
- def patch_emails_email_id_participants_participant_id_with_http_info(email_id, participant_id, opts = {})
2753
+ # @option opts [ConsultTransfer] :body Destination address &amp; initial speak to
2754
+ # @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
2755
+ def post_calls_call_id_participants_participant_id_consult_with_http_info(call_id, participant_id, opts = {})
2756
2756
  if @api_client.config.debugging
2757
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id ..."
2757
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_consult ..."
2758
2758
  end
2759
2759
 
2760
- # verify the required parameter 'email_id' is set
2761
- fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id" if email_id.nil?
2760
+ # verify the required parameter 'call_id' is set
2761
+ fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_consult" if call_id.nil?
2762
2762
 
2763
2763
  # verify the required parameter 'participant_id' is set
2764
- fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id" if participant_id.nil?
2764
+ fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_consult" if participant_id.nil?
2765
2765
 
2766
2766
  # resource path
2767
- path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2767
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2768
2768
 
2769
2769
  # query parameters
2770
2770
  query_params = {}
@@ -2786,52 +2786,50 @@ module PureCloud
2786
2786
  # http body (model)
2787
2787
  post_body = @api_client.object_to_http_body(opts[:'body'])
2788
2788
 
2789
-
2790
2789
  auth_names = ['PureCloud Auth']
2791
- data, status_code, headers = @api_client.call_api(:PATCH, path,
2790
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2792
2791
  :header_params => header_params,
2793
2792
  :query_params => query_params,
2794
2793
  :form_params => form_params,
2795
2794
  :body => post_body,
2796
- :auth_names => auth_names)
2795
+ :auth_names => auth_names,
2796
+ :return_type => 'ConsultTransferResponse')
2797
2797
  if @api_client.config.debugging
2798
- @api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2798
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_consult\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2799
2799
  end
2800
2800
  return data, status_code, headers
2801
2801
  end
2802
2802
 
2803
- # Update the attributes on a conversation participant.
2803
+ # Listen in on the conversation from the point of view of a given participant.
2804
2804
  #
2805
- # @param email_id
2805
+ # @param call_id
2806
2806
  # @param participant_id
2807
2807
  # @param [Hash] opts the optional parameters
2808
- # @option opts [ParticipantAttributes] :body
2809
2808
  # @return [nil]
2810
- def patch_emails_email_id_participants_participant_id_attributes(email_id, participant_id, opts = {})
2811
- patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts)
2809
+ def post_calls_call_id_participants_participant_id_monitor(call_id, participant_id, opts = {})
2810
+ post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts)
2812
2811
  return nil
2813
2812
  end
2814
2813
 
2815
- # Update the attributes on a conversation participant.
2814
+ # Listen in on the conversation from the point of view of a given participant.
2816
2815
  #
2817
- # @param email_id
2816
+ # @param call_id
2818
2817
  # @param participant_id
2819
2818
  # @param [Hash] opts the optional parameters
2820
- # @option opts [ParticipantAttributes] :body
2821
2819
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2822
- def patch_emails_email_id_participants_participant_id_attributes_with_http_info(email_id, participant_id, opts = {})
2820
+ def post_calls_call_id_participants_participant_id_monitor_with_http_info(call_id, participant_id, opts = {})
2823
2821
  if @api_client.config.debugging
2824
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes ..."
2822
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_monitor ..."
2825
2823
  end
2826
2824
 
2827
- # verify the required parameter 'email_id' is set
2828
- fail "Missing the required parameter 'email_id' when calling patch_emails_email_id_participants_participant_id_attributes" if email_id.nil?
2825
+ # verify the required parameter 'call_id' is set
2826
+ fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_monitor" if call_id.nil?
2829
2827
 
2830
2828
  # verify the required parameter 'participant_id' is set
2831
- fail "Missing the required parameter 'participant_id' when calling patch_emails_email_id_participants_participant_id_attributes" if participant_id.nil?
2829
+ fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_monitor" if participant_id.nil?
2832
2830
 
2833
2831
  # resource path
2834
- path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2832
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/monitor".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2835
2833
 
2836
2834
  # query parameters
2837
2835
  query_params = {}
@@ -2851,54 +2849,53 @@ module PureCloud
2851
2849
  form_params = {}
2852
2850
 
2853
2851
  # http body (model)
2854
- post_body = @api_client.object_to_http_body(opts[:'body'])
2852
+ post_body = nil
2855
2853
 
2856
-
2857
2854
  auth_names = ['PureCloud Auth']
2858
- data, status_code, headers = @api_client.call_api(:PATCH, path,
2855
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2859
2856
  :header_params => header_params,
2860
2857
  :query_params => query_params,
2861
2858
  :form_params => form_params,
2862
2859
  :body => post_body,
2863
2860
  :auth_names => auth_names)
2864
2861
  if @api_client.config.debugging
2865
- @api_client.config.logger.debug "API called: ConversationsApi#patch_emails_email_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2862
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_monitor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2866
2863
  end
2867
2864
  return data, status_code, headers
2868
2865
  end
2869
2866
 
2870
2867
  # Replace this participant with the specified user and/or address
2871
2868
  #
2872
- # @param email_id
2869
+ # @param call_id
2873
2870
  # @param participant_id
2874
2871
  # @param [Hash] opts the optional parameters
2875
2872
  # @option opts [TransferRequest] :body
2876
2873
  # @return [nil]
2877
- def post_emails_email_id_participants_participant_id_replace(email_id, participant_id, opts = {})
2878
- post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts)
2874
+ def post_calls_call_id_participants_participant_id_replace(call_id, participant_id, opts = {})
2875
+ post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts)
2879
2876
  return nil
2880
2877
  end
2881
2878
 
2882
2879
  # Replace this participant with the specified user and/or address
2883
2880
  #
2884
- # @param email_id
2881
+ # @param call_id
2885
2882
  # @param participant_id
2886
2883
  # @param [Hash] opts the optional parameters
2887
2884
  # @option opts [TransferRequest] :body
2888
2885
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2889
- def post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts = {})
2886
+ def post_calls_call_id_participants_participant_id_replace_with_http_info(call_id, participant_id, opts = {})
2890
2887
  if @api_client.config.debugging
2891
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_participants_participant_id_replace ..."
2888
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_calls_call_id_participants_participant_id_replace ..."
2892
2889
  end
2893
2890
 
2894
- # verify the required parameter 'email_id' is set
2895
- fail "Missing the required parameter 'email_id' when calling post_emails_email_id_participants_participant_id_replace" if email_id.nil?
2891
+ # verify the required parameter 'call_id' is set
2892
+ fail "Missing the required parameter 'call_id' when calling post_calls_call_id_participants_participant_id_replace" if call_id.nil?
2896
2893
 
2897
2894
  # verify the required parameter 'participant_id' is set
2898
- fail "Missing the required parameter 'participant_id' when calling post_emails_email_id_participants_participant_id_replace" if participant_id.nil?
2895
+ fail "Missing the required parameter 'participant_id' when calling post_calls_call_id_participants_participant_id_replace" if participant_id.nil?
2899
2896
 
2900
2897
  # resource path
2901
- path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2898
+ local_var_path = "/api/v2/conversations/calls/{callId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'callId' + '}', call_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2902
2899
 
2903
2900
  # query parameters
2904
2901
  query_params = {}
@@ -2920,56 +2917,54 @@ module PureCloud
2920
2917
  # http body (model)
2921
2918
  post_body = @api_client.object_to_http_body(opts[:'body'])
2922
2919
 
2923
-
2924
2920
  auth_names = ['PureCloud Auth']
2925
- data, status_code, headers = @api_client.call_api(:POST, path,
2921
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2926
2922
  :header_params => header_params,
2927
2923
  :query_params => query_params,
2928
2924
  :form_params => form_params,
2929
2925
  :body => post_body,
2930
2926
  :auth_names => auth_names)
2931
2927
  if @api_client.config.debugging
2932
- @api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2928
+ @api_client.config.logger.debug "API called: ConversationsApi#post_calls_call_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2933
2929
  end
2934
2930
  return data, status_code, headers
2935
2931
  end
2936
2932
 
2937
- # Get the wrap-up for this conversation participant.
2933
+ # Replace this participant with the specified user and/or address
2938
2934
  #
2939
- # @param email_id
2935
+ # @param chat_id
2940
2936
  # @param participant_id
2941
2937
  # @param [Hash] opts the optional parameters
2942
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
2943
- # @return [WrapupCode]
2944
- def get_emails_email_id_participants_participant_id_wrapup(email_id, participant_id, opts = {})
2945
- data, status_code, headers = get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts)
2946
- return data
2938
+ # @option opts [TransferRequest] :body
2939
+ # @return [nil]
2940
+ def post_chats_chat_id_participants_participant_id_replace(chat_id, participant_id, opts = {})
2941
+ post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts)
2942
+ return nil
2947
2943
  end
2948
2944
 
2949
- # Get the wrap-up for this conversation participant.
2945
+ # Replace this participant with the specified user and/or address
2950
2946
  #
2951
- # @param email_id
2947
+ # @param chat_id
2952
2948
  # @param participant_id
2953
2949
  # @param [Hash] opts the optional parameters
2954
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
2955
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
2956
- def get_emails_email_id_participants_participant_id_wrapup_with_http_info(email_id, participant_id, opts = {})
2950
+ # @option opts [TransferRequest] :body
2951
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2952
+ def post_chats_chat_id_participants_participant_id_replace_with_http_info(chat_id, participant_id, opts = {})
2957
2953
  if @api_client.config.debugging
2958
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup ..."
2954
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_chats_chat_id_participants_participant_id_replace ..."
2959
2955
  end
2960
2956
 
2961
- # verify the required parameter 'email_id' is set
2962
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapup" if email_id.nil?
2957
+ # verify the required parameter 'chat_id' is set
2958
+ fail "Missing the required parameter 'chat_id' when calling post_chats_chat_id_participants_participant_id_replace" if chat_id.nil?
2963
2959
 
2964
2960
  # verify the required parameter 'participant_id' is set
2965
- fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapup" if participant_id.nil?
2961
+ fail "Missing the required parameter 'participant_id' when calling post_chats_chat_id_participants_participant_id_replace" if participant_id.nil?
2966
2962
 
2967
2963
  # resource path
2968
- path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2964
+ local_var_path = "/api/v2/conversations/chats/{chatId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'chatId' + '}', chat_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
2969
2965
 
2970
2966
  # query parameters
2971
2967
  query_params = {}
2972
- query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
2973
2968
 
2974
2969
  # header parameters
2975
2970
  header_params = {}
@@ -2986,53 +2981,53 @@ module PureCloud
2986
2981
  form_params = {}
2987
2982
 
2988
2983
  # http body (model)
2989
- post_body = nil
2984
+ post_body = @api_client.object_to_http_body(opts[:'body'])
2990
2985
 
2991
-
2992
2986
  auth_names = ['PureCloud Auth']
2993
- data, status_code, headers = @api_client.call_api(:GET, path,
2987
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2994
2988
  :header_params => header_params,
2995
2989
  :query_params => query_params,
2996
2990
  :form_params => form_params,
2997
2991
  :body => post_body,
2998
- :auth_names => auth_names,
2999
- :return_type => 'WrapupCode')
2992
+ :auth_names => auth_names)
3000
2993
  if @api_client.config.debugging
3001
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2994
+ @api_client.config.logger.debug "API called: ConversationsApi#post_chats_chat_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3002
2995
  end
3003
2996
  return data, status_code, headers
3004
2997
  end
3005
2998
 
3006
- # Get list of wrapup codes for this conversation participant
2999
+ # Create a new callback for the specified participant on the conversation.
3007
3000
  #
3008
- # @param email_id
3009
- # @param participant_id
3001
+ # @param conversation_id conversation ID
3002
+ # @param participant_id participant ID
3010
3003
  # @param [Hash] opts the optional parameters
3011
- # @return [WrapupCode]
3012
- def get_emails_email_id_participants_participant_id_wrapupcodes(email_id, participant_id, opts = {})
3013
- data, status_code, headers = get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts)
3014
- return data
3004
+ # @option opts [CreateCallbackCommand] :body
3005
+ # @return [nil]
3006
+ def post_conversation_id_participants_participant_id_callbacks(conversation_id, participant_id, opts = {})
3007
+ post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts)
3008
+ return nil
3015
3009
  end
3016
3010
 
3017
- # Get list of wrapup codes for this conversation participant
3011
+ # Create a new callback for the specified participant on the conversation.
3018
3012
  #
3019
- # @param email_id
3020
- # @param participant_id
3013
+ # @param conversation_id conversation ID
3014
+ # @param participant_id participant ID
3021
3015
  # @param [Hash] opts the optional parameters
3022
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
3023
- def get_emails_email_id_participants_participant_id_wrapupcodes_with_http_info(email_id, participant_id, opts = {})
3016
+ # @option opts [CreateCallbackCommand] :body
3017
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3018
+ def post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts = {})
3024
3019
  if @api_client.config.debugging
3025
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes ..."
3020
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_callbacks ..."
3026
3021
  end
3027
3022
 
3028
- # verify the required parameter 'email_id' is set
3029
- fail "Missing the required parameter 'email_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if email_id.nil?
3023
+ # verify the required parameter 'conversation_id' is set
3024
+ fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_callbacks" if conversation_id.nil?
3030
3025
 
3031
3026
  # verify the required parameter 'participant_id' is set
3032
- fail "Missing the required parameter 'participant_id' when calling get_emails_email_id_participants_participant_id_wrapupcodes" if participant_id.nil?
3027
+ fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_callbacks" if participant_id.nil?
3033
3028
 
3034
3029
  # resource path
3035
- path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3030
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3036
3031
 
3037
3032
  # query parameters
3038
3033
  query_params = {}
@@ -3052,45 +3047,53 @@ module PureCloud
3052
3047
  form_params = {}
3053
3048
 
3054
3049
  # http body (model)
3055
- post_body = nil
3050
+ post_body = @api_client.object_to_http_body(opts[:'body'])
3056
3051
 
3057
-
3058
3052
  auth_names = ['PureCloud Auth']
3059
- data, status_code, headers = @api_client.call_api(:GET, path,
3053
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3060
3054
  :header_params => header_params,
3061
3055
  :query_params => query_params,
3062
3056
  :form_params => form_params,
3063
3057
  :body => post_body,
3064
- :auth_names => auth_names,
3065
- :return_type => 'WrapupCode')
3058
+ :auth_names => auth_names)
3066
3059
  if @api_client.config.debugging
3067
- @api_client.config.logger.debug "API called: ConversationsApi#get_emails_email_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3060
+ @api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3068
3061
  end
3069
3062
  return data, status_code, headers
3070
3063
  end
3071
3064
 
3072
- # Create Fax Conversation
3065
+ # Replace this participant with the specified user and/or address
3073
3066
  #
3067
+ # @param conversation_id conversation ID
3068
+ # @param participant_id participant ID
3074
3069
  # @param [Hash] opts the optional parameters
3075
- # @option opts [FaxSendRequest] :body Fax
3076
- # @return [FaxSendResponse]
3077
- def post_faxes(opts = {})
3078
- data, status_code, headers = post_faxes_with_http_info(opts)
3079
- return data
3070
+ # @option opts [TransferRequest] :body
3071
+ # @return [nil]
3072
+ def post_conversation_id_participants_participant_id_replace(conversation_id, participant_id, opts = {})
3073
+ post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts)
3074
+ return nil
3080
3075
  end
3081
3076
 
3082
- # Create Fax Conversation
3077
+ # Replace this participant with the specified user and/or address
3083
3078
  #
3079
+ # @param conversation_id conversation ID
3080
+ # @param participant_id participant ID
3084
3081
  # @param [Hash] opts the optional parameters
3085
- # @option opts [FaxSendRequest] :body Fax
3086
- # @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
3087
- def post_faxes_with_http_info(opts = {})
3082
+ # @option opts [TransferRequest] :body
3083
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3084
+ def post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts = {})
3088
3085
  if @api_client.config.debugging
3089
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_faxes ..."
3086
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_replace ..."
3090
3087
  end
3091
3088
 
3089
+ # verify the required parameter 'conversation_id' is set
3090
+ fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_replace" if conversation_id.nil?
3091
+
3092
+ # verify the required parameter 'participant_id' is set
3093
+ fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_replace" if participant_id.nil?
3094
+
3092
3095
  # resource path
3093
- path = "/api/v2/conversations/faxes".sub('{format}','json')
3096
+ local_var_path = "/api/v2/conversations/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3094
3097
 
3095
3098
  # query parameters
3096
3099
  query_params = {}
@@ -3112,46 +3115,41 @@ module PureCloud
3112
3115
  # http body (model)
3113
3116
  post_body = @api_client.object_to_http_body(opts[:'body'])
3114
3117
 
3115
-
3116
3118
  auth_names = ['PureCloud Auth']
3117
- data, status_code, headers = @api_client.call_api(:POST, path,
3119
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3118
3120
  :header_params => header_params,
3119
3121
  :query_params => query_params,
3120
3122
  :form_params => form_params,
3121
3123
  :body => post_body,
3122
- :auth_names => auth_names,
3123
- :return_type => 'FaxSendResponse')
3124
+ :auth_names => auth_names)
3124
3125
  if @api_client.config.debugging
3125
- @api_client.config.logger.debug "API called: ConversationsApi#post_faxes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3126
+ @api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3126
3127
  end
3127
3128
  return data, status_code, headers
3128
3129
  end
3129
3130
 
3130
- # Get conversation
3131
+ # Query for conversation aggregates
3131
3132
  #
3132
- # @param conversation_id conversation ID
3133
3133
  # @param [Hash] opts the optional parameters
3134
- # @return [Conversation]
3135
- def get_conversation_id(conversation_id, opts = {})
3136
- data, status_code, headers = get_conversation_id_with_http_info(conversation_id, opts)
3134
+ # @option opts [AggregationQuery] :body query
3135
+ # @return [AggregateQueryResponse]
3136
+ def post_conversations_aggregates_query(opts = {})
3137
+ data, status_code, headers = post_conversations_aggregates_query_with_http_info(opts)
3137
3138
  return data
3138
3139
  end
3139
3140
 
3140
- # Get conversation
3141
+ # Query for conversation aggregates
3141
3142
  #
3142
- # @param conversation_id conversation ID
3143
3143
  # @param [Hash] opts the optional parameters
3144
- # @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
3145
- def get_conversation_id_with_http_info(conversation_id, opts = {})
3144
+ # @option opts [AggregationQuery] :body query
3145
+ # @return [Array<(AggregateQueryResponse, Fixnum, Hash)>] AggregateQueryResponse data, response status code and response headers
3146
+ def post_conversations_aggregates_query_with_http_info(opts = {})
3146
3147
  if @api_client.config.debugging
3147
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id ..."
3148
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_aggregates_query ..."
3148
3149
  end
3149
3150
 
3150
- # verify the required parameter 'conversation_id' is set
3151
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_id" if conversation_id.nil?
3152
-
3153
3151
  # resource path
3154
- path = "/api/v2/conversations/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
3152
+ local_var_path = "/api/v2/analytics/conversations/aggregates/query".sub('{format}','json')
3155
3153
 
3156
3154
  # query parameters
3157
3155
  query_params = {}
@@ -3171,55 +3169,49 @@ module PureCloud
3171
3169
  form_params = {}
3172
3170
 
3173
3171
  # http body (model)
3174
- post_body = nil
3172
+ post_body = @api_client.object_to_http_body(opts[:'body'])
3175
3173
 
3176
-
3177
3174
  auth_names = ['PureCloud Auth']
3178
- data, status_code, headers = @api_client.call_api(:GET, path,
3175
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3179
3176
  :header_params => header_params,
3180
3177
  :query_params => query_params,
3181
3178
  :form_params => form_params,
3182
3179
  :body => post_body,
3183
3180
  :auth_names => auth_names,
3184
- :return_type => 'Conversation')
3181
+ :return_type => 'AggregateQueryResponse')
3185
3182
  if @api_client.config.debugging
3186
- @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3183
+ @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3187
3184
  end
3188
3185
  return data, status_code, headers
3189
3186
  end
3190
3187
 
3191
- # Update a participant.
3192
- # Update conversation participant.
3193
- # @param conversation_id conversation ID
3194
- # @param participant_id participant ID
3188
+ # Index conversation properties
3189
+ #
3190
+ # @param conversation_id conversationId
3195
3191
  # @param [Hash] opts the optional parameters
3196
- # @option opts [MediaParticipantRequest] :body
3197
- # @return [nil]
3198
- def patch_conversation_id_participants_participant_id(conversation_id, participant_id, opts = {})
3199
- patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts)
3200
- return nil
3192
+ # @option opts [PropertyIndexRequest] :body request
3193
+ # @return [PropertyIndexRequest]
3194
+ def post_conversations_conversation_id_details_properties(conversation_id, opts = {})
3195
+ data, status_code, headers = post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts)
3196
+ return data
3201
3197
  end
3202
3198
 
3203
- # Update a participant.
3204
- # Update conversation participant.
3205
- # @param conversation_id conversation ID
3206
- # @param participant_id participant ID
3199
+ # Index conversation properties
3200
+ #
3201
+ # @param conversation_id conversationId
3207
3202
  # @param [Hash] opts the optional parameters
3208
- # @option opts [MediaParticipantRequest] :body
3209
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3210
- def patch_conversation_id_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {})
3203
+ # @option opts [PropertyIndexRequest] :body request
3204
+ # @return [Array<(PropertyIndexRequest, Fixnum, Hash)>] PropertyIndexRequest data, response status code and response headers
3205
+ def post_conversations_conversation_id_details_properties_with_http_info(conversation_id, opts = {})
3211
3206
  if @api_client.config.debugging
3212
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id ..."
3207
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_conversation_id_details_properties ..."
3213
3208
  end
3214
3209
 
3215
3210
  # verify the required parameter 'conversation_id' is set
3216
- fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id" if conversation_id.nil?
3217
-
3218
- # verify the required parameter 'participant_id' is set
3219
- fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id" if participant_id.nil?
3211
+ fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_details_properties" if conversation_id.nil?
3220
3212
 
3221
3213
  # resource path
3222
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3214
+ local_var_path = "/api/v2/analytics/conversations/{conversationId}/details/properties".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
3223
3215
 
3224
3216
  # query parameters
3225
3217
  query_params = {}
@@ -3241,52 +3233,42 @@ module PureCloud
3241
3233
  # http body (model)
3242
3234
  post_body = @api_client.object_to_http_body(opts[:'body'])
3243
3235
 
3244
-
3245
3236
  auth_names = ['PureCloud Auth']
3246
- data, status_code, headers = @api_client.call_api(:PATCH, path,
3237
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3247
3238
  :header_params => header_params,
3248
3239
  :query_params => query_params,
3249
3240
  :form_params => form_params,
3250
3241
  :body => post_body,
3251
- :auth_names => auth_names)
3242
+ :auth_names => auth_names,
3243
+ :return_type => 'PropertyIndexRequest')
3252
3244
  if @api_client.config.debugging
3253
- @api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3245
+ @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_conversation_id_details_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3254
3246
  end
3255
3247
  return data, status_code, headers
3256
3248
  end
3257
3249
 
3258
- # Update the attributes on a conversation participant.
3250
+ # Query for conversation details
3259
3251
  #
3260
- # @param conversation_id conversation ID
3261
- # @param participant_id participant ID
3262
3252
  # @param [Hash] opts the optional parameters
3263
- # @option opts [ParticipantAttributes] :body
3264
- # @return [nil]
3265
- def patch_conversation_id_participants_participant_id_attributes(conversation_id, participant_id, opts = {})
3266
- patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts)
3267
- return nil
3253
+ # @option opts [ConversationQuery] :body query
3254
+ # @return [AnalyticsConversationQueryResponse]
3255
+ def post_conversations_details_query(opts = {})
3256
+ data, status_code, headers = post_conversations_details_query_with_http_info(opts)
3257
+ return data
3268
3258
  end
3269
3259
 
3270
- # Update the attributes on a conversation participant.
3260
+ # Query for conversation details
3271
3261
  #
3272
- # @param conversation_id conversation ID
3273
- # @param participant_id participant ID
3274
3262
  # @param [Hash] opts the optional parameters
3275
- # @option opts [ParticipantAttributes] :body
3276
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3277
- def patch_conversation_id_participants_participant_id_attributes_with_http_info(conversation_id, participant_id, opts = {})
3263
+ # @option opts [ConversationQuery] :body query
3264
+ # @return [Array<(AnalyticsConversationQueryResponse, Fixnum, Hash)>] AnalyticsConversationQueryResponse data, response status code and response headers
3265
+ def post_conversations_details_query_with_http_info(opts = {})
3278
3266
  if @api_client.config.debugging
3279
- @api_client.config.logger.debug "Calling API: ConversationsApi#patch_conversation_id_participants_participant_id_attributes ..."
3267
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversations_details_query ..."
3280
3268
  end
3281
3269
 
3282
- # verify the required parameter 'conversation_id' is set
3283
- fail "Missing the required parameter 'conversation_id' when calling patch_conversation_id_participants_participant_id_attributes" if conversation_id.nil?
3284
-
3285
- # verify the required parameter 'participant_id' is set
3286
- fail "Missing the required parameter 'participant_id' when calling patch_conversation_id_participants_participant_id_attributes" if participant_id.nil?
3287
-
3288
3270
  # resource path
3289
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3271
+ local_var_path = "/api/v2/analytics/conversations/details/query".sub('{format}','json')
3290
3272
 
3291
3273
  # query parameters
3292
3274
  query_params = {}
@@ -3308,52 +3290,47 @@ module PureCloud
3308
3290
  # http body (model)
3309
3291
  post_body = @api_client.object_to_http_body(opts[:'body'])
3310
3292
 
3311
-
3312
3293
  auth_names = ['PureCloud Auth']
3313
- data, status_code, headers = @api_client.call_api(:PATCH, path,
3294
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3314
3295
  :header_params => header_params,
3315
3296
  :query_params => query_params,
3316
3297
  :form_params => form_params,
3317
3298
  :body => post_body,
3318
- :auth_names => auth_names)
3299
+ :auth_names => auth_names,
3300
+ :return_type => 'AnalyticsConversationQueryResponse')
3319
3301
  if @api_client.config.debugging
3320
- @api_client.config.logger.debug "API called: ConversationsApi#patch_conversation_id_participants_participant_id_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3302
+ @api_client.config.logger.debug "API called: ConversationsApi#post_conversations_details_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3321
3303
  end
3322
3304
  return data, status_code, headers
3323
3305
  end
3324
3306
 
3325
- # Create a new callback for the specified participant on the conversation.
3307
+ # Send an email reply
3326
3308
  #
3327
- # @param conversation_id conversation ID
3328
- # @param participant_id participant ID
3309
+ # @param email_id
3329
3310
  # @param [Hash] opts the optional parameters
3330
- # @option opts [CreateCallbackCommand] :body
3331
- # @return [nil]
3332
- def post_conversation_id_participants_participant_id_callbacks(conversation_id, participant_id, opts = {})
3333
- post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts)
3334
- return nil
3311
+ # @option opts [EmailMessage] :body Reply
3312
+ # @return [EmailMessage]
3313
+ def post_emails_email_id_messages(email_id, opts = {})
3314
+ data, status_code, headers = post_emails_email_id_messages_with_http_info(email_id, opts)
3315
+ return data
3335
3316
  end
3336
3317
 
3337
- # Create a new callback for the specified participant on the conversation.
3318
+ # Send an email reply
3338
3319
  #
3339
- # @param conversation_id conversation ID
3340
- # @param participant_id participant ID
3320
+ # @param email_id
3341
3321
  # @param [Hash] opts the optional parameters
3342
- # @option opts [CreateCallbackCommand] :body
3343
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3344
- def post_conversation_id_participants_participant_id_callbacks_with_http_info(conversation_id, participant_id, opts = {})
3322
+ # @option opts [EmailMessage] :body Reply
3323
+ # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
3324
+ def post_emails_email_id_messages_with_http_info(email_id, opts = {})
3345
3325
  if @api_client.config.debugging
3346
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_callbacks ..."
3326
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_messages ..."
3347
3327
  end
3348
3328
 
3349
- # verify the required parameter 'conversation_id' is set
3350
- fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_callbacks" if conversation_id.nil?
3351
-
3352
- # verify the required parameter 'participant_id' is set
3353
- fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_callbacks" if participant_id.nil?
3329
+ # verify the required parameter 'email_id' is set
3330
+ fail "Missing the required parameter 'email_id' when calling post_emails_email_id_messages" if email_id.nil?
3354
3331
 
3355
3332
  # resource path
3356
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}/callbacks".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3333
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
3357
3334
 
3358
3335
  # query parameters
3359
3336
  query_params = {}
@@ -3375,52 +3352,52 @@ module PureCloud
3375
3352
  # http body (model)
3376
3353
  post_body = @api_client.object_to_http_body(opts[:'body'])
3377
3354
 
3378
-
3379
3355
  auth_names = ['PureCloud Auth']
3380
- data, status_code, headers = @api_client.call_api(:POST, path,
3356
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3381
3357
  :header_params => header_params,
3382
3358
  :query_params => query_params,
3383
3359
  :form_params => form_params,
3384
3360
  :body => post_body,
3385
- :auth_names => auth_names)
3361
+ :auth_names => auth_names,
3362
+ :return_type => 'EmailMessage')
3386
3363
  if @api_client.config.debugging
3387
- @api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3364
+ @api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3388
3365
  end
3389
3366
  return data, status_code, headers
3390
3367
  end
3391
3368
 
3392
3369
  # Replace this participant with the specified user and/or address
3393
3370
  #
3394
- # @param conversation_id conversation ID
3395
- # @param participant_id participant ID
3371
+ # @param email_id
3372
+ # @param participant_id
3396
3373
  # @param [Hash] opts the optional parameters
3397
3374
  # @option opts [TransferRequest] :body
3398
3375
  # @return [nil]
3399
- def post_conversation_id_participants_participant_id_replace(conversation_id, participant_id, opts = {})
3400
- post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts)
3376
+ def post_emails_email_id_participants_participant_id_replace(email_id, participant_id, opts = {})
3377
+ post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts)
3401
3378
  return nil
3402
3379
  end
3403
3380
 
3404
3381
  # Replace this participant with the specified user and/or address
3405
3382
  #
3406
- # @param conversation_id conversation ID
3407
- # @param participant_id participant ID
3383
+ # @param email_id
3384
+ # @param participant_id
3408
3385
  # @param [Hash] opts the optional parameters
3409
3386
  # @option opts [TransferRequest] :body
3410
3387
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3411
- def post_conversation_id_participants_participant_id_replace_with_http_info(conversation_id, participant_id, opts = {})
3388
+ def post_emails_email_id_participants_participant_id_replace_with_http_info(email_id, participant_id, opts = {})
3412
3389
  if @api_client.config.debugging
3413
- @api_client.config.logger.debug "Calling API: ConversationsApi#post_conversation_id_participants_participant_id_replace ..."
3390
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_emails_email_id_participants_participant_id_replace ..."
3414
3391
  end
3415
3392
 
3416
- # verify the required parameter 'conversation_id' is set
3417
- fail "Missing the required parameter 'conversation_id' when calling post_conversation_id_participants_participant_id_replace" if conversation_id.nil?
3393
+ # verify the required parameter 'email_id' is set
3394
+ fail "Missing the required parameter 'email_id' when calling post_emails_email_id_participants_participant_id_replace" if email_id.nil?
3418
3395
 
3419
3396
  # verify the required parameter 'participant_id' is set
3420
- fail "Missing the required parameter 'participant_id' when calling post_conversation_id_participants_participant_id_replace" if participant_id.nil?
3397
+ fail "Missing the required parameter 'participant_id' when calling post_emails_email_id_participants_participant_id_replace" if participant_id.nil?
3421
3398
 
3422
3399
  # resource path
3423
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3400
+ local_var_path = "/api/v2/conversations/emails/{emailId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3424
3401
 
3425
3402
  # query parameters
3426
3403
  query_params = {}
@@ -3442,56 +3419,44 @@ module PureCloud
3442
3419
  # http body (model)
3443
3420
  post_body = @api_client.object_to_http_body(opts[:'body'])
3444
3421
 
3445
-
3446
3422
  auth_names = ['PureCloud Auth']
3447
- data, status_code, headers = @api_client.call_api(:POST, path,
3423
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3448
3424
  :header_params => header_params,
3449
3425
  :query_params => query_params,
3450
3426
  :form_params => form_params,
3451
3427
  :body => post_body,
3452
3428
  :auth_names => auth_names)
3453
3429
  if @api_client.config.debugging
3454
- @api_client.config.logger.debug "API called: ConversationsApi#post_conversation_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3430
+ @api_client.config.logger.debug "API called: ConversationsApi#post_emails_email_id_participants_participant_id_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3455
3431
  end
3456
3432
  return data, status_code, headers
3457
3433
  end
3458
3434
 
3459
- # Get the wrap-up for this conversation participant.
3435
+ # Create Fax Conversation
3460
3436
  #
3461
- # @param conversation_id conversation ID
3462
- # @param participant_id participant ID
3463
3437
  # @param [Hash] opts the optional parameters
3464
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
3465
- # @return [WrapupCode]
3466
- def get_conversation_id_participants_participant_id_wrapup(conversation_id, participant_id, opts = {})
3467
- data, status_code, headers = get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts)
3438
+ # @option opts [FaxSendRequest] :body Fax
3439
+ # @return [FaxSendResponse]
3440
+ def post_faxes(opts = {})
3441
+ data, status_code, headers = post_faxes_with_http_info(opts)
3468
3442
  return data
3469
3443
  end
3470
3444
 
3471
- # Get the wrap-up for this conversation participant.
3445
+ # Create Fax Conversation
3472
3446
  #
3473
- # @param conversation_id conversation ID
3474
- # @param participant_id participant ID
3475
3447
  # @param [Hash] opts the optional parameters
3476
- # @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
3477
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
3478
- def get_conversation_id_participants_participant_id_wrapup_with_http_info(conversation_id, participant_id, opts = {})
3448
+ # @option opts [FaxSendRequest] :body Fax
3449
+ # @return [Array<(FaxSendResponse, Fixnum, Hash)>] FaxSendResponse data, response status code and response headers
3450
+ def post_faxes_with_http_info(opts = {})
3479
3451
  if @api_client.config.debugging
3480
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapup ..."
3452
+ @api_client.config.logger.debug "Calling API: ConversationsApi#post_faxes ..."
3481
3453
  end
3482
3454
 
3483
- # verify the required parameter 'conversation_id' is set
3484
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapup" if conversation_id.nil?
3485
-
3486
- # verify the required parameter 'participant_id' is set
3487
- fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapup" if participant_id.nil?
3488
-
3489
3455
  # resource path
3490
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3456
+ local_var_path = "/api/v2/conversations/faxes".sub('{format}','json')
3491
3457
 
3492
3458
  # query parameters
3493
3459
  query_params = {}
3494
- query_params[:'provisional'] = opts[:'provisional'] if opts[:'provisional']
3495
3460
 
3496
3461
  # header parameters
3497
3462
  header_params = {}
@@ -3508,53 +3473,49 @@ module PureCloud
3508
3473
  form_params = {}
3509
3474
 
3510
3475
  # http body (model)
3511
- post_body = nil
3476
+ post_body = @api_client.object_to_http_body(opts[:'body'])
3512
3477
 
3513
-
3514
3478
  auth_names = ['PureCloud Auth']
3515
- data, status_code, headers = @api_client.call_api(:GET, path,
3479
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3516
3480
  :header_params => header_params,
3517
3481
  :query_params => query_params,
3518
3482
  :form_params => form_params,
3519
3483
  :body => post_body,
3520
3484
  :auth_names => auth_names,
3521
- :return_type => 'WrapupCode')
3485
+ :return_type => 'FaxSendResponse')
3522
3486
  if @api_client.config.debugging
3523
- @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3487
+ @api_client.config.logger.debug "API called: ConversationsApi#post_faxes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3524
3488
  end
3525
3489
  return data, status_code, headers
3526
3490
  end
3527
3491
 
3528
- # Get list of wrapup codes for this conversation participant
3492
+ # Update conversation draft reply
3529
3493
  #
3530
- # @param conversation_id conversation ID
3531
- # @param participant_id participant ID
3494
+ # @param email_id
3532
3495
  # @param [Hash] opts the optional parameters
3533
- # @return [WrapupCode]
3534
- def get_conversation_id_participants_participant_id_wrapupcodes(conversation_id, participant_id, opts = {})
3535
- data, status_code, headers = get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
3496
+ # @option opts [EmailMessage] :body Draft
3497
+ # @return [EmailMessage]
3498
+ def put_emails_email_id_messages_draft(email_id, opts = {})
3499
+ data, status_code, headers = put_emails_email_id_messages_draft_with_http_info(email_id, opts)
3536
3500
  return data
3537
3501
  end
3538
3502
 
3539
- # Get list of wrapup codes for this conversation participant
3503
+ # Update conversation draft reply
3540
3504
  #
3541
- # @param conversation_id conversation ID
3542
- # @param participant_id participant ID
3505
+ # @param email_id
3543
3506
  # @param [Hash] opts the optional parameters
3544
- # @return [Array<(WrapupCode, Fixnum, Hash)>] WrapupCode data, response status code and response headers
3545
- def get_conversation_id_participants_participant_id_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
3507
+ # @option opts [EmailMessage] :body Draft
3508
+ # @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
3509
+ def put_emails_email_id_messages_draft_with_http_info(email_id, opts = {})
3546
3510
  if @api_client.config.debugging
3547
- @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes ..."
3511
+ @api_client.config.logger.debug "Calling API: ConversationsApi#put_emails_email_id_messages_draft ..."
3548
3512
  end
3549
3513
 
3550
- # verify the required parameter 'conversation_id' is set
3551
- fail "Missing the required parameter 'conversation_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if conversation_id.nil?
3552
-
3553
- # verify the required parameter 'participant_id' is set
3554
- fail "Missing the required parameter 'participant_id' when calling get_conversation_id_participants_participant_id_wrapupcodes" if participant_id.nil?
3514
+ # verify the required parameter 'email_id' is set
3515
+ fail "Missing the required parameter 'email_id' when calling put_emails_email_id_messages_draft" if email_id.nil?
3555
3516
 
3556
3517
  # resource path
3557
- path = "/api/v2/conversations/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
3518
+ local_var_path = "/api/v2/conversations/emails/{emailId}/messages/draft".sub('{format}','json').sub('{' + 'emailId' + '}', email_id.to_s)
3558
3519
 
3559
3520
  # query parameters
3560
3521
  query_params = {}
@@ -3574,25 +3535,20 @@ module PureCloud
3574
3535
  form_params = {}
3575
3536
 
3576
3537
  # http body (model)
3577
- post_body = nil
3538
+ post_body = @api_client.object_to_http_body(opts[:'body'])
3578
3539
 
3579
-
3580
3540
  auth_names = ['PureCloud Auth']
3581
- data, status_code, headers = @api_client.call_api(:GET, path,
3541
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
3582
3542
  :header_params => header_params,
3583
3543
  :query_params => query_params,
3584
3544
  :form_params => form_params,
3585
3545
  :body => post_body,
3586
3546
  :auth_names => auth_names,
3587
- :return_type => 'WrapupCode')
3547
+ :return_type => 'EmailMessage')
3588
3548
  if @api_client.config.debugging
3589
- @api_client.config.logger.debug "API called: ConversationsApi#get_conversation_id_participants_participant_id_wrapupcodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3549
+ @api_client.config.logger.debug "API called: ConversationsApi#put_emails_email_id_messages_draft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3590
3550
  end
3591
3551
  return data, status_code, headers
3592
3552
  end
3593
3553
  end
3594
3554
  end
3595
-
3596
-
3597
-
3598
-