purecloud 0.52.1 → 0.53.1

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 (335) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/bin/notificationMappings.json +8 -0
  4. data/config-ruby.json +1 -1
  5. data/doc_out/AgentActivityEntityListing.html.md +1 -1
  6. data/doc_out/AttemptLimitsEntityListing.html.md +1 -1
  7. data/doc_out/AttributeEntityListing.html.md +1 -1
  8. data/doc_out/CalibrationEntityListing.html.md +1 -1
  9. data/doc_out/Call.html.md +1 -0
  10. data/doc_out/CallConversationEntityListing.html.md +1 -1
  11. data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
  12. data/doc_out/CallConversationNotificationParticipants.html.md +1 -0
  13. data/doc_out/CallableContactsDiagnostic.html.md +1 -0
  14. data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
  15. data/doc_out/Callback.html.md +1 -0
  16. data/doc_out/CallbackConversationEntityListing.html.md +1 -1
  17. data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
  18. data/doc_out/CallbackConversationNotificationParticipants.html.md +1 -0
  19. data/doc_out/Campaign.html.md +1 -0
  20. data/doc_out/CampaignEntityListing.html.md +1 -1
  21. data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
  22. data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
  23. data/doc_out/ChannelEntityListing.html.md +1 -1
  24. data/doc_out/ChatConversationEntityListing.html.md +1 -1
  25. data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
  26. data/doc_out/ChatConversationNotificationParticipants.html.md +1 -0
  27. data/doc_out/CobrowseConversationEntityListing.html.md +1 -1
  28. data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
  29. data/doc_out/CobrowseConversationNotificationParticipants.html.md +9 -8
  30. data/doc_out/Cobrowsesession.html.md +1 -0
  31. data/doc_out/CommandStatusEntityListing.html.md +1 -1
  32. data/doc_out/ContactListEntityListing.html.md +1 -1
  33. data/doc_out/ConversationEntityListing.html.md +1 -1
  34. data/doc_out/ConversationNotificationCall.html.md +1 -0
  35. data/doc_out/ConversationNotificationCallback.html.md +1 -0
  36. data/doc_out/ConversationNotificationCallbacks.html.md +1 -0
  37. data/doc_out/ConversationNotificationCalls.html.md +1 -0
  38. data/doc_out/ConversationNotificationChat.html.md +1 -0
  39. data/doc_out/ConversationNotificationChats.html.md +1 -0
  40. data/doc_out/ConversationNotificationCobrowse.html.md +1 -0
  41. data/doc_out/ConversationNotificationCobrowsesessions.html.md +1 -0
  42. data/doc_out/ConversationNotificationEmail.html.md +1 -0
  43. data/doc_out/ConversationNotificationEmails.html.md +1 -0
  44. data/doc_out/ConversationNotificationScreenShare.html.md +1 -0
  45. data/doc_out/ConversationNotificationScreenShares.html.md +1 -0
  46. data/doc_out/ConversationNotificationSocialExpression.html.md +1 -0
  47. data/doc_out/ConversationNotificationSocialExpressions.html.md +2 -1
  48. data/doc_out/DIDEntityListing.html.md +1 -1
  49. data/doc_out/DIDPoolEntityListing.html.md +1 -1
  50. data/doc_out/DncListEntityListing.html.md +1 -1
  51. data/doc_out/DocumentAuditEntityListing.html.md +1 -1
  52. data/doc_out/DocumentEntityListing.html.md +1 -1
  53. data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +1 -1
  54. data/doc_out/DomainEntityListing.html.md +1 -1
  55. data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
  56. data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
  57. data/doc_out/DomainOrganizationRole.html.md +1 -0
  58. data/doc_out/DomainOrganizationRoleCreate.html.md +1 -0
  59. data/doc_out/EdgeEntityListing.html.md +1 -1
  60. data/doc_out/EdgeGroupEntityListing.html.md +1 -1
  61. data/doc_out/EdgeLineEntityListing.html.md +1 -1
  62. data/doc_out/EmailConversationEntityListing.html.md +1 -1
  63. data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
  64. data/doc_out/EmailConversationNotificationParticipants.html.md +1 -0
  65. data/doc_out/EmailMessageListing.html.md +1 -1
  66. data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
  67. data/doc_out/EndpointEntityListing.html.md +1 -1
  68. data/doc_out/EvaluationEntityListing.html.md +1 -1
  69. data/doc_out/EvaluationFormEntityListing.html.md +1 -1
  70. data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
  71. data/doc_out/ExtensionEntityListing.html.md +1 -1
  72. data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
  73. data/doc_out/FaxDocumentEntityListing.html.md +1 -1
  74. data/doc_out/GroupEntityListing.html.md +1 -1
  75. data/doc_out/GroupSearchCriteria.html.md +7 -7
  76. data/doc_out/GroupSearchRequest.html.md +6 -6
  77. data/doc_out/GroupsApi.html.md +6 -6
  78. data/doc_out/GroupsSearchResponse.html.md +9 -9
  79. data/doc_out/HeartBeatAlertContainer.html.md +1 -1
  80. data/doc_out/HeartBeatRuleContainer.html.md +1 -1
  81. data/doc_out/InboundDomainEntityListing.html.md +1 -1
  82. data/doc_out/InboundRouteEntityListing.html.md +1 -1
  83. data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
  84. data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
  85. data/doc_out/JsonNode.html.md +3 -3
  86. data/doc_out/JsonNodeSearchResponse.html.md +9 -9
  87. data/doc_out/KeywordSetEntityListing.html.md +1 -1
  88. data/doc_out/LanguageEntityListing.html.md +1 -1
  89. data/doc_out/LibraryEntityListing.html.md +1 -1
  90. data/doc_out/LineBaseEntityListing.html.md +1 -1
  91. data/doc_out/LineEntityListing.html.md +1 -1
  92. data/doc_out/LocationSearchCriteria.html.md +7 -7
  93. data/doc_out/LocationSearchRequest.html.md +6 -6
  94. data/doc_out/LocationsApi.html.md +6 -6
  95. data/doc_out/LocationsSearchResponse.html.md +9 -9
  96. data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
  97. data/doc_out/ManagementUnit.html.md +18 -0
  98. data/doc_out/OAuthClientEntityListing.html.md +1 -1
  99. data/doc_out/OAuthProviderEntityListing.html.md +1 -1
  100. data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
  101. data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
  102. data/doc_out/OrphanRecordingListing.html.md +1 -1
  103. data/doc_out/OutboundRouteEntityListing.html.md +1 -1
  104. data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
  105. data/doc_out/PhoneBaseEntityListing.html.md +1 -1
  106. data/doc_out/PhoneEntityListing.html.md +1 -1
  107. data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
  108. data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
  109. data/doc_out/PolicyEntityListing.html.md +1 -1
  110. data/doc_out/Predicate.html.md +14 -0
  111. data/doc_out/QualityAuditPage.html.md +1 -1
  112. data/doc_out/QuestionGroup.html.md +1 -0
  113. data/doc_out/QueueEntityListing.html.md +1 -1
  114. data/doc_out/QueueMemberEntityListing.html.md +1 -1
  115. data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
  116. data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
  117. data/doc_out/ReportScheduleEntityListing.html.md +1 -1
  118. data/doc_out/ResponseEntityList.html.md +1 -1
  119. data/doc_out/ResponseEntityListing.html.md +1 -1
  120. data/doc_out/ResponseSetEntityListing.html.md +1 -1
  121. data/doc_out/RuleSetEntityListing.html.md +1 -1
  122. data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
  123. data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
  124. data/doc_out/ScreenRecordingSessionListing.html.md +1 -1
  125. data/doc_out/ScreenShareConversationNotificationParticipants.html.md +10 -9
  126. data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
  127. data/doc_out/Screenshare.html.md +1 -0
  128. data/doc_out/SearchAggregation.html.md +6 -6
  129. data/doc_out/SearchApi.html.md +30 -30
  130. data/doc_out/SearchCriteria.html.md +7 -7
  131. data/doc_out/SearchRequest.html.md +9 -9
  132. data/doc_out/SecurityProfileEntityListing.html.md +1 -1
  133. data/doc_out/ShareEntityListing.html.md +1 -1
  134. data/doc_out/SiteEntityListing.html.md +1 -1
  135. data/doc_out/SkillEntityListing.html.md +1 -1
  136. data/doc_out/SocialConversationNotificationParticipants.html.md +11 -10
  137. data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
  138. data/doc_out/SocialExpression.html.md +1 -0
  139. data/doc_out/StationEntityListing.html.md +1 -1
  140. data/doc_out/SuggestApi.html.md +12 -12
  141. data/doc_out/SuggestSearchCriteria.html.md +7 -7
  142. data/doc_out/SuggestSearchRequest.html.md +2 -2
  143. data/doc_out/TagValueEntityListing.html.md +1 -1
  144. data/doc_out/TimeZoneEntityListing.html.md +1 -1
  145. data/doc_out/TrunkEntityListing.html.md +1 -1
  146. data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
  147. data/doc_out/UserEntityListing.html.md +1 -1
  148. data/doc_out/UserQueueEntityListing.html.md +1 -1
  149. data/doc_out/UserRecordingEntityListing.html.md +1 -1
  150. data/doc_out/UserScheduleAdherence.html.md +26 -0
  151. data/doc_out/UserSearchCriteria.html.md +7 -7
  152. data/doc_out/UserSearchRequest.html.md +6 -6
  153. data/doc_out/UserSkillEntityListing.html.md +1 -1
  154. data/doc_out/UsersApi.html.md +124 -6
  155. data/doc_out/UsersEntityListing.html.md +1 -1
  156. data/doc_out/UsersSearchResponse.html.md +9 -9
  157. data/doc_out/Video.html.md +1 -0
  158. data/doc_out/VideoConversationNotificationParticipants.html.md +1 -1
  159. data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -1
  160. data/doc_out/VisibilityCondition.html.md +14 -0
  161. data/doc_out/WorkforceManagementApi.html.md +69 -0
  162. data/doc_out/WorkspaceEntityListing.html.md +1 -1
  163. data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
  164. data/doc_out/WrapupCodeEntityListing.html.md +1 -1
  165. data/doc_out/index.html.md +3 -3
  166. data/lib/purecloud.rb +5 -0
  167. data/lib/purecloud/api/groups_api.rb +4 -4
  168. data/lib/purecloud/api/locations_api.rb +4 -4
  169. data/lib/purecloud/api/search_api.rb +20 -20
  170. data/lib/purecloud/api/suggest_api.rb +8 -8
  171. data/lib/purecloud/api/users_api.rb +126 -4
  172. data/lib/purecloud/api/workforce_management_api.rb +88 -0
  173. data/lib/purecloud/api_client.rb +1 -1
  174. data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
  175. data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
  176. data/lib/purecloud/models/attempt_limits_entity_listing.rb +11 -11
  177. data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
  178. data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
  179. data/lib/purecloud/models/call.rb +15 -4
  180. data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
  181. data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
  182. data/lib/purecloud/models/call_conversation_notification_participants.rb +11 -1
  183. data/lib/purecloud/models/callable_contacts_diagnostic.rb +12 -1
  184. data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
  185. data/lib/purecloud/models/callback.rb +15 -4
  186. data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
  187. data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
  188. data/lib/purecloud/models/callback_conversation_notification_participants.rb +11 -1
  189. data/lib/purecloud/models/campaign.rb +12 -1
  190. data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
  191. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
  192. data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
  193. data/lib/purecloud/models/channel_entity_listing.rb +11 -11
  194. data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
  195. data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
  196. data/lib/purecloud/models/chat_conversation_notification_participants.rb +11 -1
  197. data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +11 -11
  198. data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
  199. data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +87 -77
  200. data/lib/purecloud/models/cobrowsesession.rb +15 -4
  201. data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
  202. data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
  203. data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
  204. data/lib/purecloud/models/conversation_notification_call.rb +11 -1
  205. data/lib/purecloud/models/conversation_notification_callback.rb +11 -1
  206. data/lib/purecloud/models/conversation_notification_callbacks.rb +11 -1
  207. data/lib/purecloud/models/conversation_notification_calls.rb +11 -1
  208. data/lib/purecloud/models/conversation_notification_chat.rb +11 -1
  209. data/lib/purecloud/models/conversation_notification_chats.rb +14 -4
  210. data/lib/purecloud/models/conversation_notification_cobrowse.rb +11 -1
  211. data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +11 -1
  212. data/lib/purecloud/models/conversation_notification_email.rb +11 -1
  213. data/lib/purecloud/models/conversation_notification_emails.rb +11 -1
  214. data/lib/purecloud/models/conversation_notification_screen_share.rb +11 -1
  215. data/lib/purecloud/models/conversation_notification_screen_shares.rb +11 -1
  216. data/lib/purecloud/models/conversation_notification_social_expression.rb +11 -1
  217. data/lib/purecloud/models/conversation_notification_social_expressions.rb +21 -11
  218. data/lib/purecloud/models/conversation_notification_video.rb +0 -9
  219. data/lib/purecloud/models/conversation_notification_videos.rb +0 -9
  220. data/lib/purecloud/models/did_entity_listing.rb +11 -11
  221. data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
  222. data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
  223. data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
  224. data/lib/purecloud/models/document_entity_listing.rb +11 -11
  225. data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +11 -11
  226. data/lib/purecloud/models/domain_entity_listing.rb +11 -11
  227. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
  228. data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
  229. data/lib/purecloud/models/domain_organization_role.rb +13 -1
  230. data/lib/purecloud/models/domain_organization_role_create.rb +13 -1
  231. data/lib/purecloud/models/edge_entity_listing.rb +11 -11
  232. data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
  233. data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
  234. data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
  235. data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
  236. data/lib/purecloud/models/email_conversation_notification_participants.rb +11 -1
  237. data/lib/purecloud/models/email_message_listing.rb +11 -11
  238. data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
  239. data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
  240. data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
  241. data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
  242. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
  243. data/lib/purecloud/models/extension_entity_listing.rb +11 -11
  244. data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
  245. data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
  246. data/lib/purecloud/models/group_entity_listing.rb +11 -11
  247. data/lib/purecloud/models/group_search_criteria.rb +7 -0
  248. data/lib/purecloud/models/group_search_request.rb +6 -0
  249. data/lib/purecloud/models/groups_search_response.rb +9 -0
  250. data/lib/purecloud/models/heart_beat_alert_container.rb +11 -11
  251. data/lib/purecloud/models/heart_beat_rule_container.rb +11 -11
  252. data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
  253. data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
  254. data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
  255. data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
  256. data/lib/purecloud/models/json_node.rb +40 -40
  257. data/lib/purecloud/models/json_node_search_response.rb +9 -0
  258. data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
  259. data/lib/purecloud/models/language_entity_listing.rb +11 -11
  260. data/lib/purecloud/models/library_entity_listing.rb +11 -11
  261. data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
  262. data/lib/purecloud/models/line_entity_listing.rb +11 -11
  263. data/lib/purecloud/models/location_search_criteria.rb +7 -0
  264. data/lib/purecloud/models/location_search_request.rb +6 -0
  265. data/lib/purecloud/models/locations_search_response.rb +9 -0
  266. data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
  267. data/lib/purecloud/models/management_unit.rb +230 -0
  268. data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
  269. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
  270. data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
  271. data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
  272. data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
  273. data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
  274. data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
  275. data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
  276. data/lib/purecloud/models/phone_entity_listing.rb +11 -11
  277. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
  278. data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
  279. data/lib/purecloud/models/policy_entity_listing.rb +11 -11
  280. data/lib/purecloud/models/predicate.rb +175 -0
  281. data/lib/purecloud/models/quality_audit_page.rb +11 -11
  282. data/lib/purecloud/models/question_group.rb +14 -4
  283. data/lib/purecloud/models/queue_entity_listing.rb +11 -11
  284. data/lib/purecloud/models/queue_member_entity_listing.rb +11 -11
  285. data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
  286. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
  287. data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
  288. data/lib/purecloud/models/response_entity_list.rb +11 -11
  289. data/lib/purecloud/models/response_entity_listing.rb +11 -11
  290. data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
  291. data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
  292. data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
  293. data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
  294. data/lib/purecloud/models/screen_recording_session_listing.rb +11 -11
  295. data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +89 -79
  296. data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
  297. data/lib/purecloud/models/screenshare.rb +15 -4
  298. data/lib/purecloud/models/search_aggregation.rb +6 -0
  299. data/lib/purecloud/models/search_criteria.rb +7 -0
  300. data/lib/purecloud/models/search_request.rb +9 -1
  301. data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
  302. data/lib/purecloud/models/share_entity_listing.rb +11 -11
  303. data/lib/purecloud/models/site_entity_listing.rb +11 -11
  304. data/lib/purecloud/models/skill_entity_listing.rb +11 -11
  305. data/lib/purecloud/models/social_conversation_notification_participants.rb +103 -93
  306. data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
  307. data/lib/purecloud/models/social_expression.rb +15 -4
  308. data/lib/purecloud/models/station_entity_listing.rb +11 -11
  309. data/lib/purecloud/models/suggest_search_criteria.rb +7 -0
  310. data/lib/purecloud/models/suggest_search_request.rb +2 -1
  311. data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
  312. data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
  313. data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
  314. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
  315. data/lib/purecloud/models/user_entity_listing.rb +11 -11
  316. data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
  317. data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
  318. data/lib/purecloud/models/user_schedule_adherence.rb +364 -0
  319. data/lib/purecloud/models/user_search_criteria.rb +7 -0
  320. data/lib/purecloud/models/user_search_request.rb +6 -0
  321. data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
  322. data/lib/purecloud/models/users_entity_listing.rb +11 -11
  323. data/lib/purecloud/models/users_search_response.rb +9 -0
  324. data/lib/purecloud/models/video.rb +15 -4
  325. data/lib/purecloud/models/video_conversation_notification_participants.rb +13 -22
  326. data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +14 -23
  327. data/lib/purecloud/models/visibility_condition.rb +186 -0
  328. data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
  329. data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
  330. data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
  331. data/lib/purecloud/version.rb +1 -1
  332. data/newVersion.md +1 -1
  333. data/swagger.json +1 -1
  334. data/version.json +1 -1
  335. metadata +12 -2
@@ -28,12 +28,12 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :next_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :previous_uri
36
34
 
35
+ attr_accessor :next_uri
36
+
37
37
  attr_accessor :last_uri
38
38
 
39
39
  attr_accessor :page_count
@@ -52,12 +52,12 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'next_uri' => :'nextUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
57
  :'previous_uri' => :'previousUri',
60
58
 
59
+ :'next_uri' => :'nextUri',
60
+
61
61
  :'last_uri' => :'lastUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
@@ -73,9 +73,9 @@ module PureCloud
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
75
  :'self_uri' => :'String',
76
- :'next_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
77
  :'previous_uri' => :'String',
78
+ :'next_uri' => :'String',
79
79
  :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
@@ -111,10 +111,6 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'nextUri']
115
- self.next_uri = attributes[:'nextUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
@@ -123,6 +119,10 @@ module PureCloud
123
119
  self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
122
+ if attributes[:'nextUri']
123
+ self.next_uri = attributes[:'nextUri']
124
+ end
125
+
126
126
  if attributes[:'lastUri']
127
127
  self.last_uri = attributes[:'lastUri']
128
128
  end
@@ -142,9 +142,9 @@ module PureCloud
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
144
  self_uri == o.self_uri &&
145
- next_uri == o.next_uri &&
146
145
  first_uri == o.first_uri &&
147
146
  previous_uri == o.previous_uri &&
147
+ next_uri == o.next_uri &&
148
148
  last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [entities, page_size, page_number, total, self_uri, next_uri, first_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -28,12 +28,12 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :next_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :previous_uri
36
34
 
35
+ attr_accessor :next_uri
36
+
37
37
  attr_accessor :last_uri
38
38
 
39
39
  attr_accessor :page_count
@@ -52,12 +52,12 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'next_uri' => :'nextUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
57
  :'previous_uri' => :'previousUri',
60
58
 
59
+ :'next_uri' => :'nextUri',
60
+
61
61
  :'last_uri' => :'lastUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
@@ -73,9 +73,9 @@ module PureCloud
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
75
  :'self_uri' => :'String',
76
- :'next_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
77
  :'previous_uri' => :'String',
78
+ :'next_uri' => :'String',
79
79
  :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
@@ -111,10 +111,6 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'nextUri']
115
- self.next_uri = attributes[:'nextUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
@@ -123,6 +119,10 @@ module PureCloud
123
119
  self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
122
+ if attributes[:'nextUri']
123
+ self.next_uri = attributes[:'nextUri']
124
+ end
125
+
126
126
  if attributes[:'lastUri']
127
127
  self.last_uri = attributes[:'lastUri']
128
128
  end
@@ -142,9 +142,9 @@ module PureCloud
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
144
  self_uri == o.self_uri &&
145
- next_uri == o.next_uri &&
146
145
  first_uri == o.first_uri &&
147
146
  previous_uri == o.previous_uri &&
147
+ next_uri == o.next_uri &&
148
148
  last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [entities, page_size, page_number, total, self_uri, next_uri, first_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -28,12 +28,12 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :next_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :previous_uri
36
34
 
35
+ attr_accessor :next_uri
36
+
37
37
  attr_accessor :last_uri
38
38
 
39
39
  attr_accessor :page_count
@@ -52,12 +52,12 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'next_uri' => :'nextUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
57
  :'previous_uri' => :'previousUri',
60
58
 
59
+ :'next_uri' => :'nextUri',
60
+
61
61
  :'last_uri' => :'lastUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
@@ -73,9 +73,9 @@ module PureCloud
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
75
  :'self_uri' => :'String',
76
- :'next_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
77
  :'previous_uri' => :'String',
78
+ :'next_uri' => :'String',
79
79
  :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
@@ -111,10 +111,6 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'nextUri']
115
- self.next_uri = attributes[:'nextUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
@@ -123,6 +119,10 @@ module PureCloud
123
119
  self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
122
+ if attributes[:'nextUri']
123
+ self.next_uri = attributes[:'nextUri']
124
+ end
125
+
126
126
  if attributes[:'lastUri']
127
127
  self.last_uri = attributes[:'lastUri']
128
128
  end
@@ -142,9 +142,9 @@ module PureCloud
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
144
  self_uri == o.self_uri &&
145
- next_uri == o.next_uri &&
146
145
  first_uri == o.first_uri &&
147
146
  previous_uri == o.previous_uri &&
147
+ next_uri == o.next_uri &&
148
148
  last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [entities, page_size, page_number, total, self_uri, next_uri, first_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -28,12 +28,12 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :next_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :previous_uri
36
34
 
35
+ attr_accessor :next_uri
36
+
37
37
  attr_accessor :last_uri
38
38
 
39
39
  attr_accessor :page_count
@@ -52,12 +52,12 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'next_uri' => :'nextUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
57
  :'previous_uri' => :'previousUri',
60
58
 
59
+ :'next_uri' => :'nextUri',
60
+
61
61
  :'last_uri' => :'lastUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
@@ -73,9 +73,9 @@ module PureCloud
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
75
  :'self_uri' => :'String',
76
- :'next_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
77
  :'previous_uri' => :'String',
78
+ :'next_uri' => :'String',
79
79
  :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
@@ -111,10 +111,6 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'nextUri']
115
- self.next_uri = attributes[:'nextUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
@@ -123,6 +119,10 @@ module PureCloud
123
119
  self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
122
+ if attributes[:'nextUri']
123
+ self.next_uri = attributes[:'nextUri']
124
+ end
125
+
126
126
  if attributes[:'lastUri']
127
127
  self.last_uri = attributes[:'lastUri']
128
128
  end
@@ -142,9 +142,9 @@ module PureCloud
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
144
  self_uri == o.self_uri &&
145
- next_uri == o.next_uri &&
146
145
  first_uri == o.first_uri &&
147
146
  previous_uri == o.previous_uri &&
147
+ next_uri == o.next_uri &&
148
148
  last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [entities, page_size, page_number, total, self_uri, next_uri, first_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -0,0 +1,175 @@
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@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class Predicate
21
+ attr_accessor :question_id
22
+
23
+ attr_accessor :answer_id
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+
29
+ :'question_id' => :'questionId',
30
+
31
+ :'answer_id' => :'answerId'
32
+
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+ :'question_id' => :'String',
40
+ :'answer_id' => :'String'
41
+
42
+ }
43
+ end
44
+
45
+ def initialize(attributes = {})
46
+ return unless attributes.is_a?(Hash)
47
+
48
+ # convert string to symbol for hash key
49
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
50
+
51
+
52
+ if attributes[:'questionId']
53
+ self.question_id = attributes[:'questionId']
54
+ end
55
+
56
+ if attributes[:'answerId']
57
+ self.answer_id = attributes[:'answerId']
58
+ end
59
+
60
+ end
61
+
62
+ # Check equality by comparing each attribute.
63
+ def ==(o)
64
+ return true if self.equal?(o)
65
+ self.class == o.class &&
66
+ question_id == o.question_id &&
67
+ answer_id == o.answer_id
68
+ end
69
+
70
+ # @see the `==` method
71
+ def eql?(o)
72
+ self == o
73
+ end
74
+
75
+ # Calculate hash code according to all attributes.
76
+ def hash
77
+ [question_id, answer_id].hash
78
+ end
79
+
80
+ # build the object from hash
81
+ def build_from_hash(attributes)
82
+ return nil unless attributes.is_a?(Hash)
83
+ self.class.swagger_types.each_pair do |key, type|
84
+ if type =~ /^Array<(.*)>/i
85
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
86
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
87
+ else
88
+ #TODO show warning in debug mode
89
+ end
90
+ elsif !attributes[self.class.attribute_map[key]].nil?
91
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
92
+ else
93
+ # data not found in attributes(hash), not an issue as the data can be optional
94
+ end
95
+ end
96
+
97
+ self
98
+ end
99
+
100
+ def _deserialize(type, value)
101
+ case type.to_sym
102
+ when :DateTime
103
+ DateTime.parse(value)
104
+ when :Date
105
+ Date.parse(value)
106
+ when :String
107
+ value.to_s
108
+ when :Integer
109
+ value.to_i
110
+ when :Float
111
+ value.to_f
112
+ when :BOOLEAN
113
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
114
+ true
115
+ else
116
+ false
117
+ end
118
+ when :Object
119
+ # generic object (usually a Hash), return directly
120
+ value
121
+ when /\AArray<(?<inner_type>.+)>\z/
122
+ inner_type = Regexp.last_match[:inner_type]
123
+ value.map { |v| _deserialize(inner_type, v) }
124
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
125
+ k_type = Regexp.last_match[:k_type]
126
+ v_type = Regexp.last_match[:v_type]
127
+ {}.tap do |hash|
128
+ value.each do |k, v|
129
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
130
+ end
131
+ end
132
+ else # model
133
+ _model = Object.const_get("PureCloud").const_get(type).new
134
+ _model.build_from_hash(value)
135
+ end
136
+ end
137
+
138
+ def to_s
139
+ to_hash.to_s
140
+ end
141
+
142
+ # to_body is an alias to to_body (backward compatibility))
143
+ def to_body
144
+ to_hash
145
+ end
146
+
147
+ # return the object in the form of hash
148
+ def to_hash
149
+ hash = {}
150
+ self.class.attribute_map.each_pair do |attr, param|
151
+ value = self.send(attr)
152
+ next if value.nil?
153
+ hash[param] = _to_hash(value)
154
+ end
155
+ hash
156
+ end
157
+
158
+ # Method to output non-array value in the form of hash
159
+ # For object, use to_hash. Otherwise, just return the value
160
+ def _to_hash(value)
161
+ if value.is_a?(Array)
162
+ value.compact.map{ |v| _to_hash(v) }
163
+ elsif value.is_a?(Hash)
164
+ {}.tap do |hash|
165
+ value.each { |k, v| hash[k] = _to_hash(v) }
166
+ end
167
+ elsif value.respond_to? :to_hash
168
+ value.to_hash
169
+ else
170
+ value
171
+ end
172
+ end
173
+
174
+ end
175
+ end