import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../wayfinder'
/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
export const show = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
show.url = (options?: RouteQueryOptions) => {
    return show.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
show.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
show.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: show.url(options),
    method: 'head',
})

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

/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
showForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
    action: show.url(options),
    method: 'get',
})

/**
* @see \App\Http\Controllers\KycVerificationController::show
* @see app/Http/Controllers/KycVerificationController.php:18
* @route '/verificacion-kyc'
*/
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\KycVerificationController::store
* @see app/Http/Controllers/KycVerificationController.php:54
* @route '/verificacion-kyc'
*/
export const store = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

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

/**
* @see \App\Http\Controllers\KycVerificationController::store
* @see app/Http/Controllers/KycVerificationController.php:54
* @route '/verificacion-kyc'
*/
store.url = (options?: RouteQueryOptions) => {
    return store.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\KycVerificationController::store
* @see app/Http/Controllers/KycVerificationController.php:54
* @route '/verificacion-kyc'
*/
store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\KycVerificationController::store
* @see app/Http/Controllers/KycVerificationController.php:54
* @route '/verificacion-kyc'
*/
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: store.url(options),
    method: 'post',
})

/**
* @see \App\Http\Controllers\KycVerificationController::store
* @see app/Http/Controllers/KycVerificationController.php:54
* @route '/verificacion-kyc'
*/
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
    action: store.url(options),
    method: 'post',
})

store.form = storeForm

const kyc = {
    show: Object.assign(show, show),
    store: Object.assign(store, store),
}

export default kyc