These are the types the per-resource extras and the activity endpoints
need, split out so they land before the code and tests that use them.
`MessageResponse` covers the `{"message": "..."}` body that the action
endpoints answer with, defaulting `message` so a reply carrying none still
decodes. `int_or_numeric_string` goes in alongside them: the spec calls
`frequency_id` a number, but a real 5.13.50 server sends the string `"5"`,
and a strict `i64` turned that into a hard decode error *after* the record
had already been created.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
78 lines
2.0 KiB
Rust
78 lines
2.0 KiB
Rust
mod activity;
|
|
mod bank_integration;
|
|
mod bank_transaction;
|
|
mod bank_transaction_rule;
|
|
mod client;
|
|
mod client_gateway_token;
|
|
mod common;
|
|
mod company;
|
|
mod company_gateway;
|
|
mod company_token;
|
|
mod design;
|
|
mod document;
|
|
mod expense;
|
|
mod expense_category;
|
|
mod group_setting;
|
|
mod health;
|
|
mod invoice;
|
|
mod location;
|
|
mod payment;
|
|
mod payment_term;
|
|
mod product;
|
|
mod project;
|
|
mod purchase_order;
|
|
mod recurring_expense;
|
|
mod recurring_invoice;
|
|
mod search;
|
|
mod statics;
|
|
mod subscription;
|
|
mod system_log;
|
|
mod tag;
|
|
mod task;
|
|
mod task_scheduler;
|
|
mod task_status;
|
|
mod tax_rate;
|
|
mod user;
|
|
mod vendor;
|
|
mod webhook;
|
|
|
|
pub use activity::{Activity, ActivityFeedEntry, ActivityRef};
|
|
pub use bank_integration::BankIntegration;
|
|
pub use bank_transaction::BankTransaction;
|
|
pub use bank_transaction_rule::BankTransactionRule;
|
|
pub use client::{Client, ClientContact};
|
|
pub use client_gateway_token::ClientGatewayToken;
|
|
pub use common::{
|
|
BulkRequest, ItemResponse, ListParams, ListResponse, MessageResponse, Meta, Pagination,
|
|
};
|
|
pub use company::Company;
|
|
pub use company_gateway::CompanyGateway;
|
|
pub use company_token::CompanyToken;
|
|
pub use design::Design;
|
|
pub use document::Document;
|
|
pub use expense::Expense;
|
|
pub use expense_category::ExpenseCategory;
|
|
pub use group_setting::GroupSetting;
|
|
pub use health::{HealthCheck, PhpVersion};
|
|
pub use invoice::{Credit, Invoice, InvoiceItem, Quote};
|
|
pub use location::Location;
|
|
pub use payment::{Payment, PaymentInvoice};
|
|
pub use payment_term::PaymentTerm;
|
|
pub use product::Product;
|
|
pub use project::Project;
|
|
pub use purchase_order::PurchaseOrder;
|
|
pub use recurring_expense::RecurringExpense;
|
|
pub use recurring_invoice::{RecurringInvoice, RecurringQuote};
|
|
pub use search::{SearchHit, SearchResults};
|
|
pub use statics::{Currency, DateFormat, StaticItem, Statics};
|
|
pub use subscription::{Subscription, SubscriptionStep};
|
|
pub use system_log::SystemLog;
|
|
pub use tag::Tag;
|
|
pub use task::Task;
|
|
pub use task_scheduler::TaskScheduler;
|
|
pub use task_status::TaskStatus;
|
|
pub use tax_rate::TaxRate;
|
|
pub use user::User;
|
|
pub use vendor::{Vendor, VendorContact};
|
|
pub use webhook::Webhook;
|