@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,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_refund",
|
|
3
|
+
"operationId": "storeRefund",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/payments/refund",
|
|
6
|
+
"name": "Refund payment",
|
|
7
|
+
"category": "payments",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an Refund to the system",
|
|
10
|
+
"whenToUse": "Refund an existing payment, specifying amount and target invoices, when reversing funds rather than recording a new payment (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": "application/json",
|
|
24
|
+
"fields": [
|
|
25
|
+
{
|
|
26
|
+
"name": "id",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "The payment hashed id"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "client_id",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "The client hashed id"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "invitation_id",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "The invitation hashed id"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "client_contact_id",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "The client contact hashed id"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "user_id",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "The user hashed id"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "type_id",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "The payment type used to complete this payment",
|
|
60
|
+
"enum": [
|
|
61
|
+
"1",
|
|
62
|
+
"2",
|
|
63
|
+
"3",
|
|
64
|
+
"4",
|
|
65
|
+
"5",
|
|
66
|
+
"6",
|
|
67
|
+
"7",
|
|
68
|
+
"8",
|
|
69
|
+
"9",
|
|
70
|
+
"10",
|
|
71
|
+
"11",
|
|
72
|
+
"12",
|
|
73
|
+
"13",
|
|
74
|
+
"14",
|
|
75
|
+
"15",
|
|
76
|
+
"16",
|
|
77
|
+
"17",
|
|
78
|
+
"18",
|
|
79
|
+
"19",
|
|
80
|
+
"20",
|
|
81
|
+
"21",
|
|
82
|
+
"22",
|
|
83
|
+
"23",
|
|
84
|
+
"24",
|
|
85
|
+
"25",
|
|
86
|
+
"26",
|
|
87
|
+
"27",
|
|
88
|
+
"28",
|
|
89
|
+
"29",
|
|
90
|
+
"30",
|
|
91
|
+
"31",
|
|
92
|
+
"32",
|
|
93
|
+
"33"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "date",
|
|
98
|
+
"type": "string",
|
|
99
|
+
"required": false,
|
|
100
|
+
"description": "The Payment date"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "transaction_reference",
|
|
104
|
+
"type": "string",
|
|
105
|
+
"required": false,
|
|
106
|
+
"description": "The transaction reference as defined by the payment gateway"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "assigned_user_id",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"required": false,
|
|
112
|
+
"description": "The assigned user hashed id"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "private_notes",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"required": false,
|
|
118
|
+
"description": "The private notes of the payment"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "is_manual",
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"required": false,
|
|
124
|
+
"description": "Flags whether the payment was made manually or processed via a gateway"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "is_deleted",
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"required": false,
|
|
130
|
+
"description": "Defines if the payment has been deleted"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "amount",
|
|
134
|
+
"type": "number",
|
|
135
|
+
"required": false,
|
|
136
|
+
"description": "The amount of this payment"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "refunded",
|
|
140
|
+
"type": "number",
|
|
141
|
+
"required": false,
|
|
142
|
+
"description": "The refunded amount of this payment"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "updated_at",
|
|
146
|
+
"type": "number",
|
|
147
|
+
"required": false,
|
|
148
|
+
"description": "Timestamp"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "archived_at",
|
|
152
|
+
"type": "number",
|
|
153
|
+
"required": false,
|
|
154
|
+
"description": "Timestamp"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "company_gateway_id",
|
|
158
|
+
"type": "string",
|
|
159
|
+
"required": false,
|
|
160
|
+
"description": "The company gateway id"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "paymentables",
|
|
164
|
+
"type": "object",
|
|
165
|
+
"required": false
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "invoices",
|
|
169
|
+
"type": "array",
|
|
170
|
+
"required": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "credits",
|
|
174
|
+
"type": "array",
|
|
175
|
+
"required": false
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "number",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"required": false,
|
|
181
|
+
"description": "The payment number - is a unique alpha numeric number per payment per company"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "category_id",
|
|
185
|
+
"type": "string",
|
|
186
|
+
"required": false,
|
|
187
|
+
"description": "The unique identifier of the payment category"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "custom_value1",
|
|
191
|
+
"type": "string",
|
|
192
|
+
"required": false,
|
|
193
|
+
"description": "Custom field for storing additional information"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "custom_value2",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"required": false,
|
|
199
|
+
"description": "Custom field for storing additional information"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "custom_value3",
|
|
203
|
+
"type": "string",
|
|
204
|
+
"required": false,
|
|
205
|
+
"description": "Custom field for storing additional information"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "custom_value4",
|
|
209
|
+
"type": "string",
|
|
210
|
+
"required": false,
|
|
211
|
+
"description": "Custom field for storing additional information"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "exchange_currency_id",
|
|
215
|
+
"type": "string",
|
|
216
|
+
"required": false,
|
|
217
|
+
"description": "The unique identifier of the exchange currency"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "exchange_rate",
|
|
221
|
+
"type": "number",
|
|
222
|
+
"required": false,
|
|
223
|
+
"description": "The exchange rate used for currency conversion"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "idempotency_key",
|
|
227
|
+
"type": "string",
|
|
228
|
+
"required": false,
|
|
229
|
+
"description": "Unique key to ensure idempotent payment processing"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"schemaRef": "Payment"
|
|
233
|
+
},
|
|
234
|
+
"responseSchema": "Payment"
|
|
235
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_subscription",
|
|
3
|
+
"operationId": "storeSubscription",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/subscriptions",
|
|
6
|
+
"name": "Adds a subscriptions",
|
|
7
|
+
"category": "subscriptions",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an subscriptions to the system",
|
|
10
|
+
"whenToUse": "Create a new subscription product/plan in the system when setting up a recurring offering (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": "Subscription"
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_tag",
|
|
3
|
+
"operationId": "storeTag",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/tags",
|
|
6
|
+
"name": "Create tag",
|
|
7
|
+
"category": "tags",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Creates a tag catalog entry for a supported entity type.",
|
|
10
|
+
"whenToUse": "Create a new tag catalog entry with name, color, and immutable entity_type for a supported entity (mutating).",
|
|
11
|
+
"pathParameters": [],
|
|
12
|
+
"queryParameters": [],
|
|
13
|
+
"headerParameters": [],
|
|
14
|
+
"requestBody": {
|
|
15
|
+
"contentType": "application/json",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "entity_type",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Required on create. Immutable after creation.",
|
|
22
|
+
"enum": [
|
|
23
|
+
"App\\Models\\Task",
|
|
24
|
+
"App\\Models\\Project"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "name",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true,
|
|
31
|
+
"description": "The tag name. Unique per company and entity type, including archived tags."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "color",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "The tag color as a 3 or 6 digit hex value, or null to clear it."
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"schemaRef": "TagRequest"
|
|
41
|
+
},
|
|
42
|
+
"responseSchema": "Tag"
|
|
43
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_task",
|
|
3
|
+
"operationId": "storeTask",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/tasks",
|
|
6
|
+
"name": "Create task",
|
|
7
|
+
"category": "tasks",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an task to a company",
|
|
10
|
+
"whenToUse": "Create a new task with a description and optional client/project/time fields; use when adding a task that does not yet exist (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": "application/json",
|
|
24
|
+
"fields": [
|
|
25
|
+
{
|
|
26
|
+
"name": "description",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": true,
|
|
29
|
+
"description": "Task description"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "client_id",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "The hashed ID of the client"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "project_id",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "The hashed ID of the project"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "time_log",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Time logged for the task"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "status_id",
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Status ID of the task"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "custom_value1",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Custom field value 1"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "custom_value2",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Custom field value 2"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "custom_value3",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Custom field value 3"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "custom_value4",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"required": false,
|
|
77
|
+
"description": "Custom field value 4"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "is_deleted",
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Whether the task is deleted"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "archived_at",
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"required": false,
|
|
89
|
+
"description": "Timestamp when task was archived"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "due_date",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"required": false,
|
|
95
|
+
"description": "Due date for the task"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "priority",
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Priority level of the task"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "tags",
|
|
105
|
+
"type": "array",
|
|
106
|
+
"required": false,
|
|
107
|
+
"description": "Full sync array of hashed tag IDs. Omit to leave existing tags unchanged; send [] to detach all tags."
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"schemaRef": "TaskRequest"
|
|
111
|
+
},
|
|
112
|
+
"responseSchema": "Task"
|
|
113
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_task_status",
|
|
3
|
+
"operationId": "storeTaskStatus",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/task_statuses",
|
|
6
|
+
"name": "Adds a TaskStatus",
|
|
7
|
+
"category": "task_status",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds a TaskStatusto the system",
|
|
10
|
+
"whenToUse": "Create a new task status with name, color, and order; reach for it to add a status that does not yet exist (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": "application/json",
|
|
24
|
+
"fields": [
|
|
25
|
+
{
|
|
26
|
+
"name": "id",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "The task status hashed id"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "name",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "The task status name"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "color",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "The task status color - hex value"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "task_status_order",
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "The order of the task status"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "created_at",
|
|
51
|
+
"type": "number",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Timestamp"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "is_deleted",
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "A boolean flag determining if the task status has been deleted"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "updated_at",
|
|
63
|
+
"type": "number",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Timestamp"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "archived_at",
|
|
69
|
+
"type": "number",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Timestamp"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"schemaRef": "TaskStatus"
|
|
75
|
+
},
|
|
76
|
+
"responseSchema": "TaskStatus"
|
|
77
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_token",
|
|
3
|
+
"operationId": "storeToken",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/tokens",
|
|
6
|
+
"name": "Adds a token",
|
|
7
|
+
"category": "tokens",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an token to a company",
|
|
10
|
+
"whenToUse": "Create a new company API token for the company; reach for it to issue a token that does not yet exist (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": "CompanyToken"
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_user",
|
|
3
|
+
"operationId": "storeUser",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/users",
|
|
6
|
+
"name": "Adds a User",
|
|
7
|
+
"category": "users",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds an User to the system",
|
|
10
|
+
"whenToUse": "Create a new user in the system; use to add a team member account (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": "User"
|
|
24
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "store_vendor",
|
|
3
|
+
"operationId": "storeVendor",
|
|
4
|
+
"method": "POST",
|
|
5
|
+
"path": "/api/v1/vendors",
|
|
6
|
+
"name": "Create vendor",
|
|
7
|
+
"category": "vendors",
|
|
8
|
+
"mutating": true,
|
|
9
|
+
"description": "Adds a vendor to a company",
|
|
10
|
+
"whenToUse": "Create a new vendor (name required) with address and contacts; use when adding a vendor, not when editing an existing one (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": "application/json",
|
|
24
|
+
"fields": [
|
|
25
|
+
{
|
|
26
|
+
"name": "name",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": true,
|
|
29
|
+
"description": "Vendor name"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "address1",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Primary address line"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "address2",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Secondary address line"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "city",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "City"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "state",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "State or province"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "postal_code",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Postal code"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "country_id",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Country ID"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "phone",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Phone number"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "email",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"required": false,
|
|
77
|
+
"description": "Email address"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "website",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Website URL"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "custom_value1",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"required": false,
|
|
89
|
+
"description": "Custom field value 1"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "custom_value2",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"required": false,
|
|
95
|
+
"description": "Custom field value 2"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "custom_value3",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Custom field value 3"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "custom_value4",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"required": false,
|
|
107
|
+
"description": "Custom field value 4"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "is_deleted",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"required": false,
|
|
113
|
+
"description": "Whether the vendor is deleted"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "archived_at",
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"required": false,
|
|
119
|
+
"description": "Timestamp when vendor was archived"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "contacts",
|
|
123
|
+
"type": "array",
|
|
124
|
+
"required": false,
|
|
125
|
+
"description": "Array of vendor contacts"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"schemaRef": "VendorRequest"
|
|
129
|
+
},
|
|
130
|
+
"responseSchema": "Vendor"
|
|
131
|
+
}
|