purecloudplatformclientv2 93.0.0 → 94.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 (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
@@ -479,6 +479,7 @@ module PureCloud
479
479
  # @param q64 q64
480
480
  # @param [Hash] opts the optional parameters
481
481
  # @option opts [Array<String>] :expand expand
482
+ # @option opts [String] :integration_presence_source integrationPresenceSource
482
483
  # @return [UsersSearchResponse]
483
484
  def get_users_search(q64, opts = {})
484
485
  data, _status_code, _headers = get_users_search_with_http_info(q64, opts)
@@ -490,6 +491,7 @@ module PureCloud
490
491
  # @param q64 q64
491
492
  # @param [Hash] opts the optional parameters
492
493
  # @option opts [Array<String>] :expand expand
494
+ # @option opts [String] :integration_presence_source integrationPresenceSource
493
495
  # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
494
496
  def get_users_search_with_http_info(q64, opts = {})
495
497
  if @api_client.config.debugging
@@ -510,6 +512,16 @@ module PureCloud
510
512
 
511
513
 
512
514
 
515
+
516
+
517
+
518
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
519
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
520
+ end
521
+
522
+
523
+
524
+
513
525
  # resource path
514
526
  local_var_path = "/api/v2/users/search".sub('{format}','json')
515
527
 
@@ -517,6 +529,7 @@ module PureCloud
517
529
  query_params = {}
518
530
  query_params[:'q64'] = q64
519
531
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
532
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
520
533
 
521
534
  # header parameters
522
535
  header_params = {}
@@ -3001,6 +3001,7 @@ module PureCloud
3001
3001
  # @option opts [Integer] :page_size Page size (default to 25)
3002
3002
  # @option opts [Integer] :page_number Page number (default to 1)
3003
3003
  # @option opts [String] :sort_by Sort by (default to number)
3004
+ # @option opts [Array<String>] :id Filter by a specific list of ID&#39;s
3004
3005
  # @return [DIDPoolEntityListing]
3005
3006
  def get_telephony_providers_edges_didpools(opts = {})
3006
3007
  data, _status_code, _headers = get_telephony_providers_edges_didpools_with_http_info(opts)
@@ -3013,6 +3014,7 @@ module PureCloud
3013
3014
  # @option opts [Integer] :page_size Page size
3014
3015
  # @option opts [Integer] :page_number Page number
3015
3016
  # @option opts [String] :sort_by Sort by
3017
+ # @option opts [Array<String>] :id Filter by a specific list of ID&#39;s
3016
3018
  # @return [Array<(DIDPoolEntityListing, Fixnum, Hash)>] DIDPoolEntityListing data, response status code and response headers
3017
3019
  def get_telephony_providers_edges_didpools_with_http_info(opts = {})
3018
3020
  if @api_client.config.debugging
@@ -3032,6 +3034,12 @@ module PureCloud
3032
3034
 
3033
3035
 
3034
3036
 
3037
+
3038
+
3039
+
3040
+
3041
+
3042
+
3035
3043
 
3036
3044
 
3037
3045
 
@@ -3045,6 +3053,7 @@ module PureCloud
3045
3053
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
3046
3054
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
3047
3055
  query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
3056
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
3048
3057
 
3049
3058
  # header parameters
3050
3059
  header_params = {}
@@ -3087,6 +3096,7 @@ module PureCloud
3087
3096
  # @option opts [String] :phone_number Filter by phoneNumber
3088
3097
  # @option opts [String] :owner_id Filter by the owner of a phone number
3089
3098
  # @option opts [String] :did_pool_id Filter by the DID Pool assignment
3099
+ # @option opts [Array<String>] :id Filter by a specific list of ID&#39;s
3090
3100
  # @return [DIDEntityListing]
3091
3101
  def get_telephony_providers_edges_dids(opts = {})
3092
3102
  data, _status_code, _headers = get_telephony_providers_edges_dids_with_http_info(opts)
@@ -3103,6 +3113,7 @@ module PureCloud
3103
3113
  # @option opts [String] :phone_number Filter by phoneNumber
3104
3114
  # @option opts [String] :owner_id Filter by the owner of a phone number
3105
3115
  # @option opts [String] :did_pool_id Filter by the DID Pool assignment
3116
+ # @option opts [Array<String>] :id Filter by a specific list of ID&#39;s
3106
3117
  # @return [Array<(DIDEntityListing, Fixnum, Hash)>] DIDEntityListing data, response status code and response headers
3107
3118
  def get_telephony_providers_edges_dids_with_http_info(opts = {})
3108
3119
  if @api_client.config.debugging
@@ -3144,6 +3155,12 @@ module PureCloud
3144
3155
 
3145
3156
 
3146
3157
 
3158
+
3159
+
3160
+
3161
+
3162
+
3163
+
3147
3164
 
3148
3165
 
3149
3166
 
@@ -3163,6 +3180,7 @@ module PureCloud
3163
3180
  query_params[:'phoneNumber'] = opts[:'phone_number'] if opts[:'phone_number']
3164
3181
  query_params[:'owner.id'] = opts[:'owner_id'] if opts[:'owner_id']
3165
3182
  query_params[:'didPool.id'] = opts[:'did_pool_id'] if opts[:'did_pool_id']
3183
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
3166
3184
 
3167
3185
  # header parameters
3168
3186
  header_params = {}
@@ -1178,6 +1178,7 @@ module PureCloud
1178
1178
  # @option opts [Array<String>] :jid jid
1179
1179
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
1180
1180
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1181
+ # @option opts [String] :integration_presence_source Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
1181
1182
  # @return [UserProfileEntityListing]
1182
1183
  def get_profiles_users(opts = {})
1183
1184
  data, _status_code, _headers = get_profiles_users_with_http_info(opts)
@@ -1193,6 +1194,7 @@ module PureCloud
1193
1194
  # @option opts [Array<String>] :jid jid
1194
1195
  # @option opts [String] :sort_order Ascending or descending sort order
1195
1196
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1197
+ # @option opts [String] :integration_presence_source Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
1196
1198
  # @return [Array<(UserProfileEntityListing, Fixnum, Hash)>] UserProfileEntityListing data, response status code and response headers
1197
1199
  def get_profiles_users_with_http_info(opts = {})
1198
1200
  if @api_client.config.debugging
@@ -1239,6 +1241,16 @@ module PureCloud
1239
1241
 
1240
1242
 
1241
1243
 
1244
+
1245
+
1246
+
1247
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
1248
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
1249
+ end
1250
+
1251
+
1252
+
1253
+
1242
1254
  # resource path
1243
1255
  local_var_path = "/api/v2/profiles/users".sub('{format}','json')
1244
1256
 
@@ -1250,6 +1262,7 @@ module PureCloud
1250
1262
  query_params[:'jid'] = @api_client.build_collection_param(opts[:'jid'], :multi) if opts[:'jid']
1251
1263
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
1252
1264
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
1265
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
1253
1266
 
1254
1267
  # header parameters
1255
1268
  header_params = {}
@@ -1352,6 +1365,7 @@ module PureCloud
1352
1365
  # @param user_id User ID
1353
1366
  # @param [Hash] opts the optional parameters
1354
1367
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1368
+ # @option opts [String] :integration_presence_source Gets an integration presence for a user instead of their default.
1355
1369
  # @option opts [String] :state Search for a user with this state (default to active)
1356
1370
  # @return [User]
1357
1371
  def get_user(user_id, opts = {})
@@ -1364,6 +1378,7 @@ module PureCloud
1364
1378
  # @param user_id User ID
1365
1379
  # @param [Hash] opts the optional parameters
1366
1380
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1381
+ # @option opts [String] :integration_presence_source Gets an integration presence for a user instead of their default.
1367
1382
  # @option opts [String] :state Search for a user with this state
1368
1383
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
1369
1384
  def get_user_with_http_info(user_id, opts = {})
@@ -1388,6 +1403,16 @@ module PureCloud
1388
1403
 
1389
1404
 
1390
1405
 
1406
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
1407
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
1408
+ end
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1391
1416
  if opts[:'state'] && !['active', 'deleted'].include?(opts[:'state'])
1392
1417
  fail ArgumentError, 'invalid value for "state", must be one of active, deleted'
1393
1418
  end
@@ -1401,6 +1426,7 @@ module PureCloud
1401
1426
  # query parameters
1402
1427
  query_params = {}
1403
1428
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
1429
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
1404
1430
  query_params[:'state'] = opts[:'state'] if opts[:'state']
1405
1431
 
1406
1432
  # header parameters
@@ -1893,6 +1919,7 @@ module PureCloud
1893
1919
  # @param user_id userId
1894
1920
  # @param [Hash] opts the optional parameters
1895
1921
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1922
+ # @option opts [String] :integration_presence_source Gets an integration presence for a user instead of their default.
1896
1923
  # @return [UserProfile]
1897
1924
  def get_user_profile(user_id, opts = {})
1898
1925
  data, _status_code, _headers = get_user_profile_with_http_info(user_id, opts)
@@ -1904,6 +1931,7 @@ module PureCloud
1904
1931
  # @param user_id userId
1905
1932
  # @param [Hash] opts the optional parameters
1906
1933
  # @option opts [Array<String>] :expand Which fields, if any, to expand
1934
+ # @option opts [String] :integration_presence_source Gets an integration presence for a user instead of their default.
1907
1935
  # @return [Array<(UserProfile, Fixnum, Hash)>] UserProfile data, response status code and response headers
1908
1936
  def get_user_profile_with_http_info(user_id, opts = {})
1909
1937
  if @api_client.config.debugging
@@ -1924,12 +1952,23 @@ module PureCloud
1924
1952
 
1925
1953
 
1926
1954
 
1955
+
1956
+
1957
+
1958
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
1959
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
1960
+ end
1961
+
1962
+
1963
+
1964
+
1927
1965
  # resource path
1928
1966
  local_var_path = "/api/v2/users/{userId}/profile".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1929
1967
 
1930
1968
  # query parameters
1931
1969
  query_params = {}
1932
1970
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
1971
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
1933
1972
 
1934
1973
  # header parameters
1935
1974
  header_params = {}
@@ -2681,6 +2720,7 @@ module PureCloud
2681
2720
  # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
2682
2721
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
2683
2722
  # @option opts [Array<String>] :expand Which fields, if any, to expand
2723
+ # @option opts [String] :integration_presence_source Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;. When using this parameter the maximum number of users that can be returned is 10.
2684
2724
  # @option opts [String] :state Only list users of this state (default to active)
2685
2725
  # @return [UserEntityListing]
2686
2726
  def get_users(opts = {})
@@ -2697,6 +2737,7 @@ module PureCloud
2697
2737
  # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
2698
2738
  # @option opts [String] :sort_order Ascending or descending sort order
2699
2739
  # @option opts [Array<String>] :expand Which fields, if any, to expand
2740
+ # @option opts [String] :integration_presence_source Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;. When using this parameter the maximum number of users that can be returned is 10.
2700
2741
  # @option opts [String] :state Only list users of this state
2701
2742
  # @return [Array<(UserEntityListing, Fixnum, Hash)>] UserEntityListing data, response status code and response headers
2702
2743
  def get_users_with_http_info(opts = {})
@@ -2747,6 +2788,16 @@ module PureCloud
2747
2788
 
2748
2789
 
2749
2790
 
2791
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
2792
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
2793
+ end
2794
+
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+
2750
2801
  if opts[:'state'] && !['active', 'inactive', 'deleted', 'any'].include?(opts[:'state'])
2751
2802
  fail ArgumentError, 'invalid value for "state", must be one of active, inactive, deleted, any'
2752
2803
  end
@@ -2765,6 +2816,7 @@ module PureCloud
2765
2816
  query_params[:'jabberId'] = @api_client.build_collection_param(opts[:'jabber_id'], :multi) if opts[:'jabber_id']
2766
2817
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
2767
2818
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
2819
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
2768
2820
  query_params[:'state'] = opts[:'state'] if opts[:'state']
2769
2821
 
2770
2822
  # header parameters
@@ -2802,6 +2854,7 @@ module PureCloud
2802
2854
  # This request is not valid when using the Client Credentials OAuth grant.
2803
2855
  # @param [Hash] opts the optional parameters
2804
2856
  # @option opts [Array<String>] :expand Which fields, if any, to expand.
2857
+ # @option opts [String] :integration_presence_source Get your presence for a given integration. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
2805
2858
  # @return [UserMe]
2806
2859
  def get_users_me(opts = {})
2807
2860
  data, _status_code, _headers = get_users_me_with_http_info(opts)
@@ -2812,6 +2865,7 @@ module PureCloud
2812
2865
  # This request is not valid when using the Client Credentials OAuth grant.
2813
2866
  # @param [Hash] opts the optional parameters
2814
2867
  # @option opts [Array<String>] :expand Which fields, if any, to expand.
2868
+ # @option opts [String] :integration_presence_source Get your presence for a given integration. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
2815
2869
  # @return [Array<(UserMe, Fixnum, Hash)>] UserMe data, response status code and response headers
2816
2870
  def get_users_me_with_http_info(opts = {})
2817
2871
  if @api_client.config.debugging
@@ -2824,12 +2878,23 @@ module PureCloud
2824
2878
 
2825
2879
 
2826
2880
 
2881
+
2882
+
2883
+
2884
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
2885
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
2886
+ end
2887
+
2888
+
2889
+
2890
+
2827
2891
  # resource path
2828
2892
  local_var_path = "/api/v2/users/me".sub('{format}','json')
2829
2893
 
2830
2894
  # query parameters
2831
2895
  query_params = {}
2832
2896
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
2897
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
2833
2898
 
2834
2899
  # header parameters
2835
2900
  header_params = {}
@@ -2867,6 +2932,7 @@ module PureCloud
2867
2932
  # @param q64 q64
2868
2933
  # @param [Hash] opts the optional parameters
2869
2934
  # @option opts [Array<String>] :expand expand
2935
+ # @option opts [String] :integration_presence_source integrationPresenceSource
2870
2936
  # @return [UsersSearchResponse]
2871
2937
  def get_users_search(q64, opts = {})
2872
2938
  data, _status_code, _headers = get_users_search_with_http_info(q64, opts)
@@ -2878,6 +2944,7 @@ module PureCloud
2878
2944
  # @param q64 q64
2879
2945
  # @param [Hash] opts the optional parameters
2880
2946
  # @option opts [Array<String>] :expand expand
2947
+ # @option opts [String] :integration_presence_source integrationPresenceSource
2881
2948
  # @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
2882
2949
  def get_users_search_with_http_info(q64, opts = {})
2883
2950
  if @api_client.config.debugging
@@ -2898,6 +2965,16 @@ module PureCloud
2898
2965
 
2899
2966
 
2900
2967
 
2968
+
2969
+
2970
+
2971
+ if opts[:'integration_presence_source'] && !['MicrosoftTeams', 'ZoomPhone'].include?(opts[:'integration_presence_source'])
2972
+ fail ArgumentError, 'invalid value for "integration_presence_source", must be one of MicrosoftTeams, ZoomPhone'
2973
+ end
2974
+
2975
+
2976
+
2977
+
2901
2978
  # resource path
2902
2979
  local_var_path = "/api/v2/users/search".sub('{format}','json')
2903
2980
 
@@ -2905,6 +2982,7 @@ module PureCloud
2905
2982
  query_params = {}
2906
2983
  query_params[:'q64'] = q64
2907
2984
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
2985
+ query_params[:'integrationPresenceSource'] = opts[:'integration_presence_source'] if opts[:'integration_presence_source']
2908
2986
 
2909
2987
  # header parameters
2910
2988
  header_params = {}
@@ -76,7 +76,7 @@ module PureCloud
76
76
  http_method = http_method.to_sym.downcase
77
77
 
78
78
  header_params = @default_headers.merge(opts[:header_params] || {})
79
- header_params['purecloud-sdk'] = '93.0.0'
79
+ header_params['purecloud-sdk'] = '94.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :next_uri
34
34
 
35
- attr_accessor :last_uri
36
-
37
35
  attr_accessor :previous_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
- :'last_uri' => :'lastUri',
60
-
61
59
  :'previous_uri' => :'previousUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -83,10 +83,10 @@ module PureCloud
83
83
 
84
84
  :'next_uri' => :'String',
85
85
 
86
- :'last_uri' => :'String',
87
-
88
86
  :'previous_uri' => :'String',
89
87
 
88
+ :'last_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -166,19 +166,19 @@ module PureCloud
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'lastUri')
169
+ if attributes.has_key?(:'previousUri')
170
170
 
171
171
 
172
- self.last_uri = attributes[:'lastUri']
172
+ self.previous_uri = attributes[:'previousUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'previousUri')
178
+ if attributes.has_key?(:'lastUri')
179
179
 
180
180
 
181
- self.previous_uri = attributes[:'previousUri']
181
+ self.last_uri = attributes[:'lastUri']
182
182
 
183
183
 
184
184
  end
@@ -313,8 +313,8 @@ module PureCloud
313
313
  first_uri == o.first_uri &&
314
314
  self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
- last_uri == o.last_uri &&
317
316
  previous_uri == o.previous_uri &&
317
+ last_uri == o.last_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -0,0 +1,267 @@
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 AfterCallWork
21
+ # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
22
+ attr_accessor :start_time
23
+
24
+ # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
25
+ attr_accessor :end_time
26
+
27
+ attr_accessor :state
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+
33
+ :'start_time' => :'startTime',
34
+
35
+ :'end_time' => :'endTime',
36
+
37
+ :'state' => :'state'
38
+
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+
46
+ :'start_time' => :'DateTime',
47
+
48
+ :'end_time' => :'DateTime',
49
+
50
+ :'state' => :'String'
51
+
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
62
+
63
+
64
+ if attributes.has_key?(:'startTime')
65
+
66
+
67
+ self.start_time = attributes[:'startTime']
68
+
69
+
70
+ end
71
+
72
+
73
+ if attributes.has_key?(:'endTime')
74
+
75
+
76
+ self.end_time = attributes[:'endTime']
77
+
78
+
79
+ end
80
+
81
+
82
+ if attributes.has_key?(:'state')
83
+
84
+
85
+ self.state = attributes[:'state']
86
+
87
+
88
+ end
89
+
90
+
91
+ end
92
+
93
+ # Show invalid properties with the reasons. Usually used together with valid?
94
+ # @return Array for valid properies with the reasons
95
+ def list_invalid_properties
96
+ invalid_properties = Array.new
97
+
98
+
99
+ return invalid_properties
100
+ end
101
+
102
+ # Check to see if the all the properties in the model are valid
103
+ # @return true if the model is valid
104
+ def valid?
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ allowed_values = ["unknown", "notApplicable", "skipped", "pending", "complete"]
117
+ if @state && !allowed_values.include?(@state)
118
+ return false
119
+ end
120
+
121
+
122
+
123
+ end
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ # Custom attribute writer method checking allowed values (enum).
138
+ # @param [Object] state Object to be assigned
139
+ def state=(state)
140
+ allowed_values = ["unknown", "notApplicable", "skipped", "pending", "complete"]
141
+ if state && !allowed_values.include?(state)
142
+ fail ArgumentError, "invalid value for 'state', must be one of #{allowed_values}."
143
+ end
144
+ @state = state
145
+ end
146
+
147
+
148
+
149
+
150
+ # Checks equality by comparing each attribute.
151
+ # @param [Object] Object to be compared
152
+ def ==(o)
153
+ return true if self.equal?(o)
154
+ self.class == o.class &&
155
+ start_time == o.start_time &&
156
+ end_time == o.end_time &&
157
+ state == o.state
158
+ end
159
+
160
+ # @see the `==` method
161
+ # @param [Object] Object to be compared
162
+ def eql?(o)
163
+ self == o
164
+ end
165
+
166
+ # Calculates hash code according to all attributes.
167
+ # @return [Fixnum] Hash code
168
+ def hash
169
+ [start_time, end_time, state].hash
170
+ end
171
+
172
+ # build the object from hash
173
+ def build_from_hash(attributes)
174
+ return nil unless attributes.is_a?(Hash)
175
+ self.class.swagger_types.each_pair do |key, type|
176
+ if type =~ /^Array<(.*)>/i
177
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
178
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
179
+ else
180
+ #TODO show warning in debug mode
181
+ end
182
+ elsif !attributes[self.class.attribute_map[key]].nil?
183
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
184
+ else
185
+ # data not found in attributes(hash), not an issue as the data can be optional
186
+ end
187
+ end
188
+
189
+ self
190
+ end
191
+
192
+ def _deserialize(type, value)
193
+ case type.to_sym
194
+ when :DateTime
195
+ DateTime.parse(value)
196
+ when :Date
197
+ Date.parse(value)
198
+ when :String
199
+ value.to_s
200
+ when :Integer
201
+ value.to_i
202
+ when :Float
203
+ value.to_f
204
+ when :BOOLEAN
205
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
206
+ true
207
+ else
208
+ false
209
+ end
210
+ when :Object
211
+ # generic object (usually a Hash), return directly
212
+ value
213
+ when /\AArray<(?<inner_type>.+)>\z/
214
+ inner_type = Regexp.last_match[:inner_type]
215
+ value.map { |v| _deserialize(inner_type, v) }
216
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
217
+ k_type = Regexp.last_match[:k_type]
218
+ v_type = Regexp.last_match[:v_type]
219
+ {}.tap do |hash|
220
+ value.each do |k, v|
221
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
222
+ end
223
+ end
224
+ else # model
225
+ _model = Object.const_get("PureCloud").const_get(type).new
226
+ _model.build_from_hash(value)
227
+ end
228
+ end
229
+
230
+ def to_s
231
+ to_hash.to_s
232
+ end
233
+
234
+ # to_body is an alias to to_body (backward compatibility))
235
+ def to_body
236
+ to_hash
237
+ end
238
+
239
+ # return the object in the form of hash
240
+ def to_hash
241
+ hash = {}
242
+ self.class.attribute_map.each_pair do |attr, param|
243
+ value = self.send(attr)
244
+ next if value.nil?
245
+ hash[param] = _to_hash(value)
246
+ end
247
+ hash
248
+ end
249
+
250
+ # Method to output non-array value in the form of hash
251
+ # For object, use to_hash. Otherwise, just return the value
252
+ def _to_hash(value)
253
+ if value.is_a?(Array)
254
+ value.compact.map{ |v| _to_hash(v) }
255
+ elsif value.is_a?(Hash)
256
+ {}.tap do |hash|
257
+ value.each { |k, v| hash[k] = _to_hash(v) }
258
+ end
259
+ elsif value.respond_to? :to_hash
260
+ value.to_hash
261
+ else
262
+ value
263
+ end
264
+ end
265
+
266
+ end
267
+ end