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,44 +24,34 @@ module PureCloud
8
24
  @api_client = api_client
9
25
  end
10
26
 
11
- # Search for External Contacts
27
+ # Delete a contact
12
28
  #
29
+ # @param contact_id ExternalContact ID
13
30
  # @param [Hash] opts the optional parameters
14
- # @option opts [Integer] :page_size Page size
15
- # @option opts [Integer] :page_number Page number
16
- # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
17
- # @option opts [String] :sort_order Sort order
18
- # @option opts [Array<String>] :expand which fields, if any, to expand
19
- # @return [ContactListing]
20
- def get_contacts(opts = {})
21
- data, status_code, headers = get_contacts_with_http_info(opts)
22
- return data
31
+ # @return [nil]
32
+ def delete_contacts_contact_id(contact_id, opts = {})
33
+ delete_contacts_contact_id_with_http_info(contact_id, opts)
34
+ return nil
23
35
  end
24
36
 
25
- # Search for External Contacts
37
+ # Delete a contact
26
38
  #
39
+ # @param contact_id ExternalContact ID
27
40
  # @param [Hash] opts the optional parameters
28
- # @option opts [Integer] :page_size Page size
29
- # @option opts [Integer] :page_number Page number
30
- # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
31
- # @option opts [String] :sort_order Sort order
32
- # @option opts [Array<String>] :expand which fields, if any, to expand
33
- # @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
34
- def get_contacts_with_http_info(opts = {})
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_contacts_contact_id_with_http_info(contact_id, opts = {})
35
43
  if @api_client.config.debugging
36
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts ..."
44
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id ..."
37
45
  end
38
46
 
47
+ # verify the required parameter 'contact_id' is set
48
+ fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id" if contact_id.nil?
49
+
39
50
  # resource path
40
- path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
51
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
41
52
 
42
53
  # query parameters
43
54
  query_params = {}
44
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
45
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
46
- query_params[:'q'] = opts[:'q'] if opts[:'q']
47
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
48
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
49
55
 
50
56
  # header parameters
51
57
  header_params = {}
@@ -64,43 +70,49 @@ module PureCloud
64
70
  # http body (model)
65
71
  post_body = nil
66
72
 
67
-
68
73
  auth_names = ['PureCloud Auth']
69
- data, status_code, headers = @api_client.call_api(:GET, path,
74
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
70
75
  :header_params => header_params,
71
76
  :query_params => query_params,
72
77
  :form_params => form_params,
73
78
  :body => post_body,
74
- :auth_names => auth_names,
75
- :return_type => 'ContactListing')
79
+ :auth_names => auth_names)
76
80
  if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
82
  end
79
83
  return data, status_code, headers
80
84
  end
81
85
 
82
- # Create an ExternalContact
86
+ # Delete a note for a contact
83
87
  #
88
+ # @param contact_id ExternalContact Id
89
+ # @param note_id Note Id
84
90
  # @param [Hash] opts the optional parameters
85
- # @option opts [ExternalContact] :body ExternalContact
86
- # @return [ExternalContact]
87
- def post_contacts(opts = {})
88
- data, status_code, headers = post_contacts_with_http_info(opts)
89
- return data
91
+ # @return [nil]
92
+ def delete_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
93
+ delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
94
+ return nil
90
95
  end
91
96
 
92
- # Create an ExternalContact
97
+ # Delete a note for a contact
93
98
  #
99
+ # @param contact_id ExternalContact Id
100
+ # @param note_id Note Id
94
101
  # @param [Hash] opts the optional parameters
95
- # @option opts [ExternalContact] :body ExternalContact
96
- # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
97
- def post_contacts_with_http_info(opts = {})
102
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
103
+ def delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
98
104
  if @api_client.config.debugging
99
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts ..."
105
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id_notes_note_id ..."
100
106
  end
101
107
 
108
+ # verify the required parameter 'contact_id' is set
109
+ fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id_notes_note_id" if contact_id.nil?
110
+
111
+ # verify the required parameter 'note_id' is set
112
+ fail "Missing the required parameter 'note_id' when calling delete_contacts_contact_id_notes_note_id" if note_id.nil?
113
+
102
114
  # resource path
103
- path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
115
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
104
116
 
105
117
  # query parameters
106
118
  query_params = {}
@@ -120,54 +132,49 @@ module PureCloud
120
132
  form_params = {}
121
133
 
122
134
  # http body (model)
123
- post_body = @api_client.object_to_http_body(opts[:'body'])
135
+ post_body = nil
124
136
 
125
-
126
137
  auth_names = ['PureCloud Auth']
127
- data, status_code, headers = @api_client.call_api(:POST, path,
138
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
128
139
  :header_params => header_params,
129
140
  :query_params => query_params,
130
141
  :form_params => form_params,
131
142
  :body => post_body,
132
- :auth_names => auth_names,
133
- :return_type => 'ExternalContact')
143
+ :auth_names => auth_names)
134
144
  if @api_client.config.debugging
135
- @api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
+ @api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
136
146
  end
137
147
  return data, status_code, headers
138
148
  end
139
149
 
140
- # Fetch a ExternalContact
150
+ # Delete an External Organization
141
151
  #
142
- # @param contact_id ExternalContact ID
152
+ # @param external_organization_id External Organization ID
143
153
  # @param [Hash] opts the optional parameters
144
- # @option opts [Array<String>] :expand which fields, if any, to expand
145
- # @return [ExternalContact]
146
- def get_contacts_contact_id(contact_id, opts = {})
147
- data, status_code, headers = get_contacts_contact_id_with_http_info(contact_id, opts)
148
- return data
154
+ # @return [nil]
155
+ def delete_organizations_externalorganization_id(external_organization_id, opts = {})
156
+ delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
157
+ return nil
149
158
  end
150
159
 
151
- # Fetch a ExternalContact
160
+ # Delete an External Organization
152
161
  #
153
- # @param contact_id ExternalContact ID
162
+ # @param external_organization_id External Organization ID
154
163
  # @param [Hash] opts the optional parameters
155
- # @option opts [Array<String>] :expand which fields, if any, to expand
156
- # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
157
- def get_contacts_contact_id_with_http_info(contact_id, opts = {})
164
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
165
+ def delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
158
166
  if @api_client.config.debugging
159
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id ..."
167
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id ..."
160
168
  end
161
169
 
162
- # verify the required parameter 'contact_id' is set
163
- fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id" if contact_id.nil?
170
+ # verify the required parameter 'external_organization_id' is set
171
+ fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id" if external_organization_id.nil?
164
172
 
165
173
  # resource path
166
- path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
174
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
167
175
 
168
176
  # query parameters
169
177
  query_params = {}
170
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
171
178
 
172
179
  # header parameters
173
180
  header_params = {}
@@ -186,48 +193,49 @@ module PureCloud
186
193
  # http body (model)
187
194
  post_body = nil
188
195
 
189
-
190
196
  auth_names = ['PureCloud Auth']
191
- data, status_code, headers = @api_client.call_api(:GET, path,
197
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
192
198
  :header_params => header_params,
193
199
  :query_params => query_params,
194
200
  :form_params => form_params,
195
201
  :body => post_body,
196
- :auth_names => auth_names,
197
- :return_type => 'ExternalContact')
202
+ :auth_names => auth_names)
198
203
  if @api_client.config.debugging
199
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
204
+ @api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
200
205
  end
201
206
  return data, status_code, headers
202
207
  end
203
208
 
204
- # Update a externalContact
209
+ # Delete a note
205
210
  #
206
- # @param contact_id ExternalContact ID
211
+ # @param external_organization_id External Organization Id
212
+ # @param note_id Note Id
207
213
  # @param [Hash] opts the optional parameters
208
- # @option opts [ExternalContact] :body ExternalContact
209
- # @return [ExternalContact]
210
- def put_contacts_contact_id(contact_id, opts = {})
211
- data, status_code, headers = put_contacts_contact_id_with_http_info(contact_id, opts)
212
- return data
214
+ # @return [nil]
215
+ def delete_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
216
+ delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
217
+ return nil
213
218
  end
214
219
 
215
- # Update a externalContact
220
+ # Delete a note
216
221
  #
217
- # @param contact_id ExternalContact ID
222
+ # @param external_organization_id External Organization Id
223
+ # @param note_id Note Id
218
224
  # @param [Hash] opts the optional parameters
219
- # @option opts [ExternalContact] :body ExternalContact
220
- # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
221
- def put_contacts_contact_id_with_http_info(contact_id, opts = {})
225
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
226
+ def delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
222
227
  if @api_client.config.debugging
223
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id ..."
228
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id ..."
224
229
  end
225
230
 
226
- # verify the required parameter 'contact_id' is set
227
- fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id" if contact_id.nil?
231
+ # verify the required parameter 'external_organization_id' is set
232
+ fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
233
+
234
+ # verify the required parameter 'note_id' is set
235
+ fail "Missing the required parameter 'note_id' when calling delete_organizations_externalorganization_id_notes_note_id" if note_id.nil?
228
236
 
229
237
  # resource path
230
- path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
238
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
231
239
 
232
240
  # query parameters
233
241
  query_params = {}
@@ -247,48 +255,46 @@ module PureCloud
247
255
  form_params = {}
248
256
 
249
257
  # http body (model)
250
- post_body = @api_client.object_to_http_body(opts[:'body'])
258
+ post_body = nil
251
259
 
252
-
253
260
  auth_names = ['PureCloud Auth']
254
- data, status_code, headers = @api_client.call_api(:PUT, path,
261
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
255
262
  :header_params => header_params,
256
263
  :query_params => query_params,
257
264
  :form_params => form_params,
258
265
  :body => post_body,
259
- :auth_names => auth_names,
260
- :return_type => 'ExternalContact')
266
+ :auth_names => auth_names)
261
267
  if @api_client.config.debugging
262
- @api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
268
+ @api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
263
269
  end
264
270
  return data, status_code, headers
265
271
  end
266
272
 
267
- # Delete a contact
273
+ # Delete a relationship
268
274
  #
269
- # @param contact_id ExternalContact ID
275
+ # @param relationship_id Relationship Id
270
276
  # @param [Hash] opts the optional parameters
271
277
  # @return [nil]
272
- def delete_contacts_contact_id(contact_id, opts = {})
273
- delete_contacts_contact_id_with_http_info(contact_id, opts)
278
+ def delete_relationships_relationship_id(relationship_id, opts = {})
279
+ delete_relationships_relationship_id_with_http_info(relationship_id, opts)
274
280
  return nil
275
281
  end
276
282
 
277
- # Delete a contact
283
+ # Delete a relationship
278
284
  #
279
- # @param contact_id ExternalContact ID
285
+ # @param relationship_id Relationship Id
280
286
  # @param [Hash] opts the optional parameters
281
287
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
282
- def delete_contacts_contact_id_with_http_info(contact_id, opts = {})
288
+ def delete_relationships_relationship_id_with_http_info(relationship_id, opts = {})
283
289
  if @api_client.config.debugging
284
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id ..."
290
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_relationships_relationship_id ..."
285
291
  end
286
292
 
287
- # verify the required parameter 'contact_id' is set
288
- fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id" if contact_id.nil?
293
+ # verify the required parameter 'relationship_id' is set
294
+ fail "Missing the required parameter 'relationship_id' when calling delete_relationships_relationship_id" if relationship_id.nil?
289
295
 
290
296
  # resource path
291
- path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
297
+ local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
292
298
 
293
299
  # query parameters
294
300
  query_params = {}
@@ -310,57 +316,57 @@ module PureCloud
310
316
  # http body (model)
311
317
  post_body = nil
312
318
 
313
-
314
319
  auth_names = ['PureCloud Auth']
315
- data, status_code, headers = @api_client.call_api(:DELETE, path,
320
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
316
321
  :header_params => header_params,
317
322
  :query_params => query_params,
318
323
  :form_params => form_params,
319
324
  :body => post_body,
320
325
  :auth_names => auth_names)
321
326
  if @api_client.config.debugging
322
- @api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
327
+ @api_client.config.logger.debug "API called: ExternalContactsApi#delete_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
323
328
  end
324
329
  return data, status_code, headers
325
330
  end
326
331
 
327
- # List Notes for an ExternalContact
332
+ # Search for External Contacts
328
333
  #
329
- # @param contact_id ExternalContact Id
330
334
  # @param [Hash] opts the optional parameters
331
- # @option opts [Integer] :page_size Page size
332
- # @option opts [Integer] :page_number Page number
335
+ # @option opts [Integer] :page_size Page size (default to 20)
336
+ # @option opts [Integer] :page_number Page number (default to 1)
337
+ # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
333
338
  # @option opts [String] :sort_order Sort order
334
- # @return [NoteListing]
335
- def get_contacts_contact_id_notes(contact_id, opts = {})
336
- data, status_code, headers = get_contacts_contact_id_notes_with_http_info(contact_id, opts)
339
+ # @option opts [Array<String>] :expand which fields, if any, to expand
340
+ # @return [ContactListing]
341
+ def get_contacts(opts = {})
342
+ data, status_code, headers = get_contacts_with_http_info(opts)
337
343
  return data
338
344
  end
339
345
 
340
- # List Notes for an ExternalContact
346
+ # Search for External Contacts
341
347
  #
342
- # @param contact_id ExternalContact Id
343
348
  # @param [Hash] opts the optional parameters
344
349
  # @option opts [Integer] :page_size Page size
345
350
  # @option opts [Integer] :page_number Page number
351
+ # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
346
352
  # @option opts [String] :sort_order Sort order
347
- # @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
348
- def get_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
353
+ # @option opts [Array<String>] :expand which fields, if any, to expand
354
+ # @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
355
+ def get_contacts_with_http_info(opts = {})
349
356
  if @api_client.config.debugging
350
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes ..."
357
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts ..."
351
358
  end
352
359
 
353
- # verify the required parameter 'contact_id' is set
354
- fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes" if contact_id.nil?
355
-
356
360
  # resource path
357
- path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
361
+ local_var_path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
358
362
 
359
363
  # query parameters
360
364
  query_params = {}
361
365
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
362
366
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
367
+ query_params[:'q'] = opts[:'q'] if opts[:'q']
363
368
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
369
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
364
370
 
365
371
  # header parameters
366
372
  header_params = {}
@@ -379,51 +385,51 @@ module PureCloud
379
385
  # http body (model)
380
386
  post_body = nil
381
387
 
382
-
383
388
  auth_names = ['PureCloud Auth']
384
- data, status_code, headers = @api_client.call_api(:GET, path,
389
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
385
390
  :header_params => header_params,
386
391
  :query_params => query_params,
387
392
  :form_params => form_params,
388
393
  :body => post_body,
389
394
  :auth_names => auth_names,
390
- :return_type => 'NoteListing')
395
+ :return_type => 'ContactListing')
391
396
  if @api_client.config.debugging
392
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
397
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
393
398
  end
394
399
  return data, status_code, headers
395
400
  end
396
401
 
397
- # Create a Note for an ExternalContact
402
+ # Fetch a ExternalContact
398
403
  #
399
- # @param contact_id ExternalContact Id
404
+ # @param contact_id ExternalContact ID
400
405
  # @param [Hash] opts the optional parameters
401
- # @option opts [Note] :body ExternalContact
402
- # @return [Note]
403
- def post_contacts_contact_id_notes(contact_id, opts = {})
404
- data, status_code, headers = post_contacts_contact_id_notes_with_http_info(contact_id, opts)
406
+ # @option opts [Array<String>] :expand which fields, if any, to expand
407
+ # @return [ExternalContact]
408
+ def get_contacts_contact_id(contact_id, opts = {})
409
+ data, status_code, headers = get_contacts_contact_id_with_http_info(contact_id, opts)
405
410
  return data
406
411
  end
407
412
 
408
- # Create a Note for an ExternalContact
413
+ # Fetch a ExternalContact
409
414
  #
410
- # @param contact_id ExternalContact Id
415
+ # @param contact_id ExternalContact ID
411
416
  # @param [Hash] opts the optional parameters
412
- # @option opts [Note] :body ExternalContact
413
- # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
414
- def post_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
417
+ # @option opts [Array<String>] :expand which fields, if any, to expand
418
+ # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
419
+ def get_contacts_contact_id_with_http_info(contact_id, opts = {})
415
420
  if @api_client.config.debugging
416
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts_contact_id_notes ..."
421
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id ..."
417
422
  end
418
423
 
419
424
  # verify the required parameter 'contact_id' is set
420
- fail "Missing the required parameter 'contact_id' when calling post_contacts_contact_id_notes" if contact_id.nil?
425
+ fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id" if contact_id.nil?
421
426
 
422
427
  # resource path
423
- path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
428
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
424
429
 
425
430
  # query parameters
426
431
  query_params = {}
432
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
427
433
 
428
434
  # header parameters
429
435
  header_params = {}
@@ -440,56 +446,59 @@ module PureCloud
440
446
  form_params = {}
441
447
 
442
448
  # http body (model)
443
- post_body = @api_client.object_to_http_body(opts[:'body'])
449
+ post_body = nil
444
450
 
445
-
446
451
  auth_names = ['PureCloud Auth']
447
- data, status_code, headers = @api_client.call_api(:POST, path,
452
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
448
453
  :header_params => header_params,
449
454
  :query_params => query_params,
450
455
  :form_params => form_params,
451
456
  :body => post_body,
452
457
  :auth_names => auth_names,
453
- :return_type => 'Note')
458
+ :return_type => 'ExternalContact')
454
459
  if @api_client.config.debugging
455
- @api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
460
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
456
461
  end
457
462
  return data, status_code, headers
458
463
  end
459
464
 
460
- # Fetch a note for a contact
465
+ # List Notes for an ExternalContact
461
466
  #
462
467
  # @param contact_id ExternalContact Id
463
- # @param note_id Note Id
464
468
  # @param [Hash] opts the optional parameters
465
- # @return [Note]
466
- def get_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
467
- data, status_code, headers = get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
469
+ # @option opts [Integer] :page_size Page size (default to 20)
470
+ # @option opts [Integer] :page_number Page number (default to 1)
471
+ # @option opts [String] :sort_order Sort order
472
+ # @return [NoteListing]
473
+ def get_contacts_contact_id_notes(contact_id, opts = {})
474
+ data, status_code, headers = get_contacts_contact_id_notes_with_http_info(contact_id, opts)
468
475
  return data
469
476
  end
470
477
 
471
- # Fetch a note for a contact
478
+ # List Notes for an ExternalContact
472
479
  #
473
480
  # @param contact_id ExternalContact Id
474
- # @param note_id Note Id
475
481
  # @param [Hash] opts the optional parameters
476
- # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
477
- def get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
482
+ # @option opts [Integer] :page_size Page size
483
+ # @option opts [Integer] :page_number Page number
484
+ # @option opts [String] :sort_order Sort order
485
+ # @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
486
+ def get_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
478
487
  if @api_client.config.debugging
479
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes_note_id ..."
488
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes ..."
480
489
  end
481
490
 
482
491
  # verify the required parameter 'contact_id' is set
483
- fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes_note_id" if contact_id.nil?
484
-
485
- # verify the required parameter 'note_id' is set
486
- fail "Missing the required parameter 'note_id' when calling get_contacts_contact_id_notes_note_id" if note_id.nil?
492
+ fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes" if contact_id.nil?
487
493
 
488
494
  # resource path
489
- path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
495
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
490
496
 
491
497
  # query parameters
492
498
  query_params = {}
499
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
500
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
501
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
493
502
 
494
503
  # header parameters
495
504
  header_params = {}
@@ -508,53 +517,50 @@ module PureCloud
508
517
  # http body (model)
509
518
  post_body = nil
510
519
 
511
-
512
520
  auth_names = ['PureCloud Auth']
513
- data, status_code, headers = @api_client.call_api(:GET, path,
521
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
514
522
  :header_params => header_params,
515
523
  :query_params => query_params,
516
524
  :form_params => form_params,
517
525
  :body => post_body,
518
526
  :auth_names => auth_names,
519
- :return_type => 'Note')
527
+ :return_type => 'NoteListing')
520
528
  if @api_client.config.debugging
521
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
529
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
522
530
  end
523
531
  return data, status_code, headers
524
532
  end
525
533
 
526
- # Update a note for a contact
534
+ # Fetch a note for a contact
527
535
  #
528
536
  # @param contact_id ExternalContact Id
529
537
  # @param note_id Note Id
530
538
  # @param [Hash] opts the optional parameters
531
- # @option opts [Note] :body Note
532
539
  # @return [Note]
533
- def put_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
534
- data, status_code, headers = put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
540
+ def get_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
541
+ data, status_code, headers = get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
535
542
  return data
536
543
  end
537
544
 
538
- # Update a note for a contact
545
+ # Fetch a note for a contact
539
546
  #
540
547
  # @param contact_id ExternalContact Id
541
548
  # @param note_id Note Id
542
549
  # @param [Hash] opts the optional parameters
543
- # @option opts [Note] :body Note
544
550
  # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
545
- def put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
551
+ def get_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
546
552
  if @api_client.config.debugging
547
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id_notes_note_id ..."
553
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_contacts_contact_id_notes_note_id ..."
548
554
  end
549
555
 
550
556
  # verify the required parameter 'contact_id' is set
551
- fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id_notes_note_id" if contact_id.nil?
557
+ fail "Missing the required parameter 'contact_id' when calling get_contacts_contact_id_notes_note_id" if contact_id.nil?
552
558
 
553
559
  # verify the required parameter 'note_id' is set
554
- fail "Missing the required parameter 'note_id' when calling put_contacts_contact_id_notes_note_id" if note_id.nil?
560
+ fail "Missing the required parameter 'note_id' when calling get_contacts_contact_id_notes_note_id" if note_id.nil?
555
561
 
556
562
  # resource path
557
- path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
563
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
558
564
 
559
565
  # query parameters
560
566
  query_params = {}
@@ -574,11 +580,10 @@ module PureCloud
574
580
  form_params = {}
575
581
 
576
582
  # http body (model)
577
- post_body = @api_client.object_to_http_body(opts[:'body'])
583
+ post_body = nil
578
584
 
579
-
580
585
  auth_names = ['PureCloud Auth']
581
- data, status_code, headers = @api_client.call_api(:PUT, path,
586
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
582
587
  :header_params => header_params,
583
588
  :query_params => query_params,
584
589
  :form_params => form_params,
@@ -586,44 +591,46 @@ module PureCloud
586
591
  :auth_names => auth_names,
587
592
  :return_type => 'Note')
588
593
  if @api_client.config.debugging
589
- @api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
594
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
590
595
  end
591
596
  return data, status_code, headers
592
597
  end
593
598
 
594
- # Delete a note for a contact
599
+ # Search for External Organizations
595
600
  #
596
- # @param contact_id ExternalContact Id
597
- # @param note_id Note Id
598
601
  # @param [Hash] opts the optional parameters
599
- # @return [nil]
600
- def delete_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
601
- delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
602
- return nil
602
+ # @option opts [Integer] :page_size Page size (default to 20)
603
+ # @option opts [Integer] :page_number Page number (default to 1)
604
+ # @option opts [String] :q Search query
605
+ # @option opts [String] :sort_order Sort order
606
+ # @return [ExternalOrganizationListing]
607
+ def get_organizations(opts = {})
608
+ data, status_code, headers = get_organizations_with_http_info(opts)
609
+ return data
603
610
  end
604
611
 
605
- # Delete a note for a contact
612
+ # Search for External Organizations
606
613
  #
607
- # @param contact_id ExternalContact Id
608
- # @param note_id Note Id
609
614
  # @param [Hash] opts the optional parameters
610
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
611
- def delete_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
615
+ # @option opts [Integer] :page_size Page size
616
+ # @option opts [Integer] :page_number Page number
617
+ # @option opts [String] :q Search query
618
+ # @option opts [String] :sort_order Sort order
619
+ # @return [Array<(ExternalOrganizationListing, Fixnum, Hash)>] ExternalOrganizationListing data, response status code and response headers
620
+ def get_organizations_with_http_info(opts = {})
612
621
  if @api_client.config.debugging
613
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_contacts_contact_id_notes_note_id ..."
622
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations ..."
614
623
  end
615
624
 
616
- # verify the required parameter 'contact_id' is set
617
- fail "Missing the required parameter 'contact_id' when calling delete_contacts_contact_id_notes_note_id" if contact_id.nil?
618
-
619
- # verify the required parameter 'note_id' is set
620
- fail "Missing the required parameter 'note_id' when calling delete_contacts_contact_id_notes_note_id" if note_id.nil?
621
-
622
625
  # resource path
623
- path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
626
+ local_var_path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
624
627
 
625
628
  # query parameters
626
629
  query_params = {}
630
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
631
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
632
+ query_params[:'q'] = opts[:'q'] if opts[:'q']
633
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
627
634
 
628
635
  # header parameters
629
636
  header_params = {}
@@ -642,55 +649,48 @@ module PureCloud
642
649
  # http body (model)
643
650
  post_body = nil
644
651
 
645
-
646
652
  auth_names = ['PureCloud Auth']
647
- data, status_code, headers = @api_client.call_api(:DELETE, path,
653
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
648
654
  :header_params => header_params,
649
655
  :query_params => query_params,
650
656
  :form_params => form_params,
651
657
  :body => post_body,
652
- :auth_names => auth_names)
658
+ :auth_names => auth_names,
659
+ :return_type => 'ExternalOrganizationListing')
653
660
  if @api_client.config.debugging
654
- @api_client.config.logger.debug "API called: ExternalContactsApi#delete_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
661
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
655
662
  end
656
663
  return data, status_code, headers
657
664
  end
658
665
 
659
- # Search for External Organizations
666
+ # Fetch an External Organization
660
667
  #
668
+ # @param external_organization_id External Organization ID
661
669
  # @param [Hash] opts the optional parameters
662
- # @option opts [Integer] :page_size Page size
663
- # @option opts [Integer] :page_number Page number
664
- # @option opts [String] :q Search query
665
- # @option opts [String] :sort_order Sort order
666
- # @return [ExternalOrganizationListing]
667
- def get_organizations(opts = {})
668
- data, status_code, headers = get_organizations_with_http_info(opts)
670
+ # @return [ExternalOrganization]
671
+ def get_organizations_externalorganization_id(external_organization_id, opts = {})
672
+ data, status_code, headers = get_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
669
673
  return data
670
674
  end
671
675
 
672
- # Search for External Organizations
676
+ # Fetch an External Organization
673
677
  #
678
+ # @param external_organization_id External Organization ID
674
679
  # @param [Hash] opts the optional parameters
675
- # @option opts [Integer] :page_size Page size
676
- # @option opts [Integer] :page_number Page number
677
- # @option opts [String] :q Search query
678
- # @option opts [String] :sort_order Sort order
679
- # @return [Array<(ExternalOrganizationListing, Fixnum, Hash)>] ExternalOrganizationListing data, response status code and response headers
680
- def get_organizations_with_http_info(opts = {})
680
+ # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
681
+ def get_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
681
682
  if @api_client.config.debugging
682
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations ..."
683
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id ..."
683
684
  end
684
685
 
686
+ # verify the required parameter 'external_organization_id' is set
687
+ fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id" if external_organization_id.nil?
688
+
685
689
  # resource path
686
- path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
690
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
687
691
 
688
692
  # query parameters
689
693
  query_params = {}
690
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
691
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
692
- query_params[:'q'] = opts[:'q'] if opts[:'q']
693
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
694
694
 
695
695
  # header parameters
696
696
  header_params = {}
@@ -709,46 +709,63 @@ module PureCloud
709
709
  # http body (model)
710
710
  post_body = nil
711
711
 
712
-
713
712
  auth_names = ['PureCloud Auth']
714
- data, status_code, headers = @api_client.call_api(:GET, path,
713
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
715
714
  :header_params => header_params,
716
715
  :query_params => query_params,
717
716
  :form_params => form_params,
718
717
  :body => post_body,
719
718
  :auth_names => auth_names,
720
- :return_type => 'ExternalOrganizationListing')
719
+ :return_type => 'ExternalOrganization')
721
720
  if @api_client.config.debugging
722
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
721
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
723
722
  end
724
723
  return data, status_code, headers
725
724
  end
726
725
 
727
- # Create an External Organization
726
+ # Search for External Contacts
728
727
  #
728
+ # @param external_organization_id External Organization ID
729
729
  # @param [Hash] opts the optional parameters
730
- # @option opts [ExternalOrganization] :body ExternalOrganization
731
- # @return [ExternalOrganization]
732
- def post_organizations(opts = {})
733
- data, status_code, headers = post_organizations_with_http_info(opts)
730
+ # @option opts [Integer] :page_size Page size (default to 20)
731
+ # @option opts [Integer] :page_number Page number (default to 1)
732
+ # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
733
+ # @option opts [String] :sort_order Sort order
734
+ # @option opts [Array<String>] :expand which fields, if any, to expand
735
+ # @return [ContactListing]
736
+ def get_organizations_externalorganization_id_contacts(external_organization_id, opts = {})
737
+ data, status_code, headers = get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts)
734
738
  return data
735
739
  end
736
740
 
737
- # Create an External Organization
741
+ # Search for External Contacts
738
742
  #
743
+ # @param external_organization_id External Organization ID
739
744
  # @param [Hash] opts the optional parameters
740
- # @option opts [ExternalOrganization] :body ExternalOrganization
741
- # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
742
- def post_organizations_with_http_info(opts = {})
745
+ # @option opts [Integer] :page_size Page size
746
+ # @option opts [Integer] :page_number Page number
747
+ # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
748
+ # @option opts [String] :sort_order Sort order
749
+ # @option opts [Array<String>] :expand which fields, if any, to expand
750
+ # @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
751
+ def get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts = {})
743
752
  if @api_client.config.debugging
744
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations ..."
753
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_contacts ..."
745
754
  end
746
755
 
756
+ # verify the required parameter 'external_organization_id' is set
757
+ fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_contacts" if external_organization_id.nil?
758
+
747
759
  # resource path
748
- path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
760
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
749
761
 
750
762
  # query parameters
751
763
  query_params = {}
764
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
765
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
766
+ query_params[:'q'] = opts[:'q'] if opts[:'q']
767
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
768
+ query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
752
769
 
753
770
  # header parameters
754
771
  header_params = {}
@@ -765,51 +782,59 @@ module PureCloud
765
782
  form_params = {}
766
783
 
767
784
  # http body (model)
768
- post_body = @api_client.object_to_http_body(opts[:'body'])
785
+ post_body = nil
769
786
 
770
-
771
787
  auth_names = ['PureCloud Auth']
772
- data, status_code, headers = @api_client.call_api(:POST, path,
788
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
773
789
  :header_params => header_params,
774
790
  :query_params => query_params,
775
791
  :form_params => form_params,
776
792
  :body => post_body,
777
793
  :auth_names => auth_names,
778
- :return_type => 'ExternalOrganization')
794
+ :return_type => 'ContactListing')
779
795
  if @api_client.config.debugging
780
- @api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
796
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
781
797
  end
782
798
  return data, status_code, headers
783
799
  end
784
800
 
785
- # Fetch an External Organization
801
+ # List Notes for an External Organization
786
802
  #
787
- # @param external_organization_id External Organization ID
803
+ # @param external_organization_id External Organization Id
788
804
  # @param [Hash] opts the optional parameters
789
- # @return [ExternalOrganization]
790
- def get_organizations_externalorganization_id(external_organization_id, opts = {})
791
- data, status_code, headers = get_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
805
+ # @option opts [Integer] :page_size Page size (default to 20)
806
+ # @option opts [Integer] :page_number Page number (default to 1)
807
+ # @option opts [String] :sort_order Sort order
808
+ # @return [NoteListing]
809
+ def get_organizations_externalorganization_id_notes(external_organization_id, opts = {})
810
+ data, status_code, headers = get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
792
811
  return data
793
812
  end
794
813
 
795
- # Fetch an External Organization
814
+ # List Notes for an External Organization
796
815
  #
797
- # @param external_organization_id External Organization ID
816
+ # @param external_organization_id External Organization Id
798
817
  # @param [Hash] opts the optional parameters
799
- # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
800
- def get_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
818
+ # @option opts [Integer] :page_size Page size
819
+ # @option opts [Integer] :page_number Page number
820
+ # @option opts [String] :sort_order Sort order
821
+ # @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
822
+ def get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
801
823
  if @api_client.config.debugging
802
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id ..."
824
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes ..."
803
825
  end
804
826
 
805
827
  # verify the required parameter 'external_organization_id' is set
806
- fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id" if external_organization_id.nil?
828
+ fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes" if external_organization_id.nil?
807
829
 
808
830
  # resource path
809
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
831
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
810
832
 
811
833
  # query parameters
812
834
  query_params = {}
835
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
836
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
837
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
813
838
 
814
839
  # header parameters
815
840
  header_params = {}
@@ -828,48 +853,50 @@ module PureCloud
828
853
  # http body (model)
829
854
  post_body = nil
830
855
 
831
-
832
856
  auth_names = ['PureCloud Auth']
833
- data, status_code, headers = @api_client.call_api(:GET, path,
857
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
834
858
  :header_params => header_params,
835
859
  :query_params => query_params,
836
860
  :form_params => form_params,
837
861
  :body => post_body,
838
862
  :auth_names => auth_names,
839
- :return_type => 'ExternalOrganization')
863
+ :return_type => 'NoteListing')
840
864
  if @api_client.config.debugging
841
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
865
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
842
866
  end
843
867
  return data, status_code, headers
844
868
  end
845
869
 
846
- # Update an External Organization
870
+ # Fetch a note
847
871
  #
848
- # @param external_organization_id External Organization ID
872
+ # @param external_organization_id External Organization Id
873
+ # @param note_id Note Id
849
874
  # @param [Hash] opts the optional parameters
850
- # @option opts [ExternalOrganization] :body ExternalOrganization
851
- # @return [ExternalOrganization]
852
- def put_organizations_externalorganization_id(external_organization_id, opts = {})
853
- data, status_code, headers = put_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
875
+ # @return [Note]
876
+ def get_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
877
+ data, status_code, headers = get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
854
878
  return data
855
879
  end
856
880
 
857
- # Update an External Organization
881
+ # Fetch a note
858
882
  #
859
- # @param external_organization_id External Organization ID
883
+ # @param external_organization_id External Organization Id
884
+ # @param note_id Note Id
860
885
  # @param [Hash] opts the optional parameters
861
- # @option opts [ExternalOrganization] :body ExternalOrganization
862
- # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
863
- def put_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
886
+ # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
887
+ def get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
864
888
  if @api_client.config.debugging
865
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id ..."
889
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id ..."
866
890
  end
867
891
 
868
892
  # verify the required parameter 'external_organization_id' is set
869
- fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id" if external_organization_id.nil?
893
+ fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
894
+
895
+ # verify the required parameter 'note_id' is set
896
+ fail "Missing the required parameter 'note_id' when calling get_organizations_externalorganization_id_notes_note_id" if note_id.nil?
870
897
 
871
898
  # resource path
872
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
899
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
873
900
 
874
901
  # query parameters
875
902
  query_params = {}
@@ -889,51 +916,59 @@ module PureCloud
889
916
  form_params = {}
890
917
 
891
918
  # http body (model)
892
- post_body = @api_client.object_to_http_body(opts[:'body'])
919
+ post_body = nil
893
920
 
894
-
895
921
  auth_names = ['PureCloud Auth']
896
- data, status_code, headers = @api_client.call_api(:PUT, path,
922
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
897
923
  :header_params => header_params,
898
924
  :query_params => query_params,
899
925
  :form_params => form_params,
900
926
  :body => post_body,
901
927
  :auth_names => auth_names,
902
- :return_type => 'ExternalOrganization')
928
+ :return_type => 'Note')
903
929
  if @api_client.config.debugging
904
- @api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
930
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
905
931
  end
906
932
  return data, status_code, headers
907
933
  end
908
934
 
909
- # Delete an External Organization
935
+ # Fetch an External Organization
910
936
  #
911
937
  # @param external_organization_id External Organization ID
912
938
  # @param [Hash] opts the optional parameters
913
- # @return [nil]
914
- def delete_organizations_externalorganization_id(external_organization_id, opts = {})
915
- delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
916
- return nil
939
+ # @option opts [Integer] :page_size Page size (default to 20)
940
+ # @option opts [Integer] :page_number Page number (default to 1)
941
+ # @option opts [String] :sort_order Sort order
942
+ # @return [RelationshipListing]
943
+ def get_organizations_externalorganization_id_relationships(external_organization_id, opts = {})
944
+ data, status_code, headers = get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts)
945
+ return data
917
946
  end
918
947
 
919
- # Delete an External Organization
948
+ # Fetch an External Organization
920
949
  #
921
950
  # @param external_organization_id External Organization ID
922
951
  # @param [Hash] opts the optional parameters
923
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
924
- def delete_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
952
+ # @option opts [Integer] :page_size Page size
953
+ # @option opts [Integer] :page_number Page number
954
+ # @option opts [String] :sort_order Sort order
955
+ # @return [Array<(RelationshipListing, Fixnum, Hash)>] RelationshipListing data, response status code and response headers
956
+ def get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts = {})
925
957
  if @api_client.config.debugging
926
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id ..."
958
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_relationships ..."
927
959
  end
928
960
 
929
961
  # verify the required parameter 'external_organization_id' is set
930
- fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id" if external_organization_id.nil?
962
+ fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_relationships" if external_organization_id.nil?
931
963
 
932
964
  # resource path
933
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
965
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
934
966
 
935
967
  # query parameters
936
968
  query_params = {}
969
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
970
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
971
+ query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
937
972
 
938
973
  # header parameters
939
974
  header_params = {}
@@ -952,63 +987,48 @@ module PureCloud
952
987
  # http body (model)
953
988
  post_body = nil
954
989
 
955
-
956
990
  auth_names = ['PureCloud Auth']
957
- data, status_code, headers = @api_client.call_api(:DELETE, path,
991
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
958
992
  :header_params => header_params,
959
993
  :query_params => query_params,
960
994
  :form_params => form_params,
961
995
  :body => post_body,
962
- :auth_names => auth_names)
996
+ :auth_names => auth_names,
997
+ :return_type => 'RelationshipListing')
963
998
  if @api_client.config.debugging
964
- @api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
999
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
965
1000
  end
966
1001
  return data, status_code, headers
967
1002
  end
968
1003
 
969
- # Search for External Contacts
1004
+ # Fetch a relationship
970
1005
  #
971
- # @param external_organization_id External Organization ID
1006
+ # @param relationship_id Relationship Id
972
1007
  # @param [Hash] opts the optional parameters
973
- # @option opts [Integer] :page_size Page size
974
- # @option opts [Integer] :page_number Page number
975
- # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
976
- # @option opts [String] :sort_order Sort order
977
- # @option opts [Array<String>] :expand which fields, if any, to expand
978
- # @return [ContactListing]
979
- def get_organizations_externalorganization_id_contacts(external_organization_id, opts = {})
980
- data, status_code, headers = get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts)
1008
+ # @return [Relationship]
1009
+ def get_relationships_relationship_id(relationship_id, opts = {})
1010
+ data, status_code, headers = get_relationships_relationship_id_with_http_info(relationship_id, opts)
981
1011
  return data
982
1012
  end
983
1013
 
984
- # Search for External Contacts
1014
+ # Fetch a relationship
985
1015
  #
986
- # @param external_organization_id External Organization ID
1016
+ # @param relationship_id Relationship Id
987
1017
  # @param [Hash] opts the optional parameters
988
- # @option opts [Integer] :page_size Page size
989
- # @option opts [Integer] :page_number Page number
990
- # @option opts [String] :q User supplied search keywords (no special syntax is currently supported)
991
- # @option opts [String] :sort_order Sort order
992
- # @option opts [Array<String>] :expand which fields, if any, to expand
993
- # @return [Array<(ContactListing, Fixnum, Hash)>] ContactListing data, response status code and response headers
994
- def get_organizations_externalorganization_id_contacts_with_http_info(external_organization_id, opts = {})
1018
+ # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1019
+ def get_relationships_relationship_id_with_http_info(relationship_id, opts = {})
995
1020
  if @api_client.config.debugging
996
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_contacts ..."
1021
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_relationships_relationship_id ..."
997
1022
  end
998
1023
 
999
- # verify the required parameter 'external_organization_id' is set
1000
- fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_contacts" if external_organization_id.nil?
1024
+ # verify the required parameter 'relationship_id' is set
1025
+ fail "Missing the required parameter 'relationship_id' when calling get_relationships_relationship_id" if relationship_id.nil?
1001
1026
 
1002
1027
  # resource path
1003
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1028
+ local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
1004
1029
 
1005
1030
  # query parameters
1006
1031
  query_params = {}
1007
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1008
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1009
- query_params[:'q'] = opts[:'q'] if opts[:'q']
1010
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1011
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
1012
1032
 
1013
1033
  # header parameters
1014
1034
  header_params = {}
@@ -1027,58 +1047,45 @@ module PureCloud
1027
1047
  # http body (model)
1028
1048
  post_body = nil
1029
1049
 
1030
-
1031
1050
  auth_names = ['PureCloud Auth']
1032
- data, status_code, headers = @api_client.call_api(:GET, path,
1051
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1033
1052
  :header_params => header_params,
1034
1053
  :query_params => query_params,
1035
1054
  :form_params => form_params,
1036
1055
  :body => post_body,
1037
1056
  :auth_names => auth_names,
1038
- :return_type => 'ContactListing')
1057
+ :return_type => 'Relationship')
1039
1058
  if @api_client.config.debugging
1040
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1059
+ @api_client.config.logger.debug "API called: ExternalContactsApi#get_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1041
1060
  end
1042
1061
  return data, status_code, headers
1043
1062
  end
1044
1063
 
1045
- # List Notes for an External Organization
1064
+ # Create an ExternalContact
1046
1065
  #
1047
- # @param external_organization_id External Organization Id
1048
1066
  # @param [Hash] opts the optional parameters
1049
- # @option opts [Integer] :page_size Page size
1050
- # @option opts [Integer] :page_number Page number
1051
- # @option opts [String] :sort_order Sort order
1052
- # @return [NoteListing]
1053
- def get_organizations_externalorganization_id_notes(external_organization_id, opts = {})
1054
- data, status_code, headers = get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
1067
+ # @option opts [ExternalContact] :body ExternalContact
1068
+ # @return [ExternalContact]
1069
+ def post_contacts(opts = {})
1070
+ data, status_code, headers = post_contacts_with_http_info(opts)
1055
1071
  return data
1056
1072
  end
1057
1073
 
1058
- # List Notes for an External Organization
1074
+ # Create an ExternalContact
1059
1075
  #
1060
- # @param external_organization_id External Organization Id
1061
1076
  # @param [Hash] opts the optional parameters
1062
- # @option opts [Integer] :page_size Page size
1063
- # @option opts [Integer] :page_number Page number
1064
- # @option opts [String] :sort_order Sort order
1065
- # @return [Array<(NoteListing, Fixnum, Hash)>] NoteListing data, response status code and response headers
1066
- def get_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
1077
+ # @option opts [ExternalContact] :body ExternalContact
1078
+ # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
1079
+ def post_contacts_with_http_info(opts = {})
1067
1080
  if @api_client.config.debugging
1068
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes ..."
1081
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts ..."
1069
1082
  end
1070
1083
 
1071
- # verify the required parameter 'external_organization_id' is set
1072
- fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes" if external_organization_id.nil?
1073
-
1074
1084
  # resource path
1075
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1085
+ local_var_path = "/api/v2/externalcontacts/contacts".sub('{format}','json')
1076
1086
 
1077
1087
  # query parameters
1078
1088
  query_params = {}
1079
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1080
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1081
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1082
1089
 
1083
1090
  # header parameters
1084
1091
  header_params = {}
@@ -1095,50 +1102,49 @@ module PureCloud
1095
1102
  form_params = {}
1096
1103
 
1097
1104
  # http body (model)
1098
- post_body = nil
1105
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1099
1106
 
1100
-
1101
1107
  auth_names = ['PureCloud Auth']
1102
- data, status_code, headers = @api_client.call_api(:GET, path,
1108
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1103
1109
  :header_params => header_params,
1104
1110
  :query_params => query_params,
1105
1111
  :form_params => form_params,
1106
1112
  :body => post_body,
1107
1113
  :auth_names => auth_names,
1108
- :return_type => 'NoteListing')
1114
+ :return_type => 'ExternalContact')
1109
1115
  if @api_client.config.debugging
1110
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1116
+ @api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1111
1117
  end
1112
1118
  return data, status_code, headers
1113
1119
  end
1114
1120
 
1115
- # Create a Note for an External Organization
1121
+ # Create a Note for an ExternalContact
1116
1122
  #
1117
- # @param external_organization_id External Organization Id
1123
+ # @param contact_id ExternalContact Id
1118
1124
  # @param [Hash] opts the optional parameters
1119
1125
  # @option opts [Note] :body ExternalContact
1120
1126
  # @return [Note]
1121
- def post_organizations_externalorganization_id_notes(external_organization_id, opts = {})
1122
- data, status_code, headers = post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
1127
+ def post_contacts_contact_id_notes(contact_id, opts = {})
1128
+ data, status_code, headers = post_contacts_contact_id_notes_with_http_info(contact_id, opts)
1123
1129
  return data
1124
1130
  end
1125
1131
 
1126
- # Create a Note for an External Organization
1132
+ # Create a Note for an ExternalContact
1127
1133
  #
1128
- # @param external_organization_id External Organization Id
1134
+ # @param contact_id ExternalContact Id
1129
1135
  # @param [Hash] opts the optional parameters
1130
1136
  # @option opts [Note] :body ExternalContact
1131
1137
  # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
1132
- def post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
1138
+ def post_contacts_contact_id_notes_with_http_info(contact_id, opts = {})
1133
1139
  if @api_client.config.debugging
1134
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations_externalorganization_id_notes ..."
1140
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_contacts_contact_id_notes ..."
1135
1141
  end
1136
1142
 
1137
- # verify the required parameter 'external_organization_id' is set
1138
- fail "Missing the required parameter 'external_organization_id' when calling post_organizations_externalorganization_id_notes" if external_organization_id.nil?
1143
+ # verify the required parameter 'contact_id' is set
1144
+ fail "Missing the required parameter 'contact_id' when calling post_contacts_contact_id_notes" if contact_id.nil?
1139
1145
 
1140
1146
  # resource path
1141
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1147
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
1142
1148
 
1143
1149
  # query parameters
1144
1150
  query_params = {}
@@ -1160,9 +1166,8 @@ module PureCloud
1160
1166
  # http body (model)
1161
1167
  post_body = @api_client.object_to_http_body(opts[:'body'])
1162
1168
 
1163
-
1164
1169
  auth_names = ['PureCloud Auth']
1165
- data, status_code, headers = @api_client.call_api(:POST, path,
1170
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1166
1171
  :header_params => header_params,
1167
1172
  :query_params => query_params,
1168
1173
  :form_params => form_params,
@@ -1170,41 +1175,33 @@ module PureCloud
1170
1175
  :auth_names => auth_names,
1171
1176
  :return_type => 'Note')
1172
1177
  if @api_client.config.debugging
1173
- @api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1178
+ @api_client.config.logger.debug "API called: ExternalContactsApi#post_contacts_contact_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1174
1179
  end
1175
1180
  return data, status_code, headers
1176
1181
  end
1177
1182
 
1178
- # Fetch a note
1183
+ # Create an External Organization
1179
1184
  #
1180
- # @param external_organization_id External Organization Id
1181
- # @param note_id Note Id
1182
1185
  # @param [Hash] opts the optional parameters
1183
- # @return [Note]
1184
- def get_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
1185
- data, status_code, headers = get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
1186
+ # @option opts [ExternalOrganization] :body ExternalOrganization
1187
+ # @return [ExternalOrganization]
1188
+ def post_organizations(opts = {})
1189
+ data, status_code, headers = post_organizations_with_http_info(opts)
1186
1190
  return data
1187
1191
  end
1188
1192
 
1189
- # Fetch a note
1193
+ # Create an External Organization
1190
1194
  #
1191
- # @param external_organization_id External Organization Id
1192
- # @param note_id Note Id
1193
1195
  # @param [Hash] opts the optional parameters
1194
- # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
1195
- def get_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
1196
- if @api_client.config.debugging
1197
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id ..."
1198
- end
1199
-
1200
- # verify the required parameter 'external_organization_id' is set
1201
- fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
1202
-
1203
- # verify the required parameter 'note_id' is set
1204
- fail "Missing the required parameter 'note_id' when calling get_organizations_externalorganization_id_notes_note_id" if note_id.nil?
1196
+ # @option opts [ExternalOrganization] :body ExternalOrganization
1197
+ # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
1198
+ def post_organizations_with_http_info(opts = {})
1199
+ if @api_client.config.debugging
1200
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations ..."
1201
+ end
1205
1202
 
1206
1203
  # resource path
1207
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
1204
+ local_var_path = "/api/v2/externalcontacts/organizations".sub('{format}','json')
1208
1205
 
1209
1206
  # query parameters
1210
1207
  query_params = {}
@@ -1224,55 +1221,49 @@ module PureCloud
1224
1221
  form_params = {}
1225
1222
 
1226
1223
  # http body (model)
1227
- post_body = nil
1224
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1228
1225
 
1229
-
1230
1226
  auth_names = ['PureCloud Auth']
1231
- data, status_code, headers = @api_client.call_api(:GET, path,
1227
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1232
1228
  :header_params => header_params,
1233
1229
  :query_params => query_params,
1234
1230
  :form_params => form_params,
1235
1231
  :body => post_body,
1236
1232
  :auth_names => auth_names,
1237
- :return_type => 'Note')
1233
+ :return_type => 'ExternalOrganization')
1238
1234
  if @api_client.config.debugging
1239
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1235
+ @api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1240
1236
  end
1241
1237
  return data, status_code, headers
1242
1238
  end
1243
1239
 
1244
- # Update a note
1240
+ # Create a Note for an External Organization
1245
1241
  #
1246
1242
  # @param external_organization_id External Organization Id
1247
- # @param note_id Note Id
1248
1243
  # @param [Hash] opts the optional parameters
1249
- # @option opts [Note] :body Note
1244
+ # @option opts [Note] :body ExternalContact
1250
1245
  # @return [Note]
1251
- def put_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
1252
- data, status_code, headers = put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
1246
+ def post_organizations_externalorganization_id_notes(external_organization_id, opts = {})
1247
+ data, status_code, headers = post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts)
1253
1248
  return data
1254
1249
  end
1255
1250
 
1256
- # Update a note
1251
+ # Create a Note for an External Organization
1257
1252
  #
1258
1253
  # @param external_organization_id External Organization Id
1259
- # @param note_id Note Id
1260
1254
  # @param [Hash] opts the optional parameters
1261
- # @option opts [Note] :body Note
1255
+ # @option opts [Note] :body ExternalContact
1262
1256
  # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
1263
- def put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
1257
+ def post_organizations_externalorganization_id_notes_with_http_info(external_organization_id, opts = {})
1264
1258
  if @api_client.config.debugging
1265
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id ..."
1259
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_organizations_externalorganization_id_notes ..."
1266
1260
  end
1267
1261
 
1268
1262
  # verify the required parameter 'external_organization_id' is set
1269
- fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
1270
-
1271
- # verify the required parameter 'note_id' is set
1272
- fail "Missing the required parameter 'note_id' when calling put_organizations_externalorganization_id_notes_note_id" if note_id.nil?
1263
+ fail "Missing the required parameter 'external_organization_id' when calling post_organizations_externalorganization_id_notes" if external_organization_id.nil?
1273
1264
 
1274
1265
  # resource path
1275
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
1266
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1276
1267
 
1277
1268
  # query parameters
1278
1269
  query_params = {}
@@ -1294,9 +1285,8 @@ module PureCloud
1294
1285
  # http body (model)
1295
1286
  post_body = @api_client.object_to_http_body(opts[:'body'])
1296
1287
 
1297
-
1298
1288
  auth_names = ['PureCloud Auth']
1299
- data, status_code, headers = @api_client.call_api(:PUT, path,
1289
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1300
1290
  :header_params => header_params,
1301
1291
  :query_params => query_params,
1302
1292
  :form_params => form_params,
@@ -1304,41 +1294,33 @@ module PureCloud
1304
1294
  :auth_names => auth_names,
1305
1295
  :return_type => 'Note')
1306
1296
  if @api_client.config.debugging
1307
- @api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1297
+ @api_client.config.logger.debug "API called: ExternalContactsApi#post_organizations_externalorganization_id_notes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1308
1298
  end
1309
1299
  return data, status_code, headers
1310
1300
  end
1311
1301
 
1312
- # Delete a note
1302
+ # Create a relationship
1313
1303
  #
1314
- # @param external_organization_id External Organization Id
1315
- # @param note_id Note Id
1316
1304
  # @param [Hash] opts the optional parameters
1317
- # @return [nil]
1318
- def delete_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
1319
- delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
1320
- return nil
1305
+ # @option opts [Relationship] :body Relationship
1306
+ # @return [Relationship]
1307
+ def post_relationships(opts = {})
1308
+ data, status_code, headers = post_relationships_with_http_info(opts)
1309
+ return data
1321
1310
  end
1322
1311
 
1323
- # Delete a note
1312
+ # Create a relationship
1324
1313
  #
1325
- # @param external_organization_id External Organization Id
1326
- # @param note_id Note Id
1327
1314
  # @param [Hash] opts the optional parameters
1328
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1329
- def delete_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
1315
+ # @option opts [Relationship] :body Relationship
1316
+ # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1317
+ def post_relationships_with_http_info(opts = {})
1330
1318
  if @api_client.config.debugging
1331
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id ..."
1319
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_relationships ..."
1332
1320
  end
1333
1321
 
1334
- # verify the required parameter 'external_organization_id' is set
1335
- fail "Missing the required parameter 'external_organization_id' when calling delete_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
1336
-
1337
- # verify the required parameter 'note_id' is set
1338
- fail "Missing the required parameter 'note_id' when calling delete_organizations_externalorganization_id_notes_note_id" if note_id.nil?
1339
-
1340
1322
  # resource path
1341
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
1323
+ local_var_path = "/api/v2/externalcontacts/relationships".sub('{format}','json')
1342
1324
 
1343
1325
  # query parameters
1344
1326
  query_params = {}
@@ -1358,59 +1340,52 @@ module PureCloud
1358
1340
  form_params = {}
1359
1341
 
1360
1342
  # http body (model)
1361
- post_body = nil
1343
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1362
1344
 
1363
-
1364
1345
  auth_names = ['PureCloud Auth']
1365
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1346
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1366
1347
  :header_params => header_params,
1367
1348
  :query_params => query_params,
1368
1349
  :form_params => form_params,
1369
1350
  :body => post_body,
1370
- :auth_names => auth_names)
1351
+ :auth_names => auth_names,
1352
+ :return_type => 'Relationship')
1371
1353
  if @api_client.config.debugging
1372
- @api_client.config.logger.debug "API called: ExternalContactsApi#delete_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1354
+ @api_client.config.logger.debug "API called: ExternalContactsApi#post_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1373
1355
  end
1374
1356
  return data, status_code, headers
1375
1357
  end
1376
1358
 
1377
- # Fetch an External Organization
1359
+ # Update a externalContact
1378
1360
  #
1379
- # @param external_organization_id External Organization ID
1361
+ # @param contact_id ExternalContact ID
1380
1362
  # @param [Hash] opts the optional parameters
1381
- # @option opts [Integer] :page_size Page size
1382
- # @option opts [Integer] :page_number Page number
1383
- # @option opts [String] :sort_order Sort order
1384
- # @return [RelationshipListing]
1385
- def get_organizations_externalorganization_id_relationships(external_organization_id, opts = {})
1386
- data, status_code, headers = get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts)
1363
+ # @option opts [ExternalContact] :body ExternalContact
1364
+ # @return [ExternalContact]
1365
+ def put_contacts_contact_id(contact_id, opts = {})
1366
+ data, status_code, headers = put_contacts_contact_id_with_http_info(contact_id, opts)
1387
1367
  return data
1388
1368
  end
1389
1369
 
1390
- # Fetch an External Organization
1370
+ # Update a externalContact
1391
1371
  #
1392
- # @param external_organization_id External Organization ID
1372
+ # @param contact_id ExternalContact ID
1393
1373
  # @param [Hash] opts the optional parameters
1394
- # @option opts [Integer] :page_size Page size
1395
- # @option opts [Integer] :page_number Page number
1396
- # @option opts [String] :sort_order Sort order
1397
- # @return [Array<(RelationshipListing, Fixnum, Hash)>] RelationshipListing data, response status code and response headers
1398
- def get_organizations_externalorganization_id_relationships_with_http_info(external_organization_id, opts = {})
1374
+ # @option opts [ExternalContact] :body ExternalContact
1375
+ # @return [Array<(ExternalContact, Fixnum, Hash)>] ExternalContact data, response status code and response headers
1376
+ def put_contacts_contact_id_with_http_info(contact_id, opts = {})
1399
1377
  if @api_client.config.debugging
1400
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_organizations_externalorganization_id_relationships ..."
1378
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id ..."
1401
1379
  end
1402
1380
 
1403
- # verify the required parameter 'external_organization_id' is set
1404
- fail "Missing the required parameter 'external_organization_id' when calling get_organizations_externalorganization_id_relationships" if external_organization_id.nil?
1381
+ # verify the required parameter 'contact_id' is set
1382
+ fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id" if contact_id.nil?
1405
1383
 
1406
1384
  # resource path
1407
- path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1385
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s)
1408
1386
 
1409
1387
  # query parameters
1410
1388
  query_params = {}
1411
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
1412
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
1413
- query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1414
1389
 
1415
1390
  # header parameters
1416
1391
  header_params = {}
@@ -1427,45 +1402,54 @@ module PureCloud
1427
1402
  form_params = {}
1428
1403
 
1429
1404
  # http body (model)
1430
- post_body = nil
1405
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1431
1406
 
1432
-
1433
1407
  auth_names = ['PureCloud Auth']
1434
- data, status_code, headers = @api_client.call_api(:GET, path,
1408
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1435
1409
  :header_params => header_params,
1436
1410
  :query_params => query_params,
1437
1411
  :form_params => form_params,
1438
1412
  :body => post_body,
1439
1413
  :auth_names => auth_names,
1440
- :return_type => 'RelationshipListing')
1414
+ :return_type => 'ExternalContact')
1441
1415
  if @api_client.config.debugging
1442
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_organizations_externalorganization_id_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1416
+ @api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1443
1417
  end
1444
1418
  return data, status_code, headers
1445
1419
  end
1446
1420
 
1447
- # Create a relationship
1421
+ # Update a note for a contact
1448
1422
  #
1423
+ # @param contact_id ExternalContact Id
1424
+ # @param note_id Note Id
1449
1425
  # @param [Hash] opts the optional parameters
1450
- # @option opts [Relationship] :body Relationship
1451
- # @return [Relationship]
1452
- def post_relationships(opts = {})
1453
- data, status_code, headers = post_relationships_with_http_info(opts)
1426
+ # @option opts [Note] :body Note
1427
+ # @return [Note]
1428
+ def put_contacts_contact_id_notes_note_id(contact_id, note_id, opts = {})
1429
+ data, status_code, headers = put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts)
1454
1430
  return data
1455
1431
  end
1456
1432
 
1457
- # Create a relationship
1433
+ # Update a note for a contact
1458
1434
  #
1435
+ # @param contact_id ExternalContact Id
1436
+ # @param note_id Note Id
1459
1437
  # @param [Hash] opts the optional parameters
1460
- # @option opts [Relationship] :body Relationship
1461
- # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1462
- def post_relationships_with_http_info(opts = {})
1438
+ # @option opts [Note] :body Note
1439
+ # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
1440
+ def put_contacts_contact_id_notes_note_id_with_http_info(contact_id, note_id, opts = {})
1463
1441
  if @api_client.config.debugging
1464
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#post_relationships ..."
1442
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_contacts_contact_id_notes_note_id ..."
1465
1443
  end
1466
1444
 
1445
+ # verify the required parameter 'contact_id' is set
1446
+ fail "Missing the required parameter 'contact_id' when calling put_contacts_contact_id_notes_note_id" if contact_id.nil?
1447
+
1448
+ # verify the required parameter 'note_id' is set
1449
+ fail "Missing the required parameter 'note_id' when calling put_contacts_contact_id_notes_note_id" if note_id.nil?
1450
+
1467
1451
  # resource path
1468
- path = "/api/v2/externalcontacts/relationships".sub('{format}','json')
1452
+ local_var_path = "/api/v2/externalcontacts/contacts/{contactId}/notes/{noteId}".sub('{format}','json').sub('{' + 'contactId' + '}', contact_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
1469
1453
 
1470
1454
  # query parameters
1471
1455
  query_params = {}
@@ -1487,46 +1471,47 @@ module PureCloud
1487
1471
  # http body (model)
1488
1472
  post_body = @api_client.object_to_http_body(opts[:'body'])
1489
1473
 
1490
-
1491
1474
  auth_names = ['PureCloud Auth']
1492
- data, status_code, headers = @api_client.call_api(:POST, path,
1475
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1493
1476
  :header_params => header_params,
1494
1477
  :query_params => query_params,
1495
1478
  :form_params => form_params,
1496
1479
  :body => post_body,
1497
1480
  :auth_names => auth_names,
1498
- :return_type => 'Relationship')
1481
+ :return_type => 'Note')
1499
1482
  if @api_client.config.debugging
1500
- @api_client.config.logger.debug "API called: ExternalContactsApi#post_relationships\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1483
+ @api_client.config.logger.debug "API called: ExternalContactsApi#put_contacts_contact_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1501
1484
  end
1502
1485
  return data, status_code, headers
1503
1486
  end
1504
1487
 
1505
- # Fetch a relationship
1488
+ # Update an External Organization
1506
1489
  #
1507
- # @param relationship_id Relationship Id
1490
+ # @param external_organization_id External Organization ID
1508
1491
  # @param [Hash] opts the optional parameters
1509
- # @return [Relationship]
1510
- def get_relationships_relationship_id(relationship_id, opts = {})
1511
- data, status_code, headers = get_relationships_relationship_id_with_http_info(relationship_id, opts)
1492
+ # @option opts [ExternalOrganization] :body ExternalOrganization
1493
+ # @return [ExternalOrganization]
1494
+ def put_organizations_externalorganization_id(external_organization_id, opts = {})
1495
+ data, status_code, headers = put_organizations_externalorganization_id_with_http_info(external_organization_id, opts)
1512
1496
  return data
1513
1497
  end
1514
1498
 
1515
- # Fetch a relationship
1499
+ # Update an External Organization
1516
1500
  #
1517
- # @param relationship_id Relationship Id
1501
+ # @param external_organization_id External Organization ID
1518
1502
  # @param [Hash] opts the optional parameters
1519
- # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1520
- def get_relationships_relationship_id_with_http_info(relationship_id, opts = {})
1503
+ # @option opts [ExternalOrganization] :body ExternalOrganization
1504
+ # @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
1505
+ def put_organizations_externalorganization_id_with_http_info(external_organization_id, opts = {})
1521
1506
  if @api_client.config.debugging
1522
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#get_relationships_relationship_id ..."
1507
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id ..."
1523
1508
  end
1524
1509
 
1525
- # verify the required parameter 'relationship_id' is set
1526
- fail "Missing the required parameter 'relationship_id' when calling get_relationships_relationship_id" if relationship_id.nil?
1510
+ # verify the required parameter 'external_organization_id' is set
1511
+ fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id" if external_organization_id.nil?
1527
1512
 
1528
1513
  # resource path
1529
- path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
1514
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
1530
1515
 
1531
1516
  # query parameters
1532
1517
  query_params = {}
@@ -1546,50 +1531,54 @@ module PureCloud
1546
1531
  form_params = {}
1547
1532
 
1548
1533
  # http body (model)
1549
- post_body = nil
1534
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1550
1535
 
1551
-
1552
1536
  auth_names = ['PureCloud Auth']
1553
- data, status_code, headers = @api_client.call_api(:GET, path,
1537
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1554
1538
  :header_params => header_params,
1555
1539
  :query_params => query_params,
1556
1540
  :form_params => form_params,
1557
1541
  :body => post_body,
1558
1542
  :auth_names => auth_names,
1559
- :return_type => 'Relationship')
1543
+ :return_type => 'ExternalOrganization')
1560
1544
  if @api_client.config.debugging
1561
- @api_client.config.logger.debug "API called: ExternalContactsApi#get_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1545
+ @api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1562
1546
  end
1563
1547
  return data, status_code, headers
1564
1548
  end
1565
1549
 
1566
- # Update a relationship
1550
+ # Update a note
1567
1551
  #
1568
- # @param relationship_id Relationship Id
1552
+ # @param external_organization_id External Organization Id
1553
+ # @param note_id Note Id
1569
1554
  # @param [Hash] opts the optional parameters
1570
- # @option opts [Relationship] :body Relationship
1571
- # @return [Relationship]
1572
- def put_relationships_relationship_id(relationship_id, opts = {})
1573
- data, status_code, headers = put_relationships_relationship_id_with_http_info(relationship_id, opts)
1555
+ # @option opts [Note] :body Note
1556
+ # @return [Note]
1557
+ def put_organizations_externalorganization_id_notes_note_id(external_organization_id, note_id, opts = {})
1558
+ data, status_code, headers = put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts)
1574
1559
  return data
1575
1560
  end
1576
1561
 
1577
- # Update a relationship
1562
+ # Update a note
1578
1563
  #
1579
- # @param relationship_id Relationship Id
1564
+ # @param external_organization_id External Organization Id
1565
+ # @param note_id Note Id
1580
1566
  # @param [Hash] opts the optional parameters
1581
- # @option opts [Relationship] :body Relationship
1582
- # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1583
- def put_relationships_relationship_id_with_http_info(relationship_id, opts = {})
1567
+ # @option opts [Note] :body Note
1568
+ # @return [Array<(Note, Fixnum, Hash)>] Note data, response status code and response headers
1569
+ def put_organizations_externalorganization_id_notes_note_id_with_http_info(external_organization_id, note_id, opts = {})
1584
1570
  if @api_client.config.debugging
1585
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_relationships_relationship_id ..."
1571
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id ..."
1586
1572
  end
1587
1573
 
1588
- # verify the required parameter 'relationship_id' is set
1589
- fail "Missing the required parameter 'relationship_id' when calling put_relationships_relationship_id" if relationship_id.nil?
1574
+ # verify the required parameter 'external_organization_id' is set
1575
+ fail "Missing the required parameter 'external_organization_id' when calling put_organizations_externalorganization_id_notes_note_id" if external_organization_id.nil?
1576
+
1577
+ # verify the required parameter 'note_id' is set
1578
+ fail "Missing the required parameter 'note_id' when calling put_organizations_externalorganization_id_notes_note_id" if note_id.nil?
1590
1579
 
1591
1580
  # resource path
1592
- path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
1581
+ local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'noteId' + '}', note_id.to_s)
1593
1582
 
1594
1583
  # query parameters
1595
1584
  query_params = {}
@@ -1611,46 +1600,47 @@ module PureCloud
1611
1600
  # http body (model)
1612
1601
  post_body = @api_client.object_to_http_body(opts[:'body'])
1613
1602
 
1614
-
1615
1603
  auth_names = ['PureCloud Auth']
1616
- data, status_code, headers = @api_client.call_api(:PUT, path,
1604
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1617
1605
  :header_params => header_params,
1618
1606
  :query_params => query_params,
1619
1607
  :form_params => form_params,
1620
1608
  :body => post_body,
1621
1609
  :auth_names => auth_names,
1622
- :return_type => 'Relationship')
1610
+ :return_type => 'Note')
1623
1611
  if @api_client.config.debugging
1624
- @api_client.config.logger.debug "API called: ExternalContactsApi#put_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1612
+ @api_client.config.logger.debug "API called: ExternalContactsApi#put_organizations_externalorganization_id_notes_note_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1625
1613
  end
1626
1614
  return data, status_code, headers
1627
1615
  end
1628
1616
 
1629
- # Delete a relationship
1617
+ # Update a relationship
1630
1618
  #
1631
1619
  # @param relationship_id Relationship Id
1632
1620
  # @param [Hash] opts the optional parameters
1633
- # @return [nil]
1634
- def delete_relationships_relationship_id(relationship_id, opts = {})
1635
- delete_relationships_relationship_id_with_http_info(relationship_id, opts)
1636
- return nil
1621
+ # @option opts [Relationship] :body Relationship
1622
+ # @return [Relationship]
1623
+ def put_relationships_relationship_id(relationship_id, opts = {})
1624
+ data, status_code, headers = put_relationships_relationship_id_with_http_info(relationship_id, opts)
1625
+ return data
1637
1626
  end
1638
1627
 
1639
- # Delete a relationship
1628
+ # Update a relationship
1640
1629
  #
1641
1630
  # @param relationship_id Relationship Id
1642
1631
  # @param [Hash] opts the optional parameters
1643
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1644
- def delete_relationships_relationship_id_with_http_info(relationship_id, opts = {})
1632
+ # @option opts [Relationship] :body Relationship
1633
+ # @return [Array<(Relationship, Fixnum, Hash)>] Relationship data, response status code and response headers
1634
+ def put_relationships_relationship_id_with_http_info(relationship_id, opts = {})
1645
1635
  if @api_client.config.debugging
1646
- @api_client.config.logger.debug "Calling API: ExternalContactsApi#delete_relationships_relationship_id ..."
1636
+ @api_client.config.logger.debug "Calling API: ExternalContactsApi#put_relationships_relationship_id ..."
1647
1637
  end
1648
1638
 
1649
1639
  # verify the required parameter 'relationship_id' is set
1650
- fail "Missing the required parameter 'relationship_id' when calling delete_relationships_relationship_id" if relationship_id.nil?
1640
+ fail "Missing the required parameter 'relationship_id' when calling put_relationships_relationship_id" if relationship_id.nil?
1651
1641
 
1652
1642
  # resource path
1653
- path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
1643
+ local_var_path = "/api/v2/externalcontacts/relationships/{relationshipId}".sub('{format}','json').sub('{' + 'relationshipId' + '}', relationship_id.to_s)
1654
1644
 
1655
1645
  # query parameters
1656
1646
  query_params = {}
@@ -1670,24 +1660,20 @@ module PureCloud
1670
1660
  form_params = {}
1671
1661
 
1672
1662
  # http body (model)
1673
- post_body = nil
1663
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1674
1664
 
1675
-
1676
1665
  auth_names = ['PureCloud Auth']
1677
- data, status_code, headers = @api_client.call_api(:DELETE, path,
1666
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1678
1667
  :header_params => header_params,
1679
1668
  :query_params => query_params,
1680
1669
  :form_params => form_params,
1681
1670
  :body => post_body,
1682
- :auth_names => auth_names)
1671
+ :auth_names => auth_names,
1672
+ :return_type => 'Relationship')
1683
1673
  if @api_client.config.debugging
1684
- @api_client.config.logger.debug "API called: ExternalContactsApi#delete_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1674
+ @api_client.config.logger.debug "API called: ExternalContactsApi#put_relationships_relationship_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1685
1675
  end
1686
1676
  return data, status_code, headers
1687
1677
  end
1688
1678
  end
1689
1679
  end
1690
-
1691
-
1692
-
1693
-