@develit-services/bank 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +381 -0
  2. package/dist/database/schema.cjs +1 -1
  3. package/dist/database/schema.d.cts +1 -1
  4. package/dist/database/schema.d.mts +1 -1
  5. package/dist/database/schema.d.ts +1 -1
  6. package/dist/database/schema.mjs +1 -1
  7. package/dist/export/worker.cjs +47 -36
  8. package/dist/export/worker.d.cts +378 -77
  9. package/dist/export/worker.d.mts +378 -77
  10. package/dist/export/worker.d.ts +378 -77
  11. package/dist/export/worker.mjs +47 -36
  12. package/dist/export/workflows.cjs +24 -9
  13. package/dist/export/workflows.mjs +24 -9
  14. package/dist/export/wrangler.cjs +7 -0
  15. package/dist/export/wrangler.d.cts +7 -1
  16. package/dist/export/wrangler.d.mts +7 -1
  17. package/dist/export/wrangler.d.ts +7 -1
  18. package/dist/export/wrangler.mjs +7 -0
  19. package/dist/shared/{bank.Coi0lSqK.d.cts → bank.BC06Rbrx.d.cts} +1 -0
  20. package/dist/shared/{bank.Coi0lSqK.d.mts → bank.BC06Rbrx.d.mts} +1 -0
  21. package/dist/shared/{bank.Coi0lSqK.d.ts → bank.BC06Rbrx.d.ts} +1 -0
  22. package/dist/shared/{bank.DLWegh_f.mjs → bank.BnIYdBEF.mjs} +9 -0
  23. package/dist/shared/bank.C6_7Rch8.d.cts +4755 -0
  24. package/dist/shared/bank.C6_7Rch8.d.mts +4755 -0
  25. package/dist/shared/bank.C6_7Rch8.d.ts +4755 -0
  26. package/dist/shared/{bank.DEvSNsEs.cjs → bank.CTqIXnHg.cjs} +2 -2
  27. package/dist/shared/{bank.DFIwAQqg.mjs → bank.CTtFAN03.mjs} +1 -1
  28. package/dist/shared/{bank.Dq27-5wD.mjs → bank.CkUMU1sJ.mjs} +365 -50
  29. package/dist/shared/{bank.BeIpkWR-.cjs → bank.D7kwLMqF.cjs} +9 -0
  30. package/dist/shared/{bank.c38V_FCq.cjs → bank.DlW1XNug.cjs} +1 -1
  31. package/dist/shared/{bank.pd7-Rbo-.mjs → bank.e8T8fQDG.mjs} +2 -2
  32. package/dist/shared/{bank.DNHA-HFP.cjs → bank.iEgK7rge.cjs} +365 -50
  33. package/dist/types.cjs +2 -2
  34. package/dist/types.d.cts +452 -40
  35. package/dist/types.d.mts +452 -40
  36. package/dist/types.d.ts +452 -40
  37. package/dist/types.mjs +2 -2
  38. package/package.json +1 -1
  39. package/dist/shared/bank.Vj1x4v-K.d.cts +0 -2515
  40. package/dist/shared/bank.Vj1x4v-K.d.mts +0 -2515
  41. package/dist/shared/bank.Vj1x4v-K.d.ts +0 -2515
@@ -0,0 +1,4755 @@
1
+ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
2
+ import * as drizzle_orm from 'drizzle-orm';
3
+ import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
4
+ import { BankAccountMetadata } from '@develit-io/backend-sdk';
5
+ import * as drizzle_zod from 'drizzle-zod';
6
+ import { z } from 'zod';
7
+ import { CURRENCY_CODES, BANK_CODES, CODES } from '@develit-io/general-codes';
8
+
9
+ declare const accountCredentialsInsertSchema: drizzle_zod.BuildSchema<"insert", {
10
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
11
+ name: "account_id";
12
+ tableName: "account_credentials";
13
+ dataType: "string";
14
+ columnType: "SQLiteText";
15
+ data: string;
16
+ driverParam: string;
17
+ notNull: true;
18
+ hasDefault: false;
19
+ isPrimaryKey: false;
20
+ isAutoincrement: false;
21
+ hasRuntimeDefault: false;
22
+ enumValues: [string, ...string[]];
23
+ baseColumn: never;
24
+ identity: undefined;
25
+ generated: undefined;
26
+ }, {}, {
27
+ length: number | undefined;
28
+ }>;
29
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
30
+ name: "connector_key";
31
+ tableName: "account_credentials";
32
+ dataType: "string";
33
+ columnType: "SQLiteText";
34
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
35
+ driverParam: string;
36
+ notNull: true;
37
+ hasDefault: false;
38
+ isPrimaryKey: false;
39
+ isAutoincrement: false;
40
+ hasRuntimeDefault: false;
41
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
42
+ baseColumn: never;
43
+ identity: undefined;
44
+ generated: undefined;
45
+ }, {}, {
46
+ length: number | undefined;
47
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
48
+ }>;
49
+ type: drizzle_orm_sqlite_core.SQLiteColumn<{
50
+ name: "type";
51
+ tableName: "account_credentials";
52
+ dataType: "string";
53
+ columnType: "SQLiteText";
54
+ data: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
55
+ driverParam: string;
56
+ notNull: true;
57
+ hasDefault: false;
58
+ isPrimaryKey: false;
59
+ isAutoincrement: false;
60
+ hasRuntimeDefault: false;
61
+ enumValues: ["AUTH_TOKEN", "REFRESH_TOKEN", "CLIENT_ID", "API_KEY"];
62
+ baseColumn: never;
63
+ identity: undefined;
64
+ generated: undefined;
65
+ }, {}, {
66
+ length: number | undefined;
67
+ $type: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
68
+ }>;
69
+ value: drizzle_orm_sqlite_core.SQLiteColumn<{
70
+ name: "value";
71
+ tableName: "account_credentials";
72
+ dataType: "string";
73
+ columnType: "SQLiteText";
74
+ data: string;
75
+ driverParam: string;
76
+ notNull: true;
77
+ hasDefault: false;
78
+ isPrimaryKey: false;
79
+ isAutoincrement: false;
80
+ hasRuntimeDefault: false;
81
+ enumValues: [string, ...string[]];
82
+ baseColumn: never;
83
+ identity: undefined;
84
+ generated: undefined;
85
+ }, {}, {
86
+ length: number | undefined;
87
+ }>;
88
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
89
+ name: "expires_at";
90
+ tableName: "account_credentials";
91
+ dataType: "date";
92
+ columnType: "SQLiteTimestamp";
93
+ data: Date;
94
+ driverParam: number;
95
+ notNull: true;
96
+ hasDefault: false;
97
+ isPrimaryKey: false;
98
+ isAutoincrement: false;
99
+ hasRuntimeDefault: false;
100
+ enumValues: undefined;
101
+ baseColumn: never;
102
+ identity: undefined;
103
+ generated: undefined;
104
+ }, {}, {}>;
105
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
106
+ name: "id";
107
+ tableName: "account_credentials";
108
+ dataType: "string";
109
+ columnType: "SQLiteText";
110
+ data: string;
111
+ driverParam: string;
112
+ notNull: true;
113
+ hasDefault: false;
114
+ isPrimaryKey: true;
115
+ isAutoincrement: false;
116
+ hasRuntimeDefault: false;
117
+ enumValues: [string, ...string[]];
118
+ baseColumn: never;
119
+ identity: undefined;
120
+ generated: undefined;
121
+ }, {}, {
122
+ length: number | undefined;
123
+ }>;
124
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
125
+ name: "created_at";
126
+ tableName: "account_credentials";
127
+ dataType: "date";
128
+ columnType: "SQLiteTimestamp";
129
+ data: Date;
130
+ driverParam: number;
131
+ notNull: false;
132
+ hasDefault: true;
133
+ isPrimaryKey: false;
134
+ isAutoincrement: false;
135
+ hasRuntimeDefault: false;
136
+ enumValues: undefined;
137
+ baseColumn: never;
138
+ identity: undefined;
139
+ generated: undefined;
140
+ }, {}, {}>;
141
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
142
+ name: "created_by";
143
+ tableName: "account_credentials";
144
+ dataType: "string";
145
+ columnType: "SQLiteText";
146
+ data: string;
147
+ driverParam: string;
148
+ notNull: false;
149
+ hasDefault: true;
150
+ isPrimaryKey: false;
151
+ isAutoincrement: false;
152
+ hasRuntimeDefault: false;
153
+ enumValues: [string, ...string[]];
154
+ baseColumn: never;
155
+ identity: undefined;
156
+ generated: undefined;
157
+ }, {}, {
158
+ length: number | undefined;
159
+ }>;
160
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
161
+ name: "updated_at";
162
+ tableName: "account_credentials";
163
+ dataType: "date";
164
+ columnType: "SQLiteTimestamp";
165
+ data: Date;
166
+ driverParam: number;
167
+ notNull: false;
168
+ hasDefault: true;
169
+ isPrimaryKey: false;
170
+ isAutoincrement: false;
171
+ hasRuntimeDefault: false;
172
+ enumValues: undefined;
173
+ baseColumn: never;
174
+ identity: undefined;
175
+ generated: undefined;
176
+ }, {}, {}>;
177
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
178
+ name: "updated_by";
179
+ tableName: "account_credentials";
180
+ dataType: "string";
181
+ columnType: "SQLiteText";
182
+ data: string;
183
+ driverParam: string;
184
+ notNull: false;
185
+ hasDefault: true;
186
+ isPrimaryKey: false;
187
+ isAutoincrement: false;
188
+ hasRuntimeDefault: false;
189
+ enumValues: [string, ...string[]];
190
+ baseColumn: never;
191
+ identity: undefined;
192
+ generated: undefined;
193
+ }, {}, {
194
+ length: number | undefined;
195
+ }>;
196
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
197
+ name: "deleted_at";
198
+ tableName: "account_credentials";
199
+ dataType: "date";
200
+ columnType: "SQLiteTimestamp";
201
+ data: Date;
202
+ driverParam: number;
203
+ notNull: false;
204
+ hasDefault: true;
205
+ isPrimaryKey: false;
206
+ isAutoincrement: false;
207
+ hasRuntimeDefault: false;
208
+ enumValues: undefined;
209
+ baseColumn: never;
210
+ identity: undefined;
211
+ generated: undefined;
212
+ }, {}, {}>;
213
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
214
+ name: "deleted_by";
215
+ tableName: "account_credentials";
216
+ dataType: "string";
217
+ columnType: "SQLiteText";
218
+ data: string;
219
+ driverParam: string;
220
+ notNull: false;
221
+ hasDefault: true;
222
+ isPrimaryKey: false;
223
+ isAutoincrement: false;
224
+ hasRuntimeDefault: false;
225
+ enumValues: [string, ...string[]];
226
+ baseColumn: never;
227
+ identity: undefined;
228
+ generated: undefined;
229
+ }, {}, {
230
+ length: number | undefined;
231
+ }>;
232
+ }, undefined, undefined>;
233
+ declare const accountCredentialsUpdateSchema: drizzle_zod.BuildSchema<"update", {
234
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
235
+ name: "account_id";
236
+ tableName: "account_credentials";
237
+ dataType: "string";
238
+ columnType: "SQLiteText";
239
+ data: string;
240
+ driverParam: string;
241
+ notNull: true;
242
+ hasDefault: false;
243
+ isPrimaryKey: false;
244
+ isAutoincrement: false;
245
+ hasRuntimeDefault: false;
246
+ enumValues: [string, ...string[]];
247
+ baseColumn: never;
248
+ identity: undefined;
249
+ generated: undefined;
250
+ }, {}, {
251
+ length: number | undefined;
252
+ }>;
253
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
254
+ name: "connector_key";
255
+ tableName: "account_credentials";
256
+ dataType: "string";
257
+ columnType: "SQLiteText";
258
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
259
+ driverParam: string;
260
+ notNull: true;
261
+ hasDefault: false;
262
+ isPrimaryKey: false;
263
+ isAutoincrement: false;
264
+ hasRuntimeDefault: false;
265
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
266
+ baseColumn: never;
267
+ identity: undefined;
268
+ generated: undefined;
269
+ }, {}, {
270
+ length: number | undefined;
271
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
272
+ }>;
273
+ type: drizzle_orm_sqlite_core.SQLiteColumn<{
274
+ name: "type";
275
+ tableName: "account_credentials";
276
+ dataType: "string";
277
+ columnType: "SQLiteText";
278
+ data: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
279
+ driverParam: string;
280
+ notNull: true;
281
+ hasDefault: false;
282
+ isPrimaryKey: false;
283
+ isAutoincrement: false;
284
+ hasRuntimeDefault: false;
285
+ enumValues: ["AUTH_TOKEN", "REFRESH_TOKEN", "CLIENT_ID", "API_KEY"];
286
+ baseColumn: never;
287
+ identity: undefined;
288
+ generated: undefined;
289
+ }, {}, {
290
+ length: number | undefined;
291
+ $type: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
292
+ }>;
293
+ value: drizzle_orm_sqlite_core.SQLiteColumn<{
294
+ name: "value";
295
+ tableName: "account_credentials";
296
+ dataType: "string";
297
+ columnType: "SQLiteText";
298
+ data: string;
299
+ driverParam: string;
300
+ notNull: true;
301
+ hasDefault: false;
302
+ isPrimaryKey: false;
303
+ isAutoincrement: false;
304
+ hasRuntimeDefault: false;
305
+ enumValues: [string, ...string[]];
306
+ baseColumn: never;
307
+ identity: undefined;
308
+ generated: undefined;
309
+ }, {}, {
310
+ length: number | undefined;
311
+ }>;
312
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
313
+ name: "expires_at";
314
+ tableName: "account_credentials";
315
+ dataType: "date";
316
+ columnType: "SQLiteTimestamp";
317
+ data: Date;
318
+ driverParam: number;
319
+ notNull: true;
320
+ hasDefault: false;
321
+ isPrimaryKey: false;
322
+ isAutoincrement: false;
323
+ hasRuntimeDefault: false;
324
+ enumValues: undefined;
325
+ baseColumn: never;
326
+ identity: undefined;
327
+ generated: undefined;
328
+ }, {}, {}>;
329
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
330
+ name: "id";
331
+ tableName: "account_credentials";
332
+ dataType: "string";
333
+ columnType: "SQLiteText";
334
+ data: string;
335
+ driverParam: string;
336
+ notNull: true;
337
+ hasDefault: false;
338
+ isPrimaryKey: true;
339
+ isAutoincrement: false;
340
+ hasRuntimeDefault: false;
341
+ enumValues: [string, ...string[]];
342
+ baseColumn: never;
343
+ identity: undefined;
344
+ generated: undefined;
345
+ }, {}, {
346
+ length: number | undefined;
347
+ }>;
348
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
349
+ name: "created_at";
350
+ tableName: "account_credentials";
351
+ dataType: "date";
352
+ columnType: "SQLiteTimestamp";
353
+ data: Date;
354
+ driverParam: number;
355
+ notNull: false;
356
+ hasDefault: true;
357
+ isPrimaryKey: false;
358
+ isAutoincrement: false;
359
+ hasRuntimeDefault: false;
360
+ enumValues: undefined;
361
+ baseColumn: never;
362
+ identity: undefined;
363
+ generated: undefined;
364
+ }, {}, {}>;
365
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
366
+ name: "created_by";
367
+ tableName: "account_credentials";
368
+ dataType: "string";
369
+ columnType: "SQLiteText";
370
+ data: string;
371
+ driverParam: string;
372
+ notNull: false;
373
+ hasDefault: true;
374
+ isPrimaryKey: false;
375
+ isAutoincrement: false;
376
+ hasRuntimeDefault: false;
377
+ enumValues: [string, ...string[]];
378
+ baseColumn: never;
379
+ identity: undefined;
380
+ generated: undefined;
381
+ }, {}, {
382
+ length: number | undefined;
383
+ }>;
384
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
385
+ name: "updated_at";
386
+ tableName: "account_credentials";
387
+ dataType: "date";
388
+ columnType: "SQLiteTimestamp";
389
+ data: Date;
390
+ driverParam: number;
391
+ notNull: false;
392
+ hasDefault: true;
393
+ isPrimaryKey: false;
394
+ isAutoincrement: false;
395
+ hasRuntimeDefault: false;
396
+ enumValues: undefined;
397
+ baseColumn: never;
398
+ identity: undefined;
399
+ generated: undefined;
400
+ }, {}, {}>;
401
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
402
+ name: "updated_by";
403
+ tableName: "account_credentials";
404
+ dataType: "string";
405
+ columnType: "SQLiteText";
406
+ data: string;
407
+ driverParam: string;
408
+ notNull: false;
409
+ hasDefault: true;
410
+ isPrimaryKey: false;
411
+ isAutoincrement: false;
412
+ hasRuntimeDefault: false;
413
+ enumValues: [string, ...string[]];
414
+ baseColumn: never;
415
+ identity: undefined;
416
+ generated: undefined;
417
+ }, {}, {
418
+ length: number | undefined;
419
+ }>;
420
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
421
+ name: "deleted_at";
422
+ tableName: "account_credentials";
423
+ dataType: "date";
424
+ columnType: "SQLiteTimestamp";
425
+ data: Date;
426
+ driverParam: number;
427
+ notNull: false;
428
+ hasDefault: true;
429
+ isPrimaryKey: false;
430
+ isAutoincrement: false;
431
+ hasRuntimeDefault: false;
432
+ enumValues: undefined;
433
+ baseColumn: never;
434
+ identity: undefined;
435
+ generated: undefined;
436
+ }, {}, {}>;
437
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
438
+ name: "deleted_by";
439
+ tableName: "account_credentials";
440
+ dataType: "string";
441
+ columnType: "SQLiteText";
442
+ data: string;
443
+ driverParam: string;
444
+ notNull: false;
445
+ hasDefault: true;
446
+ isPrimaryKey: false;
447
+ isAutoincrement: false;
448
+ hasRuntimeDefault: false;
449
+ enumValues: [string, ...string[]];
450
+ baseColumn: never;
451
+ identity: undefined;
452
+ generated: undefined;
453
+ }, {}, {
454
+ length: number | undefined;
455
+ }>;
456
+ }, undefined, undefined>;
457
+ declare const accountCredentialsSelectSchema: drizzle_zod.BuildSchema<"select", {
458
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
459
+ name: "account_id";
460
+ tableName: "account_credentials";
461
+ dataType: "string";
462
+ columnType: "SQLiteText";
463
+ data: string;
464
+ driverParam: string;
465
+ notNull: true;
466
+ hasDefault: false;
467
+ isPrimaryKey: false;
468
+ isAutoincrement: false;
469
+ hasRuntimeDefault: false;
470
+ enumValues: [string, ...string[]];
471
+ baseColumn: never;
472
+ identity: undefined;
473
+ generated: undefined;
474
+ }, {}, {
475
+ length: number | undefined;
476
+ }>;
477
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
478
+ name: "connector_key";
479
+ tableName: "account_credentials";
480
+ dataType: "string";
481
+ columnType: "SQLiteText";
482
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
483
+ driverParam: string;
484
+ notNull: true;
485
+ hasDefault: false;
486
+ isPrimaryKey: false;
487
+ isAutoincrement: false;
488
+ hasRuntimeDefault: false;
489
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
490
+ baseColumn: never;
491
+ identity: undefined;
492
+ generated: undefined;
493
+ }, {}, {
494
+ length: number | undefined;
495
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
496
+ }>;
497
+ type: drizzle_orm_sqlite_core.SQLiteColumn<{
498
+ name: "type";
499
+ tableName: "account_credentials";
500
+ dataType: "string";
501
+ columnType: "SQLiteText";
502
+ data: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
503
+ driverParam: string;
504
+ notNull: true;
505
+ hasDefault: false;
506
+ isPrimaryKey: false;
507
+ isAutoincrement: false;
508
+ hasRuntimeDefault: false;
509
+ enumValues: ["AUTH_TOKEN", "REFRESH_TOKEN", "CLIENT_ID", "API_KEY"];
510
+ baseColumn: never;
511
+ identity: undefined;
512
+ generated: undefined;
513
+ }, {}, {
514
+ length: number | undefined;
515
+ $type: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
516
+ }>;
517
+ value: drizzle_orm_sqlite_core.SQLiteColumn<{
518
+ name: "value";
519
+ tableName: "account_credentials";
520
+ dataType: "string";
521
+ columnType: "SQLiteText";
522
+ data: string;
523
+ driverParam: string;
524
+ notNull: true;
525
+ hasDefault: false;
526
+ isPrimaryKey: false;
527
+ isAutoincrement: false;
528
+ hasRuntimeDefault: false;
529
+ enumValues: [string, ...string[]];
530
+ baseColumn: never;
531
+ identity: undefined;
532
+ generated: undefined;
533
+ }, {}, {
534
+ length: number | undefined;
535
+ }>;
536
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
537
+ name: "expires_at";
538
+ tableName: "account_credentials";
539
+ dataType: "date";
540
+ columnType: "SQLiteTimestamp";
541
+ data: Date;
542
+ driverParam: number;
543
+ notNull: true;
544
+ hasDefault: false;
545
+ isPrimaryKey: false;
546
+ isAutoincrement: false;
547
+ hasRuntimeDefault: false;
548
+ enumValues: undefined;
549
+ baseColumn: never;
550
+ identity: undefined;
551
+ generated: undefined;
552
+ }, {}, {}>;
553
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
554
+ name: "id";
555
+ tableName: "account_credentials";
556
+ dataType: "string";
557
+ columnType: "SQLiteText";
558
+ data: string;
559
+ driverParam: string;
560
+ notNull: true;
561
+ hasDefault: false;
562
+ isPrimaryKey: true;
563
+ isAutoincrement: false;
564
+ hasRuntimeDefault: false;
565
+ enumValues: [string, ...string[]];
566
+ baseColumn: never;
567
+ identity: undefined;
568
+ generated: undefined;
569
+ }, {}, {
570
+ length: number | undefined;
571
+ }>;
572
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
573
+ name: "created_at";
574
+ tableName: "account_credentials";
575
+ dataType: "date";
576
+ columnType: "SQLiteTimestamp";
577
+ data: Date;
578
+ driverParam: number;
579
+ notNull: false;
580
+ hasDefault: true;
581
+ isPrimaryKey: false;
582
+ isAutoincrement: false;
583
+ hasRuntimeDefault: false;
584
+ enumValues: undefined;
585
+ baseColumn: never;
586
+ identity: undefined;
587
+ generated: undefined;
588
+ }, {}, {}>;
589
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
590
+ name: "created_by";
591
+ tableName: "account_credentials";
592
+ dataType: "string";
593
+ columnType: "SQLiteText";
594
+ data: string;
595
+ driverParam: string;
596
+ notNull: false;
597
+ hasDefault: true;
598
+ isPrimaryKey: false;
599
+ isAutoincrement: false;
600
+ hasRuntimeDefault: false;
601
+ enumValues: [string, ...string[]];
602
+ baseColumn: never;
603
+ identity: undefined;
604
+ generated: undefined;
605
+ }, {}, {
606
+ length: number | undefined;
607
+ }>;
608
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
609
+ name: "updated_at";
610
+ tableName: "account_credentials";
611
+ dataType: "date";
612
+ columnType: "SQLiteTimestamp";
613
+ data: Date;
614
+ driverParam: number;
615
+ notNull: false;
616
+ hasDefault: true;
617
+ isPrimaryKey: false;
618
+ isAutoincrement: false;
619
+ hasRuntimeDefault: false;
620
+ enumValues: undefined;
621
+ baseColumn: never;
622
+ identity: undefined;
623
+ generated: undefined;
624
+ }, {}, {}>;
625
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
626
+ name: "updated_by";
627
+ tableName: "account_credentials";
628
+ dataType: "string";
629
+ columnType: "SQLiteText";
630
+ data: string;
631
+ driverParam: string;
632
+ notNull: false;
633
+ hasDefault: true;
634
+ isPrimaryKey: false;
635
+ isAutoincrement: false;
636
+ hasRuntimeDefault: false;
637
+ enumValues: [string, ...string[]];
638
+ baseColumn: never;
639
+ identity: undefined;
640
+ generated: undefined;
641
+ }, {}, {
642
+ length: number | undefined;
643
+ }>;
644
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
645
+ name: "deleted_at";
646
+ tableName: "account_credentials";
647
+ dataType: "date";
648
+ columnType: "SQLiteTimestamp";
649
+ data: Date;
650
+ driverParam: number;
651
+ notNull: false;
652
+ hasDefault: true;
653
+ isPrimaryKey: false;
654
+ isAutoincrement: false;
655
+ hasRuntimeDefault: false;
656
+ enumValues: undefined;
657
+ baseColumn: never;
658
+ identity: undefined;
659
+ generated: undefined;
660
+ }, {}, {}>;
661
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
662
+ name: "deleted_by";
663
+ tableName: "account_credentials";
664
+ dataType: "string";
665
+ columnType: "SQLiteText";
666
+ data: string;
667
+ driverParam: string;
668
+ notNull: false;
669
+ hasDefault: true;
670
+ isPrimaryKey: false;
671
+ isAutoincrement: false;
672
+ hasRuntimeDefault: false;
673
+ enumValues: [string, ...string[]];
674
+ baseColumn: never;
675
+ identity: undefined;
676
+ generated: undefined;
677
+ }, {}, {
678
+ length: number | undefined;
679
+ }>;
680
+ }, undefined, undefined>;
681
+
682
+ type AccountCredentialsInsertType = Omit<z.infer<typeof accountCredentialsInsertSchema>, 'id'> & {
683
+ id?: string;
684
+ };
685
+ type AccountCredentialsUpdateType = z.infer<typeof accountCredentialsInsertSchema>;
686
+ type AccountCredentialsPatchType = z.infer<typeof accountCredentialsUpdateSchema>;
687
+ type AccountCredentialsSelectType = z.infer<typeof accountCredentialsSelectSchema>;
688
+
689
+ declare const accountInsertSchema: drizzle_zod.BuildSchema<"insert", {
690
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
691
+ name: "number";
692
+ tableName: "account";
693
+ dataType: "string";
694
+ columnType: "SQLiteText";
695
+ data: string;
696
+ driverParam: string;
697
+ notNull: true;
698
+ hasDefault: false;
699
+ isPrimaryKey: false;
700
+ isAutoincrement: false;
701
+ hasRuntimeDefault: false;
702
+ enumValues: [string, ...string[]];
703
+ baseColumn: never;
704
+ identity: undefined;
705
+ generated: undefined;
706
+ }, {}, {
707
+ length: number | undefined;
708
+ }>;
709
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
710
+ name: "name";
711
+ tableName: "account";
712
+ dataType: "string";
713
+ columnType: "SQLiteText";
714
+ data: string;
715
+ driverParam: string;
716
+ notNull: false;
717
+ hasDefault: false;
718
+ isPrimaryKey: false;
719
+ isAutoincrement: false;
720
+ hasRuntimeDefault: false;
721
+ enumValues: [string, ...string[]];
722
+ baseColumn: never;
723
+ identity: undefined;
724
+ generated: undefined;
725
+ }, {}, {
726
+ length: number | undefined;
727
+ }>;
728
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
729
+ name: "iban";
730
+ tableName: "account";
731
+ dataType: "string";
732
+ columnType: "SQLiteText";
733
+ data: string;
734
+ driverParam: string;
735
+ notNull: true;
736
+ hasDefault: false;
737
+ isPrimaryKey: false;
738
+ isAutoincrement: false;
739
+ hasRuntimeDefault: false;
740
+ enumValues: [string, ...string[]];
741
+ baseColumn: never;
742
+ identity: undefined;
743
+ generated: undefined;
744
+ }, {}, {
745
+ length: number | undefined;
746
+ }>;
747
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
748
+ name: "bank_code";
749
+ tableName: "account";
750
+ dataType: "string";
751
+ columnType: "SQLiteText";
752
+ 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";
753
+ driverParam: string;
754
+ notNull: true;
755
+ hasDefault: false;
756
+ isPrimaryKey: false;
757
+ isAutoincrement: false;
758
+ hasRuntimeDefault: false;
759
+ 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")[]];
760
+ baseColumn: never;
761
+ identity: undefined;
762
+ generated: undefined;
763
+ }, {}, {
764
+ length: number | undefined;
765
+ }>;
766
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
767
+ name: "connector_key";
768
+ tableName: "account";
769
+ dataType: "string";
770
+ columnType: "SQLiteText";
771
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
772
+ driverParam: string;
773
+ notNull: true;
774
+ hasDefault: false;
775
+ isPrimaryKey: false;
776
+ isAutoincrement: false;
777
+ hasRuntimeDefault: false;
778
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
779
+ baseColumn: never;
780
+ identity: undefined;
781
+ generated: undefined;
782
+ }, {}, {
783
+ length: number | undefined;
784
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
785
+ }>;
786
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
787
+ name: "status";
788
+ tableName: "account";
789
+ dataType: "string";
790
+ columnType: "SQLiteText";
791
+ data: "AUTHORIZED" | "DISABLED" | "EXPIRED";
792
+ driverParam: string;
793
+ notNull: true;
794
+ hasDefault: false;
795
+ isPrimaryKey: false;
796
+ isAutoincrement: false;
797
+ hasRuntimeDefault: false;
798
+ enumValues: ["AUTHORIZED", "DISABLED", "EXPIRED"];
799
+ baseColumn: never;
800
+ identity: undefined;
801
+ generated: undefined;
802
+ }, {}, {
803
+ length: number | undefined;
804
+ $type: "AUTHORIZED" | "DISABLED" | "EXPIRED";
805
+ }>;
806
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
807
+ name: "bank_ref_id";
808
+ tableName: "account";
809
+ dataType: "string";
810
+ columnType: "SQLiteText";
811
+ data: string;
812
+ driverParam: string;
813
+ notNull: true;
814
+ hasDefault: false;
815
+ isPrimaryKey: false;
816
+ isAutoincrement: false;
817
+ hasRuntimeDefault: false;
818
+ enumValues: [string, ...string[]];
819
+ baseColumn: never;
820
+ identity: undefined;
821
+ generated: undefined;
822
+ }, {}, {
823
+ length: number | undefined;
824
+ }>;
825
+ batchSizeLimit: drizzle_orm_sqlite_core.SQLiteColumn<{
826
+ name: "batch_size_limit";
827
+ tableName: "account";
828
+ dataType: "number";
829
+ columnType: "SQLiteInteger";
830
+ data: number;
831
+ driverParam: number;
832
+ notNull: true;
833
+ hasDefault: true;
834
+ isPrimaryKey: false;
835
+ isAutoincrement: false;
836
+ hasRuntimeDefault: false;
837
+ enumValues: undefined;
838
+ baseColumn: never;
839
+ identity: undefined;
840
+ generated: undefined;
841
+ }, {}, {}>;
842
+ syncIntervalS: drizzle_orm_sqlite_core.SQLiteColumn<{
843
+ name: "sync_interval_s";
844
+ tableName: "account";
845
+ dataType: "number";
846
+ columnType: "SQLiteInteger";
847
+ data: number;
848
+ driverParam: number;
849
+ notNull: true;
850
+ hasDefault: true;
851
+ isPrimaryKey: false;
852
+ isAutoincrement: false;
853
+ hasRuntimeDefault: false;
854
+ enumValues: undefined;
855
+ baseColumn: never;
856
+ identity: undefined;
857
+ generated: undefined;
858
+ }, {}, {}>;
859
+ lastSyncAt: drizzle_orm_sqlite_core.SQLiteColumn<{
860
+ name: "last_sync_at";
861
+ tableName: "account";
862
+ dataType: "date";
863
+ columnType: "SQLiteTimestamp";
864
+ data: Date;
865
+ driverParam: number;
866
+ notNull: false;
867
+ hasDefault: false;
868
+ isPrimaryKey: false;
869
+ isAutoincrement: false;
870
+ hasRuntimeDefault: false;
871
+ enumValues: undefined;
872
+ baseColumn: never;
873
+ identity: undefined;
874
+ generated: undefined;
875
+ }, {}, {}>;
876
+ lastSyncMetadata: drizzle_orm_sqlite_core.SQLiteColumn<{
877
+ name: "last_sync_metadata";
878
+ tableName: "account";
879
+ dataType: "json";
880
+ columnType: "SQLiteTextJson";
881
+ data: LastSyncMetadata;
882
+ driverParam: string;
883
+ notNull: false;
884
+ hasDefault: false;
885
+ isPrimaryKey: false;
886
+ isAutoincrement: false;
887
+ hasRuntimeDefault: false;
888
+ enumValues: undefined;
889
+ baseColumn: never;
890
+ identity: undefined;
891
+ generated: undefined;
892
+ }, {}, {
893
+ $type: LastSyncMetadata;
894
+ }>;
895
+ holderName: drizzle_orm_sqlite_core.SQLiteColumn<{
896
+ name: "holder_name";
897
+ tableName: "account";
898
+ dataType: "string";
899
+ columnType: "SQLiteText";
900
+ data: string;
901
+ driverParam: string;
902
+ notNull: true;
903
+ hasDefault: false;
904
+ isPrimaryKey: false;
905
+ isAutoincrement: false;
906
+ hasRuntimeDefault: false;
907
+ enumValues: [string, ...string[]];
908
+ baseColumn: never;
909
+ identity: undefined;
910
+ generated: undefined;
911
+ }, {}, {
912
+ length: number | undefined;
913
+ }>;
914
+ address: drizzle_orm_sqlite_core.SQLiteColumn<{
915
+ name: "address";
916
+ tableName: "account";
917
+ dataType: "string";
918
+ columnType: "SQLiteText";
919
+ data: string;
920
+ driverParam: string;
921
+ notNull: false;
922
+ hasDefault: false;
923
+ isPrimaryKey: false;
924
+ isAutoincrement: false;
925
+ hasRuntimeDefault: false;
926
+ enumValues: [string, ...string[]];
927
+ baseColumn: never;
928
+ identity: undefined;
929
+ generated: undefined;
930
+ }, {}, {
931
+ length: number | undefined;
932
+ }>;
933
+ swiftBic: drizzle_orm_sqlite_core.SQLiteColumn<{
934
+ name: "swift_bic";
935
+ tableName: "account";
936
+ dataType: "string";
937
+ columnType: "SQLiteText";
938
+ data: string;
939
+ driverParam: string;
940
+ notNull: false;
941
+ hasDefault: false;
942
+ isPrimaryKey: false;
943
+ isAutoincrement: false;
944
+ hasRuntimeDefault: false;
945
+ enumValues: [string, ...string[]];
946
+ baseColumn: never;
947
+ identity: undefined;
948
+ generated: undefined;
949
+ }, {}, {
950
+ length: number | undefined;
951
+ }>;
952
+ bicCor: drizzle_orm_sqlite_core.SQLiteColumn<{
953
+ name: "bic_cor";
954
+ tableName: "account";
955
+ dataType: "string";
956
+ columnType: "SQLiteText";
957
+ data: string;
958
+ driverParam: string;
959
+ notNull: false;
960
+ hasDefault: false;
961
+ isPrimaryKey: false;
962
+ isAutoincrement: false;
963
+ hasRuntimeDefault: false;
964
+ enumValues: [string, ...string[]];
965
+ baseColumn: never;
966
+ identity: undefined;
967
+ generated: undefined;
968
+ }, {}, {
969
+ length: number | undefined;
970
+ }>;
971
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
972
+ name: "currency";
973
+ tableName: "account";
974
+ dataType: "string";
975
+ columnType: "SQLiteText";
976
+ 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";
977
+ driverParam: string;
978
+ notNull: true;
979
+ hasDefault: false;
980
+ isPrimaryKey: false;
981
+ isAutoincrement: false;
982
+ hasRuntimeDefault: false;
983
+ 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")[]];
984
+ baseColumn: never;
985
+ identity: undefined;
986
+ generated: undefined;
987
+ }, {}, {
988
+ length: number | undefined;
989
+ }>;
990
+ countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
991
+ name: "country_code";
992
+ tableName: "account";
993
+ dataType: "string";
994
+ columnType: "SQLiteText";
995
+ data: "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";
996
+ driverParam: string;
997
+ notNull: true;
998
+ hasDefault: false;
999
+ isPrimaryKey: false;
1000
+ isAutoincrement: false;
1001
+ hasRuntimeDefault: false;
1002
+ enumValues: ["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", ...("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")[]];
1003
+ baseColumn: never;
1004
+ identity: undefined;
1005
+ generated: undefined;
1006
+ }, {}, {
1007
+ length: number | undefined;
1008
+ }>;
1009
+ routingNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
1010
+ name: "routing_number";
1011
+ tableName: "account";
1012
+ dataType: "string";
1013
+ columnType: "SQLiteText";
1014
+ data: string;
1015
+ driverParam: string;
1016
+ notNull: false;
1017
+ hasDefault: false;
1018
+ isPrimaryKey: false;
1019
+ isAutoincrement: false;
1020
+ hasRuntimeDefault: false;
1021
+ enumValues: [string, ...string[]];
1022
+ baseColumn: never;
1023
+ identity: undefined;
1024
+ generated: undefined;
1025
+ }, {}, {
1026
+ length: number | undefined;
1027
+ }>;
1028
+ sortCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1029
+ name: "sort_code";
1030
+ tableName: "account";
1031
+ dataType: "string";
1032
+ columnType: "SQLiteText";
1033
+ data: string;
1034
+ driverParam: string;
1035
+ notNull: false;
1036
+ hasDefault: false;
1037
+ isPrimaryKey: false;
1038
+ isAutoincrement: false;
1039
+ hasRuntimeDefault: false;
1040
+ enumValues: [string, ...string[]];
1041
+ baseColumn: never;
1042
+ identity: undefined;
1043
+ generated: undefined;
1044
+ }, {}, {
1045
+ length: number | undefined;
1046
+ }>;
1047
+ clabe: drizzle_orm_sqlite_core.SQLiteColumn<{
1048
+ name: "clabe";
1049
+ tableName: "account";
1050
+ dataType: "string";
1051
+ columnType: "SQLiteText";
1052
+ data: string;
1053
+ driverParam: string;
1054
+ notNull: false;
1055
+ hasDefault: false;
1056
+ isPrimaryKey: false;
1057
+ isAutoincrement: false;
1058
+ hasRuntimeDefault: false;
1059
+ enumValues: [string, ...string[]];
1060
+ baseColumn: never;
1061
+ identity: undefined;
1062
+ generated: undefined;
1063
+ }, {}, {
1064
+ length: number | undefined;
1065
+ }>;
1066
+ bsb: drizzle_orm_sqlite_core.SQLiteColumn<{
1067
+ name: "bsb";
1068
+ tableName: "account";
1069
+ dataType: "string";
1070
+ columnType: "SQLiteText";
1071
+ data: string;
1072
+ driverParam: string;
1073
+ notNull: false;
1074
+ hasDefault: false;
1075
+ isPrimaryKey: false;
1076
+ isAutoincrement: false;
1077
+ hasRuntimeDefault: false;
1078
+ enumValues: [string, ...string[]];
1079
+ baseColumn: never;
1080
+ identity: undefined;
1081
+ generated: undefined;
1082
+ }, {}, {
1083
+ length: number | undefined;
1084
+ }>;
1085
+ brBankNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
1086
+ name: "br_bank_number";
1087
+ tableName: "account";
1088
+ dataType: "string";
1089
+ columnType: "SQLiteText";
1090
+ data: string;
1091
+ driverParam: string;
1092
+ notNull: false;
1093
+ hasDefault: false;
1094
+ isPrimaryKey: false;
1095
+ isAutoincrement: false;
1096
+ hasRuntimeDefault: false;
1097
+ enumValues: [string, ...string[]];
1098
+ baseColumn: never;
1099
+ identity: undefined;
1100
+ generated: undefined;
1101
+ }, {}, {
1102
+ length: number | undefined;
1103
+ }>;
1104
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
1105
+ name: "id";
1106
+ tableName: "account";
1107
+ dataType: "string";
1108
+ columnType: "SQLiteText";
1109
+ data: string;
1110
+ driverParam: string;
1111
+ notNull: true;
1112
+ hasDefault: false;
1113
+ isPrimaryKey: true;
1114
+ isAutoincrement: false;
1115
+ hasRuntimeDefault: false;
1116
+ enumValues: [string, ...string[]];
1117
+ baseColumn: never;
1118
+ identity: undefined;
1119
+ generated: undefined;
1120
+ }, {}, {
1121
+ length: number | undefined;
1122
+ }>;
1123
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1124
+ name: "created_at";
1125
+ tableName: "account";
1126
+ dataType: "date";
1127
+ columnType: "SQLiteTimestamp";
1128
+ data: Date;
1129
+ driverParam: number;
1130
+ notNull: false;
1131
+ hasDefault: true;
1132
+ isPrimaryKey: false;
1133
+ isAutoincrement: false;
1134
+ hasRuntimeDefault: false;
1135
+ enumValues: undefined;
1136
+ baseColumn: never;
1137
+ identity: undefined;
1138
+ generated: undefined;
1139
+ }, {}, {}>;
1140
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1141
+ name: "created_by";
1142
+ tableName: "account";
1143
+ dataType: "string";
1144
+ columnType: "SQLiteText";
1145
+ data: string;
1146
+ driverParam: string;
1147
+ notNull: false;
1148
+ hasDefault: true;
1149
+ isPrimaryKey: false;
1150
+ isAutoincrement: false;
1151
+ hasRuntimeDefault: false;
1152
+ enumValues: [string, ...string[]];
1153
+ baseColumn: never;
1154
+ identity: undefined;
1155
+ generated: undefined;
1156
+ }, {}, {
1157
+ length: number | undefined;
1158
+ }>;
1159
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1160
+ name: "updated_at";
1161
+ tableName: "account";
1162
+ dataType: "date";
1163
+ columnType: "SQLiteTimestamp";
1164
+ data: Date;
1165
+ driverParam: number;
1166
+ notNull: false;
1167
+ hasDefault: true;
1168
+ isPrimaryKey: false;
1169
+ isAutoincrement: false;
1170
+ hasRuntimeDefault: false;
1171
+ enumValues: undefined;
1172
+ baseColumn: never;
1173
+ identity: undefined;
1174
+ generated: undefined;
1175
+ }, {}, {}>;
1176
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1177
+ name: "updated_by";
1178
+ tableName: "account";
1179
+ dataType: "string";
1180
+ columnType: "SQLiteText";
1181
+ data: string;
1182
+ driverParam: string;
1183
+ notNull: false;
1184
+ hasDefault: true;
1185
+ isPrimaryKey: false;
1186
+ isAutoincrement: false;
1187
+ hasRuntimeDefault: false;
1188
+ enumValues: [string, ...string[]];
1189
+ baseColumn: never;
1190
+ identity: undefined;
1191
+ generated: undefined;
1192
+ }, {}, {
1193
+ length: number | undefined;
1194
+ }>;
1195
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1196
+ name: "deleted_at";
1197
+ tableName: "account";
1198
+ dataType: "date";
1199
+ columnType: "SQLiteTimestamp";
1200
+ data: Date;
1201
+ driverParam: number;
1202
+ notNull: false;
1203
+ hasDefault: true;
1204
+ isPrimaryKey: false;
1205
+ isAutoincrement: false;
1206
+ hasRuntimeDefault: false;
1207
+ enumValues: undefined;
1208
+ baseColumn: never;
1209
+ identity: undefined;
1210
+ generated: undefined;
1211
+ }, {}, {}>;
1212
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1213
+ name: "deleted_by";
1214
+ tableName: "account";
1215
+ dataType: "string";
1216
+ columnType: "SQLiteText";
1217
+ data: string;
1218
+ driverParam: string;
1219
+ notNull: false;
1220
+ hasDefault: true;
1221
+ isPrimaryKey: false;
1222
+ isAutoincrement: false;
1223
+ hasRuntimeDefault: false;
1224
+ enumValues: [string, ...string[]];
1225
+ baseColumn: never;
1226
+ identity: undefined;
1227
+ generated: undefined;
1228
+ }, {}, {
1229
+ length: number | undefined;
1230
+ }>;
1231
+ }, undefined, undefined>;
1232
+ declare const accountUpdateSchema: drizzle_zod.BuildSchema<"update", {
1233
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
1234
+ name: "number";
1235
+ tableName: "account";
1236
+ dataType: "string";
1237
+ columnType: "SQLiteText";
1238
+ data: string;
1239
+ driverParam: string;
1240
+ notNull: true;
1241
+ hasDefault: false;
1242
+ isPrimaryKey: false;
1243
+ isAutoincrement: false;
1244
+ hasRuntimeDefault: false;
1245
+ enumValues: [string, ...string[]];
1246
+ baseColumn: never;
1247
+ identity: undefined;
1248
+ generated: undefined;
1249
+ }, {}, {
1250
+ length: number | undefined;
1251
+ }>;
1252
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
1253
+ name: "name";
1254
+ tableName: "account";
1255
+ dataType: "string";
1256
+ columnType: "SQLiteText";
1257
+ data: string;
1258
+ driverParam: string;
1259
+ notNull: false;
1260
+ hasDefault: false;
1261
+ isPrimaryKey: false;
1262
+ isAutoincrement: false;
1263
+ hasRuntimeDefault: false;
1264
+ enumValues: [string, ...string[]];
1265
+ baseColumn: never;
1266
+ identity: undefined;
1267
+ generated: undefined;
1268
+ }, {}, {
1269
+ length: number | undefined;
1270
+ }>;
1271
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1272
+ name: "iban";
1273
+ tableName: "account";
1274
+ dataType: "string";
1275
+ columnType: "SQLiteText";
1276
+ data: string;
1277
+ driverParam: string;
1278
+ notNull: true;
1279
+ hasDefault: false;
1280
+ isPrimaryKey: false;
1281
+ isAutoincrement: false;
1282
+ hasRuntimeDefault: false;
1283
+ enumValues: [string, ...string[]];
1284
+ baseColumn: never;
1285
+ identity: undefined;
1286
+ generated: undefined;
1287
+ }, {}, {
1288
+ length: number | undefined;
1289
+ }>;
1290
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1291
+ name: "bank_code";
1292
+ tableName: "account";
1293
+ dataType: "string";
1294
+ columnType: "SQLiteText";
1295
+ 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";
1296
+ driverParam: string;
1297
+ notNull: true;
1298
+ hasDefault: false;
1299
+ isPrimaryKey: false;
1300
+ isAutoincrement: false;
1301
+ hasRuntimeDefault: false;
1302
+ 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")[]];
1303
+ baseColumn: never;
1304
+ identity: undefined;
1305
+ generated: undefined;
1306
+ }, {}, {
1307
+ length: number | undefined;
1308
+ }>;
1309
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
1310
+ name: "connector_key";
1311
+ tableName: "account";
1312
+ dataType: "string";
1313
+ columnType: "SQLiteText";
1314
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
1315
+ driverParam: string;
1316
+ notNull: true;
1317
+ hasDefault: false;
1318
+ isPrimaryKey: false;
1319
+ isAutoincrement: false;
1320
+ hasRuntimeDefault: false;
1321
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
1322
+ baseColumn: never;
1323
+ identity: undefined;
1324
+ generated: undefined;
1325
+ }, {}, {
1326
+ length: number | undefined;
1327
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
1328
+ }>;
1329
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
1330
+ name: "status";
1331
+ tableName: "account";
1332
+ dataType: "string";
1333
+ columnType: "SQLiteText";
1334
+ data: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1335
+ driverParam: string;
1336
+ notNull: true;
1337
+ hasDefault: false;
1338
+ isPrimaryKey: false;
1339
+ isAutoincrement: false;
1340
+ hasRuntimeDefault: false;
1341
+ enumValues: ["AUTHORIZED", "DISABLED", "EXPIRED"];
1342
+ baseColumn: never;
1343
+ identity: undefined;
1344
+ generated: undefined;
1345
+ }, {}, {
1346
+ length: number | undefined;
1347
+ $type: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1348
+ }>;
1349
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
1350
+ name: "bank_ref_id";
1351
+ tableName: "account";
1352
+ dataType: "string";
1353
+ columnType: "SQLiteText";
1354
+ data: string;
1355
+ driverParam: string;
1356
+ notNull: true;
1357
+ hasDefault: false;
1358
+ isPrimaryKey: false;
1359
+ isAutoincrement: false;
1360
+ hasRuntimeDefault: false;
1361
+ enumValues: [string, ...string[]];
1362
+ baseColumn: never;
1363
+ identity: undefined;
1364
+ generated: undefined;
1365
+ }, {}, {
1366
+ length: number | undefined;
1367
+ }>;
1368
+ batchSizeLimit: drizzle_orm_sqlite_core.SQLiteColumn<{
1369
+ name: "batch_size_limit";
1370
+ tableName: "account";
1371
+ dataType: "number";
1372
+ columnType: "SQLiteInteger";
1373
+ data: number;
1374
+ driverParam: number;
1375
+ notNull: true;
1376
+ hasDefault: true;
1377
+ isPrimaryKey: false;
1378
+ isAutoincrement: false;
1379
+ hasRuntimeDefault: false;
1380
+ enumValues: undefined;
1381
+ baseColumn: never;
1382
+ identity: undefined;
1383
+ generated: undefined;
1384
+ }, {}, {}>;
1385
+ syncIntervalS: drizzle_orm_sqlite_core.SQLiteColumn<{
1386
+ name: "sync_interval_s";
1387
+ tableName: "account";
1388
+ dataType: "number";
1389
+ columnType: "SQLiteInteger";
1390
+ data: number;
1391
+ driverParam: number;
1392
+ notNull: true;
1393
+ hasDefault: true;
1394
+ isPrimaryKey: false;
1395
+ isAutoincrement: false;
1396
+ hasRuntimeDefault: false;
1397
+ enumValues: undefined;
1398
+ baseColumn: never;
1399
+ identity: undefined;
1400
+ generated: undefined;
1401
+ }, {}, {}>;
1402
+ lastSyncAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1403
+ name: "last_sync_at";
1404
+ tableName: "account";
1405
+ dataType: "date";
1406
+ columnType: "SQLiteTimestamp";
1407
+ data: Date;
1408
+ driverParam: number;
1409
+ notNull: false;
1410
+ hasDefault: false;
1411
+ isPrimaryKey: false;
1412
+ isAutoincrement: false;
1413
+ hasRuntimeDefault: false;
1414
+ enumValues: undefined;
1415
+ baseColumn: never;
1416
+ identity: undefined;
1417
+ generated: undefined;
1418
+ }, {}, {}>;
1419
+ lastSyncMetadata: drizzle_orm_sqlite_core.SQLiteColumn<{
1420
+ name: "last_sync_metadata";
1421
+ tableName: "account";
1422
+ dataType: "json";
1423
+ columnType: "SQLiteTextJson";
1424
+ data: LastSyncMetadata;
1425
+ driverParam: string;
1426
+ notNull: false;
1427
+ hasDefault: false;
1428
+ isPrimaryKey: false;
1429
+ isAutoincrement: false;
1430
+ hasRuntimeDefault: false;
1431
+ enumValues: undefined;
1432
+ baseColumn: never;
1433
+ identity: undefined;
1434
+ generated: undefined;
1435
+ }, {}, {
1436
+ $type: LastSyncMetadata;
1437
+ }>;
1438
+ holderName: drizzle_orm_sqlite_core.SQLiteColumn<{
1439
+ name: "holder_name";
1440
+ tableName: "account";
1441
+ dataType: "string";
1442
+ columnType: "SQLiteText";
1443
+ data: string;
1444
+ driverParam: string;
1445
+ notNull: true;
1446
+ hasDefault: false;
1447
+ isPrimaryKey: false;
1448
+ isAutoincrement: false;
1449
+ hasRuntimeDefault: false;
1450
+ enumValues: [string, ...string[]];
1451
+ baseColumn: never;
1452
+ identity: undefined;
1453
+ generated: undefined;
1454
+ }, {}, {
1455
+ length: number | undefined;
1456
+ }>;
1457
+ address: drizzle_orm_sqlite_core.SQLiteColumn<{
1458
+ name: "address";
1459
+ tableName: "account";
1460
+ dataType: "string";
1461
+ columnType: "SQLiteText";
1462
+ data: string;
1463
+ driverParam: string;
1464
+ notNull: false;
1465
+ hasDefault: false;
1466
+ isPrimaryKey: false;
1467
+ isAutoincrement: false;
1468
+ hasRuntimeDefault: false;
1469
+ enumValues: [string, ...string[]];
1470
+ baseColumn: never;
1471
+ identity: undefined;
1472
+ generated: undefined;
1473
+ }, {}, {
1474
+ length: number | undefined;
1475
+ }>;
1476
+ swiftBic: drizzle_orm_sqlite_core.SQLiteColumn<{
1477
+ name: "swift_bic";
1478
+ tableName: "account";
1479
+ dataType: "string";
1480
+ columnType: "SQLiteText";
1481
+ data: string;
1482
+ driverParam: string;
1483
+ notNull: false;
1484
+ hasDefault: false;
1485
+ isPrimaryKey: false;
1486
+ isAutoincrement: false;
1487
+ hasRuntimeDefault: false;
1488
+ enumValues: [string, ...string[]];
1489
+ baseColumn: never;
1490
+ identity: undefined;
1491
+ generated: undefined;
1492
+ }, {}, {
1493
+ length: number | undefined;
1494
+ }>;
1495
+ bicCor: drizzle_orm_sqlite_core.SQLiteColumn<{
1496
+ name: "bic_cor";
1497
+ tableName: "account";
1498
+ dataType: "string";
1499
+ columnType: "SQLiteText";
1500
+ data: string;
1501
+ driverParam: string;
1502
+ notNull: false;
1503
+ hasDefault: false;
1504
+ isPrimaryKey: false;
1505
+ isAutoincrement: false;
1506
+ hasRuntimeDefault: false;
1507
+ enumValues: [string, ...string[]];
1508
+ baseColumn: never;
1509
+ identity: undefined;
1510
+ generated: undefined;
1511
+ }, {}, {
1512
+ length: number | undefined;
1513
+ }>;
1514
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
1515
+ name: "currency";
1516
+ tableName: "account";
1517
+ dataType: "string";
1518
+ columnType: "SQLiteText";
1519
+ 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";
1520
+ driverParam: string;
1521
+ notNull: true;
1522
+ hasDefault: false;
1523
+ isPrimaryKey: false;
1524
+ isAutoincrement: false;
1525
+ hasRuntimeDefault: false;
1526
+ 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")[]];
1527
+ baseColumn: never;
1528
+ identity: undefined;
1529
+ generated: undefined;
1530
+ }, {}, {
1531
+ length: number | undefined;
1532
+ }>;
1533
+ countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1534
+ name: "country_code";
1535
+ tableName: "account";
1536
+ dataType: "string";
1537
+ columnType: "SQLiteText";
1538
+ data: "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";
1539
+ driverParam: string;
1540
+ notNull: true;
1541
+ hasDefault: false;
1542
+ isPrimaryKey: false;
1543
+ isAutoincrement: false;
1544
+ hasRuntimeDefault: false;
1545
+ enumValues: ["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", ...("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")[]];
1546
+ baseColumn: never;
1547
+ identity: undefined;
1548
+ generated: undefined;
1549
+ }, {}, {
1550
+ length: number | undefined;
1551
+ }>;
1552
+ routingNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
1553
+ name: "routing_number";
1554
+ tableName: "account";
1555
+ dataType: "string";
1556
+ columnType: "SQLiteText";
1557
+ data: string;
1558
+ driverParam: string;
1559
+ notNull: false;
1560
+ hasDefault: false;
1561
+ isPrimaryKey: false;
1562
+ isAutoincrement: false;
1563
+ hasRuntimeDefault: false;
1564
+ enumValues: [string, ...string[]];
1565
+ baseColumn: never;
1566
+ identity: undefined;
1567
+ generated: undefined;
1568
+ }, {}, {
1569
+ length: number | undefined;
1570
+ }>;
1571
+ sortCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1572
+ name: "sort_code";
1573
+ tableName: "account";
1574
+ dataType: "string";
1575
+ columnType: "SQLiteText";
1576
+ data: string;
1577
+ driverParam: string;
1578
+ notNull: false;
1579
+ hasDefault: false;
1580
+ isPrimaryKey: false;
1581
+ isAutoincrement: false;
1582
+ hasRuntimeDefault: false;
1583
+ enumValues: [string, ...string[]];
1584
+ baseColumn: never;
1585
+ identity: undefined;
1586
+ generated: undefined;
1587
+ }, {}, {
1588
+ length: number | undefined;
1589
+ }>;
1590
+ clabe: drizzle_orm_sqlite_core.SQLiteColumn<{
1591
+ name: "clabe";
1592
+ tableName: "account";
1593
+ dataType: "string";
1594
+ columnType: "SQLiteText";
1595
+ data: string;
1596
+ driverParam: string;
1597
+ notNull: false;
1598
+ hasDefault: false;
1599
+ isPrimaryKey: false;
1600
+ isAutoincrement: false;
1601
+ hasRuntimeDefault: false;
1602
+ enumValues: [string, ...string[]];
1603
+ baseColumn: never;
1604
+ identity: undefined;
1605
+ generated: undefined;
1606
+ }, {}, {
1607
+ length: number | undefined;
1608
+ }>;
1609
+ bsb: drizzle_orm_sqlite_core.SQLiteColumn<{
1610
+ name: "bsb";
1611
+ tableName: "account";
1612
+ dataType: "string";
1613
+ columnType: "SQLiteText";
1614
+ data: string;
1615
+ driverParam: string;
1616
+ notNull: false;
1617
+ hasDefault: false;
1618
+ isPrimaryKey: false;
1619
+ isAutoincrement: false;
1620
+ hasRuntimeDefault: false;
1621
+ enumValues: [string, ...string[]];
1622
+ baseColumn: never;
1623
+ identity: undefined;
1624
+ generated: undefined;
1625
+ }, {}, {
1626
+ length: number | undefined;
1627
+ }>;
1628
+ brBankNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
1629
+ name: "br_bank_number";
1630
+ tableName: "account";
1631
+ dataType: "string";
1632
+ columnType: "SQLiteText";
1633
+ data: string;
1634
+ driverParam: string;
1635
+ notNull: false;
1636
+ hasDefault: false;
1637
+ isPrimaryKey: false;
1638
+ isAutoincrement: false;
1639
+ hasRuntimeDefault: false;
1640
+ enumValues: [string, ...string[]];
1641
+ baseColumn: never;
1642
+ identity: undefined;
1643
+ generated: undefined;
1644
+ }, {}, {
1645
+ length: number | undefined;
1646
+ }>;
1647
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
1648
+ name: "id";
1649
+ tableName: "account";
1650
+ dataType: "string";
1651
+ columnType: "SQLiteText";
1652
+ data: string;
1653
+ driverParam: string;
1654
+ notNull: true;
1655
+ hasDefault: false;
1656
+ isPrimaryKey: true;
1657
+ isAutoincrement: false;
1658
+ hasRuntimeDefault: false;
1659
+ enumValues: [string, ...string[]];
1660
+ baseColumn: never;
1661
+ identity: undefined;
1662
+ generated: undefined;
1663
+ }, {}, {
1664
+ length: number | undefined;
1665
+ }>;
1666
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1667
+ name: "created_at";
1668
+ tableName: "account";
1669
+ dataType: "date";
1670
+ columnType: "SQLiteTimestamp";
1671
+ data: Date;
1672
+ driverParam: number;
1673
+ notNull: false;
1674
+ hasDefault: true;
1675
+ isPrimaryKey: false;
1676
+ isAutoincrement: false;
1677
+ hasRuntimeDefault: false;
1678
+ enumValues: undefined;
1679
+ baseColumn: never;
1680
+ identity: undefined;
1681
+ generated: undefined;
1682
+ }, {}, {}>;
1683
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1684
+ name: "created_by";
1685
+ tableName: "account";
1686
+ dataType: "string";
1687
+ columnType: "SQLiteText";
1688
+ data: string;
1689
+ driverParam: string;
1690
+ notNull: false;
1691
+ hasDefault: true;
1692
+ isPrimaryKey: false;
1693
+ isAutoincrement: false;
1694
+ hasRuntimeDefault: false;
1695
+ enumValues: [string, ...string[]];
1696
+ baseColumn: never;
1697
+ identity: undefined;
1698
+ generated: undefined;
1699
+ }, {}, {
1700
+ length: number | undefined;
1701
+ }>;
1702
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1703
+ name: "updated_at";
1704
+ tableName: "account";
1705
+ dataType: "date";
1706
+ columnType: "SQLiteTimestamp";
1707
+ data: Date;
1708
+ driverParam: number;
1709
+ notNull: false;
1710
+ hasDefault: true;
1711
+ isPrimaryKey: false;
1712
+ isAutoincrement: false;
1713
+ hasRuntimeDefault: false;
1714
+ enumValues: undefined;
1715
+ baseColumn: never;
1716
+ identity: undefined;
1717
+ generated: undefined;
1718
+ }, {}, {}>;
1719
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1720
+ name: "updated_by";
1721
+ tableName: "account";
1722
+ dataType: "string";
1723
+ columnType: "SQLiteText";
1724
+ data: string;
1725
+ driverParam: string;
1726
+ notNull: false;
1727
+ hasDefault: true;
1728
+ isPrimaryKey: false;
1729
+ isAutoincrement: false;
1730
+ hasRuntimeDefault: false;
1731
+ enumValues: [string, ...string[]];
1732
+ baseColumn: never;
1733
+ identity: undefined;
1734
+ generated: undefined;
1735
+ }, {}, {
1736
+ length: number | undefined;
1737
+ }>;
1738
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1739
+ name: "deleted_at";
1740
+ tableName: "account";
1741
+ dataType: "date";
1742
+ columnType: "SQLiteTimestamp";
1743
+ data: Date;
1744
+ driverParam: number;
1745
+ notNull: false;
1746
+ hasDefault: true;
1747
+ isPrimaryKey: false;
1748
+ isAutoincrement: false;
1749
+ hasRuntimeDefault: false;
1750
+ enumValues: undefined;
1751
+ baseColumn: never;
1752
+ identity: undefined;
1753
+ generated: undefined;
1754
+ }, {}, {}>;
1755
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1756
+ name: "deleted_by";
1757
+ tableName: "account";
1758
+ dataType: "string";
1759
+ columnType: "SQLiteText";
1760
+ data: string;
1761
+ driverParam: string;
1762
+ notNull: false;
1763
+ hasDefault: true;
1764
+ isPrimaryKey: false;
1765
+ isAutoincrement: false;
1766
+ hasRuntimeDefault: false;
1767
+ enumValues: [string, ...string[]];
1768
+ baseColumn: never;
1769
+ identity: undefined;
1770
+ generated: undefined;
1771
+ }, {}, {
1772
+ length: number | undefined;
1773
+ }>;
1774
+ }, undefined, undefined>;
1775
+ declare const accountSelectSchema: drizzle_zod.BuildSchema<"select", {
1776
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
1777
+ name: "number";
1778
+ tableName: "account";
1779
+ dataType: "string";
1780
+ columnType: "SQLiteText";
1781
+ data: string;
1782
+ driverParam: string;
1783
+ notNull: true;
1784
+ hasDefault: false;
1785
+ isPrimaryKey: false;
1786
+ isAutoincrement: false;
1787
+ hasRuntimeDefault: false;
1788
+ enumValues: [string, ...string[]];
1789
+ baseColumn: never;
1790
+ identity: undefined;
1791
+ generated: undefined;
1792
+ }, {}, {
1793
+ length: number | undefined;
1794
+ }>;
1795
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
1796
+ name: "name";
1797
+ tableName: "account";
1798
+ dataType: "string";
1799
+ columnType: "SQLiteText";
1800
+ data: string;
1801
+ driverParam: string;
1802
+ notNull: false;
1803
+ hasDefault: false;
1804
+ isPrimaryKey: false;
1805
+ isAutoincrement: false;
1806
+ hasRuntimeDefault: false;
1807
+ enumValues: [string, ...string[]];
1808
+ baseColumn: never;
1809
+ identity: undefined;
1810
+ generated: undefined;
1811
+ }, {}, {
1812
+ length: number | undefined;
1813
+ }>;
1814
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
1815
+ name: "iban";
1816
+ tableName: "account";
1817
+ dataType: "string";
1818
+ columnType: "SQLiteText";
1819
+ data: string;
1820
+ driverParam: string;
1821
+ notNull: true;
1822
+ hasDefault: false;
1823
+ isPrimaryKey: false;
1824
+ isAutoincrement: false;
1825
+ hasRuntimeDefault: false;
1826
+ enumValues: [string, ...string[]];
1827
+ baseColumn: never;
1828
+ identity: undefined;
1829
+ generated: undefined;
1830
+ }, {}, {
1831
+ length: number | undefined;
1832
+ }>;
1833
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
1834
+ name: "bank_code";
1835
+ tableName: "account";
1836
+ dataType: "string";
1837
+ columnType: "SQLiteText";
1838
+ 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";
1839
+ driverParam: string;
1840
+ notNull: true;
1841
+ hasDefault: false;
1842
+ isPrimaryKey: false;
1843
+ isAutoincrement: false;
1844
+ hasRuntimeDefault: false;
1845
+ 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")[]];
1846
+ baseColumn: never;
1847
+ identity: undefined;
1848
+ generated: undefined;
1849
+ }, {}, {
1850
+ length: number | undefined;
1851
+ }>;
1852
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
1853
+ name: "connector_key";
1854
+ tableName: "account";
1855
+ dataType: "string";
1856
+ columnType: "SQLiteText";
1857
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
1858
+ driverParam: string;
1859
+ notNull: true;
1860
+ hasDefault: false;
1861
+ isPrimaryKey: false;
1862
+ isAutoincrement: false;
1863
+ hasRuntimeDefault: false;
1864
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
1865
+ baseColumn: never;
1866
+ identity: undefined;
1867
+ generated: undefined;
1868
+ }, {}, {
1869
+ length: number | undefined;
1870
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
1871
+ }>;
1872
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
1873
+ name: "status";
1874
+ tableName: "account";
1875
+ dataType: "string";
1876
+ columnType: "SQLiteText";
1877
+ data: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1878
+ driverParam: string;
1879
+ notNull: true;
1880
+ hasDefault: false;
1881
+ isPrimaryKey: false;
1882
+ isAutoincrement: false;
1883
+ hasRuntimeDefault: false;
1884
+ enumValues: ["AUTHORIZED", "DISABLED", "EXPIRED"];
1885
+ baseColumn: never;
1886
+ identity: undefined;
1887
+ generated: undefined;
1888
+ }, {}, {
1889
+ length: number | undefined;
1890
+ $type: "AUTHORIZED" | "DISABLED" | "EXPIRED";
1891
+ }>;
1892
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
1893
+ name: "bank_ref_id";
1894
+ tableName: "account";
1895
+ dataType: "string";
1896
+ columnType: "SQLiteText";
1897
+ data: string;
1898
+ driverParam: string;
1899
+ notNull: true;
1900
+ hasDefault: false;
1901
+ isPrimaryKey: false;
1902
+ isAutoincrement: false;
1903
+ hasRuntimeDefault: false;
1904
+ enumValues: [string, ...string[]];
1905
+ baseColumn: never;
1906
+ identity: undefined;
1907
+ generated: undefined;
1908
+ }, {}, {
1909
+ length: number | undefined;
1910
+ }>;
1911
+ batchSizeLimit: drizzle_orm_sqlite_core.SQLiteColumn<{
1912
+ name: "batch_size_limit";
1913
+ tableName: "account";
1914
+ dataType: "number";
1915
+ columnType: "SQLiteInteger";
1916
+ data: number;
1917
+ driverParam: number;
1918
+ notNull: true;
1919
+ hasDefault: true;
1920
+ isPrimaryKey: false;
1921
+ isAutoincrement: false;
1922
+ hasRuntimeDefault: false;
1923
+ enumValues: undefined;
1924
+ baseColumn: never;
1925
+ identity: undefined;
1926
+ generated: undefined;
1927
+ }, {}, {}>;
1928
+ syncIntervalS: drizzle_orm_sqlite_core.SQLiteColumn<{
1929
+ name: "sync_interval_s";
1930
+ tableName: "account";
1931
+ dataType: "number";
1932
+ columnType: "SQLiteInteger";
1933
+ data: number;
1934
+ driverParam: number;
1935
+ notNull: true;
1936
+ hasDefault: true;
1937
+ isPrimaryKey: false;
1938
+ isAutoincrement: false;
1939
+ hasRuntimeDefault: false;
1940
+ enumValues: undefined;
1941
+ baseColumn: never;
1942
+ identity: undefined;
1943
+ generated: undefined;
1944
+ }, {}, {}>;
1945
+ lastSyncAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1946
+ name: "last_sync_at";
1947
+ tableName: "account";
1948
+ dataType: "date";
1949
+ columnType: "SQLiteTimestamp";
1950
+ data: Date;
1951
+ driverParam: number;
1952
+ notNull: false;
1953
+ hasDefault: false;
1954
+ isPrimaryKey: false;
1955
+ isAutoincrement: false;
1956
+ hasRuntimeDefault: false;
1957
+ enumValues: undefined;
1958
+ baseColumn: never;
1959
+ identity: undefined;
1960
+ generated: undefined;
1961
+ }, {}, {}>;
1962
+ lastSyncMetadata: drizzle_orm_sqlite_core.SQLiteColumn<{
1963
+ name: "last_sync_metadata";
1964
+ tableName: "account";
1965
+ dataType: "json";
1966
+ columnType: "SQLiteTextJson";
1967
+ data: LastSyncMetadata;
1968
+ driverParam: string;
1969
+ notNull: false;
1970
+ hasDefault: false;
1971
+ isPrimaryKey: false;
1972
+ isAutoincrement: false;
1973
+ hasRuntimeDefault: false;
1974
+ enumValues: undefined;
1975
+ baseColumn: never;
1976
+ identity: undefined;
1977
+ generated: undefined;
1978
+ }, {}, {
1979
+ $type: LastSyncMetadata;
1980
+ }>;
1981
+ holderName: drizzle_orm_sqlite_core.SQLiteColumn<{
1982
+ name: "holder_name";
1983
+ tableName: "account";
1984
+ dataType: "string";
1985
+ columnType: "SQLiteText";
1986
+ data: string;
1987
+ driverParam: string;
1988
+ notNull: true;
1989
+ hasDefault: false;
1990
+ isPrimaryKey: false;
1991
+ isAutoincrement: false;
1992
+ hasRuntimeDefault: false;
1993
+ enumValues: [string, ...string[]];
1994
+ baseColumn: never;
1995
+ identity: undefined;
1996
+ generated: undefined;
1997
+ }, {}, {
1998
+ length: number | undefined;
1999
+ }>;
2000
+ address: drizzle_orm_sqlite_core.SQLiteColumn<{
2001
+ name: "address";
2002
+ tableName: "account";
2003
+ dataType: "string";
2004
+ columnType: "SQLiteText";
2005
+ data: string;
2006
+ driverParam: string;
2007
+ notNull: false;
2008
+ hasDefault: false;
2009
+ isPrimaryKey: false;
2010
+ isAutoincrement: false;
2011
+ hasRuntimeDefault: false;
2012
+ enumValues: [string, ...string[]];
2013
+ baseColumn: never;
2014
+ identity: undefined;
2015
+ generated: undefined;
2016
+ }, {}, {
2017
+ length: number | undefined;
2018
+ }>;
2019
+ swiftBic: drizzle_orm_sqlite_core.SQLiteColumn<{
2020
+ name: "swift_bic";
2021
+ tableName: "account";
2022
+ dataType: "string";
2023
+ columnType: "SQLiteText";
2024
+ data: string;
2025
+ driverParam: string;
2026
+ notNull: false;
2027
+ hasDefault: false;
2028
+ isPrimaryKey: false;
2029
+ isAutoincrement: false;
2030
+ hasRuntimeDefault: false;
2031
+ enumValues: [string, ...string[]];
2032
+ baseColumn: never;
2033
+ identity: undefined;
2034
+ generated: undefined;
2035
+ }, {}, {
2036
+ length: number | undefined;
2037
+ }>;
2038
+ bicCor: drizzle_orm_sqlite_core.SQLiteColumn<{
2039
+ name: "bic_cor";
2040
+ tableName: "account";
2041
+ dataType: "string";
2042
+ columnType: "SQLiteText";
2043
+ data: string;
2044
+ driverParam: string;
2045
+ notNull: false;
2046
+ hasDefault: false;
2047
+ isPrimaryKey: false;
2048
+ isAutoincrement: false;
2049
+ hasRuntimeDefault: false;
2050
+ enumValues: [string, ...string[]];
2051
+ baseColumn: never;
2052
+ identity: undefined;
2053
+ generated: undefined;
2054
+ }, {}, {
2055
+ length: number | undefined;
2056
+ }>;
2057
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
2058
+ name: "currency";
2059
+ tableName: "account";
2060
+ dataType: "string";
2061
+ columnType: "SQLiteText";
2062
+ 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";
2063
+ driverParam: string;
2064
+ notNull: true;
2065
+ hasDefault: false;
2066
+ isPrimaryKey: false;
2067
+ isAutoincrement: false;
2068
+ hasRuntimeDefault: false;
2069
+ 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")[]];
2070
+ baseColumn: never;
2071
+ identity: undefined;
2072
+ generated: undefined;
2073
+ }, {}, {
2074
+ length: number | undefined;
2075
+ }>;
2076
+ countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
2077
+ name: "country_code";
2078
+ tableName: "account";
2079
+ dataType: "string";
2080
+ columnType: "SQLiteText";
2081
+ data: "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";
2082
+ driverParam: string;
2083
+ notNull: true;
2084
+ hasDefault: false;
2085
+ isPrimaryKey: false;
2086
+ isAutoincrement: false;
2087
+ hasRuntimeDefault: false;
2088
+ enumValues: ["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", ...("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")[]];
2089
+ baseColumn: never;
2090
+ identity: undefined;
2091
+ generated: undefined;
2092
+ }, {}, {
2093
+ length: number | undefined;
2094
+ }>;
2095
+ routingNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
2096
+ name: "routing_number";
2097
+ tableName: "account";
2098
+ dataType: "string";
2099
+ columnType: "SQLiteText";
2100
+ data: string;
2101
+ driverParam: string;
2102
+ notNull: false;
2103
+ hasDefault: false;
2104
+ isPrimaryKey: false;
2105
+ isAutoincrement: false;
2106
+ hasRuntimeDefault: false;
2107
+ enumValues: [string, ...string[]];
2108
+ baseColumn: never;
2109
+ identity: undefined;
2110
+ generated: undefined;
2111
+ }, {}, {
2112
+ length: number | undefined;
2113
+ }>;
2114
+ sortCode: drizzle_orm_sqlite_core.SQLiteColumn<{
2115
+ name: "sort_code";
2116
+ tableName: "account";
2117
+ dataType: "string";
2118
+ columnType: "SQLiteText";
2119
+ data: string;
2120
+ driverParam: string;
2121
+ notNull: false;
2122
+ hasDefault: false;
2123
+ isPrimaryKey: false;
2124
+ isAutoincrement: false;
2125
+ hasRuntimeDefault: false;
2126
+ enumValues: [string, ...string[]];
2127
+ baseColumn: never;
2128
+ identity: undefined;
2129
+ generated: undefined;
2130
+ }, {}, {
2131
+ length: number | undefined;
2132
+ }>;
2133
+ clabe: drizzle_orm_sqlite_core.SQLiteColumn<{
2134
+ name: "clabe";
2135
+ tableName: "account";
2136
+ dataType: "string";
2137
+ columnType: "SQLiteText";
2138
+ data: string;
2139
+ driverParam: string;
2140
+ notNull: false;
2141
+ hasDefault: false;
2142
+ isPrimaryKey: false;
2143
+ isAutoincrement: false;
2144
+ hasRuntimeDefault: false;
2145
+ enumValues: [string, ...string[]];
2146
+ baseColumn: never;
2147
+ identity: undefined;
2148
+ generated: undefined;
2149
+ }, {}, {
2150
+ length: number | undefined;
2151
+ }>;
2152
+ bsb: drizzle_orm_sqlite_core.SQLiteColumn<{
2153
+ name: "bsb";
2154
+ tableName: "account";
2155
+ dataType: "string";
2156
+ columnType: "SQLiteText";
2157
+ data: string;
2158
+ driverParam: string;
2159
+ notNull: false;
2160
+ hasDefault: false;
2161
+ isPrimaryKey: false;
2162
+ isAutoincrement: false;
2163
+ hasRuntimeDefault: false;
2164
+ enumValues: [string, ...string[]];
2165
+ baseColumn: never;
2166
+ identity: undefined;
2167
+ generated: undefined;
2168
+ }, {}, {
2169
+ length: number | undefined;
2170
+ }>;
2171
+ brBankNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
2172
+ name: "br_bank_number";
2173
+ tableName: "account";
2174
+ dataType: "string";
2175
+ columnType: "SQLiteText";
2176
+ data: string;
2177
+ driverParam: string;
2178
+ notNull: false;
2179
+ hasDefault: false;
2180
+ isPrimaryKey: false;
2181
+ isAutoincrement: false;
2182
+ hasRuntimeDefault: false;
2183
+ enumValues: [string, ...string[]];
2184
+ baseColumn: never;
2185
+ identity: undefined;
2186
+ generated: undefined;
2187
+ }, {}, {
2188
+ length: number | undefined;
2189
+ }>;
2190
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
2191
+ name: "id";
2192
+ tableName: "account";
2193
+ dataType: "string";
2194
+ columnType: "SQLiteText";
2195
+ data: string;
2196
+ driverParam: string;
2197
+ notNull: true;
2198
+ hasDefault: false;
2199
+ isPrimaryKey: true;
2200
+ isAutoincrement: false;
2201
+ hasRuntimeDefault: false;
2202
+ enumValues: [string, ...string[]];
2203
+ baseColumn: never;
2204
+ identity: undefined;
2205
+ generated: undefined;
2206
+ }, {}, {
2207
+ length: number | undefined;
2208
+ }>;
2209
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2210
+ name: "created_at";
2211
+ tableName: "account";
2212
+ dataType: "date";
2213
+ columnType: "SQLiteTimestamp";
2214
+ data: Date;
2215
+ driverParam: number;
2216
+ notNull: false;
2217
+ hasDefault: true;
2218
+ isPrimaryKey: false;
2219
+ isAutoincrement: false;
2220
+ hasRuntimeDefault: false;
2221
+ enumValues: undefined;
2222
+ baseColumn: never;
2223
+ identity: undefined;
2224
+ generated: undefined;
2225
+ }, {}, {}>;
2226
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2227
+ name: "created_by";
2228
+ tableName: "account";
2229
+ dataType: "string";
2230
+ columnType: "SQLiteText";
2231
+ data: string;
2232
+ driverParam: string;
2233
+ notNull: false;
2234
+ hasDefault: true;
2235
+ isPrimaryKey: false;
2236
+ isAutoincrement: false;
2237
+ hasRuntimeDefault: false;
2238
+ enumValues: [string, ...string[]];
2239
+ baseColumn: never;
2240
+ identity: undefined;
2241
+ generated: undefined;
2242
+ }, {}, {
2243
+ length: number | undefined;
2244
+ }>;
2245
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2246
+ name: "updated_at";
2247
+ tableName: "account";
2248
+ dataType: "date";
2249
+ columnType: "SQLiteTimestamp";
2250
+ data: Date;
2251
+ driverParam: number;
2252
+ notNull: false;
2253
+ hasDefault: true;
2254
+ isPrimaryKey: false;
2255
+ isAutoincrement: false;
2256
+ hasRuntimeDefault: false;
2257
+ enumValues: undefined;
2258
+ baseColumn: never;
2259
+ identity: undefined;
2260
+ generated: undefined;
2261
+ }, {}, {}>;
2262
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2263
+ name: "updated_by";
2264
+ tableName: "account";
2265
+ dataType: "string";
2266
+ columnType: "SQLiteText";
2267
+ data: string;
2268
+ driverParam: string;
2269
+ notNull: false;
2270
+ hasDefault: true;
2271
+ isPrimaryKey: false;
2272
+ isAutoincrement: false;
2273
+ hasRuntimeDefault: false;
2274
+ enumValues: [string, ...string[]];
2275
+ baseColumn: never;
2276
+ identity: undefined;
2277
+ generated: undefined;
2278
+ }, {}, {
2279
+ length: number | undefined;
2280
+ }>;
2281
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2282
+ name: "deleted_at";
2283
+ tableName: "account";
2284
+ dataType: "date";
2285
+ columnType: "SQLiteTimestamp";
2286
+ data: Date;
2287
+ driverParam: number;
2288
+ notNull: false;
2289
+ hasDefault: true;
2290
+ isPrimaryKey: false;
2291
+ isAutoincrement: false;
2292
+ hasRuntimeDefault: false;
2293
+ enumValues: undefined;
2294
+ baseColumn: never;
2295
+ identity: undefined;
2296
+ generated: undefined;
2297
+ }, {}, {}>;
2298
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2299
+ name: "deleted_by";
2300
+ tableName: "account";
2301
+ dataType: "string";
2302
+ columnType: "SQLiteText";
2303
+ data: string;
2304
+ driverParam: string;
2305
+ notNull: false;
2306
+ hasDefault: true;
2307
+ isPrimaryKey: false;
2308
+ isAutoincrement: false;
2309
+ hasRuntimeDefault: false;
2310
+ enumValues: [string, ...string[]];
2311
+ baseColumn: never;
2312
+ identity: undefined;
2313
+ generated: undefined;
2314
+ }, {}, {
2315
+ length: number | undefined;
2316
+ }>;
2317
+ }, undefined, undefined>;
2318
+
2319
+ type AccountInsertType = Omit<z.infer<typeof accountInsertSchema>, 'id'> & {
2320
+ id?: string;
2321
+ };
2322
+ type AccountUpdateType = z.infer<typeof accountInsertSchema>;
2323
+ type AccountPatchType = z.infer<typeof accountUpdateSchema>;
2324
+ type AccountSelectType = z.infer<typeof accountSelectSchema>;
2325
+
2326
+ interface BankAccountWithLastSync extends ConnectedAccount {
2327
+ lastSyncedAt: Date;
2328
+ }
2329
+ declare const CONNECTOR_KEYS: readonly ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
2330
+ type ConnectorKey = (typeof CONNECTOR_KEYS)[number];
2331
+ declare const CREDENTIALS_TYPES: readonly ["AUTH_TOKEN", "REFRESH_TOKEN", "CLIENT_ID", "API_KEY"];
2332
+ type CredentialsType = (typeof CREDENTIALS_TYPES)[number];
2333
+ declare const TOKEN_TYPES: readonly ["ACCOUNT_AUTHORIZATION"];
2334
+ type TokenType = (typeof TOKEN_TYPES)[number];
2335
+ interface ConfigEnvironmentBank {
2336
+ allowedProviders: ConnectorKey[];
2337
+ }
2338
+ interface LastSyncMetadata {
2339
+ payments: number;
2340
+ paymentsToProcess: number;
2341
+ paymentsInserted: number;
2342
+ lastSyncPayments: number;
2343
+ lastSyncBankRefIds: string[];
2344
+ eventsEmitted: number;
2345
+ }
2346
+
2347
+ declare const PAYMENT_TYPES: readonly ["SEPA", "SWIFT", "DOMESTIC", "UNKNOWN"];
2348
+ type PaymentType = (typeof PAYMENT_TYPES)[number];
2349
+ declare const CHARGE_BEARERS: readonly ["SHA", "OUR", "BEN"];
2350
+ type ChargeBearer = (typeof CHARGE_BEARERS)[number];
2351
+ declare const INSTRUCTION_PRIORITIES: readonly ["NORM", "HIGH", "INST"];
2352
+ type InstructionPriority = (typeof INSTRUCTION_PRIORITIES)[number];
2353
+ declare const PAYMENT_STATUSES: readonly ["PREPARED", "FAILED", "PENDING", "COMPLETED", "CREATED"];
2354
+ type PaymentStatus = (typeof PAYMENT_STATUSES)[number];
2355
+ declare const PAYMENT_DIRECTIONS: readonly ["INCOMING", "OUTGOING"];
2356
+ type PaymentDirection = (typeof PAYMENT_DIRECTIONS)[number];
2357
+
2358
+ type CurrencyCode = (typeof CURRENCY_CODES)[number];
2359
+ /**
2360
+ * Batch status constants
2361
+ */
2362
+ declare const BATCH_STATUSES: readonly ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
2363
+ /**
2364
+ * Type definition for batch status
2365
+ */
2366
+ type BatchStatus = (typeof BATCH_STATUSES)[number];
2367
+ declare const ACCOUNT_STATUSES: readonly ["AUTHORIZED", "DISABLED", "EXPIRED"];
2368
+ /**
2369
+ * Type definition for account status
2370
+ */
2371
+ type AccountStatus = (typeof ACCOUNT_STATUSES)[number];
2372
+ type Currency = CODES.Currency;
2373
+
2374
+ type BankCode = (typeof BANK_CODES)[number];
2375
+ declare const COUNTRY_CODES: ["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", ...("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")[]];
2376
+ type CountryCode = (typeof COUNTRY_CODES)[number];
2377
+
2378
+ type WithStatus<T extends {
2379
+ status: PaymentStatus;
2380
+ }, S extends PaymentStatus> = Omit<T, 'status'> & {
2381
+ status: S;
2382
+ };
2383
+ type PaymentFailedInsertType = WithStatus<PaymentInsertType, 'FAILED'>;
2384
+ /**
2385
+ * @deprecated Use PreparedPayment from '~/types/payment-lifecycle' instead
2386
+ */
2387
+ type PaymentPreparedInsertType = PreparedPayment;
2388
+ /**
2389
+ * Initiated single payment response from connector
2390
+ */
2391
+ type InitiatedPayment = {
2392
+ authorizationUrl: string;
2393
+ payment: PreparedPayment;
2394
+ };
2395
+ type ConnectedAccount = {
2396
+ token: string;
2397
+ id: string;
2398
+ iban: string;
2399
+ currency: CurrencyCode;
2400
+ connectorKey: ConnectorKey;
2401
+ bankRefId?: string;
2402
+ };
2403
+ declare abstract class IBankConnector {
2404
+ /** Unique identifier for this bank connector (e.g., 'ERSTE', 'FINBRICKS', 'MOCK') */
2405
+ abstract connectorKey: ConnectorKey;
2406
+ /** List of bank accounts connected through this connector instance */
2407
+ abstract connectedAccounts: ConnectedAccount[];
2408
+ /**
2409
+ * Checks if this connector supports batch processing for a given payment type.
2410
+ * When batch is not supported, batch methods will fall back to initiating
2411
+ * individual payments and returning multiple authorization URLs.
2412
+ * @param paymentType - Type of payment (DOMESTIC, SEPA, SWIFT)
2413
+ * @returns true if native batch API is supported, false if fallback to single payments is needed
2414
+ */
2415
+ abstract supportsBatch(paymentType: PaymentType): boolean;
2416
+ /**
2417
+ * Generates authorization URI for connecting a new bank account.
2418
+ * @param ott - One-time token used to identify the authorization flow
2419
+ * @returns Authorization URL that redirects user to bank's consent page
2420
+ */
2421
+ abstract getAuthUri({ ott }: {
2422
+ ott: string;
2423
+ }): Promise<string>;
2424
+ /**
2425
+ * Completes account authorization after user consent at the bank.
2426
+ * Exchanges authorization code for access tokens and retrieves account details.
2427
+ * @param urlParams - URL parameters returned from bank's redirect (contains authorization code and ott)
2428
+ * @returns Credentials (access/refresh tokens) and account information
2429
+ */
2430
+ abstract authorizeAccount({ urlParams }: {
2431
+ urlParams: string;
2432
+ }): Promise<{
2433
+ credentials: AccountCredentialsInsertType[];
2434
+ accounts: AccountInsertType[];
2435
+ }>;
2436
+ /**
2437
+ * @deprecated Use initiateDomesticBatch, initiateSEPABatch, or initiateForeignBatch instead.
2438
+ * Delegates to initiateDomesticBatch for backward compatibility.
2439
+ */
2440
+ initiateBatch(args: {
2441
+ batchId: string;
2442
+ payments: BatchedPayment[];
2443
+ }): Promise<InitiatedBatch>;
2444
+ /**
2445
+ * @deprecated Use initiateDomesticPayment instead.
2446
+ * Delegates to initiateDomesticPayment for backward compatibility.
2447
+ */
2448
+ initiateSinglePayment(payment: BatchedPayment): Promise<InitiatedPayment>;
2449
+ /**
2450
+ * Initiates a single domestic payment.
2451
+ * @param payment - Payment details in batched format
2452
+ * @returns Initiated payment with authorization URL and prepared payment data
2453
+ */
2454
+ abstract initiateDomesticPayment(payment: BatchedPayment): Promise<InitiatedPayment>;
2455
+ /**
2456
+ * Initiates a single SEPA payment.
2457
+ * @param payment - Payment details in batched format
2458
+ * @returns Initiated payment with authorization URL and prepared payment data
2459
+ */
2460
+ abstract initiateSEPAPayment(payment: BatchedPayment): Promise<InitiatedPayment>;
2461
+ /**
2462
+ * Initiates a single foreign (SWIFT) payment.
2463
+ * @param payment - Payment details in batched format
2464
+ * @returns Initiated payment with authorization URL and prepared payment data
2465
+ */
2466
+ abstract initiateForeignPayment(payment: BatchedPayment): Promise<InitiatedPayment>;
2467
+ /**
2468
+ * Initiates a batch of domestic payments with the bank.
2469
+ * Falls back to single payments if batch not supported.
2470
+ * @param batchId - Unique identifier for the batch
2471
+ * @param payments - Array of domestic payments to include in the batch
2472
+ * @returns Batch initiation result with authorization URLs and prepared payments
2473
+ */
2474
+ initiateDomesticBatch({ batchId, payments, }: {
2475
+ batchId: string;
2476
+ payments: BatchedPayment[];
2477
+ }): Promise<InitiatedBatch>;
2478
+ /**
2479
+ * Initiates a batch of SEPA payments with the bank.
2480
+ * Falls back to single payments if batch not supported.
2481
+ * @param batchId - Unique identifier for the batch
2482
+ * @param payments - Array of SEPA payments to include in the batch
2483
+ * @returns Batch initiation result with authorization URLs and prepared payments
2484
+ */
2485
+ initiateSEPABatch({ batchId, payments, }: {
2486
+ batchId: string;
2487
+ payments: BatchedPayment[];
2488
+ }): Promise<InitiatedBatch>;
2489
+ /**
2490
+ * Initiates a batch of foreign (SWIFT) payments with the bank.
2491
+ * Falls back to single payments if batch not supported.
2492
+ * @param batchId - Unique identifier for the batch
2493
+ * @param payments - Array of foreign payments to include in the batch
2494
+ * @returns Batch initiation result with authorization URLs and prepared payments
2495
+ */
2496
+ initiateForeignBatch({ batchId, payments, }: {
2497
+ batchId: string;
2498
+ payments: BatchedPayment[];
2499
+ }): Promise<InitiatedBatch>;
2500
+ /**
2501
+ * Native batch implementation for domestic payments.
2502
+ * Must be implemented by connector if it supports domestic batch.
2503
+ */
2504
+ protected abstract initiateDomesticBatchImpl(args: {
2505
+ batchId: string;
2506
+ payments: BatchedPayment[];
2507
+ }): Promise<InitiatedBatch>;
2508
+ /**
2509
+ * Native batch implementation for SEPA payments.
2510
+ * Must be implemented by connector if it supports SEPA batch.
2511
+ */
2512
+ protected abstract initiateSEPABatchImpl(args: {
2513
+ batchId: string;
2514
+ payments: BatchedPayment[];
2515
+ }): Promise<InitiatedBatch>;
2516
+ /**
2517
+ * Native batch implementation for foreign (SWIFT) payments.
2518
+ * Must be implemented by connector if it supports foreign batch.
2519
+ */
2520
+ protected abstract initiateForeignBatchImpl(args: {
2521
+ batchId: string;
2522
+ payments: BatchedPayment[];
2523
+ }): Promise<InitiatedBatch>;
2524
+ /**
2525
+ * Fetches all payments (transactions) for a given account within a date range.
2526
+ * Used for synchronizing account transaction history.
2527
+ * @param account - Bank account to fetch payments for
2528
+ * @param filter - Date range filter (dateFrom is required, dateTo is optional)
2529
+ * @returns Array of parsed bank payments (both incoming and outgoing)
2530
+ */
2531
+ abstract getAllAccountPayments({ account, filter, }: {
2532
+ account: AccountSelectType;
2533
+ filter: {
2534
+ dateFrom: Date;
2535
+ dateTo?: Date;
2536
+ };
2537
+ }): Promise<ParsedBankPayment[]>;
2538
+ /**
2539
+ * Retrieves current status of a payment from the bank.
2540
+ * @param paymentId - Bank's payment identifier
2541
+ * @returns Current payment status (PREPARED, COMPLETED, FAILED, etc.)
2542
+ */
2543
+ abstract getPaymentStatus({ paymentId, }: {
2544
+ paymentId: string;
2545
+ }): Promise<PaymentStatus>;
2546
+ /**
2547
+ * Retrieves current status of a batch from the bank.
2548
+ * @param batchId - Bank's batch identifier
2549
+ * @returns Batch status and raw API response for debugging
2550
+ */
2551
+ abstract getBatchStatus({ batchId, }: {
2552
+ batchId: string;
2553
+ }): Promise<{
2554
+ status: BatchStatus;
2555
+ apiResponse: object;
2556
+ }>;
2557
+ }
2558
+
2559
+ declare const batch: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2560
+ name: "batch";
2561
+ schema: undefined;
2562
+ columns: {
2563
+ batchPaymentInitiatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2564
+ name: "batch_payment_initiated_at";
2565
+ tableName: "batch";
2566
+ dataType: "date";
2567
+ columnType: "SQLiteTimestamp";
2568
+ data: Date;
2569
+ driverParam: number;
2570
+ notNull: false;
2571
+ hasDefault: false;
2572
+ isPrimaryKey: false;
2573
+ isAutoincrement: false;
2574
+ hasRuntimeDefault: false;
2575
+ enumValues: undefined;
2576
+ baseColumn: never;
2577
+ identity: undefined;
2578
+ generated: undefined;
2579
+ }, {}, {}>;
2580
+ authorizationUrls: drizzle_orm_sqlite_core.SQLiteColumn<{
2581
+ name: "authorization_urls";
2582
+ tableName: "batch";
2583
+ dataType: "json";
2584
+ columnType: "SQLiteTextJson";
2585
+ data: string[];
2586
+ driverParam: string;
2587
+ notNull: false;
2588
+ hasDefault: false;
2589
+ isPrimaryKey: false;
2590
+ isAutoincrement: false;
2591
+ hasRuntimeDefault: false;
2592
+ enumValues: undefined;
2593
+ baseColumn: never;
2594
+ identity: undefined;
2595
+ generated: undefined;
2596
+ }, {}, {
2597
+ $type: string[];
2598
+ }>;
2599
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
2600
+ name: "account_id";
2601
+ tableName: "batch";
2602
+ dataType: "string";
2603
+ columnType: "SQLiteText";
2604
+ data: string;
2605
+ driverParam: string;
2606
+ notNull: false;
2607
+ hasDefault: false;
2608
+ isPrimaryKey: false;
2609
+ isAutoincrement: false;
2610
+ hasRuntimeDefault: false;
2611
+ enumValues: [string, ...string[]];
2612
+ baseColumn: never;
2613
+ identity: undefined;
2614
+ generated: undefined;
2615
+ }, {}, {
2616
+ length: number | undefined;
2617
+ }>;
2618
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
2619
+ name: "status";
2620
+ tableName: "batch";
2621
+ dataType: "string";
2622
+ columnType: "SQLiteText";
2623
+ data: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2624
+ driverParam: string;
2625
+ notNull: false;
2626
+ hasDefault: false;
2627
+ isPrimaryKey: false;
2628
+ isAutoincrement: false;
2629
+ hasRuntimeDefault: false;
2630
+ enumValues: ["OPEN", "PROCESSING", "READY_TO_SIGN", "SIGNED", "SIGNATURE_FAILED", "FAILED"];
2631
+ baseColumn: never;
2632
+ identity: undefined;
2633
+ generated: undefined;
2634
+ }, {}, {
2635
+ length: number | undefined;
2636
+ $type: "FAILED" | "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "SIGNED" | "SIGNATURE_FAILED";
2637
+ }>;
2638
+ statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
2639
+ name: "status_reason";
2640
+ tableName: "batch";
2641
+ dataType: "string";
2642
+ columnType: "SQLiteText";
2643
+ data: string;
2644
+ driverParam: string;
2645
+ notNull: false;
2646
+ hasDefault: false;
2647
+ isPrimaryKey: false;
2648
+ isAutoincrement: false;
2649
+ hasRuntimeDefault: false;
2650
+ enumValues: [string, ...string[]];
2651
+ baseColumn: never;
2652
+ identity: undefined;
2653
+ generated: undefined;
2654
+ }, {}, {
2655
+ length: number | undefined;
2656
+ }>;
2657
+ statusResponse: drizzle_orm_sqlite_core.SQLiteColumn<{
2658
+ name: "status_response";
2659
+ tableName: "batch";
2660
+ dataType: "json";
2661
+ columnType: "SQLiteTextJson";
2662
+ data: object;
2663
+ driverParam: string;
2664
+ notNull: false;
2665
+ hasDefault: false;
2666
+ isPrimaryKey: false;
2667
+ isAutoincrement: false;
2668
+ hasRuntimeDefault: false;
2669
+ enumValues: undefined;
2670
+ baseColumn: never;
2671
+ identity: undefined;
2672
+ generated: undefined;
2673
+ }, {}, {
2674
+ $type: object;
2675
+ }>;
2676
+ payments: drizzle_orm_sqlite_core.SQLiteColumn<{
2677
+ name: "payments";
2678
+ tableName: "batch";
2679
+ dataType: "json";
2680
+ columnType: "SQLiteTextJson";
2681
+ data: BatchedPayment[];
2682
+ driverParam: string;
2683
+ notNull: true;
2684
+ hasDefault: false;
2685
+ isPrimaryKey: false;
2686
+ isAutoincrement: false;
2687
+ hasRuntimeDefault: false;
2688
+ enumValues: undefined;
2689
+ baseColumn: never;
2690
+ identity: undefined;
2691
+ generated: undefined;
2692
+ }, {}, {
2693
+ $type: BatchedPayment[];
2694
+ }>;
2695
+ metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
2696
+ name: "metadata";
2697
+ tableName: "batch";
2698
+ dataType: "json";
2699
+ columnType: "SQLiteTextJson";
2700
+ data: BatchMetadata;
2701
+ driverParam: string;
2702
+ notNull: false;
2703
+ hasDefault: false;
2704
+ isPrimaryKey: false;
2705
+ isAutoincrement: false;
2706
+ hasRuntimeDefault: false;
2707
+ enumValues: undefined;
2708
+ baseColumn: never;
2709
+ identity: undefined;
2710
+ generated: undefined;
2711
+ }, {}, {
2712
+ $type: BatchMetadata;
2713
+ }>;
2714
+ paymentType: drizzle_orm_sqlite_core.SQLiteColumn<{
2715
+ name: "payment_type";
2716
+ tableName: "batch";
2717
+ dataType: "string";
2718
+ columnType: "SQLiteText";
2719
+ data: "SEPA" | "SWIFT" | "DOMESTIC" | "UNKNOWN";
2720
+ driverParam: string;
2721
+ notNull: false;
2722
+ hasDefault: false;
2723
+ isPrimaryKey: false;
2724
+ isAutoincrement: false;
2725
+ hasRuntimeDefault: false;
2726
+ enumValues: ["SEPA", "SWIFT", "DOMESTIC", "UNKNOWN"];
2727
+ baseColumn: never;
2728
+ identity: undefined;
2729
+ generated: undefined;
2730
+ }, {}, {
2731
+ length: number | undefined;
2732
+ $type: "SEPA" | "SWIFT" | "DOMESTIC" | "UNKNOWN";
2733
+ }>;
2734
+ paymentsChecksum: drizzle_orm_sqlite_core.SQLiteColumn<{
2735
+ name: "payments_checksum";
2736
+ tableName: "batch";
2737
+ dataType: "string";
2738
+ columnType: "SQLiteText";
2739
+ data: string;
2740
+ driverParam: string;
2741
+ notNull: false;
2742
+ hasDefault: false;
2743
+ isPrimaryKey: false;
2744
+ isAutoincrement: false;
2745
+ hasRuntimeDefault: false;
2746
+ enumValues: [string, ...string[]];
2747
+ baseColumn: never;
2748
+ identity: undefined;
2749
+ generated: undefined;
2750
+ }, {}, {
2751
+ length: number | undefined;
2752
+ }>;
2753
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
2754
+ name: "id";
2755
+ tableName: "batch";
2756
+ dataType: "string";
2757
+ columnType: "SQLiteText";
2758
+ data: string;
2759
+ driverParam: string;
2760
+ notNull: true;
2761
+ hasDefault: false;
2762
+ isPrimaryKey: true;
2763
+ isAutoincrement: false;
2764
+ hasRuntimeDefault: false;
2765
+ enumValues: [string, ...string[]];
2766
+ baseColumn: never;
2767
+ identity: undefined;
2768
+ generated: undefined;
2769
+ }, {}, {
2770
+ length: number | undefined;
2771
+ }>;
2772
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2773
+ name: "created_at";
2774
+ tableName: "batch";
2775
+ dataType: "date";
2776
+ columnType: "SQLiteTimestamp";
2777
+ data: Date;
2778
+ driverParam: number;
2779
+ notNull: false;
2780
+ hasDefault: true;
2781
+ isPrimaryKey: false;
2782
+ isAutoincrement: false;
2783
+ hasRuntimeDefault: false;
2784
+ enumValues: undefined;
2785
+ baseColumn: never;
2786
+ identity: undefined;
2787
+ generated: undefined;
2788
+ }, {}, {}>;
2789
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2790
+ name: "created_by";
2791
+ tableName: "batch";
2792
+ dataType: "string";
2793
+ columnType: "SQLiteText";
2794
+ data: string;
2795
+ driverParam: string;
2796
+ notNull: false;
2797
+ hasDefault: true;
2798
+ isPrimaryKey: false;
2799
+ isAutoincrement: false;
2800
+ hasRuntimeDefault: false;
2801
+ enumValues: [string, ...string[]];
2802
+ baseColumn: never;
2803
+ identity: undefined;
2804
+ generated: undefined;
2805
+ }, {}, {
2806
+ length: number | undefined;
2807
+ }>;
2808
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2809
+ name: "updated_at";
2810
+ tableName: "batch";
2811
+ dataType: "date";
2812
+ columnType: "SQLiteTimestamp";
2813
+ data: Date;
2814
+ driverParam: number;
2815
+ notNull: false;
2816
+ hasDefault: true;
2817
+ isPrimaryKey: false;
2818
+ isAutoincrement: false;
2819
+ hasRuntimeDefault: false;
2820
+ enumValues: undefined;
2821
+ baseColumn: never;
2822
+ identity: undefined;
2823
+ generated: undefined;
2824
+ }, {}, {}>;
2825
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2826
+ name: "updated_by";
2827
+ tableName: "batch";
2828
+ dataType: "string";
2829
+ columnType: "SQLiteText";
2830
+ data: string;
2831
+ driverParam: string;
2832
+ notNull: false;
2833
+ hasDefault: true;
2834
+ isPrimaryKey: false;
2835
+ isAutoincrement: false;
2836
+ hasRuntimeDefault: false;
2837
+ enumValues: [string, ...string[]];
2838
+ baseColumn: never;
2839
+ identity: undefined;
2840
+ generated: undefined;
2841
+ }, {}, {
2842
+ length: number | undefined;
2843
+ }>;
2844
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
2845
+ name: "deleted_at";
2846
+ tableName: "batch";
2847
+ dataType: "date";
2848
+ columnType: "SQLiteTimestamp";
2849
+ data: Date;
2850
+ driverParam: number;
2851
+ notNull: false;
2852
+ hasDefault: true;
2853
+ isPrimaryKey: false;
2854
+ isAutoincrement: false;
2855
+ hasRuntimeDefault: false;
2856
+ enumValues: undefined;
2857
+ baseColumn: never;
2858
+ identity: undefined;
2859
+ generated: undefined;
2860
+ }, {}, {}>;
2861
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
2862
+ name: "deleted_by";
2863
+ tableName: "batch";
2864
+ dataType: "string";
2865
+ columnType: "SQLiteText";
2866
+ data: string;
2867
+ driverParam: string;
2868
+ notNull: false;
2869
+ hasDefault: true;
2870
+ isPrimaryKey: false;
2871
+ isAutoincrement: false;
2872
+ hasRuntimeDefault: false;
2873
+ enumValues: [string, ...string[]];
2874
+ baseColumn: never;
2875
+ identity: undefined;
2876
+ generated: undefined;
2877
+ }, {}, {
2878
+ length: number | undefined;
2879
+ }>;
2880
+ };
2881
+ dialect: "sqlite";
2882
+ }>;
2883
+
2884
+ declare const payment: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2885
+ name: "payment";
2886
+ schema: undefined;
2887
+ columns: {
2888
+ correlationId: drizzle_orm_sqlite_core.SQLiteColumn<{
2889
+ name: "correlation_id";
2890
+ tableName: "payment";
2891
+ dataType: "string";
2892
+ columnType: "SQLiteText";
2893
+ data: string;
2894
+ driverParam: string;
2895
+ notNull: true;
2896
+ hasDefault: false;
2897
+ isPrimaryKey: false;
2898
+ isAutoincrement: false;
2899
+ hasRuntimeDefault: false;
2900
+ enumValues: [string, ...string[]];
2901
+ baseColumn: never;
2902
+ identity: undefined;
2903
+ generated: undefined;
2904
+ }, {}, {
2905
+ length: number | undefined;
2906
+ }>;
2907
+ refId: drizzle_orm_sqlite_core.SQLiteColumn<{
2908
+ name: "ref_id";
2909
+ tableName: "payment";
2910
+ dataType: "string";
2911
+ columnType: "SQLiteText";
2912
+ data: string;
2913
+ driverParam: string;
2914
+ notNull: false;
2915
+ hasDefault: false;
2916
+ isPrimaryKey: false;
2917
+ isAutoincrement: false;
2918
+ hasRuntimeDefault: false;
2919
+ enumValues: [string, ...string[]];
2920
+ baseColumn: never;
2921
+ identity: undefined;
2922
+ generated: undefined;
2923
+ }, {}, {
2924
+ length: number | undefined;
2925
+ }>;
2926
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
2927
+ name: "bank_ref_id";
2928
+ tableName: "payment";
2929
+ dataType: "string";
2930
+ columnType: "SQLiteText";
2931
+ data: string;
2932
+ driverParam: string;
2933
+ notNull: true;
2934
+ hasDefault: false;
2935
+ isPrimaryKey: false;
2936
+ isAutoincrement: false;
2937
+ hasRuntimeDefault: false;
2938
+ enumValues: [string, ...string[]];
2939
+ baseColumn: never;
2940
+ identity: undefined;
2941
+ generated: undefined;
2942
+ }, {}, {
2943
+ length: number | undefined;
2944
+ }>;
2945
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
2946
+ name: "account_id";
2947
+ tableName: "payment";
2948
+ dataType: "string";
2949
+ columnType: "SQLiteText";
2950
+ data: string;
2951
+ driverParam: string;
2952
+ notNull: true;
2953
+ hasDefault: false;
2954
+ isPrimaryKey: false;
2955
+ isAutoincrement: false;
2956
+ hasRuntimeDefault: false;
2957
+ enumValues: [string, ...string[]];
2958
+ baseColumn: never;
2959
+ identity: undefined;
2960
+ generated: undefined;
2961
+ }, {}, {
2962
+ length: number | undefined;
2963
+ }>;
2964
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
2965
+ name: "connector_key";
2966
+ tableName: "payment";
2967
+ dataType: "string";
2968
+ columnType: "SQLiteText";
2969
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
2970
+ driverParam: string;
2971
+ notNull: true;
2972
+ hasDefault: false;
2973
+ isPrimaryKey: false;
2974
+ isAutoincrement: false;
2975
+ hasRuntimeDefault: false;
2976
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
2977
+ baseColumn: never;
2978
+ identity: undefined;
2979
+ generated: undefined;
2980
+ }, {}, {
2981
+ length: number | undefined;
2982
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
2983
+ }>;
2984
+ amount: drizzle_orm_sqlite_core.SQLiteColumn<{
2985
+ name: "amount";
2986
+ tableName: "payment";
2987
+ dataType: "number";
2988
+ columnType: "SQLiteReal";
2989
+ data: number;
2990
+ driverParam: number;
2991
+ notNull: true;
2992
+ hasDefault: false;
2993
+ isPrimaryKey: false;
2994
+ isAutoincrement: false;
2995
+ hasRuntimeDefault: false;
2996
+ enumValues: undefined;
2997
+ baseColumn: never;
2998
+ identity: undefined;
2999
+ generated: undefined;
3000
+ }, {}, {}>;
3001
+ direction: drizzle_orm_sqlite_core.SQLiteColumn<{
3002
+ name: "direction";
3003
+ tableName: "payment";
3004
+ dataType: "string";
3005
+ columnType: "SQLiteText";
3006
+ data: "INCOMING" | "OUTGOING";
3007
+ driverParam: string;
3008
+ notNull: true;
3009
+ hasDefault: false;
3010
+ isPrimaryKey: false;
3011
+ isAutoincrement: false;
3012
+ hasRuntimeDefault: false;
3013
+ enumValues: [string, ...string[]];
3014
+ baseColumn: never;
3015
+ identity: undefined;
3016
+ generated: undefined;
3017
+ }, {}, {
3018
+ length: number | undefined;
3019
+ $type: "INCOMING" | "OUTGOING";
3020
+ }>;
3021
+ paymentType: drizzle_orm_sqlite_core.SQLiteColumn<{
3022
+ name: "payment_type";
3023
+ tableName: "payment";
3024
+ dataType: "string";
3025
+ columnType: "SQLiteText";
3026
+ data: "SEPA" | "SWIFT" | "DOMESTIC" | "UNKNOWN";
3027
+ driverParam: string;
3028
+ notNull: true;
3029
+ hasDefault: false;
3030
+ isPrimaryKey: false;
3031
+ isAutoincrement: false;
3032
+ hasRuntimeDefault: false;
3033
+ enumValues: [string, ...string[]];
3034
+ baseColumn: never;
3035
+ identity: undefined;
3036
+ generated: undefined;
3037
+ }, {}, {
3038
+ length: number | undefined;
3039
+ $type: "SEPA" | "SWIFT" | "DOMESTIC" | "UNKNOWN";
3040
+ }>;
3041
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
3042
+ name: "currency";
3043
+ tableName: "payment";
3044
+ dataType: "string";
3045
+ columnType: "SQLiteText";
3046
+ 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";
3047
+ driverParam: string;
3048
+ notNull: true;
3049
+ hasDefault: false;
3050
+ isPrimaryKey: false;
3051
+ isAutoincrement: false;
3052
+ hasRuntimeDefault: false;
3053
+ enumValues: [string, ...string[]];
3054
+ baseColumn: never;
3055
+ identity: undefined;
3056
+ generated: undefined;
3057
+ }, {}, {
3058
+ length: number | undefined;
3059
+ $type: "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";
3060
+ }>;
3061
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
3062
+ name: "status";
3063
+ tableName: "payment";
3064
+ dataType: "string";
3065
+ columnType: "SQLiteText";
3066
+ data: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3067
+ driverParam: string;
3068
+ notNull: true;
3069
+ hasDefault: false;
3070
+ isPrimaryKey: false;
3071
+ isAutoincrement: false;
3072
+ hasRuntimeDefault: false;
3073
+ enumValues: [string, ...string[]];
3074
+ baseColumn: never;
3075
+ identity: undefined;
3076
+ generated: undefined;
3077
+ }, {}, {
3078
+ length: number | undefined;
3079
+ $type: "PREPARED" | "FAILED" | "PENDING" | "COMPLETED" | "CREATED";
3080
+ }>;
3081
+ statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
3082
+ name: "status_reason";
3083
+ tableName: "payment";
3084
+ dataType: "string";
3085
+ columnType: "SQLiteText";
3086
+ data: string;
3087
+ driverParam: string;
3088
+ notNull: false;
3089
+ hasDefault: false;
3090
+ isPrimaryKey: false;
3091
+ isAutoincrement: false;
3092
+ hasRuntimeDefault: false;
3093
+ enumValues: [string, ...string[]];
3094
+ baseColumn: never;
3095
+ identity: undefined;
3096
+ generated: undefined;
3097
+ }, {}, {
3098
+ length: number | undefined;
3099
+ }>;
3100
+ batchId: drizzle_orm_sqlite_core.SQLiteColumn<{
3101
+ name: "bank_execution_batch_id";
3102
+ tableName: "payment";
3103
+ dataType: "string";
3104
+ columnType: "SQLiteText";
3105
+ data: string;
3106
+ driverParam: string;
3107
+ notNull: false;
3108
+ hasDefault: false;
3109
+ isPrimaryKey: false;
3110
+ isAutoincrement: false;
3111
+ hasRuntimeDefault: false;
3112
+ enumValues: [string, ...string[]];
3113
+ baseColumn: never;
3114
+ identity: undefined;
3115
+ generated: undefined;
3116
+ }, {}, {
3117
+ length: number | undefined;
3118
+ }>;
3119
+ initiatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3120
+ name: "initiated_at";
3121
+ tableName: "payment";
3122
+ dataType: "date";
3123
+ columnType: "SQLiteTimestamp";
3124
+ data: Date;
3125
+ driverParam: number;
3126
+ notNull: false;
3127
+ hasDefault: false;
3128
+ isPrimaryKey: false;
3129
+ isAutoincrement: false;
3130
+ hasRuntimeDefault: false;
3131
+ enumValues: undefined;
3132
+ baseColumn: never;
3133
+ identity: undefined;
3134
+ generated: undefined;
3135
+ }, {}, {}>;
3136
+ vs: drizzle_orm_sqlite_core.SQLiteColumn<{
3137
+ name: "vs";
3138
+ tableName: "payment";
3139
+ dataType: "string";
3140
+ columnType: "SQLiteText";
3141
+ data: string;
3142
+ driverParam: string;
3143
+ notNull: false;
3144
+ hasDefault: false;
3145
+ isPrimaryKey: false;
3146
+ isAutoincrement: false;
3147
+ hasRuntimeDefault: false;
3148
+ enumValues: [string, ...string[]];
3149
+ baseColumn: never;
3150
+ identity: undefined;
3151
+ generated: undefined;
3152
+ }, {}, {
3153
+ length: number | undefined;
3154
+ }>;
3155
+ ss: drizzle_orm_sqlite_core.SQLiteColumn<{
3156
+ name: "ss";
3157
+ tableName: "payment";
3158
+ dataType: "string";
3159
+ columnType: "SQLiteText";
3160
+ data: string;
3161
+ driverParam: string;
3162
+ notNull: false;
3163
+ hasDefault: false;
3164
+ isPrimaryKey: false;
3165
+ isAutoincrement: false;
3166
+ hasRuntimeDefault: false;
3167
+ enumValues: [string, ...string[]];
3168
+ baseColumn: never;
3169
+ identity: undefined;
3170
+ generated: undefined;
3171
+ }, {}, {
3172
+ length: number | undefined;
3173
+ }>;
3174
+ ks: drizzle_orm_sqlite_core.SQLiteColumn<{
3175
+ name: "ks";
3176
+ tableName: "payment";
3177
+ dataType: "string";
3178
+ columnType: "SQLiteText";
3179
+ data: string;
3180
+ driverParam: string;
3181
+ notNull: false;
3182
+ hasDefault: false;
3183
+ isPrimaryKey: false;
3184
+ isAutoincrement: false;
3185
+ hasRuntimeDefault: false;
3186
+ enumValues: [string, ...string[]];
3187
+ baseColumn: never;
3188
+ identity: undefined;
3189
+ generated: undefined;
3190
+ }, {}, {
3191
+ length: number | undefined;
3192
+ }>;
3193
+ message: drizzle_orm_sqlite_core.SQLiteColumn<{
3194
+ name: "message";
3195
+ tableName: "payment";
3196
+ dataType: "string";
3197
+ columnType: "SQLiteText";
3198
+ data: string;
3199
+ driverParam: string;
3200
+ notNull: false;
3201
+ hasDefault: false;
3202
+ isPrimaryKey: false;
3203
+ isAutoincrement: false;
3204
+ hasRuntimeDefault: false;
3205
+ enumValues: [string, ...string[]];
3206
+ baseColumn: never;
3207
+ identity: undefined;
3208
+ generated: undefined;
3209
+ }, {}, {
3210
+ length: number | undefined;
3211
+ }>;
3212
+ chargeBearer: drizzle_orm_sqlite_core.SQLiteColumn<{
3213
+ name: "charge_bearer";
3214
+ tableName: "payment";
3215
+ dataType: "string";
3216
+ columnType: "SQLiteText";
3217
+ data: "SHA" | "OUR" | "BEN";
3218
+ driverParam: string;
3219
+ notNull: false;
3220
+ hasDefault: false;
3221
+ isPrimaryKey: false;
3222
+ isAutoincrement: false;
3223
+ hasRuntimeDefault: false;
3224
+ enumValues: ["SHA", "OUR", "BEN"];
3225
+ baseColumn: never;
3226
+ identity: undefined;
3227
+ generated: undefined;
3228
+ }, {}, {
3229
+ length: number | undefined;
3230
+ $type: "SHA" | "OUR" | "BEN";
3231
+ }>;
3232
+ instructionPriority: drizzle_orm_sqlite_core.SQLiteColumn<{
3233
+ name: "instruction_priority";
3234
+ tableName: "payment";
3235
+ dataType: "string";
3236
+ columnType: "SQLiteText";
3237
+ data: "NORM" | "HIGH" | "INST";
3238
+ driverParam: string;
3239
+ notNull: false;
3240
+ hasDefault: false;
3241
+ isPrimaryKey: false;
3242
+ isAutoincrement: false;
3243
+ hasRuntimeDefault: false;
3244
+ enumValues: ["NORM", "HIGH", "INST"];
3245
+ baseColumn: never;
3246
+ identity: undefined;
3247
+ generated: undefined;
3248
+ }, {}, {
3249
+ length: number | undefined;
3250
+ $type: "NORM" | "HIGH" | "INST";
3251
+ }>;
3252
+ processedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3253
+ name: "processed_at";
3254
+ tableName: "payment";
3255
+ dataType: "date";
3256
+ columnType: "SQLiteTimestamp";
3257
+ data: Date;
3258
+ driverParam: number;
3259
+ notNull: false;
3260
+ hasDefault: false;
3261
+ isPrimaryKey: false;
3262
+ isAutoincrement: false;
3263
+ hasRuntimeDefault: false;
3264
+ enumValues: undefined;
3265
+ baseColumn: never;
3266
+ identity: undefined;
3267
+ generated: undefined;
3268
+ }, {}, {}>;
3269
+ creditor: drizzle_orm_sqlite_core.SQLiteColumn<{
3270
+ name: "creditor";
3271
+ tableName: "payment";
3272
+ dataType: "json";
3273
+ columnType: "SQLiteTextJson";
3274
+ data: BankAccountMetadata;
3275
+ driverParam: string;
3276
+ notNull: true;
3277
+ hasDefault: false;
3278
+ isPrimaryKey: false;
3279
+ isAutoincrement: false;
3280
+ hasRuntimeDefault: false;
3281
+ enumValues: undefined;
3282
+ baseColumn: never;
3283
+ identity: undefined;
3284
+ generated: undefined;
3285
+ }, {}, {
3286
+ $type: BankAccountMetadata;
3287
+ }>;
3288
+ creditorIban: drizzle_orm_sqlite_core.SQLiteColumn<{
3289
+ name: "creditor_iban";
3290
+ tableName: "payment";
3291
+ dataType: "string";
3292
+ columnType: "SQLiteText";
3293
+ data: string;
3294
+ driverParam: string;
3295
+ notNull: false;
3296
+ hasDefault: false;
3297
+ isPrimaryKey: false;
3298
+ isAutoincrement: false;
3299
+ hasRuntimeDefault: false;
3300
+ enumValues: [string, ...string[]];
3301
+ baseColumn: never;
3302
+ identity: undefined;
3303
+ generated: undefined;
3304
+ }, {}, {
3305
+ length: number | undefined;
3306
+ }>;
3307
+ debtor: drizzle_orm_sqlite_core.SQLiteColumn<{
3308
+ name: "debtor";
3309
+ tableName: "payment";
3310
+ dataType: "json";
3311
+ columnType: "SQLiteTextJson";
3312
+ data: BankAccountMetadata;
3313
+ driverParam: string;
3314
+ notNull: true;
3315
+ hasDefault: false;
3316
+ isPrimaryKey: false;
3317
+ isAutoincrement: false;
3318
+ hasRuntimeDefault: false;
3319
+ enumValues: undefined;
3320
+ baseColumn: never;
3321
+ identity: undefined;
3322
+ generated: undefined;
3323
+ }, {}, {
3324
+ $type: BankAccountMetadata;
3325
+ }>;
3326
+ debtorIban: drizzle_orm_sqlite_core.SQLiteColumn<{
3327
+ name: "debtor_iban";
3328
+ tableName: "payment";
3329
+ dataType: "string";
3330
+ columnType: "SQLiteText";
3331
+ data: string;
3332
+ driverParam: string;
3333
+ notNull: false;
3334
+ hasDefault: false;
3335
+ isPrimaryKey: false;
3336
+ isAutoincrement: false;
3337
+ hasRuntimeDefault: false;
3338
+ enumValues: [string, ...string[]];
3339
+ baseColumn: never;
3340
+ identity: undefined;
3341
+ generated: undefined;
3342
+ }, {}, {
3343
+ length: number | undefined;
3344
+ }>;
3345
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
3346
+ name: "id";
3347
+ tableName: "payment";
3348
+ dataType: "string";
3349
+ columnType: "SQLiteText";
3350
+ data: string;
3351
+ driverParam: string;
3352
+ notNull: true;
3353
+ hasDefault: false;
3354
+ isPrimaryKey: true;
3355
+ isAutoincrement: false;
3356
+ hasRuntimeDefault: false;
3357
+ enumValues: [string, ...string[]];
3358
+ baseColumn: never;
3359
+ identity: undefined;
3360
+ generated: undefined;
3361
+ }, {}, {
3362
+ length: number | undefined;
3363
+ }>;
3364
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3365
+ name: "created_at";
3366
+ tableName: "payment";
3367
+ dataType: "date";
3368
+ columnType: "SQLiteTimestamp";
3369
+ data: Date;
3370
+ driverParam: number;
3371
+ notNull: false;
3372
+ hasDefault: true;
3373
+ isPrimaryKey: false;
3374
+ isAutoincrement: false;
3375
+ hasRuntimeDefault: false;
3376
+ enumValues: undefined;
3377
+ baseColumn: never;
3378
+ identity: undefined;
3379
+ generated: undefined;
3380
+ }, {}, {}>;
3381
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3382
+ name: "created_by";
3383
+ tableName: "payment";
3384
+ dataType: "string";
3385
+ columnType: "SQLiteText";
3386
+ data: string;
3387
+ driverParam: string;
3388
+ notNull: false;
3389
+ hasDefault: true;
3390
+ isPrimaryKey: false;
3391
+ isAutoincrement: false;
3392
+ hasRuntimeDefault: false;
3393
+ enumValues: [string, ...string[]];
3394
+ baseColumn: never;
3395
+ identity: undefined;
3396
+ generated: undefined;
3397
+ }, {}, {
3398
+ length: number | undefined;
3399
+ }>;
3400
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3401
+ name: "updated_at";
3402
+ tableName: "payment";
3403
+ dataType: "date";
3404
+ columnType: "SQLiteTimestamp";
3405
+ data: Date;
3406
+ driverParam: number;
3407
+ notNull: false;
3408
+ hasDefault: true;
3409
+ isPrimaryKey: false;
3410
+ isAutoincrement: false;
3411
+ hasRuntimeDefault: false;
3412
+ enumValues: undefined;
3413
+ baseColumn: never;
3414
+ identity: undefined;
3415
+ generated: undefined;
3416
+ }, {}, {}>;
3417
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3418
+ name: "updated_by";
3419
+ tableName: "payment";
3420
+ dataType: "string";
3421
+ columnType: "SQLiteText";
3422
+ data: string;
3423
+ driverParam: string;
3424
+ notNull: false;
3425
+ hasDefault: true;
3426
+ isPrimaryKey: false;
3427
+ isAutoincrement: false;
3428
+ hasRuntimeDefault: false;
3429
+ enumValues: [string, ...string[]];
3430
+ baseColumn: never;
3431
+ identity: undefined;
3432
+ generated: undefined;
3433
+ }, {}, {
3434
+ length: number | undefined;
3435
+ }>;
3436
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3437
+ name: "deleted_at";
3438
+ tableName: "payment";
3439
+ dataType: "date";
3440
+ columnType: "SQLiteTimestamp";
3441
+ data: Date;
3442
+ driverParam: number;
3443
+ notNull: false;
3444
+ hasDefault: true;
3445
+ isPrimaryKey: false;
3446
+ isAutoincrement: false;
3447
+ hasRuntimeDefault: false;
3448
+ enumValues: undefined;
3449
+ baseColumn: never;
3450
+ identity: undefined;
3451
+ generated: undefined;
3452
+ }, {}, {}>;
3453
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3454
+ name: "deleted_by";
3455
+ tableName: "payment";
3456
+ dataType: "string";
3457
+ columnType: "SQLiteText";
3458
+ data: string;
3459
+ driverParam: string;
3460
+ notNull: false;
3461
+ hasDefault: true;
3462
+ isPrimaryKey: false;
3463
+ isAutoincrement: false;
3464
+ hasRuntimeDefault: false;
3465
+ enumValues: [string, ...string[]];
3466
+ baseColumn: never;
3467
+ identity: undefined;
3468
+ generated: undefined;
3469
+ }, {}, {
3470
+ length: number | undefined;
3471
+ }>;
3472
+ };
3473
+ dialect: "sqlite";
3474
+ }>;
3475
+ declare const paymentRelations: drizzle_orm.Relations<"payment", {
3476
+ batch: drizzle_orm.One<"batch", false>;
3477
+ }>;
3478
+
3479
+ declare const ott: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3480
+ name: "ott";
3481
+ schema: undefined;
3482
+ columns: {
3483
+ oneTimeToken: drizzle_orm_sqlite_core.SQLiteColumn<{
3484
+ name: "one_time_token";
3485
+ tableName: "ott";
3486
+ dataType: "string";
3487
+ columnType: "SQLiteText";
3488
+ data: string;
3489
+ driverParam: string;
3490
+ notNull: true;
3491
+ hasDefault: false;
3492
+ isPrimaryKey: false;
3493
+ isAutoincrement: false;
3494
+ hasRuntimeDefault: false;
3495
+ enumValues: [string, ...string[]];
3496
+ baseColumn: never;
3497
+ identity: undefined;
3498
+ generated: undefined;
3499
+ }, {}, {
3500
+ length: number | undefined;
3501
+ }>;
3502
+ refId: drizzle_orm_sqlite_core.SQLiteColumn<{
3503
+ name: "ref_id";
3504
+ tableName: "ott";
3505
+ dataType: "string";
3506
+ columnType: "SQLiteText";
3507
+ data: string;
3508
+ driverParam: string;
3509
+ notNull: true;
3510
+ hasDefault: false;
3511
+ isPrimaryKey: false;
3512
+ isAutoincrement: false;
3513
+ hasRuntimeDefault: false;
3514
+ enumValues: [string, ...string[]];
3515
+ baseColumn: never;
3516
+ identity: undefined;
3517
+ generated: undefined;
3518
+ }, {}, {
3519
+ length: number | undefined;
3520
+ }>;
3521
+ tokenType: drizzle_orm_sqlite_core.SQLiteColumn<{
3522
+ name: "token_type";
3523
+ tableName: "ott";
3524
+ dataType: "string";
3525
+ columnType: "SQLiteText";
3526
+ data: "ACCOUNT_AUTHORIZATION";
3527
+ driverParam: string;
3528
+ notNull: true;
3529
+ hasDefault: false;
3530
+ isPrimaryKey: false;
3531
+ isAutoincrement: false;
3532
+ hasRuntimeDefault: false;
3533
+ enumValues: ["ACCOUNT_AUTHORIZATION"];
3534
+ baseColumn: never;
3535
+ identity: undefined;
3536
+ generated: undefined;
3537
+ }, {}, {
3538
+ length: number | undefined;
3539
+ $type: "ACCOUNT_AUTHORIZATION";
3540
+ }>;
3541
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3542
+ name: "expires_at";
3543
+ tableName: "ott";
3544
+ dataType: "date";
3545
+ columnType: "SQLiteTimestamp";
3546
+ data: Date;
3547
+ driverParam: number;
3548
+ notNull: true;
3549
+ hasDefault: false;
3550
+ isPrimaryKey: false;
3551
+ isAutoincrement: false;
3552
+ hasRuntimeDefault: false;
3553
+ enumValues: undefined;
3554
+ baseColumn: never;
3555
+ identity: undefined;
3556
+ generated: undefined;
3557
+ }, {}, {}>;
3558
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
3559
+ name: "id";
3560
+ tableName: "ott";
3561
+ dataType: "string";
3562
+ columnType: "SQLiteText";
3563
+ data: string;
3564
+ driverParam: string;
3565
+ notNull: true;
3566
+ hasDefault: false;
3567
+ isPrimaryKey: true;
3568
+ isAutoincrement: false;
3569
+ hasRuntimeDefault: false;
3570
+ enumValues: [string, ...string[]];
3571
+ baseColumn: never;
3572
+ identity: undefined;
3573
+ generated: undefined;
3574
+ }, {}, {
3575
+ length: number | undefined;
3576
+ }>;
3577
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3578
+ name: "created_at";
3579
+ tableName: "ott";
3580
+ dataType: "date";
3581
+ columnType: "SQLiteTimestamp";
3582
+ data: Date;
3583
+ driverParam: number;
3584
+ notNull: false;
3585
+ hasDefault: true;
3586
+ isPrimaryKey: false;
3587
+ isAutoincrement: false;
3588
+ hasRuntimeDefault: false;
3589
+ enumValues: undefined;
3590
+ baseColumn: never;
3591
+ identity: undefined;
3592
+ generated: undefined;
3593
+ }, {}, {}>;
3594
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3595
+ name: "created_by";
3596
+ tableName: "ott";
3597
+ dataType: "string";
3598
+ columnType: "SQLiteText";
3599
+ data: string;
3600
+ driverParam: string;
3601
+ notNull: false;
3602
+ hasDefault: true;
3603
+ isPrimaryKey: false;
3604
+ isAutoincrement: false;
3605
+ hasRuntimeDefault: false;
3606
+ enumValues: [string, ...string[]];
3607
+ baseColumn: never;
3608
+ identity: undefined;
3609
+ generated: undefined;
3610
+ }, {}, {
3611
+ length: number | undefined;
3612
+ }>;
3613
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3614
+ name: "updated_at";
3615
+ tableName: "ott";
3616
+ dataType: "date";
3617
+ columnType: "SQLiteTimestamp";
3618
+ data: Date;
3619
+ driverParam: number;
3620
+ notNull: false;
3621
+ hasDefault: true;
3622
+ isPrimaryKey: false;
3623
+ isAutoincrement: false;
3624
+ hasRuntimeDefault: false;
3625
+ enumValues: undefined;
3626
+ baseColumn: never;
3627
+ identity: undefined;
3628
+ generated: undefined;
3629
+ }, {}, {}>;
3630
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3631
+ name: "updated_by";
3632
+ tableName: "ott";
3633
+ dataType: "string";
3634
+ columnType: "SQLiteText";
3635
+ data: string;
3636
+ driverParam: string;
3637
+ notNull: false;
3638
+ hasDefault: true;
3639
+ isPrimaryKey: false;
3640
+ isAutoincrement: false;
3641
+ hasRuntimeDefault: false;
3642
+ enumValues: [string, ...string[]];
3643
+ baseColumn: never;
3644
+ identity: undefined;
3645
+ generated: undefined;
3646
+ }, {}, {
3647
+ length: number | undefined;
3648
+ }>;
3649
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3650
+ name: "deleted_at";
3651
+ tableName: "ott";
3652
+ dataType: "date";
3653
+ columnType: "SQLiteTimestamp";
3654
+ data: Date;
3655
+ driverParam: number;
3656
+ notNull: false;
3657
+ hasDefault: true;
3658
+ isPrimaryKey: false;
3659
+ isAutoincrement: false;
3660
+ hasRuntimeDefault: false;
3661
+ enumValues: undefined;
3662
+ baseColumn: never;
3663
+ identity: undefined;
3664
+ generated: undefined;
3665
+ }, {}, {}>;
3666
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
3667
+ name: "deleted_by";
3668
+ tableName: "ott";
3669
+ dataType: "string";
3670
+ columnType: "SQLiteText";
3671
+ data: string;
3672
+ driverParam: string;
3673
+ notNull: false;
3674
+ hasDefault: true;
3675
+ isPrimaryKey: false;
3676
+ isAutoincrement: false;
3677
+ hasRuntimeDefault: false;
3678
+ enumValues: [string, ...string[]];
3679
+ baseColumn: never;
3680
+ identity: undefined;
3681
+ generated: undefined;
3682
+ }, {}, {
3683
+ length: number | undefined;
3684
+ }>;
3685
+ };
3686
+ dialect: "sqlite";
3687
+ }>;
3688
+
3689
+ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3690
+ name: "account";
3691
+ schema: undefined;
3692
+ columns: {
3693
+ number: drizzle_orm_sqlite_core.SQLiteColumn<{
3694
+ name: "number";
3695
+ tableName: "account";
3696
+ dataType: "string";
3697
+ columnType: "SQLiteText";
3698
+ data: string;
3699
+ driverParam: string;
3700
+ notNull: true;
3701
+ hasDefault: false;
3702
+ isPrimaryKey: false;
3703
+ isAutoincrement: false;
3704
+ hasRuntimeDefault: false;
3705
+ enumValues: [string, ...string[]];
3706
+ baseColumn: never;
3707
+ identity: undefined;
3708
+ generated: undefined;
3709
+ }, {}, {
3710
+ length: number | undefined;
3711
+ }>;
3712
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
3713
+ name: "name";
3714
+ tableName: "account";
3715
+ dataType: "string";
3716
+ columnType: "SQLiteText";
3717
+ data: string;
3718
+ driverParam: string;
3719
+ notNull: false;
3720
+ hasDefault: false;
3721
+ isPrimaryKey: false;
3722
+ isAutoincrement: false;
3723
+ hasRuntimeDefault: false;
3724
+ enumValues: [string, ...string[]];
3725
+ baseColumn: never;
3726
+ identity: undefined;
3727
+ generated: undefined;
3728
+ }, {}, {
3729
+ length: number | undefined;
3730
+ }>;
3731
+ iban: drizzle_orm_sqlite_core.SQLiteColumn<{
3732
+ name: "iban";
3733
+ tableName: "account";
3734
+ dataType: "string";
3735
+ columnType: "SQLiteText";
3736
+ data: string;
3737
+ driverParam: string;
3738
+ notNull: true;
3739
+ hasDefault: false;
3740
+ isPrimaryKey: false;
3741
+ isAutoincrement: false;
3742
+ hasRuntimeDefault: false;
3743
+ enumValues: [string, ...string[]];
3744
+ baseColumn: never;
3745
+ identity: undefined;
3746
+ generated: undefined;
3747
+ }, {}, {
3748
+ length: number | undefined;
3749
+ }>;
3750
+ bankCode: drizzle_orm_sqlite_core.SQLiteColumn<{
3751
+ name: "bank_code";
3752
+ tableName: "account";
3753
+ dataType: "string";
3754
+ columnType: "SQLiteText";
3755
+ 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";
3756
+ driverParam: string;
3757
+ notNull: true;
3758
+ hasDefault: false;
3759
+ isPrimaryKey: false;
3760
+ isAutoincrement: false;
3761
+ hasRuntimeDefault: false;
3762
+ 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")[]];
3763
+ baseColumn: never;
3764
+ identity: undefined;
3765
+ generated: undefined;
3766
+ }, {}, {
3767
+ length: number | undefined;
3768
+ }>;
3769
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
3770
+ name: "connector_key";
3771
+ tableName: "account";
3772
+ dataType: "string";
3773
+ columnType: "SQLiteText";
3774
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
3775
+ driverParam: string;
3776
+ notNull: true;
3777
+ hasDefault: false;
3778
+ isPrimaryKey: false;
3779
+ isAutoincrement: false;
3780
+ hasRuntimeDefault: false;
3781
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
3782
+ baseColumn: never;
3783
+ identity: undefined;
3784
+ generated: undefined;
3785
+ }, {}, {
3786
+ length: number | undefined;
3787
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
3788
+ }>;
3789
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
3790
+ name: "status";
3791
+ tableName: "account";
3792
+ dataType: "string";
3793
+ columnType: "SQLiteText";
3794
+ data: "AUTHORIZED" | "DISABLED" | "EXPIRED";
3795
+ driverParam: string;
3796
+ notNull: true;
3797
+ hasDefault: false;
3798
+ isPrimaryKey: false;
3799
+ isAutoincrement: false;
3800
+ hasRuntimeDefault: false;
3801
+ enumValues: ["AUTHORIZED", "DISABLED", "EXPIRED"];
3802
+ baseColumn: never;
3803
+ identity: undefined;
3804
+ generated: undefined;
3805
+ }, {}, {
3806
+ length: number | undefined;
3807
+ $type: "AUTHORIZED" | "DISABLED" | "EXPIRED";
3808
+ }>;
3809
+ bankRefId: drizzle_orm_sqlite_core.SQLiteColumn<{
3810
+ name: "bank_ref_id";
3811
+ tableName: "account";
3812
+ dataType: "string";
3813
+ columnType: "SQLiteText";
3814
+ data: string;
3815
+ driverParam: string;
3816
+ notNull: true;
3817
+ hasDefault: false;
3818
+ isPrimaryKey: false;
3819
+ isAutoincrement: false;
3820
+ hasRuntimeDefault: false;
3821
+ enumValues: [string, ...string[]];
3822
+ baseColumn: never;
3823
+ identity: undefined;
3824
+ generated: undefined;
3825
+ }, {}, {
3826
+ length: number | undefined;
3827
+ }>;
3828
+ batchSizeLimit: drizzle_orm_sqlite_core.SQLiteColumn<{
3829
+ name: "batch_size_limit";
3830
+ tableName: "account";
3831
+ dataType: "number";
3832
+ columnType: "SQLiteInteger";
3833
+ data: number;
3834
+ driverParam: number;
3835
+ notNull: true;
3836
+ hasDefault: true;
3837
+ isPrimaryKey: false;
3838
+ isAutoincrement: false;
3839
+ hasRuntimeDefault: false;
3840
+ enumValues: undefined;
3841
+ baseColumn: never;
3842
+ identity: undefined;
3843
+ generated: undefined;
3844
+ }, {}, {}>;
3845
+ syncIntervalS: drizzle_orm_sqlite_core.SQLiteColumn<{
3846
+ name: "sync_interval_s";
3847
+ tableName: "account";
3848
+ dataType: "number";
3849
+ columnType: "SQLiteInteger";
3850
+ data: number;
3851
+ driverParam: number;
3852
+ notNull: true;
3853
+ hasDefault: true;
3854
+ isPrimaryKey: false;
3855
+ isAutoincrement: false;
3856
+ hasRuntimeDefault: false;
3857
+ enumValues: undefined;
3858
+ baseColumn: never;
3859
+ identity: undefined;
3860
+ generated: undefined;
3861
+ }, {}, {}>;
3862
+ lastSyncAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3863
+ name: "last_sync_at";
3864
+ tableName: "account";
3865
+ dataType: "date";
3866
+ columnType: "SQLiteTimestamp";
3867
+ data: Date;
3868
+ driverParam: number;
3869
+ notNull: false;
3870
+ hasDefault: false;
3871
+ isPrimaryKey: false;
3872
+ isAutoincrement: false;
3873
+ hasRuntimeDefault: false;
3874
+ enumValues: undefined;
3875
+ baseColumn: never;
3876
+ identity: undefined;
3877
+ generated: undefined;
3878
+ }, {}, {}>;
3879
+ lastSyncMetadata: drizzle_orm_sqlite_core.SQLiteColumn<{
3880
+ name: "last_sync_metadata";
3881
+ tableName: "account";
3882
+ dataType: "json";
3883
+ columnType: "SQLiteTextJson";
3884
+ data: LastSyncMetadata;
3885
+ driverParam: string;
3886
+ notNull: false;
3887
+ hasDefault: false;
3888
+ isPrimaryKey: false;
3889
+ isAutoincrement: false;
3890
+ hasRuntimeDefault: false;
3891
+ enumValues: undefined;
3892
+ baseColumn: never;
3893
+ identity: undefined;
3894
+ generated: undefined;
3895
+ }, {}, {
3896
+ $type: LastSyncMetadata;
3897
+ }>;
3898
+ holderName: drizzle_orm_sqlite_core.SQLiteColumn<{
3899
+ name: "holder_name";
3900
+ tableName: "account";
3901
+ dataType: "string";
3902
+ columnType: "SQLiteText";
3903
+ data: string;
3904
+ driverParam: string;
3905
+ notNull: true;
3906
+ hasDefault: false;
3907
+ isPrimaryKey: false;
3908
+ isAutoincrement: false;
3909
+ hasRuntimeDefault: false;
3910
+ enumValues: [string, ...string[]];
3911
+ baseColumn: never;
3912
+ identity: undefined;
3913
+ generated: undefined;
3914
+ }, {}, {
3915
+ length: number | undefined;
3916
+ }>;
3917
+ address: drizzle_orm_sqlite_core.SQLiteColumn<{
3918
+ name: "address";
3919
+ tableName: "account";
3920
+ dataType: "string";
3921
+ columnType: "SQLiteText";
3922
+ data: string;
3923
+ driverParam: string;
3924
+ notNull: false;
3925
+ hasDefault: false;
3926
+ isPrimaryKey: false;
3927
+ isAutoincrement: false;
3928
+ hasRuntimeDefault: false;
3929
+ enumValues: [string, ...string[]];
3930
+ baseColumn: never;
3931
+ identity: undefined;
3932
+ generated: undefined;
3933
+ }, {}, {
3934
+ length: number | undefined;
3935
+ }>;
3936
+ swiftBic: drizzle_orm_sqlite_core.SQLiteColumn<{
3937
+ name: "swift_bic";
3938
+ tableName: "account";
3939
+ dataType: "string";
3940
+ columnType: "SQLiteText";
3941
+ data: string;
3942
+ driverParam: string;
3943
+ notNull: false;
3944
+ hasDefault: false;
3945
+ isPrimaryKey: false;
3946
+ isAutoincrement: false;
3947
+ hasRuntimeDefault: false;
3948
+ enumValues: [string, ...string[]];
3949
+ baseColumn: never;
3950
+ identity: undefined;
3951
+ generated: undefined;
3952
+ }, {}, {
3953
+ length: number | undefined;
3954
+ }>;
3955
+ bicCor: drizzle_orm_sqlite_core.SQLiteColumn<{
3956
+ name: "bic_cor";
3957
+ tableName: "account";
3958
+ dataType: "string";
3959
+ columnType: "SQLiteText";
3960
+ data: string;
3961
+ driverParam: string;
3962
+ notNull: false;
3963
+ hasDefault: false;
3964
+ isPrimaryKey: false;
3965
+ isAutoincrement: false;
3966
+ hasRuntimeDefault: false;
3967
+ enumValues: [string, ...string[]];
3968
+ baseColumn: never;
3969
+ identity: undefined;
3970
+ generated: undefined;
3971
+ }, {}, {
3972
+ length: number | undefined;
3973
+ }>;
3974
+ currency: drizzle_orm_sqlite_core.SQLiteColumn<{
3975
+ name: "currency";
3976
+ tableName: "account";
3977
+ dataType: "string";
3978
+ columnType: "SQLiteText";
3979
+ 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";
3980
+ driverParam: string;
3981
+ notNull: true;
3982
+ hasDefault: false;
3983
+ isPrimaryKey: false;
3984
+ isAutoincrement: false;
3985
+ hasRuntimeDefault: false;
3986
+ 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")[]];
3987
+ baseColumn: never;
3988
+ identity: undefined;
3989
+ generated: undefined;
3990
+ }, {}, {
3991
+ length: number | undefined;
3992
+ }>;
3993
+ countryCode: drizzle_orm_sqlite_core.SQLiteColumn<{
3994
+ name: "country_code";
3995
+ tableName: "account";
3996
+ dataType: "string";
3997
+ columnType: "SQLiteText";
3998
+ data: "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";
3999
+ driverParam: string;
4000
+ notNull: true;
4001
+ hasDefault: false;
4002
+ isPrimaryKey: false;
4003
+ isAutoincrement: false;
4004
+ hasRuntimeDefault: false;
4005
+ enumValues: ["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", ...("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")[]];
4006
+ baseColumn: never;
4007
+ identity: undefined;
4008
+ generated: undefined;
4009
+ }, {}, {
4010
+ length: number | undefined;
4011
+ }>;
4012
+ routingNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
4013
+ name: "routing_number";
4014
+ tableName: "account";
4015
+ dataType: "string";
4016
+ columnType: "SQLiteText";
4017
+ data: string;
4018
+ driverParam: string;
4019
+ notNull: false;
4020
+ hasDefault: false;
4021
+ isPrimaryKey: false;
4022
+ isAutoincrement: false;
4023
+ hasRuntimeDefault: false;
4024
+ enumValues: [string, ...string[]];
4025
+ baseColumn: never;
4026
+ identity: undefined;
4027
+ generated: undefined;
4028
+ }, {}, {
4029
+ length: number | undefined;
4030
+ }>;
4031
+ sortCode: drizzle_orm_sqlite_core.SQLiteColumn<{
4032
+ name: "sort_code";
4033
+ tableName: "account";
4034
+ dataType: "string";
4035
+ columnType: "SQLiteText";
4036
+ data: string;
4037
+ driverParam: string;
4038
+ notNull: false;
4039
+ hasDefault: false;
4040
+ isPrimaryKey: false;
4041
+ isAutoincrement: false;
4042
+ hasRuntimeDefault: false;
4043
+ enumValues: [string, ...string[]];
4044
+ baseColumn: never;
4045
+ identity: undefined;
4046
+ generated: undefined;
4047
+ }, {}, {
4048
+ length: number | undefined;
4049
+ }>;
4050
+ clabe: drizzle_orm_sqlite_core.SQLiteColumn<{
4051
+ name: "clabe";
4052
+ tableName: "account";
4053
+ dataType: "string";
4054
+ columnType: "SQLiteText";
4055
+ data: string;
4056
+ driverParam: string;
4057
+ notNull: false;
4058
+ hasDefault: false;
4059
+ isPrimaryKey: false;
4060
+ isAutoincrement: false;
4061
+ hasRuntimeDefault: false;
4062
+ enumValues: [string, ...string[]];
4063
+ baseColumn: never;
4064
+ identity: undefined;
4065
+ generated: undefined;
4066
+ }, {}, {
4067
+ length: number | undefined;
4068
+ }>;
4069
+ bsb: drizzle_orm_sqlite_core.SQLiteColumn<{
4070
+ name: "bsb";
4071
+ tableName: "account";
4072
+ dataType: "string";
4073
+ columnType: "SQLiteText";
4074
+ data: string;
4075
+ driverParam: string;
4076
+ notNull: false;
4077
+ hasDefault: false;
4078
+ isPrimaryKey: false;
4079
+ isAutoincrement: false;
4080
+ hasRuntimeDefault: false;
4081
+ enumValues: [string, ...string[]];
4082
+ baseColumn: never;
4083
+ identity: undefined;
4084
+ generated: undefined;
4085
+ }, {}, {
4086
+ length: number | undefined;
4087
+ }>;
4088
+ brBankNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
4089
+ name: "br_bank_number";
4090
+ tableName: "account";
4091
+ dataType: "string";
4092
+ columnType: "SQLiteText";
4093
+ data: string;
4094
+ driverParam: string;
4095
+ notNull: false;
4096
+ hasDefault: false;
4097
+ isPrimaryKey: false;
4098
+ isAutoincrement: false;
4099
+ hasRuntimeDefault: false;
4100
+ enumValues: [string, ...string[]];
4101
+ baseColumn: never;
4102
+ identity: undefined;
4103
+ generated: undefined;
4104
+ }, {}, {
4105
+ length: number | undefined;
4106
+ }>;
4107
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
4108
+ name: "id";
4109
+ tableName: "account";
4110
+ dataType: "string";
4111
+ columnType: "SQLiteText";
4112
+ data: string;
4113
+ driverParam: string;
4114
+ notNull: true;
4115
+ hasDefault: false;
4116
+ isPrimaryKey: true;
4117
+ isAutoincrement: false;
4118
+ hasRuntimeDefault: false;
4119
+ enumValues: [string, ...string[]];
4120
+ baseColumn: never;
4121
+ identity: undefined;
4122
+ generated: undefined;
4123
+ }, {}, {
4124
+ length: number | undefined;
4125
+ }>;
4126
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4127
+ name: "created_at";
4128
+ tableName: "account";
4129
+ dataType: "date";
4130
+ columnType: "SQLiteTimestamp";
4131
+ data: Date;
4132
+ driverParam: number;
4133
+ notNull: false;
4134
+ hasDefault: true;
4135
+ isPrimaryKey: false;
4136
+ isAutoincrement: false;
4137
+ hasRuntimeDefault: false;
4138
+ enumValues: undefined;
4139
+ baseColumn: never;
4140
+ identity: undefined;
4141
+ generated: undefined;
4142
+ }, {}, {}>;
4143
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4144
+ name: "created_by";
4145
+ tableName: "account";
4146
+ dataType: "string";
4147
+ columnType: "SQLiteText";
4148
+ data: string;
4149
+ driverParam: string;
4150
+ notNull: false;
4151
+ hasDefault: true;
4152
+ isPrimaryKey: false;
4153
+ isAutoincrement: false;
4154
+ hasRuntimeDefault: false;
4155
+ enumValues: [string, ...string[]];
4156
+ baseColumn: never;
4157
+ identity: undefined;
4158
+ generated: undefined;
4159
+ }, {}, {
4160
+ length: number | undefined;
4161
+ }>;
4162
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4163
+ name: "updated_at";
4164
+ tableName: "account";
4165
+ dataType: "date";
4166
+ columnType: "SQLiteTimestamp";
4167
+ data: Date;
4168
+ driverParam: number;
4169
+ notNull: false;
4170
+ hasDefault: true;
4171
+ isPrimaryKey: false;
4172
+ isAutoincrement: false;
4173
+ hasRuntimeDefault: false;
4174
+ enumValues: undefined;
4175
+ baseColumn: never;
4176
+ identity: undefined;
4177
+ generated: undefined;
4178
+ }, {}, {}>;
4179
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4180
+ name: "updated_by";
4181
+ tableName: "account";
4182
+ dataType: "string";
4183
+ columnType: "SQLiteText";
4184
+ data: string;
4185
+ driverParam: string;
4186
+ notNull: false;
4187
+ hasDefault: true;
4188
+ isPrimaryKey: false;
4189
+ isAutoincrement: false;
4190
+ hasRuntimeDefault: false;
4191
+ enumValues: [string, ...string[]];
4192
+ baseColumn: never;
4193
+ identity: undefined;
4194
+ generated: undefined;
4195
+ }, {}, {
4196
+ length: number | undefined;
4197
+ }>;
4198
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4199
+ name: "deleted_at";
4200
+ tableName: "account";
4201
+ dataType: "date";
4202
+ columnType: "SQLiteTimestamp";
4203
+ data: Date;
4204
+ driverParam: number;
4205
+ notNull: false;
4206
+ hasDefault: true;
4207
+ isPrimaryKey: false;
4208
+ isAutoincrement: false;
4209
+ hasRuntimeDefault: false;
4210
+ enumValues: undefined;
4211
+ baseColumn: never;
4212
+ identity: undefined;
4213
+ generated: undefined;
4214
+ }, {}, {}>;
4215
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4216
+ name: "deleted_by";
4217
+ tableName: "account";
4218
+ dataType: "string";
4219
+ columnType: "SQLiteText";
4220
+ data: string;
4221
+ driverParam: string;
4222
+ notNull: false;
4223
+ hasDefault: true;
4224
+ isPrimaryKey: false;
4225
+ isAutoincrement: false;
4226
+ hasRuntimeDefault: false;
4227
+ enumValues: [string, ...string[]];
4228
+ baseColumn: never;
4229
+ identity: undefined;
4230
+ generated: undefined;
4231
+ }, {}, {
4232
+ length: number | undefined;
4233
+ }>;
4234
+ };
4235
+ dialect: "sqlite";
4236
+ }>;
4237
+
4238
+ declare const accountCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4239
+ name: "account_credentials";
4240
+ schema: undefined;
4241
+ columns: {
4242
+ accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
4243
+ name: "account_id";
4244
+ tableName: "account_credentials";
4245
+ dataType: "string";
4246
+ columnType: "SQLiteText";
4247
+ data: string;
4248
+ driverParam: string;
4249
+ notNull: true;
4250
+ hasDefault: false;
4251
+ isPrimaryKey: false;
4252
+ isAutoincrement: false;
4253
+ hasRuntimeDefault: false;
4254
+ enumValues: [string, ...string[]];
4255
+ baseColumn: never;
4256
+ identity: undefined;
4257
+ generated: undefined;
4258
+ }, {}, {
4259
+ length: number | undefined;
4260
+ }>;
4261
+ connectorKey: drizzle_orm_sqlite_core.SQLiteColumn<{
4262
+ name: "connector_key";
4263
+ tableName: "account_credentials";
4264
+ dataType: "string";
4265
+ columnType: "SQLiteText";
4266
+ data: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
4267
+ driverParam: string;
4268
+ notNull: true;
4269
+ hasDefault: false;
4270
+ isPrimaryKey: false;
4271
+ isAutoincrement: false;
4272
+ hasRuntimeDefault: false;
4273
+ enumValues: ["ERSTE", "FINBRICKS", "MOCK", "CREDITAS", "MOCK_COBS", "FIO", "MONETA", "DBU", "CSAS", "AIRBANK"];
4274
+ baseColumn: never;
4275
+ identity: undefined;
4276
+ generated: undefined;
4277
+ }, {}, {
4278
+ length: number | undefined;
4279
+ $type: "ERSTE" | "FINBRICKS" | "MOCK" | "CREDITAS" | "MOCK_COBS" | "FIO" | "MONETA" | "DBU" | "CSAS" | "AIRBANK";
4280
+ }>;
4281
+ type: drizzle_orm_sqlite_core.SQLiteColumn<{
4282
+ name: "type";
4283
+ tableName: "account_credentials";
4284
+ dataType: "string";
4285
+ columnType: "SQLiteText";
4286
+ data: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
4287
+ driverParam: string;
4288
+ notNull: true;
4289
+ hasDefault: false;
4290
+ isPrimaryKey: false;
4291
+ isAutoincrement: false;
4292
+ hasRuntimeDefault: false;
4293
+ enumValues: ["AUTH_TOKEN", "REFRESH_TOKEN", "CLIENT_ID", "API_KEY"];
4294
+ baseColumn: never;
4295
+ identity: undefined;
4296
+ generated: undefined;
4297
+ }, {}, {
4298
+ length: number | undefined;
4299
+ $type: "AUTH_TOKEN" | "REFRESH_TOKEN" | "CLIENT_ID" | "API_KEY";
4300
+ }>;
4301
+ value: drizzle_orm_sqlite_core.SQLiteColumn<{
4302
+ name: "value";
4303
+ tableName: "account_credentials";
4304
+ dataType: "string";
4305
+ columnType: "SQLiteText";
4306
+ data: string;
4307
+ driverParam: string;
4308
+ notNull: true;
4309
+ hasDefault: false;
4310
+ isPrimaryKey: false;
4311
+ isAutoincrement: false;
4312
+ hasRuntimeDefault: false;
4313
+ enumValues: [string, ...string[]];
4314
+ baseColumn: never;
4315
+ identity: undefined;
4316
+ generated: undefined;
4317
+ }, {}, {
4318
+ length: number | undefined;
4319
+ }>;
4320
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4321
+ name: "expires_at";
4322
+ tableName: "account_credentials";
4323
+ dataType: "date";
4324
+ columnType: "SQLiteTimestamp";
4325
+ data: Date;
4326
+ driverParam: number;
4327
+ notNull: true;
4328
+ hasDefault: false;
4329
+ isPrimaryKey: false;
4330
+ isAutoincrement: false;
4331
+ hasRuntimeDefault: false;
4332
+ enumValues: undefined;
4333
+ baseColumn: never;
4334
+ identity: undefined;
4335
+ generated: undefined;
4336
+ }, {}, {}>;
4337
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
4338
+ name: "id";
4339
+ tableName: "account_credentials";
4340
+ dataType: "string";
4341
+ columnType: "SQLiteText";
4342
+ data: string;
4343
+ driverParam: string;
4344
+ notNull: true;
4345
+ hasDefault: false;
4346
+ isPrimaryKey: true;
4347
+ isAutoincrement: false;
4348
+ hasRuntimeDefault: false;
4349
+ enumValues: [string, ...string[]];
4350
+ baseColumn: never;
4351
+ identity: undefined;
4352
+ generated: undefined;
4353
+ }, {}, {
4354
+ length: number | undefined;
4355
+ }>;
4356
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4357
+ name: "created_at";
4358
+ tableName: "account_credentials";
4359
+ dataType: "date";
4360
+ columnType: "SQLiteTimestamp";
4361
+ data: Date;
4362
+ driverParam: number;
4363
+ notNull: false;
4364
+ hasDefault: true;
4365
+ isPrimaryKey: false;
4366
+ isAutoincrement: false;
4367
+ hasRuntimeDefault: false;
4368
+ enumValues: undefined;
4369
+ baseColumn: never;
4370
+ identity: undefined;
4371
+ generated: undefined;
4372
+ }, {}, {}>;
4373
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4374
+ name: "created_by";
4375
+ tableName: "account_credentials";
4376
+ dataType: "string";
4377
+ columnType: "SQLiteText";
4378
+ data: string;
4379
+ driverParam: string;
4380
+ notNull: false;
4381
+ hasDefault: true;
4382
+ isPrimaryKey: false;
4383
+ isAutoincrement: false;
4384
+ hasRuntimeDefault: false;
4385
+ enumValues: [string, ...string[]];
4386
+ baseColumn: never;
4387
+ identity: undefined;
4388
+ generated: undefined;
4389
+ }, {}, {
4390
+ length: number | undefined;
4391
+ }>;
4392
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4393
+ name: "updated_at";
4394
+ tableName: "account_credentials";
4395
+ dataType: "date";
4396
+ columnType: "SQLiteTimestamp";
4397
+ data: Date;
4398
+ driverParam: number;
4399
+ notNull: false;
4400
+ hasDefault: true;
4401
+ isPrimaryKey: false;
4402
+ isAutoincrement: false;
4403
+ hasRuntimeDefault: false;
4404
+ enumValues: undefined;
4405
+ baseColumn: never;
4406
+ identity: undefined;
4407
+ generated: undefined;
4408
+ }, {}, {}>;
4409
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4410
+ name: "updated_by";
4411
+ tableName: "account_credentials";
4412
+ dataType: "string";
4413
+ columnType: "SQLiteText";
4414
+ data: string;
4415
+ driverParam: string;
4416
+ notNull: false;
4417
+ hasDefault: true;
4418
+ isPrimaryKey: false;
4419
+ isAutoincrement: false;
4420
+ hasRuntimeDefault: false;
4421
+ enumValues: [string, ...string[]];
4422
+ baseColumn: never;
4423
+ identity: undefined;
4424
+ generated: undefined;
4425
+ }, {}, {
4426
+ length: number | undefined;
4427
+ }>;
4428
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4429
+ name: "deleted_at";
4430
+ tableName: "account_credentials";
4431
+ dataType: "date";
4432
+ columnType: "SQLiteTimestamp";
4433
+ data: Date;
4434
+ driverParam: number;
4435
+ notNull: false;
4436
+ hasDefault: true;
4437
+ isPrimaryKey: false;
4438
+ isAutoincrement: false;
4439
+ hasRuntimeDefault: false;
4440
+ enumValues: undefined;
4441
+ baseColumn: never;
4442
+ identity: undefined;
4443
+ generated: undefined;
4444
+ }, {}, {}>;
4445
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
4446
+ name: "deleted_by";
4447
+ tableName: "account_credentials";
4448
+ dataType: "string";
4449
+ columnType: "SQLiteText";
4450
+ data: string;
4451
+ driverParam: string;
4452
+ notNull: false;
4453
+ hasDefault: true;
4454
+ isPrimaryKey: false;
4455
+ isAutoincrement: false;
4456
+ hasRuntimeDefault: false;
4457
+ enumValues: [string, ...string[]];
4458
+ baseColumn: never;
4459
+ identity: undefined;
4460
+ generated: undefined;
4461
+ }, {}, {
4462
+ length: number | undefined;
4463
+ }>;
4464
+ };
4465
+ dialect: "sqlite";
4466
+ }>;
4467
+
4468
+ declare const schema_account: typeof account;
4469
+ declare const schema_accountCredentials: typeof accountCredentials;
4470
+ declare const schema_batch: typeof batch;
4471
+ declare const schema_ott: typeof ott;
4472
+ declare const schema_payment: typeof payment;
4473
+ declare const schema_paymentRelations: typeof paymentRelations;
4474
+ declare namespace schema {
4475
+ export {
4476
+ schema_account as account,
4477
+ schema_accountCredentials as accountCredentials,
4478
+ schema_batch as batch,
4479
+ schema_ott as ott,
4480
+ schema_payment as payment,
4481
+ schema_paymentRelations as paymentRelations,
4482
+ };
4483
+ }
4484
+
4485
+ declare const tables: typeof schema;
4486
+
4487
+ /**
4488
+ * Payment lifecycle types
4489
+ *
4490
+ * This file defines explicit types for each stage of payment processing.
4491
+ * Each type represents a specific phase in the payment journey from API input to bank completion.
4492
+ *
4493
+ * Lifecycle flow:
4494
+ * 1. IncomingPayment - Initial payment from API (status: CREATED, no account/connector/bankRef)
4495
+ * 2. AccountAssignedPayment - Payment assigned to specific account (status: CREATED, has account/connector)
4496
+ * 3. BatchedPayment - Payment stored in batch (same as AccountAssignedPayment but semantically in batch)
4497
+ * 4. PreparedPayment - Payment prepared and sent to bank, waiting for authorization (status: PREPARED, may have bankRefId)
4498
+ * 5. CompletedPayment - Payment fully processed (status: COMPLETED/PENDING/FAILED, has bankRefId)
4499
+ */
4500
+
4501
+ /**
4502
+ * Stage 1: Incoming Payment
4503
+ *
4504
+ * Initial payment received from API via SendPaymentInput.
4505
+ * Missing: accountId, connectorKey, bankRefId (not yet assigned to account or sent to bank)
4506
+ * Status: Always 'CREATED'
4507
+ *
4508
+ * Used in: addPaymentsToBatch after mapping from SendPaymentInput
4509
+ */
4510
+ type IncomingPayment = Omit<PaymentInsertType, 'accountId' | 'connectorKey' | 'bankRefId' | 'status'> & {
4511
+ status: 'CREATED';
4512
+ sendAsSinglePayment?: boolean;
4513
+ };
4514
+ /**
4515
+ * Stage 2: Account Assigned Payment
4516
+ *
4517
+ * Payment that has been matched to a specific bank account and connector.
4518
+ * Missing: bankRefId (not yet sent to bank)
4519
+ * Status: Still 'CREATED'
4520
+ *
4521
+ * Used in: addPaymentsToBatch after filtering and assigning account
4522
+ */
4523
+ type AccountAssignedPayment = Omit<PaymentInsertType, 'bankRefId' | 'status'> & {
4524
+ status: 'CREATED';
4525
+ accountId: string;
4526
+ connectorKey: ConnectorKey;
4527
+ sendAsSinglePayment?: boolean;
4528
+ };
4529
+ /**
4530
+ * Stage 3: Batched Payment
4531
+ *
4532
+ * Payment stored in a batch, ready for processing.
4533
+ * Semantically same as AccountAssignedPayment but stored in batch.payments[]
4534
+ * Missing: bankRefId (batch not yet processed)
4535
+ * Status: Still 'CREATED'
4536
+ *
4537
+ * Used in: Batch.payments array in database
4538
+ * Note: This is the type stored in batch.payments JSON field
4539
+ */
4540
+ type BatchedPayment = Omit<PaymentInsertType, 'bankRefId' | 'status'> & {
4541
+ status: 'CREATED';
4542
+ accountId: string;
4543
+ connectorKey: ConnectorKey;
4544
+ sendAsSinglePayment?: boolean;
4545
+ };
4546
+ /**
4547
+ * Stage 4: Prepared Payment
4548
+ *
4549
+ * Payment prepared and sent to bank, waiting for authorization.
4550
+ * May have bankRefId if connector assigns it during batch initiation.
4551
+ * Status: 'PREPARED'
4552
+ *
4553
+ * Used in: BankProcessBatch workflow after connector.initiateBatch()
4554
+ */
4555
+ type PreparedPayment = Omit<PaymentInsertType, 'status' | 'bankRefId'> & {
4556
+ status: 'PREPARED';
4557
+ bankRefId?: string;
4558
+ };
4559
+ /**
4560
+ * Stage 5: Completed Payment
4561
+ *
4562
+ * Payment fully processed by bank.
4563
+ * Always has bankRefId from bank.
4564
+ * Status: 'COMPLETED', 'PENDING', or 'FAILED'
4565
+ *
4566
+ * Used in: Final state after bank processing
4567
+ */
4568
+ type CompletedPayment = PaymentInsertType & {
4569
+ status: 'COMPLETED' | 'PENDING' | 'FAILED';
4570
+ bankRefId: string;
4571
+ };
4572
+ /**
4573
+ * Union type of all payment lifecycle stages
4574
+ */
4575
+ type PaymentLifecycle = IncomingPayment | AccountAssignedPayment | BatchedPayment | PreparedPayment | CompletedPayment;
4576
+ /**
4577
+ * Type guard to check if payment has account assigned
4578
+ */
4579
+ declare function hasPaymentAccountAssigned(payment: IncomingPayment | AccountAssignedPayment): payment is AccountAssignedPayment;
4580
+ /**
4581
+ * Type guard to check if payment is prepared
4582
+ */
4583
+ declare function isPaymentPrepared(payment: PaymentLifecycle): payment is PreparedPayment;
4584
+ /**
4585
+ * Type guard to check if payment is completed
4586
+ */
4587
+ declare function isPaymentCompleted(payment: PaymentLifecycle): payment is CompletedPayment;
4588
+
4589
+ interface PaymentSelectType extends InferSelectModel<typeof tables.payment> {
4590
+ }
4591
+ interface PaymentInsertType extends InferInsertModel<typeof tables.payment> {
4592
+ }
4593
+ interface BatchSelectType extends InferSelectModel<typeof tables.batch> {
4594
+ }
4595
+ interface BatchInsertType extends InferInsertModel<typeof tables.batch> {
4596
+ }
4597
+ type ParsedBankPayment = {
4598
+ raw: object;
4599
+ parsed: PaymentInsertType;
4600
+ };
4601
+ /**
4602
+ * @deprecated Use BatchedPayment from './payment-lifecycle' instead
4603
+ * This type is kept for backward compatibility during migration
4604
+ */
4605
+ type BatchPayment = Omit<PaymentInsertType, 'bankRefId'>;
4606
+
4607
+ /**
4608
+ * Batch lifecycle types
4609
+ *
4610
+ * This file defines explicit types for each stage of batch processing.
4611
+ * Each type represents a specific phase in the batch journey from creation to completion.
4612
+ *
4613
+ * Lifecycle flow:
4614
+ * 1. CreatedBatch - Initial batch with payments (status: OPEN)
4615
+ * 2. InitiatedBatch - Batch sent to bank API, waiting for authorization (response from connector)
4616
+ * 3. ReadyToSignBatch - Batch stored in DB, waiting for signature (status: READY_TO_SIGN)
4617
+ * 4. SignedBatch - Batch authorized/signed by user (status: SIGNED)
4618
+ * 5. ProcessingBatch - Batch being processed by bank (status: PROCESSING)
4619
+ * 6. CompletedBatch - Batch fully processed (status: COMPLETED/FAILED/SIGNATURE_FAILED)
4620
+ */
4621
+
4622
+ /**
4623
+ * Batch metadata from bank connectors
4624
+ * Used for tracking batch state in bank systems (e.g., Erste sign hash/ID)
4625
+ */
4626
+ type BatchMetadata = {
4627
+ signHash?: string;
4628
+ signId?: string;
4629
+ sizeLimit?: number;
4630
+ };
4631
+ /**
4632
+ * Stage 1: Created Batch
4633
+ *
4634
+ * Initial batch with payments ready to be sent to bank.
4635
+ * Contains BatchedPayment[] - payments assigned to account but not yet sent to bank.
4636
+ * Status: 'OPEN'
4637
+ *
4638
+ * Used in: After addPaymentsToBatch, stored in database
4639
+ */
4640
+ type CreatedBatch = Omit<BatchInsertType, 'status'> & {
4641
+ status: 'OPEN';
4642
+ payments: BatchedPayment[];
4643
+ };
4644
+ /**
4645
+ * Stage 2: Initiated Batch
4646
+ *
4647
+ * Batch sent to bank API, waiting for user authorization.
4648
+ * Contains PreparedPayment[] - payments sent to bank, may have bankRefId.
4649
+ *
4650
+ * Used in: Return type of connector.initiateBatch()
4651
+ * Note: This is the response from bank connector, not stored in DB directly
4652
+ */
4653
+ type InitiatedBatch = {
4654
+ id: string;
4655
+ authorizationUrls: string[];
4656
+ payments: PreparedPayment[];
4657
+ metadata?: BatchMetadata | null;
4658
+ };
4659
+ /**
4660
+ * Stage 3: Ready to Sign Batch
4661
+ *
4662
+ * Batch initiated with bank, waiting for user signature/authorization.
4663
+ * Status: 'READY_TO_SIGN'
4664
+ *
4665
+ * Used in: After storing InitiatedBatch response to database
4666
+ */
4667
+ type ReadyToSignBatch = Omit<BatchInsertType, 'status' | 'payments'> & {
4668
+ status: 'READY_TO_SIGN';
4669
+ payments: PreparedPayment[];
4670
+ };
4671
+ /**
4672
+ * Stage 4: Signed Batch
4673
+ *
4674
+ * Batch authorized/signed by user, ready for bank processing.
4675
+ * Status: 'SIGNED'
4676
+ *
4677
+ * Used in: After user completes authorization
4678
+ */
4679
+ type SignedBatch = Omit<BatchInsertType, 'status' | 'payments'> & {
4680
+ status: 'SIGNED';
4681
+ payments: PreparedPayment[];
4682
+ };
4683
+ /**
4684
+ * Stage 5: Processing Batch
4685
+ *
4686
+ * Batch being processed by bank.
4687
+ * Status: 'PROCESSING'
4688
+ *
4689
+ * Used in: During bank processing workflow
4690
+ */
4691
+ type ProcessingBatch = Omit<BatchInsertType, 'status' | 'payments'> & {
4692
+ status: 'PROCESSING';
4693
+ payments: PreparedPayment[];
4694
+ };
4695
+ /**
4696
+ * Stage 6: Completed Batch
4697
+ *
4698
+ * Batch fully processed by bank.
4699
+ * Status: 'COMPLETED', 'FAILED', 'SIGNATURE_FAILED'
4700
+ *
4701
+ * Used in: Final state after bank processing
4702
+ */
4703
+ type CompletedBatch = Omit<BatchInsertType, 'status' | 'payments'> & {
4704
+ status: 'COMPLETED' | 'FAILED' | 'SIGNATURE_FAILED';
4705
+ payments: PreparedPayment[];
4706
+ };
4707
+ /**
4708
+ * Union type of all batch lifecycle stages
4709
+ */
4710
+ type BatchLifecycle = CreatedBatch | InitiatedBatch | ReadyToSignBatch | SignedBatch | ProcessingBatch | CompletedBatch;
4711
+ /**
4712
+ * Type guard to check if batch is initiated
4713
+ */
4714
+ declare function isBatchInitiated(batch: {
4715
+ authorizationUrls?: string[] | null;
4716
+ }): batch is InitiatedBatch;
4717
+ /**
4718
+ * Type guard to check if batch is ready to sign
4719
+ */
4720
+ declare function isBatchReadyToSign(batch: {
4721
+ status?: string | null;
4722
+ }): batch is ReadyToSignBatch;
4723
+ /**
4724
+ * Type guard to check if batch is signed
4725
+ */
4726
+ declare function isBatchSigned(batch: {
4727
+ status?: string | null;
4728
+ }): batch is SignedBatch;
4729
+ /**
4730
+ * Type guard to check if batch is processing
4731
+ */
4732
+ declare function isBatchProcessing(batch: {
4733
+ status?: string | null;
4734
+ }): batch is ProcessingBatch;
4735
+ /**
4736
+ * Type guard to check if batch is completed
4737
+ */
4738
+ declare function isBatchCompleted(batch: {
4739
+ status?: string | null;
4740
+ }): batch is CompletedBatch;
4741
+ /**
4742
+ * Type guard to check if batch is open
4743
+ */
4744
+ declare function isBatchOpen(batch: {
4745
+ status?: string | null;
4746
+ }): batch is CreatedBatch;
4747
+ /**
4748
+ * Type guard to check if batch has failed
4749
+ */
4750
+ declare function isBatchFailed(batch: {
4751
+ status?: string | null;
4752
+ }): batch is CompletedBatch;
4753
+
4754
+ export { BATCH_STATUSES as F, IBankConnector as I, CHARGE_BEARERS as M, CONNECTOR_KEYS as N, COUNTRY_CODES as O, CREDENTIALS_TYPES as Q, INSTRUCTION_PRIORITIES as V, PAYMENT_DIRECTIONS as X, PAYMENT_STATUSES as Y, PAYMENT_TYPES as Z, TOKEN_TYPES as a6, accountCredentialsInsertSchema as a8, accountCredentialsSelectSchema as a9, accountCredentialsUpdateSchema as aa, accountInsertSchema as ab, accountSelectSchema as ac, accountUpdateSchema as ad, hasPaymentAccountAssigned as ae, isBatchCompleted as af, isBatchFailed as ag, isBatchInitiated as ah, isBatchOpen as ai, isBatchProcessing as aj, isBatchReadyToSign as ak, isBatchSigned as al, isPaymentCompleted as am, isPaymentPrepared as an, account as ao, accountCredentials as ap, batch as aq, ott as ar, payment as as, paymentRelations as at, tables as t, ACCOUNT_STATUSES as v };
4755
+ export type { PaymentFailedInsertType as $, AccountSelectType as A, BatchSelectType as B, ConfigEnvironmentBank as C, AccountStatus as D, AccountUpdateType as E, BankAccountWithLastSync as G, BatchInsertType as H, BatchLifecycle as J, BatchPayment as K, LastSyncMetadata as L, PaymentSelectType as P, ChargeBearer as R, CompletedBatch as S, CreatedBatch as T, CredentialsType as U, InstructionPriority as W, PaymentDirection as _, ConnectorKey as a, PaymentInsertType as a0, PaymentLifecycle as a1, PaymentPreparedInsertType as a2, ProcessingBatch as a3, ReadyToSignBatch as a4, SignedBatch as a5, TokenType as a7, ConnectedAccount as b, PaymentType as c, AccountCredentialsInsertType as d, AccountInsertType as e, BatchedPayment as f, InitiatedPayment as g, InitiatedBatch as h, ParsedBankPayment as i, PaymentStatus as j, BatchStatus as k, IncomingPayment as l, BatchMetadata as m, CurrencyCode as n, BankCode as o, CountryCode as p, Currency as q, AccountAssignedPayment as r, PreparedPayment as s, CompletedPayment as u, AccountCredentialsPatchType as w, AccountCredentialsSelectType as x, AccountCredentialsUpdateType as y, AccountPatchType as z };