import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition, applyUrlDefaults } from './../../wayfinder'
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
export const index = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
index.url = (options?: RouteQueryOptions) => {
    return index.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
index.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: index.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
index.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: index.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
    const indexForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: index.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
        indexForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: index.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::index
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:14
 * @route '/dashboard/price-adjustment'
 */
        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\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
export const create = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: create.url(options),
    method: 'get',
})

create.definition = {
    methods: ["get","head"],
    url: '/dashboard/price-adjustment/create',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
create.url = (options?: RouteQueryOptions) => {
    return create.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
create.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: create.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
create.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: create.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
    const createForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: create.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
        createForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: create.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::create
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/create'
 */
        createForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: create.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    create.form = createForm
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::store
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:22
 * @route '/dashboard/price-adjustment'
 */
export const store = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

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

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::store
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:22
 * @route '/dashboard/price-adjustment'
 */
store.url = (options?: RouteQueryOptions) => {
    return store.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::store
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:22
 * @route '/dashboard/price-adjustment'
 */
store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: store.url(options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::store
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:22
 * @route '/dashboard/price-adjustment'
 */
    const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: store.url(options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::store
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:22
 * @route '/dashboard/price-adjustment'
 */
        storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: store.url(options),
            method: 'post',
        })
    
    store.form = storeForm
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
export const show = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(args, options),
    method: 'get',
})

show.definition = {
    methods: ["get","head"],
    url: '/dashboard/price-adjustment/{price_adjustment}',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
show.url = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { price_adjustment: args }
    }

    
    if (Array.isArray(args)) {
        args = {
                    price_adjustment: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        price_adjustment: args.price_adjustment,
                }

    return show.definition.url
            .replace('{price_adjustment}', parsedArgs.price_adjustment.toString())
            .replace(/\/+$/, '') + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
show.get = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: show.url(args, options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
show.head = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: show.url(args, options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
    const showForm = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: show.url(args, options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
        showForm.get = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: show.url(args, options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::show
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
        showForm.head = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: show.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    show.form = showForm
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
export const edit = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(args, options),
    method: 'get',
})

edit.definition = {
    methods: ["get","head"],
    url: '/dashboard/price-adjustment/{price_adjustment}/edit',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
edit.url = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { price_adjustment: args }
    }

    
    if (Array.isArray(args)) {
        args = {
                    price_adjustment: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        price_adjustment: args.price_adjustment,
                }

    return edit.definition.url
            .replace('{price_adjustment}', parsedArgs.price_adjustment.toString())
            .replace(/\/+$/, '') + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
edit.get = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: edit.url(args, options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
edit.head = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: edit.url(args, options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
    const editForm = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: edit.url(args, options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
        editForm.get = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: edit.url(args, options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::edit
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:0
 * @route '/dashboard/price-adjustment/{price_adjustment}/edit'
 */
        editForm.head = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: edit.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    edit.form = editForm
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
export const update = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(args, options),
    method: 'put',
})

update.definition = {
    methods: ["put","patch"],
    url: '/dashboard/price-adjustment/{price_adjustment}',
} satisfies RouteDefinition<["put","patch"]>

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
update.url = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { price_adjustment: args }
    }

    
    if (Array.isArray(args)) {
        args = {
                    price_adjustment: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        price_adjustment: args.price_adjustment,
                }

    return update.definition.url
            .replace('{price_adjustment}', parsedArgs.price_adjustment.toString())
            .replace(/\/+$/, '') + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
update.put = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: update.url(args, options),
    method: 'put',
})
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
update.patch = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'patch'> => ({
    url: update.url(args, options),
    method: 'patch',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
    const updateForm = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: update.url(args, {
                    [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                        _method: 'PUT',
                        ...(options?.query ?? options?.mergeQuery ?? {}),
                    }
                }),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
        updateForm.put = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: update.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'PUT',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::update
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:32
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
        updateForm.patch = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: update.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'PATCH',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    update.form = updateForm
/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::destroy
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:44
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
export const destroy = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'delete'> => ({
    url: destroy.url(args, options),
    method: 'delete',
})

destroy.definition = {
    methods: ["delete"],
    url: '/dashboard/price-adjustment/{price_adjustment}',
} satisfies RouteDefinition<["delete"]>

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::destroy
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:44
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
destroy.url = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { price_adjustment: args }
    }

    
    if (Array.isArray(args)) {
        args = {
                    price_adjustment: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        price_adjustment: args.price_adjustment,
                }

    return destroy.definition.url
            .replace('{price_adjustment}', parsedArgs.price_adjustment.toString())
            .replace(/\/+$/, '') + queryParams(options)
}

/**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::destroy
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:44
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
destroy.delete = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteDefinition<'delete'> => ({
    url: destroy.url(args, options),
    method: 'delete',
})

    /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::destroy
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:44
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
    const destroyForm = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: destroy.url(args, {
                    [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                        _method: 'DELETE',
                        ...(options?.query ?? options?.mergeQuery ?? {}),
                    }
                }),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\BookingPriceAdjustmentController::destroy
 * @see app/Http/Controllers/BookingPriceAdjustmentController.php:44
 * @route '/dashboard/price-adjustment/{price_adjustment}'
 */
        destroyForm.delete = (args: { price_adjustment: string | number } | [price_adjustment: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: destroy.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'DELETE',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    destroy.form = destroyForm
const priceAdjustment = {
    index: Object.assign(index, index),
create: Object.assign(create, create),
store: Object.assign(store, store),
show: Object.assign(show, show),
edit: Object.assign(edit, edit),
update: Object.assign(update, update),
destroy: Object.assign(destroy, destroy),
}

export default priceAdjustment