@be-logixpair/api 0.0.8 → 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/index.d.ts +228 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -536,14 +536,61 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
536
536
|
ids_string_exclude?: string[] | null | undefined;
|
|
537
537
|
logic_codes_include?: string[] | null | undefined;
|
|
538
538
|
logic_codes_exclude?: string[] | null | undefined;
|
|
539
|
+
id_country?: number | null | undefined;
|
|
540
|
+
ids_country?: number[] | null | undefined;
|
|
541
|
+
id_state?: number | null | undefined;
|
|
542
|
+
ids_state?: number[] | null | undefined;
|
|
543
|
+
id_city?: number | null | undefined;
|
|
544
|
+
ids_city?: number[] | null | undefined;
|
|
539
545
|
};
|
|
540
546
|
output: {
|
|
541
|
-
data: {
|
|
547
|
+
data: ({
|
|
548
|
+
country: {
|
|
549
|
+
id: number;
|
|
550
|
+
name: string | null;
|
|
551
|
+
is_active: boolean | null;
|
|
552
|
+
created_at: Date | null;
|
|
553
|
+
created_by: string | null;
|
|
554
|
+
updated_at: Date | null;
|
|
555
|
+
updated_by: string | null;
|
|
556
|
+
logic_code: string | null;
|
|
557
|
+
id_currency: number | null;
|
|
558
|
+
iso2_code: string | null;
|
|
559
|
+
iso3_code: string | null;
|
|
560
|
+
iso3_numeric: string | null;
|
|
561
|
+
is_sanctioned: boolean | null;
|
|
562
|
+
} | null;
|
|
563
|
+
state: {
|
|
564
|
+
id: number;
|
|
565
|
+
name: string | null;
|
|
566
|
+
is_active: boolean | null;
|
|
567
|
+
id_country: number | null;
|
|
568
|
+
code: string | null;
|
|
569
|
+
created_at: Date | null;
|
|
570
|
+
created_by: string | null;
|
|
571
|
+
updated_at: Date | null;
|
|
572
|
+
updated_by: string | null;
|
|
573
|
+
logic_code: string | null;
|
|
574
|
+
} | null;
|
|
575
|
+
city: {
|
|
576
|
+
id: number;
|
|
577
|
+
name: string | null;
|
|
578
|
+
is_active: boolean | null;
|
|
579
|
+
id_country: number | null;
|
|
580
|
+
id_state: number | null;
|
|
581
|
+
code: string | null;
|
|
582
|
+
created_at: Date | null;
|
|
583
|
+
created_by: string | null;
|
|
584
|
+
updated_at: Date | null;
|
|
585
|
+
updated_by: string | null;
|
|
586
|
+
logic_code: string | null;
|
|
587
|
+
} | null;
|
|
588
|
+
} & {
|
|
542
589
|
id: number;
|
|
543
590
|
is_active: boolean | null;
|
|
544
|
-
id_city: number | null;
|
|
545
591
|
id_country: number | null;
|
|
546
592
|
id_state: number | null;
|
|
593
|
+
id_city: number | null;
|
|
547
594
|
created_at: Date | null;
|
|
548
595
|
created_by: string | null;
|
|
549
596
|
updated_at: Date | null;
|
|
@@ -569,7 +616,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
569
616
|
has_discharge: boolean | null;
|
|
570
617
|
has_seaport: boolean | null;
|
|
571
618
|
has_outport: boolean | null;
|
|
572
|
-
}[] | undefined;
|
|
619
|
+
})[] | undefined;
|
|
573
620
|
total: number | undefined;
|
|
574
621
|
};
|
|
575
622
|
meta: object;
|
|
@@ -581,11 +628,89 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
581
628
|
};
|
|
582
629
|
output: {
|
|
583
630
|
data: {
|
|
631
|
+
_count: {
|
|
632
|
+
country: number;
|
|
633
|
+
state: number;
|
|
634
|
+
city: number;
|
|
635
|
+
local_codes: number;
|
|
636
|
+
un_locode_logs: number;
|
|
637
|
+
branches: number;
|
|
638
|
+
companies: number;
|
|
639
|
+
airlines: number;
|
|
640
|
+
shipping_lines: number;
|
|
641
|
+
forwarding_booking_origins: number;
|
|
642
|
+
forwarding_booking_destinations: number;
|
|
643
|
+
forwarding_shipment_origins: number;
|
|
644
|
+
forwarding_shipment_destinations: number;
|
|
645
|
+
forwarding_console_first_loads: number;
|
|
646
|
+
forwarding_console_last_discharges: number;
|
|
647
|
+
forwarding_console_routing_loads: number;
|
|
648
|
+
forwarding_console_routing_discharges: number;
|
|
649
|
+
};
|
|
650
|
+
country: ({
|
|
651
|
+
currency: {
|
|
652
|
+
symbol: string | null;
|
|
653
|
+
id: number;
|
|
654
|
+
name: string | null;
|
|
655
|
+
is_active: boolean | null;
|
|
656
|
+
created_at: Date | null;
|
|
657
|
+
created_by: string | null;
|
|
658
|
+
updated_at: Date | null;
|
|
659
|
+
updated_by: string | null;
|
|
660
|
+
logic_code: string | null;
|
|
661
|
+
currency_code: string | null;
|
|
662
|
+
currency_name: string | null;
|
|
663
|
+
major_unit: string | null;
|
|
664
|
+
minor_unit: string | null;
|
|
665
|
+
decimal_unit: number | null;
|
|
666
|
+
iso_decimal: number | null;
|
|
667
|
+
} | null;
|
|
668
|
+
} & {
|
|
669
|
+
id: number;
|
|
670
|
+
name: string | null;
|
|
671
|
+
is_active: boolean | null;
|
|
672
|
+
created_at: Date | null;
|
|
673
|
+
created_by: string | null;
|
|
674
|
+
updated_at: Date | null;
|
|
675
|
+
updated_by: string | null;
|
|
676
|
+
logic_code: string | null;
|
|
677
|
+
id_currency: number | null;
|
|
678
|
+
iso2_code: string | null;
|
|
679
|
+
iso3_code: string | null;
|
|
680
|
+
iso3_numeric: string | null;
|
|
681
|
+
is_sanctioned: boolean | null;
|
|
682
|
+
}) | null;
|
|
683
|
+
state: {
|
|
684
|
+
id: number;
|
|
685
|
+
name: string | null;
|
|
686
|
+
is_active: boolean | null;
|
|
687
|
+
id_country: number | null;
|
|
688
|
+
code: string | null;
|
|
689
|
+
created_at: Date | null;
|
|
690
|
+
created_by: string | null;
|
|
691
|
+
updated_at: Date | null;
|
|
692
|
+
updated_by: string | null;
|
|
693
|
+
logic_code: string | null;
|
|
694
|
+
} | null;
|
|
695
|
+
city: {
|
|
696
|
+
id: number;
|
|
697
|
+
name: string | null;
|
|
698
|
+
is_active: boolean | null;
|
|
699
|
+
id_country: number | null;
|
|
700
|
+
id_state: number | null;
|
|
701
|
+
code: string | null;
|
|
702
|
+
created_at: Date | null;
|
|
703
|
+
created_by: string | null;
|
|
704
|
+
updated_at: Date | null;
|
|
705
|
+
updated_by: string | null;
|
|
706
|
+
logic_code: string | null;
|
|
707
|
+
} | null;
|
|
708
|
+
} & {
|
|
584
709
|
id: number;
|
|
585
710
|
is_active: boolean | null;
|
|
586
|
-
id_city: number | null;
|
|
587
711
|
id_country: number | null;
|
|
588
712
|
id_state: number | null;
|
|
713
|
+
id_city: number | null;
|
|
589
714
|
created_at: Date | null;
|
|
590
715
|
created_by: string | null;
|
|
591
716
|
updated_at: Date | null;
|
|
@@ -727,9 +852,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
727
852
|
data: {
|
|
728
853
|
id: number;
|
|
729
854
|
is_active: boolean | null;
|
|
730
|
-
id_city: number | null;
|
|
731
855
|
id_country: number | null;
|
|
732
856
|
id_state: number | null;
|
|
857
|
+
id_city: number | null;
|
|
733
858
|
created_at: Date | null;
|
|
734
859
|
created_by: string | null;
|
|
735
860
|
updated_at: Date | null;
|
|
@@ -804,9 +929,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
804
929
|
data: {
|
|
805
930
|
id: number;
|
|
806
931
|
is_active: boolean | null;
|
|
807
|
-
id_city: number | null;
|
|
808
932
|
id_country: number | null;
|
|
809
933
|
id_state: number | null;
|
|
934
|
+
id_city: number | null;
|
|
810
935
|
created_at: Date | null;
|
|
811
936
|
created_by: string | null;
|
|
812
937
|
updated_at: Date | null;
|
|
@@ -858,9 +983,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
858
983
|
data: ({
|
|
859
984
|
id: number;
|
|
860
985
|
is_active: boolean | null;
|
|
861
|
-
id_city: number | null;
|
|
862
986
|
id_country: number | null;
|
|
863
987
|
id_state: number | null;
|
|
988
|
+
id_city: number | null;
|
|
864
989
|
created_at: Date | null;
|
|
865
990
|
created_by: string | null;
|
|
866
991
|
updated_at: Date | null;
|
|
@@ -909,9 +1034,29 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
909
1034
|
ids_string_exclude?: string[] | null | undefined;
|
|
910
1035
|
logic_codes_include?: string[] | null | undefined;
|
|
911
1036
|
logic_codes_exclude?: string[] | null | undefined;
|
|
1037
|
+
id_currency?: number | null | undefined;
|
|
1038
|
+
ids_currency?: number[] | null | undefined;
|
|
912
1039
|
};
|
|
913
1040
|
output: {
|
|
914
|
-
data: {
|
|
1041
|
+
data: ({
|
|
1042
|
+
currency: {
|
|
1043
|
+
symbol: string | null;
|
|
1044
|
+
id: number;
|
|
1045
|
+
name: string | null;
|
|
1046
|
+
is_active: boolean | null;
|
|
1047
|
+
created_at: Date | null;
|
|
1048
|
+
created_by: string | null;
|
|
1049
|
+
updated_at: Date | null;
|
|
1050
|
+
updated_by: string | null;
|
|
1051
|
+
logic_code: string | null;
|
|
1052
|
+
currency_code: string | null;
|
|
1053
|
+
currency_name: string | null;
|
|
1054
|
+
major_unit: string | null;
|
|
1055
|
+
minor_unit: string | null;
|
|
1056
|
+
decimal_unit: number | null;
|
|
1057
|
+
iso_decimal: number | null;
|
|
1058
|
+
} | null;
|
|
1059
|
+
} & {
|
|
915
1060
|
id: number;
|
|
916
1061
|
name: string | null;
|
|
917
1062
|
is_active: boolean | null;
|
|
@@ -925,7 +1070,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
925
1070
|
iso3_code: string | null;
|
|
926
1071
|
iso3_numeric: string | null;
|
|
927
1072
|
is_sanctioned: boolean | null;
|
|
928
|
-
}[] | undefined;
|
|
1073
|
+
})[] | undefined;
|
|
929
1074
|
total: number | undefined;
|
|
930
1075
|
};
|
|
931
1076
|
meta: object;
|
|
@@ -1198,9 +1343,27 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1198
1343
|
ids_string_exclude?: string[] | null | undefined;
|
|
1199
1344
|
logic_codes_include?: string[] | null | undefined;
|
|
1200
1345
|
logic_codes_exclude?: string[] | null | undefined;
|
|
1346
|
+
id_country?: number | null | undefined;
|
|
1347
|
+
ids_country?: number[] | null | undefined;
|
|
1201
1348
|
};
|
|
1202
1349
|
output: {
|
|
1203
|
-
data: {
|
|
1350
|
+
data: ({
|
|
1351
|
+
country: {
|
|
1352
|
+
id: number;
|
|
1353
|
+
name: string | null;
|
|
1354
|
+
is_active: boolean | null;
|
|
1355
|
+
created_at: Date | null;
|
|
1356
|
+
created_by: string | null;
|
|
1357
|
+
updated_at: Date | null;
|
|
1358
|
+
updated_by: string | null;
|
|
1359
|
+
logic_code: string | null;
|
|
1360
|
+
id_currency: number | null;
|
|
1361
|
+
iso2_code: string | null;
|
|
1362
|
+
iso3_code: string | null;
|
|
1363
|
+
iso3_numeric: string | null;
|
|
1364
|
+
is_sanctioned: boolean | null;
|
|
1365
|
+
} | null;
|
|
1366
|
+
} & {
|
|
1204
1367
|
id: number;
|
|
1205
1368
|
name: string | null;
|
|
1206
1369
|
is_active: boolean | null;
|
|
@@ -1211,7 +1374,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1211
1374
|
updated_at: Date | null;
|
|
1212
1375
|
updated_by: string | null;
|
|
1213
1376
|
logic_code: string | null;
|
|
1214
|
-
}[] | undefined;
|
|
1377
|
+
})[] | undefined;
|
|
1215
1378
|
total: number | undefined;
|
|
1216
1379
|
};
|
|
1217
1380
|
meta: object;
|
|
@@ -1474,9 +1637,41 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1474
1637
|
ids_string_exclude?: string[] | null | undefined;
|
|
1475
1638
|
logic_codes_include?: string[] | null | undefined;
|
|
1476
1639
|
logic_codes_exclude?: string[] | null | undefined;
|
|
1640
|
+
id_country?: number | null | undefined;
|
|
1641
|
+
ids_country?: number[] | null | undefined;
|
|
1642
|
+
id_state?: number | null | undefined;
|
|
1643
|
+
ids_state?: number[] | null | undefined;
|
|
1477
1644
|
};
|
|
1478
1645
|
output: {
|
|
1479
|
-
data: {
|
|
1646
|
+
data: ({
|
|
1647
|
+
country: {
|
|
1648
|
+
id: number;
|
|
1649
|
+
name: string | null;
|
|
1650
|
+
is_active: boolean | null;
|
|
1651
|
+
created_at: Date | null;
|
|
1652
|
+
created_by: string | null;
|
|
1653
|
+
updated_at: Date | null;
|
|
1654
|
+
updated_by: string | null;
|
|
1655
|
+
logic_code: string | null;
|
|
1656
|
+
id_currency: number | null;
|
|
1657
|
+
iso2_code: string | null;
|
|
1658
|
+
iso3_code: string | null;
|
|
1659
|
+
iso3_numeric: string | null;
|
|
1660
|
+
is_sanctioned: boolean | null;
|
|
1661
|
+
} | null;
|
|
1662
|
+
state: {
|
|
1663
|
+
id: number;
|
|
1664
|
+
name: string | null;
|
|
1665
|
+
is_active: boolean | null;
|
|
1666
|
+
id_country: number | null;
|
|
1667
|
+
code: string | null;
|
|
1668
|
+
created_at: Date | null;
|
|
1669
|
+
created_by: string | null;
|
|
1670
|
+
updated_at: Date | null;
|
|
1671
|
+
updated_by: string | null;
|
|
1672
|
+
logic_code: string | null;
|
|
1673
|
+
} | null;
|
|
1674
|
+
} & {
|
|
1480
1675
|
id: number;
|
|
1481
1676
|
name: string | null;
|
|
1482
1677
|
is_active: boolean | null;
|
|
@@ -1488,7 +1683,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1488
1683
|
updated_at: Date | null;
|
|
1489
1684
|
updated_by: string | null;
|
|
1490
1685
|
logic_code: string | null;
|
|
1491
|
-
}[] | undefined;
|
|
1686
|
+
})[] | undefined;
|
|
1492
1687
|
total: number | undefined;
|
|
1493
1688
|
};
|
|
1494
1689
|
meta: object;
|
|
@@ -1769,9 +1964,27 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1769
1964
|
ids_string_exclude?: string[] | null | undefined;
|
|
1770
1965
|
logic_codes_include?: string[] | null | undefined;
|
|
1771
1966
|
logic_codes_exclude?: string[] | null | undefined;
|
|
1967
|
+
id_country?: number | null | undefined;
|
|
1968
|
+
ids_country?: number[] | null | undefined;
|
|
1772
1969
|
};
|
|
1773
1970
|
output: {
|
|
1774
|
-
data: {
|
|
1971
|
+
data: ({
|
|
1972
|
+
country: {
|
|
1973
|
+
id: number;
|
|
1974
|
+
name: string | null;
|
|
1975
|
+
is_active: boolean | null;
|
|
1976
|
+
created_at: Date | null;
|
|
1977
|
+
created_by: string | null;
|
|
1978
|
+
updated_at: Date | null;
|
|
1979
|
+
updated_by: string | null;
|
|
1980
|
+
logic_code: string | null;
|
|
1981
|
+
id_currency: number | null;
|
|
1982
|
+
iso2_code: string | null;
|
|
1983
|
+
iso3_code: string | null;
|
|
1984
|
+
iso3_numeric: string | null;
|
|
1985
|
+
is_sanctioned: boolean | null;
|
|
1986
|
+
} | null;
|
|
1987
|
+
} & {
|
|
1775
1988
|
id: number;
|
|
1776
1989
|
is_active: boolean | null;
|
|
1777
1990
|
id_country: number | null;
|
|
@@ -1781,7 +1994,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1781
1994
|
updated_at: Date | null;
|
|
1782
1995
|
updated_by: string | null;
|
|
1783
1996
|
logic_code: string | null;
|
|
1784
|
-
}[] | undefined;
|
|
1997
|
+
})[] | undefined;
|
|
1785
1998
|
total: number | undefined;
|
|
1786
1999
|
};
|
|
1787
2000
|
meta: object;
|