Expand description
VynFi Rust SDK — synthetic financial data generation.
§Example
use vynfi::Client;
#[tokio::main]
async fn main() -> Result<(), vynfi::VynFiError> {
let client = Client::builder("vf_live_...").build()?;
let sectors = client.catalog().list_sectors().await?;
Ok(())
}Structs§
- Adversarial
- Adversarial probing resource (DS 3.0+, Enterprise tier).
- Adversarial
Probe Response - Adversarial
Probe Results - Ai
- AI co-pilot resource (DS 3.0+, Scale+ tier).
- AiChat
Request - AiChat
Response - AiTune
Request - AiTune
Response - AmlDetectability
Analysis - Amount
Distribution Analysis - ApiKey
- An existing API key (secret not included).
- ApiKey
Created - A newly created API key (includes the full secret).
- ApiKeys
- API-key management resource — create, list, update, and revoke API keys.
- Audit
Artifacts - Audit
Opinion - Balance
Info - Balance information in a cost estimate.
- Banking
Evaluation - Benford
Analysis - Billing
- Billing resource — subscription, checkout, invoices, and payment methods.
- Calibration
Request - Cancel
JobResponse - Response from cancelling a job.
- Catalog
- Catalog resource — browse sectors, tables, and fingerprint profiles.
- Catalog
Item - A catalog item (from GET /v1/catalog).
- Chart
OfAccounts Meta - Checkout
Request - Request body for creating a Stripe checkout session.
- Checkout
Response - Response containing a Stripe checkout URL.
- Client
- Async VynFi API client.
- Client
Builder - Builder for configuring and constructing a
Client. - Column
- A column definition within a table.
- Company
Config Response - Compose
Config Request - Request body for composing a config from layers.
- Compose
Config Response - Response from composing a config.
- Configs
- Configs resource — save, list, update, validate, and estimate generation configs.
- Conformance
Request - Create
ApiKey Request - Request body for creating an API key.
- Create
Config Request - Request body for creating a saved config.
- Create
Pack Request - Create
Scenario Request - Request body for creating a what-if scenario.
- Create
Session Request - Request body for creating a multi-period generation session.
- Create
Webhook Request - Request body for creating a webhook.
- Credits
- Credits resource — purchase prepaid credits and check balances.
- Daily
Quality - Aggregate quality score for a single day.
- Daily
Usage - Credits consumed on a single day.
- Daily
Usage Response - Daily usage response with per-table totals.
- Deleted
Response - Response from deleting a config.
- Enrich
Category Request - Error
Body - Structured error body from the VynFi API (RFC 7807).
- Estimate
Cost Request - Request body for estimating config cost.
- Estimate
Cost Response - Response from estimating config cost.
- Estimate
Size Request - Estimate
Size Response - Extend
Session Request - Request body for extending a session with additional periods.
- File
Schema - Fingerprint
- Fingerprint synthesis resource (DS 3.0+, Team+).
- Fingerprint
Synthesis Response - Fraud
Split - Fraud
Type Split - Generate
Config Request - Config-based generation request (portal-style).
- Generate
Request - Legacy generation request (tables-based).
- Generate
Session Response - Response from generating the next period of a session.
- Generation
Session - A multi-period generation session.
- Invoice
- An invoice from Stripe.
- Job
- A generation job.
- JobAnalytics
- JobArchive
- Ergonomic wrapper around a downloaded job archive.
- JobFile
- JobFile
List - JobLinks
- Links returned with a submitted job.
- JobList
- Paginated list of jobs.
- Jobs
- Jobs resource — submit, list, get, cancel, stream, and download generation jobs.
- KeyAudit
Matter - KycCompleteness
Analysis - List
Configs Params - Parameters for listing saved configs.
- List
Jobs Params - Parameters for listing jobs.
- List
Notifications Params - Parameters for listing notifications.
- Mark
Read Request - Request body for marking notifications as read.
- Monte
Carlo Request - Multiplier
Entry - A credit multiplier entry in a cost estimate.
- Ndjson
Stream Params - Parameters for NDJSON output streaming.
- NlCompany
Request - NlConfig
Response - NlDescription
Request - Notification
- A user notification.
- Notifications
- Notifications resource — list and manage notifications.
- Optimizer
- Audit optimizer resource (VynFi API 4.1+, DS 4.1.2+, Scale+).
- Optimizer
Response - Portal
Response - Response containing a Stripe billing portal URL.
- Portfolio
Request - Prepaid
Balance Response - Prepaid credit balance with active batches.
- Prepaid
Batch - A prepaid credit batch.
- Prepaid
History Response - Prepaid credit history (includes expired batches).
- Probe
Sample - Purchase
Credits Request - Request body for purchasing a prepaid credit pack.
- Purchase
Credits Response - Response from purchasing credits (Stripe checkout URL).
- Quality
- Quality metrics resource — retrieve quality scores and trend data.
- Quality
Score - Quality score for a generated table.
- Quick
JobResponse - Response from a quick (synchronous) generation job.
- RawConfig
Request - RawConfig
Response - Resources
Request - Revoke
KeyResponse - Response from revoking an API key.
- Risk
Scope Request - Saft
Export Config - SapExport
Config - Saved
Config - A saved generation configuration.
- Scenario
- A what-if scenario comparing baseline and counterfactual generation.
- Scenario
Template - A scenario template with graph structure.
- Scenario
Template Edge - An edge in a scenario template graph.
- Scenario
Template Node - A node in a scenario template graph.
- Scenarios
- Scenarios resource — create and run what-if analysis scenarios.
- Sector
- A full sector with its tables (from GET /v1/sectors/{slug}).
- Sector
Summary - Abbreviated sector information (from GET /v1/sectors).
- Sessions
- Sessions resource — manage multi-period generation sessions.
- Size
Bucket - SseEvent
- A parsed Server-Sent Event from the job progress stream.
- Submit
JobResponse - Response from submitting an async generation job.
- Subscription
- Subscription details.
- Table
Def - A table definition within a sector.
- Table
Spec - A table specification within a legacy generation request.
- Table
Usage - Per-table usage breakdown.
- Template
- A system template for generation configs.
- Template
Pack - Template
Pack Category Content - Template
Pack Category Summary - Template
Pack Enrich Response - Template
Pack List - Template
Pack Validation - Template
Pack Validation Issue - Template
Packs - Template packs resource (VynFi API 4.1+, DS 3.2+, Team+).
- Typology
Detection - Update
ApiKey Request - Request body for updating an API key.
- Update
Config Request - Request body for updating a saved config.
- Update
Pack Request - Update
Webhook Request - Request body for updating a webhook.
- Usage
- Usage resource — credit balance and daily usage breakdown.
- Usage
Summary - Credit usage summary.
- Validate
Config Request - Request body for validating a config.
- Validate
Config Response - Response from config validation.
- Validation
Fix - A suggested fix for a validation issue.
- Validation
Issue - A validation issue (error or warning).
- Variant
Analysis - Webhook
- An existing webhook (list view).
- Webhook
Created - A newly created webhook (includes the signing secret).
- Webhook
Delivery - A single webhook delivery attempt.
- Webhook
Detail - Webhook detail with delivery history.
- Webhooks
- Webhooks resource — create, list, update, delete, and test webhooks.
Enums§
- VynFi
Error - All errors returned by the VynFi SDK.
Constants§
- SAP_
ALL_ TABLES - Full SAP superset (DS 4.3+) — master data, transactional, open/cleared items for GL/AR/AP.
- SAP_
DEFAULT_ TABLES - Default 8-table SAP set emitted when
exportFormat == "sap"without an explicittableslist.