@swan-io/shared-business 12.1.0 → 12.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/shared-business",
3
- "version": "12.1.0",
3
+ "version": "12.2.1",
4
4
  "engines": {
5
5
  "node": "^22.12.0",
6
6
  "pnpm": "^10.2.0"
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "peerDependencies": {
29
- "@swan-io/lake": "12.1.0"
29
+ "@swan-io/lake": "12.2.1"
30
30
  },
31
31
  "dependencies": {
32
32
  "@formatjs/intl": "^3.1.6",
@@ -52,6 +52,6 @@
52
52
  "@types/react-native": "^0.72.8",
53
53
  "jsdom": "^26.1.0",
54
54
  "vitest": "^2.1.8",
55
- "@swan-io/lake": "12.1.0"
55
+ "@swan-io/lake": "12.2.1"
56
56
  }
57
57
  }
@@ -0,0 +1,46 @@
1
+ import { StyleProp, ViewStyle } from "react-native";
2
+ import { CountryCCA3 } from "../constants/countries";
3
+ export type TransactionType = "SepaCreditTransferIn" | "SepaCreditTransferOut" | "SepaInstantCreditTransferIn" | "SepaInstantCreditTransferOut" | "InternalCreditTransferIn" | "InternalCreditTransferOut" | "InternationalCreditTransferIn" | "InternationalCreditTransferOut" | "InternalCreditTransferOutReturn" | "InternalCreditTransferOutRecall" | "InternalCreditTransferInReturn" | "InternalCreditTransferInRecall" | "SepaCreditTransferOutReturn" | "SepaInstantCreditTransferOutRecall" | "SepaInstantCreditTransferInRecall" | "SepaCreditTransferOutRecall" | "SepaCreditTransferInReturn" | "SepaCreditTransferInRecall" | "FeesOut" | "FeesIn" | "SepaDirectDebitIn" | "SepaDirectDebitInReturn" | "SepaDirectDebitInReversal" | "SepaDirectDebitOut" | "SepaDirectDebitOutReturn" | "SepaDirectDebitOutReversal" | "CardOutAuthorization" | "CardOutDebit" | "CardOutDebitReversal" | "CardOutCredit" | "CardOutCreditReversal" | "InternalDirectDebitIn" | "InternalDirectDebitInReturn" | "InternalDirectDebitOut" | "InternalDirectDebitOutReturn" | "CheckIn" | "CheckInReturn" | "InternationalCreditTransferInReturn" | "InternationalCreditTransferOutReturn" | "CardInCredit" | "CardInChargeback" | "CardInChargebackReversal";
4
+ type AddressInfo = {
5
+ addressLine1: string;
6
+ addressLine2?: string;
7
+ city: string;
8
+ postalCode: string;
9
+ state?: string;
10
+ country: CountryCCA3;
11
+ };
12
+ type Amount = {
13
+ value: string;
14
+ currency: string;
15
+ };
16
+ type Transaction = {
17
+ transactionId: string;
18
+ transactionLabel: string;
19
+ transactionDate: string;
20
+ transactionType: TransactionType;
21
+ transactionSide: "Credit" | "Debit";
22
+ transactionAmount: Amount;
23
+ };
24
+ type AccountStatementV1Props = {
25
+ version: "v1";
26
+ partnerLogoUrl?: string;
27
+ style?: StyleProp<ViewStyle>;
28
+ accountHolderType: "Individual" | "Company";
29
+ accountHolderName: string;
30
+ accountHolderAddress: AddressInfo;
31
+ iban: string;
32
+ bic: string;
33
+ openingDate: string;
34
+ closingDate: string;
35
+ openingBalance: Amount;
36
+ transactions: Transaction[];
37
+ totalsCredit: Amount;
38
+ totalsDebit: Amount;
39
+ closingBalance: Amount;
40
+ feesDebit: Amount;
41
+ feesCredit: Amount;
42
+ };
43
+ export declare const AccountStatementV1: ({ partnerLogoUrl, style, accountHolderType, accountHolderName, accountHolderAddress, iban, bic, openingDate, closingDate, openingBalance, transactions, feesDebit, feesCredit, totalsCredit, totalsDebit, closingBalance, }: AccountStatementV1Props) => import("react/jsx-runtime").JSX.Element;
44
+ export type AccountStatementProps = AccountStatementV1Props;
45
+ export declare const AccountStatement: (props: AccountStatementProps) => import("react/jsx-runtime").JSX.Element;
46
+ export {};
@@ -0,0 +1,117 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Box } from "@swan-io/lake/src/components/Box";
3
+ import { Separator } from "@swan-io/lake/src/components/Separator";
4
+ import { Space } from "@swan-io/lake/src/components/Space";
5
+ import { SwanLogo } from "@swan-io/lake/src/components/SwanLogo";
6
+ import { colors, fonts, interFontStyle, spacings } from "@swan-io/lake/src/constants/design";
7
+ import { isNotNullish, isNotNullishOrEmpty } from "@swan-io/lake/src/utils/nullish";
8
+ import { StyleSheet, Text } from "react-native";
9
+ import { match } from "ts-pattern";
10
+ import { getCountryName } from "../constants/countries";
11
+ import { formatCurrencyIso, t } from "../utils/i18n";
12
+ const LOGO_MAX_HEIGHT = 24;
13
+ const LOGO_MAX_WIDTH = 150;
14
+ const getTextStyle = (type, fontSize) => ({
15
+ ...(type === "mono" ? { fontFamily: fonts.iban } : interFontStyle),
16
+ color: colors.gray[900],
17
+ fontSize,
18
+ lineHeight: fontSize * 1.25,
19
+ fontWeight: "400",
20
+ });
21
+ const styles = StyleSheet.create({
22
+ container: {
23
+ width: 793,
24
+ padding: 56,
25
+ },
26
+ partnershipText: {
27
+ ...getTextStyle("sans", 14),
28
+ color: colors.gray[500],
29
+ },
30
+ pageTitle: {
31
+ ...getTextStyle("sans", 20),
32
+ color: colors.swan[500],
33
+ fontWeight: "600",
34
+ },
35
+ sectionTitle: {
36
+ ...getTextStyle("sans", 14),
37
+ color: colors.swan[500],
38
+ fontWeight: "600",
39
+ },
40
+ totalAmount: {
41
+ ...getTextStyle("sans", 20),
42
+ fontWeight: "600",
43
+ },
44
+ titleColumn: {
45
+ ...getTextStyle("sans", 14),
46
+ fontWeight: "600",
47
+ paddingVertical: spacings[4],
48
+ minWidth: spacings[96],
49
+ },
50
+ openingBalanceText: {
51
+ ...getTextStyle("sans", 13),
52
+ textAlign: "right",
53
+ },
54
+ textColumn: {
55
+ paddingVertical: spacings[8],
56
+ ...getTextStyle("sans", 13),
57
+ },
58
+ text: {
59
+ ...getTextStyle("sans", 14),
60
+ },
61
+ row: {
62
+ textAlign: "right",
63
+ paddingVertical: spacings[4],
64
+ fontWeight: "600",
65
+ width: "20%",
66
+ },
67
+ closingBalanceRow: {
68
+ ...getTextStyle("sans", 14),
69
+ backgroundColor: colors.gray[50],
70
+ width: "50%",
71
+ },
72
+ footer: {
73
+ ...getTextStyle("sans", 10),
74
+ color: colors.gray[500],
75
+ fontWeight: "300",
76
+ },
77
+ defaultLogo: {
78
+ height: LOGO_MAX_HEIGHT,
79
+ width: (45 / 10) * LOGO_MAX_HEIGHT,
80
+ },
81
+ swanLogo: {
82
+ height: 8,
83
+ width: (45 / 10) * 8,
84
+ position: "relative",
85
+ top: 0.5,
86
+ },
87
+ });
88
+ const Title = ({ text, align = "left", style, }) => (_jsx(Text, { style: [
89
+ styles.titleColumn,
90
+ style,
91
+ {
92
+ textAlign: align,
93
+ },
94
+ ], children: text }));
95
+ const translateTransaction = (transaction) => {
96
+ return match(transaction)
97
+ .with("CardInChargeback", "CardInChargebackReversal", "CardInCredit", "CardOutAuthorization", "CardOutCredit", "CardOutCreditReversal", "CardOutDebit", "CardOutDebitReversal", () => t("accountStatement.card"))
98
+ .with("CheckIn", "CheckInReturn", () => t("accountStatement.check"))
99
+ .with("FeesIn", "FeesOut", () => t("accountStatement.fees"))
100
+ .with("SepaCreditTransferIn", "SepaCreditTransferOut", "SepaInstantCreditTransferIn", "SepaInstantCreditTransferOut", "InternalCreditTransferIn", "InternalCreditTransferOut", "InternationalCreditTransferIn", "InternationalCreditTransferOut", "InternalCreditTransferOutReturn", "InternalCreditTransferOutRecall", "InternalCreditTransferInReturn", "InternalCreditTransferInRecall", "SepaCreditTransferOutReturn", "SepaInstantCreditTransferOutRecall", "SepaInstantCreditTransferInRecall", "SepaCreditTransferOutRecall", "SepaCreditTransferInReturn", "SepaCreditTransferInRecall", "InternationalCreditTransferInReturn", "InternationalCreditTransferOutReturn", () => t("accountStatement.creditTransfer"))
101
+ .with("SepaDirectDebitIn", "SepaDirectDebitInReturn", "SepaDirectDebitInReversal", "SepaDirectDebitOut", "SepaDirectDebitOutReturn", "SepaDirectDebitOutReversal", "InternalDirectDebitIn", "InternalDirectDebitInReturn", "InternalDirectDebitOut", "InternalDirectDebitOutReturn", () => t("accountStatement.directDebit"))
102
+ .exhaustive();
103
+ };
104
+ const logoStyle = {
105
+ height: LOGO_MAX_HEIGHT,
106
+ maxWidth: LOGO_MAX_WIDTH,
107
+ objectFit: "contain",
108
+ objectPosition: "left",
109
+ };
110
+ export const AccountStatementV1 = ({ partnerLogoUrl, style, accountHolderType, accountHolderName, accountHolderAddress, iban, bic, openingDate, closingDate, openingBalance, transactions, feesDebit, feesCredit, totalsCredit, totalsDebit, closingBalance, }) => {
111
+ return (_jsxs(Box, { style: [styles.container, style], direction: "column", justifyContent: "spaceBetween", children: [_jsxs(Box, { children: [_jsx(Box, { direction: "row", justifyContent: "spaceBetween", children: _jsxs(Box, { direction: "row", alignItems: "center", children: [isNotNullishOrEmpty(partnerLogoUrl) ? (_jsx("img", { src: partnerLogoUrl, style: logoStyle })) : (_jsx(SwanLogo, { style: styles.defaultLogo })), _jsx(Separator, { horizontal: true, space: 8 }), _jsx(Text, { style: styles.partnershipText, children: t("accountStatement.partnership") }), _jsx(Space, { width: 4 }), _jsx(SwanLogo, { color: colors.gray[900], style: styles.swanLogo })] }) }), _jsx(Space, { height: 24 }), _jsx(Text, { style: styles.pageTitle, children: t("accountStatement.titleDocument") }), _jsx(Space, { height: 8 }), _jsx(Text, { style: styles.text, children: accountHolderType === "Company"
112
+ ? t("accountStatement.titleDocument.companyDescription")
113
+ : t("accountStatement.titleDocument.individualDescription") }), _jsx(Space, { height: 24 }), _jsxs(Box, { direction: "row", justifyContent: "spaceBetween", children: [_jsxs(Box, { direction: "column", children: [_jsx(Text, { style: styles.sectionTitle, children: accountHolderName.toUpperCase() }), _jsx(Text, { style: styles.text, children: accountHolderAddress.addressLine1 }), isNotNullish(accountHolderAddress.addressLine2) && (_jsx(Text, { children: accountHolderAddress.addressLine2 })), _jsx(Text, { style: styles.text, children: `${accountHolderAddress.postalCode} ${accountHolderAddress.city}` }), _jsx(Text, { style: styles.text, children: getCountryName(accountHolderAddress.country) })] }), _jsxs(Box, { direction: "column", alignItems: "end", children: [_jsx(Text, { style: styles.sectionTitle, children: t("accountStatement.contactSupport") }), _jsx(Text, { style: styles.text, children: "support@swan.io" })] })] }), _jsx(Space, { height: 24 }), _jsx(Text, { style: styles.sectionTitle, children: t("accountStatement.iban") }), _jsx(Text, { style: styles.text, children: iban }), _jsx(Space, { height: 12 }), _jsx(Text, { style: styles.sectionTitle, children: t("accountStatement.bic") }), _jsx(Text, { style: styles.text, children: bic }), _jsx(Space, { height: 48 }), _jsxs(Box, { direction: "row", justifyContent: "spaceBetween", children: [_jsx(Box, { direction: "column", children: _jsx(Text, { style: styles.sectionTitle, children: t("accountStatement.date", { openingDate, closingDate }) }) }), _jsxs(Box, { direction: "column", children: [_jsx(Text, { style: styles.openingBalanceText, children: t("accountStatement.openingBalance") }), _jsx(Text, { style: styles.totalAmount, children: formatCurrencyIso(Number(openingBalance.value), openingBalance.currency) })] })] }), _jsx(Space, { height: 24 }), _jsxs(_Fragment, { children: [_jsxs(Box, { direction: "row", style: { backgroundColor: colors.gray[50] }, children: [_jsx(Text, { style: [styles.titleColumn, { width: "15%" }], children: t("accountStatement.column.date") }), _jsx(Text, { style: [styles.titleColumn, { width: "22%" }], children: t("accountStatement.column.type") }), _jsx(Text, { style: [styles.titleColumn, { width: "33%" }], children: t("accountStatement.column.description") }), _jsx(Text, { style: [styles.titleColumn, { width: "15%", textAlign: "right" }], children: t("accountStatement.column.credit") }), _jsx(Text, { style: [styles.titleColumn, { width: "15%", textAlign: "right" }], children: t("accountStatement.column.debit") })] }), _jsx(Box, { direction: "column", children: transactions.map(({ transactionAmount, transactionDate, transactionLabel, transactionSide, transactionType, transactionId, }) => (_jsxs(Box, { direction: "row", children: [_jsx(Text, { style: [styles.textColumn, { width: "15%" }], children: transactionDate }), _jsx(Text, { style: [styles.textColumn, { width: "22%" }], children: translateTransaction(transactionType) }), _jsx(Text, { style: [styles.textColumn, { width: "33%" }], children: transactionLabel }), _jsx(Text, { style: [styles.textColumn, { width: "15%", textAlign: "right" }], children: transactionSide === "Credit" ? transactionAmount.value : "" }), _jsx(Text, { style: [styles.textColumn, { width: "15%", textAlign: "right" }], children: transactionSide === "Debit" ? transactionAmount.value : "" })] }, transactionId))) })] }), _jsxs(Box, { direction: "column", children: [_jsxs(Box, { direction: "row", justifyContent: "end", children: [_jsx(Text, { style: styles.row, children: t("accountStatement.column.fees") }), _jsx(Text, { style: styles.row, children: feesCredit.value }), _jsx(Text, { style: styles.row, children: feesDebit.value })] }), _jsxs(Box, { direction: "row", justifyContent: "end", children: [_jsx(Text, { style: styles.row, children: t("accountStatement.column.totals") }), _jsx(Text, { style: styles.row, children: totalsCredit.value }), _jsx(Text, { style: styles.row, children: totalsDebit.value })] })] }), _jsx(Box, { direction: "row", justifyContent: "end", children: _jsxs(Box, { direction: "row", alignItems: "center", style: styles.closingBalanceRow, justifyContent: "spaceBetween", children: [_jsx(Title, { text: t("accountStatement.closingBalance") }), _jsx(Title, { text: formatCurrencyIso(Number(closingBalance.value), closingBalance.currency), style: styles.totalAmount, align: "right" })] }) })] }), _jsxs(Box, { children: [_jsx(Separator, { space: 24 }), _jsx(Text, { style: styles.footer, children: t("transactionStatement.footer") })] })] }));
114
+ };
115
+ export const AccountStatement = (props) => match(props)
116
+ .with({ version: "v1" }, props => _jsx(AccountStatementV1, { ...props }))
117
+ .exhaustive();
@@ -1492,19 +1492,19 @@ export declare const getCCA2forCCA3: (cca3: CountryCCA3) => CountryCCA2;
1492
1492
  export declare const getCCA3forCCA2: (cca2: CountryCCA2) => CountryCCA3;
1493
1493
  export declare const companyWithUboCountries: readonly ["BEL", "DEU", "FRA", "ITA", "LTU", "LUX", "NLD"];
1494
1494
  export type CompanyWithUboCountryCCA3 = (typeof companyWithUboCountries)[number];
1495
- export declare const allCountries: ("DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "ALA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ABW" | "AUS" | "AZE" | "BHS" | "BGD" | "BRB" | "BEL" | "BLZ" | "BEN" | "BMU" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "VGB" | "BFA" | "BDI" | "CPV" | "CMR" | "CAN" | "CYM" | "CZE" | "CHL" | "CXR" | "CCK" | "COL" | "COK" | "CRI" | "CIV" | "CUB" | "CUW" | "DNK" | "DJI" | "DMA" | "ECU" | "EST" | "IRL" | "SLV" | "FLK" | "FJI" | "FRO" | "GAB" | "GMB" | "GHA" | "GIB" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GNB" | "GNQ" | "GIN" | "GUY" | "GUF" | "HTI" | "HMD" | "HND" | "HRV" | "IDN" | "ISL" | "IMN" | "JAM" | "JEY" | "GRL" | "KHM" | "KAZ" | "KEN" | "KIR" | "CAF" | "COM" | "REU" | "LVA" | "LSO" | "LBR" | "LIE" | "LTU" | "LUX" | "MDG" | "HUN" | "MHL" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MTQ" | "MUS" | "MYT" | "MEX" | "FSM" | "MOZ" | "MDA" | "MCO" | "MSR" | "NAM" | "BRN" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "NOR" | "MNP" | "NCL" | "AUT" | "UZB" | "PAK" | "PLW" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PYF" | "PRT" | "PRI" | "DOM" | "XKX" | "COD" | "COG" | "ROU" | "RWA" | "KNA" | "LCA" | "VCT" | "BLM" | "MAF" | "SPM" | "WSM" | "SMR" | "STP" | "CHE" | "SEN" | "SYC" | "ALB" | "SLE" | "SGP" | "SVN" | "SVK" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "LKA" | "FIN" | "SUR" | "SWE" | "SWZ" | "TZA" | "TCD" | "ATF" | "TLS" | "TGO" | "TON" | "TTO" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "GBR" | "USA" | "UMI" | "VIR" | "URY" | "VUT" | "VAT" | "VEN" | "VNM" | "WLF" | "ZMB" | "ZWE" | "BTN" | "GRC" | "CYP" | "BLR" | "BGR" | "KGZ" | "MKD" | "MNG" | "RUS" | "SRB" | "TJK" | "UKR" | "MNE" | "ARM" | "ISR" | "AFG" | "JOR" | "DZA" | "SDN" | "ESH" | "IRQ" | "SAU" | "KWT" | "MAR" | "YEM" | "IRN" | "TUN" | "ARE" | "SYR" | "OMN" | "PSE" | "QAT" | "LBN" | "EGY" | "MRT" | "NPL" | "IND" | "THA" | "LAO" | "MMR" | "GEO" | "ETH" | "ERI" | "BHR" | "LBY" | "CHN" | "JPN" | "MAC" | "TWN" | "HKG" | "KOR" | "PRK")[];
1495
+ export declare const allCountries: ("ALA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ABW" | "AUS" | "AZE" | "BHS" | "BGD" | "BRB" | "BEL" | "BLZ" | "BEN" | "BMU" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "VGB" | "BFA" | "BDI" | "CPV" | "CMR" | "CAN" | "CYM" | "CZE" | "CHL" | "CXR" | "CCK" | "COL" | "COK" | "CRI" | "CIV" | "CUB" | "CUW" | "DNK" | "DEU" | "DJI" | "DMA" | "ECU" | "EST" | "IRL" | "SLV" | "ESP" | "FLK" | "FJI" | "FRO" | "FRA" | "GAB" | "GMB" | "GHA" | "GIB" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GNB" | "GNQ" | "GIN" | "GUY" | "GUF" | "HTI" | "HMD" | "HND" | "HRV" | "IDN" | "ISL" | "IMN" | "ITA" | "JAM" | "JEY" | "GRL" | "KHM" | "KAZ" | "KEN" | "KIR" | "CAF" | "COM" | "REU" | "LVA" | "LSO" | "LBR" | "LIE" | "LTU" | "LUX" | "MDG" | "HUN" | "MHL" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MTQ" | "MUS" | "MYT" | "MEX" | "FSM" | "MOZ" | "MDA" | "MCO" | "MSR" | "NAM" | "NLD" | "BRN" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "NOR" | "MNP" | "NCL" | "AUT" | "UZB" | "PAK" | "PLW" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PYF" | "PRT" | "PRI" | "DOM" | "XKX" | "COD" | "COG" | "ROU" | "RWA" | "KNA" | "LCA" | "VCT" | "BLM" | "MAF" | "SPM" | "WSM" | "SMR" | "STP" | "CHE" | "SEN" | "SYC" | "ALB" | "SLE" | "SGP" | "SVN" | "SVK" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "LKA" | "FIN" | "SUR" | "SWE" | "SWZ" | "TZA" | "TCD" | "ATF" | "TLS" | "TGO" | "TON" | "TTO" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "GBR" | "USA" | "UMI" | "VIR" | "URY" | "VUT" | "VAT" | "VEN" | "VNM" | "WLF" | "ZMB" | "ZWE" | "BTN" | "GRC" | "CYP" | "BLR" | "BGR" | "KGZ" | "MKD" | "MNG" | "RUS" | "SRB" | "TJK" | "UKR" | "MNE" | "ARM" | "ISR" | "AFG" | "JOR" | "DZA" | "SDN" | "ESH" | "IRQ" | "SAU" | "KWT" | "MAR" | "YEM" | "IRN" | "TUN" | "ARE" | "SYR" | "OMN" | "PSE" | "QAT" | "LBN" | "EGY" | "MRT" | "NPL" | "IND" | "THA" | "LAO" | "MMR" | "GEO" | "ETH" | "ERI" | "BHR" | "LBY" | "CHN" | "JPN" | "MAC" | "TWN" | "HKG" | "KOR" | "PRK")[];
1496
1496
  export declare const france: {
1497
- readonly cca2: "MM" | "AX" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AW" | "AU" | "AZ" | "BS" | "BD" | "BB" | "BE" | "BZ" | "BJ" | "BM" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "VG" | "BF" | "BI" | "CV" | "CM" | "CA" | "KY" | "CZ" | "CL" | "CX" | "CC" | "CO" | "CK" | "CR" | "CI" | "CU" | "CW" | "DK" | "DE" | "DJ" | "DM" | "EC" | "EE" | "IE" | "SV" | "ES" | "FK" | "FJ" | "FO" | "FR" | "GA" | "GM" | "GH" | "GI" | "GD" | "GP" | "GU" | "GT" | "GG" | "GW" | "GQ" | "GN" | "GY" | "GF" | "HT" | "HM" | "HN" | "HR" | "ID" | "IS" | "IM" | "IT" | "JM" | "JE" | "GL" | "KH" | "KZ" | "KE" | "KI" | "CF" | "KM" | "RE" | "LV" | "LS" | "LR" | "LI" | "LT" | "LU" | "MG" | "HU" | "MH" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MU" | "YT" | "MX" | "FM" | "MZ" | "MD" | "MC" | "MS" | "NA" | "NL" | "BN" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "NO" | "MP" | "NC" | "AT" | "UZ" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PF" | "PT" | "PR" | "DO" | "XK" | "CD" | "CG" | "RO" | "RW" | "KN" | "LC" | "VC" | "BL" | "MF" | "PM" | "WS" | "SM" | "ST" | "CH" | "SN" | "SC" | "AL" | "SL" | "SG" | "SI" | "SK" | "SB" | "SO" | "ZA" | "GS" | "SS" | "LK" | "FI" | "SR" | "SE" | "SZ" | "TZ" | "TD" | "TF" | "TL" | "TG" | "TO" | "TT" | "TR" | "TM" | "TC" | "TV" | "UG" | "GB" | "US" | "UM" | "VI" | "UY" | "VU" | "VA" | "VE" | "VN" | "WF" | "ZM" | "ZW" | "BT" | "GR" | "CY" | "BY" | "BG" | "KG" | "MK" | "MN" | "RU" | "RS" | "TJ" | "UA" | "ME" | "AM" | "IL" | "AF" | "JO" | "DZ" | "SD" | "EH" | "IQ" | "SA" | "KW" | "MA" | "YE" | "IR" | "TN" | "AE" | "SY" | "OM" | "PS" | "QA" | "LB" | "EG" | "MR" | "NP" | "IN" | "TH" | "LA" | "GE" | "ET" | "ER" | "BH" | "LY" | "CN" | "JP" | "MO" | "TW" | "HK" | "KR" | "KP";
1498
- readonly cca3: "DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "ALA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ABW" | "AUS" | "AZE" | "BHS" | "BGD" | "BRB" | "BEL" | "BLZ" | "BEN" | "BMU" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "VGB" | "BFA" | "BDI" | "CPV" | "CMR" | "CAN" | "CYM" | "CZE" | "CHL" | "CXR" | "CCK" | "COL" | "COK" | "CRI" | "CIV" | "CUB" | "CUW" | "DNK" | "DJI" | "DMA" | "ECU" | "EST" | "IRL" | "SLV" | "FLK" | "FJI" | "FRO" | "GAB" | "GMB" | "GHA" | "GIB" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GNB" | "GNQ" | "GIN" | "GUY" | "GUF" | "HTI" | "HMD" | "HND" | "HRV" | "IDN" | "ISL" | "IMN" | "JAM" | "JEY" | "GRL" | "KHM" | "KAZ" | "KEN" | "KIR" | "CAF" | "COM" | "REU" | "LVA" | "LSO" | "LBR" | "LIE" | "LTU" | "LUX" | "MDG" | "HUN" | "MHL" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MTQ" | "MUS" | "MYT" | "MEX" | "FSM" | "MOZ" | "MDA" | "MCO" | "MSR" | "NAM" | "BRN" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "NOR" | "MNP" | "NCL" | "AUT" | "UZB" | "PAK" | "PLW" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PYF" | "PRT" | "PRI" | "DOM" | "XKX" | "COD" | "COG" | "ROU" | "RWA" | "KNA" | "LCA" | "VCT" | "BLM" | "MAF" | "SPM" | "WSM" | "SMR" | "STP" | "CHE" | "SEN" | "SYC" | "ALB" | "SLE" | "SGP" | "SVN" | "SVK" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "LKA" | "FIN" | "SUR" | "SWE" | "SWZ" | "TZA" | "TCD" | "ATF" | "TLS" | "TGO" | "TON" | "TTO" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "GBR" | "USA" | "UMI" | "VIR" | "URY" | "VUT" | "VAT" | "VEN" | "VNM" | "WLF" | "ZMB" | "ZWE" | "BTN" | "GRC" | "CYP" | "BLR" | "BGR" | "KGZ" | "MKD" | "MNG" | "RUS" | "SRB" | "TJK" | "UKR" | "MNE" | "ARM" | "ISR" | "AFG" | "JOR" | "DZA" | "SDN" | "ESH" | "IRQ" | "SAU" | "KWT" | "MAR" | "YEM" | "IRN" | "TUN" | "ARE" | "SYR" | "OMN" | "PSE" | "QAT" | "LBN" | "EGY" | "MRT" | "NPL" | "IND" | "THA" | "LAO" | "MMR" | "GEO" | "ETH" | "ERI" | "BHR" | "LBY" | "CHN" | "JPN" | "MAC" | "TWN" | "HKG" | "KOR" | "PRK";
1497
+ readonly cca2: "AX" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AW" | "AU" | "AZ" | "BS" | "BD" | "BB" | "BE" | "BZ" | "BJ" | "BM" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "VG" | "BF" | "BI" | "CV" | "CM" | "CA" | "KY" | "CZ" | "CL" | "CX" | "CC" | "CO" | "CK" | "CR" | "CI" | "CU" | "CW" | "DK" | "DE" | "DJ" | "DM" | "EC" | "EE" | "IE" | "SV" | "ES" | "FK" | "FJ" | "FO" | "FR" | "GA" | "GM" | "GH" | "GI" | "GD" | "GP" | "GU" | "GT" | "GG" | "GW" | "GQ" | "GN" | "GY" | "GF" | "HT" | "HM" | "HN" | "HR" | "ID" | "IS" | "IM" | "IT" | "JM" | "JE" | "GL" | "KH" | "KZ" | "KE" | "KI" | "CF" | "KM" | "RE" | "LV" | "LS" | "LR" | "LI" | "LT" | "LU" | "MG" | "HU" | "MH" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MU" | "YT" | "MX" | "FM" | "MZ" | "MD" | "MC" | "MS" | "NA" | "NL" | "BN" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "NO" | "MP" | "NC" | "AT" | "UZ" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PF" | "PT" | "PR" | "DO" | "XK" | "CD" | "CG" | "RO" | "RW" | "KN" | "LC" | "VC" | "BL" | "MF" | "PM" | "WS" | "SM" | "ST" | "CH" | "SN" | "SC" | "AL" | "SL" | "SG" | "SI" | "SK" | "SB" | "SO" | "ZA" | "GS" | "SS" | "LK" | "FI" | "SR" | "SE" | "SZ" | "TZ" | "TD" | "TF" | "TL" | "TG" | "TO" | "TT" | "TR" | "TM" | "TC" | "TV" | "UG" | "GB" | "US" | "UM" | "VI" | "UY" | "VU" | "VA" | "VE" | "VN" | "WF" | "ZM" | "ZW" | "BT" | "GR" | "CY" | "BY" | "BG" | "KG" | "MK" | "MN" | "RU" | "RS" | "TJ" | "UA" | "ME" | "AM" | "IL" | "AF" | "JO" | "DZ" | "SD" | "EH" | "IQ" | "SA" | "KW" | "MA" | "YE" | "IR" | "TN" | "AE" | "SY" | "OM" | "PS" | "QA" | "LB" | "EG" | "MR" | "NP" | "IN" | "TH" | "LA" | "MM" | "GE" | "ET" | "ER" | "BH" | "LY" | "CN" | "JP" | "MO" | "TW" | "HK" | "KR" | "KP";
1498
+ readonly cca3: "ALA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ABW" | "AUS" | "AZE" | "BHS" | "BGD" | "BRB" | "BEL" | "BLZ" | "BEN" | "BMU" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "VGB" | "BFA" | "BDI" | "CPV" | "CMR" | "CAN" | "CYM" | "CZE" | "CHL" | "CXR" | "CCK" | "COL" | "COK" | "CRI" | "CIV" | "CUB" | "CUW" | "DNK" | "DEU" | "DJI" | "DMA" | "ECU" | "EST" | "IRL" | "SLV" | "ESP" | "FLK" | "FJI" | "FRO" | "FRA" | "GAB" | "GMB" | "GHA" | "GIB" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GNB" | "GNQ" | "GIN" | "GUY" | "GUF" | "HTI" | "HMD" | "HND" | "HRV" | "IDN" | "ISL" | "IMN" | "ITA" | "JAM" | "JEY" | "GRL" | "KHM" | "KAZ" | "KEN" | "KIR" | "CAF" | "COM" | "REU" | "LVA" | "LSO" | "LBR" | "LIE" | "LTU" | "LUX" | "MDG" | "HUN" | "MHL" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MTQ" | "MUS" | "MYT" | "MEX" | "FSM" | "MOZ" | "MDA" | "MCO" | "MSR" | "NAM" | "NLD" | "BRN" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "NOR" | "MNP" | "NCL" | "AUT" | "UZB" | "PAK" | "PLW" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PYF" | "PRT" | "PRI" | "DOM" | "XKX" | "COD" | "COG" | "ROU" | "RWA" | "KNA" | "LCA" | "VCT" | "BLM" | "MAF" | "SPM" | "WSM" | "SMR" | "STP" | "CHE" | "SEN" | "SYC" | "ALB" | "SLE" | "SGP" | "SVN" | "SVK" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "LKA" | "FIN" | "SUR" | "SWE" | "SWZ" | "TZA" | "TCD" | "ATF" | "TLS" | "TGO" | "TON" | "TTO" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "GBR" | "USA" | "UMI" | "VIR" | "URY" | "VUT" | "VAT" | "VEN" | "VNM" | "WLF" | "ZMB" | "ZWE" | "BTN" | "GRC" | "CYP" | "BLR" | "BGR" | "KGZ" | "MKD" | "MNG" | "RUS" | "SRB" | "TJK" | "UKR" | "MNE" | "ARM" | "ISR" | "AFG" | "JOR" | "DZA" | "SDN" | "ESH" | "IRQ" | "SAU" | "KWT" | "MAR" | "YEM" | "IRN" | "TUN" | "ARE" | "SYR" | "OMN" | "PSE" | "QAT" | "LBN" | "EGY" | "MRT" | "NPL" | "IND" | "THA" | "LAO" | "MMR" | "GEO" | "ETH" | "ERI" | "BHR" | "LBY" | "CHN" | "JPN" | "MAC" | "TWN" | "HKG" | "KOR" | "PRK";
1499
1499
  name: string;
1500
1500
  deburr: string;
1501
1501
  idd: string;
1502
1502
  uid: string;
1503
1503
  flag: string;
1504
1504
  };
1505
- export declare const individualCountries: ("DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "BEL" | "CZE" | "DNK" | "EST" | "IRL" | "HRV" | "ISL" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR")[];
1505
+ export declare const individualCountries: ("BEL" | "CZE" | "DNK" | "DEU" | "EST" | "IRL" | "ESP" | "FRA" | "HRV" | "ISL" | "ITA" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NLD" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR")[];
1506
1506
  export type IndividualCountryCCA3 = (typeof individualCountries)[number];
1507
- export declare const companyCountries: ("DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "BEL" | "CZE" | "DNK" | "EST" | "IRL" | "HRV" | "ISL" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR")[];
1507
+ export declare const companyCountries: ("BEL" | "CZE" | "DNK" | "DEU" | "EST" | "IRL" | "ESP" | "FRA" | "HRV" | "ISL" | "ITA" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NLD" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR")[];
1508
1508
  export type CompanyCountryCCA3 = (typeof companyCountries)[number];
1509
1509
  export declare const countriesWithMultipleCCA3: Partial<Record<CountryCCA3, CountryCCA3[]>>;
1510
1510
  export declare const isCountryCCA3: (value: unknown) => value is CountryCCA3;
@@ -1512,7 +1512,7 @@ export declare const isCountryCCA2: (value: unknown) => value is CountryCCA2;
1512
1512
  export declare const isIndividualCountryCCA3: (value: unknown) => value is IndividualCountryCCA3;
1513
1513
  export declare const isCompanyCountryCCA3: (value: unknown) => value is CompanyCountryCCA3;
1514
1514
  export declare const isCompanyWithUboCountryCCA3: (value: unknown) => value is CompanyWithUboCountryCCA3;
1515
- export declare const companyFallbackCountry: "DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "BEL" | "CZE" | "DNK" | "EST" | "IRL" | "HRV" | "ISL" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR";
1516
- export declare const individualFallbackCountry: "DEU" | "ESP" | "FRA" | "NLD" | "ITA" | "BEL" | "CZE" | "DNK" | "EST" | "IRL" | "HRV" | "ISL" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR";
1515
+ export declare const companyFallbackCountry: "BEL" | "CZE" | "DNK" | "DEU" | "EST" | "IRL" | "ESP" | "FRA" | "HRV" | "ISL" | "ITA" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NLD" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR";
1516
+ export declare const individualFallbackCountry: "BEL" | "CZE" | "DNK" | "DEU" | "EST" | "IRL" | "ESP" | "FRA" | "HRV" | "ISL" | "ITA" | "LVA" | "LIE" | "LTU" | "LUX" | "HUN" | "MLT" | "NLD" | "NOR" | "AUT" | "POL" | "PRT" | "ROU" | "SVN" | "SVK" | "FIN" | "SWE" | "GRC" | "CYP" | "BGR";
1517
1517
  export declare const getCountryName: (cca3: CountryCCA3) => string;
1518
1518
  export {};
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Karte",
4
+ "accountStatement.check": "Scheck",
5
+ "accountStatement.closingBalance": "Endsaldo",
6
+ "accountStatement.column.credit": "Guthaben (€)",
7
+ "accountStatement.column.date": "Datum",
8
+ "accountStatement.column.debit": "Belastung (€)",
9
+ "accountStatement.column.description": "Beschreibung",
10
+ "accountStatement.column.fees": "Gebühren",
11
+ "accountStatement.column.totals": "Summen",
12
+ "accountStatement.column.type": "Typ",
13
+ "accountStatement.contactSupport": "Kontaktiere Swan",
14
+ "accountStatement.creditTransfer": "Überweisung",
15
+ "accountStatement.date": "Von {openingDate} bis {closingDate}",
16
+ "accountStatement.directDebit": "Lastschrift",
17
+ "accountStatement.fees": "Gebühren",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Anfangssaldo",
20
+ "accountStatement.partnership": "In Partnerschaft mit",
21
+ "accountStatement.titleDocument": "Kontoauszug",
22
+ "accountStatement.titleDocument.companyDescription": "Geschäftskonto - in Euro",
23
+ "accountStatement.titleDocument.individualDescription": "Persönliches Konto - in Euro",
2
24
  "addressFormPart.addressLabel": "Schreiben Sie Ihre Adresse",
3
25
  "addressFormPart.cityLabel": "Ort",
4
26
  "addressFormPart.placeholder": "Mit der Eingabe beginnen …",
@@ -382,5 +382,27 @@
382
382
  "transactionStatement.type.SepaInstantCreditTransferIn": "SEPA Instant Credit Transfer received",
383
383
  "transactionStatement.type.SepaInstantCreditTransferOut": "SEPA Instant Credit Transfer sent",
384
384
  "validation.birthdateCannotBeFuture": "Birthdate cannot be in the future",
385
- "validation.invalidBirthDate": "Please enter a valid birth date."
385
+ "validation.invalidBirthDate": "Please enter a valid birth date.",
386
+ "accountStatement.titleDocument": "Account statement",
387
+ "accountStatement.partnership": "In partnership with",
388
+ "accountStatement.titleDocument.individualDescription": "Personal account - in euros",
389
+ "accountStatement.titleDocument.companyDescription": "Business account - in euros",
390
+ "accountStatement.contactSupport": "Contact Swan",
391
+ "accountStatement.iban": "IBAN",
392
+ "accountStatement.bic": "BIC",
393
+ "accountStatement.date": "From {openingDate} to {closingDate}",
394
+ "accountStatement.openingBalance": "Opening balance",
395
+ "accountStatement.column.date": "Date",
396
+ "accountStatement.column.type": "Type",
397
+ "accountStatement.column.description": "Description",
398
+ "accountStatement.column.credit": "Credit (€)",
399
+ "accountStatement.column.debit": "Debit (€)",
400
+ "accountStatement.column.fees": "Fees",
401
+ "accountStatement.column.totals": "Totals",
402
+ "accountStatement.closingBalance": "Closing balance",
403
+ "accountStatement.card": "Card",
404
+ "accountStatement.check": "Check",
405
+ "accountStatement.creditTransfer": "Credit transfer",
406
+ "accountStatement.fees": "Fees",
407
+ "accountStatement.directDebit": "Direct debit"
386
408
  }
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Tarjeta",
4
+ "accountStatement.check": "Cheque",
5
+ "accountStatement.closingBalance": "Saldo final",
6
+ "accountStatement.column.credit": "Crédito (€)",
7
+ "accountStatement.column.date": "Fecha",
8
+ "accountStatement.column.debit": "Débito (€)",
9
+ "accountStatement.column.description": "Descripción",
10
+ "accountStatement.column.fees": "Comisiones",
11
+ "accountStatement.column.totals": "Totales",
12
+ "accountStatement.column.type": "Tipo",
13
+ "accountStatement.contactSupport": "Contactar con Swan",
14
+ "accountStatement.creditTransfer": "Transferencia de crédito",
15
+ "accountStatement.date": "Desde {openingDate} hasta {closingDate}",
16
+ "accountStatement.directDebit": "Domiciliación bancaria",
17
+ "accountStatement.fees": "Comisiones",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Saldo inicial",
20
+ "accountStatement.partnership": "En asociación con",
21
+ "accountStatement.titleDocument": "Extracto de cuenta",
22
+ "accountStatement.titleDocument.companyDescription": "Cuenta de empresa - en euros",
23
+ "accountStatement.titleDocument.individualDescription": "Cuenta personal - en euros",
2
24
  "addressFormPart.addressLabel": "Introduce tu dirección",
3
25
  "addressFormPart.cityLabel": "Ciudad",
4
26
  "addressFormPart.placeholder": "Escribe aquí...",
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Kortti",
4
+ "accountStatement.check": "Shekki",
5
+ "accountStatement.closingBalance": "Päätössaldo",
6
+ "accountStatement.column.credit": "Hyvitys (€)",
7
+ "accountStatement.column.date": "Päivämäärä",
8
+ "accountStatement.column.debit": "Debit (€)",
9
+ "accountStatement.column.description": "Kuvaus",
10
+ "accountStatement.column.fees": "Palkkiot",
11
+ "accountStatement.column.totals": "Yhteensä",
12
+ "accountStatement.column.type": "Tyyppi",
13
+ "accountStatement.contactSupport": "Ota yhteyttä Swan:iin",
14
+ "accountStatement.creditTransfer": "Tilisiirto",
15
+ "accountStatement.date": "{openingDate} - {closingDate} välillä",
16
+ "accountStatement.directDebit": "Suoraveloitus",
17
+ "accountStatement.fees": "Kulut",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Aloitussaldo",
20
+ "accountStatement.partnership": "Kumppanuudessa",
21
+ "accountStatement.titleDocument": "Tilinpäätös",
22
+ "accountStatement.titleDocument.companyDescription": "Yritystili - euroissa",
23
+ "accountStatement.titleDocument.individualDescription": "Henkilökohtainen tili - euroissa",
2
24
  "addressFormPart.addressLabel": "Kirjoita osoitteesi",
3
25
  "addressFormPart.cityLabel": "Kaupunki",
4
26
  "addressFormPart.placeholder": "Aloita kirjoittaminen...",
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Carte",
4
+ "accountStatement.check": "Chèque",
5
+ "accountStatement.closingBalance": "Solde de clôture",
6
+ "accountStatement.column.credit": "Crédit (€)",
7
+ "accountStatement.column.date": "Date",
8
+ "accountStatement.column.debit": "Débit (€)",
9
+ "accountStatement.column.description": "Description",
10
+ "accountStatement.column.fees": "Frais",
11
+ "accountStatement.column.totals": "Totals",
12
+ "accountStatement.column.type": "Type",
13
+ "accountStatement.contactSupport": "Contacter Swan",
14
+ "accountStatement.creditTransfer": "Virement bancaire",
15
+ "accountStatement.date": "Du {openingDate} au {closingDate}",
16
+ "accountStatement.directDebit": "Prélèvement automatique",
17
+ "accountStatement.fees": "Frais",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Solde d'ouverture",
20
+ "accountStatement.partnership": "En partenariat avec",
21
+ "accountStatement.titleDocument": "compte personnel - en euro",
22
+ "accountStatement.titleDocument.companyDescription": "Compte professionnel - en euros",
23
+ "accountStatement.titleDocument.individualDescription": "Compte personnel - en euros",
2
24
  "addressFormPart.addressLabel": "Saisissez votre adresse",
3
25
  "addressFormPart.cityLabel": "Ville",
4
26
  "addressFormPart.placeholder": "Commencer à écrire...",
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Carta",
4
+ "accountStatement.check": "Assegno",
5
+ "accountStatement.closingBalance": "Saldo finale",
6
+ "accountStatement.column.credit": "Credito (€)",
7
+ "accountStatement.column.date": "Data",
8
+ "accountStatement.column.debit": "Debito (€)",
9
+ "accountStatement.column.description": "Descrizione",
10
+ "accountStatement.column.fees": "Commissioni",
11
+ "accountStatement.column.totals": "Totali",
12
+ "accountStatement.column.type": "Tipo",
13
+ "accountStatement.contactSupport": "Contatta Swan",
14
+ "accountStatement.creditTransfer": "Bonifico",
15
+ "accountStatement.date": "Da {openingDate} a {closingDate}",
16
+ "accountStatement.directDebit": "Addebito diretto",
17
+ "accountStatement.fees": "Commissioni",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Saldo iniziale",
20
+ "accountStatement.partnership": "In collaborazione con",
21
+ "accountStatement.titleDocument": "Estratto conto",
22
+ "accountStatement.titleDocument.companyDescription": "Conto aziendale - in euro",
23
+ "accountStatement.titleDocument.individualDescription": "Conto personale - in euro",
2
24
  "addressFormPart.addressLabel": "Digiti il suo indirizzo",
3
25
  "addressFormPart.cityLabel": "Città",
4
26
  "addressFormPart.placeholder": "Inizia a digitare...",
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Kaart",
4
+ "accountStatement.check": "Cheque",
5
+ "accountStatement.closingBalance": "Eindbalans",
6
+ "accountStatement.column.credit": "Credit (€)",
7
+ "accountStatement.column.date": "Datum",
8
+ "accountStatement.column.debit": "Debet (€)",
9
+ "accountStatement.column.description": "Omschrijving",
10
+ "accountStatement.column.fees": "Kosten",
11
+ "accountStatement.column.totals": "Totaal",
12
+ "accountStatement.column.type": "Type",
13
+ "accountStatement.contactSupport": "Neem contact op met Swan",
14
+ "accountStatement.creditTransfer": "Overschrijving",
15
+ "accountStatement.date": "Van {openingDate} tot {closingDate}",
16
+ "accountStatement.directDebit": "Automatische incasso",
17
+ "accountStatement.fees": "Kosten",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Beginbalans",
20
+ "accountStatement.partnership": "In samenwerking met",
21
+ "accountStatement.titleDocument": "Rekeningoverzicht",
22
+ "accountStatement.titleDocument.companyDescription": "Zakelijke rekening - in euro's",
23
+ "accountStatement.titleDocument.individualDescription": "Persoonlijke rekening - in euro's",
2
24
  "addressFormPart.addressLabel": "Typ uw adres",
3
25
  "addressFormPart.cityLabel": "Stad",
4
26
  "addressFormPart.placeholder": "Begin met typen...",
@@ -1,4 +1,26 @@
1
1
  {
2
+ "accountStatement.bic": "BIC",
3
+ "accountStatement.card": "Cartão",
4
+ "accountStatement.check": "Cheque",
5
+ "accountStatement.closingBalance": "Saldo final",
6
+ "accountStatement.column.credit": "Crédito (€)",
7
+ "accountStatement.column.date": "Data",
8
+ "accountStatement.column.debit": "Débito (€)",
9
+ "accountStatement.column.description": "Descrição",
10
+ "accountStatement.column.fees": "Taxas",
11
+ "accountStatement.column.totals": "Totais",
12
+ "accountStatement.column.type": "Tipo",
13
+ "accountStatement.contactSupport": "Contacte a Swan",
14
+ "accountStatement.creditTransfer": "Transferência de crédito",
15
+ "accountStatement.date": "De {openingDate} a {closingDate}",
16
+ "accountStatement.directDebit": "Débito direto",
17
+ "accountStatement.fees": "Taxas",
18
+ "accountStatement.iban": "IBAN",
19
+ "accountStatement.openingBalance": "Saldo inicial",
20
+ "accountStatement.partnership": "Em parceria com",
21
+ "accountStatement.titleDocument": "Extrato de conta",
22
+ "accountStatement.titleDocument.companyDescription": "Conta empresarial - em euros",
23
+ "accountStatement.titleDocument.individualDescription": "Conta pessoal - em euros",
2
24
  "addressFormPart.addressLabel": "Introduza o seu endereço",
3
25
  "addressFormPart.cityLabel": "Cidade",
4
26
  "addressFormPart.placeholder": "Comece a escrever...",
@@ -86,8 +86,8 @@ export const validateCompanyTaxNumber = (accountCountry) => value => {
86
86
  }
87
87
  return match(accountCountry)
88
88
  .with("DEU", () => {
89
- // accept 10 or 11 digits
90
- if (!/^\d{10,11}$/.test(value)) {
89
+ // accept 10 to 13 digits
90
+ if (!/^\d{10,13}$/.test(value)) {
91
91
  return t("common.form.invalidTaxIdentificationNumber");
92
92
  }
93
93
  })