@hed-hog/core 0.0.359 → 0.0.361

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 (63) hide show
  1. package/dist/ai/ai.service.d.ts +1 -1
  2. package/dist/auth/auth.controller.d.ts +26 -26
  3. package/dist/auth/auth.service.d.ts +34 -34
  4. package/dist/challenge/challenge.service.d.ts +12 -12
  5. package/dist/core/system.controller.d.ts +2 -2
  6. package/dist/core/system.service.d.ts +2 -2
  7. package/dist/dashboard/dashboard/dashboard.controller.d.ts +66 -66
  8. package/dist/dashboard/dashboard/dashboard.service.d.ts +66 -66
  9. package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +26 -26
  10. package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +26 -26
  11. package/dist/dashboard/dashboard-component-role/dashboard-component-role.controller.d.ts +34 -34
  12. package/dist/dashboard/dashboard-component-role/dashboard-component-role.service.d.ts +34 -34
  13. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +8 -8
  14. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +8 -8
  15. package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts +5 -5
  16. package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts +5 -5
  17. package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +25 -25
  18. package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +25 -25
  19. package/dist/file/file.controller.d.ts +6 -6
  20. package/dist/file/file.service.d.ts +50 -24
  21. package/dist/file/file.service.d.ts.map +1 -1
  22. package/dist/file/file.service.js +37 -0
  23. package/dist/file/file.service.js.map +1 -1
  24. package/dist/integration-profile/integration-profile.controller.d.ts +15 -15
  25. package/dist/integration-profile/integration-profile.service.d.ts +15 -15
  26. package/dist/locale/locale.controller.d.ts +4 -4
  27. package/dist/locale/locale.service.d.ts +4 -4
  28. package/dist/mail/mail.controller.d.ts +7 -7
  29. package/dist/mail/mail.service.d.ts +7 -7
  30. package/dist/mail-sent/mail-sent.controller.d.ts +12 -12
  31. package/dist/mail-sent/mail-sent.service.d.ts +12 -12
  32. package/dist/mcp/mcp-api-key.controller.d.ts +2 -2
  33. package/dist/mcp/mcp-api-key.service.d.ts +2 -2
  34. package/dist/mcp-chat/mcp-chat.controller.d.ts +8 -8
  35. package/dist/mcp-chat/mcp-chat.service.d.ts +8 -8
  36. package/dist/menu/menu.controller.d.ts +10 -10
  37. package/dist/menu/menu.service.d.ts +10 -10
  38. package/dist/notification/notification.controller.d.ts +36 -36
  39. package/dist/notification/notification.service.d.ts +36 -36
  40. package/dist/profile/profile.controller.d.ts +16 -16
  41. package/dist/profile/profile.service.d.ts +16 -16
  42. package/dist/role/role.controller.d.ts +6 -6
  43. package/dist/role/role.service.d.ts +6 -6
  44. package/dist/screen/screen.controller.d.ts +3 -3
  45. package/dist/screen/screen.service.d.ts +3 -3
  46. package/dist/session/session.controller.d.ts +2 -2
  47. package/dist/session/session.service.d.ts +6 -6
  48. package/dist/setting/setting.controller.d.ts +18 -18
  49. package/dist/setting/setting.service.d.ts +18 -18
  50. package/dist/setting/setting.service.d.ts.map +1 -1
  51. package/dist/setting/setting.service.js +0 -1
  52. package/dist/setting/setting.service.js.map +1 -1
  53. package/dist/user/user.controller.d.ts +29 -29
  54. package/dist/user/user.service.d.ts +67 -67
  55. package/dist/webhook-integration/webhook-integration.controller.d.ts +2 -2
  56. package/dist/webhook-integration/webhook-integration.service.d.ts +2 -2
  57. package/hedhog/data/route.yaml +0 -4
  58. package/hedhog/data/setting_group.yaml +0 -26
  59. package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +1 -33
  60. package/hedhog/table/setting_runtime_state.yaml +9 -0
  61. package/package.json +5 -4
  62. package/src/file/file.service.ts +88 -0
  63. package/src/setting/setting.service.ts +0 -1
@@ -30,42 +30,42 @@ export declare class NotificationController {
30
30
  markRead({ id: userId }: {
31
31
  id: any;
32
32
  }, id: number): Promise<{
33
- type: import("@prisma/client").$Enums.notification_type_enum;
34
- progress: number | null;
35
33
  id: number;
36
- body: string | null;
37
- title: string;
38
- status: import("@prisma/client").$Enums.notification_status_enum;
39
- icon: string | null;
40
34
  user_id: number;
41
35
  created_at: Date;
42
36
  updated_at: Date;
43
- started_at: Date | null;
44
- finished_at: Date | null;
45
- action_url: string | null;
37
+ type: import("@prisma/client").$Enums.notification_type_enum;
38
+ body: string | null;
39
+ status: import("@prisma/client").$Enums.notification_status_enum;
40
+ icon: string | null;
41
+ title: string;
42
+ progress: number | null;
46
43
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
47
44
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
45
+ action_url: string | null;
48
46
  auto_remove: boolean;
47
+ started_at: Date | null;
48
+ finished_at: Date | null;
49
49
  }>;
50
50
  updateProgress({ id: userId }: {
51
51
  id: any;
52
52
  }, id: number, dto: UpdateProgressDto): Promise<{
53
- type: import("@prisma/client").$Enums.notification_type_enum;
54
- progress: number | null;
55
53
  id: number;
56
- body: string | null;
57
- title: string;
58
- status: import("@prisma/client").$Enums.notification_status_enum;
59
- icon: string | null;
60
54
  user_id: number;
61
55
  created_at: Date;
62
56
  updated_at: Date;
63
- started_at: Date | null;
64
- finished_at: Date | null;
65
- action_url: string | null;
57
+ type: import("@prisma/client").$Enums.notification_type_enum;
58
+ body: string | null;
59
+ status: import("@prisma/client").$Enums.notification_status_enum;
60
+ icon: string | null;
61
+ title: string;
62
+ progress: number | null;
66
63
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
67
64
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
65
+ action_url: string | null;
68
66
  auto_remove: boolean;
67
+ started_at: Date | null;
68
+ finished_at: Date | null;
69
69
  }>;
70
70
  deleteAll({ id }: {
71
71
  id: any;
@@ -73,40 +73,40 @@ export declare class NotificationController {
73
73
  delete({ id: userId }: {
74
74
  id: any;
75
75
  }, id: number): Promise<{
76
- type: import("@prisma/client").$Enums.notification_type_enum;
77
- progress: number | null;
78
76
  id: number;
79
- body: string | null;
80
- title: string;
81
- status: import("@prisma/client").$Enums.notification_status_enum;
82
- icon: string | null;
83
77
  user_id: number;
84
78
  created_at: Date;
85
79
  updated_at: Date;
86
- started_at: Date | null;
87
- finished_at: Date | null;
88
- action_url: string | null;
80
+ type: import("@prisma/client").$Enums.notification_type_enum;
81
+ body: string | null;
82
+ status: import("@prisma/client").$Enums.notification_status_enum;
83
+ icon: string | null;
84
+ title: string;
85
+ progress: number | null;
89
86
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
90
87
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
88
+ action_url: string | null;
91
89
  auto_remove: boolean;
90
+ started_at: Date | null;
91
+ finished_at: Date | null;
92
92
  }>;
93
93
  create(data: CreateNotificationDto): Promise<{
94
- type: import("@prisma/client").$Enums.notification_type_enum;
95
- progress: number | null;
96
94
  id: number;
97
- body: string | null;
98
- title: string;
99
- status: import("@prisma/client").$Enums.notification_status_enum;
100
- icon: string | null;
101
95
  user_id: number;
102
96
  created_at: Date;
103
97
  updated_at: Date;
104
- started_at: Date | null;
105
- finished_at: Date | null;
106
- action_url: string | null;
98
+ type: import("@prisma/client").$Enums.notification_type_enum;
99
+ body: string | null;
100
+ status: import("@prisma/client").$Enums.notification_status_enum;
101
+ icon: string | null;
102
+ title: string;
103
+ progress: number | null;
107
104
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
108
105
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
106
+ action_url: string | null;
109
107
  auto_remove: boolean;
108
+ started_at: Date | null;
109
+ finished_at: Date | null;
110
110
  }>;
111
111
  }
112
112
  //# sourceMappingURL=notification.controller.d.ts.map
@@ -28,78 +28,78 @@ export declare class NotificationService implements OnModuleInit, OnModuleDestro
28
28
  count: number;
29
29
  }>;
30
30
  markRead(userId: number, id: number): Promise<{
31
- type: import("@prisma/client").$Enums.notification_type_enum;
32
- progress: number | null;
33
31
  id: number;
34
- body: string | null;
35
- title: string;
36
- status: import("@prisma/client").$Enums.notification_status_enum;
37
- icon: string | null;
38
32
  user_id: number;
39
33
  created_at: Date;
40
34
  updated_at: Date;
41
- started_at: Date | null;
42
- finished_at: Date | null;
43
- action_url: string | null;
35
+ type: import("@prisma/client").$Enums.notification_type_enum;
36
+ body: string | null;
37
+ status: import("@prisma/client").$Enums.notification_status_enum;
38
+ icon: string | null;
39
+ title: string;
40
+ progress: number | null;
44
41
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
45
42
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
43
+ action_url: string | null;
46
44
  auto_remove: boolean;
45
+ started_at: Date | null;
46
+ finished_at: Date | null;
47
47
  }>;
48
48
  markAllRead(userId: number): Promise<import("@prisma/client").Prisma.BatchPayload>;
49
49
  delete(userId: number, id: number): Promise<{
50
- type: import("@prisma/client").$Enums.notification_type_enum;
51
- progress: number | null;
52
50
  id: number;
53
- body: string | null;
54
- title: string;
55
- status: import("@prisma/client").$Enums.notification_status_enum;
56
- icon: string | null;
57
51
  user_id: number;
58
52
  created_at: Date;
59
53
  updated_at: Date;
60
- started_at: Date | null;
61
- finished_at: Date | null;
62
- action_url: string | null;
54
+ type: import("@prisma/client").$Enums.notification_type_enum;
55
+ body: string | null;
56
+ status: import("@prisma/client").$Enums.notification_status_enum;
57
+ icon: string | null;
58
+ title: string;
59
+ progress: number | null;
63
60
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
64
61
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
62
+ action_url: string | null;
65
63
  auto_remove: boolean;
64
+ started_at: Date | null;
65
+ finished_at: Date | null;
66
66
  }>;
67
67
  deleteAll(userId: number): Promise<import("@prisma/client").Prisma.BatchPayload>;
68
68
  create(data: CreateNotificationDto): Promise<{
69
- type: import("@prisma/client").$Enums.notification_type_enum;
70
- progress: number | null;
71
69
  id: number;
72
- body: string | null;
73
- title: string;
74
- status: import("@prisma/client").$Enums.notification_status_enum;
75
- icon: string | null;
76
70
  user_id: number;
77
71
  created_at: Date;
78
72
  updated_at: Date;
79
- started_at: Date | null;
80
- finished_at: Date | null;
81
- action_url: string | null;
73
+ type: import("@prisma/client").$Enums.notification_type_enum;
74
+ body: string | null;
75
+ status: import("@prisma/client").$Enums.notification_status_enum;
76
+ icon: string | null;
77
+ title: string;
78
+ progress: number | null;
82
79
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
83
80
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
81
+ action_url: string | null;
84
82
  auto_remove: boolean;
83
+ started_at: Date | null;
84
+ finished_at: Date | null;
85
85
  }>;
86
86
  updateProgress(userId: number, id: number, dto: UpdateProgressDto): Promise<{
87
- type: import("@prisma/client").$Enums.notification_type_enum;
88
- progress: number | null;
89
87
  id: number;
90
- body: string | null;
91
- title: string;
92
- status: import("@prisma/client").$Enums.notification_status_enum;
93
- icon: string | null;
94
88
  user_id: number;
95
89
  created_at: Date;
96
90
  updated_at: Date;
97
- started_at: Date | null;
98
- finished_at: Date | null;
99
- action_url: string | null;
91
+ type: import("@prisma/client").$Enums.notification_type_enum;
92
+ body: string | null;
93
+ status: import("@prisma/client").$Enums.notification_status_enum;
94
+ icon: string | null;
95
+ title: string;
96
+ progress: number | null;
100
97
  action_type: import("@prisma/client").$Enums.notification_action_type_enum | null;
101
98
  action_data: import("@prisma/client/runtime/library").JsonValue | null;
99
+ action_url: string | null;
102
100
  auto_remove: boolean;
101
+ started_at: Date | null;
102
+ finished_at: Date | null;
103
103
  }>;
104
104
  stream(userId: number, req: Request, res: Response): void;
105
105
  clearOldNotifications(retentionDays: number, batchLimit: number): Promise<number>;
@@ -104,13 +104,13 @@ export declare class ProfileController {
104
104
  getEmailIdentifier({ id }: {
105
105
  id: any;
106
106
  }): Promise<{
107
- type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
108
107
  id: number;
109
- value: string;
110
- enabled: boolean;
111
108
  user_id: number;
112
109
  created_at: Date;
113
110
  updated_at: Date;
111
+ type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
112
+ value: string;
113
+ enabled: boolean;
114
114
  verified_at: Date | null;
115
115
  }>;
116
116
  removeMfaEmail(locale: string, { id }: {
@@ -121,63 +121,63 @@ export declare class ProfileController {
121
121
  getProfile({ id }: {
122
122
  id: any;
123
123
  }): Promise<{
124
- name: string;
125
124
  id: number;
126
125
  created_at: Date;
127
- updated_at: Date;
126
+ name: string;
128
127
  photo_id: number | null;
129
128
  suspended_until: Date | null;
130
129
  last_login_at: Date | null;
131
130
  suspended_reason: string | null;
132
131
  deactivated_at: Date | null;
132
+ updated_at: Date;
133
133
  }>;
134
134
  getMFAMethod({ id }: {
135
135
  id: any;
136
136
  }): Promise<({
137
137
  user_mfa_email: {
138
138
  id: number;
139
- email: string;
140
139
  created_at: Date;
141
140
  updated_at: Date;
141
+ email: string;
142
142
  user_mfa_id: number;
143
143
  }[];
144
144
  user_mfa_totp: {
145
145
  id: number;
146
- secret: import("@prisma/client/runtime/library").Bytes;
147
146
  created_at: Date;
148
147
  updated_at: Date;
148
+ secret: import("@prisma/client/runtime/library").Bytes;
149
149
  user_mfa_id: number;
150
150
  }[];
151
151
  user_mfa_webauthn: {
152
152
  id: number;
153
153
  created_at: Date;
154
154
  updated_at: Date;
155
- last_used_at: Date | null;
156
155
  user_mfa_id: number;
157
156
  credential_id: import("@prisma/client/runtime/library").Bytes;
158
157
  public_key: import("@prisma/client/runtime/library").Bytes;
159
158
  sign_count: number;
159
+ last_used_at: Date | null;
160
160
  }[];
161
161
  } & {
162
- name: string;
163
- type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
164
162
  id: number;
165
163
  user_id: number;
166
164
  created_at: Date;
167
- updated_at: Date;
165
+ name: string;
168
166
  suspended_until: Date | null;
167
+ updated_at: Date;
168
+ type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
169
169
  verified_at: Date | null;
170
170
  })[]>;
171
171
  updateMFA({ id: userId }: {
172
172
  id: any;
173
173
  }, mfaId: number, { name }: UpdateDto): Promise<{
174
- name: string;
175
- type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
176
174
  id: number;
177
175
  user_id: number;
178
176
  created_at: Date;
179
- updated_at: Date;
177
+ name: string;
180
178
  suspended_until: Date | null;
179
+ updated_at: Date;
180
+ type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
181
181
  verified_at: Date | null;
182
182
  }>;
183
183
  removeMfaWithRecoveryCode({ id }: {
@@ -257,15 +257,15 @@ export declare class ProfileController {
257
257
  update(data: UpdateDto, { id }: {
258
258
  id: any;
259
259
  }): Promise<{
260
- name: string;
261
260
  id: number;
262
261
  created_at: Date;
263
- updated_at: Date;
262
+ name: string;
264
263
  photo_id: number | null;
265
264
  suspended_until: Date | null;
266
265
  last_login_at: Date | null;
267
266
  suspended_reason: string | null;
268
267
  deactivated_at: Date | null;
268
+ updated_at: Date;
269
269
  }>;
270
270
  }
271
271
  //# sourceMappingURL=profile.controller.d.ts.map
@@ -45,81 +45,81 @@ export declare class ProfileService {
45
45
  challengeId: number;
46
46
  }>;
47
47
  getEmailIdentifier(userId: number): Promise<{
48
- type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
49
48
  id: number;
50
- value: string;
51
- enabled: boolean;
52
49
  user_id: number;
53
50
  created_at: Date;
54
51
  updated_at: Date;
52
+ type: import("@prisma/client").$Enums.user_identifier_type_e66d505520_enum;
53
+ value: string;
54
+ enabled: boolean;
55
55
  verified_at: Date | null;
56
56
  }>;
57
57
  getProfile(userId: number): Promise<{
58
- name: string;
59
58
  id: number;
60
59
  created_at: Date;
61
- updated_at: Date;
60
+ name: string;
62
61
  photo_id: number | null;
63
62
  suspended_until: Date | null;
64
63
  last_login_at: Date | null;
65
64
  suspended_reason: string | null;
66
65
  deactivated_at: Date | null;
66
+ updated_at: Date;
67
67
  }>;
68
68
  getMFAMethods(userId: number): Promise<({
69
69
  user_mfa_email: {
70
70
  id: number;
71
- email: string;
72
71
  created_at: Date;
73
72
  updated_at: Date;
73
+ email: string;
74
74
  user_mfa_id: number;
75
75
  }[];
76
76
  user_mfa_totp: {
77
77
  id: number;
78
- secret: import("@prisma/client/runtime/library").Bytes;
79
78
  created_at: Date;
80
79
  updated_at: Date;
80
+ secret: import("@prisma/client/runtime/library").Bytes;
81
81
  user_mfa_id: number;
82
82
  }[];
83
83
  user_mfa_webauthn: {
84
84
  id: number;
85
85
  created_at: Date;
86
86
  updated_at: Date;
87
- last_used_at: Date | null;
88
87
  user_mfa_id: number;
89
88
  credential_id: import("@prisma/client/runtime/library").Bytes;
90
89
  public_key: import("@prisma/client/runtime/library").Bytes;
91
90
  sign_count: number;
91
+ last_used_at: Date | null;
92
92
  }[];
93
93
  } & {
94
- name: string;
95
- type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
96
94
  id: number;
97
95
  user_id: number;
98
96
  created_at: Date;
99
- updated_at: Date;
97
+ name: string;
100
98
  suspended_until: Date | null;
99
+ updated_at: Date;
100
+ type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
101
101
  verified_at: Date | null;
102
102
  })[]>;
103
103
  updateMFA(userId: number, mfaId: number, { name }: UpdateDto): Promise<{
104
- name: string;
105
- type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
106
104
  id: number;
107
105
  user_id: number;
108
106
  created_at: Date;
109
- updated_at: Date;
107
+ name: string;
110
108
  suspended_until: Date | null;
109
+ updated_at: Date;
110
+ type: import("@prisma/client").$Enums.user_mfa_type_4ce08a626e_enum;
111
111
  verified_at: Date | null;
112
112
  }>;
113
113
  update(userid: number, { name }: UpdateDto): Promise<{
114
- name: string;
115
114
  id: number;
116
115
  created_at: Date;
117
- updated_at: Date;
116
+ name: string;
118
117
  photo_id: number | null;
119
118
  suspended_until: Date | null;
120
119
  last_login_at: Date | null;
121
120
  suspended_reason: string | null;
122
121
  deactivated_at: Date | null;
122
+ updated_at: Date;
123
123
  }>;
124
124
  updateAvatar(locale: string, userId: number, file: MulterFile): Promise<{
125
125
  id: number;
@@ -73,12 +73,12 @@ export declare class RoleController {
73
73
  code: string;
74
74
  };
75
75
  } & {
76
- name: string;
77
76
  id: number;
78
- description: string | null;
79
77
  created_at: Date;
78
+ name: string;
80
79
  updated_at: Date;
81
80
  locale_id: number;
81
+ description: string | null;
82
82
  role_id: number;
83
83
  })[];
84
84
  id: number;
@@ -96,12 +96,12 @@ export declare class RoleController {
96
96
  code: string;
97
97
  };
98
98
  } & {
99
- name: string;
100
99
  id: number;
101
- description: string | null;
102
100
  created_at: Date;
101
+ name: string;
103
102
  updated_at: Date;
104
103
  locale_id: number;
104
+ description: string | null;
105
105
  role_id: number;
106
106
  })[];
107
107
  id: number;
@@ -119,12 +119,12 @@ export declare class RoleController {
119
119
  code: string;
120
120
  };
121
121
  } & {
122
- name: string;
123
122
  id: number;
124
- description: string | null;
125
123
  created_at: Date;
124
+ name: string;
126
125
  updated_at: Date;
127
126
  locale_id: number;
127
+ description: string | null;
128
128
  role_id: number;
129
129
  })[];
130
130
  id: number;
@@ -79,12 +79,12 @@ export declare class RoleService {
79
79
  code: string;
80
80
  };
81
81
  } & {
82
- name: string;
83
82
  id: number;
84
- description: string | null;
85
83
  created_at: Date;
84
+ name: string;
86
85
  updated_at: Date;
87
86
  locale_id: number;
87
+ description: string | null;
88
88
  role_id: number;
89
89
  })[];
90
90
  id: number;
@@ -102,12 +102,12 @@ export declare class RoleService {
102
102
  code: string;
103
103
  };
104
104
  } & {
105
- name: string;
106
105
  id: number;
107
- description: string | null;
108
106
  created_at: Date;
107
+ name: string;
109
108
  updated_at: Date;
110
109
  locale_id: number;
110
+ description: string | null;
111
111
  role_id: number;
112
112
  })[];
113
113
  id: number;
@@ -125,12 +125,12 @@ export declare class RoleService {
125
125
  code: string;
126
126
  };
127
127
  } & {
128
- name: string;
129
128
  id: number;
130
- description: string | null;
131
129
  created_at: Date;
130
+ name: string;
132
131
  updated_at: Date;
133
132
  locale_id: number;
133
+ description: string | null;
134
134
  role_id: number;
135
135
  })[];
136
136
  id: number;
@@ -41,24 +41,24 @@ export declare class ScreenController {
41
41
  }>;
42
42
  show(screenId: number): Promise<{
43
43
  id: number;
44
- icon: string | null;
45
44
  created_at: Date;
46
45
  updated_at: Date;
47
46
  slug: string;
47
+ icon: string | null;
48
48
  }>;
49
49
  create(data: CreateDTO): Promise<{
50
50
  id: number;
51
- icon: string | null;
52
51
  created_at: Date;
53
52
  updated_at: Date;
54
53
  slug: string;
54
+ icon: string | null;
55
55
  }>;
56
56
  update(screenId: number, data: UpdateDTO): Promise<{
57
57
  id: number;
58
- icon: string | null;
59
58
  created_at: Date;
60
59
  updated_at: Date;
61
60
  slug: string;
61
+ icon: string | null;
62
62
  }>;
63
63
  delete(data: DeleteDTO): Promise<{
64
64
  count: number;
@@ -43,27 +43,27 @@ export declare class ScreenService {
43
43
  }>;
44
44
  get(screenId: number): Promise<{
45
45
  id: number;
46
- icon: string | null;
47
46
  created_at: Date;
48
47
  updated_at: Date;
49
48
  slug: string;
49
+ icon: string | null;
50
50
  }>;
51
51
  create({ slug, icon }: CreateDTO): Promise<{
52
52
  id: number;
53
- icon: string | null;
54
53
  created_at: Date;
55
54
  updated_at: Date;
56
55
  slug: string;
56
+ icon: string | null;
57
57
  }>;
58
58
  update({ id, data }: {
59
59
  id: number;
60
60
  data: UpdateDTO;
61
61
  }): Promise<{
62
62
  id: number;
63
- icon: string | null;
64
63
  created_at: Date;
65
64
  updated_at: Date;
66
65
  slug: string;
66
+ icon: string | null;
67
67
  }>;
68
68
  delete({ ids }: DeleteDTO): Promise<{
69
69
  count: number;
@@ -31,14 +31,14 @@ export declare class SessionController {
31
31
  id: any;
32
32
  }, sessionId: number, locale: string): Promise<{
33
33
  id: number;
34
- hash: string;
35
34
  user_id: number;
36
35
  user_agent: string;
37
36
  created_at: Date;
38
37
  updated_at: Date;
38
+ hash: string;
39
39
  ip_address: string;
40
- expires_at: Date;
41
40
  revoked_at: Date | null;
41
+ expires_at: Date;
42
42
  }>;
43
43
  }
44
44
  //# sourceMappingURL=session.controller.d.ts.map
@@ -19,28 +19,28 @@ export declare class SessionService {
19
19
  token: string;
20
20
  session: {
21
21
  id: number;
22
- hash: string;
23
22
  user_id: number;
24
23
  user_agent: string;
25
24
  created_at: Date;
26
25
  updated_at: Date;
26
+ hash: string;
27
27
  ip_address: string;
28
- expires_at: Date;
29
28
  revoked_at: Date | null;
29
+ expires_at: Date;
30
30
  };
31
31
  }>;
32
32
  refresh(locale: string, refreshToken: string, ipAddress: string, userAgent: string): Promise<{
33
33
  token: string;
34
34
  session: {
35
35
  id: number;
36
- hash: string;
37
36
  user_id: number;
38
37
  user_agent: string;
39
38
  created_at: Date;
40
39
  updated_at: Date;
40
+ hash: string;
41
41
  ip_address: string;
42
- expires_at: Date;
43
42
  revoked_at: Date | null;
43
+ expires_at: Date;
44
44
  };
45
45
  }>;
46
46
  deleteRefreshTokenCookie(res: any, refreshToken: string): Promise<{
@@ -67,14 +67,14 @@ export declare class SessionService {
67
67
  revokeAllSessions(userId: number): Promise<import("@prisma/client").Prisma.BatchPayload>;
68
68
  revokeUserSession(userId: number, sessionId: number, locale: string): Promise<{
69
69
  id: number;
70
- hash: string;
71
70
  user_id: number;
72
71
  user_agent: string;
73
72
  created_at: Date;
74
73
  updated_at: Date;
74
+ hash: string;
75
75
  ip_address: string;
76
- expires_at: Date;
77
76
  revoked_at: Date | null;
77
+ expires_at: Date;
78
78
  }>;
79
79
  /**
80
80
  * Enforce maximum concurrent sessions limit for a user.