import type { InferSchema } from '../schema-types.js'; export declare const createAccountBodySchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["ledger_id", "name", "side", "currency"]; readonly properties: { readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly code: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly name: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly side: { readonly type: "string"; readonly enum: readonly ["DEBIT", "CREDIT"]; }; readonly overdraft_policy: { readonly type: "string"; readonly enum: readonly ["ALLOW", "DISALLOW"]; }; readonly currency: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; }; }; export declare const accountResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "code", "name", "side", "overdraft_policy", "currency", "balance_minor", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly code: { readonly type: "string"; readonly nullable: true; }; readonly name: { readonly type: "string"; }; readonly side: { readonly type: "string"; readonly enum: readonly ["DEBIT", "CREDIT"]; }; readonly overdraft_policy: { readonly type: "string"; readonly enum: readonly ["ALLOW", "DISALLOW"]; }; readonly currency: { readonly type: "string"; }; readonly balance_minor: { readonly type: "string"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const accountByIdParamsSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; }; }; export declare const accountsPageResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["data", "next_cursor"]; readonly properties: { readonly data: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "code", "name", "side", "overdraft_policy", "currency", "balance_minor", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly code: { readonly type: "string"; readonly nullable: true; }; readonly name: { readonly type: "string"; }; readonly side: { readonly type: "string"; readonly enum: readonly ["DEBIT", "CREDIT"]; }; readonly overdraft_policy: { readonly type: "string"; readonly enum: readonly ["ALLOW", "DISALLOW"]; }; readonly currency: { readonly type: "string"; }; readonly balance_minor: { readonly type: "string"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; }; readonly next_cursor: { readonly type: "string"; readonly nullable: true; }; }; }; export declare const balanceAsOfQuerySchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["at"]; readonly properties: { readonly at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const balanceAsOfResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["account_id", "timestamp", "posted_minor", "inflight_debit_minor", "inflight_credit_minor", "available_minor"]; readonly properties: { readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly timestamp: { readonly type: "string"; readonly format: "date-time"; }; readonly posted_minor: { readonly type: "string"; }; readonly inflight_debit_minor: { readonly type: "string"; }; readonly inflight_credit_minor: { readonly type: "string"; }; readonly available_minor: { readonly type: "string"; }; }; }; export declare const balanceHistoryQuerySchema: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 200; readonly default: 50; }; readonly cursor: { readonly type: "string"; readonly minLength: 1; }; }; } & { readonly required: readonly ["from", "to"]; readonly properties: { readonly from: { readonly type: "string"; readonly format: "date-time"; }; readonly to: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const balanceSnapshotResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "account_id", "event_type", "source_id", "posted_minor", "inflight_debit_minor", "inflight_credit_minor", "effective_at", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly event_type: { readonly type: "string"; readonly enum: readonly ["TX_APPLIED", "HOLD_CREATED", "HOLD_COMMITTED", "HOLD_VOIDED", "ADJUSTMENT"]; }; readonly source_id: { readonly type: "string"; readonly format: "uuid"; }; readonly posted_minor: { readonly type: "string"; }; readonly inflight_debit_minor: { readonly type: "string"; }; readonly inflight_credit_minor: { readonly type: "string"; }; readonly effective_at: { readonly type: "string"; readonly format: "date-time"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const balanceHistoryResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["data", "next_cursor"]; readonly properties: { readonly data: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "account_id", "event_type", "source_id", "posted_minor", "inflight_debit_minor", "inflight_credit_minor", "effective_at", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly event_type: { readonly type: "string"; readonly enum: readonly ["TX_APPLIED", "HOLD_CREATED", "HOLD_COMMITTED", "HOLD_VOIDED", "ADJUSTMENT"]; }; readonly source_id: { readonly type: "string"; readonly format: "uuid"; }; readonly posted_minor: { readonly type: "string"; }; readonly inflight_debit_minor: { readonly type: "string"; }; readonly inflight_credit_minor: { readonly type: "string"; }; readonly effective_at: { readonly type: "string"; readonly format: "date-time"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; }; readonly next_cursor: { readonly type: "string"; readonly nullable: true; }; }; }; export declare const listAccountsQuerySchemaExtra: { readonly properties: { readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; }; }; export declare const listAccountsQuerySchema: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 200; readonly default: 50; }; readonly cursor: { readonly type: "string"; readonly minLength: 1; }; }; } & { readonly properties: { readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; }; }; export type CreateAccountRequest = InferSchema; export type AccountResponse = InferSchema; export type AccountByIdParams = InferSchema; export type ListAccountsQuery = InferSchema; export type AccountsPageResponse = InferSchema; export type BalanceAsOfQuery = InferSchema; export type BalanceAsOfResponse = InferSchema; export type BalanceHistoryQuery = InferSchema; export type BalanceSnapshotResponse = InferSchema; export type BalanceHistoryResponse = InferSchema; //# sourceMappingURL=accounts.d.ts.map