purecloudplatformclientv2 93.0.0 → 94.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (570) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AfterCallWork.md +15 -0
  5. data/docs/AgentActivityEntityListing.md +1 -1
  6. data/docs/AnalyticsApi.md +67 -1
  7. data/docs/AnalyticsEvaluation.md +1 -1
  8. data/docs/AnalyticsParticipant.md +1 -0
  9. data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
  10. data/docs/AttemptLimitsEntityListing.md +1 -1
  11. data/docs/AuthorizationApi.md +12 -12
  12. data/docs/AuthzDivisionEntityListing.md +1 -1
  13. data/docs/Biography.md +1 -0
  14. data/docs/CalibrationEntityListing.md +1 -1
  15. data/docs/Call.md +1 -0
  16. data/docs/CallBasic.md +1 -0
  17. data/docs/CallConversationEntityListing.md +1 -1
  18. data/docs/CallHistoryConversationEntityListing.md +1 -1
  19. data/docs/CallableTimeSetEntityListing.md +1 -1
  20. data/docs/Callback.md +1 -0
  21. data/docs/CallbackBasic.md +1 -0
  22. data/docs/CallbackConversationEntityListing.md +1 -1
  23. data/docs/CampaignDivisionViewListing.md +1 -1
  24. data/docs/CampaignEntityListing.md +1 -1
  25. data/docs/CampaignRuleEntityListing.md +1 -1
  26. data/docs/CampaignSequenceEntityListing.md +1 -1
  27. data/docs/CertificateAuthorityEntityListing.md +1 -1
  28. data/docs/CertificateDetails.md +1 -1
  29. data/docs/ChatConversationEntityListing.md +1 -1
  30. data/docs/ClientAppEntityListing.md +1 -1
  31. data/docs/CoachingAnnotationList.md +1 -1
  32. data/docs/CoachingApi.md +18 -18
  33. data/docs/CoachingAppointmentResponseList.md +1 -1
  34. data/docs/CoachingNotificationList.md +1 -1
  35. data/docs/CobrowseConversationEntityListing.md +1 -1
  36. data/docs/Cobrowsesession.md +1 -0
  37. data/docs/CommandStatusEntityListing.md +1 -1
  38. data/docs/CommonCampaignDivisionViewEntityListing.md +1 -1
  39. data/docs/CommonCampaignEntityListing.md +1 -1
  40. data/docs/ConsumedResourcesEntityListing.md +1 -1
  41. data/docs/ConsumingResourcesEntityListing.md +1 -1
  42. data/docs/Contact.md +1 -0
  43. data/docs/ContactListDivisionViewListing.md +1 -1
  44. data/docs/ContactListEntityListing.md +1 -1
  45. data/docs/ContactListFilterEntityListing.md +1 -1
  46. data/docs/ContactListing.md +1 -1
  47. data/docs/ConversationChat.md +1 -0
  48. data/docs/ConversationEntityListing.md +1 -1
  49. data/docs/ConversationEventTopicAfterCallWork.md +15 -0
  50. data/docs/ConversationEventTopicCall.md +1 -0
  51. data/docs/ConversationEventTopicCallback.md +1 -0
  52. data/docs/ConversationEventTopicChat.md +1 -0
  53. data/docs/ConversationEventTopicCobrowse.md +1 -0
  54. data/docs/ConversationEventTopicEmail.md +1 -0
  55. data/docs/ConversationEventTopicMessage.md +1 -0
  56. data/docs/ConversationEventTopicScreenshare.md +1 -0
  57. data/docs/ConversationEventTopicSocialExpression.md +1 -0
  58. data/docs/ConversationEventTopicVideo.md +1 -0
  59. data/docs/ConversationsApi.md +69 -0
  60. data/docs/CredentialInfoListing.md +1 -1
  61. data/docs/CredentialTypeListing.md +1 -1
  62. data/docs/CursorContactListing.md +16 -0
  63. data/docs/CursorNoteListing.md +16 -0
  64. data/docs/CursorOrganizationListing.md +16 -0
  65. data/docs/CursorRelationshipListing.md +16 -0
  66. data/docs/DIDEntityListing.md +1 -1
  67. data/docs/DIDPoolEntityListing.md +1 -1
  68. data/docs/DataTableRowEntityListing.md +1 -1
  69. data/docs/DataTablesDomainEntityListing.md +1 -1
  70. data/docs/DependencyObjectEntityListing.md +1 -1
  71. data/docs/DependencyTypeEntityListing.md +1 -1
  72. data/docs/DialerEventEntityListing.md +1 -1
  73. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  74. data/docs/DirectoryUserDevicesListing.md +1 -1
  75. data/docs/DivsPermittedEntityListing.md +1 -1
  76. data/docs/DncListDivisionViewListing.md +1 -1
  77. data/docs/DncListEntityListing.md +1 -1
  78. data/docs/DocumentAuditEntityListing.md +1 -1
  79. data/docs/DocumentEntityListing.md +1 -1
  80. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  81. data/docs/DomainEntityListing.md +1 -1
  82. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  83. data/docs/DomainEntityListingQueryResult.md +1 -1
  84. data/docs/DomainEntityListingSurveyForm.md +1 -1
  85. data/docs/EdgeEntityListing.md +1 -1
  86. data/docs/EdgeGroupEntityListing.md +1 -1
  87. data/docs/EdgeLineEntityListing.md +1 -1
  88. data/docs/Education.md +17 -0
  89. data/docs/Email.md +1 -0
  90. data/docs/EmailConversationEntityListing.md +1 -1
  91. data/docs/EmailMessageListing.md +1 -1
  92. data/docs/EmergencyGroupListing.md +1 -1
  93. data/docs/EncryptionKeyEntityListing.md +1 -1
  94. data/docs/EvaluationEntityListing.md +1 -1
  95. data/docs/EvaluationFormEntityListing.md +1 -1
  96. data/docs/EvaluatorActivityEntityListing.md +1 -1
  97. data/docs/ExtensionEntityListing.md +1 -1
  98. data/docs/ExtensionPoolEntityListing.md +1 -1
  99. data/docs/ExternalContactsApi.md +281 -5
  100. data/docs/ExternalOrganizationListing.md +1 -1
  101. data/docs/FacebookIntegrationEntityListing.md +1 -1
  102. data/docs/FacebookIntegrationUpdateRequest.md +14 -0
  103. data/docs/FaxDocumentEntityListing.md +1 -1
  104. data/docs/FlowDivisionViewEntityListing.md +1 -1
  105. data/docs/FlowEntityListing.md +1 -1
  106. data/docs/FlowOutcomeListing.md +1 -1
  107. data/docs/FlowVersionEntityListing.md +1 -1
  108. data/docs/GDPRRequestEntityListing.md +1 -1
  109. data/docs/GDPRSubjectEntityListing.md +1 -1
  110. data/docs/GreetingListing.md +1 -1
  111. data/docs/GroupEntityListing.md +1 -1
  112. data/docs/GroupProfileEntityListing.md +1 -1
  113. data/docs/HistoryListing.md +1 -1
  114. data/docs/IVREntityListing.md +1 -1
  115. data/docs/InboundDomainEntityListing.md +1 -1
  116. data/docs/InboundRouteEntityListing.md +1 -1
  117. data/docs/IntegrationEntityListing.md +1 -1
  118. data/docs/IntegrationEventEntityListing.md +1 -1
  119. data/docs/IntegrationTypeEntityListing.md +1 -1
  120. data/docs/IntegrationsApi.md +14 -14
  121. data/docs/InteractionStatsAlertContainer.md +1 -1
  122. data/docs/InteractionStatsRuleContainer.md +1 -1
  123. data/docs/JourneyAggregateDataContainer.md +14 -0
  124. data/docs/JourneyAggregateQueryClause.md +14 -0
  125. data/docs/JourneyAggregateQueryFilter.md +15 -0
  126. data/docs/JourneyAggregateQueryPredicate.md +17 -0
  127. data/docs/JourneyAggregateQueryResponse.md +13 -0
  128. data/docs/JourneyAggregationQuery.md +21 -0
  129. data/docs/JourneyAggregationView.md +16 -0
  130. data/docs/JourneyApi.md +78 -0
  131. data/docs/KeywordSetEntityListing.md +1 -1
  132. data/docs/LanguageEntityListing.md +1 -1
  133. data/docs/LexBotAliasEntityListing.md +1 -1
  134. data/docs/LexBotEntityListing.md +1 -1
  135. data/docs/LibraryEntityListing.md +1 -1
  136. data/docs/LineBaseEntityListing.md +1 -1
  137. data/docs/LineEntityListing.md +1 -1
  138. data/docs/LineIntegrationEntityListing.md +1 -1
  139. data/docs/LocationEntityListing.md +1 -1
  140. data/docs/LogicalInterfaceEntityListing.md +1 -1
  141. data/docs/ManagementUnitListing.md +1 -1
  142. data/docs/Message.md +1 -0
  143. data/docs/MessageConversationEntityListing.md +1 -1
  144. data/docs/MessagingCampaignDivisionViewEntityListing.md +1 -1
  145. data/docs/MessagingCampaignEntityListing.md +1 -1
  146. data/docs/MessagingIntegrationEntityListing.md +1 -1
  147. data/docs/MessagingStickerEntityListing.md +1 -1
  148. data/docs/NluDomainListing.md +1 -1
  149. data/docs/NluDomainVersionListing.md +1 -1
  150. data/docs/NluFeedbackListing.md +1 -1
  151. data/docs/NoteListing.md +1 -1
  152. data/docs/OAuthClient.md +1 -0
  153. data/docs/OAuthClientEntityListing.md +1 -1
  154. data/docs/OAuthClientListing.md +1 -0
  155. data/docs/OAuthClientRequest.md +1 -0
  156. data/docs/OAuthProviderEntityListing.md +1 -1
  157. data/docs/ObjectsApi.md +4 -4
  158. data/docs/OrgOAuthClient.md +1 -0
  159. data/docs/OrganizationPresenceEntityListing.md +1 -1
  160. data/docs/OrganizationRoleEntityListing.md +1 -1
  161. data/docs/OrphanRecordingListing.md +1 -1
  162. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  163. data/docs/OutboundRouteEntityListing.md +1 -1
  164. data/docs/PermissionCollectionEntityListing.md +1 -1
  165. data/docs/PhoneBaseEntityListing.md +1 -1
  166. data/docs/PhoneCapabilities.md +1 -0
  167. data/docs/PhoneEntityListing.md +1 -1
  168. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  169. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  170. data/docs/PolicyEntityListing.md +1 -1
  171. data/docs/PresenceApi.md +206 -6
  172. data/docs/PresenceExpand.md +17 -0
  173. data/docs/PromptAssetEntityListing.md +1 -1
  174. data/docs/PromptEntityListing.md +1 -1
  175. data/docs/QualityApi.md +18 -18
  176. data/docs/QualityAuditPage.md +1 -1
  177. data/docs/QueueConversationEventTopicAfterCallWork.md +15 -0
  178. data/docs/QueueConversationEventTopicCall.md +1 -0
  179. data/docs/QueueConversationEventTopicCallback.md +1 -0
  180. data/docs/QueueConversationEventTopicChat.md +1 -0
  181. data/docs/QueueConversationEventTopicCobrowse.md +1 -0
  182. data/docs/QueueConversationEventTopicEmail.md +1 -0
  183. data/docs/QueueConversationEventTopicMessage.md +1 -0
  184. data/docs/QueueConversationEventTopicScreenshare.md +1 -0
  185. data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
  186. data/docs/QueueConversationEventTopicVideo.md +1 -0
  187. data/docs/QueueConversationSocialExpressionEventTopicAfterCallWork.md +15 -0
  188. data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
  189. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
  190. data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
  191. data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
  192. data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
  193. data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
  194. data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
  195. data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
  196. data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
  197. data/docs/QueueConversationVideoEventTopicAfterCallWork.md +15 -0
  198. data/docs/QueueConversationVideoEventTopicCall.md +1 -0
  199. data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
  200. data/docs/QueueConversationVideoEventTopicChat.md +1 -0
  201. data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
  202. data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
  203. data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
  204. data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
  205. data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
  206. data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
  207. data/docs/QueueEntityListing.md +1 -1
  208. data/docs/QueueMemberEntityListing.md +1 -1
  209. data/docs/RecipientListing.md +1 -1
  210. data/docs/RecordingApi.md +4 -4
  211. data/docs/RecordingJobEntityListing.md +1 -1
  212. data/docs/RelationshipListing.md +1 -1
  213. data/docs/ReportMetaDataEntityListing.md +1 -1
  214. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  215. data/docs/ReportScheduleEntityListing.md +1 -1
  216. data/docs/ReportingExportJobListing.md +1 -1
  217. data/docs/ReportingExportMetadataJobListing.md +1 -1
  218. data/docs/ResponseEntityList.md +1 -1
  219. data/docs/ResponseEntityListing.md +1 -1
  220. data/docs/ResponseSetEntityListing.md +1 -1
  221. data/docs/RuleSetEntityListing.md +1 -1
  222. data/docs/SCIMApi.md +108 -108
  223. data/docs/ScheduleEntityListing.md +1 -1
  224. data/docs/ScheduleGroupEntityListing.md +1 -1
  225. data/docs/SchemaCategoryEntityListing.md +1 -1
  226. data/docs/SchemaReferenceEntityListing.md +1 -1
  227. data/docs/ScimConfigResourceType.md +0 -1
  228. data/docs/ScimGenesysUserExternalId.md +14 -0
  229. data/docs/ScimServiceProviderConfig.md +0 -1
  230. data/docs/ScimUserExtensions.md +1 -0
  231. data/docs/ScimV2Group.md +0 -1
  232. data/docs/ScimV2SchemaDefinition.md +0 -1
  233. data/docs/ScimV2User.md +0 -1
  234. data/docs/ScreenRecordingSessionListing.md +1 -1
  235. data/docs/Screenshare.md +1 -0
  236. data/docs/ScriptEntityListing.md +1 -1
  237. data/docs/SearchApi.md +3 -1
  238. data/docs/SecurityProfileEntityListing.md +1 -1
  239. data/docs/ShareEntityListing.md +1 -1
  240. data/docs/SiteEntityListing.md +1 -1
  241. data/docs/SkillEntityListing.md +1 -1
  242. data/docs/SmsAddressEntityListing.md +1 -1
  243. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  244. data/docs/SocialExpression.md +1 -0
  245. data/docs/StationEntityListing.md +1 -1
  246. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  247. data/docs/SurveyFormEntityListing.md +1 -1
  248. data/docs/SystemPromptAssetEntityListing.md +1 -1
  249. data/docs/SystemPromptEntityListing.md +1 -1
  250. data/docs/TagValueEntityListing.md +1 -1
  251. data/docs/TelephonyProvidersEdgeApi.md +6 -2
  252. data/docs/TextMessageListing.md +1 -1
  253. data/docs/TimeZoneEntityListing.md +1 -1
  254. data/docs/TrunkBaseEntityListing.md +1 -1
  255. data/docs/TrunkEntityListing.md +1 -1
  256. data/docs/TrunkMetabaseEntityListing.md +1 -1
  257. data/docs/TrustEntityListing.md +1 -1
  258. data/docs/TrustUserEntityListing.md +1 -1
  259. data/docs/TrustorEntityListing.md +1 -1
  260. data/docs/TtsEngineEntityListing.md +1 -1
  261. data/docs/TtsVoiceEntityListing.md +1 -1
  262. data/docs/TwitterIntegrationEntityListing.md +1 -1
  263. data/docs/UpdateCoachingAppointmentRequest.md +1 -0
  264. data/docs/UserActionCategoryEntityListing.md +1 -1
  265. data/docs/UserAppEntityListing.md +1 -1
  266. data/docs/UserEntityListing.md +1 -1
  267. data/docs/UserLanguageEntityListing.md +1 -1
  268. data/docs/UserProfileEntityListing.md +1 -1
  269. data/docs/UserQueueEntityListing.md +1 -1
  270. data/docs/UserRecordingEntityListing.md +1 -1
  271. data/docs/UserSearchRequest.md +1 -0
  272. data/docs/UserSkillEntityListing.md +1 -1
  273. data/docs/UsersApi.md +16 -4
  274. data/docs/Video.md +1 -0
  275. data/docs/VoicemailMessageEntityListing.md +1 -1
  276. data/docs/WebChatMemberInfoEntityList.md +1 -1
  277. data/docs/WfmHistoricalDataUploadPurgeRequestStatusTopicHistoricalDataUploadPurgeRequestUpdate.md +13 -0
  278. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  279. data/docs/WorkspaceEntityListing.md +1 -1
  280. data/docs/WorkspaceMemberEntityListing.md +1 -1
  281. data/docs/WrapupCodeEntityListing.md +1 -1
  282. data/lib/purecloudplatformclientv2.rb +22 -1
  283. data/lib/purecloudplatformclientv2/api/analytics_api.rb +67 -2
  284. data/lib/purecloudplatformclientv2/api/authorization_api.rb +12 -12
  285. data/lib/purecloudplatformclientv2/api/conversations_api.rb +75 -0
  286. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +301 -9
  287. data/lib/purecloudplatformclientv2/api/integrations_api.rb +14 -14
  288. data/lib/purecloudplatformclientv2/api/journey_api.rb +92 -0
  289. data/lib/purecloudplatformclientv2/api/objects_api.rb +4 -4
  290. data/lib/purecloudplatformclientv2/api/presence_api.rb +213 -8
  291. data/lib/purecloudplatformclientv2/api/quality_api.rb +18 -18
  292. data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
  293. data/lib/purecloudplatformclientv2/api/scim_api.rb +110 -110
  294. data/lib/purecloudplatformclientv2/api/search_api.rb +13 -0
  295. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +18 -0
  296. data/lib/purecloudplatformclientv2/api/users_api.rb +78 -0
  297. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  298. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  299. data/lib/purecloudplatformclientv2/models/after_call_work.rb +267 -0
  300. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  302. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +29 -1
  303. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +29 -1
  304. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  306. data/lib/purecloudplatformclientv2/models/biography.rb +32 -4
  307. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  308. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  309. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  310. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  312. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  313. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  314. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  315. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  316. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  318. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  319. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  320. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  321. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  322. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  323. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  324. data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +12 -12
  325. data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +12 -12
  326. data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +12 -12
  327. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  328. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  329. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  330. data/lib/purecloudplatformclientv2/models/common_campaign_division_view_entity_listing.rb +12 -12
  331. data/lib/purecloudplatformclientv2/models/common_campaign_entity_listing.rb +12 -12
  332. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  333. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  334. data/lib/purecloudplatformclientv2/models/contact.rb +29 -4
  335. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  336. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  338. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  339. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  340. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
  341. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  342. data/lib/purecloudplatformclientv2/models/conversation_event_topic_after_call_work.rb +265 -0
  343. data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
  344. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
  345. data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
  346. data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
  347. data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
  348. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
  349. data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
  350. data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
  351. data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
  352. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  354. data/lib/purecloudplatformclientv2/models/cursor_contact_listing.rb +278 -0
  355. data/lib/purecloudplatformclientv2/models/cursor_note_listing.rb +278 -0
  356. data/lib/purecloudplatformclientv2/models/cursor_organization_listing.rb +278 -0
  357. data/lib/purecloudplatformclientv2/models/cursor_relationship_listing.rb +278 -0
  358. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  361. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  362. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  363. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  364. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  365. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  366. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  367. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  369. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  370. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  371. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  372. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  373. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  375. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  376. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  377. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  378. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  379. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  380. data/lib/purecloudplatformclientv2/models/education.rb +304 -0
  381. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  382. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  383. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  384. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  385. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  386. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  387. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  388. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  389. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  390. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  391. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  392. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  393. data/lib/purecloudplatformclientv2/models/facebook_integration_update_request.rb +228 -0
  394. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  396. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  397. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  398. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  399. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/history_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  407. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  409. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  412. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  413. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  414. data/lib/purecloudplatformclientv2/models/journey_aggregate_data_container.rb +231 -0
  415. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_clause.rb +254 -0
  416. data/lib/purecloudplatformclientv2/models/{scim_metadata.rb → journey_aggregate_query_filter.rb} +39 -57
  417. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +348 -0
  418. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_response.rb +203 -0
  419. data/lib/purecloudplatformclientv2/models/journey_aggregation_query.rb +435 -0
  420. data/lib/purecloudplatformclientv2/models/journey_aggregation_view.rb +323 -0
  421. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  422. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  423. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  424. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  425. data/lib/purecloudplatformclientv2/models/library.rb +2 -2
  426. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  427. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  428. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  431. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  432. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  434. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  435. data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view_entity_listing.rb +12 -12
  436. data/lib/purecloudplatformclientv2/models/messaging_campaign_entity_listing.rb +12 -12
  437. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  438. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  439. data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +12 -12
  440. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +12 -12
  441. data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +12 -12
  442. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  443. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +41 -1
  444. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  445. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +41 -1
  446. data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +44 -4
  447. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  448. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +41 -1
  449. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  450. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  451. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  452. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  453. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  454. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  455. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  456. data/lib/purecloudplatformclientv2/models/phone_capabilities.rb +29 -4
  457. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  458. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  459. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  460. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/presence_expand.rb +309 -0
  462. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  463. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  464. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_after_call_work.rb +265 -0
  466. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
  467. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
  468. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
  469. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
  470. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
  471. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
  472. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
  473. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
  474. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
  475. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_after_call_work.rb +265 -0
  476. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
  477. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
  478. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
  479. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
  480. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
  481. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
  482. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
  483. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
  484. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
  485. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_after_call_work.rb +265 -0
  486. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
  487. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
  488. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
  489. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
  490. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
  491. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
  492. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
  493. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
  494. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
  495. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  496. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  497. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  498. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  499. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  500. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  501. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  502. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  503. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  504. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +12 -12
  505. data/lib/purecloudplatformclientv2/models/response.rb +2 -2
  506. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  507. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  508. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  509. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  510. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  511. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  512. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  513. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  514. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +4 -30
  515. data/lib/purecloudplatformclientv2/models/scim_genesys_user_external_id.rb +229 -0
  516. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
  517. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +4 -30
  518. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +33 -5
  519. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +4 -30
  520. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +4 -30
  521. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +4 -30
  522. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  523. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  524. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  525. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  526. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  527. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  528. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  529. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  530. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  531. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  532. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  533. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  534. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  535. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  536. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  537. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  538. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  539. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  540. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  541. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  542. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  543. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  544. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  545. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  546. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  547. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  548. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  549. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  550. data/lib/purecloudplatformclientv2/models/update_coaching_appointment_request.rb +44 -4
  551. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  552. data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +12 -12
  553. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  554. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  555. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  556. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  558. data/lib/purecloudplatformclientv2/models/user_search_request.rb +44 -4
  559. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  560. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  561. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  562. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  563. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_purge_request_status_topic_historical_data_upload_purge_request_update.rb +215 -0
  564. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  565. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  566. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  567. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  568. data/lib/purecloudplatformclientv2/version.rb +1 -1
  569. metadata +46 -4
  570. data/docs/ScimMetadata.md +0 -16
@@ -17,31 +17,25 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Defines the SCIM metadata.
21
- class ScimMetadata
22
- # The type of SCIM resource.
23
- attr_accessor :resource_type
20
+ class JourneyAggregateQueryFilter
21
+ # Boolean operation to apply to the provided predicates and clauses
22
+ attr_accessor :type
24
23
 
25
- # The last time that the resource was modified. Date time is represented as an ISO-8601 string, for example, yyyy-MM-ddTHH:mm:ss.SSSZ.
26
- attr_accessor :last_modified
24
+ # Boolean 'and/or' logic with up to two-levels of nesting
25
+ attr_accessor :clauses
27
26
 
28
- # The URI of the resource.
29
- attr_accessor :location
30
-
31
- # The version of the resource. Matches the ETag HTTP response header.
32
- attr_accessor :version
27
+ # Like a three-word sentence: (attribute-name) (operator) (target-value).
28
+ attr_accessor :predicates
33
29
 
34
30
  # Attribute mapping from ruby-style variable name to JSON key.
35
31
  def self.attribute_map
36
32
  {
37
33
 
38
- :'resource_type' => :'resourceType',
39
-
40
- :'last_modified' => :'lastModified',
34
+ :'type' => :'type',
41
35
 
42
- :'location' => :'location',
36
+ :'clauses' => :'clauses',
43
37
 
44
- :'version' => :'version'
38
+ :'predicates' => :'predicates'
45
39
 
46
40
  }
47
41
  end
@@ -50,13 +44,11 @@ module PureCloud
50
44
  def self.swagger_types
51
45
  {
52
46
 
53
- :'resource_type' => :'String',
54
-
55
- :'last_modified' => :'DateTime',
47
+ :'type' => :'String',
56
48
 
57
- :'location' => :'String',
49
+ :'clauses' => :'Array<JourneyAggregateQueryClause>',
58
50
 
59
- :'version' => :'String'
51
+ :'predicates' => :'Array<JourneyAggregateQueryPredicate>'
60
52
 
61
53
  }
62
54
  end
@@ -70,37 +62,32 @@ module PureCloud
70
62
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
71
63
 
72
64
 
73
- if attributes.has_key?(:'resourceType')
74
-
75
-
76
- self.resource_type = attributes[:'resourceType']
77
-
78
-
79
- end
80
-
81
-
82
- if attributes.has_key?(:'lastModified')
65
+ if attributes.has_key?(:'type')
83
66
 
84
67
 
85
- self.last_modified = attributes[:'lastModified']
68
+ self.type = attributes[:'type']
86
69
 
87
70
 
88
71
  end
89
72
 
90
73
 
91
- if attributes.has_key?(:'location')
74
+ if attributes.has_key?(:'clauses')
92
75
 
76
+ if (value = attributes[:'clauses']).is_a?(Array)
77
+ self.clauses = value
78
+ end
93
79
 
94
- self.location = attributes[:'location']
95
80
 
96
81
 
97
82
  end
98
83
 
99
84
 
100
- if attributes.has_key?(:'version')
85
+ if attributes.has_key?(:'predicates')
101
86
 
87
+ if (value = attributes[:'predicates']).is_a?(Array)
88
+ self.predicates = value
89
+ end
102
90
 
103
- self.version = attributes[:'version']
104
91
 
105
92
 
106
93
  end
@@ -122,15 +109,16 @@ module PureCloud
122
109
  def valid?
123
110
 
124
111
 
125
-
126
- allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType", "Schema"]
127
- if @resource_type && !allowed_values.include?(@resource_type)
112
+ if @type.nil?
128
113
  return false
129
114
  end
115
+
130
116
 
131
117
 
132
-
133
-
118
+ allowed_values = ["and", "or"]
119
+ if @type && !allowed_values.include?(@type)
120
+ return false
121
+ end
134
122
 
135
123
 
136
124
 
@@ -147,13 +135,13 @@ module PureCloud
147
135
 
148
136
 
149
137
  # Custom attribute writer method checking allowed values (enum).
150
- # @param [Object] resource_type Object to be assigned
151
- def resource_type=(resource_type)
152
- allowed_values = ["User", "Group", "ServiceProviderConfig", "ResourceType", "Schema"]
153
- if resource_type && !allowed_values.include?(resource_type)
154
- fail ArgumentError, "invalid value for 'resource_type', must be one of #{allowed_values}."
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}."
155
143
  end
156
- @resource_type = resource_type
144
+ @type = type
157
145
  end
158
146
 
159
147
 
@@ -169,20 +157,14 @@ module PureCloud
169
157
 
170
158
 
171
159
 
172
-
173
-
174
-
175
-
176
-
177
160
  # Checks equality by comparing each attribute.
178
161
  # @param [Object] Object to be compared
179
162
  def ==(o)
180
163
  return true if self.equal?(o)
181
164
  self.class == o.class &&
182
- resource_type == o.resource_type &&
183
- last_modified == o.last_modified &&
184
- location == o.location &&
185
- version == o.version
165
+ type == o.type &&
166
+ clauses == o.clauses &&
167
+ predicates == o.predicates
186
168
  end
187
169
 
188
170
  # @see the `==` method
@@ -194,7 +176,7 @@ module PureCloud
194
176
  # Calculates hash code according to all attributes.
195
177
  # @return [Fixnum] Hash code
196
178
  def hash
197
- [resource_type, last_modified, location, version].hash
179
+ [type, clauses, predicates].hash
198
180
  end
199
181
 
200
182
  # build the object from hash
@@ -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 JourneyAggregateQueryPredicate
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 = ["journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyActionMediaType", "journeyActionTemplateId", "journeyCustomerId", "journeyCustomerIdType", "journeyDeviceCategory", "journeyDeviceType", "journeyOutcomeId", "journeySegmentId", "journeySessionType", "journeySegmentScope"]
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 = ["journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyActionMediaType", "journeyActionTemplateId", "journeyCustomerId", "journeyCustomerIdType", "journeyDeviceCategory", "journeyDeviceType", "journeyOutcomeId", "journeySegmentId", "journeySessionType", "journeySegmentScope"]
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