import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../wayfinder'
/**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
export const index = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
index.url = (options?: RouteQueryOptions) => {
    return index.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
index.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
index.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: index.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
    const indexForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: index.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
        indexForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: index.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\Settings\MalwareScanController::index
 * @see app/Http/Controllers/Settings/MalwareScanController.php:44
 * @route '/settings/security-scan'
 */
        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\Settings\MalwareScanController::store
 * @see app/Http/Controllers/Settings/MalwareScanController.php:86
 * @route '/settings/security-scan'
 */
export const store = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

store.definition = {
    methods: ["post"],
    url: '/settings/security-scan',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::store
 * @see app/Http/Controllers/Settings/MalwareScanController.php:86
 * @route '/settings/security-scan'
 */
store.url = (options?: RouteQueryOptions) => {
    return store.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::store
 * @see app/Http/Controllers/Settings/MalwareScanController.php:86
 * @route '/settings/security-scan'
 */
store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\Settings\MalwareScanController::store
 * @see app/Http/Controllers/Settings/MalwareScanController.php:86
 * @route '/settings/security-scan'
 */
    const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: store.url(options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\Settings\MalwareScanController::store
 * @see app/Http/Controllers/Settings/MalwareScanController.php:86
 * @route '/settings/security-scan'
 */
        storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: store.url(options),
            method: 'post',
        })
    
    store.form = storeForm
/**
* @see \App\Http\Controllers\Settings\MalwareScanController::quarantine
 * @see app/Http/Controllers/Settings/MalwareScanController.php:139
 * @route '/settings/security-scan/quarantine'
 */
export const quarantine = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: quarantine.url(options),
    method: 'post',
})

quarantine.definition = {
    methods: ["post"],
    url: '/settings/security-scan/quarantine',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::quarantine
 * @see app/Http/Controllers/Settings/MalwareScanController.php:139
 * @route '/settings/security-scan/quarantine'
 */
quarantine.url = (options?: RouteQueryOptions) => {
    return quarantine.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\Settings\MalwareScanController::quarantine
 * @see app/Http/Controllers/Settings/MalwareScanController.php:139
 * @route '/settings/security-scan/quarantine'
 */
quarantine.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: quarantine.url(options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\Settings\MalwareScanController::quarantine
 * @see app/Http/Controllers/Settings/MalwareScanController.php:139
 * @route '/settings/security-scan/quarantine'
 */
    const quarantineForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: quarantine.url(options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\Settings\MalwareScanController::quarantine
 * @see app/Http/Controllers/Settings/MalwareScanController.php:139
 * @route '/settings/security-scan/quarantine'
 */
        quarantineForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: quarantine.url(options),
            method: 'post',
        })
    
    quarantine.form = quarantineForm
const securityScan = {
    index: Object.assign(index, index),
store: Object.assign(store, store),
quarantine: Object.assign(quarantine, quarantine),
}

export default securityScan