user_provisioning.overview:
    path: /admin/config/people/user_provisioning/overview
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
        _form: \Drupal\user_provisioning\Form\MoOverview
    requirements:
        _permission: 'administer site configuration'

user_provisioning.user_provisioning:
    path: /admin/config/people/user_provisioning/user_provisioning
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
        _form: \Drupal\user_provisioning\Form\MoUserProvisioning
    requirements:
        _permission: 'administer site configuration'

user_provisioning.provisioning:
    path: /admin/config/people/user_provisioning/provisioning
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
        _form: \Drupal\user_provisioning\Form\MoUserProvisioning
    requirements:
        _permission: 'administer site configuration'

user_provisioning.audits_and_logs:
    path: /admin/config/people/user_provisioning/audits_and_logs
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.advanced_settings:
    path: /admin/config/people/user_provisioning/advanced_settings
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
        _form: \Drupal\user_provisioning\Form\MoAdvancedSettings
    requirements:
        _permission: 'administer site configuration'

user_provisioning.upgrade_plans:
    path: /admin/config/people/user_provisioning/upgrade_plans
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a>'
        _form: \Drupal\user_provisioning\Form\MoUpgradePlans
    requirements:
        _permission: 'administer site configuration'

user_provisioning.customer_setup:
    path: /admin/config/people/user_provisioning/customer_setup
    defaults:
        _title: 'miniOrange User Provisioning &nbsp;&nbsp;&nbsp; <a class="button button--primary js-form-submit form-submit use-ajax mo_top_bar_button" data-dialog-options="{&quot;width&quot;:&quot;40%&quot;}" data-dialog-type="modal" href="requestTrial">Request 7-days trial</a><a class="button mo_top_bar_button" href="upgrade_plans">Upgrade Plans</a>'
        _form: \Drupal\user_provisioning\Form\MoUserProvisioningCustomerSetup
    requirements:
        _permission: 'administer site configuration'

#Route for auto-completion of the On-demand provisioning field
user_provisioning.autocomplete:
    path: /admin/config/people/user_provisioning/autoComplete
    defaults:
        _controller: \Drupal\user_provisioning\Controller\user_provisioningController::handleAutocomplete
        _format: json
    requirements:
        _permission: 'access content'

user_provisioning.export:
    path: /admin/config/people/user_provisioning/MoUserProvisioningUserExport
    defaults:
        _title: 'miniOrange User Provisioning'
        _form: \Drupal\user_provisioning\Form\MoUserProvisioningUserExport
    requirements:
        _permission: 'administer site configuration'

user_provisioning.export_users:
    path: /user_provisioning/export_users
    defaults:
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::exportUsers'
    requirements:
        _permission: 'administer site configuration'

#Route for Trial Request

user_provisioning.request_trial:
    path: /admin/config/people/user_provisioning/requestTrial
    defaults:
        _title: 'miniOrange User Provisioning Request Trial'
        _form: \Drupal\user_provisioning\Form\MoUserProvisioningRequestTrial
    requirements:
        _permission: 'administer site configuration'

#Route for Support Request/Contact Us
user_provisioning.request_support:
    path: /admin/config/people/user_provisioning/requestSupport
    defaults:
        _title: 'miniOrange User Provisioning Request Support'
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::openSupportRequestForm'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.remove_account:
    path: /removeAccount
    defaults:
        _title: 'miniorange User Provisioning Remove Account'
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::openModalForm'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.reset_configurations:
    path: /admin/config/people/user_provisioning/resetConfiguration
    defaults:
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::resetConfigurations'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.provisioning_customer_support:
    path: /admin/config/people/user_provisioning/CustomerSupportProv
    defaults:
        _title: 'miniorange User Provisioning Customer Support'
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::openCustomerRequestForm'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.manual_provisioning:
    path: /admin/config/people/user_provisioning/PerformManualSync
    defaults:
        _title: 'User Provisioning - Manual Sync'
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::openManualSyncFormAction'
    requirements:
        _permission: 'administer site configuration'

user_provisioning.configure_app:
    path: /admin/config/people/user_provisioning/configure_app/{app_name}
    defaults:
        _title: 'User Provisioning - Configure App'
        _controller: '\Drupal\user_provisioning\Controller\user_provisioningController::openConfigureAppForm'
    requirements:
        _permission: 'administer site configuration'
