@develit-services/bank 0.0.41 → 0.0.43

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.
@@ -2,15 +2,16 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
3
  import { WorkerEntrypoint } from 'cloudflare:workers';
4
4
  import { DrizzleD1Database } from 'drizzle-orm/d1';
5
- import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.e_XSg9KV.mjs';
6
- import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.BmcSkaZh.mjs';
5
+ import { P as PaymentSelectType, B as BatchSelectType, t as tables, a as PaymentInsertType } from '../shared/bank.B7uB4cyW.mjs';
6
+ import { A as AccountSelectType, C as ConfigEnvironmentBank, I as IBankConnector, a as ConnectorKey } from '../shared/bank.Dadvg35r.mjs';
7
7
  import { z } from 'zod';
8
- import 'drizzle-orm/sqlite-core';
8
+ import * as drizzle_zod from 'drizzle-zod';
9
+ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
9
10
  import 'drizzle-orm';
10
11
  import '@develit-io/general-codes';
11
- import 'drizzle-zod';
12
12
 
13
13
  declare const sendPaymentInputSchema: z.ZodObject<{
14
+ correlationId: z.ZodString;
14
15
  refId: z.ZodString;
15
16
  amount: z.ZodNumber;
16
17
  paymentType: z.ZodEnum<{
@@ -19,6 +20,16 @@ declare const sendPaymentInputSchema: z.ZodObject<{
19
20
  IFSC: "IFSC";
20
21
  DOMESTIC: "DOMESTIC";
21
22
  }>;
23
+ chargeBearer: z.ZodEnum<{
24
+ SHA: "SHA";
25
+ OUR: "OUR";
26
+ BEN: "BEN";
27
+ }>;
28
+ executionDate: z.ZodString;
29
+ instructionPriority: z.ZodEnum<{
30
+ NORM: "NORM";
31
+ INST: "INST";
32
+ }>;
22
33
  currency: z.ZodEnum<{
23
34
  CZK: "CZK";
24
35
  EUR: "EUR";
@@ -74,16 +85,669 @@ declare const sendPaymentInputSchema: z.ZodObject<{
74
85
  MATIC: "MATIC";
75
86
  AVAX: "AVAX";
76
87
  }>;
77
- vs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- ss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
- ks: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
- message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- creditorHolderName: z.ZodString;
82
- creditorAccountNumberWithBankCode: z.ZodString;
83
- creditorIban: z.ZodString;
84
- debtorHolderName: z.ZodString;
85
- debtorAccountNumberWithBankCode: z.ZodString;
86
- debtorIban: z.ZodString;
88
+ vs: z.ZodOptional<z.ZodString>;
89
+ ss: z.ZodOptional<z.ZodString>;
90
+ ks: z.ZodOptional<z.ZodString>;
91
+ message: z.ZodOptional<z.ZodString>;
92
+ creditor: z.ZodObject<{
93
+ id: z.ZodOptional<z.ZodString>;
94
+ number: z.ZodOptional<z.ZodString>;
95
+ bankCode: z.ZodOptional<z.ZodEnum<{
96
+ 5051: "5051";
97
+ "0100": "0100";
98
+ "0300": "0300";
99
+ "0600": "0600";
100
+ "0710": "0710";
101
+ "0800": "0800";
102
+ 2010: "2010";
103
+ 2060: "2060";
104
+ 2070: "2070";
105
+ 2100: "2100";
106
+ 2200: "2200";
107
+ 2220: "2220";
108
+ 2250: "2250";
109
+ 2260: "2260";
110
+ 2600: "2600";
111
+ 2700: "2700";
112
+ 3030: "3030";
113
+ 3060: "3060";
114
+ 3500: "3500";
115
+ 4300: "4300";
116
+ 5500: "5500";
117
+ 5800: "5800";
118
+ 6000: "6000";
119
+ 6200: "6200";
120
+ 6210: "6210";
121
+ 6300: "6300";
122
+ 6363: "6363";
123
+ 6700: "6700";
124
+ 6800: "6800";
125
+ 7910: "7910";
126
+ 7950: "7950";
127
+ 7960: "7960";
128
+ 7970: "7970";
129
+ 7990: "7990";
130
+ 8030: "8030";
131
+ 8040: "8040";
132
+ 8060: "8060";
133
+ 8090: "8090";
134
+ 8150: "8150";
135
+ 8190: "8190";
136
+ 8198: "8198";
137
+ 8220: "8220";
138
+ 8250: "8250";
139
+ 8255: "8255";
140
+ 8265: "8265";
141
+ 8500: "8500";
142
+ }>>;
143
+ holderName: z.ZodOptional<z.ZodString>;
144
+ iban: z.ZodOptional<z.ZodString>;
145
+ address: z.ZodOptional<z.ZodString>;
146
+ swiftBic: z.ZodOptional<z.ZodString>;
147
+ bicCor: z.ZodOptional<z.ZodString>;
148
+ currency: z.ZodOptional<z.ZodEnum<{
149
+ CZK: "CZK";
150
+ EUR: "EUR";
151
+ USD: "USD";
152
+ PLN: "PLN";
153
+ RON: "RON";
154
+ GBP: "GBP";
155
+ RUB: "RUB";
156
+ HUF: "HUF";
157
+ CHF: "CHF";
158
+ DKK: "DKK";
159
+ SEK: "SEK";
160
+ HRK: "HRK";
161
+ NOK: "NOK";
162
+ BGN: "BGN";
163
+ TRY: "TRY";
164
+ AUD: "AUD";
165
+ CAD: "CAD";
166
+ JPY: "JPY";
167
+ CNY: "CNY";
168
+ INR: "INR";
169
+ BRL: "BRL";
170
+ MXN: "MXN";
171
+ ZAR: "ZAR";
172
+ SGD: "SGD";
173
+ HKD: "HKD";
174
+ KRW: "KRW";
175
+ MYR: "MYR";
176
+ THB: "THB";
177
+ IDR: "IDR";
178
+ PHP: "PHP";
179
+ AED: "AED";
180
+ SAR: "SAR";
181
+ ILS: "ILS";
182
+ EGP: "EGP";
183
+ NGN: "NGN";
184
+ PKR: "PKR";
185
+ COP: "COP";
186
+ CLP: "CLP";
187
+ PEN: "PEN";
188
+ VND: "VND";
189
+ KZT: "KZT";
190
+ UAH: "UAH";
191
+ BTC: "BTC";
192
+ ETH: "ETH";
193
+ ADA: "ADA";
194
+ DOT: "DOT";
195
+ ATOM: "ATOM";
196
+ XRP: "XRP";
197
+ LTC: "LTC";
198
+ SOL: "SOL";
199
+ DOGE: "DOGE";
200
+ MATIC: "MATIC";
201
+ AVAX: "AVAX";
202
+ }>>;
203
+ country: z.ZodOptional<z.ZodEnum<{
204
+ EC: "EC";
205
+ AF: "AF";
206
+ AL: "AL";
207
+ DZ: "DZ";
208
+ AS: "AS";
209
+ AD: "AD";
210
+ AO: "AO";
211
+ AG: "AG";
212
+ AR: "AR";
213
+ AM: "AM";
214
+ AW: "AW";
215
+ AU: "AU";
216
+ AT: "AT";
217
+ AZ: "AZ";
218
+ BS: "BS";
219
+ BH: "BH";
220
+ BD: "BD";
221
+ BB: "BB";
222
+ BY: "BY";
223
+ BE: "BE";
224
+ BZ: "BZ";
225
+ BJ: "BJ";
226
+ BO: "BO";
227
+ BQ: "BQ";
228
+ BA: "BA";
229
+ BW: "BW";
230
+ BR: "BR";
231
+ IO: "IO";
232
+ VG: "VG";
233
+ BG: "BG";
234
+ BF: "BF";
235
+ BI: "BI";
236
+ KH: "KH";
237
+ CM: "CM";
238
+ CA: "CA";
239
+ CV: "CV";
240
+ CF: "CF";
241
+ TD: "TD";
242
+ CL: "CL";
243
+ CN: "CN";
244
+ CO: "CO";
245
+ KM: "KM";
246
+ CK: "CK";
247
+ CR: "CR";
248
+ HR: "HR";
249
+ CW: "CW";
250
+ CY: "CY";
251
+ CZ: "CZ";
252
+ CD: "CD";
253
+ DK: "DK";
254
+ DJ: "DJ";
255
+ DM: "DM";
256
+ DO: "DO";
257
+ TL: "TL";
258
+ EG: "EG";
259
+ SV: "SV";
260
+ GQ: "GQ";
261
+ ER: "ER";
262
+ EE: "EE";
263
+ ET: "ET";
264
+ FO: "FO";
265
+ FJ: "FJ";
266
+ FI: "FI";
267
+ FR: "FR";
268
+ GF: "GF";
269
+ PF: "PF";
270
+ GA: "GA";
271
+ GM: "GM";
272
+ GE: "GE";
273
+ DE: "DE";
274
+ GH: "GH";
275
+ GR: "GR";
276
+ GD: "GD";
277
+ GP: "GP";
278
+ GU: "GU";
279
+ GT: "GT";
280
+ GN: "GN";
281
+ GW: "GW";
282
+ GY: "GY";
283
+ HT: "HT";
284
+ HN: "HN";
285
+ HU: "HU";
286
+ IS: "IS";
287
+ IN: "IN";
288
+ ID: "ID";
289
+ IR: "IR";
290
+ IQ: "IQ";
291
+ IE: "IE";
292
+ IM: "IM";
293
+ IL: "IL";
294
+ IT: "IT";
295
+ CI: "CI";
296
+ JM: "JM";
297
+ JP: "JP";
298
+ JE: "JE";
299
+ JO: "JO";
300
+ KZ: "KZ";
301
+ KE: "KE";
302
+ KI: "KI";
303
+ XK: "XK";
304
+ KW: "KW";
305
+ KG: "KG";
306
+ LA: "LA";
307
+ LV: "LV";
308
+ LB: "LB";
309
+ LS: "LS";
310
+ LR: "LR";
311
+ LI: "LI";
312
+ LT: "LT";
313
+ LU: "LU";
314
+ MK: "MK";
315
+ MG: "MG";
316
+ MW: "MW";
317
+ MY: "MY";
318
+ MV: "MV";
319
+ ML: "ML";
320
+ MT: "MT";
321
+ MQ: "MQ";
322
+ MR: "MR";
323
+ MU: "MU";
324
+ MX: "MX";
325
+ FM: "FM";
326
+ MD: "MD";
327
+ MC: "MC";
328
+ MN: "MN";
329
+ ME: "ME";
330
+ MS: "MS";
331
+ MA: "MA";
332
+ MZ: "MZ";
333
+ NA: "NA";
334
+ NP: "NP";
335
+ NL: "NL";
336
+ NZ: "NZ";
337
+ NI: "NI";
338
+ NE: "NE";
339
+ NG: "NG";
340
+ NU: "NU";
341
+ NF: "NF";
342
+ KP: "KP";
343
+ NO: "NO";
344
+ OM: "OM";
345
+ PK: "PK";
346
+ PS: "PS";
347
+ PA: "PA";
348
+ PG: "PG";
349
+ PY: "PY";
350
+ PE: "PE";
351
+ PH: "PH";
352
+ PL: "PL";
353
+ PT: "PT";
354
+ PR: "PR";
355
+ QA: "QA";
356
+ CG: "CG";
357
+ RE: "RE";
358
+ RO: "RO";
359
+ RU: "RU";
360
+ RW: "RW";
361
+ BL: "BL";
362
+ KN: "KN";
363
+ LC: "LC";
364
+ MF: "MF";
365
+ VC: "VC";
366
+ WS: "WS";
367
+ SM: "SM";
368
+ SA: "SA";
369
+ SN: "SN";
370
+ RS: "RS";
371
+ SC: "SC";
372
+ SL: "SL";
373
+ SG: "SG";
374
+ SX: "SX";
375
+ SK: "SK";
376
+ SI: "SI";
377
+ SO: "SO";
378
+ ZA: "ZA";
379
+ KR: "KR";
380
+ SS: "SS";
381
+ ES: "ES";
382
+ LK: "LK";
383
+ SD: "SD";
384
+ SR: "SR";
385
+ SJ: "SJ";
386
+ SZ: "SZ";
387
+ SE: "SE";
388
+ CH: "CH";
389
+ TW: "TW";
390
+ TJ: "TJ";
391
+ TZ: "TZ";
392
+ TH: "TH";
393
+ TG: "TG";
394
+ TO: "TO";
395
+ TT: "TT";
396
+ TN: "TN";
397
+ TR: "TR";
398
+ TM: "TM";
399
+ UM: "UM";
400
+ VI: "VI";
401
+ UG: "UG";
402
+ UA: "UA";
403
+ AE: "AE";
404
+ GB: "GB";
405
+ UZ: "UZ";
406
+ VU: "VU";
407
+ VE: "VE";
408
+ VN: "VN";
409
+ WF: "WF";
410
+ EH: "EH";
411
+ YE: "YE";
412
+ ZM: "ZM";
413
+ ZW: "ZW";
414
+ }>>;
415
+ routingNumber: z.ZodOptional<z.ZodString>;
416
+ sortCode: z.ZodOptional<z.ZodString>;
417
+ clabe: z.ZodOptional<z.ZodString>;
418
+ bsb: z.ZodOptional<z.ZodString>;
419
+ brBankNumber: z.ZodOptional<z.ZodString>;
420
+ }, z.core.$strip>;
421
+ debtor: z.ZodObject<{
422
+ id: z.ZodOptional<z.ZodString>;
423
+ number: z.ZodOptional<z.ZodString>;
424
+ bankCode: z.ZodOptional<z.ZodEnum<{
425
+ 5051: "5051";
426
+ "0100": "0100";
427
+ "0300": "0300";
428
+ "0600": "0600";
429
+ "0710": "0710";
430
+ "0800": "0800";
431
+ 2010: "2010";
432
+ 2060: "2060";
433
+ 2070: "2070";
434
+ 2100: "2100";
435
+ 2200: "2200";
436
+ 2220: "2220";
437
+ 2250: "2250";
438
+ 2260: "2260";
439
+ 2600: "2600";
440
+ 2700: "2700";
441
+ 3030: "3030";
442
+ 3060: "3060";
443
+ 3500: "3500";
444
+ 4300: "4300";
445
+ 5500: "5500";
446
+ 5800: "5800";
447
+ 6000: "6000";
448
+ 6200: "6200";
449
+ 6210: "6210";
450
+ 6300: "6300";
451
+ 6363: "6363";
452
+ 6700: "6700";
453
+ 6800: "6800";
454
+ 7910: "7910";
455
+ 7950: "7950";
456
+ 7960: "7960";
457
+ 7970: "7970";
458
+ 7990: "7990";
459
+ 8030: "8030";
460
+ 8040: "8040";
461
+ 8060: "8060";
462
+ 8090: "8090";
463
+ 8150: "8150";
464
+ 8190: "8190";
465
+ 8198: "8198";
466
+ 8220: "8220";
467
+ 8250: "8250";
468
+ 8255: "8255";
469
+ 8265: "8265";
470
+ 8500: "8500";
471
+ }>>;
472
+ holderName: z.ZodOptional<z.ZodString>;
473
+ iban: z.ZodOptional<z.ZodString>;
474
+ address: z.ZodOptional<z.ZodString>;
475
+ swiftBic: z.ZodOptional<z.ZodString>;
476
+ bicCor: z.ZodOptional<z.ZodString>;
477
+ currency: z.ZodOptional<z.ZodEnum<{
478
+ CZK: "CZK";
479
+ EUR: "EUR";
480
+ USD: "USD";
481
+ PLN: "PLN";
482
+ RON: "RON";
483
+ GBP: "GBP";
484
+ RUB: "RUB";
485
+ HUF: "HUF";
486
+ CHF: "CHF";
487
+ DKK: "DKK";
488
+ SEK: "SEK";
489
+ HRK: "HRK";
490
+ NOK: "NOK";
491
+ BGN: "BGN";
492
+ TRY: "TRY";
493
+ AUD: "AUD";
494
+ CAD: "CAD";
495
+ JPY: "JPY";
496
+ CNY: "CNY";
497
+ INR: "INR";
498
+ BRL: "BRL";
499
+ MXN: "MXN";
500
+ ZAR: "ZAR";
501
+ SGD: "SGD";
502
+ HKD: "HKD";
503
+ KRW: "KRW";
504
+ MYR: "MYR";
505
+ THB: "THB";
506
+ IDR: "IDR";
507
+ PHP: "PHP";
508
+ AED: "AED";
509
+ SAR: "SAR";
510
+ ILS: "ILS";
511
+ EGP: "EGP";
512
+ NGN: "NGN";
513
+ PKR: "PKR";
514
+ COP: "COP";
515
+ CLP: "CLP";
516
+ PEN: "PEN";
517
+ VND: "VND";
518
+ KZT: "KZT";
519
+ UAH: "UAH";
520
+ BTC: "BTC";
521
+ ETH: "ETH";
522
+ ADA: "ADA";
523
+ DOT: "DOT";
524
+ ATOM: "ATOM";
525
+ XRP: "XRP";
526
+ LTC: "LTC";
527
+ SOL: "SOL";
528
+ DOGE: "DOGE";
529
+ MATIC: "MATIC";
530
+ AVAX: "AVAX";
531
+ }>>;
532
+ country: z.ZodOptional<z.ZodEnum<{
533
+ EC: "EC";
534
+ AF: "AF";
535
+ AL: "AL";
536
+ DZ: "DZ";
537
+ AS: "AS";
538
+ AD: "AD";
539
+ AO: "AO";
540
+ AG: "AG";
541
+ AR: "AR";
542
+ AM: "AM";
543
+ AW: "AW";
544
+ AU: "AU";
545
+ AT: "AT";
546
+ AZ: "AZ";
547
+ BS: "BS";
548
+ BH: "BH";
549
+ BD: "BD";
550
+ BB: "BB";
551
+ BY: "BY";
552
+ BE: "BE";
553
+ BZ: "BZ";
554
+ BJ: "BJ";
555
+ BO: "BO";
556
+ BQ: "BQ";
557
+ BA: "BA";
558
+ BW: "BW";
559
+ BR: "BR";
560
+ IO: "IO";
561
+ VG: "VG";
562
+ BG: "BG";
563
+ BF: "BF";
564
+ BI: "BI";
565
+ KH: "KH";
566
+ CM: "CM";
567
+ CA: "CA";
568
+ CV: "CV";
569
+ CF: "CF";
570
+ TD: "TD";
571
+ CL: "CL";
572
+ CN: "CN";
573
+ CO: "CO";
574
+ KM: "KM";
575
+ CK: "CK";
576
+ CR: "CR";
577
+ HR: "HR";
578
+ CW: "CW";
579
+ CY: "CY";
580
+ CZ: "CZ";
581
+ CD: "CD";
582
+ DK: "DK";
583
+ DJ: "DJ";
584
+ DM: "DM";
585
+ DO: "DO";
586
+ TL: "TL";
587
+ EG: "EG";
588
+ SV: "SV";
589
+ GQ: "GQ";
590
+ ER: "ER";
591
+ EE: "EE";
592
+ ET: "ET";
593
+ FO: "FO";
594
+ FJ: "FJ";
595
+ FI: "FI";
596
+ FR: "FR";
597
+ GF: "GF";
598
+ PF: "PF";
599
+ GA: "GA";
600
+ GM: "GM";
601
+ GE: "GE";
602
+ DE: "DE";
603
+ GH: "GH";
604
+ GR: "GR";
605
+ GD: "GD";
606
+ GP: "GP";
607
+ GU: "GU";
608
+ GT: "GT";
609
+ GN: "GN";
610
+ GW: "GW";
611
+ GY: "GY";
612
+ HT: "HT";
613
+ HN: "HN";
614
+ HU: "HU";
615
+ IS: "IS";
616
+ IN: "IN";
617
+ ID: "ID";
618
+ IR: "IR";
619
+ IQ: "IQ";
620
+ IE: "IE";
621
+ IM: "IM";
622
+ IL: "IL";
623
+ IT: "IT";
624
+ CI: "CI";
625
+ JM: "JM";
626
+ JP: "JP";
627
+ JE: "JE";
628
+ JO: "JO";
629
+ KZ: "KZ";
630
+ KE: "KE";
631
+ KI: "KI";
632
+ XK: "XK";
633
+ KW: "KW";
634
+ KG: "KG";
635
+ LA: "LA";
636
+ LV: "LV";
637
+ LB: "LB";
638
+ LS: "LS";
639
+ LR: "LR";
640
+ LI: "LI";
641
+ LT: "LT";
642
+ LU: "LU";
643
+ MK: "MK";
644
+ MG: "MG";
645
+ MW: "MW";
646
+ MY: "MY";
647
+ MV: "MV";
648
+ ML: "ML";
649
+ MT: "MT";
650
+ MQ: "MQ";
651
+ MR: "MR";
652
+ MU: "MU";
653
+ MX: "MX";
654
+ FM: "FM";
655
+ MD: "MD";
656
+ MC: "MC";
657
+ MN: "MN";
658
+ ME: "ME";
659
+ MS: "MS";
660
+ MA: "MA";
661
+ MZ: "MZ";
662
+ NA: "NA";
663
+ NP: "NP";
664
+ NL: "NL";
665
+ NZ: "NZ";
666
+ NI: "NI";
667
+ NE: "NE";
668
+ NG: "NG";
669
+ NU: "NU";
670
+ NF: "NF";
671
+ KP: "KP";
672
+ NO: "NO";
673
+ OM: "OM";
674
+ PK: "PK";
675
+ PS: "PS";
676
+ PA: "PA";
677
+ PG: "PG";
678
+ PY: "PY";
679
+ PE: "PE";
680
+ PH: "PH";
681
+ PL: "PL";
682
+ PT: "PT";
683
+ PR: "PR";
684
+ QA: "QA";
685
+ CG: "CG";
686
+ RE: "RE";
687
+ RO: "RO";
688
+ RU: "RU";
689
+ RW: "RW";
690
+ BL: "BL";
691
+ KN: "KN";
692
+ LC: "LC";
693
+ MF: "MF";
694
+ VC: "VC";
695
+ WS: "WS";
696
+ SM: "SM";
697
+ SA: "SA";
698
+ SN: "SN";
699
+ RS: "RS";
700
+ SC: "SC";
701
+ SL: "SL";
702
+ SG: "SG";
703
+ SX: "SX";
704
+ SK: "SK";
705
+ SI: "SI";
706
+ SO: "SO";
707
+ ZA: "ZA";
708
+ KR: "KR";
709
+ SS: "SS";
710
+ ES: "ES";
711
+ LK: "LK";
712
+ SD: "SD";
713
+ SR: "SR";
714
+ SJ: "SJ";
715
+ SZ: "SZ";
716
+ SE: "SE";
717
+ CH: "CH";
718
+ TW: "TW";
719
+ TJ: "TJ";
720
+ TZ: "TZ";
721
+ TH: "TH";
722
+ TG: "TG";
723
+ TO: "TO";
724
+ TT: "TT";
725
+ TN: "TN";
726
+ TR: "TR";
727
+ TM: "TM";
728
+ UM: "UM";
729
+ VI: "VI";
730
+ UG: "UG";
731
+ UA: "UA";
732
+ AE: "AE";
733
+ GB: "GB";
734
+ UZ: "UZ";
735
+ VU: "VU";
736
+ VE: "VE";
737
+ VN: "VN";
738
+ WF: "WF";
739
+ EH: "EH";
740
+ YE: "YE";
741
+ ZM: "ZM";
742
+ ZW: "ZW";
743
+ }>>;
744
+ routingNumber: z.ZodOptional<z.ZodString>;
745
+ sortCode: z.ZodOptional<z.ZodString>;
746
+ clabe: z.ZodOptional<z.ZodString>;
747
+ bsb: z.ZodOptional<z.ZodString>;
748
+ brBankNumber: z.ZodOptional<z.ZodString>;
749
+ }, z.core.$strip>;
750
+ purpose: z.ZodOptional<z.ZodString>;
87
751
  }, z.core.$strip>;
88
752
  interface SendPaymentInput extends z.infer<typeof sendPaymentInputSchema> {
89
753
  }
@@ -176,10 +840,664 @@ declare const simulateDepositInputSchema: z.ZodObject<{
176
840
  bankingSs: z.ZodOptional<z.ZodString>;
177
841
  bankingKs: z.ZodOptional<z.ZodString>;
178
842
  message: z.ZodString;
179
- creditorIban: z.ZodString;
180
- creditorHolderName: z.ZodString;
181
- debtorIban: z.ZodString;
182
- debtorHolderName: z.ZodString;
843
+ creditor: z.ZodObject<{
844
+ id: z.ZodOptional<z.ZodString>;
845
+ number: z.ZodOptional<z.ZodString>;
846
+ bankCode: z.ZodOptional<z.ZodEnum<{
847
+ 5051: "5051";
848
+ "0100": "0100";
849
+ "0300": "0300";
850
+ "0600": "0600";
851
+ "0710": "0710";
852
+ "0800": "0800";
853
+ 2010: "2010";
854
+ 2060: "2060";
855
+ 2070: "2070";
856
+ 2100: "2100";
857
+ 2200: "2200";
858
+ 2220: "2220";
859
+ 2250: "2250";
860
+ 2260: "2260";
861
+ 2600: "2600";
862
+ 2700: "2700";
863
+ 3030: "3030";
864
+ 3060: "3060";
865
+ 3500: "3500";
866
+ 4300: "4300";
867
+ 5500: "5500";
868
+ 5800: "5800";
869
+ 6000: "6000";
870
+ 6200: "6200";
871
+ 6210: "6210";
872
+ 6300: "6300";
873
+ 6363: "6363";
874
+ 6700: "6700";
875
+ 6800: "6800";
876
+ 7910: "7910";
877
+ 7950: "7950";
878
+ 7960: "7960";
879
+ 7970: "7970";
880
+ 7990: "7990";
881
+ 8030: "8030";
882
+ 8040: "8040";
883
+ 8060: "8060";
884
+ 8090: "8090";
885
+ 8150: "8150";
886
+ 8190: "8190";
887
+ 8198: "8198";
888
+ 8220: "8220";
889
+ 8250: "8250";
890
+ 8255: "8255";
891
+ 8265: "8265";
892
+ 8500: "8500";
893
+ }>>;
894
+ holderName: z.ZodOptional<z.ZodString>;
895
+ iban: z.ZodOptional<z.ZodString>;
896
+ address: z.ZodOptional<z.ZodString>;
897
+ swiftBic: z.ZodOptional<z.ZodString>;
898
+ bicCor: z.ZodOptional<z.ZodString>;
899
+ currency: z.ZodOptional<z.ZodEnum<{
900
+ CZK: "CZK";
901
+ EUR: "EUR";
902
+ USD: "USD";
903
+ PLN: "PLN";
904
+ RON: "RON";
905
+ GBP: "GBP";
906
+ RUB: "RUB";
907
+ HUF: "HUF";
908
+ CHF: "CHF";
909
+ DKK: "DKK";
910
+ SEK: "SEK";
911
+ HRK: "HRK";
912
+ NOK: "NOK";
913
+ BGN: "BGN";
914
+ TRY: "TRY";
915
+ AUD: "AUD";
916
+ CAD: "CAD";
917
+ JPY: "JPY";
918
+ CNY: "CNY";
919
+ INR: "INR";
920
+ BRL: "BRL";
921
+ MXN: "MXN";
922
+ ZAR: "ZAR";
923
+ SGD: "SGD";
924
+ HKD: "HKD";
925
+ KRW: "KRW";
926
+ MYR: "MYR";
927
+ THB: "THB";
928
+ IDR: "IDR";
929
+ PHP: "PHP";
930
+ AED: "AED";
931
+ SAR: "SAR";
932
+ ILS: "ILS";
933
+ EGP: "EGP";
934
+ NGN: "NGN";
935
+ PKR: "PKR";
936
+ COP: "COP";
937
+ CLP: "CLP";
938
+ PEN: "PEN";
939
+ VND: "VND";
940
+ KZT: "KZT";
941
+ UAH: "UAH";
942
+ BTC: "BTC";
943
+ ETH: "ETH";
944
+ ADA: "ADA";
945
+ DOT: "DOT";
946
+ ATOM: "ATOM";
947
+ XRP: "XRP";
948
+ LTC: "LTC";
949
+ SOL: "SOL";
950
+ DOGE: "DOGE";
951
+ MATIC: "MATIC";
952
+ AVAX: "AVAX";
953
+ }>>;
954
+ country: z.ZodOptional<z.ZodEnum<{
955
+ EC: "EC";
956
+ AF: "AF";
957
+ AL: "AL";
958
+ DZ: "DZ";
959
+ AS: "AS";
960
+ AD: "AD";
961
+ AO: "AO";
962
+ AG: "AG";
963
+ AR: "AR";
964
+ AM: "AM";
965
+ AW: "AW";
966
+ AU: "AU";
967
+ AT: "AT";
968
+ AZ: "AZ";
969
+ BS: "BS";
970
+ BH: "BH";
971
+ BD: "BD";
972
+ BB: "BB";
973
+ BY: "BY";
974
+ BE: "BE";
975
+ BZ: "BZ";
976
+ BJ: "BJ";
977
+ BO: "BO";
978
+ BQ: "BQ";
979
+ BA: "BA";
980
+ BW: "BW";
981
+ BR: "BR";
982
+ IO: "IO";
983
+ VG: "VG";
984
+ BG: "BG";
985
+ BF: "BF";
986
+ BI: "BI";
987
+ KH: "KH";
988
+ CM: "CM";
989
+ CA: "CA";
990
+ CV: "CV";
991
+ CF: "CF";
992
+ TD: "TD";
993
+ CL: "CL";
994
+ CN: "CN";
995
+ CO: "CO";
996
+ KM: "KM";
997
+ CK: "CK";
998
+ CR: "CR";
999
+ HR: "HR";
1000
+ CW: "CW";
1001
+ CY: "CY";
1002
+ CZ: "CZ";
1003
+ CD: "CD";
1004
+ DK: "DK";
1005
+ DJ: "DJ";
1006
+ DM: "DM";
1007
+ DO: "DO";
1008
+ TL: "TL";
1009
+ EG: "EG";
1010
+ SV: "SV";
1011
+ GQ: "GQ";
1012
+ ER: "ER";
1013
+ EE: "EE";
1014
+ ET: "ET";
1015
+ FO: "FO";
1016
+ FJ: "FJ";
1017
+ FI: "FI";
1018
+ FR: "FR";
1019
+ GF: "GF";
1020
+ PF: "PF";
1021
+ GA: "GA";
1022
+ GM: "GM";
1023
+ GE: "GE";
1024
+ DE: "DE";
1025
+ GH: "GH";
1026
+ GR: "GR";
1027
+ GD: "GD";
1028
+ GP: "GP";
1029
+ GU: "GU";
1030
+ GT: "GT";
1031
+ GN: "GN";
1032
+ GW: "GW";
1033
+ GY: "GY";
1034
+ HT: "HT";
1035
+ HN: "HN";
1036
+ HU: "HU";
1037
+ IS: "IS";
1038
+ IN: "IN";
1039
+ ID: "ID";
1040
+ IR: "IR";
1041
+ IQ: "IQ";
1042
+ IE: "IE";
1043
+ IM: "IM";
1044
+ IL: "IL";
1045
+ IT: "IT";
1046
+ CI: "CI";
1047
+ JM: "JM";
1048
+ JP: "JP";
1049
+ JE: "JE";
1050
+ JO: "JO";
1051
+ KZ: "KZ";
1052
+ KE: "KE";
1053
+ KI: "KI";
1054
+ XK: "XK";
1055
+ KW: "KW";
1056
+ KG: "KG";
1057
+ LA: "LA";
1058
+ LV: "LV";
1059
+ LB: "LB";
1060
+ LS: "LS";
1061
+ LR: "LR";
1062
+ LI: "LI";
1063
+ LT: "LT";
1064
+ LU: "LU";
1065
+ MK: "MK";
1066
+ MG: "MG";
1067
+ MW: "MW";
1068
+ MY: "MY";
1069
+ MV: "MV";
1070
+ ML: "ML";
1071
+ MT: "MT";
1072
+ MQ: "MQ";
1073
+ MR: "MR";
1074
+ MU: "MU";
1075
+ MX: "MX";
1076
+ FM: "FM";
1077
+ MD: "MD";
1078
+ MC: "MC";
1079
+ MN: "MN";
1080
+ ME: "ME";
1081
+ MS: "MS";
1082
+ MA: "MA";
1083
+ MZ: "MZ";
1084
+ NA: "NA";
1085
+ NP: "NP";
1086
+ NL: "NL";
1087
+ NZ: "NZ";
1088
+ NI: "NI";
1089
+ NE: "NE";
1090
+ NG: "NG";
1091
+ NU: "NU";
1092
+ NF: "NF";
1093
+ KP: "KP";
1094
+ NO: "NO";
1095
+ OM: "OM";
1096
+ PK: "PK";
1097
+ PS: "PS";
1098
+ PA: "PA";
1099
+ PG: "PG";
1100
+ PY: "PY";
1101
+ PE: "PE";
1102
+ PH: "PH";
1103
+ PL: "PL";
1104
+ PT: "PT";
1105
+ PR: "PR";
1106
+ QA: "QA";
1107
+ CG: "CG";
1108
+ RE: "RE";
1109
+ RO: "RO";
1110
+ RU: "RU";
1111
+ RW: "RW";
1112
+ BL: "BL";
1113
+ KN: "KN";
1114
+ LC: "LC";
1115
+ MF: "MF";
1116
+ VC: "VC";
1117
+ WS: "WS";
1118
+ SM: "SM";
1119
+ SA: "SA";
1120
+ SN: "SN";
1121
+ RS: "RS";
1122
+ SC: "SC";
1123
+ SL: "SL";
1124
+ SG: "SG";
1125
+ SX: "SX";
1126
+ SK: "SK";
1127
+ SI: "SI";
1128
+ SO: "SO";
1129
+ ZA: "ZA";
1130
+ KR: "KR";
1131
+ SS: "SS";
1132
+ ES: "ES";
1133
+ LK: "LK";
1134
+ SD: "SD";
1135
+ SR: "SR";
1136
+ SJ: "SJ";
1137
+ SZ: "SZ";
1138
+ SE: "SE";
1139
+ CH: "CH";
1140
+ TW: "TW";
1141
+ TJ: "TJ";
1142
+ TZ: "TZ";
1143
+ TH: "TH";
1144
+ TG: "TG";
1145
+ TO: "TO";
1146
+ TT: "TT";
1147
+ TN: "TN";
1148
+ TR: "TR";
1149
+ TM: "TM";
1150
+ UM: "UM";
1151
+ VI: "VI";
1152
+ UG: "UG";
1153
+ UA: "UA";
1154
+ AE: "AE";
1155
+ GB: "GB";
1156
+ UZ: "UZ";
1157
+ VU: "VU";
1158
+ VE: "VE";
1159
+ VN: "VN";
1160
+ WF: "WF";
1161
+ EH: "EH";
1162
+ YE: "YE";
1163
+ ZM: "ZM";
1164
+ ZW: "ZW";
1165
+ }>>;
1166
+ routingNumber: z.ZodOptional<z.ZodString>;
1167
+ sortCode: z.ZodOptional<z.ZodString>;
1168
+ clabe: z.ZodOptional<z.ZodString>;
1169
+ bsb: z.ZodOptional<z.ZodString>;
1170
+ brBankNumber: z.ZodOptional<z.ZodString>;
1171
+ }, z.core.$strip>;
1172
+ debtor: z.ZodObject<{
1173
+ id: z.ZodOptional<z.ZodString>;
1174
+ number: z.ZodOptional<z.ZodString>;
1175
+ bankCode: z.ZodOptional<z.ZodEnum<{
1176
+ 5051: "5051";
1177
+ "0100": "0100";
1178
+ "0300": "0300";
1179
+ "0600": "0600";
1180
+ "0710": "0710";
1181
+ "0800": "0800";
1182
+ 2010: "2010";
1183
+ 2060: "2060";
1184
+ 2070: "2070";
1185
+ 2100: "2100";
1186
+ 2200: "2200";
1187
+ 2220: "2220";
1188
+ 2250: "2250";
1189
+ 2260: "2260";
1190
+ 2600: "2600";
1191
+ 2700: "2700";
1192
+ 3030: "3030";
1193
+ 3060: "3060";
1194
+ 3500: "3500";
1195
+ 4300: "4300";
1196
+ 5500: "5500";
1197
+ 5800: "5800";
1198
+ 6000: "6000";
1199
+ 6200: "6200";
1200
+ 6210: "6210";
1201
+ 6300: "6300";
1202
+ 6363: "6363";
1203
+ 6700: "6700";
1204
+ 6800: "6800";
1205
+ 7910: "7910";
1206
+ 7950: "7950";
1207
+ 7960: "7960";
1208
+ 7970: "7970";
1209
+ 7990: "7990";
1210
+ 8030: "8030";
1211
+ 8040: "8040";
1212
+ 8060: "8060";
1213
+ 8090: "8090";
1214
+ 8150: "8150";
1215
+ 8190: "8190";
1216
+ 8198: "8198";
1217
+ 8220: "8220";
1218
+ 8250: "8250";
1219
+ 8255: "8255";
1220
+ 8265: "8265";
1221
+ 8500: "8500";
1222
+ }>>;
1223
+ holderName: z.ZodOptional<z.ZodString>;
1224
+ iban: z.ZodOptional<z.ZodString>;
1225
+ address: z.ZodOptional<z.ZodString>;
1226
+ swiftBic: z.ZodOptional<z.ZodString>;
1227
+ bicCor: z.ZodOptional<z.ZodString>;
1228
+ currency: z.ZodOptional<z.ZodEnum<{
1229
+ CZK: "CZK";
1230
+ EUR: "EUR";
1231
+ USD: "USD";
1232
+ PLN: "PLN";
1233
+ RON: "RON";
1234
+ GBP: "GBP";
1235
+ RUB: "RUB";
1236
+ HUF: "HUF";
1237
+ CHF: "CHF";
1238
+ DKK: "DKK";
1239
+ SEK: "SEK";
1240
+ HRK: "HRK";
1241
+ NOK: "NOK";
1242
+ BGN: "BGN";
1243
+ TRY: "TRY";
1244
+ AUD: "AUD";
1245
+ CAD: "CAD";
1246
+ JPY: "JPY";
1247
+ CNY: "CNY";
1248
+ INR: "INR";
1249
+ BRL: "BRL";
1250
+ MXN: "MXN";
1251
+ ZAR: "ZAR";
1252
+ SGD: "SGD";
1253
+ HKD: "HKD";
1254
+ KRW: "KRW";
1255
+ MYR: "MYR";
1256
+ THB: "THB";
1257
+ IDR: "IDR";
1258
+ PHP: "PHP";
1259
+ AED: "AED";
1260
+ SAR: "SAR";
1261
+ ILS: "ILS";
1262
+ EGP: "EGP";
1263
+ NGN: "NGN";
1264
+ PKR: "PKR";
1265
+ COP: "COP";
1266
+ CLP: "CLP";
1267
+ PEN: "PEN";
1268
+ VND: "VND";
1269
+ KZT: "KZT";
1270
+ UAH: "UAH";
1271
+ BTC: "BTC";
1272
+ ETH: "ETH";
1273
+ ADA: "ADA";
1274
+ DOT: "DOT";
1275
+ ATOM: "ATOM";
1276
+ XRP: "XRP";
1277
+ LTC: "LTC";
1278
+ SOL: "SOL";
1279
+ DOGE: "DOGE";
1280
+ MATIC: "MATIC";
1281
+ AVAX: "AVAX";
1282
+ }>>;
1283
+ country: z.ZodOptional<z.ZodEnum<{
1284
+ EC: "EC";
1285
+ AF: "AF";
1286
+ AL: "AL";
1287
+ DZ: "DZ";
1288
+ AS: "AS";
1289
+ AD: "AD";
1290
+ AO: "AO";
1291
+ AG: "AG";
1292
+ AR: "AR";
1293
+ AM: "AM";
1294
+ AW: "AW";
1295
+ AU: "AU";
1296
+ AT: "AT";
1297
+ AZ: "AZ";
1298
+ BS: "BS";
1299
+ BH: "BH";
1300
+ BD: "BD";
1301
+ BB: "BB";
1302
+ BY: "BY";
1303
+ BE: "BE";
1304
+ BZ: "BZ";
1305
+ BJ: "BJ";
1306
+ BO: "BO";
1307
+ BQ: "BQ";
1308
+ BA: "BA";
1309
+ BW: "BW";
1310
+ BR: "BR";
1311
+ IO: "IO";
1312
+ VG: "VG";
1313
+ BG: "BG";
1314
+ BF: "BF";
1315
+ BI: "BI";
1316
+ KH: "KH";
1317
+ CM: "CM";
1318
+ CA: "CA";
1319
+ CV: "CV";
1320
+ CF: "CF";
1321
+ TD: "TD";
1322
+ CL: "CL";
1323
+ CN: "CN";
1324
+ CO: "CO";
1325
+ KM: "KM";
1326
+ CK: "CK";
1327
+ CR: "CR";
1328
+ HR: "HR";
1329
+ CW: "CW";
1330
+ CY: "CY";
1331
+ CZ: "CZ";
1332
+ CD: "CD";
1333
+ DK: "DK";
1334
+ DJ: "DJ";
1335
+ DM: "DM";
1336
+ DO: "DO";
1337
+ TL: "TL";
1338
+ EG: "EG";
1339
+ SV: "SV";
1340
+ GQ: "GQ";
1341
+ ER: "ER";
1342
+ EE: "EE";
1343
+ ET: "ET";
1344
+ FO: "FO";
1345
+ FJ: "FJ";
1346
+ FI: "FI";
1347
+ FR: "FR";
1348
+ GF: "GF";
1349
+ PF: "PF";
1350
+ GA: "GA";
1351
+ GM: "GM";
1352
+ GE: "GE";
1353
+ DE: "DE";
1354
+ GH: "GH";
1355
+ GR: "GR";
1356
+ GD: "GD";
1357
+ GP: "GP";
1358
+ GU: "GU";
1359
+ GT: "GT";
1360
+ GN: "GN";
1361
+ GW: "GW";
1362
+ GY: "GY";
1363
+ HT: "HT";
1364
+ HN: "HN";
1365
+ HU: "HU";
1366
+ IS: "IS";
1367
+ IN: "IN";
1368
+ ID: "ID";
1369
+ IR: "IR";
1370
+ IQ: "IQ";
1371
+ IE: "IE";
1372
+ IM: "IM";
1373
+ IL: "IL";
1374
+ IT: "IT";
1375
+ CI: "CI";
1376
+ JM: "JM";
1377
+ JP: "JP";
1378
+ JE: "JE";
1379
+ JO: "JO";
1380
+ KZ: "KZ";
1381
+ KE: "KE";
1382
+ KI: "KI";
1383
+ XK: "XK";
1384
+ KW: "KW";
1385
+ KG: "KG";
1386
+ LA: "LA";
1387
+ LV: "LV";
1388
+ LB: "LB";
1389
+ LS: "LS";
1390
+ LR: "LR";
1391
+ LI: "LI";
1392
+ LT: "LT";
1393
+ LU: "LU";
1394
+ MK: "MK";
1395
+ MG: "MG";
1396
+ MW: "MW";
1397
+ MY: "MY";
1398
+ MV: "MV";
1399
+ ML: "ML";
1400
+ MT: "MT";
1401
+ MQ: "MQ";
1402
+ MR: "MR";
1403
+ MU: "MU";
1404
+ MX: "MX";
1405
+ FM: "FM";
1406
+ MD: "MD";
1407
+ MC: "MC";
1408
+ MN: "MN";
1409
+ ME: "ME";
1410
+ MS: "MS";
1411
+ MA: "MA";
1412
+ MZ: "MZ";
1413
+ NA: "NA";
1414
+ NP: "NP";
1415
+ NL: "NL";
1416
+ NZ: "NZ";
1417
+ NI: "NI";
1418
+ NE: "NE";
1419
+ NG: "NG";
1420
+ NU: "NU";
1421
+ NF: "NF";
1422
+ KP: "KP";
1423
+ NO: "NO";
1424
+ OM: "OM";
1425
+ PK: "PK";
1426
+ PS: "PS";
1427
+ PA: "PA";
1428
+ PG: "PG";
1429
+ PY: "PY";
1430
+ PE: "PE";
1431
+ PH: "PH";
1432
+ PL: "PL";
1433
+ PT: "PT";
1434
+ PR: "PR";
1435
+ QA: "QA";
1436
+ CG: "CG";
1437
+ RE: "RE";
1438
+ RO: "RO";
1439
+ RU: "RU";
1440
+ RW: "RW";
1441
+ BL: "BL";
1442
+ KN: "KN";
1443
+ LC: "LC";
1444
+ MF: "MF";
1445
+ VC: "VC";
1446
+ WS: "WS";
1447
+ SM: "SM";
1448
+ SA: "SA";
1449
+ SN: "SN";
1450
+ RS: "RS";
1451
+ SC: "SC";
1452
+ SL: "SL";
1453
+ SG: "SG";
1454
+ SX: "SX";
1455
+ SK: "SK";
1456
+ SI: "SI";
1457
+ SO: "SO";
1458
+ ZA: "ZA";
1459
+ KR: "KR";
1460
+ SS: "SS";
1461
+ ES: "ES";
1462
+ LK: "LK";
1463
+ SD: "SD";
1464
+ SR: "SR";
1465
+ SJ: "SJ";
1466
+ SZ: "SZ";
1467
+ SE: "SE";
1468
+ CH: "CH";
1469
+ TW: "TW";
1470
+ TJ: "TJ";
1471
+ TZ: "TZ";
1472
+ TH: "TH";
1473
+ TG: "TG";
1474
+ TO: "TO";
1475
+ TT: "TT";
1476
+ TN: "TN";
1477
+ TR: "TR";
1478
+ TM: "TM";
1479
+ UM: "UM";
1480
+ VI: "VI";
1481
+ UG: "UG";
1482
+ UA: "UA";
1483
+ AE: "AE";
1484
+ GB: "GB";
1485
+ UZ: "UZ";
1486
+ VU: "VU";
1487
+ VE: "VE";
1488
+ VN: "VN";
1489
+ WF: "WF";
1490
+ EH: "EH";
1491
+ YE: "YE";
1492
+ ZM: "ZM";
1493
+ ZW: "ZW";
1494
+ }>>;
1495
+ routingNumber: z.ZodOptional<z.ZodString>;
1496
+ sortCode: z.ZodOptional<z.ZodString>;
1497
+ clabe: z.ZodOptional<z.ZodString>;
1498
+ bsb: z.ZodOptional<z.ZodString>;
1499
+ brBankNumber: z.ZodOptional<z.ZodString>;
1500
+ }, z.core.$strip>;
183
1501
  connectorKey: z.ZodEnum<{
184
1502
  ERSTE: "ERSTE";
185
1503
  FINBRICKS: "FINBRICKS";
@@ -201,24 +1519,7 @@ declare const setLastSyncAtInputSchema: z.ZodObject<{
201
1519
  }, z.core.$strip>;
202
1520
  interface SetLastSyncAtInput extends z.infer<typeof setLastSyncAtInputSchema> {
203
1521
  }
204
- type SetLastSyncAtOutput = {};
205
-
206
- declare const initiateConnectorInputSchema: z.ZodObject<{
207
- connectorKey: z.ZodEnum<{
208
- ERSTE: "ERSTE";
209
- FINBRICKS: "FINBRICKS";
210
- MOCK: "MOCK";
211
- CREDITAS: "CREDITAS";
212
- MOCK_COBS: "MOCK_COBS";
213
- FIO: "FIO";
214
- MONETA: "MONETA";
215
- }>;
216
- withAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
217
- }, z.core.$strip>;
218
- interface initiateConnectorInput extends z.input<typeof initiateConnectorInputSchema> {
219
- }
220
- interface initiateConnectorOutput {
221
- }
1522
+ type SetLastSyncAtOutput = void;
222
1523
 
223
1524
  declare const getBatchesInputSchema: z.ZodObject<{
224
1525
  page: z.ZodNumber;
@@ -437,45 +1738,523 @@ interface SyncAccountInput extends z.infer<typeof syncAccountInputSchema> {
437
1738
  }
438
1739
  type SyncAccountOutput = void;
439
1740
 
1741
+ declare const updateAccountInputSchema: z.ZodObject<{
1742
+ account: drizzle_zod.BuildSchema<"insert", {
1743
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
1744
+ name: "connector_key";
1745
+ tableName: "account";
1746
+ dataType: "string";
1747
+ columnType: "SQLiteText";
1748
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
1749
+ driverParam: string;
1750
+ notNull: true;
1751
+ hasDefault: false;
1752
+ isPrimaryKey: false;
1753
+ isAutoincrement: false;
1754
+ hasRuntimeDefault: false;
1755
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA"];
1756
+ baseColumn: never;
1757
+ identity: undefined;
1758
+ generated: undefined;
1759
+ }, {}, {
1760
+ length: number | undefined;
1761
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
1762
+ }>;
1763
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
1764
+ name: "status";
1765
+ tableName: "account";
1766
+ dataType: "string";
1767
+ columnType: "SQLiteText";
1768
+ data: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1769
+ driverParam: string;
1770
+ notNull: true;
1771
+ hasDefault: false;
1772
+ isPrimaryKey: false;
1773
+ isAutoincrement: false;
1774
+ hasRuntimeDefault: false;
1775
+ enumValues: ["AUTHORIZED", "DISABLED", "EXPIRED"];
1776
+ baseColumn: never;
1777
+ identity: undefined;
1778
+ generated: undefined;
1779
+ }, {}, {
1780
+ length: number | undefined;
1781
+ $type: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1782
+ }>;
1783
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
1784
+ name: "bank_ref_id";
1785
+ tableName: "account";
1786
+ dataType: "string";
1787
+ columnType: "SQLiteText";
1788
+ data: string;
1789
+ driverParam: string;
1790
+ notNull: true;
1791
+ hasDefault: false;
1792
+ isPrimaryKey: false;
1793
+ isAutoincrement: false;
1794
+ hasRuntimeDefault: false;
1795
+ enumValues: [string, ...string[]];
1796
+ baseColumn: never;
1797
+ identity: undefined;
1798
+ generated: undefined;
1799
+ }, {}, {
1800
+ length: number | undefined;
1801
+ }>;
1802
+ batchSizeLimit: drizzle_orm_sqlite_core.SQLiteColumn<{
1803
+ name: "batch_size_limit";
1804
+ tableName: "account";
1805
+ dataType: "number";
1806
+ columnType: "SQLiteInteger";
1807
+ data: number;
1808
+ driverParam: number;
1809
+ notNull: true;
1810
+ hasDefault: true;
1811
+ isPrimaryKey: false;
1812
+ isAutoincrement: false;
1813
+ hasRuntimeDefault: false;
1814
+ enumValues: undefined;
1815
+ baseColumn: never;
1816
+ identity: undefined;
1817
+ generated: undefined;
1818
+ }, {}, {}>;
1819
+ sync: drizzle_orm_sqlite_core.SQLiteColumn<{
1820
+ name: "sync";
1821
+ tableName: "account";
1822
+ dataType: "boolean";
1823
+ columnType: "SQLiteBoolean";
1824
+ data: boolean;
1825
+ driverParam: number;
1826
+ notNull: true;
1827
+ hasDefault: true;
1828
+ isPrimaryKey: false;
1829
+ isAutoincrement: false;
1830
+ hasRuntimeDefault: false;
1831
+ enumValues: undefined;
1832
+ baseColumn: never;
1833
+ identity: undefined;
1834
+ generated: undefined;
1835
+ }, {}, {}>;
1836
+ syncPeriod: drizzle_orm_sqlite_core.SQLiteColumn<{
1837
+ name: "sync_period";
1838
+ tableName: "account";
1839
+ dataType: "number";
1840
+ columnType: "SQLiteInteger";
1841
+ data: number;
1842
+ driverParam: number;
1843
+ notNull: false;
1844
+ hasDefault: false;
1845
+ isPrimaryKey: false;
1846
+ isAutoincrement: false;
1847
+ hasRuntimeDefault: false;
1848
+ enumValues: undefined;
1849
+ baseColumn: never;
1850
+ identity: undefined;
1851
+ generated: undefined;
1852
+ }, {}, {}>;
1853
+ lastSyncedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1854
+ name: "last_synced_at";
1855
+ tableName: "account";
1856
+ dataType: "date";
1857
+ columnType: "SQLiteTimestamp";
1858
+ data: Date;
1859
+ driverParam: number;
1860
+ notNull: false;
1861
+ hasDefault: false;
1862
+ isPrimaryKey: false;
1863
+ isAutoincrement: false;
1864
+ hasRuntimeDefault: false;
1865
+ enumValues: undefined;
1866
+ baseColumn: never;
1867
+ identity: undefined;
1868
+ generated: undefined;
1869
+ }, {}, {}>;
1870
+ holderName: drizzle_orm_sqlite_core.SQLiteColumn<{
1871
+ name: "holder_name";
1872
+ tableName: "account";
1873
+ dataType: "string";
1874
+ columnType: "SQLiteText";
1875
+ data: string;
1876
+ driverParam: string;
1877
+ notNull: true;
1878
+ hasDefault: false;
1879
+ isPrimaryKey: false;
1880
+ isAutoincrement: false;
1881
+ hasRuntimeDefault: false;
1882
+ enumValues: [string, ...string[]];
1883
+ baseColumn: never;
1884
+ identity: undefined;
1885
+ generated: undefined;
1886
+ }, {}, {
1887
+ length: number | undefined;
1888
+ }>;
1889
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
1890
+ name: "number";
1891
+ tableName: "account";
1892
+ dataType: "string";
1893
+ columnType: "SQLiteText";
1894
+ data: string;
1895
+ driverParam: string;
1896
+ notNull: false;
1897
+ hasDefault: false;
1898
+ isPrimaryKey: false;
1899
+ isAutoincrement: false;
1900
+ hasRuntimeDefault: false;
1901
+ enumValues: [string, ...string[]];
1902
+ baseColumn: never;
1903
+ identity: undefined;
1904
+ generated: undefined;
1905
+ }, {}, {
1906
+ length: number | undefined;
1907
+ }>;
1908
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1909
+ name: "bank_code";
1910
+ tableName: "account";
1911
+ dataType: "string";
1912
+ columnType: "SQLiteText";
1913
+ 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";
1914
+ driverParam: string;
1915
+ notNull: false;
1916
+ hasDefault: false;
1917
+ isPrimaryKey: false;
1918
+ isAutoincrement: false;
1919
+ hasRuntimeDefault: false;
1920
+ 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")[]];
1921
+ baseColumn: never;
1922
+ identity: undefined;
1923
+ generated: undefined;
1924
+ }, {}, {
1925
+ length: number | undefined;
1926
+ }>;
1927
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1928
+ name: "iban";
1929
+ tableName: "account";
1930
+ dataType: "string";
1931
+ columnType: "SQLiteText";
1932
+ data: string;
1933
+ driverParam: string;
1934
+ notNull: false;
1935
+ hasDefault: false;
1936
+ isPrimaryKey: false;
1937
+ isAutoincrement: false;
1938
+ hasRuntimeDefault: false;
1939
+ enumValues: [string, ...string[]];
1940
+ baseColumn: never;
1941
+ identity: undefined;
1942
+ generated: undefined;
1943
+ }, {}, {
1944
+ length: number | undefined;
1945
+ }>;
1946
+ address: drizzle_orm_sqlite_core.SQLiteColumn<{
1947
+ name: "address";
1948
+ tableName: "account";
1949
+ dataType: "string";
1950
+ columnType: "SQLiteText";
1951
+ data: string;
1952
+ driverParam: string;
1953
+ notNull: false;
1954
+ hasDefault: false;
1955
+ isPrimaryKey: false;
1956
+ isAutoincrement: false;
1957
+ hasRuntimeDefault: false;
1958
+ enumValues: [string, ...string[]];
1959
+ baseColumn: never;
1960
+ identity: undefined;
1961
+ generated: undefined;
1962
+ }, {}, {
1963
+ length: number | undefined;
1964
+ }>;
1965
+ swiftBic: drizzle_orm_sqlite_core.SQLiteColumn<{
1966
+ name: "swift_bic";
1967
+ tableName: "account";
1968
+ dataType: "string";
1969
+ columnType: "SQLiteText";
1970
+ data: string;
1971
+ driverParam: string;
1972
+ notNull: false;
1973
+ hasDefault: false;
1974
+ isPrimaryKey: false;
1975
+ isAutoincrement: false;
1976
+ hasRuntimeDefault: false;
1977
+ enumValues: [string, ...string[]];
1978
+ baseColumn: never;
1979
+ identity: undefined;
1980
+ generated: undefined;
1981
+ }, {}, {
1982
+ length: number | undefined;
1983
+ }>;
1984
+ bicCor: drizzle_orm_sqlite_core.SQLiteColumn<{
1985
+ name: "bic_cor";
1986
+ tableName: "account";
1987
+ dataType: "string";
1988
+ columnType: "SQLiteText";
1989
+ data: string;
1990
+ driverParam: string;
1991
+ notNull: false;
1992
+ hasDefault: false;
1993
+ isPrimaryKey: false;
1994
+ isAutoincrement: false;
1995
+ hasRuntimeDefault: false;
1996
+ enumValues: [string, ...string[]];
1997
+ baseColumn: never;
1998
+ identity: undefined;
1999
+ generated: undefined;
2000
+ }, {}, {
2001
+ length: number | undefined;
2002
+ }>;
2003
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
2004
+ name: "currency";
2005
+ tableName: "account";
2006
+ dataType: "string";
2007
+ columnType: "SQLiteText";
2008
+ data: "CZK" | "EUR" | "USD" | "PLN" | "RON" | "GBP" | "RUB" | "HUF" | "CHF" | "DKK" | "SEK" | "HRK" | "NOK" | "BGN" | "TRY" | "AUD" | "CAD" | "JPY" | "CNY" | "INR" | "BRL" | "MXN" | "ZAR" | "SGD" | "HKD" | "KRW" | "MYR" | "THB" | "IDR" | "PHP" | "AED" | "SAR" | "ILS" | "EGP" | "NGN" | "PKR" | "COP" | "CLP" | "PEN" | "VND" | "KZT" | "UAH" | "BTC" | "ETH" | "ADA" | "DOT" | "ATOM" | "XRP" | "LTC" | "SOL" | "DOGE" | "MATIC" | "AVAX";
2009
+ driverParam: string;
2010
+ notNull: true;
2011
+ hasDefault: false;
2012
+ isPrimaryKey: false;
2013
+ isAutoincrement: false;
2014
+ hasRuntimeDefault: false;
2015
+ enumValues: ["CZK" | "EUR" | "USD" | "PLN" | "RON" | "GBP" | "RUB" | "HUF" | "CHF" | "DKK" | "SEK" | "HRK" | "NOK" | "BGN" | "TRY" | "AUD" | "CAD" | "JPY" | "CNY" | "INR" | "BRL" | "MXN" | "ZAR" | "SGD" | "HKD" | "KRW" | "MYR" | "THB" | "IDR" | "PHP" | "AED" | "SAR" | "ILS" | "EGP" | "NGN" | "PKR" | "COP" | "CLP" | "PEN" | "VND" | "KZT" | "UAH" | "BTC" | "ETH" | "ADA" | "DOT" | "ATOM" | "XRP" | "LTC" | "SOL" | "DOGE" | "MATIC" | "AVAX", ...("CZK" | "EUR" | "USD" | "PLN" | "RON" | "GBP" | "RUB" | "HUF" | "CHF" | "DKK" | "SEK" | "HRK" | "NOK" | "BGN" | "TRY" | "AUD" | "CAD" | "JPY" | "CNY" | "INR" | "BRL" | "MXN" | "ZAR" | "SGD" | "HKD" | "KRW" | "MYR" | "THB" | "IDR" | "PHP" | "AED" | "SAR" | "ILS" | "EGP" | "NGN" | "PKR" | "COP" | "CLP" | "PEN" | "VND" | "KZT" | "UAH" | "BTC" | "ETH" | "ADA" | "DOT" | "ATOM" | "XRP" | "LTC" | "SOL" | "DOGE" | "MATIC" | "AVAX")[]];
2016
+ baseColumn: never;
2017
+ identity: undefined;
2018
+ generated: undefined;
2019
+ }, {}, {
2020
+ length: number | undefined;
2021
+ }>;
2022
+ countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
2023
+ name: "country_code";
2024
+ tableName: "account";
2025
+ dataType: "string";
2026
+ columnType: "SQLiteText";
2027
+ data: "EC" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
2028
+ driverParam: string;
2029
+ notNull: true;
2030
+ hasDefault: false;
2031
+ isPrimaryKey: false;
2032
+ isAutoincrement: false;
2033
+ hasRuntimeDefault: false;
2034
+ enumValues: ["EC" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW", ...("EC" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW")[]];
2035
+ baseColumn: never;
2036
+ identity: undefined;
2037
+ generated: undefined;
2038
+ }, {}, {
2039
+ length: number | undefined;
2040
+ }>;
2041
+ routingNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
2042
+ name: "routing_number";
2043
+ tableName: "account";
2044
+ dataType: "string";
2045
+ columnType: "SQLiteText";
2046
+ data: string;
2047
+ driverParam: string;
2048
+ notNull: false;
2049
+ hasDefault: false;
2050
+ isPrimaryKey: false;
2051
+ isAutoincrement: false;
2052
+ hasRuntimeDefault: false;
2053
+ enumValues: [string, ...string[]];
2054
+ baseColumn: never;
2055
+ identity: undefined;
2056
+ generated: undefined;
2057
+ }, {}, {
2058
+ length: number | undefined;
2059
+ }>;
2060
+ sortCode: drizzle_orm_sqlite_core.SQLiteColumn<{
2061
+ name: "sort_code";
2062
+ tableName: "account";
2063
+ dataType: "string";
2064
+ columnType: "SQLiteText";
2065
+ data: string;
2066
+ driverParam: string;
2067
+ notNull: false;
2068
+ hasDefault: false;
2069
+ isPrimaryKey: false;
2070
+ isAutoincrement: false;
2071
+ hasRuntimeDefault: false;
2072
+ enumValues: [string, ...string[]];
2073
+ baseColumn: never;
2074
+ identity: undefined;
2075
+ generated: undefined;
2076
+ }, {}, {
2077
+ length: number | undefined;
2078
+ }>;
2079
+ clabe: drizzle_orm_sqlite_core.SQLiteColumn<{
2080
+ name: "clabe";
2081
+ tableName: "account";
2082
+ dataType: "string";
2083
+ columnType: "SQLiteText";
2084
+ data: string;
2085
+ driverParam: string;
2086
+ notNull: false;
2087
+ hasDefault: false;
2088
+ isPrimaryKey: false;
2089
+ isAutoincrement: false;
2090
+ hasRuntimeDefault: false;
2091
+ enumValues: [string, ...string[]];
2092
+ baseColumn: never;
2093
+ identity: undefined;
2094
+ generated: undefined;
2095
+ }, {}, {
2096
+ length: number | undefined;
2097
+ }>;
2098
+ bsb: drizzle_orm_sqlite_core.SQLiteColumn<{
2099
+ name: "bsb";
2100
+ tableName: "account";
2101
+ dataType: "string";
2102
+ columnType: "SQLiteText";
2103
+ data: string;
2104
+ driverParam: string;
2105
+ notNull: false;
2106
+ hasDefault: false;
2107
+ isPrimaryKey: false;
2108
+ isAutoincrement: false;
2109
+ hasRuntimeDefault: false;
2110
+ enumValues: [string, ...string[]];
2111
+ baseColumn: never;
2112
+ identity: undefined;
2113
+ generated: undefined;
2114
+ }, {}, {
2115
+ length: number | undefined;
2116
+ }>;
2117
+ brBankNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
2118
+ name: "br_bank_number";
2119
+ tableName: "account";
2120
+ dataType: "string";
2121
+ columnType: "SQLiteText";
2122
+ data: string;
2123
+ driverParam: string;
2124
+ notNull: false;
2125
+ hasDefault: false;
2126
+ isPrimaryKey: false;
2127
+ isAutoincrement: false;
2128
+ hasRuntimeDefault: false;
2129
+ enumValues: [string, ...string[]];
2130
+ baseColumn: never;
2131
+ identity: undefined;
2132
+ generated: undefined;
2133
+ }, {}, {
2134
+ length: number | undefined;
2135
+ }>;
2136
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
2137
+ name: "id";
2138
+ tableName: "account";
2139
+ dataType: "string";
2140
+ columnType: "SQLiteText";
2141
+ data: string;
2142
+ driverParam: string;
2143
+ notNull: true;
2144
+ hasDefault: false;
2145
+ isPrimaryKey: true;
2146
+ isAutoincrement: false;
2147
+ hasRuntimeDefault: false;
2148
+ enumValues: [string, ...string[]];
2149
+ baseColumn: never;
2150
+ identity: undefined;
2151
+ generated: undefined;
2152
+ }, {}, {
2153
+ length: number | undefined;
2154
+ }>;
2155
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2156
+ name: "created_at";
2157
+ tableName: "account";
2158
+ dataType: "date";
2159
+ columnType: "SQLiteTimestamp";
2160
+ data: Date;
2161
+ driverParam: number;
2162
+ notNull: false;
2163
+ hasDefault: true;
2164
+ isPrimaryKey: false;
2165
+ isAutoincrement: false;
2166
+ hasRuntimeDefault: false;
2167
+ enumValues: undefined;
2168
+ baseColumn: never;
2169
+ identity: undefined;
2170
+ generated: undefined;
2171
+ }, {}, {}>;
2172
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2173
+ name: "updated_at";
2174
+ tableName: "account";
2175
+ dataType: "date";
2176
+ columnType: "SQLiteTimestamp";
2177
+ data: Date;
2178
+ driverParam: number;
2179
+ notNull: false;
2180
+ hasDefault: true;
2181
+ isPrimaryKey: false;
2182
+ isAutoincrement: false;
2183
+ hasRuntimeDefault: false;
2184
+ enumValues: undefined;
2185
+ baseColumn: never;
2186
+ identity: undefined;
2187
+ generated: undefined;
2188
+ }, {}, {}>;
2189
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2190
+ name: "deleted_at";
2191
+ tableName: "account";
2192
+ dataType: "date";
2193
+ columnType: "SQLiteTimestamp";
2194
+ data: Date;
2195
+ driverParam: number;
2196
+ notNull: false;
2197
+ hasDefault: true;
2198
+ isPrimaryKey: false;
2199
+ isAutoincrement: false;
2200
+ hasRuntimeDefault: false;
2201
+ enumValues: undefined;
2202
+ baseColumn: never;
2203
+ identity: undefined;
2204
+ generated: undefined;
2205
+ }, {}, {}>;
2206
+ }, undefined, undefined>;
2207
+ }, z.core.$strip>;
2208
+ type UpdateAccountInput = z.infer<typeof updateAccountInputSchema>;
2209
+ type UpdateAccountOutput = AccountSelectType;
2210
+
440
2211
  declare const BankServiceBase_base: (abstract new (ctx: ExecutionContext, env: BankEnv) => WorkerEntrypoint<BankEnv, {}>) & (abstract new (...args: any[]) => _develit_io_backend_sdk.DevelitWorkerMethods);
441
2212
  declare class BankServiceBase extends BankServiceBase_base {
442
2213
  readonly db: DrizzleD1Database<typeof tables>;
443
2214
  protected bankConnector: IBankConnector;
444
2215
  protected allowedProviders: ConnectorKey[];
445
2216
  constructor(ctx: ExecutionContext, env: BankEnv, config: ConfigEnvironmentBank);
446
- getAllowedProviders(): ConnectorKey[];
447
- getAccounts(): Promise<{
2217
+ _getAccounts(): Promise<{
448
2218
  expiresAt: Date | undefined;
449
2219
  connectorKey: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA";
450
2220
  status: "AUTHORIZED" | "DISABLED" | "EXPIRED";
451
2221
  bankRefId: string;
2222
+ batchSizeLimit: number;
452
2223
  sync: boolean;
453
2224
  syncPeriod: number | null;
454
2225
  lastSyncedAt: Date | null;
455
2226
  holderName: string;
456
- number: string;
457
- bankCode: "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";
458
- iban: string;
2227
+ number: string | null;
2228
+ bankCode: "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" | null;
2229
+ iban: string | null;
459
2230
  address: string | null;
460
2231
  swiftBic: string | null;
461
2232
  bicCor: string | null;
462
2233
  currency: "CZK" | "EUR" | "USD" | "PLN" | "RON" | "GBP" | "RUB" | "HUF" | "CHF" | "DKK" | "SEK" | "HRK" | "NOK" | "BGN" | "TRY" | "AUD" | "CAD" | "JPY" | "CNY" | "INR" | "BRL" | "MXN" | "ZAR" | "SGD" | "HKD" | "KRW" | "MYR" | "THB" | "IDR" | "PHP" | "AED" | "SAR" | "ILS" | "EGP" | "NGN" | "PKR" | "COP" | "CLP" | "PEN" | "VND" | "KZT" | "UAH" | "BTC" | "ETH" | "ADA" | "DOT" | "ATOM" | "XRP" | "LTC" | "SOL" | "DOGE" | "MATIC" | "AVAX";
463
- countryCode: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
2234
+ countryCode: "EC" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
2235
+ routingNumber: string | null;
2236
+ sortCode: string | null;
2237
+ clabe: string | null;
2238
+ bsb: string | null;
2239
+ brBankNumber: string | null;
464
2240
  id: string;
465
2241
  createdAt: Date | null;
466
2242
  updatedAt: Date | null;
467
2243
  deletedAt: Date | null;
468
2244
  }[]>;
2245
+ _saveOrUpdatePayments(accounts: AccountSelectType[]): Promise<void>;
2246
+ _initiateBankConnector({ connectorKey, withAuth, }: {
2247
+ connectorKey: ConnectorKey;
2248
+ withAuth?: boolean;
2249
+ }): Promise<void>;
2250
+ _accountFetchInterval(connectorKey: ConnectorKey): number;
469
2251
  getPayments(input: GetPaymentsInput): Promise<IRPCResponse<GetPaymentsOutput>>;
470
- accountFetchInterval(connectorKey: ConnectorKey): number;
471
2252
  syncAccount(input: SyncAccountInput): Promise<IRPCResponse<SyncAccountOutput>>;
472
2253
  syncAccounts(options?: {
473
2254
  accounts?: AccountSelectType[];
474
2255
  }): Promise<IRPCResponse<void>>;
475
2256
  scheduled(controller: ScheduledController): Promise<void>;
476
2257
  updateBatchStatuses(): Promise<void>;
477
- initiateBankConnector(input: initiateConnectorInput): Promise<initiateConnectorOutput>;
478
- batchLimit(connectorKey: ConnectorKey): number;
479
2258
  addPaymentsToBatch({ paymentsToBatch, }: {
480
2259
  paymentsToBatch: SendPaymentInput[];
481
2260
  }): Promise<IRPCResponse<{
@@ -494,11 +2273,11 @@ declare class BankServiceBase extends BankServiceBase_base {
494
2273
  queue(b: MessageBatch<SendPaymentInput>): Promise<void>;
495
2274
  getAuthUri(input: GetAuthUriInput): Promise<IRPCResponse<GetAuthUriOutput>>;
496
2275
  authorizeAccount(input: AuthorizeAccountInput): Promise<IRPCResponse<AuthorizeAccountOutput>>;
497
- saveOrUpdatePayments(accounts: AccountSelectType[]): Promise<IRPCResponse<void>>;
498
2276
  simulateDeposit(input: SimulateDepositInput): Promise<IRPCResponse<SimulateDepositOutput>>;
499
2277
  setLastSyncAt(input: SetLastSyncAtInput): Promise<IRPCResponse<SetLastSyncAtOutput>>;
500
2278
  sendPayment(input: SendPaymentInput): Promise<IRPCResponse<SendPaymentOutput>>;
501
2279
  getBankAccounts(): Promise<IRPCResponse<AccountSelectType[]>>;
2280
+ updateAccount(input: UpdateAccountInput): Promise<IRPCResponse<UpdateAccountOutput>>;
502
2281
  getBatches(input: GetBatchesInput): Promise<IRPCResponse<GetBatchesOutput>>;
503
2282
  }
504
2283
  declare function defineBankService({ config, }: {