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

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
- page: number;
11
10
  limit: number;
11
+ page: number;
12
12
  }, {
13
- page?: number | undefined;
14
13
  limit?: number | undefined;
14
+ page?: number | undefined;
15
15
  }>;
16
16
  export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
17
17
  export interface AgentsPaginatedResponseDto {
@@ -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
+ name?: string | undefined;
156
+ role?: string | undefined;
155
157
  avatar?: string | undefined;
156
158
  referenceAvatar?: string | undefined;
157
159
  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;
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
+ name?: string | undefined;
192
+ role?: string | undefined;
191
193
  avatar?: string | undefined;
192
194
  referenceAvatar?: string | undefined;
193
195
  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;
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
+ name?: string | undefined;
230
+ role?: string | undefined;
230
231
  avatar?: string | undefined;
231
232
  referenceAvatar?: string | undefined;
232
233
  appearance?: string | undefined;
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
+ name?: string | undefined;
269
+ role?: string | undefined;
269
270
  avatar?: string | undefined;
270
271
  referenceAvatar?: string | undefined;
271
272
  appearance?: string | undefined;
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 {
@@ -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
- page: number;
373
372
  limit: number;
373
+ page: number;
374
374
  }, {
375
- page?: number | undefined;
376
375
  limit?: number | undefined;
376
+ page?: number | undefined;
377
377
  }>;
378
378
  export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
379
379
  export interface AgentPresetsPaginatedResponseDto {
@@ -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
+ name?: string | undefined;
503
+ role?: string | undefined;
502
504
  avatar?: string | undefined;
503
505
  referenceAvatar?: string | undefined;
504
506
  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;
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
+ name?: string | undefined;
539
+ role?: string | undefined;
538
540
  avatar?: string | undefined;
539
541
  referenceAvatar?: string | undefined;
540
542
  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;
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
+ name?: string | undefined;
577
+ role?: string | undefined;
576
578
  avatar?: string | undefined;
577
579
  referenceAvatar?: string | undefined;
578
580
  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;
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
+ name?: string | undefined;
615
+ role?: string | undefined;
614
616
  avatar?: string | undefined;
615
617
  referenceAvatar?: string | undefined;
616
618
  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;
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"}
@@ -19,25 +19,25 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
19
19
  bio: z.ZodOptional<z.ZodString>;
20
20
  isAllowSensitive: z.ZodOptional<z.ZodBoolean>;
21
21
  }, "strip", z.ZodTypeAny, {
22
+ avatar?: string | undefined;
23
+ referenceAvatar?: string | undefined;
24
+ appearance?: string | undefined;
22
25
  username?: string | undefined;
23
26
  nickname?: string | undefined;
24
27
  birthDate?: Date | undefined;
25
28
  profilePicture?: string | undefined;
26
29
  avatarName?: string | undefined;
27
- avatar?: string | undefined;
28
- referenceAvatar?: string | undefined;
29
- appearance?: string | undefined;
30
30
  bio?: string | undefined;
31
31
  isAllowSensitive?: boolean | undefined;
32
32
  }, {
33
+ avatar?: string | undefined;
34
+ referenceAvatar?: string | undefined;
35
+ appearance?: string | undefined;
33
36
  username?: string | undefined;
34
37
  nickname?: string | undefined;
35
38
  birthDate?: Date | undefined;
36
39
  profilePicture?: string | undefined;
37
40
  avatarName?: string | undefined;
38
- avatar?: string | undefined;
39
- referenceAvatar?: string | undefined;
40
- appearance?: string | undefined;
41
41
  bio?: string | undefined;
42
42
  isAllowSensitive?: boolean | undefined;
43
43
  }>;
@@ -61,58 +61,58 @@ export declare const UpdateUserAvatarBodySchema: z.ZodEffects<z.ZodObject<{
61
61
  referenceAvatar: z.ZodString;
62
62
  appearance: z.ZodString;
63
63
  }, "strip", z.ZodTypeAny, {
64
+ name: string;
64
65
  avatar: string;
65
66
  referenceAvatar: string;
66
67
  appearance: string;
67
- name: string;
68
68
  role?: string | undefined;
69
69
  }, {
70
+ name: string;
70
71
  avatar: string;
71
72
  referenceAvatar: string;
72
73
  appearance: string;
73
- name: string;
74
74
  role?: string | undefined;
75
75
  }>>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  avatar?: {
78
+ name: string;
78
79
  avatar: string;
79
80
  referenceAvatar: string;
80
81
  appearance: string;
81
- name: string;
82
82
  role?: string | undefined;
83
83
  } | null | undefined;
84
- index?: number | undefined;
85
84
  locationId?: bigint | undefined;
85
+ index?: number | undefined;
86
86
  }, {
87
87
  avatar?: {
88
+ name: string;
88
89
  avatar: string;
89
90
  referenceAvatar: string;
90
91
  appearance: string;
91
- name: string;
92
92
  role?: string | undefined;
93
93
  } | null | undefined;
94
- index?: number | undefined;
95
94
  locationId?: bigint | undefined;
95
+ index?: number | undefined;
96
96
  }>, {
97
97
  avatar?: {
98
+ name: string;
98
99
  avatar: string;
99
100
  referenceAvatar: string;
100
101
  appearance: string;
101
- name: string;
102
102
  role?: string | undefined;
103
103
  } | null | undefined;
104
- index?: number | undefined;
105
104
  locationId?: bigint | undefined;
105
+ index?: number | undefined;
106
106
  }, {
107
107
  avatar?: {
108
+ name: string;
108
109
  avatar: string;
109
110
  referenceAvatar: string;
110
111
  appearance: string;
111
- name: string;
112
112
  role?: string | undefined;
113
113
  } | null | undefined;
114
- index?: number | undefined;
115
114
  locationId?: bigint | undefined;
115
+ index?: number | undefined;
116
116
  }>;
117
117
  export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
118
118
  export interface UpdateUserAvatarResponseDto {
@@ -181,13 +181,13 @@ export declare const GetUserCommentsQuerySchema: z.ZodObject<{
181
181
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
182
182
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
183
183
  }, "strip", z.ZodTypeAny, {
184
- sortBy: "latest" | "recommended";
185
- page: number;
186
184
  limit: number;
185
+ page: number;
186
+ sortBy: "latest" | "recommended";
187
187
  }, {
188
- sortBy?: "latest" | "recommended" | undefined;
189
- page?: number | undefined;
190
188
  limit?: number | undefined;
189
+ page?: number | undefined;
190
+ sortBy?: "latest" | "recommended" | undefined;
191
191
  }>;
192
192
  export type GetUserCommentsQueryDto = z.infer<typeof GetUserCommentsQuerySchema>;
193
193
  export interface GetUserCommentsResponseDto {
@@ -211,11 +211,11 @@ export declare const GetUserCommentRepliesQuerySchema: z.ZodObject<{
211
211
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
212
212
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
213
213
  }, "strip", z.ZodTypeAny, {
214
- page: number;
215
214
  limit: number;
215
+ page: number;
216
216
  }, {
217
- page?: number | undefined;
218
217
  limit?: number | undefined;
218
+ page?: number | undefined;
219
219
  }>;
220
220
  export type GetUserCommentRepliesQueryDto = z.infer<typeof GetUserCommentRepliesQuerySchema>;
221
221
  export interface GetUserCommentRepliesResponseDto {
@@ -279,11 +279,11 @@ export declare const ReportUserCommentParamsSchema: z.ZodObject<{
279
279
  userId: z.ZodBigInt;
280
280
  commentId: z.ZodBigInt;
281
281
  }, "strip", z.ZodTypeAny, {
282
- userId: bigint;
283
282
  commentId: bigint;
284
- }, {
285
283
  userId: bigint;
284
+ }, {
286
285
  commentId: bigint;
286
+ userId: bigint;
287
287
  }>;
288
288
  export type ReportUserCommentParamsDto = z.infer<typeof ReportUserCommentParamsSchema>;
289
289
  export interface ReportUserCommentResponseDto {
@@ -294,11 +294,11 @@ export declare const DeleteUserCommentParamsSchema: z.ZodObject<{
294
294
  userId: z.ZodBigInt;
295
295
  commentId: z.ZodBigInt;
296
296
  }, "strip", z.ZodTypeAny, {
297
- userId: bigint;
298
297
  commentId: bigint;
299
- }, {
300
298
  userId: bigint;
299
+ }, {
301
300
  commentId: bigint;
301
+ userId: bigint;
302
302
  }>;
303
303
  export type DeleteUserCommentParamsDto = z.infer<typeof DeleteUserCommentParamsSchema>;
304
304
  export interface DeleteUserCommentResponseDto {
@@ -330,11 +330,11 @@ export declare const GetNoticesQuerySchema: z.ZodObject<{
330
330
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
331
331
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
332
332
  }, "strip", z.ZodTypeAny, {
333
- page: number;
334
333
  limit: number;
334
+ page: number;
335
335
  }, {
336
- page?: number | undefined;
337
336
  limit?: number | undefined;
337
+ page?: number | undefined;
338
338
  }>;
339
339
  export type GetNoticesQueryDto = z.infer<typeof GetNoticesQuerySchema>;
340
340
  export interface GetNoticesResponseDto {
@@ -351,6 +351,10 @@ export declare const AcknowledgeNoticesBodySchema: z.ZodObject<{}, "strip", z.Zo
351
351
  export type AcknowledgeNoticesBodyDto = z.infer<typeof AcknowledgeNoticesBodySchema>;
352
352
  export interface AcknowledgeNoticesResponseDto {
353
353
  }
354
+ export declare const ReadAllNoticesBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
355
+ export type ReadAllNoticesBodyDto = z.infer<typeof ReadAllNoticesBodySchema>;
356
+ export interface ReadAllNoticesResponseDto {
357
+ }
354
358
  export declare const ReadNoticeParamsSchema: z.ZodObject<{
355
359
  noticeId: z.ZodBigInt;
356
360
  }, "strip", z.ZodTypeAny, {
@@ -365,11 +369,11 @@ export declare const GetUserNotificationsQuerySchema: z.ZodObject<{
365
369
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
366
370
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
367
371
  }, "strip", z.ZodTypeAny, {
368
- page: number;
369
372
  limit: number;
373
+ page: number;
370
374
  }, {
371
- page?: number | undefined;
372
375
  limit?: number | undefined;
376
+ page?: number | undefined;
373
377
  }>;
374
378
  export type GetUserNotificationsQueryDto = z.infer<typeof GetUserNotificationsQuerySchema>;
375
379
  export interface GetUserNotificationsResponseDto {
@@ -386,12 +390,16 @@ export declare const AcknowledgeUserNotificationsBodySchema: z.ZodObject<{}, "st
386
390
  export type AcknowledgeUserNotificationsBodyDto = z.infer<typeof AcknowledgeUserNotificationsBodySchema>;
387
391
  export interface AcknowledgeUserNotificationsResponseDto {
388
392
  }
393
+ export declare const ReadAllUserNotificationsBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
394
+ export type ReadAllUserNotificationsBodyDto = z.infer<typeof ReadAllUserNotificationsBodySchema>;
395
+ export interface ReadAllUserNotificationsResponseDto {
396
+ }
389
397
  export declare const ReadUserNotificationParamsSchema: z.ZodObject<{
390
- notificationId: z.ZodBigInt;
398
+ notificationId: z.ZodOptional<z.ZodBigInt>;
391
399
  }, "strip", z.ZodTypeAny, {
392
- notificationId: bigint;
400
+ notificationId?: bigint | undefined;
393
401
  }, {
394
- notificationId: bigint;
402
+ notificationId?: bigint | undefined;
395
403
  }>;
396
404
  export type ReadUserNotificationParamsDto = z.infer<typeof ReadUserNotificationParamsSchema>;
397
405
  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.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({});
@@ -101,6 +101,7 @@ exports.GetNoticesQuerySchema = zod_1.z.object({
101
101
  limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
102
102
  });
103
103
  exports.AcknowledgeNoticesBodySchema = zod_1.z.object({});
104
+ exports.ReadAllNoticesBodySchema = zod_1.z.object({});
104
105
  exports.ReadNoticeParamsSchema = zod_1.z.object({
105
106
  noticeId: zod_1.z.coerce.bigint(),
106
107
  });
@@ -109,8 +110,9 @@ exports.GetUserNotificationsQuerySchema = zod_1.z.object({
109
110
  limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
110
111
  });
111
112
  exports.AcknowledgeUserNotificationsBodySchema = zod_1.z.object({});
113
+ exports.ReadAllUserNotificationsBodySchema = zod_1.z.object({});
112
114
  exports.ReadUserNotificationParamsSchema = zod_1.z.object({
113
- notificationId: zod_1.z.coerce.bigint(),
115
+ notificationId: zod_1.z.coerce.bigint().optional(),
114
116
  });
115
117
  exports.GetCurrentUserSchema = zod_1.z.object({});
116
118
  //# 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,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACvC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAChD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC1C,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAEnC,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACzC,CA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to {
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;