@be-logixpair/api 0.0.1 → 0.0.3

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 +73 -20
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -399,9 +399,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
399
399
  } | undefined;
400
400
  log: {
401
401
  id: number;
402
+ url: string | null;
402
403
  id_log_type: number | null;
403
404
  action: string | null;
404
- url: string | null;
405
405
  params: JsonValue | null;
406
406
  action_by: string | null;
407
407
  action_id: string | null;
@@ -476,9 +476,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
476
476
  } | undefined;
477
477
  log: {
478
478
  id: number;
479
+ url: string | null;
479
480
  id_log_type: number | null;
480
481
  action: string | null;
481
- url: string | null;
482
482
  params: JsonValue | null;
483
483
  action_by: string | null;
484
484
  action_id: string | null;
@@ -623,10 +623,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
623
623
  } | undefined;
624
624
  log: {
625
625
  id: number;
626
- id_country: number | null;
626
+ url: string | null;
627
627
  id_log_type: number | null;
628
+ id_country: number | null;
628
629
  action: string | null;
629
- url: string | null;
630
630
  params: JsonValue | null;
631
631
  action_by: string | null;
632
632
  action_id: string | null;
@@ -665,10 +665,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
665
665
  } | undefined;
666
666
  log: {
667
667
  id: number;
668
- id_country: number | null;
668
+ url: string | null;
669
669
  id_log_type: number | null;
670
+ id_country: number | null;
670
671
  action: string | null;
671
- url: string | null;
672
672
  params: JsonValue | null;
673
673
  action_by: string | null;
674
674
  action_id: string | null;
@@ -783,10 +783,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
783
783
  } | undefined;
784
784
  log: {
785
785
  id: number;
786
- id_state: number | null;
786
+ url: string | null;
787
787
  id_log_type: number | null;
788
+ id_state: number | null;
788
789
  action: string | null;
789
- url: string | null;
790
790
  params: JsonValue | null;
791
791
  action_by: string | null;
792
792
  action_id: string | null;
@@ -819,10 +819,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
819
819
  } | undefined;
820
820
  log: {
821
821
  id: number;
822
- id_state: number | null;
822
+ url: string | null;
823
823
  id_log_type: number | null;
824
+ id_state: number | null;
824
825
  action: string | null;
825
- url: string | null;
826
826
  params: JsonValue | null;
827
827
  action_by: string | null;
828
828
  action_id: string | null;
@@ -938,9 +938,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
938
938
  } | undefined;
939
939
  log: {
940
940
  id: number;
941
+ url: string | null;
941
942
  id_log_type: number | null;
942
943
  action: string | null;
943
- url: string | null;
944
944
  params: JsonValue | null;
945
945
  action_by: string | null;
946
946
  action_id: string | null;
@@ -976,10 +976,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
976
976
  } | undefined;
977
977
  log: {
978
978
  id: number;
979
- id_state: number | null;
979
+ url: string | null;
980
980
  id_log_type: number | null;
981
+ id_state: number | null;
981
982
  action: string | null;
982
- url: string | null;
983
983
  params: JsonValue | null;
984
984
  action_by: string | null;
985
985
  action_id: string | null;
@@ -1087,9 +1087,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1087
1087
  } | undefined;
1088
1088
  log: {
1089
1089
  id: number;
1090
+ url: string | null;
1090
1091
  id_log_type: number | null;
1091
1092
  action: string | null;
1092
- url: string | null;
1093
1093
  params: JsonValue | null;
1094
1094
  action_by: string | null;
1095
1095
  action_id: string | null;
@@ -1121,10 +1121,10 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1121
1121
  } | undefined;
1122
1122
  log: {
1123
1123
  id: number;
1124
- id_country: number | null;
1124
+ url: string | null;
1125
1125
  id_log_type: number | null;
1126
+ id_country: number | null;
1126
1127
  action: string | null;
1127
- url: string | null;
1128
1128
  params: JsonValue | null;
1129
1129
  action_by: string | null;
1130
1130
  action_id: string | null;
@@ -1213,12 +1213,65 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1213
1213
  };
1214
1214
  meta: object;
1215
1215
  }>;
1216
+ getHistories: import("@trpc/server").TRPCMutationProcedure<{
1217
+ input: {
1218
+ search?: string | null | undefined;
1219
+ take?: number | null | undefined;
1220
+ skip?: number | null | undefined;
1221
+ is_active?: boolean[] | null | undefined;
1222
+ ids_include?: number[] | null | undefined;
1223
+ ids_exclude?: number[] | null | undefined;
1224
+ ids_string_include?: string[] | null | undefined;
1225
+ ids_string_exclude?: string[] | null | undefined;
1226
+ logic_codes_include?: string[] | null | undefined;
1227
+ logic_codes_exclude?: string[] | null | undefined;
1228
+ id_log_type?: number | null | undefined;
1229
+ ids_log_type?: number[] | null | undefined;
1230
+ id_time_zone?: number | null | undefined;
1231
+ ids_time_zone?: number[] | null | undefined;
1232
+ };
1233
+ output: {
1234
+ data: {
1235
+ id: number;
1236
+ url: string | null;
1237
+ id_log_type: number | null;
1238
+ action: string | null;
1239
+ params: JsonValue | null;
1240
+ action_by: string | null;
1241
+ action_id: string | null;
1242
+ action_at: Date | null;
1243
+ id_time_zone: number | null;
1244
+ }[] | undefined;
1245
+ total: number | undefined;
1246
+ };
1247
+ meta: object;
1248
+ }>;
1249
+ getHistoryDetail: import("@trpc/server").TRPCMutationProcedure<{
1250
+ input: {
1251
+ id?: number | null | undefined;
1252
+ id_string?: string | null | undefined;
1253
+ };
1254
+ output: {
1255
+ data: {
1256
+ id: number;
1257
+ url: string | null;
1258
+ id_log_type: number | null;
1259
+ action: string | null;
1260
+ params: JsonValue | null;
1261
+ action_by: string | null;
1262
+ action_id: string | null;
1263
+ action_at: Date | null;
1264
+ id_time_zone: number | null;
1265
+ } | undefined;
1266
+ };
1267
+ meta: object;
1268
+ }>;
1216
1269
  create: import("@trpc/server").TRPCMutationProcedure<{
1217
1270
  input: {
1218
1271
  is_active?: boolean | undefined;
1219
1272
  code?: string | null | undefined;
1220
1273
  name?: string | null | undefined;
1221
- utc_offset?: number | null | undefined;
1274
+ utc_offset?: string | null | undefined;
1222
1275
  };
1223
1276
  output: {
1224
1277
  data: {
@@ -1235,9 +1288,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1235
1288
  } | undefined;
1236
1289
  log: {
1237
1290
  id: number;
1291
+ url: string | null;
1238
1292
  id_log_type: number | null;
1239
1293
  action: string | null;
1240
- url: string | null;
1241
1294
  params: JsonValue | null;
1242
1295
  action_by: string | null;
1243
1296
  action_id: string | null;
@@ -1254,7 +1307,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1254
1307
  is_active?: boolean | undefined;
1255
1308
  code?: string | null | undefined;
1256
1309
  name?: string | null | undefined;
1257
- utc_offset?: number | null | undefined;
1310
+ utc_offset?: string | null | undefined;
1258
1311
  };
1259
1312
  output: {
1260
1313
  data: {
@@ -1271,9 +1324,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1271
1324
  } | undefined;
1272
1325
  log: {
1273
1326
  id: number;
1327
+ url: string | null;
1274
1328
  id_log_type: number | null;
1275
1329
  action: string | null;
1276
- url: string | null;
1277
1330
  params: JsonValue | null;
1278
1331
  action_by: string | null;
1279
1332
  action_id: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -40,6 +40,7 @@
40
40
  "typescript": "^5.9.3"
41
41
  },
42
42
  "dependencies": {
43
+ "dayjs": "^1.11.19",
43
44
  "jose": "^6.1.2",
44
45
  "zod": "^4.1.13"
45
46
  }