@be-logixpair/api 0.0.5 → 0.0.6

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 +416 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -262,6 +262,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
262
262
  data: {
263
263
  id: number;
264
264
  is_active: boolean | null;
265
+ id_city: number | null;
265
266
  id_country: number | null;
266
267
  id_state: number | null;
267
268
  created_at: Date | null;
@@ -269,7 +270,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
269
270
  updated_at: Date | null;
270
271
  updated_by: string | null;
271
272
  logic_code: string | null;
272
- id_city: number | null;
273
273
  un_code: string | null;
274
274
  iata_code: string | null;
275
275
  iata_region_code: string | null;
@@ -304,6 +304,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
304
304
  data: {
305
305
  id: number;
306
306
  is_active: boolean | null;
307
+ id_city: number | null;
307
308
  id_country: number | null;
308
309
  id_state: number | null;
309
310
  created_at: Date | null;
@@ -311,7 +312,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
311
312
  updated_at: Date | null;
312
313
  updated_by: string | null;
313
314
  logic_code: string | null;
314
- id_city: number | null;
315
315
  un_code: string | null;
316
316
  iata_code: string | null;
317
317
  iata_region_code: string | null;
@@ -336,6 +336,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
336
336
  };
337
337
  meta: object;
338
338
  }>;
339
+ histories: import("@trpc/server").TRPCBuiltRouter<{
340
+ ctx: Context$1;
341
+ meta: object;
342
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
343
+ transformer: false;
344
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
345
+ get: import("@trpc/server").TRPCMutationProcedure<{
346
+ input: {
347
+ search?: string | null | undefined;
348
+ take?: number | null | undefined;
349
+ skip?: number | null | undefined;
350
+ is_active?: boolean[] | null | undefined;
351
+ ids_include?: number[] | null | undefined;
352
+ ids_exclude?: number[] | null | undefined;
353
+ ids_string_include?: string[] | null | undefined;
354
+ ids_string_exclude?: string[] | null | undefined;
355
+ logic_codes_include?: string[] | null | undefined;
356
+ logic_codes_exclude?: string[] | null | undefined;
357
+ id_log_type?: number | null | undefined;
358
+ ids_log_type?: number[] | null | undefined;
359
+ id_un_locode?: number | null | undefined;
360
+ ids_un_locode?: number[] | null | undefined;
361
+ };
362
+ output: {
363
+ data: ({
364
+ log_type: {
365
+ id: number;
366
+ name: string | null;
367
+ is_active: boolean | null;
368
+ created_at: Date | null;
369
+ created_by: string | null;
370
+ updated_at: Date | null;
371
+ updated_by: string | null;
372
+ logic_code: string | null;
373
+ } | null;
374
+ } & {
375
+ id: number;
376
+ url: string | null;
377
+ id_log_type: number | null;
378
+ action: string | null;
379
+ params: JsonValue | null;
380
+ action_by: string | null;
381
+ action_id: string | null;
382
+ action_at: Date | null;
383
+ id_un_locode: number | null;
384
+ })[] | undefined;
385
+ total: number | undefined;
386
+ };
387
+ meta: object;
388
+ }>;
389
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
390
+ input: {
391
+ id?: number | null | undefined;
392
+ id_string?: string | null | undefined;
393
+ };
394
+ output: {
395
+ data: ({
396
+ log_type: {
397
+ id: number;
398
+ name: string | null;
399
+ is_active: boolean | null;
400
+ created_at: Date | null;
401
+ created_by: string | null;
402
+ updated_at: Date | null;
403
+ updated_by: string | null;
404
+ logic_code: string | null;
405
+ } | null;
406
+ } & {
407
+ id: number;
408
+ url: string | null;
409
+ id_log_type: number | null;
410
+ action: string | null;
411
+ params: JsonValue | null;
412
+ action_by: string | null;
413
+ action_id: string | null;
414
+ action_at: Date | null;
415
+ id_un_locode: number | null;
416
+ }) | undefined;
417
+ };
418
+ meta: object;
419
+ }>;
420
+ }>>;
339
421
  create: import("@trpc/server").TRPCMutationProcedure<{
340
422
  input: {
341
423
  is_active?: boolean | undefined;
@@ -368,6 +450,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
368
450
  data: {
369
451
  id: number;
370
452
  is_active: boolean | null;
453
+ id_city: number | null;
371
454
  id_country: number | null;
372
455
  id_state: number | null;
373
456
  created_at: Date | null;
@@ -375,7 +458,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
375
458
  updated_at: Date | null;
376
459
  updated_by: string | null;
377
460
  logic_code: string | null;
378
- id_city: number | null;
379
461
  un_code: string | null;
380
462
  iata_code: string | null;
381
463
  iata_region_code: string | null;
@@ -445,6 +527,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
445
527
  data: {
446
528
  id: number;
447
529
  is_active: boolean | null;
530
+ id_city: number | null;
448
531
  id_country: number | null;
449
532
  id_state: number | null;
450
533
  created_at: Date | null;
@@ -452,7 +535,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
452
535
  updated_at: Date | null;
453
536
  updated_by: string | null;
454
537
  logic_code: string | null;
455
- id_city: number | null;
456
538
  un_code: string | null;
457
539
  iata_code: string | null;
458
540
  iata_region_code: string | null;
@@ -499,6 +581,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
499
581
  data: ({
500
582
  id: number;
501
583
  is_active: boolean | null;
584
+ id_city: number | null;
502
585
  id_country: number | null;
503
586
  id_state: number | null;
504
587
  created_at: Date | null;
@@ -506,7 +589,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
506
589
  updated_at: Date | null;
507
590
  updated_by: string | null;
508
591
  logic_code: string | null;
509
- id_city: number | null;
510
592
  un_code: string | null;
511
593
  iata_code: string | null;
512
594
  iata_region_code: string | null;
@@ -595,6 +677,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
595
677
  };
596
678
  meta: object;
597
679
  }>;
680
+ histories: import("@trpc/server").TRPCBuiltRouter<{
681
+ ctx: Context$1;
682
+ meta: object;
683
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
684
+ transformer: false;
685
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
686
+ get: import("@trpc/server").TRPCMutationProcedure<{
687
+ input: {
688
+ search?: string | null | undefined;
689
+ take?: number | null | undefined;
690
+ skip?: number | null | undefined;
691
+ is_active?: boolean[] | null | undefined;
692
+ ids_include?: number[] | null | undefined;
693
+ ids_exclude?: number[] | null | undefined;
694
+ ids_string_include?: string[] | null | undefined;
695
+ ids_string_exclude?: string[] | null | undefined;
696
+ logic_codes_include?: string[] | null | undefined;
697
+ logic_codes_exclude?: string[] | null | undefined;
698
+ id_log_type?: number | null | undefined;
699
+ ids_log_type?: number[] | null | undefined;
700
+ id_country?: number | null | undefined;
701
+ ids_country?: number[] | null | undefined;
702
+ };
703
+ output: {
704
+ data: ({
705
+ log_type: {
706
+ id: number;
707
+ name: string | null;
708
+ is_active: boolean | null;
709
+ created_at: Date | null;
710
+ created_by: string | null;
711
+ updated_at: Date | null;
712
+ updated_by: string | null;
713
+ logic_code: string | null;
714
+ } | null;
715
+ } & {
716
+ id: number;
717
+ url: string | null;
718
+ id_log_type: number | null;
719
+ id_country: number | null;
720
+ action: string | null;
721
+ params: JsonValue | null;
722
+ action_by: string | null;
723
+ action_id: string | null;
724
+ action_at: Date | null;
725
+ })[] | undefined;
726
+ total: number | undefined;
727
+ };
728
+ meta: object;
729
+ }>;
730
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
731
+ input: {
732
+ id?: number | null | undefined;
733
+ id_string?: string | null | undefined;
734
+ };
735
+ output: {
736
+ data: ({
737
+ log_type: {
738
+ id: number;
739
+ name: string | null;
740
+ is_active: boolean | null;
741
+ created_at: Date | null;
742
+ created_by: string | null;
743
+ updated_at: Date | null;
744
+ updated_by: string | null;
745
+ logic_code: string | null;
746
+ } | null;
747
+ } & {
748
+ id: number;
749
+ url: string | null;
750
+ id_log_type: number | null;
751
+ id_country: number | null;
752
+ action: string | null;
753
+ params: JsonValue | null;
754
+ action_by: string | null;
755
+ action_id: string | null;
756
+ action_at: Date | null;
757
+ }) | undefined;
758
+ };
759
+ meta: object;
760
+ }>;
761
+ }>>;
598
762
  create: import("@trpc/server").TRPCMutationProcedure<{
599
763
  input: {
600
764
  id_currency?: number | null | undefined;
@@ -761,6 +925,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
761
925
  };
762
926
  meta: object;
763
927
  }>;
928
+ histories: import("@trpc/server").TRPCBuiltRouter<{
929
+ ctx: Context$1;
930
+ meta: object;
931
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
932
+ transformer: false;
933
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
934
+ get: import("@trpc/server").TRPCMutationProcedure<{
935
+ input: {
936
+ search?: string | null | undefined;
937
+ take?: number | null | undefined;
938
+ skip?: number | null | undefined;
939
+ is_active?: boolean[] | null | undefined;
940
+ ids_include?: number[] | null | undefined;
941
+ ids_exclude?: number[] | null | undefined;
942
+ ids_string_include?: string[] | null | undefined;
943
+ ids_string_exclude?: string[] | null | undefined;
944
+ logic_codes_include?: string[] | null | undefined;
945
+ logic_codes_exclude?: string[] | null | undefined;
946
+ id_log_type?: number | null | undefined;
947
+ ids_log_type?: number[] | null | undefined;
948
+ id_state?: number | null | undefined;
949
+ ids_state?: number[] | null | undefined;
950
+ };
951
+ output: {
952
+ data: ({
953
+ log_type: {
954
+ id: number;
955
+ name: string | null;
956
+ is_active: boolean | null;
957
+ created_at: Date | null;
958
+ created_by: string | null;
959
+ updated_at: Date | null;
960
+ updated_by: string | null;
961
+ logic_code: string | null;
962
+ } | null;
963
+ } & {
964
+ id: number;
965
+ url: string | null;
966
+ id_log_type: number | null;
967
+ id_state: number | null;
968
+ action: string | null;
969
+ params: JsonValue | null;
970
+ action_by: string | null;
971
+ action_id: string | null;
972
+ action_at: Date | null;
973
+ })[] | undefined;
974
+ total: number | undefined;
975
+ };
976
+ meta: object;
977
+ }>;
978
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
979
+ input: {
980
+ id?: number | null | undefined;
981
+ id_string?: string | null | undefined;
982
+ };
983
+ output: {
984
+ data: ({
985
+ log_type: {
986
+ id: number;
987
+ name: string | null;
988
+ is_active: boolean | null;
989
+ created_at: Date | null;
990
+ created_by: string | null;
991
+ updated_at: Date | null;
992
+ updated_by: string | null;
993
+ logic_code: string | null;
994
+ } | null;
995
+ } & {
996
+ id: number;
997
+ url: string | null;
998
+ id_log_type: number | null;
999
+ action: string | null;
1000
+ params: JsonValue | null;
1001
+ action_by: string | null;
1002
+ action_id: string | null;
1003
+ action_at: Date | null;
1004
+ id_time_zone: number | null;
1005
+ }) | undefined;
1006
+ };
1007
+ meta: object;
1008
+ }>;
1009
+ }>>;
764
1010
  create: import("@trpc/server").TRPCMutationProcedure<{
765
1011
  input: {
766
1012
  is_active?: boolean | undefined;
@@ -914,6 +1160,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
914
1160
  };
915
1161
  meta: object;
916
1162
  }>;
1163
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1164
+ ctx: Context$1;
1165
+ meta: object;
1166
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1167
+ transformer: false;
1168
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1169
+ get: import("@trpc/server").TRPCMutationProcedure<{
1170
+ input: {
1171
+ search?: string | null | undefined;
1172
+ take?: number | null | undefined;
1173
+ skip?: number | null | undefined;
1174
+ is_active?: boolean[] | null | undefined;
1175
+ ids_include?: number[] | null | undefined;
1176
+ ids_exclude?: number[] | null | undefined;
1177
+ ids_string_include?: string[] | null | undefined;
1178
+ ids_string_exclude?: string[] | null | undefined;
1179
+ logic_codes_include?: string[] | null | undefined;
1180
+ logic_codes_exclude?: string[] | null | undefined;
1181
+ id_log_type?: number | null | undefined;
1182
+ ids_log_type?: number[] | null | undefined;
1183
+ id_city?: number | null | undefined;
1184
+ ids_city?: number[] | null | undefined;
1185
+ };
1186
+ output: {
1187
+ data: ({
1188
+ log_type: {
1189
+ id: number;
1190
+ name: string | null;
1191
+ is_active: boolean | null;
1192
+ created_at: Date | null;
1193
+ created_by: string | null;
1194
+ updated_at: Date | null;
1195
+ updated_by: string | null;
1196
+ logic_code: string | null;
1197
+ } | null;
1198
+ } & {
1199
+ id: number;
1200
+ url: string | null;
1201
+ id_log_type: number | null;
1202
+ id_city: number | null;
1203
+ action: string | null;
1204
+ params: JsonValue | null;
1205
+ action_by: string | null;
1206
+ action_id: string | null;
1207
+ action_at: Date | null;
1208
+ })[] | undefined;
1209
+ total: number | undefined;
1210
+ };
1211
+ meta: object;
1212
+ }>;
1213
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1214
+ input: {
1215
+ id?: number | null | undefined;
1216
+ id_string?: string | null | undefined;
1217
+ };
1218
+ output: {
1219
+ data: ({
1220
+ log_type: {
1221
+ id: number;
1222
+ name: string | null;
1223
+ is_active: boolean | null;
1224
+ created_at: Date | null;
1225
+ created_by: string | null;
1226
+ updated_at: Date | null;
1227
+ updated_by: string | null;
1228
+ logic_code: string | null;
1229
+ } | null;
1230
+ } & {
1231
+ id: number;
1232
+ url: string | null;
1233
+ id_log_type: number | null;
1234
+ id_city: number | null;
1235
+ action: string | null;
1236
+ params: JsonValue | null;
1237
+ action_by: string | null;
1238
+ action_id: string | null;
1239
+ action_at: Date | null;
1240
+ }) | undefined;
1241
+ };
1242
+ meta: object;
1243
+ }>;
1244
+ }>>;
917
1245
  create: import("@trpc/server").TRPCMutationProcedure<{
918
1246
  input: {
919
1247
  is_active?: boolean | undefined;
@@ -940,11 +1268,11 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
940
1268
  id: number;
941
1269
  url: string | null;
942
1270
  id_log_type: number | null;
1271
+ id_city: number | null;
943
1272
  action: string | null;
944
1273
  params: JsonValue | null;
945
1274
  action_by: string | null;
946
1275
  action_id: string | null;
947
- id_city: number | null;
948
1276
  action_at: Date | null;
949
1277
  } | undefined;
950
1278
  };
@@ -1067,6 +1395,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1067
1395
  };
1068
1396
  meta: object;
1069
1397
  }>;
1398
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1399
+ ctx: Context$1;
1400
+ meta: object;
1401
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1402
+ transformer: false;
1403
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1404
+ get: import("@trpc/server").TRPCMutationProcedure<{
1405
+ input: {
1406
+ search?: string | null | undefined;
1407
+ take?: number | null | undefined;
1408
+ skip?: number | null | undefined;
1409
+ is_active?: boolean[] | null | undefined;
1410
+ ids_include?: number[] | null | undefined;
1411
+ ids_exclude?: number[] | null | undefined;
1412
+ ids_string_include?: string[] | null | undefined;
1413
+ ids_string_exclude?: string[] | null | undefined;
1414
+ logic_codes_include?: string[] | null | undefined;
1415
+ logic_codes_exclude?: string[] | null | undefined;
1416
+ id_log_type?: number | null | undefined;
1417
+ ids_log_type?: number[] | null | undefined;
1418
+ id_postal_code?: number | null | undefined;
1419
+ ids_postal_code?: number[] | null | undefined;
1420
+ };
1421
+ output: {
1422
+ data: ({
1423
+ log_type: {
1424
+ id: number;
1425
+ name: string | null;
1426
+ is_active: boolean | null;
1427
+ created_at: Date | null;
1428
+ created_by: string | null;
1429
+ updated_at: Date | null;
1430
+ updated_by: string | null;
1431
+ logic_code: string | null;
1432
+ } | null;
1433
+ } & {
1434
+ id: number;
1435
+ url: string | null;
1436
+ id_log_type: number | null;
1437
+ action: string | null;
1438
+ params: JsonValue | null;
1439
+ action_by: string | null;
1440
+ action_id: string | null;
1441
+ action_at: Date | null;
1442
+ id_postal_code: number | null;
1443
+ })[] | undefined;
1444
+ total: number | undefined;
1445
+ };
1446
+ meta: object;
1447
+ }>;
1448
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1449
+ input: {
1450
+ id?: number | null | undefined;
1451
+ id_string?: string | null | undefined;
1452
+ };
1453
+ output: {
1454
+ data: ({
1455
+ log_type: {
1456
+ id: number;
1457
+ name: string | null;
1458
+ is_active: boolean | null;
1459
+ created_at: Date | null;
1460
+ created_by: string | null;
1461
+ updated_at: Date | null;
1462
+ updated_by: string | null;
1463
+ logic_code: string | null;
1464
+ } | null;
1465
+ } & {
1466
+ id: number;
1467
+ url: string | null;
1468
+ id_log_type: number | null;
1469
+ action: string | null;
1470
+ params: JsonValue | null;
1471
+ action_by: string | null;
1472
+ action_id: string | null;
1473
+ action_at: Date | null;
1474
+ id_postal_code: number | null;
1475
+ }) | undefined;
1476
+ };
1477
+ meta: object;
1478
+ }>;
1479
+ }>>;
1070
1480
  create: import("@trpc/server").TRPCMutationProcedure<{
1071
1481
  input: {
1072
1482
  is_active?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {