import { z } from "zod"; export declare const invoiceStatusSchema: z.ZodEnum<{ paid: "paid"; void: "void"; draft: "draft"; pending_external_allocation: "pending_external_allocation"; issued: "issued"; partially_paid: "partially_paid"; overdue: "overdue"; }>; export declare const paymentStatusSchema: z.ZodEnum<{ pending: "pending"; failed: "failed"; completed: "completed"; refunded: "refunded"; }>; export type PaymentStatus = z.infer; export declare const paymentMethodSchema: z.ZodEnum<{ credit_card: "credit_card"; debit_card: "debit_card"; cash: "cash"; wallet: "wallet"; direct_bill: "direct_bill"; travel_credit: "travel_credit"; other: "other"; bank_transfer: "bank_transfer"; cheque: "cheque"; }>; export type PaymentMethod = z.infer; export declare const creditNoteStatusSchema: z.ZodEnum<{ draft: "draft"; issued: "issued"; applied: "applied"; }>; export declare const invoiceTypeSchema: z.ZodEnum<{ invoice: "invoice"; proforma: "proforma"; credit_note: "credit_note"; }>; export declare const invoiceNumberResetStrategySchema: z.ZodEnum<{ never: "never"; annual: "annual"; monthly: "monthly"; }>; export type InvoiceNumberResetStrategy = z.infer; export declare const invoiceNumberSeriesScopeSchema: z.ZodEnum<{ invoice: "invoice"; proforma: "proforma"; credit_note: "credit_note"; }>; export type InvoiceNumberSeriesScope = z.infer; export declare const invoiceNumberSeriesRecordSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; name: z.ZodString; prefix: z.ZodString; separator: z.ZodString; padLength: z.ZodNumber; currentSequence: z.ZodNumber; resetStrategy: z.ZodEnum<{ never: "never"; annual: "annual"; monthly: "monthly"; }>; resetAt: z.ZodNullable; scope: z.ZodEnum<{ invoice: "invoice"; proforma: "proforma"; credit_note: "credit_note"; }>; isDefault: z.ZodBoolean; externalProvider: z.ZodNullable; externalConfigKey: z.ZodNullable; active: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export type InvoiceNumberSeriesRecord = z.infer; export declare const invoiceRecordSchema: z.ZodObject<{ id: z.ZodString; invoiceNumber: z.ZodString; bookingId: z.ZodString; personId: z.ZodNullable; organizationId: z.ZodNullable; invoiceType: z.ZodOptional>; status: z.ZodEnum<{ paid: "paid"; void: "void"; draft: "draft"; pending_external_allocation: "pending_external_allocation"; issued: "issued"; partially_paid: "partially_paid"; overdue: "overdue"; }>; currency: z.ZodString; subtotalCents: z.ZodNumber; taxCents: z.ZodNumber; totalCents: z.ZodNumber; paidCents: z.ZodNumber; balanceDueCents: z.ZodNumber; issueDate: z.ZodString; dueDate: z.ZodString; notes: z.ZodNullable; voidedAt: z.ZodOptional>; voidReason: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; bookingPaymentScheduleIds: z.ZodOptional>; convertedToInvoiceId: z.ZodOptional>; convertedToInvoiceNumber: z.ZodOptional>; }, z.core.$loose>; export type InvoiceRecord = z.infer; export declare const lineItemRecordSchema: z.ZodObject<{ id: z.ZodString; invoiceId: z.ZodString; description: z.ZodString; quantity: z.ZodNumber; unitPriceCents: z.ZodNumber; totalCents: z.ZodNumber; taxRate: z.ZodNullable; sortOrder: z.ZodNumber; createdAt: z.ZodString; }, z.core.$strip>; export type LineItemRecord = z.infer; export declare const paymentRecordSchema: z.ZodObject<{ id: z.ZodString; invoiceId: z.ZodString; amountCents: z.ZodNumber; currency: z.ZodString; baseCurrency: z.ZodNullable; baseAmountCents: z.ZodNullable; fxRateSetId: z.ZodOptional>; paymentMethod: z.ZodString; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; completed: "completed"; refunded: "refunded"; }>; referenceNumber: z.ZodNullable; paymentDate: z.ZodString; notes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export type PaymentRecord = z.infer; export declare const creditNoteRecordSchema: z.ZodObject<{ id: z.ZodString; creditNoteNumber: z.ZodString; invoiceId: z.ZodString; status: z.ZodEnum<{ draft: "draft"; issued: "issued"; applied: "applied"; }>; amountCents: z.ZodNumber; currency: z.ZodString; reason: z.ZodString; notes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export type CreditNoteRecord = z.infer; export declare const financeNoteRecordSchema: z.ZodObject<{ id: z.ZodString; invoiceId: z.ZodString; authorId: z.ZodString; content: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; export type FinanceNoteRecord = z.infer; export declare const supplierPaymentRecordSchema: z.ZodObject<{ id: z.ZodString; bookingId: z.ZodNullable; supplierInvoiceId: z.ZodOptional>; supplierId: z.ZodNullable; amountCents: z.ZodNumber; currency: z.ZodString; baseCurrency: z.ZodOptional>; baseAmountCents: z.ZodOptional>; fxRateSetId: z.ZodOptional>; paymentMethod: z.ZodString; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; completed: "completed"; refunded: "refunded"; }>; referenceNumber: z.ZodNullable; paymentDate: z.ZodString; notes: z.ZodOptional>; createdAt: z.ZodString; }, z.core.$strip>; export type SupplierPaymentRecord = z.infer; export declare const paymentKindSchema: z.ZodEnum<{ customer: "customer"; supplier: "supplier"; }>; export declare const unifiedPaymentRecordSchema: z.ZodObject<{ kind: z.ZodEnum<{ customer: "customer"; supplier: "supplier"; }>; id: z.ZodString; invoiceId: z.ZodNullable; invoiceNumber: z.ZodNullable; bookingId: z.ZodNullable; bookingNumber: z.ZodNullable; supplierId: z.ZodNullable; supplierName: z.ZodNullable; personId: z.ZodNullable; personName: z.ZodNullable; organizationId: z.ZodNullable; organizationName: z.ZodNullable; amountCents: z.ZodNumber; currency: z.ZodString; baseCurrency: z.ZodNullable; baseAmountCents: z.ZodNullable; paymentMethod: z.ZodString; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; completed: "completed"; refunded: "refunded"; }>; referenceNumber: z.ZodNullable; paymentDate: z.ZodString; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export type UnifiedPaymentRecord = z.infer; export declare const paymentScheduleTypeSchema: z.ZodEnum<{ other: "other"; hold: "hold"; deposit: "deposit"; installment: "installment"; balance: "balance"; }>; export declare const paymentScheduleStatusSchema: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; cancelled: "cancelled"; due: "due"; waived: "waived"; }>; export declare const bookingPaymentScheduleRecordSchema: z.ZodObject<{ id: z.ZodString; bookingId: z.ZodString; bookingItemId: z.ZodNullable; scheduleType: z.ZodEnum<{ other: "other"; hold: "hold"; deposit: "deposit"; installment: "installment"; balance: "balance"; }>; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; cancelled: "cancelled"; due: "due"; waived: "waived"; }>; dueDate: z.ZodString; currency: z.ZodString; amountCents: z.ZodNumber; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export type BookingPaymentScheduleRecord = z.infer; export declare const bookingPaymentSchedulesResponse: z.ZodObject<{ data: z.ZodArray; scheduleType: z.ZodEnum<{ other: "other"; hold: "hold"; deposit: "deposit"; installment: "installment"; balance: "balance"; }>; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; cancelled: "cancelled"; due: "due"; waived: "waived"; }>; dueDate: z.ZodString; currency: z.ZodString; amountCents: z.ZodNumber; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export declare const paymentSessionStatusSchema: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; failed: "failed"; requires_redirect: "requires_redirect"; processing: "processing"; authorized: "authorized"; cancelled: "cancelled"; }>; export type PaymentSessionStatus = z.infer; export declare const paymentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"booking">; bookingId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"invoice">; invoiceId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_payment_schedule">; bookingPaymentScheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_guarantee">; bookingGuaranteeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"flight_order">; flightOrderId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"program">; programId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"supplier_settlement">; supplierSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"channel_settlement">; channelSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_reference">; provider: z.ZodString; reference: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"legacy_order">; legacyOrderId: z.ZodString; }, z.core.$strip>], "type">; export declare const paymentProvenanceSchema: z.ZodObject<{ source: z.ZodEnum<{ other: "other"; operator: "operator"; storefront: "storefront"; customer_portal: "customer_portal"; payment_provider: "payment_provider"; supplier_channel: "supplier_channel"; migration: "migration"; }>; provider: z.ZodOptional>; reference: z.ZodOptional>; idempotencyKey: z.ZodOptional>; }, z.core.$strip>; export declare const paymentSessionRecordSchema: z.ZodPipe; bookingId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"invoice">; invoiceId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_payment_schedule">; bookingPaymentScheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_guarantee">; bookingGuaranteeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"flight_order">; flightOrderId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"program">; programId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"supplier_settlement">; supplierSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"channel_settlement">; channelSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_reference">; provider: z.ZodString; reference: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"legacy_order">; legacyOrderId: z.ZodString; }, z.core.$strip>], "type">>>; provenance: z.ZodOptional; provider: z.ZodOptional>; reference: z.ZodOptional>; idempotencyKey: z.ZodOptional>; }, z.core.$strip>>>; targetType: z.ZodString; targetId: z.ZodNullable; bookingId: z.ZodNullable; legacyOrderId: z.ZodOptional>; orderId: z.ZodOptional>; invoiceId: z.ZodNullable; bookingPaymentScheduleId: z.ZodNullable; bookingGuaranteeId: z.ZodNullable; paymentInstrumentId: z.ZodNullable; paymentAuthorizationId: z.ZodNullable; paymentCaptureId: z.ZodNullable; paymentId: z.ZodNullable; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; failed: "failed"; requires_redirect: "requires_redirect"; processing: "processing"; authorized: "authorized"; cancelled: "cancelled"; }>; provider: z.ZodNullable; providerConnectionId: z.ZodOptional>; providerSessionId: z.ZodNullable; providerPaymentId: z.ZodNullable; externalReference: z.ZodNullable; idempotencyKey: z.ZodNullable; clientReference: z.ZodNullable; currency: z.ZodString; amountCents: z.ZodNumber; paymentMethod: z.ZodNullable>; payerPersonId: z.ZodNullable; payerOrganizationId: z.ZodNullable; payerEmail: z.ZodNullable; payerName: z.ZodNullable; redirectUrl: z.ZodNullable; returnUrl: z.ZodNullable; cancelUrl: z.ZodNullable; callbackUrl: z.ZodNullable; expiresAt: z.ZodNullable; completedAt: z.ZodNullable; failedAt: z.ZodNullable; cancelledAt: z.ZodNullable; expiredAt: z.ZodNullable; failureCode: z.ZodNullable; failureMessage: z.ZodNullable; notes: z.ZodNullable; providerPayload: z.ZodNullable>; metadata: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ legacyOrderId: string | null; target: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null; provenance: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null; id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; providerConnectionId?: string | null | undefined; }, { id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; target?: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null | undefined; provenance?: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null | undefined; legacyOrderId?: string | null | undefined; orderId?: string | null | undefined; providerConnectionId?: string | null | undefined; }>>; export type PaymentSessionRecord = z.infer; export declare const paymentSessionListResponse: z.ZodObject<{ data: z.ZodArray; bookingId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"invoice">; invoiceId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_payment_schedule">; bookingPaymentScheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_guarantee">; bookingGuaranteeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"flight_order">; flightOrderId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"program">; programId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"supplier_settlement">; supplierSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"channel_settlement">; channelSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_reference">; provider: z.ZodString; reference: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"legacy_order">; legacyOrderId: z.ZodString; }, z.core.$strip>], "type">>>; provenance: z.ZodOptional; provider: z.ZodOptional>; reference: z.ZodOptional>; idempotencyKey: z.ZodOptional>; }, z.core.$strip>>>; targetType: z.ZodString; targetId: z.ZodNullable; bookingId: z.ZodNullable; legacyOrderId: z.ZodOptional>; orderId: z.ZodOptional>; invoiceId: z.ZodNullable; bookingPaymentScheduleId: z.ZodNullable; bookingGuaranteeId: z.ZodNullable; paymentInstrumentId: z.ZodNullable; paymentAuthorizationId: z.ZodNullable; paymentCaptureId: z.ZodNullable; paymentId: z.ZodNullable; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; failed: "failed"; requires_redirect: "requires_redirect"; processing: "processing"; authorized: "authorized"; cancelled: "cancelled"; }>; provider: z.ZodNullable; providerConnectionId: z.ZodOptional>; providerSessionId: z.ZodNullable; providerPaymentId: z.ZodNullable; externalReference: z.ZodNullable; idempotencyKey: z.ZodNullable; clientReference: z.ZodNullable; currency: z.ZodString; amountCents: z.ZodNumber; paymentMethod: z.ZodNullable>; payerPersonId: z.ZodNullable; payerOrganizationId: z.ZodNullable; payerEmail: z.ZodNullable; payerName: z.ZodNullable; redirectUrl: z.ZodNullable; returnUrl: z.ZodNullable; cancelUrl: z.ZodNullable; callbackUrl: z.ZodNullable; expiresAt: z.ZodNullable; completedAt: z.ZodNullable; failedAt: z.ZodNullable; cancelledAt: z.ZodNullable; expiredAt: z.ZodNullable; failureCode: z.ZodNullable; failureMessage: z.ZodNullable; notes: z.ZodNullable; providerPayload: z.ZodNullable>; metadata: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ legacyOrderId: string | null; target: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null; provenance: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null; id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; providerConnectionId?: string | null | undefined; }, { id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; target?: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null | undefined; provenance?: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null | undefined; legacyOrderId?: string | null | undefined; orderId?: string | null | undefined; providerConnectionId?: string | null | undefined; }>>>; total: z.ZodNumber; limit: z.ZodNumber; offset: z.ZodNumber; }, z.core.$strip>; export declare const paymentSessionSingleResponse: z.ZodObject<{ data: z.ZodPipe; bookingId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"invoice">; invoiceId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_payment_schedule">; bookingPaymentScheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"booking_guarantee">; bookingGuaranteeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"flight_order">; flightOrderId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"program">; programId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"supplier_settlement">; supplierSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"channel_settlement">; channelSettlementId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_reference">; provider: z.ZodString; reference: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"legacy_order">; legacyOrderId: z.ZodString; }, z.core.$strip>], "type">>>; provenance: z.ZodOptional; provider: z.ZodOptional>; reference: z.ZodOptional>; idempotencyKey: z.ZodOptional>; }, z.core.$strip>>>; targetType: z.ZodString; targetId: z.ZodNullable; bookingId: z.ZodNullable; legacyOrderId: z.ZodOptional>; orderId: z.ZodOptional>; invoiceId: z.ZodNullable; bookingPaymentScheduleId: z.ZodNullable; bookingGuaranteeId: z.ZodNullable; paymentInstrumentId: z.ZodNullable; paymentAuthorizationId: z.ZodNullable; paymentCaptureId: z.ZodNullable; paymentId: z.ZodNullable; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; failed: "failed"; requires_redirect: "requires_redirect"; processing: "processing"; authorized: "authorized"; cancelled: "cancelled"; }>; provider: z.ZodNullable; providerConnectionId: z.ZodOptional>; providerSessionId: z.ZodNullable; providerPaymentId: z.ZodNullable; externalReference: z.ZodNullable; idempotencyKey: z.ZodNullable; clientReference: z.ZodNullable; currency: z.ZodString; amountCents: z.ZodNumber; paymentMethod: z.ZodNullable>; payerPersonId: z.ZodNullable; payerOrganizationId: z.ZodNullable; payerEmail: z.ZodNullable; payerName: z.ZodNullable; redirectUrl: z.ZodNullable; returnUrl: z.ZodNullable; cancelUrl: z.ZodNullable; callbackUrl: z.ZodNullable; expiresAt: z.ZodNullable; completedAt: z.ZodNullable; failedAt: z.ZodNullable; cancelledAt: z.ZodNullable; expiredAt: z.ZodNullable; failureCode: z.ZodNullable; failureMessage: z.ZodNullable; notes: z.ZodNullable; providerPayload: z.ZodNullable>; metadata: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ legacyOrderId: string | null; target: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null; provenance: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null; id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; providerConnectionId?: string | null | undefined; }, { id: string; targetType: string; targetId: string | null; bookingId: string | null; invoiceId: string | null; bookingPaymentScheduleId: string | null; bookingGuaranteeId: string | null; paymentInstrumentId: string | null; paymentAuthorizationId: string | null; paymentCaptureId: string | null; paymentId: string | null; status: "expired" | "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled"; provider: string | null; providerSessionId: string | null; providerPaymentId: string | null; externalReference: string | null; idempotencyKey: string | null; clientReference: string | null; currency: string; amountCents: number; paymentMethod: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_transfer" | "cheque" | null; payerPersonId: string | null; payerOrganizationId: string | null; payerEmail: string | null; payerName: string | null; redirectUrl: string | null; returnUrl: string | null; cancelUrl: string | null; callbackUrl: string | null; expiresAt: string | null; completedAt: string | null; failedAt: string | null; cancelledAt: string | null; expiredAt: string | null; failureCode: string | null; failureMessage: string | null; notes: string | null; providerPayload: Record | null; metadata: Record | null; createdAt: string; updatedAt: string; target?: { type: "booking"; bookingId: string; } | { type: "invoice"; invoiceId: string; } | { type: "booking_payment_schedule"; bookingPaymentScheduleId: string; } | { type: "booking_guarantee"; bookingGuaranteeId: string; } | { type: "flight_order"; flightOrderId: string; } | { type: "program"; programId: string; } | { type: "supplier_settlement"; supplierSettlementId: string; } | { type: "channel_settlement"; channelSettlementId: string; } | { type: "provider_reference"; provider: string; reference: string; } | { type: "legacy_order"; legacyOrderId: string; } | null | undefined; provenance?: { source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration"; provider?: string | null | undefined; reference?: string | null | undefined; idempotencyKey?: string | null | undefined; } | null | undefined; legacyOrderId?: string | null | undefined; orderId?: string | null | undefined; providerConnectionId?: string | null | undefined; }>>; }, z.core.$strip>; export declare const financeDepositRuleSchema: z.ZodObject<{ kind: z.ZodEnum<{ none: "none"; percent: "percent"; fixed_cents: "fixed_cents"; }>; percent: z.ZodOptional; amountCents: z.ZodOptional; }, z.core.$strip>; export declare const financePaymentPolicySchema: z.ZodObject<{ deposit: z.ZodObject<{ kind: z.ZodEnum<{ none: "none"; percent: "percent"; fixed_cents: "fixed_cents"; }>; percent: z.ZodOptional; amountCents: z.ZodOptional; }, z.core.$strip>; minDaysBeforeDepartureForDeposit: z.ZodNumber; balanceDueDaysBeforeDeparture: z.ZodNumber; balanceDueMinDaysFromNow: z.ZodNumber; }, z.core.$strip>; export type FinancePaymentPolicy = z.infer; export declare const financePaymentPolicySourceSchema: z.ZodEnum<{ booking: "booking"; supplier: "supplier"; listing: "listing"; category: "category"; operator_default: "operator_default"; }>; export type FinancePaymentPolicySource = z.infer; export declare const regenerateBookingPaymentScheduleResultSchema: z.ZodObject<{ schedule: z.ZodArray; scheduleType: z.ZodEnum<{ other: "other"; hold: "hold"; deposit: "deposit"; installment: "installment"; balance: "balance"; }>; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; cancelled: "cancelled"; due: "due"; waived: "waived"; }>; dueDate: z.ZodString; currency: z.ZodString; amountCents: z.ZodNumber; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; bookingPolicy: z.ZodNullable; percent: z.ZodOptional; amountCents: z.ZodOptional; }, z.core.$strip>; minDaysBeforeDepartureForDeposit: z.ZodNumber; balanceDueDaysBeforeDeparture: z.ZodNumber; balanceDueMinDaysFromNow: z.ZodNumber; }, z.core.$strip>>; cascadeSource: z.ZodEnum<{ booking: "booking"; supplier: "supplier"; listing: "listing"; category: "category"; operator_default: "operator_default"; }>; }, z.core.$strip>; export type RegenerateBookingPaymentScheduleResult = z.infer; export declare const regenerateBookingPaymentScheduleResponse: z.ZodObject<{ data: z.ZodObject<{ schedule: z.ZodArray; scheduleType: z.ZodEnum<{ other: "other"; hold: "hold"; deposit: "deposit"; installment: "installment"; balance: "balance"; }>; status: z.ZodEnum<{ expired: "expired"; paid: "paid"; pending: "pending"; cancelled: "cancelled"; due: "due"; waived: "waived"; }>; dueDate: z.ZodString; currency: z.ZodString; amountCents: z.ZodNumber; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; bookingPolicy: z.ZodNullable; percent: z.ZodOptional; amountCents: z.ZodOptional; }, z.core.$strip>; minDaysBeforeDepartureForDeposit: z.ZodNumber; balanceDueDaysBeforeDeparture: z.ZodNumber; balanceDueMinDaysFromNow: z.ZodNumber; }, z.core.$strip>>; cascadeSource: z.ZodEnum<{ booking: "booking"; supplier: "supplier"; listing: "listing"; category: "category"; operator_default: "operator_default"; }>; }, z.core.$strip>; }, z.core.$strip>; export declare const invoiceFxRateRecordSchema: z.ZodObject<{ baseCurrency: z.ZodString; quoteCurrency: z.ZodString; date: z.ZodOptional; rate: z.ZodNumber; source: z.ZodOptional; quotedAt: z.ZodOptional; validUntil: z.ZodOptional; fxCommissionBps: z.ZodDefault; effectiveRate: z.ZodNumber; fxCommissionInvoiceMention: z.ZodOptional; }, z.core.$strip>; export type InvoiceFxRateRecord = z.infer; export declare const invoiceFxRateResponse: z.ZodObject<{ data: z.ZodObject<{ baseCurrency: z.ZodString; quoteCurrency: z.ZodString; date: z.ZodOptional; rate: z.ZodNumber; source: z.ZodOptional; quotedAt: z.ZodOptional; validUntil: z.ZodOptional; fxCommissionBps: z.ZodDefault; effectiveRate: z.ZodNumber; fxCommissionInvoiceMention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const guaranteeTypeSchema: z.ZodEnum<{ credit_card: "credit_card"; other: "other"; bank_transfer: "bank_transfer"; deposit: "deposit"; preauth: "preauth"; card_on_file: "card_on_file"; voucher: "voucher"; agency_letter: "agency_letter"; }>; export declare const guaranteeStatusSchema: z.ZodEnum<{ expired: "expired"; active: "active"; pending: "pending"; failed: "failed"; cancelled: "cancelled"; released: "released"; }>; export declare const bookingGuaranteeRecordSchema: z.ZodObject<{ id: z.ZodString; bookingId: z.ZodString; bookingPaymentScheduleId: z.ZodNullable; bookingItemId: z.ZodNullable; guaranteeType: z.ZodEnum<{ credit_card: "credit_card"; other: "other"; bank_transfer: "bank_transfer"; deposit: "deposit"; preauth: "preauth"; card_on_file: "card_on_file"; voucher: "voucher"; agency_letter: "agency_letter"; }>; status: z.ZodEnum<{ expired: "expired"; active: "active"; pending: "pending"; failed: "failed"; cancelled: "cancelled"; released: "released"; }>; currency: z.ZodNullable; amountCents: z.ZodNullable; provider: z.ZodNullable; referenceNumber: z.ZodNullable; guaranteedAt: z.ZodNullable; expiresAt: z.ZodNullable; releasedAt: z.ZodNullable; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; export type BookingGuaranteeRecord = z.infer; export declare const bookingGuaranteesResponse: z.ZodObject<{ data: z.ZodArray; bookingItemId: z.ZodNullable; guaranteeType: z.ZodEnum<{ credit_card: "credit_card"; other: "other"; bank_transfer: "bank_transfer"; deposit: "deposit"; preauth: "preauth"; card_on_file: "card_on_file"; voucher: "voucher"; agency_letter: "agency_letter"; }>; status: z.ZodEnum<{ expired: "expired"; active: "active"; pending: "pending"; failed: "failed"; cancelled: "cancelled"; released: "released"; }>; currency: z.ZodNullable; amountCents: z.ZodNullable; provider: z.ZodNullable; referenceNumber: z.ZodNullable; guaranteedAt: z.ZodNullable; expiresAt: z.ZodNullable; releasedAt: z.ZodNullable; notes: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export declare const invoiceAttachmentRecordSchema: z.ZodObject<{ id: z.ZodString; invoiceId: z.ZodString; kind: z.ZodString; name: z.ZodString; mimeType: z.ZodNullable; fileSize: z.ZodNullable; storageKey: z.ZodNullable; checksum: z.ZodNullable; metadata: z.ZodNullable>; createdAt: z.ZodString; }, z.core.$strip>; export type InvoiceAttachmentRecord = z.infer;