purecloudplatformclientv2 60.0.0 → 64.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (858) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/AnalyticsApi.md +299 -32
  6. data/docs/AnalyticsConversationAsyncQueryResponse.md +14 -0
  7. data/docs/AnalyticsEvaluation.md +1 -1
  8. data/docs/AnalyticsParticipant.md +1 -0
  9. data/docs/ArchitectApi.md +85 -16
  10. data/docs/ArrayNode.md +4 -4
  11. data/docs/AsyncConversationQuery.md +6 -6
  12. data/docs/AsyncQueryResponse.md +13 -0
  13. data/docs/AsyncQueryStatus.md +17 -0
  14. data/docs/AttemptLimitsEntityListing.md +1 -1
  15. data/docs/Attribute.md +2 -2
  16. data/docs/AuthorizationApi.md +11 -7
  17. data/docs/AuthzDivisionEntityListing.md +1 -1
  18. data/docs/BillingApi.md +4 -4
  19. data/docs/BillingUsageReport.md +1 -0
  20. data/docs/CalibrationEntityListing.md +1 -1
  21. data/docs/CallConversationEntityListing.md +1 -1
  22. data/docs/CallHistoryConversationEntityListing.md +1 -1
  23. data/docs/CallMediaParticipant.md +6 -6
  24. data/docs/CallableContactsDiagnostic.md +4 -4
  25. data/docs/CallableTimeSetEntityListing.md +1 -1
  26. data/docs/CallbackConversationEntityListing.md +1 -1
  27. data/docs/CallbackMediaParticipant.md +5 -5
  28. data/docs/Campaign.md +11 -11
  29. data/docs/CampaignDivisionViewListing.md +1 -1
  30. data/docs/CampaignEntityListing.md +1 -1
  31. data/docs/CampaignInteraction.md +6 -6
  32. data/docs/CampaignInteractions.md +1 -1
  33. data/docs/CampaignProgress.md +2 -2
  34. data/docs/CampaignRuleActionEntities.md +2 -2
  35. data/docs/CampaignRuleEntities.md +2 -2
  36. data/docs/CampaignRuleEntityListing.md +1 -1
  37. data/docs/CampaignSchedule.md +1 -1
  38. data/docs/CampaignSequence.md +1 -1
  39. data/docs/CampaignSequenceEntityListing.md +1 -1
  40. data/docs/CertificateAuthorityEntityListing.md +1 -1
  41. data/docs/ChatConversationEntityListing.md +1 -1
  42. data/docs/ChatMediaParticipant.md +5 -5
  43. data/docs/ClientAppEntityListing.md +1 -1
  44. data/docs/CobrowseConversationEntityListing.md +1 -1
  45. data/docs/CobrowseMediaParticipant.md +5 -5
  46. data/docs/CommandStatusEntityListing.md +1 -1
  47. data/docs/ConsumedResourcesEntityListing.md +1 -1
  48. data/docs/ConsumingResourcesEntityListing.md +1 -1
  49. data/docs/ContactList.md +2 -2
  50. data/docs/ContactListDivisionViewListing.md +1 -1
  51. data/docs/ContactListEntityListing.md +1 -1
  52. data/docs/ContactListFilter.md +1 -1
  53. data/docs/ContactListFilterEntityListing.md +1 -1
  54. data/docs/ContactListing.md +1 -1
  55. data/docs/ConversationAggregateDataContainer.md +14 -0
  56. data/docs/ConversationAggregateQueryClause.md +14 -0
  57. data/docs/ConversationAggregateQueryFilter.md +15 -0
  58. data/docs/ConversationAggregateQueryPredicate.md +17 -0
  59. data/docs/ConversationAggregateQueryResponse.md +13 -0
  60. data/docs/ConversationAggregationQuery.md +20 -0
  61. data/docs/ConversationAggregationView.md +16 -0
  62. data/docs/ConversationDetailQueryClause.md +14 -0
  63. data/docs/ConversationDetailQueryFilter.md +15 -0
  64. data/docs/ConversationDetailQueryPredicate.md +18 -0
  65. data/docs/ConversationDivisionMembership.md +2 -2
  66. data/docs/ConversationEntityListing.md +1 -1
  67. data/docs/ConversationQuery.md +6 -6
  68. data/docs/ConversationsApi.md +2259 -498
  69. data/docs/CreateCallbackResponse.md +1 -1
  70. data/docs/CreateQueueMediaAssociationRequest.md +1 -0
  71. data/docs/CreateQueueRequest.md +2 -2
  72. data/docs/CreateShareResponse.md +4 -4
  73. data/docs/CreateUser.md +1 -0
  74. data/docs/CredentialInfoListing.md +1 -1
  75. data/docs/CredentialTypeListing.md +1 -1
  76. data/docs/DID.md +2 -2
  77. data/docs/DIDEntityListing.md +1 -1
  78. data/docs/DIDPoolEntityListing.md +1 -1
  79. data/docs/DataSchema.md +3 -3
  80. data/docs/DataTableImportJob.md +24 -0
  81. data/docs/DataTableRowEntityListing.md +1 -1
  82. data/docs/DataTablesDomainEntityListing.md +1 -1
  83. data/docs/DependencyObjectEntityListing.md +1 -1
  84. data/docs/DependencyStatus.md +2 -1
  85. data/docs/DependencyTypeEntityListing.md +1 -1
  86. data/docs/DialerEventEntityListing.md +1 -1
  87. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  88. data/docs/DirectoryUserDevicesListing.md +1 -1
  89. data/docs/DncList.md +1 -1
  90. data/docs/DncListCreate.md +1 -1
  91. data/docs/DncListDivisionViewListing.md +1 -1
  92. data/docs/DncListEntityListing.md +1 -1
  93. data/docs/Document.md +4 -4
  94. data/docs/DocumentAudit.md +2 -2
  95. data/docs/DocumentAuditEntityListing.md +1 -1
  96. data/docs/DocumentEntityListing.md +1 -1
  97. data/docs/DocumentUpload.md +1 -1
  98. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  99. data/docs/DomainEntityListing.md +1 -1
  100. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  101. data/docs/DomainEntityListingQueryResult.md +1 -1
  102. data/docs/DomainEntityListingSurveyForm.md +1 -1
  103. data/docs/{UriReference.md → DomainEntityRef.md} +2 -2
  104. data/docs/DomainOrganizationRole.md +1 -0
  105. data/docs/DomainOrganizationRoleCreate.md +1 -0
  106. data/docs/DomainOrganizationRoleUpdate.md +1 -0
  107. data/docs/EdgeEntityListing.md +1 -1
  108. data/docs/EdgeGroupEntityListing.md +1 -1
  109. data/docs/EdgeInterface.md +1 -1
  110. data/docs/EdgeLine.md +1 -1
  111. data/docs/EdgeLineEntityListing.md +1 -1
  112. data/docs/EdgeMetrics.md +1 -1
  113. data/docs/EdgeTrunkBase.md +1 -1
  114. data/docs/EmailConversationEntityListing.md +1 -1
  115. data/docs/EmailMediaParticipant.md +5 -5
  116. data/docs/EmailMessageListing.md +1 -1
  117. data/docs/EmbeddedIntegration.md +14 -0
  118. data/docs/EmergencyCallFlow.md +2 -2
  119. data/docs/EmergencyGroupListing.md +1 -1
  120. data/docs/EncryptionKeyEntityListing.md +1 -1
  121. data/docs/Endpoint.md +2 -2
  122. data/docs/EvaluationAggregateDataContainer.md +14 -0
  123. data/docs/EvaluationAggregateQueryClause.md +14 -0
  124. data/docs/EvaluationAggregateQueryFilter.md +15 -0
  125. data/docs/EvaluationAggregateQueryPredicate.md +17 -0
  126. data/docs/EvaluationAggregateQueryResponse.md +13 -0
  127. data/docs/EvaluationAggregationQuery.md +20 -0
  128. data/docs/EvaluationAggregationView.md +16 -0
  129. data/docs/EvaluationDetailQueryClause.md +14 -0
  130. data/docs/EvaluationDetailQueryFilter.md +15 -0
  131. data/docs/EvaluationDetailQueryPredicate.md +18 -0
  132. data/docs/EvaluationEntityListing.md +1 -1
  133. data/docs/EvaluationFormEntityListing.md +1 -1
  134. data/docs/EvaluatorActivityEntityListing.md +1 -1
  135. data/docs/EventLog.md +2 -2
  136. data/docs/Extension.md +2 -2
  137. data/docs/ExtensionEntityListing.md +1 -1
  138. data/docs/ExtensionPoolEntityListing.md +1 -1
  139. data/docs/ExternalOrganizationListing.md +1 -1
  140. data/docs/FacebookIntegration.md +3 -3
  141. data/docs/FacebookIntegrationEntityListing.md +1 -1
  142. data/docs/FaxDocument.md +2 -2
  143. data/docs/FaxDocumentEntityListing.md +1 -1
  144. data/docs/Flow.md +2 -1
  145. data/docs/{AggregateDataContainer.md → FlowAggregateDataContainer.md} +2 -2
  146. data/docs/FlowAggregateQueryClause.md +14 -0
  147. data/docs/FlowAggregateQueryFilter.md +15 -0
  148. data/docs/FlowAggregateQueryPredicate.md +17 -0
  149. data/docs/FlowAggregateQueryResponse.md +13 -0
  150. data/docs/{AggregationQuery.md → FlowAggregationQuery.md} +4 -4
  151. data/docs/{AnalyticsView.md → FlowAggregationView.md} +3 -3
  152. data/docs/FlowDivisionViewEntityListing.md +1 -1
  153. data/docs/FlowEntityListing.md +1 -1
  154. data/docs/{ObservationDataContainer.md → FlowObservationDataContainer.md} +2 -2
  155. data/docs/{ObservationQuery.md → FlowObservationQuery.md} +3 -3
  156. data/docs/FlowObservationQueryClause.md +14 -0
  157. data/docs/FlowObservationQueryFilter.md +15 -0
  158. data/docs/FlowObservationQueryPredicate.md +17 -0
  159. data/docs/FlowObservationQueryResponse.md +13 -0
  160. data/docs/FlowOutcomeListing.md +1 -1
  161. data/docs/FlowVersion.md +1 -0
  162. data/docs/FlowVersionEntityListing.md +1 -1
  163. data/docs/FlowsApi.md +8 -8
  164. data/docs/GDPRRequest.md +1 -1
  165. data/docs/GDPRRequestEntityListing.md +1 -1
  166. data/docs/GDPRSubjectEntityListing.md +1 -1
  167. data/docs/GreetingListing.md +1 -1
  168. data/docs/GroupContact.md +1 -0
  169. data/docs/GroupEntityListing.md +1 -1
  170. data/docs/GroupProfileEntityListing.md +1 -1
  171. data/docs/GroupsApi.md +1 -1
  172. data/docs/HistoryEntry.md +2 -1
  173. data/docs/HistoryListing.md +1 -0
  174. data/docs/IVR.md +4 -4
  175. data/docs/IVREntityListing.md +1 -1
  176. data/docs/InboundDomainEntityListing.md +1 -1
  177. data/docs/InboundRoute.md +5 -5
  178. data/docs/InboundRouteEntityListing.md +1 -1
  179. data/docs/IntegrationEntityListing.md +1 -1
  180. data/docs/IntegrationEventEntityListing.md +1 -1
  181. data/docs/IntegrationExport.md +2 -2
  182. data/docs/IntegrationTypeEntityListing.md +1 -1
  183. data/docs/InteractionStatsAlertContainer.md +1 -1
  184. data/docs/InteractionStatsRuleContainer.md +1 -1
  185. data/docs/JsonNode.md +4 -4
  186. data/docs/KeywordSetEntityListing.md +1 -1
  187. data/docs/LanguageEntityListing.md +1 -1
  188. data/docs/LexBotAliasEntityListing.md +1 -1
  189. data/docs/LexBotEntityListing.md +1 -1
  190. data/docs/LibraryEntityListing.md +1 -1
  191. data/docs/Line.md +6 -6
  192. data/docs/LineBase.md +1 -1
  193. data/docs/LineBaseEntityListing.md +1 -1
  194. data/docs/LineEntityListing.md +1 -1
  195. data/docs/LineIntegration.md +3 -3
  196. data/docs/LineIntegrationEntityListing.md +1 -1
  197. data/docs/Location.md +4 -4
  198. data/docs/{LocationUpdateDefinition.md → LocationCreateUpdateDefinition.md} +7 -6
  199. data/docs/LocationDefinition.md +1 -0
  200. data/docs/LocationEntityListing.md +1 -1
  201. data/docs/LocationSearchRequest.md +1 -0
  202. data/docs/LocationsApi.md +6 -6
  203. data/docs/LockInfo.md +1 -1
  204. data/docs/LogicalInterfaceEntityListing.md +1 -1
  205. data/docs/ManagementUnitListing.md +1 -1
  206. data/docs/Manager.md +2 -2
  207. data/docs/MediaEndpointStatDetailQueryClause.md +14 -0
  208. data/docs/MediaEndpointStatDetailQueryFilter.md +15 -0
  209. data/docs/MediaEndpointStatDetailQueryPredicate.md +17 -0
  210. data/docs/MessageConversationEntityListing.md +1 -1
  211. data/docs/MessageInfo.md +4 -4
  212. data/docs/MessageMediaParticipant.md +5 -5
  213. data/docs/MessagingApi.md +7 -1015
  214. data/docs/MessagingIntegration.md +3 -3
  215. data/docs/MessagingIntegrationEntityListing.md +1 -1
  216. data/docs/MessagingStickerEntityListing.md +1 -1
  217. data/docs/NoteListing.md +1 -1
  218. data/docs/OAuthClient.md +2 -2
  219. data/docs/OAuthClientEntityListing.md +1 -1
  220. data/docs/OAuthClientListing.md +2 -2
  221. data/docs/OAuthProviderEntityListing.md +1 -1
  222. data/docs/ObjectsApi.md +1 -1
  223. data/docs/Operation.md +1 -0
  224. data/docs/OrgOAuthClient.md +2 -2
  225. data/docs/OrganizationApi.md +133 -8
  226. data/docs/OrganizationPresenceEntityListing.md +1 -1
  227. data/docs/OrganizationRoleEntityListing.md +1 -1
  228. data/docs/OrphanRecordingListing.md +1 -1
  229. data/docs/OutboundApi.md +4 -4
  230. data/docs/OutboundRoute.md +1 -1
  231. data/docs/OutboundRouteBase.md +1 -1
  232. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  233. data/docs/OutboundRouteEntityListing.md +1 -1
  234. data/docs/PermissionCollectionEntityListing.md +1 -1
  235. data/docs/Phone.md +5 -5
  236. data/docs/PhoneBase.md +1 -1
  237. data/docs/PhoneBaseEntityListing.md +1 -1
  238. data/docs/PhoneEntityListing.md +1 -1
  239. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  240. data/docs/PhoneStatus.md +1 -1
  241. data/docs/Photo.md +2 -2
  242. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  243. data/docs/PolicyEntityListing.md +1 -1
  244. data/docs/PresenceDetailQueryClause.md +14 -0
  245. data/docs/PresenceDetailQueryFilter.md +15 -0
  246. data/docs/PresenceDetailQueryPredicate.md +17 -0
  247. data/docs/PromptAssetEntityListing.md +1 -1
  248. data/docs/PromptEntityListing.md +1 -1
  249. data/docs/QualityApi.md +8 -8
  250. data/docs/QualityAuditPage.md +1 -1
  251. data/docs/Queue.md +2 -2
  252. data/docs/QueueEmailAddress.md +1 -1
  253. data/docs/QueueEntityListing.md +1 -1
  254. data/docs/QueueMediaAssociation.md +1 -1
  255. data/docs/QueueMemberEntityListing.md +1 -1
  256. data/docs/QueueMessagingAddresses.md +1 -1
  257. data/docs/QueueObservationDataContainer.md +14 -0
  258. data/docs/QueueObservationQuery.md +15 -0
  259. data/docs/QueueObservationQueryClause.md +14 -0
  260. data/docs/QueueObservationQueryFilter.md +15 -0
  261. data/docs/QueueObservationQueryPredicate.md +17 -0
  262. data/docs/{QualifierMappingObservationQueryResponse.md → QueueObservationQueryResponse.md} +3 -3
  263. data/docs/QueueRequest.md +2 -2
  264. data/docs/QueueUtilizationDiagnostic.md +1 -1
  265. data/docs/RecipientListing.md +1 -1
  266. data/docs/Recording.md +4 -4
  267. data/docs/RecordingApi.md +11 -3
  268. data/docs/RecordingJob.md +1 -0
  269. data/docs/RecordingJobEntityListing.md +1 -1
  270. data/docs/RecordingJobsQuery.md +2 -0
  271. data/docs/RecordingMetadata.md +29 -0
  272. data/docs/RelationshipListing.md +1 -1
  273. data/docs/ReplaceResponse.md +1 -1
  274. data/docs/ReportMetaDataEntityListing.md +1 -1
  275. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  276. data/docs/ReportScheduleEntityListing.md +1 -1
  277. data/docs/ReportingExportJobListing.md +1 -1
  278. data/docs/ReportingExportJobRequest.md +1 -0
  279. data/docs/ReportingExportJobResponse.md +1 -0
  280. data/docs/Response.md +1 -1
  281. data/docs/ResponseEntityList.md +1 -1
  282. data/docs/ResponseEntityListing.md +1 -1
  283. data/docs/ResponseSetEntityListing.md +1 -1
  284. data/docs/RoutingApi.md +144 -7
  285. data/docs/RoutingStatusDetailQueryClause.md +14 -0
  286. data/docs/RoutingStatusDetailQueryFilter.md +15 -0
  287. data/docs/RoutingStatusDetailQueryPredicate.md +17 -0
  288. data/docs/RuleSet.md +2 -2
  289. data/docs/RuleSetDiagnostic.md +1 -1
  290. data/docs/RuleSetEntityListing.md +1 -1
  291. data/docs/SCIMApi.md +278 -0
  292. data/docs/ScheduleEntityListing.md +1 -1
  293. data/docs/ScheduleGroup.md +3 -3
  294. data/docs/ScheduleGroupEntityListing.md +1 -1
  295. data/docs/SchemaCategoryEntityListing.md +1 -1
  296. data/docs/SchemaReferenceEntityListing.md +1 -1
  297. data/docs/ScimConfigResourceType.md +20 -0
  298. data/docs/ScimConfigResourceTypeSchemaExtension.md +14 -0
  299. data/docs/ScimConfigResourceTypesListResponse.md +17 -0
  300. data/docs/ScimEmail.md +3 -3
  301. data/docs/ScimError.md +16 -0
  302. data/docs/ScimGroupListResponse.md +4 -4
  303. data/docs/ScimMetadata.md +4 -4
  304. data/docs/ScimPhoneNumber.md +3 -3
  305. data/docs/ScimServiceProviderConfig.md +9 -1
  306. data/docs/ScimServiceProviderConfigAuthenticationScheme.md +18 -0
  307. data/docs/ScimServiceProviderConfigBulkFeature.md +15 -0
  308. data/docs/ScimServiceProviderConfigFilterFeature.md +14 -0
  309. data/docs/ScimServiceProviderConfigSimpleFeature.md +13 -0
  310. data/docs/ScimUserListResponse.md +4 -4
  311. data/docs/ScimV2CreateUser.md +12 -12
  312. data/docs/ScimV2EnterpriseUser.md +3 -3
  313. data/docs/ScimV2Group.md +4 -4
  314. data/docs/ScimV2GroupReference.md +3 -4
  315. data/docs/ScimV2MemberReference.md +3 -4
  316. data/docs/ScimV2PatchOperation.md +3 -3
  317. data/docs/ScimV2PatchRequest.md +1 -1
  318. data/docs/ScimV2User.md +14 -13
  319. data/docs/ScreenRecordingSessionListing.md +1 -1
  320. data/docs/ScriptEntityListing.md +1 -1
  321. data/docs/SearchApi.md +4 -4
  322. data/docs/SecureSession.md +1 -1
  323. data/docs/SecurityProfileEntityListing.md +1 -1
  324. data/docs/SegmentDetailQueryClause.md +14 -0
  325. data/docs/SegmentDetailQueryFilter.md +15 -0
  326. data/docs/{AnalyticsQueryPredicate.md → SegmentDetailQueryPredicate.md} +4 -4
  327. data/docs/SequenceSchedule.md +1 -1
  328. data/docs/Share.md +4 -4
  329. data/docs/ShareEntityListing.md +1 -1
  330. data/docs/Site.md +2 -2
  331. data/docs/SiteEntityListing.md +1 -1
  332. data/docs/SkillEntityListing.md +1 -1
  333. data/docs/SmsAddress.md +21 -0
  334. data/docs/SmsAddressEntityListing.md +22 -0
  335. data/docs/SmsPhoneNumber.md +2 -0
  336. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  337. data/docs/SmsPhoneNumberProvision.md +1 -0
  338. data/docs/SpeechTextAnalyticsApi.md +14 -144
  339. data/docs/Station.md +2 -2
  340. data/docs/StationEntityListing.md +1 -1
  341. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  342. data/docs/SuggestApi.md +2 -2
  343. data/docs/Survey.md +1 -1
  344. data/docs/SurveyAggregateDataContainer.md +14 -0
  345. data/docs/SurveyAggregateQueryClause.md +14 -0
  346. data/docs/SurveyAggregateQueryFilter.md +15 -0
  347. data/docs/SurveyAggregateQueryPredicate.md +17 -0
  348. data/docs/SurveyAggregateQueryResponse.md +13 -0
  349. data/docs/SurveyAggregationQuery.md +20 -0
  350. data/docs/SurveyAggregationView.md +16 -0
  351. data/docs/SurveyAssignment.md +1 -1
  352. data/docs/SurveyDetailQueryClause.md +14 -0
  353. data/docs/SurveyDetailQueryFilter.md +15 -0
  354. data/docs/SurveyDetailQueryPredicate.md +18 -0
  355. data/docs/SurveyFormEntityListing.md +1 -1
  356. data/docs/SystemPromptAssetEntityListing.md +1 -1
  357. data/docs/SystemPromptEntityListing.md +1 -1
  358. data/docs/TagValueEntityListing.md +1 -1
  359. data/docs/TelephonyProvidersEdgeApi.md +10 -6
  360. data/docs/TextMessageListing.md +1 -1
  361. data/docs/TimeZoneEntityListing.md +1 -1
  362. data/docs/TimeZoneMappingPreview.md +1 -1
  363. data/docs/TokenInfo.md +1 -0
  364. data/docs/TokensApi.md +2 -1
  365. data/docs/TranscriptProperty.md +15 -0
  366. data/docs/Trunk.md +5 -5
  367. data/docs/TrunkBase.md +1 -1
  368. data/docs/TrunkBaseEntityListing.md +1 -1
  369. data/docs/TrunkEntityListing.md +1 -1
  370. data/docs/TrunkMetabaseEntityListing.md +1 -1
  371. data/docs/TrunkMetrics.md +2 -2
  372. data/docs/TrustEntityListing.md +1 -1
  373. data/docs/TrustUserEntityListing.md +1 -1
  374. data/docs/TrustorEntityListing.md +1 -1
  375. data/docs/TtsEngineEntityListing.md +1 -1
  376. data/docs/TtsVoiceEntityListing.md +1 -1
  377. data/docs/TwitterIntegration.md +3 -3
  378. data/docs/TwitterIntegrationEntityListing.md +1 -1
  379. data/docs/UserActionCategoryEntityListing.md +1 -1
  380. data/docs/UserAggregateDataContainer.md +14 -0
  381. data/docs/UserAggregateQueryClause.md +14 -0
  382. data/docs/UserAggregateQueryFilter.md +15 -0
  383. data/docs/UserAggregateQueryPredicate.md +17 -0
  384. data/docs/{PresenceQueryResponse.md → UserAggregateQueryResponse.md} +3 -3
  385. data/docs/UserAggregationQuery.md +20 -0
  386. data/docs/UserAggregationView.md +16 -0
  387. data/docs/UserAuthorization.md +1 -0
  388. data/docs/UserDetailQueryClause.md +14 -0
  389. data/docs/UserDetailQueryFilter.md +15 -0
  390. data/docs/UserDetailQueryPredicate.md +17 -0
  391. data/docs/UserDetailsQuery.md +3 -3
  392. data/docs/UserEntityListing.md +1 -1
  393. data/docs/UserLanguageEntityListing.md +1 -1
  394. data/docs/UserObservationDataContainer.md +14 -0
  395. data/docs/UserObservationQuery.md +15 -0
  396. data/docs/UserObservationQueryClause.md +14 -0
  397. data/docs/UserObservationQueryFilter.md +15 -0
  398. data/docs/UserObservationQueryPredicate.md +17 -0
  399. data/docs/UserObservationQueryResponse.md +13 -0
  400. data/docs/UserProfileEntityListing.md +1 -1
  401. data/docs/UserQueue.md +2 -2
  402. data/docs/UserQueueEntityListing.md +1 -1
  403. data/docs/UserRecording.md +2 -2
  404. data/docs/UserRecordingEntityListing.md +1 -1
  405. data/docs/UserSkillEntityListing.md +1 -1
  406. data/docs/UserTokensTopicTokenNotification.md +3 -0
  407. data/docs/UsersApi.md +19 -19
  408. data/docs/VoicemailMessageEntityListing.md +1 -1
  409. data/docs/WebChatDeployment.md +1 -1
  410. data/docs/WebChatMemberInfoEntityList.md +1 -1
  411. data/docs/WhatsAppIntegration.md +25 -0
  412. data/docs/WhatsAppIntegrationEntityListing.md +22 -0
  413. data/docs/WhatsAppIntegrationUpdateRequest.md +18 -0
  414. data/docs/WidgetDeployment.md +1 -1
  415. data/docs/WorkforceManagementApi.md +1 -1
  416. data/docs/Workspace.md +1 -1
  417. data/docs/WorkspaceEntityListing.md +1 -1
  418. data/docs/WorkspaceMember.md +2 -2
  419. data/docs/WorkspaceMemberEntityListing.md +1 -1
  420. data/docs/WrapupCodeEntityListing.md +1 -1
  421. data/lib/purecloudplatformclientv2.rb +99 -20
  422. data/lib/purecloudplatformclientv2/api/analytics_api.rb +292 -24
  423. data/lib/purecloudplatformclientv2/api/architect_api.rb +81 -6
  424. data/lib/purecloudplatformclientv2/api/authorization_api.rb +15 -6
  425. data/lib/purecloudplatformclientv2/api/billing_api.rb +4 -4
  426. data/lib/purecloudplatformclientv2/api/conversations_api.rb +2663 -810
  427. data/lib/purecloudplatformclientv2/api/flows_api.rb +6 -6
  428. data/lib/purecloudplatformclientv2/api/locations_api.rb +2 -2
  429. data/lib/purecloudplatformclientv2/api/messaging_api.rb +10 -1042
  430. data/lib/purecloudplatformclientv2/api/objects_api.rb +2 -2
  431. data/lib/purecloudplatformclientv2/api/organization_api.rb +124 -4
  432. data/lib/purecloudplatformclientv2/api/outbound_api.rb +6 -6
  433. data/lib/purecloudplatformclientv2/api/quality_api.rb +6 -6
  434. data/lib/purecloudplatformclientv2/api/recording_api.rb +51 -3
  435. data/lib/purecloudplatformclientv2/api/routing_api.rb +153 -6
  436. data/lib/purecloudplatformclientv2/api/scim_api.rb +332 -0
  437. data/lib/purecloudplatformclientv2/api/search_api.rb +2 -2
  438. data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +19 -139
  439. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +22 -4
  440. data/lib/purecloudplatformclientv2/api/users_api.rb +8 -8
  441. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +2 -2
  442. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  443. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  444. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  445. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +1 -15
  446. data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +229 -0
  447. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  448. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
  449. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +31 -3
  450. data/lib/purecloudplatformclientv2/models/array_node.rb +57 -57
  451. data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +28 -28
  452. data/lib/purecloudplatformclientv2/models/async_query_response.rb +202 -0
  453. data/lib/purecloudplatformclientv2/models/async_query_status.rb +320 -0
  454. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  455. data/lib/purecloudplatformclientv2/models/attribute.rb +2 -2
  456. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  457. data/lib/purecloudplatformclientv2/models/billing_usage_report.rb +41 -1
  458. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  459. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  460. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +6 -6
  462. data/lib/purecloudplatformclientv2/models/callable_contacts_diagnostic.rb +4 -4
  463. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  464. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +5 -5
  466. data/lib/purecloudplatformclientv2/models/campaign.rb +11 -11
  467. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  468. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  469. data/lib/purecloudplatformclientv2/models/campaign_interaction.rb +6 -6
  470. data/lib/purecloudplatformclientv2/models/campaign_interactions.rb +1 -1
  471. data/lib/purecloudplatformclientv2/models/campaign_progress.rb +2 -2
  472. data/lib/purecloudplatformclientv2/models/campaign_rule_action_entities.rb +2 -2
  473. data/lib/purecloudplatformclientv2/models/campaign_rule_entities.rb +2 -2
  474. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  475. data/lib/purecloudplatformclientv2/models/campaign_schedule.rb +1 -1
  476. data/lib/purecloudplatformclientv2/models/campaign_sequence.rb +1 -1
  477. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  478. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  479. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  480. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +5 -5
  481. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  482. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  483. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +5 -5
  484. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  485. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  486. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  487. data/lib/purecloudplatformclientv2/models/contact_list.rb +2 -2
  488. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  489. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  490. data/lib/purecloudplatformclientv2/models/contact_list_filter.rb +1 -1
  491. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  492. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  493. data/lib/purecloudplatformclientv2/models/conversation_aggregate_data_container.rb +231 -0
  494. data/lib/purecloudplatformclientv2/models/{analytics_query_clause.rb → conversation_aggregate_query_clause.rb} +3 -3
  495. data/lib/purecloudplatformclientv2/models/{analytics_query_filter.rb → conversation_aggregate_query_filter.rb} +4 -4
  496. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +348 -0
  497. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_response.rb +203 -0
  498. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +390 -0
  499. data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +323 -0
  500. data/lib/purecloudplatformclientv2/models/conversation_detail_query_clause.rb +254 -0
  501. data/lib/purecloudplatformclientv2/models/conversation_detail_query_filter.rb +277 -0
  502. data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +388 -0
  503. data/lib/purecloudplatformclientv2/models/conversation_division_membership.rb +2 -2
  504. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  505. data/lib/purecloudplatformclientv2/models/conversation_query.rb +28 -28
  506. data/lib/purecloudplatformclientv2/models/create_callback_response.rb +1 -1
  507. data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +27 -1
  508. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +2 -2
  509. data/lib/purecloudplatformclientv2/models/create_share_response.rb +4 -4
  510. data/lib/purecloudplatformclientv2/models/create_user.rb +44 -4
  511. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  512. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  513. data/lib/purecloudplatformclientv2/models/data_schema.rb +3 -3
  514. data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +521 -0
  515. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  516. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  517. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  518. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  519. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  520. data/lib/purecloudplatformclientv2/models/dependency_status.rb +28 -1
  521. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  522. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  523. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  524. data/lib/purecloudplatformclientv2/models/did.rb +2 -2
  525. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  526. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  527. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  528. data/lib/purecloudplatformclientv2/models/dnc_list.rb +1 -1
  529. data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +1 -1
  530. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  531. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  532. data/lib/purecloudplatformclientv2/models/document.rb +4 -4
  533. data/lib/purecloudplatformclientv2/models/document_audit.rb +2 -2
  534. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  535. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  536. data/lib/purecloudplatformclientv2/models/document_upload.rb +1 -1
  537. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  538. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  539. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  540. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  541. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  542. data/lib/purecloudplatformclientv2/models/{uri_reference.rb → domain_entity_ref.rb} +1 -1
  543. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +29 -1
  544. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +29 -1
  545. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +29 -1
  546. data/lib/purecloudplatformclientv2/models/edge.rb +2 -2
  547. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  548. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  549. data/lib/purecloudplatformclientv2/models/edge_interface.rb +1 -1
  550. data/lib/purecloudplatformclientv2/models/edge_line.rb +1 -1
  551. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  552. data/lib/purecloudplatformclientv2/models/edge_metrics.rb +1 -1
  553. data/lib/purecloudplatformclientv2/models/edge_trunk_base.rb +1 -1
  554. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  555. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +5 -5
  556. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/{base_topic_entitiy.rb → embedded_integration.rb} +16 -41
  558. data/lib/purecloudplatformclientv2/models/emergency_call_flow.rb +2 -2
  559. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  560. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  561. data/lib/purecloudplatformclientv2/models/endpoint.rb +2 -2
  562. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_data_container.rb +231 -0
  563. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_clause.rb +254 -0
  564. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_filter.rb +277 -0
  565. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_predicate.rb +348 -0
  566. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_response.rb +203 -0
  567. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +390 -0
  568. data/lib/purecloudplatformclientv2/models/{analytics_view.rb → evaluation_aggregation_view.rb} +17 -3
  569. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_clause.rb +254 -0
  570. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_filter.rb +277 -0
  571. data/lib/purecloudplatformclientv2/models/{create_topic_request.rb → evaluation_detail_query_predicate.rb} +91 -141
  572. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  573. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  574. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  575. data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
  576. data/lib/purecloudplatformclientv2/models/extension.rb +2 -2
  577. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  578. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  579. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  580. data/lib/purecloudplatformclientv2/models/facebook_integration.rb +3 -3
  581. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  582. data/lib/purecloudplatformclientv2/models/fax_document.rb +2 -2
  583. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  584. data/lib/purecloudplatformclientv2/models/flow.rb +30 -3
  585. data/lib/purecloudplatformclientv2/models/{aggregate_data_container.rb → flow_aggregate_data_container.rb} +1 -1
  586. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_clause.rb +254 -0
  587. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_filter.rb +277 -0
  588. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +348 -0
  589. data/lib/purecloudplatformclientv2/models/{aggregate_query_response.rb → flow_aggregate_query_response.rb} +2 -2
  590. data/lib/purecloudplatformclientv2/models/{aggregation_query.rb → flow_aggregation_query.rb} +3 -3
  591. data/lib/purecloudplatformclientv2/models/flow_aggregation_view.rb +323 -0
  592. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
  593. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  594. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  595. data/lib/purecloudplatformclientv2/models/{observation_data_container.rb → flow_observation_data_container.rb} +1 -1
  596. data/lib/purecloudplatformclientv2/models/{observation_query.rb → flow_observation_query.rb} +2 -2
  597. data/lib/purecloudplatformclientv2/models/flow_observation_query_clause.rb +254 -0
  598. data/lib/purecloudplatformclientv2/models/flow_observation_query_filter.rb +277 -0
  599. data/lib/purecloudplatformclientv2/models/flow_observation_query_predicate.rb +348 -0
  600. data/lib/purecloudplatformclientv2/models/{observation_query_response.rb → flow_observation_query_response.rb} +2 -2
  601. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  602. data/lib/purecloudplatformclientv2/models/flow_version.rb +26 -1
  603. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  604. data/lib/purecloudplatformclientv2/models/gdpr_request.rb +1 -1
  605. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  606. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  607. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  608. data/lib/purecloudplatformclientv2/models/group_contact.rb +27 -1
  609. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  610. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  611. data/lib/purecloudplatformclientv2/models/history_entry.rb +28 -1
  612. data/lib/purecloudplatformclientv2/models/history_listing.rb +26 -1
  613. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  614. data/lib/purecloudplatformclientv2/models/inbound_route.rb +5 -5
  615. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  616. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  617. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  618. data/lib/purecloudplatformclientv2/models/integration_export.rb +7 -2
  619. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  620. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  621. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  622. data/lib/purecloudplatformclientv2/models/ivr.rb +4 -4
  623. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  624. data/lib/purecloudplatformclientv2/models/json_node.rb +57 -57
  625. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  626. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  627. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  628. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  629. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  630. data/lib/purecloudplatformclientv2/models/line.rb +6 -6
  631. data/lib/purecloudplatformclientv2/models/line_base.rb +1 -1
  632. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  633. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  634. data/lib/purecloudplatformclientv2/models/line_integration.rb +3 -3
  635. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  636. data/lib/purecloudplatformclientv2/models/location.rb +4 -0
  637. data/lib/purecloudplatformclientv2/models/{location_update_definition.rb → location_create_update_definition.rb} +56 -25
  638. data/lib/purecloudplatformclientv2/models/location_definition.rb +27 -1
  639. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  640. data/lib/purecloudplatformclientv2/models/location_search_request.rb +29 -1
  641. data/lib/purecloudplatformclientv2/models/lock_info.rb +1 -1
  642. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  643. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  644. data/lib/purecloudplatformclientv2/models/manager.rb +3 -3
  645. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_clause.rb +254 -0
  646. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_filter.rb +277 -0
  647. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_predicate.rb +348 -0
  648. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  649. data/lib/purecloudplatformclientv2/models/message_info.rb +4 -0
  650. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +5 -5
  651. data/lib/purecloudplatformclientv2/models/messaging_integration.rb +5 -5
  652. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  653. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  654. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  655. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +2 -2
  656. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  657. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +2 -2
  658. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  659. data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +1 -15
  660. data/lib/purecloudplatformclientv2/models/operation.rb +26 -1
  661. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +2 -2
  662. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  663. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  664. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  665. data/lib/purecloudplatformclientv2/models/outbound_route.rb +1 -1
  666. data/lib/purecloudplatformclientv2/models/outbound_route_base.rb +1 -1
  667. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  668. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  669. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  670. data/lib/purecloudplatformclientv2/models/phone.rb +5 -5
  671. data/lib/purecloudplatformclientv2/models/phone_base.rb +1 -1
  672. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  673. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  674. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  675. data/lib/purecloudplatformclientv2/models/phone_status.rb +1 -1
  676. data/lib/purecloudplatformclientv2/models/photo.rb +2 -2
  677. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  678. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  679. data/lib/purecloudplatformclientv2/models/presence_detail_query_clause.rb +254 -0
  680. data/lib/purecloudplatformclientv2/models/presence_detail_query_filter.rb +277 -0
  681. data/lib/purecloudplatformclientv2/models/presence_detail_query_predicate.rb +348 -0
  682. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  683. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  684. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  685. data/lib/purecloudplatformclientv2/models/queue.rb +2 -2
  686. data/lib/purecloudplatformclientv2/models/queue_email_address.rb +1 -1
  687. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  688. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +17 -17
  689. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  690. data/lib/purecloudplatformclientv2/models/queue_messaging_addresses.rb +1 -1
  691. data/lib/purecloudplatformclientv2/models/queue_observation_data_container.rb +231 -0
  692. data/lib/purecloudplatformclientv2/models/queue_observation_query.rb +263 -0
  693. data/lib/purecloudplatformclientv2/models/queue_observation_query_clause.rb +254 -0
  694. data/lib/purecloudplatformclientv2/models/queue_observation_query_filter.rb +277 -0
  695. data/lib/purecloudplatformclientv2/models/queue_observation_query_predicate.rb +348 -0
  696. data/lib/purecloudplatformclientv2/models/{qualifier_mapping_observation_query_response.rb → queue_observation_query_response.rb} +2 -2
  697. data/lib/purecloudplatformclientv2/models/queue_request.rb +2 -2
  698. data/lib/purecloudplatformclientv2/models/queue_utilization_diagnostic.rb +1 -1
  699. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  700. data/lib/purecloudplatformclientv2/models/recording.rb +4 -2
  701. data/lib/purecloudplatformclientv2/models/recording_job.rb +30 -4
  702. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  703. data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +55 -3
  704. data/lib/purecloudplatformclientv2/models/recording_metadata.rb +644 -0
  705. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  706. data/lib/purecloudplatformclientv2/models/replace_response.rb +1 -1
  707. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  708. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  709. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  710. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  711. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +30 -4
  712. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +27 -1
  713. data/lib/purecloudplatformclientv2/models/response.rb +1 -1
  714. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  715. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  716. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  717. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_clause.rb +254 -0
  718. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_filter.rb +277 -0
  719. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_predicate.rb +348 -0
  720. data/lib/purecloudplatformclientv2/models/rule_set.rb +2 -2
  721. data/lib/purecloudplatformclientv2/models/rule_set_diagnostic.rb +1 -1
  722. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  723. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  724. data/lib/purecloudplatformclientv2/models/schedule_group.rb +3 -3
  725. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  726. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  727. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  728. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +389 -0
  729. data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +229 -0
  730. data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +311 -0
  731. data/lib/purecloudplatformclientv2/models/scim_email.rb +3 -3
  732. data/lib/purecloudplatformclientv2/models/{phrase.rb → scim_error.rb} +57 -57
  733. data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +4 -4
  734. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +7 -7
  735. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +3 -3
  736. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +215 -2
  737. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +362 -0
  738. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +255 -0
  739. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +229 -0
  740. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +203 -0
  741. data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +4 -4
  742. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +21 -19
  743. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +3 -3
  744. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +4 -4
  745. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +6 -32
  746. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +6 -32
  747. data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +3 -3
  748. data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
  749. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +52 -24
  750. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  751. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  752. data/lib/purecloudplatformclientv2/models/secure_session.rb +1 -1
  753. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  754. data/lib/purecloudplatformclientv2/models/segment_detail_query_clause.rb +254 -0
  755. data/lib/purecloudplatformclientv2/models/segment_detail_query_filter.rb +277 -0
  756. data/lib/purecloudplatformclientv2/models/{analytics_query_predicate.rb → segment_detail_query_predicate.rb} +7 -7
  757. data/lib/purecloudplatformclientv2/models/sequence_schedule.rb +1 -1
  758. data/lib/purecloudplatformclientv2/models/share.rb +4 -4
  759. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  760. data/lib/purecloudplatformclientv2/models/site.rb +2 -2
  761. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  762. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  763. data/lib/purecloudplatformclientv2/models/{program.rb → sms_address.rb} +45 -83
  764. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +428 -0
  765. data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +67 -1
  766. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  767. data/lib/purecloudplatformclientv2/models/sms_phone_number_provision.rb +27 -1
  768. data/lib/purecloudplatformclientv2/models/station.rb +2 -2
  769. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  770. data/lib/purecloudplatformclientv2/models/subject_division_grants.rb +2 -2
  771. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  772. data/lib/purecloudplatformclientv2/models/survey.rb +1 -1
  773. data/lib/purecloudplatformclientv2/models/survey_aggregate_data_container.rb +231 -0
  774. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_clause.rb +254 -0
  775. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_filter.rb +277 -0
  776. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_predicate.rb +348 -0
  777. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_response.rb +203 -0
  778. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +390 -0
  779. data/lib/purecloudplatformclientv2/models/survey_aggregation_view.rb +323 -0
  780. data/lib/purecloudplatformclientv2/models/survey_assignment.rb +1 -1
  781. data/lib/purecloudplatformclientv2/models/survey_detail_query_clause.rb +254 -0
  782. data/lib/purecloudplatformclientv2/models/survey_detail_query_filter.rb +277 -0
  783. data/lib/purecloudplatformclientv2/models/survey_detail_query_predicate.rb +388 -0
  784. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  785. data/lib/purecloudplatformclientv2/models/system_message_system_message.rb +4 -4
  786. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  787. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  788. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  789. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  790. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  791. data/lib/purecloudplatformclientv2/models/time_zone_mapping_preview.rb +1 -1
  792. data/lib/purecloudplatformclientv2/models/token_info.rb +29 -1
  793. data/lib/purecloudplatformclientv2/models/{base_program_entity.rb → transcript_property.rb} +23 -22
  794. data/lib/purecloudplatformclientv2/models/trunk.rb +5 -5
  795. data/lib/purecloudplatformclientv2/models/trunk_base.rb +1 -1
  796. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  797. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  798. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  799. data/lib/purecloudplatformclientv2/models/trunk_metrics.rb +2 -2
  800. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  801. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  802. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  803. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  804. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  805. data/lib/purecloudplatformclientv2/models/twitter_integration.rb +3 -3
  806. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  807. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  808. data/lib/purecloudplatformclientv2/models/user_aggregate_data_container.rb +231 -0
  809. data/lib/purecloudplatformclientv2/models/user_aggregate_query_clause.rb +254 -0
  810. data/lib/purecloudplatformclientv2/models/user_aggregate_query_filter.rb +277 -0
  811. data/lib/purecloudplatformclientv2/models/user_aggregate_query_predicate.rb +348 -0
  812. data/lib/purecloudplatformclientv2/models/{presence_query_response.rb → user_aggregate_query_response.rb} +2 -2
  813. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +390 -0
  814. data/lib/purecloudplatformclientv2/models/user_aggregation_view.rb +323 -0
  815. data/lib/purecloudplatformclientv2/models/user_authorization.rb +29 -1
  816. data/lib/purecloudplatformclientv2/models/user_detail_query_clause.rb +254 -0
  817. data/lib/purecloudplatformclientv2/models/user_detail_query_filter.rb +277 -0
  818. data/lib/purecloudplatformclientv2/models/user_detail_query_predicate.rb +348 -0
  819. data/lib/purecloudplatformclientv2/models/user_details_query.rb +33 -34
  820. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  821. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  822. data/lib/purecloudplatformclientv2/models/user_observation_data_container.rb +231 -0
  823. data/lib/purecloudplatformclientv2/models/user_observation_query.rb +263 -0
  824. data/lib/purecloudplatformclientv2/models/user_observation_query_clause.rb +254 -0
  825. data/lib/purecloudplatformclientv2/models/user_observation_query_filter.rb +277 -0
  826. data/lib/purecloudplatformclientv2/models/user_observation_query_predicate.rb +348 -0
  827. data/lib/purecloudplatformclientv2/models/user_observation_query_response.rb +203 -0
  828. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  829. data/lib/purecloudplatformclientv2/models/user_queue.rb +2 -2
  830. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  831. data/lib/purecloudplatformclientv2/models/user_recording.rb +2 -2
  832. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  833. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  834. data/lib/purecloudplatformclientv2/models/user_tokens_topic_token_notification.rb +79 -4
  835. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  836. data/lib/purecloudplatformclientv2/models/web_chat_deployment.rb +1 -1
  837. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  838. data/lib/purecloudplatformclientv2/models/{topic.rb → whats_app_integration.rb} +120 -96
  839. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +428 -0
  840. data/lib/purecloudplatformclientv2/models/whats_app_integration_update_request.rb +365 -0
  841. data/lib/purecloudplatformclientv2/models/widget_deployment.rb +1 -1
  842. data/lib/purecloudplatformclientv2/models/workspace.rb +1 -1
  843. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  844. data/lib/purecloudplatformclientv2/models/workspace_member.rb +2 -2
  845. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  846. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  847. data/lib/purecloudplatformclientv2/version.rb +1 -1
  848. metadata +200 -42
  849. data/docs/AggregateQueryResponse.md +0 -13
  850. data/docs/AnalyticsQueryClause.md +0 -14
  851. data/docs/AnalyticsQueryFilter.md +0 -15
  852. data/docs/BaseProgramEntity.md +0 -15
  853. data/docs/BaseTopicEntitiy.md +0 -15
  854. data/docs/CreateTopicRequest.md +0 -20
  855. data/docs/ObservationQueryResponse.md +0 -13
  856. data/docs/Phrase.md +0 -15
  857. data/docs/Program.md +0 -22
  858. data/docs/Topic.md +0 -25
@@ -0,0 +1,277 @@
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 'date'
18
+
19
+ module PureCloud
20
+ class EvaluationAggregateQueryFilter
21
+ # Boolean operation to apply to the provided predicates and clauses
22
+ attr_accessor :type
23
+
24
+ # Boolean 'and/or' logic with up to two-levels of nesting
25
+ attr_accessor :clauses
26
+
27
+ # Like a three-word sentence: (attribute-name) (operator) (target-value).
28
+ attr_accessor :predicates
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+
34
+ :'type' => :'type',
35
+
36
+ :'clauses' => :'clauses',
37
+
38
+ :'predicates' => :'predicates'
39
+
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.swagger_types
45
+ {
46
+
47
+ :'type' => :'String',
48
+
49
+ :'clauses' => :'Array<EvaluationAggregateQueryClause>',
50
+
51
+ :'predicates' => :'Array<EvaluationAggregateQueryPredicate>'
52
+
53
+ }
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ return unless attributes.is_a?(Hash)
60
+
61
+ # convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
63
+
64
+
65
+ if attributes.has_key?(:'type')
66
+
67
+
68
+ self.type = attributes[:'type']
69
+
70
+
71
+ end
72
+
73
+
74
+ if attributes.has_key?(:'clauses')
75
+
76
+ if (value = attributes[:'clauses']).is_a?(Array)
77
+ self.clauses = value
78
+ end
79
+
80
+
81
+
82
+ end
83
+
84
+
85
+ if attributes.has_key?(:'predicates')
86
+
87
+ if (value = attributes[:'predicates']).is_a?(Array)
88
+ self.predicates = value
89
+ end
90
+
91
+
92
+
93
+ end
94
+
95
+
96
+ end
97
+
98
+ # Show invalid properties with the reasons. Usually used together with valid?
99
+ # @return Array for valid properies with the reasons
100
+ def list_invalid_properties
101
+ invalid_properties = Array.new
102
+
103
+
104
+ return invalid_properties
105
+ end
106
+
107
+ # Check to see if the all the properties in the model are valid
108
+ # @return true if the model is valid
109
+ def valid?
110
+
111
+
112
+ if @type.nil?
113
+ return false
114
+ end
115
+
116
+
117
+
118
+ allowed_values = ["and", "or"]
119
+ if @type && !allowed_values.include?(@type)
120
+ return false
121
+ end
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ end
134
+
135
+
136
+
137
+ # Custom attribute writer method checking allowed values (enum).
138
+ # @param [Object] type Object to be assigned
139
+ def type=(type)
140
+ allowed_values = ["and", "or"]
141
+ if type && !allowed_values.include?(type)
142
+ fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
143
+ end
144
+ @type = type
145
+ end
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+ # Checks equality by comparing each attribute.
161
+ # @param [Object] Object to be compared
162
+ def ==(o)
163
+ return true if self.equal?(o)
164
+ self.class == o.class &&
165
+ type == o.type &&
166
+ clauses == o.clauses &&
167
+ predicates == o.predicates
168
+ end
169
+
170
+ # @see the `==` method
171
+ # @param [Object] Object to be compared
172
+ def eql?(o)
173
+ self == o
174
+ end
175
+
176
+ # Calculates hash code according to all attributes.
177
+ # @return [Fixnum] Hash code
178
+ def hash
179
+ [type, clauses, predicates].hash
180
+ end
181
+
182
+ # build the object from hash
183
+ def build_from_hash(attributes)
184
+ return nil unless attributes.is_a?(Hash)
185
+ self.class.swagger_types.each_pair do |key, type|
186
+ if type =~ /^Array<(.*)>/i
187
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
188
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
189
+ else
190
+ #TODO show warning in debug mode
191
+ end
192
+ elsif !attributes[self.class.attribute_map[key]].nil?
193
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
194
+ else
195
+ # data not found in attributes(hash), not an issue as the data can be optional
196
+ end
197
+ end
198
+
199
+ self
200
+ end
201
+
202
+ def _deserialize(type, value)
203
+ case type.to_sym
204
+ when :DateTime
205
+ DateTime.parse(value)
206
+ when :Date
207
+ Date.parse(value)
208
+ when :String
209
+ value.to_s
210
+ when :Integer
211
+ value.to_i
212
+ when :Float
213
+ value.to_f
214
+ when :BOOLEAN
215
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
216
+ true
217
+ else
218
+ false
219
+ end
220
+ when :Object
221
+ # generic object (usually a Hash), return directly
222
+ value
223
+ when /\AArray<(?<inner_type>.+)>\z/
224
+ inner_type = Regexp.last_match[:inner_type]
225
+ value.map { |v| _deserialize(inner_type, v) }
226
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
227
+ k_type = Regexp.last_match[:k_type]
228
+ v_type = Regexp.last_match[:v_type]
229
+ {}.tap do |hash|
230
+ value.each do |k, v|
231
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
232
+ end
233
+ end
234
+ else # model
235
+ _model = Object.const_get("PureCloud").const_get(type).new
236
+ _model.build_from_hash(value)
237
+ end
238
+ end
239
+
240
+ def to_s
241
+ to_hash.to_s
242
+ end
243
+
244
+ # to_body is an alias to to_body (backward compatibility))
245
+ def to_body
246
+ to_hash
247
+ end
248
+
249
+ # return the object in the form of hash
250
+ def to_hash
251
+ hash = {}
252
+ self.class.attribute_map.each_pair do |attr, param|
253
+ value = self.send(attr)
254
+ next if value.nil?
255
+ hash[param] = _to_hash(value)
256
+ end
257
+ hash
258
+ end
259
+
260
+ # Method to output non-array value in the form of hash
261
+ # For object, use to_hash. Otherwise, just return the value
262
+ def _to_hash(value)
263
+ if value.is_a?(Array)
264
+ value.compact.map{ |v| _to_hash(v) }
265
+ elsif value.is_a?(Hash)
266
+ {}.tap do |hash|
267
+ value.each { |k, v| hash[k] = _to_hash(v) }
268
+ end
269
+ elsif value.respond_to? :to_hash
270
+ value.to_hash
271
+ else
272
+ value
273
+ end
274
+ end
275
+
276
+ end
277
+ end
@@ -0,0 +1,348 @@
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 'date'
18
+
19
+ module PureCloud
20
+ class EvaluationAggregateQueryPredicate
21
+ # Optional type, can usually be inferred
22
+ attr_accessor :type
23
+
24
+ # Left hand side for dimension predicates
25
+ attr_accessor :dimension
26
+
27
+ # Optional operator, default is matches
28
+ attr_accessor :operator
29
+
30
+ # Right hand side for dimension predicates
31
+ attr_accessor :value
32
+
33
+ # Right hand side for dimension predicates
34
+ attr_accessor :range
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+
40
+ :'type' => :'type',
41
+
42
+ :'dimension' => :'dimension',
43
+
44
+ :'operator' => :'operator',
45
+
46
+ :'value' => :'value',
47
+
48
+ :'range' => :'range'
49
+
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+
57
+ :'type' => :'String',
58
+
59
+ :'dimension' => :'String',
60
+
61
+ :'operator' => :'String',
62
+
63
+ :'value' => :'String',
64
+
65
+ :'range' => :'NumericRange'
66
+
67
+ }
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ return unless attributes.is_a?(Hash)
74
+
75
+ # convert string to symbol for hash key
76
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
77
+
78
+
79
+ if attributes.has_key?(:'type')
80
+
81
+
82
+ self.type = attributes[:'type']
83
+
84
+
85
+ end
86
+
87
+
88
+ if attributes.has_key?(:'dimension')
89
+
90
+
91
+ self.dimension = attributes[:'dimension']
92
+
93
+
94
+ end
95
+
96
+
97
+ if attributes.has_key?(:'operator')
98
+
99
+
100
+ self.operator = attributes[:'operator']
101
+
102
+
103
+ end
104
+
105
+
106
+ if attributes.has_key?(:'value')
107
+
108
+
109
+ self.value = attributes[:'value']
110
+
111
+
112
+ end
113
+
114
+
115
+ if attributes.has_key?(:'range')
116
+
117
+
118
+ self.range = attributes[:'range']
119
+
120
+
121
+ end
122
+
123
+
124
+ end
125
+
126
+ # Show invalid properties with the reasons. Usually used together with valid?
127
+ # @return Array for valid properies with the reasons
128
+ def list_invalid_properties
129
+ invalid_properties = Array.new
130
+
131
+
132
+ return invalid_properties
133
+ end
134
+
135
+ # Check to see if the all the properties in the model are valid
136
+ # @return true if the model is valid
137
+ def valid?
138
+
139
+
140
+
141
+ allowed_values = ["dimension", "property", "metric"]
142
+ if @type && !allowed_values.include?(@type)
143
+ return false
144
+ end
145
+
146
+
147
+
148
+
149
+
150
+ allowed_values = ["calibrationId", "contextId", "conversationId", "divisionId", "evaluationId", "evaluatorId", "formId", "queueId", "rescind", "userId"]
151
+ if @dimension && !allowed_values.include?(@dimension)
152
+ return false
153
+ end
154
+
155
+
156
+
157
+
158
+
159
+ allowed_values = ["matches", "exists", "notExists"]
160
+ if @operator && !allowed_values.include?(@operator)
161
+ return false
162
+ end
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ end
175
+
176
+
177
+
178
+ # Custom attribute writer method checking allowed values (enum).
179
+ # @param [Object] type Object to be assigned
180
+ def type=(type)
181
+ allowed_values = ["dimension", "property", "metric"]
182
+ if type && !allowed_values.include?(type)
183
+ fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
184
+ end
185
+ @type = type
186
+ end
187
+
188
+
189
+
190
+
191
+
192
+ # Custom attribute writer method checking allowed values (enum).
193
+ # @param [Object] dimension Object to be assigned
194
+ def dimension=(dimension)
195
+ allowed_values = ["calibrationId", "contextId", "conversationId", "divisionId", "evaluationId", "evaluatorId", "formId", "queueId", "rescind", "userId"]
196
+ if dimension && !allowed_values.include?(dimension)
197
+ fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
198
+ end
199
+ @dimension = dimension
200
+ end
201
+
202
+
203
+
204
+
205
+
206
+ # Custom attribute writer method checking allowed values (enum).
207
+ # @param [Object] operator Object to be assigned
208
+ def operator=(operator)
209
+ allowed_values = ["matches", "exists", "notExists"]
210
+ if operator && !allowed_values.include?(operator)
211
+ fail ArgumentError, "invalid value for 'operator', must be one of #{allowed_values}."
212
+ end
213
+ @operator = operator
214
+ end
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ # Checks equality by comparing each attribute.
230
+ # @param [Object] Object to be compared
231
+ def ==(o)
232
+ return true if self.equal?(o)
233
+ self.class == o.class &&
234
+ type == o.type &&
235
+ dimension == o.dimension &&
236
+ operator == o.operator &&
237
+ value == o.value &&
238
+ range == o.range
239
+ end
240
+
241
+ # @see the `==` method
242
+ # @param [Object] Object to be compared
243
+ def eql?(o)
244
+ self == o
245
+ end
246
+
247
+ # Calculates hash code according to all attributes.
248
+ # @return [Fixnum] Hash code
249
+ def hash
250
+ [type, dimension, operator, value, range].hash
251
+ end
252
+
253
+ # build the object from hash
254
+ def build_from_hash(attributes)
255
+ return nil unless attributes.is_a?(Hash)
256
+ self.class.swagger_types.each_pair do |key, type|
257
+ if type =~ /^Array<(.*)>/i
258
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
259
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
260
+ else
261
+ #TODO show warning in debug mode
262
+ end
263
+ elsif !attributes[self.class.attribute_map[key]].nil?
264
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
265
+ else
266
+ # data not found in attributes(hash), not an issue as the data can be optional
267
+ end
268
+ end
269
+
270
+ self
271
+ end
272
+
273
+ def _deserialize(type, value)
274
+ case type.to_sym
275
+ when :DateTime
276
+ DateTime.parse(value)
277
+ when :Date
278
+ Date.parse(value)
279
+ when :String
280
+ value.to_s
281
+ when :Integer
282
+ value.to_i
283
+ when :Float
284
+ value.to_f
285
+ when :BOOLEAN
286
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
287
+ true
288
+ else
289
+ false
290
+ end
291
+ when :Object
292
+ # generic object (usually a Hash), return directly
293
+ value
294
+ when /\AArray<(?<inner_type>.+)>\z/
295
+ inner_type = Regexp.last_match[:inner_type]
296
+ value.map { |v| _deserialize(inner_type, v) }
297
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
298
+ k_type = Regexp.last_match[:k_type]
299
+ v_type = Regexp.last_match[:v_type]
300
+ {}.tap do |hash|
301
+ value.each do |k, v|
302
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
303
+ end
304
+ end
305
+ else # model
306
+ _model = Object.const_get("PureCloud").const_get(type).new
307
+ _model.build_from_hash(value)
308
+ end
309
+ end
310
+
311
+ def to_s
312
+ to_hash.to_s
313
+ end
314
+
315
+ # to_body is an alias to to_body (backward compatibility))
316
+ def to_body
317
+ to_hash
318
+ end
319
+
320
+ # return the object in the form of hash
321
+ def to_hash
322
+ hash = {}
323
+ self.class.attribute_map.each_pair do |attr, param|
324
+ value = self.send(attr)
325
+ next if value.nil?
326
+ hash[param] = _to_hash(value)
327
+ end
328
+ hash
329
+ end
330
+
331
+ # Method to output non-array value in the form of hash
332
+ # For object, use to_hash. Otherwise, just return the value
333
+ def _to_hash(value)
334
+ if value.is_a?(Array)
335
+ value.compact.map{ |v| _to_hash(v) }
336
+ elsif value.is_a?(Hash)
337
+ {}.tap do |hash|
338
+ value.each { |k, v| hash[k] = _to_hash(v) }
339
+ end
340
+ elsif value.respond_to? :to_hash
341
+ value.to_hash
342
+ else
343
+ value
344
+ end
345
+ end
346
+
347
+ end
348
+ end