mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge pull request #8193 from turbo124/v5-develop
Append entity name to the start of documents
This commit is contained in:
commit
a5a58c567b
38
.github/workflows/phpunit.yml
vendored
38
.github/workflows/phpunit.yml
vendored
@ -90,22 +90,22 @@ jobs:
|
||||
run: |
|
||||
cp .env.ci .env
|
||||
|
||||
# - name: Get Composer Cache Directory
|
||||
# id: composer-cache
|
||||
# run: |
|
||||
# echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
# - uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ${{ steps.composer-cache.outputs.dir }}
|
||||
# key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-${{ matrix.php }}-composer-
|
||||
|
||||
- name: Cache dependencies actions/cache@v3
|
||||
uses: actions/cache@v3
|
||||
- name: Get Composer Cache Directory
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: dependencies-${{ matrix.dependency-version }}-laravel-${{ matrix.laravel }}-php-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-${{ matrix.php }}-composer-
|
||||
|
||||
# - name: Cache dependencies actions/cache@v3
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: ~/.composer/cache/files
|
||||
# key: dependencies-${{ matrix.dependency-version }}-laravel-${{ matrix.laravel }}-php-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: |
|
||||
@ -125,12 +125,7 @@ jobs:
|
||||
- name: Migrate Database
|
||||
run: |
|
||||
php artisan migrate:fresh --seed --force && php artisan db:seed --force
|
||||
|
||||
# - name: Prepare JS/CSS assets
|
||||
# run: |
|
||||
# npm i
|
||||
# npm run production
|
||||
|
||||
|
||||
- name: Run Testsuite
|
||||
run: |
|
||||
cat .env
|
||||
@ -140,5 +135,4 @@ jobs:
|
||||
DB_PORT: ${{ job.services.mysql.ports[3306] }}
|
||||
PHP_CS_FIXER_IGNORE_ENV: true
|
||||
CI_NODE_TOTAL: ${{ matrix.ci_node_total }}
|
||||
# Use the index from matrix as an environment variable
|
||||
CI_NODE_INDEX: ${{ matrix.ci_node_index }}
|
@ -1 +1 @@
|
||||
5.5.58
|
||||
5.5.59
|
@ -67,7 +67,6 @@ class AccountController extends BaseController
|
||||
* tags={"signup"},
|
||||
* summary="Attempts a new account signup",
|
||||
* description="Attempts a new account signup and returns a CompanyUser object on success",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
* name="token_name",
|
||||
|
@ -46,7 +46,6 @@ class ActivityController extends BaseController
|
||||
* tags={"actvities"},
|
||||
* summary="Gets a list of actvities",
|
||||
* description="Lists all activities",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -92,6 +91,10 @@ class ActivityController extends BaseController
|
||||
->take($default_activities);
|
||||
|
||||
if ($request->has('react')) {
|
||||
|
||||
if(!auth()->user()->isAdmin())
|
||||
return response()->json(['data' => []], 200);
|
||||
|
||||
$system = ctrans('texts.system');
|
||||
|
||||
$data = $activities->cursor()->map(function ($activity) use ($system) {
|
||||
@ -131,7 +134,6 @@ class ActivityController extends BaseController
|
||||
* tags={"actvities"},
|
||||
* summary="Gets a PDF for the given activity",
|
||||
* description="Gets a PDF for the given activity",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
|
@ -249,7 +249,6 @@ class LoginController extends BaseController
|
||||
* tags={"refresh"},
|
||||
* summary="Refreshes the dataset",
|
||||
* description="Refreshes the dataset",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -127,7 +127,6 @@ class YodleeController extends BaseController
|
||||
* tags={"yodlee"},
|
||||
* summary="Processing webhooks from Yodlee",
|
||||
* description="Notifies the system when a data point can be refreshed",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -15,6 +15,7 @@ use App\Factory\BankIntegrationFactory;
|
||||
use App\Filters\BankIntegrationFilters;
|
||||
use App\Helpers\Bank\Yodlee\Yodlee;
|
||||
use App\Http\Requests\BankIntegration\AdminBankIntegrationRequest;
|
||||
use App\Http\Requests\BankIntegration\BulkBankIntegrationRequest;
|
||||
use App\Http\Requests\BankIntegration\CreateBankIntegrationRequest;
|
||||
use App\Http\Requests\BankIntegration\DestroyBankIntegrationRequest;
|
||||
use App\Http\Requests\BankIntegration\EditBankIntegrationRequest;
|
||||
@ -54,7 +55,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Gets a list of bank_integrations",
|
||||
* description="Lists all bank integrations",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -115,7 +115,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Shows a bank_integration",
|
||||
* description="Displays a bank_integration by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -171,7 +170,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Shows a bank_integration for editing",
|
||||
* description="Displays a bank_integration by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -227,7 +225,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Updates a bank_integration",
|
||||
* description="Handles the updating of a bank_integration by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -286,7 +283,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Gets a new blank bank_integration object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -332,7 +328,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Adds a bank_integration",
|
||||
* description="Adds an bank_integration to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -380,7 +375,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Deletes a bank_integration",
|
||||
* description="Handles the deletion of a bank_integration by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -434,7 +428,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Performs bulk actions on an array of bank_integrations",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -473,21 +466,16 @@ class BankIntegrationController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkBankIntegrationRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
|
||||
if(!in_array($action, ['archive', 'restore', 'delete']))
|
||||
return response()->json(['message' => 'Unsupported action.'], 400);
|
||||
|
||||
$ids = request()->input('ids');
|
||||
|
||||
$bank_integrations = BankIntegration::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||
|
||||
$bank_integrations->each(function ($bank_integration, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $bank_integration)) {
|
||||
$this->bank_integration_repo->{$action}($bank_integration);
|
||||
}
|
||||
$this->bank_integration_repo->{$action}($bank_integration);
|
||||
});
|
||||
|
||||
/* Need to understand which permission are required for the given bulk action ie. view / edit */
|
||||
@ -507,7 +495,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Gets the list of accounts from the remote server",
|
||||
* description="Adds an bank_integration to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -599,7 +586,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Removes an account from the integration",
|
||||
* description="Removes an account from the integration",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -633,7 +619,7 @@ class BankIntegrationController extends BaseController
|
||||
if(!$bank_account_id)
|
||||
return response()->json(['message' => 'Not yet authenticated with Bank Integration service'], 400);
|
||||
|
||||
$bi = BankIntegration::withTrashed()->where('bank_account_id', $acc_id)->where('company_id', auth()->user()->company()->id)->firstOrFail();
|
||||
$bi = BankIntegration::withTrashed()->where('bank_account_id', $acc_id)->company()->firstOrFail();
|
||||
|
||||
$yodlee = new Yodlee($bank_account_id);
|
||||
$res = $yodlee->deleteAccount($acc_id);
|
||||
@ -657,7 +643,6 @@ class BankIntegrationController extends BaseController
|
||||
* tags={"bank_integrations"},
|
||||
* summary="Retrieve transactions for a account",
|
||||
* description="Retrieve transactions for a account",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -15,6 +15,7 @@ use App\Factory\BankTransactionFactory;
|
||||
use App\Filters\BankTransactionFilters;
|
||||
use App\Helpers\Bank\Yodlee\Yodlee;
|
||||
use App\Http\Requests\BankTransaction\AdminBankTransactionRequest;
|
||||
use App\Http\Requests\BankTransaction\BulkBankTransactionRequest;
|
||||
use App\Http\Requests\BankTransaction\CreateBankTransactionRequest;
|
||||
use App\Http\Requests\BankTransaction\DestroyBankTransactionRequest;
|
||||
use App\Http\Requests\BankTransaction\EditBankTransactionRequest;
|
||||
@ -58,7 +59,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Gets a list of bank_transactions",
|
||||
* description="Lists all bank integrations",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -119,7 +119,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Shows a bank_transaction",
|
||||
* description="Displays a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -175,7 +174,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Shows a bank_transaction for editing",
|
||||
* description="Displays a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -231,7 +229,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Updates a bank_transaction",
|
||||
* description="Handles the updating of a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -290,7 +287,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Gets a new blank bank_transaction object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -336,7 +332,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Adds a bank_transaction",
|
||||
* description="Adds an bank_transaction to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -384,7 +379,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Deletes a bank_transaction",
|
||||
* description="Handles the deletion of a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -438,7 +432,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Performs bulk actions on an array of bank_transations",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -477,12 +470,9 @@ class BankTransactionController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkBankTransactionRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
|
||||
if(!in_array($action, ['archive', 'restore', 'delete', 'convert_matched']))
|
||||
return response()->json(['message' => 'Unsupported action.'], 400);
|
||||
$action = $request->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
|
||||
@ -490,19 +480,14 @@ class BankTransactionController extends BaseController
|
||||
|
||||
if($action == 'convert_matched') //catch this action
|
||||
{
|
||||
if(auth()->user()->isAdmin())
|
||||
{
|
||||
$this->bank_transaction_repo->convert_matched($bank_transactions);
|
||||
}
|
||||
else
|
||||
return;
|
||||
|
||||
$this->bank_transaction_repo->convert_matched($bank_transactions);
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
$bank_transactions->each(function ($bank_transaction, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $bank_transaction)) {
|
||||
$this->bank_transaction_repo->{$action}($bank_transaction);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
@ -523,7 +508,6 @@ class BankTransactionController extends BaseController
|
||||
* tags={"bank_transactions"},
|
||||
* summary="Performs match actions on an array of bank_transactions",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -16,6 +16,7 @@ use App\Factory\BankTransactionRuleFactory;
|
||||
use App\Filters\BankTransactionFilters;
|
||||
use App\Filters\BankTransactionRuleFilters;
|
||||
use App\Helpers\Bank\Yodlee\Yodlee;
|
||||
use App\Http\Requests\BankTransactionRule\BulkBankTransactionRuleRequest;
|
||||
use App\Http\Requests\BankTransactionRule\CreateBankTransactionRuleRequest;
|
||||
use App\Http\Requests\BankTransactionRule\DestroyBankTransactionRuleRequest;
|
||||
use App\Http\Requests\BankTransactionRule\EditBankTransactionRuleRequest;
|
||||
@ -61,7 +62,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Gets a list of bank_transaction_rules",
|
||||
* description="Lists all bank transaction rules",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -122,7 +122,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Shows a bank_transaction",
|
||||
* description="Displays a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -178,7 +177,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Shows a bank_transaction for editing",
|
||||
* description="Displays a bank_transaction by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -234,7 +232,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Updates a bank_transaction Rule",
|
||||
* description="Handles the updating of a bank_transaction rule by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -293,7 +290,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Gets a new blank bank_transaction rule object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -339,7 +335,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Adds a bank_transaction rule",
|
||||
* description="Adds an bank_transaction to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -387,7 +382,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Deletes a bank_transaction rule",
|
||||
* description="Handles the deletion of a bank_transaction rule by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -441,7 +435,6 @@ class BankTransactionRuleController extends BaseController
|
||||
* tags={"bank_transaction_rules"},
|
||||
* summary="Performs bulk actions on an array of bank_transation rules",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -480,25 +473,21 @@ class BankTransactionRuleController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkBankTransactionRuleRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
$action = $request->input('action');
|
||||
|
||||
if(!in_array($action, ['archive', 'restore', 'delete']))
|
||||
return response()->json(['message' => 'Unsupported action.'], 400);
|
||||
|
||||
$ids = request()->input('ids');
|
||||
$ids = $request->input('ids');
|
||||
|
||||
$bank_transaction_rules = BankTransactionRule::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||
|
||||
$bank_transaction_rules->each(function ($bank_transaction_rule, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $bank_transaction_rule)) {
|
||||
$this->bank_transaction_repo->{$action}($bank_transaction_rule);
|
||||
}
|
||||
});
|
||||
$bank_transaction_rules = BankTransactionRule::withTrashed()
|
||||
->whereIn('id', $this->transformKeys($ids))
|
||||
->company()
|
||||
->cursor()
|
||||
->each(function ($bank_transaction_rule, $key) use ($action) {
|
||||
$this->bank_transaction_repo->{$action}($bank_transaction_rule);
|
||||
});
|
||||
|
||||
/* Need to understand which permission are required for the given bulk action ie. view / edit */
|
||||
|
||||
return $this->listResponse(BankTransactionRule::withTrashed()->whereIn('id', $this->transformKeys($ids))->company());
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,6 @@ class ChartController extends BaseController
|
||||
* tags={"charts"},
|
||||
* summary="Get chart data",
|
||||
* description="Get chart data",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -16,6 +16,7 @@ use App\Events\Client\ClientWasUpdated;
|
||||
use App\Factory\ClientFactory;
|
||||
use App\Filters\ClientFilters;
|
||||
use App\Http\Requests\Client\AdjustClientLedgerRequest;
|
||||
use App\Http\Requests\Client\BulkClientRequest;
|
||||
use App\Http\Requests\Client\CreateClientRequest;
|
||||
use App\Http\Requests\Client\DestroyClientRequest;
|
||||
use App\Http\Requests\Client\EditClientRequest;
|
||||
@ -79,7 +80,6 @@ class ClientController extends BaseController
|
||||
* description="Lists clients, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the clients, these are handled by the ClientFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -129,7 +129,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -184,7 +183,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -240,7 +238,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -305,7 +302,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -351,7 +347,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -409,7 +404,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -463,7 +457,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Performs bulk actions on an array of clients",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -502,24 +495,22 @@ class ClientController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkClientRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
$clients = Client::withTrashed()->whereIn('id', $this->transformKeys($ids))->cursor();
|
||||
$action = $request->action;
|
||||
|
||||
if (! in_array($action, ['restore', 'archive', 'delete'])) {
|
||||
return response()->json(['message' => 'That action is not available.'], 400);
|
||||
}
|
||||
$clients = Client::withTrashed()
|
||||
->company()
|
||||
->whereIn('id', $request->ids)
|
||||
->cursor()
|
||||
->each(function ($client) use ($action) {
|
||||
if (auth()->user()->can('edit', $client)) {
|
||||
$this->client_repo->{$action}($client);
|
||||
}
|
||||
});
|
||||
|
||||
$clients->each(function ($client, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $client)) {
|
||||
$this->client_repo->{$action}($client);
|
||||
}
|
||||
});
|
||||
|
||||
return $this->listResponse(Client::withTrashed()->whereIn('id', $this->transformKeys($ids)));
|
||||
return $this->listResponse(Client::withTrashed()->company()->whereIn('id', $request->ids));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -537,7 +528,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Uploads a document to a client",
|
||||
* description="Handles the uploading of a document to a client",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -601,7 +591,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Purges a client from the system",
|
||||
* description="Handles purging a client",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -674,7 +663,6 @@ class ClientController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Merges two clients",
|
||||
* description="Handles merging 2 clients",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -77,7 +77,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* description="Lists client_gateway_tokens, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the client_gateway_tokens, these are handled by the ClientGatewayTokenFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -125,7 +124,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -180,7 +178,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -236,7 +233,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -293,7 +289,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -341,7 +336,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -390,7 +384,6 @@ class ClientGatewayTokenController extends BaseController
|
||||
* tags={"client_gateway_tokens"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -47,7 +47,6 @@ class ClientStatementController extends BaseController
|
||||
* tags={"clients"},
|
||||
* summary="Return a PDF of the client statement",
|
||||
* description="Return a PDF of the client statement",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -91,7 +91,6 @@ class CompanyController extends BaseController
|
||||
* description="Lists companies, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the companies, these are handled by the CompanyFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -137,7 +136,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Gets a new blank company object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -183,7 +181,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Adds a company",
|
||||
* description="Adds an company to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -267,7 +264,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Shows an company",
|
||||
* description="Displays an company by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -322,7 +318,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Shows an company for editting",
|
||||
* description="Displays an company by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -377,7 +372,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Updates an company",
|
||||
* description="Handles the updating of an company by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -447,7 +441,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Deletes a company",
|
||||
* description="Handles the deletion of an company by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -551,7 +544,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Uploads a document to a company",
|
||||
* description="Handles the uploading of a document to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -615,7 +607,6 @@ class CompanyController extends BaseController
|
||||
* tags={"companies"},
|
||||
* summary="Sets the company as the default company.",
|
||||
* description="Sets the company as the default company.",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -14,6 +14,7 @@ namespace App\Http\Controllers;
|
||||
use App\DataMapper\FeesAndLimits;
|
||||
use App\Factory\CompanyGatewayFactory;
|
||||
use App\Filters\CompanyGatewayFilters;
|
||||
use App\Http\Requests\CompanyGateway\BulkCompanyGatewayRequest;
|
||||
use App\Http\Requests\CompanyGateway\CreateCompanyGatewayRequest;
|
||||
use App\Http\Requests\CompanyGateway\DestroyCompanyGatewayRequest;
|
||||
use App\Http\Requests\CompanyGateway\EditCompanyGatewayRequest;
|
||||
@ -75,7 +76,6 @@ class CompanyGatewayController extends BaseController
|
||||
* description="Lists company_gateways, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the company_gateways, these are handled by the CompanyGatewayFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -121,7 +121,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Gets a new blank CompanyGateway object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -167,7 +166,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Adds a CompanyGateway",
|
||||
* description="Adds an CompanyGateway to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -232,7 +230,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Shows an CompanyGateway",
|
||||
* description="Displays an CompanyGateway by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -287,7 +284,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Shows an CompanyGateway for editting",
|
||||
* description="Displays an CompanyGateway by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -342,7 +338,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Updates an CompanyGateway",
|
||||
* description="Handles the updating of an CompanyGateway by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -408,7 +403,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Deletes a CompanyGateway",
|
||||
* description="Handles the deletion of an CompanyGateway by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -465,7 +459,6 @@ class CompanyGatewayController extends BaseController
|
||||
* tags={"company_gateways"},
|
||||
* summary="Performs bulk actions on an array of company_gateways",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -504,20 +497,18 @@ class CompanyGatewayController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkCompanyGatewayRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
$action = $request->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
$company_gateways = CompanyGateway::withTrashed()
|
||||
->whereIn('id', $request->ids)
|
||||
->company()
|
||||
->cursor()
|
||||
->each(function ($company_gateway, $key) use ($action) {
|
||||
$this->company_repo->{$action}($company_gateway);
|
||||
});
|
||||
|
||||
$company_gateways = CompanyGateway::withTrashed()->find($this->transformKeys($ids));
|
||||
|
||||
$company_gateways->each(function ($company_gateway, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $company_gateway)) {
|
||||
$this->company_repo->{$action}($company_gateway);
|
||||
}
|
||||
});
|
||||
|
||||
return $this->listResponse(CompanyGateway::withTrashed()->whereIn('id', $this->transformKeys($ids)));
|
||||
return $this->listResponse(CompanyGateway::withTrashed()->company()->whereIn('id', $request->ids));
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,6 @@ class CompanyLedgerController extends BaseController
|
||||
* tags={"company_ledger"},
|
||||
* summary="Gets a list of company_ledger",
|
||||
* description="Lists the company_ledger.",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -65,7 +64,7 @@ class CompanyLedgerController extends BaseController
|
||||
*/
|
||||
public function index(ShowCompanyLedgerRequest $request)
|
||||
{
|
||||
$company_ledger = CompanyLedger::whereCompanyId(auth()->user()->company()->id)->orderBy('id', 'ASC');
|
||||
$company_ledger = CompanyLedger::where('company_id', auth()->user()->company()->id)->orderBy('id', 'ASC');
|
||||
|
||||
return $this->listResponse($company_ledger);
|
||||
}
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Exceptions\ModelNotFoundException;
|
||||
use App\Http\Requests\CompanyUser\UpdateCompanyUserRequest;
|
||||
use App\Models\CompanyUser;
|
||||
use App\Models\User;
|
||||
use App\Transformers\CompanyUserTransformer;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class CompanyUserController extends BaseController
|
||||
@ -83,7 +83,6 @@ class CompanyUserController extends BaseController
|
||||
* tags={"company_user"},
|
||||
* summary="Update a company user record",
|
||||
* description="Attempts to update a company user record. A company user can modify only their settings fields. Full access for Admin users",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -50,7 +50,6 @@ class ConnectedAccountController extends BaseController
|
||||
* tags={"connected_account"},
|
||||
* summary="Connect an oauth user to an existing user",
|
||||
* description="Refreshes the dataset",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -17,6 +17,7 @@ use App\Factory\CloneCreditFactory;
|
||||
use App\Factory\CreditFactory;
|
||||
use App\Filters\CreditFilters;
|
||||
use App\Http\Requests\Credit\ActionCreditRequest;
|
||||
use App\Http\Requests\Credit\BulkCreditRequest;
|
||||
use App\Http\Requests\Credit\CreateCreditRequest;
|
||||
use App\Http\Requests\Credit\DestroyCreditRequest;
|
||||
use App\Http\Requests\Credit\EditCreditRequest;
|
||||
@ -78,7 +79,6 @@ class CreditController extends BaseController
|
||||
* description="Lists credits, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the credits, these are handled by the CreditFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -124,7 +124,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Gets a new blank credit object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -170,7 +169,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Adds a credit",
|
||||
* description="Adds an credit to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -231,7 +229,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Shows an credit",
|
||||
* description="Displays an credit by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -286,7 +283,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Shows an credit for editting",
|
||||
* description="Displays an credit by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -342,7 +338,6 @@ class CreditController extends BaseController
|
||||
* tags={"Credits"},
|
||||
* summary="Updates an Credit",
|
||||
* description="Handles the updating of an Credit by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -410,7 +405,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Deletes a credit",
|
||||
* description="Handles the deletion of an credit by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -463,7 +457,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Performs bulk actions on an array of credits",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -502,16 +495,17 @@ class CreditController extends BaseController
|
||||
* ),
|
||||
* )
|
||||
*/
|
||||
public function bulk()
|
||||
public function bulk(BulkCreditRequest $request)
|
||||
{
|
||||
$action = request()->input('action');
|
||||
|
||||
$ids = request()->input('ids');
|
||||
$action = $request->input('action');
|
||||
|
||||
if(Ninja::isHosted() && (stripos($action, 'email') !== false) && !auth()->user()->company()->account->account_sms_verified)
|
||||
return response(['message' => 'Please verify your account to send emails.'], 400);
|
||||
|
||||
$credits = Credit::withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||
$credits = Credit::withTrashed()
|
||||
->whereIn('id', $request->ids)
|
||||
->company()
|
||||
->get();
|
||||
|
||||
if (! $credits) {
|
||||
return response()->json(['message' => ctrans('texts.no_credits_found')]);
|
||||
@ -555,7 +549,7 @@ class CreditController extends BaseController
|
||||
}
|
||||
});
|
||||
|
||||
return $this->listResponse(Credit::withTrashed()->whereIn('id', $this->transformKeys($ids)));
|
||||
return $this->listResponse(Credit::withTrashed()->company()->whereIn('id', $request->ids));
|
||||
}
|
||||
|
||||
public function action(ActionCreditRequest $request, Credit $credit, $action)
|
||||
@ -682,7 +676,6 @@ class CreditController extends BaseController
|
||||
* tags={"credits"},
|
||||
* summary="Uploads a document to a credit",
|
||||
* description="Handles the uploading of a document to a credit",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -59,7 +59,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Gets a list of designs",
|
||||
* description="Lists designs",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -107,7 +106,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Shows a design",
|
||||
* description="Displays a design by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -162,7 +160,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Shows a design for editting",
|
||||
* description="Displays a design by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -218,7 +215,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Updates a design",
|
||||
* description="Handles the updating of a design by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -280,7 +276,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Gets a new blank design object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -326,7 +321,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Adds a design",
|
||||
* description="Adds an design to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -425,7 +419,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Deletes a design",
|
||||
* description="Handles the deletion of a design by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -483,7 +476,6 @@ class DesignController extends BaseController
|
||||
* tags={"designs"},
|
||||
* summary="Performs bulk actions on an array of designs",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -528,7 +520,7 @@ class DesignController extends BaseController
|
||||
|
||||
$ids = request()->input('ids');
|
||||
|
||||
$designs = Design::withTrashed()->find($this->transformKeys($ids));
|
||||
$designs = Design::withTrashed()->company()->whereIn('id', $this->transformKeys($ids));
|
||||
|
||||
$designs->each(function ($design, $key) use ($action) {
|
||||
if (auth()->user()->can('edit', $design)) {
|
||||
@ -536,7 +528,7 @@ class DesignController extends BaseController
|
||||
}
|
||||
});
|
||||
|
||||
return $this->listResponse(Design::withTrashed()->whereIn('id', $this->transformKeys($ids)));
|
||||
return $this->listResponse(Design::withTrashed()->company()->whereIn('id', $this->transformKeys($ids)));
|
||||
}
|
||||
|
||||
public function default(DefaultDesignRequest $request)
|
||||
|
@ -47,7 +47,6 @@ class DocumentController extends BaseController
|
||||
* description="Lists documents, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the documents, these are handled by the DocumentsFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -57,7 +57,6 @@ class EmailController extends BaseController
|
||||
* tags={"emails"},
|
||||
* summary="Sends an email for an entity",
|
||||
* description="Sends an email for an entity",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* description="The template subject and body",
|
||||
|
@ -104,7 +104,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Gets a new blank Expens Category object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
@ -150,7 +149,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Adds a expense category",
|
||||
* description="Adds an expense category to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -198,7 +196,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Shows a Expens Category",
|
||||
* description="Displays an ExpenseCategory by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -252,7 +249,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Shows a Expens Category for editting",
|
||||
* description="Displays a Expens Category by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -307,7 +303,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Updates a tax rate",
|
||||
* description="Handles the updating of a tax rate by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -365,7 +360,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Deletes a ExpenseCategory",
|
||||
* description="Handles the deletion of an ExpenseCategory by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -420,7 +414,6 @@ class ExpenseCategoryController extends BaseController
|
||||
* tags={"expense_categories"},
|
||||
* summary="Performs bulk actions on an array of ExpenseCategorys",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -74,7 +74,6 @@ class ExpenseController extends BaseController
|
||||
* description="Lists expenses, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the expenses, these are handled by the ExpenseFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -122,7 +121,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -177,7 +175,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -233,7 +230,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -298,7 +294,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -344,7 +339,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -393,7 +387,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -447,7 +440,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expenses"},
|
||||
* summary="Performs bulk actions on an array of expenses",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -527,7 +519,6 @@ class ExpenseController extends BaseController
|
||||
* tags={"expense"},
|
||||
* summary="Uploads a document to a expense",
|
||||
* description="Handles the uploading of a document to a expense",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -32,7 +32,6 @@ class ExportController extends BaseController
|
||||
* tags={"export"},
|
||||
* summary="Export data from the system",
|
||||
* description="Export data from the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -64,7 +64,6 @@ class GroupSettingController extends BaseController
|
||||
* description="Lists group_settings, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the group_settings, these are handled by the GroupSettingFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -110,7 +109,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Gets a new blank GroupSetting object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -156,7 +154,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Adds a GroupSetting",
|
||||
* description="Adds an GroupSetting to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -209,7 +206,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Shows an GroupSetting",
|
||||
* description="Displays an GroupSetting by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -264,7 +260,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Shows an GroupSetting for editting",
|
||||
* description="Displays an GroupSetting by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -319,7 +314,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Updates an GroupSetting",
|
||||
* description="Handles the updating of an GroupSetting by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -383,7 +377,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Deletes a GroupSetting",
|
||||
* description="Handles the deletion of an GroupSetting by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -436,7 +429,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Performs bulk actions on an array of group_settings",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -516,7 +508,6 @@ class GroupSettingController extends BaseController
|
||||
* tags={"group_settings"},
|
||||
* summary="Uploads a document to a group setting",
|
||||
* description="Handles the uploading of a document to a group setting",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -35,7 +35,6 @@ class ImportController extends Controller
|
||||
* tags={"imports"},
|
||||
* summary="Pre Import checks - returns a reference to the job and the headers of the CSV",
|
||||
* description="Pre Import checks - returns a reference to the job and the headers of the CSV",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -39,7 +39,6 @@ class ImportJsonController extends BaseController
|
||||
* tags={"import"},
|
||||
* summary="Import data from the system",
|
||||
* description="Import data from the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -33,7 +33,6 @@ class AppleController extends BaseController
|
||||
* tags={"postmark"},
|
||||
* summary="Processing webhooks from Apple for in app purchases",
|
||||
* description="Adds an credit to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -73,7 +72,6 @@ class AppleController extends BaseController
|
||||
* tags={"postmark"},
|
||||
* summary="Processing event webhooks from Apple for in purchase / subscription status update",
|
||||
* description="Adds an credit to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -98,7 +98,6 @@ class InvoiceController extends BaseController
|
||||
* description="Lists invoices, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the invoices, these are handled by the InvoiceFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -145,7 +144,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Gets a new blank invoice object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -191,7 +189,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Adds a invoice",
|
||||
* description="Adds an invoice to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -260,7 +257,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Shows an invoice",
|
||||
* description="Displays an invoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -315,7 +311,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Shows an invoice for editting",
|
||||
* description="Displays an invoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -371,7 +366,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Updates an invoice",
|
||||
* description="Handles the updating of an invoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -456,7 +450,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Deletes a invoice",
|
||||
* description="Handles the deletion of an invoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -509,7 +502,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Performs bulk actions on an array of invoices",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -637,7 +629,6 @@ class InvoiceController extends BaseController
|
||||
* - archive
|
||||
* - delete
|
||||
* - email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -826,7 +817,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Download a specific invoice by invitation key",
|
||||
* description="Downloads a specific invoice",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -894,7 +884,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Download a specific invoice delivery notes",
|
||||
* description="Downloads a specific invoice delivery notes",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -955,7 +944,6 @@ class InvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Uploads a document to a invoice",
|
||||
* description="Handles the uploading of a document to a invoice",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -36,7 +36,6 @@ class LicenseController extends BaseController
|
||||
* tags={"claim_license"},
|
||||
* summary="Attempts to claim a white label license",
|
||||
* description="Attempts to claim a white label license",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
* name="license_key",
|
||||
|
@ -31,7 +31,6 @@ class LogoutController extends BaseController
|
||||
* tags={"logout"},
|
||||
* summary="Gets a list of logout",
|
||||
* description="Lists all logout",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -46,7 +46,6 @@ class MigrationController extends BaseController
|
||||
* tags={"migration"},
|
||||
* summary="Attempts to purge a company record and all its child records",
|
||||
* description="Attempts to purge a company record and all its child records",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -137,7 +136,6 @@ class MigrationController extends BaseController
|
||||
* tags={"migration"},
|
||||
* summary="Attempts to purge a companies child records but save the company record and its settings",
|
||||
* description="Attempts to purge a companies child records but save the company record and its settings",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -221,7 +219,6 @@ class MigrationController extends BaseController
|
||||
* tags={"migration"},
|
||||
* summary="Starts the migration from previous version of Invoice Ninja",
|
||||
* description="Starts the migration from previous version of Invoice Ninja",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Password"),
|
||||
|
@ -43,7 +43,6 @@ class OneTimeTokenController extends BaseController
|
||||
* tags={"one_time_token"},
|
||||
* summary="Attempts to create a one time token",
|
||||
* description="Attempts to create a one time token",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -80,7 +80,6 @@ class PaymentController extends BaseController
|
||||
* description="Lists payments, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the payments, these are handled by the PaymentFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -127,7 +126,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Gets a new blank Payment object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -174,7 +172,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Adds a Payment",
|
||||
* description="Adds an Payment to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -226,7 +223,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Shows an Payment",
|
||||
* description="Displays an Payment by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -282,7 +278,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Shows an Payment for editting",
|
||||
* description="Displays an Payment by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -338,7 +333,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Updates an Payment",
|
||||
* description="Handles the updating of an Payment by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -403,7 +397,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Deletes a Payment",
|
||||
* description="Handles the deletion of an Payment by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -457,7 +450,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Performs bulk actions on an array of payments",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -535,7 +527,6 @@ class PaymentController extends BaseController
|
||||
- archive
|
||||
- delete
|
||||
- email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -648,7 +639,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Adds a Refund",
|
||||
* description="Adds an Refund to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -702,7 +692,6 @@ class PaymentController extends BaseController
|
||||
* tags={"payments"},
|
||||
* summary="Uploads a document to a payment",
|
||||
* description="Handles the uploading of a document to a payment",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -48,7 +48,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Gets a list of payment terms",
|
||||
* description="Lists payment terms",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -96,7 +95,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Gets a new blank PaymentTerm object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -143,7 +141,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Adds a Payment",
|
||||
* description="Adds a Payment Term to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -189,7 +186,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Shows a Payment Term",
|
||||
* description="Displays an Payment Term by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -240,7 +236,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Shows an Payment Term for editting",
|
||||
* description="Displays an Payment Term by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -299,7 +294,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Updates a Payment Term",
|
||||
* description="Handles the updating of an Payment Termby id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -359,7 +353,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_termss"},
|
||||
* summary="Deletes a Payment Term",
|
||||
* description="Handles the deletion of an PaymentTerm by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -413,7 +406,6 @@ class PaymentTermController extends BaseController
|
||||
* tags={"payment_terms"},
|
||||
* summary="Performs bulk actions on an array of payment terms",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -28,7 +28,6 @@ class PingController extends BaseController
|
||||
* tags={"ping"},
|
||||
* summary="Attempts to ping the API",
|
||||
* description="Attempts to ping the API",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
@ -60,7 +59,6 @@ class PingController extends BaseController
|
||||
* tags={"health_check"},
|
||||
* summary="Attempts to get a health check from the API",
|
||||
* description="Attempts to get a health check from the API",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -47,7 +47,6 @@ class PostMarkController extends BaseController
|
||||
* tags={"postmark"},
|
||||
* summary="Processing webhooks from PostMark",
|
||||
* description="Adds an credit to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -68,7 +68,6 @@ class PreviewController extends BaseController
|
||||
* tags={"preview"},
|
||||
* summary="Returns a pdf preview",
|
||||
* description="Returns a pdf preview.",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -79,7 +79,6 @@ class PreviewPurchaseOrderController extends BaseController
|
||||
* tags={"preview"},
|
||||
* summary="Returns a pdf preview for purchase order",
|
||||
* description="Returns a pdf preview for purchase order.",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -60,7 +60,6 @@ class ProductController extends BaseController
|
||||
* description="Lists products, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the products, these are handled by the ProductFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -107,7 +106,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Gets a new blank Product object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -153,7 +151,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Adds a Product",
|
||||
* description="Adds an Product to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -199,7 +196,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Shows an Product",
|
||||
* description="Displays an Product by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -253,7 +249,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Shows an Product for editting",
|
||||
* description="Displays an Product by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -308,7 +303,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Updates an Product",
|
||||
* description="Handles the updating of an Product by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -370,7 +364,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Deletes a Product",
|
||||
* description="Handles the deletion of an Product by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -424,7 +417,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Performs bulk actions on an array of products",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -496,7 +488,6 @@ class ProductController extends BaseController
|
||||
* tags={"products"},
|
||||
* summary="Uploads a document to a product",
|
||||
* description="Handles the uploading of a document to a product",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -63,7 +63,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Gets a list of projects",
|
||||
* description="Lists projects",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -111,7 +110,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Shows a project",
|
||||
* description="Displays a project by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -166,7 +164,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Shows a project for editting",
|
||||
* description="Displays a project by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -222,7 +219,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Updates a project",
|
||||
* description="Handles the updating of a project by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -289,7 +285,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Gets a new blank project object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -335,7 +330,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Adds a project",
|
||||
* description="Adds an project to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -393,7 +387,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Deletes a project",
|
||||
* description="Handles the deletion of a project by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -450,7 +443,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Performs bulk actions on an array of projects",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -521,7 +513,6 @@ class ProjectController extends BaseController
|
||||
* tags={"projects"},
|
||||
* summary="Uploads a document to a project",
|
||||
* description="Handles the uploading of a document to a project",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -71,7 +71,6 @@ class PurchaseOrderController extends BaseController
|
||||
* description="Lists purchase orders, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the purchase orders, these are handled by the PurchaseOrderFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -116,7 +115,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Gets a new blank purchase order object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -161,7 +159,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purhcase_orders"},
|
||||
* summary="Adds a purchase order",
|
||||
* description="Adds an purchase order to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -215,7 +212,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Shows an purcase orders",
|
||||
* description="Displays an purchase order by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -269,7 +265,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Shows an purchase order for editting",
|
||||
* description="Displays an purchase order by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -324,7 +319,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Updates an purchase order",
|
||||
* description="Handles the updating of an purchase order by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -391,7 +385,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Deletes a purchase order",
|
||||
* description="Handles the deletion of an purchase orders by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -444,7 +437,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Performs bulk actions on an array of purchase_orders",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -557,7 +549,6 @@ class PurchaseOrderController extends BaseController
|
||||
* - archive
|
||||
* - delete
|
||||
* - email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -723,7 +714,6 @@ class PurchaseOrderController extends BaseController
|
||||
* tags={"purchase_orders"},
|
||||
* summary="Uploads a document to a purchase_orders",
|
||||
* description="Handles the uploading of a document to a purchase_order",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -95,7 +95,6 @@ class QuoteController extends BaseController
|
||||
* description="Lists quotes, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the quotes, these are handled by the QuoteFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -140,7 +139,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Gets a new blank Quote object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -187,7 +185,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Adds a Quote",
|
||||
* description="Adds an Quote to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -243,7 +240,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Shows an Quote",
|
||||
* description="Displays an Quote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -299,7 +295,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Shows an Quote for editting",
|
||||
* description="Displays an Quote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -355,7 +350,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Updates an Quote",
|
||||
* description="Handles the updating of an Quote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -424,7 +418,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Deletes a Quote",
|
||||
* description="Handles the deletion of an Quote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -478,7 +471,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Performs bulk actions on an array of quotes",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -635,7 +627,6 @@ class QuoteController extends BaseController
|
||||
- convert
|
||||
- convert_to_invoice
|
||||
- email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -822,7 +813,6 @@ class QuoteController extends BaseController
|
||||
* tags={"quotes"},
|
||||
* summary="Uploads a document to a quote",
|
||||
* description="Handles the uploading of a document to a quote",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -74,7 +74,6 @@ class RecurringExpenseController extends BaseController
|
||||
* description="Lists recurring_expenses, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the recurring_expenses, these are handled by the RecurringExpenseFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -122,7 +121,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -177,7 +175,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -233,7 +230,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -299,7 +295,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -345,7 +340,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -395,7 +389,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -449,7 +442,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expenses"},
|
||||
* summary="Performs bulk actions on an array of recurring_expenses",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -567,7 +559,6 @@ class RecurringExpenseController extends BaseController
|
||||
* tags={"recurring_expense"},
|
||||
* summary="Uploads a document to a recurring_expense",
|
||||
* description="Handles the uploading of a document to a recurring_expense",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -81,7 +81,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* description="Lists recurring_invoices, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the recurring_invoices, these are handled by the RecurringInvoiceFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -128,7 +127,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Gets a new blank RecurringInvoice object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -175,7 +173,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Adds a RecurringInvoice",
|
||||
* description="Adds an RecurringInvoice to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -228,7 +225,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Shows an RecurringInvoice",
|
||||
* description="Displays an RecurringInvoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -284,7 +280,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Shows an RecurringInvoice for editting",
|
||||
* description="Displays an RecurringInvoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -340,7 +335,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Updates an RecurringInvoice",
|
||||
* description="Handles the updating of an RecurringInvoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -410,7 +404,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Deletes a RecurringInvoice",
|
||||
* description="Handles the deletion of an RecurringInvoice by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -459,7 +452,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"invoices"},
|
||||
* summary="Download a specific invoice by invitation key",
|
||||
* description="Downloads a specific invoice",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -521,7 +513,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Performs bulk actions on an array of recurring_invoices",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -599,7 +590,6 @@ class RecurringInvoiceController extends BaseController
|
||||
- archive
|
||||
- delete
|
||||
- email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -727,7 +717,6 @@ class RecurringInvoiceController extends BaseController
|
||||
* tags={"recurring_invoices"},
|
||||
* summary="Uploads a document to a recurring_invoice",
|
||||
* description="Handles the uploading of a document to a recurring_invoice",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -77,7 +77,6 @@ class RecurringQuoteController extends BaseController
|
||||
* description="Lists recurring_quotes, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the recurring_quotes, these are handled by the RecurringQuoteFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -123,7 +122,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Gets a new blank RecurringQuote object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -169,7 +167,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Adds a RecurringQuote",
|
||||
* description="Adds an RecurringQuote to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -216,7 +213,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Shows an RecurringQuote",
|
||||
* description="Displays an RecurringQuote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -272,7 +268,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Shows an RecurringQuote for editting",
|
||||
* description="Displays an RecurringQuote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -328,7 +323,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Updates an RecurringQuote",
|
||||
* description="Handles the updating of an RecurringQuote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -391,7 +385,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Deletes a RecurringQuote",
|
||||
* description="Handles the deletion of an RecurringQuote by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -445,7 +438,6 @@ class RecurringQuoteController extends BaseController
|
||||
* tags={"recurring_quotes"},
|
||||
* summary="Performs bulk actions on an array of recurring_quotes",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -524,7 +516,6 @@ class RecurringQuoteController extends BaseController
|
||||
- archive
|
||||
- delete
|
||||
- email",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -36,7 +36,6 @@ class ClientContactReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Contact reports",
|
||||
* description="Export contact reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -37,7 +37,6 @@ class ClientReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Client reports",
|
||||
* description="Export client reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class CreditReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Credit reports",
|
||||
* description="Export credit reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class DocumentReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Document reports",
|
||||
* description="Export document reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -37,7 +37,6 @@ class ExpenseReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Expense reports",
|
||||
* description="Export expense reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class InvoiceItemReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Invoice item reports",
|
||||
* description="Export invoice item reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class InvoiceReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Invoice reports",
|
||||
* description="Export invoice reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -37,7 +37,6 @@ class PaymentReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Payment reports",
|
||||
* description="Export payment reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -37,7 +37,6 @@ class ProductReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Product reports",
|
||||
* description="Export product reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -39,7 +39,6 @@ class ProductSalesReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Product Salesreports",
|
||||
* description="Export product sales reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -38,7 +38,6 @@ class ProfitAndLossController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Profit loss reports",
|
||||
* description="Profit loss report",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class QuoteItemReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Quote item reports",
|
||||
* description="Export Quote item reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class QuoteReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Quote reports",
|
||||
* description="Export quote reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class RecurringInvoiceReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Recurring Invoice reports",
|
||||
* description="Export recurring invoice reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -36,7 +36,6 @@ class TaskReportController extends BaseController
|
||||
* tags={"reports"},
|
||||
* summary="Task reports",
|
||||
* description="Export task reports",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* required=true,
|
||||
|
@ -46,7 +46,6 @@ class SelfUpdateController extends BaseController
|
||||
* tags={"update"},
|
||||
* summary="Performs a system update",
|
||||
* description="Performs a system update",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Password"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
|
@ -36,7 +36,6 @@ class StaticController extends BaseController
|
||||
* summary="Gets a list of statics",
|
||||
* description="Lists all statics",
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -57,7 +57,6 @@ class SubscriptionController extends BaseController
|
||||
* summary="Gets a list of subscriptions",
|
||||
* description="Lists subscriptions.",
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -102,7 +101,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Gets a new blank subscriptions object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -148,7 +146,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Adds a subscriptions",
|
||||
* description="Adds an subscriptions to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -197,7 +194,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Shows an subscriptions",
|
||||
* description="Displays an subscriptions by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -252,7 +248,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Shows an subscriptions for editting",
|
||||
* description="Displays an subscriptions by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -308,7 +303,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Updates an subscriptions",
|
||||
* description="Handles the updating of an subscriptions by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -372,7 +366,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Deletes a subscriptions",
|
||||
* description="Handles the deletion of an subscriptions by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -426,7 +419,6 @@ class SubscriptionController extends BaseController
|
||||
* tags={"subscriptions"},
|
||||
* summary="Performs bulk actions on an array of subscriptions",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -18,7 +18,6 @@ class SendingController extends Controller
|
||||
* tags={"support"},
|
||||
* summary="Sends a support message to Invoice Ninja team",
|
||||
* description="Allows a user to send a support message to the Invoice Ninja Team",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
|
@ -33,7 +33,6 @@ class SystemLogController extends BaseController
|
||||
* description="Lists system logs, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the system logs, these are handled by the SystemLogFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -113,7 +112,6 @@ class SystemLogController extends BaseController
|
||||
* tags={"system_logs"},
|
||||
* summary="Shows a system_logs",
|
||||
* description="Displays a system_logs by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -75,7 +75,6 @@ class TaskController extends BaseController
|
||||
* description="Lists tasks, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the tasks, these are handled by the TaskFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -123,7 +122,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -178,7 +176,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -234,7 +231,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -304,7 +300,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -350,7 +345,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -400,7 +394,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -455,7 +448,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Performs bulk actions on an array of tasks",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -535,7 +527,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Uploads a document to a task",
|
||||
* description="Handles the uploading of a document to a task",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -598,7 +589,6 @@ class TaskController extends BaseController
|
||||
* tags={"tasks"},
|
||||
* summary="Sort tasks on KanBan",
|
||||
* description="Sorts tasks after drag and drop on the KanBan.",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -47,7 +47,6 @@ class TaskSchedulerController extends BaseController
|
||||
* tags={"task_schedulers"},
|
||||
* summary="Task Scheduler Index",
|
||||
* description="Get all schedulers with associated jobs",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
@ -84,7 +83,6 @@ class TaskSchedulerController extends BaseController
|
||||
* tags={"task_schedulers"},
|
||||
* summary="Gets a new blank scheduler object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -163,7 +161,6 @@ class TaskSchedulerController extends BaseController
|
||||
* tags={"task_schedulers"},
|
||||
* summary="Show given scheduler",
|
||||
* description="Get scheduler with associated job",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
@ -251,7 +248,6 @@ class TaskSchedulerController extends BaseController
|
||||
* tags={"task_schedulers"},
|
||||
* summary="Destroy Task Scheduler",
|
||||
* description="Destroy task scheduler and its associated job",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
@ -298,7 +294,6 @@ class TaskSchedulerController extends BaseController
|
||||
* tags={"task_schedulers"},
|
||||
* summary="Performs bulk actions on an array of task_schedulers",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -49,7 +49,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Gets a list of task statuses",
|
||||
* description="Lists task statuses",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -97,7 +96,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Gets a new blank TaskStatus object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -144,7 +142,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Adds a TaskStatus",
|
||||
* description="Adds a TaskStatusto the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -193,7 +190,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Shows a TaskStatus Term",
|
||||
* description="Displays an TaskStatusby id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -244,7 +240,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Shows an TaskStatusfor editting",
|
||||
* description="Displays an TaskStatusby id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -303,7 +298,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Updates a TaskStatus Term",
|
||||
* description="Handles the updating of an TaskStatus Termby id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -363,7 +357,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_statuss"},
|
||||
* summary="Deletes a TaskStatus Term",
|
||||
* description="Handles the deletion of an TaskStatus by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -417,7 +410,6 @@ class TaskStatusController extends BaseController
|
||||
* tags={"task_status"},
|
||||
* summary="Performs bulk actions on an array of task statuses",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -101,7 +101,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Gets a new blank Tax Rate object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
@ -161,7 +160,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Shows a Tax Rate",
|
||||
* description="Displays an TaxRate by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -215,7 +213,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Shows a Tax Rate for editting",
|
||||
* description="Displays a Tax Rate by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -270,7 +267,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Updates a tax rate",
|
||||
* description="Handles the updating of a tax rate by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -328,7 +324,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Deletes a TaxRate",
|
||||
* description="Handles the deletion of an TaxRate by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(
|
||||
@ -383,7 +378,6 @@ class TaxRateController extends BaseController
|
||||
* tags={"tax_rates"},
|
||||
* summary="Performs bulk actions on an array of TaxRates",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -42,7 +42,6 @@ class TemplateController extends BaseController
|
||||
* tags={"templates"},
|
||||
* summary="Returns a entity template with the template variables replaced with the Entities",
|
||||
* description="Returns a entity template with the template variables replaced with the Entities",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\RequestBody(
|
||||
* description="The template subject and body",
|
||||
|
@ -64,7 +64,6 @@ class TokenController extends BaseController
|
||||
* description="Lists company tokens.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the tokens, these are handled by the TokenFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -114,7 +113,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Shows a token",
|
||||
* description="Displays a token by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -169,7 +167,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Shows a token for editting",
|
||||
* description="Displays a token by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -227,7 +224,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Updates a token",
|
||||
* description="Handles the updating of a token by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -290,7 +286,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Gets a new blank token object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -336,7 +331,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Adds a token",
|
||||
* description="Adds an token to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -385,7 +379,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Deletes a token",
|
||||
* description="Handles the deletion of a token by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -442,7 +435,6 @@ class TokenController extends BaseController
|
||||
* tags={"tokens"},
|
||||
* summary="Performs bulk actions on an array of tokens",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -86,7 +86,6 @@ class UserController extends BaseController
|
||||
* description="Lists users, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the users, these are handled by the UserFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -131,7 +130,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Gets a new blank User object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -177,7 +175,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Adds a User",
|
||||
* description="Adds an User to the system",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -234,7 +231,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Shows an User",
|
||||
* description="Displays an User by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -289,7 +285,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Shows an User for editting",
|
||||
* description="Displays an User by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -339,7 +334,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Updates an User",
|
||||
* description="Handles the updating of an User by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -420,7 +414,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Deletes a User",
|
||||
* description="Handles the deletion of an User by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -492,7 +485,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Performs bulk actions on an array of users",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -569,7 +561,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Detach an existing user to a company",
|
||||
* description="Detach an existing user from a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -644,7 +635,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Reconfirm an existing user to a company",
|
||||
* description="Reconfirm an existing user from a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -701,7 +691,6 @@ class UserController extends BaseController
|
||||
* tags={"users"},
|
||||
* summary="Reconfirm an existing user to a company",
|
||||
* description="Reconfirm an existing user from a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -73,7 +73,6 @@ class VendorController extends BaseController
|
||||
* description="Lists vendors, search and filters allow fine grained lists to be generated.
|
||||
|
||||
Query parameters can be added to performed more fine grained filtering of the vendors, these are handled by the VendorFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -121,7 +120,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Shows a client",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -176,7 +174,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Shows a client for editting",
|
||||
* description="Displays a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -232,7 +229,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Updates a client",
|
||||
* description="Handles the updating of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -297,7 +293,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Gets a new blank client object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -343,7 +338,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Adds a client",
|
||||
* description="Adds an client to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -396,7 +390,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Deletes a client",
|
||||
* description="Handles the deletion of a client by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -451,7 +444,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Performs bulk actions on an array of vendors",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
@ -531,7 +523,6 @@ class VendorController extends BaseController
|
||||
* tags={"vendors"},
|
||||
* summary="Uploads a document to a vendor",
|
||||
* description="Handles the uploading of a document to a vendor",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
|
@ -31,7 +31,6 @@ class WebCronController extends Controller
|
||||
* tags={"webcron"},
|
||||
* summary="Executes the task scheduler via a webcron service",
|
||||
* description="Executes the task scheduler via a webcron service",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
|
@ -53,7 +53,6 @@ class WebhookController extends BaseController
|
||||
* description="Lists Webhooks, search and filters allow fine grained lists to be generated.
|
||||
*
|
||||
* Query parameters can be added to performed more fine grained filtering of the Webhooks, these are handled by the WebhookFilters class which defines the methods available",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -101,7 +100,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Shows a Webhook",
|
||||
* description="Displays a Webhook by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -156,7 +154,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Shows a Webhook for editting",
|
||||
* description="Displays a Webhook by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -212,7 +209,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Updates a Webhook",
|
||||
* description="Handles the updating of a Webhook by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -274,7 +270,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Gets a new blank Webhook object",
|
||||
* description="Returns a blank object with default values",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -322,7 +317,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Adds a Webhook",
|
||||
* description="Adds an Webhook to a company",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -386,7 +380,6 @@ class WebhookController extends BaseController
|
||||
* tags={"Webhooks"},
|
||||
* summary="Deletes a Webhook",
|
||||
* description="Handles the deletion of a Webhook by id",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/include"),
|
||||
@ -441,7 +434,6 @@ class WebhookController extends BaseController
|
||||
* tags={"webhooks"},
|
||||
* summary="Performs bulk actions on an array of Webhooks",
|
||||
* description="",
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Secret"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Api-Token"),
|
||||
* @OA\Parameter(ref="#/components/parameters/X-Requested-With"),
|
||||
* @OA\Parameter(ref="#/components/parameters/index"),
|
||||
|
@ -23,6 +23,7 @@ class ShowActivityRequest extends Request
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return auth()->user()->can('view', Activity::class);
|
||||
return auth()->user()->isAdmin();
|
||||
// return auth()->user()->can('view', Activity::class);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\BankIntegration;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
|
||||
class BulkBankIntegrationRequest extends Request
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return auth()->user()->isAdmin();
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
|
||||
return [
|
||||
'ids' => 'required|bail|array',
|
||||
'action' => 'in:archive,restore,delete'
|
||||
];
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\BankTransaction;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
|
||||
class BulkBankTransactionRequest extends Request
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return auth()->user()->isAdmin();
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
|
||||
return [
|
||||
'ids' => 'required|bail|array',
|
||||
'action' => 'in:archive,restore,delete,convert_matched'
|
||||
];
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\BankTransactionRule;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
|
||||
class BulkBankTransactionRuleRequest extends Request
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return auth()->user()->isAdmin();
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
|
||||
return [
|
||||
'ids' => 'required|bail|array',
|
||||
'action' => 'in:archive,restore,delete'
|
||||
];
|
||||
|
||||
}
|
||||
}
|
52
app/Http/Requests/Client/BulkClientRequest.php
Normal file
52
app/Http/Requests/Client/BulkClientRequest.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\Client;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
use App\Models\Client;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
||||
class BulkClientRequest extends Request
|
||||
{
|
||||
use MakesHash;
|
||||
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
|
||||
return [
|
||||
'ids' => ['required','bail','array',Rule::exists('clients','id')->where('company_id', auth()->user()->company()->id)],
|
||||
'action' => 'in:archive,restore,delete'
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
public function prepareForValidation()
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
if(isset($input['ids']))
|
||||
$input['ids'] = $this->transformKeys($input['ids']);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\CompanyGateway;
|
||||
|
||||
use App\Http\Requests\Request;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
||||
class BulkCompanyGatewayRequest extends Request
|
||||
{
|
||||
use MakesHash;
|
||||
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return auth()->user()->isAdmin();
|
||||
}
|
||||
|
||||
public function rules()
|
||||
{
|
||||
|
||||
return [
|
||||
'ids' => ['required','bail','array',Rule::exists('company_gateways','id')->where('company_id', auth()->user()->company()->id)],
|
||||
'action' => 'required|bail|in:archive,restore,delete'
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
public function prepareForValidation()
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
if(isset($input['ids']))
|
||||
$input['ids'] = $this->transformKeys($input['ids']);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
54
app/Http/Requests/Credit/BulkCreditRequest.php
Normal file
54
app/Http/Requests/Credit/BulkCreditRequest.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Http\Requests\Credit;
|
||||
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
||||
class BulkCreditRequest extends FormRequest
|
||||
{
|
||||
use MakesHash;
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize() : bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'ids' => ['required','bail','array',Rule::exists('credits','id')->where('company_id', auth()->user()->company()->id)],
|
||||
'action' => 'required|bail|in:archive,restore,delete,email,bulk_download,bulk_print,mark_paid,clone_to_credit,history,mark_sent,download,send_email'
|
||||
];
|
||||
}
|
||||
|
||||
public function prepareForValidation()
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
if(isset($input['ids']))
|
||||
$input['ids'] = $this->transformKeys($input['ids']);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
|
||||
}
|
@ -154,7 +154,7 @@ class AdjustProductInventory implements ShouldQueue
|
||||
// {
|
||||
|
||||
// $nmo->to_user = $cu->user;
|
||||
// (new NinjaMailerJob($nmo))->handle();
|
||||
// NinjaMailerJob::dispatch($nmo);
|
||||
|
||||
// }
|
||||
|
||||
@ -162,7 +162,7 @@ class AdjustProductInventory implements ShouldQueue
|
||||
|
||||
$nmo->to_user = $this->company->owner();
|
||||
|
||||
(new NinjaMailerJob($nmo))->handle();
|
||||
NinjaMailerJob::dispatch($nmo);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Exceptions\ModelNotFoundException;
|
||||
use App\Jobs\Mail\NinjaMailerJob;
|
||||
use App\Jobs\Mail\NinjaMailerObject;
|
||||
use App\Mail\Ninja\EmailQuotaExceeded;
|
||||
@ -23,7 +22,7 @@ use App\Utils\Ninja;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Carbon\Carbon;
|
||||
use DateTime;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundException;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Laracasts\Presenter\PresentableTrait;
|
||||
@ -501,7 +500,8 @@ class Account extends BaseModel
|
||||
}
|
||||
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
->where('id', $this->decodePrimaryKey($value))
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
public function getTrialDays()
|
||||
|
@ -12,6 +12,7 @@
|
||||
namespace App\Models;
|
||||
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundException;
|
||||
|
||||
class Activity extends StaticModel
|
||||
{
|
||||
@ -374,17 +375,18 @@ class Activity extends StaticModel
|
||||
return $this->belongsTo(Company::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
if (is_numeric($value)) {
|
||||
throw new ModelNotFoundException("Record with value {$value} not found");
|
||||
}
|
||||
// /**
|
||||
// * @return mixed
|
||||
// */
|
||||
// public function resolveRouteBinding($value, $field = null)
|
||||
// {
|
||||
// if (is_numeric($value)) {
|
||||
// throw new ModelNotFoundException("Record with value {$value} not found");
|
||||
// }
|
||||
|
||||
return $this
|
||||
//->withTrashed()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
}
|
||||
// return $this
|
||||
// //->withTrashed()
|
||||
// ->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
// }
|
||||
|
||||
}
|
@ -174,6 +174,7 @@ class BaseModel extends Model
|
||||
|
||||
return $this
|
||||
->withTrashed()
|
||||
->company()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
|
||||
@ -188,7 +189,7 @@ class BaseModel extends Model
|
||||
|
||||
public function numberFormatter()
|
||||
{
|
||||
$number = strlen($this->number) >= 1 ? $this->number : class_basename($this) . "_" . Str::random(5);
|
||||
$number = strlen($this->number) >= 1 ? $this->translate_entity() . "_" . $this->number : class_basename($this) . "_" . Str::random(5);
|
||||
|
||||
$formatted_number = mb_ereg_replace("([^\w\s\d\-_~,;\[\]\(\).])", '', $number);
|
||||
|
||||
|
@ -240,6 +240,7 @@ class ClientContact extends Authenticatable implements HasLocalePreference
|
||||
{
|
||||
return $this
|
||||
->withTrashed()
|
||||
->company()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
|
||||
|
@ -70,16 +70,16 @@ class ClientGatewayToken extends BaseModel
|
||||
return $this->belongsTo(User::class)->withTrashed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the model for a bound value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param null $field
|
||||
* @return Model|null
|
||||
*/
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
// /**
|
||||
// * Retrieve the model for a bound value.
|
||||
// *
|
||||
// * @param mixed $value
|
||||
// * @param null $field
|
||||
// * @return Model|null
|
||||
// */
|
||||
// public function resolveRouteBinding($value, $field = null)
|
||||
// {
|
||||
// return $this
|
||||
// ->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
// }
|
||||
}
|
||||
|
@ -584,7 +584,9 @@ class Company extends BaseModel
|
||||
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
return $this->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
return $this->where('id', $this->decodePrimaryKey($value))
|
||||
->where('account_id', auth()->user()->account_id)
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
public function domain()
|
||||
|
@ -412,12 +412,12 @@ class CompanyGateway extends BaseModel
|
||||
return route('payment_webhook', ['company_key' => $this->company->company_key, 'company_gateway_id' => $this->hashed_id]);
|
||||
}
|
||||
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
// public function resolveRouteBinding($value, $field = null)
|
||||
// {
|
||||
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->withTrashed()->firstOrFail();
|
||||
}
|
||||
// return $this
|
||||
// ->where('id', $this->decodePrimaryKey($value))->withTrashed()->firstOrFail();
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
@ -65,16 +65,4 @@ class GroupSetting extends StaticModel
|
||||
return $this->morphMany(Document::class, 'documentable');
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the model for a bound value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param null $field
|
||||
* @return Model|null
|
||||
*/
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ namespace App\Models;
|
||||
|
||||
use App\Events\Invoice\InvoiceReminderWasEmailed;
|
||||
use App\Events\Invoice\InvoiceWasEmailed;
|
||||
use App\Events\Invoice\InvoiceWasUpdated;
|
||||
use App\Helpers\Invoice\InvoiceSum;
|
||||
use App\Helpers\Invoice\InvoiceSumInclusive;
|
||||
use App\Jobs\Entity\CreateEntityPdf;
|
||||
@ -25,7 +24,6 @@ use App\Services\Ledger\LedgerService;
|
||||
use App\Utils\Ninja;
|
||||
use App\Utils\Traits\Invoice\ActionsInvoice;
|
||||
use App\Utils\Traits\MakesDates;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use App\Utils\Traits\MakesInvoiceValues;
|
||||
use App\Utils\Traits\MakesReminders;
|
||||
use App\Utils\Traits\NumberFormatter;
|
||||
|
@ -292,12 +292,13 @@ class Payment extends BaseModel
|
||||
return new PaymentService($this);
|
||||
}
|
||||
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
return $this
|
||||
->withTrashed()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
|
||||
// public function resolveRouteBinding($value, $field = null)
|
||||
// {
|
||||
// return $this
|
||||
// ->withTrashed()
|
||||
// ->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
// }
|
||||
|
||||
public function refund(array $data) :self
|
||||
{
|
||||
|
@ -11,10 +11,14 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Utils\Traits\MakesHash;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundException;
|
||||
|
||||
class StaticModel extends Model
|
||||
{
|
||||
use MakesHash;
|
||||
|
||||
protected $casts = [
|
||||
'updated_at' => 'timestamp',
|
||||
'created_at' => 'timestamp',
|
||||
@ -37,4 +41,24 @@ class StaticModel extends Model
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the model for a bound value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param null $field
|
||||
* @return Model|null
|
||||
*/
|
||||
public function resolveRouteBinding($value, $field = null)
|
||||
{
|
||||
|
||||
if (is_numeric($value)) {
|
||||
throw new ModelNotFoundException("Record with value {$value} not found");
|
||||
}
|
||||
|
||||
return $this
|
||||
->withTrashed()
|
||||
->company()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
}
|
||||
}
|
||||
|
@ -148,7 +148,9 @@ class SystemLog extends Model
|
||||
}
|
||||
|
||||
return $this
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
->where('id', $this->decodePrimaryKey($value))
|
||||
->company()
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -193,7 +193,6 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
return $truth->getCompany();
|
||||
} elseif (request()->header('X-API-TOKEN')) {
|
||||
$company_token = CompanyToken::with(['company'])->where('token', request()->header('X-API-TOKEN'))->first();
|
||||
|
||||
return $company_token->company;
|
||||
}
|
||||
|
||||
@ -441,7 +440,9 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
{
|
||||
return $this
|
||||
->withTrashed()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
->where('id', $this->decodePrimaryKey($value))
|
||||
->where('account_id', auth()->user()->account_id)
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -145,7 +145,9 @@ class VendorContact extends Authenticatable implements HasLocalePreference
|
||||
{
|
||||
return $this
|
||||
->withTrashed()
|
||||
->where('id', $this->decodePrimaryKey($value))->firstOrFail();
|
||||
->company()
|
||||
->where('id', $this->decodePrimaryKey($value))
|
||||
->firstOrFail();
|
||||
}
|
||||
|
||||
public function purchase_order_invitations(): \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
|
@ -57,7 +57,7 @@ class ClientContactObserver
|
||||
|
||||
//ensure entity state is preserved
|
||||
|
||||
InvoiceInvitation::withTrashed()->where('client_contact_id', 1)->cursor()->each(function ($invite){
|
||||
InvoiceInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||
|
||||
if($invite->invoice()->doesnthave('invitations'))
|
||||
$invite->invoice->service()->createInvitations();
|
||||
@ -65,14 +65,14 @@ class ClientContactObserver
|
||||
});
|
||||
|
||||
|
||||
QuoteInvitation::withTrashed()->where('client_contact_id', 1)->cursor()->each(function ($invite){
|
||||
QuoteInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||
|
||||
if($invite->invoice()->doesnthave('invitations'))
|
||||
$invite->quote->service()->createInvitations();
|
||||
|
||||
});
|
||||
|
||||
RecurringInvoiceInvitation::withTrashed()->where('client_contact_id', 1)->cursor()->each(function ($invite){
|
||||
RecurringInvoiceInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||
|
||||
if($invite->recurring_invoice()->doesnthave('invitations'))
|
||||
$invite->quote->service()->createInvitations();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user