import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../wayfinder'
/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::edit
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:20
* @route '/settings/notification/edit'
*/
export const edit = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::edit
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:20
* @route '/settings/notification/edit'
*/
edit.url = (options?: RouteQueryOptions) => {
    return edit.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::edit
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:20
* @route '/settings/notification/edit'
*/
edit.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::edit
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:20
* @route '/settings/notification/edit'
*/
edit.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: edit.url(options),
    method: 'head',
})

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::update
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:31
* @route '/settings/notification/update'
*/
export const update = (options?: RouteQueryOptions): RouteDefinition<'patch'> => ({
    url: update.url(options),
    method: 'patch',
})

update.definition = {
    methods: ["patch"],
    url: '/settings/notification/update',
} satisfies RouteDefinition<["patch"]>

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::update
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:31
* @route '/settings/notification/update'
*/
update.url = (options?: RouteQueryOptions) => {
    return update.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\Settings\NotificationSettingsController::update
* @see app/Http/Controllers/Settings/NotificationSettingsController.php:31
* @route '/settings/notification/update'
*/
update.patch = (options?: RouteQueryOptions): RouteDefinition<'patch'> => ({
    url: update.url(options),
    method: 'patch',
})

const notification = {
    edit: Object.assign(edit, edit),
    update: Object.assign(update, update),
}

export default notification