@little-samo/samo-ai-sdk 0.6.6 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dto/entities/agents/agent.requests.d.ts +20 -20
- package/dist/dto/entities/users/index.d.ts +2 -0
- package/dist/dto/entities/users/index.js +2 -0
- package/dist/dto/entities/users/index.js.map +1 -1
- package/dist/dto/entities/users/user.d.ts +21 -2
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.notice.d.ts +8 -0
- package/dist/dto/entities/users/user.notice.js +3 -0
- package/dist/dto/entities/users/user.notice.js.map +1 -0
- package/dist/dto/entities/users/user.notification.d.ts +15 -0
- package/dist/dto/entities/users/user.notification.js +3 -0
- package/dist/dto/entities/users/user.notification.js.map +1 -0
- package/dist/dto/entities/users/user.requests.d.ts +249 -16
- package/dist/dto/entities/users/user.requests.js +63 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.requests.d.ts +71 -68
- package/dist/dto/locations/location.requests.js +1 -0
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetCurrentUserSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
|
|
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;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const user_1 = require("./user");
|
|
6
6
|
exports.GetCurrentUserQuerySchema = zod_1.z.object({});
|
|
@@ -18,6 +18,7 @@ exports.UpdateCurrentUserBodySchema = zod_1.z.object({
|
|
|
18
18
|
avatar: zod_1.z.string().max(2048).optional(),
|
|
19
19
|
referenceAvatar: zod_1.z.string().max(2048).optional(),
|
|
20
20
|
appearance: zod_1.z.string().max(500).optional(),
|
|
21
|
+
bio: zod_1.z.string().max(500).optional(),
|
|
21
22
|
isAllowSensitive: zod_1.z.boolean().optional(),
|
|
22
23
|
});
|
|
23
24
|
exports.GetUserAvatarsQuerySchema = zod_1.z.object({});
|
|
@@ -50,5 +51,66 @@ exports.GetUsersByIdsQuerySchema = zod_1.z.object({
|
|
|
50
51
|
}),
|
|
51
52
|
locationId: zod_1.z.coerce.bigint().optional(),
|
|
52
53
|
});
|
|
54
|
+
exports.GetUserCommentsParamsSchema = zod_1.z.object({
|
|
55
|
+
userId: zod_1.z.coerce.bigint(),
|
|
56
|
+
});
|
|
57
|
+
exports.GetUserCommentsQuerySchema = zod_1.z.object({
|
|
58
|
+
sortBy: zod_1.z.enum(['latest', 'recommended']).optional().default('latest'),
|
|
59
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
60
|
+
limit: zod_1.z.coerce.number().int().min(1).max(50).optional().default(20),
|
|
61
|
+
});
|
|
62
|
+
exports.GetUserCommentRepliesParamsSchema = zod_1.z.object({
|
|
63
|
+
commentId: zod_1.z.coerce.bigint(),
|
|
64
|
+
});
|
|
65
|
+
exports.GetUserCommentRepliesQuerySchema = zod_1.z.object({
|
|
66
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
67
|
+
limit: zod_1.z.coerce.number().int().min(1).max(50).optional().default(20),
|
|
68
|
+
});
|
|
69
|
+
exports.CreateUserCommentParamsSchema = zod_1.z.object({
|
|
70
|
+
userId: zod_1.z.coerce.bigint(),
|
|
71
|
+
});
|
|
72
|
+
exports.CreateUserCommentBodySchema = zod_1.z.object({
|
|
73
|
+
parentCommentId: zod_1.z.coerce.bigint().optional(),
|
|
74
|
+
content: zod_1.z.string().min(1).max(2000),
|
|
75
|
+
contentImageUrl: zod_1.z.string().url().optional(),
|
|
76
|
+
isSecret: zod_1.z.boolean().optional().default(false),
|
|
77
|
+
});
|
|
78
|
+
exports.UpdateUserCommentReactionParamsSchema = zod_1.z.object({
|
|
79
|
+
commentId: zod_1.z.coerce.bigint(),
|
|
80
|
+
});
|
|
81
|
+
exports.UpdateUserCommentReactionBodySchema = zod_1.z.object({
|
|
82
|
+
reactionType: zod_1.z.enum(['LIKE', 'DISLIKE']).nullable(),
|
|
83
|
+
});
|
|
84
|
+
exports.ReportUserCommentParamsSchema = zod_1.z.object({
|
|
85
|
+
userId: zod_1.z.coerce.bigint(),
|
|
86
|
+
commentId: zod_1.z.coerce.bigint(),
|
|
87
|
+
});
|
|
88
|
+
exports.DeleteUserCommentParamsSchema = zod_1.z.object({
|
|
89
|
+
userId: zod_1.z.coerce.bigint(),
|
|
90
|
+
commentId: zod_1.z.coerce.bigint(),
|
|
91
|
+
});
|
|
92
|
+
exports.GetUserReferralQuerySchema = zod_1.z.object({});
|
|
93
|
+
exports.SetUserReferrerBodySchema = zod_1.z.object({
|
|
94
|
+
referralCode: zod_1.z
|
|
95
|
+
.string()
|
|
96
|
+
.length(6)
|
|
97
|
+
.regex(/^[A-Z0-9]+$/),
|
|
98
|
+
});
|
|
99
|
+
exports.GetNoticesQuerySchema = zod_1.z.object({
|
|
100
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
101
|
+
limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
|
|
102
|
+
});
|
|
103
|
+
exports.AcknowledgeNoticesBodySchema = zod_1.z.object({});
|
|
104
|
+
exports.ReadNoticeParamsSchema = zod_1.z.object({
|
|
105
|
+
noticeId: zod_1.z.coerce.bigint(),
|
|
106
|
+
});
|
|
107
|
+
exports.GetUserNotificationsQuerySchema = zod_1.z.object({
|
|
108
|
+
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
109
|
+
limit: zod_1.z.coerce.number().int().min(1).max(20).optional().default(20),
|
|
110
|
+
});
|
|
111
|
+
exports.AcknowledgeUserNotificationsBodySchema = zod_1.z.object({});
|
|
112
|
+
exports.ReadUserNotificationParamsSchema = zod_1.z.object({
|
|
113
|
+
notificationId: zod_1.z.coerce.bigint(),
|
|
114
|
+
});
|
|
53
115
|
exports.GetCurrentUserSchema = zod_1.z.object({});
|
|
54
116
|
//# 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,
|
|
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,G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,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAClC,CAAC,CAAC;AAaU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
|
15
15
|
limit: number;
|
|
16
16
|
cursor?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
cursor?: string | undefined;
|
|
19
18
|
limit?: number | undefined;
|
|
19
|
+
cursor?: string | 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
|
-
limit: number;
|
|
34
33
|
page: number;
|
|
34
|
+
limit: number;
|
|
35
35
|
}, {
|
|
36
|
-
limit?: number | undefined;
|
|
37
36
|
page?: number | undefined;
|
|
37
|
+
limit?: 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
|
-
name: string;
|
|
139
138
|
appearance: string;
|
|
139
|
+
name: 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
|
-
name: string;
|
|
148
147
|
appearance: string;
|
|
148
|
+
name: 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
|
-
name: string;
|
|
180
179
|
appearance: string;
|
|
180
|
+
name: 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
|
-
name: string;
|
|
212
211
|
appearance: string;
|
|
212
|
+
name: 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
|
-
name: string;
|
|
247
246
|
appearance: string;
|
|
247
|
+
name: 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
|
-
name: string;
|
|
282
281
|
appearance: string;
|
|
282
|
+
name: 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
|
-
limit: number;
|
|
360
359
|
page: number;
|
|
360
|
+
limit: number;
|
|
361
361
|
visibility: "edited" | "private" | "public" | "publish";
|
|
362
362
|
}, {
|
|
363
|
-
limit?: number | undefined;
|
|
364
363
|
page?: number | undefined;
|
|
364
|
+
limit?: number | undefined;
|
|
365
365
|
visibility?: "edited" | "private" | "public" | "publish" | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
|
|
@@ -378,20 +378,23 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
378
378
|
type: z.ZodEnum<["NOVEL"]>;
|
|
379
379
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "male", "female"]>>>;
|
|
380
380
|
tag: z.ZodOptional<z.ZodString>;
|
|
381
|
+
ownerUserId: z.ZodOptional<z.ZodBigInt>;
|
|
381
382
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
382
383
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
383
384
|
}, "strip", z.ZodTypeAny, {
|
|
384
385
|
type: "NOVEL";
|
|
385
|
-
limit: number;
|
|
386
386
|
page: number;
|
|
387
|
+
limit: number;
|
|
387
388
|
gender: "all" | "male" | "female";
|
|
388
389
|
tag?: string | undefined;
|
|
390
|
+
ownerUserId?: bigint | undefined;
|
|
389
391
|
}, {
|
|
390
392
|
type: "NOVEL";
|
|
391
|
-
limit?: number | undefined;
|
|
392
393
|
page?: number | undefined;
|
|
394
|
+
limit?: number | undefined;
|
|
393
395
|
gender?: "all" | "male" | "female" | undefined;
|
|
394
396
|
tag?: string | undefined;
|
|
397
|
+
ownerUserId?: bigint | undefined;
|
|
395
398
|
}>;
|
|
396
399
|
export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
|
|
397
400
|
export interface PublishedLocationPresetsResponseDto {
|
|
@@ -412,18 +415,18 @@ export declare const SearchLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
412
415
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
413
416
|
}, "strip", z.ZodTypeAny, {
|
|
414
417
|
type: "NOVEL";
|
|
415
|
-
|
|
418
|
+
sortBy: "latest" | "popular";
|
|
416
419
|
page: number;
|
|
420
|
+
limit: number;
|
|
417
421
|
gender: "all" | "male" | "female";
|
|
418
422
|
query: string;
|
|
419
|
-
sortBy: "popular" | "latest";
|
|
420
423
|
}, {
|
|
421
424
|
type: "NOVEL";
|
|
422
425
|
query: string;
|
|
423
|
-
|
|
426
|
+
sortBy?: "latest" | "popular" | undefined;
|
|
424
427
|
page?: number | undefined;
|
|
428
|
+
limit?: number | undefined;
|
|
425
429
|
gender?: "all" | "male" | "female" | undefined;
|
|
426
|
-
sortBy?: "popular" | "latest" | undefined;
|
|
427
430
|
}>;
|
|
428
431
|
export type SearchLocationPresetsQueryDto = z.infer<typeof SearchLocationPresetsQuerySchema>;
|
|
429
432
|
export interface SearchLocationPresetsResponseDto {
|
|
@@ -529,8 +532,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
529
532
|
url?: string | undefined;
|
|
530
533
|
}>, "many">>;
|
|
531
534
|
}, "strip", z.ZodTypeAny, {
|
|
532
|
-
name: string;
|
|
533
535
|
appearance: string;
|
|
536
|
+
name: string;
|
|
534
537
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
535
538
|
images?: {
|
|
536
539
|
description: string;
|
|
@@ -538,8 +541,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
538
541
|
url?: string | undefined;
|
|
539
542
|
}[] | undefined;
|
|
540
543
|
}, {
|
|
541
|
-
name: string;
|
|
542
544
|
appearance: string;
|
|
545
|
+
name: string;
|
|
543
546
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
544
547
|
images?: {
|
|
545
548
|
description: string;
|
|
@@ -570,8 +573,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
570
573
|
maxLength: number;
|
|
571
574
|
}[] | undefined;
|
|
572
575
|
gimmicks?: {
|
|
573
|
-
name: string;
|
|
574
576
|
appearance: string;
|
|
577
|
+
name: string;
|
|
575
578
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
576
579
|
images?: {
|
|
577
580
|
description: string;
|
|
@@ -602,8 +605,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
602
605
|
maxLength: number;
|
|
603
606
|
}[] | undefined;
|
|
604
607
|
gimmicks?: {
|
|
605
|
-
name: string;
|
|
606
608
|
appearance: string;
|
|
609
|
+
name: string;
|
|
607
610
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
608
611
|
images?: {
|
|
609
612
|
description: string;
|
|
@@ -725,11 +728,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
725
728
|
}>>;
|
|
726
729
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
727
730
|
}, "strip", z.ZodTypeAny, {
|
|
728
|
-
name?: string | undefined;
|
|
729
|
-
role?: string | undefined;
|
|
730
731
|
avatar?: string | undefined;
|
|
731
732
|
referenceAvatar?: string | undefined;
|
|
732
733
|
appearance?: string | undefined;
|
|
734
|
+
name?: string | undefined;
|
|
735
|
+
role?: string | undefined;
|
|
733
736
|
core?: {
|
|
734
737
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
735
738
|
} | undefined;
|
|
@@ -761,11 +764,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
761
764
|
} | undefined;
|
|
762
765
|
} | undefined;
|
|
763
766
|
}, {
|
|
764
|
-
name?: string | undefined;
|
|
765
|
-
role?: string | undefined;
|
|
766
767
|
avatar?: string | undefined;
|
|
767
768
|
referenceAvatar?: string | undefined;
|
|
768
769
|
appearance?: string | undefined;
|
|
770
|
+
name?: string | undefined;
|
|
771
|
+
role?: string | undefined;
|
|
769
772
|
core?: {
|
|
770
773
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
771
774
|
} | undefined;
|
|
@@ -800,8 +803,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
800
803
|
}, "strip", z.ZodTypeAny, {
|
|
801
804
|
presetDescription: string;
|
|
802
805
|
presetShortDescription: string;
|
|
803
|
-
name?: string | undefined;
|
|
804
806
|
locationId?: bigint | undefined;
|
|
807
|
+
name?: string | undefined;
|
|
805
808
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
806
809
|
hashtags?: string[] | undefined;
|
|
807
810
|
isAllowImport?: boolean | undefined;
|
|
@@ -829,8 +832,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
829
832
|
maxLength: number;
|
|
830
833
|
}[] | undefined;
|
|
831
834
|
gimmicks?: {
|
|
832
|
-
name: string;
|
|
833
835
|
appearance: string;
|
|
836
|
+
name: string;
|
|
834
837
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
835
838
|
images?: {
|
|
836
839
|
description: string;
|
|
@@ -840,11 +843,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
840
843
|
}[] | undefined;
|
|
841
844
|
} | undefined;
|
|
842
845
|
agentConfigs?: {
|
|
843
|
-
name?: string | undefined;
|
|
844
|
-
role?: string | undefined;
|
|
845
846
|
avatar?: string | undefined;
|
|
846
847
|
referenceAvatar?: string | undefined;
|
|
847
848
|
appearance?: string | undefined;
|
|
849
|
+
name?: string | undefined;
|
|
850
|
+
role?: string | undefined;
|
|
848
851
|
core?: {
|
|
849
852
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
850
853
|
} | undefined;
|
|
@@ -879,8 +882,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
879
882
|
}, {
|
|
880
883
|
presetDescription: string;
|
|
881
884
|
presetShortDescription: string;
|
|
882
|
-
name?: string | undefined;
|
|
883
885
|
locationId?: bigint | undefined;
|
|
886
|
+
name?: string | undefined;
|
|
884
887
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
885
888
|
hashtags?: string[] | undefined;
|
|
886
889
|
isAllowImport?: boolean | undefined;
|
|
@@ -908,8 +911,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
908
911
|
maxLength: number;
|
|
909
912
|
}[] | undefined;
|
|
910
913
|
gimmicks?: {
|
|
911
|
-
name: string;
|
|
912
914
|
appearance: string;
|
|
915
|
+
name: string;
|
|
913
916
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
914
917
|
images?: {
|
|
915
918
|
description: string;
|
|
@@ -919,11 +922,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
919
922
|
}[] | undefined;
|
|
920
923
|
} | undefined;
|
|
921
924
|
agentConfigs?: {
|
|
922
|
-
name?: string | undefined;
|
|
923
|
-
role?: string | undefined;
|
|
924
925
|
avatar?: string | undefined;
|
|
925
926
|
referenceAvatar?: string | undefined;
|
|
926
927
|
appearance?: string | undefined;
|
|
928
|
+
name?: string | undefined;
|
|
929
|
+
role?: string | undefined;
|
|
927
930
|
core?: {
|
|
928
931
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
929
932
|
} | undefined;
|
|
@@ -1057,16 +1060,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1057
1060
|
referenceAvatar: z.ZodString;
|
|
1058
1061
|
appearance: z.ZodString;
|
|
1059
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
name: string;
|
|
1061
1063
|
avatar: string;
|
|
1062
1064
|
referenceAvatar: string;
|
|
1063
1065
|
appearance: string;
|
|
1066
|
+
name: string;
|
|
1064
1067
|
role?: string | undefined;
|
|
1065
1068
|
}, {
|
|
1066
|
-
name: string;
|
|
1067
1069
|
avatar: string;
|
|
1068
1070
|
referenceAvatar: string;
|
|
1069
1071
|
appearance: string;
|
|
1072
|
+
name: string;
|
|
1070
1073
|
role?: string | undefined;
|
|
1071
1074
|
}>>>;
|
|
1072
1075
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1139,8 +1142,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1139
1142
|
url?: string | undefined;
|
|
1140
1143
|
}>, "many">>;
|
|
1141
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1142
|
-
name: string;
|
|
1143
1145
|
appearance: string;
|
|
1146
|
+
name: string;
|
|
1144
1147
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1145
1148
|
images?: {
|
|
1146
1149
|
description: string;
|
|
@@ -1148,8 +1151,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1148
1151
|
url?: string | undefined;
|
|
1149
1152
|
}[] | undefined;
|
|
1150
1153
|
}, {
|
|
1151
|
-
name: string;
|
|
1152
1154
|
appearance: string;
|
|
1155
|
+
name: string;
|
|
1153
1156
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1154
1157
|
images?: {
|
|
1155
1158
|
description: string;
|
|
@@ -1180,8 +1183,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1180
1183
|
maxLength: number;
|
|
1181
1184
|
}[] | undefined;
|
|
1182
1185
|
gimmicks?: {
|
|
1183
|
-
name: string;
|
|
1184
1186
|
appearance: string;
|
|
1187
|
+
name: string;
|
|
1185
1188
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1186
1189
|
images?: {
|
|
1187
1190
|
description: string;
|
|
@@ -1212,8 +1215,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1212
1215
|
maxLength: number;
|
|
1213
1216
|
}[] | undefined;
|
|
1214
1217
|
gimmicks?: {
|
|
1215
|
-
name: string;
|
|
1216
1218
|
appearance: string;
|
|
1219
|
+
name: string;
|
|
1217
1220
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1218
1221
|
images?: {
|
|
1219
1222
|
description: string;
|
|
@@ -1335,11 +1338,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1335
1338
|
}>>;
|
|
1336
1339
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1337
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1338
|
-
name?: string | undefined;
|
|
1339
|
-
role?: string | undefined;
|
|
1340
1341
|
avatar?: string | undefined;
|
|
1341
1342
|
referenceAvatar?: string | undefined;
|
|
1342
1343
|
appearance?: string | undefined;
|
|
1344
|
+
name?: string | undefined;
|
|
1345
|
+
role?: string | undefined;
|
|
1343
1346
|
core?: {
|
|
1344
1347
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1345
1348
|
} | undefined;
|
|
@@ -1371,11 +1374,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1371
1374
|
} | undefined;
|
|
1372
1375
|
} | undefined;
|
|
1373
1376
|
}, {
|
|
1374
|
-
name?: string | undefined;
|
|
1375
|
-
role?: string | undefined;
|
|
1376
1377
|
avatar?: string | undefined;
|
|
1377
1378
|
referenceAvatar?: string | undefined;
|
|
1378
1379
|
appearance?: string | undefined;
|
|
1380
|
+
name?: string | undefined;
|
|
1381
|
+
role?: string | undefined;
|
|
1379
1382
|
core?: {
|
|
1380
1383
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1381
1384
|
} | undefined;
|
|
@@ -1443,8 +1446,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1443
1446
|
maxLength: number;
|
|
1444
1447
|
}[] | undefined;
|
|
1445
1448
|
gimmicks?: {
|
|
1446
|
-
name: string;
|
|
1447
1449
|
appearance: string;
|
|
1450
|
+
name: string;
|
|
1448
1451
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1449
1452
|
images?: {
|
|
1450
1453
|
description: string;
|
|
@@ -1454,11 +1457,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1454
1457
|
}[] | undefined;
|
|
1455
1458
|
} | undefined;
|
|
1456
1459
|
agentConfigs?: ({
|
|
1457
|
-
name?: string | undefined;
|
|
1458
|
-
role?: string | undefined;
|
|
1459
1460
|
avatar?: string | undefined;
|
|
1460
1461
|
referenceAvatar?: string | undefined;
|
|
1461
1462
|
appearance?: string | undefined;
|
|
1463
|
+
name?: string | undefined;
|
|
1464
|
+
role?: string | undefined;
|
|
1462
1465
|
core?: {
|
|
1463
1466
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1464
1467
|
} | undefined;
|
|
@@ -1504,10 +1507,10 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1504
1507
|
image?: string | undefined;
|
|
1505
1508
|
}[] | undefined;
|
|
1506
1509
|
userAvatar?: {
|
|
1507
|
-
name: string;
|
|
1508
1510
|
avatar: string;
|
|
1509
1511
|
referenceAvatar: string;
|
|
1510
1512
|
appearance: string;
|
|
1513
|
+
name: string;
|
|
1511
1514
|
role?: string | undefined;
|
|
1512
1515
|
} | null | undefined;
|
|
1513
1516
|
tags?: string[] | undefined;
|
|
@@ -1547,8 +1550,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1547
1550
|
maxLength: number;
|
|
1548
1551
|
}[] | undefined;
|
|
1549
1552
|
gimmicks?: {
|
|
1550
|
-
name: string;
|
|
1551
1553
|
appearance: string;
|
|
1554
|
+
name: string;
|
|
1552
1555
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1553
1556
|
images?: {
|
|
1554
1557
|
description: string;
|
|
@@ -1558,11 +1561,11 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1558
1561
|
}[] | undefined;
|
|
1559
1562
|
} | undefined;
|
|
1560
1563
|
agentConfigs?: ({
|
|
1561
|
-
name?: string | undefined;
|
|
1562
|
-
role?: string | undefined;
|
|
1563
1564
|
avatar?: string | undefined;
|
|
1564
1565
|
referenceAvatar?: string | undefined;
|
|
1565
1566
|
appearance?: string | undefined;
|
|
1567
|
+
name?: string | undefined;
|
|
1568
|
+
role?: string | undefined;
|
|
1566
1569
|
core?: {
|
|
1567
1570
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1568
1571
|
} | undefined;
|
|
@@ -1608,10 +1611,10 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1608
1611
|
image?: string | undefined;
|
|
1609
1612
|
}[] | undefined;
|
|
1610
1613
|
userAvatar?: {
|
|
1611
|
-
name: string;
|
|
1612
1614
|
avatar: string;
|
|
1613
1615
|
referenceAvatar: string;
|
|
1614
1616
|
appearance: string;
|
|
1617
|
+
name: string;
|
|
1615
1618
|
role?: string | undefined;
|
|
1616
1619
|
} | null | undefined;
|
|
1617
1620
|
tags?: string[] | undefined;
|
|
@@ -1753,8 +1756,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
|
|
|
1753
1756
|
cursor?: string | undefined;
|
|
1754
1757
|
}, {
|
|
1755
1758
|
presetId: bigint;
|
|
1756
|
-
cursor?: string | undefined;
|
|
1757
1759
|
limit?: number | undefined;
|
|
1760
|
+
cursor?: string | undefined;
|
|
1758
1761
|
}>;
|
|
1759
1762
|
export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
|
|
1760
1763
|
export interface GetLocationPresetLocationsResponseDto {
|
|
@@ -1777,13 +1780,13 @@ export declare const GetLocationPresetCommentsQuerySchema: z.ZodObject<{
|
|
|
1777
1780
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1778
1781
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1779
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1780
|
-
limit: number;
|
|
1781
|
-
page: number;
|
|
1782
1783
|
sortBy: "latest" | "recommended";
|
|
1784
|
+
page: number;
|
|
1785
|
+
limit: number;
|
|
1783
1786
|
}, {
|
|
1784
|
-
limit?: number | undefined;
|
|
1785
|
-
page?: number | undefined;
|
|
1786
1787
|
sortBy?: "latest" | "recommended" | undefined;
|
|
1788
|
+
page?: number | undefined;
|
|
1789
|
+
limit?: number | undefined;
|
|
1787
1790
|
}>;
|
|
1788
1791
|
export type GetLocationPresetCommentsQueryDto = z.infer<typeof GetLocationPresetCommentsQuerySchema>;
|
|
1789
1792
|
export interface GetLocationPresetCommentsResponseDto {
|
|
@@ -1808,11 +1811,11 @@ export declare const GetLocationPresetCommentRepliesQuerySchema: z.ZodObject<{
|
|
|
1808
1811
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1809
1812
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1810
1813
|
}, "strip", z.ZodTypeAny, {
|
|
1811
|
-
limit: number;
|
|
1812
1814
|
page: number;
|
|
1815
|
+
limit: number;
|
|
1813
1816
|
}, {
|
|
1814
|
-
limit?: number | undefined;
|
|
1815
1817
|
page?: number | undefined;
|
|
1818
|
+
limit?: number | undefined;
|
|
1816
1819
|
}>;
|
|
1817
1820
|
export type GetLocationPresetCommentRepliesQueryDto = z.infer<typeof GetLocationPresetCommentRepliesQuerySchema>;
|
|
1818
1821
|
export interface GetLocationPresetCommentRepliesResponseDto {
|
|
@@ -1876,11 +1879,11 @@ export declare const ReportLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1876
1879
|
presetId: z.ZodBigInt;
|
|
1877
1880
|
commentId: z.ZodBigInt;
|
|
1878
1881
|
}, "strip", z.ZodTypeAny, {
|
|
1879
|
-
presetId: bigint;
|
|
1880
1882
|
commentId: bigint;
|
|
1881
|
-
}, {
|
|
1882
1883
|
presetId: bigint;
|
|
1884
|
+
}, {
|
|
1883
1885
|
commentId: bigint;
|
|
1886
|
+
presetId: bigint;
|
|
1884
1887
|
}>;
|
|
1885
1888
|
export type ReportLocationPresetCommentParamsDto = z.infer<typeof ReportLocationPresetCommentParamsSchema>;
|
|
1886
1889
|
export interface ReportLocationPresetCommentResponseDto {
|
|
@@ -1891,11 +1894,11 @@ export declare const DeleteLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1891
1894
|
presetId: z.ZodBigInt;
|
|
1892
1895
|
commentId: z.ZodBigInt;
|
|
1893
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
presetId: bigint;
|
|
1895
1897
|
commentId: bigint;
|
|
1896
|
-
}, {
|
|
1897
1898
|
presetId: bigint;
|
|
1899
|
+
}, {
|
|
1898
1900
|
commentId: bigint;
|
|
1901
|
+
presetId: bigint;
|
|
1899
1902
|
}>;
|
|
1900
1903
|
export type DeleteLocationPresetCommentParamsDto = z.infer<typeof DeleteLocationPresetCommentParamsSchema>;
|
|
1901
1904
|
export interface DeleteLocationPresetCommentResponseDto {
|
|
@@ -1989,8 +1992,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1989
1992
|
url?: string | undefined;
|
|
1990
1993
|
}>, "many">>;
|
|
1991
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1992
|
-
name: string;
|
|
1993
1995
|
appearance: string;
|
|
1996
|
+
name: string;
|
|
1994
1997
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1995
1998
|
images?: {
|
|
1996
1999
|
description: string;
|
|
@@ -1998,8 +2001,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1998
2001
|
url?: string | undefined;
|
|
1999
2002
|
}[] | undefined;
|
|
2000
2003
|
}, {
|
|
2001
|
-
name: string;
|
|
2002
2004
|
appearance: string;
|
|
2005
|
+
name: string;
|
|
2003
2006
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2004
2007
|
images?: {
|
|
2005
2008
|
description: string;
|
|
@@ -2030,8 +2033,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2030
2033
|
maxLength: number;
|
|
2031
2034
|
}[] | undefined;
|
|
2032
2035
|
gimmicks?: {
|
|
2033
|
-
name: string;
|
|
2034
2036
|
appearance: string;
|
|
2037
|
+
name: string;
|
|
2035
2038
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2036
2039
|
images?: {
|
|
2037
2040
|
description: string;
|
|
@@ -2062,8 +2065,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2062
2065
|
maxLength: number;
|
|
2063
2066
|
}[] | undefined;
|
|
2064
2067
|
gimmicks?: {
|
|
2065
|
-
name: string;
|
|
2066
2068
|
appearance: string;
|
|
2069
|
+
name: string;
|
|
2067
2070
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2068
2071
|
images?: {
|
|
2069
2072
|
description: string;
|
|
@@ -2100,8 +2103,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2100
2103
|
maxLength: number;
|
|
2101
2104
|
}[] | undefined;
|
|
2102
2105
|
gimmicks?: {
|
|
2103
|
-
name: string;
|
|
2104
2106
|
appearance: string;
|
|
2107
|
+
name: string;
|
|
2105
2108
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2106
2109
|
images?: {
|
|
2107
2110
|
description: string;
|
|
@@ -2135,8 +2138,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2135
2138
|
maxLength: number;
|
|
2136
2139
|
}[] | undefined;
|
|
2137
2140
|
gimmicks?: {
|
|
2138
|
-
name: string;
|
|
2139
2141
|
appearance: string;
|
|
2142
|
+
name: string;
|
|
2140
2143
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
2141
2144
|
images?: {
|
|
2142
2145
|
description: string;
|
|
@@ -65,6 +65,7 @@ exports.PublishedLocationPresetsQuerySchema = zod_1.z.object({
|
|
|
65
65
|
type: zod_1.z.enum(['NOVEL']),
|
|
66
66
|
gender: zod_1.z.enum(['all', 'male', 'female']).optional().default('all'),
|
|
67
67
|
tag: zod_1.z.string().max(32).optional(),
|
|
68
|
+
ownerUserId: zod_1.z.coerce.bigint().optional(),
|
|
68
69
|
page: zod_1.z.coerce.number().int().min(1).max(25).optional().default(1),
|
|
69
70
|
limit: zod_1.z.coerce.number().min(1).max(10).default(10),
|
|
70
71
|
});
|