<?php

/*
<COPYRIGHT>

    Copyright © 2016-2025, Canyon GBS LLC. All rights reserved.

    Advising App™ is licensed under the Elastic License 2.0. For more details,
    see https://github.com/canyongbs/advisingapp/blob/main/LICENSE.

    Notice:

    - You may not provide the software to third parties as a hosted or managed
      service, where the service provides users with access to any substantial set of
      the features or functionality of the software.
    - You may not move, change, disable, or circumvent the license key functionality
      in the software, and you may not remove or obscure any functionality in the
      software that is protected by the license key.
    - You may not alter, remove, or obscure any licensing, copyright, or other notices
      of the licensor in the software. Any use of the licensor’s trademarks is subject
      to applicable law.
    - Canyon GBS LLC respects the intellectual property rights of others and expects the
      same in return. Canyon GBS™ and Advising App™ are registered trademarks of
      Canyon GBS LLC, and we are committed to enforcing and protecting our trademarks
      vigorously.
    - The software solution, including services, infrastructure, and code, is offered as a
      Software as a Service (SaaS) by Canyon GBS LLC.
    - Use of this software implies agreement to the license terms and conditions as stated
      in the Elastic License 2.0.

    For more information or inquiries please visit our website at
    https://www.canyongbs.com or contact us via email at legal@canyongbs.com.

</COPYRIGHT>
*/

use CanyonGBS\Common\Database\Migrations\Concerns\CanModifyPermissions;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\DB;

return new class () extends Migration {
    use CanModifyPermissions;

    public function up(): void
    {
        $this->createPermissions(
            Arr::except(
                [
                    'ai_assistant.*.delete' => 'Ai Assistant',
                    'ai_assistant.*.force-delete' => 'Ai Assistant',
                    'ai_assistant.*.restore' => 'Ai Assistant',
                    'ai_assistant.*.update' => 'Ai Assistant',
                    'ai_assistant.*.view' => 'Ai Assistant',
                    'ai_assistant.create' => 'Ai Assistant',
                    'ai_assistant.view-any' => 'Ai Assistant',
                    'alert.*.delete' => 'Alert',
                    'alert.*.force-delete' => 'Alert',
                    'alert.*.restore' => 'Alert',
                    'alert.*.update' => 'Alert',
                    'alert.*.view' => 'Alert',
                    'alert.create' => 'Alert',
                    'alert.view-any' => 'Alert',
                    'analytics_resource.*.delete' => 'Analytics Resource',
                    'analytics_resource.*.force-delete' => 'Analytics Resource',
                    'analytics_resource.*.restore' => 'Analytics Resource',
                    'analytics_resource.*.update' => 'Analytics Resource',
                    'analytics_resource.*.view' => 'Analytics Resource',
                    'analytics_resource.create' => 'Analytics Resource',
                    'analytics_resource.view-any' => 'Analytics Resource',
                    'analytics_resource_category.*.delete' => 'Analytics Resource Category',
                    'analytics_resource_category.*.force-delete' => 'Analytics Resource Category',
                    'analytics_resource_category.*.restore' => 'Analytics Resource Category',
                    'analytics_resource_category.*.update' => 'Analytics Resource Category',
                    'analytics_resource_category.*.view' => 'Analytics Resource Category',
                    'analytics_resource_category.create' => 'Analytics Resource Category',
                    'analytics_resource_category.view-any' => 'Analytics Resource Category',
                    'analytics_resource_source.*.delete' => 'Analytics Resource Source',
                    'analytics_resource_source.*.force-delete' => 'Analytics Resource Source',
                    'analytics_resource_source.*.restore' => 'Analytics Resource Source',
                    'analytics_resource_source.*.update' => 'Analytics Resource Source',
                    'analytics_resource_source.*.view' => 'Analytics Resource Source',
                    'analytics_resource_source.create' => 'Analytics Resource Source',
                    'analytics_resource_source.view-any' => 'Analytics Resource Source',
                    'application.*.delete' => 'Application',
                    'application.*.force-delete' => 'Application',
                    'application.*.restore' => 'Application',
                    'application.*.update' => 'Application',
                    'application.*.view' => 'Application',
                    'application.create' => 'Application',
                    'application.view-any' => 'Application',
                    'application_submission_state.*.delete' => 'Application Submission State',
                    'application_submission_state.*.force-delete' => 'Application Submission State',
                    'application_submission_state.*.restore' => 'Application Submission State',
                    'application_submission_state.*.update' => 'Application Submission State',
                    'application_submission_state.*.view' => 'Application Submission State',
                    'application_submission_state.create' => 'Application Submission State',
                    'application_submission_state.view-any' => 'Application Submission State',
                    'asset.*.delete' => 'Asset',
                    'asset.*.force-delete' => 'Asset',
                    'asset.*.restore' => 'Asset',
                    'asset.*.update' => 'Asset',
                    'asset.*.view' => 'Asset',
                    'asset.create' => 'Asset',
                    'asset.view-any' => 'Asset',
                    'asset_check_in.*.delete' => 'Asset Check In',
                    'asset_check_in.*.force-delete' => 'Asset Check In',
                    'asset_check_in.*.restore' => 'Asset Check In',
                    'asset_check_in.*.update' => 'Asset Check In',
                    'asset_check_in.*.view' => 'Asset Check In',
                    'asset_check_in.create' => 'Asset Check In',
                    'asset_check_in.view-any' => 'Asset Check In',
                    'asset_check_out.*.delete' => 'Asset Check Out',
                    'asset_check_out.*.force-delete' => 'Asset Check Out',
                    'asset_check_out.*.restore' => 'Asset Check Out',
                    'asset_check_out.*.update' => 'Asset Check Out',
                    'asset_check_out.*.view' => 'Asset Check Out',
                    'asset_check_out.create' => 'Asset Check Out',
                    'asset_check_out.view-any' => 'Asset Check Out',
                    'asset_location.*.delete' => 'Asset Location',
                    'asset_location.*.force-delete' => 'Asset Location',
                    'asset_location.*.restore' => 'Asset Location',
                    'asset_location.*.update' => 'Asset Location',
                    'asset_location.*.view' => 'Asset Location',
                    'asset_location.create' => 'Asset Location',
                    'asset_location.view-any' => 'Asset Location',
                    'asset_status.*.delete' => 'Asset Status',
                    'asset_status.*.force-delete' => 'Asset Status',
                    'asset_status.*.restore' => 'Asset Status',
                    'asset_status.*.update' => 'Asset Status',
                    'asset_status.*.view' => 'Asset Status',
                    'asset_status.create' => 'Asset Status',
                    'asset_status.view-any' => 'Asset Status',
                    'asset_type.*.delete' => 'Asset Type',
                    'asset_type.*.force-delete' => 'Asset Type',
                    'asset_type.*.restore' => 'Asset Type',
                    'asset_type.*.update' => 'Asset Type',
                    'asset_type.*.view' => 'Asset Type',
                    'asset_type.create' => 'Asset Type',
                    'asset_type.view-any' => 'Asset Type',
                    'assistant.access' => 'Assistant',
                    'assistant.access_ai_settings' => 'Assistant',
                    'assistant_chat.*.delete' => 'Assistant Chat',
                    'assistant_chat.*.force-delete' => 'Assistant Chat',
                    'assistant_chat.*.restore' => 'Assistant Chat',
                    'assistant_chat.*.update' => 'Assistant Chat',
                    'assistant_chat.*.view' => 'Assistant Chat',
                    'assistant_chat.create' => 'Assistant Chat',
                    'assistant_chat.view-any' => 'Assistant Chat',
                    'assistant_chat_folder.*.delete' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.force-delete' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.restore' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.update' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.view' => 'Assistant Chat Folder',
                    'assistant_chat_folder.create' => 'Assistant Chat Folder',
                    'assistant_chat_folder.view-any' => 'Assistant Chat Folder',
                    'assistant_chat_message.*.delete' => 'Assistant Chat Message',
                    'assistant_chat_message.*.force-delete' => 'Assistant Chat Message',
                    'assistant_chat_message.*.restore' => 'Assistant Chat Message',
                    'assistant_chat_message.*.update' => 'Assistant Chat Message',
                    'assistant_chat_message.*.view' => 'Assistant Chat Message',
                    'assistant_chat_message.create' => 'Assistant Chat Message',
                    'assistant_chat_message.view-any' => 'Assistant Chat Message',
                    'assistant_chat_message_log.*.view' => 'Assistant Chat Message Log',
                    'assistant_chat_message_log.view-any' => 'Assistant Chat Message Log',
                    'audit.*.delete' => 'Audit',
                    'audit.*.force-delete' => 'Audit',
                    'audit.*.restore' => 'Audit',
                    'audit.*.update' => 'Audit',
                    'audit.*.view' => 'Audit',
                    'audit.create' => 'Audit',
                    'audit.view-any' => 'Audit',
                    'audit.view_audit_settings' => 'Audit',
                    'authorization.impersonate' => 'Authorization',
                    'authorization.view_api_documentation' => 'Authorization',
                    'authorization.view_azure_sso_settings' => 'Authorization',
                    'authorization.view_dashboard' => 'Authorization',
                    'authorization.view_google_sso_settings' => 'Authorization',
                    'authorization.view_product_health_dashboard' => 'Authorization',
                    'calendar.*.delete' => 'Calendar',
                    'calendar.*.force-delete' => 'Calendar',
                    'calendar.*.restore' => 'Calendar',
                    'calendar.*.update' => 'Calendar',
                    'calendar.*.view' => 'Calendar',
                    'calendar.create' => 'Calendar',
                    'calendar.view-any' => 'Calendar',
                    'calendar_event.*.delete' => 'Calendar Event',
                    'calendar_event.*.force-delete' => 'Calendar Event',
                    'calendar_event.*.restore' => 'Calendar Event',
                    'calendar_event.*.update' => 'Calendar Event',
                    'calendar_event.*.view' => 'Calendar Event',
                    'calendar_event.create' => 'Calendar Event',
                    'calendar_event.view-any' => 'Calendar Event',
                    'campaign.*.delete' => 'Campaign',
                    'campaign.*.force-delete' => 'Campaign',
                    'campaign.*.restore' => 'Campaign',
                    'campaign.*.update' => 'Campaign',
                    'campaign.*.view' => 'Campaign',
                    'campaign.create' => 'Campaign',
                    'campaign.view-any' => 'Campaign',
                    'campaign.view_campaign_settings' => 'Campaign',
                    'campaign_action.*.delete' => 'Campaign Action',
                    'campaign_action.*.force-delete' => 'Campaign Action',
                    'campaign_action.*.restore' => 'Campaign Action',
                    'campaign_action.*.update' => 'Campaign Action',
                    'campaign_action.*.view' => 'Campaign Action',
                    'campaign_action.create' => 'Campaign Action',
                    'campaign_action.view-any' => 'Campaign Action',
                    'care_team.*.delete' => 'Care Team',
                    'care_team.*.force-delete' => 'Care Team',
                    'care_team.*.restore' => 'Care Team',
                    'care_team.*.update' => 'Care Team',
                    'care_team.*.view' => 'Care Team',
                    'care_team.create' => 'Care Team',
                    'care_team.view-any' => 'Care Team',
                    'change_request.*.delete' => 'Change Request',
                    'change_request.*.force-delete' => 'Change Request',
                    'change_request.*.restore' => 'Change Request',
                    'change_request.*.update' => 'Change Request',
                    'change_request.*.view' => 'Change Request',
                    'change_request.create' => 'Change Request',
                    'change_request.view-any' => 'Change Request',
                    'change_request_response.*.delete' => 'Change Request Response',
                    'change_request_response.*.force-delete' => 'Change Request Response',
                    'change_request_response.*.restore' => 'Change Request Response',
                    'change_request_response.*.update' => 'Change Request Response',
                    'change_request_response.*.view' => 'Change Request Response',
                    'change_request_response.create' => 'Change Request Response',
                    'change_request_response.view-any' => 'Change Request Response',
                    'change_request_status.*.delete' => 'Change Request Status',
                    'change_request_status.*.force-delete' => 'Change Request Status',
                    'change_request_status.*.restore' => 'Change Request Status',
                    'change_request_status.*.update' => 'Change Request Status',
                    'change_request_status.*.view' => 'Change Request Status',
                    'change_request_status.create' => 'Change Request Status',
                    'change_request_status.view-any' => 'Change Request Status',
                    'change_request_type.*.delete' => 'Change Request Type',
                    'change_request_type.*.force-delete' => 'Change Request Type',
                    'change_request_type.*.restore' => 'Change Request Type',
                    'change_request_type.*.update' => 'Change Request Type',
                    'change_request_type.*.view' => 'Change Request Type',
                    'change_request_type.create' => 'Change Request Type',
                    'change_request_type.view-any' => 'Change Request Type',
                    'consent_agreement.*.update' => 'Consent Agreement',
                    'consent_agreement.*.view' => 'Consent Agreement',
                    'consent_agreement.view-any' => 'Consent Agreement',
                    'display_settings.manage' => 'Display Settings',
                    'division.*.delete' => 'Division',
                    'division.*.force-delete' => 'Division',
                    'division.*.restore' => 'Division',
                    'division.*.update' => 'Division',
                    'division.*.view' => 'Division',
                    'division.create' => 'Division',
                    'division.view-any' => 'Division',
                    'email_template.*.delete' => 'Email Template',
                    'email_template.*.force-delete' => 'Email Template',
                    'email_template.*.restore' => 'Email Template',
                    'email_template.*.update' => 'Email Template',
                    'email_template.*.view' => 'Email Template',
                    'email_template.create' => 'Email Template',
                    'email_template.view-any' => 'Email Template',
                    'engagement.*.delete' => 'Engagement',
                    'engagement.*.force-delete' => 'Engagement',
                    'engagement.*.restore' => 'Engagement',
                    'engagement.*.update' => 'Engagement',
                    'engagement.*.view' => 'Engagement',
                    'engagement.create' => 'Engagement',
                    'engagement.view-any' => 'Engagement',
                    'engagement.view_message_center' => 'Engagement',
                    'engagement_batch.*.delete' => 'Engagement Batch',
                    'engagement_batch.*.force-delete' => 'Engagement Batch',
                    'engagement_batch.*.restore' => 'Engagement Batch',
                    'engagement_batch.*.update' => 'Engagement Batch',
                    'engagement_batch.*.view' => 'Engagement Batch',
                    'engagement_batch.create' => 'Engagement Batch',
                    'engagement_batch.view-any' => 'Engagement Batch',
                    'engagement_deliverable.*.delete' => 'Engagement Deliverable',
                    'engagement_deliverable.*.force-delete' => 'Engagement Deliverable',
                    'engagement_deliverable.*.restore' => 'Engagement Deliverable',
                    'engagement_deliverable.*.update' => 'Engagement Deliverable',
                    'engagement_deliverable.*.view' => 'Engagement Deliverable',
                    'engagement_deliverable.create' => 'Engagement Deliverable',
                    'engagement_deliverable.view-any' => 'Engagement Deliverable',
                    'engagement_file.*.delete' => 'Engagement File',
                    'engagement_file.*.force-delete' => 'Engagement File',
                    'engagement_file.*.restore' => 'Engagement File',
                    'engagement_file.*.update' => 'Engagement File',
                    'engagement_file.*.view' => 'Engagement File',
                    'engagement_file.create' => 'Engagement File',
                    'engagement_file.view-any' => 'Engagement File',
                    'engagement_response.*.delete' => 'Engagement Response',
                    'engagement_response.*.force-delete' => 'Engagement Response',
                    'engagement_response.*.restore' => 'Engagement Response',
                    'engagement_response.*.update' => 'Engagement Response',
                    'engagement_response.*.view' => 'Engagement Response',
                    'engagement_response.create' => 'Engagement Response',
                    'engagement_response.view-any' => 'Engagement Response',
                    'enrollment.*.view' => 'Enrollment',
                    'enrollment.view-any' => 'Enrollment',
                    'event.*.delete' => 'Event',
                    'event.*.force-delete' => 'Event',
                    'event.*.restore' => 'Event',
                    'event.*.update' => 'Event',
                    'event.*.view' => 'Event',
                    'event.create' => 'Event',
                    'event.view-any' => 'Event',
                    'event_attendee.*.delete' => 'Event Attendee',
                    'event_attendee.*.force-delete' => 'Event Attendee',
                    'event_attendee.*.restore' => 'Event Attendee',
                    'event_attendee.*.update' => 'Event Attendee',
                    'event_attendee.*.view' => 'Event Attendee',
                    'event_attendee.create' => 'Event Attendee',
                    'event_attendee.view-any' => 'Event Attendee',
                    'event_registration_form.*.delete' => 'Event Registration Form',
                    'event_registration_form.*.force-delete' => 'Event Registration Form',
                    'event_registration_form.*.restore' => 'Event Registration Form',
                    'event_registration_form.*.update' => 'Event Registration Form',
                    'event_registration_form.*.view' => 'Event Registration Form',
                    'event_registration_form.create' => 'Event Registration Form',
                    'event_registration_form.view-any' => 'Event Registration Form',
                    'form.*.delete' => 'Form',
                    'form.*.force-delete' => 'Form',
                    'form.*.restore' => 'Form',
                    'form.*.update' => 'Form',
                    'form.*.view' => 'Form',
                    'form.create' => 'Form',
                    'form.view-any' => 'Form',
                    'in-app-communication.realtime-chat.access' => 'In-App Communication',
                    'inbound_webhook.*.view' => 'Inbound Webhook',
                    'inbound_webhook.view-any' => 'Inbound Webhook',
                    'integration-aws-ses-event-handling.view_ses_settings' => 'Integration: AWS SES Event Handling',
                    'integration-google-analytics.view_google_analytics_settings' => 'Integration: Google Analytics',
                    'integration-google-recaptcha.view_google_recaptcha_settings' => 'Integration: Google reCAPTCHA',
                    'integration-microsoft-clarity.view_microsoft_clarity_settings' => 'Integration: Microsoft Clarity',
                    'integration-twilio.view_twilio_settings' => 'Integration: Twilio',
                    'interaction.*.delete' => 'Interaction',
                    'interaction.*.force-delete' => 'Interaction',
                    'interaction.*.restore' => 'Interaction',
                    'interaction.*.update' => 'Interaction',
                    'interaction.*.view' => 'Interaction',
                    'interaction.create' => 'Interaction',
                    'interaction.import' => 'Interaction',
                    'interaction.view-any' => 'Interaction',
                    'interaction_campaign.*.delete' => 'Interaction Campaign',
                    'interaction_campaign.*.force-delete' => 'Interaction Campaign',
                    'interaction_campaign.*.restore' => 'Interaction Campaign',
                    'interaction_campaign.*.update' => 'Interaction Campaign',
                    'interaction_campaign.*.view' => 'Interaction Campaign',
                    'interaction_campaign.create' => 'Interaction Campaign',
                    'interaction_campaign.view-any' => 'Interaction Campaign',
                    'interaction_driver.*.delete' => 'Interaction Driver',
                    'interaction_driver.*.force-delete' => 'Interaction Driver',
                    'interaction_driver.*.restore' => 'Interaction Driver',
                    'interaction_driver.*.update' => 'Interaction Driver',
                    'interaction_driver.*.view' => 'Interaction Driver',
                    'interaction_driver.create' => 'Interaction Driver',
                    'interaction_driver.view-any' => 'Interaction Driver',
                    'interaction_initiative.*.delete' => 'Interaction Initiative',
                    'interaction_initiative.*.force-delete' => 'Interaction Initiative',
                    'interaction_initiative.*.restore' => 'Interaction Initiative',
                    'interaction_initiative.*.update' => 'Interaction Initiative',
                    'interaction_initiative.*.view' => 'Interaction Initiative',
                    'interaction_initiative.create' => 'Interaction Initiative',
                    'interaction_initiative.view-any' => 'Interaction Initiative',
                    'interaction_outcome.*.delete' => 'Interaction Outcome',
                    'interaction_outcome.*.force-delete' => 'Interaction Outcome',
                    'interaction_outcome.*.restore' => 'Interaction Outcome',
                    'interaction_outcome.*.update' => 'Interaction Outcome',
                    'interaction_outcome.*.view' => 'Interaction Outcome',
                    'interaction_outcome.create' => 'Interaction Outcome',
                    'interaction_outcome.view-any' => 'Interaction Outcome',
                    'interaction_relation.*.delete' => 'Interaction Relation',
                    'interaction_relation.*.force-delete' => 'Interaction Relation',
                    'interaction_relation.*.restore' => 'Interaction Relation',
                    'interaction_relation.*.update' => 'Interaction Relation',
                    'interaction_relation.*.view' => 'Interaction Relation',
                    'interaction_relation.create' => 'Interaction Relation',
                    'interaction_relation.view-any' => 'Interaction Relation',
                    'interaction_status.*.delete' => 'Interaction Status',
                    'interaction_status.*.force-delete' => 'Interaction Status',
                    'interaction_status.*.restore' => 'Interaction Status',
                    'interaction_status.*.update' => 'Interaction Status',
                    'interaction_status.*.view' => 'Interaction Status',
                    'interaction_status.create' => 'Interaction Status',
                    'interaction_status.view-any' => 'Interaction Status',
                    'interaction_type.*.delete' => 'Interaction Type',
                    'interaction_type.*.force-delete' => 'Interaction Type',
                    'interaction_type.*.restore' => 'Interaction Type',
                    'interaction_type.*.update' => 'Interaction Type',
                    'interaction_type.*.view' => 'Interaction Type',
                    'interaction_type.create' => 'Interaction Type',
                    'interaction_type.view-any' => 'Interaction Type',
                    'knowledge_base_category.*.delete' => 'Knowledge Base Category',
                    'knowledge_base_category.*.force-delete' => 'Knowledge Base Category',
                    'knowledge_base_category.*.restore' => 'Knowledge Base Category',
                    'knowledge_base_category.*.update' => 'Knowledge Base Category',
                    'knowledge_base_category.*.view' => 'Knowledge Base Category',
                    'knowledge_base_category.create' => 'Knowledge Base Category',
                    'knowledge_base_category.view-any' => 'Knowledge Base Category',
                    'knowledge_base_article.*.delete' => 'Knowledge Base Item',
                    'knowledge_base_article.*.force-delete' => 'Knowledge Base Item',
                    'knowledge_base_article.*.restore' => 'Knowledge Base Item',
                    'knowledge_base_article.*.update' => 'Knowledge Base Item',
                    'knowledge_base_article.*.view' => 'Knowledge Base Item',
                    'knowledge_base_article.create' => 'Knowledge Base Item',
                    'knowledge_base_article.view-any' => 'Knowledge Base Item',
                    'knowledge_base_quality.*.delete' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.force-delete' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.restore' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.update' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.view' => 'Knowledge Base Quality',
                    'knowledge_base_quality.create' => 'Knowledge Base Quality',
                    'knowledge_base_quality.view-any' => 'Knowledge Base Quality',
                    'knowledge_base_status.*.delete' => 'Knowledge Base Status',
                    'knowledge_base_status.*.force-delete' => 'Knowledge Base Status',
                    'knowledge_base_status.*.restore' => 'Knowledge Base Status',
                    'knowledge_base_status.*.update' => 'Knowledge Base Status',
                    'knowledge_base_status.*.view' => 'Knowledge Base Status',
                    'knowledge_base_status.create' => 'Knowledge Base Status',
                    'knowledge_base_status.view-any' => 'Knowledge Base Status',
                    'license.*.delete' => 'License',
                    'license.*.force-delete' => 'License',
                    'license.*.restore' => 'License',
                    'license.*.update' => 'License',
                    'license.*.view' => 'License',
                    'license.create' => 'License',
                    'license.view-any' => 'License',
                    'maintenance_activity.*.delete' => 'Maintenance Activity',
                    'maintenance_activity.*.force-delete' => 'Maintenance Activity',
                    'maintenance_activity.*.restore' => 'Maintenance Activity',
                    'maintenance_activity.*.update' => 'Maintenance Activity',
                    'maintenance_activity.*.view' => 'Maintenance Activity',
                    'maintenance_activity.create' => 'Maintenance Activity',
                    'maintenance_activity.view-any' => 'Maintenance Activity',
                    'maintenance_provider.*.delete' => 'Maintenance Provider',
                    'maintenance_provider.*.force-delete' => 'Maintenance Provider',
                    'maintenance_provider.*.restore' => 'Maintenance Provider',
                    'maintenance_provider.*.update' => 'Maintenance Provider',
                    'maintenance_provider.*.view' => 'Maintenance Provider',
                    'maintenance_provider.create' => 'Maintenance Provider',
                    'maintenance_provider.view-any' => 'Maintenance Provider',
                    'meeting-center.view_azure_calendar_settings' => 'Meeting Center',
                    'meeting-center.view_google_calendar_settings' => 'Meeting Center',
                    'notification_setting.*.delete' => 'Notification Setting',
                    'notification_setting.*.force-delete' => 'Notification Setting',
                    'notification_setting.*.restore' => 'Notification Setting',
                    'notification_setting.*.update' => 'Notification Setting',
                    'notification_setting.*.view' => 'Notification Setting',
                    'notification_setting.create' => 'Notification Setting',
                    'notification_setting.view-any' => 'Notification Setting',
                    'outbound_deliverable.*.delete' => 'Outbound Deliverable',
                    'outbound_deliverable.*.force-delete' => 'Outbound Deliverable',
                    'outbound_deliverable.*.restore' => 'Outbound Deliverable',
                    'outbound_deliverable.*.update' => 'Outbound Deliverable',
                    'outbound_deliverable.*.view' => 'Outbound Deliverable',
                    'outbound_deliverable.create' => 'Outbound Deliverable',
                    'outbound_deliverable.view-any' => 'Outbound Deliverable',
                    'permission.*.view' => 'Permission',
                    'permission.view-any' => 'Permission',
                    'portal.view_portal_settings' => 'Portal',
                    'program.*.view' => 'Program',
                    'program.view-any' => 'Program',
                    'prompt.*.delete' => 'Prompt',
                    'prompt.*.force-delete' => 'Prompt',
                    'prompt.*.restore' => 'Prompt',
                    'prompt.*.update' => 'Prompt',
                    'prompt.*.view' => 'Prompt',
                    'prompt.create' => 'Prompt',
                    'prompt.view-any' => 'Prompt',
                    'prompt_type.*.delete' => 'Prompt Type',
                    'prompt_type.*.force-delete' => 'Prompt Type',
                    'prompt_type.*.restore' => 'Prompt Type',
                    'prompt_type.*.update' => 'Prompt Type',
                    'prompt_type.*.view' => 'Prompt Type',
                    'prompt_type.create' => 'Prompt Type',
                    'prompt_type.view-any' => 'Prompt Type',
                    'pronouns.*.delete' => 'Pronouns',
                    'pronouns.*.force-delete' => 'Pronouns',
                    'pronouns.*.restore' => 'Pronouns',
                    'pronouns.*.update' => 'Pronouns',
                    'pronouns.*.view' => 'Pronouns',
                    'pronouns.create' => 'Pronouns',
                    'pronouns.view-any' => 'Pronouns',
                    'prospect.*.delete' => 'Prospect',
                    'prospect.*.force-delete' => 'Prospect',
                    'prospect.*.restore' => 'Prospect',
                    'prospect.*.update' => 'Prospect',
                    'prospect.*.view' => 'Prospect',
                    'prospect.create' => 'Prospect',
                    'prospect.import' => 'Prospect',
                    'prospect.view-any' => 'Prospect',
                    'prospect_source.*.delete' => 'Prospect Source',
                    'prospect_source.*.force-delete' => 'Prospect Source',
                    'prospect_source.*.restore' => 'Prospect Source',
                    'prospect_source.*.update' => 'Prospect Source',
                    'prospect_source.*.view' => 'Prospect Source',
                    'prospect_source.create' => 'Prospect Source',
                    'prospect_source.view-any' => 'Prospect Source',
                    'prospect_status.*.delete' => 'Prospect Status',
                    'prospect_status.*.force-delete' => 'Prospect Status',
                    'prospect_status.*.restore' => 'Prospect Status',
                    'prospect_status.*.update' => 'Prospect Status',
                    'prospect_status.*.view' => 'Prospect Status',
                    'prospect_status.create' => 'Prospect Status',
                    'prospect_status.view-any' => 'Prospect Status',
                    'report.*.delete' => 'Report',
                    'report.*.force-delete' => 'Report',
                    'report.*.restore' => 'Report',
                    'report.*.update' => 'Report',
                    'report.*.view' => 'Report',
                    'report.access_assistant' => 'Report',
                    'report.access_assistant_settings' => 'Report',
                    'report.create' => 'Report',
                    'report.view-any' => 'Report',
                    'role.*.view' => 'Role',
                    'role.view-any' => 'Role',
                    'service_request.*.delete' => 'Service Request',
                    'service_request.*.force-delete' => 'Service Request',
                    'service_request.*.restore' => 'Service Request',
                    'service_request.*.update' => 'Service Request',
                    'service_request.*.view' => 'Service Request',
                    'service_request.create' => 'Service Request',
                    'service_request.view-any' => 'Service Request',
                    'service_request_assignment.*.delete' => 'Service Request Assignment',
                    'service_request_assignment.*.force-delete' => 'Service Request Assignment',
                    'service_request_assignment.*.restore' => 'Service Request Assignment',
                    'service_request_assignment.*.update' => 'Service Request Assignment',
                    'service_request_assignment.*.view' => 'Service Request Assignment',
                    'service_request_assignment.create' => 'Service Request Assignment',
                    'service_request_assignment.view-any' => 'Service Request Assignment',
                    'service_request_form.*.delete' => 'Service Request Form',
                    'service_request_form.*.force-delete' => 'Service Request Form',
                    'service_request_form.*.restore' => 'Service Request Form',
                    'service_request_form.*.update' => 'Service Request Form',
                    'service_request_form.*.view' => 'Service Request Form',
                    'service_request_form.create' => 'Service Request Form',
                    'service_request_form.view-any' => 'Service Request Form',
                    'service_request_history.*.delete' => 'Service Request History',
                    'service_request_history.*.force-delete' => 'Service Request History',
                    'service_request_history.*.restore' => 'Service Request History',
                    'service_request_history.*.update' => 'Service Request History',
                    'service_request_history.*.view' => 'Service Request History',
                    'service_request_history.create' => 'Service Request History',
                    'service_request_history.view-any' => 'Service Request History',
                    'service_request_priority.*.delete' => 'Service Request Priority',
                    'service_request_priority.*.force-delete' => 'Service Request Priority',
                    'service_request_priority.*.restore' => 'Service Request Priority',
                    'service_request_priority.*.update' => 'Service Request Priority',
                    'service_request_priority.*.view' => 'Service Request Priority',
                    'service_request_priority.create' => 'Service Request Priority',
                    'service_request_priority.view-any' => 'Service Request Priority',
                    'service_request_status.*.delete' => 'Service Request Status',
                    'service_request_status.*.force-delete' => 'Service Request Status',
                    'service_request_status.*.restore' => 'Service Request Status',
                    'service_request_status.*.update' => 'Service Request Status',
                    'service_request_status.*.view' => 'Service Request Status',
                    'service_request_status.create' => 'Service Request Status',
                    'service_request_status.view-any' => 'Service Request Status',
                    'service_request_type.*.delete' => 'Service Request Type',
                    'service_request_type.*.force-delete' => 'Service Request Type',
                    'service_request_type.*.restore' => 'Service Request Type',
                    'service_request_type.*.update' => 'Service Request Type',
                    'service_request_type.*.view' => 'Service Request Type',
                    'service_request_type.create' => 'Service Request Type',
                    'service_request_type.view-any' => 'Service Request Type',
                    'service_request_update.*.delete' => 'Service Request Update',
                    'service_request_update.*.force-delete' => 'Service Request Update',
                    'service_request_update.*.restore' => 'Service Request Update',
                    'service_request_update.*.update' => 'Service Request Update',
                    'service_request_update.*.view' => 'Service Request Update',
                    'service_request_update.create' => 'Service Request Update',
                    'service_request_update.view-any' => 'Service Request Update',
                    'sla.*.delete' => 'SLA',
                    'sla.*.force-delete' => 'SLA',
                    'sla.*.restore' => 'SLA',
                    'sla.*.update' => 'SLA',
                    'sla.*.view' => 'SLA',
                    'sla.create' => 'SLA',
                    'sla.view-any' => 'SLA',
                    'sms_template.*.delete' => 'SMS Template',
                    'sms_template.*.force-delete' => 'SMS Template',
                    'sms_template.*.restore' => 'SMS Template',
                    'sms_template.*.update' => 'SMS Template',
                    'sms_template.*.view' => 'SMS Template',
                    'sms_template.create' => 'SMS Template',
                    'sms_template.view-any' => 'SMS Template',
                    'student.*.view' => 'Student',
                    'student.view-any' => 'Student',
                    'subscription.*.delete' => 'Subscription',
                    'subscription.*.force-delete' => 'Subscription',
                    'subscription.*.restore' => 'Subscription',
                    'subscription.*.update' => 'Subscription',
                    'subscription.*.view' => 'Subscription',
                    'subscription.create' => 'Subscription',
                    'subscription.view-any' => 'Subscription',
                    'survey.*.delete' => 'Survey',
                    'survey.*.force-delete' => 'Survey',
                    'survey.*.restore' => 'Survey',
                    'survey.*.update' => 'Survey',
                    'survey.*.view' => 'Survey',
                    'survey.create' => 'Survey',
                    'survey.view-any' => 'Survey',
                    'system_user.*.delete' => 'System User',
                    'system_user.*.force-delete' => 'System User',
                    'system_user.*.restore' => 'System User',
                    'system_user.*.update' => 'System User',
                    'system_user.*.view' => 'System User',
                    'system_user.create' => 'System User',
                    'system_user.view-any' => 'System User',
                    'task.*.delete' => 'Task',
                    'task.*.force-delete' => 'Task',
                    'task.*.restore' => 'Task',
                    'task.*.update' => 'Task',
                    'task.*.view' => 'Task',
                    'task.create' => 'Task',
                    'task.import' => 'Task',
                    'task.view-any' => 'Task',
                    'team.*.delete' => 'Team',
                    'team.*.force-delete' => 'Team',
                    'team.*.restore' => 'Team',
                    'team.*.update' => 'Team',
                    'team.*.view' => 'Team',
                    'team.create' => 'Team',
                    'team.view-any' => 'Team',
                    'theme.view_theme_settings' => 'Theme',
                    'timeline.*.delete' => 'Timeline',
                    'timeline.*.force-delete' => 'Timeline',
                    'timeline.*.restore' => 'Timeline',
                    'timeline.*.update' => 'Timeline',
                    'timeline.*.view' => 'Timeline',
                    'timeline.access' => 'Timeline',
                    'timeline.create' => 'Timeline',
                    'timeline.view-any' => 'Timeline',
                    'user.*.delete' => 'User',
                    'user.*.force-delete' => 'User',
                    'user.*.restore' => 'User',
                    'user.*.update' => 'User',
                    'user.*.view' => 'User',
                    'user.create' => 'User',
                    'user.import' => 'User',
                    'user.view-any' => 'User',
                ],
                keys: DB::table('permissions')
                    ->where('guard_name', 'web')
                    ->pluck('name')
                    ->all(),
            ),
            guardName: 'web'
        );

        $this->createPermissions(
            Arr::except(
                [
                    'ai_assistant.*.delete' => 'Ai Assistant',
                    'ai_assistant.*.force-delete' => 'Ai Assistant',
                    'ai_assistant.*.restore' => 'Ai Assistant',
                    'ai_assistant.*.update' => 'Ai Assistant',
                    'ai_assistant.*.view' => 'Ai Assistant',
                    'ai_assistant.create' => 'Ai Assistant',
                    'ai_assistant.view-any' => 'Ai Assistant',
                    'alert.*.delete' => 'Alert',
                    'alert.*.force-delete' => 'Alert',
                    'alert.*.restore' => 'Alert',
                    'alert.*.update' => 'Alert',
                    'alert.*.view' => 'Alert',
                    'alert.create' => 'Alert',
                    'alert.view-any' => 'Alert',
                    'analytics_resource.*.delete' => 'Analytics Resource',
                    'analytics_resource.*.force-delete' => 'Analytics Resource',
                    'analytics_resource.*.restore' => 'Analytics Resource',
                    'analytics_resource.*.update' => 'Analytics Resource',
                    'analytics_resource.*.view' => 'Analytics Resource',
                    'analytics_resource.create' => 'Analytics Resource',
                    'analytics_resource.view-any' => 'Analytics Resource',
                    'analytics_resource_category.*.delete' => 'Analytics Resource Category',
                    'analytics_resource_category.*.force-delete' => 'Analytics Resource Category',
                    'analytics_resource_category.*.restore' => 'Analytics Resource Category',
                    'analytics_resource_category.*.update' => 'Analytics Resource Category',
                    'analytics_resource_category.*.view' => 'Analytics Resource Category',
                    'analytics_resource_category.create' => 'Analytics Resource Category',
                    'analytics_resource_category.view-any' => 'Analytics Resource Category',
                    'analytics_resource_source.*.delete' => 'Analytics Resource Source',
                    'analytics_resource_source.*.force-delete' => 'Analytics Resource Source',
                    'analytics_resource_source.*.restore' => 'Analytics Resource Source',
                    'analytics_resource_source.*.update' => 'Analytics Resource Source',
                    'analytics_resource_source.*.view' => 'Analytics Resource Source',
                    'analytics_resource_source.create' => 'Analytics Resource Source',
                    'analytics_resource_source.view-any' => 'Analytics Resource Source',
                    'application.*.delete' => 'Application',
                    'application.*.force-delete' => 'Application',
                    'application.*.restore' => 'Application',
                    'application.*.update' => 'Application',
                    'application.*.view' => 'Application',
                    'application.create' => 'Application',
                    'application.view-any' => 'Application',
                    'application_submission_state.*.delete' => 'Application Submission State',
                    'application_submission_state.*.force-delete' => 'Application Submission State',
                    'application_submission_state.*.restore' => 'Application Submission State',
                    'application_submission_state.*.update' => 'Application Submission State',
                    'application_submission_state.*.view' => 'Application Submission State',
                    'application_submission_state.create' => 'Application Submission State',
                    'application_submission_state.view-any' => 'Application Submission State',
                    'asset.*.delete' => 'Asset',
                    'asset.*.force-delete' => 'Asset',
                    'asset.*.restore' => 'Asset',
                    'asset.*.update' => 'Asset',
                    'asset.*.view' => 'Asset',
                    'asset.create' => 'Asset',
                    'asset.view-any' => 'Asset',
                    'asset_check_in.*.delete' => 'Asset Check In',
                    'asset_check_in.*.force-delete' => 'Asset Check In',
                    'asset_check_in.*.restore' => 'Asset Check In',
                    'asset_check_in.*.update' => 'Asset Check In',
                    'asset_check_in.*.view' => 'Asset Check In',
                    'asset_check_in.create' => 'Asset Check In',
                    'asset_check_in.view-any' => 'Asset Check In',
                    'asset_check_out.*.delete' => 'Asset Check Out',
                    'asset_check_out.*.force-delete' => 'Asset Check Out',
                    'asset_check_out.*.restore' => 'Asset Check Out',
                    'asset_check_out.*.update' => 'Asset Check Out',
                    'asset_check_out.*.view' => 'Asset Check Out',
                    'asset_check_out.create' => 'Asset Check Out',
                    'asset_check_out.view-any' => 'Asset Check Out',
                    'asset_location.*.delete' => 'Asset Location',
                    'asset_location.*.force-delete' => 'Asset Location',
                    'asset_location.*.restore' => 'Asset Location',
                    'asset_location.*.update' => 'Asset Location',
                    'asset_location.*.view' => 'Asset Location',
                    'asset_location.create' => 'Asset Location',
                    'asset_location.view-any' => 'Asset Location',
                    'asset_status.*.delete' => 'Asset Status',
                    'asset_status.*.force-delete' => 'Asset Status',
                    'asset_status.*.restore' => 'Asset Status',
                    'asset_status.*.update' => 'Asset Status',
                    'asset_status.*.view' => 'Asset Status',
                    'asset_status.create' => 'Asset Status',
                    'asset_status.view-any' => 'Asset Status',
                    'asset_type.*.delete' => 'Asset Type',
                    'asset_type.*.force-delete' => 'Asset Type',
                    'asset_type.*.restore' => 'Asset Type',
                    'asset_type.*.update' => 'Asset Type',
                    'asset_type.*.view' => 'Asset Type',
                    'asset_type.create' => 'Asset Type',
                    'asset_type.view-any' => 'Asset Type',
                    'assistant_chat.*.delete' => 'Assistant Chat',
                    'assistant_chat.*.force-delete' => 'Assistant Chat',
                    'assistant_chat.*.restore' => 'Assistant Chat',
                    'assistant_chat.*.update' => 'Assistant Chat',
                    'assistant_chat.*.view' => 'Assistant Chat',
                    'assistant_chat.create' => 'Assistant Chat',
                    'assistant_chat.view-any' => 'Assistant Chat',
                    'assistant_chat_folder.*.delete' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.force-delete' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.restore' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.update' => 'Assistant Chat Folder',
                    'assistant_chat_folder.*.view' => 'Assistant Chat Folder',
                    'assistant_chat_folder.create' => 'Assistant Chat Folder',
                    'assistant_chat_folder.view-any' => 'Assistant Chat Folder',
                    'assistant_chat_message.*.delete' => 'Assistant Chat Message',
                    'assistant_chat_message.*.force-delete' => 'Assistant Chat Message',
                    'assistant_chat_message.*.restore' => 'Assistant Chat Message',
                    'assistant_chat_message.*.update' => 'Assistant Chat Message',
                    'assistant_chat_message.*.view' => 'Assistant Chat Message',
                    'assistant_chat_message.create' => 'Assistant Chat Message',
                    'assistant_chat_message.view-any' => 'Assistant Chat Message',
                    'assistant_chat_message_log.*.view' => 'Assistant Chat Message Log',
                    'assistant_chat_message_log.view-any' => 'Assistant Chat Message Log',
                    'audit.*.delete' => 'Audit',
                    'audit.*.force-delete' => 'Audit',
                    'audit.*.restore' => 'Audit',
                    'audit.*.update' => 'Audit',
                    'audit.*.view' => 'Audit',
                    'audit.create' => 'Audit',
                    'audit.view-any' => 'Audit',
                    'calendar.*.delete' => 'Calendar',
                    'calendar.*.force-delete' => 'Calendar',
                    'calendar.*.restore' => 'Calendar',
                    'calendar.*.update' => 'Calendar',
                    'calendar.*.view' => 'Calendar',
                    'calendar.create' => 'Calendar',
                    'calendar.view-any' => 'Calendar',
                    'calendar_event.*.delete' => 'Calendar Event',
                    'calendar_event.*.force-delete' => 'Calendar Event',
                    'calendar_event.*.restore' => 'Calendar Event',
                    'calendar_event.*.update' => 'Calendar Event',
                    'calendar_event.*.view' => 'Calendar Event',
                    'calendar_event.create' => 'Calendar Event',
                    'calendar_event.view-any' => 'Calendar Event',
                    'campaign.*.delete' => 'Campaign',
                    'campaign.*.force-delete' => 'Campaign',
                    'campaign.*.restore' => 'Campaign',
                    'campaign.*.update' => 'Campaign',
                    'campaign.*.view' => 'Campaign',
                    'campaign.create' => 'Campaign',
                    'campaign.view-any' => 'Campaign',
                    'campaign_action.*.delete' => 'Campaign Action',
                    'campaign_action.*.force-delete' => 'Campaign Action',
                    'campaign_action.*.restore' => 'Campaign Action',
                    'campaign_action.*.update' => 'Campaign Action',
                    'campaign_action.*.view' => 'Campaign Action',
                    'campaign_action.create' => 'Campaign Action',
                    'campaign_action.view-any' => 'Campaign Action',
                    'care_team.*.delete' => 'Care Team',
                    'care_team.*.force-delete' => 'Care Team',
                    'care_team.*.restore' => 'Care Team',
                    'care_team.*.update' => 'Care Team',
                    'care_team.*.view' => 'Care Team',
                    'care_team.create' => 'Care Team',
                    'care_team.view-any' => 'Care Team',
                    'change_request.*.delete' => 'Change Request',
                    'change_request.*.force-delete' => 'Change Request',
                    'change_request.*.restore' => 'Change Request',
                    'change_request.*.update' => 'Change Request',
                    'change_request.*.view' => 'Change Request',
                    'change_request.create' => 'Change Request',
                    'change_request.view-any' => 'Change Request',
                    'change_request_response.*.delete' => 'Change Request Response',
                    'change_request_response.*.force-delete' => 'Change Request Response',
                    'change_request_response.*.restore' => 'Change Request Response',
                    'change_request_response.*.update' => 'Change Request Response',
                    'change_request_response.*.view' => 'Change Request Response',
                    'change_request_response.create' => 'Change Request Response',
                    'change_request_response.view-any' => 'Change Request Response',
                    'change_request_status.*.delete' => 'Change Request Status',
                    'change_request_status.*.force-delete' => 'Change Request Status',
                    'change_request_status.*.restore' => 'Change Request Status',
                    'change_request_status.*.update' => 'Change Request Status',
                    'change_request_status.*.view' => 'Change Request Status',
                    'change_request_status.create' => 'Change Request Status',
                    'change_request_status.view-any' => 'Change Request Status',
                    'change_request_type.*.delete' => 'Change Request Type',
                    'change_request_type.*.force-delete' => 'Change Request Type',
                    'change_request_type.*.restore' => 'Change Request Type',
                    'change_request_type.*.update' => 'Change Request Type',
                    'change_request_type.*.view' => 'Change Request Type',
                    'change_request_type.create' => 'Change Request Type',
                    'change_request_type.view-any' => 'Change Request Type',
                    'consent_agreement.*.update' => 'Consent Agreement',
                    'consent_agreement.*.view' => 'Consent Agreement',
                    'consent_agreement.view-any' => 'Consent Agreement',
                    'division.*.delete' => 'Division',
                    'division.*.force-delete' => 'Division',
                    'division.*.restore' => 'Division',
                    'division.*.update' => 'Division',
                    'division.*.view' => 'Division',
                    'division.create' => 'Division',
                    'division.view-any' => 'Division',
                    'email_template.*.delete' => 'Email Template',
                    'email_template.*.force-delete' => 'Email Template',
                    'email_template.*.restore' => 'Email Template',
                    'email_template.*.update' => 'Email Template',
                    'email_template.*.view' => 'Email Template',
                    'email_template.create' => 'Email Template',
                    'email_template.view-any' => 'Email Template',
                    'engagement.*.delete' => 'Engagement',
                    'engagement.*.force-delete' => 'Engagement',
                    'engagement.*.restore' => 'Engagement',
                    'engagement.*.update' => 'Engagement',
                    'engagement.*.view' => 'Engagement',
                    'engagement.create' => 'Engagement',
                    'engagement.view-any' => 'Engagement',
                    'engagement_batch.*.delete' => 'Engagement Batch',
                    'engagement_batch.*.force-delete' => 'Engagement Batch',
                    'engagement_batch.*.restore' => 'Engagement Batch',
                    'engagement_batch.*.update' => 'Engagement Batch',
                    'engagement_batch.*.view' => 'Engagement Batch',
                    'engagement_batch.create' => 'Engagement Batch',
                    'engagement_batch.view-any' => 'Engagement Batch',
                    'engagement_deliverable.*.delete' => 'Engagement Deliverable',
                    'engagement_deliverable.*.force-delete' => 'Engagement Deliverable',
                    'engagement_deliverable.*.restore' => 'Engagement Deliverable',
                    'engagement_deliverable.*.update' => 'Engagement Deliverable',
                    'engagement_deliverable.*.view' => 'Engagement Deliverable',
                    'engagement_deliverable.create' => 'Engagement Deliverable',
                    'engagement_deliverable.view-any' => 'Engagement Deliverable',
                    'engagement_file.*.delete' => 'Engagement File',
                    'engagement_file.*.force-delete' => 'Engagement File',
                    'engagement_file.*.restore' => 'Engagement File',
                    'engagement_file.*.update' => 'Engagement File',
                    'engagement_file.*.view' => 'Engagement File',
                    'engagement_file.create' => 'Engagement File',
                    'engagement_file.view-any' => 'Engagement File',
                    'engagement_response.*.delete' => 'Engagement Response',
                    'engagement_response.*.force-delete' => 'Engagement Response',
                    'engagement_response.*.restore' => 'Engagement Response',
                    'engagement_response.*.update' => 'Engagement Response',
                    'engagement_response.*.view' => 'Engagement Response',
                    'engagement_response.create' => 'Engagement Response',
                    'engagement_response.view-any' => 'Engagement Response',
                    'enrollment.*.view' => 'Enrollment',
                    'enrollment.view-any' => 'Enrollment',
                    'event.*.delete' => 'Event',
                    'event.*.force-delete' => 'Event',
                    'event.*.restore' => 'Event',
                    'event.*.update' => 'Event',
                    'event.*.view' => 'Event',
                    'event.create' => 'Event',
                    'event.view-any' => 'Event',
                    'event_attendee.*.delete' => 'Event Attendee',
                    'event_attendee.*.force-delete' => 'Event Attendee',
                    'event_attendee.*.restore' => 'Event Attendee',
                    'event_attendee.*.update' => 'Event Attendee',
                    'event_attendee.*.view' => 'Event Attendee',
                    'event_attendee.create' => 'Event Attendee',
                    'event_attendee.view-any' => 'Event Attendee',
                    'event_registration_form.*.delete' => 'Event Registration Form',
                    'event_registration_form.*.force-delete' => 'Event Registration Form',
                    'event_registration_form.*.restore' => 'Event Registration Form',
                    'event_registration_form.*.update' => 'Event Registration Form',
                    'event_registration_form.*.view' => 'Event Registration Form',
                    'event_registration_form.create' => 'Event Registration Form',
                    'event_registration_form.view-any' => 'Event Registration Form',
                    'form.*.delete' => 'Form',
                    'form.*.force-delete' => 'Form',
                    'form.*.restore' => 'Form',
                    'form.*.update' => 'Form',
                    'form.*.view' => 'Form',
                    'form.create' => 'Form',
                    'form.view-any' => 'Form',
                    'interaction.*.delete' => 'Interaction',
                    'interaction.*.force-delete' => 'Interaction',
                    'interaction.*.restore' => 'Interaction',
                    'interaction.*.update' => 'Interaction',
                    'interaction.*.view' => 'Interaction',
                    'interaction.create' => 'Interaction',
                    'interaction.view-any' => 'Interaction',
                    'interaction_campaign.*.delete' => 'Interaction Campaign',
                    'interaction_campaign.*.force-delete' => 'Interaction Campaign',
                    'interaction_campaign.*.restore' => 'Interaction Campaign',
                    'interaction_campaign.*.update' => 'Interaction Campaign',
                    'interaction_campaign.*.view' => 'Interaction Campaign',
                    'interaction_campaign.create' => 'Interaction Campaign',
                    'interaction_campaign.view-any' => 'Interaction Campaign',
                    'interaction_driver.*.delete' => 'Interaction Driver',
                    'interaction_driver.*.force-delete' => 'Interaction Driver',
                    'interaction_driver.*.restore' => 'Interaction Driver',
                    'interaction_driver.*.update' => 'Interaction Driver',
                    'interaction_driver.*.view' => 'Interaction Driver',
                    'interaction_driver.create' => 'Interaction Driver',
                    'interaction_driver.view-any' => 'Interaction Driver',
                    'interaction_initiative.*.delete' => 'Interaction Initiative',
                    'interaction_initiative.*.force-delete' => 'Interaction Initiative',
                    'interaction_initiative.*.restore' => 'Interaction Initiative',
                    'interaction_initiative.*.update' => 'Interaction Initiative',
                    'interaction_initiative.*.view' => 'Interaction Initiative',
                    'interaction_initiative.create' => 'Interaction Initiative',
                    'interaction_initiative.view-any' => 'Interaction Initiative',
                    'interaction_outcome.*.delete' => 'Interaction Outcome',
                    'interaction_outcome.*.force-delete' => 'Interaction Outcome',
                    'interaction_outcome.*.restore' => 'Interaction Outcome',
                    'interaction_outcome.*.update' => 'Interaction Outcome',
                    'interaction_outcome.*.view' => 'Interaction Outcome',
                    'interaction_outcome.create' => 'Interaction Outcome',
                    'interaction_outcome.view-any' => 'Interaction Outcome',
                    'interaction_relation.*.delete' => 'Interaction Relation',
                    'interaction_relation.*.force-delete' => 'Interaction Relation',
                    'interaction_relation.*.restore' => 'Interaction Relation',
                    'interaction_relation.*.update' => 'Interaction Relation',
                    'interaction_relation.*.view' => 'Interaction Relation',
                    'interaction_relation.create' => 'Interaction Relation',
                    'interaction_relation.view-any' => 'Interaction Relation',
                    'interaction_status.*.delete' => 'Interaction Status',
                    'interaction_status.*.force-delete' => 'Interaction Status',
                    'interaction_status.*.restore' => 'Interaction Status',
                    'interaction_status.*.update' => 'Interaction Status',
                    'interaction_status.*.view' => 'Interaction Status',
                    'interaction_status.create' => 'Interaction Status',
                    'interaction_status.view-any' => 'Interaction Status',
                    'interaction_type.*.delete' => 'Interaction Type',
                    'interaction_type.*.force-delete' => 'Interaction Type',
                    'interaction_type.*.restore' => 'Interaction Type',
                    'interaction_type.*.update' => 'Interaction Type',
                    'interaction_type.*.view' => 'Interaction Type',
                    'interaction_type.create' => 'Interaction Type',
                    'interaction_type.view-any' => 'Interaction Type',
                    'knowledge_base_category.*.delete' => 'Knowledge Base Category',
                    'knowledge_base_category.*.force-delete' => 'Knowledge Base Category',
                    'knowledge_base_category.*.restore' => 'Knowledge Base Category',
                    'knowledge_base_category.*.update' => 'Knowledge Base Category',
                    'knowledge_base_category.*.view' => 'Knowledge Base Category',
                    'knowledge_base_category.create' => 'Knowledge Base Category',
                    'knowledge_base_category.view-any' => 'Knowledge Base Category',
                    'knowledge_base_article.*.delete' => 'Knowledge Base Item',
                    'knowledge_base_article.*.force-delete' => 'Knowledge Base Item',
                    'knowledge_base_article.*.restore' => 'Knowledge Base Item',
                    'knowledge_base_article.*.update' => 'Knowledge Base Item',
                    'knowledge_base_article.*.view' => 'Knowledge Base Item',
                    'knowledge_base_article.create' => 'Knowledge Base Item',
                    'knowledge_base_article.view-any' => 'Knowledge Base Item',
                    'knowledge_base_quality.*.delete' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.force-delete' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.restore' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.update' => 'Knowledge Base Quality',
                    'knowledge_base_quality.*.view' => 'Knowledge Base Quality',
                    'knowledge_base_quality.create' => 'Knowledge Base Quality',
                    'knowledge_base_quality.view-any' => 'Knowledge Base Quality',
                    'knowledge_base_status.*.delete' => 'Knowledge Base Status',
                    'knowledge_base_status.*.force-delete' => 'Knowledge Base Status',
                    'knowledge_base_status.*.restore' => 'Knowledge Base Status',
                    'knowledge_base_status.*.update' => 'Knowledge Base Status',
                    'knowledge_base_status.*.view' => 'Knowledge Base Status',
                    'knowledge_base_status.create' => 'Knowledge Base Status',
                    'knowledge_base_status.view-any' => 'Knowledge Base Status',
                    'license.*.delete' => 'License',
                    'license.*.force-delete' => 'License',
                    'license.*.restore' => 'License',
                    'license.*.update' => 'License',
                    'license.*.view' => 'License',
                    'license.create' => 'License',
                    'license.view-any' => 'License',
                    'maintenance_activity.*.delete' => 'Maintenance Activity',
                    'maintenance_activity.*.force-delete' => 'Maintenance Activity',
                    'maintenance_activity.*.restore' => 'Maintenance Activity',
                    'maintenance_activity.*.update' => 'Maintenance Activity',
                    'maintenance_activity.*.view' => 'Maintenance Activity',
                    'maintenance_activity.create' => 'Maintenance Activity',
                    'maintenance_activity.view-any' => 'Maintenance Activity',
                    'maintenance_provider.*.delete' => 'Maintenance Provider',
                    'maintenance_provider.*.force-delete' => 'Maintenance Provider',
                    'maintenance_provider.*.restore' => 'Maintenance Provider',
                    'maintenance_provider.*.update' => 'Maintenance Provider',
                    'maintenance_provider.*.view' => 'Maintenance Provider',
                    'maintenance_provider.create' => 'Maintenance Provider',
                    'maintenance_provider.view-any' => 'Maintenance Provider',
                    'notification_setting.*.delete' => 'Notification Setting',
                    'notification_setting.*.force-delete' => 'Notification Setting',
                    'notification_setting.*.restore' => 'Notification Setting',
                    'notification_setting.*.update' => 'Notification Setting',
                    'notification_setting.*.view' => 'Notification Setting',
                    'notification_setting.create' => 'Notification Setting',
                    'notification_setting.view-any' => 'Notification Setting',
                    'outbound_deliverable.*.delete' => 'Outbound Deliverable',
                    'outbound_deliverable.*.force-delete' => 'Outbound Deliverable',
                    'outbound_deliverable.*.restore' => 'Outbound Deliverable',
                    'outbound_deliverable.*.update' => 'Outbound Deliverable',
                    'outbound_deliverable.*.view' => 'Outbound Deliverable',
                    'outbound_deliverable.create' => 'Outbound Deliverable',
                    'outbound_deliverable.view-any' => 'Outbound Deliverable',
                    'program.*.view' => 'Program',
                    'program.view-any' => 'Program',
                    'prompt.*.delete' => 'Prompt',
                    'prompt.*.force-delete' => 'Prompt',
                    'prompt.*.restore' => 'Prompt',
                    'prompt.*.update' => 'Prompt',
                    'prompt.*.view' => 'Prompt',
                    'prompt.create' => 'Prompt',
                    'prompt.view-any' => 'Prompt',
                    'prompt_type.*.delete' => 'Prompt Type',
                    'prompt_type.*.force-delete' => 'Prompt Type',
                    'prompt_type.*.restore' => 'Prompt Type',
                    'prompt_type.*.update' => 'Prompt Type',
                    'prompt_type.*.view' => 'Prompt Type',
                    'prompt_type.create' => 'Prompt Type',
                    'prompt_type.view-any' => 'Prompt Type',
                    'pronouns.*.delete' => 'Pronouns',
                    'pronouns.*.force-delete' => 'Pronouns',
                    'pronouns.*.restore' => 'Pronouns',
                    'pronouns.*.update' => 'Pronouns',
                    'pronouns.*.view' => 'Pronouns',
                    'pronouns.create' => 'Pronouns',
                    'pronouns.view-any' => 'Pronouns',
                    'prospect.*.delete' => 'Prospect',
                    'prospect.*.force-delete' => 'Prospect',
                    'prospect.*.restore' => 'Prospect',
                    'prospect.*.update' => 'Prospect',
                    'prospect.*.view' => 'Prospect',
                    'prospect.create' => 'Prospect',
                    'prospect.view-any' => 'Prospect',
                    'prospect_source.*.delete' => 'Prospect Source',
                    'prospect_source.*.force-delete' => 'Prospect Source',
                    'prospect_source.*.restore' => 'Prospect Source',
                    'prospect_source.*.update' => 'Prospect Source',
                    'prospect_source.*.view' => 'Prospect Source',
                    'prospect_source.create' => 'Prospect Source',
                    'prospect_source.view-any' => 'Prospect Source',
                    'prospect_status.*.delete' => 'Prospect Status',
                    'prospect_status.*.force-delete' => 'Prospect Status',
                    'prospect_status.*.restore' => 'Prospect Status',
                    'prospect_status.*.update' => 'Prospect Status',
                    'prospect_status.*.view' => 'Prospect Status',
                    'prospect_status.create' => 'Prospect Status',
                    'prospect_status.view-any' => 'Prospect Status',
                    'report.*.delete' => 'Report',
                    'report.*.force-delete' => 'Report',
                    'report.*.restore' => 'Report',
                    'report.*.update' => 'Report',
                    'report.*.view' => 'Report',
                    'report.create' => 'Report',
                    'report.view-any' => 'Report',
                    'service_request.*.delete' => 'Service Request',
                    'service_request.*.force-delete' => 'Service Request',
                    'service_request.*.restore' => 'Service Request',
                    'service_request.*.update' => 'Service Request',
                    'service_request.*.view' => 'Service Request',
                    'service_request.create' => 'Service Request',
                    'service_request.view-any' => 'Service Request',
                    'service_request_assignment.*.delete' => 'Service Request Assignment',
                    'service_request_assignment.*.force-delete' => 'Service Request Assignment',
                    'service_request_assignment.*.restore' => 'Service Request Assignment',
                    'service_request_assignment.*.update' => 'Service Request Assignment',
                    'service_request_assignment.*.view' => 'Service Request Assignment',
                    'service_request_assignment.create' => 'Service Request Assignment',
                    'service_request_assignment.view-any' => 'Service Request Assignment',
                    'service_request_form.*.delete' => 'Service Request Form',
                    'service_request_form.*.force-delete' => 'Service Request Form',
                    'service_request_form.*.restore' => 'Service Request Form',
                    'service_request_form.*.update' => 'Service Request Form',
                    'service_request_form.*.view' => 'Service Request Form',
                    'service_request_form.create' => 'Service Request Form',
                    'service_request_form.view-any' => 'Service Request Form',
                    'service_request_history.*.delete' => 'Service Request History',
                    'service_request_history.*.force-delete' => 'Service Request History',
                    'service_request_history.*.restore' => 'Service Request History',
                    'service_request_history.*.update' => 'Service Request History',
                    'service_request_history.*.view' => 'Service Request History',
                    'service_request_history.create' => 'Service Request History',
                    'service_request_history.view-any' => 'Service Request History',
                    'service_request_priority.*.delete' => 'Service Request Priority',
                    'service_request_priority.*.force-delete' => 'Service Request Priority',
                    'service_request_priority.*.restore' => 'Service Request Priority',
                    'service_request_priority.*.update' => 'Service Request Priority',
                    'service_request_priority.*.view' => 'Service Request Priority',
                    'service_request_priority.create' => 'Service Request Priority',
                    'service_request_priority.view-any' => 'Service Request Priority',
                    'service_request_status.*.delete' => 'Service Request Status',
                    'service_request_status.*.force-delete' => 'Service Request Status',
                    'service_request_status.*.restore' => 'Service Request Status',
                    'service_request_status.*.update' => 'Service Request Status',
                    'service_request_status.*.view' => 'Service Request Status',
                    'service_request_status.create' => 'Service Request Status',
                    'service_request_status.view-any' => 'Service Request Status',
                    'service_request_type.*.delete' => 'Service Request Type',
                    'service_request_type.*.force-delete' => 'Service Request Type',
                    'service_request_type.*.restore' => 'Service Request Type',
                    'service_request_type.*.update' => 'Service Request Type',
                    'service_request_type.*.view' => 'Service Request Type',
                    'service_request_type.create' => 'Service Request Type',
                    'service_request_type.view-any' => 'Service Request Type',
                    'service_request_update.*.delete' => 'Service Request Update',
                    'service_request_update.*.force-delete' => 'Service Request Update',
                    'service_request_update.*.restore' => 'Service Request Update',
                    'service_request_update.*.update' => 'Service Request Update',
                    'service_request_update.*.view' => 'Service Request Update',
                    'service_request_update.create' => 'Service Request Update',
                    'service_request_update.view-any' => 'Service Request Update',
                    'sla.*.delete' => 'SLA',
                    'sla.*.force-delete' => 'SLA',
                    'sla.*.restore' => 'SLA',
                    'sla.*.update' => 'SLA',
                    'sla.*.view' => 'SLA',
                    'sla.create' => 'SLA',
                    'sla.view-any' => 'SLA',
                    'sms_template.*.delete' => 'SMS Template',
                    'sms_template.*.force-delete' => 'SMS Template',
                    'sms_template.*.restore' => 'SMS Template',
                    'sms_template.*.update' => 'SMS Template',
                    'sms_template.*.view' => 'SMS Template',
                    'sms_template.create' => 'SMS Template',
                    'sms_template.view-any' => 'SMS Template',
                    'student.*.view' => 'Student',
                    'student.view-any' => 'Student',
                    'subscription.*.delete' => 'Subscription',
                    'subscription.*.force-delete' => 'Subscription',
                    'subscription.*.restore' => 'Subscription',
                    'subscription.*.update' => 'Subscription',
                    'subscription.*.view' => 'Subscription',
                    'subscription.create' => 'Subscription',
                    'subscription.view-any' => 'Subscription',
                    'survey.*.delete' => 'Survey',
                    'survey.*.force-delete' => 'Survey',
                    'survey.*.restore' => 'Survey',
                    'survey.*.update' => 'Survey',
                    'survey.*.view' => 'Survey',
                    'survey.create' => 'Survey',
                    'survey.view-any' => 'Survey',
                    'system_user.*.delete' => 'System User',
                    'system_user.*.force-delete' => 'System User',
                    'system_user.*.restore' => 'System User',
                    'system_user.*.update' => 'System User',
                    'system_user.*.view' => 'System User',
                    'system_user.create' => 'System User',
                    'system_user.view-any' => 'System User',
                    'task.*.delete' => 'Task',
                    'task.*.force-delete' => 'Task',
                    'task.*.restore' => 'Task',
                    'task.*.update' => 'Task',
                    'task.*.view' => 'Task',
                    'task.create' => 'Task',
                    'task.view-any' => 'Task',
                    'team.*.delete' => 'Team',
                    'team.*.force-delete' => 'Team',
                    'team.*.restore' => 'Team',
                    'team.*.update' => 'Team',
                    'team.*.view' => 'Team',
                    'team.create' => 'Team',
                    'team.view-any' => 'Team',
                    'timeline.*.delete' => 'Timeline',
                    'timeline.*.force-delete' => 'Timeline',
                    'timeline.*.restore' => 'Timeline',
                    'timeline.*.update' => 'Timeline',
                    'timeline.*.view' => 'Timeline',
                    'timeline.create' => 'Timeline',
                    'timeline.view-any' => 'Timeline',
                    'user.*.delete' => 'User',
                    'user.*.force-delete' => 'User',
                    'user.*.restore' => 'User',
                    'user.*.update' => 'User',
                    'user.*.view' => 'User',
                    'user.create' => 'User',
                    'user.view-any' => 'User',
                    'user.view-email' => 'User',
                ],
                keys: DB::table('permissions')
                    ->where('guard_name', 'api')
                    ->pluck('name')
                    ->all(),
            ),
            guardName: 'api'
        );
    }
};
