import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type JournalLine4 = {};
export type JournalLineSourceValue = string | number | boolean | JournalLine4 | Array<any>;
/**
 * Type of account
 */
export declare enum JournalLineValue {
    Asset = "asset",
    Liability = "liability",
    Equity = "equity",
    Revenue = "revenue",
    Expense = "expense",
    UnmappedValue = "unmapped_value"
}
/**
 * Type of account
 */
export type JournalLineValueOpen = OpenEnum<typeof JournalLineValue>;
/**
 * Type of the account
 */
export type JournalLineAccountType = {
    sourceValue?: string | number | boolean | JournalLine4 | Array<any> | null | undefined;
    /**
     * Type of account
     */
    value?: JournalLineValueOpen | null | undefined;
};
export type JournalLineSchemas4 = {};
export type JournalLineSchemasSourceValue = string | number | boolean | JournalLineSchemas4 | Array<any>;
/**
 * Default currency for the company
 */
export declare enum JournalLineSchemasValue {
    Aed = "AED",
    Afn = "AFN",
    All = "ALL",
    Amd = "AMD",
    Ang = "ANG",
    Aoa = "AOA",
    Ars = "ARS",
    Aud = "AUD",
    Awg = "AWG",
    Azn = "AZN",
    Bam = "BAM",
    Bbd = "BBD",
    Bdt = "BDT",
    Bgn = "BGN",
    Bhd = "BHD",
    Bif = "BIF",
    Bmd = "BMD",
    Bnd = "BND",
    Bob = "BOB",
    Brl = "BRL",
    Bsd = "BSD",
    Btn = "BTN",
    Bwp = "BWP",
    Byn = "BYN",
    Bzd = "BZD",
    Cad = "CAD",
    Cdf = "CDF",
    Chf = "CHF",
    Clp = "CLP",
    Cny = "CNY",
    Cop = "COP",
    Crc = "CRC",
    Cuc = "CUC",
    Cup = "CUP",
    Cve = "CVE",
    Czk = "CZK",
    Djf = "DJF",
    Dkk = "DKK",
    Dop = "DOP",
    Dzd = "DZD",
    Egp = "EGP",
    Ern = "ERN",
    Etb = "ETB",
    Eur = "EUR",
    Fjd = "FJD",
    Fkp = "FKP",
    Gbp = "GBP",
    Gel = "GEL",
    Ghs = "GHS",
    Gip = "GIP",
    Gmd = "GMD",
    Gnf = "GNF",
    Gtq = "GTQ",
    Gyd = "GYD",
    Hkd = "HKD",
    Hnl = "HNL",
    Hrk = "HRK",
    Htg = "HTG",
    Huf = "HUF",
    Idr = "IDR",
    Ils = "ILS",
    Inr = "INR",
    Iqd = "IQD",
    Irr = "IRR",
    Isk = "ISK",
    Jmd = "JMD",
    Jod = "JOD",
    Jpy = "JPY",
    Kes = "KES",
    Kgs = "KGS",
    Khr = "KHR",
    Kmf = "KMF",
    Kpw = "KPW",
    Krw = "KRW",
    Kwd = "KWD",
    Kyd = "KYD",
    Kzt = "KZT",
    Lak = "LAK",
    Lbp = "LBP",
    Lkr = "LKR",
    Lrd = "LRD",
    Lsl = "LSL",
    Lyd = "LYD",
    Mad = "MAD",
    Mdl = "MDL",
    Mga = "MGA",
    Mkd = "MKD",
    Mmk = "MMK",
    Mnt = "MNT",
    Mop = "MOP",
    Mru = "MRU",
    Mur = "MUR",
    Mvr = "MVR",
    Mwk = "MWK",
    Mxn = "MXN",
    Myr = "MYR",
    Mzn = "MZN",
    Nad = "NAD",
    Ngn = "NGN",
    Nio = "NIO",
    Nok = "NOK",
    Npr = "NPR",
    Nzd = "NZD",
    Omr = "OMR",
    Pab = "PAB",
    Pen = "PEN",
    Pgk = "PGK",
    Php = "PHP",
    Pkr = "PKR",
    Pln = "PLN",
    Pyg = "PYG",
    Qar = "QAR",
    Ron = "RON",
    Rsd = "RSD",
    Rub = "RUB",
    Rwf = "RWF",
    Sar = "SAR",
    Sbd = "SBD",
    Scr = "SCR",
    Sdg = "SDG",
    Sek = "SEK",
    Sgd = "SGD",
    Shp = "SHP",
    Sll = "SLL",
    Sos = "SOS",
    Srd = "SRD",
    Ssp = "SSP",
    Stn = "STN",
    Syp = "SYP",
    Szl = "SZL",
    Thb = "THB",
    Tjs = "TJS",
    Tmt = "TMT",
    Tnd = "TND",
    Top = "TOP",
    Try = "TRY",
    Ttd = "TTD",
    Twd = "TWD",
    Tzs = "TZS",
    Uah = "UAH",
    Ugx = "UGX",
    Usd = "USD",
    Uyu = "UYU",
    Uzs = "UZS",
    Ves = "VES",
    Vnd = "VND",
    Vuv = "VUV",
    Wst = "WST",
    Xaf = "XAF",
    Xcd = "XCD",
    Xdr = "XDR",
    Xof = "XOF",
    Xpf = "XPF",
    Yer = "YER",
    Zar = "ZAR",
    Zmw = "ZMW",
    Zwl = "ZWL",
    UnmappedValue = "unmapped_value"
}
/**
 * Default currency for the company
 */
export type JournalLineSchemasValueOpen = OpenEnum<typeof JournalLineSchemasValue>;
/**
 * Currency code for this line
 */
export type JournalLineCurrencyCode = {
    sourceValue?: string | number | boolean | JournalLineSchemas4 | Array<any> | null | undefined;
    /**
     * Default currency for the company
     */
    value?: JournalLineSchemasValueOpen | null | undefined;
};
export type JournalLine = {
    /**
     * ID of the ledger account this line references
     */
    accountId?: string | null | undefined;
    /**
     * Type of the account
     */
    accountType?: JournalLineAccountType | null | undefined;
    /**
     * Amount of the journal line in minor units, e.g. 10010 for 100.10 USD. Positive for debit, negative for credit
     */
    amount?: number | null | undefined;
    /**
     * Currency code for this line
     */
    currencyCode?: JournalLineCurrencyCode | null | undefined;
    /**
     * Description of the journal line
     */
    description?: string | null | undefined;
    /**
     * Exchange rate to company base currency
     */
    exchangeRate?: number | null | undefined;
    /**
     * Unique identifier for the journal line
     */
    id?: string | null | undefined;
    /**
     * Tax amount of the line in minor units, e.g. 10010 for 100.10 USD
     */
    taxAmount?: number | null | undefined;
    /**
     * Tax rate percentage
     */
    taxRatePercentage?: number | null | undefined;
};
/** @internal */
export declare const JournalLine4$inboundSchema: z.ZodType<JournalLine4, z.ZodTypeDef, unknown>;
export declare function journalLine4FromJSON(jsonString: string): SafeParseResult<JournalLine4, SDKValidationError>;
/** @internal */
export declare const JournalLineSourceValue$inboundSchema: z.ZodType<JournalLineSourceValue, z.ZodTypeDef, unknown>;
export declare function journalLineSourceValueFromJSON(jsonString: string): SafeParseResult<JournalLineSourceValue, SDKValidationError>;
/** @internal */
export declare const JournalLineValue$inboundSchema: z.ZodType<JournalLineValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const JournalLineAccountType$inboundSchema: z.ZodType<JournalLineAccountType, z.ZodTypeDef, unknown>;
export declare function journalLineAccountTypeFromJSON(jsonString: string): SafeParseResult<JournalLineAccountType, SDKValidationError>;
/** @internal */
export declare const JournalLineSchemas4$inboundSchema: z.ZodType<JournalLineSchemas4, z.ZodTypeDef, unknown>;
export declare function journalLineSchemas4FromJSON(jsonString: string): SafeParseResult<JournalLineSchemas4, SDKValidationError>;
/** @internal */
export declare const JournalLineSchemasSourceValue$inboundSchema: z.ZodType<JournalLineSchemasSourceValue, z.ZodTypeDef, unknown>;
export declare function journalLineSchemasSourceValueFromJSON(jsonString: string): SafeParseResult<JournalLineSchemasSourceValue, SDKValidationError>;
/** @internal */
export declare const JournalLineSchemasValue$inboundSchema: z.ZodType<JournalLineSchemasValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const JournalLineCurrencyCode$inboundSchema: z.ZodType<JournalLineCurrencyCode, z.ZodTypeDef, unknown>;
export declare function journalLineCurrencyCodeFromJSON(jsonString: string): SafeParseResult<JournalLineCurrencyCode, SDKValidationError>;
/** @internal */
export declare const JournalLine$inboundSchema: z.ZodType<JournalLine, z.ZodTypeDef, unknown>;
export declare function journalLineFromJSON(jsonString: string): SafeParseResult<JournalLine, SDKValidationError>;
//# sourceMappingURL=journalline.d.ts.map