@be-logixpair/api 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +465 -78
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -308,7 +308,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
308
308
  minor_unit: string | null;
309
309
  decimal_unit: number | null;
310
310
  iso_decimal: number | null;
311
- } | undefined;
311
+ };
312
312
  };
313
313
  meta: object;
314
314
  }>;
@@ -336,7 +336,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
336
336
  ids_currency?: number[] | null | undefined;
337
337
  };
338
338
  output: {
339
- data: ({
339
+ data: {
340
+ params: Record<string, unknown>;
340
341
  log_type: {
341
342
  id: number;
342
343
  name: string | null;
@@ -347,17 +348,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
347
348
  updated_by: string | null;
348
349
  logic_code: string | null;
349
350
  } | null;
350
- } & {
351
351
  id: number;
352
352
  url: string | null;
353
353
  id_log_type: number | null;
354
354
  action: string | null;
355
- params: JsonValue | null;
356
355
  action_by: string | null;
357
356
  action_id: string | null;
358
357
  action_at: Date | null;
359
358
  id_currency: number | null;
360
- })[] | undefined;
359
+ }[] | undefined;
361
360
  total: number | undefined;
362
361
  };
363
362
  meta: object;
@@ -368,7 +367,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
368
367
  id_string?: string | null | undefined;
369
368
  };
370
369
  output: {
371
- data: ({
370
+ data: {
371
+ params: Record<string, unknown>;
372
372
  log_type: {
373
373
  id: number;
374
374
  name: string | null;
@@ -379,17 +379,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
379
379
  updated_by: string | null;
380
380
  logic_code: string | null;
381
381
  } | null;
382
- } & {
383
382
  id: number;
384
383
  url: string | null;
385
384
  id_log_type: number | null;
386
385
  action: string | null;
387
- params: JsonValue | null;
388
386
  action_by: string | null;
389
387
  action_id: string | null;
390
388
  action_at: Date | null;
391
389
  id_currency: number | null;
392
- }) | undefined;
390
+ } | undefined;
393
391
  };
394
392
  meta: object;
395
393
  }>;
@@ -538,14 +536,61 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
538
536
  ids_string_exclude?: string[] | null | undefined;
539
537
  logic_codes_include?: string[] | null | undefined;
540
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;
541
545
  };
542
546
  output: {
543
- 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
+ } & {
544
589
  id: number;
545
590
  is_active: boolean | null;
546
- id_city: number | null;
547
591
  id_country: number | null;
548
592
  id_state: number | null;
593
+ id_city: number | null;
549
594
  created_at: Date | null;
550
595
  created_by: string | null;
551
596
  updated_at: Date | null;
@@ -571,7 +616,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
571
616
  has_discharge: boolean | null;
572
617
  has_seaport: boolean | null;
573
618
  has_outport: boolean | null;
574
- }[] | undefined;
619
+ })[] | undefined;
575
620
  total: number | undefined;
576
621
  };
577
622
  meta: object;
@@ -583,11 +628,89 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
583
628
  };
584
629
  output: {
585
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
+ } & {
586
709
  id: number;
587
710
  is_active: boolean | null;
588
- id_city: number | null;
589
711
  id_country: number | null;
590
712
  id_state: number | null;
713
+ id_city: number | null;
591
714
  created_at: Date | null;
592
715
  created_by: string | null;
593
716
  updated_at: Date | null;
@@ -613,7 +736,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
613
736
  has_discharge: boolean | null;
614
737
  has_seaport: boolean | null;
615
738
  has_outport: boolean | null;
616
- } | undefined;
739
+ };
617
740
  };
618
741
  meta: object;
619
742
  }>;
@@ -641,7 +764,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
641
764
  ids_un_locode?: number[] | null | undefined;
642
765
  };
643
766
  output: {
644
- data: ({
767
+ data: {
768
+ params: Record<string, unknown>;
645
769
  log_type: {
646
770
  id: number;
647
771
  name: string | null;
@@ -652,17 +776,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
652
776
  updated_by: string | null;
653
777
  logic_code: string | null;
654
778
  } | null;
655
- } & {
656
779
  id: number;
657
780
  url: string | null;
658
781
  id_log_type: number | null;
659
782
  action: string | null;
660
- params: JsonValue | null;
661
783
  action_by: string | null;
662
784
  action_id: string | null;
663
785
  action_at: Date | null;
664
786
  id_un_locode: number | null;
665
- })[] | undefined;
787
+ }[] | undefined;
666
788
  total: number | undefined;
667
789
  };
668
790
  meta: object;
@@ -673,7 +795,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
673
795
  id_string?: string | null | undefined;
674
796
  };
675
797
  output: {
676
- data: ({
798
+ data: {
799
+ params: Record<string, unknown>;
677
800
  log_type: {
678
801
  id: number;
679
802
  name: string | null;
@@ -684,17 +807,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
684
807
  updated_by: string | null;
685
808
  logic_code: string | null;
686
809
  } | null;
687
- } & {
688
810
  id: number;
689
811
  url: string | null;
690
812
  id_log_type: number | null;
691
813
  action: string | null;
692
- params: JsonValue | null;
693
814
  action_by: string | null;
694
815
  action_id: string | null;
695
816
  action_at: Date | null;
696
817
  id_un_locode: number | null;
697
- }) | undefined;
818
+ } | undefined;
698
819
  };
699
820
  meta: object;
700
821
  }>;
@@ -731,9 +852,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
731
852
  data: {
732
853
  id: number;
733
854
  is_active: boolean | null;
734
- id_city: number | null;
735
855
  id_country: number | null;
736
856
  id_state: number | null;
857
+ id_city: number | null;
737
858
  created_at: Date | null;
738
859
  created_by: string | null;
739
860
  updated_at: Date | null;
@@ -808,9 +929,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
808
929
  data: {
809
930
  id: number;
810
931
  is_active: boolean | null;
811
- id_city: number | null;
812
932
  id_country: number | null;
813
933
  id_state: number | null;
934
+ id_city: number | null;
814
935
  created_at: Date | null;
815
936
  created_by: string | null;
816
937
  updated_at: Date | null;
@@ -862,9 +983,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
862
983
  data: ({
863
984
  id: number;
864
985
  is_active: boolean | null;
865
- id_city: number | null;
866
986
  id_country: number | null;
867
987
  id_state: number | null;
988
+ id_city: number | null;
868
989
  created_at: Date | null;
869
990
  created_by: string | null;
870
991
  updated_at: Date | null;
@@ -913,9 +1034,29 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
913
1034
  ids_string_exclude?: string[] | null | undefined;
914
1035
  logic_codes_include?: string[] | null | undefined;
915
1036
  logic_codes_exclude?: string[] | null | undefined;
1037
+ id_currency?: number | null | undefined;
1038
+ ids_currency?: number[] | null | undefined;
916
1039
  };
917
1040
  output: {
918
- 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
+ } & {
919
1060
  id: number;
920
1061
  name: string | null;
921
1062
  is_active: boolean | null;
@@ -929,7 +1070,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
929
1070
  iso3_code: string | null;
930
1071
  iso3_numeric: string | null;
931
1072
  is_sanctioned: boolean | null;
932
- }[] | undefined;
1073
+ })[] | undefined;
933
1074
  total: number | undefined;
934
1075
  };
935
1076
  meta: object;
@@ -941,6 +1082,43 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
941
1082
  };
942
1083
  output: {
943
1084
  data: {
1085
+ _count: {
1086
+ currency: number;
1087
+ un_locodes: number;
1088
+ states: number;
1089
+ cities: number;
1090
+ postal_codes: number;
1091
+ local_codes: number;
1092
+ country_logs: number;
1093
+ airlines: number;
1094
+ vessels: number;
1095
+ branches: number;
1096
+ users: number;
1097
+ bank_accounts: number;
1098
+ companies: number;
1099
+ customs_datas: number;
1100
+ forwarding_console_reference_numbers: number;
1101
+ shipping_lines: number;
1102
+ organization_forwarder_detail_handlings: number;
1103
+ };
1104
+ currency: {
1105
+ symbol: string | null;
1106
+ id: number;
1107
+ name: string | null;
1108
+ is_active: boolean | null;
1109
+ created_at: Date | null;
1110
+ created_by: string | null;
1111
+ updated_at: Date | null;
1112
+ updated_by: string | null;
1113
+ logic_code: string | null;
1114
+ currency_code: string | null;
1115
+ currency_name: string | null;
1116
+ major_unit: string | null;
1117
+ minor_unit: string | null;
1118
+ decimal_unit: number | null;
1119
+ iso_decimal: number | null;
1120
+ } | null;
1121
+ } & {
944
1122
  id: number;
945
1123
  name: string | null;
946
1124
  is_active: boolean | null;
@@ -954,7 +1132,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
954
1132
  iso3_code: string | null;
955
1133
  iso3_numeric: string | null;
956
1134
  is_sanctioned: boolean | null;
957
- } | undefined;
1135
+ };
958
1136
  };
959
1137
  meta: object;
960
1138
  }>;
@@ -982,7 +1160,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
982
1160
  ids_country?: number[] | null | undefined;
983
1161
  };
984
1162
  output: {
985
- data: ({
1163
+ data: {
1164
+ params: Record<string, unknown>;
986
1165
  log_type: {
987
1166
  id: number;
988
1167
  name: string | null;
@@ -993,17 +1172,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
993
1172
  updated_by: string | null;
994
1173
  logic_code: string | null;
995
1174
  } | null;
996
- } & {
997
1175
  id: number;
998
1176
  url: string | null;
999
1177
  id_log_type: number | null;
1000
1178
  id_country: number | null;
1001
1179
  action: string | null;
1002
- params: JsonValue | null;
1003
1180
  action_by: string | null;
1004
1181
  action_id: string | null;
1005
1182
  action_at: Date | null;
1006
- })[] | undefined;
1183
+ }[] | undefined;
1007
1184
  total: number | undefined;
1008
1185
  };
1009
1186
  meta: object;
@@ -1014,7 +1191,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1014
1191
  id_string?: string | null | undefined;
1015
1192
  };
1016
1193
  output: {
1017
- data: ({
1194
+ data: {
1195
+ params: Record<string, unknown>;
1018
1196
  log_type: {
1019
1197
  id: number;
1020
1198
  name: string | null;
@@ -1025,17 +1203,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1025
1203
  updated_by: string | null;
1026
1204
  logic_code: string | null;
1027
1205
  } | null;
1028
- } & {
1029
1206
  id: number;
1030
1207
  url: string | null;
1031
1208
  id_log_type: number | null;
1032
1209
  id_country: number | null;
1033
1210
  action: string | null;
1034
- params: JsonValue | null;
1035
1211
  action_by: string | null;
1036
1212
  action_id: string | null;
1037
1213
  action_at: Date | null;
1038
- }) | undefined;
1214
+ } | undefined;
1039
1215
  };
1040
1216
  meta: object;
1041
1217
  }>;
@@ -1167,9 +1343,27 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1343
  ids_string_exclude?: string[] | null | undefined;
1168
1344
  logic_codes_include?: string[] | null | undefined;
1169
1345
  logic_codes_exclude?: string[] | null | undefined;
1346
+ id_country?: number | null | undefined;
1347
+ ids_country?: number[] | null | undefined;
1170
1348
  };
1171
1349
  output: {
1172
- 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
+ } & {
1173
1367
  id: number;
1174
1368
  name: string | null;
1175
1369
  is_active: boolean | null;
@@ -1180,7 +1374,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1180
1374
  updated_at: Date | null;
1181
1375
  updated_by: string | null;
1182
1376
  logic_code: string | null;
1183
- }[] | undefined;
1377
+ })[] | undefined;
1184
1378
  total: number | undefined;
1185
1379
  };
1186
1380
  meta: object;
@@ -1192,6 +1386,51 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1192
1386
  };
1193
1387
  output: {
1194
1388
  data: {
1389
+ _count: {
1390
+ country: number;
1391
+ un_locodes: number;
1392
+ cities: number;
1393
+ state_logs: number;
1394
+ airlines: number;
1395
+ branches: number;
1396
+ users: number;
1397
+ companies: number;
1398
+ shipping_lines: number;
1399
+ };
1400
+ country: ({
1401
+ currency: {
1402
+ symbol: string | null;
1403
+ id: number;
1404
+ name: string | null;
1405
+ is_active: boolean | null;
1406
+ created_at: Date | null;
1407
+ created_by: string | null;
1408
+ updated_at: Date | null;
1409
+ updated_by: string | null;
1410
+ logic_code: string | null;
1411
+ currency_code: string | null;
1412
+ currency_name: string | null;
1413
+ major_unit: string | null;
1414
+ minor_unit: string | null;
1415
+ decimal_unit: number | null;
1416
+ iso_decimal: number | null;
1417
+ } | null;
1418
+ } & {
1419
+ id: number;
1420
+ name: string | null;
1421
+ is_active: boolean | null;
1422
+ created_at: Date | null;
1423
+ created_by: string | null;
1424
+ updated_at: Date | null;
1425
+ updated_by: string | null;
1426
+ logic_code: string | null;
1427
+ id_currency: number | null;
1428
+ iso2_code: string | null;
1429
+ iso3_code: string | null;
1430
+ iso3_numeric: string | null;
1431
+ is_sanctioned: boolean | null;
1432
+ }) | null;
1433
+ } & {
1195
1434
  id: number;
1196
1435
  name: string | null;
1197
1436
  is_active: boolean | null;
@@ -1202,7 +1441,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1202
1441
  updated_at: Date | null;
1203
1442
  updated_by: string | null;
1204
1443
  logic_code: string | null;
1205
- } | undefined;
1444
+ };
1206
1445
  };
1207
1446
  meta: object;
1208
1447
  }>;
@@ -1230,7 +1469,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1230
1469
  ids_state?: number[] | null | undefined;
1231
1470
  };
1232
1471
  output: {
1233
- data: ({
1472
+ data: {
1473
+ params: Record<string, unknown>;
1234
1474
  log_type: {
1235
1475
  id: number;
1236
1476
  name: string | null;
@@ -1241,17 +1481,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1241
1481
  updated_by: string | null;
1242
1482
  logic_code: string | null;
1243
1483
  } | null;
1244
- } & {
1245
1484
  id: number;
1246
1485
  url: string | null;
1247
1486
  id_log_type: number | null;
1248
1487
  id_state: number | null;
1249
1488
  action: string | null;
1250
- params: JsonValue | null;
1251
1489
  action_by: string | null;
1252
1490
  action_id: string | null;
1253
1491
  action_at: Date | null;
1254
- })[] | undefined;
1492
+ }[] | undefined;
1255
1493
  total: number | undefined;
1256
1494
  };
1257
1495
  meta: object;
@@ -1262,7 +1500,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1262
1500
  id_string?: string | null | undefined;
1263
1501
  };
1264
1502
  output: {
1265
- data: ({
1503
+ data: {
1504
+ params: Record<string, unknown>;
1266
1505
  log_type: {
1267
1506
  id: number;
1268
1507
  name: string | null;
@@ -1273,17 +1512,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1273
1512
  updated_by: string | null;
1274
1513
  logic_code: string | null;
1275
1514
  } | null;
1276
- } & {
1277
1515
  id: number;
1278
1516
  url: string | null;
1279
1517
  id_log_type: number | null;
1280
1518
  action: string | null;
1281
- params: JsonValue | null;
1282
1519
  action_by: string | null;
1283
1520
  action_id: string | null;
1284
1521
  action_at: Date | null;
1285
1522
  id_time_zone: number | null;
1286
- }) | undefined;
1523
+ } | undefined;
1287
1524
  };
1288
1525
  meta: object;
1289
1526
  }>;
@@ -1400,9 +1637,41 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1400
1637
  ids_string_exclude?: string[] | null | undefined;
1401
1638
  logic_codes_include?: string[] | null | undefined;
1402
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;
1403
1644
  };
1404
1645
  output: {
1405
- 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
+ } & {
1406
1675
  id: number;
1407
1676
  name: string | null;
1408
1677
  is_active: boolean | null;
@@ -1414,7 +1683,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1414
1683
  updated_at: Date | null;
1415
1684
  updated_by: string | null;
1416
1685
  logic_code: string | null;
1417
- }[] | undefined;
1686
+ })[] | undefined;
1418
1687
  total: number | undefined;
1419
1688
  };
1420
1689
  meta: object;
@@ -1426,6 +1695,64 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1426
1695
  };
1427
1696
  output: {
1428
1697
  data: {
1698
+ _count: {
1699
+ country: number;
1700
+ state: number;
1701
+ un_locodes: number;
1702
+ cities_postal_codes: number;
1703
+ city_logs: number;
1704
+ airlines: number;
1705
+ branches: number;
1706
+ users: number;
1707
+ companies: number;
1708
+ shipping_lines: number;
1709
+ };
1710
+ country: ({
1711
+ currency: {
1712
+ symbol: string | null;
1713
+ id: number;
1714
+ name: string | null;
1715
+ is_active: boolean | null;
1716
+ created_at: Date | null;
1717
+ created_by: string | null;
1718
+ updated_at: Date | null;
1719
+ updated_by: string | null;
1720
+ logic_code: string | null;
1721
+ currency_code: string | null;
1722
+ currency_name: string | null;
1723
+ major_unit: string | null;
1724
+ minor_unit: string | null;
1725
+ decimal_unit: number | null;
1726
+ iso_decimal: number | null;
1727
+ } | null;
1728
+ } & {
1729
+ id: number;
1730
+ name: string | null;
1731
+ is_active: boolean | null;
1732
+ created_at: Date | null;
1733
+ created_by: string | null;
1734
+ updated_at: Date | null;
1735
+ updated_by: string | null;
1736
+ logic_code: string | null;
1737
+ id_currency: number | null;
1738
+ iso2_code: string | null;
1739
+ iso3_code: string | null;
1740
+ iso3_numeric: string | null;
1741
+ is_sanctioned: boolean | null;
1742
+ }) | null;
1743
+ state: {
1744
+ id: number;
1745
+ name: string | null;
1746
+ is_active: boolean | null;
1747
+ id_country: number | null;
1748
+ code: string | null;
1749
+ created_at: Date | null;
1750
+ created_by: string | null;
1751
+ updated_at: Date | null;
1752
+ updated_by: string | null;
1753
+ logic_code: string | null;
1754
+ } | null;
1755
+ } & {
1429
1756
  id: number;
1430
1757
  name: string | null;
1431
1758
  is_active: boolean | null;
@@ -1437,7 +1764,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1437
1764
  updated_at: Date | null;
1438
1765
  updated_by: string | null;
1439
1766
  logic_code: string | null;
1440
- } | undefined;
1767
+ };
1441
1768
  };
1442
1769
  meta: object;
1443
1770
  }>;
@@ -1465,7 +1792,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1465
1792
  ids_city?: number[] | null | undefined;
1466
1793
  };
1467
1794
  output: {
1468
- data: ({
1795
+ data: {
1796
+ params: Record<string, unknown>;
1469
1797
  log_type: {
1470
1798
  id: number;
1471
1799
  name: string | null;
@@ -1476,17 +1804,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1476
1804
  updated_by: string | null;
1477
1805
  logic_code: string | null;
1478
1806
  } | null;
1479
- } & {
1480
1807
  id: number;
1481
1808
  url: string | null;
1482
1809
  id_log_type: number | null;
1483
1810
  id_city: number | null;
1484
1811
  action: string | null;
1485
- params: JsonValue | null;
1486
1812
  action_by: string | null;
1487
1813
  action_id: string | null;
1488
1814
  action_at: Date | null;
1489
- })[] | undefined;
1815
+ }[] | undefined;
1490
1816
  total: number | undefined;
1491
1817
  };
1492
1818
  meta: object;
@@ -1497,7 +1823,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1497
1823
  id_string?: string | null | undefined;
1498
1824
  };
1499
1825
  output: {
1500
- data: ({
1826
+ data: {
1827
+ params: Record<string, unknown>;
1501
1828
  log_type: {
1502
1829
  id: number;
1503
1830
  name: string | null;
@@ -1508,17 +1835,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1508
1835
  updated_by: string | null;
1509
1836
  logic_code: string | null;
1510
1837
  } | null;
1511
- } & {
1512
1838
  id: number;
1513
1839
  url: string | null;
1514
1840
  id_log_type: number | null;
1515
1841
  id_city: number | null;
1516
1842
  action: string | null;
1517
- params: JsonValue | null;
1518
1843
  action_by: string | null;
1519
1844
  action_id: string | null;
1520
1845
  action_at: Date | null;
1521
- }) | undefined;
1846
+ } | undefined;
1522
1847
  };
1523
1848
  meta: object;
1524
1849
  }>;
@@ -1639,9 +1964,27 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1639
1964
  ids_string_exclude?: string[] | null | undefined;
1640
1965
  logic_codes_include?: string[] | null | undefined;
1641
1966
  logic_codes_exclude?: string[] | null | undefined;
1967
+ id_country?: number | null | undefined;
1968
+ ids_country?: number[] | null | undefined;
1642
1969
  };
1643
1970
  output: {
1644
- 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
+ } & {
1645
1988
  id: number;
1646
1989
  is_active: boolean | null;
1647
1990
  id_country: number | null;
@@ -1651,7 +1994,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1651
1994
  updated_at: Date | null;
1652
1995
  updated_by: string | null;
1653
1996
  logic_code: string | null;
1654
- }[] | undefined;
1997
+ })[] | undefined;
1655
1998
  total: number | undefined;
1656
1999
  };
1657
2000
  meta: object;
@@ -1663,6 +2006,50 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1663
2006
  };
1664
2007
  output: {
1665
2008
  data: {
2009
+ _count: {
2010
+ country: number;
2011
+ cities_postal_codes: number;
2012
+ postal_code_logs: number;
2013
+ airlines: number;
2014
+ branches: number;
2015
+ users: number;
2016
+ companies: number;
2017
+ shipping_lines: number;
2018
+ };
2019
+ country: ({
2020
+ currency: {
2021
+ symbol: string | null;
2022
+ id: number;
2023
+ name: string | null;
2024
+ is_active: boolean | null;
2025
+ created_at: Date | null;
2026
+ created_by: string | null;
2027
+ updated_at: Date | null;
2028
+ updated_by: string | null;
2029
+ logic_code: string | null;
2030
+ currency_code: string | null;
2031
+ currency_name: string | null;
2032
+ major_unit: string | null;
2033
+ minor_unit: string | null;
2034
+ decimal_unit: number | null;
2035
+ iso_decimal: number | null;
2036
+ } | null;
2037
+ } & {
2038
+ id: number;
2039
+ name: string | null;
2040
+ is_active: boolean | null;
2041
+ created_at: Date | null;
2042
+ created_by: string | null;
2043
+ updated_at: Date | null;
2044
+ updated_by: string | null;
2045
+ logic_code: string | null;
2046
+ id_currency: number | null;
2047
+ iso2_code: string | null;
2048
+ iso3_code: string | null;
2049
+ iso3_numeric: string | null;
2050
+ is_sanctioned: boolean | null;
2051
+ }) | null;
2052
+ } & {
1666
2053
  id: number;
1667
2054
  is_active: boolean | null;
1668
2055
  id_country: number | null;
@@ -1672,7 +2059,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1672
2059
  updated_at: Date | null;
1673
2060
  updated_by: string | null;
1674
2061
  logic_code: string | null;
1675
- } | undefined;
2062
+ };
1676
2063
  };
1677
2064
  meta: object;
1678
2065
  }>;
@@ -1700,7 +2087,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1700
2087
  ids_postal_code?: number[] | null | undefined;
1701
2088
  };
1702
2089
  output: {
1703
- data: ({
2090
+ data: {
2091
+ params: Record<string, unknown>;
1704
2092
  log_type: {
1705
2093
  id: number;
1706
2094
  name: string | null;
@@ -1711,17 +2099,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1711
2099
  updated_by: string | null;
1712
2100
  logic_code: string | null;
1713
2101
  } | null;
1714
- } & {
1715
2102
  id: number;
1716
2103
  url: string | null;
1717
2104
  id_log_type: number | null;
1718
2105
  action: string | null;
1719
- params: JsonValue | null;
1720
2106
  action_by: string | null;
1721
2107
  action_id: string | null;
1722
2108
  action_at: Date | null;
1723
2109
  id_postal_code: number | null;
1724
- })[] | undefined;
2110
+ }[] | undefined;
1725
2111
  total: number | undefined;
1726
2112
  };
1727
2113
  meta: object;
@@ -1732,7 +2118,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1732
2118
  id_string?: string | null | undefined;
1733
2119
  };
1734
2120
  output: {
1735
- data: ({
2121
+ data: {
2122
+ params: Record<string, unknown>;
1736
2123
  log_type: {
1737
2124
  id: number;
1738
2125
  name: string | null;
@@ -1743,17 +2130,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1743
2130
  updated_by: string | null;
1744
2131
  logic_code: string | null;
1745
2132
  } | null;
1746
- } & {
1747
2133
  id: number;
1748
2134
  url: string | null;
1749
2135
  id_log_type: number | null;
1750
2136
  action: string | null;
1751
- params: JsonValue | null;
1752
2137
  action_by: string | null;
1753
2138
  action_id: string | null;
1754
2139
  action_at: Date | null;
1755
2140
  id_postal_code: number | null;
1756
- }) | undefined;
2141
+ } | undefined;
1757
2142
  };
1758
2143
  meta: object;
1759
2144
  }>;
@@ -1890,6 +2275,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1890
2275
  };
1891
2276
  output: {
1892
2277
  data: {
2278
+ _count: {
2279
+ time_zone_logs: number;
2280
+ };
2281
+ } & {
1893
2282
  id: number;
1894
2283
  name: string | null;
1895
2284
  is_active: boolean | null;
@@ -1900,7 +2289,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1900
2289
  updated_by: string | null;
1901
2290
  logic_code: string | null;
1902
2291
  utc_offset: Decimal | null;
1903
- } | undefined;
2292
+ };
1904
2293
  };
1905
2294
  meta: object;
1906
2295
  }>;
@@ -1928,7 +2317,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1928
2317
  ids_time_zone?: number[] | null | undefined;
1929
2318
  };
1930
2319
  output: {
1931
- data: ({
2320
+ data: {
2321
+ params: Record<string, unknown>;
1932
2322
  log_type: {
1933
2323
  id: number;
1934
2324
  name: string | null;
@@ -1939,17 +2329,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1939
2329
  updated_by: string | null;
1940
2330
  logic_code: string | null;
1941
2331
  } | null;
1942
- } & {
1943
2332
  id: number;
1944
2333
  url: string | null;
1945
2334
  id_log_type: number | null;
1946
2335
  action: string | null;
1947
- params: JsonValue | null;
1948
2336
  action_by: string | null;
1949
2337
  action_id: string | null;
1950
2338
  action_at: Date | null;
1951
2339
  id_time_zone: number | null;
1952
- })[] | undefined;
2340
+ }[] | undefined;
1953
2341
  total: number | undefined;
1954
2342
  };
1955
2343
  meta: object;
@@ -1960,7 +2348,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1960
2348
  id_string?: string | null | undefined;
1961
2349
  };
1962
2350
  output: {
1963
- data: ({
2351
+ data: {
2352
+ params: Record<string, unknown>;
1964
2353
  log_type: {
1965
2354
  id: number;
1966
2355
  name: string | null;
@@ -1971,17 +2360,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1971
2360
  updated_by: string | null;
1972
2361
  logic_code: string | null;
1973
2362
  } | null;
1974
- } & {
1975
2363
  id: number;
1976
2364
  url: string | null;
1977
2365
  id_log_type: number | null;
1978
2366
  action: string | null;
1979
- params: JsonValue | null;
1980
2367
  action_by: string | null;
1981
2368
  action_id: string | null;
1982
2369
  action_at: Date | null;
1983
2370
  id_time_zone: number | null;
1984
- }) | undefined;
2371
+ } | undefined;
1985
2372
  };
1986
2373
  meta: object;
1987
2374
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {