purecloudplatformclientv2 19.0.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/AnalyticsSession.md +3 -0
  6. data/docs/ArchitectApi.md +272 -2
  7. data/docs/AttemptLimitsEntityListing.md +1 -1
  8. data/docs/AttributeEntityListing.md +1 -1
  9. data/docs/CalibrationEntityListing.md +1 -1
  10. data/docs/CallConversationEntityListing.md +1 -1
  11. data/docs/CallHistoryConversationEntityListing.md +1 -1
  12. data/docs/CallHistoryParticipant.md +2 -0
  13. data/docs/CallableTimeSetEntityListing.md +1 -1
  14. data/docs/CallbackConversationEntityListing.md +1 -1
  15. data/docs/CampaignEntityListing.md +1 -1
  16. data/docs/CampaignRuleEntityListing.md +1 -1
  17. data/docs/CampaignSequenceEntityListing.md +1 -1
  18. data/docs/CertificateAuthorityEntityListing.md +1 -1
  19. data/docs/ChatConversationEntityListing.md +1 -1
  20. data/docs/CobrowseConversationEntityListing.md +1 -1
  21. data/docs/CommandStatusEntityListing.md +1 -1
  22. data/docs/ConsumedResourcesEntityListing.md +1 -1
  23. data/docs/ConsumingResourcesEntityListing.md +1 -1
  24. data/docs/ContactListEntityListing.md +1 -1
  25. data/docs/ContactListFilterEntityListing.md +1 -1
  26. data/docs/ContactListing.md +1 -1
  27. data/docs/ConversationEntityListing.md +1 -1
  28. data/docs/ConversationNotificationEmail.md +1 -0
  29. data/docs/ConversationNotificationEmails.md +1 -0
  30. data/docs/ConversationNotificationMessage.md +27 -0
  31. data/docs/ConversationNotificationMessageDetails.md +14 -0
  32. data/docs/ConversationNotificationMessages.md +14 -0
  33. data/docs/ConversationNotificationMessages1.md +27 -0
  34. data/docs/ConversationNotificationParticipant.md +1 -0
  35. data/docs/ConversationNotificationParticipants.md +1 -0
  36. data/docs/DIDEntityListing.md +1 -1
  37. data/docs/DIDPoolEntityListing.md +1 -1
  38. data/docs/DependencyObjectEntityListing.md +1 -1
  39. data/docs/DependencyTypeEntityListing.md +1 -1
  40. data/docs/DialerEventEntityListing.md +1 -1
  41. data/docs/DirectoryUserDevicesListing.md +1 -1
  42. data/docs/DncListEntityListing.md +1 -1
  43. data/docs/DocumentAuditEntityListing.md +1 -1
  44. data/docs/DocumentEntityListing.md +1 -1
  45. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  46. data/docs/DomainEntityListing.md +1 -1
  47. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  48. data/docs/DomainEntityListingQueryResult.md +1 -1
  49. data/docs/DomainOrganizationRole.md +1 -1
  50. data/docs/DomainOrganizationRoleCreate.md +1 -1
  51. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  52. data/docs/EdgeEntityListing.md +1 -1
  53. data/docs/EdgeGroupEntityListing.md +1 -1
  54. data/docs/EdgeLineEntityListing.md +1 -1
  55. data/docs/EmailConversationEntityListing.md +1 -1
  56. data/docs/EmailMessageListing.md +1 -1
  57. data/docs/EncryptionKeyEntityListing.md +1 -1
  58. data/docs/EndpointEntityListing.md +1 -1
  59. data/docs/EvaluationEntityListing.md +1 -1
  60. data/docs/EvaluationFormEntityListing.md +1 -1
  61. data/docs/EvaluatorActivityEntityListing.md +1 -1
  62. data/docs/ExtensionEntityListing.md +1 -1
  63. data/docs/ExtensionPoolEntityListing.md +1 -1
  64. data/docs/ExternalOrganizationListing.md +1 -1
  65. data/docs/FaxDocumentEntityListing.md +1 -1
  66. data/docs/FlowEntityListing.md +1 -1
  67. data/docs/FlowVersionEntityListing.md +1 -1
  68. data/docs/GreetingListing.md +1 -1
  69. data/docs/GroupEntityListing.md +1 -1
  70. data/docs/IVREntityListing.md +1 -1
  71. data/docs/InboundDomainEntityListing.md +1 -1
  72. data/docs/InboundRouteEntityListing.md +1 -1
  73. data/docs/IntegrationsApi.md +4 -0
  74. data/docs/InteractionStatsAlertContainer.md +1 -1
  75. data/docs/InteractionStatsRuleContainer.md +1 -1
  76. data/docs/JsonNode.md +2 -2
  77. data/docs/KeywordSetEntityListing.md +1 -1
  78. data/docs/LanguageEntityListing.md +1 -1
  79. data/docs/LibraryEntityListing.md +1 -1
  80. data/docs/LineBaseEntityListing.md +1 -1
  81. data/docs/LineEntityListing.md +1 -1
  82. data/docs/LocationEntityListing.md +1 -1
  83. data/docs/LogicalInterfaceEntityListing.md +1 -1
  84. data/docs/ManagementUnitListing.md +1 -1
  85. data/docs/Message.md +29 -0
  86. data/docs/MessageConversationNotification.md +16 -0
  87. data/docs/MessageConversationNotificationDetail.md +16 -0
  88. data/docs/MessageConversationNotificationErrorBody.md +22 -0
  89. data/docs/MessageConversationNotificationErrorInfo.md +22 -0
  90. data/docs/MessageConversationNotificationMessageDetails.md +14 -0
  91. data/docs/MessageConversationNotificationMessageMediaParticipant.md +40 -0
  92. data/docs/MessageConversationNotificationMessages.md +14 -0
  93. data/docs/MessageConversationNotificationParticipants.md +40 -0
  94. data/docs/MessageConversationNotificationUriReference.md +14 -0
  95. data/docs/MessageConversationNotificationWrapup.md +18 -0
  96. data/docs/MessageDetails.md +15 -0
  97. data/docs/NoteListing.md +1 -1
  98. data/docs/OAuthClientEntityListing.md +1 -1
  99. data/docs/OAuthProviderEntityListing.md +1 -1
  100. data/docs/OrganizationPresenceEntityListing.md +1 -1
  101. data/docs/OrganizationRoleEntityListing.md +1 -1
  102. data/docs/OrphanRecordingListing.md +1 -1
  103. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  104. data/docs/OutboundRouteEntityListing.md +1 -1
  105. data/docs/Participant.md +1 -0
  106. data/docs/ParticipantBasic.md +1 -0
  107. data/docs/PermissionCollectionEntityListing.md +1 -1
  108. data/docs/PhoneBaseEntityListing.md +1 -1
  109. data/docs/PhoneEntityListing.md +1 -1
  110. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  111. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  112. data/docs/PolicyEntityListing.md +1 -1
  113. data/docs/PromptAssetEntityListing.md +1 -1
  114. data/docs/PromptEntityListing.md +1 -1
  115. data/docs/QualityApi.md +2 -2
  116. data/docs/QualityAuditPage.md +1 -1
  117. data/docs/QueueEntityListing.md +1 -1
  118. data/docs/QueueMemberEntityListing.md +1 -1
  119. data/docs/RelationshipListing.md +1 -1
  120. data/docs/ReportMetaDataEntityListing.md +1 -1
  121. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  122. data/docs/ReportScheduleEntityListing.md +1 -1
  123. data/docs/ResponseEntityList.md +1 -1
  124. data/docs/ResponseEntityListing.md +1 -1
  125. data/docs/ResponseSetEntityListing.md +1 -1
  126. data/docs/RuleSetEntityListing.md +1 -1
  127. data/docs/ScheduleEntityListing.md +1 -1
  128. data/docs/ScheduleGroupEntityListing.md +1 -1
  129. data/docs/SchemaCategoryEntityListing.md +1 -1
  130. data/docs/SchemaReferenceEntityListing.md +1 -1
  131. data/docs/ScreenRecordingSessionListing.md +1 -1
  132. data/docs/ScriptEntityListing.md +1 -1
  133. data/docs/ScriptsApi.md +46 -15
  134. data/docs/SecurityProfileEntityListing.md +1 -1
  135. data/docs/ShareEntityListing.md +1 -1
  136. data/docs/SiteEntityListing.md +1 -1
  137. data/docs/SkillEntityListing.md +1 -1
  138. data/docs/StationEntityListing.md +1 -1
  139. data/docs/SystemPromptAssetEntityListing.md +1 -1
  140. data/docs/SystemPromptEntityListing.md +1 -1
  141. data/docs/TagValueEntityListing.md +1 -1
  142. data/docs/TelephonyProvidersEdgeApi.md +10 -10
  143. data/docs/TimeZoneEntityListing.md +1 -1
  144. data/docs/TrunkBaseEntityListing.md +1 -1
  145. data/docs/TrunkEntityListing.md +1 -1
  146. data/docs/TrunkMetabaseEntityListing.md +1 -1
  147. data/docs/TrustEntityListing.md +1 -1
  148. data/docs/TrustUserEntityListing.md +1 -1
  149. data/docs/TrustorEntityListing.md +1 -1
  150. data/docs/UserEntityListing.md +1 -1
  151. data/docs/UserQueueEntityListing.md +1 -1
  152. data/docs/UserRecordingEntityListing.md +1 -1
  153. data/docs/UserSkillEntityListing.md +1 -1
  154. data/docs/VoicemailMessageEntityListing.md +1 -1
  155. data/docs/WorkspaceEntityListing.md +1 -1
  156. data/docs/WorkspaceMemberEntityListing.md +1 -1
  157. data/docs/WrapupCodeEntityListing.md +1 -1
  158. data/lib/purecloudplatformclientv2.rb +16 -0
  159. data/lib/purecloudplatformclientv2/api/architect_api.rb +380 -2
  160. data/lib/purecloudplatformclientv2/api/integrations_api.rb +26 -0
  161. data/lib/purecloudplatformclientv2/api/quality_api.rb +2 -2
  162. data/lib/purecloudplatformclientv2/api/scripts_api.rb +95 -4
  163. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +15 -15
  164. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  165. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
  166. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
  167. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
  168. data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +2 -2
  169. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +2 -2
  170. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
  171. data/lib/purecloudplatformclientv2/models/analytics_session.rb +79 -3
  172. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
  173. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +14 -14
  174. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
  175. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
  176. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
  177. data/lib/purecloudplatformclientv2/models/call_history_participant.rb +58 -4
  178. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
  179. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
  180. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
  181. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
  182. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
  183. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
  184. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
  185. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
  186. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
  187. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
  188. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
  189. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
  190. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
  191. data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
  192. data/lib/purecloudplatformclientv2/models/conversation_association.rb +2 -2
  193. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
  194. data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +40 -1
  195. data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +40 -1
  196. data/lib/purecloudplatformclientv2/models/conversation_notification_message.rb +581 -0
  197. data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +226 -0
  198. data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +226 -0
  199. data/lib/purecloudplatformclientv2/models/conversation_notification_messages_1.rb +581 -0
  200. data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +30 -3
  201. data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +30 -3
  202. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
  203. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
  204. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
  205. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
  206. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
  207. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
  208. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
  209. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
  210. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
  211. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
  212. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
  213. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
  214. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
  215. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  218. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
  219. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
  220. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
  221. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
  222. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
  223. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
  224. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +14 -14
  225. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
  226. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
  227. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
  228. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
  229. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
  230. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
  231. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
  232. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
  233. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
  234. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
  235. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
  236. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
  237. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
  238. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
  239. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
  240. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
  241. data/lib/purecloudplatformclientv2/models/json_node.rb +50 -50
  242. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
  243. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
  244. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
  245. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
  246. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
  247. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
  248. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
  249. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
  250. data/lib/purecloudplatformclientv2/models/message.rb +663 -0
  251. data/lib/purecloudplatformclientv2/models/message_conversation_notification.rb +280 -0
  252. data/lib/purecloudplatformclientv2/models/message_conversation_notification_detail.rb +276 -0
  253. data/lib/purecloudplatformclientv2/models/message_conversation_notification_error_body.rb +432 -0
  254. data/lib/purecloudplatformclientv2/models/message_conversation_notification_error_info.rb +432 -0
  255. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +226 -0
  256. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +922 -0
  257. data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +226 -0
  258. data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +922 -0
  259. data/lib/purecloudplatformclientv2/models/message_conversation_notification_uri_reference.rb +226 -0
  260. data/lib/purecloudplatformclientv2/models/message_conversation_notification_wrapup.rb +328 -0
  261. data/lib/purecloudplatformclientv2/models/message_details.rb +254 -0
  262. data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
  263. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
  264. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
  265. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
  266. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
  267. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
  268. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
  269. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
  270. data/lib/purecloudplatformclientv2/models/participant.rb +28 -1
  271. data/lib/purecloudplatformclientv2/models/participant_basic.rb +28 -1
  272. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
  273. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
  274. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
  275. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
  276. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
  277. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
  278. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
  279. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
  280. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
  281. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
  282. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
  283. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
  284. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
  285. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
  286. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
  287. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
  288. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
  289. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
  290. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
  291. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
  292. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
  293. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
  294. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
  295. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
  296. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
  297. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
  298. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
  299. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
  300. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
  301. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
  302. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
  303. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
  304. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
  305. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
  306. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
  307. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
  308. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
  309. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
  310. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
  311. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
  312. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
  313. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
  314. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
  315. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
  316. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
  317. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
  318. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
  319. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
  320. data/lib/purecloudplatformclientv2/version.rb +1 -1
  321. metadata +34 -2
@@ -0,0 +1,432 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: 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 MessageConversationNotificationErrorBody
21
+ attr_accessor :status
22
+
23
+ attr_accessor :code
24
+
25
+ attr_accessor :entity_id
26
+
27
+ attr_accessor :entity_name
28
+
29
+ attr_accessor :message
30
+
31
+ attr_accessor :message_with_params
32
+
33
+ attr_accessor :message_params
34
+
35
+ attr_accessor :context_id
36
+
37
+ attr_accessor :details
38
+
39
+ attr_accessor :errors
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+
45
+ :'status' => :'status',
46
+
47
+ :'code' => :'code',
48
+
49
+ :'entity_id' => :'entityId',
50
+
51
+ :'entity_name' => :'entityName',
52
+
53
+ :'message' => :'message',
54
+
55
+ :'message_with_params' => :'messageWithParams',
56
+
57
+ :'message_params' => :'messageParams',
58
+
59
+ :'context_id' => :'contextId',
60
+
61
+ :'details' => :'details',
62
+
63
+ :'errors' => :'errors'
64
+
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+
72
+ :'status' => :'Integer',
73
+
74
+ :'code' => :'String',
75
+
76
+ :'entity_id' => :'String',
77
+
78
+ :'entity_name' => :'String',
79
+
80
+ :'message' => :'String',
81
+
82
+ :'message_with_params' => :'String',
83
+
84
+ :'message_params' => :'Hash<String, String>',
85
+
86
+ :'context_id' => :'String',
87
+
88
+ :'details' => :'Array<CallbackConversationNotificationErrorInfoDetails>',
89
+
90
+ :'errors' => :'Array<MessageConversationNotificationErrorBody>'
91
+
92
+ }
93
+ end
94
+
95
+ # Initializes the object
96
+ # @param [Hash] attributes Model attributes in the form of hash
97
+ def initialize(attributes = {})
98
+ return unless attributes.is_a?(Hash)
99
+
100
+ # convert string to symbol for hash key
101
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
102
+
103
+
104
+ if attributes.has_key?(:'status')
105
+
106
+
107
+ self.status = attributes[:'status']
108
+
109
+
110
+ end
111
+
112
+
113
+ if attributes.has_key?(:'code')
114
+
115
+
116
+ self.code = attributes[:'code']
117
+
118
+
119
+ end
120
+
121
+
122
+ if attributes.has_key?(:'entityId')
123
+
124
+
125
+ self.entity_id = attributes[:'entityId']
126
+
127
+
128
+ end
129
+
130
+
131
+ if attributes.has_key?(:'entityName')
132
+
133
+
134
+ self.entity_name = attributes[:'entityName']
135
+
136
+
137
+ end
138
+
139
+
140
+ if attributes.has_key?(:'message')
141
+
142
+
143
+ self.message = attributes[:'message']
144
+
145
+
146
+ end
147
+
148
+
149
+ if attributes.has_key?(:'messageWithParams')
150
+
151
+
152
+ self.message_with_params = attributes[:'messageWithParams']
153
+
154
+
155
+ end
156
+
157
+
158
+ if attributes.has_key?(:'messageParams')
159
+
160
+ if (value = attributes[:'messageParams']).is_a?(Array)
161
+ self.message_params = value
162
+ end
163
+
164
+
165
+
166
+ end
167
+
168
+
169
+ if attributes.has_key?(:'contextId')
170
+
171
+
172
+ self.context_id = attributes[:'contextId']
173
+
174
+
175
+ end
176
+
177
+
178
+ if attributes.has_key?(:'details')
179
+
180
+ if (value = attributes[:'details']).is_a?(Array)
181
+ self.details = value
182
+ end
183
+
184
+
185
+
186
+ end
187
+
188
+
189
+ if attributes.has_key?(:'errors')
190
+
191
+ if (value = attributes[:'errors']).is_a?(Array)
192
+ self.errors = value
193
+ end
194
+
195
+
196
+
197
+ end
198
+
199
+
200
+ end
201
+
202
+ # Show invalid properties with the reasons. Usually used together with valid?
203
+ # @return Array for valid properies with the reasons
204
+ def list_invalid_properties
205
+ invalid_properties = Array.new
206
+
207
+
208
+ return invalid_properties
209
+ end
210
+
211
+ # Check to see if the all the properties in the model are valid
212
+ # @return true if the model is valid
213
+ def valid?
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+ end
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+ # Checks equality by comparing each attribute.
309
+ # @param [Object] Object to be compared
310
+ def ==(o)
311
+ return true if self.equal?(o)
312
+ self.class == o.class &&
313
+ status == o.status &&
314
+ code == o.code &&
315
+ entity_id == o.entity_id &&
316
+ entity_name == o.entity_name &&
317
+ message == o.message &&
318
+ message_with_params == o.message_with_params &&
319
+ message_params == o.message_params &&
320
+ context_id == o.context_id &&
321
+ details == o.details &&
322
+ errors == o.errors
323
+ end
324
+
325
+ # @see the `==` method
326
+ # @param [Object] Object to be compared
327
+ def eql?(o)
328
+ self == o
329
+ end
330
+
331
+ # Calculates hash code according to all attributes.
332
+ # @return [Fixnum] Hash code
333
+ def hash
334
+ [status, code, entity_id, entity_name, message, message_with_params, message_params, context_id, details, errors].hash
335
+ end
336
+
337
+ # build the object from hash
338
+ def build_from_hash(attributes)
339
+ return nil unless attributes.is_a?(Hash)
340
+ self.class.swagger_types.each_pair do |key, type|
341
+ if type =~ /^Array<(.*)>/i
342
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
343
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
344
+ else
345
+ #TODO show warning in debug mode
346
+ end
347
+ elsif !attributes[self.class.attribute_map[key]].nil?
348
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
349
+ else
350
+ # data not found in attributes(hash), not an issue as the data can be optional
351
+ end
352
+ end
353
+
354
+ self
355
+ end
356
+
357
+ def _deserialize(type, value)
358
+ case type.to_sym
359
+ when :DateTime
360
+ DateTime.parse(value)
361
+ when :Date
362
+ Date.parse(value)
363
+ when :String
364
+ value.to_s
365
+ when :Integer
366
+ value.to_i
367
+ when :Float
368
+ value.to_f
369
+ when :BOOLEAN
370
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
371
+ true
372
+ else
373
+ false
374
+ end
375
+ when :Object
376
+ # generic object (usually a Hash), return directly
377
+ value
378
+ when /\AArray<(?<inner_type>.+)>\z/
379
+ inner_type = Regexp.last_match[:inner_type]
380
+ value.map { |v| _deserialize(inner_type, v) }
381
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
382
+ k_type = Regexp.last_match[:k_type]
383
+ v_type = Regexp.last_match[:v_type]
384
+ {}.tap do |hash|
385
+ value.each do |k, v|
386
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
387
+ end
388
+ end
389
+ else # model
390
+ _model = Object.const_get("PureCloud").const_get(type).new
391
+ _model.build_from_hash(value)
392
+ end
393
+ end
394
+
395
+ def to_s
396
+ to_hash.to_s
397
+ end
398
+
399
+ # to_body is an alias to to_body (backward compatibility))
400
+ def to_body
401
+ to_hash
402
+ end
403
+
404
+ # return the object in the form of hash
405
+ def to_hash
406
+ hash = {}
407
+ self.class.attribute_map.each_pair do |attr, param|
408
+ value = self.send(attr)
409
+ next if value.nil?
410
+ hash[param] = _to_hash(value)
411
+ end
412
+ hash
413
+ end
414
+
415
+ # Method to output non-array value in the form of hash
416
+ # For object, use to_hash. Otherwise, just return the value
417
+ def _to_hash(value)
418
+ if value.is_a?(Array)
419
+ value.compact.map{ |v| _to_hash(v) }
420
+ elsif value.is_a?(Hash)
421
+ {}.tap do |hash|
422
+ value.each { |k, v| hash[k] = _to_hash(v) }
423
+ end
424
+ elsif value.respond_to? :to_hash
425
+ value.to_hash
426
+ else
427
+ value
428
+ end
429
+ end
430
+
431
+ end
432
+ end
@@ -0,0 +1,432 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: 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 MessageConversationNotificationErrorInfo
21
+ attr_accessor :status
22
+
23
+ attr_accessor :code
24
+
25
+ attr_accessor :entity_id
26
+
27
+ attr_accessor :entity_name
28
+
29
+ attr_accessor :message
30
+
31
+ attr_accessor :message_with_params
32
+
33
+ attr_accessor :message_params
34
+
35
+ attr_accessor :context_id
36
+
37
+ attr_accessor :details
38
+
39
+ attr_accessor :errors
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+
45
+ :'status' => :'status',
46
+
47
+ :'code' => :'code',
48
+
49
+ :'entity_id' => :'entityId',
50
+
51
+ :'entity_name' => :'entityName',
52
+
53
+ :'message' => :'message',
54
+
55
+ :'message_with_params' => :'messageWithParams',
56
+
57
+ :'message_params' => :'messageParams',
58
+
59
+ :'context_id' => :'contextId',
60
+
61
+ :'details' => :'details',
62
+
63
+ :'errors' => :'errors'
64
+
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+
72
+ :'status' => :'Integer',
73
+
74
+ :'code' => :'String',
75
+
76
+ :'entity_id' => :'String',
77
+
78
+ :'entity_name' => :'String',
79
+
80
+ :'message' => :'String',
81
+
82
+ :'message_with_params' => :'String',
83
+
84
+ :'message_params' => :'Hash<String, String>',
85
+
86
+ :'context_id' => :'String',
87
+
88
+ :'details' => :'Array<CallbackConversationNotificationErrorInfoDetails>',
89
+
90
+ :'errors' => :'Array<MessageConversationNotificationErrorBody>'
91
+
92
+ }
93
+ end
94
+
95
+ # Initializes the object
96
+ # @param [Hash] attributes Model attributes in the form of hash
97
+ def initialize(attributes = {})
98
+ return unless attributes.is_a?(Hash)
99
+
100
+ # convert string to symbol for hash key
101
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
102
+
103
+
104
+ if attributes.has_key?(:'status')
105
+
106
+
107
+ self.status = attributes[:'status']
108
+
109
+
110
+ end
111
+
112
+
113
+ if attributes.has_key?(:'code')
114
+
115
+
116
+ self.code = attributes[:'code']
117
+
118
+
119
+ end
120
+
121
+
122
+ if attributes.has_key?(:'entityId')
123
+
124
+
125
+ self.entity_id = attributes[:'entityId']
126
+
127
+
128
+ end
129
+
130
+
131
+ if attributes.has_key?(:'entityName')
132
+
133
+
134
+ self.entity_name = attributes[:'entityName']
135
+
136
+
137
+ end
138
+
139
+
140
+ if attributes.has_key?(:'message')
141
+
142
+
143
+ self.message = attributes[:'message']
144
+
145
+
146
+ end
147
+
148
+
149
+ if attributes.has_key?(:'messageWithParams')
150
+
151
+
152
+ self.message_with_params = attributes[:'messageWithParams']
153
+
154
+
155
+ end
156
+
157
+
158
+ if attributes.has_key?(:'messageParams')
159
+
160
+ if (value = attributes[:'messageParams']).is_a?(Array)
161
+ self.message_params = value
162
+ end
163
+
164
+
165
+
166
+ end
167
+
168
+
169
+ if attributes.has_key?(:'contextId')
170
+
171
+
172
+ self.context_id = attributes[:'contextId']
173
+
174
+
175
+ end
176
+
177
+
178
+ if attributes.has_key?(:'details')
179
+
180
+ if (value = attributes[:'details']).is_a?(Array)
181
+ self.details = value
182
+ end
183
+
184
+
185
+
186
+ end
187
+
188
+
189
+ if attributes.has_key?(:'errors')
190
+
191
+ if (value = attributes[:'errors']).is_a?(Array)
192
+ self.errors = value
193
+ end
194
+
195
+
196
+
197
+ end
198
+
199
+
200
+ end
201
+
202
+ # Show invalid properties with the reasons. Usually used together with valid?
203
+ # @return Array for valid properies with the reasons
204
+ def list_invalid_properties
205
+ invalid_properties = Array.new
206
+
207
+
208
+ return invalid_properties
209
+ end
210
+
211
+ # Check to see if the all the properties in the model are valid
212
+ # @return true if the model is valid
213
+ def valid?
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+ end
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+ # Checks equality by comparing each attribute.
309
+ # @param [Object] Object to be compared
310
+ def ==(o)
311
+ return true if self.equal?(o)
312
+ self.class == o.class &&
313
+ status == o.status &&
314
+ code == o.code &&
315
+ entity_id == o.entity_id &&
316
+ entity_name == o.entity_name &&
317
+ message == o.message &&
318
+ message_with_params == o.message_with_params &&
319
+ message_params == o.message_params &&
320
+ context_id == o.context_id &&
321
+ details == o.details &&
322
+ errors == o.errors
323
+ end
324
+
325
+ # @see the `==` method
326
+ # @param [Object] Object to be compared
327
+ def eql?(o)
328
+ self == o
329
+ end
330
+
331
+ # Calculates hash code according to all attributes.
332
+ # @return [Fixnum] Hash code
333
+ def hash
334
+ [status, code, entity_id, entity_name, message, message_with_params, message_params, context_id, details, errors].hash
335
+ end
336
+
337
+ # build the object from hash
338
+ def build_from_hash(attributes)
339
+ return nil unless attributes.is_a?(Hash)
340
+ self.class.swagger_types.each_pair do |key, type|
341
+ if type =~ /^Array<(.*)>/i
342
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
343
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
344
+ else
345
+ #TODO show warning in debug mode
346
+ end
347
+ elsif !attributes[self.class.attribute_map[key]].nil?
348
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
349
+ else
350
+ # data not found in attributes(hash), not an issue as the data can be optional
351
+ end
352
+ end
353
+
354
+ self
355
+ end
356
+
357
+ def _deserialize(type, value)
358
+ case type.to_sym
359
+ when :DateTime
360
+ DateTime.parse(value)
361
+ when :Date
362
+ Date.parse(value)
363
+ when :String
364
+ value.to_s
365
+ when :Integer
366
+ value.to_i
367
+ when :Float
368
+ value.to_f
369
+ when :BOOLEAN
370
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
371
+ true
372
+ else
373
+ false
374
+ end
375
+ when :Object
376
+ # generic object (usually a Hash), return directly
377
+ value
378
+ when /\AArray<(?<inner_type>.+)>\z/
379
+ inner_type = Regexp.last_match[:inner_type]
380
+ value.map { |v| _deserialize(inner_type, v) }
381
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
382
+ k_type = Regexp.last_match[:k_type]
383
+ v_type = Regexp.last_match[:v_type]
384
+ {}.tap do |hash|
385
+ value.each do |k, v|
386
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
387
+ end
388
+ end
389
+ else # model
390
+ _model = Object.const_get("PureCloud").const_get(type).new
391
+ _model.build_from_hash(value)
392
+ end
393
+ end
394
+
395
+ def to_s
396
+ to_hash.to_s
397
+ end
398
+
399
+ # to_body is an alias to to_body (backward compatibility))
400
+ def to_body
401
+ to_hash
402
+ end
403
+
404
+ # return the object in the form of hash
405
+ def to_hash
406
+ hash = {}
407
+ self.class.attribute_map.each_pair do |attr, param|
408
+ value = self.send(attr)
409
+ next if value.nil?
410
+ hash[param] = _to_hash(value)
411
+ end
412
+ hash
413
+ end
414
+
415
+ # Method to output non-array value in the form of hash
416
+ # For object, use to_hash. Otherwise, just return the value
417
+ def _to_hash(value)
418
+ if value.is_a?(Array)
419
+ value.compact.map{ |v| _to_hash(v) }
420
+ elsif value.is_a?(Hash)
421
+ {}.tap do |hash|
422
+ value.each { |k, v| hash[k] = _to_hash(v) }
423
+ end
424
+ elsif value.respond_to? :to_hash
425
+ value.to_hash
426
+ else
427
+ value
428
+ end
429
+ end
430
+
431
+ end
432
+ end