import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition, applyUrlDefaults } from './../../../../wayfinder'
/**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
export const accountsIndex = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: accountsIndex.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
accountsIndex.url = (options?: RouteQueryOptions) => {
    return accountsIndex.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
accountsIndex.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: accountsIndex.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
accountsIndex.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: accountsIndex.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
    const accountsIndexForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: accountsIndex.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
        accountsIndexForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: accountsIndex.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::accountsIndex
 * @see app/Http/Controllers/AccountingController.php:404
 * @route '/accounting/accounts'
 */
        accountsIndexForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: accountsIndex.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    accountsIndex.form = accountsIndexForm
/**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
export const createAccount = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: createAccount.url(options),
    method: 'get',
})

createAccount.definition = {
    methods: ["get","head"],
    url: '/accounting/accounts/create',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
createAccount.url = (options?: RouteQueryOptions) => {
    return createAccount.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
createAccount.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: createAccount.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
createAccount.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: createAccount.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
    const createAccountForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: createAccount.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
        createAccountForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: createAccount.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::createAccount
 * @see app/Http/Controllers/AccountingController.php:435
 * @route '/accounting/accounts/create'
 */
        createAccountForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: createAccount.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    createAccount.form = createAccountForm
/**
* @see \App\Http\Controllers\AccountingController::storeAccount
 * @see app/Http/Controllers/AccountingController.php:451
 * @route '/accounting/accounts'
 */
export const storeAccount = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: storeAccount.url(options),
    method: 'post',
})

storeAccount.definition = {
    methods: ["post"],
    url: '/accounting/accounts',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\AccountingController::storeAccount
 * @see app/Http/Controllers/AccountingController.php:451
 * @route '/accounting/accounts'
 */
storeAccount.url = (options?: RouteQueryOptions) => {
    return storeAccount.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::storeAccount
 * @see app/Http/Controllers/AccountingController.php:451
 * @route '/accounting/accounts'
 */
storeAccount.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: storeAccount.url(options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\AccountingController::storeAccount
 * @see app/Http/Controllers/AccountingController.php:451
 * @route '/accounting/accounts'
 */
    const storeAccountForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: storeAccount.url(options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\AccountingController::storeAccount
 * @see app/Http/Controllers/AccountingController.php:451
 * @route '/accounting/accounts'
 */
        storeAccountForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: storeAccount.url(options),
            method: 'post',
        })
    
    storeAccount.form = storeAccountForm
/**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
export const showAccount = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: showAccount.url(args, options),
    method: 'get',
})

showAccount.definition = {
    methods: ["get","head"],
    url: '/accounting/accounts/{account}',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
showAccount.url = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { account: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { account: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    account: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        account: typeof args.account === 'object'
                ? args.account.id
                : args.account,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
showAccount.get = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: showAccount.url(args, options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
showAccount.head = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: showAccount.url(args, options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
    const showAccountForm = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: showAccount.url(args, options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
        showAccountForm.get = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: showAccount.url(args, options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::showAccount
 * @see app/Http/Controllers/AccountingController.php:462
 * @route '/accounting/accounts/{account}'
 */
        showAccountForm.head = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: showAccount.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    showAccount.form = showAccountForm
/**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
export const editAccount = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: editAccount.url(args, options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
editAccount.url = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { account: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { account: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    account: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        account: typeof args.account === 'object'
                ? args.account.id
                : args.account,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
editAccount.get = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: editAccount.url(args, options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
editAccount.head = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: editAccount.url(args, options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
    const editAccountForm = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: editAccount.url(args, options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
        editAccountForm.get = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: editAccount.url(args, options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::editAccount
 * @see app/Http/Controllers/AccountingController.php:497
 * @route '/accounting/accounts/{account}/edit'
 */
        editAccountForm.head = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: editAccount.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    editAccount.form = editAccountForm
/**
* @see \App\Http\Controllers\AccountingController::updateAccount
 * @see app/Http/Controllers/AccountingController.php:515
 * @route '/accounting/accounts/{account}'
 */
export const updateAccount = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateAccount.url(args, options),
    method: 'put',
})

updateAccount.definition = {
    methods: ["put"],
    url: '/accounting/accounts/{account}',
} satisfies RouteDefinition<["put"]>

/**
* @see \App\Http\Controllers\AccountingController::updateAccount
 * @see app/Http/Controllers/AccountingController.php:515
 * @route '/accounting/accounts/{account}'
 */
updateAccount.url = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { account: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { account: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    account: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        account: typeof args.account === 'object'
                ? args.account.id
                : args.account,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::updateAccount
 * @see app/Http/Controllers/AccountingController.php:515
 * @route '/accounting/accounts/{account}'
 */
updateAccount.put = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'put'> => ({
    url: updateAccount.url(args, options),
    method: 'put',
})

    /**
* @see \App\Http\Controllers\AccountingController::updateAccount
 * @see app/Http/Controllers/AccountingController.php:515
 * @route '/accounting/accounts/{account}'
 */
    const updateAccountForm = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: updateAccount.url(args, {
                    [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                        _method: 'PUT',
                        ...(options?.query ?? options?.mergeQuery ?? {}),
                    }
                }),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\AccountingController::updateAccount
 * @see app/Http/Controllers/AccountingController.php:515
 * @route '/accounting/accounts/{account}'
 */
        updateAccountForm.put = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: updateAccount.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'PUT',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    updateAccount.form = updateAccountForm
/**
* @see \App\Http\Controllers\AccountingController::destroyAccount
 * @see app/Http/Controllers/AccountingController.php:527
 * @route '/accounting/accounts/{account}'
 */
export const destroyAccount = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'delete'> => ({
    url: destroyAccount.url(args, options),
    method: 'delete',
})

destroyAccount.definition = {
    methods: ["delete"],
    url: '/accounting/accounts/{account}',
} satisfies RouteDefinition<["delete"]>

/**
* @see \App\Http\Controllers\AccountingController::destroyAccount
 * @see app/Http/Controllers/AccountingController.php:527
 * @route '/accounting/accounts/{account}'
 */
destroyAccount.url = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { account: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { account: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    account: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        account: typeof args.account === 'object'
                ? args.account.id
                : args.account,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::destroyAccount
 * @see app/Http/Controllers/AccountingController.php:527
 * @route '/accounting/accounts/{account}'
 */
destroyAccount.delete = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'delete'> => ({
    url: destroyAccount.url(args, options),
    method: 'delete',
})

    /**
* @see \App\Http\Controllers\AccountingController::destroyAccount
 * @see app/Http/Controllers/AccountingController.php:527
 * @route '/accounting/accounts/{account}'
 */
    const destroyAccountForm = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: destroyAccount.url(args, {
                    [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                        _method: 'DELETE',
                        ...(options?.query ?? options?.mergeQuery ?? {}),
                    }
                }),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\AccountingController::destroyAccount
 * @see app/Http/Controllers/AccountingController.php:527
 * @route '/accounting/accounts/{account}'
 */
        destroyAccountForm.delete = (args: { account: string | number | { id: string | number } } | [account: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: destroyAccount.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'DELETE',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'post',
        })
    
    destroyAccount.form = destroyAccountForm
/**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
export const journalEntries = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: journalEntries.url(options),
    method: 'get',
})

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

/**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
journalEntries.url = (options?: RouteQueryOptions) => {
    return journalEntries.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
journalEntries.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: journalEntries.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
journalEntries.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: journalEntries.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
    const journalEntriesForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: journalEntries.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
        journalEntriesForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: journalEntries.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::journalEntries
 * @see app/Http/Controllers/AccountingController.php:29
 * @route '/accounting/journal'
 */
        journalEntriesForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: journalEntries.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    journalEntries.form = journalEntriesForm
/**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
export const createJournalEntry = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: createJournalEntry.url(options),
    method: 'get',
})

createJournalEntry.definition = {
    methods: ["get","head"],
    url: '/accounting/journal/create',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
createJournalEntry.url = (options?: RouteQueryOptions) => {
    return createJournalEntry.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
createJournalEntry.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: createJournalEntry.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
createJournalEntry.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: createJournalEntry.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
    const createJournalEntryForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: createJournalEntry.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
        createJournalEntryForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: createJournalEntry.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::createJournalEntry
 * @see app/Http/Controllers/AccountingController.php:72
 * @route '/accounting/journal/create'
 */
        createJournalEntryForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: createJournalEntry.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    createJournalEntry.form = createJournalEntryForm
/**
* @see \App\Http\Controllers\AccountingController::storeJournalEntry
 * @see app/Http/Controllers/AccountingController.php:86
 * @route '/accounting/journal'
 */
export const storeJournalEntry = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: storeJournalEntry.url(options),
    method: 'post',
})

storeJournalEntry.definition = {
    methods: ["post"],
    url: '/accounting/journal',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\AccountingController::storeJournalEntry
 * @see app/Http/Controllers/AccountingController.php:86
 * @route '/accounting/journal'
 */
storeJournalEntry.url = (options?: RouteQueryOptions) => {
    return storeJournalEntry.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::storeJournalEntry
 * @see app/Http/Controllers/AccountingController.php:86
 * @route '/accounting/journal'
 */
storeJournalEntry.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: storeJournalEntry.url(options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\AccountingController::storeJournalEntry
 * @see app/Http/Controllers/AccountingController.php:86
 * @route '/accounting/journal'
 */
    const storeJournalEntryForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: storeJournalEntry.url(options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\AccountingController::storeJournalEntry
 * @see app/Http/Controllers/AccountingController.php:86
 * @route '/accounting/journal'
 */
        storeJournalEntryForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: storeJournalEntry.url(options),
            method: 'post',
        })
    
    storeJournalEntry.form = storeJournalEntryForm
/**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
export const showJournalEntry = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: showJournalEntry.url(args, options),
    method: 'get',
})

showJournalEntry.definition = {
    methods: ["get","head"],
    url: '/accounting/journal/{entry}',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
showJournalEntry.url = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { entry: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { entry: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    entry: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        entry: typeof args.entry === 'object'
                ? args.entry.id
                : args.entry,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
showJournalEntry.get = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: showJournalEntry.url(args, options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
showJournalEntry.head = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: showJournalEntry.url(args, options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
    const showJournalEntryForm = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: showJournalEntry.url(args, options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
        showJournalEntryForm.get = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: showJournalEntry.url(args, options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::showJournalEntry
 * @see app/Http/Controllers/AccountingController.php:60
 * @route '/accounting/journal/{entry}'
 */
        showJournalEntryForm.head = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: showJournalEntry.url(args, {
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    showJournalEntry.form = showJournalEntryForm
/**
* @see \App\Http\Controllers\AccountingController::voidJournalEntry
 * @see app/Http/Controllers/AccountingController.php:102
 * @route '/accounting/journal/{entry}/void'
 */
export const voidJournalEntry = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: voidJournalEntry.url(args, options),
    method: 'post',
})

voidJournalEntry.definition = {
    methods: ["post"],
    url: '/accounting/journal/{entry}/void',
} satisfies RouteDefinition<["post"]>

/**
* @see \App\Http\Controllers\AccountingController::voidJournalEntry
 * @see app/Http/Controllers/AccountingController.php:102
 * @route '/accounting/journal/{entry}/void'
 */
voidJournalEntry.url = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions) => {
    if (typeof args === 'string' || typeof args === 'number') {
        args = { entry: args }
    }

            if (typeof args === 'object' && !Array.isArray(args) && 'id' in args) {
            args = { entry: args.id }
        }
    
    if (Array.isArray(args)) {
        args = {
                    entry: args[0],
                }
    }

    args = applyUrlDefaults(args)

    const parsedArgs = {
                        entry: typeof args.entry === 'object'
                ? args.entry.id
                : args.entry,
                }

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

/**
* @see \App\Http\Controllers\AccountingController::voidJournalEntry
 * @see app/Http/Controllers/AccountingController.php:102
 * @route '/accounting/journal/{entry}/void'
 */
voidJournalEntry.post = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteDefinition<'post'> => ({
    url: voidJournalEntry.url(args, options),
    method: 'post',
})

    /**
* @see \App\Http\Controllers\AccountingController::voidJournalEntry
 * @see app/Http/Controllers/AccountingController.php:102
 * @route '/accounting/journal/{entry}/void'
 */
    const voidJournalEntryForm = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
        action: voidJournalEntry.url(args, options),
        method: 'post',
    })

            /**
* @see \App\Http\Controllers\AccountingController::voidJournalEntry
 * @see app/Http/Controllers/AccountingController.php:102
 * @route '/accounting/journal/{entry}/void'
 */
        voidJournalEntryForm.post = (args: { entry: string | number | { id: string | number } } | [entry: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
            action: voidJournalEntry.url(args, options),
            method: 'post',
        })
    
    voidJournalEntry.form = voidJournalEntryForm
/**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
export const trialBalance = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: trialBalance.url(options),
    method: 'get',
})

trialBalance.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/trial-balance',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
trialBalance.url = (options?: RouteQueryOptions) => {
    return trialBalance.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
trialBalance.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: trialBalance.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
trialBalance.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: trialBalance.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
    const trialBalanceForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: trialBalance.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
        trialBalanceForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: trialBalance.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::trialBalance
 * @see app/Http/Controllers/AccountingController.php:123
 * @route '/accounting/reports/trial-balance'
 */
        trialBalanceForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: trialBalance.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    trialBalance.form = trialBalanceForm
/**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
export const balanceSheet = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: balanceSheet.url(options),
    method: 'get',
})

balanceSheet.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/balance-sheet',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
balanceSheet.url = (options?: RouteQueryOptions) => {
    return balanceSheet.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
balanceSheet.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: balanceSheet.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
balanceSheet.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: balanceSheet.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
    const balanceSheetForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: balanceSheet.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
        balanceSheetForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: balanceSheet.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::balanceSheet
 * @see app/Http/Controllers/AccountingController.php:162
 * @route '/accounting/reports/balance-sheet'
 */
        balanceSheetForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: balanceSheet.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    balanceSheet.form = balanceSheetForm
/**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
export const incomeStatement = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: incomeStatement.url(options),
    method: 'get',
})

incomeStatement.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/income-statement',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
incomeStatement.url = (options?: RouteQueryOptions) => {
    return incomeStatement.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
incomeStatement.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: incomeStatement.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
incomeStatement.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: incomeStatement.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
    const incomeStatementForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: incomeStatement.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
        incomeStatementForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: incomeStatement.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::incomeStatement
 * @see app/Http/Controllers/AccountingController.php:205
 * @route '/accounting/reports/income-statement'
 */
        incomeStatementForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: incomeStatement.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    incomeStatement.form = incomeStatementForm
/**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
export const exportTrialBalance = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportTrialBalance.url(options),
    method: 'get',
})

exportTrialBalance.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/trial-balance/export',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
exportTrialBalance.url = (options?: RouteQueryOptions) => {
    return exportTrialBalance.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
exportTrialBalance.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportTrialBalance.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
exportTrialBalance.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: exportTrialBalance.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
    const exportTrialBalanceForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: exportTrialBalance.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
        exportTrialBalanceForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportTrialBalance.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::exportTrialBalance
 * @see app/Http/Controllers/AccountingController.php:136
 * @route '/accounting/reports/trial-balance/export'
 */
        exportTrialBalanceForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportTrialBalance.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    exportTrialBalance.form = exportTrialBalanceForm
/**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
export const exportBalanceSheet = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportBalanceSheet.url(options),
    method: 'get',
})

exportBalanceSheet.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/balance-sheet/export',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
exportBalanceSheet.url = (options?: RouteQueryOptions) => {
    return exportBalanceSheet.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
exportBalanceSheet.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportBalanceSheet.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
exportBalanceSheet.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: exportBalanceSheet.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
    const exportBalanceSheetForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: exportBalanceSheet.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
        exportBalanceSheetForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportBalanceSheet.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::exportBalanceSheet
 * @see app/Http/Controllers/AccountingController.php:175
 * @route '/accounting/reports/balance-sheet/export'
 */
        exportBalanceSheetForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportBalanceSheet.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    exportBalanceSheet.form = exportBalanceSheetForm
/**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
export const exportIncomeStatement = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportIncomeStatement.url(options),
    method: 'get',
})

exportIncomeStatement.definition = {
    methods: ["get","head"],
    url: '/accounting/reports/income-statement/export',
} satisfies RouteDefinition<["get","head"]>

/**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
exportIncomeStatement.url = (options?: RouteQueryOptions) => {
    return exportIncomeStatement.definition.url + queryParams(options)
}

/**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
exportIncomeStatement.get = (options?: RouteQueryOptions): RouteDefinition<'get'> => ({
    url: exportIncomeStatement.url(options),
    method: 'get',
})
/**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
exportIncomeStatement.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
    url: exportIncomeStatement.url(options),
    method: 'head',
})

    /**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
    const exportIncomeStatementForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
        action: exportIncomeStatement.url(options),
        method: 'get',
    })

            /**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
        exportIncomeStatementForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportIncomeStatement.url(options),
            method: 'get',
        })
            /**
* @see \App\Http\Controllers\AccountingController::exportIncomeStatement
 * @see app/Http/Controllers/AccountingController.php:220
 * @route '/accounting/reports/income-statement/export'
 */
        exportIncomeStatementForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
            action: exportIncomeStatement.url({
                        [options?.mergeQuery ? 'mergeQuery' : 'query']: {
                            _method: 'HEAD',
                            ...(options?.query ?? options?.mergeQuery ?? {}),
                        }
                    }),
            method: 'get',
        })
    
    exportIncomeStatement.form = exportIncomeStatementForm
const AccountingController = { accountsIndex, createAccount, storeAccount, showAccount, editAccount, updateAccount, destroyAccount, journalEntries, createJournalEntry, storeJournalEntry, showJournalEntry, voidJournalEntry, trialBalance, balanceSheet, incomeStatement, exportTrialBalance, exportBalanceSheet, exportIncomeStatement }

export default AccountingController