@nightsquawktech/invoiceninja-mcp-server 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMMERCIAL.md +35 -0
- package/LICENSE +661 -0
- package/README.md +128 -0
- package/dist/catalog/endpoint-spec.js +36 -0
- package/dist/catalog/endpoints/action_invoice.json +41 -0
- package/dist/catalog/endpoints/action_payment.json +41 -0
- package/dist/catalog/endpoints/action_purchase_order.json +41 -0
- package/dist/catalog/endpoints/action_quote.json +41 -0
- package/dist/catalog/endpoints/action_recurring_invoice.json +41 -0
- package/dist/catalog/endpoints/action_recurring_quote.json +41 -0
- package/dist/catalog/endpoints/bulk_bank_integrations.json +26 -0
- package/dist/catalog/endpoints/bulk_bank_transaction_rules.json +26 -0
- package/dist/catalog/endpoints/bulk_bank_transactions.json +26 -0
- package/dist/catalog/endpoints/bulk_clients.json +46 -0
- package/dist/catalog/endpoints/bulk_company_gateways.json +27 -0
- package/dist/catalog/endpoints/bulk_credits.json +26 -0
- package/dist/catalog/endpoints/bulk_designs.json +27 -0
- package/dist/catalog/endpoints/bulk_expense_categorys.json +27 -0
- package/dist/catalog/endpoints/bulk_expenses.json +27 -0
- package/dist/catalog/endpoints/bulk_group_settings.json +26 -0
- package/dist/catalog/endpoints/bulk_invoices.json +44 -0
- package/dist/catalog/endpoints/bulk_locations.json +40 -0
- package/dist/catalog/endpoints/bulk_payment_terms.json +27 -0
- package/dist/catalog/endpoints/bulk_payments.json +27 -0
- package/dist/catalog/endpoints/bulk_products.json +46 -0
- package/dist/catalog/endpoints/bulk_projects.json +27 -0
- package/dist/catalog/endpoints/bulk_purchase_orderss.json +26 -0
- package/dist/catalog/endpoints/bulk_quotes.json +39 -0
- package/dist/catalog/endpoints/bulk_recurring_expenses.json +27 -0
- package/dist/catalog/endpoints/bulk_recurring_invoices.json +39 -0
- package/dist/catalog/endpoints/bulk_recurring_quotes.json +27 -0
- package/dist/catalog/endpoints/bulk_subscriptions.json +27 -0
- package/dist/catalog/endpoints/bulk_tags.json +51 -0
- package/dist/catalog/endpoints/bulk_task_scheduler_actions.json +27 -0
- package/dist/catalog/endpoints/bulk_task_statuss.json +27 -0
- package/dist/catalog/endpoints/bulk_tasks.json +27 -0
- package/dist/catalog/endpoints/bulk_tax_rates.json +27 -0
- package/dist/catalog/endpoints/bulk_tokens.json +27 -0
- package/dist/catalog/endpoints/bulk_users.json +27 -0
- package/dist/catalog/endpoints/bulk_vendors.json +27 -0
- package/dist/catalog/endpoints/bulk_webhooks.json +27 -0
- package/dist/catalog/endpoints/client_statement.json +77 -0
- package/dist/catalog/endpoints/confirm_apple_purchase.json +23 -0
- package/dist/catalog/endpoints/create_task_scheduler.json +81 -0
- package/dist/catalog/endpoints/delete_bank_integration.json +32 -0
- package/dist/catalog/endpoints/delete_bank_transaction.json +32 -0
- package/dist/catalog/endpoints/delete_bank_transaction_rule.json +32 -0
- package/dist/catalog/endpoints/delete_client.json +38 -0
- package/dist/catalog/endpoints/delete_client_gateway_token.json +32 -0
- package/dist/catalog/endpoints/delete_company.json +32 -0
- package/dist/catalog/endpoints/delete_company_gateway.json +32 -0
- package/dist/catalog/endpoints/delete_credit.json +32 -0
- package/dist/catalog/endpoints/delete_design.json +32 -0
- package/dist/catalog/endpoints/delete_expense.json +32 -0
- package/dist/catalog/endpoints/delete_expense_category.json +24 -0
- package/dist/catalog/endpoints/delete_group_setting.json +32 -0
- package/dist/catalog/endpoints/delete_invoice.json +32 -0
- package/dist/catalog/endpoints/delete_location.json +24 -0
- package/dist/catalog/endpoints/delete_payment.json +32 -0
- package/dist/catalog/endpoints/delete_payment_term.json +32 -0
- package/dist/catalog/endpoints/delete_product.json +32 -0
- package/dist/catalog/endpoints/delete_project.json +32 -0
- package/dist/catalog/endpoints/delete_purchase_order.json +32 -0
- package/dist/catalog/endpoints/delete_quote.json +32 -0
- package/dist/catalog/endpoints/delete_recurring_expense.json +32 -0
- package/dist/catalog/endpoints/delete_recurring_invoice.json +32 -0
- package/dist/catalog/endpoints/delete_recurring_quote.json +32 -0
- package/dist/catalog/endpoints/delete_settings_passkey.json +22 -0
- package/dist/catalog/endpoints/delete_subscription.json +32 -0
- package/dist/catalog/endpoints/delete_tag.json +24 -0
- package/dist/catalog/endpoints/delete_task.json +32 -0
- package/dist/catalog/endpoints/delete_task_status.json +32 -0
- package/dist/catalog/endpoints/delete_tax_rate.json +24 -0
- package/dist/catalog/endpoints/delete_token.json +32 -0
- package/dist/catalog/endpoints/delete_user.json +40 -0
- package/dist/catalog/endpoints/delete_vendor.json +32 -0
- package/dist/catalog/endpoints/delete_webhook.json +32 -0
- package/dist/catalog/endpoints/destroy_task_scheduler.json +24 -0
- package/dist/catalog/endpoints/detach_user.json +32 -0
- package/dist/catalog/endpoints/download_credit.json +32 -0
- package/dist/catalog/endpoints/download_invoice_by_invitation.json +32 -0
- package/dist/catalog/endpoints/download_purchase_order.json +32 -0
- package/dist/catalog/endpoints/download_quote.json +32 -0
- package/dist/catalog/endpoints/download_recurring_invoice.json +32 -0
- package/dist/catalog/endpoints/edit_bank_integration.json +33 -0
- package/dist/catalog/endpoints/edit_bank_transaction.json +33 -0
- package/dist/catalog/endpoints/edit_bank_transaction_rule.json +33 -0
- package/dist/catalog/endpoints/edit_client.json +39 -0
- package/dist/catalog/endpoints/edit_client_gateway_token.json +33 -0
- package/dist/catalog/endpoints/edit_company.json +33 -0
- package/dist/catalog/endpoints/edit_company_gateway.json +33 -0
- package/dist/catalog/endpoints/edit_credit.json +33 -0
- package/dist/catalog/endpoints/edit_design.json +33 -0
- package/dist/catalog/endpoints/edit_expense.json +33 -0
- package/dist/catalog/endpoints/edit_expense_category.json +25 -0
- package/dist/catalog/endpoints/edit_group_setting.json +33 -0
- package/dist/catalog/endpoints/edit_invoice.json +33 -0
- package/dist/catalog/endpoints/edit_payment.json +33 -0
- package/dist/catalog/endpoints/edit_payment_terms.json +33 -0
- package/dist/catalog/endpoints/edit_product.json +33 -0
- package/dist/catalog/endpoints/edit_project.json +33 -0
- package/dist/catalog/endpoints/edit_purchase_order.json +33 -0
- package/dist/catalog/endpoints/edit_quote.json +33 -0
- package/dist/catalog/endpoints/edit_recurring_expense.json +33 -0
- package/dist/catalog/endpoints/edit_recurring_invoice.json +33 -0
- package/dist/catalog/endpoints/edit_recurring_quote.json +33 -0
- package/dist/catalog/endpoints/edit_subscription.json +33 -0
- package/dist/catalog/endpoints/edit_tag.json +24 -0
- package/dist/catalog/endpoints/edit_task.json +33 -0
- package/dist/catalog/endpoints/edit_task_statuss.json +33 -0
- package/dist/catalog/endpoints/edit_tax_rate.json +25 -0
- package/dist/catalog/endpoints/edit_token.json +33 -0
- package/dist/catalog/endpoints/edit_user.json +33 -0
- package/dist/catalog/endpoints/edit_vendor.json +33 -0
- package/dist/catalog/endpoints/edit_webhook.json +33 -0
- package/dist/catalog/endpoints/get_account_transactions.json +24 -0
- package/dist/catalog/endpoints/get_activities.json +44 -0
- package/dist/catalog/endpoints/get_activity_historical_entity_pdf.json +31 -0
- package/dist/catalog/endpoints/get_activity_report.json +49 -0
- package/dist/catalog/endpoints/get_ardetail_report.json +49 -0
- package/dist/catalog/endpoints/get_arsummary_report.json +49 -0
- package/dist/catalog/endpoints/get_bank_integrations.json +61 -0
- package/dist/catalog/endpoints/get_bank_integrations_create.json +24 -0
- package/dist/catalog/endpoints/get_bank_transaction_rules.json +62 -0
- package/dist/catalog/endpoints/get_bank_transaction_rules_create.json +24 -0
- package/dist/catalog/endpoints/get_bank_transactions.json +63 -0
- package/dist/catalog/endpoints/get_bank_transactions_create.json +24 -0
- package/dist/catalog/endpoints/get_chart_calculated_fields.json +18 -0
- package/dist/catalog/endpoints/get_chart_summary_v2.json +18 -0
- package/dist/catalog/endpoints/get_chart_totals.json +38 -0
- package/dist/catalog/endpoints/get_chart_totals_v2.json +18 -0
- package/dist/catalog/endpoints/get_claim_license.json +32 -0
- package/dist/catalog/endpoints/get_client_balance_report.json +49 -0
- package/dist/catalog/endpoints/get_client_contact_report.json +49 -0
- package/dist/catalog/endpoints/get_client_gateway_tokens.json +45 -0
- package/dist/catalog/endpoints/get_client_gateway_tokens_create.json +24 -0
- package/dist/catalog/endpoints/get_client_report.json +64 -0
- package/dist/catalog/endpoints/get_client_sales_report.json +49 -0
- package/dist/catalog/endpoints/get_clients.json +152 -0
- package/dist/catalog/endpoints/get_clients_create.json +30 -0
- package/dist/catalog/endpoints/get_companies.json +38 -0
- package/dist/catalog/endpoints/get_companies_create.json +24 -0
- package/dist/catalog/endpoints/get_company_gateways.json +47 -0
- package/dist/catalog/endpoints/get_company_gateways_create.json +24 -0
- package/dist/catalog/endpoints/get_company_ledger.json +24 -0
- package/dist/catalog/endpoints/get_contact_report.json +64 -0
- package/dist/catalog/endpoints/get_credit_report.json +49 -0
- package/dist/catalog/endpoints/get_credits.json +55 -0
- package/dist/catalog/endpoints/get_credits_create.json +24 -0
- package/dist/catalog/endpoints/get_designs.json +54 -0
- package/dist/catalog/endpoints/get_designs_create.json +24 -0
- package/dist/catalog/endpoints/get_document_report.json +64 -0
- package/dist/catalog/endpoints/get_documents.json +54 -0
- package/dist/catalog/endpoints/get_expense_category_create.json +16 -0
- package/dist/catalog/endpoints/get_expense_categorys.json +47 -0
- package/dist/catalog/endpoints/get_expense_report.json +49 -0
- package/dist/catalog/endpoints/get_expenses.json +55 -0
- package/dist/catalog/endpoints/get_expenses_create.json +24 -0
- package/dist/catalog/endpoints/get_export.json +15 -0
- package/dist/catalog/endpoints/get_export_preview.json +25 -0
- package/dist/catalog/endpoints/get_group_settings.json +47 -0
- package/dist/catalog/endpoints/get_group_settings_create.json +24 -0
- package/dist/catalog/endpoints/get_health_check.json +15 -0
- package/dist/catalog/endpoints/get_import_json.json +15 -0
- package/dist/catalog/endpoints/get_invoice_create.json +16 -0
- package/dist/catalog/endpoints/get_invoice_delivery_note.json +32 -0
- package/dist/catalog/endpoints/get_invoice_item_report.json +64 -0
- package/dist/catalog/endpoints/get_invoice_report.json +64 -0
- package/dist/catalog/endpoints/get_invoices.json +174 -0
- package/dist/catalog/endpoints/get_last_error.json +15 -0
- package/dist/catalog/endpoints/get_locations.json +54 -0
- package/dist/catalog/endpoints/get_locations_create.json +24 -0
- package/dist/catalog/endpoints/get_logout.json +30 -0
- package/dist/catalog/endpoints/get_payment_report.json +64 -0
- package/dist/catalog/endpoints/get_payment_terms.json +54 -0
- package/dist/catalog/endpoints/get_payment_terms_create.json +24 -0
- package/dist/catalog/endpoints/get_payments.json +118 -0
- package/dist/catalog/endpoints/get_payments_create.json +24 -0
- package/dist/catalog/endpoints/get_ping.json +15 -0
- package/dist/catalog/endpoints/get_preview.json +15 -0
- package/dist/catalog/endpoints/get_preview_purchase_order.json +15 -0
- package/dist/catalog/endpoints/get_product_report.json +64 -0
- package/dist/catalog/endpoints/get_product_sales_report.json +64 -0
- package/dist/catalog/endpoints/get_products.json +118 -0
- package/dist/catalog/endpoints/get_products_create.json +24 -0
- package/dist/catalog/endpoints/get_profit_loss_report.json +64 -0
- package/dist/catalog/endpoints/get_project_report.json +49 -0
- package/dist/catalog/endpoints/get_projects.json +55 -0
- package/dist/catalog/endpoints/get_projects_create.json +24 -0
- package/dist/catalog/endpoints/get_purchase_order_create.json +24 -0
- package/dist/catalog/endpoints/get_purchase_orders.json +55 -0
- package/dist/catalog/endpoints/get_quote_item_report.json +64 -0
- package/dist/catalog/endpoints/get_quote_report.json +64 -0
- package/dist/catalog/endpoints/get_quotes.json +125 -0
- package/dist/catalog/endpoints/get_quotes_create.json +24 -0
- package/dist/catalog/endpoints/get_recurring_expenses.json +54 -0
- package/dist/catalog/endpoints/get_recurring_expenses_create.json +24 -0
- package/dist/catalog/endpoints/get_recurring_invoice_report.json +64 -0
- package/dist/catalog/endpoints/get_recurring_invoices.json +139 -0
- package/dist/catalog/endpoints/get_recurring_invoices_create.json +24 -0
- package/dist/catalog/endpoints/get_recurring_quotes.json +47 -0
- package/dist/catalog/endpoints/get_recurring_quotes_create.json +24 -0
- package/dist/catalog/endpoints/get_refresh_accounts.json +24 -0
- package/dist/catalog/endpoints/get_remove_account.json +24 -0
- package/dist/catalog/endpoints/get_report_preview.json +25 -0
- package/dist/catalog/endpoints/get_scheduler.json +15 -0
- package/dist/catalog/endpoints/get_settings_passkeys.json +15 -0
- package/dist/catalog/endpoints/get_show_template.json +47 -0
- package/dist/catalog/endpoints/get_statics.json +23 -0
- package/dist/catalog/endpoints/get_subscriptions.json +47 -0
- package/dist/catalog/endpoints/get_subscriptions_create.json +24 -0
- package/dist/catalog/endpoints/get_system_logs.json +47 -0
- package/dist/catalog/endpoints/get_tags.json +63 -0
- package/dist/catalog/endpoints/get_tags_create.json +16 -0
- package/dist/catalog/endpoints/get_task_report.json +64 -0
- package/dist/catalog/endpoints/get_task_scheduler.json +38 -0
- package/dist/catalog/endpoints/get_task_schedulers.json +15 -0
- package/dist/catalog/endpoints/get_task_statuses.json +54 -0
- package/dist/catalog/endpoints/get_task_statuss_create.json +24 -0
- package/dist/catalog/endpoints/get_tasks.json +55 -0
- package/dist/catalog/endpoints/get_tasks_create.json +24 -0
- package/dist/catalog/endpoints/get_tax_period_report.json +49 -0
- package/dist/catalog/endpoints/get_tax_rate_create.json +16 -0
- package/dist/catalog/endpoints/get_tax_rates.json +47 -0
- package/dist/catalog/endpoints/get_tax_summary_report.json +49 -0
- package/dist/catalog/endpoints/get_template_preview.json +25 -0
- package/dist/catalog/endpoints/get_tokens.json +54 -0
- package/dist/catalog/endpoints/get_tokens_create.json +24 -0
- package/dist/catalog/endpoints/get_user_sales_report.json +49 -0
- package/dist/catalog/endpoints/get_users.json +48 -0
- package/dist/catalog/endpoints/get_users_create.json +24 -0
- package/dist/catalog/endpoints/get_vendors.json +55 -0
- package/dist/catalog/endpoints/get_vendors_create.json +24 -0
- package/dist/catalog/endpoints/get_webcron.json +15 -0
- package/dist/catalog/endpoints/get_webhooks.json +54 -0
- package/dist/catalog/endpoints/get_webhooks_create.json +24 -0
- package/dist/catalog/endpoints/invite_user.json +32 -0
- package/dist/catalog/endpoints/invite_user_reconfirm.json +32 -0
- package/dist/catalog/endpoints/match_bank_transactions.json +26 -0
- package/dist/catalog/endpoints/merge_client.json +54 -0
- package/dist/catalog/endpoints/post_activities_entity.json +18 -0
- package/dist/catalog/endpoints/post_activities_notes.json +18 -0
- package/dist/catalog/endpoints/post_connected_account.json +38 -0
- package/dist/catalog/endpoints/post_import.json +51 -0
- package/dist/catalog/endpoints/post_login.json +79 -0
- package/dist/catalog/endpoints/post_one_time_token.json +15 -0
- package/dist/catalog/endpoints/post_passkey_login_options.json +24 -0
- package/dist/catalog/endpoints/post_purge_company.json +24 -0
- package/dist/catalog/endpoints/post_purge_company_save_settings.json +24 -0
- package/dist/catalog/endpoints/post_refresh.json +46 -0
- package/dist/catalog/endpoints/post_search.json +18 -0
- package/dist/catalog/endpoints/post_settings_passkeys.json +34 -0
- package/dist/catalog/endpoints/post_settings_passkeys_options.json +15 -0
- package/dist/catalog/endpoints/post_start_migration.json +31 -0
- package/dist/catalog/endpoints/postmark_webhook.json +24 -0
- package/dist/catalog/endpoints/preimport.json +69 -0
- package/dist/catalog/endpoints/process_apple_webhook.json +23 -0
- package/dist/catalog/endpoints/purge_client.json +32 -0
- package/dist/catalog/endpoints/reactivate_email.json +38 -0
- package/dist/catalog/endpoints/self_update.json +31 -0
- package/dist/catalog/endpoints/self_update_check_version.json +15 -0
- package/dist/catalog/endpoints/send_email_template.json +73 -0
- package/dist/catalog/endpoints/set_default_company.json +33 -0
- package/dist/catalog/endpoints/show_bank_integration.json +33 -0
- package/dist/catalog/endpoints/show_bank_transaction.json +33 -0
- package/dist/catalog/endpoints/show_bank_transaction_rule.json +33 -0
- package/dist/catalog/endpoints/show_client.json +39 -0
- package/dist/catalog/endpoints/show_client_gateway_token.json +33 -0
- package/dist/catalog/endpoints/show_company.json +33 -0
- package/dist/catalog/endpoints/show_company_gateway.json +33 -0
- package/dist/catalog/endpoints/show_credit.json +33 -0
- package/dist/catalog/endpoints/show_current_company.json +24 -0
- package/dist/catalog/endpoints/show_design.json +33 -0
- package/dist/catalog/endpoints/show_expense.json +33 -0
- package/dist/catalog/endpoints/show_expense_category.json +25 -0
- package/dist/catalog/endpoints/show_group_setting.json +33 -0
- package/dist/catalog/endpoints/show_invoice.json +33 -0
- package/dist/catalog/endpoints/show_location.json +33 -0
- package/dist/catalog/endpoints/show_payment.json +33 -0
- package/dist/catalog/endpoints/show_payment_term.json +33 -0
- package/dist/catalog/endpoints/show_product.json +33 -0
- package/dist/catalog/endpoints/show_project.json +33 -0
- package/dist/catalog/endpoints/show_purchase_order.json +33 -0
- package/dist/catalog/endpoints/show_quote.json +33 -0
- package/dist/catalog/endpoints/show_recurring_expense.json +33 -0
- package/dist/catalog/endpoints/show_recurring_invoice.json +33 -0
- package/dist/catalog/endpoints/show_recurring_quote.json +33 -0
- package/dist/catalog/endpoints/show_subscription.json +33 -0
- package/dist/catalog/endpoints/show_system_logs.json +33 -0
- package/dist/catalog/endpoints/show_tag.json +24 -0
- package/dist/catalog/endpoints/show_task.json +33 -0
- package/dist/catalog/endpoints/show_task_scheduler.json +24 -0
- package/dist/catalog/endpoints/show_task_status.json +33 -0
- package/dist/catalog/endpoints/show_tax_rate.json +25 -0
- package/dist/catalog/endpoints/show_token.json +33 -0
- package/dist/catalog/endpoints/show_user.json +33 -0
- package/dist/catalog/endpoints/show_vendor.json +33 -0
- package/dist/catalog/endpoints/show_webhook.json +33 -0
- package/dist/catalog/endpoints/sort_tasks.json +46 -0
- package/dist/catalog/endpoints/store_bank_integration.json +24 -0
- package/dist/catalog/endpoints/store_bank_transaction.json +24 -0
- package/dist/catalog/endpoints/store_bank_transaction_rule.json +24 -0
- package/dist/catalog/endpoints/store_client.json +237 -0
- package/dist/catalog/endpoints/store_client_gateway_token.json +24 -0
- package/dist/catalog/endpoints/store_company.json +24 -0
- package/dist/catalog/endpoints/store_company_gateway.json +24 -0
- package/dist/catalog/endpoints/store_credit.json +251 -0
- package/dist/catalog/endpoints/store_design.json +24 -0
- package/dist/catalog/endpoints/store_expense.json +24 -0
- package/dist/catalog/endpoints/store_expense_category.json +24 -0
- package/dist/catalog/endpoints/store_group_setting.json +24 -0
- package/dist/catalog/endpoints/store_invoice.json +257 -0
- package/dist/catalog/endpoints/store_location.json +119 -0
- package/dist/catalog/endpoints/store_payment.json +140 -0
- package/dist/catalog/endpoints/store_payment_term.json +59 -0
- package/dist/catalog/endpoints/store_product.json +179 -0
- package/dist/catalog/endpoints/store_project.json +113 -0
- package/dist/catalog/endpoints/store_purchase_order.json +89 -0
- package/dist/catalog/endpoints/store_quote.json +89 -0
- package/dist/catalog/endpoints/store_recurring_expense.json +24 -0
- package/dist/catalog/endpoints/store_recurring_invoice.json +101 -0
- package/dist/catalog/endpoints/store_recurring_quote.json +24 -0
- package/dist/catalog/endpoints/store_refund.json +235 -0
- package/dist/catalog/endpoints/store_subscription.json +24 -0
- package/dist/catalog/endpoints/store_tag.json +43 -0
- package/dist/catalog/endpoints/store_task.json +113 -0
- package/dist/catalog/endpoints/store_task_status.json +77 -0
- package/dist/catalog/endpoints/store_token.json +24 -0
- package/dist/catalog/endpoints/store_user.json +24 -0
- package/dist/catalog/endpoints/store_vendor.json +131 -0
- package/dist/catalog/endpoints/store_webhook.json +24 -0
- package/dist/catalog/endpoints/support_message.json +25 -0
- package/dist/catalog/endpoints/update_bank_integration.json +33 -0
- package/dist/catalog/endpoints/update_bank_transaction.json +33 -0
- package/dist/catalog/endpoints/update_bank_transaction_rule.json +33 -0
- package/dist/catalog/endpoints/update_client.json +246 -0
- package/dist/catalog/endpoints/update_client_gateway_token.json +33 -0
- package/dist/catalog/endpoints/update_client_tax_data.json +38 -0
- package/dist/catalog/endpoints/update_company.json +33 -0
- package/dist/catalog/endpoints/update_company_gateway.json +33 -0
- package/dist/catalog/endpoints/update_company_user.json +16 -0
- package/dist/catalog/endpoints/update_credit.json +33 -0
- package/dist/catalog/endpoints/update_design.json +33 -0
- package/dist/catalog/endpoints/update_expense.json +33 -0
- package/dist/catalog/endpoints/update_expense_category.json +25 -0
- package/dist/catalog/endpoints/update_group_setting.json +33 -0
- package/dist/catalog/endpoints/update_invoice.json +33 -0
- package/dist/catalog/endpoints/update_location.json +128 -0
- package/dist/catalog/endpoints/update_payment.json +33 -0
- package/dist/catalog/endpoints/update_payment_term.json +33 -0
- package/dist/catalog/endpoints/update_product.json +188 -0
- package/dist/catalog/endpoints/update_project.json +122 -0
- package/dist/catalog/endpoints/update_purchase_order.json +98 -0
- package/dist/catalog/endpoints/update_quote.json +98 -0
- package/dist/catalog/endpoints/update_recurring_expense.json +33 -0
- package/dist/catalog/endpoints/update_recurring_invoice.json +33 -0
- package/dist/catalog/endpoints/update_recurring_quote.json +33 -0
- package/dist/catalog/endpoints/update_subscription.json +33 -0
- package/dist/catalog/endpoints/update_tag.json +38 -0
- package/dist/catalog/endpoints/update_task.json +122 -0
- package/dist/catalog/endpoints/update_task_scheduler.json +90 -0
- package/dist/catalog/endpoints/update_task_status.json +33 -0
- package/dist/catalog/endpoints/update_tax_rate.json +25 -0
- package/dist/catalog/endpoints/update_token.json +33 -0
- package/dist/catalog/endpoints/update_user.json +33 -0
- package/dist/catalog/endpoints/update_vendor.json +140 -0
- package/dist/catalog/endpoints/update_webhook.json +33 -0
- package/dist/catalog/endpoints/upload_client.json +54 -0
- package/dist/catalog/endpoints/upload_companies.json +47 -0
- package/dist/catalog/endpoints/upload_credits.json +47 -0
- package/dist/catalog/endpoints/upload_expense.json +47 -0
- package/dist/catalog/endpoints/upload_group_setting.json +47 -0
- package/dist/catalog/endpoints/upload_invoice_document.json +47 -0
- package/dist/catalog/endpoints/upload_payment.json +47 -0
- package/dist/catalog/endpoints/upload_product.json +46 -0
- package/dist/catalog/endpoints/upload_project.json +47 -0
- package/dist/catalog/endpoints/upload_purchase_order.json +47 -0
- package/dist/catalog/endpoints/upload_quote.json +47 -0
- package/dist/catalog/endpoints/upload_recurring_expense.json +47 -0
- package/dist/catalog/endpoints/upload_recurring_invoice.json +47 -0
- package/dist/catalog/endpoints/upload_task.json +47 -0
- package/dist/catalog/endpoints/upload_vendor.json +47 -0
- package/dist/catalog/endpoints/yodlee_refresh_webhook.json +16 -0
- package/dist/catalog/index.json +4428 -0
- package/dist/clients/invoiceninja-client.js +205 -0
- package/dist/helpers/register-endpoint-tools.js +27 -0
- package/dist/index.js +8 -0
- package/dist/server/invoiceninja-mcp-server.js +18 -0
- package/dist/tools/call-endpoint.js +153 -0
- package/dist/tools/describe-endpoint.js +60 -0
- package/dist/tools/list-endpoints.js +77 -0
- package/dist/types/tool-response.js +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_purge_company",
|
|
3
|
+
"operationId": "postPurgeCompany",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/migration/purge/{company}",
|
|
6
|
+
"name": "Attempts to purge a company record and all its child records",
|
|
7
|
+
"category": "migration",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Attempts to purge a company record and all its child records",
|
|
10
|
+
"whenToUse": "Permanently purge a company and ALL its child records by company id; use only for full deletion, not the settings-preserving purge (mutating).",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "company",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The Company Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [],
|
|
22
|
+
"headerParameters": [],
|
|
23
|
+
"requestBody": null
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_purge_company_save_settings",
|
|
3
|
+
"operationId": "postPurgeCompanySaveSettings",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/migration/purge_save_settings/{company}",
|
|
6
|
+
"name": "Attempts to purge a companies child records but save the company record and its settings",
|
|
7
|
+
"category": "migration",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Attempts to purge a companies child records but save the company record and its settings",
|
|
10
|
+
"whenToUse": "Purge a company's child records by company id while preserving the company and its settings, when wiping data but keeping the account (mutating).",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "company",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The Company Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [],
|
|
22
|
+
"headerParameters": [],
|
|
23
|
+
"requestBody": null
|
|
24
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_refresh",
|
|
3
|
+
"operationId": "postRefresh",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/refresh",
|
|
6
|
+
"name": "Refresh data by timestamp",
|
|
7
|
+
"category": "refresh",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Refreshes the dataset.\n\nThis endpoint can be used if you only need to access the most recent data from a certain point in time. For example, if you only want to retrieve The\nmost recent data from the last time you accessed the system, you would pass the query parameter ?updated_at=1676173763. (unix timestamp)",
|
|
10
|
+
"whenToUse": "Call to fetch only records changed since a given updated_at unix timestamp for incremental sync rather than re-pulling all data (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "updated_at",
|
|
15
|
+
"type": "number",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "The unix timestamp from which the refreshed data should be sent from, if no value is passed the system will assume you require all data.",
|
|
18
|
+
"format": "integer",
|
|
19
|
+
"example": 1676173763
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "include",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
26
|
+
"example": "first_load"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "include_static",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "This include will return the full set of static variables used in the application including:\n - Currencies\n - Countries\n - Languages\n - Payment Types\n - Email Templatees\n - Industries",
|
|
33
|
+
"example": "include_static=true"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "clear_cache",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Clears cache\n\nClears (and rebuilds) the static variable cache.",
|
|
40
|
+
"example": "clear_cache=true"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"headerParameters": [],
|
|
44
|
+
"requestBody": null,
|
|
45
|
+
"responseSchema": "CompanyUser"
|
|
46
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_search",
|
|
3
|
+
"operationId": "postSearch",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/search",
|
|
6
|
+
"name": "Search",
|
|
7
|
+
"category": "search",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Performs a search across entities",
|
|
10
|
+
"whenToUse": "Call to run a global keyword search spanning multiple entity types when you need cross-resource matches, not single-resource list filters",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": []
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_settings_passkeys",
|
|
3
|
+
"operationId": "postSettingsPasskeys",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/settings/passkeys",
|
|
6
|
+
"name": "Create passkey",
|
|
7
|
+
"category": "auth",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Create passkey",
|
|
10
|
+
"whenToUse": "Register a new passkey for the signed-in user by submitting the challenge token and WebAuthn credential (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "challenge_token",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "credential",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"required": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "name",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": false
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_settings_passkeys_options",
|
|
3
|
+
"operationId": "postSettingsPasskeysOptions",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/settings/passkeys/options",
|
|
6
|
+
"name": "Passkey registration options",
|
|
7
|
+
"category": "auth",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Passkey registration options",
|
|
10
|
+
"whenToUse": "Request WebAuthn registration challenge options to begin enrolling a new passkey before calling post_settings_passkeys (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": null
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "post_start_migration",
|
|
3
|
+
"operationId": "postStartMigration",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/migration/start",
|
|
6
|
+
"name": "Starts the migration from previous version of Invoice Ninja",
|
|
7
|
+
"category": "migration",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Starts the migration from previous version of Invoice Ninja",
|
|
10
|
+
"whenToUse": "Start importing a v4 Invoice Ninja migration file (requires X-API-PASSWORD) when migrating a whole prior install, not mapping a CSV (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "migration",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "The migraton file",
|
|
18
|
+
"format": "file"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"headerParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "X-API-PASSWORD",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The login password when challenged on certain protected routes",
|
|
27
|
+
"example": "supersecretpassword"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"requestBody": null
|
|
31
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "postmark_webhook",
|
|
3
|
+
"operationId": "postmarkWebhook",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/postmark_webhook",
|
|
6
|
+
"name": "Processing webhooks from PostMark",
|
|
7
|
+
"category": "postmark",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an credit to the system",
|
|
10
|
+
"whenToUse": "Receive Postmark email event webhooks (delivery/bounce) for inbound email processing, not Apple purchase events (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "include",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
18
|
+
"example": "first_load"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"headerParameters": [],
|
|
22
|
+
"requestBody": null,
|
|
23
|
+
"responseSchema": "Credit"
|
|
24
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "preimport",
|
|
3
|
+
"operationId": "preimport",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/preimport",
|
|
6
|
+
"name": "Pre Import CSV data",
|
|
7
|
+
"category": "imports",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "The preimport endpoint is the first step when importing CSV data into Invoice Ninja. It validates your file(s) and returns the column headers found in each CSV, allowing you to map them to system fields before performing the actual import.\n\n*How it works**\n\n1. Set `import_type` to indicate the entity type (e.g. `invoice`, `quote`, `client`, `product`, `payment`, `vendor`, `expense`).\n2. Attach one or more CSV files using the `files[]` parameter, keyed by entity type:\n - `files[invoice]` — invoice records\n - `files[client]` — client records\n - `files[product]` — product records\n - `files[payment]` — payment records\n - `files[vendor]` — vendor records\n - `files[expense]` — expense records\n3. The response returns the detected column headers for each uploaded file so you can build a field mapping for the subsequent `/api/v1/import` call.\n\nYou may upload multiple entity files in a single request. Only include the entity types relevant to your import.\n\n*Example**\n\n```bash\ncurl -X POST 'https://invoiceninja.com/api/v1/preimport' \\\n -H 'X-API-TOKEN: YOUR_API_TOKEN_HERE' \\\n -H 'Accept: application/json' \\\n -F 'import_type=invoice' \\\n -F 'files[invoice]=@invoices.csv' \\\n -F 'files[client]=@clients.csv'\n```",
|
|
10
|
+
"whenToUse": "Upload CSV file(s) first to validate them and get column headers for mapping, before calling the import endpoint that runs the import (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "include",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
18
|
+
"example": "first_load"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"headerParameters": [],
|
|
22
|
+
"requestBody": {
|
|
23
|
+
"contentType": "multipart/form-data",
|
|
24
|
+
"fields": [
|
|
25
|
+
{
|
|
26
|
+
"name": "import_type",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": true,
|
|
29
|
+
"description": "The type of import being performed"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "files[invoice]",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "CSV file for invoices"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "files[client]",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "CSV file for clients"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "files[product]",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "CSV file for products"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "files[payment]",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "CSV file for payments"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "files[vendor]",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "CSV file for vendors"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "files[expense]",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "CSV file for expenses"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "process_apple_webhook",
|
|
3
|
+
"operationId": "processAppleWebhook",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/apple/process_webhook",
|
|
6
|
+
"name": "Processing event webhooks from Apple for in purchase / subscription status update",
|
|
7
|
+
"category": "postmark",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an credit to the system",
|
|
10
|
+
"whenToUse": "Process Apple subscription/purchase-status event webhooks for ongoing updates, distinct from confirming a single purchase (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "include",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
18
|
+
"example": "first_load"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"headerParameters": [],
|
|
22
|
+
"requestBody": null
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "purge_client",
|
|
3
|
+
"operationId": "purgeClient",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/clients/{id}/purge",
|
|
6
|
+
"name": "Purge client",
|
|
7
|
+
"category": "clients",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "## POST /api/v1/clients/{id}/purge\n\nHandles purging a client.\n\n> ❗ Note\nThis is a destructive action.\nThis action will remove all data associated with the client and cannot be undone.",
|
|
10
|
+
"whenToUse": "Permanently and irreversibly wipe one client and all their records (needs X-API-PASSWORD); use over delete_client only when destruction is intended (mutating).",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The Client Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [],
|
|
22
|
+
"headerParameters": [
|
|
23
|
+
{
|
|
24
|
+
"name": "X-API-PASSWORD",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true,
|
|
27
|
+
"description": "The login password when challenged on certain protected routes",
|
|
28
|
+
"example": "supersecretpassword"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"requestBody": null
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "reactivate_email",
|
|
3
|
+
"operationId": "reactivateEmail",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/reactivate_email/{bounce_id}",
|
|
6
|
+
"name": "Removes email suppression of a user in the system",
|
|
7
|
+
"category": "clients",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "## POST /api/v1/reactivate_email/{bounce_id}\n\nEmails are suppressed by PostMark, when they receive a Hard bounce / Spam Complaint. This endpoint allows you to remove the suppression and send emails to the user again.",
|
|
10
|
+
"whenToUse": "Remove a Postmark email suppression by bounce_id so a hard-bounced or complained address can receive mail again (mutating).",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "bounce_id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The postmark Bounce ID reference",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "123243"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "index",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Replaces the default response index from data to a user specific string\n\nie.\n\n```html\n ?index=new_index\n```\n\nresponse is wrapped\n\n```json\n {\n 'new_index' : [\n .....\n ]\n }\n```",
|
|
27
|
+
"example": "user"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "include",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Include child relationships of the Client Object. ie ?include=documents,system_logs\n\n```html\nAvailable includes:\n\ncontacts [All contacts related to the client]\ndocuments [All documents related to the client]\ngateway_tokens [All payment tokens related to the client]\nactivities [All activities related to the client]\nledger [The client ledger]\nsystem_logs [System logs related to the client]\ngroup_settings [The group settings object the client is assigned to]\n\n```\n\nUsage:\n\n```html\n/api/v1/clients?include=contacts,documents,activities\n```"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"headerParameters": [],
|
|
37
|
+
"requestBody": null
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "self_update",
|
|
3
|
+
"operationId": "selfUpdate",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/self-update",
|
|
6
|
+
"name": "Performs a system update",
|
|
7
|
+
"category": "update",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Performs a system update",
|
|
10
|
+
"whenToUse": "Trigger the self-hosted Invoice Ninja system to install an available update; requires the X-API-PASSWORD header (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "include",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
18
|
+
"example": "first_load"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"headerParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "X-API-PASSWORD",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The login password when challenged on certain protected routes",
|
|
27
|
+
"example": "supersecretpassword"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"requestBody": null
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "self_update_check_version",
|
|
3
|
+
"operationId": "selfUpdateCheckVersion",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/self-update/check_version",
|
|
6
|
+
"name": "Check for available update",
|
|
7
|
+
"category": "update",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Checks for an available system update",
|
|
10
|
+
"whenToUse": "Check whether a newer Invoice Ninja version is available before deciding to run self_update; does not install anything (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": null
|
|
15
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "send_email_template",
|
|
3
|
+
"operationId": "sendEmailTemplate",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/emails",
|
|
6
|
+
"name": "Sends an email for an entity",
|
|
7
|
+
"category": "emails",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Sends an email for an entity",
|
|
10
|
+
"whenToUse": "Email an entity (invoice, quote, credit, payment, reminder, PO) using a named template by entity and entity_id; use to dispatch templated client emails (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "subject",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "The email subject"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "body",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "The email body"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "entity",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"description": "The entity name"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "entity_id",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": true,
|
|
39
|
+
"description": "The entity_id"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "cc_email",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"required": false,
|
|
45
|
+
"description": "The email address of a user to be CC'd on the email"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "template",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"required": true,
|
|
51
|
+
"description": "The template required",
|
|
52
|
+
"enum": [
|
|
53
|
+
"email_template_invoice",
|
|
54
|
+
"email_template_quote",
|
|
55
|
+
"email_template_credit",
|
|
56
|
+
"email_template_payment",
|
|
57
|
+
"email_template_payment_partial",
|
|
58
|
+
"email_template_statement",
|
|
59
|
+
"email_template_reminder1",
|
|
60
|
+
"email_template_reminder2",
|
|
61
|
+
"email_template_reminder3",
|
|
62
|
+
"email_template_reminder_endless",
|
|
63
|
+
"email_template_custom1",
|
|
64
|
+
"email_template_custom2",
|
|
65
|
+
"email_template_custom3",
|
|
66
|
+
"email_template_purchase_order",
|
|
67
|
+
"email_quote_template_reminder1"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"responseSchema": "Template"
|
|
73
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "set_default_company",
|
|
3
|
+
"operationId": "setDefaultCompany",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/companies/{company}/default",
|
|
6
|
+
"name": "Sets the company as the default company.",
|
|
7
|
+
"category": "companies",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Sets the company as the default company.",
|
|
10
|
+
"whenToUse": "Mark an existing company (by hashed id) as the account's default company; use to switch the default, not to edit fields (mutating).",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "company",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The Company Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "include",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
27
|
+
"example": "first_load"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"headerParameters": [],
|
|
31
|
+
"requestBody": null,
|
|
32
|
+
"responseSchema": "Company"
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "show_bank_integration",
|
|
3
|
+
"operationId": "showBankIntegration",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/bank_integrations/{id}",
|
|
6
|
+
"name": "Shows a bank_integration",
|
|
7
|
+
"category": "bank_integrations",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Displays a bank_integration by id",
|
|
10
|
+
"whenToUse": "Fetch one bank integration's record by its hashed id; use when you already know the id, not for listing or editing.",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The BankIntegration Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "include",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
27
|
+
"example": "first_load"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"headerParameters": [],
|
|
31
|
+
"requestBody": null,
|
|
32
|
+
"responseSchema": "BankIntegration"
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "show_bank_transaction",
|
|
3
|
+
"operationId": "showBankTransaction",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/bank_transactions/{id}",
|
|
6
|
+
"name": "Shows a bank_transaction",
|
|
7
|
+
"category": "bank_transactions",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Displays a bank_transaction by id",
|
|
10
|
+
"whenToUse": "Fetch one bank transaction by its hashed id; use to view full details of a single known transaction, not to list many.",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The BankTransaction Hashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "include",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
27
|
+
"example": "first_load"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"headerParameters": [],
|
|
31
|
+
"requestBody": null,
|
|
32
|
+
"responseSchema": "BankTransaction"
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "show_bank_transaction_rule",
|
|
3
|
+
"operationId": "showBankTransactionRule",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/bank_transaction_rules/{id}",
|
|
6
|
+
"name": "Shows a bank_transaction",
|
|
7
|
+
"category": "bank_transaction_rules",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Displays a bank_transaction by id",
|
|
10
|
+
"whenToUse": "Fetch one bank transaction rule by its id; reach for it when you already know the rule's id and need its details.",
|
|
11
|
+
"pathParameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"description": "The Bank Transaction RuleHashed ID",
|
|
17
|
+
"format": "string",
|
|
18
|
+
"example": "D2J234DFA"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"queryParameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "include",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes",
|
|
27
|
+
"example": "first_load"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"headerParameters": [],
|
|
31
|
+
"requestBody": null,
|
|
32
|
+
"responseSchema": "BankTransactionRule"
|
|
33
|
+
}
|