@develit-services/ledger 0.0.7 → 0.0.9
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 +2 -2
- package/dist/database/schema.d.mts +2 -2
- package/dist/database/schema.d.ts +2 -2
- package/dist/export/worker.cjs +25 -26
- package/dist/export/worker.d.cts +3 -3
- package/dist/export/worker.d.mts +3 -3
- package/dist/export/worker.d.ts +3 -3
- package/dist/export/worker.mjs +25 -26
- package/dist/export/wrangler.d.cts +0 -1
- package/dist/export/wrangler.d.mts +0 -1
- package/dist/export/wrangler.d.ts +0 -1
- package/dist/shared/{ledger._YlR4Uxg.d.mts → ledger.BEYBX0jI.d.cts} +21 -29
- package/dist/shared/{ledger._YlR4Uxg.d.ts → ledger.BEYBX0jI.d.mts} +21 -29
- package/dist/shared/{ledger._YlR4Uxg.d.cts → ledger.BEYBX0jI.d.ts} +21 -29
- package/dist/shared/{ledger.CSKqugjV.d.ts → ledger.BMjN2CMY.d.mts} +547 -3
- package/dist/shared/{ledger.BGDeCrA0.d.mts → ledger.Bagnlywy.d.ts} +547 -3
- package/dist/shared/{ledger.CSi5bWgX.d.cts → ledger.Dif5Euam.d.cts} +547 -3
- package/dist/{@types.d.cts → types.d.cts} +6 -10
- package/dist/{@types.d.mts → types.d.mts} +6 -10
- package/dist/{@types.d.ts → types.d.ts} +6 -10
- package/package.json +5 -5
- /package/dist/{@types.cjs → types.cjs} +0 -0
- /package/dist/{@types.mjs → types.mjs} +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.BEYBX0jI.cjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
|
-
declare const tables: typeof schema;
|
|
6
|
-
|
|
7
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
8
6
|
}
|
|
9
7
|
type IncludeRelation<TableName extends keyof TSchema> = DBQueryConfig<'one' | 'many', boolean, TSchema, TSchema[TableName]>['with'];
|
|
@@ -487,6 +485,278 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
487
485
|
address: z.ZodOptional<z.ZodString>;
|
|
488
486
|
swiftBic: z.ZodOptional<z.ZodString>;
|
|
489
487
|
bicCor: z.ZodOptional<z.ZodString>;
|
|
488
|
+
currency: z.ZodOptional<z.ZodEnum<{
|
|
489
|
+
CZK: "CZK";
|
|
490
|
+
EUR: "EUR";
|
|
491
|
+
USD: "USD";
|
|
492
|
+
PLN: "PLN";
|
|
493
|
+
RON: "RON";
|
|
494
|
+
GBP: "GBP";
|
|
495
|
+
RUB: "RUB";
|
|
496
|
+
HUF: "HUF";
|
|
497
|
+
CHF: "CHF";
|
|
498
|
+
DKK: "DKK";
|
|
499
|
+
SEK: "SEK";
|
|
500
|
+
HRK: "HRK";
|
|
501
|
+
NOK: "NOK";
|
|
502
|
+
BGN: "BGN";
|
|
503
|
+
TRY: "TRY";
|
|
504
|
+
AUD: "AUD";
|
|
505
|
+
CAD: "CAD";
|
|
506
|
+
JPY: "JPY";
|
|
507
|
+
CNY: "CNY";
|
|
508
|
+
INR: "INR";
|
|
509
|
+
BRL: "BRL";
|
|
510
|
+
MXN: "MXN";
|
|
511
|
+
ZAR: "ZAR";
|
|
512
|
+
SGD: "SGD";
|
|
513
|
+
HKD: "HKD";
|
|
514
|
+
KRW: "KRW";
|
|
515
|
+
MYR: "MYR";
|
|
516
|
+
THB: "THB";
|
|
517
|
+
IDR: "IDR";
|
|
518
|
+
PHP: "PHP";
|
|
519
|
+
AED: "AED";
|
|
520
|
+
SAR: "SAR";
|
|
521
|
+
ILS: "ILS";
|
|
522
|
+
EGP: "EGP";
|
|
523
|
+
NGN: "NGN";
|
|
524
|
+
PKR: "PKR";
|
|
525
|
+
COP: "COP";
|
|
526
|
+
CLP: "CLP";
|
|
527
|
+
PEN: "PEN";
|
|
528
|
+
VND: "VND";
|
|
529
|
+
KZT: "KZT";
|
|
530
|
+
UAH: "UAH";
|
|
531
|
+
BTC: "BTC";
|
|
532
|
+
ETH: "ETH";
|
|
533
|
+
ADA: "ADA";
|
|
534
|
+
DOT: "DOT";
|
|
535
|
+
ATOM: "ATOM";
|
|
536
|
+
XRP: "XRP";
|
|
537
|
+
LTC: "LTC";
|
|
538
|
+
SOL: "SOL";
|
|
539
|
+
DOGE: "DOGE";
|
|
540
|
+
MATIC: "MATIC";
|
|
541
|
+
AVAX: "AVAX";
|
|
542
|
+
}>>;
|
|
543
|
+
country: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
EC: "EC";
|
|
545
|
+
AF: "AF";
|
|
546
|
+
AL: "AL";
|
|
547
|
+
DZ: "DZ";
|
|
548
|
+
AS: "AS";
|
|
549
|
+
AD: "AD";
|
|
550
|
+
AO: "AO";
|
|
551
|
+
AG: "AG";
|
|
552
|
+
AR: "AR";
|
|
553
|
+
AM: "AM";
|
|
554
|
+
AW: "AW";
|
|
555
|
+
AU: "AU";
|
|
556
|
+
AT: "AT";
|
|
557
|
+
AZ: "AZ";
|
|
558
|
+
BS: "BS";
|
|
559
|
+
BH: "BH";
|
|
560
|
+
BD: "BD";
|
|
561
|
+
BB: "BB";
|
|
562
|
+
BY: "BY";
|
|
563
|
+
BE: "BE";
|
|
564
|
+
BZ: "BZ";
|
|
565
|
+
BJ: "BJ";
|
|
566
|
+
BO: "BO";
|
|
567
|
+
BQ: "BQ";
|
|
568
|
+
BA: "BA";
|
|
569
|
+
BW: "BW";
|
|
570
|
+
BR: "BR";
|
|
571
|
+
IO: "IO";
|
|
572
|
+
VG: "VG";
|
|
573
|
+
BG: "BG";
|
|
574
|
+
BF: "BF";
|
|
575
|
+
BI: "BI";
|
|
576
|
+
KH: "KH";
|
|
577
|
+
CM: "CM";
|
|
578
|
+
CA: "CA";
|
|
579
|
+
CV: "CV";
|
|
580
|
+
CF: "CF";
|
|
581
|
+
TD: "TD";
|
|
582
|
+
CL: "CL";
|
|
583
|
+
CN: "CN";
|
|
584
|
+
CO: "CO";
|
|
585
|
+
KM: "KM";
|
|
586
|
+
CK: "CK";
|
|
587
|
+
CR: "CR";
|
|
588
|
+
HR: "HR";
|
|
589
|
+
CW: "CW";
|
|
590
|
+
CY: "CY";
|
|
591
|
+
CZ: "CZ";
|
|
592
|
+
CD: "CD";
|
|
593
|
+
DK: "DK";
|
|
594
|
+
DJ: "DJ";
|
|
595
|
+
DM: "DM";
|
|
596
|
+
DO: "DO";
|
|
597
|
+
TL: "TL";
|
|
598
|
+
EG: "EG";
|
|
599
|
+
SV: "SV";
|
|
600
|
+
GQ: "GQ";
|
|
601
|
+
ER: "ER";
|
|
602
|
+
EE: "EE";
|
|
603
|
+
ET: "ET";
|
|
604
|
+
FO: "FO";
|
|
605
|
+
FJ: "FJ";
|
|
606
|
+
FI: "FI";
|
|
607
|
+
FR: "FR";
|
|
608
|
+
GF: "GF";
|
|
609
|
+
PF: "PF";
|
|
610
|
+
GA: "GA";
|
|
611
|
+
GM: "GM";
|
|
612
|
+
GE: "GE";
|
|
613
|
+
DE: "DE";
|
|
614
|
+
GH: "GH";
|
|
615
|
+
GR: "GR";
|
|
616
|
+
GD: "GD";
|
|
617
|
+
GP: "GP";
|
|
618
|
+
GU: "GU";
|
|
619
|
+
GT: "GT";
|
|
620
|
+
GN: "GN";
|
|
621
|
+
GW: "GW";
|
|
622
|
+
GY: "GY";
|
|
623
|
+
HT: "HT";
|
|
624
|
+
HN: "HN";
|
|
625
|
+
HU: "HU";
|
|
626
|
+
IS: "IS";
|
|
627
|
+
IN: "IN";
|
|
628
|
+
ID: "ID";
|
|
629
|
+
IR: "IR";
|
|
630
|
+
IQ: "IQ";
|
|
631
|
+
IE: "IE";
|
|
632
|
+
IM: "IM";
|
|
633
|
+
IL: "IL";
|
|
634
|
+
IT: "IT";
|
|
635
|
+
CI: "CI";
|
|
636
|
+
JM: "JM";
|
|
637
|
+
JP: "JP";
|
|
638
|
+
JE: "JE";
|
|
639
|
+
JO: "JO";
|
|
640
|
+
KZ: "KZ";
|
|
641
|
+
KE: "KE";
|
|
642
|
+
KI: "KI";
|
|
643
|
+
XK: "XK";
|
|
644
|
+
KW: "KW";
|
|
645
|
+
KG: "KG";
|
|
646
|
+
LA: "LA";
|
|
647
|
+
LV: "LV";
|
|
648
|
+
LB: "LB";
|
|
649
|
+
LS: "LS";
|
|
650
|
+
LR: "LR";
|
|
651
|
+
LI: "LI";
|
|
652
|
+
LT: "LT";
|
|
653
|
+
LU: "LU";
|
|
654
|
+
MK: "MK";
|
|
655
|
+
MG: "MG";
|
|
656
|
+
MW: "MW";
|
|
657
|
+
MY: "MY";
|
|
658
|
+
MV: "MV";
|
|
659
|
+
ML: "ML";
|
|
660
|
+
MT: "MT";
|
|
661
|
+
MQ: "MQ";
|
|
662
|
+
MR: "MR";
|
|
663
|
+
MU: "MU";
|
|
664
|
+
MX: "MX";
|
|
665
|
+
FM: "FM";
|
|
666
|
+
MD: "MD";
|
|
667
|
+
MC: "MC";
|
|
668
|
+
MN: "MN";
|
|
669
|
+
ME: "ME";
|
|
670
|
+
MS: "MS";
|
|
671
|
+
MA: "MA";
|
|
672
|
+
MZ: "MZ";
|
|
673
|
+
NA: "NA";
|
|
674
|
+
NP: "NP";
|
|
675
|
+
NL: "NL";
|
|
676
|
+
NZ: "NZ";
|
|
677
|
+
NI: "NI";
|
|
678
|
+
NE: "NE";
|
|
679
|
+
NG: "NG";
|
|
680
|
+
NU: "NU";
|
|
681
|
+
NF: "NF";
|
|
682
|
+
KP: "KP";
|
|
683
|
+
NO: "NO";
|
|
684
|
+
OM: "OM";
|
|
685
|
+
PK: "PK";
|
|
686
|
+
PS: "PS";
|
|
687
|
+
PA: "PA";
|
|
688
|
+
PG: "PG";
|
|
689
|
+
PY: "PY";
|
|
690
|
+
PE: "PE";
|
|
691
|
+
PH: "PH";
|
|
692
|
+
PL: "PL";
|
|
693
|
+
PT: "PT";
|
|
694
|
+
PR: "PR";
|
|
695
|
+
QA: "QA";
|
|
696
|
+
CG: "CG";
|
|
697
|
+
RE: "RE";
|
|
698
|
+
RO: "RO";
|
|
699
|
+
RU: "RU";
|
|
700
|
+
RW: "RW";
|
|
701
|
+
BL: "BL";
|
|
702
|
+
KN: "KN";
|
|
703
|
+
LC: "LC";
|
|
704
|
+
MF: "MF";
|
|
705
|
+
VC: "VC";
|
|
706
|
+
WS: "WS";
|
|
707
|
+
SM: "SM";
|
|
708
|
+
SA: "SA";
|
|
709
|
+
SN: "SN";
|
|
710
|
+
RS: "RS";
|
|
711
|
+
SC: "SC";
|
|
712
|
+
SL: "SL";
|
|
713
|
+
SG: "SG";
|
|
714
|
+
SX: "SX";
|
|
715
|
+
SK: "SK";
|
|
716
|
+
SI: "SI";
|
|
717
|
+
SO: "SO";
|
|
718
|
+
ZA: "ZA";
|
|
719
|
+
KR: "KR";
|
|
720
|
+
SS: "SS";
|
|
721
|
+
ES: "ES";
|
|
722
|
+
LK: "LK";
|
|
723
|
+
SD: "SD";
|
|
724
|
+
SR: "SR";
|
|
725
|
+
SJ: "SJ";
|
|
726
|
+
SZ: "SZ";
|
|
727
|
+
SE: "SE";
|
|
728
|
+
CH: "CH";
|
|
729
|
+
TW: "TW";
|
|
730
|
+
TJ: "TJ";
|
|
731
|
+
TZ: "TZ";
|
|
732
|
+
TH: "TH";
|
|
733
|
+
TG: "TG";
|
|
734
|
+
TO: "TO";
|
|
735
|
+
TT: "TT";
|
|
736
|
+
TN: "TN";
|
|
737
|
+
TR: "TR";
|
|
738
|
+
TM: "TM";
|
|
739
|
+
UM: "UM";
|
|
740
|
+
VI: "VI";
|
|
741
|
+
UG: "UG";
|
|
742
|
+
UA: "UA";
|
|
743
|
+
AE: "AE";
|
|
744
|
+
GB: "GB";
|
|
745
|
+
UZ: "UZ";
|
|
746
|
+
VU: "VU";
|
|
747
|
+
VE: "VE";
|
|
748
|
+
VN: "VN";
|
|
749
|
+
WF: "WF";
|
|
750
|
+
EH: "EH";
|
|
751
|
+
YE: "YE";
|
|
752
|
+
ZM: "ZM";
|
|
753
|
+
ZW: "ZW";
|
|
754
|
+
}>>;
|
|
755
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
756
|
+
sortCode: z.ZodOptional<z.ZodString>;
|
|
757
|
+
clabe: z.ZodOptional<z.ZodString>;
|
|
758
|
+
bsb: z.ZodOptional<z.ZodString>;
|
|
759
|
+
brBankNumber: z.ZodOptional<z.ZodString>;
|
|
490
760
|
}, z.core.$strip>>;
|
|
491
761
|
debtor: z.ZodOptional<z.ZodObject<{
|
|
492
762
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -544,6 +814,278 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
544
814
|
address: z.ZodOptional<z.ZodString>;
|
|
545
815
|
swiftBic: z.ZodOptional<z.ZodString>;
|
|
546
816
|
bicCor: z.ZodOptional<z.ZodString>;
|
|
817
|
+
currency: z.ZodOptional<z.ZodEnum<{
|
|
818
|
+
CZK: "CZK";
|
|
819
|
+
EUR: "EUR";
|
|
820
|
+
USD: "USD";
|
|
821
|
+
PLN: "PLN";
|
|
822
|
+
RON: "RON";
|
|
823
|
+
GBP: "GBP";
|
|
824
|
+
RUB: "RUB";
|
|
825
|
+
HUF: "HUF";
|
|
826
|
+
CHF: "CHF";
|
|
827
|
+
DKK: "DKK";
|
|
828
|
+
SEK: "SEK";
|
|
829
|
+
HRK: "HRK";
|
|
830
|
+
NOK: "NOK";
|
|
831
|
+
BGN: "BGN";
|
|
832
|
+
TRY: "TRY";
|
|
833
|
+
AUD: "AUD";
|
|
834
|
+
CAD: "CAD";
|
|
835
|
+
JPY: "JPY";
|
|
836
|
+
CNY: "CNY";
|
|
837
|
+
INR: "INR";
|
|
838
|
+
BRL: "BRL";
|
|
839
|
+
MXN: "MXN";
|
|
840
|
+
ZAR: "ZAR";
|
|
841
|
+
SGD: "SGD";
|
|
842
|
+
HKD: "HKD";
|
|
843
|
+
KRW: "KRW";
|
|
844
|
+
MYR: "MYR";
|
|
845
|
+
THB: "THB";
|
|
846
|
+
IDR: "IDR";
|
|
847
|
+
PHP: "PHP";
|
|
848
|
+
AED: "AED";
|
|
849
|
+
SAR: "SAR";
|
|
850
|
+
ILS: "ILS";
|
|
851
|
+
EGP: "EGP";
|
|
852
|
+
NGN: "NGN";
|
|
853
|
+
PKR: "PKR";
|
|
854
|
+
COP: "COP";
|
|
855
|
+
CLP: "CLP";
|
|
856
|
+
PEN: "PEN";
|
|
857
|
+
VND: "VND";
|
|
858
|
+
KZT: "KZT";
|
|
859
|
+
UAH: "UAH";
|
|
860
|
+
BTC: "BTC";
|
|
861
|
+
ETH: "ETH";
|
|
862
|
+
ADA: "ADA";
|
|
863
|
+
DOT: "DOT";
|
|
864
|
+
ATOM: "ATOM";
|
|
865
|
+
XRP: "XRP";
|
|
866
|
+
LTC: "LTC";
|
|
867
|
+
SOL: "SOL";
|
|
868
|
+
DOGE: "DOGE";
|
|
869
|
+
MATIC: "MATIC";
|
|
870
|
+
AVAX: "AVAX";
|
|
871
|
+
}>>;
|
|
872
|
+
country: z.ZodOptional<z.ZodEnum<{
|
|
873
|
+
EC: "EC";
|
|
874
|
+
AF: "AF";
|
|
875
|
+
AL: "AL";
|
|
876
|
+
DZ: "DZ";
|
|
877
|
+
AS: "AS";
|
|
878
|
+
AD: "AD";
|
|
879
|
+
AO: "AO";
|
|
880
|
+
AG: "AG";
|
|
881
|
+
AR: "AR";
|
|
882
|
+
AM: "AM";
|
|
883
|
+
AW: "AW";
|
|
884
|
+
AU: "AU";
|
|
885
|
+
AT: "AT";
|
|
886
|
+
AZ: "AZ";
|
|
887
|
+
BS: "BS";
|
|
888
|
+
BH: "BH";
|
|
889
|
+
BD: "BD";
|
|
890
|
+
BB: "BB";
|
|
891
|
+
BY: "BY";
|
|
892
|
+
BE: "BE";
|
|
893
|
+
BZ: "BZ";
|
|
894
|
+
BJ: "BJ";
|
|
895
|
+
BO: "BO";
|
|
896
|
+
BQ: "BQ";
|
|
897
|
+
BA: "BA";
|
|
898
|
+
BW: "BW";
|
|
899
|
+
BR: "BR";
|
|
900
|
+
IO: "IO";
|
|
901
|
+
VG: "VG";
|
|
902
|
+
BG: "BG";
|
|
903
|
+
BF: "BF";
|
|
904
|
+
BI: "BI";
|
|
905
|
+
KH: "KH";
|
|
906
|
+
CM: "CM";
|
|
907
|
+
CA: "CA";
|
|
908
|
+
CV: "CV";
|
|
909
|
+
CF: "CF";
|
|
910
|
+
TD: "TD";
|
|
911
|
+
CL: "CL";
|
|
912
|
+
CN: "CN";
|
|
913
|
+
CO: "CO";
|
|
914
|
+
KM: "KM";
|
|
915
|
+
CK: "CK";
|
|
916
|
+
CR: "CR";
|
|
917
|
+
HR: "HR";
|
|
918
|
+
CW: "CW";
|
|
919
|
+
CY: "CY";
|
|
920
|
+
CZ: "CZ";
|
|
921
|
+
CD: "CD";
|
|
922
|
+
DK: "DK";
|
|
923
|
+
DJ: "DJ";
|
|
924
|
+
DM: "DM";
|
|
925
|
+
DO: "DO";
|
|
926
|
+
TL: "TL";
|
|
927
|
+
EG: "EG";
|
|
928
|
+
SV: "SV";
|
|
929
|
+
GQ: "GQ";
|
|
930
|
+
ER: "ER";
|
|
931
|
+
EE: "EE";
|
|
932
|
+
ET: "ET";
|
|
933
|
+
FO: "FO";
|
|
934
|
+
FJ: "FJ";
|
|
935
|
+
FI: "FI";
|
|
936
|
+
FR: "FR";
|
|
937
|
+
GF: "GF";
|
|
938
|
+
PF: "PF";
|
|
939
|
+
GA: "GA";
|
|
940
|
+
GM: "GM";
|
|
941
|
+
GE: "GE";
|
|
942
|
+
DE: "DE";
|
|
943
|
+
GH: "GH";
|
|
944
|
+
GR: "GR";
|
|
945
|
+
GD: "GD";
|
|
946
|
+
GP: "GP";
|
|
947
|
+
GU: "GU";
|
|
948
|
+
GT: "GT";
|
|
949
|
+
GN: "GN";
|
|
950
|
+
GW: "GW";
|
|
951
|
+
GY: "GY";
|
|
952
|
+
HT: "HT";
|
|
953
|
+
HN: "HN";
|
|
954
|
+
HU: "HU";
|
|
955
|
+
IS: "IS";
|
|
956
|
+
IN: "IN";
|
|
957
|
+
ID: "ID";
|
|
958
|
+
IR: "IR";
|
|
959
|
+
IQ: "IQ";
|
|
960
|
+
IE: "IE";
|
|
961
|
+
IM: "IM";
|
|
962
|
+
IL: "IL";
|
|
963
|
+
IT: "IT";
|
|
964
|
+
CI: "CI";
|
|
965
|
+
JM: "JM";
|
|
966
|
+
JP: "JP";
|
|
967
|
+
JE: "JE";
|
|
968
|
+
JO: "JO";
|
|
969
|
+
KZ: "KZ";
|
|
970
|
+
KE: "KE";
|
|
971
|
+
KI: "KI";
|
|
972
|
+
XK: "XK";
|
|
973
|
+
KW: "KW";
|
|
974
|
+
KG: "KG";
|
|
975
|
+
LA: "LA";
|
|
976
|
+
LV: "LV";
|
|
977
|
+
LB: "LB";
|
|
978
|
+
LS: "LS";
|
|
979
|
+
LR: "LR";
|
|
980
|
+
LI: "LI";
|
|
981
|
+
LT: "LT";
|
|
982
|
+
LU: "LU";
|
|
983
|
+
MK: "MK";
|
|
984
|
+
MG: "MG";
|
|
985
|
+
MW: "MW";
|
|
986
|
+
MY: "MY";
|
|
987
|
+
MV: "MV";
|
|
988
|
+
ML: "ML";
|
|
989
|
+
MT: "MT";
|
|
990
|
+
MQ: "MQ";
|
|
991
|
+
MR: "MR";
|
|
992
|
+
MU: "MU";
|
|
993
|
+
MX: "MX";
|
|
994
|
+
FM: "FM";
|
|
995
|
+
MD: "MD";
|
|
996
|
+
MC: "MC";
|
|
997
|
+
MN: "MN";
|
|
998
|
+
ME: "ME";
|
|
999
|
+
MS: "MS";
|
|
1000
|
+
MA: "MA";
|
|
1001
|
+
MZ: "MZ";
|
|
1002
|
+
NA: "NA";
|
|
1003
|
+
NP: "NP";
|
|
1004
|
+
NL: "NL";
|
|
1005
|
+
NZ: "NZ";
|
|
1006
|
+
NI: "NI";
|
|
1007
|
+
NE: "NE";
|
|
1008
|
+
NG: "NG";
|
|
1009
|
+
NU: "NU";
|
|
1010
|
+
NF: "NF";
|
|
1011
|
+
KP: "KP";
|
|
1012
|
+
NO: "NO";
|
|
1013
|
+
OM: "OM";
|
|
1014
|
+
PK: "PK";
|
|
1015
|
+
PS: "PS";
|
|
1016
|
+
PA: "PA";
|
|
1017
|
+
PG: "PG";
|
|
1018
|
+
PY: "PY";
|
|
1019
|
+
PE: "PE";
|
|
1020
|
+
PH: "PH";
|
|
1021
|
+
PL: "PL";
|
|
1022
|
+
PT: "PT";
|
|
1023
|
+
PR: "PR";
|
|
1024
|
+
QA: "QA";
|
|
1025
|
+
CG: "CG";
|
|
1026
|
+
RE: "RE";
|
|
1027
|
+
RO: "RO";
|
|
1028
|
+
RU: "RU";
|
|
1029
|
+
RW: "RW";
|
|
1030
|
+
BL: "BL";
|
|
1031
|
+
KN: "KN";
|
|
1032
|
+
LC: "LC";
|
|
1033
|
+
MF: "MF";
|
|
1034
|
+
VC: "VC";
|
|
1035
|
+
WS: "WS";
|
|
1036
|
+
SM: "SM";
|
|
1037
|
+
SA: "SA";
|
|
1038
|
+
SN: "SN";
|
|
1039
|
+
RS: "RS";
|
|
1040
|
+
SC: "SC";
|
|
1041
|
+
SL: "SL";
|
|
1042
|
+
SG: "SG";
|
|
1043
|
+
SX: "SX";
|
|
1044
|
+
SK: "SK";
|
|
1045
|
+
SI: "SI";
|
|
1046
|
+
SO: "SO";
|
|
1047
|
+
ZA: "ZA";
|
|
1048
|
+
KR: "KR";
|
|
1049
|
+
SS: "SS";
|
|
1050
|
+
ES: "ES";
|
|
1051
|
+
LK: "LK";
|
|
1052
|
+
SD: "SD";
|
|
1053
|
+
SR: "SR";
|
|
1054
|
+
SJ: "SJ";
|
|
1055
|
+
SZ: "SZ";
|
|
1056
|
+
SE: "SE";
|
|
1057
|
+
CH: "CH";
|
|
1058
|
+
TW: "TW";
|
|
1059
|
+
TJ: "TJ";
|
|
1060
|
+
TZ: "TZ";
|
|
1061
|
+
TH: "TH";
|
|
1062
|
+
TG: "TG";
|
|
1063
|
+
TO: "TO";
|
|
1064
|
+
TT: "TT";
|
|
1065
|
+
TN: "TN";
|
|
1066
|
+
TR: "TR";
|
|
1067
|
+
TM: "TM";
|
|
1068
|
+
UM: "UM";
|
|
1069
|
+
VI: "VI";
|
|
1070
|
+
UG: "UG";
|
|
1071
|
+
UA: "UA";
|
|
1072
|
+
AE: "AE";
|
|
1073
|
+
GB: "GB";
|
|
1074
|
+
UZ: "UZ";
|
|
1075
|
+
VU: "VU";
|
|
1076
|
+
VE: "VE";
|
|
1077
|
+
VN: "VN";
|
|
1078
|
+
WF: "WF";
|
|
1079
|
+
EH: "EH";
|
|
1080
|
+
YE: "YE";
|
|
1081
|
+
ZM: "ZM";
|
|
1082
|
+
ZW: "ZW";
|
|
1083
|
+
}>>;
|
|
1084
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
1085
|
+
sortCode: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
clabe: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
bsb: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
brBankNumber: z.ZodOptional<z.ZodString>;
|
|
547
1089
|
}, z.core.$strip>>;
|
|
548
1090
|
executionDate: z.ZodOptional<z.ZodString>;
|
|
549
1091
|
currency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1015,5 +1557,7 @@ interface UpdateTransactionConfirmationSentAtInput extends z.input<typeof update
|
|
|
1015
1557
|
}
|
|
1016
1558
|
type UpdateTransactionConfirmationSentAtOutput = void;
|
|
1017
1559
|
|
|
1560
|
+
declare const tables: typeof schema;
|
|
1561
|
+
|
|
1018
1562
|
export { listAccountsInputSchema as $, createAccountInputSchema as Q, createTransactionInputSchema as R, deleteAccountInputSchema as S, findAccountByIdentifierInputSchema as V, getAccountInputSchema as W, getAccountBalanceInputSchema as X, getAccountIdentifierInputSchema as Y, getAccountsByOwnerInputSchema as Z, listAccountIdentifiersInputSchema as _, updateAccountInputSchema as a0, updateTransactionInputSchema as a1, getTransactionByIdInputSchema as a2, getTransactionsByReferenceIdInputSchema as a3, getTransactionsInputSchema as a4, updateTransactionConfirmationSentAtInputSchema as a5, tables as t };
|
|
1019
1563
|
export type { UpdateTransactionConfirmationSentAtOutput as A, InferResultType as B, CreateTransactionInput as C, DeleteAccountInput as D, AccountSelectType as E, FindAccountByIdentifierInput as F, GetTransactionByIdInput as G, AccountInsertType as H, IncludeRelation as I, AccountIdentifierSelectType as J, AccountIdentifierInsertType as K, ListAccountsInput as L, AccountIdentifierMappingSelectType as M, AccountIdentifierMappingInsertType as N, TransactionInsertType as O, AccountWithIdentifiersSelectType as P, TransactionSelectType as T, UpdateTransactionInput as U, CreateTransactionOutput as a, UpdateTransactionOutput as b, GetTransactionByIdOutput as c, GetTransactionsByIdReferenceInput as d, GetTransactionsByReferenceIdOutput as e, GetTransactionsInput as f, GetTransactionsOutput as g, CreateAccountInput as h, CreateAccountOutput as i, UpdateAccountInput as j, UpdateAccountOutput as k, DeleteAccountOutput as l, GetAccountInput as m, GetAccountOutput as n, GetAccountsByOwnerInput as o, GetAccountsByOwnerOutput as p, ListAccountsOutput as q, GetAccountIdentifierInput as r, GetAccountIdentifierOutput as s, ListAccountIdentifiersInput as u, ListAccountIdentifiersOutput as v, FindAccountByIdentifierOutput as w, GetAccountBalanceInput as x, GetAccountBalanceOutput as y, UpdateTransactionConfirmationSentAtInput as z };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, m as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.
|
|
1
|
+
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, m as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.BEYBX0jI.cjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.Dif5Euam.cjs';
|
|
3
|
+
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.Dif5Euam.cjs';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.cjs';
|
|
5
|
+
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
6
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
7
|
import 'drizzle-orm';
|
|
7
8
|
import 'drizzle-orm/sqlite-core';
|
|
8
|
-
import '@develit-io/backend-sdk';
|
|
9
9
|
import 'zod';
|
|
10
10
|
|
|
11
11
|
declare const ALLOWED_TRANSACTION_FILTERS: {
|
|
@@ -29,16 +29,12 @@ interface LedgerEntry {
|
|
|
29
29
|
interface LedgerDeposit {
|
|
30
30
|
entries: LedgerEntry[];
|
|
31
31
|
}
|
|
32
|
+
|
|
32
33
|
type LedgerTransactionEvent = BaseEvent & {
|
|
33
34
|
eventType: 'LEDGER_TRANSACTION';
|
|
35
|
+
eventSignal: 'created' | 'matched' | 'failed';
|
|
34
36
|
ledgerTransaction: TransactionSelectType;
|
|
35
37
|
};
|
|
36
|
-
interface BaseEvent {
|
|
37
|
-
metadata: {
|
|
38
|
-
timestamp: string;
|
|
39
|
-
correlationId: string;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
38
|
|
|
43
39
|
export { ALLOWED_TRANSACTION_FILTERS, TransactionSelectType };
|
|
44
40
|
export type { LedgerDeposit, LedgerEntry, LedgerTransactionEvent };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, m as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.
|
|
1
|
+
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, m as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.BEYBX0jI.mjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.BMjN2CMY.mjs';
|
|
3
|
+
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.BMjN2CMY.mjs';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.mjs';
|
|
5
|
+
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
5
6
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
7
|
import 'drizzle-orm';
|
|
7
8
|
import 'drizzle-orm/sqlite-core';
|
|
8
|
-
import '@develit-io/backend-sdk';
|
|
9
9
|
import 'zod';
|
|
10
10
|
|
|
11
11
|
declare const ALLOWED_TRANSACTION_FILTERS: {
|
|
@@ -29,16 +29,12 @@ interface LedgerEntry {
|
|
|
29
29
|
interface LedgerDeposit {
|
|
30
30
|
entries: LedgerEntry[];
|
|
31
31
|
}
|
|
32
|
+
|
|
32
33
|
type LedgerTransactionEvent = BaseEvent & {
|
|
33
34
|
eventType: 'LEDGER_TRANSACTION';
|
|
35
|
+
eventSignal: 'created' | 'matched' | 'failed';
|
|
34
36
|
ledgerTransaction: TransactionSelectType;
|
|
35
37
|
};
|
|
36
|
-
interface BaseEvent {
|
|
37
|
-
metadata: {
|
|
38
|
-
timestamp: string;
|
|
39
|
-
correlationId: string;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
38
|
|
|
43
39
|
export { ALLOWED_TRANSACTION_FILTERS, TransactionSelectType };
|
|
44
40
|
export type { LedgerDeposit, LedgerEntry, LedgerTransactionEvent };
|