@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,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_balance_report",
|
|
3
|
+
"operationId": "getClientBalanceReport",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/reports/client_balance_report",
|
|
6
|
+
"name": "Client balance report",
|
|
7
|
+
"category": "reports",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Export client balance report",
|
|
10
|
+
"whenToUse": "Export a report of each client's current outstanding balance over a date range; use to see what clients owe, not their sales or contacts",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "date_range",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "The string representation of the date range of data to be returned"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "date_key",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "The date column to search between."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "start_date",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "The start date to search between"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "end_date",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "The end date to search between"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "report_keys",
|
|
43
|
+
"type": "array",
|
|
44
|
+
"required": false
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"schemaRef": "GenericReportSchema"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_contact_report",
|
|
3
|
+
"operationId": "getClientContactReport",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/reports/client_contacts",
|
|
6
|
+
"name": "Client contact reports",
|
|
7
|
+
"category": "reports",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Export client contact reports",
|
|
10
|
+
"whenToUse": "Export a report of client contact people (names, emails) tied to clients over a date range; use for contact rosters, not balances or sales",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "date_range",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "The string representation of the date range of data to be returned"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "date_key",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "The date column to search between."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "start_date",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "The start date to search between"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "end_date",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "The end date to search between"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "report_keys",
|
|
43
|
+
"type": "array",
|
|
44
|
+
"required": false
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"schemaRef": "GenericReportSchema"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_gateway_tokens",
|
|
3
|
+
"operationId": "getClientGatewayTokens",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/client_gateway_tokens",
|
|
6
|
+
"name": "List of client payment tokens",
|
|
7
|
+
"category": "client_gateway_tokens",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Lists client_gateway_tokens, search and filters allow fine grained lists to be generated.\n\n 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",
|
|
10
|
+
"whenToUse": "List or filter many client payment gateway tokens with pagination and includes; use to browse them, not to fetch one by id.",
|
|
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
|
+
"name": "index",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"required": false,
|
|
24
|
+
"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```",
|
|
25
|
+
"example": "user"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "per_page",
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "The number of records to return for each request, default is 20",
|
|
32
|
+
"example": 20
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "page",
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "The page number to return for this request (when performing pagination), default is 1",
|
|
39
|
+
"example": 1
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"headerParameters": [],
|
|
43
|
+
"requestBody": null,
|
|
44
|
+
"responseSchema": "ClientGatewayToken[]"
|
|
45
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_gateway_tokens_create",
|
|
3
|
+
"operationId": "getClientGatewayTokensCreate",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/client_gateway_tokens/create",
|
|
6
|
+
"name": "Gets a new blank client payment token object",
|
|
7
|
+
"category": "client_gateway_tokens",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Returns a blank object with default values",
|
|
10
|
+
"whenToUse": "Get a blank client payment gateway token template with default values to prefill a create form; read-only, saves nothing.",
|
|
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": "ClientGatewayToken"
|
|
24
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_report",
|
|
3
|
+
"operationId": "getClientReport",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/reports/clients",
|
|
6
|
+
"name": "Client reports",
|
|
7
|
+
"category": "reports",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Export client reports",
|
|
10
|
+
"whenToUse": "Export a paginated report of client records and their attributes over a date range; use for a general client list, not sales or balances",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "per_page",
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "The number of records to return for each request, default is 20",
|
|
18
|
+
"example": 20
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "page",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "The page number to return for this request (when performing pagination), default is 1",
|
|
25
|
+
"example": 1
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"headerParameters": [],
|
|
29
|
+
"requestBody": {
|
|
30
|
+
"contentType": "application/json",
|
|
31
|
+
"fields": [
|
|
32
|
+
{
|
|
33
|
+
"name": "date_range",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "The string representation of the date range of data to be returned"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "date_key",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "The date column to search between."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "start_date",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "The start date to search between"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "end_date",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "The end date to search between"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "report_keys",
|
|
58
|
+
"type": "array",
|
|
59
|
+
"required": false
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"schemaRef": "GenericReportSchema"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_client_sales_report",
|
|
3
|
+
"operationId": "getClientSalesReport",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/reports/client_sales_report",
|
|
6
|
+
"name": "Client sales report",
|
|
7
|
+
"category": "reports",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Export client sales report",
|
|
10
|
+
"whenToUse": "Export a report of total sales/revenue grouped by client over a date range; use to rank clients by sales, not their balances owed",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "date_range",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "The string representation of the date range of data to be returned"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "date_key",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "The date column to search between."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "start_date",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "The start date to search between"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "end_date",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "The end date to search between"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "report_keys",
|
|
43
|
+
"type": "array",
|
|
44
|
+
"required": false
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"schemaRef": "GenericReportSchema"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_clients",
|
|
3
|
+
"operationId": "getClients",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/clients",
|
|
6
|
+
"name": "List clients",
|
|
7
|
+
"category": "clients",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "### GET /api/v1/clients\nWhen retrieving a list of clients you can also chain query parameters in order to filter the dataset that is returned. For example, you can send a request to the following URL to retrieve clients that have a balance greater than 1000\n\n```\n/api/v1/clients?balance=gt:1000\n```\n\nYou can also sort the results by adding a sort parameter. The following example will sort the results by the client name in descending order\n\n```\n/api/v1/clients?sort=name|desc\n```\n\nYou can also combine multiple filters together. The following example will return clients that have a balance greater than 1000 and are not deleted and have a name that starts with \"Bob\"\n\n```\n/api/v1/clients?balance=gt:1000&name=Bob\n```\n\nIf you wish to retrieve child relations, you can also combine the query parameter `?include=` with a comma separated list of relationships\n\n```\n/api/v1/clients?include=activities,ledger,system_logs'\n```\n\nThe per_page and page variables allow pagination of the list of clients. The following example will return the second page of clients with 15 clients per page\n\n```\n/api/v1/clients?per_page=15&page=2\n```\n\nThe default per_page value is 20.",
|
|
10
|
+
"whenToUse": "Fetch and filter many clients by name, balance, email, status, or group with pagination; use to search or list, not to read one by id.",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "include",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"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```"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "index",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": false,
|
|
23
|
+
"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```",
|
|
24
|
+
"example": "user"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "per_page",
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "The number of records to return for each request, default is 20",
|
|
31
|
+
"example": 20
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "page",
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "The page number to return for this request (when performing pagination), default is 1",
|
|
38
|
+
"example": 1
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "sort",
|
|
42
|
+
"type": "array",
|
|
43
|
+
"required": false,
|
|
44
|
+
"description": "Order the list by choosing a column and direction. Each value uses the form `column|asc` or `column|desc`.\n\n*Single sort** — pass one argument, for example `sort=id|desc`.\n\n*Multiple sorts** — chain ordering with repeated `sort[]` keys. The first is the main sort, the next breaks ties, and so on, for example\n`sort[]=id|desc&sort[]=number|asc`.\n\nFor clients, the API honors `clients` columns (such as `name`, `balance`, `number`), natural ordering for `number`, plus `contacts`, `contact_email`, and `name` / `display_name` (display name is normalized to `name`). Values that are not supported are ignored.",
|
|
45
|
+
"example": [
|
|
46
|
+
"name|desc",
|
|
47
|
+
"balance|asc"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "status",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Filter the entity based on their status. ie active / archived / deleted. Format is a comma separated string with any of the following options:\n- active\n- archived\n- deleted\n\n```html\nGET /api/v1/invoices?status=archived,deleted\nReturns only archived and deleted invoices\n```",
|
|
55
|
+
"example": "?status=archived,deleted"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "created_at",
|
|
59
|
+
"type": "integer",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Filters the entity list by the created at timestamp. Parameter value can be a datetime string or unix timestamp\n\n```html\nGET /api/v1/invoices?created_at=2022-01-10\nReturns entities created on January 10th, 2022\n```",
|
|
62
|
+
"example": 1641772800
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "updated_at",
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"required": false,
|
|
68
|
+
"description": "Filters the entity list by the updated at timestamp. Parameter value can be a datetime string or unix timestamp\n\n```html\nGET /api/v1/invoices?updated_at=2022-01-10\nReturns entities last updated on January 10th, 2022\n```",
|
|
69
|
+
"example": 1641772800
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "is_deleted",
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"required": false,
|
|
75
|
+
"description": "Filters the entity list by entities that have been deleted.\n\n```html\nGET /api/v1/invoices?is_deleted=true\nReturns only soft-deleted entities\n```",
|
|
76
|
+
"example": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "filter_deleted_clients",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"required": false,
|
|
82
|
+
"description": "Filters the entity list and only returns entities for clients that have not been deleted\n\n```html\nGET /api/v1/invoices?filter_deleted_clients=true\nReturns only invoices for active (non-deleted) clients\n```",
|
|
83
|
+
"example": "?filter_deleted_clients=true"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "name",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"required": false,
|
|
89
|
+
"description": "Filter by client name\n\n```html\n?name=bob\n```",
|
|
90
|
+
"example": "Acme Corporation"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "balance",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"required": false,
|
|
96
|
+
"description": "Filter by client balance, format uses an operator and value separated by a colon. lt,lte, gt, gte, eq\n\n```html\n?balance=lt:10\n```\n\nie all clients whose balance is less than 10",
|
|
97
|
+
"example": "lt:10"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "between_balance",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"required": false,
|
|
103
|
+
"description": "Filter between client balances, format uses two values separated by a colon\n\n```html\n?between_balance=10:100\n```",
|
|
104
|
+
"example": "10:100"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "email",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "Filter by client email\n\n```html\n?email=jane.doe@acme.com\n```",
|
|
111
|
+
"example": "jane.doe@acme.com"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "id_number",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"required": false,
|
|
117
|
+
"description": "Filter by client id_number\n\n```html\n?id_number=ACME-0001\n```",
|
|
118
|
+
"example": "ACME-0001"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "number",
|
|
122
|
+
"type": "string",
|
|
123
|
+
"required": false,
|
|
124
|
+
"description": "Filter by client number\n\n```html\n?number=0002\n```",
|
|
125
|
+
"example": "0002"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "filter",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"required": false,
|
|
131
|
+
"description": "Broad filter which targets multiple client columns:\n\n ```html\n name,\n id_number,\n contact.first_name\n contact.last_name,\n contact.email,\n contact.phone\n custom_value1,\n custom_value2,\n custom_value3,\n custom_value4,\n ```\n\n ```html\n ?filter=Bobby\n ```",
|
|
132
|
+
"example": "Bobby"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "group",
|
|
136
|
+
"type": "string",
|
|
137
|
+
"required": false,
|
|
138
|
+
"description": "Returns the list of clients assigned to {group_id}\n\n```html\n ?group=Wpmbk5ezJn\n```",
|
|
139
|
+
"example": "Wpmbk5ezJn"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "client_id",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"required": false,
|
|
145
|
+
"description": "Returns the list of clients with {client_id} - proxy call to retrieve a client_id wrapped in an array\n\n```html\n ?client_id=Opnel5aKBz\n```",
|
|
146
|
+
"example": "Opnel5aKBz"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"headerParameters": [],
|
|
150
|
+
"requestBody": null,
|
|
151
|
+
"responseSchema": "Client[]"
|
|
152
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_clients_create",
|
|
3
|
+
"operationId": "getClientsCreate",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/clients/create",
|
|
6
|
+
"name": "Blank Client",
|
|
7
|
+
"category": "clients",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "## GET /api/v1/clients/create\n\nReturns a blank object with default values",
|
|
10
|
+
"whenToUse": "GET a blank client object with default values to seed a new-client form; read-only, use before store_client.",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [
|
|
13
|
+
{
|
|
14
|
+
"name": "index",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"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```",
|
|
18
|
+
"example": "user"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "include",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"required": false,
|
|
24
|
+
"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```"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"headerParameters": [],
|
|
28
|
+
"requestBody": null,
|
|
29
|
+
"responseSchema": "Client"
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_companies",
|
|
3
|
+
"operationId": "getCompanies",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/companies",
|
|
6
|
+
"name": "Gets a list of companies",
|
|
7
|
+
"category": "companies",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Lists companies, search and filters allow fine grained lists to be generated.\n\n 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",
|
|
10
|
+
"whenToUse": "List or filter many companies with pagination and includes; use when you need a set of company records, not one by id.",
|
|
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
|
+
"name": "per_page",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "The number of records to return for each request, default is 20",
|
|
25
|
+
"example": 20
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "page",
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "The page number to return for this request (when performing pagination), default is 1",
|
|
32
|
+
"example": 1
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"headerParameters": [],
|
|
36
|
+
"requestBody": null,
|
|
37
|
+
"responseSchema": "Company[]"
|
|
38
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_companies_create",
|
|
3
|
+
"operationId": "getCompaniesCreate",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/companies/create",
|
|
6
|
+
"name": "Gets a new blank company object",
|
|
7
|
+
"category": "companies",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Returns a blank object with default values",
|
|
10
|
+
"whenToUse": "GET a blank company object with default values (read-only); use to pre-populate a create form before calling store_company.",
|
|
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": "Company"
|
|
24
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_company_gateways",
|
|
3
|
+
"operationId": "getCompanyGateways",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/company_gateways",
|
|
6
|
+
"name": "Gets a list of company_gateways",
|
|
7
|
+
"category": "company_gateways",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Lists company_gateways, search and filters allow fine grained lists to be generated.\n\n 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",
|
|
10
|
+
"whenToUse": "List or filter many configured company payment gateways with pagination and sorting; reach for it to browse all gateways, not one by id.",
|
|
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
|
+
"name": "per_page",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "The number of records to return for each request, default is 20",
|
|
25
|
+
"example": 20
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "page",
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "The page number to return for this request (when performing pagination), default is 1",
|
|
32
|
+
"example": 1
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "sort",
|
|
36
|
+
"type": "array",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Order the list by choosing a column and direction. Each value uses the form `column|asc` or `column|desc`.\n\n*Single sort** — for example `sort=label|asc`.\n\n*Multiple sorts** — for example\n`sort[]=id|desc&sort[]=label|asc`.\n\nSorting is limited to columns on the company gateways table (for example `label`, `id`). Unsupported keys are ignored.",
|
|
39
|
+
"example": [
|
|
40
|
+
"label|asc"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"headerParameters": [],
|
|
45
|
+
"requestBody": null,
|
|
46
|
+
"responseSchema": "CompanyGateway[]"
|
|
47
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_company_gateways_create",
|
|
3
|
+
"operationId": "getCompanyGatewaysCreate",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/company_gateways/create",
|
|
6
|
+
"name": "Gets a new blank CompanyGateway object",
|
|
7
|
+
"category": "company_gateways",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Returns a blank object with default values",
|
|
10
|
+
"whenToUse": "Fetch a blank company gateway template with default values (read-only); reach for it to seed a new-gateway form before storing.",
|
|
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": "CompanyGateway"
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "get_company_ledger",
|
|
3
|
+
"operationId": "getCompanyLedger",
|
|
4
|
+
"method": "GET",
|
|
5
|
+
"path": "/api/v1/company_ledger",
|
|
6
|
+
"name": "Gets a list of company_ledger",
|
|
7
|
+
"category": "company_ledger",
|
|
8
|
+
"mutating": false,
|
|
9
|
+
"description": "Lists the company_ledger.",
|
|
10
|
+
"whenToUse": "List the company ledger entries to review the chronological financial transaction record for the company; use for ledger reporting, not single records.",
|
|
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": "CompanyLedger[]"
|
|
24
|
+
}
|