purecloudplatformclientv2 43.1.0 → 44.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ActionEntityListing.md +1 -1
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AnalyticsSurvey.md +6 -5
- data/docs/ArchitectApi.md +14 -14
- data/docs/{JsonNode.md → ArrayNode.md} +2 -2
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/AuthzDivisionEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallHistoryConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignDivisionViewListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/ClientAppEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationsApi.md +66 -0
- data/docs/CreateOutboundMessagingConversationRequest.md +18 -0
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/CreateUser.md +1 -0
- data/docs/CredentialInfoListing.md +1 -1
- data/docs/CredentialTypeListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DataTableRowEntityListing.md +1 -1
- data/docs/DataTablesDomainEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DirectoryUserDevicesListing.md +1 -1
- data/docs/DncListCreate.md +7 -7
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainEntityListingSurveyForm.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EmergencyGroupListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FacebookIntegrationEntityListing.md +1 -1
- data/docs/FacebookIntegrationRequest.md +3 -3
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowDivisionViewEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GDPRRequestEntityListing.md +1 -1
- data/docs/GDPRSubjectEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/GroupProfileEntityListing.md +1 -1
- data/docs/HeadcountForecast.md +14 -0
- data/docs/{HeadcountIntervalResponse.md → HeadcountInterval.md} +4 -4
- data/docs/IVREntityListing.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/IntegrationEntityListing.md +1 -1
- data/docs/IntegrationEventEntityListing.md +1 -1
- data/docs/IntegrationTypeEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/IntradayDataUpdateNotificationDateTime.md +1 -1
- data/docs/IntradayDataUpdateNotificationStartDate.md +1 -1
- data/docs/JsonNodeSearchResponse.md +2 -2
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LineIntegrationEntityListing.md +1 -1
- data/docs/LineIntegrationRequest.md +0 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/ManagementUnitListing.md +1 -1
- data/docs/MessageConversationEntityListing.md +1 -1
- data/docs/MessagingApi.md +0 -64
- data/docs/MessagingStickerEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundApi.md +66 -66
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityApi.md +9 -3
- data/docs/QualityAuditPage.md +1 -1
- data/docs/Queue.md +1 -0
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/QueueMessagingAddresses.md +13 -0
- data/docs/QueueRequest.md +1 -0
- data/docs/Recipient.md +1 -0
- data/docs/RecipientListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ReportingExportJobListing.md +1 -1
- data/docs/RescheduleRequest.md +20 -0
- data/docs/RescheduleResult.md +13 -0
- data/docs/ReschedulingOptionsResponse.md +22 -0
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingApi.md +2 -0
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/ScheduleEntityListing.md +1 -1
- data/docs/ScheduleGroupEntityListing.md +1 -1
- data/docs/SchedulingRunResponse.md +8 -2
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/SmsPhoneNumberEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
- data/docs/SurveyFormEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TextMessageListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TimeZoneMappingPreview.md +21 -0
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/TrustEntityListing.md +1 -1
- data/docs/TrustUserEntityListing.md +1 -1
- data/docs/TrustorEntityListing.md +1 -1
- data/docs/TwitterIntegrationEntityListing.md +1 -1
- data/docs/UnscheduledAgentWarning.md +14 -0
- data/docs/UpdateSchedulingRunRequest.md +13 -0
- data/docs/UpdateWeekScheduleRequest.md +3 -1
- data/docs/UserActionCategoryEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserLanguageEntityListing.md +1 -1
- data/docs/UserProfileEntityListing.md +1 -1
- data/docs/UserQueue.md +1 -0
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserScheduleAdherenceUpdateNotificationDateTime.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/ViewFilter.md +2 -0
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WeekSchedule.md +1 -1
- data/docs/WorkforceManagementApi.md +288 -0
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +11 -3
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -64
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -65
- data/lib/purecloudplatformclientv2/api/quality_api.rb +27 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +13 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +326 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/analytics_survey.rb +83 -51
- data/lib/purecloudplatformclientv2/models/{json_node.rb → array_node.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +361 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +27 -1
- data/lib/purecloudplatformclientv2/models/create_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +12 -7
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +3 -3
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/{headcount_forecast_response.rb → headcount_forecast.rb} +13 -3
- data/lib/purecloudplatformclientv2/models/{headcount_interval_response.rb → headcount_interval.rb} +12 -2
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_date_time.rb +17 -17
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_start_date.rb +17 -17
- data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/json_node_search_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/line_integration_request.rb +1 -27
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue.rb +27 -1
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/queue_messaging_addresses.rb +201 -0
- data/lib/purecloudplatformclientv2/models/queue_request.rb +27 -1
- data/lib/purecloudplatformclientv2/models/recipient.rb +41 -1
- data/lib/purecloudplatformclientv2/models/recipient_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/reschedule_request.rb +418 -0
- data/lib/purecloudplatformclientv2/models/reschedule_result.rb +202 -0
- data/lib/purecloudplatformclientv2/models/rescheduling_options_response.rb +470 -0
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +164 -6
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/text_message_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/time_zone_mapping_preview.rb +414 -0
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +242 -0
- data/lib/purecloudplatformclientv2/models/update_scheduling_run_request.rb +202 -0
- data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +54 -2
- data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_queue.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification_date_time.rb +17 -17
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/view_filter.rb +57 -1
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/week_schedule.rb +1 -1
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +24 -8
- data/docs/HeadcountForecastResponse.md +0 -14
|
@@ -1282,6 +1282,7 @@ module PureCloud
|
|
|
1282
1282
|
# Get recipients
|
|
1283
1283
|
#
|
|
1284
1284
|
# @param [Hash] opts the optional parameters
|
|
1285
|
+
# @option opts [String] :messenger_type Messenger Type
|
|
1285
1286
|
# @option opts [Integer] :page_size Page size (default to 25)
|
|
1286
1287
|
# @option opts [Integer] :page_number Page number (default to 1)
|
|
1287
1288
|
# @return [RecipientListing]
|
|
@@ -1293,6 +1294,7 @@ module PureCloud
|
|
|
1293
1294
|
# Get recipients
|
|
1294
1295
|
#
|
|
1295
1296
|
# @param [Hash] opts the optional parameters
|
|
1297
|
+
# @option opts [String] :messenger_type Messenger Type
|
|
1296
1298
|
# @option opts [Integer] :page_size Page size
|
|
1297
1299
|
# @option opts [Integer] :page_number Page number
|
|
1298
1300
|
# @return [Array<(RecipientListing, Fixnum, Hash)>] RecipientListing data, response status code and response headers
|
|
@@ -1304,6 +1306,16 @@ module PureCloud
|
|
|
1304
1306
|
|
|
1305
1307
|
|
|
1306
1308
|
|
|
1309
|
+
if opts[:'messenger_type'] && !['sms', 'facebook', 'twitter', 'line', 'whatsapp', 'telegram', 'kakao'].include?(opts[:'messenger_type'])
|
|
1310
|
+
fail ArgumentError, 'invalid value for "messenger_type", must be one of sms, facebook, twitter, line, whatsapp, telegram, kakao'
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1307
1319
|
|
|
1308
1320
|
|
|
1309
1321
|
|
|
@@ -1318,6 +1330,7 @@ module PureCloud
|
|
|
1318
1330
|
|
|
1319
1331
|
# query parameters
|
|
1320
1332
|
query_params = {}
|
|
1333
|
+
query_params[:'messengerType'] = opts[:'messenger_type'] if opts[:'messenger_type']
|
|
1321
1334
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1322
1335
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1323
1336
|
|
|
@@ -987,6 +987,156 @@ module PureCloud
|
|
|
987
987
|
return data, status_code, headers
|
|
988
988
|
end
|
|
989
989
|
|
|
990
|
+
# Gets the status for a specific scheduling run
|
|
991
|
+
#
|
|
992
|
+
# @param management_unit_id The ID of the management unit.
|
|
993
|
+
# @param run_id The ID of the schedule run
|
|
994
|
+
# @param [Hash] opts the optional parameters
|
|
995
|
+
# @return [SchedulingRunResponse]
|
|
996
|
+
def get_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
|
|
997
|
+
data, _status_code, _headers = get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
|
|
998
|
+
return data
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
# Gets the status for a specific scheduling run
|
|
1002
|
+
#
|
|
1003
|
+
# @param management_unit_id The ID of the management unit.
|
|
1004
|
+
# @param run_id The ID of the schedule run
|
|
1005
|
+
# @param [Hash] opts the optional parameters
|
|
1006
|
+
# @return [Array<(SchedulingRunResponse, Fixnum, Hash)>] SchedulingRunResponse data, response status code and response headers
|
|
1007
|
+
def get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
|
|
1008
|
+
if @api_client.config.debugging
|
|
1009
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run ..."
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
# verify the required parameter 'management_unit_id' is set
|
|
1014
|
+
fail ArgumentError, "Missing the required parameter 'management_unit_id' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run" if management_unit_id.nil?
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
# verify the required parameter 'run_id' is set
|
|
1022
|
+
fail ArgumentError, "Missing the required parameter 'run_id' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run" if run_id.nil?
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
# resource path
|
|
1029
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/scheduling/runs/{runId}".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'runId' + '}', run_id.to_s)
|
|
1030
|
+
|
|
1031
|
+
# query parameters
|
|
1032
|
+
query_params = {}
|
|
1033
|
+
|
|
1034
|
+
# header parameters
|
|
1035
|
+
header_params = {}
|
|
1036
|
+
|
|
1037
|
+
# HTTP header 'Accept' (if needed)
|
|
1038
|
+
local_header_accept = ['application/json']
|
|
1039
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1040
|
+
|
|
1041
|
+
# HTTP header 'Content-Type'
|
|
1042
|
+
local_header_content_type = ['application/json']
|
|
1043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1044
|
+
|
|
1045
|
+
# form parameters
|
|
1046
|
+
form_params = {}
|
|
1047
|
+
|
|
1048
|
+
# http body (model)
|
|
1049
|
+
post_body = nil
|
|
1050
|
+
|
|
1051
|
+
auth_names = ['PureCloud Auth']
|
|
1052
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1053
|
+
:header_params => header_params,
|
|
1054
|
+
:query_params => query_params,
|
|
1055
|
+
:form_params => form_params,
|
|
1056
|
+
:body => post_body,
|
|
1057
|
+
:auth_names => auth_names,
|
|
1058
|
+
:return_type => 'SchedulingRunResponse')
|
|
1059
|
+
if @api_client.config.debugging
|
|
1060
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1061
|
+
end
|
|
1062
|
+
return data, status_code, headers
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
# Gets the result of a specific scheduling run
|
|
1066
|
+
#
|
|
1067
|
+
# @param management_unit_id The ID of the management unit.
|
|
1068
|
+
# @param run_id The ID of the schedule run
|
|
1069
|
+
# @param [Hash] opts the optional parameters
|
|
1070
|
+
# @return [RescheduleResult]
|
|
1071
|
+
def get_workforcemanagement_managementunit_scheduling_run_result(management_unit_id, run_id, opts = {})
|
|
1072
|
+
data, _status_code, _headers = get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts)
|
|
1073
|
+
return data
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
# Gets the result of a specific scheduling run
|
|
1077
|
+
#
|
|
1078
|
+
# @param management_unit_id The ID of the management unit.
|
|
1079
|
+
# @param run_id The ID of the schedule run
|
|
1080
|
+
# @param [Hash] opts the optional parameters
|
|
1081
|
+
# @return [Array<(RescheduleResult, Fixnum, Hash)>] RescheduleResult data, response status code and response headers
|
|
1082
|
+
def get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts = {})
|
|
1083
|
+
if @api_client.config.debugging
|
|
1084
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run_result ..."
|
|
1085
|
+
end
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
# verify the required parameter 'management_unit_id' is set
|
|
1089
|
+
fail ArgumentError, "Missing the required parameter 'management_unit_id' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run_result" if management_unit_id.nil?
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
# verify the required parameter 'run_id' is set
|
|
1097
|
+
fail ArgumentError, "Missing the required parameter 'run_id' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run_result" if run_id.nil?
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
# resource path
|
|
1104
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/scheduling/runs/{runId}/result".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'runId' + '}', run_id.to_s)
|
|
1105
|
+
|
|
1106
|
+
# query parameters
|
|
1107
|
+
query_params = {}
|
|
1108
|
+
|
|
1109
|
+
# header parameters
|
|
1110
|
+
header_params = {}
|
|
1111
|
+
|
|
1112
|
+
# HTTP header 'Accept' (if needed)
|
|
1113
|
+
local_header_accept = ['application/json']
|
|
1114
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1115
|
+
|
|
1116
|
+
# HTTP header 'Content-Type'
|
|
1117
|
+
local_header_content_type = ['application/json']
|
|
1118
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1119
|
+
|
|
1120
|
+
# form parameters
|
|
1121
|
+
form_params = {}
|
|
1122
|
+
|
|
1123
|
+
# http body (model)
|
|
1124
|
+
post_body = nil
|
|
1125
|
+
|
|
1126
|
+
auth_names = ['PureCloud Auth']
|
|
1127
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1128
|
+
:header_params => header_params,
|
|
1129
|
+
:query_params => query_params,
|
|
1130
|
+
:form_params => form_params,
|
|
1131
|
+
:body => post_body,
|
|
1132
|
+
:auth_names => auth_names,
|
|
1133
|
+
:return_type => 'RescheduleResult')
|
|
1134
|
+
if @api_client.config.debugging
|
|
1135
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1136
|
+
end
|
|
1137
|
+
return data, status_code, headers
|
|
1138
|
+
end
|
|
1139
|
+
|
|
990
1140
|
# Get the status of all the ongoing schedule runs
|
|
991
1141
|
#
|
|
992
1142
|
# @param management_unit_id The ID of the management unit.
|
|
@@ -2464,6 +2614,89 @@ module PureCloud
|
|
|
2464
2614
|
return data, status_code, headers
|
|
2465
2615
|
end
|
|
2466
2616
|
|
|
2617
|
+
# Marks a specific scheduling run as applied, allowing a new rescheduling run to be started
|
|
2618
|
+
#
|
|
2619
|
+
# @param management_unit_id The ID of the management unit.
|
|
2620
|
+
# @param run_id The ID of the schedule run
|
|
2621
|
+
# @param [Hash] opts the optional parameters
|
|
2622
|
+
# @option opts [UpdateSchedulingRunRequest] :body body
|
|
2623
|
+
# @return [RescheduleResult]
|
|
2624
|
+
def patch_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
|
|
2625
|
+
data, _status_code, _headers = patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
|
|
2626
|
+
return data
|
|
2627
|
+
end
|
|
2628
|
+
|
|
2629
|
+
# Marks a specific scheduling run as applied, allowing a new rescheduling run to be started
|
|
2630
|
+
#
|
|
2631
|
+
# @param management_unit_id The ID of the management unit.
|
|
2632
|
+
# @param run_id The ID of the schedule run
|
|
2633
|
+
# @param [Hash] opts the optional parameters
|
|
2634
|
+
# @option opts [UpdateSchedulingRunRequest] :body body
|
|
2635
|
+
# @return [Array<(RescheduleResult, Fixnum, Hash)>] RescheduleResult data, response status code and response headers
|
|
2636
|
+
def patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
|
|
2637
|
+
if @api_client.config.debugging
|
|
2638
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_scheduling_run ..."
|
|
2639
|
+
end
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
# verify the required parameter 'management_unit_id' is set
|
|
2643
|
+
fail ArgumentError, "Missing the required parameter 'management_unit_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_scheduling_run" if management_unit_id.nil?
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
# verify the required parameter 'run_id' is set
|
|
2651
|
+
fail ArgumentError, "Missing the required parameter 'run_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_scheduling_run" if run_id.nil?
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
# resource path
|
|
2664
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/scheduling/runs/{runId}".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'runId' + '}', run_id.to_s)
|
|
2665
|
+
|
|
2666
|
+
# query parameters
|
|
2667
|
+
query_params = {}
|
|
2668
|
+
|
|
2669
|
+
# header parameters
|
|
2670
|
+
header_params = {}
|
|
2671
|
+
|
|
2672
|
+
# HTTP header 'Accept' (if needed)
|
|
2673
|
+
local_header_accept = ['application/json']
|
|
2674
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2675
|
+
|
|
2676
|
+
# HTTP header 'Content-Type'
|
|
2677
|
+
local_header_content_type = ['application/json']
|
|
2678
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2679
|
+
|
|
2680
|
+
# form parameters
|
|
2681
|
+
form_params = {}
|
|
2682
|
+
|
|
2683
|
+
# http body (model)
|
|
2684
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
2685
|
+
|
|
2686
|
+
auth_names = ['PureCloud Auth']
|
|
2687
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
2688
|
+
:header_params => header_params,
|
|
2689
|
+
:query_params => query_params,
|
|
2690
|
+
:form_params => form_params,
|
|
2691
|
+
:body => post_body,
|
|
2692
|
+
:auth_names => auth_names,
|
|
2693
|
+
:return_type => 'RescheduleResult')
|
|
2694
|
+
if @api_client.config.debugging
|
|
2695
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2696
|
+
end
|
|
2697
|
+
return data, status_code, headers
|
|
2698
|
+
end
|
|
2699
|
+
|
|
2467
2700
|
# Update a service goal group
|
|
2468
2701
|
#
|
|
2469
2702
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -3738,6 +3971,99 @@ module PureCloud
|
|
|
3738
3971
|
return data, status_code, headers
|
|
3739
3972
|
end
|
|
3740
3973
|
|
|
3974
|
+
# Start a scheduling run to compute the reschedule. When the scheduling run finishes, a client can get the reschedule changes and then the client can apply them to the schedule, save the schedule, and mark the scheduling run as applied
|
|
3975
|
+
#
|
|
3976
|
+
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
3977
|
+
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
|
3978
|
+
# @param schedule_id The ID of the schedule to re-optimize
|
|
3979
|
+
# @param [Hash] opts the optional parameters
|
|
3980
|
+
# @option opts [RescheduleRequest] :body body
|
|
3981
|
+
# @return [AsyncWeekScheduleResponse]
|
|
3982
|
+
def post_workforcemanagement_managementunit_week_schedule_reschedule(management_unit_id, week_id, schedule_id, opts = {})
|
|
3983
|
+
data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
|
|
3984
|
+
return data
|
|
3985
|
+
end
|
|
3986
|
+
|
|
3987
|
+
# Start a scheduling run to compute the reschedule. When the scheduling run finishes, a client can get the reschedule changes and then the client can apply them to the schedule, save the schedule, and mark the scheduling run as applied
|
|
3988
|
+
#
|
|
3989
|
+
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
3990
|
+
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
|
3991
|
+
# @param schedule_id The ID of the schedule to re-optimize
|
|
3992
|
+
# @param [Hash] opts the optional parameters
|
|
3993
|
+
# @option opts [RescheduleRequest] :body body
|
|
3994
|
+
# @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
|
|
3995
|
+
def post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
|
3996
|
+
if @api_client.config.debugging
|
|
3997
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule ..."
|
|
3998
|
+
end
|
|
3999
|
+
|
|
4000
|
+
|
|
4001
|
+
# verify the required parameter 'management_unit_id' is set
|
|
4002
|
+
fail ArgumentError, "Missing the required parameter 'management_unit_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule" if management_unit_id.nil?
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
|
|
4006
|
+
|
|
4007
|
+
|
|
4008
|
+
|
|
4009
|
+
# verify the required parameter 'week_id' is set
|
|
4010
|
+
fail ArgumentError, "Missing the required parameter 'week_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule" if week_id.nil?
|
|
4011
|
+
|
|
4012
|
+
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
|
|
4017
|
+
# verify the required parameter 'schedule_id' is set
|
|
4018
|
+
fail ArgumentError, "Missing the required parameter 'schedule_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule" if schedule_id.nil?
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
|
|
4025
|
+
|
|
4026
|
+
|
|
4027
|
+
|
|
4028
|
+
|
|
4029
|
+
|
|
4030
|
+
# resource path
|
|
4031
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s).sub('{' + 'scheduleId' + '}', schedule_id.to_s)
|
|
4032
|
+
|
|
4033
|
+
# query parameters
|
|
4034
|
+
query_params = {}
|
|
4035
|
+
|
|
4036
|
+
# header parameters
|
|
4037
|
+
header_params = {}
|
|
4038
|
+
|
|
4039
|
+
# HTTP header 'Accept' (if needed)
|
|
4040
|
+
local_header_accept = ['application/json']
|
|
4041
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
4042
|
+
|
|
4043
|
+
# HTTP header 'Content-Type'
|
|
4044
|
+
local_header_content_type = ['application/json']
|
|
4045
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
4046
|
+
|
|
4047
|
+
# form parameters
|
|
4048
|
+
form_params = {}
|
|
4049
|
+
|
|
4050
|
+
# http body (model)
|
|
4051
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
4052
|
+
|
|
4053
|
+
auth_names = ['PureCloud Auth']
|
|
4054
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
4055
|
+
:header_params => header_params,
|
|
4056
|
+
:query_params => query_params,
|
|
4057
|
+
:form_params => form_params,
|
|
4058
|
+
:body => post_body,
|
|
4059
|
+
:auth_names => auth_names,
|
|
4060
|
+
:return_type => 'AsyncWeekScheduleResponse')
|
|
4061
|
+
if @api_client.config.debugging
|
|
4062
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedule_reschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4063
|
+
end
|
|
4064
|
+
return data, status_code, headers
|
|
4065
|
+
end
|
|
4066
|
+
|
|
3741
4067
|
# Add a schedule for a week in management unit using imported data. Use partial uploads of user schedules if activity count in schedule is greater than 17500
|
|
3742
4068
|
#
|
|
3743
4069
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
|
77
77
|
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
|
79
|
-
header_params['purecloud-sdk'] = '
|
|
79
|
+
header_params['purecloud-sdk'] = '44.0.0'
|
|
80
80
|
query_params = opts[:query_params] || {}
|
|
81
81
|
form_params = opts[:form_params] || {}
|
|
82
82
|
|
|
@@ -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?(:'
|
|
160
|
+
if attributes.has_key?(:'previousUri')
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
self.
|
|
163
|
+
self.previous_uri = attributes[:'previousUri']
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'nextUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.next_uri = attributes[:'nextUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'lastUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
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,
|
|
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
|