@develit-services/bank 0.8.4 → 0.8.6
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.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/worker.d.cts +38 -8
- package/dist/export/worker.d.mts +38 -8
- package/dist/export/worker.d.ts +38 -8
- package/dist/shared/{bank.BoWCMu5n.d.cts → bank.B6U8sUZn.d.mts} +65 -5
- package/dist/shared/{bank.BaMRCHk-.d.cts → bank.BliD3oCT.d.cts} +8 -8
- package/dist/shared/{bank.BaMRCHk-.d.mts → bank.BliD3oCT.d.mts} +8 -8
- package/dist/shared/{bank.BaMRCHk-.d.ts → bank.BliD3oCT.d.ts} +8 -8
- package/dist/shared/{bank.6faPHUEY.d.ts → bank.BoMDujsl.d.ts} +65 -5
- package/dist/shared/{bank.DOL1uM4n.d.mts → bank.lbzMqyr3.d.cts} +65 -5
- package/dist/types.d.cts +4 -4
- package/dist/types.d.mts +4 -4
- package/dist/types.d.ts +4 -4
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as CurrencyCode, H as BankCode, U as CountryCode } from './bank.
|
|
1
|
+
import { X as CurrencyCode, H as BankCode, U as CountryCode } from './bank.BliD3oCT.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -301,31 +301,42 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
301
301
|
"0710": "0710";
|
|
302
302
|
"0800": "0800";
|
|
303
303
|
2010: "2010";
|
|
304
|
+
2020: "2020";
|
|
305
|
+
2030: "2030";
|
|
304
306
|
2060: "2060";
|
|
305
307
|
2070: "2070";
|
|
306
308
|
2100: "2100";
|
|
307
309
|
2200: "2200";
|
|
310
|
+
2210: "2210";
|
|
308
311
|
2220: "2220";
|
|
312
|
+
2240: "2240";
|
|
309
313
|
2250: "2250";
|
|
310
314
|
2260: "2260";
|
|
315
|
+
2310: "2310";
|
|
311
316
|
2600: "2600";
|
|
312
317
|
2700: "2700";
|
|
313
318
|
3030: "3030";
|
|
319
|
+
3050: "3050";
|
|
314
320
|
3060: "3060";
|
|
315
321
|
3500: "3500";
|
|
322
|
+
4000: "4000";
|
|
316
323
|
4300: "4300";
|
|
317
324
|
5500: "5500";
|
|
325
|
+
5400: "5400";
|
|
318
326
|
5800: "5800";
|
|
319
327
|
6000: "6000";
|
|
328
|
+
6100: "6100";
|
|
320
329
|
6200: "6200";
|
|
321
330
|
6210: "6210";
|
|
322
331
|
6300: "6300";
|
|
323
332
|
6363: "6363";
|
|
324
333
|
6700: "6700";
|
|
325
334
|
6800: "6800";
|
|
335
|
+
7940: "7940";
|
|
326
336
|
7910: "7910";
|
|
327
337
|
7950: "7950";
|
|
328
338
|
7960: "7960";
|
|
339
|
+
7980: "7980";
|
|
329
340
|
7970: "7970";
|
|
330
341
|
7990: "7990";
|
|
331
342
|
8030: "8030";
|
|
@@ -335,11 +346,15 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
335
346
|
8150: "8150";
|
|
336
347
|
8190: "8190";
|
|
337
348
|
8198: "8198";
|
|
349
|
+
8200: "8200";
|
|
338
350
|
8220: "8220";
|
|
351
|
+
8230: "8230";
|
|
352
|
+
8240: "8240";
|
|
339
353
|
8250: "8250";
|
|
340
354
|
8255: "8255";
|
|
341
355
|
8265: "8265";
|
|
342
356
|
8500: "8500";
|
|
357
|
+
8610: "8610";
|
|
343
358
|
}>>;
|
|
344
359
|
holderName: z.ZodOptional<z.ZodString>;
|
|
345
360
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -402,6 +417,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
402
417
|
AVAX: "AVAX";
|
|
403
418
|
}>>;
|
|
404
419
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
IM: "IM";
|
|
405
421
|
AF: "AF";
|
|
406
422
|
AL: "AL";
|
|
407
423
|
DZ: "DZ";
|
|
@@ -490,7 +506,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
490
506
|
IR: "IR";
|
|
491
507
|
IQ: "IQ";
|
|
492
508
|
IE: "IE";
|
|
493
|
-
IM: "IM";
|
|
494
509
|
IL: "IL";
|
|
495
510
|
IT: "IT";
|
|
496
511
|
CI: "CI";
|
|
@@ -631,31 +646,42 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
631
646
|
"0710": "0710";
|
|
632
647
|
"0800": "0800";
|
|
633
648
|
2010: "2010";
|
|
649
|
+
2020: "2020";
|
|
650
|
+
2030: "2030";
|
|
634
651
|
2060: "2060";
|
|
635
652
|
2070: "2070";
|
|
636
653
|
2100: "2100";
|
|
637
654
|
2200: "2200";
|
|
655
|
+
2210: "2210";
|
|
638
656
|
2220: "2220";
|
|
657
|
+
2240: "2240";
|
|
639
658
|
2250: "2250";
|
|
640
659
|
2260: "2260";
|
|
660
|
+
2310: "2310";
|
|
641
661
|
2600: "2600";
|
|
642
662
|
2700: "2700";
|
|
643
663
|
3030: "3030";
|
|
664
|
+
3050: "3050";
|
|
644
665
|
3060: "3060";
|
|
645
666
|
3500: "3500";
|
|
667
|
+
4000: "4000";
|
|
646
668
|
4300: "4300";
|
|
647
669
|
5500: "5500";
|
|
670
|
+
5400: "5400";
|
|
648
671
|
5800: "5800";
|
|
649
672
|
6000: "6000";
|
|
673
|
+
6100: "6100";
|
|
650
674
|
6200: "6200";
|
|
651
675
|
6210: "6210";
|
|
652
676
|
6300: "6300";
|
|
653
677
|
6363: "6363";
|
|
654
678
|
6700: "6700";
|
|
655
679
|
6800: "6800";
|
|
680
|
+
7940: "7940";
|
|
656
681
|
7910: "7910";
|
|
657
682
|
7950: "7950";
|
|
658
683
|
7960: "7960";
|
|
684
|
+
7980: "7980";
|
|
659
685
|
7970: "7970";
|
|
660
686
|
7990: "7990";
|
|
661
687
|
8030: "8030";
|
|
@@ -665,11 +691,15 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
665
691
|
8150: "8150";
|
|
666
692
|
8190: "8190";
|
|
667
693
|
8198: "8198";
|
|
694
|
+
8200: "8200";
|
|
668
695
|
8220: "8220";
|
|
696
|
+
8230: "8230";
|
|
697
|
+
8240: "8240";
|
|
669
698
|
8250: "8250";
|
|
670
699
|
8255: "8255";
|
|
671
700
|
8265: "8265";
|
|
672
701
|
8500: "8500";
|
|
702
|
+
8610: "8610";
|
|
673
703
|
}>>;
|
|
674
704
|
holderName: z.ZodOptional<z.ZodString>;
|
|
675
705
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -732,6 +762,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
732
762
|
AVAX: "AVAX";
|
|
733
763
|
}>>;
|
|
734
764
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
IM: "IM";
|
|
735
766
|
AF: "AF";
|
|
736
767
|
AL: "AL";
|
|
737
768
|
DZ: "DZ";
|
|
@@ -820,7 +851,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
820
851
|
IR: "IR";
|
|
821
852
|
IQ: "IQ";
|
|
822
853
|
IE: "IE";
|
|
823
|
-
IM: "IM";
|
|
824
854
|
IL: "IL";
|
|
825
855
|
IT: "IT";
|
|
826
856
|
CI: "CI";
|
|
@@ -1048,31 +1078,42 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1048
1078
|
"0710": "0710";
|
|
1049
1079
|
"0800": "0800";
|
|
1050
1080
|
2010: "2010";
|
|
1081
|
+
2020: "2020";
|
|
1082
|
+
2030: "2030";
|
|
1051
1083
|
2060: "2060";
|
|
1052
1084
|
2070: "2070";
|
|
1053
1085
|
2100: "2100";
|
|
1054
1086
|
2200: "2200";
|
|
1087
|
+
2210: "2210";
|
|
1055
1088
|
2220: "2220";
|
|
1089
|
+
2240: "2240";
|
|
1056
1090
|
2250: "2250";
|
|
1057
1091
|
2260: "2260";
|
|
1092
|
+
2310: "2310";
|
|
1058
1093
|
2600: "2600";
|
|
1059
1094
|
2700: "2700";
|
|
1060
1095
|
3030: "3030";
|
|
1096
|
+
3050: "3050";
|
|
1061
1097
|
3060: "3060";
|
|
1062
1098
|
3500: "3500";
|
|
1099
|
+
4000: "4000";
|
|
1063
1100
|
4300: "4300";
|
|
1064
1101
|
5500: "5500";
|
|
1102
|
+
5400: "5400";
|
|
1065
1103
|
5800: "5800";
|
|
1066
1104
|
6000: "6000";
|
|
1105
|
+
6100: "6100";
|
|
1067
1106
|
6200: "6200";
|
|
1068
1107
|
6210: "6210";
|
|
1069
1108
|
6300: "6300";
|
|
1070
1109
|
6363: "6363";
|
|
1071
1110
|
6700: "6700";
|
|
1072
1111
|
6800: "6800";
|
|
1112
|
+
7940: "7940";
|
|
1073
1113
|
7910: "7910";
|
|
1074
1114
|
7950: "7950";
|
|
1075
1115
|
7960: "7960";
|
|
1116
|
+
7980: "7980";
|
|
1076
1117
|
7970: "7970";
|
|
1077
1118
|
7990: "7990";
|
|
1078
1119
|
8030: "8030";
|
|
@@ -1082,11 +1123,15 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1082
1123
|
8150: "8150";
|
|
1083
1124
|
8190: "8190";
|
|
1084
1125
|
8198: "8198";
|
|
1126
|
+
8200: "8200";
|
|
1085
1127
|
8220: "8220";
|
|
1128
|
+
8230: "8230";
|
|
1129
|
+
8240: "8240";
|
|
1086
1130
|
8250: "8250";
|
|
1087
1131
|
8255: "8255";
|
|
1088
1132
|
8265: "8265";
|
|
1089
1133
|
8500: "8500";
|
|
1134
|
+
8610: "8610";
|
|
1090
1135
|
}>>;
|
|
1091
1136
|
holderName: z.ZodOptional<z.ZodString>;
|
|
1092
1137
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -1149,6 +1194,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1149
1194
|
AVAX: "AVAX";
|
|
1150
1195
|
}>>;
|
|
1151
1196
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
1197
|
+
IM: "IM";
|
|
1152
1198
|
AF: "AF";
|
|
1153
1199
|
AL: "AL";
|
|
1154
1200
|
DZ: "DZ";
|
|
@@ -1237,7 +1283,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1237
1283
|
IR: "IR";
|
|
1238
1284
|
IQ: "IQ";
|
|
1239
1285
|
IE: "IE";
|
|
1240
|
-
IM: "IM";
|
|
1241
1286
|
IL: "IL";
|
|
1242
1287
|
IT: "IT";
|
|
1243
1288
|
CI: "CI";
|
|
@@ -1378,31 +1423,42 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1378
1423
|
"0710": "0710";
|
|
1379
1424
|
"0800": "0800";
|
|
1380
1425
|
2010: "2010";
|
|
1426
|
+
2020: "2020";
|
|
1427
|
+
2030: "2030";
|
|
1381
1428
|
2060: "2060";
|
|
1382
1429
|
2070: "2070";
|
|
1383
1430
|
2100: "2100";
|
|
1384
1431
|
2200: "2200";
|
|
1432
|
+
2210: "2210";
|
|
1385
1433
|
2220: "2220";
|
|
1434
|
+
2240: "2240";
|
|
1386
1435
|
2250: "2250";
|
|
1387
1436
|
2260: "2260";
|
|
1437
|
+
2310: "2310";
|
|
1388
1438
|
2600: "2600";
|
|
1389
1439
|
2700: "2700";
|
|
1390
1440
|
3030: "3030";
|
|
1441
|
+
3050: "3050";
|
|
1391
1442
|
3060: "3060";
|
|
1392
1443
|
3500: "3500";
|
|
1444
|
+
4000: "4000";
|
|
1393
1445
|
4300: "4300";
|
|
1394
1446
|
5500: "5500";
|
|
1447
|
+
5400: "5400";
|
|
1395
1448
|
5800: "5800";
|
|
1396
1449
|
6000: "6000";
|
|
1450
|
+
6100: "6100";
|
|
1397
1451
|
6200: "6200";
|
|
1398
1452
|
6210: "6210";
|
|
1399
1453
|
6300: "6300";
|
|
1400
1454
|
6363: "6363";
|
|
1401
1455
|
6700: "6700";
|
|
1402
1456
|
6800: "6800";
|
|
1457
|
+
7940: "7940";
|
|
1403
1458
|
7910: "7910";
|
|
1404
1459
|
7950: "7950";
|
|
1405
1460
|
7960: "7960";
|
|
1461
|
+
7980: "7980";
|
|
1406
1462
|
7970: "7970";
|
|
1407
1463
|
7990: "7990";
|
|
1408
1464
|
8030: "8030";
|
|
@@ -1412,11 +1468,15 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1412
1468
|
8150: "8150";
|
|
1413
1469
|
8190: "8190";
|
|
1414
1470
|
8198: "8198";
|
|
1471
|
+
8200: "8200";
|
|
1415
1472
|
8220: "8220";
|
|
1473
|
+
8230: "8230";
|
|
1474
|
+
8240: "8240";
|
|
1416
1475
|
8250: "8250";
|
|
1417
1476
|
8255: "8255";
|
|
1418
1477
|
8265: "8265";
|
|
1419
1478
|
8500: "8500";
|
|
1479
|
+
8610: "8610";
|
|
1420
1480
|
}>>;
|
|
1421
1481
|
holderName: z.ZodOptional<z.ZodString>;
|
|
1422
1482
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -1479,6 +1539,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1479
1539
|
AVAX: "AVAX";
|
|
1480
1540
|
}>>;
|
|
1481
1541
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
1542
|
+
IM: "IM";
|
|
1482
1543
|
AF: "AF";
|
|
1483
1544
|
AL: "AL";
|
|
1484
1545
|
DZ: "DZ";
|
|
@@ -1567,7 +1628,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1567
1628
|
IR: "IR";
|
|
1568
1629
|
IQ: "IQ";
|
|
1569
1630
|
IE: "IE";
|
|
1570
|
-
IM: "IM";
|
|
1571
1631
|
IL: "IL";
|
|
1572
1632
|
IT: "IT";
|
|
1573
1633
|
CI: "CI";
|
package/dist/types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.BliD3oCT.cjs';
|
|
2
|
+
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.BliD3oCT.cjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.lbzMqyr3.cjs';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.lbzMqyr3.cjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CQBfbG8u.cjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.BliD3oCT.mjs';
|
|
2
|
+
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.BliD3oCT.mjs';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.B6U8sUZn.mjs';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.B6U8sUZn.mjs';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CQBfbG8u.mjs';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.
|
|
2
|
-
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.
|
|
3
|
-
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.
|
|
4
|
-
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as ConnectorKey, c as ConnectedAccount, d as CredentialsResolver, e as AccountCredentialsInsertType, f as AccountInsertType, g as BatchedPayment, h as InitiatedBatch, i as IncomingPayment, j as InitiatedPayment, A as AccountSelectType, k as ParsedBankPayment, l as PaymentStatus, m as BatchStatus, n as PaymentType, o as BatchMetadata, p as Currency, P as PaymentSelectType, q as AccountAssignedPayment, a as PaymentRequestSelectType, r as PreparedPayment, s as CompletedPayment, u as PaymentRequestInsertType } from './shared/bank.BliD3oCT.js';
|
|
2
|
+
export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BankCode, J as BatchInsertType, K as BatchLifecycle, M as BatchPayment, B as BatchSelectType, N as CHARGE_BEARERS, O as CONNECTOR_KEYS, Q as COUNTRY_CODES, R as CREDENTIALS_TYPES, S as ChargeBearer, T as CompletedBatch, C as ConfigEnvironmentBank, U as CountryCode, V as CreatedBatch, W as CredentialsType, X as CurrencyCode, Y as INSTRUCTION_PRIORITIES, Z as InstructionPriority, L as LastSyncMetadata, _ as PAYMENT_DIRECTIONS, $ as PAYMENT_STATUSES, a0 as PAYMENT_TYPES, a1 as PaymentDirection, a2 as PaymentFailedInsertType, a3 as PaymentInsertType, a4 as PaymentLifecycle, a5 as PaymentPreparedInsertType, a6 as ProcessingBatch, a7 as ReadyToSignBatch, a8 as ResolvedCredentials, a9 as SignedBatch, aa as TOKEN_TYPES, ab as TokenType, ac as accountCredentialsInsertSchema, ad as accountCredentialsSelectSchema, ae as accountCredentialsUpdateSchema, af as accountInsertSchema, ag as accountSelectSchema, ah as accountUpdateSchema, ai as hasPaymentAccountAssigned, aj as isBatchCompleted, ak as isBatchFailed, al as isBatchInitiated, am as isBatchOpen, an as isBatchProcessing, ao as isBatchReadyToSign, ap as isBatchSigned, aq as isPaymentCompleted, ar as isPaymentPrepared } from './shared/bank.BliD3oCT.js';
|
|
3
|
+
import { d as FinbricksAccount, R as ReferenceType, S as SendPaymentInput } from './shared/bank.BoMDujsl.js';
|
|
4
|
+
export { e as FinbricksAccountTransactionsResponse, f as FinbricksAccountsListResponse, g as FinbricksAuthTokenResponse, h as FinbricksBatchResponse, i as FinbricksConnectAccountResponse, j as FinbricksPaymentResponse, k as FinbricksSupportedBank, F as FinbricksSupportedBanksResponse, b as SendPaymentSyncInput } from './shared/bank.BoMDujsl.js';
|
|
5
5
|
export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.CQBfbG8u.js';
|
|
6
6
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
7
7
|
import * as drizzle_zod from 'drizzle-zod';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-services/bank",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@develit-io/backend-sdk": "^9.10.3",
|
|
60
|
-
"@develit-io/general-codes": "^1.
|
|
60
|
+
"@develit-io/general-codes": "^1.19.0",
|
|
61
61
|
"drizzle-orm": "^0.45.0",
|
|
62
62
|
"drizzle-zod": "^0.8.3",
|
|
63
63
|
"zod": "^4.1.13"
|