@little-samo/samo-ai-sdk 0.6.9 → 0.6.11

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.
@@ -152,14 +152,15 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
152
152
  }>>;
153
153
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
154
  }, "strict", z.ZodTypeAny, {
155
+ role?: string | undefined;
155
156
  avatar?: string | undefined;
156
157
  referenceAvatar?: string | undefined;
157
158
  appearance?: string | undefined;
158
159
  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;
163
+ rules?: string[] | undefined;
163
164
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
164
165
  languages?: string[] | undefined;
165
166
  timeZone?: string | undefined;
@@ -186,16 +187,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
186
187
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
187
188
  } | undefined;
188
189
  } | undefined;
189
- rules?: string[] | undefined;
190
190
  }, {
191
+ role?: string | undefined;
191
192
  avatar?: string | undefined;
192
193
  referenceAvatar?: string | undefined;
193
194
  appearance?: string | undefined;
194
195
  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;
199
+ rules?: string[] | undefined;
199
200
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
200
201
  languages?: string[] | undefined;
201
202
  timeZone?: string | undefined;
@@ -222,19 +223,18 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
222
223
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
223
224
  } | undefined;
224
225
  } | undefined;
225
- rules?: string[] | undefined;
226
226
  }>;
227
227
  }, "strip", z.ZodTypeAny, {
228
- agentId: bigint;
229
228
  config: {
229
+ role?: string | undefined;
230
230
  avatar?: string | undefined;
231
231
  referenceAvatar?: string | undefined;
232
232
  appearance?: string | undefined;
233
233
  name?: string | undefined;
234
- role?: string | undefined;
235
234
  core?: {
236
235
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
237
236
  } | undefined;
237
+ rules?: string[] | undefined;
238
238
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
239
239
  languages?: string[] | undefined;
240
240
  timeZone?: string | undefined;
@@ -261,19 +261,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
261
261
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
262
262
  } | undefined;
263
263
  } | undefined;
264
- rules?: string[] | undefined;
265
264
  };
266
- }, {
267
265
  agentId: bigint;
266
+ }, {
268
267
  config: {
268
+ role?: string | undefined;
269
269
  avatar?: string | undefined;
270
270
  referenceAvatar?: string | undefined;
271
271
  appearance?: string | undefined;
272
272
  name?: string | undefined;
273
- role?: string | undefined;
274
273
  core?: {
275
274
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
276
275
  } | undefined;
276
+ rules?: string[] | undefined;
277
277
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
278
278
  languages?: string[] | undefined;
279
279
  timeZone?: string | undefined;
@@ -300,8 +300,8 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
300
300
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
301
301
  } | undefined;
302
302
  } | undefined;
303
- rules?: string[] | undefined;
304
303
  };
304
+ agentId: bigint;
305
305
  }>;
306
306
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
307
307
  export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
@@ -327,7 +327,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
327
327
  token: string;
328
328
  }>]>;
329
329
  }, "strip", z.ZodTypeAny, {
330
- agentId: bigint;
331
330
  credential: {
332
331
  type: "notion";
333
332
  token: string;
@@ -335,8 +334,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
335
334
  type: "notion";
336
335
  token: string;
337
336
  };
338
- }, {
339
337
  agentId: bigint;
338
+ }, {
340
339
  credential: {
341
340
  type: "notion";
342
341
  token: string;
@@ -344,6 +343,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
344
343
  type: "notion";
345
344
  token: string;
346
345
  };
346
+ agentId: bigint;
347
347
  }>;
348
348
  export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
349
349
  export interface AgentUpdateCredentialResponseDto {
@@ -354,11 +354,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
354
354
  agentId: z.ZodBigInt;
355
355
  credentialType: z.ZodString;
356
356
  }, "strip", z.ZodTypeAny, {
357
- agentId: bigint;
358
357
  credentialType: string;
359
- }, {
360
358
  agentId: bigint;
359
+ }, {
361
360
  credentialType: string;
361
+ agentId: bigint;
362
362
  }>;
363
363
  export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
364
364
  export interface AgentDeleteCredentialResponseDto {
@@ -499,14 +499,15 @@ export declare const CreateAgentSchema: z.ZodObject<{
499
499
  }>>;
500
500
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
501
501
  }, "strict", z.ZodTypeAny, {
502
+ role?: string | undefined;
502
503
  avatar?: string | undefined;
503
504
  referenceAvatar?: string | undefined;
504
505
  appearance?: string | undefined;
505
506
  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;
510
+ rules?: string[] | undefined;
510
511
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
511
512
  languages?: string[] | undefined;
512
513
  timeZone?: string | undefined;
@@ -533,16 +534,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
533
534
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
534
535
  } | undefined;
535
536
  } | undefined;
536
- rules?: string[] | undefined;
537
537
  }, {
538
+ role?: string | undefined;
538
539
  avatar?: string | undefined;
539
540
  referenceAvatar?: string | undefined;
540
541
  appearance?: string | undefined;
541
542
  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;
546
+ rules?: string[] | undefined;
546
547
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
547
548
  languages?: string[] | undefined;
548
549
  timeZone?: string | undefined;
@@ -569,18 +570,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
569
570
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
570
571
  } | undefined;
571
572
  } | undefined;
572
- rules?: string[] | undefined;
573
573
  }>;
574
574
  }, "strip", z.ZodTypeAny, {
575
575
  config: {
576
+ role?: string | undefined;
576
577
  avatar?: string | undefined;
577
578
  referenceAvatar?: string | undefined;
578
579
  appearance?: string | undefined;
579
580
  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;
584
+ rules?: string[] | undefined;
584
585
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
585
586
  languages?: string[] | undefined;
586
587
  timeZone?: string | undefined;
@@ -607,18 +608,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
607
608
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
608
609
  } | undefined;
609
610
  } | undefined;
610
- rules?: string[] | undefined;
611
611
  };
612
612
  }, {
613
613
  config: {
614
+ role?: string | undefined;
614
615
  avatar?: string | undefined;
615
616
  referenceAvatar?: string | undefined;
616
617
  appearance?: string | undefined;
617
618
  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;
622
+ rules?: string[] | undefined;
622
623
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
623
624
  languages?: string[] | undefined;
624
625
  timeZone?: string | undefined;
@@ -645,7 +646,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
645
646
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
646
647
  } | undefined;
647
648
  } | undefined;
648
- rules?: string[] | undefined;
649
649
  };
650
650
  }>;
651
651
  export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
@@ -33,6 +33,7 @@ export interface UserPrivateDto extends UserPublicDto {
33
33
  nextExp: number;
34
34
  missionObjectiveBonusExp: number;
35
35
  missionBonusExp: number;
36
+ totalLocationPresetPaidCreditUsed: number;
36
37
  createdAt: Date;
37
38
  }
38
39
  export declare const UserAvatarSchema: z.ZodObject<{
@@ -42,16 +43,16 @@ export declare const UserAvatarSchema: z.ZodObject<{
42
43
  referenceAvatar: z.ZodString;
43
44
  appearance: z.ZodString;
44
45
  }, "strip", z.ZodTypeAny, {
46
+ name: string;
45
47
  avatar: string;
46
48
  referenceAvatar: string;
47
49
  appearance: string;
48
- name: string;
49
50
  role?: string | undefined;
50
51
  }, {
52
+ name: string;
51
53
  avatar: string;
52
54
  referenceAvatar: string;
53
55
  appearance: string;
54
- name: string;
55
56
  role?: string | undefined;
56
57
  }>;
57
58
  export type UserAvatarDto = z.infer<typeof UserAvatarSchema>;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AA+CP,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"}
@@ -12,6 +12,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
12
12
  nickname: z.ZodOptional<z.ZodString>;
13
13
  birthDate: z.ZodOptional<z.ZodDate>;
14
14
  profilePicture: z.ZodOptional<z.ZodString>;
15
+ role: z.ZodOptional<z.ZodString>;
15
16
  avatarName: z.ZodOptional<z.ZodString>;
16
17
  avatar: z.ZodOptional<z.ZodString>;
17
18
  referenceAvatar: z.ZodOptional<z.ZodString>;
@@ -23,6 +24,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
23
24
  nickname?: string | undefined;
24
25
  birthDate?: Date | undefined;
25
26
  profilePicture?: string | undefined;
27
+ role?: string | undefined;
26
28
  avatarName?: string | undefined;
27
29
  avatar?: string | undefined;
28
30
  referenceAvatar?: string | undefined;
@@ -34,6 +36,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
34
36
  nickname?: string | undefined;
35
37
  birthDate?: Date | undefined;
36
38
  profilePicture?: string | undefined;
39
+ role?: string | undefined;
37
40
  avatarName?: string | undefined;
38
41
  avatar?: string | undefined;
39
42
  referenceAvatar?: string | undefined;
@@ -168,6 +171,82 @@ export type GetUsersByIdsQueryDto = z.infer<typeof GetUsersByIdsQuerySchema>;
168
171
  export interface GetUserPublicsByIdsResponseDto {
169
172
  users: UserPublicDto[];
170
173
  }
174
+ export declare const FollowUserParamsSchema: z.ZodObject<{
175
+ userId: z.ZodBigInt;
176
+ }, "strip", z.ZodTypeAny, {
177
+ userId: bigint;
178
+ }, {
179
+ userId: bigint;
180
+ }>;
181
+ export type FollowUserParamsDto = z.infer<typeof FollowUserParamsSchema>;
182
+ export interface FollowUserResponseDto {
183
+ }
184
+ export declare const UnfollowUserParamsSchema: z.ZodObject<{
185
+ userId: z.ZodBigInt;
186
+ }, "strip", z.ZodTypeAny, {
187
+ userId: bigint;
188
+ }, {
189
+ userId: bigint;
190
+ }>;
191
+ export type UnfollowUserParamsDto = z.infer<typeof UnfollowUserParamsSchema>;
192
+ export interface UnfollowUserResponseDto {
193
+ }
194
+ export declare const GetUserFollowersParamsSchema: z.ZodObject<{
195
+ userId: z.ZodBigInt;
196
+ }, "strip", z.ZodTypeAny, {
197
+ userId: bigint;
198
+ }, {
199
+ userId: bigint;
200
+ }>;
201
+ export type GetUserFollowersParamsDto = z.infer<typeof GetUserFollowersParamsSchema>;
202
+ export declare const GetUserFollowersQuerySchema: z.ZodObject<{
203
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
204
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ page: number;
207
+ limit: number;
208
+ }, {
209
+ page?: number | undefined;
210
+ limit?: number | undefined;
211
+ }>;
212
+ export type GetUserFollowersQueryDto = z.infer<typeof GetUserFollowersQuerySchema>;
213
+ export interface GetUserFollowersResponseDto {
214
+ users: UserPublicDto[];
215
+ meta: {
216
+ total: number;
217
+ page: number;
218
+ limit: number;
219
+ totalPages: number;
220
+ };
221
+ }
222
+ export declare const GetUserFollowingParamsSchema: z.ZodObject<{
223
+ userId: z.ZodBigInt;
224
+ }, "strip", z.ZodTypeAny, {
225
+ userId: bigint;
226
+ }, {
227
+ userId: bigint;
228
+ }>;
229
+ export type GetUserFollowingParamsDto = z.infer<typeof GetUserFollowingParamsSchema>;
230
+ export declare const GetUserFollowingQuerySchema: z.ZodObject<{
231
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
232
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ page: number;
235
+ limit: number;
236
+ }, {
237
+ page?: number | undefined;
238
+ limit?: number | undefined;
239
+ }>;
240
+ export type GetUserFollowingQueryDto = z.infer<typeof GetUserFollowingQuerySchema>;
241
+ export interface GetUserFollowingResponseDto {
242
+ users: UserPublicDto[];
243
+ meta: {
244
+ total: number;
245
+ page: number;
246
+ limit: number;
247
+ totalPages: number;
248
+ };
249
+ }
171
250
  export declare const GetUserCommentsParamsSchema: z.ZodObject<{
172
251
  userId: z.ZodBigInt;
173
252
  }, "strip", z.ZodTypeAny, {
@@ -181,13 +260,13 @@ export declare const GetUserCommentsQuerySchema: z.ZodObject<{
181
260
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
182
261
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
183
262
  }, "strip", z.ZodTypeAny, {
184
- sortBy: "latest" | "recommended";
185
263
  page: number;
186
264
  limit: number;
265
+ sortBy: "latest" | "recommended";
187
266
  }, {
188
- sortBy?: "latest" | "recommended" | undefined;
189
267
  page?: number | undefined;
190
268
  limit?: number | undefined;
269
+ sortBy?: "latest" | "recommended" | undefined;
191
270
  }>;
192
271
  export type GetUserCommentsQueryDto = z.infer<typeof GetUserCommentsQuerySchema>;
193
272
  export interface GetUserCommentsResponseDto {
@@ -351,6 +430,10 @@ export declare const AcknowledgeNoticesBodySchema: z.ZodObject<{}, "strip", z.Zo
351
430
  export type AcknowledgeNoticesBodyDto = z.infer<typeof AcknowledgeNoticesBodySchema>;
352
431
  export interface AcknowledgeNoticesResponseDto {
353
432
  }
433
+ export declare const ReadAllNoticesBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
434
+ export type ReadAllNoticesBodyDto = z.infer<typeof ReadAllNoticesBodySchema>;
435
+ export interface ReadAllNoticesResponseDto {
436
+ }
354
437
  export declare const ReadNoticeParamsSchema: z.ZodObject<{
355
438
  noticeId: z.ZodBigInt;
356
439
  }, "strip", z.ZodTypeAny, {
@@ -386,12 +469,16 @@ export declare const AcknowledgeUserNotificationsBodySchema: z.ZodObject<{}, "st
386
469
  export type AcknowledgeUserNotificationsBodyDto = z.infer<typeof AcknowledgeUserNotificationsBodySchema>;
387
470
  export interface AcknowledgeUserNotificationsResponseDto {
388
471
  }
472
+ export declare const ReadAllUserNotificationsBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
473
+ export type ReadAllUserNotificationsBodyDto = z.infer<typeof ReadAllUserNotificationsBodySchema>;
474
+ export interface ReadAllUserNotificationsResponseDto {
475
+ }
389
476
  export declare const ReadUserNotificationParamsSchema: z.ZodObject<{
390
- notificationId: z.ZodBigInt;
477
+ notificationId: z.ZodOptional<z.ZodBigInt>;
391
478
  }, "strip", z.ZodTypeAny, {
392
- notificationId: bigint;
479
+ notificationId?: bigint | undefined;
393
480
  }, {
394
- notificationId: bigint;
481
+ notificationId?: bigint | undefined;
395
482
  }>;
396
483
  export type ReadUserNotificationParamsDto = z.infer<typeof ReadUserNotificationParamsSchema>;
397
484
  export interface ReadUserNotificationResponseDto {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCurrentUserSchema = exports.ReadUserNotificationParamsSchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
3
+ exports.GetCurrentUserSchema = exports.ReadUserNotificationParamsSchema = exports.ReadAllUserNotificationsBodySchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.ReadAllNoticesBodySchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUserFollowingQuerySchema = exports.GetUserFollowingParamsSchema = exports.GetUserFollowersQuerySchema = exports.GetUserFollowersParamsSchema = exports.UnfollowUserParamsSchema = exports.FollowUserParamsSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const user_1 = require("./user");
6
6
  exports.GetCurrentUserQuerySchema = zod_1.z.object({});
@@ -14,6 +14,7 @@ exports.UpdateCurrentUserBodySchema = zod_1.z.object({
14
14
  nickname: zod_1.z.string().min(4).max(32).optional(),
15
15
  birthDate: zod_1.z.coerce.date().optional(),
16
16
  profilePicture: zod_1.z.string().max(2048).optional(),
17
+ role: zod_1.z.string().max(200).optional(),
17
18
  avatarName: zod_1.z.string().max(64).optional(),
18
19
  avatar: zod_1.z.string().max(2048).optional(),
19
20
  referenceAvatar: zod_1.z.string().max(2048).optional(),
@@ -51,6 +52,26 @@ exports.GetUsersByIdsQuerySchema = zod_1.z.object({
51
52
  }),
52
53
  locationId: zod_1.z.coerce.bigint().optional(),
53
54
  });
55
+ exports.FollowUserParamsSchema = zod_1.z.object({
56
+ userId: zod_1.z.coerce.bigint(),
57
+ });
58
+ exports.UnfollowUserParamsSchema = zod_1.z.object({
59
+ userId: zod_1.z.coerce.bigint(),
60
+ });
61
+ exports.GetUserFollowersParamsSchema = zod_1.z.object({
62
+ userId: zod_1.z.coerce.bigint(),
63
+ });
64
+ exports.GetUserFollowersQuerySchema = zod_1.z.object({
65
+ page: zod_1.z.coerce.number().int().min(1).optional().default(1),
66
+ limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
67
+ });
68
+ exports.GetUserFollowingParamsSchema = zod_1.z.object({
69
+ userId: zod_1.z.coerce.bigint(),
70
+ });
71
+ exports.GetUserFollowingQuerySchema = zod_1.z.object({
72
+ page: zod_1.z.coerce.number().int().min(1).optional().default(1),
73
+ limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
74
+ });
54
75
  exports.GetUserCommentsParamsSchema = zod_1.z.object({
55
76
  userId: zod_1.z.coerce.bigint(),
56
77
  });
@@ -101,6 +122,7 @@ exports.GetNoticesQuerySchema = zod_1.z.object({
101
122
  limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
102
123
  });
103
124
  exports.AcknowledgeNoticesBodySchema = zod_1.z.object({});
125
+ exports.ReadAllNoticesBodySchema = zod_1.z.object({});
104
126
  exports.ReadNoticeParamsSchema = zod_1.z.object({
105
127
  noticeId: zod_1.z.coerce.bigint(),
106
128
  });
@@ -109,8 +131,9 @@ exports.GetUserNotificationsQuerySchema = zod_1.z.object({
109
131
  limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
110
132
  });
111
133
  exports.AcknowledgeUserNotificationsBodySchema = zod_1.z.object({});
134
+ exports.ReadAllUserNotificationsBodySchema = zod_1.z.object({});
112
135
  exports.ReadUserNotificationParamsSchema = zod_1.z.object({
113
- notificationId: zod_1.z.coerce.bigint(),
136
+ notificationId: zod_1.z.coerce.bigint().optional(),
114
137
  });
115
138
  exports.GetCurrentUserSchema = zod_1.z.object({});
116
139
  //# sourceMappingURL=user.requests.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,iCAMgB;AASH,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AASzC,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;IACb,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAC/C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,C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CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACrE,CAAC,CAAC;AAkBU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAStD,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AASlD,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAaU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
@@ -101,6 +101,7 @@ export interface LocationPresetDetailDto extends LocationPresetDto {
101
101
  export interface LocationPresetPrivateDto extends LocationPresetDto {
102
102
  locationConfig: LocationConfig;
103
103
  agentConfigs: AgentConfig[];
104
+ totalPaidCreditUsed: number;
104
105
  }
105
106
  export interface LocationPresetCommentDto {
106
107
  id: bigint;