@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.
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/worker.d.cts +2 -2
- package/dist/export/worker.d.mts +2 -2
- package/dist/export/worker.d.ts +2 -2
- package/dist/shared/{ledger.WHp2MLCf.d.cts → ledger.BQi7s_NG.d.ts} +68 -8
- package/dist/shared/{ledger.BtCTt25C.d.cts → ledger.CNLyjoqY.d.cts} +6 -6
- package/dist/shared/{ledger.BtCTt25C.d.mts → ledger.CNLyjoqY.d.mts} +6 -6
- package/dist/shared/{ledger.BtCTt25C.d.ts → ledger.CNLyjoqY.d.ts} +6 -6
- package/dist/shared/{ledger.ZADe_DAC.d.ts → ledger.DQZB5SVv.d.cts} +68 -8
- package/dist/shared/{ledger.D_QC9ub6.d.mts → ledger.DzMWoOWY.d.mts} +68 -8
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as schema } from './ledger.
|
|
2
|
+
import { F as schema } from './ledger.CNLyjoqY.cjs';
|
|
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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as schema } from './ledger.
|
|
2
|
+
import { F as schema } from './ledger.CNLyjoqY.mjs';
|
|
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";
|
package/dist/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as ACCOUNT_TYPES, a as ASSET_TYPES, b as AccountType, c as AssetType, B as BALANCE_STRATEGIES, d as BATCH_STATUSES, e as BalanceStrategy, f as BankCode, g as BatchStatus, C as CHARGE_BEARERS, h as COUNTRY_CODES, i as ChargeBearer, j as CountryCode, k as CryptoNetworkCode, l as Currency, m as CurrencyCode, E as ENTRY_STATUSES, n as EntryMetadata, o as EntryStatus, I as IDENTIFIER_KINDS, p as IdentifierKind, P as PAYMENT_DIRECTIONS, q as PAYMENT_STATUSES, r as PAYMENT_TYPES, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as REFUNDABLE_TRANSACTION_STATUSES, w as ReferenceType, T as TRANSACTION_STATUSES, x as TRANSACTION_TYPES, y as TransactionMetadata, z as TransactionStatus, D as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { P as AccountIdentifierInsertType, Q as AccountIdentifierMappingInsertType, S as AccountIdentifierMappingSelectType, V as AccountIdentifierSelectType, W as AccountInsertType, X as AccountSelectType, Y as AccountWithIdentifiersSelectType, e as CancelTransactionInput, f as CancelTransactionOutput, n as CreateAccountInput, o as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, q as DeleteAccountOutput, F as FailTransactionInput, d as FailTransactionOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, Z as IncludeRelation, _ as InferResultType, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, L as ListAccountsInput, w as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, $ as TransactionInsertType, U as UpdateAccountInput, p as UpdateAccountOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput, a0 as cancelTransactionInputSchema, a1 as createAccountInputSchema, a2 as createTransactionInputSchema, a3 as deleteAccountInputSchema, a4 as failTransactionInputSchema, a5 as findAccountByIdentifierInputSchema, a6 as getAccountBalanceInputSchema, a7 as getAccountIdentifierInputSchema, a8 as getAccountInputSchema, a9 as getAccountsByOwnerInputSchema, aa as getTransactionByIdInputSchema, ab as getTransactionsByReferenceIdInputSchema, ac as getTransactionsInputSchema, ad as listAccountIdentifiersInputSchema, ae as listAccountsInputSchema, af as matchTransactionInputSchema, ag as refundTransactionInputSchema, ah as resolveUnmatchedTransactionInputSchema, ai as updateAccountInputSchema, aj as updateTransactionConfirmationSentAtInputSchema, ak as updateTransactionStatusInputSchema } from './shared/ledger.
|
|
1
|
+
export { A as ACCOUNT_TYPES, a as ASSET_TYPES, b as AccountType, c as AssetType, B as BALANCE_STRATEGIES, d as BATCH_STATUSES, e as BalanceStrategy, f as BankCode, g as BatchStatus, C as CHARGE_BEARERS, h as COUNTRY_CODES, i as ChargeBearer, j as CountryCode, k as CryptoNetworkCode, l as Currency, m as CurrencyCode, E as ENTRY_STATUSES, n as EntryMetadata, o as EntryStatus, I as IDENTIFIER_KINDS, p as IdentifierKind, P as PAYMENT_DIRECTIONS, q as PAYMENT_STATUSES, r as PAYMENT_TYPES, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as REFUNDABLE_TRANSACTION_STATUSES, w as ReferenceType, T as TRANSACTION_STATUSES, x as TRANSACTION_TYPES, y as TransactionMetadata, z as TransactionStatus, D as TransactionType } from './shared/ledger.CNLyjoqY.cjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.DQZB5SVv.cjs';
|
|
3
|
+
export { P as AccountIdentifierInsertType, Q as AccountIdentifierMappingInsertType, S as AccountIdentifierMappingSelectType, V as AccountIdentifierSelectType, W as AccountInsertType, X as AccountSelectType, Y as AccountWithIdentifiersSelectType, e as CancelTransactionInput, f as CancelTransactionOutput, n as CreateAccountInput, o as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, q as DeleteAccountOutput, F as FailTransactionInput, d as FailTransactionOutput, B as FindAccountByIdentifierInput, E as FindAccountByIdentifierOutput, H as GetAccountBalanceInput, I as GetAccountBalanceOutput, x as GetAccountIdentifierInput, y as GetAccountIdentifierOutput, r as GetAccountInput, s as GetAccountOutput, u as GetAccountsByOwnerInput, v as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, i as GetTransactionByIdOutput, j as GetTransactionsByIdReferenceInput, k as GetTransactionsByReferenceIdOutput, l as GetTransactionsInput, m as GetTransactionsOutput, Z as IncludeRelation, _ as InferResultType, z as ListAccountIdentifiersInput, A as ListAccountIdentifiersOutput, L as ListAccountsInput, w as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, g as RefundTransactionInput, h as RefundTransactionOutput, R as ResolveUnmatchedTransactionInput, c as ResolveUnmatchedTransactionOutput, $ as TransactionInsertType, U as UpdateAccountInput, p as UpdateAccountOutput, J as UpdateTransactionConfirmationSentAtInput, K as UpdateTransactionConfirmationSentAtOutput, N as UpdateTransactionStatusInput, O as UpdateTransactionStatusOutput, a0 as cancelTransactionInputSchema, a1 as createAccountInputSchema, a2 as createTransactionInputSchema, a3 as deleteAccountInputSchema, a4 as failTransactionInputSchema, a5 as findAccountByIdentifierInputSchema, a6 as getAccountBalanceInputSchema, a7 as getAccountIdentifierInputSchema, a8 as getAccountInputSchema, a9 as getAccountsByOwnerInputSchema, aa as getTransactionByIdInputSchema, ab as getTransactionsByReferenceIdInputSchema, ac as getTransactionsInputSchema, ad as listAccountIdentifiersInputSchema, ae as listAccountsInputSchema, af as matchTransactionInputSchema, ag as refundTransactionInputSchema, ah as resolveUnmatchedTransactionInputSchema, ai as updateAccountInputSchema, aj as updateTransactionConfirmationSentAtInputSchema, ak as updateTransactionStatusInputSchema } from './shared/ledger.DQZB5SVv.cjs';
|
|
4
4
|
export { a as LedgerServiceEnv, b as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.VQWxyeV6.cjs';
|
|
5
5
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|