purecloudplatformclientv2 84.0.0 → 88.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (970) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +2 -2
  4. data/docs/AddShiftTradeRequest.md +17 -0
  5. data/docs/AdditionalMessage.md +1 -0
  6. data/docs/AgentActivityEntityListing.md +2 -2
  7. data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -0
  8. data/docs/AnalyticsEvaluation.md +1 -1
  9. data/docs/AnalyticsUserDetailsAsyncQueryResponse.md +1 -0
  10. data/docs/ArchitectApi.md +5 -1
  11. data/docs/ArrayNode.md +2 -2
  12. data/docs/AsyncForecastOperationResult.md +16 -0
  13. data/docs/AsyncIntradayResponse.md +15 -0
  14. data/docs/AttemptLimitsEntityListing.md +2 -2
  15. data/docs/AuthorizationApi.md +0 -72
  16. data/docs/AuthzDivisionEntityListing.md +2 -2
  17. data/docs/BillingApi.md +0 -2
  18. data/docs/{WfmAbandonRate.md → BuAbandonRate.md} +2 -2
  19. data/docs/BuAgentScheduleQueryResponse.md +17 -0
  20. data/docs/BuAgentScheduleRescheduleResponse.md +16 -0
  21. data/docs/BuAgentScheduleUpdate.md +14 -0
  22. data/docs/BuAgentSchedulesQueryResponse.md +13 -0
  23. data/docs/BuAsyncAgentSchedulesQueryResponse.md +17 -0
  24. data/docs/BuAsyncScheduleResponse.md +15 -0
  25. data/docs/BuAsyncScheduleRunResponse.md +15 -0
  26. data/docs/{WfmAverageSpeedOfAnswer.md → BuAverageSpeedOfAnswer.md} +2 -2
  27. data/docs/BuCopyScheduleRequest.md +14 -0
  28. data/docs/BuCreateBlankScheduleRequest.md +15 -0
  29. data/docs/BuCurrentAgentScheduleSearchResponse.md +18 -0
  30. data/docs/BuForecastGenerationPlanningGroupResult.md +14 -0
  31. data/docs/BuForecastGenerationResult.md +13 -0
  32. data/docs/{WfmForecastModification.md → BuForecastModification.md} +6 -3
  33. data/docs/BuForecastResult.md +16 -0
  34. data/docs/BuForecastResultResponse.md +14 -0
  35. data/docs/{ForecastTimeSeriesResult.md → BuForecastTimeSeriesResult.md} +2 -2
  36. data/docs/BuGenerateScheduleRequest.md +15 -0
  37. data/docs/BuGetCurrentAgentScheduleRequest.md +14 -0
  38. data/docs/BuHeadcountForecast.md +14 -0
  39. data/docs/BuHeadcountForecastResponse.md +14 -0
  40. data/docs/BuIntradayDataGroup.md +19 -0
  41. data/docs/BuIntradayForecastData.md +14 -0
  42. data/docs/{IntradayResponse.md → BuIntradayResponse.md} +6 -6
  43. data/docs/BuIntradayScheduleData.md +13 -0
  44. data/docs/BuManagementUnitScheduleSummary.md +17 -0
  45. data/docs/BuPlanningGroupHeadcountForecast.md +15 -0
  46. data/docs/BuQueryAgentSchedulesRequest.md +14 -0
  47. data/docs/BuRescheduleAgentScheduleResult.md +15 -0
  48. data/docs/BuRescheduleRequest.md +21 -0
  49. data/docs/BuRescheduleResult.md +17 -0
  50. data/docs/BuScheduleListItem.md +21 -0
  51. data/docs/BuScheduleListing.md +13 -0
  52. data/docs/BuScheduleMetadata.md +22 -0
  53. data/docs/BuScheduleReferenceForMuRoute.md +16 -0
  54. data/docs/BuScheduleRun.md +29 -0
  55. data/docs/BuScheduleRunListing.md +13 -0
  56. data/docs/{WfmServiceLevel.md → BuServiceLevel.md} +2 -2
  57. data/docs/BuShortTermForecast.md +27 -0
  58. data/docs/BuShortTermForecastListItem.md +20 -0
  59. data/docs/BuShortTermForecastListing.md +13 -0
  60. data/docs/{ShortTermForecastListItemResponse.md → BuShortTermForecastReference.md} +4 -6
  61. data/docs/BuShortTermForecastingSettings.md +13 -0
  62. data/docs/BulkShiftTradeStateUpdateRequest.md +13 -0
  63. data/docs/BulkUpdateShiftTradeStateRequestItem.md +15 -0
  64. data/docs/BulkUpdateShiftTradeStateResponse.md +15 -0
  65. data/docs/BulkUpdateShiftTradeStateResult.md +13 -0
  66. data/docs/BulkUpdateShiftTradeStateResultItem.md +18 -0
  67. data/docs/BusinessUnit.md +17 -0
  68. data/docs/BusinessUnitActivityCode.md +23 -0
  69. data/docs/BusinessUnitActivityCodeListing.md +13 -0
  70. data/docs/BusinessUnitListItem.md +17 -0
  71. data/docs/BusinessUnitListing.md +13 -0
  72. data/docs/BusinessUnitSettings.md +16 -0
  73. data/docs/CalibrationEntityListing.md +2 -2
  74. data/docs/Call.md +1 -0
  75. data/docs/CallBasic.md +1 -0
  76. data/docs/CallConversationEntityListing.md +2 -2
  77. data/docs/CallHistoryConversationEntityListing.md +2 -2
  78. data/docs/CallableTimeSetEntityListing.md +2 -2
  79. data/docs/Callback.md +2 -0
  80. data/docs/CallbackBasic.md +2 -0
  81. data/docs/CallbackConversationEntityListing.md +2 -2
  82. data/docs/CallbackMediaParticipant.md +2 -1
  83. data/docs/CampaignDivisionViewListing.md +2 -2
  84. data/docs/CampaignEntityListing.md +2 -2
  85. data/docs/CampaignRuleEntityListing.md +2 -2
  86. data/docs/CampaignSequenceEntityListing.md +2 -2
  87. data/docs/CategoryListing.md +16 -0
  88. data/docs/CertificateAuthorityEntityListing.md +2 -2
  89. data/docs/ChatConversationEntityListing.md +2 -2
  90. data/docs/ClientAppEntityListing.md +2 -2
  91. data/docs/CoachingAnnotation.md +21 -0
  92. data/docs/CoachingAnnotationCreateRequest.md +14 -0
  93. data/docs/CoachingAnnotationList.md +22 -0
  94. data/docs/CoachingApi.md +1132 -0
  95. data/docs/CoachingAppointmentReference.md +14 -0
  96. data/docs/CoachingAppointmentResponse.md +27 -0
  97. data/docs/CoachingAppointmentResponseList.md +22 -0
  98. data/docs/CoachingAppointmentStatusDto.md +16 -0
  99. data/docs/CoachingAppointmentStatusDtoList.md +17 -0
  100. data/docs/CoachingNotification.md +23 -0
  101. data/docs/CoachingNotificationList.md +22 -0
  102. data/docs/CobrowseConversationEntityListing.md +2 -2
  103. data/docs/Cobrowsesession.md +1 -0
  104. data/docs/CommandStatusEntityListing.md +2 -2
  105. data/docs/ConsumedResourcesEntityListing.md +2 -2
  106. data/docs/ConsumingResourcesEntityListing.md +2 -2
  107. data/docs/ContactListDivisionViewListing.md +2 -2
  108. data/docs/ContactListEntityListing.md +2 -2
  109. data/docs/ContactListFilterEntityListing.md +2 -2
  110. data/docs/ContactListing.md +2 -2
  111. data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
  112. data/docs/ContextIntent.md +13 -0
  113. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  114. data/docs/ConversationChat.md +1 -0
  115. data/docs/ConversationEntityListing.md +2 -2
  116. data/docs/ConversationEventTopicCall.md +1 -0
  117. data/docs/ConversationEventTopicCallback.md +2 -0
  118. data/docs/ConversationEventTopicChat.md +1 -0
  119. data/docs/ConversationEventTopicCobrowse.md +1 -0
  120. data/docs/ConversationEventTopicEmail.md +1 -0
  121. data/docs/ConversationEventTopicMessage.md +1 -0
  122. data/docs/ConversationEventTopicScreenshare.md +1 -0
  123. data/docs/ConversationEventTopicSocialExpression.md +1 -0
  124. data/docs/ConversationEventTopicVideo.md +1 -0
  125. data/docs/ConversationReference.md +14 -0
  126. data/docs/ConversationsApi.md +1 -1
  127. data/docs/CopyBuForecastRequest.md +14 -0
  128. data/docs/Coretype.md +23 -0
  129. data/docs/CoretypeListing.md +15 -0
  130. data/docs/CreateBusinessUnitRequest.md +15 -0
  131. data/docs/CreateBusinessUnitSettings.md +15 -0
  132. data/docs/CreateCoachingAppointmentRequest.md +20 -0
  133. data/docs/CreatePlanningGroupRequest.md +15 -0
  134. data/docs/CreateServiceGoalTemplate.md +16 -0
  135. data/docs/CredentialInfoListing.md +2 -2
  136. data/docs/CredentialTypeListing.md +2 -2
  137. data/docs/Cursors.md +14 -0
  138. data/docs/DIDEntityListing.md +2 -2
  139. data/docs/DIDPoolEntityListing.md +2 -2
  140. data/docs/DataExtensionsApi.md +198 -0
  141. data/docs/DataSchemaListing.md +15 -0
  142. data/docs/DataTableRowEntityListing.md +2 -2
  143. data/docs/DataTablesDomainEntityListing.md +2 -2
  144. data/docs/DependencyObjectEntityListing.md +2 -2
  145. data/docs/DependencyTypeEntityListing.md +2 -2
  146. data/docs/DetectedDialogAct.md +14 -0
  147. data/docs/DetectedIntent.md +15 -0
  148. data/docs/DetectedNamedEntity.md +16 -0
  149. data/docs/DetectedNamedEntityValue.md +14 -0
  150. data/docs/DialerEventEntityListing.md +2 -2
  151. data/docs/DialogflowAgent.md +3 -2
  152. data/docs/DialogflowAgentSummaryEntityListing.md +2 -2
  153. data/docs/DirectoryUserDevicesListing.md +2 -2
  154. data/docs/DivsPermittedEntityListing.md +2 -2
  155. data/docs/DncListDivisionViewListing.md +2 -2
  156. data/docs/DncListEntityListing.md +2 -2
  157. data/docs/DocumentAuditEntityListing.md +2 -2
  158. data/docs/DocumentCategoryInput.md +13 -0
  159. data/docs/DocumentEntityListing.md +2 -2
  160. data/docs/DocumentFaq.md +15 -0
  161. data/docs/DocumentListing.md +16 -0
  162. data/docs/DocumentReference.md +14 -0
  163. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  164. data/docs/DomainEntityListing.md +2 -2
  165. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  166. data/docs/DomainEntityListingQueryResult.md +2 -2
  167. data/docs/DomainEntityListingSurveyForm.md +2 -2
  168. data/docs/DomainOrganizationRole.md +1 -1
  169. data/docs/DomainOrganizationRoleCreate.md +1 -1
  170. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  171. data/docs/Edge.md +1 -1
  172. data/docs/EdgeEntityListing.md +2 -2
  173. data/docs/EdgeGroupEntityListing.md +2 -2
  174. data/docs/EdgeLineEntityListing.md +2 -2
  175. data/docs/Email.md +1 -0
  176. data/docs/EmailConversationEntityListing.md +2 -2
  177. data/docs/EmailMessageListing.md +2 -2
  178. data/docs/EmergencyGroupListing.md +2 -2
  179. data/docs/EncryptionKeyEntityListing.md +2 -2
  180. data/docs/EvaluationEntityListing.md +2 -2
  181. data/docs/EvaluationFormEntityListing.md +2 -2
  182. data/docs/EvaluatorActivityEntityListing.md +2 -2
  183. data/docs/ExtensionEntityListing.md +2 -2
  184. data/docs/ExtensionPoolEntityListing.md +2 -2
  185. data/docs/ExternalContactsApi.md +1003 -146
  186. data/docs/ExternalOrganizationListing.md +2 -2
  187. data/docs/ExternalOrganizationTrustorLink.md +17 -0
  188. data/docs/FacebookIntegrationEntityListing.md +2 -2
  189. data/docs/FaxDocumentEntityListing.md +2 -2
  190. data/docs/FlowDivisionView.md +2 -0
  191. data/docs/FlowDivisionViewEntityListing.md +2 -2
  192. data/docs/FlowEntityListing.md +2 -2
  193. data/docs/FlowOutcomeListing.md +2 -2
  194. data/docs/FlowVersionEntityListing.md +2 -2
  195. data/docs/ForecastAbandonRateResponse.md +13 -0
  196. data/docs/ForecastAverageSpeedOfAnswerResponse.md +13 -0
  197. data/docs/ForecastPlanningGroupData.md +15 -0
  198. data/docs/ForecastPlanningGroupResponse.md +16 -0
  199. data/docs/ForecastPlanningGroupsResponse.md +13 -0
  200. data/docs/ForecastServiceGoalTemplateResponse.md +15 -0
  201. data/docs/ForecastServiceLevelResponse.md +14 -0
  202. data/docs/GDPRRequestEntityListing.md +2 -2
  203. data/docs/GDPRSubjectEntityListing.md +2 -2
  204. data/docs/GenerateBuForecastRequest.md +14 -0
  205. data/docs/GreetingListing.md +2 -2
  206. data/docs/GroupEntityListing.md +2 -2
  207. data/docs/GroupProfileEntityListing.md +2 -2
  208. data/docs/IVREntityListing.md +2 -2
  209. data/docs/InboundDomainEntityListing.md +2 -2
  210. data/docs/InboundDomainPatchRequest.md +14 -0
  211. data/docs/InboundRouteEntityListing.md +2 -2
  212. data/docs/IntegrationEntityListing.md +2 -2
  213. data/docs/IntegrationEventEntityListing.md +2 -2
  214. data/docs/IntegrationTypeEntityListing.md +2 -2
  215. data/docs/IntentDefinition.md +15 -0
  216. data/docs/IntentFeedback.md +16 -0
  217. data/docs/InteractionStatsAlertContainer.md +2 -2
  218. data/docs/InteractionStatsRuleContainer.md +2 -2
  219. data/docs/IntradayPerformancePredictionData.md +15 -0
  220. data/docs/IntradayPlanningGroupRequest.md +16 -0
  221. data/docs/ItemValidationLimits.md +14 -0
  222. data/docs/Items.md +14 -0
  223. data/docs/JsonNode.md +2 -2
  224. data/docs/KeywordSetEntityListing.md +2 -2
  225. data/docs/KnowledgeApi.md +1528 -0
  226. data/docs/KnowledgeBase.md +19 -0
  227. data/docs/KnowledgeBaseListing.md +16 -0
  228. data/docs/KnowledgeCategory.md +20 -0
  229. data/docs/KnowledgeCategoryRequest.md +17 -0
  230. data/docs/KnowledgeDocument.md +23 -0
  231. data/docs/KnowledgeDocumentBulkRequest.md +17 -0
  232. data/docs/KnowledgeDocumentRequest.md +16 -0
  233. data/docs/KnowledgeExtendedCategory.md +22 -0
  234. data/docs/KnowledgeSearchDocument.md +24 -0
  235. data/docs/KnowledgeSearchRequest.md +18 -0
  236. data/docs/KnowledgeSearchResponse.md +18 -0
  237. data/docs/KnowledgeTraining.md +23 -0
  238. data/docs/LanguageEntityListing.md +2 -2
  239. data/docs/LanguageUnderstandingApi.md +1160 -0
  240. data/docs/LexBotAliasEntityListing.md +2 -2
  241. data/docs/LexBotEntityListing.md +2 -2
  242. data/docs/LibraryEntityListing.md +2 -2
  243. data/docs/LineBaseEntityListing.md +2 -2
  244. data/docs/LineEntityListing.md +2 -2
  245. data/docs/LineIntegrationEntityListing.md +2 -2
  246. data/docs/ListWrapperInterval.md +13 -0
  247. data/docs/LocationEntityListing.md +2 -2
  248. data/docs/LogicalInterfaceEntityListing.md +2 -2
  249. data/docs/ManagementUnitListing.md +2 -2
  250. data/docs/MatchShiftTradeRequest.md +15 -0
  251. data/docs/MatchShiftTradeResponse.md +15 -0
  252. data/docs/MaxLength.md +14 -0
  253. data/docs/Message.md +1 -0
  254. data/docs/MessageConversationEntityListing.md +2 -2
  255. data/docs/MessagingIntegrationEntityListing.md +2 -2
  256. data/docs/MessagingStickerEntityListing.md +2 -2
  257. data/docs/MessagingTemplateRequest.md +14 -0
  258. data/docs/MinLength.md +14 -0
  259. data/docs/MuRescheduleResultWrapper.md +13 -0
  260. data/docs/NamedEntityAnnotation.md +13 -0
  261. data/docs/NamedEntityTypeBinding.md +14 -0
  262. data/docs/NamedEntityTypeDefinition.md +15 -0
  263. data/docs/NamedEntityTypeItem.md +14 -0
  264. data/docs/NamedEntityTypeMechanism.md +15 -0
  265. data/docs/NluConfusionMatrixColumn.md +14 -0
  266. data/docs/NluConfusionMatrixRow.md +14 -0
  267. data/docs/NluDetectionContext.md +14 -0
  268. data/docs/NluDetectionInput.md +13 -0
  269. data/docs/NluDetectionOutput.md +14 -0
  270. data/docs/NluDetectionRequest.md +14 -0
  271. data/docs/NluDetectionResponse.md +15 -0
  272. data/docs/NluDomain.md +19 -0
  273. data/docs/NluDomainListing.md +22 -0
  274. data/docs/NluDomainVersion.md +24 -0
  275. data/docs/NluDomainVersionListing.md +22 -0
  276. data/docs/NluDomainVersionQualityReport.md +15 -0
  277. data/docs/NluDomainVersionTrainingResponse.md +14 -0
  278. data/docs/NluFeedbackListing.md +22 -0
  279. data/docs/NluFeedbackRequest.md +15 -0
  280. data/docs/NluFeedbackResponse.md +18 -0
  281. data/docs/NluQualityReportSummary.md +13 -0
  282. data/docs/NluQualityReportSummaryMetric.md +14 -0
  283. data/docs/NluUtterance.md +13 -0
  284. data/docs/NluUtteranceSegment.md +14 -0
  285. data/docs/NoteListing.md +2 -2
  286. data/docs/OAuthClientEntityListing.md +2 -2
  287. data/docs/OAuthProviderEntityListing.md +2 -2
  288. data/docs/OrganizationPresenceEntityListing.md +2 -2
  289. data/docs/OrganizationRoleEntityListing.md +2 -2
  290. data/docs/OrphanRecordingListing.md +2 -2
  291. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  292. data/docs/OutboundRouteEntityListing.md +2 -2
  293. data/docs/PatchBuReschedulingOptionsManagementUnitRequest.md +14 -0
  294. data/docs/PatchBuReschedulingOptionsRequest.md +13 -0
  295. data/docs/PatchBuScheduleRunRequest.md +13 -0
  296. data/docs/PatchShiftTradeRequest.md +16 -0
  297. data/docs/PermissionCollectionEntityListing.md +2 -2
  298. data/docs/PhoneBaseEntityListing.md +2 -2
  299. data/docs/PhoneEntityListing.md +2 -2
  300. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  301. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  302. data/docs/PlanningGroup.md +18 -0
  303. data/docs/PlanningGroupList.md +13 -0
  304. data/docs/PlanningGroupReference.md +14 -0
  305. data/docs/PolicyEntityListing.md +2 -2
  306. data/docs/PromptAssetEntityListing.md +2 -2
  307. data/docs/PromptEntityListing.md +2 -2
  308. data/docs/QualityAuditPage.md +2 -2
  309. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  310. data/docs/QueueConversationEventTopicCall.md +1 -0
  311. data/docs/QueueConversationEventTopicCallback.md +2 -0
  312. data/docs/QueueConversationEventTopicChat.md +1 -0
  313. data/docs/QueueConversationEventTopicCobrowse.md +1 -0
  314. data/docs/QueueConversationEventTopicEmail.md +1 -0
  315. data/docs/QueueConversationEventTopicMessage.md +1 -0
  316. data/docs/QueueConversationEventTopicScreenshare.md +1 -0
  317. data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
  318. data/docs/QueueConversationEventTopicVideo.md +1 -0
  319. data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
  320. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +2 -0
  321. data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
  322. data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
  323. data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
  324. data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
  325. data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
  326. data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
  327. data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
  328. data/docs/QueueConversationVideoEventTopicCall.md +1 -0
  329. data/docs/QueueConversationVideoEventTopicCallback.md +2 -0
  330. data/docs/QueueConversationVideoEventTopicChat.md +1 -0
  331. data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
  332. data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
  333. data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
  334. data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
  335. data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
  336. data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
  337. data/docs/QueueEntityListing.md +2 -2
  338. data/docs/QueueMemberEntityListing.md +2 -2
  339. data/docs/RecipientListing.md +2 -2
  340. data/docs/RecordingApi.md +12 -6
  341. data/docs/RecordingJobEntityListing.md +2 -2
  342. data/docs/RelationshipListing.md +2 -2
  343. data/docs/ReportMetaDataEntityListing.md +2 -2
  344. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  345. data/docs/ReportScheduleEntityListing.md +2 -2
  346. data/docs/ReportingExportJobListing.md +2 -2
  347. data/docs/ReportingExportJobRequest.md +1 -0
  348. data/docs/ReportingExportJobResponse.md +2 -0
  349. data/docs/ReportingExportMetadataJobListing.md +2 -2
  350. data/docs/ReschedulingManagementUnitResponse.md +14 -0
  351. data/docs/ReschedulingOptionsRunResponse.md +22 -0
  352. data/docs/ResponseEntityList.md +2 -2
  353. data/docs/ResponseEntityListing.md +2 -2
  354. data/docs/ResponseSetEntityListing.md +2 -2
  355. data/docs/RoutePathRequest.md +17 -0
  356. data/docs/RoutePathResponse.md +16 -0
  357. data/docs/RoutingApi.md +204 -0
  358. data/docs/RuleSetEntityListing.md +2 -2
  359. data/docs/SCIMApi.md +12 -12
  360. data/docs/ScheduleEntityListing.md +2 -2
  361. data/docs/ScheduleGenerationMessage.md +14 -0
  362. data/docs/ScheduleGenerationResult.md +16 -0
  363. data/docs/ScheduleGenerationResultSummary.md +15 -0
  364. data/docs/ScheduleGroupEntityListing.md +2 -2
  365. data/docs/SchedulerMessageArgument.md +14 -0
  366. data/docs/SchedulingTestingOptionsRequest.md +16 -0
  367. data/docs/Schema.md +17 -0
  368. data/docs/SchemaCategoryEntityListing.md +2 -2
  369. data/docs/SchemaQuantityLimits.md +26 -0
  370. data/docs/SchemaReferenceEntityListing.md +2 -2
  371. data/docs/ScimV2EnterpriseUser.md +1 -0
  372. data/docs/ScreenRecordingSessionListing.md +2 -2
  373. data/docs/Screenshare.md +1 -0
  374. data/docs/ScriptEntityListing.md +2 -2
  375. data/docs/SearchApi.md +70 -0
  376. data/docs/SearchShiftTradeResponse.md +15 -0
  377. data/docs/SearchShiftTradesRequest.md +14 -0
  378. data/docs/SearchShiftTradesResponse.md +13 -0
  379. data/docs/SecurityProfileEntityListing.md +2 -2
  380. data/docs/ServiceGoalTemplate.md +19 -0
  381. data/docs/ServiceGoalTemplateList.md +13 -0
  382. data/docs/ServiceGoalTemplateReference.md +14 -0
  383. data/docs/SetWrapperRoutePathRequest.md +13 -0
  384. data/docs/ShareEntityListing.md +2 -2
  385. data/docs/ShiftTradeActivityPreviewResponse.md +16 -0
  386. data/docs/ShiftTradeMatchReviewResponse.md +16 -0
  387. data/docs/ShiftTradeMatchReviewUserResponse.md +17 -0
  388. data/docs/ShiftTradeMatchViolation.md +14 -0
  389. data/docs/ShiftTradePreviewResponse.md +13 -0
  390. data/docs/ShiftTradeResponse.md +1 -1
  391. data/docs/SiteEntityListing.md +2 -2
  392. data/docs/SkillEntityListing.md +2 -2
  393. data/docs/SmsAddressEntityListing.md +2 -2
  394. data/docs/SmsPhoneNumberEntityListing.md +2 -2
  395. data/docs/SocialExpression.md +1 -0
  396. data/docs/SourcePlanningGroupRequest.md +14 -0
  397. data/docs/StationEntityListing.md +2 -2
  398. data/docs/SubjectDivisionGrantsEntityListing.md +2 -2
  399. data/docs/SurveyFormEntityListing.md +2 -2
  400. data/docs/SystemPromptAssetEntityListing.md +2 -2
  401. data/docs/SystemPromptEntityListing.md +2 -2
  402. data/docs/TagValueEntityListing.md +2 -2
  403. data/docs/TemplateParameter.md +14 -0
  404. data/docs/TestMessage.md +19 -0
  405. data/docs/TextMessageListing.md +2 -2
  406. data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
  407. data/docs/TimeOffRequestListing.md +13 -0
  408. data/docs/TimeZoneEntityListing.md +2 -2
  409. data/docs/TrainingListing.md +16 -0
  410. data/docs/TranscriptionSettings.md +1 -0
  411. data/docs/TrunkBaseEntityListing.md +2 -2
  412. data/docs/TrunkEntityListing.md +2 -2
  413. data/docs/TrunkMetabaseEntityListing.md +2 -2
  414. data/docs/TrustEntityListing.md +2 -2
  415. data/docs/TrustUserEntityListing.md +2 -2
  416. data/docs/TrustorEntityListing.md +2 -2
  417. data/docs/TtsEngineEntityListing.md +2 -2
  418. data/docs/TtsVoiceEntityListing.md +2 -2
  419. data/docs/TwitterIntegrationEntityListing.md +2 -2
  420. data/docs/UpdateBusinessUnitRequest.md +15 -0
  421. data/docs/UpdateBusinessUnitSettings.md +16 -0
  422. data/docs/UpdateCoachingAppointmentRequest.md +18 -0
  423. data/docs/UpdatePlanningGroupRequest.md +16 -0
  424. data/docs/UpdateServiceGoalTemplate.md +17 -0
  425. data/docs/UploadUrlRequest.md +15 -0
  426. data/docs/UploadUrlResponse.md +14 -0
  427. data/docs/UploadsApi.md +78 -0
  428. data/docs/UserActionCategoryEntityListing.md +2 -2
  429. data/docs/UserAppEntityListing.md +2 -2
  430. data/docs/UserEntityListing.md +2 -2
  431. data/docs/UserLanguageEntityListing.md +2 -2
  432. data/docs/UserProfileEntityListing.md +2 -2
  433. data/docs/UserQueueEntityListing.md +2 -2
  434. data/docs/UserRecordingEntityListing.md +2 -2
  435. data/docs/UserScheduleAdherenceListing.md +14 -0
  436. data/docs/UserSkillEntityListing.md +2 -2
  437. data/docs/UsersApi.md +0 -72
  438. data/docs/ValidationLimits.md +18 -0
  439. data/docs/ValueWrapperDate.md +13 -0
  440. data/docs/ValueWrapperString.md +13 -0
  441. data/docs/Video.md +1 -0
  442. data/docs/VoicemailMessageEntityListing.md +2 -2
  443. data/docs/WebChatMemberInfoEntityList.md +2 -2
  444. data/docs/WeekShiftTradeListResponse.md +13 -0
  445. data/docs/WeekShiftTradeResponse.md +14 -0
  446. data/docs/WemLearningAssignmentRuleRunTopicLearningAssignmentRuleRunNotification.md +14 -0
  447. data/docs/WemLearningAssignmentRuleRunTopicLearningModuleReference.md +14 -0
  448. data/docs/WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated.md +13 -0
  449. data/docs/WemLearningAssignmentTopicLearningAssignmentNotification.md +22 -0
  450. data/docs/WemLearningAssignmentTopicLearningModuleReference.md +14 -0
  451. data/docs/WemLearningAssignmentTopicUserReference.md +13 -0
  452. data/docs/WfmIntradayPlanningGroupListing.md +14 -0
  453. data/docs/WhatsAppIntegrationEntityListing.md +2 -2
  454. data/docs/WorkforceManagementApi.md +5232 -1205
  455. data/docs/WorkspaceEntityListing.md +2 -2
  456. data/docs/WorkspaceMemberEntityListing.md +2 -2
  457. data/docs/WrapupCodeEntityListing.md +2 -2
  458. data/lib/purecloudplatformclientv2.rb +211 -59
  459. data/lib/purecloudplatformclientv2/api/architect_api.rb +18 -0
  460. data/lib/purecloudplatformclientv2/api/authorization_api.rb +0 -85
  461. data/lib/purecloudplatformclientv2/api/coaching_api.rb +1296 -0
  462. data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
  463. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +871 -7
  464. data/lib/purecloudplatformclientv2/api/knowledge_api.rb +1908 -0
  465. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
  466. data/lib/purecloudplatformclientv2/api/recording_api.rb +22 -4
  467. data/lib/purecloudplatformclientv2/api/routing_api.rb +212 -0
  468. data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
  469. data/lib/purecloudplatformclientv2/api/search_api.rb +73 -0
  470. data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
  471. data/lib/purecloudplatformclientv2/api/users_api.rb +0 -85
  472. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +5932 -1542
  473. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  474. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +23 -23
  475. data/lib/purecloudplatformclientv2/models/add_shift_trade_request.rb +317 -0
  476. data/lib/purecloudplatformclientv2/models/additional_message.rb +30 -4
  477. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +23 -23
  478. data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +27 -1
  479. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  480. data/lib/purecloudplatformclientv2/models/analytics_user_details_async_query_response.rb +30 -4
  481. data/lib/purecloudplatformclientv2/models/array_node.rb +23 -23
  482. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_response.rb → async_forecast_operation_result.rb} +17 -17
  483. data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → async_intraday_response.rb} +17 -17
  484. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +23 -23
  485. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +23 -23
  486. data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → bu_abandon_rate.rb} +1 -1
  487. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_query_response.rb +310 -0
  488. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → bu_agent_schedule_reschedule_response.rb} +32 -36
  489. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_update.rb +244 -0
  490. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +204 -0
  491. data/lib/purecloudplatformclientv2/models/{async_week_schedule_response.rb → bu_async_agent_schedules_query_response.rb} +69 -44
  492. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_response.rb → bu_async_schedule_response.rb} +30 -31
  493. data/lib/purecloudplatformclientv2/models/bu_async_schedule_run_response.rb +268 -0
  494. data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → bu_average_speed_of_answer.rb} +1 -1
  495. data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → bu_copy_schedule_request.rb} +4 -4
  496. data/lib/purecloudplatformclientv2/models/bu_create_blank_schedule_request.rb +264 -0
  497. data/lib/purecloudplatformclientv2/models/bu_current_agent_schedule_search_response.rb +338 -0
  498. data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → bu_forecast_generation_planning_group_result.rb} +11 -11
  499. data/lib/purecloudplatformclientv2/models/bu_forecast_generation_result.rb +204 -0
  500. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification.rb → bu_forecast_modification.rb} +107 -14
  501. data/lib/purecloudplatformclientv2/models/bu_forecast_result.rb +282 -0
  502. data/lib/purecloudplatformclientv2/models/bu_forecast_result_response.rb +228 -0
  503. data/lib/purecloudplatformclientv2/models/{forecast_time_series_result.rb → bu_forecast_time_series_result.rb} +3 -3
  504. data/lib/purecloudplatformclientv2/models/bu_generate_schedule_request.rb +269 -0
  505. data/lib/purecloudplatformclientv2/models/{route_group_list.rb → bu_get_current_agent_schedule_request.rb} +16 -13
  506. data/lib/purecloudplatformclientv2/models/bu_headcount_forecast.rb +229 -0
  507. data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → bu_headcount_forecast_response.rb} +4 -4
  508. data/lib/purecloudplatformclientv2/models/{intraday_data_group.rb → bu_intraday_data_group.rb} +45 -51
  509. data/lib/purecloudplatformclientv2/models/bu_intraday_forecast_data.rb +228 -0
  510. data/lib/purecloudplatformclientv2/models/{intraday_response.rb → bu_intraday_response.rb} +46 -48
  511. data/lib/purecloudplatformclientv2/models/bu_intraday_schedule_data.rb +202 -0
  512. data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → bu_management_unit_schedule_summary.rb} +37 -54
  513. data/lib/purecloudplatformclientv2/models/bu_planning_group_headcount_forecast.rb +258 -0
  514. data/lib/purecloudplatformclientv2/models/bu_query_agent_schedules_request.rb +235 -0
  515. data/lib/purecloudplatformclientv2/models/bu_reschedule_agent_schedule_result.rb +254 -0
  516. data/lib/purecloudplatformclientv2/models/{reschedule_request.rb → bu_reschedule_request.rb} +43 -10
  517. data/lib/purecloudplatformclientv2/models/bu_reschedule_result.rb +308 -0
  518. data/lib/purecloudplatformclientv2/models/bu_schedule_list_item.rb +410 -0
  519. data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → bu_schedule_listing.rb} +2 -2
  520. data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → bu_schedule_metadata.rb} +60 -83
  521. data/lib/purecloudplatformclientv2/models/bu_schedule_reference_for_mu_route.rb +280 -0
  522. data/lib/purecloudplatformclientv2/models/{scheduling_run_response.rb → bu_schedule_run.rb} +77 -54
  523. data/lib/purecloudplatformclientv2/models/{time_off_request_entity_list.rb → bu_schedule_run_listing.rb} +2 -2
  524. data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → bu_service_level.rb} +1 -1
  525. data/lib/purecloudplatformclientv2/models/bu_short_term_forecast.rb +584 -0
  526. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → bu_short_term_forecast_list_item.rb} +84 -43
  527. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → bu_short_term_forecast_listing.rb} +2 -2
  528. data/lib/purecloudplatformclientv2/models/bu_short_term_forecast_reference.rb +286 -0
  529. data/lib/purecloudplatformclientv2/models/{forecast_generation_result.rb → bu_short_term_forecasting_settings.rb} +9 -11
  530. data/lib/purecloudplatformclientv2/models/bulk_shift_trade_state_update_request.rb +209 -0
  531. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_request_item.rb +278 -0
  532. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_response.rb +268 -0
  533. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result.rb +203 -0
  534. data/lib/purecloudplatformclientv2/models/{route_group.rb → bulk_update_shift_trade_state_result_item.rb} +70 -73
  535. data/lib/purecloudplatformclientv2/models/business_unit.rb +305 -0
  536. data/lib/purecloudplatformclientv2/models/{update_week_schedule_request.rb → business_unit_activity_code.rb} +126 -88
  537. data/lib/purecloudplatformclientv2/models/business_unit_activity_code_listing.rb +204 -0
  538. data/lib/purecloudplatformclientv2/models/business_unit_list_item.rb +305 -0
  539. data/lib/purecloudplatformclientv2/models/business_unit_listing.rb +203 -0
  540. data/lib/purecloudplatformclientv2/models/business_unit_settings.rb +309 -0
  541. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +23 -23
  542. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  543. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  544. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +23 -23
  545. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +23 -23
  546. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +23 -23
  547. data/lib/purecloudplatformclientv2/models/callback.rb +56 -4
  548. data/lib/purecloudplatformclientv2/models/callback_basic.rb +56 -4
  549. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +23 -23
  550. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +28 -2
  551. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +23 -23
  552. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +23 -23
  553. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +23 -23
  554. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +23 -23
  555. data/lib/purecloudplatformclientv2/models/category_listing.rb +278 -0
  556. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +23 -23
  557. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +23 -23
  558. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +23 -23
  559. data/lib/purecloudplatformclientv2/models/coaching_annotation.rb +429 -0
  560. data/lib/purecloudplatformclientv2/models/coaching_annotation_create_request.rb +252 -0
  561. data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +428 -0
  562. data/lib/purecloudplatformclientv2/models/coaching_appointment_reference.rb +228 -0
  563. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +587 -0
  564. data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +428 -0
  565. data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto.rb +299 -0
  566. data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto_list.rb +303 -0
  567. data/lib/purecloudplatformclientv2/models/coaching_notification.rb +504 -0
  568. data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +428 -0
  569. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +23 -23
  570. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  571. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +23 -23
  572. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +23 -23
  573. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +23 -23
  574. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +23 -23
  575. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +23 -23
  576. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +23 -23
  577. data/lib/purecloudplatformclientv2/models/contact_listing.rb +23 -23
  578. data/lib/purecloudplatformclientv2/models/context_entity.rb +207 -0
  579. data/lib/purecloudplatformclientv2/models/context_intent.rb +207 -0
  580. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
  581. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +32 -6
  582. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +23 -23
  583. data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
  584. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +51 -1
  585. data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
  586. data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
  587. data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
  588. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
  589. data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
  590. data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
  591. data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
  592. data/lib/purecloudplatformclientv2/models/conversation_reference.rb +228 -0
  593. data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → copy_bu_forecast_request.rb} +18 -19
  594. data/lib/purecloudplatformclientv2/models/coretype.rb +465 -0
  595. data/lib/purecloudplatformclientv2/models/coretype_listing.rb +253 -0
  596. data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → create_business_unit_request.rb} +27 -20
  597. data/lib/purecloudplatformclientv2/models/create_business_unit_settings.rb +278 -0
  598. data/lib/purecloudplatformclientv2/models/{intraday_historical_queue_data.rb → create_coaching_appointment_request.rb} +100 -58
  599. data/lib/purecloudplatformclientv2/models/create_planning_group_request.rb +271 -0
  600. data/lib/purecloudplatformclientv2/models/create_service_goal_template.rb +285 -0
  601. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +23 -23
  602. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +23 -23
  603. data/lib/purecloudplatformclientv2/models/cursors.rb +226 -0
  604. data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
  605. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +23 -23
  606. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +23 -23
  607. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +23 -23
  608. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +23 -23
  609. data/lib/purecloudplatformclientv2/models/detected_dialog_act.rb +228 -0
  610. data/lib/purecloudplatformclientv2/models/{transcript_property.rb → detected_intent.rb} +25 -23
  611. data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
  612. data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
  613. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +23 -23
  614. data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
  615. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +23 -23
  616. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +23 -23
  617. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +23 -23
  618. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +23 -23
  619. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +23 -23
  620. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +23 -23
  621. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +23 -23
  622. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +23 -23
  623. data/lib/purecloudplatformclientv2/models/document_category_input.rb +207 -0
  624. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +23 -23
  625. data/lib/purecloudplatformclientv2/models/document_faq.rb +266 -0
  626. data/lib/purecloudplatformclientv2/models/document_listing.rb +278 -0
  627. data/lib/purecloudplatformclientv2/models/document_reference.rb +228 -0
  628. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
  629. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +23 -23
  630. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +23 -23
  631. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +23 -23
  632. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +23 -23
  633. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  634. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  635. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  636. data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
  637. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +23 -23
  638. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +23 -23
  639. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +23 -23
  640. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  641. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +23 -23
  642. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +23 -23
  643. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +23 -23
  644. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +23 -23
  645. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +23 -23
  646. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +23 -23
  647. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +23 -23
  648. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +23 -23
  649. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +23 -23
  650. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +23 -23
  651. data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +306 -0
  652. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +23 -23
  653. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +23 -23
  654. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
  655. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +23 -23
  656. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +23 -23
  657. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +23 -23
  658. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +23 -23
  659. data/lib/purecloudplatformclientv2/models/forecast_abandon_rate_response.rb +202 -0
  660. data/lib/purecloudplatformclientv2/models/forecast_average_speed_of_answer_response.rb +202 -0
  661. data/lib/purecloudplatformclientv2/models/forecast_planning_group_data.rb +258 -0
  662. data/lib/purecloudplatformclientv2/models/{queue_media_association.rb → forecast_planning_group_response.rb} +25 -26
  663. data/lib/purecloudplatformclientv2/models/forecast_planning_groups_response.rb +203 -0
  664. data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → forecast_service_goal_template_response.rb} +7 -18
  665. data/lib/purecloudplatformclientv2/models/forecast_service_level_response.rb +228 -0
  666. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +23 -23
  667. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +23 -23
  668. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → generate_bu_forecast_request.rb} +10 -16
  669. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +23 -23
  670. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +23 -23
  671. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +23 -23
  672. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +23 -23
  673. data/lib/purecloudplatformclientv2/models/inbound_domain_patch_request.rb +228 -0
  674. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +23 -23
  675. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +23 -23
  676. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +23 -23
  677. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +23 -23
  678. data/lib/purecloudplatformclientv2/models/intent_definition.rb +273 -0
  679. data/lib/purecloudplatformclientv2/models/intent_feedback.rb +296 -0
  680. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +23 -23
  681. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +23 -23
  682. data/lib/purecloudplatformclientv2/models/{intraday_performance_prediction_queue_data.rb → intraday_performance_prediction_data.rb} +10 -10
  683. data/lib/purecloudplatformclientv2/models/intraday_planning_group_request.rb +294 -0
  684. data/lib/purecloudplatformclientv2/models/item_validation_limits.rb +238 -0
  685. data/lib/purecloudplatformclientv2/models/items.rb +226 -0
  686. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +23 -23
  687. data/lib/purecloudplatformclientv2/models/json_node.rb +23 -23
  688. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +23 -23
  689. data/lib/purecloudplatformclientv2/models/knowledge_base.rb +376 -0
  690. data/lib/purecloudplatformclientv2/models/knowledge_base_listing.rb +278 -0
  691. data/lib/purecloudplatformclientv2/models/knowledge_category.rb +403 -0
  692. data/lib/purecloudplatformclientv2/models/knowledge_category_request.rb +311 -0
  693. data/lib/purecloudplatformclientv2/models/knowledge_document.rb +501 -0
  694. data/lib/purecloudplatformclientv2/models/knowledge_document_bulk_request.rb +327 -0
  695. data/lib/purecloudplatformclientv2/models/knowledge_document_request.rb +301 -0
  696. data/lib/purecloudplatformclientv2/models/knowledge_extended_category.rb +457 -0
  697. data/lib/purecloudplatformclientv2/models/knowledge_search_document.rb +527 -0
  698. data/lib/purecloudplatformclientv2/models/knowledge_search_request.rb +371 -0
  699. data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +334 -0
  700. data/lib/purecloudplatformclientv2/models/knowledge_training.rb +489 -0
  701. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +23 -23
  702. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +23 -23
  703. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +23 -23
  704. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +23 -23
  705. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +23 -23
  706. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +23 -23
  707. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +23 -23
  708. data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → list_wrapper_interval.rb} +2 -2
  709. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +23 -23
  710. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +23 -23
  711. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +23 -23
  712. data/lib/purecloudplatformclientv2/models/match_shift_trade_request.rb +264 -0
  713. data/lib/purecloudplatformclientv2/models/match_shift_trade_response.rb +258 -0
  714. data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
  715. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  716. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +23 -23
  717. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +23 -23
  718. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +23 -23
  719. data/lib/purecloudplatformclientv2/models/messaging_template_request.rb +230 -0
  720. data/lib/purecloudplatformclientv2/models/metabase.rb +2 -2
  721. data/lib/purecloudplatformclientv2/models/min_length.rb +238 -0
  722. data/lib/purecloudplatformclientv2/models/mu_reschedule_result_wrapper.rb +204 -0
  723. data/lib/purecloudplatformclientv2/models/named_entity_annotation.rb +207 -0
  724. data/lib/purecloudplatformclientv2/models/named_entity_type_binding.rb +238 -0
  725. data/lib/purecloudplatformclientv2/models/named_entity_type_definition.rb +264 -0
  726. data/lib/purecloudplatformclientv2/models/named_entity_type_item.rb +235 -0
  727. data/lib/purecloudplatformclientv2/models/named_entity_type_mechanism.rb +280 -0
  728. data/lib/purecloudplatformclientv2/models/nlu_confusion_matrix_column.rb +238 -0
  729. data/lib/purecloudplatformclientv2/models/nlu_confusion_matrix_row.rb +240 -0
  730. data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
  731. data/lib/purecloudplatformclientv2/models/nlu_detection_input.rb +207 -0
  732. data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
  733. data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
  734. data/lib/purecloudplatformclientv2/models/nlu_detection_response.rb +252 -0
  735. data/lib/purecloudplatformclientv2/models/nlu_domain.rb +363 -0
  736. data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +428 -0
  737. data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +506 -0
  738. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
  739. data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
  740. data/lib/purecloudplatformclientv2/models/nlu_domain_version_training_response.rb +227 -0
  741. data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +428 -0
  742. data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → nlu_feedback_request.rb} +40 -26
  743. data/lib/purecloudplatformclientv2/models/nlu_feedback_response.rb +334 -0
  744. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
  745. data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
  746. data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
  747. data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
  748. data/lib/purecloudplatformclientv2/models/note_listing.rb +23 -23
  749. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +23 -23
  750. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +23 -23
  751. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +23 -23
  752. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +23 -23
  753. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +23 -23
  754. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +23 -23
  755. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +23 -23
  756. data/lib/purecloudplatformclientv2/models/patch_bu_rescheduling_options_management_unit_request.rb +233 -0
  757. data/lib/purecloudplatformclientv2/models/patch_bu_rescheduling_options_request.rb +204 -0
  758. data/lib/purecloudplatformclientv2/models/{reschedule_result.rb → patch_bu_schedule_run_request.rb} +9 -9
  759. data/lib/purecloudplatformclientv2/models/patch_shift_trade_request.rb +285 -0
  760. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +23 -23
  761. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +23 -23
  762. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +23 -23
  763. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +23 -23
  764. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +23 -23
  765. data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → planning_group.rb} +19 -24
  766. data/lib/purecloudplatformclientv2/models/planning_group_list.rb +204 -0
  767. data/lib/purecloudplatformclientv2/models/planning_group_reference.rb +229 -0
  768. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +23 -23
  769. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +23 -23
  770. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +23 -23
  771. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +23 -23
  772. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
  773. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
  774. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +51 -1
  775. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
  776. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
  777. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
  778. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
  779. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
  780. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
  781. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
  782. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
  783. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +51 -1
  784. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
  785. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
  786. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
  787. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
  788. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
  789. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
  790. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
  791. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
  792. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +51 -1
  793. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
  794. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
  795. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
  796. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
  797. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
  798. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
  799. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
  800. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +23 -23
  801. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +23 -23
  802. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +23 -23
  803. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +23 -23
  804. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +23 -23
  805. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +23 -23
  806. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +23 -23
  807. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +23 -23
  808. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +23 -23
  809. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
  810. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
  811. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +23 -23
  812. data/lib/purecloudplatformclientv2/models/rescheduling_management_unit_response.rb +228 -0
  813. data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → rescheduling_options_run_response.rb} +54 -84
  814. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +23 -23
  815. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +23 -23
  816. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +23 -23
  817. data/lib/purecloudplatformclientv2/models/route_path_request.rb +333 -0
  818. data/lib/purecloudplatformclientv2/models/{route_group_attributes.rb → route_path_response.rb} +6 -16
  819. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +23 -23
  820. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +23 -23
  821. data/lib/purecloudplatformclientv2/models/schedule_generation_message.rb +244 -0
  822. data/lib/purecloudplatformclientv2/models/schedule_generation_result.rb +282 -0
  823. data/lib/purecloudplatformclientv2/models/schedule_generation_result_summary.rb +254 -0
  824. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +23 -23
  825. data/lib/purecloudplatformclientv2/models/scheduler_message_argument.rb +242 -0
  826. data/lib/purecloudplatformclientv2/models/scheduling_testing_options_request.rb +280 -0
  827. data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
  828. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +23 -23
  829. data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
  830. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +23 -23
  831. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
  832. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +23 -23
  833. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  834. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +23 -23
  835. data/lib/purecloudplatformclientv2/models/search_shift_trade_response.rb +256 -0
  836. data/lib/purecloudplatformclientv2/models/search_shift_trades_request.rb +235 -0
  837. data/lib/purecloudplatformclientv2/models/search_shift_trades_response.rb +204 -0
  838. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +23 -23
  839. data/lib/purecloudplatformclientv2/models/service_goal_template.rb +358 -0
  840. data/lib/purecloudplatformclientv2/models/service_goal_template_list.rb +204 -0
  841. data/lib/purecloudplatformclientv2/models/service_goal_template_reference.rb +228 -0
  842. data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → set_wrapper_route_path_request.rb} +2 -2
  843. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +23 -23
  844. data/lib/purecloudplatformclientv2/models/shift_trade_activity_preview_response.rb +280 -0
  845. data/lib/purecloudplatformclientv2/models/shift_trade_match_review_response.rb +284 -0
  846. data/lib/purecloudplatformclientv2/models/shift_trade_match_review_user_response.rb +306 -0
  847. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +244 -0
  848. data/lib/purecloudplatformclientv2/models/shift_trade_preview_response.rb +204 -0
  849. data/lib/purecloudplatformclientv2/models/shift_trade_response.rb +2 -2
  850. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +23 -23
  851. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +23 -23
  852. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +23 -23
  853. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +23 -23
  854. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  855. data/lib/purecloudplatformclientv2/models/source_planning_group_request.rb +239 -0
  856. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +23 -23
  857. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +23 -23
  858. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +23 -23
  859. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +23 -23
  860. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +23 -23
  861. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +23 -23
  862. data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → template_parameter.rb} +34 -16
  863. data/lib/purecloudplatformclientv2/models/test_message.rb +375 -0
  864. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +23 -23
  865. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
  866. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
  867. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +23 -23
  868. data/lib/purecloudplatformclientv2/models/training_listing.rb +278 -0
  869. data/lib/purecloudplatformclientv2/models/transcription_settings.rb +30 -4
  870. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +23 -23
  871. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +23 -23
  872. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +23 -23
  873. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +23 -23
  874. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +23 -23
  875. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +23 -23
  876. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +23 -23
  877. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +23 -23
  878. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +23 -23
  879. data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → update_business_unit_request.rb} +22 -24
  880. data/lib/purecloudplatformclientv2/models/update_business_unit_settings.rb +299 -0
  881. data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → update_coaching_appointment_request.rb} +60 -39
  882. data/lib/purecloudplatformclientv2/models/update_planning_group_request.rb +285 -0
  883. data/lib/purecloudplatformclientv2/models/update_service_goal_template.rb +311 -0
  884. data/lib/purecloudplatformclientv2/models/upload_url_request.rb +254 -0
  885. data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
  886. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +23 -23
  887. data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +23 -23
  888. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +23 -23
  889. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +23 -23
  890. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +23 -23
  891. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +23 -23
  892. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +23 -23
  893. data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → user_schedule_adherence_listing.rb} +10 -11
  894. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +23 -23
  895. data/lib/purecloudplatformclientv2/models/validation_limits.rb +326 -0
  896. data/lib/purecloudplatformclientv2/models/value_wrapper_date.rb +203 -0
  897. data/lib/purecloudplatformclientv2/models/value_wrapper_string.rb +203 -0
  898. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  899. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +23 -23
  900. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +23 -23
  901. data/lib/purecloudplatformclientv2/models/week_shift_trade_list_response.rb +203 -0
  902. data/lib/purecloudplatformclientv2/models/week_shift_trade_response.rb +228 -0
  903. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb +228 -0
  904. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_module_reference.rb +226 -0
  905. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_wem_learning_assignments_created.rb +201 -0
  906. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_assignment_notification.rb +440 -0
  907. data/lib/purecloudplatformclientv2/models/{intraday_performance_prediction_agent_data.rb → wem_learning_assignment_topic_learning_module_reference.rb} +33 -9
  908. data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → wem_learning_assignment_topic_user_reference.rb} +1 -2
  909. data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → wfm_intraday_planning_group_listing.rb} +6 -5
  910. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +23 -23
  911. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +23 -23
  912. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +23 -23
  913. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +23 -23
  914. data/lib/purecloudplatformclientv2/version.rb +1 -1
  915. metadata +424 -120
  916. data/docs/AsyncWeekScheduleResponse.md +0 -16
  917. data/docs/CopyShortTermForecastRequest.md +0 -14
  918. data/docs/CopyWeekScheduleRequest.md +0 -14
  919. data/docs/CreateQueueMediaAssociationRequest.md +0 -15
  920. data/docs/CreateServiceGoalGroupRequest.md +0 -15
  921. data/docs/ForecastGenerationResult.md +0 -13
  922. data/docs/ForecastGenerationRouteGroupResult.md +0 -14
  923. data/docs/ForecastResultResponse.md +0 -14
  924. data/docs/GenerateShortTermForecastRequest.md +0 -13
  925. data/docs/GenerateShortTermForecastResponse.md +0 -16
  926. data/docs/GenerateWeekScheduleRequest.md +0 -14
  927. data/docs/GenerateWeekScheduleResponse.md +0 -15
  928. data/docs/ImportShortTermForecastRequest.md +0 -16
  929. data/docs/ImportWeekScheduleRequest.md +0 -17
  930. data/docs/IntradayDataGroup.md +0 -19
  931. data/docs/IntradayForecastData.md +0 -15
  932. data/docs/IntradayHistoricalAgentData.md +0 -14
  933. data/docs/IntradayHistoricalQueueData.md +0 -20
  934. data/docs/IntradayMetric.md +0 -14
  935. data/docs/IntradayPerformancePredictionAgentData.md +0 -13
  936. data/docs/IntradayPerformancePredictionQueueData.md +0 -15
  937. data/docs/IntradayQueryDataCommand.md +0 -17
  938. data/docs/IntradayQueue.md +0 -15
  939. data/docs/IntradayScheduleData.md +0 -14
  940. data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
  941. data/docs/ListWrapperWfmForecastModification.md +0 -13
  942. data/docs/QueueMediaAssociation.md +0 -16
  943. data/docs/RescheduleRequest.md +0 -20
  944. data/docs/RescheduleResult.md +0 -13
  945. data/docs/ReschedulingOptionsResponse.md +0 -22
  946. data/docs/RouteGroup.md +0 -18
  947. data/docs/RouteGroupAttributes.md +0 -16
  948. data/docs/RouteGroupList.md +0 -14
  949. data/docs/SchedulingRunListResponse.md +0 -13
  950. data/docs/SchedulingRunResponse.md +0 -28
  951. data/docs/ServiceGoalGroup.md +0 -18
  952. data/docs/ServiceGoalGroupGoals.md +0 -15
  953. data/docs/ServiceGoalGroupList.md +0 -14
  954. data/docs/ShortTermForecast.md +0 -22
  955. data/docs/ShortTermForecastListResponse.md +0 -13
  956. data/docs/ShortTermForecastResponse.md +0 -15
  957. data/docs/SpeechTextAnalyticsApi.md +0 -80
  958. data/docs/TimeOffRequestEntityList.md +0 -13
  959. data/docs/TimeOffRequestLookupList.md +0 -13
  960. data/docs/TranscriptProperty.md +0 -15
  961. data/docs/UnscheduledAgentWarning.md +0 -14
  962. data/docs/UpdateWeekScheduleRequest.md +0 -21
  963. data/docs/UserSchedulesPartialUploadRequest.md +0 -13
  964. data/docs/WfmForecastModificationAttributes.md +0 -16
  965. data/docs/WfmIntradayQueueListing.md +0 -14
  966. data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +0 -102
  967. data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
  968. data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
  969. data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
  970. data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
@@ -0,0 +1,1304 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require "uri"
18
+
19
+ module PureCloud
20
+ class LanguageUnderstandingApi
21
+ attr_accessor :api_client
22
+
23
+ def initialize(api_client = ApiClient.default)
24
+ @api_client = api_client
25
+ end
26
+
27
+ # Delete an NLU Domain.
28
+ #
29
+ # @param domain_id ID of the NLU domain.
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [nil]
32
+ def delete_languageunderstanding_domain(domain_id, opts = {})
33
+ delete_languageunderstanding_domain_with_http_info(domain_id, opts)
34
+ return nil
35
+ end
36
+
37
+ # Delete an NLU Domain.
38
+ #
39
+ # @param domain_id ID of the NLU domain.
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def delete_languageunderstanding_domain_with_http_info(domain_id, opts = {})
43
+ if @api_client.config.debugging
44
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.delete_languageunderstanding_domain ..."
45
+ end
46
+
47
+
48
+ # verify the required parameter 'domain_id' is set
49
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain" if domain_id.nil?
50
+
51
+
52
+
53
+
54
+
55
+ # resource path
56
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
57
+
58
+ # query parameters
59
+ query_params = {}
60
+
61
+ # header parameters
62
+ header_params = {}
63
+
64
+ # HTTP header 'Accept' (if needed)
65
+ local_header_accept = ['application/json']
66
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
+
68
+ # HTTP header 'Content-Type'
69
+ local_header_content_type = ['application/json']
70
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
+
72
+ # form parameters
73
+ form_params = {}
74
+
75
+ # http body (model)
76
+ post_body = nil
77
+
78
+ auth_names = ['PureCloud OAuth']
79
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names)
85
+ if @api_client.config.debugging
86
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#delete_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ end
88
+ return data, status_code, headers
89
+ end
90
+
91
+ # Delete the feedback on the NLU Domain Version.
92
+ #
93
+ # @param domain_id ID of the NLU domain.
94
+ # @param feedback_id ID of the Feedback
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [nil]
97
+ def delete_languageunderstanding_domain_feedback_feedback_id(domain_id, feedback_id, opts = {})
98
+ delete_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts)
99
+ return nil
100
+ end
101
+
102
+ # Delete the feedback on the NLU Domain Version.
103
+ #
104
+ # @param domain_id ID of the NLU domain.
105
+ # @param feedback_id ID of the Feedback
106
+ # @param [Hash] opts the optional parameters
107
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
108
+ def delete_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts = {})
109
+ if @api_client.config.debugging
110
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id ..."
111
+ end
112
+
113
+
114
+ # verify the required parameter 'domain_id' is set
115
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id" if domain_id.nil?
116
+
117
+
118
+
119
+
120
+
121
+
122
+ # verify the required parameter 'feedback_id' is set
123
+ fail ArgumentError, "Missing the required parameter 'feedback_id' when calling LanguageUnderstandingApi.delete_languageunderstanding_domain_feedback_feedback_id" if feedback_id.nil?
124
+
125
+
126
+
127
+
128
+
129
+ # resource path
130
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'feedbackId' + '}', feedback_id.to_s)
131
+
132
+ # query parameters
133
+ query_params = {}
134
+
135
+ # header parameters
136
+ header_params = {}
137
+
138
+ # HTTP header 'Accept' (if needed)
139
+ local_header_accept = ['application/json']
140
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
141
+
142
+ # HTTP header 'Content-Type'
143
+ local_header_content_type = ['application/json']
144
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
145
+
146
+ # form parameters
147
+ form_params = {}
148
+
149
+ # http body (model)
150
+ post_body = nil
151
+
152
+ auth_names = ['PureCloud OAuth']
153
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
154
+ :header_params => header_params,
155
+ :query_params => query_params,
156
+ :form_params => form_params,
157
+ :body => post_body,
158
+ :auth_names => auth_names)
159
+ if @api_client.config.debugging
160
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#delete_languageunderstanding_domain_feedback_feedback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
161
+ end
162
+ return data, status_code, headers
163
+ end
164
+
165
+ # Find an NLU Domain.
166
+ #
167
+ # @param domain_id ID of the NLU domain.
168
+ # @param [Hash] opts the optional parameters
169
+ # @return [NluDomain]
170
+ def get_languageunderstanding_domain(domain_id, opts = {})
171
+ data, _status_code, _headers = get_languageunderstanding_domain_with_http_info(domain_id, opts)
172
+ return data
173
+ end
174
+
175
+ # Find an NLU Domain.
176
+ #
177
+ # @param domain_id ID of the NLU domain.
178
+ # @param [Hash] opts the optional parameters
179
+ # @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
180
+ def get_languageunderstanding_domain_with_http_info(domain_id, opts = {})
181
+ if @api_client.config.debugging
182
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain ..."
183
+ end
184
+
185
+
186
+ # verify the required parameter 'domain_id' is set
187
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain" if domain_id.nil?
188
+
189
+
190
+
191
+
192
+
193
+ # resource path
194
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
195
+
196
+ # query parameters
197
+ query_params = {}
198
+
199
+ # header parameters
200
+ header_params = {}
201
+
202
+ # HTTP header 'Accept' (if needed)
203
+ local_header_accept = ['application/json']
204
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
205
+
206
+ # HTTP header 'Content-Type'
207
+ local_header_content_type = ['application/json']
208
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
209
+
210
+ # form parameters
211
+ form_params = {}
212
+
213
+ # http body (model)
214
+ post_body = nil
215
+
216
+ auth_names = ['PureCloud OAuth']
217
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
218
+ :header_params => header_params,
219
+ :query_params => query_params,
220
+ :form_params => form_params,
221
+ :body => post_body,
222
+ :auth_names => auth_names,
223
+ :return_type => 'NluDomain')
224
+ if @api_client.config.debugging
225
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
226
+ end
227
+ return data, status_code, headers
228
+ end
229
+
230
+ # Get all feedback in the given NLU Domain Version.
231
+ #
232
+ # @param domain_id ID of the NLU domain.
233
+ # @param [Hash] opts the optional parameters
234
+ # @option opts [String] :intent_name The top intent name to retrieve feedback for.
235
+ # @option opts [String] :assessment The top assessment to retrieve feedback for.
236
+ # @option opts [Date] :date_start Begin of time window as ISO-8601 date.
237
+ # @option opts [Date] :date_end End of time window as ISO-8601 date.
238
+ # @option opts [BOOLEAN] :include_deleted Whether to include soft-deleted items in the result.
239
+ # @option opts [Integer] :page_number Page number (default to 1)
240
+ # @option opts [Integer] :page_size Page size (default to 25)
241
+ # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
242
+ # @return [NluFeedbackListing]
243
+ def get_languageunderstanding_domain_feedback(domain_id, opts = {})
244
+ data, _status_code, _headers = get_languageunderstanding_domain_feedback_with_http_info(domain_id, opts)
245
+ return data
246
+ end
247
+
248
+ # Get all feedback in the given NLU Domain Version.
249
+ #
250
+ # @param domain_id ID of the NLU domain.
251
+ # @param [Hash] opts the optional parameters
252
+ # @option opts [String] :intent_name The top intent name to retrieve feedback for.
253
+ # @option opts [String] :assessment The top assessment to retrieve feedback for.
254
+ # @option opts [Date] :date_start Begin of time window as ISO-8601 date.
255
+ # @option opts [Date] :date_end End of time window as ISO-8601 date.
256
+ # @option opts [BOOLEAN] :include_deleted Whether to include soft-deleted items in the result.
257
+ # @option opts [Integer] :page_number Page number
258
+ # @option opts [Integer] :page_size Page size
259
+ # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
260
+ # @return [Array<(NluFeedbackListing, Fixnum, Hash)>] NluFeedbackListing data, response status code and response headers
261
+ def get_languageunderstanding_domain_feedback_with_http_info(domain_id, opts = {})
262
+ if @api_client.config.debugging
263
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_feedback ..."
264
+ end
265
+
266
+
267
+ # verify the required parameter 'domain_id' is set
268
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback" if domain_id.nil?
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+ if opts[:'assessment'] && !['Incorrect', 'Correct', 'Unknown'].include?(opts[:'assessment'])
284
+ fail ArgumentError, 'invalid value for "assessment", must be one of Incorrect, Correct, Unknown'
285
+ end
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+ # resource path
327
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
328
+
329
+ # query parameters
330
+ query_params = {}
331
+ query_params[:'intentName'] = opts[:'intent_name'] if opts[:'intent_name']
332
+ query_params[:'assessment'] = opts[:'assessment'] if opts[:'assessment']
333
+ query_params[:'dateStart'] = opts[:'date_start'] if opts[:'date_start']
334
+ query_params[:'dateEnd'] = opts[:'date_end'] if opts[:'date_end']
335
+ query_params[:'includeDeleted'] = opts[:'include_deleted'] if opts[:'include_deleted']
336
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
337
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
338
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if opts[:'fields']
339
+
340
+ # header parameters
341
+ header_params = {}
342
+
343
+ # HTTP header 'Accept' (if needed)
344
+ local_header_accept = ['application/json']
345
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
346
+
347
+ # HTTP header 'Content-Type'
348
+ local_header_content_type = ['application/json']
349
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
350
+
351
+ # form parameters
352
+ form_params = {}
353
+
354
+ # http body (model)
355
+ post_body = nil
356
+
357
+ auth_names = ['PureCloud OAuth']
358
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
359
+ :header_params => header_params,
360
+ :query_params => query_params,
361
+ :form_params => form_params,
362
+ :body => post_body,
363
+ :auth_names => auth_names,
364
+ :return_type => 'NluFeedbackListing')
365
+ if @api_client.config.debugging
366
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_feedback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
367
+ end
368
+ return data, status_code, headers
369
+ end
370
+
371
+ # Find a Feedback
372
+ #
373
+ # @param domain_id ID of the NLU domain.
374
+ # @param feedback_id ID of the Feedback
375
+ # @param [Hash] opts the optional parameters
376
+ # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
377
+ # @return [NluFeedbackResponse]
378
+ def get_languageunderstanding_domain_feedback_feedback_id(domain_id, feedback_id, opts = {})
379
+ data, _status_code, _headers = get_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts)
380
+ return data
381
+ end
382
+
383
+ # Find a Feedback
384
+ #
385
+ # @param domain_id ID of the NLU domain.
386
+ # @param feedback_id ID of the Feedback
387
+ # @param [Hash] opts the optional parameters
388
+ # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
389
+ # @return [Array<(NluFeedbackResponse, Fixnum, Hash)>] NluFeedbackResponse data, response status code and response headers
390
+ def get_languageunderstanding_domain_feedback_feedback_id_with_http_info(domain_id, feedback_id, opts = {})
391
+ if @api_client.config.debugging
392
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id ..."
393
+ end
394
+
395
+
396
+ # verify the required parameter 'domain_id' is set
397
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id" if domain_id.nil?
398
+
399
+
400
+
401
+
402
+
403
+
404
+ # verify the required parameter 'feedback_id' is set
405
+ fail ArgumentError, "Missing the required parameter 'feedback_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_feedback_feedback_id" if feedback_id.nil?
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+ # resource path
418
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback/{feedbackId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'feedbackId' + '}', feedback_id.to_s)
419
+
420
+ # query parameters
421
+ query_params = {}
422
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if opts[:'fields']
423
+
424
+ # header parameters
425
+ header_params = {}
426
+
427
+ # HTTP header 'Accept' (if needed)
428
+ local_header_accept = ['application/json']
429
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
430
+
431
+ # HTTP header 'Content-Type'
432
+ local_header_content_type = ['application/json']
433
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
434
+
435
+ # form parameters
436
+ form_params = {}
437
+
438
+ # http body (model)
439
+ post_body = nil
440
+
441
+ auth_names = ['PureCloud OAuth']
442
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
443
+ :header_params => header_params,
444
+ :query_params => query_params,
445
+ :form_params => form_params,
446
+ :body => post_body,
447
+ :auth_names => auth_names,
448
+ :return_type => 'NluFeedbackResponse')
449
+ if @api_client.config.debugging
450
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_feedback_feedback_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
451
+ end
452
+ return data, status_code, headers
453
+ end
454
+
455
+ # Find an NLU Domain Version.
456
+ #
457
+ # @param domain_id ID of the NLU domain.
458
+ # @param domain_version_id ID of the NLU domain version.
459
+ # @param [Hash] opts the optional parameters
460
+ # @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
461
+ # @return [NluDomainVersion]
462
+ def get_languageunderstanding_domain_version(domain_id, domain_version_id, opts = {})
463
+ data, _status_code, _headers = get_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts)
464
+ return data
465
+ end
466
+
467
+ # Find an NLU Domain Version.
468
+ #
469
+ # @param domain_id ID of the NLU domain.
470
+ # @param domain_version_id ID of the NLU domain version.
471
+ # @param [Hash] opts the optional parameters
472
+ # @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
473
+ # @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
474
+ def get_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts = {})
475
+ if @api_client.config.debugging
476
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_version ..."
477
+ end
478
+
479
+
480
+ # verify the required parameter 'domain_id' is set
481
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version" if domain_id.nil?
482
+
483
+
484
+
485
+
486
+
487
+
488
+ # verify the required parameter 'domain_version_id' is set
489
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version" if domain_version_id.nil?
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+ # resource path
502
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
503
+
504
+ # query parameters
505
+ query_params = {}
506
+ query_params[:'includeUtterances'] = opts[:'include_utterances'] if opts[:'include_utterances']
507
+
508
+ # header parameters
509
+ header_params = {}
510
+
511
+ # HTTP header 'Accept' (if needed)
512
+ local_header_accept = ['application/json']
513
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
514
+
515
+ # HTTP header 'Content-Type'
516
+ local_header_content_type = ['application/json']
517
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
518
+
519
+ # form parameters
520
+ form_params = {}
521
+
522
+ # http body (model)
523
+ post_body = nil
524
+
525
+ auth_names = ['PureCloud OAuth']
526
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
527
+ :header_params => header_params,
528
+ :query_params => query_params,
529
+ :form_params => form_params,
530
+ :body => post_body,
531
+ :auth_names => auth_names,
532
+ :return_type => 'NluDomainVersion')
533
+ if @api_client.config.debugging
534
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
535
+ end
536
+ return data, status_code, headers
537
+ end
538
+
539
+ # Retrieved quality report for the specified NLU Domain Version
540
+ #
541
+ # @param domain_id ID of the NLU domain.
542
+ # @param domain_version_id ID of the NLU domain version.
543
+ # @param [Hash] opts the optional parameters
544
+ # @return [NluDomainVersionQualityReport]
545
+ def get_languageunderstanding_domain_version_report(domain_id, domain_version_id, opts = {})
546
+ data, _status_code, _headers = get_languageunderstanding_domain_version_report_with_http_info(domain_id, domain_version_id, opts)
547
+ return data
548
+ end
549
+
550
+ # Retrieved quality report for the specified NLU Domain Version
551
+ #
552
+ # @param domain_id ID of the NLU domain.
553
+ # @param domain_version_id ID of the NLU domain version.
554
+ # @param [Hash] opts the optional parameters
555
+ # @return [Array<(NluDomainVersionQualityReport, Fixnum, Hash)>] NluDomainVersionQualityReport data, response status code and response headers
556
+ def get_languageunderstanding_domain_version_report_with_http_info(domain_id, domain_version_id, opts = {})
557
+ if @api_client.config.debugging
558
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_version_report ..."
559
+ end
560
+
561
+
562
+ # verify the required parameter 'domain_id' is set
563
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version_report" if domain_id.nil?
564
+
565
+
566
+
567
+
568
+
569
+
570
+ # verify the required parameter 'domain_version_id' is set
571
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_version_report" if domain_version_id.nil?
572
+
573
+
574
+
575
+
576
+
577
+ # resource path
578
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/report".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
579
+
580
+ # query parameters
581
+ query_params = {}
582
+
583
+ # header parameters
584
+ header_params = {}
585
+
586
+ # HTTP header 'Accept' (if needed)
587
+ local_header_accept = ['application/json']
588
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
589
+
590
+ # HTTP header 'Content-Type'
591
+ local_header_content_type = ['application/json']
592
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
593
+
594
+ # form parameters
595
+ form_params = {}
596
+
597
+ # http body (model)
598
+ post_body = nil
599
+
600
+ auth_names = ['PureCloud OAuth']
601
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
602
+ :header_params => header_params,
603
+ :query_params => query_params,
604
+ :form_params => form_params,
605
+ :body => post_body,
606
+ :auth_names => auth_names,
607
+ :return_type => 'NluDomainVersionQualityReport')
608
+ if @api_client.config.debugging
609
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_version_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
610
+ end
611
+ return data, status_code, headers
612
+ end
613
+
614
+ # Get all NLU Domain Versions for a given Domain.
615
+ #
616
+ # @param domain_id ID of the NLU domain.
617
+ # @param [Hash] opts the optional parameters
618
+ # @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
619
+ # @option opts [Integer] :page_number Page number (default to 1)
620
+ # @option opts [Integer] :page_size Page size (default to 25)
621
+ # @return [NluDomainVersionListing]
622
+ def get_languageunderstanding_domain_versions(domain_id, opts = {})
623
+ data, _status_code, _headers = get_languageunderstanding_domain_versions_with_http_info(domain_id, opts)
624
+ return data
625
+ end
626
+
627
+ # Get all NLU Domain Versions for a given Domain.
628
+ #
629
+ # @param domain_id ID of the NLU domain.
630
+ # @param [Hash] opts the optional parameters
631
+ # @option opts [BOOLEAN] :include_utterances Whether utterances for intent definition should be included when marshalling response.
632
+ # @option opts [Integer] :page_number Page number
633
+ # @option opts [Integer] :page_size Page size
634
+ # @return [Array<(NluDomainVersionListing, Fixnum, Hash)>] NluDomainVersionListing data, response status code and response headers
635
+ def get_languageunderstanding_domain_versions_with_http_info(domain_id, opts = {})
636
+ if @api_client.config.debugging
637
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domain_versions ..."
638
+ end
639
+
640
+
641
+ # verify the required parameter 'domain_id' is set
642
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.get_languageunderstanding_domain_versions" if domain_id.nil?
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+ # resource path
667
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
668
+
669
+ # query parameters
670
+ query_params = {}
671
+ query_params[:'includeUtterances'] = opts[:'include_utterances'] if opts[:'include_utterances']
672
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
673
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
674
+
675
+ # header parameters
676
+ header_params = {}
677
+
678
+ # HTTP header 'Accept' (if needed)
679
+ local_header_accept = ['application/json']
680
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
681
+
682
+ # HTTP header 'Content-Type'
683
+ local_header_content_type = ['application/json']
684
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
685
+
686
+ # form parameters
687
+ form_params = {}
688
+
689
+ # http body (model)
690
+ post_body = nil
691
+
692
+ auth_names = ['PureCloud OAuth']
693
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
694
+ :header_params => header_params,
695
+ :query_params => query_params,
696
+ :form_params => form_params,
697
+ :body => post_body,
698
+ :auth_names => auth_names,
699
+ :return_type => 'NluDomainVersionListing')
700
+ if @api_client.config.debugging
701
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domain_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
702
+ end
703
+ return data, status_code, headers
704
+ end
705
+
706
+ # Get all NLU Domains.
707
+ #
708
+ # @param [Hash] opts the optional parameters
709
+ # @option opts [Integer] :page_number Page number (default to 1)
710
+ # @option opts [Integer] :page_size Page size (default to 25)
711
+ # @return [NluDomainListing]
712
+ def get_languageunderstanding_domains(opts = {})
713
+ data, _status_code, _headers = get_languageunderstanding_domains_with_http_info(opts)
714
+ return data
715
+ end
716
+
717
+ # Get all NLU Domains.
718
+ #
719
+ # @param [Hash] opts the optional parameters
720
+ # @option opts [Integer] :page_number Page number
721
+ # @option opts [Integer] :page_size Page size
722
+ # @return [Array<(NluDomainListing, Fixnum, Hash)>] NluDomainListing data, response status code and response headers
723
+ def get_languageunderstanding_domains_with_http_info(opts = {})
724
+ if @api_client.config.debugging
725
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.get_languageunderstanding_domains ..."
726
+ end
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+ # resource path
741
+ local_var_path = "/api/v2/languageunderstanding/domains".sub('{format}','json')
742
+
743
+ # query parameters
744
+ query_params = {}
745
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
746
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
747
+
748
+ # header parameters
749
+ header_params = {}
750
+
751
+ # HTTP header 'Accept' (if needed)
752
+ local_header_accept = ['application/json']
753
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
754
+
755
+ # HTTP header 'Content-Type'
756
+ local_header_content_type = ['application/json']
757
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
758
+
759
+ # form parameters
760
+ form_params = {}
761
+
762
+ # http body (model)
763
+ post_body = nil
764
+
765
+ auth_names = ['PureCloud OAuth']
766
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
767
+ :header_params => header_params,
768
+ :query_params => query_params,
769
+ :form_params => form_params,
770
+ :body => post_body,
771
+ :auth_names => auth_names,
772
+ :return_type => 'NluDomainListing')
773
+ if @api_client.config.debugging
774
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#get_languageunderstanding_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
775
+ end
776
+ return data, status_code, headers
777
+ end
778
+
779
+ # Update an NLU Domain.
780
+ #
781
+ # @param domain_id ID of the NLU domain.
782
+ # @param [Hash] opts the optional parameters
783
+ # @option opts [NluDomain] :body
784
+ # @return [NluDomain]
785
+ def patch_languageunderstanding_domain(domain_id, opts = {})
786
+ data, _status_code, _headers = patch_languageunderstanding_domain_with_http_info(domain_id, opts)
787
+ return data
788
+ end
789
+
790
+ # Update an NLU Domain.
791
+ #
792
+ # @param domain_id ID of the NLU domain.
793
+ # @param [Hash] opts the optional parameters
794
+ # @option opts [NluDomain] :body
795
+ # @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
796
+ def patch_languageunderstanding_domain_with_http_info(domain_id, opts = {})
797
+ if @api_client.config.debugging
798
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.patch_languageunderstanding_domain ..."
799
+ end
800
+
801
+
802
+ # verify the required parameter 'domain_id' is set
803
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.patch_languageunderstanding_domain" if domain_id.nil?
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+ # resource path
816
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
817
+
818
+ # query parameters
819
+ query_params = {}
820
+
821
+ # header parameters
822
+ header_params = {}
823
+
824
+ # HTTP header 'Accept' (if needed)
825
+ local_header_accept = ['application/json']
826
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
827
+
828
+ # HTTP header 'Content-Type'
829
+ local_header_content_type = ['application/json']
830
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
831
+
832
+ # form parameters
833
+ form_params = {}
834
+
835
+ # http body (model)
836
+ post_body = @api_client.object_to_http_body(opts[:'body'])
837
+
838
+ auth_names = ['PureCloud OAuth']
839
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
840
+ :header_params => header_params,
841
+ :query_params => query_params,
842
+ :form_params => form_params,
843
+ :body => post_body,
844
+ :auth_names => auth_names,
845
+ :return_type => 'NluDomain')
846
+ if @api_client.config.debugging
847
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#patch_languageunderstanding_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
848
+ end
849
+ return data, status_code, headers
850
+ end
851
+
852
+ # Create feedback for the NLU Domain Version.
853
+ #
854
+ # @param domain_id ID of the NLU domain.
855
+ # @param [Hash] opts the optional parameters
856
+ # @option opts [NluFeedbackRequest] :body
857
+ # @return [NluFeedbackResponse]
858
+ def post_languageunderstanding_domain_feedback(domain_id, opts = {})
859
+ data, _status_code, _headers = post_languageunderstanding_domain_feedback_with_http_info(domain_id, opts)
860
+ return data
861
+ end
862
+
863
+ # Create feedback for the NLU Domain Version.
864
+ #
865
+ # @param domain_id ID of the NLU domain.
866
+ # @param [Hash] opts the optional parameters
867
+ # @option opts [NluFeedbackRequest] :body
868
+ # @return [Array<(NluFeedbackResponse, Fixnum, Hash)>] NluFeedbackResponse data, response status code and response headers
869
+ def post_languageunderstanding_domain_feedback_with_http_info(domain_id, opts = {})
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_feedback ..."
872
+ end
873
+
874
+
875
+ # verify the required parameter 'domain_id' is set
876
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_feedback" if domain_id.nil?
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+ # resource path
889
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/feedback".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s)
890
+
891
+ # query parameters
892
+ query_params = {}
893
+
894
+ # header parameters
895
+ header_params = {}
896
+
897
+ # HTTP header 'Accept' (if needed)
898
+ local_header_accept = ['application/json']
899
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
900
+
901
+ # HTTP header 'Content-Type'
902
+ local_header_content_type = ['application/json']
903
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
904
+
905
+ # form parameters
906
+ form_params = {}
907
+
908
+ # http body (model)
909
+ post_body = @api_client.object_to_http_body(opts[:'body'])
910
+
911
+ auth_names = ['PureCloud OAuth']
912
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
913
+ :header_params => header_params,
914
+ :query_params => query_params,
915
+ :form_params => form_params,
916
+ :body => post_body,
917
+ :auth_names => auth_names,
918
+ :return_type => 'NluFeedbackResponse')
919
+ if @api_client.config.debugging
920
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_feedback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
921
+ end
922
+ return data, status_code, headers
923
+ end
924
+
925
+ # Detect intent, entities, etc. in the submitted text using the specified NLU domain version.
926
+ #
927
+ # @param domain_id ID of the NLU domain.
928
+ # @param domain_version_id ID of the NLU domain version.
929
+ # @param [Hash] opts the optional parameters
930
+ # @option opts [NluDetectionRequest] :body
931
+ # @return [NluDetectionResponse]
932
+ def post_languageunderstanding_domain_version_detect(domain_id, domain_version_id, opts = {})
933
+ data, _status_code, _headers = post_languageunderstanding_domain_version_detect_with_http_info(domain_id, domain_version_id, opts)
934
+ return data
935
+ end
936
+
937
+ # Detect intent, entities, etc. in the submitted text using the specified NLU domain version.
938
+ #
939
+ # @param domain_id ID of the NLU domain.
940
+ # @param domain_version_id ID of the NLU domain version.
941
+ # @param [Hash] opts the optional parameters
942
+ # @option opts [NluDetectionRequest] :body
943
+ # @return [Array<(NluDetectionResponse, Fixnum, Hash)>] NluDetectionResponse data, response status code and response headers
944
+ def post_languageunderstanding_domain_version_detect_with_http_info(domain_id, domain_version_id, opts = {})
945
+ if @api_client.config.debugging
946
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect ..."
947
+ end
948
+
949
+
950
+ # verify the required parameter 'domain_id' is set
951
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect" if domain_id.nil?
952
+
953
+
954
+
955
+
956
+
957
+
958
+ # verify the required parameter 'domain_version_id' is set
959
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_detect" if domain_version_id.nil?
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+ # resource path
972
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/detect".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
973
+
974
+ # query parameters
975
+ query_params = {}
976
+
977
+ # header parameters
978
+ header_params = {}
979
+
980
+ # HTTP header 'Accept' (if needed)
981
+ local_header_accept = ['application/json']
982
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
983
+
984
+ # HTTP header 'Content-Type'
985
+ local_header_content_type = ['application/json']
986
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
987
+
988
+ # form parameters
989
+ form_params = {}
990
+
991
+ # http body (model)
992
+ post_body = @api_client.object_to_http_body(opts[:'body'])
993
+
994
+ auth_names = ['PureCloud OAuth']
995
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
996
+ :header_params => header_params,
997
+ :query_params => query_params,
998
+ :form_params => form_params,
999
+ :body => post_body,
1000
+ :auth_names => auth_names,
1001
+ :return_type => 'NluDetectionResponse')
1002
+ if @api_client.config.debugging
1003
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_detect\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1004
+ end
1005
+ return data, status_code, headers
1006
+ end
1007
+
1008
+ # Publish the draft NLU Domain Version.
1009
+ #
1010
+ # @param domain_id ID of the NLU domain.
1011
+ # @param domain_version_id ID of the NLU domain version.
1012
+ # @param [Hash] opts the optional parameters
1013
+ # @return [NluDomainVersion]
1014
+ def post_languageunderstanding_domain_version_publish(domain_id, domain_version_id, opts = {})
1015
+ data, _status_code, _headers = post_languageunderstanding_domain_version_publish_with_http_info(domain_id, domain_version_id, opts)
1016
+ return data
1017
+ end
1018
+
1019
+ # Publish the draft NLU Domain Version.
1020
+ #
1021
+ # @param domain_id ID of the NLU domain.
1022
+ # @param domain_version_id ID of the NLU domain version.
1023
+ # @param [Hash] opts the optional parameters
1024
+ # @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
1025
+ def post_languageunderstanding_domain_version_publish_with_http_info(domain_id, domain_version_id, opts = {})
1026
+ if @api_client.config.debugging
1027
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish ..."
1028
+ end
1029
+
1030
+
1031
+ # verify the required parameter 'domain_id' is set
1032
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish" if domain_id.nil?
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ # verify the required parameter 'domain_version_id' is set
1040
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_publish" if domain_version_id.nil?
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+ # resource path
1047
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/publish".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
1048
+
1049
+ # query parameters
1050
+ query_params = {}
1051
+
1052
+ # header parameters
1053
+ header_params = {}
1054
+
1055
+ # HTTP header 'Accept' (if needed)
1056
+ local_header_accept = ['application/json']
1057
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1058
+
1059
+ # HTTP header 'Content-Type'
1060
+ local_header_content_type = ['application/json']
1061
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1062
+
1063
+ # form parameters
1064
+ form_params = {}
1065
+
1066
+ # http body (model)
1067
+ post_body = nil
1068
+
1069
+ auth_names = ['PureCloud OAuth']
1070
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1071
+ :header_params => header_params,
1072
+ :query_params => query_params,
1073
+ :form_params => form_params,
1074
+ :body => post_body,
1075
+ :auth_names => auth_names,
1076
+ :return_type => 'NluDomainVersion')
1077
+ if @api_client.config.debugging
1078
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_publish\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1079
+ end
1080
+ return data, status_code, headers
1081
+ end
1082
+
1083
+ # Train the draft NLU Domain Version.
1084
+ #
1085
+ # @param domain_id ID of the NLU domain.
1086
+ # @param domain_version_id ID of the NLU domain version.
1087
+ # @param [Hash] opts the optional parameters
1088
+ # @return [NluDomainVersionTrainingResponse]
1089
+ def post_languageunderstanding_domain_version_train(domain_id, domain_version_id, opts = {})
1090
+ data, _status_code, _headers = post_languageunderstanding_domain_version_train_with_http_info(domain_id, domain_version_id, opts)
1091
+ return data
1092
+ end
1093
+
1094
+ # Train the draft NLU Domain Version.
1095
+ #
1096
+ # @param domain_id ID of the NLU domain.
1097
+ # @param domain_version_id ID of the NLU domain version.
1098
+ # @param [Hash] opts the optional parameters
1099
+ # @return [Array<(NluDomainVersionTrainingResponse, Fixnum, Hash)>] NluDomainVersionTrainingResponse data, response status code and response headers
1100
+ def post_languageunderstanding_domain_version_train_with_http_info(domain_id, domain_version_id, opts = {})
1101
+ if @api_client.config.debugging
1102
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domain_version_train ..."
1103
+ end
1104
+
1105
+
1106
+ # verify the required parameter 'domain_id' is set
1107
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_train" if domain_id.nil?
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+ # verify the required parameter 'domain_version_id' is set
1115
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.post_languageunderstanding_domain_version_train" if domain_version_id.nil?
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+ # resource path
1122
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/train".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
1123
+
1124
+ # query parameters
1125
+ query_params = {}
1126
+
1127
+ # header parameters
1128
+ header_params = {}
1129
+
1130
+ # HTTP header 'Accept' (if needed)
1131
+ local_header_accept = ['application/json']
1132
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1133
+
1134
+ # HTTP header 'Content-Type'
1135
+ local_header_content_type = ['application/json']
1136
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1137
+
1138
+ # form parameters
1139
+ form_params = {}
1140
+
1141
+ # http body (model)
1142
+ post_body = nil
1143
+
1144
+ auth_names = ['PureCloud OAuth']
1145
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1146
+ :header_params => header_params,
1147
+ :query_params => query_params,
1148
+ :form_params => form_params,
1149
+ :body => post_body,
1150
+ :auth_names => auth_names,
1151
+ :return_type => 'NluDomainVersionTrainingResponse')
1152
+ if @api_client.config.debugging
1153
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domain_version_train\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1154
+ end
1155
+ return data, status_code, headers
1156
+ end
1157
+
1158
+ # Create an NLU Domain.
1159
+ #
1160
+ # @param [Hash] opts the optional parameters
1161
+ # @option opts [NluDomain] :body
1162
+ # @return [NluDomain]
1163
+ def post_languageunderstanding_domains(opts = {})
1164
+ data, _status_code, _headers = post_languageunderstanding_domains_with_http_info(opts)
1165
+ return data
1166
+ end
1167
+
1168
+ # Create an NLU Domain.
1169
+ #
1170
+ # @param [Hash] opts the optional parameters
1171
+ # @option opts [NluDomain] :body
1172
+ # @return [Array<(NluDomain, Fixnum, Hash)>] NluDomain data, response status code and response headers
1173
+ def post_languageunderstanding_domains_with_http_info(opts = {})
1174
+ if @api_client.config.debugging
1175
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.post_languageunderstanding_domains ..."
1176
+ end
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+ # resource path
1185
+ local_var_path = "/api/v2/languageunderstanding/domains".sub('{format}','json')
1186
+
1187
+ # query parameters
1188
+ query_params = {}
1189
+
1190
+ # header parameters
1191
+ header_params = {}
1192
+
1193
+ # HTTP header 'Accept' (if needed)
1194
+ local_header_accept = ['application/json']
1195
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1196
+
1197
+ # HTTP header 'Content-Type'
1198
+ local_header_content_type = ['application/json']
1199
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1200
+
1201
+ # form parameters
1202
+ form_params = {}
1203
+
1204
+ # http body (model)
1205
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1206
+
1207
+ auth_names = ['PureCloud OAuth']
1208
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1209
+ :header_params => header_params,
1210
+ :query_params => query_params,
1211
+ :form_params => form_params,
1212
+ :body => post_body,
1213
+ :auth_names => auth_names,
1214
+ :return_type => 'NluDomain')
1215
+ if @api_client.config.debugging
1216
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#post_languageunderstanding_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1217
+ end
1218
+ return data, status_code, headers
1219
+ end
1220
+
1221
+ # Update an NLU Domain Version.
1222
+ #
1223
+ # @param domain_id ID of the NLU domain.
1224
+ # @param domain_version_id ID of the NLU domain version.
1225
+ # @param [Hash] opts the optional parameters
1226
+ # @option opts [NluDomainVersion] :body
1227
+ # @return [NluDomainVersion]
1228
+ def put_languageunderstanding_domain_version(domain_id, domain_version_id, opts = {})
1229
+ data, _status_code, _headers = put_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts)
1230
+ return data
1231
+ end
1232
+
1233
+ # Update an NLU Domain Version.
1234
+ #
1235
+ # @param domain_id ID of the NLU domain.
1236
+ # @param domain_version_id ID of the NLU domain version.
1237
+ # @param [Hash] opts the optional parameters
1238
+ # @option opts [NluDomainVersion] :body
1239
+ # @return [Array<(NluDomainVersion, Fixnum, Hash)>] NluDomainVersion data, response status code and response headers
1240
+ def put_languageunderstanding_domain_version_with_http_info(domain_id, domain_version_id, opts = {})
1241
+ if @api_client.config.debugging
1242
+ @api_client.config.logger.debug "Calling API: LanguageUnderstandingApi.put_languageunderstanding_domain_version ..."
1243
+ end
1244
+
1245
+
1246
+ # verify the required parameter 'domain_id' is set
1247
+ fail ArgumentError, "Missing the required parameter 'domain_id' when calling LanguageUnderstandingApi.put_languageunderstanding_domain_version" if domain_id.nil?
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ # verify the required parameter 'domain_version_id' is set
1255
+ fail ArgumentError, "Missing the required parameter 'domain_version_id' when calling LanguageUnderstandingApi.put_languageunderstanding_domain_version" if domain_version_id.nil?
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+ # resource path
1268
+ local_var_path = "/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}".sub('{format}','json').sub('{' + 'domainId' + '}', domain_id.to_s).sub('{' + 'domainVersionId' + '}', domain_version_id.to_s)
1269
+
1270
+ # query parameters
1271
+ query_params = {}
1272
+
1273
+ # header parameters
1274
+ header_params = {}
1275
+
1276
+ # HTTP header 'Accept' (if needed)
1277
+ local_header_accept = ['application/json']
1278
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1279
+
1280
+ # HTTP header 'Content-Type'
1281
+ local_header_content_type = ['application/json']
1282
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1283
+
1284
+ # form parameters
1285
+ form_params = {}
1286
+
1287
+ # http body (model)
1288
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1289
+
1290
+ auth_names = ['PureCloud OAuth']
1291
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1292
+ :header_params => header_params,
1293
+ :query_params => query_params,
1294
+ :form_params => form_params,
1295
+ :body => post_body,
1296
+ :auth_names => auth_names,
1297
+ :return_type => 'NluDomainVersion')
1298
+ if @api_client.config.debugging
1299
+ @api_client.config.logger.debug "API called: LanguageUnderstandingApi#put_languageunderstanding_domain_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1300
+ end
1301
+ return data, status_code, headers
1302
+ end
1303
+ end
1304
+ end