@little-samo/samo-ai-sdk 0.4.0 → 0.4.2
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 +16 -16
- package/dist/dto/entities/users/user.d.ts +3 -2
- package/dist/dto/entities/users/user.requests.d.ts +19 -16
- package/dist/dto/entities/users/user.requests.js +4 -3
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +17 -2
- package/dist/dto/locations/location.requests.d.ts +542 -175
- package/dist/dto/locations/location.requests.js +48 -4
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
import { LocationConfig } from '../../models/locations/location.config';
|
|
5
5
|
import { LocationContentDto, LocationCostDto, LocationListItemDto, LocationPrivateDto } from './location';
|
|
6
6
|
import { LocationMessageDto } from './location.message';
|
|
7
|
-
import { LocationPresetDetailDto, LocationPresetDto, LocationPresetPrivateDto } from './location.preset';
|
|
7
|
+
import { LocationPresetCommentDto, LocationPresetDetailDto, LocationPresetDto, LocationPresetPrivateDto } from './location.preset';
|
|
8
8
|
import { LocationScheduledMessageDto } from './location.scheduled-message';
|
|
9
9
|
import { LocationSnapshotDto } from './location.snapshot';
|
|
10
10
|
import type { AgentPrivateDto } from '../entities';
|
|
@@ -136,8 +136,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
136
136
|
}>, "many">>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
name: string;
|
|
139
|
-
appearance: string;
|
|
140
139
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
140
|
+
appearance: string;
|
|
141
141
|
images?: {
|
|
142
142
|
description: string;
|
|
143
143
|
name?: string | undefined;
|
|
@@ -145,8 +145,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
145
145
|
}[] | undefined;
|
|
146
146
|
}, {
|
|
147
147
|
name: string;
|
|
148
|
-
appearance: string;
|
|
149
148
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
149
|
+
appearance: string;
|
|
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
|
-
|
|
158
|
+
thumbnail?: string | null | undefined;
|
|
159
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
159
160
|
core?: {
|
|
160
161
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
161
162
|
sequential?: boolean | undefined;
|
|
162
163
|
interval?: number | undefined;
|
|
163
164
|
maxAgentExecutions?: number | null | undefined;
|
|
164
165
|
} | undefined;
|
|
166
|
+
description?: string | undefined;
|
|
165
167
|
rules?: string[] | undefined;
|
|
166
|
-
thumbnail?: string | null | undefined;
|
|
167
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
168
168
|
canvases?: {
|
|
169
169
|
name: string;
|
|
170
170
|
description: string;
|
|
@@ -177,8 +177,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
177
177
|
}[] | undefined;
|
|
178
178
|
gimmicks?: {
|
|
179
179
|
name: string;
|
|
180
|
-
appearance: string;
|
|
181
180
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
181
|
+
appearance: string;
|
|
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
|
-
|
|
190
|
+
thumbnail?: string | null | undefined;
|
|
191
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
191
192
|
core?: {
|
|
192
193
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
193
194
|
sequential?: boolean | undefined;
|
|
194
195
|
interval?: number | undefined;
|
|
195
196
|
maxAgentExecutions?: number | null | undefined;
|
|
196
197
|
} | undefined;
|
|
198
|
+
description?: string | undefined;
|
|
197
199
|
rules?: string[] | undefined;
|
|
198
|
-
thumbnail?: string | null | undefined;
|
|
199
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
200
200
|
canvases?: {
|
|
201
201
|
name: string;
|
|
202
202
|
description: string;
|
|
@@ -209,8 +209,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
gimmicks?: {
|
|
211
211
|
name: string;
|
|
212
|
-
appearance: string;
|
|
213
212
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
213
|
+
appearance: string;
|
|
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
|
-
|
|
225
|
+
thumbnail?: string | null | undefined;
|
|
226
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
226
227
|
core?: {
|
|
227
228
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
228
229
|
sequential?: boolean | undefined;
|
|
229
230
|
interval?: number | undefined;
|
|
230
231
|
maxAgentExecutions?: number | null | undefined;
|
|
231
232
|
} | undefined;
|
|
233
|
+
description?: string | undefined;
|
|
232
234
|
rules?: string[] | undefined;
|
|
233
|
-
thumbnail?: string | null | undefined;
|
|
234
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
235
235
|
canvases?: {
|
|
236
236
|
name: string;
|
|
237
237
|
description: string;
|
|
@@ -244,8 +244,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
gimmicks?: {
|
|
246
246
|
name: string;
|
|
247
|
-
appearance: string;
|
|
248
247
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
248
|
+
appearance: string;
|
|
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
|
-
|
|
260
|
+
thumbnail?: string | null | undefined;
|
|
261
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
261
262
|
core?: {
|
|
262
263
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
263
264
|
sequential?: boolean | undefined;
|
|
264
265
|
interval?: number | undefined;
|
|
265
266
|
maxAgentExecutions?: number | null | undefined;
|
|
266
267
|
} | undefined;
|
|
268
|
+
description?: string | undefined;
|
|
267
269
|
rules?: string[] | undefined;
|
|
268
|
-
thumbnail?: string | null | undefined;
|
|
269
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
270
270
|
canvases?: {
|
|
271
271
|
name: string;
|
|
272
272
|
description: string;
|
|
@@ -279,8 +279,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
gimmicks?: {
|
|
281
281
|
name: string;
|
|
282
|
-
appearance: string;
|
|
283
282
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
283
|
+
appearance: string;
|
|
284
284
|
images?: {
|
|
285
285
|
description: string;
|
|
286
286
|
name?: string | undefined;
|
|
@@ -411,37 +411,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
411
411
|
name: z.ZodOptional<z.ZodString>;
|
|
412
412
|
presetDescription: z.ZodString;
|
|
413
413
|
presetShortDescription: z.ZodString;
|
|
414
|
-
canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
|
-
name: z.ZodString;
|
|
416
|
-
text: z.ZodString;
|
|
417
|
-
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
name: string;
|
|
419
|
-
text: string;
|
|
420
|
-
}, {
|
|
421
|
-
name: string;
|
|
422
|
-
text: string;
|
|
423
|
-
}>, "many">>;
|
|
424
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
|
-
entityType: z.ZodNativeEnum<{
|
|
426
|
-
readonly System: "system";
|
|
427
|
-
readonly Agent: "agent";
|
|
428
|
-
readonly User: "user";
|
|
429
|
-
readonly Gimmick: "gimmick";
|
|
430
|
-
}>;
|
|
431
|
-
entityId: z.ZodBigInt;
|
|
432
|
-
message: z.ZodOptional<z.ZodString>;
|
|
433
|
-
image: z.ZodOptional<z.ZodString>;
|
|
434
|
-
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
436
|
-
entityId: bigint;
|
|
437
|
-
message?: string | undefined;
|
|
438
|
-
image?: string | undefined;
|
|
439
|
-
}, {
|
|
440
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
441
|
-
entityId: bigint;
|
|
442
|
-
message?: string | undefined;
|
|
443
|
-
image?: string | undefined;
|
|
444
|
-
}>, "many">>;
|
|
445
414
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
446
415
|
isAllowImport: z.ZodOptional<z.ZodBoolean>;
|
|
447
416
|
isSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -512,8 +481,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
512
481
|
}>, "many">>;
|
|
513
482
|
}, "strip", z.ZodTypeAny, {
|
|
514
483
|
name: string;
|
|
515
|
-
appearance: string;
|
|
516
484
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
485
|
+
appearance: string;
|
|
517
486
|
images?: {
|
|
518
487
|
description: string;
|
|
519
488
|
name?: string | undefined;
|
|
@@ -521,8 +490,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
521
490
|
}[] | undefined;
|
|
522
491
|
}, {
|
|
523
492
|
name: string;
|
|
524
|
-
appearance: string;
|
|
525
493
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
494
|
+
appearance: string;
|
|
526
495
|
images?: {
|
|
527
496
|
description: string;
|
|
528
497
|
name?: string | undefined;
|
|
@@ -531,16 +500,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
531
500
|
}>, "many">>;
|
|
532
501
|
}, "strip", z.ZodTypeAny, {
|
|
533
502
|
name?: string | undefined;
|
|
534
|
-
|
|
503
|
+
thumbnail?: string | null | undefined;
|
|
504
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
535
505
|
core?: {
|
|
536
506
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
537
507
|
sequential?: boolean | undefined;
|
|
538
508
|
interval?: number | undefined;
|
|
539
509
|
maxAgentExecutions?: number | null | undefined;
|
|
540
510
|
} | undefined;
|
|
511
|
+
description?: string | undefined;
|
|
541
512
|
rules?: string[] | undefined;
|
|
542
|
-
thumbnail?: string | null | undefined;
|
|
543
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
544
513
|
canvases?: {
|
|
545
514
|
name: string;
|
|
546
515
|
description: string;
|
|
@@ -553,8 +522,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
553
522
|
}[] | undefined;
|
|
554
523
|
gimmicks?: {
|
|
555
524
|
name: string;
|
|
556
|
-
appearance: string;
|
|
557
525
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
526
|
+
appearance: string;
|
|
558
527
|
images?: {
|
|
559
528
|
description: string;
|
|
560
529
|
name?: string | undefined;
|
|
@@ -563,16 +532,16 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
563
532
|
}[] | undefined;
|
|
564
533
|
}, {
|
|
565
534
|
name?: string | undefined;
|
|
566
|
-
|
|
535
|
+
thumbnail?: string | null | undefined;
|
|
536
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
567
537
|
core?: {
|
|
568
538
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
569
539
|
sequential?: boolean | undefined;
|
|
570
540
|
interval?: number | undefined;
|
|
571
541
|
maxAgentExecutions?: number | null | undefined;
|
|
572
542
|
} | undefined;
|
|
543
|
+
description?: string | undefined;
|
|
573
544
|
rules?: string[] | undefined;
|
|
574
|
-
thumbnail?: string | null | undefined;
|
|
575
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
576
545
|
canvases?: {
|
|
577
546
|
name: string;
|
|
578
547
|
description: string;
|
|
@@ -585,8 +554,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
585
554
|
}[] | undefined;
|
|
586
555
|
gimmicks?: {
|
|
587
556
|
name: string;
|
|
588
|
-
appearance: string;
|
|
589
557
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
558
|
+
appearance: string;
|
|
590
559
|
images?: {
|
|
591
560
|
description: string;
|
|
592
561
|
name?: string | undefined;
|
|
@@ -594,37 +563,209 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
594
563
|
}[] | undefined;
|
|
595
564
|
}[] | undefined;
|
|
596
565
|
}>>;
|
|
566
|
+
agentConfigs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
|
+
name: z.ZodOptional<z.ZodString>;
|
|
568
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
|
|
569
|
+
referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
570
|
+
appearance: z.ZodOptional<z.ZodString>;
|
|
571
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
575
|
+
}, {
|
|
576
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
577
|
+
}>>;
|
|
578
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"free">, z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"gemini-high">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">, z.ZodLiteral<"xai-low">, z.ZodLiteral<"xai-medium">]>>;
|
|
579
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
580
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
581
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
582
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
583
|
+
character: z.ZodOptional<z.ZodObject<{
|
|
584
|
+
background: z.ZodOptional<z.ZodObject<{
|
|
585
|
+
role: z.ZodOptional<z.ZodString>;
|
|
586
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
587
|
+
age: z.ZodOptional<z.ZodString>;
|
|
588
|
+
expertise: z.ZodOptional<z.ZodString>;
|
|
589
|
+
backstory: z.ZodOptional<z.ZodString>;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
role?: string | undefined;
|
|
592
|
+
gender?: string | undefined;
|
|
593
|
+
age?: string | undefined;
|
|
594
|
+
expertise?: string | undefined;
|
|
595
|
+
backstory?: string | undefined;
|
|
596
|
+
}, {
|
|
597
|
+
role?: string | undefined;
|
|
598
|
+
gender?: string | undefined;
|
|
599
|
+
age?: string | undefined;
|
|
600
|
+
expertise?: string | undefined;
|
|
601
|
+
backstory?: string | undefined;
|
|
602
|
+
}>>;
|
|
603
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
605
|
+
style: z.ZodOptional<z.ZodString>;
|
|
606
|
+
formality: z.ZodOptional<z.ZodString>;
|
|
607
|
+
}, "strip", z.ZodTypeAny, {
|
|
608
|
+
tone?: string | undefined;
|
|
609
|
+
style?: string | undefined;
|
|
610
|
+
formality?: string | undefined;
|
|
611
|
+
}, {
|
|
612
|
+
tone?: string | undefined;
|
|
613
|
+
style?: string | undefined;
|
|
614
|
+
formality?: string | undefined;
|
|
615
|
+
}>>;
|
|
616
|
+
personality: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
traits: z.ZodOptional<z.ZodString>;
|
|
618
|
+
interests: z.ZodOptional<z.ZodString>;
|
|
619
|
+
values: z.ZodOptional<z.ZodString>;
|
|
620
|
+
quirks: z.ZodOptional<z.ZodString>;
|
|
621
|
+
mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
values?: string | undefined;
|
|
624
|
+
traits?: string | undefined;
|
|
625
|
+
interests?: string | undefined;
|
|
626
|
+
quirks?: string | undefined;
|
|
627
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
628
|
+
}, {
|
|
629
|
+
values?: string | undefined;
|
|
630
|
+
traits?: string | undefined;
|
|
631
|
+
interests?: string | undefined;
|
|
632
|
+
quirks?: string | undefined;
|
|
633
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
634
|
+
}>>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
background?: {
|
|
637
|
+
role?: string | undefined;
|
|
638
|
+
gender?: string | undefined;
|
|
639
|
+
age?: string | undefined;
|
|
640
|
+
expertise?: string | undefined;
|
|
641
|
+
backstory?: string | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
speech?: {
|
|
644
|
+
tone?: string | undefined;
|
|
645
|
+
style?: string | undefined;
|
|
646
|
+
formality?: string | undefined;
|
|
647
|
+
} | undefined;
|
|
648
|
+
personality?: {
|
|
649
|
+
values?: string | undefined;
|
|
650
|
+
traits?: string | undefined;
|
|
651
|
+
interests?: string | undefined;
|
|
652
|
+
quirks?: string | undefined;
|
|
653
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
}, {
|
|
656
|
+
background?: {
|
|
657
|
+
role?: string | undefined;
|
|
658
|
+
gender?: string | undefined;
|
|
659
|
+
age?: string | undefined;
|
|
660
|
+
expertise?: string | undefined;
|
|
661
|
+
backstory?: string | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
speech?: {
|
|
664
|
+
tone?: string | undefined;
|
|
665
|
+
style?: string | undefined;
|
|
666
|
+
formality?: string | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
personality?: {
|
|
669
|
+
values?: string | undefined;
|
|
670
|
+
traits?: string | undefined;
|
|
671
|
+
interests?: string | undefined;
|
|
672
|
+
quirks?: string | undefined;
|
|
673
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
674
|
+
} | undefined;
|
|
675
|
+
}>>;
|
|
676
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
name?: string | undefined;
|
|
679
|
+
core?: {
|
|
680
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
681
|
+
} | undefined;
|
|
682
|
+
rules?: string[] | undefined;
|
|
683
|
+
appearance?: string | undefined;
|
|
684
|
+
avatar?: string | undefined;
|
|
685
|
+
referenceAvatar?: string | undefined;
|
|
686
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
687
|
+
languages?: string[] | undefined;
|
|
688
|
+
timeZone?: string | undefined;
|
|
689
|
+
greeting?: string | undefined;
|
|
690
|
+
actions?: "todo"[] | undefined;
|
|
691
|
+
character?: {
|
|
692
|
+
background?: {
|
|
693
|
+
role?: string | undefined;
|
|
694
|
+
gender?: string | undefined;
|
|
695
|
+
age?: string | undefined;
|
|
696
|
+
expertise?: string | undefined;
|
|
697
|
+
backstory?: string | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
speech?: {
|
|
700
|
+
tone?: string | undefined;
|
|
701
|
+
style?: string | undefined;
|
|
702
|
+
formality?: string | undefined;
|
|
703
|
+
} | undefined;
|
|
704
|
+
personality?: {
|
|
705
|
+
values?: string | undefined;
|
|
706
|
+
traits?: string | undefined;
|
|
707
|
+
interests?: string | undefined;
|
|
708
|
+
quirks?: string | undefined;
|
|
709
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
710
|
+
} | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
}, {
|
|
713
|
+
name?: string | undefined;
|
|
714
|
+
core?: {
|
|
715
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
716
|
+
} | undefined;
|
|
717
|
+
rules?: string[] | undefined;
|
|
718
|
+
appearance?: string | undefined;
|
|
719
|
+
avatar?: string | undefined;
|
|
720
|
+
referenceAvatar?: string | undefined;
|
|
721
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
722
|
+
languages?: string[] | undefined;
|
|
723
|
+
timeZone?: string | undefined;
|
|
724
|
+
greeting?: string | undefined;
|
|
725
|
+
actions?: "todo"[] | undefined;
|
|
726
|
+
character?: {
|
|
727
|
+
background?: {
|
|
728
|
+
role?: string | undefined;
|
|
729
|
+
gender?: string | undefined;
|
|
730
|
+
age?: string | undefined;
|
|
731
|
+
expertise?: string | undefined;
|
|
732
|
+
backstory?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
speech?: {
|
|
735
|
+
tone?: string | undefined;
|
|
736
|
+
style?: string | undefined;
|
|
737
|
+
formality?: string | undefined;
|
|
738
|
+
} | undefined;
|
|
739
|
+
personality?: {
|
|
740
|
+
values?: string | undefined;
|
|
741
|
+
traits?: string | undefined;
|
|
742
|
+
interests?: string | undefined;
|
|
743
|
+
quirks?: string | undefined;
|
|
744
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
} | undefined;
|
|
747
|
+
}>, "many">>;
|
|
597
748
|
}, "strip", z.ZodTypeAny, {
|
|
598
749
|
presetDescription: string;
|
|
599
750
|
presetShortDescription: string;
|
|
600
751
|
name?: string | undefined;
|
|
601
|
-
messages?: {
|
|
602
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
603
|
-
entityId: bigint;
|
|
604
|
-
message?: string | undefined;
|
|
605
|
-
image?: string | undefined;
|
|
606
|
-
}[] | undefined;
|
|
607
752
|
locationId?: bigint | undefined;
|
|
608
|
-
canvases?: {
|
|
609
|
-
name: string;
|
|
610
|
-
text: string;
|
|
611
|
-
}[] | undefined;
|
|
612
753
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
613
754
|
hashtags?: string[] | undefined;
|
|
614
755
|
isAllowImport?: boolean | undefined;
|
|
615
756
|
isSensitive?: boolean | undefined;
|
|
616
757
|
locationConfig?: {
|
|
617
758
|
name?: string | undefined;
|
|
618
|
-
|
|
759
|
+
thumbnail?: string | null | undefined;
|
|
760
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
619
761
|
core?: {
|
|
620
762
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
621
763
|
sequential?: boolean | undefined;
|
|
622
764
|
interval?: number | undefined;
|
|
623
765
|
maxAgentExecutions?: number | null | undefined;
|
|
624
766
|
} | undefined;
|
|
767
|
+
description?: string | undefined;
|
|
625
768
|
rules?: string[] | undefined;
|
|
626
|
-
thumbnail?: string | null | undefined;
|
|
627
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
628
769
|
canvases?: {
|
|
629
770
|
name: string;
|
|
630
771
|
description: string;
|
|
@@ -637,8 +778,8 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
637
778
|
}[] | undefined;
|
|
638
779
|
gimmicks?: {
|
|
639
780
|
name: string;
|
|
640
|
-
appearance: string;
|
|
641
781
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
782
|
+
appearance: string;
|
|
642
783
|
images?: {
|
|
643
784
|
description: string;
|
|
644
785
|
name?: string | undefined;
|
|
@@ -646,58 +787,120 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
|
|
|
646
787
|
}[] | undefined;
|
|
647
788
|
}[] | undefined;
|
|
648
789
|
} | undefined;
|
|
790
|
+
agentConfigs?: {
|
|
791
|
+
name?: string | undefined;
|
|
792
|
+
core?: {
|
|
793
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
794
|
+
} | undefined;
|
|
795
|
+
rules?: string[] | undefined;
|
|
796
|
+
appearance?: string | undefined;
|
|
797
|
+
avatar?: string | undefined;
|
|
798
|
+
referenceAvatar?: string | undefined;
|
|
799
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
800
|
+
languages?: string[] | undefined;
|
|
801
|
+
timeZone?: string | undefined;
|
|
802
|
+
greeting?: string | undefined;
|
|
803
|
+
actions?: "todo"[] | undefined;
|
|
804
|
+
character?: {
|
|
805
|
+
background?: {
|
|
806
|
+
role?: string | undefined;
|
|
807
|
+
gender?: string | undefined;
|
|
808
|
+
age?: string | undefined;
|
|
809
|
+
expertise?: string | undefined;
|
|
810
|
+
backstory?: string | undefined;
|
|
811
|
+
} | undefined;
|
|
812
|
+
speech?: {
|
|
813
|
+
tone?: string | undefined;
|
|
814
|
+
style?: string | undefined;
|
|
815
|
+
formality?: string | undefined;
|
|
816
|
+
} | undefined;
|
|
817
|
+
personality?: {
|
|
818
|
+
values?: string | undefined;
|
|
819
|
+
traits?: string | undefined;
|
|
820
|
+
interests?: string | undefined;
|
|
821
|
+
quirks?: string | undefined;
|
|
822
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
823
|
+
} | undefined;
|
|
824
|
+
} | undefined;
|
|
825
|
+
}[] | undefined;
|
|
649
826
|
}, {
|
|
650
827
|
presetDescription: string;
|
|
651
828
|
presetShortDescription: string;
|
|
652
829
|
name?: string | undefined;
|
|
653
|
-
messages?: {
|
|
654
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
655
|
-
entityId: bigint;
|
|
656
|
-
message?: string | undefined;
|
|
657
|
-
image?: string | undefined;
|
|
658
|
-
}[] | undefined;
|
|
659
830
|
locationId?: bigint | undefined;
|
|
660
|
-
canvases?: {
|
|
661
|
-
name: string;
|
|
662
|
-
text: string;
|
|
663
|
-
}[] | undefined;
|
|
664
831
|
visibility?: "private" | "public" | "publish" | undefined;
|
|
665
832
|
hashtags?: string[] | undefined;
|
|
666
833
|
isAllowImport?: boolean | undefined;
|
|
667
834
|
isSensitive?: boolean | undefined;
|
|
668
835
|
locationConfig?: {
|
|
669
836
|
name?: string | undefined;
|
|
670
|
-
|
|
837
|
+
thumbnail?: string | null | undefined;
|
|
838
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
671
839
|
core?: {
|
|
672
840
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
673
841
|
sequential?: boolean | undefined;
|
|
674
842
|
interval?: number | undefined;
|
|
675
843
|
maxAgentExecutions?: number | null | undefined;
|
|
676
844
|
} | undefined;
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
appearance: string;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
845
|
+
description?: string | undefined;
|
|
846
|
+
rules?: string[] | undefined;
|
|
847
|
+
canvases?: {
|
|
848
|
+
name: string;
|
|
849
|
+
description: string;
|
|
850
|
+
maxLength: number;
|
|
851
|
+
}[] | undefined;
|
|
852
|
+
agentCanvases?: {
|
|
853
|
+
name: string;
|
|
854
|
+
description: string;
|
|
855
|
+
maxLength: number;
|
|
856
|
+
}[] | undefined;
|
|
857
|
+
gimmicks?: {
|
|
858
|
+
name: string;
|
|
859
|
+
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
860
|
+
appearance: string;
|
|
861
|
+
images?: {
|
|
862
|
+
description: string;
|
|
863
|
+
name?: string | undefined;
|
|
864
|
+
url?: string | undefined;
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
}[] | undefined;
|
|
867
|
+
} | undefined;
|
|
868
|
+
agentConfigs?: {
|
|
869
|
+
name?: string | undefined;
|
|
870
|
+
core?: {
|
|
871
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
872
|
+
} | undefined;
|
|
873
|
+
rules?: string[] | undefined;
|
|
874
|
+
appearance?: string | undefined;
|
|
875
|
+
avatar?: string | undefined;
|
|
876
|
+
referenceAvatar?: string | undefined;
|
|
877
|
+
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
878
|
+
languages?: string[] | undefined;
|
|
879
|
+
timeZone?: string | undefined;
|
|
880
|
+
greeting?: string | undefined;
|
|
881
|
+
actions?: "todo"[] | undefined;
|
|
882
|
+
character?: {
|
|
883
|
+
background?: {
|
|
884
|
+
role?: string | undefined;
|
|
885
|
+
gender?: string | undefined;
|
|
886
|
+
age?: string | undefined;
|
|
887
|
+
expertise?: string | undefined;
|
|
888
|
+
backstory?: string | undefined;
|
|
889
|
+
} | undefined;
|
|
890
|
+
speech?: {
|
|
891
|
+
tone?: string | undefined;
|
|
892
|
+
style?: string | undefined;
|
|
893
|
+
formality?: string | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
personality?: {
|
|
896
|
+
values?: string | undefined;
|
|
897
|
+
traits?: string | undefined;
|
|
898
|
+
interests?: string | undefined;
|
|
899
|
+
quirks?: string | undefined;
|
|
900
|
+
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
901
|
+
} | undefined;
|
|
902
|
+
} | undefined;
|
|
903
|
+
}[] | undefined;
|
|
701
904
|
}>;
|
|
702
905
|
export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
|
|
703
906
|
export interface CreateLocationPresetResponseDto {
|
|
@@ -760,12 +963,12 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
760
963
|
message: z.ZodOptional<z.ZodString>;
|
|
761
964
|
image: z.ZodOptional<z.ZodString>;
|
|
762
965
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
entityType: "
|
|
966
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
764
967
|
entityId: bigint;
|
|
765
968
|
message?: string | undefined;
|
|
766
969
|
image?: string | undefined;
|
|
767
970
|
}, {
|
|
768
|
-
entityType: "
|
|
971
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
769
972
|
entityId: bigint;
|
|
770
973
|
message?: string | undefined;
|
|
771
974
|
image?: string | undefined;
|
|
@@ -840,8 +1043,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
840
1043
|
}>, "many">>;
|
|
841
1044
|
}, "strip", z.ZodTypeAny, {
|
|
842
1045
|
name: string;
|
|
843
|
-
appearance: string;
|
|
844
1046
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1047
|
+
appearance: string;
|
|
845
1048
|
images?: {
|
|
846
1049
|
description: string;
|
|
847
1050
|
name?: string | undefined;
|
|
@@ -849,8 +1052,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
849
1052
|
}[] | undefined;
|
|
850
1053
|
}, {
|
|
851
1054
|
name: string;
|
|
852
|
-
appearance: string;
|
|
853
1055
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1056
|
+
appearance: string;
|
|
854
1057
|
images?: {
|
|
855
1058
|
description: string;
|
|
856
1059
|
name?: string | undefined;
|
|
@@ -859,16 +1062,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
859
1062
|
}>, "many">>;
|
|
860
1063
|
}, "strip", z.ZodTypeAny, {
|
|
861
1064
|
name?: string | undefined;
|
|
862
|
-
|
|
1065
|
+
thumbnail?: string | null | undefined;
|
|
1066
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
863
1067
|
core?: {
|
|
864
1068
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
865
1069
|
sequential?: boolean | undefined;
|
|
866
1070
|
interval?: number | undefined;
|
|
867
1071
|
maxAgentExecutions?: number | null | undefined;
|
|
868
1072
|
} | undefined;
|
|
1073
|
+
description?: string | undefined;
|
|
869
1074
|
rules?: string[] | undefined;
|
|
870
|
-
thumbnail?: string | null | undefined;
|
|
871
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
872
1075
|
canvases?: {
|
|
873
1076
|
name: string;
|
|
874
1077
|
description: string;
|
|
@@ -881,8 +1084,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
881
1084
|
}[] | undefined;
|
|
882
1085
|
gimmicks?: {
|
|
883
1086
|
name: string;
|
|
884
|
-
appearance: string;
|
|
885
1087
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1088
|
+
appearance: string;
|
|
886
1089
|
images?: {
|
|
887
1090
|
description: string;
|
|
888
1091
|
name?: string | undefined;
|
|
@@ -891,16 +1094,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
891
1094
|
}[] | undefined;
|
|
892
1095
|
}, {
|
|
893
1096
|
name?: string | undefined;
|
|
894
|
-
|
|
1097
|
+
thumbnail?: string | null | undefined;
|
|
1098
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
895
1099
|
core?: {
|
|
896
1100
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
897
1101
|
sequential?: boolean | undefined;
|
|
898
1102
|
interval?: number | undefined;
|
|
899
1103
|
maxAgentExecutions?: number | null | undefined;
|
|
900
1104
|
} | undefined;
|
|
1105
|
+
description?: string | undefined;
|
|
901
1106
|
rules?: string[] | undefined;
|
|
902
|
-
thumbnail?: string | null | undefined;
|
|
903
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
904
1107
|
canvases?: {
|
|
905
1108
|
name: string;
|
|
906
1109
|
description: string;
|
|
@@ -913,8 +1116,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
913
1116
|
}[] | undefined;
|
|
914
1117
|
gimmicks?: {
|
|
915
1118
|
name: string;
|
|
916
|
-
appearance: string;
|
|
917
1119
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1120
|
+
appearance: string;
|
|
918
1121
|
images?: {
|
|
919
1122
|
description: string;
|
|
920
1123
|
name?: string | undefined;
|
|
@@ -1035,12 +1238,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1035
1238
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1036
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1240
|
name?: string | undefined;
|
|
1038
|
-
avatar?: string | undefined;
|
|
1039
|
-
referenceAvatar?: string | undefined;
|
|
1040
|
-
appearance?: string | undefined;
|
|
1041
1241
|
core?: {
|
|
1042
1242
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1043
1243
|
} | undefined;
|
|
1244
|
+
rules?: string[] | undefined;
|
|
1245
|
+
appearance?: string | undefined;
|
|
1246
|
+
avatar?: string | undefined;
|
|
1247
|
+
referenceAvatar?: string | undefined;
|
|
1044
1248
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1045
1249
|
languages?: string[] | undefined;
|
|
1046
1250
|
timeZone?: string | undefined;
|
|
@@ -1067,15 +1271,15 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1067
1271
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1068
1272
|
} | undefined;
|
|
1069
1273
|
} | undefined;
|
|
1070
|
-
rules?: string[] | undefined;
|
|
1071
1274
|
}, {
|
|
1072
1275
|
name?: string | undefined;
|
|
1073
|
-
avatar?: string | undefined;
|
|
1074
|
-
referenceAvatar?: string | undefined;
|
|
1075
|
-
appearance?: string | undefined;
|
|
1076
1276
|
core?: {
|
|
1077
1277
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1078
1278
|
} | undefined;
|
|
1279
|
+
rules?: string[] | undefined;
|
|
1280
|
+
appearance?: string | undefined;
|
|
1281
|
+
avatar?: string | undefined;
|
|
1282
|
+
referenceAvatar?: string | undefined;
|
|
1079
1283
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1080
1284
|
languages?: string[] | undefined;
|
|
1081
1285
|
timeZone?: string | undefined;
|
|
@@ -1102,16 +1306,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1102
1306
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1103
1307
|
} | undefined;
|
|
1104
1308
|
} | undefined;
|
|
1105
|
-
rules?: string[] | undefined;
|
|
1106
1309
|
}>>, "many">>;
|
|
1107
1310
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1311
|
name?: string | undefined;
|
|
1109
|
-
messages?: {
|
|
1110
|
-
entityType: "user" | "system" | "agent" | "gimmick";
|
|
1111
|
-
entityId: bigint;
|
|
1112
|
-
message?: string | undefined;
|
|
1113
|
-
image?: string | undefined;
|
|
1114
|
-
}[] | undefined;
|
|
1115
1312
|
thumbnail?: string | undefined;
|
|
1116
1313
|
canvases?: {
|
|
1117
1314
|
name: string;
|
|
@@ -1125,16 +1322,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1125
1322
|
isSensitive?: boolean | undefined;
|
|
1126
1323
|
locationConfig?: {
|
|
1127
1324
|
name?: string | undefined;
|
|
1128
|
-
|
|
1325
|
+
thumbnail?: string | null | undefined;
|
|
1326
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1129
1327
|
core?: {
|
|
1130
1328
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1131
1329
|
sequential?: boolean | undefined;
|
|
1132
1330
|
interval?: number | undefined;
|
|
1133
1331
|
maxAgentExecutions?: number | null | undefined;
|
|
1134
1332
|
} | undefined;
|
|
1333
|
+
description?: string | undefined;
|
|
1135
1334
|
rules?: string[] | undefined;
|
|
1136
|
-
thumbnail?: string | null | undefined;
|
|
1137
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1138
1335
|
canvases?: {
|
|
1139
1336
|
name: string;
|
|
1140
1337
|
description: string;
|
|
@@ -1147,8 +1344,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1147
1344
|
}[] | undefined;
|
|
1148
1345
|
gimmicks?: {
|
|
1149
1346
|
name: string;
|
|
1150
|
-
appearance: string;
|
|
1151
1347
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1348
|
+
appearance: string;
|
|
1152
1349
|
images?: {
|
|
1153
1350
|
description: string;
|
|
1154
1351
|
name?: string | undefined;
|
|
@@ -1158,12 +1355,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1158
1355
|
} | undefined;
|
|
1159
1356
|
agentConfigs?: ({
|
|
1160
1357
|
name?: string | undefined;
|
|
1161
|
-
avatar?: string | undefined;
|
|
1162
|
-
referenceAvatar?: string | undefined;
|
|
1163
|
-
appearance?: string | undefined;
|
|
1164
1358
|
core?: {
|
|
1165
1359
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1166
1360
|
} | undefined;
|
|
1361
|
+
rules?: string[] | undefined;
|
|
1362
|
+
appearance?: string | undefined;
|
|
1363
|
+
avatar?: string | undefined;
|
|
1364
|
+
referenceAvatar?: string | undefined;
|
|
1167
1365
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1168
1366
|
languages?: string[] | undefined;
|
|
1169
1367
|
timeZone?: string | undefined;
|
|
@@ -1190,16 +1388,15 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1190
1388
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1191
1389
|
} | undefined;
|
|
1192
1390
|
} | undefined;
|
|
1193
|
-
rules?: string[] | undefined;
|
|
1194
1391
|
} | null)[] | undefined;
|
|
1195
|
-
}, {
|
|
1196
|
-
name?: string | undefined;
|
|
1197
1392
|
messages?: {
|
|
1198
|
-
entityType: "
|
|
1393
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1199
1394
|
entityId: bigint;
|
|
1200
1395
|
message?: string | undefined;
|
|
1201
1396
|
image?: string | undefined;
|
|
1202
1397
|
}[] | undefined;
|
|
1398
|
+
}, {
|
|
1399
|
+
name?: string | undefined;
|
|
1203
1400
|
thumbnail?: string | undefined;
|
|
1204
1401
|
canvases?: {
|
|
1205
1402
|
name: string;
|
|
@@ -1213,16 +1410,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1213
1410
|
isSensitive?: boolean | undefined;
|
|
1214
1411
|
locationConfig?: {
|
|
1215
1412
|
name?: string | undefined;
|
|
1216
|
-
|
|
1413
|
+
thumbnail?: string | null | undefined;
|
|
1414
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1217
1415
|
core?: {
|
|
1218
1416
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1219
1417
|
sequential?: boolean | undefined;
|
|
1220
1418
|
interval?: number | undefined;
|
|
1221
1419
|
maxAgentExecutions?: number | null | undefined;
|
|
1222
1420
|
} | undefined;
|
|
1421
|
+
description?: string | undefined;
|
|
1223
1422
|
rules?: string[] | undefined;
|
|
1224
|
-
thumbnail?: string | null | undefined;
|
|
1225
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1226
1423
|
canvases?: {
|
|
1227
1424
|
name: string;
|
|
1228
1425
|
description: string;
|
|
@@ -1235,8 +1432,8 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1235
1432
|
}[] | undefined;
|
|
1236
1433
|
gimmicks?: {
|
|
1237
1434
|
name: string;
|
|
1238
|
-
appearance: string;
|
|
1239
1435
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1436
|
+
appearance: string;
|
|
1240
1437
|
images?: {
|
|
1241
1438
|
description: string;
|
|
1242
1439
|
name?: string | undefined;
|
|
@@ -1246,12 +1443,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1246
1443
|
} | undefined;
|
|
1247
1444
|
agentConfigs?: ({
|
|
1248
1445
|
name?: string | undefined;
|
|
1249
|
-
avatar?: string | undefined;
|
|
1250
|
-
referenceAvatar?: string | undefined;
|
|
1251
|
-
appearance?: string | undefined;
|
|
1252
1446
|
core?: {
|
|
1253
1447
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
1254
1448
|
} | undefined;
|
|
1449
|
+
rules?: string[] | undefined;
|
|
1450
|
+
appearance?: string | undefined;
|
|
1451
|
+
avatar?: string | undefined;
|
|
1452
|
+
referenceAvatar?: string | undefined;
|
|
1255
1453
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
1256
1454
|
languages?: string[] | undefined;
|
|
1257
1455
|
timeZone?: string | undefined;
|
|
@@ -1278,8 +1476,13 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
|
|
|
1278
1476
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
1279
1477
|
} | undefined;
|
|
1280
1478
|
} | undefined;
|
|
1281
|
-
rules?: string[] | undefined;
|
|
1282
1479
|
} | null)[] | undefined;
|
|
1480
|
+
messages?: {
|
|
1481
|
+
entityType: "system" | "agent" | "user" | "gimmick";
|
|
1482
|
+
entityId: bigint;
|
|
1483
|
+
message?: string | undefined;
|
|
1484
|
+
image?: string | undefined;
|
|
1485
|
+
}[] | undefined;
|
|
1283
1486
|
}>;
|
|
1284
1487
|
export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
|
|
1285
1488
|
export interface UpdateLocationPresetResponseDto {
|
|
@@ -1316,6 +1519,18 @@ export interface UpdateLocationPresetRatingResponseDto {
|
|
|
1316
1519
|
success: boolean;
|
|
1317
1520
|
error?: string;
|
|
1318
1521
|
}
|
|
1522
|
+
export declare const ReportLocationPresetParamsSchema: z.ZodObject<{
|
|
1523
|
+
presetId: z.ZodBigInt;
|
|
1524
|
+
}, "strip", z.ZodTypeAny, {
|
|
1525
|
+
presetId: bigint;
|
|
1526
|
+
}, {
|
|
1527
|
+
presetId: bigint;
|
|
1528
|
+
}>;
|
|
1529
|
+
export type ReportLocationPresetParamsDto = z.infer<typeof ReportLocationPresetParamsSchema>;
|
|
1530
|
+
export interface ReportLocationPresetResponseDto {
|
|
1531
|
+
success: boolean;
|
|
1532
|
+
error?: string;
|
|
1533
|
+
}
|
|
1319
1534
|
export declare const DeleteLocationPresetParamsSchema: z.ZodObject<{
|
|
1320
1535
|
presetId: z.ZodBigInt;
|
|
1321
1536
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1349,6 +1564,158 @@ export interface GetLocationPresetLocationsResponseDto {
|
|
|
1349
1564
|
nextCursor?: string;
|
|
1350
1565
|
};
|
|
1351
1566
|
}
|
|
1567
|
+
export declare const GetLocationPresetCommentsParamsSchema: z.ZodObject<{
|
|
1568
|
+
presetId: z.ZodBigInt;
|
|
1569
|
+
}, "strip", z.ZodTypeAny, {
|
|
1570
|
+
presetId: bigint;
|
|
1571
|
+
}, {
|
|
1572
|
+
presetId: bigint;
|
|
1573
|
+
}>;
|
|
1574
|
+
export type GetLocationPresetCommentsParamsDto = z.infer<typeof GetLocationPresetCommentsParamsSchema>;
|
|
1575
|
+
export declare const GetLocationPresetCommentsQuerySchema: z.ZodObject<{
|
|
1576
|
+
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["latest", "recommended"]>>>;
|
|
1577
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1578
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1579
|
+
}, "strip", z.ZodTypeAny, {
|
|
1580
|
+
limit: number;
|
|
1581
|
+
page: number;
|
|
1582
|
+
sortBy: "latest" | "recommended";
|
|
1583
|
+
}, {
|
|
1584
|
+
limit?: number | undefined;
|
|
1585
|
+
page?: number | undefined;
|
|
1586
|
+
sortBy?: "latest" | "recommended" | undefined;
|
|
1587
|
+
}>;
|
|
1588
|
+
export type GetLocationPresetCommentsQueryDto = z.infer<typeof GetLocationPresetCommentsQuerySchema>;
|
|
1589
|
+
export interface GetLocationPresetCommentsResponseDto {
|
|
1590
|
+
data: LocationPresetCommentDto[];
|
|
1591
|
+
pinnedComment: LocationPresetCommentDto | null;
|
|
1592
|
+
meta: {
|
|
1593
|
+
total: number;
|
|
1594
|
+
page: number;
|
|
1595
|
+
limit: number;
|
|
1596
|
+
totalPages: number;
|
|
1597
|
+
};
|
|
1598
|
+
}
|
|
1599
|
+
export declare const GetLocationPresetCommentRepliesParamsSchema: z.ZodObject<{
|
|
1600
|
+
commentId: z.ZodBigInt;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
commentId: bigint;
|
|
1603
|
+
}, {
|
|
1604
|
+
commentId: bigint;
|
|
1605
|
+
}>;
|
|
1606
|
+
export type GetLocationPresetCommentRepliesParamsDto = z.infer<typeof GetLocationPresetCommentRepliesParamsSchema>;
|
|
1607
|
+
export declare const GetLocationPresetCommentRepliesQuerySchema: z.ZodObject<{
|
|
1608
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1609
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1610
|
+
}, "strip", z.ZodTypeAny, {
|
|
1611
|
+
limit: number;
|
|
1612
|
+
page: number;
|
|
1613
|
+
}, {
|
|
1614
|
+
limit?: number | undefined;
|
|
1615
|
+
page?: number | undefined;
|
|
1616
|
+
}>;
|
|
1617
|
+
export type GetLocationPresetCommentRepliesQueryDto = z.infer<typeof GetLocationPresetCommentRepliesQuerySchema>;
|
|
1618
|
+
export interface GetLocationPresetCommentRepliesResponseDto {
|
|
1619
|
+
data: LocationPresetCommentDto[];
|
|
1620
|
+
meta: {
|
|
1621
|
+
total: number;
|
|
1622
|
+
page: number;
|
|
1623
|
+
limit: number;
|
|
1624
|
+
totalPages: number;
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
export declare const CreateLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
1628
|
+
presetId: z.ZodBigInt;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
|
+
presetId: bigint;
|
|
1631
|
+
}, {
|
|
1632
|
+
presetId: bigint;
|
|
1633
|
+
}>;
|
|
1634
|
+
export type CreateLocationPresetCommentParamsDto = z.infer<typeof CreateLocationPresetCommentParamsSchema>;
|
|
1635
|
+
export declare const CreateLocationPresetCommentBodySchema: z.ZodObject<{
|
|
1636
|
+
content: z.ZodString;
|
|
1637
|
+
parentCommentId: z.ZodOptional<z.ZodBigInt>;
|
|
1638
|
+
}, "strip", z.ZodTypeAny, {
|
|
1639
|
+
content: string;
|
|
1640
|
+
parentCommentId?: bigint | undefined;
|
|
1641
|
+
}, {
|
|
1642
|
+
content: string;
|
|
1643
|
+
parentCommentId?: bigint | undefined;
|
|
1644
|
+
}>;
|
|
1645
|
+
export type CreateLocationPresetCommentBodyDto = z.infer<typeof CreateLocationPresetCommentBodySchema>;
|
|
1646
|
+
export interface CreateLocationPresetCommentResponseDto {
|
|
1647
|
+
comment: LocationPresetCommentDto;
|
|
1648
|
+
}
|
|
1649
|
+
export declare const UpdateLocationPresetCommentReactionParamsSchema: z.ZodObject<{
|
|
1650
|
+
commentId: z.ZodBigInt;
|
|
1651
|
+
}, "strip", z.ZodTypeAny, {
|
|
1652
|
+
commentId: bigint;
|
|
1653
|
+
}, {
|
|
1654
|
+
commentId: bigint;
|
|
1655
|
+
}>;
|
|
1656
|
+
export type UpdateLocationPresetCommentReactionParamsDto = z.infer<typeof UpdateLocationPresetCommentReactionParamsSchema>;
|
|
1657
|
+
export declare const UpdateLocationPresetCommentReactionBodySchema: z.ZodObject<{
|
|
1658
|
+
reactionType: z.ZodNullable<z.ZodEnum<["LIKE", "DISLIKE"]>>;
|
|
1659
|
+
}, "strip", z.ZodTypeAny, {
|
|
1660
|
+
reactionType: "LIKE" | "DISLIKE" | null;
|
|
1661
|
+
}, {
|
|
1662
|
+
reactionType: "LIKE" | "DISLIKE" | null;
|
|
1663
|
+
}>;
|
|
1664
|
+
export type UpdateLocationPresetCommentReactionBodyDto = z.infer<typeof UpdateLocationPresetCommentReactionBodySchema>;
|
|
1665
|
+
export interface UpdateLocationPresetCommentReactionResponseDto {
|
|
1666
|
+
success: boolean;
|
|
1667
|
+
error?: string;
|
|
1668
|
+
}
|
|
1669
|
+
export declare const ReportLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
1670
|
+
presetId: z.ZodBigInt;
|
|
1671
|
+
commentId: z.ZodBigInt;
|
|
1672
|
+
}, "strip", z.ZodTypeAny, {
|
|
1673
|
+
presetId: bigint;
|
|
1674
|
+
commentId: bigint;
|
|
1675
|
+
}, {
|
|
1676
|
+
presetId: bigint;
|
|
1677
|
+
commentId: bigint;
|
|
1678
|
+
}>;
|
|
1679
|
+
export type ReportLocationPresetCommentParamsDto = z.infer<typeof ReportLocationPresetCommentParamsSchema>;
|
|
1680
|
+
export interface ReportLocationPresetCommentResponseDto {
|
|
1681
|
+
success: boolean;
|
|
1682
|
+
error?: string;
|
|
1683
|
+
}
|
|
1684
|
+
export declare const DeleteLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
1685
|
+
presetId: z.ZodBigInt;
|
|
1686
|
+
commentId: z.ZodBigInt;
|
|
1687
|
+
}, "strip", z.ZodTypeAny, {
|
|
1688
|
+
presetId: bigint;
|
|
1689
|
+
commentId: bigint;
|
|
1690
|
+
}, {
|
|
1691
|
+
presetId: bigint;
|
|
1692
|
+
commentId: bigint;
|
|
1693
|
+
}>;
|
|
1694
|
+
export type DeleteLocationPresetCommentParamsDto = z.infer<typeof DeleteLocationPresetCommentParamsSchema>;
|
|
1695
|
+
export interface DeleteLocationPresetCommentResponseDto {
|
|
1696
|
+
success: boolean;
|
|
1697
|
+
error?: string;
|
|
1698
|
+
}
|
|
1699
|
+
export declare const PinLocationPresetCommentParamsSchema: z.ZodObject<{
|
|
1700
|
+
presetId: z.ZodBigInt;
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
|
+
presetId: bigint;
|
|
1703
|
+
}, {
|
|
1704
|
+
presetId: bigint;
|
|
1705
|
+
}>;
|
|
1706
|
+
export type PinLocationPresetCommentParamsDto = z.infer<typeof PinLocationPresetCommentParamsSchema>;
|
|
1707
|
+
export declare const PinLocationPresetCommentBodySchema: z.ZodObject<{
|
|
1708
|
+
commentId: z.ZodNullable<z.ZodBigInt>;
|
|
1709
|
+
}, "strip", z.ZodTypeAny, {
|
|
1710
|
+
commentId: bigint | null;
|
|
1711
|
+
}, {
|
|
1712
|
+
commentId: bigint | null;
|
|
1713
|
+
}>;
|
|
1714
|
+
export type PinLocationPresetCommentBodyDto = z.infer<typeof PinLocationPresetCommentBodySchema>;
|
|
1715
|
+
export interface PinLocationPresetCommentResponseDto {
|
|
1716
|
+
success: boolean;
|
|
1717
|
+
error?: string;
|
|
1718
|
+
}
|
|
1352
1719
|
export declare const CreateLocationSchema: z.ZodObject<{
|
|
1353
1720
|
config: z.ZodObject<{
|
|
1354
1721
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1417,8 +1784,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1417
1784
|
}>, "many">>;
|
|
1418
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1419
1786
|
name: string;
|
|
1420
|
-
appearance: string;
|
|
1421
1787
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1788
|
+
appearance: string;
|
|
1422
1789
|
images?: {
|
|
1423
1790
|
description: string;
|
|
1424
1791
|
name?: string | undefined;
|
|
@@ -1426,8 +1793,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1426
1793
|
}[] | undefined;
|
|
1427
1794
|
}, {
|
|
1428
1795
|
name: string;
|
|
1429
|
-
appearance: string;
|
|
1430
1796
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1797
|
+
appearance: string;
|
|
1431
1798
|
images?: {
|
|
1432
1799
|
description: string;
|
|
1433
1800
|
name?: string | undefined;
|
|
@@ -1436,16 +1803,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1436
1803
|
}>, "many">>;
|
|
1437
1804
|
}, "strict", z.ZodTypeAny, {
|
|
1438
1805
|
name?: string | undefined;
|
|
1439
|
-
|
|
1806
|
+
thumbnail?: string | null | undefined;
|
|
1807
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1440
1808
|
core?: {
|
|
1441
1809
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1442
1810
|
sequential?: boolean | undefined;
|
|
1443
1811
|
interval?: number | undefined;
|
|
1444
1812
|
maxAgentExecutions?: number | null | undefined;
|
|
1445
1813
|
} | undefined;
|
|
1814
|
+
description?: string | undefined;
|
|
1446
1815
|
rules?: string[] | undefined;
|
|
1447
|
-
thumbnail?: string | null | undefined;
|
|
1448
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1449
1816
|
canvases?: {
|
|
1450
1817
|
name: string;
|
|
1451
1818
|
description: string;
|
|
@@ -1458,8 +1825,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1458
1825
|
}[] | undefined;
|
|
1459
1826
|
gimmicks?: {
|
|
1460
1827
|
name: string;
|
|
1461
|
-
appearance: string;
|
|
1462
1828
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1829
|
+
appearance: string;
|
|
1463
1830
|
images?: {
|
|
1464
1831
|
description: string;
|
|
1465
1832
|
name?: string | undefined;
|
|
@@ -1468,16 +1835,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1468
1835
|
}[] | undefined;
|
|
1469
1836
|
}, {
|
|
1470
1837
|
name?: string | undefined;
|
|
1471
|
-
|
|
1838
|
+
thumbnail?: string | null | undefined;
|
|
1839
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1472
1840
|
core?: {
|
|
1473
1841
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1474
1842
|
sequential?: boolean | undefined;
|
|
1475
1843
|
interval?: number | undefined;
|
|
1476
1844
|
maxAgentExecutions?: number | null | undefined;
|
|
1477
1845
|
} | undefined;
|
|
1846
|
+
description?: string | undefined;
|
|
1478
1847
|
rules?: string[] | undefined;
|
|
1479
|
-
thumbnail?: string | null | undefined;
|
|
1480
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1481
1848
|
canvases?: {
|
|
1482
1849
|
name: string;
|
|
1483
1850
|
description: string;
|
|
@@ -1490,8 +1857,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1490
1857
|
}[] | undefined;
|
|
1491
1858
|
gimmicks?: {
|
|
1492
1859
|
name: string;
|
|
1493
|
-
appearance: string;
|
|
1494
1860
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1861
|
+
appearance: string;
|
|
1495
1862
|
images?: {
|
|
1496
1863
|
description: string;
|
|
1497
1864
|
name?: string | undefined;
|
|
@@ -1504,19 +1871,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1504
1871
|
readonly MINIMO: "MINIMO";
|
|
1505
1872
|
}>>>;
|
|
1506
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1507
|
-
platform: "API" | "MINIMO";
|
|
1508
1874
|
config: {
|
|
1509
1875
|
name?: string | undefined;
|
|
1510
|
-
|
|
1876
|
+
thumbnail?: string | null | undefined;
|
|
1877
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1511
1878
|
core?: {
|
|
1512
1879
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1513
1880
|
sequential?: boolean | undefined;
|
|
1514
1881
|
interval?: number | undefined;
|
|
1515
1882
|
maxAgentExecutions?: number | null | undefined;
|
|
1516
1883
|
} | undefined;
|
|
1884
|
+
description?: string | undefined;
|
|
1517
1885
|
rules?: string[] | undefined;
|
|
1518
|
-
thumbnail?: string | null | undefined;
|
|
1519
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1520
1886
|
canvases?: {
|
|
1521
1887
|
name: string;
|
|
1522
1888
|
description: string;
|
|
@@ -1529,8 +1895,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1529
1895
|
}[] | undefined;
|
|
1530
1896
|
gimmicks?: {
|
|
1531
1897
|
name: string;
|
|
1532
|
-
appearance: string;
|
|
1533
1898
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1899
|
+
appearance: string;
|
|
1534
1900
|
images?: {
|
|
1535
1901
|
description: string;
|
|
1536
1902
|
name?: string | undefined;
|
|
@@ -1538,19 +1904,20 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1538
1904
|
}[] | undefined;
|
|
1539
1905
|
}[] | undefined;
|
|
1540
1906
|
};
|
|
1907
|
+
platform: "API" | "MINIMO";
|
|
1541
1908
|
}, {
|
|
1542
1909
|
config: {
|
|
1543
1910
|
name?: string | undefined;
|
|
1544
|
-
|
|
1911
|
+
thumbnail?: string | null | undefined;
|
|
1912
|
+
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1545
1913
|
core?: {
|
|
1546
1914
|
name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
|
|
1547
1915
|
sequential?: boolean | undefined;
|
|
1548
1916
|
interval?: number | undefined;
|
|
1549
1917
|
maxAgentExecutions?: number | null | undefined;
|
|
1550
1918
|
} | undefined;
|
|
1919
|
+
description?: string | undefined;
|
|
1551
1920
|
rules?: string[] | undefined;
|
|
1552
|
-
thumbnail?: string | null | undefined;
|
|
1553
|
-
environment?: "CHAT" | "NOVEL" | undefined;
|
|
1554
1921
|
canvases?: {
|
|
1555
1922
|
name: string;
|
|
1556
1923
|
description: string;
|
|
@@ -1563,8 +1930,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
|
|
|
1563
1930
|
}[] | undefined;
|
|
1564
1931
|
gimmicks?: {
|
|
1565
1932
|
name: string;
|
|
1566
|
-
appearance: string;
|
|
1567
1933
|
core: "web_search" | "image_generator" | "character_image_generator" | "notion";
|
|
1934
|
+
appearance: string;
|
|
1568
1935
|
images?: {
|
|
1569
1936
|
description: string;
|
|
1570
1937
|
name?: string | undefined;
|
|
@@ -1586,8 +1953,8 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
|
|
|
1586
1953
|
}>>>;
|
|
1587
1954
|
import: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1588
1955
|
}, "strip", z.ZodTypeAny, {
|
|
1589
|
-
platform: "API" | "MINIMO";
|
|
1590
1956
|
presetId: bigint;
|
|
1957
|
+
platform: "API" | "MINIMO";
|
|
1591
1958
|
import: boolean;
|
|
1592
1959
|
}, {
|
|
1593
1960
|
presetId: bigint;
|
|
@@ -1637,8 +2004,8 @@ export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
|
|
|
1637
2004
|
readonly MINIMO: "MINIMO";
|
|
1638
2005
|
}>>>;
|
|
1639
2006
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
platform: "API" | "MINIMO";
|
|
1641
2007
|
locationId: bigint;
|
|
2008
|
+
platform: "API" | "MINIMO";
|
|
1642
2009
|
}, {
|
|
1643
2010
|
locationId: bigint;
|
|
1644
2011
|
platform?: "API" | "MINIMO" | undefined;
|