@little-samo/samo-ai-sdk 0.6.5 → 0.6.7
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 +34 -34
- 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 +20 -3
- 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 +261 -12
- package/dist/dto/entities/users/user.requests.js +64 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +3 -2
- package/dist/dto/locations/location.requests.d.ts +164 -155
- package/dist/dto/locations/location.requests.js +4 -1
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -118,7 +118,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
118
118
|
maxLength: number;
|
|
119
119
|
}>, "many">>;
|
|
120
120
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
121
|
+
core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">[]]>;
|
|
122
122
|
name: z.ZodString;
|
|
123
123
|
appearance: z.ZodString;
|
|
124
124
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -135,18 +135,18 @@ 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;
|
|
140
|
-
|
|
139
|
+
name: string;
|
|
140
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
141
141
|
images?: {
|
|
142
142
|
description: string;
|
|
143
143
|
name?: string | undefined;
|
|
144
144
|
url?: string | undefined;
|
|
145
145
|
}[] | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
name: string;
|
|
148
147
|
appearance: string;
|
|
149
|
-
|
|
148
|
+
name: string;
|
|
149
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
150
150
|
images?: {
|
|
151
151
|
description: string;
|
|
152
152
|
name?: string | undefined;
|
|
@@ -155,16 +155,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
155
155
|
}>, "many">>;
|
|
156
156
|
}, "strict", z.ZodTypeAny, {
|
|
157
157
|
name?: string | undefined;
|
|
158
|
-
|
|
159
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
158
|
+
description?: string | undefined;
|
|
160
159
|
core?: {
|
|
161
160
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
162
161
|
sequential?: boolean | undefined;
|
|
163
162
|
interval?: number | undefined;
|
|
164
163
|
maxAgentExecutions?: number | null | undefined;
|
|
165
164
|
} | undefined;
|
|
166
|
-
description?: string | undefined;
|
|
167
165
|
rules?: string[] | undefined;
|
|
166
|
+
thumbnail?: string | null | undefined;
|
|
167
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
168
168
|
canvases?: {
|
|
169
169
|
name: string;
|
|
170
170
|
description: string;
|
|
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
176
176
|
maxLength: number;
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
|
-
name: string;
|
|
180
179
|
appearance: string;
|
|
181
|
-
|
|
180
|
+
name: string;
|
|
181
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
182
182
|
images?: {
|
|
183
183
|
description: string;
|
|
184
184
|
name?: string | undefined;
|
|
@@ -187,16 +187,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
187
187
|
}[] | undefined;
|
|
188
188
|
}, {
|
|
189
189
|
name?: string | undefined;
|
|
190
|
-
|
|
191
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
190
|
+
description?: string | undefined;
|
|
192
191
|
core?: {
|
|
193
192
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
194
193
|
sequential?: boolean | undefined;
|
|
195
194
|
interval?: number | undefined;
|
|
196
195
|
maxAgentExecutions?: number | null | undefined;
|
|
197
196
|
} | undefined;
|
|
198
|
-
description?: string | undefined;
|
|
199
197
|
rules?: string[] | undefined;
|
|
198
|
+
thumbnail?: string | null | undefined;
|
|
199
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
200
200
|
canvases?: {
|
|
201
201
|
name: string;
|
|
202
202
|
description: string;
|
|
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
208
208
|
maxLength: number;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
|
-
name: string;
|
|
212
211
|
appearance: string;
|
|
213
|
-
|
|
212
|
+
name: string;
|
|
213
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
214
214
|
images?: {
|
|
215
215
|
description: string;
|
|
216
216
|
name?: string | undefined;
|
|
@@ -222,16 +222,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
222
222
|
locationId: bigint;
|
|
223
223
|
config: {
|
|
224
224
|
name?: string | undefined;
|
|
225
|
-
|
|
226
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
225
|
+
description?: string | undefined;
|
|
227
226
|
core?: {
|
|
228
227
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
229
228
|
sequential?: boolean | undefined;
|
|
230
229
|
interval?: number | undefined;
|
|
231
230
|
maxAgentExecutions?: number | null | undefined;
|
|
232
231
|
} | undefined;
|
|
233
|
-
description?: string | undefined;
|
|
234
232
|
rules?: string[] | undefined;
|
|
233
|
+
thumbnail?: string | null | undefined;
|
|
234
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
235
235
|
canvases?: {
|
|
236
236
|
name: string;
|
|
237
237
|
description: string;
|
|
@@ -243,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
243
243
|
maxLength: number;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
gimmicks?: {
|
|
246
|
-
name: string;
|
|
247
246
|
appearance: string;
|
|
248
|
-
|
|
247
|
+
name: string;
|
|
248
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
249
249
|
images?: {
|
|
250
250
|
description: string;
|
|
251
251
|
name?: string | undefined;
|
|
@@ -257,16 +257,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
257
257
|
locationId: bigint;
|
|
258
258
|
config: {
|
|
259
259
|
name?: string | undefined;
|
|
260
|
-
|
|
261
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
260
|
+
description?: string | undefined;
|
|
262
261
|
core?: {
|
|
263
262
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
264
263
|
sequential?: boolean | undefined;
|
|
265
264
|
interval?: number | undefined;
|
|
266
265
|
maxAgentExecutions?: number | null | undefined;
|
|
267
266
|
} | undefined;
|
|
268
|
-
description?: string | undefined;
|
|
269
267
|
rules?: string[] | undefined;
|
|
268
|
+
thumbnail?: string | null | undefined;
|
|
269
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
270
270
|
canvases?: {
|
|
271
271
|
name: string;
|
|
272
272
|
description: string;
|
|
@@ -278,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
278
278
|
maxLength: number;
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
gimmicks?: {
|
|
281
|
-
name: string;
|
|
282
281
|
appearance: string;
|
|
283
|
-
|
|
282
|
+
name: string;
|
|
283
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
284
284
|
images?: {
|
|
285
285
|
description: string;
|
|
286
286
|
name?: string | undefined;
|
|
@@ -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 {
|
|
@@ -512,7 +515,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
512
515
|
maxLength: number;
|
|
513
516
|
}>, "many">>;
|
|
514
517
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
518
|
+
core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">[]]>;
|
|
516
519
|
name: z.ZodString;
|
|
517
520
|
appearance: z.ZodString;
|
|
518
521
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -529,18 +532,18 @@ 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;
|
|
534
|
-
|
|
536
|
+
name: string;
|
|
537
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
535
538
|
images?: {
|
|
536
539
|
description: string;
|
|
537
540
|
name?: string | undefined;
|
|
538
541
|
url?: string | undefined;
|
|
539
542
|
}[] | undefined;
|
|
540
543
|
}, {
|
|
541
|
-
name: string;
|
|
542
544
|
appearance: string;
|
|
543
|
-
|
|
545
|
+
name: string;
|
|
546
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
544
547
|
images?: {
|
|
545
548
|
description: string;
|
|
546
549
|
name?: string | undefined;
|
|
@@ -549,16 +552,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
549
552
|
}>, "many">>;
|
|
550
553
|
}, "strip", z.ZodTypeAny, {
|
|
551
554
|
name?: string | undefined;
|
|
552
|
-
|
|
553
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
555
|
+
description?: string | undefined;
|
|
554
556
|
core?: {
|
|
555
557
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
556
558
|
sequential?: boolean | undefined;
|
|
557
559
|
interval?: number | undefined;
|
|
558
560
|
maxAgentExecutions?: number | null | undefined;
|
|
559
561
|
} | undefined;
|
|
560
|
-
description?: string | undefined;
|
|
561
562
|
rules?: string[] | undefined;
|
|
563
|
+
thumbnail?: string | null | undefined;
|
|
564
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
562
565
|
canvases?: {
|
|
563
566
|
name: string;
|
|
564
567
|
description: string;
|
|
@@ -570,9 +573,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
570
573
|
maxLength: number;
|
|
571
574
|
}[] | undefined;
|
|
572
575
|
gimmicks?: {
|
|
573
|
-
name: string;
|
|
574
576
|
appearance: string;
|
|
575
|
-
|
|
577
|
+
name: string;
|
|
578
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
576
579
|
images?: {
|
|
577
580
|
description: string;
|
|
578
581
|
name?: string | undefined;
|
|
@@ -581,16 +584,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
581
584
|
}[] | undefined;
|
|
582
585
|
}, {
|
|
583
586
|
name?: string | undefined;
|
|
584
|
-
|
|
585
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
587
|
+
description?: string | undefined;
|
|
586
588
|
core?: {
|
|
587
589
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
588
590
|
sequential?: boolean | undefined;
|
|
589
591
|
interval?: number | undefined;
|
|
590
592
|
maxAgentExecutions?: number | null | undefined;
|
|
591
593
|
} | undefined;
|
|
592
|
-
description?: string | undefined;
|
|
593
594
|
rules?: string[] | undefined;
|
|
595
|
+
thumbnail?: string | null | undefined;
|
|
596
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
594
597
|
canvases?: {
|
|
595
598
|
name: string;
|
|
596
599
|
description: string;
|
|
@@ -602,9 +605,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
602
605
|
maxLength: number;
|
|
603
606
|
}[] | undefined;
|
|
604
607
|
gimmicks?: {
|
|
605
|
-
name: string;
|
|
606
608
|
appearance: string;
|
|
607
|
-
|
|
609
|
+
name: string;
|
|
610
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
608
611
|
images?: {
|
|
609
612
|
description: string;
|
|
610
613
|
name?: string | undefined;
|
|
@@ -725,15 +728,14 @@ 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;
|
|
736
|
-
rules?: string[] | undefined;
|
|
737
739
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
738
740
|
languages?: string[] | undefined;
|
|
739
741
|
timeZone?: string | undefined;
|
|
@@ -760,16 +762,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
760
762
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
761
763
|
} | undefined;
|
|
762
764
|
} | undefined;
|
|
765
|
+
rules?: string[] | 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;
|
|
772
|
-
rules?: string[] | undefined;
|
|
773
775
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
774
776
|
languages?: string[] | undefined;
|
|
775
777
|
timeZone?: string | undefined;
|
|
@@ -796,28 +798,29 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
796
798
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
797
799
|
} | undefined;
|
|
798
800
|
} | undefined;
|
|
801
|
+
rules?: string[] | undefined;
|
|
799
802
|
}>, "many">>;
|
|
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;
|
|
808
811
|
isSensitive?: boolean | undefined;
|
|
809
812
|
locationConfig?: {
|
|
810
813
|
name?: string | undefined;
|
|
811
|
-
|
|
812
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
814
|
+
description?: string | undefined;
|
|
813
815
|
core?: {
|
|
814
816
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
815
817
|
sequential?: boolean | undefined;
|
|
816
818
|
interval?: number | undefined;
|
|
817
819
|
maxAgentExecutions?: number | null | undefined;
|
|
818
820
|
} | undefined;
|
|
819
|
-
description?: string | undefined;
|
|
820
821
|
rules?: string[] | undefined;
|
|
822
|
+
thumbnail?: string | null | undefined;
|
|
823
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
821
824
|
canvases?: {
|
|
822
825
|
name: string;
|
|
823
826
|
description: string;
|
|
@@ -829,9 +832,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
829
832
|
maxLength: number;
|
|
830
833
|
}[] | undefined;
|
|
831
834
|
gimmicks?: {
|
|
832
|
-
name: string;
|
|
833
835
|
appearance: string;
|
|
834
|
-
|
|
836
|
+
name: string;
|
|
837
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
835
838
|
images?: {
|
|
836
839
|
description: string;
|
|
837
840
|
name?: string | undefined;
|
|
@@ -840,15 +843,14 @@ 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;
|
|
851
|
-
rules?: string[] | undefined;
|
|
852
854
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
853
855
|
languages?: string[] | undefined;
|
|
854
856
|
timeZone?: string | undefined;
|
|
@@ -875,28 +877,29 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
875
877
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
876
878
|
} | undefined;
|
|
877
879
|
} | undefined;
|
|
880
|
+
rules?: string[] | undefined;
|
|
878
881
|
}[] | undefined;
|
|
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;
|
|
887
890
|
isSensitive?: boolean | undefined;
|
|
888
891
|
locationConfig?: {
|
|
889
892
|
name?: string | undefined;
|
|
890
|
-
|
|
891
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
893
|
+
description?: string | undefined;
|
|
892
894
|
core?: {
|
|
893
895
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
894
896
|
sequential?: boolean | undefined;
|
|
895
897
|
interval?: number | undefined;
|
|
896
898
|
maxAgentExecutions?: number | null | undefined;
|
|
897
899
|
} | undefined;
|
|
898
|
-
description?: string | undefined;
|
|
899
900
|
rules?: string[] | undefined;
|
|
901
|
+
thumbnail?: string | null | undefined;
|
|
902
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
900
903
|
canvases?: {
|
|
901
904
|
name: string;
|
|
902
905
|
description: string;
|
|
@@ -908,9 +911,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
908
911
|
maxLength: number;
|
|
909
912
|
}[] | undefined;
|
|
910
913
|
gimmicks?: {
|
|
911
|
-
name: string;
|
|
912
914
|
appearance: string;
|
|
913
|
-
|
|
915
|
+
name: string;
|
|
916
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
914
917
|
images?: {
|
|
915
918
|
description: string;
|
|
916
919
|
name?: string | undefined;
|
|
@@ -919,15 +922,14 @@ 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;
|
|
930
|
-
rules?: string[] | undefined;
|
|
931
933
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
932
934
|
languages?: string[] | undefined;
|
|
933
935
|
timeZone?: string | undefined;
|
|
@@ -954,6 +956,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
954
956
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
955
957
|
} | undefined;
|
|
956
958
|
} | undefined;
|
|
959
|
+
rules?: string[] | undefined;
|
|
957
960
|
}[] | undefined;
|
|
958
961
|
}>;
|
|
959
962
|
export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
|
|
@@ -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">>;
|
|
@@ -1122,7 +1125,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1122
1125
|
maxLength: number;
|
|
1123
1126
|
}>, "many">>;
|
|
1124
1127
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1125
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
1128
|
+
core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">[]]>;
|
|
1126
1129
|
name: z.ZodString;
|
|
1127
1130
|
appearance: z.ZodString;
|
|
1128
1131
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1139,18 +1142,18 @@ 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;
|
|
1144
|
-
|
|
1146
|
+
name: string;
|
|
1147
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1145
1148
|
images?: {
|
|
1146
1149
|
description: string;
|
|
1147
1150
|
name?: string | undefined;
|
|
1148
1151
|
url?: string | undefined;
|
|
1149
1152
|
}[] | undefined;
|
|
1150
1153
|
}, {
|
|
1151
|
-
name: string;
|
|
1152
1154
|
appearance: string;
|
|
1153
|
-
|
|
1155
|
+
name: string;
|
|
1156
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1154
1157
|
images?: {
|
|
1155
1158
|
description: string;
|
|
1156
1159
|
name?: string | undefined;
|
|
@@ -1159,16 +1162,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1159
1162
|
}>, "many">>;
|
|
1160
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1161
1164
|
name?: string | undefined;
|
|
1162
|
-
|
|
1163
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1165
|
+
description?: string | undefined;
|
|
1164
1166
|
core?: {
|
|
1165
1167
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1166
1168
|
sequential?: boolean | undefined;
|
|
1167
1169
|
interval?: number | undefined;
|
|
1168
1170
|
maxAgentExecutions?: number | null | undefined;
|
|
1169
1171
|
} | undefined;
|
|
1170
|
-
description?: string | undefined;
|
|
1171
1172
|
rules?: string[] | undefined;
|
|
1173
|
+
thumbnail?: string | null | undefined;
|
|
1174
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1172
1175
|
canvases?: {
|
|
1173
1176
|
name: string;
|
|
1174
1177
|
description: string;
|
|
@@ -1180,9 +1183,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1180
1183
|
maxLength: number;
|
|
1181
1184
|
}[] | undefined;
|
|
1182
1185
|
gimmicks?: {
|
|
1183
|
-
name: string;
|
|
1184
1186
|
appearance: string;
|
|
1185
|
-
|
|
1187
|
+
name: string;
|
|
1188
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1186
1189
|
images?: {
|
|
1187
1190
|
description: string;
|
|
1188
1191
|
name?: string | undefined;
|
|
@@ -1191,16 +1194,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1191
1194
|
}[] | undefined;
|
|
1192
1195
|
}, {
|
|
1193
1196
|
name?: string | undefined;
|
|
1194
|
-
|
|
1195
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1197
|
+
description?: string | undefined;
|
|
1196
1198
|
core?: {
|
|
1197
1199
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1198
1200
|
sequential?: boolean | undefined;
|
|
1199
1201
|
interval?: number | undefined;
|
|
1200
1202
|
maxAgentExecutions?: number | null | undefined;
|
|
1201
1203
|
} | undefined;
|
|
1202
|
-
description?: string | undefined;
|
|
1203
1204
|
rules?: string[] | undefined;
|
|
1205
|
+
thumbnail?: string | null | undefined;
|
|
1206
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1204
1207
|
canvases?: {
|
|
1205
1208
|
name: string;
|
|
1206
1209
|
description: string;
|
|
@@ -1212,9 +1215,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1212
1215
|
maxLength: number;
|
|
1213
1216
|
}[] | undefined;
|
|
1214
1217
|
gimmicks?: {
|
|
1215
|
-
name: string;
|
|
1216
1218
|
appearance: string;
|
|
1217
|
-
|
|
1219
|
+
name: string;
|
|
1220
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1218
1221
|
images?: {
|
|
1219
1222
|
description: string;
|
|
1220
1223
|
name?: string | undefined;
|
|
@@ -1335,15 +1338,14 @@ 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;
|
|
1346
|
-
rules?: string[] | undefined;
|
|
1347
1349
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1348
1350
|
languages?: string[] | undefined;
|
|
1349
1351
|
timeZone?: string | undefined;
|
|
@@ -1370,16 +1372,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1370
1372
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1371
1373
|
} | undefined;
|
|
1372
1374
|
} | undefined;
|
|
1375
|
+
rules?: string[] | 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;
|
|
1382
|
-
rules?: string[] | undefined;
|
|
1383
1385
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1384
1386
|
languages?: string[] | undefined;
|
|
1385
1387
|
timeZone?: string | undefined;
|
|
@@ -1406,6 +1408,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1406
1408
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1407
1409
|
} | undefined;
|
|
1408
1410
|
} | undefined;
|
|
1411
|
+
rules?: string[] | undefined;
|
|
1409
1412
|
}>>, "many">>;
|
|
1410
1413
|
}, "strip", z.ZodTypeAny, {
|
|
1411
1414
|
name?: string | undefined;
|
|
@@ -1422,16 +1425,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1422
1425
|
isSensitive?: boolean | undefined;
|
|
1423
1426
|
locationConfig?: {
|
|
1424
1427
|
name?: string | undefined;
|
|
1425
|
-
|
|
1426
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1428
|
+
description?: string | undefined;
|
|
1427
1429
|
core?: {
|
|
1428
1430
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1429
1431
|
sequential?: boolean | undefined;
|
|
1430
1432
|
interval?: number | undefined;
|
|
1431
1433
|
maxAgentExecutions?: number | null | undefined;
|
|
1432
1434
|
} | undefined;
|
|
1433
|
-
description?: string | undefined;
|
|
1434
1435
|
rules?: string[] | undefined;
|
|
1436
|
+
thumbnail?: string | null | undefined;
|
|
1437
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1435
1438
|
canvases?: {
|
|
1436
1439
|
name: string;
|
|
1437
1440
|
description: string;
|
|
@@ -1443,9 +1446,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1443
1446
|
maxLength: number;
|
|
1444
1447
|
}[] | undefined;
|
|
1445
1448
|
gimmicks?: {
|
|
1446
|
-
name: string;
|
|
1447
1449
|
appearance: string;
|
|
1448
|
-
|
|
1450
|
+
name: string;
|
|
1451
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1449
1452
|
images?: {
|
|
1450
1453
|
description: string;
|
|
1451
1454
|
name?: string | undefined;
|
|
@@ -1454,15 +1457,14 @@ 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;
|
|
1465
|
-
rules?: string[] | undefined;
|
|
1466
1468
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1467
1469
|
languages?: string[] | undefined;
|
|
1468
1470
|
timeZone?: string | undefined;
|
|
@@ -1489,6 +1491,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1489
1491
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1490
1492
|
} | undefined;
|
|
1491
1493
|
} | undefined;
|
|
1494
|
+
rules?: string[] | undefined;
|
|
1492
1495
|
} | null)[] | undefined;
|
|
1493
1496
|
thumbnails?: string[] | undefined;
|
|
1494
1497
|
mission?: {
|
|
@@ -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;
|
|
@@ -1526,16 +1529,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1526
1529
|
isSensitive?: boolean | undefined;
|
|
1527
1530
|
locationConfig?: {
|
|
1528
1531
|
name?: string | undefined;
|
|
1529
|
-
|
|
1530
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1532
|
+
description?: string | undefined;
|
|
1531
1533
|
core?: {
|
|
1532
1534
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1533
1535
|
sequential?: boolean | undefined;
|
|
1534
1536
|
interval?: number | undefined;
|
|
1535
1537
|
maxAgentExecutions?: number | null | undefined;
|
|
1536
1538
|
} | undefined;
|
|
1537
|
-
description?: string | undefined;
|
|
1538
1539
|
rules?: string[] | undefined;
|
|
1540
|
+
thumbnail?: string | null | undefined;
|
|
1541
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
1539
1542
|
canvases?: {
|
|
1540
1543
|
name: string;
|
|
1541
1544
|
description: string;
|
|
@@ -1547,9 +1550,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1547
1550
|
maxLength: number;
|
|
1548
1551
|
}[] | undefined;
|
|
1549
1552
|
gimmicks?: {
|
|
1550
|
-
name: string;
|
|
1551
1553
|
appearance: string;
|
|
1552
|
-
|
|
1554
|
+
name: string;
|
|
1555
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1553
1556
|
images?: {
|
|
1554
1557
|
description: string;
|
|
1555
1558
|
name?: string | undefined;
|
|
@@ -1558,15 +1561,14 @@ 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;
|
|
1569
|
-
rules?: string[] | undefined;
|
|
1570
1572
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1571
1573
|
languages?: string[] | undefined;
|
|
1572
1574
|
timeZone?: string | undefined;
|
|
@@ -1593,6 +1595,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1593
1595
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
1594
1596
|
} | undefined;
|
|
1595
1597
|
} | undefined;
|
|
1598
|
+
rules?: string[] | undefined;
|
|
1596
1599
|
} | null)[] | undefined;
|
|
1597
1600
|
thumbnails?: string[] | undefined;
|
|
1598
1601
|
mission?: {
|
|
@@ -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 {
|
|
@@ -1833,14 +1836,20 @@ export declare const CreateLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1833
1836
|
}>;
|
|
1834
1837
|
export type CreateLocationPresetCommentParamsDto = z.infer<typeof CreateLocationPresetCommentParamsSchema>;
|
|
1835
1838
|
export declare const CreateLocationPresetCommentBodySchema: z.ZodObject<{
|
|
1836
|
-
content: z.ZodString;
|
|
1837
1839
|
parentCommentId: z.ZodOptional<z.ZodBigInt>;
|
|
1840
|
+
content: z.ZodString;
|
|
1841
|
+
contentImageUrl: z.ZodOptional<z.ZodString>;
|
|
1842
|
+
isSecret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1838
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1839
1844
|
content: string;
|
|
1845
|
+
isSecret: boolean;
|
|
1840
1846
|
parentCommentId?: bigint | undefined;
|
|
1847
|
+
contentImageUrl?: string | undefined;
|
|
1841
1848
|
}, {
|
|
1842
1849
|
content: string;
|
|
1843
1850
|
parentCommentId?: bigint | undefined;
|
|
1851
|
+
contentImageUrl?: string | undefined;
|
|
1852
|
+
isSecret?: boolean | undefined;
|
|
1844
1853
|
}>;
|
|
1845
1854
|
export type CreateLocationPresetCommentBodyDto = z.infer<typeof CreateLocationPresetCommentBodySchema>;
|
|
1846
1855
|
export interface CreateLocationPresetCommentResponseDto {
|
|
@@ -1870,11 +1879,11 @@ export declare const ReportLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1870
1879
|
presetId: z.ZodBigInt;
|
|
1871
1880
|
commentId: z.ZodBigInt;
|
|
1872
1881
|
}, "strip", z.ZodTypeAny, {
|
|
1873
|
-
presetId: bigint;
|
|
1874
1882
|
commentId: bigint;
|
|
1875
|
-
}, {
|
|
1876
1883
|
presetId: bigint;
|
|
1884
|
+
}, {
|
|
1877
1885
|
commentId: bigint;
|
|
1886
|
+
presetId: bigint;
|
|
1878
1887
|
}>;
|
|
1879
1888
|
export type ReportLocationPresetCommentParamsDto = z.infer<typeof ReportLocationPresetCommentParamsSchema>;
|
|
1880
1889
|
export interface ReportLocationPresetCommentResponseDto {
|
|
@@ -1885,11 +1894,11 @@ export declare const DeleteLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
|
1885
1894
|
presetId: z.ZodBigInt;
|
|
1886
1895
|
commentId: z.ZodBigInt;
|
|
1887
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1888
|
-
presetId: bigint;
|
|
1889
1897
|
commentId: bigint;
|
|
1890
|
-
}, {
|
|
1891
1898
|
presetId: bigint;
|
|
1899
|
+
}, {
|
|
1892
1900
|
commentId: bigint;
|
|
1901
|
+
presetId: bigint;
|
|
1893
1902
|
}>;
|
|
1894
1903
|
export type DeleteLocationPresetCommentParamsDto = z.infer<typeof DeleteLocationPresetCommentParamsSchema>;
|
|
1895
1904
|
export interface DeleteLocationPresetCommentResponseDto {
|
|
@@ -1966,7 +1975,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1966
1975
|
maxLength: number;
|
|
1967
1976
|
}>, "many">>;
|
|
1968
1977
|
gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1969
|
-
core: z.ZodUnion<[z.ZodLiteral<"
|
|
1978
|
+
core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator">[]]>;
|
|
1970
1979
|
name: z.ZodString;
|
|
1971
1980
|
appearance: z.ZodString;
|
|
1972
1981
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1983,18 +1992,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1983
1992
|
url?: string | undefined;
|
|
1984
1993
|
}>, "many">>;
|
|
1985
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1986
|
-
name: string;
|
|
1987
1995
|
appearance: string;
|
|
1988
|
-
|
|
1996
|
+
name: string;
|
|
1997
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1989
1998
|
images?: {
|
|
1990
1999
|
description: string;
|
|
1991
2000
|
name?: string | undefined;
|
|
1992
2001
|
url?: string | undefined;
|
|
1993
2002
|
}[] | undefined;
|
|
1994
2003
|
}, {
|
|
1995
|
-
name: string;
|
|
1996
2004
|
appearance: string;
|
|
1997
|
-
|
|
2005
|
+
name: string;
|
|
2006
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
1998
2007
|
images?: {
|
|
1999
2008
|
description: string;
|
|
2000
2009
|
name?: string | undefined;
|
|
@@ -2003,16 +2012,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2003
2012
|
}>, "many">>;
|
|
2004
2013
|
}, "strict", z.ZodTypeAny, {
|
|
2005
2014
|
name?: string | undefined;
|
|
2006
|
-
|
|
2007
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2015
|
+
description?: string | undefined;
|
|
2008
2016
|
core?: {
|
|
2009
2017
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2010
2018
|
sequential?: boolean | undefined;
|
|
2011
2019
|
interval?: number | undefined;
|
|
2012
2020
|
maxAgentExecutions?: number | null | undefined;
|
|
2013
2021
|
} | undefined;
|
|
2014
|
-
description?: string | undefined;
|
|
2015
2022
|
rules?: string[] | undefined;
|
|
2023
|
+
thumbnail?: string | null | undefined;
|
|
2024
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2016
2025
|
canvases?: {
|
|
2017
2026
|
name: string;
|
|
2018
2027
|
description: string;
|
|
@@ -2024,9 +2033,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2024
2033
|
maxLength: number;
|
|
2025
2034
|
}[] | undefined;
|
|
2026
2035
|
gimmicks?: {
|
|
2027
|
-
name: string;
|
|
2028
2036
|
appearance: string;
|
|
2029
|
-
|
|
2037
|
+
name: string;
|
|
2038
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
2030
2039
|
images?: {
|
|
2031
2040
|
description: string;
|
|
2032
2041
|
name?: string | undefined;
|
|
@@ -2035,16 +2044,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2035
2044
|
}[] | undefined;
|
|
2036
2045
|
}, {
|
|
2037
2046
|
name?: string | undefined;
|
|
2038
|
-
|
|
2039
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2047
|
+
description?: string | undefined;
|
|
2040
2048
|
core?: {
|
|
2041
2049
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2042
2050
|
sequential?: boolean | undefined;
|
|
2043
2051
|
interval?: number | undefined;
|
|
2044
2052
|
maxAgentExecutions?: number | null | undefined;
|
|
2045
2053
|
} | undefined;
|
|
2046
|
-
description?: string | undefined;
|
|
2047
2054
|
rules?: string[] | undefined;
|
|
2055
|
+
thumbnail?: string | null | undefined;
|
|
2056
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2048
2057
|
canvases?: {
|
|
2049
2058
|
name: string;
|
|
2050
2059
|
description: string;
|
|
@@ -2056,9 +2065,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2056
2065
|
maxLength: number;
|
|
2057
2066
|
}[] | undefined;
|
|
2058
2067
|
gimmicks?: {
|
|
2059
|
-
name: string;
|
|
2060
2068
|
appearance: string;
|
|
2061
|
-
|
|
2069
|
+
name: string;
|
|
2070
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
2062
2071
|
images?: {
|
|
2063
2072
|
description: string;
|
|
2064
2073
|
name?: string | undefined;
|
|
@@ -2073,16 +2082,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2073
2082
|
}, "strip", z.ZodTypeAny, {
|
|
2074
2083
|
config: {
|
|
2075
2084
|
name?: string | undefined;
|
|
2076
|
-
|
|
2077
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2085
|
+
description?: string | undefined;
|
|
2078
2086
|
core?: {
|
|
2079
2087
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2080
2088
|
sequential?: boolean | undefined;
|
|
2081
2089
|
interval?: number | undefined;
|
|
2082
2090
|
maxAgentExecutions?: number | null | undefined;
|
|
2083
2091
|
} | undefined;
|
|
2084
|
-
description?: string | undefined;
|
|
2085
2092
|
rules?: string[] | undefined;
|
|
2093
|
+
thumbnail?: string | null | undefined;
|
|
2094
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2086
2095
|
canvases?: {
|
|
2087
2096
|
name: string;
|
|
2088
2097
|
description: string;
|
|
@@ -2094,9 +2103,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2094
2103
|
maxLength: number;
|
|
2095
2104
|
}[] | undefined;
|
|
2096
2105
|
gimmicks?: {
|
|
2097
|
-
name: string;
|
|
2098
2106
|
appearance: string;
|
|
2099
|
-
|
|
2107
|
+
name: string;
|
|
2108
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
2100
2109
|
images?: {
|
|
2101
2110
|
description: string;
|
|
2102
2111
|
name?: string | undefined;
|
|
@@ -2108,16 +2117,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2108
2117
|
}, {
|
|
2109
2118
|
config: {
|
|
2110
2119
|
name?: string | undefined;
|
|
2111
|
-
|
|
2112
|
-
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2120
|
+
description?: string | undefined;
|
|
2113
2121
|
core?: {
|
|
2114
2122
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
2115
2123
|
sequential?: boolean | undefined;
|
|
2116
2124
|
interval?: number | undefined;
|
|
2117
2125
|
maxAgentExecutions?: number | null | undefined;
|
|
2118
2126
|
} | undefined;
|
|
2119
|
-
description?: string | undefined;
|
|
2120
2127
|
rules?: string[] | undefined;
|
|
2128
|
+
thumbnail?: string | null | undefined;
|
|
2129
|
+
environment?: "CHAT" | "NOVEL" | "BROWSER" | undefined;
|
|
2121
2130
|
canvases?: {
|
|
2122
2131
|
name: string;
|
|
2123
2132
|
description: string;
|
|
@@ -2129,9 +2138,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
2129
2138
|
maxLength: number;
|
|
2130
2139
|
}[] | undefined;
|
|
2131
2140
|
gimmicks?: {
|
|
2132
|
-
name: string;
|
|
2133
2141
|
appearance: string;
|
|
2134
|
-
|
|
2142
|
+
name: string;
|
|
2143
|
+
core: "notion" | "web_search" | "image_generator" | "character_image_generator";
|
|
2135
2144
|
images?: {
|
|
2136
2145
|
description: string;
|
|
2137
2146
|
name?: string | undefined;
|
|
@@ -2187,8 +2196,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
|
|
|
2187
2196
|
readonly MINIMO: "MINIMO";
|
|
2188
2197
|
}>>>;
|
|
2189
2198
|
}, "strip", z.ZodTypeAny, {
|
|
2190
|
-
platform: "API" | "MINIMO";
|
|
2191
2199
|
agentId: bigint;
|
|
2200
|
+
platform: "API" | "MINIMO";
|
|
2192
2201
|
}, {
|
|
2193
2202
|
agentId: bigint;
|
|
2194
2203
|
platform?: "API" | "MINIMO" | undefined;
|
|
@@ -2221,8 +2230,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
|
|
|
2221
2230
|
readonly MINIMO: "MINIMO";
|
|
2222
2231
|
}>>>;
|
|
2223
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2224
|
-
platform: "API" | "MINIMO";
|
|
2225
2233
|
agentId: bigint;
|
|
2234
|
+
platform: "API" | "MINIMO";
|
|
2226
2235
|
}, {
|
|
2227
2236
|
agentId: bigint;
|
|
2228
2237
|
platform?: "API" | "MINIMO" | undefined;
|