purecloudplatformclientv2 62.0.0 → 63.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (595) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ADFS.md +1 -1
  4. data/docs/ActionEntityListing.md +1 -1
  5. data/docs/AgentActivityEntityListing.md +1 -1
  6. data/docs/AnalyticsApi.md +32 -32
  7. data/docs/AnalyticsParticipant.md +1 -0
  8. data/docs/ArchitectApi.md +69 -0
  9. data/docs/ArrayNode.md +5 -5
  10. data/docs/AsyncConversationQuery.md +5 -5
  11. data/docs/AttemptLimitsEntityListing.md +1 -1
  12. data/docs/AuthorizationApi.md +7 -7
  13. data/docs/AuthzDivisionEntityListing.md +1 -1
  14. data/docs/CalibrationEntityListing.md +1 -1
  15. data/docs/CallConversationEntityListing.md +1 -1
  16. data/docs/CallHistoryConversationEntityListing.md +1 -1
  17. data/docs/CallableTimeSetEntityListing.md +1 -1
  18. data/docs/CallbackConversationEntityListing.md +1 -1
  19. data/docs/CampaignDivisionViewListing.md +1 -1
  20. data/docs/CampaignEntityListing.md +1 -1
  21. data/docs/CampaignRuleEntityListing.md +1 -1
  22. data/docs/CampaignSequenceEntityListing.md +1 -1
  23. data/docs/CertificateAuthorityEntityListing.md +1 -1
  24. data/docs/ChatConversationEntityListing.md +1 -1
  25. data/docs/ClientAppEntityListing.md +1 -1
  26. data/docs/CobrowseConversationEntityListing.md +1 -1
  27. data/docs/CommandStatusEntityListing.md +1 -1
  28. data/docs/ConsumedResourcesEntityListing.md +1 -1
  29. data/docs/ConsumingResourcesEntityListing.md +1 -1
  30. data/docs/ContactListDivisionViewListing.md +1 -1
  31. data/docs/ContactListEntityListing.md +1 -1
  32. data/docs/ContactListFilterEntityListing.md +1 -1
  33. data/docs/ContactListing.md +1 -1
  34. data/docs/ConversationAggregateDataContainer.md +14 -0
  35. data/docs/ConversationAggregateQueryClause.md +14 -0
  36. data/docs/ConversationAggregateQueryFilter.md +15 -0
  37. data/docs/ConversationAggregateQueryPredicate.md +17 -0
  38. data/docs/ConversationAggregateQueryResponse.md +13 -0
  39. data/docs/ConversationAggregationQuery.md +20 -0
  40. data/docs/ConversationAggregationView.md +16 -0
  41. data/docs/ConversationDetailQueryClause.md +14 -0
  42. data/docs/ConversationDetailQueryFilter.md +15 -0
  43. data/docs/ConversationDetailQueryPredicate.md +18 -0
  44. data/docs/ConversationEntityListing.md +1 -1
  45. data/docs/ConversationQuery.md +5 -5
  46. data/docs/ConversationsApi.md +286 -4
  47. data/docs/CreateQueueMediaAssociationRequest.md +1 -0
  48. data/docs/CredentialInfoListing.md +1 -1
  49. data/docs/CredentialTypeListing.md +1 -1
  50. data/docs/CustomerInteractionCenter.md +1 -1
  51. data/docs/DIDEntityListing.md +1 -1
  52. data/docs/DIDPoolEntityListing.md +1 -1
  53. data/docs/DataSchema.md +1 -1
  54. data/docs/DataTableImportJob.md +24 -0
  55. data/docs/DataTableRowEntityListing.md +1 -1
  56. data/docs/DataTablesDomainEntityListing.md +1 -1
  57. data/docs/DependencyObjectEntityListing.md +1 -1
  58. data/docs/DependencyTypeEntityListing.md +1 -1
  59. data/docs/DialerEventEntityListing.md +1 -1
  60. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  61. data/docs/DirectoryUserDevicesListing.md +1 -1
  62. data/docs/DncListDivisionViewListing.md +1 -1
  63. data/docs/DncListEntityListing.md +1 -1
  64. data/docs/DocumentAuditEntityListing.md +1 -1
  65. data/docs/DocumentEntityListing.md +1 -1
  66. data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
  67. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  68. data/docs/DomainEntityListing.md +1 -1
  69. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  70. data/docs/DomainEntityListingQueryResult.md +1 -1
  71. data/docs/DomainEntityListingSurveyForm.md +1 -1
  72. data/docs/DomainOrganizationRole.md +1 -1
  73. data/docs/DomainOrganizationRoleCreate.md +1 -1
  74. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  75. data/docs/EdgeEntityListing.md +1 -1
  76. data/docs/EdgeGroupEntityListing.md +1 -1
  77. data/docs/EdgeLineEntityListing.md +1 -1
  78. data/docs/EmailConversationEntityListing.md +1 -1
  79. data/docs/EmailMessageListing.md +1 -1
  80. data/docs/EmergencyGroupListing.md +1 -1
  81. data/docs/EncryptionKeyEntityListing.md +1 -1
  82. data/docs/EvaluationAggregateDataContainer.md +14 -0
  83. data/docs/EvaluationAggregateQueryClause.md +14 -0
  84. data/docs/EvaluationAggregateQueryFilter.md +15 -0
  85. data/docs/EvaluationAggregateQueryPredicate.md +17 -0
  86. data/docs/EvaluationAggregateQueryResponse.md +13 -0
  87. data/docs/EvaluationAggregationQuery.md +20 -0
  88. data/docs/EvaluationAggregationView.md +16 -0
  89. data/docs/EvaluationDetailQueryClause.md +14 -0
  90. data/docs/EvaluationDetailQueryFilter.md +15 -0
  91. data/docs/EvaluationDetailQueryPredicate.md +18 -0
  92. data/docs/EvaluationEntityListing.md +1 -1
  93. data/docs/EvaluationFormEntityListing.md +1 -1
  94. data/docs/EvaluatorActivityEntityListing.md +1 -1
  95. data/docs/ExtensionEntityListing.md +1 -1
  96. data/docs/ExtensionPoolEntityListing.md +1 -1
  97. data/docs/ExternalOrganizationListing.md +1 -1
  98. data/docs/FacebookIntegrationEntityListing.md +1 -1
  99. data/docs/FaxDocumentEntityListing.md +1 -1
  100. data/docs/{AggregateDataContainer.md → FlowAggregateDataContainer.md} +2 -2
  101. data/docs/FlowAggregateQueryClause.md +14 -0
  102. data/docs/FlowAggregateQueryFilter.md +15 -0
  103. data/docs/FlowAggregateQueryPredicate.md +17 -0
  104. data/docs/FlowAggregateQueryResponse.md +13 -0
  105. data/docs/{AggregationQuery.md → FlowAggregationQuery.md} +4 -4
  106. data/docs/{AnalyticsView.md → FlowAggregationView.md} +3 -3
  107. data/docs/FlowDivisionViewEntityListing.md +1 -1
  108. data/docs/FlowEntityListing.md +1 -1
  109. data/docs/{ObservationDataContainer.md → FlowObservationDataContainer.md} +2 -2
  110. data/docs/{ObservationQuery.md → FlowObservationQuery.md} +3 -3
  111. data/docs/FlowObservationQueryClause.md +14 -0
  112. data/docs/FlowObservationQueryFilter.md +15 -0
  113. data/docs/FlowObservationQueryPredicate.md +17 -0
  114. data/docs/FlowObservationQueryResponse.md +13 -0
  115. data/docs/FlowOutcomeListing.md +1 -1
  116. data/docs/FlowVersionEntityListing.md +1 -1
  117. data/docs/FlowsApi.md +8 -8
  118. data/docs/GDPRRequestEntityListing.md +1 -1
  119. data/docs/GDPRSubjectEntityListing.md +1 -1
  120. data/docs/GSuite.md +1 -1
  121. data/docs/GreetingListing.md +1 -1
  122. data/docs/GroupEntityListing.md +1 -1
  123. data/docs/GroupProfileEntityListing.md +1 -1
  124. data/docs/IVREntityListing.md +1 -1
  125. data/docs/IdentityNow.md +1 -1
  126. data/docs/InboundDomainEntityListing.md +1 -1
  127. data/docs/InboundRouteEntityListing.md +1 -1
  128. data/docs/IntegrationEntityListing.md +1 -1
  129. data/docs/IntegrationEventEntityListing.md +1 -1
  130. data/docs/IntegrationTypeEntityListing.md +1 -1
  131. data/docs/InteractionStatsAlertContainer.md +1 -1
  132. data/docs/InteractionStatsRuleContainer.md +1 -1
  133. data/docs/JsonNode.md +5 -5
  134. data/docs/KeywordSetEntityListing.md +1 -1
  135. data/docs/LanguageEntityListing.md +1 -1
  136. data/docs/LexBotAliasEntityListing.md +1 -1
  137. data/docs/LexBotEntityListing.md +1 -1
  138. data/docs/LibraryEntityListing.md +1 -1
  139. data/docs/LineBaseEntityListing.md +1 -1
  140. data/docs/LineEntityListing.md +1 -1
  141. data/docs/LineIntegrationEntityListing.md +1 -1
  142. data/docs/LocationEntityListing.md +1 -1
  143. data/docs/LocationSearchRequest.md +1 -0
  144. data/docs/LocationsApi.md +2 -2
  145. data/docs/LogicalInterfaceEntityListing.md +1 -1
  146. data/docs/ManagementUnitListing.md +1 -1
  147. data/docs/MediaEndpointStatDetailQueryClause.md +14 -0
  148. data/docs/MediaEndpointStatDetailQueryFilter.md +15 -0
  149. data/docs/MediaEndpointStatDetailQueryPredicate.md +17 -0
  150. data/docs/MessageConversationEntityListing.md +1 -1
  151. data/docs/MessagingIntegrationEntityListing.md +1 -1
  152. data/docs/MessagingStickerEntityListing.md +1 -1
  153. data/docs/NoteListing.md +1 -1
  154. data/docs/OAuthClientEntityListing.md +1 -1
  155. data/docs/OAuthProviderEntityListing.md +1 -1
  156. data/docs/ObjectsApi.md +1 -1
  157. data/docs/Okta.md +1 -1
  158. data/docs/OneLogin.md +1 -1
  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/PhoneEntityListing.md +1 -1
  167. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  168. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  169. data/docs/PingIdentity.md +1 -1
  170. data/docs/PolicyEntityListing.md +1 -1
  171. data/docs/PresenceDetailQueryClause.md +14 -0
  172. data/docs/PresenceDetailQueryFilter.md +15 -0
  173. data/docs/PresenceDetailQueryPredicate.md +17 -0
  174. data/docs/PromptAssetEntityListing.md +1 -1
  175. data/docs/PromptEntityListing.md +1 -1
  176. data/docs/PureEngage.md +1 -1
  177. data/docs/QualityApi.md +8 -8
  178. data/docs/QualityAuditPage.md +1 -1
  179. data/docs/QueueEntityListing.md +1 -1
  180. data/docs/QueueMediaAssociation.md +1 -1
  181. data/docs/QueueMemberEntityListing.md +1 -1
  182. data/docs/QueueObservationDataContainer.md +14 -0
  183. data/docs/QueueObservationQuery.md +15 -0
  184. data/docs/QueueObservationQueryClause.md +14 -0
  185. data/docs/QueueObservationQueryFilter.md +15 -0
  186. data/docs/QueueObservationQueryPredicate.md +17 -0
  187. data/docs/{QualifierMappingObservationQueryResponse.md → QueueObservationQueryResponse.md} +3 -3
  188. data/docs/RecipientListing.md +1 -1
  189. data/docs/RecordingJob.md +1 -0
  190. data/docs/RecordingJobEntityListing.md +1 -1
  191. data/docs/RecordingJobsQuery.md +1 -1
  192. data/docs/RelationshipListing.md +1 -1
  193. data/docs/ReportMetaDataEntityListing.md +1 -1
  194. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  195. data/docs/ReportScheduleEntityListing.md +1 -1
  196. data/docs/ReportingExportJobListing.md +1 -1
  197. data/docs/ResponseEntityList.md +1 -1
  198. data/docs/ResponseEntityListing.md +1 -1
  199. data/docs/ResponseSetEntityListing.md +1 -1
  200. data/docs/RoutingApi.md +4 -4
  201. data/docs/RoutingStatusDetailQueryClause.md +14 -0
  202. data/docs/RoutingStatusDetailQueryFilter.md +15 -0
  203. data/docs/RoutingStatusDetailQueryPredicate.md +17 -0
  204. data/docs/RuleSetEntityListing.md +1 -1
  205. data/docs/SCIMApi.md +278 -0
  206. data/docs/Salesforce.md +1 -1
  207. data/docs/ScheduleEntityListing.md +1 -1
  208. data/docs/ScheduleGroupEntityListing.md +1 -1
  209. data/docs/SchemaCategoryEntityListing.md +1 -1
  210. data/docs/SchemaReferenceEntityListing.md +1 -1
  211. data/docs/ScimConfigResourceType.md +20 -0
  212. data/docs/ScimConfigResourceTypeSchemaExtension.md +14 -0
  213. data/docs/ScimConfigResourceTypesListResponse.md +17 -0
  214. data/docs/ScimError.md +16 -0
  215. data/docs/ScimServiceProviderConfig.md +9 -1
  216. data/docs/ScimServiceProviderConfigAuthenticationScheme.md +18 -0
  217. data/docs/ScimServiceProviderConfigBulkFeature.md +15 -0
  218. data/docs/ScimServiceProviderConfigFilterFeature.md +14 -0
  219. data/docs/ScimServiceProviderConfigSimpleFeature.md +13 -0
  220. data/docs/ScreenRecordingSessionListing.md +1 -1
  221. data/docs/ScriptEntityListing.md +1 -1
  222. data/docs/SearchApi.md +4 -4
  223. data/docs/SecurityProfileEntityListing.md +1 -1
  224. data/docs/SegmentDetailQueryClause.md +14 -0
  225. data/docs/SegmentDetailQueryFilter.md +15 -0
  226. data/docs/{AnalyticsQueryPredicate.md → SegmentDetailQueryPredicate.md} +4 -4
  227. data/docs/ShareEntityListing.md +1 -1
  228. data/docs/SiteEntityListing.md +1 -1
  229. data/docs/SkillEntityListing.md +1 -1
  230. data/docs/SmsAddressEntityListing.md +1 -1
  231. data/docs/SmsPhoneNumber.md +1 -0
  232. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  233. data/docs/StationEntityListing.md +1 -1
  234. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  235. data/docs/SuggestApi.md +2 -2
  236. data/docs/SurveyAggregateDataContainer.md +14 -0
  237. data/docs/SurveyAggregateQueryClause.md +14 -0
  238. data/docs/SurveyAggregateQueryFilter.md +15 -0
  239. data/docs/SurveyAggregateQueryPredicate.md +17 -0
  240. data/docs/SurveyAggregateQueryResponse.md +13 -0
  241. data/docs/SurveyAggregationQuery.md +20 -0
  242. data/docs/SurveyAggregationView.md +16 -0
  243. data/docs/SurveyDetailQueryClause.md +14 -0
  244. data/docs/SurveyDetailQueryFilter.md +15 -0
  245. data/docs/SurveyDetailQueryPredicate.md +18 -0
  246. data/docs/SurveyFormEntityListing.md +1 -1
  247. data/docs/SystemPromptAssetEntityListing.md +1 -1
  248. data/docs/SystemPromptEntityListing.md +1 -1
  249. data/docs/TagValueEntityListing.md +1 -1
  250. data/docs/TextMessageListing.md +1 -1
  251. data/docs/TimeZoneEntityListing.md +1 -1
  252. data/docs/TokensApi.md +2 -1
  253. data/docs/TrunkBaseEntityListing.md +1 -1
  254. data/docs/TrunkEntityListing.md +1 -1
  255. data/docs/TrunkMetabaseEntityListing.md +1 -1
  256. data/docs/TrustEntityListing.md +1 -1
  257. data/docs/TrustUserEntityListing.md +1 -1
  258. data/docs/TrustorEntityListing.md +1 -1
  259. data/docs/TtsEngineEntityListing.md +1 -1
  260. data/docs/TtsVoiceEntityListing.md +1 -1
  261. data/docs/TwitterIntegrationEntityListing.md +1 -1
  262. data/docs/UserActionCategoryEntityListing.md +1 -1
  263. data/docs/UserAggregateDataContainer.md +14 -0
  264. data/docs/UserAggregateQueryClause.md +14 -0
  265. data/docs/UserAggregateQueryFilter.md +15 -0
  266. data/docs/UserAggregateQueryPredicate.md +17 -0
  267. data/docs/{PresenceQueryResponse.md → UserAggregateQueryResponse.md} +3 -3
  268. data/docs/UserAggregationQuery.md +20 -0
  269. data/docs/UserAggregationView.md +16 -0
  270. data/docs/UserAuthorization.md +1 -1
  271. data/docs/UserDetailQueryClause.md +14 -0
  272. data/docs/UserDetailQueryFilter.md +15 -0
  273. data/docs/UserDetailQueryPredicate.md +17 -0
  274. data/docs/UserDetailsQuery.md +3 -3
  275. data/docs/UserEntityListing.md +1 -1
  276. data/docs/UserLanguageEntityListing.md +1 -1
  277. data/docs/UserObservationDataContainer.md +14 -0
  278. data/docs/UserObservationQuery.md +15 -0
  279. data/docs/UserObservationQueryClause.md +14 -0
  280. data/docs/UserObservationQueryFilter.md +15 -0
  281. data/docs/UserObservationQueryPredicate.md +17 -0
  282. data/docs/UserObservationQueryResponse.md +13 -0
  283. data/docs/UserProfileEntityListing.md +1 -1
  284. data/docs/UserQueueEntityListing.md +1 -1
  285. data/docs/UserRecordingEntityListing.md +1 -1
  286. data/docs/UserSkillEntityListing.md +1 -1
  287. data/docs/UsersApi.md +10 -10
  288. data/docs/VoicemailMessageEntityListing.md +1 -1
  289. data/docs/WebChatMemberInfoEntityList.md +1 -1
  290. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  291. data/docs/WorkspaceEntityListing.md +1 -1
  292. data/docs/WorkspaceMemberEntityListing.md +1 -1
  293. data/docs/WrapupCodeEntityListing.md +1 -1
  294. data/lib/purecloudplatformclientv2.rb +86 -12
  295. data/lib/purecloudplatformclientv2/api/analytics_api.rb +24 -24
  296. data/lib/purecloudplatformclientv2/api/architect_api.rb +75 -0
  297. data/lib/purecloudplatformclientv2/api/authorization_api.rb +8 -8
  298. data/lib/purecloudplatformclientv2/api/conversations_api.rb +343 -3
  299. data/lib/purecloudplatformclientv2/api/flows_api.rb +6 -6
  300. data/lib/purecloudplatformclientv2/api/locations_api.rb +2 -2
  301. data/lib/purecloudplatformclientv2/api/objects_api.rb +2 -2
  302. data/lib/purecloudplatformclientv2/api/quality_api.rb +6 -6
  303. data/lib/purecloudplatformclientv2/api/routing_api.rb +3 -3
  304. data/lib/purecloudplatformclientv2/api/scim_api.rb +332 -0
  305. data/lib/purecloudplatformclientv2/api/search_api.rb +2 -2
  306. data/lib/purecloudplatformclientv2/api/users_api.rb +8 -8
  307. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  308. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  309. data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
  310. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +1 -15
  312. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +31 -3
  313. data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
  314. data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +27 -27
  315. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  316. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  318. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  319. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  320. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  321. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  322. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  323. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  324. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  325. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  326. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  327. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  328. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  329. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  330. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  331. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  332. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  333. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  334. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  335. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  336. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/conversation_aggregate_data_container.rb +231 -0
  338. data/lib/purecloudplatformclientv2/models/{analytics_query_clause.rb → conversation_aggregate_query_clause.rb} +3 -3
  339. data/lib/purecloudplatformclientv2/models/{analytics_query_filter.rb → conversation_aggregate_query_filter.rb} +4 -4
  340. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +348 -0
  341. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_response.rb +203 -0
  342. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +390 -0
  343. data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +323 -0
  344. data/lib/purecloudplatformclientv2/models/conversation_detail_query_clause.rb +254 -0
  345. data/lib/purecloudplatformclientv2/models/conversation_detail_query_filter.rb +277 -0
  346. data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +388 -0
  347. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  348. data/lib/purecloudplatformclientv2/models/conversation_query.rb +27 -27
  349. data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +27 -1
  350. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/data_schema.rb +1 -1
  354. data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +521 -0
  355. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  356. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  361. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  362. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  363. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  364. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  365. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  366. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  367. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
  369. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  370. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  371. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  372. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  373. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +1 -0
  375. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +1 -0
  376. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +1 -0
  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/email_conversation_entity_listing.rb +12 -12
  381. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  382. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  383. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  384. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_data_container.rb +231 -0
  385. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_clause.rb +254 -0
  386. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_filter.rb +277 -0
  387. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_predicate.rb +348 -0
  388. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_response.rb +203 -0
  389. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +390 -0
  390. data/lib/purecloudplatformclientv2/models/{analytics_view.rb → evaluation_aggregation_view.rb} +17 -3
  391. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_clause.rb +254 -0
  392. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_filter.rb +277 -0
  393. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_predicate.rb +388 -0
  394. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  396. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  397. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  398. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  399. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/{aggregate_data_container.rb → flow_aggregate_data_container.rb} +1 -1
  403. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_clause.rb +254 -0
  404. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_filter.rb +277 -0
  405. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +348 -0
  406. data/lib/purecloudplatformclientv2/models/{aggregate_query_response.rb → flow_aggregate_query_response.rb} +2 -2
  407. data/lib/purecloudplatformclientv2/models/{aggregation_query.rb → flow_aggregation_query.rb} +3 -3
  408. data/lib/purecloudplatformclientv2/models/flow_aggregation_view.rb +323 -0
  409. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/{observation_data_container.rb → flow_observation_data_container.rb} +1 -1
  412. data/lib/purecloudplatformclientv2/models/{observation_query.rb → flow_observation_query.rb} +2 -2
  413. data/lib/purecloudplatformclientv2/models/flow_observation_query_clause.rb +254 -0
  414. data/lib/purecloudplatformclientv2/models/flow_observation_query_filter.rb +277 -0
  415. data/lib/purecloudplatformclientv2/models/flow_observation_query_predicate.rb +348 -0
  416. data/lib/purecloudplatformclientv2/models/{observation_query_response.rb → flow_observation_query_response.rb} +2 -2
  417. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  418. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  419. data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
  420. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  421. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  422. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  423. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  424. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  425. data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
  426. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  427. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  428. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  431. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  432. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  434. data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
  435. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  436. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  437. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  438. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  439. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  440. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  441. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  442. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  443. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  444. data/lib/purecloudplatformclientv2/models/location_search_request.rb +29 -1
  445. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  446. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  447. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_clause.rb +254 -0
  448. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_filter.rb +277 -0
  449. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_predicate.rb +348 -0
  450. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  451. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  452. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  453. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  454. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  455. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  456. data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +1 -15
  457. data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
  458. data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
  459. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  460. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  462. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  463. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  464. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  466. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  467. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  468. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  469. data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
  470. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  471. data/lib/purecloudplatformclientv2/models/presence_detail_query_clause.rb +254 -0
  472. data/lib/purecloudplatformclientv2/models/presence_detail_query_filter.rb +277 -0
  473. data/lib/purecloudplatformclientv2/models/presence_detail_query_predicate.rb +348 -0
  474. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  475. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  476. data/lib/purecloudplatformclientv2/models/pure_engage.rb +12 -12
  477. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  478. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  479. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +17 -17
  480. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  481. data/lib/purecloudplatformclientv2/models/queue_observation_data_container.rb +231 -0
  482. data/lib/purecloudplatformclientv2/models/queue_observation_query.rb +263 -0
  483. data/lib/purecloudplatformclientv2/models/queue_observation_query_clause.rb +254 -0
  484. data/lib/purecloudplatformclientv2/models/queue_observation_query_filter.rb +277 -0
  485. data/lib/purecloudplatformclientv2/models/queue_observation_query_predicate.rb +348 -0
  486. data/lib/purecloudplatformclientv2/models/{qualifier_mapping_observation_query_response.rb → queue_observation_query_response.rb} +2 -2
  487. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  488. data/lib/purecloudplatformclientv2/models/recording_job.rb +30 -4
  489. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  490. data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +1 -1
  491. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  492. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  493. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  494. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  495. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  496. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  497. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  498. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  499. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_clause.rb +254 -0
  500. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_filter.rb +277 -0
  501. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_predicate.rb +348 -0
  502. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  503. data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
  504. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  505. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  506. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  507. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  508. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +389 -0
  509. data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +229 -0
  510. data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +311 -0
  511. data/lib/purecloudplatformclientv2/models/scim_error.rb +297 -0
  512. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
  513. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +215 -2
  514. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +362 -0
  515. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +255 -0
  516. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +229 -0
  517. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +203 -0
  518. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
  519. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
  520. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  521. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  522. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  523. data/lib/purecloudplatformclientv2/models/segment_detail_query_clause.rb +254 -0
  524. data/lib/purecloudplatformclientv2/models/segment_detail_query_filter.rb +277 -0
  525. data/lib/purecloudplatformclientv2/models/{analytics_query_predicate.rb → segment_detail_query_predicate.rb} +7 -7
  526. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  527. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  528. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  529. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  530. data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +41 -1
  531. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  532. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  533. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  534. data/lib/purecloudplatformclientv2/models/survey_aggregate_data_container.rb +231 -0
  535. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_clause.rb +254 -0
  536. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_filter.rb +277 -0
  537. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_predicate.rb +348 -0
  538. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_response.rb +203 -0
  539. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +390 -0
  540. data/lib/purecloudplatformclientv2/models/survey_aggregation_view.rb +323 -0
  541. data/lib/purecloudplatformclientv2/models/survey_detail_query_clause.rb +254 -0
  542. data/lib/purecloudplatformclientv2/models/survey_detail_query_filter.rb +277 -0
  543. data/lib/purecloudplatformclientv2/models/survey_detail_query_predicate.rb +388 -0
  544. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  545. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  546. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  547. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  548. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  549. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  550. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  551. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  552. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  553. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  554. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  555. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  556. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  558. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  559. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  560. data/lib/purecloudplatformclientv2/models/user_aggregate_data_container.rb +231 -0
  561. data/lib/purecloudplatformclientv2/models/user_aggregate_query_clause.rb +254 -0
  562. data/lib/purecloudplatformclientv2/models/user_aggregate_query_filter.rb +277 -0
  563. data/lib/purecloudplatformclientv2/models/user_aggregate_query_predicate.rb +348 -0
  564. data/lib/purecloudplatformclientv2/models/{presence_query_response.rb → user_aggregate_query_response.rb} +2 -2
  565. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +390 -0
  566. data/lib/purecloudplatformclientv2/models/user_aggregation_view.rb +323 -0
  567. data/lib/purecloudplatformclientv2/models/user_authorization.rb +1 -0
  568. data/lib/purecloudplatformclientv2/models/user_detail_query_clause.rb +254 -0
  569. data/lib/purecloudplatformclientv2/models/user_detail_query_filter.rb +277 -0
  570. data/lib/purecloudplatformclientv2/models/user_detail_query_predicate.rb +348 -0
  571. data/lib/purecloudplatformclientv2/models/user_details_query.rb +33 -34
  572. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  573. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  574. data/lib/purecloudplatformclientv2/models/user_observation_data_container.rb +231 -0
  575. data/lib/purecloudplatformclientv2/models/user_observation_query.rb +263 -0
  576. data/lib/purecloudplatformclientv2/models/user_observation_query_clause.rb +254 -0
  577. data/lib/purecloudplatformclientv2/models/user_observation_query_filter.rb +277 -0
  578. data/lib/purecloudplatformclientv2/models/user_observation_query_predicate.rb +348 -0
  579. data/lib/purecloudplatformclientv2/models/user_observation_query_response.rb +203 -0
  580. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  581. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  582. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  583. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  584. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  585. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  586. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  587. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  588. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  589. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  590. data/lib/purecloudplatformclientv2/version.rb +1 -1
  591. metadata +174 -26
  592. data/docs/AggregateQueryResponse.md +0 -13
  593. data/docs/AnalyticsQueryClause.md +0 -14
  594. data/docs/AnalyticsQueryFilter.md +0 -15
  595. data/docs/ObservationQueryResponse.md +0 -13
@@ -0,0 +1,390 @@
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 SurveyAggregationQuery
21
+ # Behaves like one clause in a SQL WHERE. Specifies the date and time range of data being queried. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
22
+ attr_accessor :interval
23
+
24
+ # Granularity aggregates metrics into subpartitions within the time interval specified. The default granularity is the same duration as the interval. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H
25
+ attr_accessor :granularity
26
+
27
+ # Sets the time zone for the query interval, defaults to UTC. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London
28
+ attr_accessor :time_zone
29
+
30
+ # Behaves like a SQL GROUPBY. Allows for multiple levels of grouping as a list of dimensions. Partitions resulting aggregate computations into distinct named subgroups rather than across the entire result set as if it were one group.
31
+ attr_accessor :group_by
32
+
33
+ # Behaves like a SQL WHERE clause. This is ANDed with the interval parameter. Expresses boolean logical predicates as well as dimensional filters
34
+ attr_accessor :filter
35
+
36
+ # Behaves like a SQL SELECT clause. Enables retrieving only named metrics. If omitted, all metrics that are available will be returned (like SELECT *).
37
+ attr_accessor :metrics
38
+
39
+ # Flattens any multivalued dimensions used in response groups (e.g. ['a','b','c']->'a,b,c')
40
+ attr_accessor :flatten_multivalued_dimensions
41
+
42
+ # Custom derived metric views
43
+ attr_accessor :views
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+
49
+ :'interval' => :'interval',
50
+
51
+ :'granularity' => :'granularity',
52
+
53
+ :'time_zone' => :'timeZone',
54
+
55
+ :'group_by' => :'groupBy',
56
+
57
+ :'filter' => :'filter',
58
+
59
+ :'metrics' => :'metrics',
60
+
61
+ :'flatten_multivalued_dimensions' => :'flattenMultivaluedDimensions',
62
+
63
+ :'views' => :'views'
64
+
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+
72
+ :'interval' => :'String',
73
+
74
+ :'granularity' => :'String',
75
+
76
+ :'time_zone' => :'String',
77
+
78
+ :'group_by' => :'Array<String>',
79
+
80
+ :'filter' => :'SurveyAggregateQueryFilter',
81
+
82
+ :'metrics' => :'Array<String>',
83
+
84
+ :'flatten_multivalued_dimensions' => :'BOOLEAN',
85
+
86
+ :'views' => :'Array<SurveyAggregationView>'
87
+
88
+ }
89
+ end
90
+
91
+ # Initializes the object
92
+ # @param [Hash] attributes Model attributes in the form of hash
93
+ def initialize(attributes = {})
94
+ return unless attributes.is_a?(Hash)
95
+
96
+ # convert string to symbol for hash key
97
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
98
+
99
+
100
+ if attributes.has_key?(:'interval')
101
+
102
+
103
+ self.interval = attributes[:'interval']
104
+
105
+
106
+ end
107
+
108
+
109
+ if attributes.has_key?(:'granularity')
110
+
111
+
112
+ self.granularity = attributes[:'granularity']
113
+
114
+
115
+ end
116
+
117
+
118
+ if attributes.has_key?(:'timeZone')
119
+
120
+
121
+ self.time_zone = attributes[:'timeZone']
122
+
123
+
124
+ end
125
+
126
+
127
+ if attributes.has_key?(:'groupBy')
128
+
129
+ if (value = attributes[:'groupBy']).is_a?(Array)
130
+ self.group_by = value
131
+ end
132
+
133
+
134
+
135
+ end
136
+
137
+
138
+ if attributes.has_key?(:'filter')
139
+
140
+
141
+ self.filter = attributes[:'filter']
142
+
143
+
144
+ end
145
+
146
+
147
+ if attributes.has_key?(:'metrics')
148
+
149
+ if (value = attributes[:'metrics']).is_a?(Array)
150
+ self.metrics = value
151
+ end
152
+
153
+
154
+
155
+ end
156
+
157
+
158
+ if attributes.has_key?(:'flattenMultivaluedDimensions')
159
+
160
+
161
+ self.flatten_multivalued_dimensions = attributes[:'flattenMultivaluedDimensions']
162
+
163
+
164
+ end
165
+
166
+
167
+ if attributes.has_key?(:'views')
168
+
169
+ if (value = attributes[:'views']).is_a?(Array)
170
+ self.views = value
171
+ end
172
+
173
+
174
+
175
+ end
176
+
177
+
178
+ end
179
+
180
+ # Show invalid properties with the reasons. Usually used together with valid?
181
+ # @return Array for valid properies with the reasons
182
+ def list_invalid_properties
183
+ invalid_properties = Array.new
184
+
185
+
186
+ return invalid_properties
187
+ end
188
+
189
+ # Check to see if the all the properties in the model are valid
190
+ # @return true if the model is valid
191
+ def valid?
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ end
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ # Checks equality by comparing each attribute.
269
+ # @param [Object] Object to be compared
270
+ def ==(o)
271
+ return true if self.equal?(o)
272
+ self.class == o.class &&
273
+ interval == o.interval &&
274
+ granularity == o.granularity &&
275
+ time_zone == o.time_zone &&
276
+ group_by == o.group_by &&
277
+ filter == o.filter &&
278
+ metrics == o.metrics &&
279
+ flatten_multivalued_dimensions == o.flatten_multivalued_dimensions &&
280
+ views == o.views
281
+ end
282
+
283
+ # @see the `==` method
284
+ # @param [Object] Object to be compared
285
+ def eql?(o)
286
+ self == o
287
+ end
288
+
289
+ # Calculates hash code according to all attributes.
290
+ # @return [Fixnum] Hash code
291
+ def hash
292
+ [interval, granularity, time_zone, group_by, filter, metrics, flatten_multivalued_dimensions, views].hash
293
+ end
294
+
295
+ # build the object from hash
296
+ def build_from_hash(attributes)
297
+ return nil unless attributes.is_a?(Hash)
298
+ self.class.swagger_types.each_pair do |key, type|
299
+ if type =~ /^Array<(.*)>/i
300
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
301
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
302
+ else
303
+ #TODO show warning in debug mode
304
+ end
305
+ elsif !attributes[self.class.attribute_map[key]].nil?
306
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
307
+ else
308
+ # data not found in attributes(hash), not an issue as the data can be optional
309
+ end
310
+ end
311
+
312
+ self
313
+ end
314
+
315
+ def _deserialize(type, value)
316
+ case type.to_sym
317
+ when :DateTime
318
+ DateTime.parse(value)
319
+ when :Date
320
+ Date.parse(value)
321
+ when :String
322
+ value.to_s
323
+ when :Integer
324
+ value.to_i
325
+ when :Float
326
+ value.to_f
327
+ when :BOOLEAN
328
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
329
+ true
330
+ else
331
+ false
332
+ end
333
+ when :Object
334
+ # generic object (usually a Hash), return directly
335
+ value
336
+ when /\AArray<(?<inner_type>.+)>\z/
337
+ inner_type = Regexp.last_match[:inner_type]
338
+ value.map { |v| _deserialize(inner_type, v) }
339
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
340
+ k_type = Regexp.last_match[:k_type]
341
+ v_type = Regexp.last_match[:v_type]
342
+ {}.tap do |hash|
343
+ value.each do |k, v|
344
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
345
+ end
346
+ end
347
+ else # model
348
+ _model = Object.const_get("PureCloud").const_get(type).new
349
+ _model.build_from_hash(value)
350
+ end
351
+ end
352
+
353
+ def to_s
354
+ to_hash.to_s
355
+ end
356
+
357
+ # to_body is an alias to to_body (backward compatibility))
358
+ def to_body
359
+ to_hash
360
+ end
361
+
362
+ # return the object in the form of hash
363
+ def to_hash
364
+ hash = {}
365
+ self.class.attribute_map.each_pair do |attr, param|
366
+ value = self.send(attr)
367
+ next if value.nil?
368
+ hash[param] = _to_hash(value)
369
+ end
370
+ hash
371
+ end
372
+
373
+ # Method to output non-array value in the form of hash
374
+ # For object, use to_hash. Otherwise, just return the value
375
+ def _to_hash(value)
376
+ if value.is_a?(Array)
377
+ value.compact.map{ |v| _to_hash(v) }
378
+ elsif value.is_a?(Hash)
379
+ {}.tap do |hash|
380
+ value.each { |k, v| hash[k] = _to_hash(v) }
381
+ end
382
+ elsif value.respond_to? :to_hash
383
+ value.to_hash
384
+ else
385
+ value
386
+ end
387
+ end
388
+
389
+ end
390
+ end
@@ -0,0 +1,323 @@
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 SurveyAggregationView
21
+ # Target metric name
22
+ attr_accessor :target
23
+
24
+ # A unique name for this view. Must be distinct from other views and built-in metric names.
25
+ attr_accessor :name
26
+
27
+ # Type of view you wish to create
28
+ attr_accessor :function
29
+
30
+ # Range of numbers for slicing up data
31
+ attr_accessor :range
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+
37
+ :'target' => :'target',
38
+
39
+ :'name' => :'name',
40
+
41
+ :'function' => :'function',
42
+
43
+ :'range' => :'range'
44
+
45
+ }
46
+ end
47
+
48
+ # Attribute type mapping.
49
+ def self.swagger_types
50
+ {
51
+
52
+ :'target' => :'String',
53
+
54
+ :'name' => :'String',
55
+
56
+ :'function' => :'String',
57
+
58
+ :'range' => :'AggregationRange'
59
+
60
+ }
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ return unless attributes.is_a?(Hash)
67
+
68
+ # convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
+
71
+
72
+ if attributes.has_key?(:'target')
73
+
74
+
75
+ self.target = attributes[:'target']
76
+
77
+
78
+ end
79
+
80
+
81
+ if attributes.has_key?(:'name')
82
+
83
+
84
+ self.name = attributes[:'name']
85
+
86
+
87
+ end
88
+
89
+
90
+ if attributes.has_key?(:'function')
91
+
92
+
93
+ self.function = attributes[:'function']
94
+
95
+
96
+ end
97
+
98
+
99
+ if attributes.has_key?(:'range')
100
+
101
+
102
+ self.range = attributes[:'range']
103
+
104
+
105
+ end
106
+
107
+
108
+ end
109
+
110
+ # Show invalid properties with the reasons. Usually used together with valid?
111
+ # @return Array for valid properies with the reasons
112
+ def list_invalid_properties
113
+ invalid_properties = Array.new
114
+
115
+
116
+ return invalid_properties
117
+ end
118
+
119
+ # Check to see if the all the properties in the model are valid
120
+ # @return true if the model is valid
121
+ def valid?
122
+
123
+
124
+ if @target.nil?
125
+ return false
126
+ end
127
+
128
+
129
+
130
+ allowed_values = ["nSurveyErrors", "nSurveyNpsDetractors", "nSurveyNpsPromoters", "nSurveyNpsResponses", "nSurveyQuestionGroupResponses", "nSurveyQuestionResponses", "nSurveyResponses", "nSurveysAbandoned", "nSurveysDeleted", "nSurveysExpired", "nSurveysSent", "nSurveysStarted", "oSurveyQuestionGroupScore", "oSurveyQuestionScore", "oSurveyTotalScore"]
131
+ if @target && !allowed_values.include?(@target)
132
+ return false
133
+ end
134
+
135
+
136
+
137
+
138
+ if @name.nil?
139
+ return false
140
+ end
141
+
142
+
143
+
144
+
145
+
146
+
147
+ if @function.nil?
148
+ return false
149
+ end
150
+
151
+
152
+
153
+ allowed_values = ["rangeBound"]
154
+ if @function && !allowed_values.include?(@function)
155
+ return false
156
+ end
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ end
165
+
166
+
167
+
168
+ # Custom attribute writer method checking allowed values (enum).
169
+ # @param [Object] target Object to be assigned
170
+ def target=(target)
171
+ allowed_values = ["nSurveyErrors", "nSurveyNpsDetractors", "nSurveyNpsPromoters", "nSurveyNpsResponses", "nSurveyQuestionGroupResponses", "nSurveyQuestionResponses", "nSurveyResponses", "nSurveysAbandoned", "nSurveysDeleted", "nSurveysExpired", "nSurveysSent", "nSurveysStarted", "oSurveyQuestionGroupScore", "oSurveyQuestionScore", "oSurveyTotalScore"]
172
+ if target && !allowed_values.include?(target)
173
+ fail ArgumentError, "invalid value for 'target', must be one of #{allowed_values}."
174
+ end
175
+ @target = target
176
+ end
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ # Custom attribute writer method checking allowed values (enum).
188
+ # @param [Object] function Object to be assigned
189
+ def function=(function)
190
+ allowed_values = ["rangeBound"]
191
+ if function && !allowed_values.include?(function)
192
+ fail ArgumentError, "invalid value for 'function', must be one of #{allowed_values}."
193
+ end
194
+ @function = function
195
+ end
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ # Checks equality by comparing each attribute.
206
+ # @param [Object] Object to be compared
207
+ def ==(o)
208
+ return true if self.equal?(o)
209
+ self.class == o.class &&
210
+ target == o.target &&
211
+ name == o.name &&
212
+ function == o.function &&
213
+ range == o.range
214
+ end
215
+
216
+ # @see the `==` method
217
+ # @param [Object] Object to be compared
218
+ def eql?(o)
219
+ self == o
220
+ end
221
+
222
+ # Calculates hash code according to all attributes.
223
+ # @return [Fixnum] Hash code
224
+ def hash
225
+ [target, name, function, range].hash
226
+ end
227
+
228
+ # build the object from hash
229
+ def build_from_hash(attributes)
230
+ return nil unless attributes.is_a?(Hash)
231
+ self.class.swagger_types.each_pair do |key, type|
232
+ if type =~ /^Array<(.*)>/i
233
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
234
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
235
+ else
236
+ #TODO show warning in debug mode
237
+ end
238
+ elsif !attributes[self.class.attribute_map[key]].nil?
239
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
240
+ else
241
+ # data not found in attributes(hash), not an issue as the data can be optional
242
+ end
243
+ end
244
+
245
+ self
246
+ end
247
+
248
+ def _deserialize(type, value)
249
+ case type.to_sym
250
+ when :DateTime
251
+ DateTime.parse(value)
252
+ when :Date
253
+ Date.parse(value)
254
+ when :String
255
+ value.to_s
256
+ when :Integer
257
+ value.to_i
258
+ when :Float
259
+ value.to_f
260
+ when :BOOLEAN
261
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
262
+ true
263
+ else
264
+ false
265
+ end
266
+ when :Object
267
+ # generic object (usually a Hash), return directly
268
+ value
269
+ when /\AArray<(?<inner_type>.+)>\z/
270
+ inner_type = Regexp.last_match[:inner_type]
271
+ value.map { |v| _deserialize(inner_type, v) }
272
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
273
+ k_type = Regexp.last_match[:k_type]
274
+ v_type = Regexp.last_match[:v_type]
275
+ {}.tap do |hash|
276
+ value.each do |k, v|
277
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
278
+ end
279
+ end
280
+ else # model
281
+ _model = Object.const_get("PureCloud").const_get(type).new
282
+ _model.build_from_hash(value)
283
+ end
284
+ end
285
+
286
+ def to_s
287
+ to_hash.to_s
288
+ end
289
+
290
+ # to_body is an alias to to_body (backward compatibility))
291
+ def to_body
292
+ to_hash
293
+ end
294
+
295
+ # return the object in the form of hash
296
+ def to_hash
297
+ hash = {}
298
+ self.class.attribute_map.each_pair do |attr, param|
299
+ value = self.send(attr)
300
+ next if value.nil?
301
+ hash[param] = _to_hash(value)
302
+ end
303
+ hash
304
+ end
305
+
306
+ # Method to output non-array value in the form of hash
307
+ # For object, use to_hash. Otherwise, just return the value
308
+ def _to_hash(value)
309
+ if value.is_a?(Array)
310
+ value.compact.map{ |v| _to_hash(v) }
311
+ elsif value.is_a?(Hash)
312
+ {}.tap do |hash|
313
+ value.each { |k, v| hash[k] = _to_hash(v) }
314
+ end
315
+ elsif value.respond_to? :to_hash
316
+ value.to_hash
317
+ else
318
+ value
319
+ end
320
+ end
321
+
322
+ end
323
+ end