@little-samo/samo-ai-sdk 0.6.6 → 0.6.8

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.
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
7
7
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8
8
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- limit: number;
11
10
  page: number;
11
+ limit: number;
12
12
  }, {
13
- limit?: number | undefined;
14
13
  page?: number | undefined;
14
+ limit?: number | undefined;
15
15
  }>;
16
16
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
17
17
  export interface AgentsPaginatedResponseDto {
@@ -152,11 +152,11 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
152
152
  }>>;
153
153
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
154
  }, "strict", z.ZodTypeAny, {
155
- name?: string | undefined;
156
- role?: string | undefined;
157
155
  avatar?: string | undefined;
158
156
  referenceAvatar?: string | undefined;
159
157
  appearance?: string | undefined;
158
+ name?: string | undefined;
159
+ role?: string | undefined;
160
160
  core?: {
161
161
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
162
162
  } | undefined;
@@ -188,11 +188,11 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
188
188
  } | undefined;
189
189
  } | undefined;
190
190
  }, {
191
- name?: string | undefined;
192
- role?: string | undefined;
193
191
  avatar?: string | undefined;
194
192
  referenceAvatar?: string | undefined;
195
193
  appearance?: string | undefined;
194
+ name?: string | undefined;
195
+ role?: string | undefined;
196
196
  core?: {
197
197
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
198
198
  } | undefined;
@@ -226,11 +226,11 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
226
226
  }>;
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  config: {
229
- name?: string | undefined;
230
- role?: string | undefined;
231
229
  avatar?: string | undefined;
232
230
  referenceAvatar?: string | undefined;
233
231
  appearance?: string | undefined;
232
+ name?: string | undefined;
233
+ role?: string | undefined;
234
234
  core?: {
235
235
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
236
236
  } | undefined;
@@ -265,11 +265,11 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
265
265
  agentId: bigint;
266
266
  }, {
267
267
  config: {
268
- name?: string | undefined;
269
- role?: string | undefined;
270
268
  avatar?: string | undefined;
271
269
  referenceAvatar?: string | undefined;
272
270
  appearance?: string | undefined;
271
+ name?: string | undefined;
272
+ role?: string | undefined;
273
273
  core?: {
274
274
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
275
275
  } | undefined;
@@ -369,11 +369,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
369
369
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
370
370
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
371
371
  }, "strip", z.ZodTypeAny, {
372
- limit: number;
373
372
  page: number;
373
+ limit: number;
374
374
  }, {
375
- limit?: number | undefined;
376
375
  page?: number | undefined;
376
+ limit?: number | undefined;
377
377
  }>;
378
378
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
379
379
  export interface AgentPresetsPaginatedResponseDto {
@@ -499,11 +499,11 @@ export declare const CreateAgentSchema: z.ZodObject<{
499
499
  }>>;
500
500
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
501
501
  }, "strict", z.ZodTypeAny, {
502
- name?: string | undefined;
503
- role?: string | undefined;
504
502
  avatar?: string | undefined;
505
503
  referenceAvatar?: string | undefined;
506
504
  appearance?: string | undefined;
505
+ name?: string | undefined;
506
+ role?: string | undefined;
507
507
  core?: {
508
508
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
509
509
  } | undefined;
@@ -535,11 +535,11 @@ export declare const CreateAgentSchema: z.ZodObject<{
535
535
  } | undefined;
536
536
  } | undefined;
537
537
  }, {
538
- name?: string | undefined;
539
- role?: string | undefined;
540
538
  avatar?: string | undefined;
541
539
  referenceAvatar?: string | undefined;
542
540
  appearance?: string | undefined;
541
+ name?: string | undefined;
542
+ role?: string | undefined;
543
543
  core?: {
544
544
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
545
545
  } | undefined;
@@ -573,11 +573,11 @@ export declare const CreateAgentSchema: z.ZodObject<{
573
573
  }>;
574
574
  }, "strip", z.ZodTypeAny, {
575
575
  config: {
576
- name?: string | undefined;
577
- role?: string | undefined;
578
576
  avatar?: string | undefined;
579
577
  referenceAvatar?: string | undefined;
580
578
  appearance?: string | undefined;
579
+ name?: string | undefined;
580
+ role?: string | undefined;
581
581
  core?: {
582
582
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
583
583
  } | undefined;
@@ -611,11 +611,11 @@ export declare const CreateAgentSchema: z.ZodObject<{
611
611
  };
612
612
  }, {
613
613
  config: {
614
- name?: string | undefined;
615
- role?: string | undefined;
616
614
  avatar?: string | undefined;
617
615
  referenceAvatar?: string | undefined;
618
616
  appearance?: string | undefined;
617
+ name?: string | undefined;
618
+ role?: string | undefined;
619
619
  core?: {
620
620
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
621
621
  } | undefined;
@@ -1,3 +1,5 @@
1
1
  export * from './user.events';
2
+ export * from './user.notice';
3
+ export * from './user.notification';
2
4
  export * from './user.requests';
3
5
  export * from './user';
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./user.events"), exports);
18
+ __exportStar(require("./user.notice"), exports);
19
+ __exportStar(require("./user.notification"), exports);
18
20
  __exportStar(require("./user.requests"), exports);
19
21
  __exportStar(require("./user"), exports);
20
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC;AACpC,kDAAgC;AAChC,yCAAuB"}
@@ -11,8 +11,11 @@ export interface UserPublicDto {
11
11
  avatarName: string | null;
12
12
  avatar: string | null;
13
13
  referenceAvatar: string | null;
14
+ bio: string | null;
14
15
  appearance: string | null;
15
16
  level: number;
17
+ ownedPresetLocationCount: number | null;
18
+ ownedPresetMessageCount: number | null;
16
19
  }
17
20
  export interface UserPrivateDto extends UserPublicDto {
18
21
  locale: string;
@@ -30,6 +33,7 @@ export interface UserPrivateDto extends UserPublicDto {
30
33
  nextExp: number;
31
34
  missionObjectiveBonusExp: number;
32
35
  missionBonusExp: number;
36
+ createdAt: Date;
33
37
  }
34
38
  export declare const UserAvatarSchema: z.ZodObject<{
35
39
  name: z.ZodString;
@@ -38,16 +42,31 @@ export declare const UserAvatarSchema: z.ZodObject<{
38
42
  referenceAvatar: z.ZodString;
39
43
  appearance: z.ZodString;
40
44
  }, "strip", z.ZodTypeAny, {
41
- name: string;
42
45
  avatar: string;
43
46
  referenceAvatar: string;
44
47
  appearance: string;
48
+ name: string;
45
49
  role?: string | undefined;
46
50
  }, {
47
- name: string;
48
51
  avatar: string;
49
52
  referenceAvatar: string;
50
53
  appearance: string;
54
+ name: string;
51
55
  role?: string | undefined;
52
56
  }>;
53
57
  export type UserAvatarDto = z.infer<typeof UserAvatarSchema>;
58
+ export interface UserCommentDto {
59
+ id: bigint;
60
+ authorUserId: UserId;
61
+ targetUserId: UserId;
62
+ parentCommentId: bigint | null;
63
+ content: string;
64
+ contentImageUrl: string | null;
65
+ likeCount: number;
66
+ replyCount: number;
67
+ userReaction: 'LIKE' | 'DISLIKE' | null;
68
+ hasReported: boolean;
69
+ isSecret: boolean;
70
+ createdAt: Date;
71
+ updatedAt: Date;
72
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AAwCP,QAAA,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IACrC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC,CAAC"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AA6CP,QAAA,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IACrC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface NoticeDto {
2
+ id: bigint;
3
+ content: string;
4
+ contentImageUrls: string[];
5
+ publishedAt: Date | null;
6
+ isAcknowledged: boolean | null;
7
+ isRead: boolean | null;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.notice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notice.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.notice.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { UserId } from '@little-samo/samo-ai';
2
+ export type UserNotificationType = 'ADMIN_MESSAGE' | 'ADMIN_REWARD' | 'SYSTEM_REWARD_ATTENDANCE' | 'SYSTEM_REWARD_LEVEL_UP' | 'COMMENT_USER' | 'COMMENT_LOCATION_PRESET' | 'LIKE_LOCATION_PRESET';
3
+ export interface UserNotificationDto {
4
+ id: bigint;
5
+ type: UserNotificationType;
6
+ actorUserId: UserId | null;
7
+ userCommentId: bigint | null;
8
+ locationPresetId: bigint | null;
9
+ locationPresetCommentId: bigint | null;
10
+ content: string | null;
11
+ count: number | null;
12
+ isAcknowledged: boolean;
13
+ isRead: boolean;
14
+ createdAt: Date;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.notification.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.notification.ts"],"names":[],"mappings":""}
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { UserAvatarDto, UserPrivateDto, UserPublicDto } from './user';
2
+ import { UserAvatarDto, UserCommentDto, UserPrivateDto, UserPublicDto } from './user';
3
+ import { NoticeDto } from './user.notice';
4
+ import { UserNotificationDto } from './user.notification';
3
5
  export declare const GetCurrentUserQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
4
6
  export type GetCurrentUserQueryDto = z.infer<typeof GetCurrentUserQuerySchema>;
5
7
  export interface GetCurrentUserResponseDto {
@@ -14,26 +16,29 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
14
16
  avatar: z.ZodOptional<z.ZodString>;
15
17
  referenceAvatar: z.ZodOptional<z.ZodString>;
16
18
  appearance: z.ZodOptional<z.ZodString>;
19
+ bio: z.ZodOptional<z.ZodString>;
17
20
  isAllowSensitive: z.ZodOptional<z.ZodBoolean>;
18
21
  }, "strip", z.ZodTypeAny, {
19
- avatar?: string | undefined;
20
- referenceAvatar?: string | undefined;
21
- appearance?: string | undefined;
22
22
  username?: string | undefined;
23
23
  nickname?: string | undefined;
24
24
  birthDate?: Date | undefined;
25
25
  profilePicture?: string | undefined;
26
26
  avatarName?: string | undefined;
27
- isAllowSensitive?: boolean | undefined;
28
- }, {
29
27
  avatar?: string | undefined;
30
28
  referenceAvatar?: string | undefined;
31
29
  appearance?: string | undefined;
30
+ bio?: string | undefined;
31
+ isAllowSensitive?: boolean | undefined;
32
+ }, {
32
33
  username?: string | undefined;
33
34
  nickname?: string | undefined;
34
35
  birthDate?: Date | undefined;
35
36
  profilePicture?: string | undefined;
36
37
  avatarName?: string | undefined;
38
+ avatar?: string | undefined;
39
+ referenceAvatar?: string | undefined;
40
+ appearance?: string | undefined;
41
+ bio?: string | undefined;
37
42
  isAllowSensitive?: boolean | undefined;
38
43
  }>;
39
44
  export type UpdateCurrentUserBodyDto = z.infer<typeof UpdateCurrentUserBodySchema>;
@@ -56,58 +61,58 @@ export declare const UpdateUserAvatarBodySchema: z.ZodEffects<z.ZodObject<{
56
61
  referenceAvatar: z.ZodString;
57
62
  appearance: z.ZodString;
58
63
  }, "strip", z.ZodTypeAny, {
59
- name: string;
60
64
  avatar: string;
61
65
  referenceAvatar: string;
62
66
  appearance: string;
67
+ name: string;
63
68
  role?: string | undefined;
64
69
  }, {
65
- name: string;
66
70
  avatar: string;
67
71
  referenceAvatar: string;
68
72
  appearance: string;
73
+ name: string;
69
74
  role?: string | undefined;
70
75
  }>>>;
71
76
  }, "strip", z.ZodTypeAny, {
72
77
  avatar?: {
73
- name: string;
74
78
  avatar: string;
75
79
  referenceAvatar: string;
76
80
  appearance: string;
81
+ name: string;
77
82
  role?: string | undefined;
78
83
  } | null | undefined;
79
- locationId?: bigint | undefined;
80
84
  index?: number | undefined;
85
+ locationId?: bigint | undefined;
81
86
  }, {
82
87
  avatar?: {
83
- name: string;
84
88
  avatar: string;
85
89
  referenceAvatar: string;
86
90
  appearance: string;
91
+ name: string;
87
92
  role?: string | undefined;
88
93
  } | null | undefined;
89
- locationId?: bigint | undefined;
90
94
  index?: number | undefined;
95
+ locationId?: bigint | undefined;
91
96
  }>, {
92
97
  avatar?: {
93
- name: string;
94
98
  avatar: string;
95
99
  referenceAvatar: string;
96
100
  appearance: string;
101
+ name: string;
97
102
  role?: string | undefined;
98
103
  } | null | undefined;
99
- locationId?: bigint | undefined;
100
104
  index?: number | undefined;
105
+ locationId?: bigint | undefined;
101
106
  }, {
102
107
  avatar?: {
103
- name: string;
104
108
  avatar: string;
105
109
  referenceAvatar: string;
106
110
  appearance: string;
111
+ name: string;
107
112
  role?: string | undefined;
108
113
  } | null | undefined;
109
- locationId?: bigint | undefined;
110
114
  index?: number | undefined;
115
+ locationId?: bigint | undefined;
111
116
  }>;
112
117
  export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
113
118
  export interface UpdateUserAvatarResponseDto {
@@ -162,6 +167,234 @@ export type GetUsersByIdsQueryDto = z.infer<typeof GetUsersByIdsQuerySchema>;
162
167
  export interface GetUserPublicsByIdsResponseDto {
163
168
  users: UserPublicDto[];
164
169
  }
170
+ export declare const GetUserCommentsParamsSchema: z.ZodObject<{
171
+ userId: z.ZodBigInt;
172
+ }, "strip", z.ZodTypeAny, {
173
+ userId: bigint;
174
+ }, {
175
+ userId: bigint;
176
+ }>;
177
+ export type GetUserCommentsParamsDto = z.infer<typeof GetUserCommentsParamsSchema>;
178
+ export declare const GetUserCommentsQuerySchema: z.ZodObject<{
179
+ sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["latest", "recommended"]>>>;
180
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
181
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ sortBy: "latest" | "recommended";
184
+ page: number;
185
+ limit: number;
186
+ }, {
187
+ sortBy?: "latest" | "recommended" | undefined;
188
+ page?: number | undefined;
189
+ limit?: number | undefined;
190
+ }>;
191
+ export type GetUserCommentsQueryDto = z.infer<typeof GetUserCommentsQuerySchema>;
192
+ export interface GetUserCommentsResponseDto {
193
+ data: UserCommentDto[];
194
+ meta: {
195
+ total: number;
196
+ page: number;
197
+ limit: number;
198
+ totalPages: number;
199
+ };
200
+ }
201
+ export declare const GetUserCommentRepliesParamsSchema: z.ZodObject<{
202
+ commentId: z.ZodBigInt;
203
+ }, "strip", z.ZodTypeAny, {
204
+ commentId: bigint;
205
+ }, {
206
+ commentId: bigint;
207
+ }>;
208
+ export type GetUserCommentRepliesParamsDto = z.infer<typeof GetUserCommentRepliesParamsSchema>;
209
+ export declare const GetUserCommentRepliesQuerySchema: z.ZodObject<{
210
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
211
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ page: number;
214
+ limit: number;
215
+ }, {
216
+ page?: number | undefined;
217
+ limit?: number | undefined;
218
+ }>;
219
+ export type GetUserCommentRepliesQueryDto = z.infer<typeof GetUserCommentRepliesQuerySchema>;
220
+ export interface GetUserCommentRepliesResponseDto {
221
+ data: UserCommentDto[];
222
+ meta: {
223
+ total: number;
224
+ page: number;
225
+ limit: number;
226
+ totalPages: number;
227
+ };
228
+ }
229
+ export declare const CreateUserCommentParamsSchema: z.ZodObject<{
230
+ userId: z.ZodBigInt;
231
+ }, "strip", z.ZodTypeAny, {
232
+ userId: bigint;
233
+ }, {
234
+ userId: bigint;
235
+ }>;
236
+ export type CreateUserCommentParamsDto = z.infer<typeof CreateUserCommentParamsSchema>;
237
+ export declare const CreateUserCommentBodySchema: z.ZodObject<{
238
+ parentCommentId: z.ZodOptional<z.ZodBigInt>;
239
+ content: z.ZodString;
240
+ contentImageUrl: z.ZodOptional<z.ZodString>;
241
+ isSecret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ content: string;
244
+ isSecret: boolean;
245
+ parentCommentId?: bigint | undefined;
246
+ contentImageUrl?: string | undefined;
247
+ }, {
248
+ content: string;
249
+ parentCommentId?: bigint | undefined;
250
+ contentImageUrl?: string | undefined;
251
+ isSecret?: boolean | undefined;
252
+ }>;
253
+ export type CreateUserCommentBodyDto = z.infer<typeof CreateUserCommentBodySchema>;
254
+ export interface CreateUserCommentResponseDto {
255
+ comment: UserCommentDto;
256
+ }
257
+ export declare const UpdateUserCommentReactionParamsSchema: z.ZodObject<{
258
+ commentId: z.ZodBigInt;
259
+ }, "strip", z.ZodTypeAny, {
260
+ commentId: bigint;
261
+ }, {
262
+ commentId: bigint;
263
+ }>;
264
+ export type UpdateUserCommentReactionParamsDto = z.infer<typeof UpdateUserCommentReactionParamsSchema>;
265
+ export declare const UpdateUserCommentReactionBodySchema: z.ZodObject<{
266
+ reactionType: z.ZodNullable<z.ZodEnum<["LIKE", "DISLIKE"]>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ reactionType: "LIKE" | "DISLIKE" | null;
269
+ }, {
270
+ reactionType: "LIKE" | "DISLIKE" | null;
271
+ }>;
272
+ export type UpdateUserCommentReactionBodyDto = z.infer<typeof UpdateUserCommentReactionBodySchema>;
273
+ export interface UpdateUserCommentReactionResponseDto {
274
+ success: boolean;
275
+ error?: string;
276
+ }
277
+ export declare const ReportUserCommentParamsSchema: z.ZodObject<{
278
+ userId: z.ZodBigInt;
279
+ commentId: z.ZodBigInt;
280
+ }, "strip", z.ZodTypeAny, {
281
+ userId: bigint;
282
+ commentId: bigint;
283
+ }, {
284
+ userId: bigint;
285
+ commentId: bigint;
286
+ }>;
287
+ export type ReportUserCommentParamsDto = z.infer<typeof ReportUserCommentParamsSchema>;
288
+ export interface ReportUserCommentResponseDto {
289
+ success: boolean;
290
+ error?: string;
291
+ }
292
+ export declare const DeleteUserCommentParamsSchema: z.ZodObject<{
293
+ userId: z.ZodBigInt;
294
+ commentId: z.ZodBigInt;
295
+ }, "strip", z.ZodTypeAny, {
296
+ userId: bigint;
297
+ commentId: bigint;
298
+ }, {
299
+ userId: bigint;
300
+ commentId: bigint;
301
+ }>;
302
+ export type DeleteUserCommentParamsDto = z.infer<typeof DeleteUserCommentParamsSchema>;
303
+ export interface DeleteUserCommentResponseDto {
304
+ success: boolean;
305
+ error?: string;
306
+ }
307
+ export declare const GetUserReferralQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
308
+ export type GetUserReferralQueryDto = z.infer<typeof GetUserReferralQuerySchema>;
309
+ export interface GetUserReferralResponseDto {
310
+ referralCode: string;
311
+ referrerId: bigint | null;
312
+ referrerCode: string | null;
313
+ totalRewardCredits: number;
314
+ referralCount: number;
315
+ rewardCreditsPerReferral: number;
316
+ }
317
+ export declare const SetUserReferrerBodySchema: z.ZodObject<{
318
+ referralCode: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ referralCode: string;
321
+ }, {
322
+ referralCode: string;
323
+ }>;
324
+ export type SetUserReferrerBodyDto = z.infer<typeof SetUserReferrerBodySchema>;
325
+ export interface SetUserReferrerResponseDto {
326
+ rewardCredits: number;
327
+ }
328
+ export declare const GetNoticesQuerySchema: z.ZodObject<{
329
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
330
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ page: number;
333
+ limit: number;
334
+ }, {
335
+ page?: number | undefined;
336
+ limit?: number | undefined;
337
+ }>;
338
+ export type GetNoticesQueryDto = z.infer<typeof GetNoticesQuerySchema>;
339
+ export interface GetNoticesResponseDto {
340
+ data: NoticeDto[];
341
+ meta: {
342
+ total: number;
343
+ page: number;
344
+ limit: number;
345
+ totalPages: number;
346
+ };
347
+ unacknowledgedCount: number;
348
+ }
349
+ export declare const AcknowledgeNoticesBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
350
+ export type AcknowledgeNoticesBodyDto = z.infer<typeof AcknowledgeNoticesBodySchema>;
351
+ export interface AcknowledgeNoticesResponseDto {
352
+ }
353
+ export declare const ReadNoticeParamsSchema: z.ZodObject<{
354
+ noticeId: z.ZodBigInt;
355
+ }, "strip", z.ZodTypeAny, {
356
+ noticeId: bigint;
357
+ }, {
358
+ noticeId: bigint;
359
+ }>;
360
+ export type ReadNoticeParamsDto = z.infer<typeof ReadNoticeParamsSchema>;
361
+ export interface ReadNoticeResponseDto {
362
+ }
363
+ export declare const GetUserNotificationsQuerySchema: z.ZodObject<{
364
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
365
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ page: number;
368
+ limit: number;
369
+ }, {
370
+ page?: number | undefined;
371
+ limit?: number | undefined;
372
+ }>;
373
+ export type GetUserNotificationsQueryDto = z.infer<typeof GetUserNotificationsQuerySchema>;
374
+ export interface GetUserNotificationsResponseDto {
375
+ data: UserNotificationDto[];
376
+ meta: {
377
+ total: number;
378
+ page: number;
379
+ limit: number;
380
+ totalPages: number;
381
+ };
382
+ unacknowledgedCount: number;
383
+ }
384
+ export declare const AcknowledgeUserNotificationsBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
385
+ export type AcknowledgeUserNotificationsBodyDto = z.infer<typeof AcknowledgeUserNotificationsBodySchema>;
386
+ export interface AcknowledgeUserNotificationsResponseDto {
387
+ }
388
+ export declare const ReadUserNotificationParamsSchema: z.ZodObject<{
389
+ notificationId: z.ZodBigInt;
390
+ }, "strip", z.ZodTypeAny, {
391
+ notificationId: bigint;
392
+ }, {
393
+ notificationId: bigint;
394
+ }>;
395
+ export type ReadUserNotificationParamsDto = z.infer<typeof ReadUserNotificationParamsSchema>;
396
+ export interface ReadUserNotificationResponseDto {
397
+ }
165
398
  export declare const GetCurrentUserSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
166
399
  export type GetCurrentUserDto = z.infer<typeof GetCurrentUserSchema>;
167
400
  export interface GetCurrentUserResponseDto {