import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../wayfinder'
/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
export const index = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})

index.definition = {
    methods: ["get","head"],
    url: '/administration',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
index.url = (options?: RouteQueryOptions) => {
    return index.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
index.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
index.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: index.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
const indexForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: index.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
indexForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: index.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::index
* @see app/Http/Controllers/AdministrationController.php:28
* @route '/administration'
*/
indexForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: index.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

index.form = indexForm

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
export const license = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: license.url(options),
    method: 'get',
})

license.definition = {
    methods: ["get","head"],
    url: '/administration/license',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
license.url = (options?: RouteQueryOptions) => {
    return license.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
license.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: license.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
license.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: license.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
const licenseForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: license.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
licenseForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: license.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::license
* @see app/Http/Controllers/AdministrationController.php:120
* @route '/administration/license'
*/
licenseForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: license.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

license.form = licenseForm

/**
* @see \App\Http\Controllers\AdministrationController::updateLicense
* @see app/Http/Controllers/AdministrationController.php:141
* @route '/administration/license'
*/
export const updateLicense = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: updateLicense.url(options),
    method: 'post',
})

updateLicense.definition = {
    methods: ["post"],
    url: '/administration/license',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\AdministrationController::updateLicense
* @see app/Http/Controllers/AdministrationController.php:141
* @route '/administration/license'
*/
updateLicense.url = (options?: RouteQueryOptions) => {
    return updateLicense.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::updateLicense
* @see app/Http/Controllers/AdministrationController.php:141
* @route '/administration/license'
*/
updateLicense.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: updateLicense.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateLicense
* @see app/Http/Controllers/AdministrationController.php:141
* @route '/administration/license'
*/
const updateLicenseForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateLicense.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateLicense
* @see app/Http/Controllers/AdministrationController.php:141
* @route '/administration/license'
*/
updateLicenseForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateLicense.url(options),
    method: 'post',
})

updateLicense.form = updateLicenseForm

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
export const documentNumbering = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: documentNumbering.url(options),
    method: 'get',
})

documentNumbering.definition = {
    methods: ["get","head"],
    url: '/administration/document-numbering',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
documentNumbering.url = (options?: RouteQueryOptions) => {
    return documentNumbering.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
documentNumbering.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: documentNumbering.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
documentNumbering.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: documentNumbering.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
const documentNumberingForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: documentNumbering.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
documentNumberingForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: documentNumbering.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::documentNumbering
* @see app/Http/Controllers/AdministrationController.php:161
* @route '/administration/document-numbering'
*/
documentNumberingForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: documentNumbering.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

documentNumbering.form = documentNumberingForm

/**
* @see \App\Http\Controllers\AdministrationController::updateDocumentNumbering
* @see app/Http/Controllers/AdministrationController.php:188
* @route '/administration/document-numbering'
*/
export const updateDocumentNumbering = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateDocumentNumbering.url(options),
    method: 'put',
})

updateDocumentNumbering.definition = {
    methods: ["put"],
    url: '/administration/document-numbering',
} satisfies RouteDefinition<["put"]>

/**
* @see \App\Http\Controllers\AdministrationController::updateDocumentNumbering
* @see app/Http/Controllers/AdministrationController.php:188
* @route '/administration/document-numbering'
*/
updateDocumentNumbering.url = (options?: RouteQueryOptions) => {
    return updateDocumentNumbering.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::updateDocumentNumbering
* @see app/Http/Controllers/AdministrationController.php:188
* @route '/administration/document-numbering'
*/
updateDocumentNumbering.put = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateDocumentNumbering.url(options),
    method: 'put',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateDocumentNumbering
* @see app/Http/Controllers/AdministrationController.php:188
* @route '/administration/document-numbering'
*/
const updateDocumentNumberingForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateDocumentNumbering.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateDocumentNumbering
* @see app/Http/Controllers/AdministrationController.php:188
* @route '/administration/document-numbering'
*/
updateDocumentNumberingForm.put = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateDocumentNumbering.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

updateDocumentNumbering.form = updateDocumentNumberingForm

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
export const localization = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: localization.url(options),
    method: 'get',
})

localization.definition = {
    methods: ["get","head"],
    url: '/administration/localization',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
localization.url = (options?: RouteQueryOptions) => {
    return localization.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
localization.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: localization.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
localization.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: localization.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
const localizationForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: localization.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
localizationForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: localization.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::localization
* @see app/Http/Controllers/AdministrationController.php:224
* @route '/administration/localization'
*/
localizationForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: localization.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

localization.form = localizationForm

/**
* @see \App\Http\Controllers\AdministrationController::updateLocalization
* @see app/Http/Controllers/AdministrationController.php:247
* @route '/administration/localization'
*/
export const updateLocalization = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateLocalization.url(options),
    method: 'put',
})

updateLocalization.definition = {
    methods: ["put"],
    url: '/administration/localization',
} satisfies RouteDefinition<["put"]>

/**
* @see \App\Http\Controllers\AdministrationController::updateLocalization
* @see app/Http/Controllers/AdministrationController.php:247
* @route '/administration/localization'
*/
updateLocalization.url = (options?: RouteQueryOptions) => {
    return updateLocalization.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::updateLocalization
* @see app/Http/Controllers/AdministrationController.php:247
* @route '/administration/localization'
*/
updateLocalization.put = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateLocalization.url(options),
    method: 'put',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateLocalization
* @see app/Http/Controllers/AdministrationController.php:247
* @route '/administration/localization'
*/
const updateLocalizationForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateLocalization.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateLocalization
* @see app/Http/Controllers/AdministrationController.php:247
* @route '/administration/localization'
*/
updateLocalizationForm.put = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateLocalization.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

updateLocalization.form = updateLocalizationForm

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
export const statusEditor = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: statusEditor.url(options),
    method: 'get',
})

statusEditor.definition = {
    methods: ["get","head"],
    url: '/administration/status-editor',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
statusEditor.url = (options?: RouteQueryOptions) => {
    return statusEditor.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
statusEditor.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: statusEditor.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
statusEditor.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: statusEditor.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
const statusEditorForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: statusEditor.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
statusEditorForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: statusEditor.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::statusEditor
* @see app/Http/Controllers/AdministrationController.php:279
* @route '/administration/status-editor'
*/
statusEditorForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: statusEditor.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

statusEditor.form = statusEditorForm

/**
* @see \App\Http\Controllers\AdministrationController::updateStatusEditor
* @see app/Http/Controllers/AdministrationController.php:298
* @route '/administration/status-editor'
*/
export const updateStatusEditor = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateStatusEditor.url(options),
    method: 'put',
})

updateStatusEditor.definition = {
    methods: ["put"],
    url: '/administration/status-editor',
} satisfies RouteDefinition<["put"]>

/**
* @see \App\Http\Controllers\AdministrationController::updateStatusEditor
* @see app/Http/Controllers/AdministrationController.php:298
* @route '/administration/status-editor'
*/
updateStatusEditor.url = (options?: RouteQueryOptions) => {
    return updateStatusEditor.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::updateStatusEditor
* @see app/Http/Controllers/AdministrationController.php:298
* @route '/administration/status-editor'
*/
updateStatusEditor.put = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateStatusEditor.url(options),
    method: 'put',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateStatusEditor
* @see app/Http/Controllers/AdministrationController.php:298
* @route '/administration/status-editor'
*/
const updateStatusEditorForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateStatusEditor.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::updateStatusEditor
* @see app/Http/Controllers/AdministrationController.php:298
* @route '/administration/status-editor'
*/
updateStatusEditorForm.put = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: updateStatusEditor.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

updateStatusEditor.form = updateStatusEditorForm

/**
* @see \App\Http\Controllers\AdministrationController::upgradeDatabase
* @see app/Http/Controllers/AdministrationController.php:49
* @route '/administration/upgrade-database'
*/
export const upgradeDatabase = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: upgradeDatabase.url(options),
    method: 'post',
})

upgradeDatabase.definition = {
    methods: ["post"],
    url: '/administration/upgrade-database',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\AdministrationController::upgradeDatabase
* @see app/Http/Controllers/AdministrationController.php:49
* @route '/administration/upgrade-database'
*/
upgradeDatabase.url = (options?: RouteQueryOptions) => {
    return upgradeDatabase.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::upgradeDatabase
* @see app/Http/Controllers/AdministrationController.php:49
* @route '/administration/upgrade-database'
*/
upgradeDatabase.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: upgradeDatabase.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::upgradeDatabase
* @see app/Http/Controllers/AdministrationController.php:49
* @route '/administration/upgrade-database'
*/
const upgradeDatabaseForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: upgradeDatabase.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::upgradeDatabase
* @see app/Http/Controllers/AdministrationController.php:49
* @route '/administration/upgrade-database'
*/
upgradeDatabaseForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: upgradeDatabase.url(options),
    method: 'post',
})

upgradeDatabase.form = upgradeDatabaseForm

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
export const moduleVisibility = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: moduleVisibility.url(options),
    method: 'get',
})

moduleVisibility.definition = {
    methods: ["get","head"],
    url: '/administration/module-visibility',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
moduleVisibility.url = (options?: RouteQueryOptions) => {
    return moduleVisibility.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
moduleVisibility.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: moduleVisibility.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
moduleVisibility.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: moduleVisibility.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
const moduleVisibilityForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: moduleVisibility.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
moduleVisibilityForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: moduleVisibility.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\AdministrationController::moduleVisibility
* @see app/Http/Controllers/AdministrationController.php:74
* @route '/administration/module-visibility'
*/
moduleVisibilityForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: moduleVisibility.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'HEAD',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'get',
})

moduleVisibility.form = moduleVisibilityForm

/**
* @see \App\Http\Controllers\AdministrationController::update
* @see app/Http/Controllers/AdministrationController.php:83
* @route '/administration/module-visibility'
*/
export const update = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(options),
    method: 'put',
})

update.definition = {
    methods: ["put"],
    url: '/administration/module-visibility',
} satisfies RouteDefinition<["put"]>

/**
* @see \App\Http\Controllers\AdministrationController::update
* @see app/Http/Controllers/AdministrationController.php:83
* @route '/administration/module-visibility'
*/
update.url = (options?: RouteQueryOptions) => {
    return update.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AdministrationController::update
* @see app/Http/Controllers/AdministrationController.php:83
* @route '/administration/module-visibility'
*/
update.put = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(options),
    method: 'put',
})

/**
* @see \App\Http\Controllers\AdministrationController::update
* @see app/Http/Controllers/AdministrationController.php:83
* @route '/administration/module-visibility'
*/
const updateForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: update.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

/**
* @see \App\Http\Controllers\AdministrationController::update
* @see app/Http/Controllers/AdministrationController.php:83
* @route '/administration/module-visibility'
*/
updateForm.put = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: update.url({
        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
            _method: 'PUT',
            ...(options?.query ?? options?.mergeQuery ?? {}),
        }
    }),
    method: 'post',
})

update.form = updateForm

const AdministrationController = { index, license, updateLicense, documentNumbering, updateDocumentNumbering, localization, updateLocalization, statusEditor, updateStatusEditor, upgradeDatabase, moduleVisibility, update }

export default AdministrationController