import type { InferSchema } from '../schema-types.js'; export declare const reconCriterionRequestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["field", "operator"]; readonly properties: { readonly field: { readonly type: "string"; readonly enum: readonly ["amount", "currency", "date", "reference", "description"]; }; readonly operator: { readonly type: "string"; readonly enum: readonly ["equals", "contains"]; }; readonly amount_tolerance_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly date_tolerance_seconds: { readonly type: "integer"; readonly minimum: 0; }; }; }; export declare const createReconRuleRequestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name", "criteria"]; readonly properties: { readonly name: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly description: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly criteria: { readonly type: "array"; readonly minItems: 1; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["field", "operator"]; readonly properties: { readonly field: { readonly type: "string"; readonly enum: readonly ["amount", "currency", "date", "reference", "description"]; }; readonly operator: { readonly type: "string"; readonly enum: readonly ["equals", "contains"]; }; readonly amount_tolerance_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly date_tolerance_seconds: { readonly type: "integer"; readonly minimum: 0; }; }; }; }; }; }; export declare const reconRecordRequestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "amount_minor", "currency", "reference", "date"]; readonly properties: { readonly id: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly currency: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly reference: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly description: { readonly nullable: true; readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly date: { readonly type: "string"; readonly format: "date-time"; }; readonly raw: { readonly type: "object"; readonly nullable: true; readonly additionalProperties: true; }; }; }; export declare const ingestReconRecordsRequestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["source", "records"]; readonly properties: { readonly source: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly records: { readonly type: "array"; readonly minItems: 1; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "amount_minor", "currency", "reference", "date"]; readonly properties: { readonly id: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly currency: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly reference: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly description: { readonly nullable: true; readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly date: { readonly type: "string"; readonly format: "date-time"; }; readonly raw: { readonly type: "object"; readonly nullable: true; readonly additionalProperties: true; }; }; }; }; }; }; export declare const runReconRequestSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["ledger_id", "upload_id", "strategy", "matching_rule_ids"]; readonly properties: { readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly upload_id: { readonly type: "string"; readonly format: "uuid"; }; readonly strategy: { readonly type: "string"; readonly enum: readonly ["one_to_one"]; }; readonly matching_rule_ids: { readonly type: "array"; readonly minItems: 1; readonly items: { readonly type: "string"; readonly format: "uuid"; }; }; readonly dry_run: { readonly type: "boolean"; }; }; }; export declare const reconciliationRunByIdParamsSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; }; }; export declare const reconRuleResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "name", "description", "criteria", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; readonly nullable: true; }; readonly criteria: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["field", "operator"]; readonly properties: { readonly field: { readonly type: "string"; readonly enum: readonly ["amount", "currency", "date", "reference", "description"]; }; readonly operator: { readonly type: "string"; readonly enum: readonly ["equals", "contains"]; }; readonly amount_tolerance_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly date_tolerance_seconds: { readonly type: "integer"; readonly minimum: 0; }; }; }; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const reconRulesListResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["data"]; readonly properties: { readonly data: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "name", "description", "criteria", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; readonly nullable: true; }; readonly criteria: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["field", "operator"]; readonly properties: { readonly field: { readonly type: "string"; readonly enum: readonly ["amount", "currency", "date", "reference", "description"]; }; readonly operator: { readonly type: "string"; readonly enum: readonly ["equals", "contains"]; }; readonly amount_tolerance_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly date_tolerance_seconds: { readonly type: "integer"; readonly minimum: 0; }; }; }; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; }; }; }; export declare const reconUploadResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["upload_id", "tenant_id", "source", "record_count", "created_at"]; readonly properties: { readonly upload_id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly source: { readonly type: "string"; }; readonly record_count: { readonly type: "integer"; readonly minimum: 0; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const reconResultResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "run_id", "external_record_id", "external_id", "transaction_id", "status", "reason", "candidate_transaction_ids", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly run_id: { readonly type: "string"; readonly format: "uuid"; }; readonly external_record_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; readonly external_id: { readonly type: "string"; readonly nullable: true; }; readonly transaction_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; readonly status: { readonly type: "string"; readonly enum: readonly ["matched", "unmatched_external", "unmatched_internal", "mismatched", "conflict"]; }; readonly reason: { readonly type: "string"; }; readonly candidate_transaction_ids: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "uuid"; }; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const reconRunResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "upload_id", "strategy", "status", "dry_run", "matched_count", "unmatched_external_count", "unmatched_internal_count", "mismatched_count", "conflict_count", "started_at", "completed_at", "results"]; 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 upload_id: { readonly type: "string"; readonly format: "uuid"; }; readonly strategy: { readonly type: "string"; readonly enum: readonly ["one_to_one"]; }; readonly status: { readonly type: "string"; readonly enum: readonly ["pending", "running", "completed", "failed"]; }; readonly dry_run: { readonly type: "boolean"; }; readonly matched_count: { readonly type: "integer"; readonly minimum: 0; }; readonly unmatched_external_count: { readonly type: "integer"; readonly minimum: 0; }; readonly unmatched_internal_count: { readonly type: "integer"; readonly minimum: 0; }; readonly mismatched_count: { readonly type: "integer"; readonly minimum: 0; }; readonly conflict_count: { readonly type: "integer"; readonly minimum: 0; }; readonly started_at: { readonly type: "string"; readonly format: "date-time"; }; readonly completed_at: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly results: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "run_id", "external_record_id", "external_id", "transaction_id", "status", "reason", "candidate_transaction_ids", "created_at"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly run_id: { readonly type: "string"; readonly format: "uuid"; }; readonly external_record_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; readonly external_id: { readonly type: "string"; readonly nullable: true; }; readonly transaction_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; readonly status: { readonly type: "string"; readonly enum: readonly ["matched", "unmatched_external", "unmatched_internal", "mismatched", "conflict"]; }; readonly reason: { readonly type: "string"; }; readonly candidate_transaction_ids: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "uuid"; }; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; }; }; }; export type ReconCriterionRequest = InferSchema; export type CreateReconRuleRequest = InferSchema; export type ReconRuleResponse = InferSchema; export type ReconRulesListResponse = InferSchema; export type ReconRecordRequest = InferSchema; export type IngestReconRecordsRequest = InferSchema; export type ReconUploadResponse = InferSchema; export type RunReconRequest = InferSchema; export type ReconResultResponse = InferSchema; export type ReconRunResponse = InferSchema; export type ReconRunByIdParams = InferSchema; //# sourceMappingURL=reconciliation.d.ts.map