stateset-core 0.8.1

Core domain models and business logic for StateSet iCommerce
//! Domain models for commerce operations

pub mod a2a;
pub mod a2a_skill;
pub mod accounts_payable;
pub mod accounts_receivable;
pub mod agent_card;
pub mod analytics;
pub mod backorder;
pub mod cart;
pub mod cost_accounting;
pub mod credit;
pub mod currency;
pub mod custom_object;
pub mod customer;
pub mod erc8004;
pub mod forecasting;
pub mod fraud;
pub mod fulfillment;
pub mod general_ledger;
pub mod gift_card;
pub mod inventory;
pub mod invoice;
pub mod lot;
pub mod loyalty;
pub mod manufacturing;
pub mod metrics;
pub mod order;
pub mod payment;
pub mod product;
pub mod promotion;
pub mod purchase_order;
pub mod quality;
pub mod receiving;
pub mod returns;
pub mod review;
pub mod search_config;
pub mod segment;
pub mod serial;
pub mod shipment;
pub mod shipping_zone;
pub mod store_credit;
pub mod subscription;
pub mod tax;
pub mod vector;
pub mod warehouse;
pub mod warranty;
pub mod wishlist;
pub mod x402;

pub use a2a::*;
// Re-export a2a_skill items individually to avoid name collisions with the a2a
// module (both define `A2AQuote` and `A2AQuoteFilter` with different schemas).
// Use the module path `a2a_skill::A2AQuote` when you need the skill-commerce variant.
pub use a2a_skill::{
    A2APurchase, A2APurchaseFilter, A2AQuote as SkillQuote, A2AQuoteFilter as SkillQuoteFilter,
    ConfirmDeliveryInput, ConfirmDeliveryOutput, CreateA2APurchase, CreateA2AQuote,
    DiscoverSellersInput, DiscoverSellersOutput, InitiatePurchaseInput, InitiatePurchaseOutput,
    ItemAvailability, PurchaseStatus, QuoteItem, QuoteStatus, QuotedItem, RequestQuoteInput,
    RequestQuoteOutput, SellerInfo,
};
pub use accounts_payable::*;
pub use accounts_receivable::*;
pub use agent_card::*;
pub use analytics::*;
pub use backorder::*;
pub use cart::*;
pub use cost_accounting::*;
pub use credit::*;
pub use currency::*;
pub use custom_object::*;
pub use customer::*;
pub use erc8004::*;
pub use forecasting::*;
pub use fraud::*;
pub use fulfillment::*;
pub use general_ledger::*;
pub use gift_card::*;
pub use inventory::*;
pub use invoice::*;
pub use lot::*;
pub use loyalty::*;
pub use manufacturing::*;
pub use metrics::*;
pub use order::*;
pub use payment::*;
pub use product::*;
pub use promotion::*;
pub use purchase_order::*;
pub use quality::*;
pub use receiving::*;
pub use returns::*;
pub use review::*;
pub use search_config::*;
pub use segment::*;
pub use serial::*;
pub use shipment::*;
pub use shipping_zone::*;
pub use store_credit::*;
pub use subscription::*;
pub use tax::*;
pub use vector::*;
pub use warehouse::*;
pub use warranty::*;
pub use wishlist::*;
pub use x402::*;

/// Common ID type alias
pub type Id = uuid::Uuid;

/// Decimal amount type (for backward compatibility)
/// Use `Money` struct from currency module for proper currency handling
pub type Amount = rust_decimal::Decimal;