import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../wayfinder'
import donations1cddd4 from './donations'
/**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
export const show = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
show.url = (options?: RouteQueryOptions) => {
    return show.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
show.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
show.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: show.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
    const showForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: show.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
        showForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: show.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\ProfileController::show
 * @see app/Http/Controllers/ProfileController.php:19
 * @route '/profile'
 */
        showForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: show.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    show.form = showForm
/**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
export const edit = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
edit.url = (options?: RouteQueryOptions) => {
    return edit.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
edit.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
edit.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: edit.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
    const editForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: edit.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
        editForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: edit.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\ProfileController::edit
 * @see app/Http/Controllers/ProfileController.php:35
 * @route '/profile/edit'
 */
        editForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: edit.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    edit.form = editForm
/**
* @see \App\Http\Controllers\ProfileController::update
 * @see app/Http/Controllers/ProfileController.php:51
 * @route '/profile'
 */
export const update = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(options),
    method: 'put',
})

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

/**
* @see \App\Http\Controllers\ProfileController::update
 * @see app/Http/Controllers/ProfileController.php:51
 * @route '/profile'
 */
update.url = (options?: RouteQueryOptions) => {
    return update.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\ProfileController::update
 * @see app/Http/Controllers/ProfileController.php:51
 * @route '/profile'
 */
update.put = (options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(options),
    method: 'put',
})

    /**
* @see \App\Http\Controllers\ProfileController::update
 * @see app/Http/Controllers/ProfileController.php:51
 * @route '/profile'
 */
    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\ProfileController::update
 * @see app/Http/Controllers/ProfileController.php:51
 * @route '/profile'
 */
        updateForm.put = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: update.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'PUT',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    update.form = updateForm
/**
* @see \App\Http\Controllers\ProfileController::availability
 * @see app/Http/Controllers/ProfileController.php:78
 * @route '/profile/availability'
 */
export const availability = (options?: RouteQueryOptions): RouteDefinition<'patch'> => ({
    url: availability.url(options),
    method: 'patch',
})

availability.definition = {
    methods: ["patch"],
    url: '/profile/availability',
} satisfies RouteDefinition<["patch"]>

/**
* @see \App\Http\Controllers\ProfileController::availability
 * @see app/Http/Controllers/ProfileController.php:78
 * @route '/profile/availability'
 */
availability.url = (options?: RouteQueryOptions) => {
    return availability.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\ProfileController::availability
 * @see app/Http/Controllers/ProfileController.php:78
 * @route '/profile/availability'
 */
availability.patch = (options?: RouteQueryOptions): RouteDefinition<'patch'> => ({
    url: availability.url(options),
    method: 'patch',
})

    /**
* @see \App\Http\Controllers\ProfileController::availability
 * @see app/Http/Controllers/ProfileController.php:78
 * @route '/profile/availability'
 */
    const availabilityForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: availability.url({
                    [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                        _method: 'PATCH',
                        ...(options?.query ?? options?.mergeQuery ?? {}),
                    }
                }),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\ProfileController::availability
 * @see app/Http/Controllers/ProfileController.php:78
 * @route '/profile/availability'
 */
        availabilityForm.patch = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: availability.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'PATCH',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    availability.form = availabilityForm
/**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
export const donations = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: donations.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
donations.url = (options?: RouteQueryOptions) => {
    return donations.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
donations.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: donations.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
donations.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: donations.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
    const donationsForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: donations.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
        donationsForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: donations.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\ProfileController::donations
 * @see app/Http/Controllers/ProfileController.php:100
 * @route '/profile/donations'
 */
        donationsForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: donations.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    donations.form = donationsForm
const profile = {
    show: Object.assign(show, show),
edit: Object.assign(edit, edit),
update: Object.assign(update, update),
availability: Object.assign(availability, availability),
donations: Object.assign(donations, donations1cddd4),
}

export default profile