@develit-services/bank 0.8.5 → 0.8.7
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/dist/database/schema.cjs +1 -1
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/database/schema.mjs +1 -1
- package/dist/export/worker.cjs +583 -146
- package/dist/export/worker.d.cts +286 -44
- package/dist/export/worker.d.mts +286 -44
- package/dist/export/worker.d.ts +286 -44
- package/dist/export/worker.mjs +584 -147
- package/dist/export/workflows.cjs +132 -16
- package/dist/export/workflows.mjs +133 -17
- package/dist/shared/{bank.C-T1FQxg.cjs → bank.62VzK9Aj.cjs} +1 -1
- package/dist/shared/{bank.SQ4Mmr8u.cjs → bank.BS7fFjGA.cjs} +34 -4
- package/dist/shared/{bank.6faPHUEY.d.ts → bank.BYRq3yJf.d.ts} +81 -11
- package/dist/shared/{bank.C4VOdIx1.mjs → bank.C0UN6luZ.mjs} +34 -4
- package/dist/shared/{bank.DDHrdFgy.mjs → bank.CA5ytXxp.mjs} +1 -1
- package/dist/shared/{bank.BoWCMu5n.d.cts → bank.CO89tR9U.d.cts} +81 -11
- package/dist/shared/{bank.BaMRCHk-.d.ts → bank.Cns5ss41.d.cts} +55 -18
- package/dist/shared/{bank.BaMRCHk-.d.cts → bank.Cns5ss41.d.mts} +55 -18
- package/dist/shared/{bank.BaMRCHk-.d.mts → bank.Cns5ss41.d.ts} +55 -18
- package/dist/shared/{bank.DOL1uM4n.d.mts → bank.CreoSb2d.d.mts} +81 -11
- package/dist/shared/{bank.DRrBrAdI.mjs → bank.D1jqaHaF.mjs} +91 -31
- package/dist/shared/{bank.Cpy9PULF.mjs → bank.DEmzZGZW.mjs} +31 -5
- package/dist/shared/{bank.BOnP9p9Y.cjs → bank.Dm8GHThw.cjs} +31 -5
- package/dist/shared/{bank.CQURey1E.cjs → bank.DwyCCyd0.cjs} +90 -31
- package/dist/types.cjs +3 -4
- package/dist/types.d.cts +8 -16
- package/dist/types.d.mts +8 -16
- package/dist/types.d.ts +8 -16
- package/dist/types.mjs +3 -3
- package/package.json +2 -2
|
@@ -42,7 +42,7 @@ type CurrencyCode = (typeof CURRENCY_CODES)[number];
|
|
|
42
42
|
/**
|
|
43
43
|
* Batch status constants
|
|
44
44
|
*/
|
|
45
|
-
declare const BATCH_STATUSES: readonly ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
|
|
45
|
+
declare const BATCH_STATUSES: readonly ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED", "COMPLETED"];
|
|
46
46
|
/**
|
|
47
47
|
* Type definition for batch status
|
|
48
48
|
*/
|
|
@@ -102,6 +102,7 @@ declare abstract class IBankConnector {
|
|
|
102
102
|
* @returns true if native batch API is supported, false if fallback to single payments is needed
|
|
103
103
|
*/
|
|
104
104
|
abstract supportsBatch(paymentType: PaymentType): boolean;
|
|
105
|
+
supportsPaymentType(paymentType: PaymentType): boolean;
|
|
105
106
|
/**
|
|
106
107
|
* Generates authorization URI for connecting a new bank account.
|
|
107
108
|
* @param ott - One-time token used to identify the authorization flow
|
|
@@ -1008,14 +1009,14 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1008
1009
|
tableName: "account";
|
|
1009
1010
|
dataType: "string";
|
|
1010
1011
|
columnType: "SQLiteText";
|
|
1011
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1012
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
1012
1013
|
driverParam: string;
|
|
1013
1014
|
notNull: true;
|
|
1014
1015
|
hasDefault: false;
|
|
1015
1016
|
isPrimaryKey: false;
|
|
1016
1017
|
isAutoincrement: false;
|
|
1017
1018
|
hasRuntimeDefault: false;
|
|
1018
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1019
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
1019
1020
|
baseColumn: never;
|
|
1020
1021
|
identity: undefined;
|
|
1021
1022
|
generated: undefined;
|
|
@@ -1552,14 +1553,14 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
1552
1553
|
tableName: "account";
|
|
1553
1554
|
dataType: "string";
|
|
1554
1555
|
columnType: "SQLiteText";
|
|
1555
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1556
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
1556
1557
|
driverParam: string;
|
|
1557
1558
|
notNull: true;
|
|
1558
1559
|
hasDefault: false;
|
|
1559
1560
|
isPrimaryKey: false;
|
|
1560
1561
|
isAutoincrement: false;
|
|
1561
1562
|
hasRuntimeDefault: false;
|
|
1562
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1563
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
1563
1564
|
baseColumn: never;
|
|
1564
1565
|
identity: undefined;
|
|
1565
1566
|
generated: undefined;
|
|
@@ -2096,14 +2097,14 @@ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2096
2097
|
tableName: "account";
|
|
2097
2098
|
dataType: "string";
|
|
2098
2099
|
columnType: "SQLiteText";
|
|
2099
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
2100
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
2100
2101
|
driverParam: string;
|
|
2101
2102
|
notNull: true;
|
|
2102
2103
|
hasDefault: false;
|
|
2103
2104
|
isPrimaryKey: false;
|
|
2104
2105
|
isAutoincrement: false;
|
|
2105
2106
|
hasRuntimeDefault: false;
|
|
2106
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
2107
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
2107
2108
|
baseColumn: never;
|
|
2108
2109
|
identity: undefined;
|
|
2109
2110
|
generated: undefined;
|
|
@@ -2629,20 +2630,20 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2629
2630
|
tableName: "batch";
|
|
2630
2631
|
dataType: "string";
|
|
2631
2632
|
columnType: "SQLiteText";
|
|
2632
|
-
data: "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2633
|
+
data: "COMPLETED" | "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2633
2634
|
driverParam: string;
|
|
2634
2635
|
notNull: false;
|
|
2635
2636
|
hasDefault: false;
|
|
2636
2637
|
isPrimaryKey: false;
|
|
2637
2638
|
isAutoincrement: false;
|
|
2638
2639
|
hasRuntimeDefault: false;
|
|
2639
|
-
enumValues: ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
|
|
2640
|
+
enumValues: ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED", "COMPLETED"];
|
|
2640
2641
|
baseColumn: never;
|
|
2641
2642
|
identity: undefined;
|
|
2642
2643
|
generated: undefined;
|
|
2643
2644
|
}, {}, {
|
|
2644
2645
|
length: number | undefined;
|
|
2645
|
-
$type: "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2646
|
+
$type: "COMPLETED" | "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2646
2647
|
}>;
|
|
2647
2648
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2648
2649
|
name: "status_reason";
|
|
@@ -2894,6 +2895,25 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2894
2895
|
}, {}, {
|
|
2895
2896
|
length: number | undefined;
|
|
2896
2897
|
}>;
|
|
2898
|
+
paymentRequestId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2899
|
+
name: "payment_request_id";
|
|
2900
|
+
tableName: "payment";
|
|
2901
|
+
dataType: "string";
|
|
2902
|
+
columnType: "SQLiteText";
|
|
2903
|
+
data: string;
|
|
2904
|
+
driverParam: string;
|
|
2905
|
+
notNull: false;
|
|
2906
|
+
hasDefault: false;
|
|
2907
|
+
isPrimaryKey: false;
|
|
2908
|
+
isAutoincrement: false;
|
|
2909
|
+
hasRuntimeDefault: false;
|
|
2910
|
+
enumValues: [string, ...string[]];
|
|
2911
|
+
baseColumn: never;
|
|
2912
|
+
identity: undefined;
|
|
2913
|
+
generated: undefined;
|
|
2914
|
+
}, {}, {
|
|
2915
|
+
length: number | undefined;
|
|
2916
|
+
}>;
|
|
2897
2917
|
refId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2898
2918
|
name: "ref_id";
|
|
2899
2919
|
tableName: "payment";
|
|
@@ -3053,7 +3073,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3053
3073
|
tableName: "payment";
|
|
3054
3074
|
dataType: "string";
|
|
3055
3075
|
columnType: "SQLiteText";
|
|
3056
|
-
data: "
|
|
3076
|
+
data: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3057
3077
|
driverParam: string;
|
|
3058
3078
|
notNull: true;
|
|
3059
3079
|
hasDefault: false;
|
|
@@ -3066,7 +3086,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3066
3086
|
generated: undefined;
|
|
3067
3087
|
}, {}, {
|
|
3068
3088
|
length: number | undefined;
|
|
3069
|
-
$type: "
|
|
3089
|
+
$type: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3070
3090
|
}>;
|
|
3071
3091
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3072
3092
|
name: "status_reason";
|
|
@@ -3647,7 +3667,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3647
3667
|
tableName: "payment_request";
|
|
3648
3668
|
dataType: "string";
|
|
3649
3669
|
columnType: "SQLiteText";
|
|
3650
|
-
data: "
|
|
3670
|
+
data: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3651
3671
|
driverParam: string;
|
|
3652
3672
|
notNull: true;
|
|
3653
3673
|
hasDefault: false;
|
|
@@ -3660,7 +3680,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3660
3680
|
generated: undefined;
|
|
3661
3681
|
}, {}, {
|
|
3662
3682
|
length: number | undefined;
|
|
3663
|
-
$type: "
|
|
3683
|
+
$type: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3664
3684
|
}>;
|
|
3665
3685
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3666
3686
|
name: "status_reason";
|
|
@@ -3926,6 +3946,23 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3926
3946
|
}, {}, {
|
|
3927
3947
|
length: number | undefined;
|
|
3928
3948
|
}>;
|
|
3949
|
+
sendAsSinglePayment: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3950
|
+
name: "send_as_single_payment";
|
|
3951
|
+
tableName: "payment_request";
|
|
3952
|
+
dataType: "boolean";
|
|
3953
|
+
columnType: "SQLiteBoolean";
|
|
3954
|
+
data: boolean;
|
|
3955
|
+
driverParam: number;
|
|
3956
|
+
notNull: false;
|
|
3957
|
+
hasDefault: false;
|
|
3958
|
+
isPrimaryKey: false;
|
|
3959
|
+
isAutoincrement: false;
|
|
3960
|
+
hasRuntimeDefault: false;
|
|
3961
|
+
enumValues: undefined;
|
|
3962
|
+
baseColumn: never;
|
|
3963
|
+
identity: undefined;
|
|
3964
|
+
generated: undefined;
|
|
3965
|
+
}, {}, {}>;
|
|
3929
3966
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3930
3967
|
name: "id";
|
|
3931
3968
|
tableName: "payment_request";
|
|
@@ -4357,14 +4394,14 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4357
4394
|
tableName: "account";
|
|
4358
4395
|
dataType: "string";
|
|
4359
4396
|
columnType: "SQLiteText";
|
|
4360
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
4397
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
4361
4398
|
driverParam: string;
|
|
4362
4399
|
notNull: true;
|
|
4363
4400
|
hasDefault: false;
|
|
4364
4401
|
isPrimaryKey: false;
|
|
4365
4402
|
isAutoincrement: false;
|
|
4366
4403
|
hasRuntimeDefault: false;
|
|
4367
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
4404
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
4368
4405
|
baseColumn: never;
|
|
4369
4406
|
identity: undefined;
|
|
4370
4407
|
generated: undefined;
|
|
@@ -5342,5 +5379,5 @@ declare function isBatchFailed(batch: {
|
|
|
5342
5379
|
status?: string | null;
|
|
5343
5380
|
}): batch is CompletedBatch;
|
|
5344
5381
|
|
|
5345
|
-
export { PAYMENT_STATUSES as $, BATCH_STATUSES as
|
|
5346
|
-
export type { AccountSelectType as A, BatchSelectType as B, ConfigEnvironmentBank as C,
|
|
5382
|
+
export { PAYMENT_STATUSES as $, BATCH_STATUSES as G, IBankConnector as I, CHARGE_BEARERS as O, CONNECTOR_KEYS as Q, COUNTRY_CODES as R, CREDENTIALS_TYPES as S, INSTRUCTION_PRIORITIES as Y, PAYMENT_DIRECTIONS as _, PAYMENT_TYPES as a0, TOKEN_TYPES as aa, accountCredentialsInsertSchema as ac, accountCredentialsSelectSchema as ad, accountCredentialsUpdateSchema as ae, accountInsertSchema as af, accountSelectSchema as ag, accountUpdateSchema as ah, hasPaymentAccountAssigned as ai, isBatchCompleted as aj, isBatchFailed as ak, isBatchInitiated as al, isBatchOpen as am, isBatchProcessing as an, isBatchReadyToSign as ao, isBatchSigned as ap, isPaymentCompleted as aq, isPaymentPrepared as ar, account as as, accountCredentials as at, batch as au, ott as av, payment as aw, paymentRelations as ax, paymentRequest as ay, paymentRequestRelations as az, tables as t, ACCOUNT_STATUSES as w };
|
|
5383
|
+
export type { AccountSelectType as A, BatchSelectType as B, ConfigEnvironmentBank as C, AccountPatchType as D, AccountStatus as E, AccountUpdateType as F, BankAccountWithLastSync as H, BankCode as J, BatchInsertType as K, LastSyncMetadata as L, BatchLifecycle as M, BatchPayment as N, PaymentSelectType as P, ChargeBearer as T, CompletedBatch as U, CountryCode as V, CreatedBatch as W, CredentialsType as X, InstructionPriority as Z, PaymentRequestSelectType as a, PaymentDirection as a1, PaymentFailedInsertType as a2, PaymentInsertType as a3, PaymentLifecycle as a4, PaymentPreparedInsertType as a5, ProcessingBatch as a6, ReadyToSignBatch as a7, ResolvedCredentials as a8, SignedBatch as a9, TokenType as ab, ConnectorKey as b, PaymentType as c, CurrencyCode as d, ConnectedAccount as e, CredentialsResolver as f, AccountCredentialsInsertType as g, AccountInsertType as h, BatchedPayment as i, InitiatedBatch as j, IncomingPayment as k, InitiatedPayment as l, ParsedBankPayment as m, PaymentStatus as n, BatchStatus as o, BatchMetadata as p, Currency as q, AccountAssignedPayment as r, PreparedPayment as s, CompletedPayment as u, PaymentRequestInsertType as v, AccountCredentialsPatchType as x, AccountCredentialsSelectType as y, AccountCredentialsUpdateType as z };
|
|
@@ -42,7 +42,7 @@ type CurrencyCode = (typeof CURRENCY_CODES)[number];
|
|
|
42
42
|
/**
|
|
43
43
|
* Batch status constants
|
|
44
44
|
*/
|
|
45
|
-
declare const BATCH_STATUSES: readonly ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
|
|
45
|
+
declare const BATCH_STATUSES: readonly ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED", "COMPLETED"];
|
|
46
46
|
/**
|
|
47
47
|
* Type definition for batch status
|
|
48
48
|
*/
|
|
@@ -102,6 +102,7 @@ declare abstract class IBankConnector {
|
|
|
102
102
|
* @returns true if native batch API is supported, false if fallback to single payments is needed
|
|
103
103
|
*/
|
|
104
104
|
abstract supportsBatch(paymentType: PaymentType): boolean;
|
|
105
|
+
supportsPaymentType(paymentType: PaymentType): boolean;
|
|
105
106
|
/**
|
|
106
107
|
* Generates authorization URI for connecting a new bank account.
|
|
107
108
|
* @param ott - One-time token used to identify the authorization flow
|
|
@@ -1008,14 +1009,14 @@ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1008
1009
|
tableName: "account";
|
|
1009
1010
|
dataType: "string";
|
|
1010
1011
|
columnType: "SQLiteText";
|
|
1011
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1012
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
1012
1013
|
driverParam: string;
|
|
1013
1014
|
notNull: true;
|
|
1014
1015
|
hasDefault: false;
|
|
1015
1016
|
isPrimaryKey: false;
|
|
1016
1017
|
isAutoincrement: false;
|
|
1017
1018
|
hasRuntimeDefault: false;
|
|
1018
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1019
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
1019
1020
|
baseColumn: never;
|
|
1020
1021
|
identity: undefined;
|
|
1021
1022
|
generated: undefined;
|
|
@@ -1552,14 +1553,14 @@ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
|
|
|
1552
1553
|
tableName: "account";
|
|
1553
1554
|
dataType: "string";
|
|
1554
1555
|
columnType: "SQLiteText";
|
|
1555
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
1556
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
1556
1557
|
driverParam: string;
|
|
1557
1558
|
notNull: true;
|
|
1558
1559
|
hasDefault: false;
|
|
1559
1560
|
isPrimaryKey: false;
|
|
1560
1561
|
isAutoincrement: false;
|
|
1561
1562
|
hasRuntimeDefault: false;
|
|
1562
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
1563
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
1563
1564
|
baseColumn: never;
|
|
1564
1565
|
identity: undefined;
|
|
1565
1566
|
generated: undefined;
|
|
@@ -2096,14 +2097,14 @@ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2096
2097
|
tableName: "account";
|
|
2097
2098
|
dataType: "string";
|
|
2098
2099
|
columnType: "SQLiteText";
|
|
2099
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
2100
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
2100
2101
|
driverParam: string;
|
|
2101
2102
|
notNull: true;
|
|
2102
2103
|
hasDefault: false;
|
|
2103
2104
|
isPrimaryKey: false;
|
|
2104
2105
|
isAutoincrement: false;
|
|
2105
2106
|
hasRuntimeDefault: false;
|
|
2106
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
2107
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
2107
2108
|
baseColumn: never;
|
|
2108
2109
|
identity: undefined;
|
|
2109
2110
|
generated: undefined;
|
|
@@ -2629,20 +2630,20 @@ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2629
2630
|
tableName: "batch";
|
|
2630
2631
|
dataType: "string";
|
|
2631
2632
|
columnType: "SQLiteText";
|
|
2632
|
-
data: "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2633
|
+
data: "COMPLETED" | "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2633
2634
|
driverParam: string;
|
|
2634
2635
|
notNull: false;
|
|
2635
2636
|
hasDefault: false;
|
|
2636
2637
|
isPrimaryKey: false;
|
|
2637
2638
|
isAutoincrement: false;
|
|
2638
2639
|
hasRuntimeDefault: false;
|
|
2639
|
-
enumValues: ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
|
|
2640
|
+
enumValues: ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED", "COMPLETED"];
|
|
2640
2641
|
baseColumn: never;
|
|
2641
2642
|
identity: undefined;
|
|
2642
2643
|
generated: undefined;
|
|
2643
2644
|
}, {}, {
|
|
2644
2645
|
length: number | undefined;
|
|
2645
|
-
$type: "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2646
|
+
$type: "COMPLETED" | "SIGNED" | "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNATURE_FAILED";
|
|
2646
2647
|
}>;
|
|
2647
2648
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2648
2649
|
name: "status_reason";
|
|
@@ -2894,6 +2895,25 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2894
2895
|
}, {}, {
|
|
2895
2896
|
length: number | undefined;
|
|
2896
2897
|
}>;
|
|
2898
|
+
paymentRequestId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2899
|
+
name: "payment_request_id";
|
|
2900
|
+
tableName: "payment";
|
|
2901
|
+
dataType: "string";
|
|
2902
|
+
columnType: "SQLiteText";
|
|
2903
|
+
data: string;
|
|
2904
|
+
driverParam: string;
|
|
2905
|
+
notNull: false;
|
|
2906
|
+
hasDefault: false;
|
|
2907
|
+
isPrimaryKey: false;
|
|
2908
|
+
isAutoincrement: false;
|
|
2909
|
+
hasRuntimeDefault: false;
|
|
2910
|
+
enumValues: [string, ...string[]];
|
|
2911
|
+
baseColumn: never;
|
|
2912
|
+
identity: undefined;
|
|
2913
|
+
generated: undefined;
|
|
2914
|
+
}, {}, {
|
|
2915
|
+
length: number | undefined;
|
|
2916
|
+
}>;
|
|
2897
2917
|
refId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2898
2918
|
name: "ref_id";
|
|
2899
2919
|
tableName: "payment";
|
|
@@ -3053,7 +3073,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3053
3073
|
tableName: "payment";
|
|
3054
3074
|
dataType: "string";
|
|
3055
3075
|
columnType: "SQLiteText";
|
|
3056
|
-
data: "
|
|
3076
|
+
data: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3057
3077
|
driverParam: string;
|
|
3058
3078
|
notNull: true;
|
|
3059
3079
|
hasDefault: false;
|
|
@@ -3066,7 +3086,7 @@ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3066
3086
|
generated: undefined;
|
|
3067
3087
|
}, {}, {
|
|
3068
3088
|
length: number | undefined;
|
|
3069
|
-
$type: "
|
|
3089
|
+
$type: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3070
3090
|
}>;
|
|
3071
3091
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3072
3092
|
name: "status_reason";
|
|
@@ -3647,7 +3667,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3647
3667
|
tableName: "payment_request";
|
|
3648
3668
|
dataType: "string";
|
|
3649
3669
|
columnType: "SQLiteText";
|
|
3650
|
-
data: "
|
|
3670
|
+
data: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3651
3671
|
driverParam: string;
|
|
3652
3672
|
notNull: true;
|
|
3653
3673
|
hasDefault: false;
|
|
@@ -3660,7 +3680,7 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3660
3680
|
generated: undefined;
|
|
3661
3681
|
}, {}, {
|
|
3662
3682
|
length: number | undefined;
|
|
3663
|
-
$type: "
|
|
3683
|
+
$type: "COMPLETED" | "CREATED" | "PREPARED" | "SIGNED" | "PENDING" | "FAILED";
|
|
3664
3684
|
}>;
|
|
3665
3685
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3666
3686
|
name: "status_reason";
|
|
@@ -3926,6 +3946,23 @@ declare const paymentRequest: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3926
3946
|
}, {}, {
|
|
3927
3947
|
length: number | undefined;
|
|
3928
3948
|
}>;
|
|
3949
|
+
sendAsSinglePayment: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3950
|
+
name: "send_as_single_payment";
|
|
3951
|
+
tableName: "payment_request";
|
|
3952
|
+
dataType: "boolean";
|
|
3953
|
+
columnType: "SQLiteBoolean";
|
|
3954
|
+
data: boolean;
|
|
3955
|
+
driverParam: number;
|
|
3956
|
+
notNull: false;
|
|
3957
|
+
hasDefault: false;
|
|
3958
|
+
isPrimaryKey: false;
|
|
3959
|
+
isAutoincrement: false;
|
|
3960
|
+
hasRuntimeDefault: false;
|
|
3961
|
+
enumValues: undefined;
|
|
3962
|
+
baseColumn: never;
|
|
3963
|
+
identity: undefined;
|
|
3964
|
+
generated: undefined;
|
|
3965
|
+
}, {}, {}>;
|
|
3929
3966
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3930
3967
|
name: "id";
|
|
3931
3968
|
tableName: "payment_request";
|
|
@@ -4357,14 +4394,14 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4357
4394
|
tableName: "account";
|
|
4358
4395
|
dataType: "string";
|
|
4359
4396
|
columnType: "SQLiteText";
|
|
4360
|
-
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500";
|
|
4397
|
+
data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
|
|
4361
4398
|
driverParam: string;
|
|
4362
4399
|
notNull: true;
|
|
4363
4400
|
hasDefault: false;
|
|
4364
4401
|
isPrimaryKey: false;
|
|
4365
4402
|
isAutoincrement: false;
|
|
4366
4403
|
hasRuntimeDefault: false;
|
|
4367
|
-
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2060" | "2070" | "2100" | "2200" | "2220" | "2250" | "2260" | "2600" | "2700" | "3030" | "3060" | "3500" | "4300" | "5500" | "5800" | "6000" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7910" | "7950" | "7960" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8220" | "8250" | "8255" | "8265" | "8500")[]];
|
|
4404
|
+
enumValues: ["5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610", ...("5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610")[]];
|
|
4368
4405
|
baseColumn: never;
|
|
4369
4406
|
identity: undefined;
|
|
4370
4407
|
generated: undefined;
|
|
@@ -5342,5 +5379,5 @@ declare function isBatchFailed(batch: {
|
|
|
5342
5379
|
status?: string | null;
|
|
5343
5380
|
}): batch is CompletedBatch;
|
|
5344
5381
|
|
|
5345
|
-
export { PAYMENT_STATUSES as $, BATCH_STATUSES as
|
|
5346
|
-
export type { AccountSelectType as A, BatchSelectType as B, ConfigEnvironmentBank as C,
|
|
5382
|
+
export { PAYMENT_STATUSES as $, BATCH_STATUSES as G, IBankConnector as I, CHARGE_BEARERS as O, CONNECTOR_KEYS as Q, COUNTRY_CODES as R, CREDENTIALS_TYPES as S, INSTRUCTION_PRIORITIES as Y, PAYMENT_DIRECTIONS as _, PAYMENT_TYPES as a0, TOKEN_TYPES as aa, accountCredentialsInsertSchema as ac, accountCredentialsSelectSchema as ad, accountCredentialsUpdateSchema as ae, accountInsertSchema as af, accountSelectSchema as ag, accountUpdateSchema as ah, hasPaymentAccountAssigned as ai, isBatchCompleted as aj, isBatchFailed as ak, isBatchInitiated as al, isBatchOpen as am, isBatchProcessing as an, isBatchReadyToSign as ao, isBatchSigned as ap, isPaymentCompleted as aq, isPaymentPrepared as ar, account as as, accountCredentials as at, batch as au, ott as av, payment as aw, paymentRelations as ax, paymentRequest as ay, paymentRequestRelations as az, tables as t, ACCOUNT_STATUSES as w };
|
|
5383
|
+
export type { AccountSelectType as A, BatchSelectType as B, ConfigEnvironmentBank as C, AccountPatchType as D, AccountStatus as E, AccountUpdateType as F, BankAccountWithLastSync as H, BankCode as J, BatchInsertType as K, LastSyncMetadata as L, BatchLifecycle as M, BatchPayment as N, PaymentSelectType as P, ChargeBearer as T, CompletedBatch as U, CountryCode as V, CreatedBatch as W, CredentialsType as X, InstructionPriority as Z, PaymentRequestSelectType as a, PaymentDirection as a1, PaymentFailedInsertType as a2, PaymentInsertType as a3, PaymentLifecycle as a4, PaymentPreparedInsertType as a5, ProcessingBatch as a6, ReadyToSignBatch as a7, ResolvedCredentials as a8, SignedBatch as a9, TokenType as ab, ConnectorKey as b, PaymentType as c, CurrencyCode as d, ConnectedAccount as e, CredentialsResolver as f, AccountCredentialsInsertType as g, AccountInsertType as h, BatchedPayment as i, InitiatedBatch as j, IncomingPayment as k, InitiatedPayment as l, ParsedBankPayment as m, PaymentStatus as n, BatchStatus as o, BatchMetadata as p, Currency as q, AccountAssignedPayment as r, PreparedPayment as s, CompletedPayment as u, PaymentRequestInsertType as v, AccountCredentialsPatchType as x, AccountCredentialsSelectType as y, AccountCredentialsUpdateType as z };
|