purecloudplatformclientv2 43.1.0 → 44.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) 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/AnalyticsSurvey.md +6 -5
  6. data/docs/ArchitectApi.md +14 -14
  7. data/docs/{JsonNode.md → ArrayNode.md} +2 -2
  8. data/docs/AttemptLimitsEntityListing.md +1 -1
  9. data/docs/AttributeEntityListing.md +1 -1
  10. data/docs/AuthzDivisionEntityListing.md +1 -1
  11. data/docs/CalibrationEntityListing.md +1 -1
  12. data/docs/CallConversationEntityListing.md +1 -1
  13. data/docs/CallHistoryConversationEntityListing.md +1 -1
  14. data/docs/CallableTimeSetEntityListing.md +1 -1
  15. data/docs/CallbackConversationEntityListing.md +1 -1
  16. data/docs/CampaignDivisionViewListing.md +1 -1
  17. data/docs/CampaignEntityListing.md +1 -1
  18. data/docs/CampaignRuleEntityListing.md +1 -1
  19. data/docs/CampaignSequenceEntityListing.md +1 -1
  20. data/docs/CertificateAuthorityEntityListing.md +1 -1
  21. data/docs/ChatConversationEntityListing.md +1 -1
  22. data/docs/ClientAppEntityListing.md +1 -1
  23. data/docs/CobrowseConversationEntityListing.md +1 -1
  24. data/docs/CommandStatusEntityListing.md +1 -1
  25. data/docs/ConsumedResourcesEntityListing.md +1 -1
  26. data/docs/ConsumingResourcesEntityListing.md +1 -1
  27. data/docs/ContactListEntityListing.md +1 -1
  28. data/docs/ContactListFilterEntityListing.md +1 -1
  29. data/docs/ContactListing.md +1 -1
  30. data/docs/ConversationEntityListing.md +1 -1
  31. data/docs/ConversationsApi.md +66 -0
  32. data/docs/CreateOutboundMessagingConversationRequest.md +18 -0
  33. data/docs/CreateQueueRequest.md +1 -0
  34. data/docs/CreateUser.md +1 -0
  35. data/docs/CredentialInfoListing.md +1 -1
  36. data/docs/CredentialTypeListing.md +1 -1
  37. data/docs/DIDEntityListing.md +1 -1
  38. data/docs/DIDPoolEntityListing.md +1 -1
  39. data/docs/DataTableRowEntityListing.md +1 -1
  40. data/docs/DataTablesDomainEntityListing.md +1 -1
  41. data/docs/DependencyObjectEntityListing.md +1 -1
  42. data/docs/DependencyTypeEntityListing.md +1 -1
  43. data/docs/DialerEventEntityListing.md +1 -1
  44. data/docs/DirectoryUserDevicesListing.md +1 -1
  45. data/docs/DncListCreate.md +7 -7
  46. data/docs/DncListEntityListing.md +1 -1
  47. data/docs/DocumentAuditEntityListing.md +1 -1
  48. data/docs/DocumentEntityListing.md +1 -1
  49. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  50. data/docs/DomainEntityListing.md +1 -1
  51. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  52. data/docs/DomainEntityListingQueryResult.md +1 -1
  53. data/docs/DomainEntityListingSurveyForm.md +1 -1
  54. data/docs/EdgeEntityListing.md +1 -1
  55. data/docs/EdgeGroupEntityListing.md +1 -1
  56. data/docs/EdgeLineEntityListing.md +1 -1
  57. data/docs/EmailConversationEntityListing.md +1 -1
  58. data/docs/EmailMessageListing.md +1 -1
  59. data/docs/EmergencyGroupListing.md +1 -1
  60. data/docs/EncryptionKeyEntityListing.md +1 -1
  61. data/docs/EndpointEntityListing.md +1 -1
  62. data/docs/EvaluationEntityListing.md +1 -1
  63. data/docs/EvaluationFormEntityListing.md +1 -1
  64. data/docs/EvaluatorActivityEntityListing.md +1 -1
  65. data/docs/ExtensionEntityListing.md +1 -1
  66. data/docs/ExtensionPoolEntityListing.md +1 -1
  67. data/docs/ExternalOrganizationListing.md +1 -1
  68. data/docs/FacebookIntegrationEntityListing.md +1 -1
  69. data/docs/FacebookIntegrationRequest.md +3 -3
  70. data/docs/FaxDocumentEntityListing.md +1 -1
  71. data/docs/FlowDivisionViewEntityListing.md +1 -1
  72. data/docs/FlowEntityListing.md +1 -1
  73. data/docs/FlowVersionEntityListing.md +1 -1
  74. data/docs/GDPRRequestEntityListing.md +1 -1
  75. data/docs/GDPRSubjectEntityListing.md +1 -1
  76. data/docs/GreetingListing.md +1 -1
  77. data/docs/GroupEntityListing.md +1 -1
  78. data/docs/GroupProfileEntityListing.md +1 -1
  79. data/docs/HeadcountForecast.md +14 -0
  80. data/docs/{HeadcountIntervalResponse.md → HeadcountInterval.md} +4 -4
  81. data/docs/IVREntityListing.md +1 -1
  82. data/docs/InboundDomainEntityListing.md +1 -1
  83. data/docs/InboundRouteEntityListing.md +1 -1
  84. data/docs/IntegrationEntityListing.md +1 -1
  85. data/docs/IntegrationEventEntityListing.md +1 -1
  86. data/docs/IntegrationTypeEntityListing.md +1 -1
  87. data/docs/InteractionStatsAlertContainer.md +1 -1
  88. data/docs/InteractionStatsRuleContainer.md +1 -1
  89. data/docs/IntradayDataUpdateNotificationDateTime.md +1 -1
  90. data/docs/IntradayDataUpdateNotificationStartDate.md +1 -1
  91. data/docs/JsonNodeSearchResponse.md +2 -2
  92. data/docs/KeywordSetEntityListing.md +1 -1
  93. data/docs/LanguageEntityListing.md +1 -1
  94. data/docs/LibraryEntityListing.md +1 -1
  95. data/docs/LineBaseEntityListing.md +1 -1
  96. data/docs/LineEntityListing.md +1 -1
  97. data/docs/LineIntegrationEntityListing.md +1 -1
  98. data/docs/LineIntegrationRequest.md +0 -1
  99. data/docs/LocationEntityListing.md +1 -1
  100. data/docs/LogicalInterfaceEntityListing.md +1 -1
  101. data/docs/ManagementUnitListing.md +1 -1
  102. data/docs/MessageConversationEntityListing.md +1 -1
  103. data/docs/MessagingApi.md +0 -64
  104. data/docs/MessagingStickerEntityListing.md +1 -1
  105. data/docs/NoteListing.md +1 -1
  106. data/docs/OAuthClientEntityListing.md +1 -1
  107. data/docs/OAuthProviderEntityListing.md +1 -1
  108. data/docs/OrganizationPresenceEntityListing.md +1 -1
  109. data/docs/OrganizationRoleEntityListing.md +1 -1
  110. data/docs/OrphanRecordingListing.md +1 -1
  111. data/docs/OutboundApi.md +66 -66
  112. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  113. data/docs/OutboundRouteEntityListing.md +1 -1
  114. data/docs/PermissionCollectionEntityListing.md +1 -1
  115. data/docs/PhoneBaseEntityListing.md +1 -1
  116. data/docs/PhoneEntityListing.md +1 -1
  117. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  118. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  119. data/docs/PolicyEntityListing.md +1 -1
  120. data/docs/PromptAssetEntityListing.md +1 -1
  121. data/docs/PromptEntityListing.md +1 -1
  122. data/docs/QualityApi.md +9 -3
  123. data/docs/QualityAuditPage.md +1 -1
  124. data/docs/Queue.md +1 -0
  125. data/docs/QueueEntityListing.md +1 -1
  126. data/docs/QueueMemberEntityListing.md +1 -1
  127. data/docs/QueueMessagingAddresses.md +13 -0
  128. data/docs/QueueRequest.md +1 -0
  129. data/docs/Recipient.md +1 -0
  130. data/docs/RecipientListing.md +1 -1
  131. data/docs/RelationshipListing.md +1 -1
  132. data/docs/ReportMetaDataEntityListing.md +1 -1
  133. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  134. data/docs/ReportScheduleEntityListing.md +1 -1
  135. data/docs/ReportingExportJobListing.md +1 -1
  136. data/docs/RescheduleRequest.md +20 -0
  137. data/docs/RescheduleResult.md +13 -0
  138. data/docs/ReschedulingOptionsResponse.md +22 -0
  139. data/docs/ResponseEntityList.md +1 -1
  140. data/docs/ResponseEntityListing.md +1 -1
  141. data/docs/ResponseSetEntityListing.md +1 -1
  142. data/docs/RoutingApi.md +2 -0
  143. data/docs/RuleSetEntityListing.md +1 -1
  144. data/docs/ScheduleEntityListing.md +1 -1
  145. data/docs/ScheduleGroupEntityListing.md +1 -1
  146. data/docs/SchedulingRunResponse.md +8 -2
  147. data/docs/SchemaCategoryEntityListing.md +1 -1
  148. data/docs/SchemaReferenceEntityListing.md +1 -1
  149. data/docs/ScreenRecordingSessionListing.md +1 -1
  150. data/docs/ScriptEntityListing.md +1 -1
  151. data/docs/SecurityProfileEntityListing.md +1 -1
  152. data/docs/ShareEntityListing.md +1 -1
  153. data/docs/SiteEntityListing.md +1 -1
  154. data/docs/SkillEntityListing.md +1 -1
  155. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  156. data/docs/StationEntityListing.md +1 -1
  157. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  158. data/docs/SurveyFormEntityListing.md +1 -1
  159. data/docs/SystemPromptAssetEntityListing.md +1 -1
  160. data/docs/SystemPromptEntityListing.md +1 -1
  161. data/docs/TagValueEntityListing.md +1 -1
  162. data/docs/TextMessageListing.md +1 -1
  163. data/docs/TimeZoneEntityListing.md +1 -1
  164. data/docs/TimeZoneMappingPreview.md +21 -0
  165. data/docs/TrunkBaseEntityListing.md +1 -1
  166. data/docs/TrunkEntityListing.md +1 -1
  167. data/docs/TrunkMetabaseEntityListing.md +1 -1
  168. data/docs/TrustEntityListing.md +1 -1
  169. data/docs/TrustUserEntityListing.md +1 -1
  170. data/docs/TrustorEntityListing.md +1 -1
  171. data/docs/TwitterIntegrationEntityListing.md +1 -1
  172. data/docs/UnscheduledAgentWarning.md +14 -0
  173. data/docs/UpdateSchedulingRunRequest.md +13 -0
  174. data/docs/UpdateWeekScheduleRequest.md +3 -1
  175. data/docs/UserActionCategoryEntityListing.md +1 -1
  176. data/docs/UserEntityListing.md +1 -1
  177. data/docs/UserLanguageEntityListing.md +1 -1
  178. data/docs/UserProfileEntityListing.md +1 -1
  179. data/docs/UserQueue.md +1 -0
  180. data/docs/UserQueueEntityListing.md +1 -1
  181. data/docs/UserRecordingEntityListing.md +1 -1
  182. data/docs/UserScheduleAdherenceUpdateNotificationDateTime.md +1 -1
  183. data/docs/UserSkillEntityListing.md +1 -1
  184. data/docs/ViewFilter.md +2 -0
  185. data/docs/VoicemailMessageEntityListing.md +1 -1
  186. data/docs/WeekSchedule.md +1 -1
  187. data/docs/WorkforceManagementApi.md +288 -0
  188. data/docs/WorkspaceEntityListing.md +1 -1
  189. data/docs/WorkspaceMemberEntityListing.md +1 -1
  190. data/docs/WrapupCodeEntityListing.md +1 -1
  191. data/lib/purecloudplatformclientv2.rb +11 -3
  192. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  193. data/lib/purecloudplatformclientv2/api/conversations_api.rb +65 -0
  194. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -64
  195. data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -65
  196. data/lib/purecloudplatformclientv2/api/quality_api.rb +27 -0
  197. data/lib/purecloudplatformclientv2/api/routing_api.rb +13 -0
  198. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +326 -0
  199. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  200. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
  201. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
  202. data/lib/purecloudplatformclientv2/models/analytics_survey.rb +83 -51
  203. data/lib/purecloudplatformclientv2/models/{json_node.rb → array_node.rb} +1 -1
  204. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
  205. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +14 -14
  206. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +14 -14
  207. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
  208. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
  209. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
  210. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
  211. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
  212. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +14 -14
  213. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
  214. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
  215. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
  216. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
  217. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
  218. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +14 -14
  219. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
  220. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
  221. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
  222. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
  223. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
  224. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
  225. data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
  226. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
  227. data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +361 -0
  228. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +27 -1
  229. data/lib/purecloudplatformclientv2/models/create_user.rb +30 -4
  230. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +14 -14
  231. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +14 -14
  232. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +14 -14
  233. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +14 -14
  234. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  235. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  236. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
  237. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
  238. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
  239. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
  240. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
  241. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
  242. data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +12 -7
  243. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
  244. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
  245. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
  246. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
  247. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
  248. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
  249. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
  250. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +14 -14
  251. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
  252. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
  253. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
  254. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
  255. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
  256. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +14 -14
  257. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
  258. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +14 -14
  259. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
  260. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
  261. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
  262. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
  263. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
  264. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
  265. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +14 -14
  266. data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +3 -3
  267. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
  268. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +14 -14
  269. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
  270. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
  271. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +14 -14
  272. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +14 -14
  273. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
  274. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
  275. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +14 -14
  276. data/lib/purecloudplatformclientv2/models/{headcount_forecast_response.rb → headcount_forecast.rb} +13 -3
  277. data/lib/purecloudplatformclientv2/models/{headcount_interval_response.rb → headcount_interval.rb} +12 -2
  278. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
  279. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
  280. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +14 -14
  281. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +14 -14
  282. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +14 -14
  283. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
  284. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
  285. data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_date_time.rb +17 -17
  286. data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_start_date.rb +17 -17
  287. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
  288. data/lib/purecloudplatformclientv2/models/json_node_search_response.rb +2 -2
  289. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
  290. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
  291. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
  292. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
  293. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
  294. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +14 -14
  295. data/lib/purecloudplatformclientv2/models/line_integration_request.rb +1 -27
  296. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
  297. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
  298. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
  299. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +14 -14
  300. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +14 -14
  301. data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
  302. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
  303. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
  304. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
  305. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
  306. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
  307. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
  308. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
  309. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
  310. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
  311. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
  312. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
  313. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
  314. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
  315. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
  316. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
  317. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
  318. data/lib/purecloudplatformclientv2/models/queue.rb +27 -1
  319. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
  320. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
  321. data/lib/purecloudplatformclientv2/models/queue_messaging_addresses.rb +201 -0
  322. data/lib/purecloudplatformclientv2/models/queue_request.rb +27 -1
  323. data/lib/purecloudplatformclientv2/models/recipient.rb +41 -1
  324. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +14 -14
  325. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
  326. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
  327. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
  328. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
  329. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +14 -14
  330. data/lib/purecloudplatformclientv2/models/reschedule_request.rb +418 -0
  331. data/lib/purecloudplatformclientv2/models/reschedule_result.rb +202 -0
  332. data/lib/purecloudplatformclientv2/models/rescheduling_options_response.rb +470 -0
  333. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
  334. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
  335. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
  336. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
  337. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
  338. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
  339. data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +164 -6
  340. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
  341. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
  342. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
  343. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
  344. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
  345. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
  346. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
  347. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
  348. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +14 -14
  349. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
  350. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +14 -14
  351. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +14 -14
  352. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
  353. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
  354. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
  355. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +14 -14
  356. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
  357. data/lib/purecloudplatformclientv2/models/time_zone_mapping_preview.rb +414 -0
  358. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
  359. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
  360. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
  361. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
  362. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
  363. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
  364. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +14 -14
  365. data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +242 -0
  366. data/lib/purecloudplatformclientv2/models/update_scheduling_run_request.rb +202 -0
  367. data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +54 -2
  368. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +14 -14
  369. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
  370. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +14 -14
  371. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +14 -14
  372. data/lib/purecloudplatformclientv2/models/user_queue.rb +27 -1
  373. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
  374. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
  375. data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification_date_time.rb +17 -17
  376. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
  377. data/lib/purecloudplatformclientv2/models/view_filter.rb +57 -1
  378. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
  379. data/lib/purecloudplatformclientv2/models/week_schedule.rb +1 -1
  380. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
  381. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
  382. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
  383. data/lib/purecloudplatformclientv2/version.rb +1 -1
  384. metadata +24 -8
  385. data/docs/HeadcountForecastResponse.md +0 -14
@@ -30,12 +30,12 @@ module PureCloud
30
30
 
31
31
  attr_accessor :first_uri
32
32
 
33
+ attr_accessor :previous_uri
34
+
33
35
  attr_accessor :next_uri
34
36
 
35
37
  attr_accessor :last_uri
36
38
 
37
- attr_accessor :previous_uri
38
-
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -54,12 +54,12 @@ module PureCloud
54
54
 
55
55
  :'first_uri' => :'firstUri',
56
56
 
57
+ :'previous_uri' => :'previousUri',
58
+
57
59
  :'next_uri' => :'nextUri',
58
60
 
59
61
  :'last_uri' => :'lastUri',
60
62
 
61
- :'previous_uri' => :'previousUri',
62
-
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -81,12 +81,12 @@ module PureCloud
81
81
 
82
82
  :'first_uri' => :'String',
83
83
 
84
+ :'previous_uri' => :'String',
85
+
84
86
  :'next_uri' => :'String',
85
87
 
86
88
  :'last_uri' => :'String',
87
89
 
88
- :'previous_uri' => :'String',
89
-
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -157,28 +157,28 @@ module PureCloud
157
157
  end
158
158
 
159
159
 
160
- if attributes.has_key?(:'nextUri')
160
+ if attributes.has_key?(:'previousUri')
161
161
 
162
162
 
163
- self.next_uri = attributes[:'nextUri']
163
+ self.previous_uri = attributes[:'previousUri']
164
164
 
165
165
 
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'lastUri')
169
+ if attributes.has_key?(:'nextUri')
170
170
 
171
171
 
172
- self.last_uri = attributes[:'lastUri']
172
+ self.next_uri = attributes[:'nextUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'previousUri')
178
+ if attributes.has_key?(:'lastUri')
179
179
 
180
180
 
181
- self.previous_uri = attributes[:'previousUri']
181
+ self.last_uri = attributes[:'lastUri']
182
182
 
183
183
 
184
184
  end
@@ -312,9 +312,9 @@ module PureCloud
312
312
  total == o.total &&
313
313
  self_uri == o.self_uri &&
314
314
  first_uri == o.first_uri &&
315
+ previous_uri == o.previous_uri &&
315
316
  next_uri == o.next_uri &&
316
317
  last_uri == o.last_uri &&
317
- previous_uri == o.previous_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, self_uri, first_uri, next_uri, last_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -0,0 +1,414 @@
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 TimeZoneMappingPreview
21
+ # The associated ContactList
22
+ attr_accessor :contact_list
23
+
24
+ # The number of contacts per time zone that mapped to only that time zone
25
+ attr_accessor :contacts_per_time_zone
26
+
27
+ # The number of contacts per time zone that mapped to only that time zone and were mapped using the zip code column
28
+ attr_accessor :contacts_mapped_using_zip_code
29
+
30
+ # The total number of contacts that mapped to a single time zone
31
+ attr_accessor :contacts_mapped_to_a_single_zone
32
+
33
+ # The total number of contacts that mapped to a single time zone and were mapped using the zip code column
34
+ attr_accessor :contacts_mapped_to_a_single_zone_using_zip_code
35
+
36
+ # The total number of contacts that mapped to multiple time zones
37
+ attr_accessor :contacts_mapped_to_multiple_zones
38
+
39
+ # The total number of contacts that mapped to multiple time zones and were mapped using the zip code column
40
+ attr_accessor :contacts_mapped_to_multiple_zones_using_zip_code
41
+
42
+ # The total number of contacts that will be dialed during the default window
43
+ attr_accessor :contacts_in_default_window
44
+
45
+ # The total number of contacts in the contact list
46
+ attr_accessor :contact_list_size
47
+
48
+ # Attribute mapping from ruby-style variable name to JSON key.
49
+ def self.attribute_map
50
+ {
51
+
52
+ :'contact_list' => :'contactList',
53
+
54
+ :'contacts_per_time_zone' => :'contactsPerTimeZone',
55
+
56
+ :'contacts_mapped_using_zip_code' => :'contactsMappedUsingZipCode',
57
+
58
+ :'contacts_mapped_to_a_single_zone' => :'contactsMappedToASingleZone',
59
+
60
+ :'contacts_mapped_to_a_single_zone_using_zip_code' => :'contactsMappedToASingleZoneUsingZipCode',
61
+
62
+ :'contacts_mapped_to_multiple_zones' => :'contactsMappedToMultipleZones',
63
+
64
+ :'contacts_mapped_to_multiple_zones_using_zip_code' => :'contactsMappedToMultipleZonesUsingZipCode',
65
+
66
+ :'contacts_in_default_window' => :'contactsInDefaultWindow',
67
+
68
+ :'contact_list_size' => :'contactListSize'
69
+
70
+ }
71
+ end
72
+
73
+ # Attribute type mapping.
74
+ def self.swagger_types
75
+ {
76
+
77
+ :'contact_list' => :'UriReference',
78
+
79
+ :'contacts_per_time_zone' => :'Hash<String, Integer>',
80
+
81
+ :'contacts_mapped_using_zip_code' => :'Hash<String, Integer>',
82
+
83
+ :'contacts_mapped_to_a_single_zone' => :'Integer',
84
+
85
+ :'contacts_mapped_to_a_single_zone_using_zip_code' => :'Integer',
86
+
87
+ :'contacts_mapped_to_multiple_zones' => :'Integer',
88
+
89
+ :'contacts_mapped_to_multiple_zones_using_zip_code' => :'Integer',
90
+
91
+ :'contacts_in_default_window' => :'Integer',
92
+
93
+ :'contact_list_size' => :'Integer'
94
+
95
+ }
96
+ end
97
+
98
+ # Initializes the object
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ def initialize(attributes = {})
101
+ return unless attributes.is_a?(Hash)
102
+
103
+ # convert string to symbol for hash key
104
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
105
+
106
+
107
+ if attributes.has_key?(:'contactList')
108
+
109
+
110
+ self.contact_list = attributes[:'contactList']
111
+
112
+
113
+ end
114
+
115
+
116
+ if attributes.has_key?(:'contactsPerTimeZone')
117
+
118
+ if (value = attributes[:'contactsPerTimeZone']).is_a?(Array)
119
+ self.contacts_per_time_zone = value
120
+ end
121
+
122
+
123
+
124
+ end
125
+
126
+
127
+ if attributes.has_key?(:'contactsMappedUsingZipCode')
128
+
129
+ if (value = attributes[:'contactsMappedUsingZipCode']).is_a?(Array)
130
+ self.contacts_mapped_using_zip_code = value
131
+ end
132
+
133
+
134
+
135
+ end
136
+
137
+
138
+ if attributes.has_key?(:'contactsMappedToASingleZone')
139
+
140
+
141
+ self.contacts_mapped_to_a_single_zone = attributes[:'contactsMappedToASingleZone']
142
+
143
+
144
+ end
145
+
146
+
147
+ if attributes.has_key?(:'contactsMappedToASingleZoneUsingZipCode')
148
+
149
+
150
+ self.contacts_mapped_to_a_single_zone_using_zip_code = attributes[:'contactsMappedToASingleZoneUsingZipCode']
151
+
152
+
153
+ end
154
+
155
+
156
+ if attributes.has_key?(:'contactsMappedToMultipleZones')
157
+
158
+
159
+ self.contacts_mapped_to_multiple_zones = attributes[:'contactsMappedToMultipleZones']
160
+
161
+
162
+ end
163
+
164
+
165
+ if attributes.has_key?(:'contactsMappedToMultipleZonesUsingZipCode')
166
+
167
+
168
+ self.contacts_mapped_to_multiple_zones_using_zip_code = attributes[:'contactsMappedToMultipleZonesUsingZipCode']
169
+
170
+
171
+ end
172
+
173
+
174
+ if attributes.has_key?(:'contactsInDefaultWindow')
175
+
176
+
177
+ self.contacts_in_default_window = attributes[:'contactsInDefaultWindow']
178
+
179
+
180
+ end
181
+
182
+
183
+ if attributes.has_key?(:'contactListSize')
184
+
185
+
186
+ self.contact_list_size = attributes[:'contactListSize']
187
+
188
+
189
+ end
190
+
191
+
192
+ end
193
+
194
+ # Show invalid properties with the reasons. Usually used together with valid?
195
+ # @return Array for valid properies with the reasons
196
+ def list_invalid_properties
197
+ invalid_properties = Array.new
198
+
199
+
200
+ return invalid_properties
201
+ end
202
+
203
+ # Check to see if the all the properties in the model are valid
204
+ # @return true if the model is valid
205
+ def valid?
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
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
+ end
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+ # Checks equality by comparing each attribute.
292
+ # @param [Object] Object to be compared
293
+ def ==(o)
294
+ return true if self.equal?(o)
295
+ self.class == o.class &&
296
+ contact_list == o.contact_list &&
297
+ contacts_per_time_zone == o.contacts_per_time_zone &&
298
+ contacts_mapped_using_zip_code == o.contacts_mapped_using_zip_code &&
299
+ contacts_mapped_to_a_single_zone == o.contacts_mapped_to_a_single_zone &&
300
+ contacts_mapped_to_a_single_zone_using_zip_code == o.contacts_mapped_to_a_single_zone_using_zip_code &&
301
+ contacts_mapped_to_multiple_zones == o.contacts_mapped_to_multiple_zones &&
302
+ contacts_mapped_to_multiple_zones_using_zip_code == o.contacts_mapped_to_multiple_zones_using_zip_code &&
303
+ contacts_in_default_window == o.contacts_in_default_window &&
304
+ contact_list_size == o.contact_list_size
305
+ end
306
+
307
+ # @see the `==` method
308
+ # @param [Object] Object to be compared
309
+ def eql?(o)
310
+ self == o
311
+ end
312
+
313
+ # Calculates hash code according to all attributes.
314
+ # @return [Fixnum] Hash code
315
+ def hash
316
+ [contact_list, contacts_per_time_zone, contacts_mapped_using_zip_code, contacts_mapped_to_a_single_zone, contacts_mapped_to_a_single_zone_using_zip_code, contacts_mapped_to_multiple_zones, contacts_mapped_to_multiple_zones_using_zip_code, contacts_in_default_window, contact_list_size].hash
317
+ end
318
+
319
+ # build the object from hash
320
+ def build_from_hash(attributes)
321
+ return nil unless attributes.is_a?(Hash)
322
+ self.class.swagger_types.each_pair do |key, type|
323
+ if type =~ /^Array<(.*)>/i
324
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
325
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
326
+ else
327
+ #TODO show warning in debug mode
328
+ end
329
+ elsif !attributes[self.class.attribute_map[key]].nil?
330
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
331
+ else
332
+ # data not found in attributes(hash), not an issue as the data can be optional
333
+ end
334
+ end
335
+
336
+ self
337
+ end
338
+
339
+ def _deserialize(type, value)
340
+ case type.to_sym
341
+ when :DateTime
342
+ DateTime.parse(value)
343
+ when :Date
344
+ Date.parse(value)
345
+ when :String
346
+ value.to_s
347
+ when :Integer
348
+ value.to_i
349
+ when :Float
350
+ value.to_f
351
+ when :BOOLEAN
352
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
353
+ true
354
+ else
355
+ false
356
+ end
357
+ when :Object
358
+ # generic object (usually a Hash), return directly
359
+ value
360
+ when /\AArray<(?<inner_type>.+)>\z/
361
+ inner_type = Regexp.last_match[:inner_type]
362
+ value.map { |v| _deserialize(inner_type, v) }
363
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
364
+ k_type = Regexp.last_match[:k_type]
365
+ v_type = Regexp.last_match[:v_type]
366
+ {}.tap do |hash|
367
+ value.each do |k, v|
368
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
369
+ end
370
+ end
371
+ else # model
372
+ _model = Object.const_get("PureCloud").const_get(type).new
373
+ _model.build_from_hash(value)
374
+ end
375
+ end
376
+
377
+ def to_s
378
+ to_hash.to_s
379
+ end
380
+
381
+ # to_body is an alias to to_body (backward compatibility))
382
+ def to_body
383
+ to_hash
384
+ end
385
+
386
+ # return the object in the form of hash
387
+ def to_hash
388
+ hash = {}
389
+ self.class.attribute_map.each_pair do |attr, param|
390
+ value = self.send(attr)
391
+ next if value.nil?
392
+ hash[param] = _to_hash(value)
393
+ end
394
+ hash
395
+ end
396
+
397
+ # Method to output non-array value in the form of hash
398
+ # For object, use to_hash. Otherwise, just return the value
399
+ def _to_hash(value)
400
+ if value.is_a?(Array)
401
+ value.compact.map{ |v| _to_hash(v) }
402
+ elsif value.is_a?(Hash)
403
+ {}.tap do |hash|
404
+ value.each { |k, v| hash[k] = _to_hash(v) }
405
+ end
406
+ elsif value.respond_to? :to_hash
407
+ value.to_hash
408
+ else
409
+ value
410
+ end
411
+ end
412
+
413
+ end
414
+ end