purecloud 0.68.1 → 0.69.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/bin/notificationMappings.json +12 -4
  4. data/config-ruby.json +1 -1
  5. data/doc_out/AgentActivityEntityListing.html.md +3 -3
  6. data/doc_out/AggregateViewData.html.md +14 -0
  7. data/doc_out/AggregationQuery.html.md +1 -0
  8. data/doc_out/AnalyticsView.html.md +16 -0
  9. data/doc_out/AnswerOption.html.md +15 -0
  10. data/doc_out/AttemptLimitsEntityListing.html.md +3 -3
  11. data/doc_out/AttemptLimitsNotificationRecallEntries.html.md +2 -2
  12. data/doc_out/AttributeEntityListing.html.md +3 -3
  13. data/doc_out/AvailableTopic.html.md +2 -2
  14. data/doc_out/CalibrationEntityListing.html.md +3 -3
  15. data/doc_out/CallBasic.html.md +31 -0
  16. data/doc_out/CallConversationEntityListing.html.md +3 -3
  17. data/doc_out/CallConversationNotificationCallMediaParticipant.html.md +1 -0
  18. data/doc_out/CallConversationNotificationErrorInfo.html.md +7 -7
  19. data/doc_out/CallConversationNotificationFaxStatus.html.md +5 -5
  20. data/doc_out/CallConversationNotificationParticipants.html.md +25 -24
  21. data/doc_out/CallConversationNotificationWrapup.html.md +18 -0
  22. data/doc_out/CallMediaParticipant.html.md +1 -0
  23. data/doc_out/CallableTimeSetEntityListing.html.md +3 -3
  24. data/doc_out/CallableTimeSetNotificationCallableTimes.html.md +1 -1
  25. data/doc_out/CallableTimeSetNotificationTimeSlots.html.md +1 -1
  26. data/doc_out/CallbackBasic.html.md +30 -0
  27. data/doc_out/CallbackConversationEntityListing.html.md +3 -3
  28. data/doc_out/CallbackConversationNotificationCallbackMediaParticipant.html.md +1 -0
  29. data/doc_out/CallbackConversationNotificationErrorInfo.html.md +7 -7
  30. data/doc_out/CallbackConversationNotificationErrorInfoDetails.html.md +2 -2
  31. data/doc_out/CallbackConversationNotificationParticipants.html.md +24 -23
  32. data/doc_out/CallbackConversationNotificationWrapup.html.md +18 -0
  33. data/doc_out/CallbackMediaParticipant.html.md +1 -0
  34. data/doc_out/CampaignEntityListing.html.md +3 -3
  35. data/doc_out/CampaignInteraction.html.md +1 -1
  36. data/doc_out/CampaignNotificationContactSort.html.md +1 -1
  37. data/doc_out/CampaignNotificationErrors.html.md +1 -1
  38. data/doc_out/CampaignNotificationPhoneColumns.html.md +1 -1
  39. data/doc_out/CampaignRuleEntityListing.html.md +3 -3
  40. data/doc_out/CampaignRuleNotificationCampaignRuleActionEntities.html.md +2 -2
  41. data/doc_out/CampaignRuleNotificationCampaignRuleActions.html.md +1 -1
  42. data/doc_out/CampaignRuleNotificationCampaignRuleConditions.html.md +1 -1
  43. data/doc_out/CampaignRuleNotificationCampaignRuleEntities.html.md +1 -1
  44. data/doc_out/CampaignScheduleNotificationIntervals.html.md +1 -1
  45. data/doc_out/CampaignSequenceEntityListing.html.md +3 -3
  46. data/doc_out/CampaignStats.html.md +2 -0
  47. data/doc_out/CertificateAuthorityEntityListing.html.md +3 -3
  48. data/doc_out/Channel.html.md +1 -1
  49. data/doc_out/ChannelEntityListing.html.md +0 -9
  50. data/doc_out/ChannelTopic.html.md +1 -1
  51. data/doc_out/ChatConversationEntityListing.html.md +3 -3
  52. data/doc_out/ChatConversationNotificationChatMediaParticipant.html.md +1 -0
  53. data/doc_out/ChatConversationNotificationErrorInfo.html.md +7 -7
  54. data/doc_out/ChatConversationNotificationParticipants.html.md +17 -16
  55. data/doc_out/ChatConversationNotificationWrapup.html.md +18 -0
  56. data/doc_out/ChatMediaParticipant.html.md +1 -0
  57. data/doc_out/CobrowseConversationEntityListing.html.md +3 -3
  58. data/doc_out/CobrowseConversationNotificationCobrowseMediaParticipant.html.md +1 -0
  59. data/doc_out/CobrowseConversationNotificationErrorInfo.html.md +7 -7
  60. data/doc_out/CobrowseConversationNotificationParticipants.html.md +22 -21
  61. data/doc_out/CobrowseConversationNotificationWrapup.html.md +18 -0
  62. data/doc_out/CobrowseMediaParticipant.html.md +1 -0
  63. data/doc_out/CommandStatusEntityListing.html.md +3 -3
  64. data/doc_out/ContactList.html.md +1 -0
  65. data/doc_out/ContactListEntityListing.html.md +3 -3
  66. data/doc_out/ContactListNotificationImportStatus.html.md +3 -3
  67. data/doc_out/ContactListNotificationPhoneColumns.html.md +1 -1
  68. data/doc_out/ConversationBasic.html.md +18 -0
  69. data/doc_out/ConversationEntityListing.html.md +3 -3
  70. data/doc_out/ConversationNotificationCallbacks.html.md +11 -11
  71. data/doc_out/ConversationNotificationCalls.html.md +12 -12
  72. data/doc_out/ConversationNotificationChats.html.md +5 -5
  73. data/doc_out/ConversationNotificationCobrowsesessions.html.md +8 -8
  74. data/doc_out/ConversationNotificationDialerPreview.html.md +3 -3
  75. data/doc_out/ConversationNotificationDisconnectReasons.html.md +1 -1
  76. data/doc_out/ConversationNotificationEmails.html.md +7 -7
  77. data/doc_out/ConversationNotificationErrorInfo.html.md +4 -4
  78. data/doc_out/ConversationNotificationFaxStatus.html.md +5 -5
  79. data/doc_out/ConversationNotificationParticipants.html.md +20 -20
  80. data/doc_out/ConversationNotificationScreenshares.html.md +7 -7
  81. data/doc_out/ConversationNotificationSelf.html.md +3 -3
  82. data/doc_out/ConversationNotificationSocialExpressions.html.md +5 -5
  83. data/doc_out/ConversationNotificationVideos.html.md +7 -7
  84. data/doc_out/ConversationNotificationWrapup.html.md +4 -4
  85. data/doc_out/CreateEmailRequest.html.md +1 -0
  86. data/doc_out/DIDEntityListing.html.md +3 -3
  87. data/doc_out/DIDPoolEntityListing.html.md +3 -3
  88. data/doc_out/DncListCreate.html.md +24 -0
  89. data/doc_out/DncListEntityListing.html.md +3 -3
  90. data/doc_out/DocumentAuditEntityListing.html.md +3 -3
  91. data/doc_out/DocumentDataV2NotificationCreatedBy.html.md +1 -1
  92. data/doc_out/DocumentDataV2NotificationLockInfo.html.md +1 -1
  93. data/doc_out/DocumentEntityListing.html.md +3 -3
  94. data/doc_out/DocumentationResult.html.md +32 -0
  95. data/doc_out/{ForecastSearchCriteria.html.md → DocumentationSearchCriteria.html.md} +3 -3
  96. data/doc_out/{ForecastSearchRequest.html.md → DocumentationSearchRequest.html.md} +3 -6
  97. data/doc_out/DocumentationSearchResponse.html.md +21 -0
  98. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -0
  99. data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +3 -3
  100. data/doc_out/DomainEntityListing.html.md +3 -3
  101. data/doc_out/DomainEntityListingEvaluationForm.html.md +3 -3
  102. data/doc_out/DomainEntityListingQueryResult.html.md +3 -3
  103. data/doc_out/DomainOrganizationRole.html.md +1 -1
  104. data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
  105. data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
  106. data/doc_out/EdgeEntityListing.html.md +3 -3
  107. data/doc_out/EdgeGroup.html.md +1 -1
  108. data/doc_out/EdgeGroupEntityListing.html.md +3 -3
  109. data/doc_out/EdgeLineEntityListing.html.md +3 -3
  110. data/doc_out/EdgeServiceStateRequest.html.md +14 -0
  111. data/doc_out/EdgeTrunkBase.html.md +27 -0
  112. data/doc_out/EmailConversationEntityListing.html.md +3 -3
  113. data/doc_out/EmailConversationNotificationEmailMediaParticipant.html.md +1 -0
  114. data/doc_out/EmailConversationNotificationErrorInfo.html.md +7 -7
  115. data/doc_out/EmailConversationNotificationParticipants.html.md +19 -18
  116. data/doc_out/EmailConversationNotificationWrapup.html.md +18 -0
  117. data/doc_out/EmailMediaParticipant.html.md +1 -0
  118. data/doc_out/EmailMessageListing.html.md +3 -3
  119. data/doc_out/EncryptionKeyEntityListing.html.md +3 -3
  120. data/doc_out/EndpointEntityListing.html.md +3 -3
  121. data/doc_out/Entry.html.md +2 -2
  122. data/doc_out/EvaluationEntityListing.html.md +3 -3
  123. data/doc_out/EvaluationFormEntityListing.html.md +3 -3
  124. data/doc_out/EvaluatorActivityEntityListing.html.md +3 -3
  125. data/doc_out/ExtensionEntityListing.html.md +3 -3
  126. data/doc_out/ExtensionPoolEntityListing.html.md +3 -3
  127. data/doc_out/FaxDataV2NotificationLockInfo.html.md +1 -1
  128. data/doc_out/FaxDocumentEntityListing.html.md +3 -3
  129. data/doc_out/{EntryFeatureBoolean.html.md → FeatureState.html.md} +3 -4
  130. data/doc_out/GSuite.html.md +20 -0
  131. data/doc_out/Geolocation.html.md +1 -0
  132. data/doc_out/GreetingListing.html.md +3 -3
  133. data/doc_out/GreetingsApi.html.md +3 -4
  134. data/doc_out/GroupEntityListing.html.md +3 -3
  135. data/doc_out/GroupSearchRequest.html.md +0 -2
  136. data/doc_out/GroupsApi.html.md +3 -4
  137. data/doc_out/HeartBeatAlertContainer.html.md +3 -3
  138. data/doc_out/HeartBeatAlertNotificationNotificationUsers.html.md +1 -1
  139. data/doc_out/HeartBeatRuleContainer.html.md +3 -3
  140. data/doc_out/IdentityProviderApi.html.md +247 -65
  141. data/doc_out/InboundDomainEntityListing.html.md +3 -3
  142. data/doc_out/InboundRouteEntityListing.html.md +3 -3
  143. data/doc_out/InteractionStatsAlertContainer.html.md +3 -3
  144. data/doc_out/InteractionStatsRuleContainer.html.md +3 -3
  145. data/doc_out/JsonNode.html.md +3 -3
  146. data/doc_out/KeywordSet.html.md +0 -1
  147. data/doc_out/KeywordSetEntityListing.html.md +3 -3
  148. data/doc_out/LanguageEntityListing.html.md +3 -3
  149. data/doc_out/LibraryEntityListing.html.md +3 -3
  150. data/doc_out/LineBaseEntityListing.html.md +3 -3
  151. data/doc_out/LineEntityListing.html.md +3 -3
  152. data/doc_out/LocalEncryptionConfigurationListing.html.md +1 -8
  153. data/doc_out/LocationSearchRequest.html.md +0 -2
  154. data/doc_out/LogicalInterfaceEntityListing.html.md +3 -3
  155. data/doc_out/NotificationsApi.html.md +7 -8
  156. data/doc_out/OAuthApi.html.md +4 -3
  157. data/doc_out/OAuthClientEntityListing.html.md +3 -3
  158. data/doc_out/OAuthProviderEntityListing.html.md +3 -3
  159. data/doc_out/OrganizationApi.html.md +13 -11
  160. data/doc_out/OrganizationFeatures.html.md +25 -0
  161. data/doc_out/OrganizationPresenceEntityListing.html.md +3 -3
  162. data/doc_out/OrganizationRoleEntityListing.html.md +3 -3
  163. data/doc_out/OrphanRecordingListing.html.md +3 -3
  164. data/doc_out/OutboundApi.html.md +8 -8
  165. data/doc_out/OutboundRouteBaseEntityListing.html.md +3 -3
  166. data/doc_out/OutboundRouteEntityListing.html.md +3 -3
  167. data/doc_out/ParticipantBasic.html.md +48 -0
  168. data/doc_out/PermissionCollectionEntityListing.html.md +3 -3
  169. data/doc_out/PhoneBaseEntityListing.html.md +3 -3
  170. data/doc_out/PhoneEntityListing.html.md +3 -3
  171. data/doc_out/PhoneMetaBaseEntityListing.html.md +3 -3
  172. data/doc_out/PhysicalInterfaceEntityListing.html.md +3 -3
  173. data/doc_out/PingIdentity.html.md +20 -0
  174. data/doc_out/PolicyEntityListing.html.md +3 -3
  175. data/doc_out/PredictionResults.html.md +1 -0
  176. data/doc_out/QualityAudit.html.md +1 -1
  177. data/doc_out/QualityAuditPage.html.md +3 -3
  178. data/doc_out/Question.html.md +24 -0
  179. data/doc_out/QuestionGroup.html.md +1 -1
  180. data/doc_out/QueueEntityListing.html.md +3 -3
  181. data/doc_out/QueueMember.html.md +1 -1
  182. data/doc_out/QueueMemberEntityListing.html.md +3 -3
  183. data/doc_out/RecordingDataV2NotificationLockInfo.html.md +1 -1
  184. data/doc_out/ReportMetaDataEntityListing.html.md +3 -3
  185. data/doc_out/ReportRunEntryEntityDomainListing.html.md +3 -3
  186. data/doc_out/ReportScheduleEntityListing.html.md +3 -3
  187. data/doc_out/Response.html.md +1 -0
  188. data/doc_out/ResponseEntityList.html.md +3 -3
  189. data/doc_out/ResponseEntityListing.html.md +3 -3
  190. data/doc_out/ResponseSetEntityListing.html.md +3 -3
  191. data/doc_out/ResponseSetNotificationResponses.html.md +2 -2
  192. data/doc_out/ResponseSubstitution.html.md +15 -0
  193. data/doc_out/RoutingApi.html.md +23 -290
  194. data/doc_out/RoutingStatusAlertContainer.html.md +3 -3
  195. data/doc_out/RoutingStatusRuleContainer.html.md +3 -3
  196. data/doc_out/RuleSetEntityListing.html.md +3 -3
  197. data/doc_out/RuleSetNotificationActions.html.md +2 -2
  198. data/doc_out/RuleSetNotificationConditions.html.md +4 -4
  199. data/doc_out/RuleSetNotificationRules.html.md +4 -4
  200. data/doc_out/SchemaCategoryEntityListing.html.md +3 -3
  201. data/doc_out/SchemaReferenceEntityListing.html.md +3 -3
  202. data/doc_out/ScreenRecordingSessionListing.html.md +3 -3
  203. data/doc_out/ScreenShareConversationNotificationErrorInfo.html.md +7 -7
  204. data/doc_out/ScreenShareConversationNotificationParticipants.html.md +18 -17
  205. data/doc_out/ScreenShareConversationNotificationScreenShareMediaParticipant.html.md +1 -0
  206. data/doc_out/ScreenShareConversationNotificationWrapup.html.md +18 -0
  207. data/doc_out/ScriptEntityListing.html.md +3 -3
  208. data/doc_out/ScriptsApi.html.md +10 -2
  209. data/doc_out/SearchApi.html.md +168 -48
  210. data/doc_out/SearchRequest.html.md +1 -1
  211. data/doc_out/SecurityProfileEntityListing.html.md +3 -3
  212. data/doc_out/ShareEntityListing.html.md +3 -3
  213. data/doc_out/SiteEntityListing.html.md +3 -3
  214. data/doc_out/SkillEntityListing.html.md +3 -3
  215. data/doc_out/SocialConversationNotificationErrorInfo.html.md +7 -7
  216. data/doc_out/SocialConversationNotificationParticipants.html.md +20 -19
  217. data/doc_out/SocialConversationNotificationSocialMediaParticipant.html.md +1 -0
  218. data/doc_out/SocialConversationNotificationWrapup.html.md +18 -0
  219. data/doc_out/StationEntityListing.html.md +3 -3
  220. data/doc_out/StatisticalResponse.html.md +1 -0
  221. data/doc_out/TagValueEntityListing.html.md +3 -3
  222. data/doc_out/TelephonyProvidersEdgeApi.html.md +347 -79
  223. data/doc_out/TimeOffRequestUpdateNotification.html.md +28 -0
  224. data/doc_out/TimeOffRequestUpdateNotificationUser.html.md +13 -0
  225. data/doc_out/TimeZoneEntityListing.html.md +3 -3
  226. data/doc_out/TransferRequest.html.md +1 -1
  227. data/doc_out/Trunk.html.md +2 -1
  228. data/doc_out/TrunkBase.html.md +1 -1
  229. data/doc_out/TrunkBaseEntityListing.html.md +3 -3
  230. data/doc_out/TrunkEntityListing.html.md +3 -3
  231. data/doc_out/TrunkMetabaseEntityListing.html.md +3 -3
  232. data/doc_out/TrunkMetrics.html.md +17 -0
  233. data/doc_out/TrunkMetricsCalls.html.md +14 -0
  234. data/doc_out/TrunkMetricsQoS.html.md +13 -0
  235. data/doc_out/User.html.md +1 -0
  236. data/doc_out/UserConversationSummaryNotificationCallContactCenter.html.md +1 -1
  237. data/doc_out/UserEntityListing.html.md +3 -3
  238. data/doc_out/UserMe.html.md +1 -0
  239. data/doc_out/UserPresenceAlertContainer.html.md +3 -3
  240. data/doc_out/UserPresenceNotificationPresenceDefinition.html.md +1 -1
  241. data/doc_out/UserPresenceRuleContainer.html.md +3 -3
  242. data/doc_out/UserQueueEntityListing.html.md +3 -3
  243. data/doc_out/UserRecordingEntityListing.html.md +3 -3
  244. data/doc_out/UserScheduleAdherenceUpdateNotification.html.md +22 -0
  245. data/doc_out/UserScheduleAdherenceUpdateNotificationUser.html.md +13 -0
  246. data/doc_out/UserSearchRequest.html.md +0 -1
  247. data/doc_out/UserSkillEntityListing.html.md +3 -3
  248. data/doc_out/UserStationsNotification.html.md +13 -0
  249. data/doc_out/UserStationsNotificationAssociatedStation.html.md +15 -0
  250. data/doc_out/UserStationsNotificationUser.html.md +13 -0
  251. data/doc_out/UserStationsNotificationUserStation.html.md +15 -0
  252. data/doc_out/UsersApi.html.md +2 -2
  253. data/doc_out/VideoConversationNotificationErrorInfo.html.md +7 -7
  254. data/doc_out/VideoConversationNotificationParticipants.html.md +20 -19
  255. data/doc_out/VideoConversationNotificationVideoMediaParticipant.html.md +1 -0
  256. data/doc_out/VideoConversationNotificationWrapup.html.md +18 -0
  257. data/doc_out/VoicemailMessageEntityListing.html.md +3 -3
  258. data/doc_out/VoicemailSearchRequest.html.md +0 -1
  259. data/doc_out/WorkforceManagementApi.html.md +15 -134
  260. data/doc_out/WorkspaceEntityListing.html.md +3 -3
  261. data/doc_out/WorkspaceMemberEntityListing.html.md +3 -3
  262. data/doc_out/WrapUpCodeMappingNotification.html.md +2 -3
  263. data/doc_out/WrapupCodeEntityListing.html.md +3 -3
  264. data/doc_out/index.html.md +3 -3
  265. data/lib/purecloud.rb +39 -15
  266. data/lib/purecloud/api/greetings_api.rb +5 -6
  267. data/lib/purecloud/api/groups_api.rb +5 -6
  268. data/lib/purecloud/api/identity_provider_api.rb +280 -96
  269. data/lib/purecloud/api/notifications_api.rb +9 -10
  270. data/lib/purecloud/api/o_auth_api.rb +6 -5
  271. data/lib/purecloud/api/organization_api.rb +23 -12
  272. data/lib/purecloud/api/outbound_api.rb +9 -9
  273. data/lib/purecloud/api/routing_api.rb +32 -297
  274. data/lib/purecloud/api/scripts_api.rb +9 -0
  275. data/lib/purecloud/api/search_api.rb +180 -59
  276. data/lib/purecloud/api/telephony_providers_edge_api.rb +368 -89
  277. data/lib/purecloud/api/users_api.rb +3 -3
  278. data/lib/purecloud/api/workforce_management_api.rb +20 -139
  279. data/lib/purecloud/api_client.rb +1 -1
  280. data/lib/purecloud/models/agent_activity_entity_listing.rb +23 -23
  281. data/lib/purecloud/models/aggregate_view_data.rb +175 -0
  282. data/lib/purecloud/models/aggregation_query.rb +17 -4
  283. data/lib/purecloud/models/analytics_view.rb +208 -0
  284. data/lib/purecloud/models/{entry_feature_boolean.rb → answer_option.rb} +23 -22
  285. data/lib/purecloud/models/attempt_limits_entity_listing.rb +23 -23
  286. data/lib/purecloud/models/attempt_limits_notification_recall_entries.rb +13 -13
  287. data/lib/purecloud/models/attribute_entity_listing.rb +23 -23
  288. data/lib/purecloud/models/available_topic.rb +22 -22
  289. data/lib/purecloud/models/calibration_entity_listing.rb +23 -23
  290. data/lib/purecloud/models/call_basic.rb +403 -0
  291. data/lib/purecloud/models/call_conversation_entity_listing.rb +23 -23
  292. data/lib/purecloud/models/call_conversation_notification_call_media_participant.rb +11 -1
  293. data/lib/purecloud/models/call_conversation_notification_error_info.rb +61 -61
  294. data/lib/purecloud/models/call_conversation_notification_fax_status.rb +39 -39
  295. data/lib/purecloud/models/call_conversation_notification_participants.rb +193 -183
  296. data/lib/purecloud/models/call_conversation_notification_wrapup.rb +217 -0
  297. data/lib/purecloud/models/call_media_participant.rb +12 -1
  298. data/lib/purecloud/models/callable_time_set_entity_listing.rb +23 -23
  299. data/lib/purecloud/models/callable_time_set_notification_callable_times.rb +14 -14
  300. data/lib/purecloud/models/callable_time_set_notification_time_slots.rb +14 -14
  301. data/lib/purecloud/models/callback_basic.rb +384 -0
  302. data/lib/purecloud/models/callback_conversation_entity_listing.rb +23 -23
  303. data/lib/purecloud/models/callback_conversation_notification_callback_media_participant.rb +11 -1
  304. data/lib/purecloud/models/callback_conversation_notification_error_info.rb +61 -61
  305. data/lib/purecloud/models/callback_conversation_notification_error_info_details.rb +23 -23
  306. data/lib/purecloud/models/callback_conversation_notification_participants.rb +185 -175
  307. data/lib/purecloud/models/callback_conversation_notification_wrapup.rb +217 -0
  308. data/lib/purecloud/models/callback_media_participant.rb +12 -1
  309. data/lib/purecloud/models/campaign_entity_listing.rb +23 -23
  310. data/lib/purecloud/models/campaign_interaction.rb +1 -1
  311. data/lib/purecloud/models/campaign_notification_contact_sort.rb +14 -14
  312. data/lib/purecloud/models/campaign_notification_errors.rb +13 -13
  313. data/lib/purecloud/models/campaign_notification_phone_columns.rb +13 -13
  314. data/lib/purecloud/models/campaign_rule_action.rb +1 -1
  315. data/lib/purecloud/models/campaign_rule_entity_listing.rb +23 -23
  316. data/lib/purecloud/models/campaign_rule_notification_campaign_rule_action_entities.rb +25 -25
  317. data/lib/purecloud/models/campaign_rule_notification_campaign_rule_actions.rb +11 -11
  318. data/lib/purecloud/models/campaign_rule_notification_campaign_rule_conditions.rb +11 -11
  319. data/lib/purecloud/models/campaign_rule_notification_campaign_rule_entities.rb +15 -15
  320. data/lib/purecloud/models/campaign_schedule_notification_intervals.rb +13 -13
  321. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +23 -23
  322. data/lib/purecloud/models/campaign_stats.rb +26 -4
  323. data/lib/purecloud/models/certificate_authority_entity_listing.rb +23 -23
  324. data/lib/purecloud/models/channel.rb +14 -14
  325. data/lib/purecloud/models/channel_entity_listing.rb +4 -94
  326. data/lib/purecloud/models/chat_conversation_entity_listing.rb +23 -23
  327. data/lib/purecloud/models/chat_conversation_notification_chat_media_participant.rb +11 -1
  328. data/lib/purecloud/models/chat_conversation_notification_error_info.rb +61 -61
  329. data/lib/purecloud/models/chat_conversation_notification_participants.rb +144 -134
  330. data/lib/purecloud/models/chat_conversation_notification_wrapup.rb +217 -0
  331. data/lib/purecloud/models/chat_media_participant.rb +12 -1
  332. data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +23 -23
  333. data/lib/purecloud/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +11 -1
  334. data/lib/purecloud/models/cobrowse_conversation_notification_error_info.rb +61 -61
  335. data/lib/purecloud/models/cobrowse_conversation_notification_participants.rb +168 -158
  336. data/lib/purecloud/models/cobrowse_conversation_notification_wrapup.rb +217 -0
  337. data/lib/purecloud/models/cobrowse_media_participant.rb +12 -1
  338. data/lib/purecloud/models/command_status_entity_listing.rb +23 -23
  339. data/lib/purecloud/models/contact_list.rb +12 -1
  340. data/lib/purecloud/models/contact_list_entity_listing.rb +23 -23
  341. data/lib/purecloud/models/contact_list_notification_import_status.rb +27 -27
  342. data/lib/purecloud/models/contact_list_notification_phone_columns.rb +14 -14
  343. data/lib/purecloud/models/{edge_metrics_network.rb → conversation_basic.rb} +48 -37
  344. data/lib/purecloud/models/conversation_entity_listing.rb +23 -23
  345. data/lib/purecloud/models/conversation_notification_callbacks.rb +95 -95
  346. data/lib/purecloud/models/conversation_notification_calls.rb +117 -117
  347. data/lib/purecloud/models/conversation_notification_chats.rb +46 -46
  348. data/lib/purecloud/models/conversation_notification_cobrowsesessions.rb +71 -71
  349. data/lib/purecloud/models/conversation_notification_dialer_preview.rb +25 -25
  350. data/lib/purecloud/models/conversation_notification_disconnect_reasons.rb +11 -11
  351. data/lib/purecloud/models/conversation_notification_emails.rb +59 -59
  352. data/lib/purecloud/models/conversation_notification_error_info.rb +35 -35
  353. data/lib/purecloud/models/conversation_notification_fax_status.rb +39 -39
  354. data/lib/purecloud/models/conversation_notification_participants.rb +154 -154
  355. data/lib/purecloud/models/conversation_notification_screenshares.rb +55 -55
  356. data/lib/purecloud/models/conversation_notification_self.rb +27 -27
  357. data/lib/purecloud/models/conversation_notification_social_expressions.rb +57 -57
  358. data/lib/purecloud/models/conversation_notification_videos.rb +61 -61
  359. data/lib/purecloud/models/conversation_notification_wrapup.rb +35 -35
  360. data/lib/purecloud/models/create_email_request.rb +24 -4
  361. data/lib/purecloud/models/did_entity_listing.rb +23 -23
  362. data/lib/purecloud/models/did_pool_entity_listing.rb +23 -23
  363. data/lib/purecloud/models/dnc_list_create.rb +298 -0
  364. data/lib/purecloud/models/dnc_list_entity_listing.rb +23 -23
  365. data/lib/purecloud/models/document_audit_entity_listing.rb +23 -23
  366. data/lib/purecloud/models/document_data_v2_notification_created_by.rb +13 -13
  367. data/lib/purecloud/models/document_data_v2_notification_lock_info.rb +11 -11
  368. data/lib/purecloud/models/document_entity_listing.rb +23 -23
  369. data/lib/purecloud/models/documentation_result.rb +395 -0
  370. data/lib/purecloud/models/{forecast_search_criteria.rb → documentation_search_criteria.rb} +3 -3
  371. data/lib/purecloud/models/{forecast_search_request.rb → documentation_search_request.rb} +3 -42
  372. data/lib/purecloud/models/{decisions_file_metadata_entity_listing.rb → documentation_search_response.rb} +61 -60
  373. data/lib/purecloud/models/domain_edge_software_update_dto.rb +11 -1
  374. data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
  375. data/lib/purecloud/models/domain_entity_listing.rb +23 -23
  376. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +23 -23
  377. data/lib/purecloud/models/domain_entity_listing_query_result.rb +23 -23
  378. data/lib/purecloud/models/domain_organization_role.rb +11 -11
  379. data/lib/purecloud/models/domain_organization_role_create.rb +11 -11
  380. data/lib/purecloud/models/domain_organization_role_update.rb +11 -11
  381. data/lib/purecloud/models/edge_entity_listing.rb +23 -23
  382. data/lib/purecloud/models/edge_group_entity_listing.rb +23 -23
  383. data/lib/purecloud/models/edge_line_entity_listing.rb +23 -23
  384. data/lib/purecloud/models/{edge_metrics_disk.rb → edge_service_state_request.rb} +16 -27
  385. data/lib/purecloud/models/edge_trunk_base.rb +332 -0
  386. data/lib/purecloud/models/email_conversation_entity_listing.rb +23 -23
  387. data/lib/purecloud/models/email_conversation_notification_email_media_participant.rb +11 -1
  388. data/lib/purecloud/models/email_conversation_notification_error_info.rb +61 -61
  389. data/lib/purecloud/models/email_conversation_notification_participants.rb +147 -137
  390. data/lib/purecloud/models/email_conversation_notification_wrapup.rb +217 -0
  391. data/lib/purecloud/models/email_media_participant.rb +12 -1
  392. data/lib/purecloud/models/email_message_listing.rb +23 -23
  393. data/lib/purecloud/models/encryption_key_entity_listing.rb +23 -23
  394. data/lib/purecloud/models/endpoint_entity_listing.rb +23 -23
  395. data/lib/purecloud/models/entry.rb +10 -8
  396. data/lib/purecloud/models/evaluation_entity_listing.rb +23 -23
  397. data/lib/purecloud/models/evaluation_form_entity_listing.rb +23 -23
  398. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +23 -23
  399. data/lib/purecloud/models/extension_entity_listing.rb +23 -23
  400. data/lib/purecloud/models/extension_pool_entity_listing.rb +23 -23
  401. data/lib/purecloud/models/fax_data_v2_notification_lock_info.rb +11 -11
  402. data/lib/purecloud/models/fax_document_entity_listing.rb +23 -23
  403. data/lib/purecloud/models/feature_state.rb +165 -0
  404. data/lib/purecloud/models/{decisions_download_metadata.rb → g_suite.rb} +32 -37
  405. data/lib/purecloud/models/geolocation.rb +13 -1
  406. data/lib/purecloud/models/greeting_listing.rb +23 -23
  407. data/lib/purecloud/models/group_entity_listing.rb +23 -23
  408. data/lib/purecloud/models/group_search_request.rb +1 -27
  409. data/lib/purecloud/models/heart_beat_alert_container.rb +23 -23
  410. data/lib/purecloud/models/heart_beat_alert_notification_notification_users.rb +13 -13
  411. data/lib/purecloud/models/heart_beat_rule_container.rb +23 -23
  412. data/lib/purecloud/models/inbound_domain_entity_listing.rb +23 -23
  413. data/lib/purecloud/models/inbound_route_entity_listing.rb +23 -23
  414. data/lib/purecloud/models/interaction_stats_alert_container.rb +23 -23
  415. data/lib/purecloud/models/interaction_stats_rule_container.rb +23 -23
  416. data/lib/purecloud/models/json_node.rb +34 -34
  417. data/lib/purecloud/models/keyword_set.rb +1 -11
  418. data/lib/purecloud/models/keyword_set_entity_listing.rb +23 -23
  419. data/lib/purecloud/models/language_entity_listing.rb +23 -23
  420. data/lib/purecloud/models/library_entity_listing.rb +23 -23
  421. data/lib/purecloud/models/line_base_entity_listing.rb +23 -23
  422. data/lib/purecloud/models/line_entity_listing.rb +23 -23
  423. data/lib/purecloud/models/local_encryption_configuration_listing.rb +13 -83
  424. data/lib/purecloud/models/location_search_request.rb +1 -27
  425. data/lib/purecloud/models/logical_interface_entity_listing.rb +23 -23
  426. data/lib/purecloud/models/o_auth_client_entity_listing.rb +23 -23
  427. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +23 -23
  428. data/lib/purecloud/models/organization_features.rb +285 -0
  429. data/lib/purecloud/models/organization_presence_entity_listing.rb +23 -23
  430. data/lib/purecloud/models/organization_role_entity_listing.rb +23 -23
  431. data/lib/purecloud/models/orphan_recording_listing.rb +23 -23
  432. data/lib/purecloud/models/outbound_route_base_entity_listing.rb +23 -23
  433. data/lib/purecloud/models/outbound_route_entity_listing.rb +23 -23
  434. data/lib/purecloud/models/participant_basic.rb +571 -0
  435. data/lib/purecloud/models/permission_collection_entity_listing.rb +23 -23
  436. data/lib/purecloud/models/phone_base_entity_listing.rb +23 -23
  437. data/lib/purecloud/models/phone_entity_listing.rb +23 -23
  438. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +23 -23
  439. data/lib/purecloud/models/physical_interface_entity_listing.rb +23 -23
  440. data/lib/purecloud/models/ping_identity.rb +237 -0
  441. data/lib/purecloud/models/policy_entity_listing.rb +23 -23
  442. data/lib/purecloud/models/prediction_results.rb +22 -2
  443. data/lib/purecloud/models/quality_audit.rb +11 -11
  444. data/lib/purecloud/models/quality_audit_page.rb +23 -23
  445. data/lib/purecloud/models/{billing_task_result_notification.rb → question.rb} +80 -66
  446. data/lib/purecloud/models/question_group.rb +1 -1
  447. data/lib/purecloud/models/queue_entity_listing.rb +23 -23
  448. data/lib/purecloud/models/queue_member.rb +1 -1
  449. data/lib/purecloud/models/queue_member_entity_listing.rb +23 -23
  450. data/lib/purecloud/models/recording_data_v2_notification_lock_info.rb +11 -11
  451. data/lib/purecloud/models/report_meta_data_entity_listing.rb +23 -23
  452. data/lib/purecloud/models/report_run_entry.rb +1 -1
  453. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +23 -23
  454. data/lib/purecloud/models/report_schedule_entity_listing.rb +23 -23
  455. data/lib/purecloud/models/response.rb +14 -1
  456. data/lib/purecloud/models/response_entity_list.rb +23 -23
  457. data/lib/purecloud/models/response_entity_listing.rb +23 -23
  458. data/lib/purecloud/models/response_set_entity_listing.rb +23 -23
  459. data/lib/purecloud/models/response_set_notification_responses.rb +23 -23
  460. data/lib/purecloud/models/{forecast_creation_completion.rb → response_substitution.rb} +21 -29
  461. data/lib/purecloud/models/routing_status_alert_container.rb +23 -23
  462. data/lib/purecloud/models/routing_status_rule_container.rb +23 -23
  463. data/lib/purecloud/models/rule_set_entity_listing.rb +23 -23
  464. data/lib/purecloud/models/rule_set_notification_actions.rb +23 -23
  465. data/lib/purecloud/models/rule_set_notification_conditions.rb +35 -35
  466. data/lib/purecloud/models/rule_set_notification_rules.rb +37 -37
  467. data/lib/purecloud/models/schema_category_entity_listing.rb +23 -23
  468. data/lib/purecloud/models/schema_reference_entity_listing.rb +23 -23
  469. data/lib/purecloud/models/screen_recording_session_listing.rb +23 -23
  470. data/lib/purecloud/models/screen_share_conversation_notification_error_info.rb +61 -61
  471. data/lib/purecloud/models/screen_share_conversation_notification_participants.rb +159 -149
  472. data/lib/purecloud/models/screen_share_conversation_notification_screen_share_media_participant.rb +11 -1
  473. data/lib/purecloud/models/screen_share_conversation_notification_wrapup.rb +217 -0
  474. data/lib/purecloud/models/script_entity_listing.rb +23 -23
  475. data/lib/purecloud/models/search_request.rb +1 -1
  476. data/lib/purecloud/models/security_profile_entity_listing.rb +23 -23
  477. data/lib/purecloud/models/share_entity_listing.rb +23 -23
  478. data/lib/purecloud/models/site_entity_listing.rb +23 -23
  479. data/lib/purecloud/models/skill_entity_listing.rb +23 -23
  480. data/lib/purecloud/models/social_conversation_notification_error_info.rb +61 -61
  481. data/lib/purecloud/models/social_conversation_notification_participants.rb +158 -148
  482. data/lib/purecloud/models/social_conversation_notification_social_media_participant.rb +11 -1
  483. data/lib/purecloud/models/social_conversation_notification_wrapup.rb +217 -0
  484. data/lib/purecloud/models/station_entity_listing.rb +23 -23
  485. data/lib/purecloud/models/statistical_response.rb +16 -4
  486. data/lib/purecloud/models/tag_value_entity_listing.rb +23 -23
  487. data/lib/purecloud/models/time_off_request_update_notification.rb +328 -0
  488. data/lib/purecloud/models/{decisions_download_link.rb → time_off_request_update_notification_user.rb} +5 -17
  489. data/lib/purecloud/models/time_zone_entity_listing.rb +23 -23
  490. data/lib/purecloud/models/transfer_request.rb +1 -1
  491. data/lib/purecloud/models/trunk.rb +12 -1
  492. data/lib/purecloud/models/trunk_base.rb +1 -1
  493. data/lib/purecloud/models/trunk_base_entity_listing.rb +23 -23
  494. data/lib/purecloud/models/trunk_entity_listing.rb +23 -23
  495. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +23 -23
  496. data/lib/purecloud/models/trunk_metrics.rb +206 -0
  497. data/lib/purecloud/models/trunk_metrics_calls.rb +175 -0
  498. data/lib/purecloud/models/trunk_metrics_qo_s.rb +166 -0
  499. data/lib/purecloud/models/user.rb +14 -1
  500. data/lib/purecloud/models/user_conversation_summary_notification_call_contact_center.rb +13 -13
  501. data/lib/purecloud/models/user_entity_listing.rb +23 -23
  502. data/lib/purecloud/models/user_me.rb +14 -1
  503. data/lib/purecloud/models/user_presence_alert_container.rb +23 -23
  504. data/lib/purecloud/models/user_presence_notification_presence_definition.rb +13 -13
  505. data/lib/purecloud/models/user_presence_rule_container.rb +23 -23
  506. data/lib/purecloud/models/user_queue_entity_listing.rb +23 -23
  507. data/lib/purecloud/models/user_recording_entity_listing.rb +23 -23
  508. data/lib/purecloud/models/{forecast_creation.rb → user_schedule_adherence_update_notification.rb} +81 -49
  509. data/lib/purecloud/models/user_schedule_adherence_update_notification_user.rb +165 -0
  510. data/lib/purecloud/models/user_search_request.rb +1 -14
  511. data/lib/purecloud/models/user_skill_entity_listing.rb +23 -23
  512. data/lib/purecloud/models/user_stations_notification.rb +165 -0
  513. data/lib/purecloud/models/{edge_metrics_memory.rb → user_stations_notification_associated_station.rb} +20 -23
  514. data/lib/purecloud/models/user_stations_notification_user.rb +165 -0
  515. data/lib/purecloud/models/{edge_metrics_subsystem.rb → user_stations_notification_user_station.rb} +20 -23
  516. data/lib/purecloud/models/video_conversation_notification_error_info.rb +61 -61
  517. data/lib/purecloud/models/video_conversation_notification_participants.rb +161 -151
  518. data/lib/purecloud/models/video_conversation_notification_video_media_participant.rb +11 -1
  519. data/lib/purecloud/models/video_conversation_notification_wrapup.rb +217 -0
  520. data/lib/purecloud/models/voicemail_message_entity_listing.rb +23 -23
  521. data/lib/purecloud/models/voicemail_search_request.rb +1 -14
  522. data/lib/purecloud/models/workspace_entity_listing.rb +23 -23
  523. data/lib/purecloud/models/workspace_member_entity_listing.rb +23 -23
  524. data/lib/purecloud/models/wrap_up_code_mapping_notification.rb +27 -46
  525. data/lib/purecloud/models/wrapup_code_entity_listing.rb +23 -23
  526. data/lib/purecloud/version.rb +1 -1
  527. data/newVersion.md +1 -1
  528. data/swagger.json +1 -1
  529. data/version.json +1 -1
  530. metadata +80 -32
  531. data/doc_out/BillingTaskResultNotification.html.md +0 -21
  532. data/doc_out/DecisionsDownloadLink.html.md +0 -14
  533. data/doc_out/DecisionsDownloadMetadata.html.md +0 -20
  534. data/doc_out/DecisionsFileMetadataEntityListing.html.md +0 -22
  535. data/doc_out/EdgeMetrics.html.md +0 -20
  536. data/doc_out/EdgeMetricsDisk.html.md +0 -15
  537. data/doc_out/EdgeMetricsMemory.html.md +0 -15
  538. data/doc_out/EdgeMetricsNetwork.html.md +0 -17
  539. data/doc_out/EdgeMetricsProcessor.html.md +0 -17
  540. data/doc_out/EdgeMetricsSubsystem.html.md +0 -15
  541. data/doc_out/ForecastCreation.html.md +0 -18
  542. data/doc_out/ForecastCreationCompletion.html.md +0 -15
  543. data/lib/purecloud/models/edge_metrics.rb +0 -246
  544. data/lib/purecloud/models/edge_metrics_processor.rb +0 -210
@@ -18,21 +18,21 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class AttemptLimitsNotificationRecallEntries
21
- attr_accessor :minutes_between_attempts
21
+ attr_accessor :nbr_attempts
22
22
 
23
23
  attr_accessor :additional_properties
24
24
 
25
- attr_accessor :nbr_attempts
25
+ attr_accessor :minutes_between_attempts
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
30
 
31
- :'minutes_between_attempts' => :'minutesBetweenAttempts',
31
+ :'nbr_attempts' => :'nbrAttempts',
32
32
 
33
33
  :'additional_properties' => :'additionalProperties',
34
34
 
35
- :'nbr_attempts' => :'nbrAttempts'
35
+ :'minutes_between_attempts' => :'minutesBetweenAttempts'
36
36
 
37
37
  }
38
38
  end
@@ -40,9 +40,9 @@ module PureCloud
40
40
  # Attribute type mapping.
41
41
  def self.swagger_types
42
42
  {
43
- :'minutes_between_attempts' => :'Integer',
43
+ :'nbr_attempts' => :'Integer',
44
44
  :'additional_properties' => :'Object',
45
- :'nbr_attempts' => :'Integer'
45
+ :'minutes_between_attempts' => :'Integer'
46
46
 
47
47
  }
48
48
  end
@@ -54,16 +54,16 @@ module PureCloud
54
54
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
55
55
 
56
56
 
57
- if attributes[:'minutesBetweenAttempts']
58
- self.minutes_between_attempts = attributes[:'minutesBetweenAttempts']
57
+ if attributes[:'nbrAttempts']
58
+ self.nbr_attempts = attributes[:'nbrAttempts']
59
59
  end
60
60
 
61
61
  if attributes[:'additionalProperties']
62
62
  self.additional_properties = attributes[:'additionalProperties']
63
63
  end
64
64
 
65
- if attributes[:'nbrAttempts']
66
- self.nbr_attempts = attributes[:'nbrAttempts']
65
+ if attributes[:'minutesBetweenAttempts']
66
+ self.minutes_between_attempts = attributes[:'minutesBetweenAttempts']
67
67
  end
68
68
 
69
69
  end
@@ -72,9 +72,9 @@ module PureCloud
72
72
  def ==(o)
73
73
  return true if self.equal?(o)
74
74
  self.class == o.class &&
75
- minutes_between_attempts == o.minutes_between_attempts &&
75
+ nbr_attempts == o.nbr_attempts &&
76
76
  additional_properties == o.additional_properties &&
77
- nbr_attempts == o.nbr_attempts
77
+ minutes_between_attempts == o.minutes_between_attempts
78
78
  end
79
79
 
80
80
  # @see the `==` method
@@ -84,7 +84,7 @@ module PureCloud
84
84
 
85
85
  # Calculate hash code according to all attributes.
86
86
  def hash
87
- [minutes_between_attempts, additional_properties, nbr_attempts].hash
87
+ [nbr_attempts, additional_properties, minutes_between_attempts].hash
88
88
  end
89
89
 
90
90
  # build the object from hash
@@ -26,15 +26,15 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
33
- attr_accessor :next_uri
31
+ attr_accessor :self_uri
32
+
33
+ attr_accessor :last_uri
34
34
 
35
35
  attr_accessor :previous_uri
36
36
 
37
- attr_accessor :last_uri
37
+ attr_accessor :next_uri
38
38
 
39
39
  attr_accessor :page_count
40
40
 
@@ -50,15 +50,15 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
53
  :'first_uri' => :'firstUri',
56
54
 
57
- :'next_uri' => :'nextUri',
55
+ :'self_uri' => :'selfUri',
56
+
57
+ :'last_uri' => :'lastUri',
58
58
 
59
59
  :'previous_uri' => :'previousUri',
60
60
 
61
- :'last_uri' => :'lastUri',
61
+ :'next_uri' => :'nextUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
64
64
 
@@ -72,11 +72,11 @@ module PureCloud
72
72
  :'page_size' => :'Integer',
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
- :'self_uri' => :'String',
76
75
  :'first_uri' => :'String',
77
- :'next_uri' => :'String',
78
- :'previous_uri' => :'String',
76
+ :'self_uri' => :'String',
79
77
  :'last_uri' => :'String',
78
+ :'previous_uri' => :'String',
79
+ :'next_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -107,24 +107,24 @@ module PureCloud
107
107
  self.total = attributes[:'total']
108
108
  end
109
109
 
110
- if attributes[:'selfUri']
111
- self.self_uri = attributes[:'selfUri']
112
- end
113
-
114
110
  if attributes[:'firstUri']
115
111
  self.first_uri = attributes[:'firstUri']
116
112
  end
117
113
 
118
- if attributes[:'nextUri']
119
- self.next_uri = attributes[:'nextUri']
114
+ if attributes[:'selfUri']
115
+ self.self_uri = attributes[:'selfUri']
116
+ end
117
+
118
+ if attributes[:'lastUri']
119
+ self.last_uri = attributes[:'lastUri']
120
120
  end
121
121
 
122
122
  if attributes[:'previousUri']
123
123
  self.previous_uri = attributes[:'previousUri']
124
124
  end
125
125
 
126
- if attributes[:'lastUri']
127
- self.last_uri = attributes[:'lastUri']
126
+ if attributes[:'nextUri']
127
+ self.next_uri = attributes[:'nextUri']
128
128
  end
129
129
 
130
130
  if attributes[:'pageCount']
@@ -141,11 +141,11 @@ module PureCloud
141
141
  page_size == o.page_size &&
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
- self_uri == o.self_uri &&
145
144
  first_uri == o.first_uri &&
146
- next_uri == o.next_uri &&
147
- previous_uri == o.previous_uri &&
145
+ self_uri == o.self_uri &&
148
146
  last_uri == o.last_uri &&
147
+ previous_uri == o.previous_uri &&
148
+ next_uri == o.next_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -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, first_uri, next_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, first_uri, self_uri, last_uri, previous_uri, next_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -18,26 +18,26 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class AvailableTopic
21
+ attr_accessor :description
22
+
21
23
  # The globally unique identifier for the object.
22
24
  attr_accessor :id
23
25
 
24
- attr_accessor :description
26
+ attr_accessor :requires_permissions
25
27
 
26
28
  attr_accessor :schema
27
29
 
28
- attr_accessor :requires_permissions
29
-
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
33
33
 
34
- :'id' => :'id',
35
-
36
34
  :'description' => :'description',
37
35
 
38
- :'schema' => :'schema',
36
+ :'id' => :'id',
37
+
38
+ :'requires_permissions' => :'requiresPermissions',
39
39
 
40
- :'requires_permissions' => :'requiresPermissions'
40
+ :'schema' => :'schema'
41
41
 
42
42
  }
43
43
  end
@@ -45,10 +45,10 @@ module PureCloud
45
45
  # Attribute type mapping.
46
46
  def self.swagger_types
47
47
  {
48
- :'id' => :'String',
49
48
  :'description' => :'String',
50
- :'schema' => :'Hash<String, Object>',
51
- :'requires_permissions' => :'Array<String>'
49
+ :'id' => :'String',
50
+ :'requires_permissions' => :'Array<String>',
51
+ :'schema' => :'Hash<String, Object>'
52
52
 
53
53
  }
54
54
  end
@@ -60,18 +60,12 @@ module PureCloud
60
60
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
61
61
 
62
62
 
63
- if attributes[:'id']
64
- self.id = attributes[:'id']
65
- end
66
-
67
63
  if attributes[:'description']
68
64
  self.description = attributes[:'description']
69
65
  end
70
66
 
71
- if attributes[:'schema']
72
- if (value = attributes[:'schema']).is_a?(Array)
73
- self.schema = value
74
- end
67
+ if attributes[:'id']
68
+ self.id = attributes[:'id']
75
69
  end
76
70
 
77
71
  if attributes[:'requiresPermissions']
@@ -80,16 +74,22 @@ module PureCloud
80
74
  end
81
75
  end
82
76
 
77
+ if attributes[:'schema']
78
+ if (value = attributes[:'schema']).is_a?(Array)
79
+ self.schema = value
80
+ end
81
+ end
82
+
83
83
  end
84
84
 
85
85
  # Check equality by comparing each attribute.
86
86
  def ==(o)
87
87
  return true if self.equal?(o)
88
88
  self.class == o.class &&
89
- id == o.id &&
90
89
  description == o.description &&
91
- schema == o.schema &&
92
- requires_permissions == o.requires_permissions
90
+ id == o.id &&
91
+ requires_permissions == o.requires_permissions &&
92
+ schema == o.schema
93
93
  end
94
94
 
95
95
  # @see the `==` method
@@ -99,7 +99,7 @@ module PureCloud
99
99
 
100
100
  # Calculate hash code according to all attributes.
101
101
  def hash
102
- [id, description, schema, requires_permissions].hash
102
+ [description, id, requires_permissions, schema].hash
103
103
  end
104
104
 
105
105
  # build the object from hash
@@ -26,15 +26,15 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
33
- attr_accessor :next_uri
31
+ attr_accessor :self_uri
32
+
33
+ attr_accessor :last_uri
34
34
 
35
35
  attr_accessor :previous_uri
36
36
 
37
- attr_accessor :last_uri
37
+ attr_accessor :next_uri
38
38
 
39
39
  attr_accessor :page_count
40
40
 
@@ -50,15 +50,15 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
53
  :'first_uri' => :'firstUri',
56
54
 
57
- :'next_uri' => :'nextUri',
55
+ :'self_uri' => :'selfUri',
56
+
57
+ :'last_uri' => :'lastUri',
58
58
 
59
59
  :'previous_uri' => :'previousUri',
60
60
 
61
- :'last_uri' => :'lastUri',
61
+ :'next_uri' => :'nextUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
64
64
 
@@ -72,11 +72,11 @@ module PureCloud
72
72
  :'page_size' => :'Integer',
73
73
  :'page_number' => :'Integer',
74
74
  :'total' => :'Integer',
75
- :'self_uri' => :'String',
76
75
  :'first_uri' => :'String',
77
- :'next_uri' => :'String',
78
- :'previous_uri' => :'String',
76
+ :'self_uri' => :'String',
79
77
  :'last_uri' => :'String',
78
+ :'previous_uri' => :'String',
79
+ :'next_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -107,24 +107,24 @@ module PureCloud
107
107
  self.total = attributes[:'total']
108
108
  end
109
109
 
110
- if attributes[:'selfUri']
111
- self.self_uri = attributes[:'selfUri']
112
- end
113
-
114
110
  if attributes[:'firstUri']
115
111
  self.first_uri = attributes[:'firstUri']
116
112
  end
117
113
 
118
- if attributes[:'nextUri']
119
- self.next_uri = attributes[:'nextUri']
114
+ if attributes[:'selfUri']
115
+ self.self_uri = attributes[:'selfUri']
116
+ end
117
+
118
+ if attributes[:'lastUri']
119
+ self.last_uri = attributes[:'lastUri']
120
120
  end
121
121
 
122
122
  if attributes[:'previousUri']
123
123
  self.previous_uri = attributes[:'previousUri']
124
124
  end
125
125
 
126
- if attributes[:'lastUri']
127
- self.last_uri = attributes[:'lastUri']
126
+ if attributes[:'nextUri']
127
+ self.next_uri = attributes[:'nextUri']
128
128
  end
129
129
 
130
130
  if attributes[:'pageCount']
@@ -141,11 +141,11 @@ module PureCloud
141
141
  page_size == o.page_size &&
142
142
  page_number == o.page_number &&
143
143
  total == o.total &&
144
- self_uri == o.self_uri &&
145
144
  first_uri == o.first_uri &&
146
- next_uri == o.next_uri &&
147
- previous_uri == o.previous_uri &&
145
+ self_uri == o.self_uri &&
148
146
  last_uri == o.last_uri &&
147
+ previous_uri == o.previous_uri &&
148
+ next_uri == o.next_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -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, first_uri, next_uri, previous_uri, last_uri, page_count].hash
159
+ [entities, page_size, page_number, total, first_uri, self_uri, last_uri, previous_uri, next_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -0,0 +1,403 @@
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 CallBasic
21
+ # The connection state of this communication.
22
+ attr_accessor :state
23
+
24
+ # A globally unique identifier for this communication.
25
+ attr_accessor :id
26
+
27
+ # The direction of the call
28
+ attr_accessor :direction
29
+
30
+ # True if this call is being recorded.
31
+ attr_accessor :recording
32
+
33
+ # State of recording on this call.
34
+ attr_accessor :recording_state
35
+
36
+ # True if this call is muted so that remote participants can't hear any audio from this end.
37
+ attr_accessor :muted
38
+
39
+ # True if this call is held and the person on this side hears hold music.
40
+ attr_accessor :confined
41
+
42
+ # True if this call is held and the person on this side hears silence.
43
+ attr_accessor :held
44
+
45
+ # A globally unique identifier for the recording associated with this call.
46
+ attr_accessor :recording_id
47
+
48
+ # The time line of the participant's call, divided into activity segments.
49
+ attr_accessor :segments
50
+
51
+ attr_accessor :error_info
52
+
53
+ # System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects.
54
+ attr_accessor :disconnect_type
55
+
56
+ # The timestamp the call was placed on hold in the cloud clock if the call is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
57
+ attr_accessor :start_hold_time
58
+
59
+ # If call is an outbound fax of a document from content management, then this is the id in content management.
60
+ attr_accessor :document_id
61
+
62
+ # The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
63
+ attr_accessor :connected_time
64
+
65
+ # The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
66
+ attr_accessor :disconnected_time
67
+
68
+ # List of reasons that this call was disconnected. This will be set once the call disconnects.
69
+ attr_accessor :disconnect_reasons
70
+
71
+ # Extra information on fax transmission.
72
+ attr_accessor :fax_status
73
+
74
+ # The source provider for the call.
75
+ attr_accessor :provider
76
+
77
+ # Attribute mapping from ruby-style variable name to JSON key.
78
+ def self.attribute_map
79
+ {
80
+
81
+ :'state' => :'state',
82
+
83
+ :'id' => :'id',
84
+
85
+ :'direction' => :'direction',
86
+
87
+ :'recording' => :'recording',
88
+
89
+ :'recording_state' => :'recordingState',
90
+
91
+ :'muted' => :'muted',
92
+
93
+ :'confined' => :'confined',
94
+
95
+ :'held' => :'held',
96
+
97
+ :'recording_id' => :'recordingId',
98
+
99
+ :'segments' => :'segments',
100
+
101
+ :'error_info' => :'errorInfo',
102
+
103
+ :'disconnect_type' => :'disconnectType',
104
+
105
+ :'start_hold_time' => :'startHoldTime',
106
+
107
+ :'document_id' => :'documentId',
108
+
109
+ :'connected_time' => :'connectedTime',
110
+
111
+ :'disconnected_time' => :'disconnectedTime',
112
+
113
+ :'disconnect_reasons' => :'disconnectReasons',
114
+
115
+ :'fax_status' => :'faxStatus',
116
+
117
+ :'provider' => :'provider'
118
+
119
+ }
120
+ end
121
+
122
+ # Attribute type mapping.
123
+ def self.swagger_types
124
+ {
125
+ :'state' => :'String',
126
+ :'id' => :'String',
127
+ :'direction' => :'String',
128
+ :'recording' => :'BOOLEAN',
129
+ :'recording_state' => :'String',
130
+ :'muted' => :'BOOLEAN',
131
+ :'confined' => :'BOOLEAN',
132
+ :'held' => :'BOOLEAN',
133
+ :'recording_id' => :'String',
134
+ :'segments' => :'Array<Segment>',
135
+ :'error_info' => :'ErrorBody',
136
+ :'disconnect_type' => :'String',
137
+ :'start_hold_time' => :'DateTime',
138
+ :'document_id' => :'String',
139
+ :'connected_time' => :'DateTime',
140
+ :'disconnected_time' => :'DateTime',
141
+ :'disconnect_reasons' => :'Array<DisconnectReason>',
142
+ :'fax_status' => :'FaxStatus',
143
+ :'provider' => :'String'
144
+
145
+ }
146
+ end
147
+
148
+ def initialize(attributes = {})
149
+ return unless attributes.is_a?(Hash)
150
+
151
+ # convert string to symbol for hash key
152
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
153
+
154
+
155
+ if attributes[:'state']
156
+ self.state = attributes[:'state']
157
+ end
158
+
159
+ if attributes[:'id']
160
+ self.id = attributes[:'id']
161
+ end
162
+
163
+ if attributes[:'direction']
164
+ self.direction = attributes[:'direction']
165
+ end
166
+
167
+ if attributes[:'recording']
168
+ self.recording = attributes[:'recording']
169
+ end
170
+
171
+ if attributes[:'recordingState']
172
+ self.recording_state = attributes[:'recordingState']
173
+ end
174
+
175
+ if attributes[:'muted']
176
+ self.muted = attributes[:'muted']
177
+ end
178
+
179
+ if attributes[:'confined']
180
+ self.confined = attributes[:'confined']
181
+ end
182
+
183
+ if attributes[:'held']
184
+ self.held = attributes[:'held']
185
+ end
186
+
187
+ if attributes[:'recordingId']
188
+ self.recording_id = attributes[:'recordingId']
189
+ end
190
+
191
+ if attributes[:'segments']
192
+ if (value = attributes[:'segments']).is_a?(Array)
193
+ self.segments = value
194
+ end
195
+ end
196
+
197
+ if attributes[:'errorInfo']
198
+ self.error_info = attributes[:'errorInfo']
199
+ end
200
+
201
+ if attributes[:'disconnectType']
202
+ self.disconnect_type = attributes[:'disconnectType']
203
+ end
204
+
205
+ if attributes[:'startHoldTime']
206
+ self.start_hold_time = attributes[:'startHoldTime']
207
+ end
208
+
209
+ if attributes[:'documentId']
210
+ self.document_id = attributes[:'documentId']
211
+ end
212
+
213
+ if attributes[:'connectedTime']
214
+ self.connected_time = attributes[:'connectedTime']
215
+ end
216
+
217
+ if attributes[:'disconnectedTime']
218
+ self.disconnected_time = attributes[:'disconnectedTime']
219
+ end
220
+
221
+ if attributes[:'disconnectReasons']
222
+ if (value = attributes[:'disconnectReasons']).is_a?(Array)
223
+ self.disconnect_reasons = value
224
+ end
225
+ end
226
+
227
+ if attributes[:'faxStatus']
228
+ self.fax_status = attributes[:'faxStatus']
229
+ end
230
+
231
+ if attributes[:'provider']
232
+ self.provider = attributes[:'provider']
233
+ end
234
+
235
+ end
236
+
237
+ # Custom attribute writer method checking allowed values (enum).
238
+ def state=(state)
239
+ allowed_values = ["alerting", "dialing", "contacting", "offering", "connected", "disconnected", "terminated", "converting", "uploading", "transmitting", "none"]
240
+ if state && !allowed_values.include?(state)
241
+ fail "invalid value for 'state', must be one of #{allowed_values}"
242
+ end
243
+ @state = state
244
+ end
245
+
246
+ # Custom attribute writer method checking allowed values (enum).
247
+ def direction=(direction)
248
+ allowed_values = ["inbound", "outbound"]
249
+ if direction && !allowed_values.include?(direction)
250
+ fail "invalid value for 'direction', must be one of #{allowed_values}"
251
+ end
252
+ @direction = direction
253
+ end
254
+
255
+ # Custom attribute writer method checking allowed values (enum).
256
+ def recording_state=(recording_state)
257
+ allowed_values = ["none", "active", "paused"]
258
+ if recording_state && !allowed_values.include?(recording_state)
259
+ fail "invalid value for 'recording_state', must be one of #{allowed_values}"
260
+ end
261
+ @recording_state = recording_state
262
+ end
263
+
264
+ # Custom attribute writer method checking allowed values (enum).
265
+ def disconnect_type=(disconnect_type)
266
+ allowed_values = ["endpoint", "client", "system", "timeout", "transfer", "transfer.conference", "transfer.consult", "transfer.forward", "transfer.noanswer", "transfer.notavailable", "transport.failure", "error", "peer", "other", "spam", "uncallable"]
267
+ if disconnect_type && !allowed_values.include?(disconnect_type)
268
+ fail "invalid value for 'disconnect_type', must be one of #{allowed_values}"
269
+ end
270
+ @disconnect_type = disconnect_type
271
+ end
272
+
273
+ # Check equality by comparing each attribute.
274
+ def ==(o)
275
+ return true if self.equal?(o)
276
+ self.class == o.class &&
277
+ state == o.state &&
278
+ id == o.id &&
279
+ direction == o.direction &&
280
+ recording == o.recording &&
281
+ recording_state == o.recording_state &&
282
+ muted == o.muted &&
283
+ confined == o.confined &&
284
+ held == o.held &&
285
+ recording_id == o.recording_id &&
286
+ segments == o.segments &&
287
+ error_info == o.error_info &&
288
+ disconnect_type == o.disconnect_type &&
289
+ start_hold_time == o.start_hold_time &&
290
+ document_id == o.document_id &&
291
+ connected_time == o.connected_time &&
292
+ disconnected_time == o.disconnected_time &&
293
+ disconnect_reasons == o.disconnect_reasons &&
294
+ fax_status == o.fax_status &&
295
+ provider == o.provider
296
+ end
297
+
298
+ # @see the `==` method
299
+ def eql?(o)
300
+ self == o
301
+ end
302
+
303
+ # Calculate hash code according to all attributes.
304
+ def hash
305
+ [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons, fax_status, provider].hash
306
+ end
307
+
308
+ # build the object from hash
309
+ def build_from_hash(attributes)
310
+ return nil unless attributes.is_a?(Hash)
311
+ self.class.swagger_types.each_pair do |key, type|
312
+ if type =~ /^Array<(.*)>/i
313
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
314
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
315
+ else
316
+ #TODO show warning in debug mode
317
+ end
318
+ elsif !attributes[self.class.attribute_map[key]].nil?
319
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
320
+ else
321
+ # data not found in attributes(hash), not an issue as the data can be optional
322
+ end
323
+ end
324
+
325
+ self
326
+ end
327
+
328
+ def _deserialize(type, value)
329
+ case type.to_sym
330
+ when :DateTime
331
+ DateTime.parse(value)
332
+ when :Date
333
+ Date.parse(value)
334
+ when :String
335
+ value.to_s
336
+ when :Integer
337
+ value.to_i
338
+ when :Float
339
+ value.to_f
340
+ when :BOOLEAN
341
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
342
+ true
343
+ else
344
+ false
345
+ end
346
+ when :Object
347
+ # generic object (usually a Hash), return directly
348
+ value
349
+ when /\AArray<(?<inner_type>.+)>\z/
350
+ inner_type = Regexp.last_match[:inner_type]
351
+ value.map { |v| _deserialize(inner_type, v) }
352
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
353
+ k_type = Regexp.last_match[:k_type]
354
+ v_type = Regexp.last_match[:v_type]
355
+ {}.tap do |hash|
356
+ value.each do |k, v|
357
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
358
+ end
359
+ end
360
+ else # model
361
+ _model = Object.const_get("PureCloud").const_get(type).new
362
+ _model.build_from_hash(value)
363
+ end
364
+ end
365
+
366
+ def to_s
367
+ to_hash.to_s
368
+ end
369
+
370
+ # to_body is an alias to to_body (backward compatibility))
371
+ def to_body
372
+ to_hash
373
+ end
374
+
375
+ # return the object in the form of hash
376
+ def to_hash
377
+ hash = {}
378
+ self.class.attribute_map.each_pair do |attr, param|
379
+ value = self.send(attr)
380
+ next if value.nil?
381
+ hash[param] = _to_hash(value)
382
+ end
383
+ hash
384
+ end
385
+
386
+ # Method to output non-array value in the form of hash
387
+ # For object, use to_hash. Otherwise, just return the value
388
+ def _to_hash(value)
389
+ if value.is_a?(Array)
390
+ value.compact.map{ |v| _to_hash(v) }
391
+ elsif value.is_a?(Hash)
392
+ {}.tap do |hash|
393
+ value.each { |k, v| hash[k] = _to_hash(v) }
394
+ end
395
+ elsif value.respond_to? :to_hash
396
+ value.to_hash
397
+ else
398
+ value
399
+ end
400
+ end
401
+
402
+ end
403
+ end