@little-samo/samo-ai-sdk 0.6.8 → 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.
- package/dist/dto/entities/agents/agent.requests.d.ts +20 -20
- package/dist/dto/entities/users/user.d.ts +3 -2
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.notification.d.ts +1 -1
- package/dist/dto/entities/users/user.requests.d.ts +42 -33
- package/dist/dto/entities/users/user.requests.js +4 -2
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +1 -0
- package/dist/dto/locations/location.requests.d.ts +68 -68
- package/package.json +1 -1
|
@@ -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,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;
|
|
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;
|
|
@@ -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;
|
|
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;
|
|
@@ -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;
|
|
229
231
|
avatar?: string | undefined;
|
|
230
232
|
referenceAvatar?: string | undefined;
|
|
231
233
|
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;
|
|
268
270
|
avatar?: string | undefined;
|
|
269
271
|
referenceAvatar?: string | undefined;
|
|
270
272
|
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
|
-
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,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;
|
|
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;
|
|
@@ -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;
|
|
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;
|
|
@@ -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;
|
|
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;
|
|
@@ -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;
|
|
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;
|
|
@@ -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;
|
|
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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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';
|
|
2
|
+
export type UserNotificationType = 'ADMIN_MESSAGE' | 'ADMIN_REWARD' | 'SYSTEM_REWARD_ATTENDANCE' | 'SYSTEM_REWARD_LEVEL_UP' | 'SYSTEM_REWARD_REFERRAL' | 'COMMENT_USER' | 'COMMENT_LOCATION_PRESET' | 'LIKE_LOCATION_PRESET';
|
|
3
3
|
export interface UserNotificationDto {
|
|
4
4
|
id: bigint;
|
|
5
5
|
type: UserNotificationType;
|
|
@@ -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 {
|
|
@@ -125,6 +125,7 @@ export interface GetAttendanceResponseDto {
|
|
|
125
125
|
lastAttendanceAt: Date | null;
|
|
126
126
|
attendanceStreak: number;
|
|
127
127
|
rewards: number[];
|
|
128
|
+
intervals: number[];
|
|
128
129
|
minRewardCredits: number;
|
|
129
130
|
maxRewardCredits: number;
|
|
130
131
|
cycleDays: number;
|
|
@@ -180,13 +181,13 @@ export declare const GetUserCommentsQuerySchema: z.ZodObject<{
|
|
|
180
181
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
181
182
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
182
183
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
sortBy: "latest" | "recommended";
|
|
184
|
-
page: number;
|
|
185
184
|
limit: number;
|
|
185
|
+
page: number;
|
|
186
|
+
sortBy: "latest" | "recommended";
|
|
186
187
|
}, {
|
|
187
|
-
sortBy?: "latest" | "recommended" | undefined;
|
|
188
|
-
page?: number | undefined;
|
|
189
188
|
limit?: number | undefined;
|
|
189
|
+
page?: number | undefined;
|
|
190
|
+
sortBy?: "latest" | "recommended" | undefined;
|
|
190
191
|
}>;
|
|
191
192
|
export type GetUserCommentsQueryDto = z.infer<typeof GetUserCommentsQuerySchema>;
|
|
192
193
|
export interface GetUserCommentsResponseDto {
|
|
@@ -210,11 +211,11 @@ export declare const GetUserCommentRepliesQuerySchema: z.ZodObject<{
|
|
|
210
211
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
211
212
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
212
213
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
page: number;
|
|
214
214
|
limit: number;
|
|
215
|
+
page: number;
|
|
215
216
|
}, {
|
|
216
|
-
page?: number | undefined;
|
|
217
217
|
limit?: number | undefined;
|
|
218
|
+
page?: number | undefined;
|
|
218
219
|
}>;
|
|
219
220
|
export type GetUserCommentRepliesQueryDto = z.infer<typeof GetUserCommentRepliesQuerySchema>;
|
|
220
221
|
export interface GetUserCommentRepliesResponseDto {
|
|
@@ -278,11 +279,11 @@ export declare const ReportUserCommentParamsSchema: z.ZodObject<{
|
|
|
278
279
|
userId: z.ZodBigInt;
|
|
279
280
|
commentId: z.ZodBigInt;
|
|
280
281
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
userId: bigint;
|
|
282
282
|
commentId: bigint;
|
|
283
|
-
}, {
|
|
284
283
|
userId: bigint;
|
|
284
|
+
}, {
|
|
285
285
|
commentId: bigint;
|
|
286
|
+
userId: bigint;
|
|
286
287
|
}>;
|
|
287
288
|
export type ReportUserCommentParamsDto = z.infer<typeof ReportUserCommentParamsSchema>;
|
|
288
289
|
export interface ReportUserCommentResponseDto {
|
|
@@ -293,11 +294,11 @@ export declare const DeleteUserCommentParamsSchema: z.ZodObject<{
|
|
|
293
294
|
userId: z.ZodBigInt;
|
|
294
295
|
commentId: z.ZodBigInt;
|
|
295
296
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
userId: bigint;
|
|
297
297
|
commentId: bigint;
|
|
298
|
-
}, {
|
|
299
298
|
userId: bigint;
|
|
299
|
+
}, {
|
|
300
300
|
commentId: bigint;
|
|
301
|
+
userId: bigint;
|
|
301
302
|
}>;
|
|
302
303
|
export type DeleteUserCommentParamsDto = z.infer<typeof DeleteUserCommentParamsSchema>;
|
|
303
304
|
export interface DeleteUserCommentResponseDto {
|
|
@@ -329,11 +330,11 @@ export declare const GetNoticesQuerySchema: z.ZodObject<{
|
|
|
329
330
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
330
331
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
331
332
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
page: number;
|
|
333
333
|
limit: number;
|
|
334
|
+
page: number;
|
|
334
335
|
}, {
|
|
335
|
-
page?: number | undefined;
|
|
336
336
|
limit?: number | undefined;
|
|
337
|
+
page?: number | undefined;
|
|
337
338
|
}>;
|
|
338
339
|
export type GetNoticesQueryDto = z.infer<typeof GetNoticesQuerySchema>;
|
|
339
340
|
export interface GetNoticesResponseDto {
|
|
@@ -350,6 +351,10 @@ export declare const AcknowledgeNoticesBodySchema: z.ZodObject<{}, "strip", z.Zo
|
|
|
350
351
|
export type AcknowledgeNoticesBodyDto = z.infer<typeof AcknowledgeNoticesBodySchema>;
|
|
351
352
|
export interface AcknowledgeNoticesResponseDto {
|
|
352
353
|
}
|
|
354
|
+
export declare const ReadAllNoticesBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
355
|
+
export type ReadAllNoticesBodyDto = z.infer<typeof ReadAllNoticesBodySchema>;
|
|
356
|
+
export interface ReadAllNoticesResponseDto {
|
|
357
|
+
}
|
|
353
358
|
export declare const ReadNoticeParamsSchema: z.ZodObject<{
|
|
354
359
|
noticeId: z.ZodBigInt;
|
|
355
360
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -364,11 +369,11 @@ export declare const GetUserNotificationsQuerySchema: z.ZodObject<{
|
|
|
364
369
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
365
370
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
366
371
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
page: number;
|
|
368
372
|
limit: number;
|
|
373
|
+
page: number;
|
|
369
374
|
}, {
|
|
370
|
-
page?: number | undefined;
|
|
371
375
|
limit?: number | undefined;
|
|
376
|
+
page?: number | undefined;
|
|
372
377
|
}>;
|
|
373
378
|
export type GetUserNotificationsQueryDto = z.infer<typeof GetUserNotificationsQuerySchema>;
|
|
374
379
|
export interface GetUserNotificationsResponseDto {
|
|
@@ -385,12 +390,16 @@ export declare const AcknowledgeUserNotificationsBodySchema: z.ZodObject<{}, "st
|
|
|
385
390
|
export type AcknowledgeUserNotificationsBodyDto = z.infer<typeof AcknowledgeUserNotificationsBodySchema>;
|
|
386
391
|
export interface AcknowledgeUserNotificationsResponseDto {
|
|
387
392
|
}
|
|
393
|
+
export declare const ReadAllUserNotificationsBodySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
394
|
+
export type ReadAllUserNotificationsBodyDto = z.infer<typeof ReadAllUserNotificationsBodySchema>;
|
|
395
|
+
export interface ReadAllUserNotificationsResponseDto {
|
|
396
|
+
}
|
|
388
397
|
export declare const ReadUserNotificationParamsSchema: z.ZodObject<{
|
|
389
|
-
notificationId: z.ZodBigInt
|
|
398
|
+
notificationId: z.ZodOptional<z.ZodBigInt>;
|
|
390
399
|
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
notificationId
|
|
400
|
+
notificationId?: bigint | undefined;
|
|
392
401
|
}, {
|
|
393
|
-
notificationId
|
|
402
|
+
notificationId?: bigint | undefined;
|
|
394
403
|
}>;
|
|
395
404
|
export type ReadUserNotificationParamsDto = z.infer<typeof ReadUserNotificationParamsSchema>;
|
|
396
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,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A,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAOxC,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAOU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,OAAC,CAAC,MAAM,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;
|
|
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
|
15
15
|
limit: number;
|
|
16
16
|
cursor?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
limit?: number | undefined;
|
|
19
18
|
cursor?: string | undefined;
|
|
19
|
+
limit?: number | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
|
|
22
22
|
export interface UserLocationsResponseDto {
|
|
@@ -30,11 +30,11 @@ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
|
|
|
30
30
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
31
31
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
page: number;
|
|
34
33
|
limit: number;
|
|
34
|
+
page: number;
|
|
35
35
|
}, {
|
|
36
|
-
page?: number | undefined;
|
|
37
36
|
limit?: number | undefined;
|
|
37
|
+
page?: number | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
|
|
40
40
|
export interface PublishedLocationsResponseDto {
|
|
@@ -135,8 +135,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
135
135
|
url?: string | undefined;
|
|
136
136
|
}>, "many">>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
appearance: string;
|
|
139
138
|
name: string;
|
|
139
|
+
appearance: string;
|
|
140
140
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
141
141
|
images?: {
|
|
142
142
|
description: string;
|
|
@@ -144,8 +144,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
144
144
|
url?: string | undefined;
|
|
145
145
|
}[] | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
appearance: string;
|
|
148
147
|
name: string;
|
|
148
|
+
appearance: string;
|
|
149
149
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
150
150
|
images?: {
|
|
151
151
|
description: string;
|
|
@@ -176,8 +176,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
176
176
|
maxLength: number;
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
|
-
appearance: string;
|
|
180
179
|
name: string;
|
|
180
|
+
appearance: string;
|
|
181
181
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
182
182
|
images?: {
|
|
183
183
|
description: string;
|
|
@@ -208,8 +208,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
208
208
|
maxLength: number;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
|
-
appearance: string;
|
|
212
211
|
name: string;
|
|
212
|
+
appearance: string;
|
|
213
213
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
214
214
|
images?: {
|
|
215
215
|
description: string;
|
|
@@ -243,8 +243,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
243
243
|
maxLength: number;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
gimmicks?: {
|
|
246
|
-
appearance: string;
|
|
247
246
|
name: string;
|
|
247
|
+
appearance: string;
|
|
248
248
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
249
249
|
images?: {
|
|
250
250
|
description: string;
|
|
@@ -278,8 +278,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
278
278
|
maxLength: number;
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
gimmicks?: {
|
|
281
|
-
appearance: string;
|
|
282
281
|
name: string;
|
|
282
|
+
appearance: string;
|
|
283
283
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
284
284
|
images?: {
|
|
285
285
|
description: string;
|
|
@@ -356,12 +356,12 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
356
356
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
357
357
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
page: number;
|
|
360
359
|
limit: number;
|
|
360
|
+
page: number;
|
|
361
361
|
visibility: "edited" | "private" | "public" | "publish";
|
|
362
362
|
}, {
|
|
363
|
-
page?: number | undefined;
|
|
364
363
|
limit?: number | undefined;
|
|
364
|
+
page?: number | undefined;
|
|
365
365
|
visibility?: "edited" | "private" | "public" | "publish" | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
|
|
@@ -383,15 +383,15 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
383
383
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
385
|
type: "NOVEL";
|
|
386
|
-
page: number;
|
|
387
386
|
limit: number;
|
|
387
|
+
page: number;
|
|
388
388
|
gender: "all" | "male" | "female";
|
|
389
389
|
tag?: string | undefined;
|
|
390
390
|
ownerUserId?: bigint | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
type: "NOVEL";
|
|
393
|
-
page?: number | undefined;
|
|
394
393
|
limit?: number | undefined;
|
|
394
|
+
page?: number | undefined;
|
|
395
395
|
gender?: "all" | "male" | "female" | undefined;
|
|
396
396
|
tag?: string | undefined;
|
|
397
397
|
ownerUserId?: bigint | undefined;
|
|
@@ -415,18 +415,18 @@ export declare const SearchLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
415
415
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
|
417
417
|
type: "NOVEL";
|
|
418
|
-
sortBy: "latest" | "popular";
|
|
419
|
-
page: number;
|
|
420
418
|
limit: number;
|
|
419
|
+
page: number;
|
|
421
420
|
gender: "all" | "male" | "female";
|
|
422
421
|
query: string;
|
|
422
|
+
sortBy: "popular" | "latest";
|
|
423
423
|
}, {
|
|
424
424
|
type: "NOVEL";
|
|
425
425
|
query: string;
|
|
426
|
-
sortBy?: "latest" | "popular" | undefined;
|
|
427
|
-
page?: number | undefined;
|
|
428
426
|
limit?: number | undefined;
|
|
427
|
+
page?: number | undefined;
|
|
429
428
|
gender?: "all" | "male" | "female" | undefined;
|
|
429
|
+
sortBy?: "popular" | "latest" | undefined;
|
|
430
430
|
}>;
|
|
431
431
|
export type SearchLocationPresetsQueryDto = z.infer<typeof SearchLocationPresetsQuerySchema>;
|
|
432
432
|
export interface SearchLocationPresetsResponseDto {
|
|
@@ -532,8 +532,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
532
532
|
url?: string | undefined;
|
|
533
533
|
}>, "many">>;
|
|
534
534
|
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
appearance: string;
|
|
536
535
|
name: string;
|
|
536
|
+
appearance: string;
|
|
537
537
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
538
538
|
images?: {
|
|
539
539
|
description: string;
|
|
@@ -541,8 +541,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
541
541
|
url?: string | undefined;
|
|
542
542
|
}[] | undefined;
|
|
543
543
|
}, {
|
|
544
|
-
appearance: string;
|
|
545
544
|
name: string;
|
|
545
|
+
appearance: string;
|
|
546
546
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
547
547
|
images?: {
|
|
548
548
|
description: string;
|
|
@@ -573,8 +573,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
573
573
|
maxLength: number;
|
|
574
574
|
}[] | undefined;
|
|
575
575
|
gimmicks?: {
|
|
576
|
-
appearance: string;
|
|
577
576
|
name: string;
|
|
577
|
+
appearance: string;
|
|
578
578
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
579
579
|
images?: {
|
|
580
580
|
description: string;
|
|
@@ -605,8 +605,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
605
605
|
maxLength: number;
|
|
606
606
|
}[] | undefined;
|
|
607
607
|
gimmicks?: {
|
|
608
|
-
appearance: string;
|
|
609
608
|
name: string;
|
|
609
|
+
appearance: string;
|
|
610
610
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
611
611
|
images?: {
|
|
612
612
|
description: string;
|
|
@@ -728,11 +728,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
728
728
|
}>>;
|
|
729
729
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
730
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
name?: string | undefined;
|
|
732
|
+
role?: string | undefined;
|
|
731
733
|
avatar?: string | undefined;
|
|
732
734
|
referenceAvatar?: string | undefined;
|
|
733
735
|
appearance?: string | undefined;
|
|
734
|
-
name?: string | undefined;
|
|
735
|
-
role?: string | undefined;
|
|
736
736
|
core?: {
|
|
737
737
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
738
738
|
} | undefined;
|
|
@@ -764,11 +764,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
764
764
|
} | undefined;
|
|
765
765
|
} | undefined;
|
|
766
766
|
}, {
|
|
767
|
+
name?: string | undefined;
|
|
768
|
+
role?: string | undefined;
|
|
767
769
|
avatar?: string | undefined;
|
|
768
770
|
referenceAvatar?: string | undefined;
|
|
769
771
|
appearance?: string | undefined;
|
|
770
|
-
name?: string | undefined;
|
|
771
|
-
role?: string | undefined;
|
|
772
772
|
core?: {
|
|
773
773
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
774
774
|
} | undefined;
|
|
@@ -803,8 +803,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
803
803
|
}, "strip", z.ZodTypeAny, {
|
|
804
804
|
presetDescription: string;
|
|
805
805
|
presetShortDescription: string;
|
|
806
|
-
locationId?: bigint | undefined;
|
|
807
806
|
name?: string | undefined;
|
|
807
|
+
locationId?: bigint | undefined;
|
|
808
808
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
809
809
|
hashtags?: string[] | undefined;
|
|
810
810
|
isAllowImport?: boolean | undefined;
|
|
@@ -832,8 +832,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
832
832
|
maxLength: number;
|
|
833
833
|
}[] | undefined;
|
|
834
834
|
gimmicks?: {
|
|
835
|
-
appearance: string;
|
|
836
835
|
name: string;
|
|
836
|
+
appearance: string;
|
|
837
837
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
838
838
|
images?: {
|
|
839
839
|
description: string;
|
|
@@ -843,11 +843,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
843
843
|
}[] | undefined;
|
|
844
844
|
} | undefined;
|
|
845
845
|
agentConfigs?: {
|
|
846
|
+
name?: string | undefined;
|
|
847
|
+
role?: string | undefined;
|
|
846
848
|
avatar?: string | undefined;
|
|
847
849
|
referenceAvatar?: string | undefined;
|
|
848
850
|
appearance?: string | undefined;
|
|
849
|
-
name?: string | undefined;
|
|
850
|
-
role?: string | undefined;
|
|
851
851
|
core?: {
|
|
852
852
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
853
853
|
} | undefined;
|
|
@@ -882,8 +882,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
882
882
|
}, {
|
|
883
883
|
presetDescription: string;
|
|
884
884
|
presetShortDescription: string;
|
|
885
|
-
locationId?: bigint | undefined;
|
|
886
885
|
name?: string | undefined;
|
|
886
|
+
locationId?: bigint | undefined;
|
|
887
887
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
888
888
|
hashtags?: string[] | undefined;
|
|
889
889
|
isAllowImport?: boolean | undefined;
|
|
@@ -911,8 +911,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
911
911
|
maxLength: number;
|
|
912
912
|
}[] | undefined;
|
|
913
913
|
gimmicks?: {
|
|
914
|
-
appearance: string;
|
|
915
914
|
name: string;
|
|
915
|
+
appearance: string;
|
|
916
916
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
917
917
|
images?: {
|
|
918
918
|
description: string;
|
|
@@ -922,11 +922,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
922
922
|
}[] | undefined;
|
|
923
923
|
} | undefined;
|
|
924
924
|
agentConfigs?: {
|
|
925
|
+
name?: string | undefined;
|
|
926
|
+
role?: string | undefined;
|
|
925
927
|
avatar?: string | undefined;
|
|
926
928
|
referenceAvatar?: string | undefined;
|
|
927
929
|
appearance?: string | undefined;
|
|
928
|
-
name?: string | undefined;
|
|
929
|
-
role?: string | undefined;
|
|
930
930
|
core?: {
|
|
931
931
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
932
932
|
} | undefined;
|
|
@@ -1060,16 +1060,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1060
1060
|
referenceAvatar: z.ZodString;
|
|
1061
1061
|
appearance: z.ZodString;
|
|
1062
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1063
|
+
name: string;
|
|
1063
1064
|
avatar: string;
|
|
1064
1065
|
referenceAvatar: string;
|
|
1065
1066
|
appearance: string;
|
|
1066
|
-
name: string;
|
|
1067
1067
|
role?: string | undefined;
|
|
1068
1068
|
}, {
|
|
1069
|
+
name: string;
|
|
1069
1070
|
avatar: string;
|
|
1070
1071
|
referenceAvatar: string;
|
|
1071
1072
|
appearance: string;
|
|
1072
|
-
name: string;
|
|
1073
1073
|
role?: string | undefined;
|
|
1074
1074
|
}>>>;
|
|
1075
1075
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1142,8 +1142,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1142
1142
|
url?: string | undefined;
|
|
1143
1143
|
}>, "many">>;
|
|
1144
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1145
|
-
appearance: string;
|
|
1146
1145
|
name: string;
|
|
1146
|
+
appearance: string;
|
|
1147
1147
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1148
1148
|
images?: {
|
|
1149
1149
|
description: string;
|
|
@@ -1151,8 +1151,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1151
1151
|
url?: string | undefined;
|
|
1152
1152
|
}[] | undefined;
|
|
1153
1153
|
}, {
|
|
1154
|
-
appearance: string;
|
|
1155
1154
|
name: string;
|
|
1155
|
+
appearance: string;
|
|
1156
1156
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1157
1157
|
images?: {
|
|
1158
1158
|
description: string;
|
|
@@ -1183,8 +1183,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1183
1183
|
maxLength: number;
|
|
1184
1184
|
}[] | undefined;
|
|
1185
1185
|
gimmicks?: {
|
|
1186
|
-
appearance: string;
|
|
1187
1186
|
name: string;
|
|
1187
|
+
appearance: string;
|
|
1188
1188
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1189
1189
|
images?: {
|
|
1190
1190
|
description: string;
|
|
@@ -1215,8 +1215,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1215
1215
|
maxLength: number;
|
|
1216
1216
|
}[] | undefined;
|
|
1217
1217
|
gimmicks?: {
|
|
1218
|
-
appearance: string;
|
|
1219
1218
|
name: string;
|
|
1219
|
+
appearance: string;
|
|
1220
1220
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1221
1221
|
images?: {
|
|
1222
1222
|
description: string;
|
|
@@ -1338,11 +1338,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1338
1338
|
}>>;
|
|
1339
1339
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1340
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1341
|
+
name?: string | undefined;
|
|
1342
|
+
role?: string | undefined;
|
|
1341
1343
|
avatar?: string | undefined;
|
|
1342
1344
|
referenceAvatar?: string | undefined;
|
|
1343
1345
|
appearance?: string | undefined;
|
|
1344
|
-
name?: string | undefined;
|
|
1345
|
-
role?: string | undefined;
|
|
1346
1346
|
core?: {
|
|
1347
1347
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1348
1348
|
} | undefined;
|
|
@@ -1374,11 +1374,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1374
1374
|
} | undefined;
|
|
1375
1375
|
} | undefined;
|
|
1376
1376
|
}, {
|
|
1377
|
+
name?: string | undefined;
|
|
1378
|
+
role?: string | undefined;
|
|
1377
1379
|
avatar?: string | undefined;
|
|
1378
1380
|
referenceAvatar?: string | undefined;
|
|
1379
1381
|
appearance?: string | undefined;
|
|
1380
|
-
name?: string | undefined;
|
|
1381
|
-
role?: string | undefined;
|
|
1382
1382
|
core?: {
|
|
1383
1383
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1384
1384
|
} | undefined;
|
|
@@ -1446,8 +1446,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1446
1446
|
maxLength: number;
|
|
1447
1447
|
}[] | undefined;
|
|
1448
1448
|
gimmicks?: {
|
|
1449
|
-
appearance: string;
|
|
1450
1449
|
name: string;
|
|
1450
|
+
appearance: string;
|
|
1451
1451
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1452
1452
|
images?: {
|
|
1453
1453
|
description: string;
|
|
@@ -1457,11 +1457,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1457
1457
|
}[] | undefined;
|
|
1458
1458
|
} | undefined;
|
|
1459
1459
|
agentConfigs?: ({
|
|
1460
|
+
name?: string | undefined;
|
|
1461
|
+
role?: string | undefined;
|
|
1460
1462
|
avatar?: string | undefined;
|
|
1461
1463
|
referenceAvatar?: string | undefined;
|
|
1462
1464
|
appearance?: string | undefined;
|
|
1463
|
-
name?: string | undefined;
|
|
1464
|
-
role?: string | undefined;
|
|
1465
1465
|
core?: {
|
|
1466
1466
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1467
1467
|
} | undefined;
|
|
@@ -1507,10 +1507,10 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1507
1507
|
image?: string | undefined;
|
|
1508
1508
|
}[] | undefined;
|
|
1509
1509
|
userAvatar?: {
|
|
1510
|
+
name: string;
|
|
1510
1511
|
avatar: string;
|
|
1511
1512
|
referenceAvatar: string;
|
|
1512
1513
|
appearance: string;
|
|
1513
|
-
name: string;
|
|
1514
1514
|
role?: string | undefined;
|
|
1515
1515
|
} | null | undefined;
|
|
1516
1516
|
tags?: string[] | undefined;
|
|
@@ -1550,8 +1550,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1550
1550
|
maxLength: number;
|
|
1551
1551
|
}[] | undefined;
|
|
1552
1552
|
gimmicks?: {
|
|
1553
|
-
appearance: string;
|
|
1554
1553
|
name: string;
|
|
1554
|
+
appearance: string;
|
|
1555
1555
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1556
1556
|
images?: {
|
|
1557
1557
|
description: string;
|
|
@@ -1561,11 +1561,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1561
1561
|
}[] | undefined;
|
|
1562
1562
|
} | undefined;
|
|
1563
1563
|
agentConfigs?: ({
|
|
1564
|
+
name?: string | undefined;
|
|
1565
|
+
role?: string | undefined;
|
|
1564
1566
|
avatar?: string | undefined;
|
|
1565
1567
|
referenceAvatar?: string | undefined;
|
|
1566
1568
|
appearance?: string | undefined;
|
|
1567
|
-
name?: string | undefined;
|
|
1568
|
-
role?: string | undefined;
|
|
1569
1569
|
core?: {
|
|
1570
1570
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1571
1571
|
} | undefined;
|
|
@@ -1611,10 +1611,10 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1611
1611
|
image?: string | undefined;
|
|
1612
1612
|
}[] | undefined;
|
|
1613
1613
|
userAvatar?: {
|
|
1614
|
+
name: string;
|
|
1614
1615
|
avatar: string;
|
|
1615
1616
|
referenceAvatar: string;
|
|
1616
1617
|
appearance: string;
|
|
1617
|
-
name: string;
|
|
1618
1618
|
role?: string | undefined;
|
|
1619
1619
|
} | null | undefined;
|
|
1620
1620
|
tags?: string[] | undefined;
|
|
@@ -1756,8 +1756,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
|
|
|
1756
1756
|
cursor?: string | undefined;
|
|
1757
1757
|
}, {
|
|
1758
1758
|
presetId: bigint;
|
|
1759
|
-
limit?: number | undefined;
|
|
1760
1759
|
cursor?: string | undefined;
|
|
1760
|
+
limit?: number | undefined;
|
|
1761
1761
|
}>;
|
|
1762
1762
|
export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
|
|
1763
1763
|
export interface GetLocationPresetLocationsResponseDto {
|
|
@@ -1780,13 +1780,13 @@ export declare const GetLocationPresetCommentsQuerySchema: z.ZodObject<{
|
|
|
1780
1780
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1781
1781
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1782
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1783
|
-
sortBy: "latest" | "recommended";
|
|
1784
|
-
page: number;
|
|
1785
1783
|
limit: number;
|
|
1784
|
+
page: number;
|
|
1785
|
+
sortBy: "latest" | "recommended";
|
|
1786
1786
|
}, {
|
|
1787
|
-
sortBy?: "latest" | "recommended" | undefined;
|
|
1788
|
-
page?: number | undefined;
|
|
1789
1787
|
limit?: number | undefined;
|
|
1788
|
+
page?: number | undefined;
|
|
1789
|
+
sortBy?: "latest" | "recommended" | undefined;
|
|
1790
1790
|
}>;
|
|
1791
1791
|
export type GetLocationPresetCommentsQueryDto = z.infer<typeof GetLocationPresetCommentsQuerySchema>;
|
|
1792
1792
|
export interface GetLocationPresetCommentsResponseDto {
|
|
@@ -1811,11 +1811,11 @@ export declare const GetLocationPresetCommentRepliesQuerySchema: z.ZodObject<{
|
|
|
1811
1811
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1812
1812
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1813
1813
|
}, "strip", z.ZodTypeAny, {
|
|
1814
|
-
page: number;
|
|
1815
1814
|
limit: number;
|
|
1815
|
+
page: number;
|
|
1816
1816
|
}, {
|
|
1817
|
-
page?: number | undefined;
|
|
1818
1817
|
limit?: number | undefined;
|
|
1818
|
+
page?: number | undefined;
|
|
1819
1819
|
}>;
|
|
1820
1820
|
export type GetLocationPresetCommentRepliesQueryDto = z.infer<typeof GetLocationPresetCommentRepliesQuerySchema>;
|
|
1821
1821
|
export interface GetLocationPresetCommentRepliesResponseDto {
|
|
@@ -1879,11 +1879,11 @@ export declare const ReportLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1879
1879
|
presetId: z.ZodBigInt;
|
|
1880
1880
|
commentId: z.ZodBigInt;
|
|
1881
1881
|
}, "strip", z.ZodTypeAny, {
|
|
1882
|
-
commentId: bigint;
|
|
1883
1882
|
presetId: bigint;
|
|
1884
|
-
}, {
|
|
1885
1883
|
commentId: bigint;
|
|
1884
|
+
}, {
|
|
1886
1885
|
presetId: bigint;
|
|
1886
|
+
commentId: bigint;
|
|
1887
1887
|
}>;
|
|
1888
1888
|
export type ReportLocationPresetCommentParamsDto = z.infer<typeof ReportLocationPresetCommentParamsSchema>;
|
|
1889
1889
|
export interface ReportLocationPresetCommentResponseDto {
|
|
@@ -1894,11 +1894,11 @@ export declare const DeleteLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1894
1894
|
presetId: z.ZodBigInt;
|
|
1895
1895
|
commentId: z.ZodBigInt;
|
|
1896
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
-
commentId: bigint;
|
|
1898
1897
|
presetId: bigint;
|
|
1899
|
-
}, {
|
|
1900
1898
|
commentId: bigint;
|
|
1899
|
+
}, {
|
|
1901
1900
|
presetId: bigint;
|
|
1901
|
+
commentId: bigint;
|
|
1902
1902
|
}>;
|
|
1903
1903
|
export type DeleteLocationPresetCommentParamsDto = z.infer<typeof DeleteLocationPresetCommentParamsSchema>;
|
|
1904
1904
|
export interface DeleteLocationPresetCommentResponseDto {
|
|
@@ -1992,8 +1992,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1992
1992
|
url?: string | undefined;
|
|
1993
1993
|
}>, "many">>;
|
|
1994
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1995
|
-
appearance: string;
|
|
1996
1995
|
name: string;
|
|
1996
|
+
appearance: string;
|
|
1997
1997
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1998
1998
|
images?: {
|
|
1999
1999
|
description: string;
|
|
@@ -2001,8 +2001,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2001
2001
|
url?: string | undefined;
|
|
2002
2002
|
}[] | undefined;
|
|
2003
2003
|
}, {
|
|
2004
|
-
appearance: string;
|
|
2005
2004
|
name: string;
|
|
2005
|
+
appearance: string;
|
|
2006
2006
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2007
2007
|
images?: {
|
|
2008
2008
|
description: string;
|
|
@@ -2033,8 +2033,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2033
2033
|
maxLength: number;
|
|
2034
2034
|
}[] | undefined;
|
|
2035
2035
|
gimmicks?: {
|
|
2036
|
-
appearance: string;
|
|
2037
2036
|
name: string;
|
|
2037
|
+
appearance: string;
|
|
2038
2038
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2039
2039
|
images?: {
|
|
2040
2040
|
description: string;
|
|
@@ -2065,8 +2065,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2065
2065
|
maxLength: number;
|
|
2066
2066
|
}[] | undefined;
|
|
2067
2067
|
gimmicks?: {
|
|
2068
|
-
appearance: string;
|
|
2069
2068
|
name: string;
|
|
2069
|
+
appearance: string;
|
|
2070
2070
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2071
2071
|
images?: {
|
|
2072
2072
|
description: string;
|
|
@@ -2103,8 +2103,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2103
2103
|
maxLength: number;
|
|
2104
2104
|
}[] | undefined;
|
|
2105
2105
|
gimmicks?: {
|
|
2106
|
-
appearance: string;
|
|
2107
2106
|
name: string;
|
|
2107
|
+
appearance: string;
|
|
2108
2108
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2109
2109
|
images?: {
|
|
2110
2110
|
description: string;
|
|
@@ -2138,8 +2138,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2138
2138
|
maxLength: number;
|
|
2139
2139
|
}[] | undefined;
|
|
2140
2140
|
gimmicks?: {
|
|
2141
|
-
appearance: string;
|
|
2142
2141
|
name: string;
|
|
2142
|
+
appearance: string;
|
|
2143
2143
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2144
2144
|
images?: {
|
|
2145
2145
|
description: string;
|