datasynth-core 2.4.0

Core domain models, traits, and distributions for synthetic enterprise data generation
Documentation
//! Domain models for synthetic accounting data generation.
//!
//! This module provides all the core data models for the enterprise
//! simulation, including:
//!
//! - Master data (vendors, customers, materials, fixed assets, employees)
//! - Transaction data (journal entries, ACDOCA event logs)
//! - Organizational data (companies, departments, cost centers)
//! - Control data (internal controls, SoD, approvals)
//! - Document data (purchase orders, invoices, payments, deliveries)
//! - Intercompany data (relationships, transfer pricing, eliminations)
//! - Temporal data (bi-temporal support for audit trails)
//! - Audit data (engagements, workpapers, evidence, findings)

mod acdoca;
mod anomaly;

// Graph property mapping trait (DS-001)
mod approval;

// Cost center hierarchy model (D.2)
mod chart_of_accounts;
mod company;
mod control_mapping;
mod coso;
mod cost_center;
pub mod currency_translation_result;
mod customer_segment;
pub mod deferred_tax;
mod department;
mod entity_registry;
mod fixed_asset;
mod fx;
pub mod graph_properties;
pub mod internal_control;
pub mod journal_entry;
mod master_data;
mod material;
mod period_close;
mod project;
mod project_accounting;
mod relationship;
mod sod;
mod tax;
mod temporal;
mod treasury;
mod user;

// ESG / Sustainability models
mod esg;
mod vendor_network;

// Source-to-Contract models (S2C pipeline)
pub mod sourcing;

// Bank reconciliation models
mod bank_reconciliation;

// Financial statement models
mod financial_statements;

// Notes to financial statements models (IAS 1 / ASC 235)
mod financial_statement_notes;

// Hire-to-Retire (H2R) models
mod expense_report;
mod payroll;
mod time_entry;

// Manufacturing models
mod cycle_count;
mod manufacturing_models;
mod production_order;
mod quality_inspection;

// Wave 4: Sales Quotes, KPIs, Budgets
mod budget;
mod management_kpi;
mod sales_quote;

// Pattern drift models (Phase: Pattern and Process Drift Over Time)
pub mod drift_events;
pub mod organizational_event;
pub mod process_evolution;
pub mod regulatory_events;
pub mod technology_transition;

// Document models (Phase 2)
pub mod documents;

// Intercompany models (Phase 3)
pub mod intercompany;

// Balance coherence models (Phase 4)
pub mod balance;

// Subledger models (Phase 5)
pub mod subledger;

// Business combination models (IFRS 3 / ASC 805)
pub mod business_combination;

// Pension models (IAS 19 / ASC 715)
pub mod pension;

// Expected Credit Loss models (IFRS 9 / ASC 326)
pub mod expected_credit_loss;

// Provisions and Contingencies models (IAS 37 / ASC 450)
pub mod provision;

// Stock-based compensation models (ASC 718 / IFRS 2)
pub mod stock_compensation;

// Audit models (Phase 13-14: RustAssureTwin integration)
pub mod audit;

// Banking models (KYC/AML transaction generation)
pub mod banking;

// Counterfactual simulation models
pub mod causal_dag;
mod intervention;
mod scenario;

// Unified generation pipeline session models
pub mod generation_session;

// Compliance & Regulations Framework models
pub mod compliance;

// Industry benchmark models (WI-3)
mod industry_benchmark;

// Legal document models (GAM audit engagement support)
mod legal_document;

// Governance models — board minutes (WI-5)
mod governance;

// Organizational profile models (WI-6)
mod organizational_profile;

// IT controls models — access logs and change management (WI-4)
mod it_controls;

// Prior-year comparative data models (WI-2)
mod prior_year;

// Management report models (WI-7)
// Note: ManagementReport, KpiSummaryLine, BudgetVarianceLine live in financial_statements

pub use acdoca::*;
pub use anomaly::*;
pub use approval::*;
pub use chart_of_accounts::*;
pub use company::*;
pub use control_mapping::*;
pub use coso::*;
pub use cost_center::*;
pub use currency_translation_result::*;
pub use customer_segment::*;
pub use deferred_tax::*;
pub use department::*;
pub use entity_registry::*;
pub use fixed_asset::*;
pub use fx::*;
pub use graph_properties::*;
pub use internal_control::*;
pub use journal_entry::*;
pub use master_data::*;
pub use material::*;
pub use period_close::*;
pub use project::*;
pub use project_accounting::*;
pub use relationship::*;
pub use sod::*;
pub use tax::*;
pub use temporal::*;
pub use treasury::*;
pub use user::*;
pub use vendor_network::*;

// ESG / Sustainability exports
pub use esg::*;

// Sourcing exports
pub use sourcing::*;

// Bank reconciliation exports
pub use bank_reconciliation::*;

// Financial statement exports
pub use financial_statements::*;

// Notes to financial statements exports (IAS 1 / ASC 235)
pub use financial_statement_notes::*;

// Hire-to-Retire (H2R) exports
pub use expense_report::*;
pub use payroll::*;
pub use time_entry::*;

// Manufacturing exports
pub use cycle_count::*;
pub use manufacturing_models::*;
pub use production_order::*;
pub use quality_inspection::*;

// Wave 4 exports
pub use budget::*;
pub use management_kpi::*;
pub use sales_quote::*;

// Pattern drift exports
pub use drift_events::*;
pub use organizational_event::*;
pub use process_evolution::*;
pub use regulatory_events::*;
pub use technology_transition::*;

// Counterfactual simulation exports
pub use causal_dag::*;
pub use intervention::*;
pub use scenario::*;

// Business combination exports
pub use business_combination::*;

// Pension exports (IAS 19 / ASC 715)
pub use pension::*;

// Expected Credit Loss exports (IFRS 9 / ASC 326)
pub use expected_credit_loss::*;

// Provisions and Contingencies exports (IAS 37 / ASC 450)
pub use provision::*;

// Stock-based compensation exports (ASC 718 / IFRS 2)
pub use stock_compensation::*;

// Unified generation pipeline session exports
pub use generation_session::*;

// Industry benchmark exports (WI-3)
pub use industry_benchmark::*;

// Legal document exports (GAM audit engagement)
pub use legal_document::*;

// Governance exports (WI-5)
pub use governance::*;

// Organizational profile exports (WI-6)
pub use organizational_profile::*;

// IT controls exports (WI-4)
pub use it_controls::*;

// Prior-year comparative data exports (WI-2)
pub use prior_year::*;