@develit-services/ledger 0.4.0 → 0.4.2

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.
@@ -1,4 +1,4 @@
1
- export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.BtCTt25C.cjs';
1
+ export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.CNLyjoqY.cjs';
2
2
  import 'drizzle-orm';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import '@develit-io/backend-sdk';
@@ -1,4 +1,4 @@
1
- export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.BtCTt25C.mjs';
1
+ export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.CNLyjoqY.mjs';
2
2
  import 'drizzle-orm';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import '@develit-io/backend-sdk';
@@ -1,4 +1,4 @@
1
- export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.BtCTt25C.js';
1
+ export { G as account, H as accountIdentifier, J as accountIdentifierMapping, K as accountIdentifierMappingRelations, L as accountIdentifierRelations, M as accountRelations, N as entry, O as transaction } from '../shared/ledger.CNLyjoqY.js';
2
2
  import 'drizzle-orm';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import '@develit-io/backend-sdk';
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
3
  import { WorkerEntrypoint } from 'cloudflare:workers';
4
4
  import { DrizzleD1Database } from 'drizzle-orm/d1';
5
- import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.WHp2MLCf.cjs';
5
+ import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.DQZB5SVv.cjs';
6
6
  import 'zod';
7
- import '../shared/ledger.BtCTt25C.cjs';
7
+ import '../shared/ledger.CNLyjoqY.cjs';
8
8
  import 'drizzle-orm';
9
9
  import 'drizzle-orm/sqlite-core';
10
10
  import '@develit-io/general-codes';
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
3
  import { WorkerEntrypoint } from 'cloudflare:workers';
4
4
  import { DrizzleD1Database } from 'drizzle-orm/d1';
5
- import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.D_QC9ub6.mjs';
5
+ import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.DzMWoOWY.mjs';
6
6
  import 'zod';
7
- import '../shared/ledger.BtCTt25C.mjs';
7
+ import '../shared/ledger.CNLyjoqY.mjs';
8
8
  import 'drizzle-orm';
9
9
  import 'drizzle-orm/sqlite-core';
10
10
  import '@develit-io/general-codes';
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
3
  import { WorkerEntrypoint } from 'cloudflare:workers';
4
4
  import { DrizzleD1Database } from 'drizzle-orm/d1';
5
- import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.ZADe_DAC.js';
5
+ import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, F as FailTransactionInput, d as FailTransactionOutput, e as CancelTransactionInput, f as CancelTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, n as CreateAccountInput, o as CreateAccountOutput, U as UpdateAccountInput, p as UpdateAccountOutput, D as DeleteAccountInput, q as DeleteAccountOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, L as ListAccountsInput, w as ListAccountsOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput } from '../shared/ledger.BQi7s_NG.js';
6
6
  import 'zod';
7
- import '../shared/ledger.BtCTt25C.js';
7
+ import '../shared/ledger.CNLyjoqY.js';
8
8
  import 'drizzle-orm';
9
9
  import 'drizzle-orm/sqlite-core';
10
10
  import '@develit-io/general-codes';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { F as schema } from './ledger.BtCTt25C.cjs';
2
+ import { F as schema } from './ledger.CNLyjoqY.js';
3
3
  import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
4
4
 
5
5
  interface TSchema extends ExtractTablesWithRelations<typeof tables> {
@@ -354,31 +354,42 @@ declare const createAccountInputSchema: z.ZodObject<{
354
354
  "0710": "0710";
355
355
  "0800": "0800";
356
356
  2010: "2010";
357
+ 2020: "2020";
358
+ 2030: "2030";
357
359
  2060: "2060";
358
360
  2070: "2070";
359
361
  2100: "2100";
360
362
  2200: "2200";
363
+ 2210: "2210";
361
364
  2220: "2220";
365
+ 2240: "2240";
362
366
  2250: "2250";
363
367
  2260: "2260";
368
+ 2310: "2310";
364
369
  2600: "2600";
365
370
  2700: "2700";
366
371
  3030: "3030";
372
+ 3050: "3050";
367
373
  3060: "3060";
368
374
  3500: "3500";
375
+ 4000: "4000";
369
376
  4300: "4300";
370
377
  5500: "5500";
378
+ 5400: "5400";
371
379
  5800: "5800";
372
380
  6000: "6000";
381
+ 6100: "6100";
373
382
  6200: "6200";
374
383
  6210: "6210";
375
384
  6300: "6300";
376
385
  6363: "6363";
377
386
  6700: "6700";
378
387
  6800: "6800";
388
+ 7940: "7940";
379
389
  7910: "7910";
380
390
  7950: "7950";
381
391
  7960: "7960";
392
+ 7980: "7980";
382
393
  7970: "7970";
383
394
  7990: "7990";
384
395
  8030: "8030";
@@ -388,11 +399,15 @@ declare const createAccountInputSchema: z.ZodObject<{
388
399
  8150: "8150";
389
400
  8190: "8190";
390
401
  8198: "8198";
402
+ 8200: "8200";
391
403
  8220: "8220";
404
+ 8230: "8230";
405
+ 8240: "8240";
392
406
  8250: "8250";
393
407
  8255: "8255";
394
408
  8265: "8265";
395
409
  8500: "8500";
410
+ 8610: "8610";
396
411
  }>>;
397
412
  prefix: z.ZodOptional<z.ZodString>;
398
413
  swift: z.ZodOptional<z.ZodString>;
@@ -411,8 +426,8 @@ interface CreateAccountOutput {
411
426
  declare const createTransactionInputSchema: z.ZodObject<{
412
427
  correlationId: z.ZodString;
413
428
  referenceType: z.ZodEnum<{
414
- EXCHANGE: "EXCHANGE";
415
429
  PAYMENT: "PAYMENT";
430
+ EXCHANGE: "EXCHANGE";
416
431
  ORDER: "ORDER";
417
432
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
418
433
  FORWARD: "FORWARD";
@@ -420,13 +435,13 @@ declare const createTransactionInputSchema: z.ZodObject<{
420
435
  }>;
421
436
  referenceId: z.ZodOptional<z.ZodString>;
422
437
  type: z.ZodEnum<{
438
+ EXCHANGE: "EXCHANGE";
423
439
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
424
440
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
425
441
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
426
442
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
427
443
  COLLATERAL_FUND_IN: "COLLATERAL_FUND_IN";
428
444
  COLLATERAL_FUND_OUT: "COLLATERAL_FUND_OUT";
429
- EXCHANGE: "EXCHANGE";
430
445
  UNMATCHED: "UNMATCHED";
431
446
  ADJUSTMENT: "ADJUSTMENT";
432
447
  TRANSFER: "TRANSFER";
@@ -468,31 +483,42 @@ declare const createTransactionInputSchema: z.ZodObject<{
468
483
  "0710": "0710";
469
484
  "0800": "0800";
470
485
  2010: "2010";
486
+ 2020: "2020";
487
+ 2030: "2030";
471
488
  2060: "2060";
472
489
  2070: "2070";
473
490
  2100: "2100";
474
491
  2200: "2200";
492
+ 2210: "2210";
475
493
  2220: "2220";
494
+ 2240: "2240";
476
495
  2250: "2250";
477
496
  2260: "2260";
497
+ 2310: "2310";
478
498
  2600: "2600";
479
499
  2700: "2700";
480
500
  3030: "3030";
501
+ 3050: "3050";
481
502
  3060: "3060";
482
503
  3500: "3500";
504
+ 4000: "4000";
483
505
  4300: "4300";
484
506
  5500: "5500";
507
+ 5400: "5400";
485
508
  5800: "5800";
486
509
  6000: "6000";
510
+ 6100: "6100";
487
511
  6200: "6200";
488
512
  6210: "6210";
489
513
  6300: "6300";
490
514
  6363: "6363";
491
515
  6700: "6700";
492
516
  6800: "6800";
517
+ 7940: "7940";
493
518
  7910: "7910";
494
519
  7950: "7950";
495
520
  7960: "7960";
521
+ 7980: "7980";
496
522
  7970: "7970";
497
523
  7990: "7990";
498
524
  8030: "8030";
@@ -502,11 +528,15 @@ declare const createTransactionInputSchema: z.ZodObject<{
502
528
  8150: "8150";
503
529
  8190: "8190";
504
530
  8198: "8198";
531
+ 8200: "8200";
505
532
  8220: "8220";
533
+ 8230: "8230";
534
+ 8240: "8240";
506
535
  8250: "8250";
507
536
  8255: "8255";
508
537
  8265: "8265";
509
538
  8500: "8500";
539
+ 8610: "8610";
510
540
  }>>;
511
541
  holderName: z.ZodOptional<z.ZodString>;
512
542
  iban: z.ZodOptional<z.ZodString>;
@@ -569,6 +599,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
569
599
  AVAX: "AVAX";
570
600
  }>>;
571
601
  countryCode: z.ZodOptional<z.ZodEnum<{
602
+ IM: "IM";
572
603
  AF: "AF";
573
604
  AL: "AL";
574
605
  DZ: "DZ";
@@ -657,7 +688,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
657
688
  IR: "IR";
658
689
  IQ: "IQ";
659
690
  IE: "IE";
660
- IM: "IM";
661
691
  IL: "IL";
662
692
  IT: "IT";
663
693
  CI: "CI";
@@ -798,31 +828,42 @@ declare const createTransactionInputSchema: z.ZodObject<{
798
828
  "0710": "0710";
799
829
  "0800": "0800";
800
830
  2010: "2010";
831
+ 2020: "2020";
832
+ 2030: "2030";
801
833
  2060: "2060";
802
834
  2070: "2070";
803
835
  2100: "2100";
804
836
  2200: "2200";
837
+ 2210: "2210";
805
838
  2220: "2220";
839
+ 2240: "2240";
806
840
  2250: "2250";
807
841
  2260: "2260";
842
+ 2310: "2310";
808
843
  2600: "2600";
809
844
  2700: "2700";
810
845
  3030: "3030";
846
+ 3050: "3050";
811
847
  3060: "3060";
812
848
  3500: "3500";
849
+ 4000: "4000";
813
850
  4300: "4300";
814
851
  5500: "5500";
852
+ 5400: "5400";
815
853
  5800: "5800";
816
854
  6000: "6000";
855
+ 6100: "6100";
817
856
  6200: "6200";
818
857
  6210: "6210";
819
858
  6300: "6300";
820
859
  6363: "6363";
821
860
  6700: "6700";
822
861
  6800: "6800";
862
+ 7940: "7940";
823
863
  7910: "7910";
824
864
  7950: "7950";
825
865
  7960: "7960";
866
+ 7980: "7980";
826
867
  7970: "7970";
827
868
  7990: "7990";
828
869
  8030: "8030";
@@ -832,11 +873,15 @@ declare const createTransactionInputSchema: z.ZodObject<{
832
873
  8150: "8150";
833
874
  8190: "8190";
834
875
  8198: "8198";
876
+ 8200: "8200";
835
877
  8220: "8220";
878
+ 8230: "8230";
879
+ 8240: "8240";
836
880
  8250: "8250";
837
881
  8255: "8255";
838
882
  8265: "8265";
839
883
  8500: "8500";
884
+ 8610: "8610";
840
885
  }>>;
841
886
  holderName: z.ZodOptional<z.ZodString>;
842
887
  iban: z.ZodOptional<z.ZodString>;
@@ -899,6 +944,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
899
944
  AVAX: "AVAX";
900
945
  }>>;
901
946
  countryCode: z.ZodOptional<z.ZodEnum<{
947
+ IM: "IM";
902
948
  AF: "AF";
903
949
  AL: "AL";
904
950
  DZ: "DZ";
@@ -987,7 +1033,6 @@ declare const createTransactionInputSchema: z.ZodObject<{
987
1033
  IR: "IR";
988
1034
  IQ: "IQ";
989
1035
  IE: "IE";
990
- IM: "IM";
991
1036
  IL: "IL";
992
1037
  IT: "IT";
993
1038
  CI: "CI";
@@ -1285,31 +1330,42 @@ declare const findAccountByIdentifierInputSchema: z.ZodObject<{
1285
1330
  "0710": "0710";
1286
1331
  "0800": "0800";
1287
1332
  2010: "2010";
1333
+ 2020: "2020";
1334
+ 2030: "2030";
1288
1335
  2060: "2060";
1289
1336
  2070: "2070";
1290
1337
  2100: "2100";
1291
1338
  2200: "2200";
1339
+ 2210: "2210";
1292
1340
  2220: "2220";
1341
+ 2240: "2240";
1293
1342
  2250: "2250";
1294
1343
  2260: "2260";
1344
+ 2310: "2310";
1295
1345
  2600: "2600";
1296
1346
  2700: "2700";
1297
1347
  3030: "3030";
1348
+ 3050: "3050";
1298
1349
  3060: "3060";
1299
1350
  3500: "3500";
1351
+ 4000: "4000";
1300
1352
  4300: "4300";
1301
1353
  5500: "5500";
1354
+ 5400: "5400";
1302
1355
  5800: "5800";
1303
1356
  6000: "6000";
1357
+ 6100: "6100";
1304
1358
  6200: "6200";
1305
1359
  6210: "6210";
1306
1360
  6300: "6300";
1307
1361
  6363: "6363";
1308
1362
  6700: "6700";
1309
1363
  6800: "6800";
1364
+ 7940: "7940";
1310
1365
  7910: "7910";
1311
1366
  7950: "7950";
1312
1367
  7960: "7960";
1368
+ 7980: "7980";
1313
1369
  7970: "7970";
1314
1370
  7990: "7990";
1315
1371
  8030: "8030";
@@ -1319,11 +1375,15 @@ declare const findAccountByIdentifierInputSchema: z.ZodObject<{
1319
1375
  8150: "8150";
1320
1376
  8190: "8190";
1321
1377
  8198: "8198";
1378
+ 8200: "8200";
1322
1379
  8220: "8220";
1380
+ 8230: "8230";
1381
+ 8240: "8240";
1323
1382
  8250: "8250";
1324
1383
  8255: "8255";
1325
1384
  8265: "8265";
1326
1385
  8500: "8500";
1386
+ 8610: "8610";
1327
1387
  }>>;
1328
1388
  swift: z.ZodOptional<z.ZodString>;
1329
1389
  cryptoAddress: z.ZodOptional<z.ZodString>;
@@ -1386,8 +1446,8 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1386
1446
  }, z.core.$strip>;
1387
1447
  filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
1388
1448
  filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
1389
- EXCHANGE: "EXCHANGE";
1390
1449
  PAYMENT: "PAYMENT";
1450
+ EXCHANGE: "EXCHANGE";
1391
1451
  ORDER: "ORDER";
1392
1452
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1393
1453
  FORWARD: "FORWARD";
@@ -1395,13 +1455,13 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1395
1455
  }>>;
1396
1456
  filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
1397
1457
  filterTransactionType: z.ZodOptional<z.ZodEnum<{
1458
+ EXCHANGE: "EXCHANGE";
1398
1459
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
1399
1460
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
1400
1461
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
1401
1462
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
1402
1463
  COLLATERAL_FUND_IN: "COLLATERAL_FUND_IN";
1403
1464
  COLLATERAL_FUND_OUT: "COLLATERAL_FUND_OUT";
1404
- EXCHANGE: "EXCHANGE";
1405
1465
  UNMATCHED: "UNMATCHED";
1406
1466
  ADJUSTMENT: "ADJUSTMENT";
1407
1467
  TRANSFER: "TRANSFER";
@@ -1444,8 +1504,8 @@ interface GetTransactionsOutput {
1444
1504
 
1445
1505
  declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
1446
1506
  referenceType: z.ZodEnum<{
1447
- EXCHANGE: "EXCHANGE";
1448
1507
  PAYMENT: "PAYMENT";
1508
+ EXCHANGE: "EXCHANGE";
1449
1509
  ORDER: "ORDER";
1450
1510
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1451
1511
  FORWARD: "FORWARD";
@@ -358,7 +358,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
358
358
  tableName: "account_identifier";
359
359
  dataType: "string";
360
360
  columnType: "SQLiteText";
361
- 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";
361
+ data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
362
362
  driverParam: string;
363
363
  notNull: false;
364
364
  hasDefault: false;
@@ -371,7 +371,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
371
371
  generated: undefined;
372
372
  }, {}, {
373
373
  length: number | undefined;
374
- $type: "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";
374
+ $type: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
375
375
  }>;
376
376
  prefix: drizzle_orm_sqlite_core.SQLiteColumn<{
377
377
  name: "prefix";
@@ -1193,7 +1193,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1193
1193
  tableName: "transaction";
1194
1194
  dataType: "string";
1195
1195
  columnType: "SQLiteText";
1196
- data: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1196
+ data: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1197
1197
  driverParam: string;
1198
1198
  notNull: true;
1199
1199
  hasDefault: false;
@@ -1206,7 +1206,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1206
1206
  generated: undefined;
1207
1207
  }, {}, {
1208
1208
  length: number | undefined;
1209
- $type: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1209
+ $type: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1210
1210
  }>;
1211
1211
  referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
1212
1212
  name: "reference_id";
@@ -1232,7 +1232,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1232
1232
  tableName: "transaction";
1233
1233
  dataType: "string";
1234
1234
  columnType: "SQLiteText";
1235
- data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1235
+ data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1236
1236
  driverParam: string;
1237
1237
  notNull: true;
1238
1238
  hasDefault: false;
@@ -1245,7 +1245,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1245
1245
  generated: undefined;
1246
1246
  }, {}, {
1247
1247
  length: number | undefined;
1248
- $type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1248
+ $type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1249
1249
  }>;
1250
1250
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
1251
1251
  name: "description";
@@ -358,7 +358,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
358
358
  tableName: "account_identifier";
359
359
  dataType: "string";
360
360
  columnType: "SQLiteText";
361
- 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";
361
+ data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
362
362
  driverParam: string;
363
363
  notNull: false;
364
364
  hasDefault: false;
@@ -371,7 +371,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
371
371
  generated: undefined;
372
372
  }, {}, {
373
373
  length: number | undefined;
374
- $type: "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";
374
+ $type: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
375
375
  }>;
376
376
  prefix: drizzle_orm_sqlite_core.SQLiteColumn<{
377
377
  name: "prefix";
@@ -1193,7 +1193,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1193
1193
  tableName: "transaction";
1194
1194
  dataType: "string";
1195
1195
  columnType: "SQLiteText";
1196
- data: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1196
+ data: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1197
1197
  driverParam: string;
1198
1198
  notNull: true;
1199
1199
  hasDefault: false;
@@ -1206,7 +1206,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1206
1206
  generated: undefined;
1207
1207
  }, {}, {
1208
1208
  length: number | undefined;
1209
- $type: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1209
+ $type: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1210
1210
  }>;
1211
1211
  referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
1212
1212
  name: "reference_id";
@@ -1232,7 +1232,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1232
1232
  tableName: "transaction";
1233
1233
  dataType: "string";
1234
1234
  columnType: "SQLiteText";
1235
- data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1235
+ data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1236
1236
  driverParam: string;
1237
1237
  notNull: true;
1238
1238
  hasDefault: false;
@@ -1245,7 +1245,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1245
1245
  generated: undefined;
1246
1246
  }, {}, {
1247
1247
  length: number | undefined;
1248
- $type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1248
+ $type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1249
1249
  }>;
1250
1250
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
1251
1251
  name: "description";
@@ -358,7 +358,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
358
358
  tableName: "account_identifier";
359
359
  dataType: "string";
360
360
  columnType: "SQLiteText";
361
- 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";
361
+ data: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
362
362
  driverParam: string;
363
363
  notNull: false;
364
364
  hasDefault: false;
@@ -371,7 +371,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
371
371
  generated: undefined;
372
372
  }, {}, {
373
373
  length: number | undefined;
374
- $type: "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";
374
+ $type: "5051" | "0100" | "0300" | "0600" | "0710" | "0800" | "2010" | "2020" | "2030" | "2060" | "2070" | "2100" | "2200" | "2210" | "2220" | "2240" | "2250" | "2260" | "2310" | "2600" | "2700" | "3030" | "3050" | "3060" | "3500" | "4000" | "4300" | "5500" | "5400" | "5800" | "6000" | "6100" | "6200" | "6210" | "6300" | "6363" | "6700" | "6800" | "7940" | "7910" | "7950" | "7960" | "7980" | "7970" | "7990" | "8030" | "8040" | "8060" | "8090" | "8150" | "8190" | "8198" | "8200" | "8220" | "8230" | "8240" | "8250" | "8255" | "8265" | "8500" | "8610";
375
375
  }>;
376
376
  prefix: drizzle_orm_sqlite_core.SQLiteColumn<{
377
377
  name: "prefix";
@@ -1193,7 +1193,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1193
1193
  tableName: "transaction";
1194
1194
  dataType: "string";
1195
1195
  columnType: "SQLiteText";
1196
- data: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1196
+ data: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1197
1197
  driverParam: string;
1198
1198
  notNull: true;
1199
1199
  hasDefault: false;
@@ -1206,7 +1206,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1206
1206
  generated: undefined;
1207
1207
  }, {}, {
1208
1208
  length: number | undefined;
1209
- $type: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1209
+ $type: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1210
1210
  }>;
1211
1211
  referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
1212
1212
  name: "reference_id";
@@ -1232,7 +1232,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1232
1232
  tableName: "transaction";
1233
1233
  dataType: "string";
1234
1234
  columnType: "SQLiteText";
1235
- data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1235
+ data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1236
1236
  driverParam: string;
1237
1237
  notNull: true;
1238
1238
  hasDefault: false;
@@ -1245,7 +1245,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1245
1245
  generated: undefined;
1246
1246
  }, {}, {
1247
1247
  length: number | undefined;
1248
- $type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1248
+ $type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1249
1249
  }>;
1250
1250
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
1251
1251
  name: "description";