@little-samo/samo-ai-sdk 0.3.2 → 0.4.0

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.
Files changed (32) hide show
  1. package/dist/dto/entities/agents/agent.requests.d.ts +60 -32
  2. package/dist/dto/entities/gimmicks/gimmick.config.d.ts +2 -3
  3. package/dist/dto/entities/gimmicks/gimmick.config.js +1 -2
  4. package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -1
  5. package/dist/dto/entities/users/user.d.ts +8 -0
  6. package/dist/dto/entities/users/user.requests.d.ts +42 -5
  7. package/dist/dto/entities/users/user.requests.js +12 -1
  8. package/dist/dto/entities/users/user.requests.js.map +1 -1
  9. package/dist/dto/images/image.requests.d.ts +17 -0
  10. package/dist/dto/images/image.requests.js +9 -0
  11. package/dist/dto/images/image.requests.js.map +1 -0
  12. package/dist/dto/images/index.d.ts +1 -0
  13. package/dist/dto/images/index.js +18 -0
  14. package/dist/dto/images/index.js.map +1 -0
  15. package/dist/dto/index.d.ts +1 -0
  16. package/dist/dto/index.js +1 -0
  17. package/dist/dto/index.js.map +1 -1
  18. package/dist/dto/locations/location.preset.d.ts +7 -3
  19. package/dist/dto/locations/location.preset.js.map +1 -1
  20. package/dist/dto/locations/location.requests.d.ts +867 -172
  21. package/dist/dto/locations/location.requests.js +12 -6
  22. package/dist/dto/locations/location.requests.js.map +1 -1
  23. package/dist/dto/upload/upload.requests.d.ts +8 -2
  24. package/dist/dto/upload/upload.requests.js +7 -1
  25. package/dist/dto/upload/upload.requests.js.map +1 -1
  26. package/dist/models/entities/agents/agent.config.d.ts +25 -9
  27. package/dist/models/entities/agents/agent.config.js +56 -50
  28. package/dist/models/entities/agents/agent.config.js.map +1 -1
  29. package/dist/models/locations/location.config.d.ts +10 -10
  30. package/dist/models/locations/location.config.js +30 -39
  31. package/dist/models/locations/location.config.js.map +1 -1
  32. package/package.json +3 -3
@@ -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 } from './location.preset';
7
+ import { 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';
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
15
15
  limit: number;
16
16
  cursor?: string | undefined;
17
17
  }, {
18
- limit?: number | undefined;
19
18
  cursor?: string | undefined;
19
+ limit?: number | undefined;
20
20
  }>;
21
21
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
22
22
  export interface UserLocationsResponseDto {
@@ -30,11 +30,11 @@ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
30
30
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
31
31
  limit: z.ZodDefault<z.ZodNumber>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- page: number;
34
33
  limit: number;
34
+ page: number;
35
35
  }, {
36
- page?: number | undefined;
37
36
  limit?: number | undefined;
37
+ page?: number | undefined;
38
38
  }>;
39
39
  export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
40
40
  export interface PublishedLocationsResponseDto {
@@ -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<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">[]]>;
121
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
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
- appearance: string;
139
138
  name: string;
140
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
139
+ appearance: string;
140
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
141
141
  images?: {
142
142
  description: string;
143
143
  name?: string | undefined;
144
144
  url?: string | undefined;
145
145
  }[] | undefined;
146
146
  }, {
147
- appearance: string;
148
147
  name: string;
149
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
148
+ appearance: string;
149
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
150
150
  images?: {
151
151
  description: string;
152
152
  name?: string | undefined;
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
176
176
  maxLength: number;
177
177
  }[] | undefined;
178
178
  gimmicks?: {
179
- appearance: string;
180
179
  name: string;
181
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
180
+ appearance: string;
181
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
182
182
  images?: {
183
183
  description: string;
184
184
  name?: string | undefined;
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
208
208
  maxLength: number;
209
209
  }[] | undefined;
210
210
  gimmicks?: {
211
- appearance: string;
212
211
  name: string;
213
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
212
+ appearance: string;
213
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
214
214
  images?: {
215
215
  description: string;
216
216
  name?: string | undefined;
@@ -219,6 +219,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
219
219
  }[] | undefined;
220
220
  }>;
221
221
  }, "strip", z.ZodTypeAny, {
222
+ locationId: bigint;
222
223
  config: {
223
224
  name?: string | undefined;
224
225
  description?: string | undefined;
@@ -242,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
242
243
  maxLength: number;
243
244
  }[] | undefined;
244
245
  gimmicks?: {
245
- appearance: string;
246
246
  name: string;
247
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
247
+ appearance: string;
248
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
248
249
  images?: {
249
250
  description: string;
250
251
  name?: string | undefined;
@@ -252,8 +253,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
252
253
  }[] | undefined;
253
254
  }[] | undefined;
254
255
  };
255
- locationId: bigint;
256
256
  }, {
257
+ locationId: bigint;
257
258
  config: {
258
259
  name?: string | undefined;
259
260
  description?: string | undefined;
@@ -277,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
277
278
  maxLength: number;
278
279
  }[] | undefined;
279
280
  gimmicks?: {
280
- appearance: string;
281
281
  name: string;
282
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
282
+ appearance: string;
283
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
283
284
  images?: {
284
285
  description: string;
285
286
  name?: string | undefined;
@@ -287,7 +288,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
287
288
  }[] | undefined;
288
289
  }[] | undefined;
289
290
  };
290
- locationId: bigint;
291
291
  }>;
292
292
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
293
293
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
@@ -313,6 +313,7 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
313
313
  token: string;
314
314
  }>]>;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ locationId: bigint;
316
317
  credential: {
317
318
  type: "notion";
318
319
  token: string;
@@ -320,8 +321,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
320
321
  type: "notion";
321
322
  token: string;
322
323
  };
323
- locationId: bigint;
324
324
  }, {
325
+ locationId: bigint;
325
326
  credential: {
326
327
  type: "notion";
327
328
  token: string;
@@ -329,7 +330,6 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
329
330
  type: "notion";
330
331
  token: string;
331
332
  };
332
- locationId: bigint;
333
333
  }>;
334
334
  export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
335
335
  export interface LocationUpdateCredentialResponseDto {
@@ -340,11 +340,11 @@ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
340
340
  locationId: z.ZodBigInt;
341
341
  credentialType: z.ZodString;
342
342
  }, "strip", z.ZodTypeAny, {
343
- credentialType: string;
344
343
  locationId: bigint;
345
- }, {
346
344
  credentialType: string;
345
+ }, {
347
346
  locationId: bigint;
347
+ credentialType: string;
348
348
  }>;
349
349
  export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
350
350
  export interface LocationDeleteCredentialResponseDto {
@@ -355,11 +355,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
355
355
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
356
356
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
357
357
  }, "strip", z.ZodTypeAny, {
358
- page: number;
359
358
  limit: number;
359
+ page: number;
360
360
  }, {
361
- page?: number | undefined;
362
361
  limit?: number | undefined;
362
+ page?: number | undefined;
363
363
  }>;
364
364
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
365
365
  export interface LocationPresetsPaginatedResponseDto {
@@ -377,12 +377,12 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
377
377
  limit: z.ZodDefault<z.ZodNumber>;
378
378
  }, "strip", z.ZodTypeAny, {
379
379
  type: "NOVEL";
380
- page: number;
381
380
  limit: number;
381
+ page: number;
382
382
  }, {
383
383
  type: "NOVEL";
384
- page?: number | undefined;
385
384
  limit?: number | undefined;
385
+ page?: number | undefined;
386
386
  }>;
387
387
  export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
388
388
  export interface PublishedLocationPresetsResponseDto {
@@ -406,7 +406,7 @@ export interface TrendingLocationPresetsResponseDto {
406
406
  data: LocationPresetDetailDto[];
407
407
  }
408
408
  export declare const CreateLocationPresetSchema: z.ZodObject<{
409
- locationId: z.ZodBigInt;
409
+ locationId: z.ZodOptional<z.ZodBigInt>;
410
410
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
411
411
  name: z.ZodOptional<z.ZodString>;
412
412
  presetDescription: z.ZodString;
@@ -432,142 +432,774 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
432
432
  message: z.ZodOptional<z.ZodString>;
433
433
  image: z.ZodOptional<z.ZodString>;
434
434
  }, "strip", z.ZodTypeAny, {
435
- entityType: "system" | "agent" | "user" | "gimmick";
436
- entityId: bigint;
437
- message?: string | undefined;
438
- image?: string | undefined;
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
+ hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
446
+ isAllowImport: z.ZodOptional<z.ZodBoolean>;
447
+ isSensitive: z.ZodOptional<z.ZodBoolean>;
448
+ locationConfig: z.ZodOptional<z.ZodObject<{
449
+ name: z.ZodOptional<z.ZodString>;
450
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
451
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
452
+ core: z.ZodOptional<z.ZodObject<{
453
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
454
+ sequential: z.ZodOptional<z.ZodBoolean>;
455
+ interval: z.ZodOptional<z.ZodNumber>;
456
+ maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
459
+ sequential?: boolean | undefined;
460
+ interval?: number | undefined;
461
+ maxAgentExecutions?: number | null | undefined;
462
+ }, {
463
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
464
+ sequential?: boolean | undefined;
465
+ interval?: number | undefined;
466
+ maxAgentExecutions?: number | null | undefined;
467
+ }>>;
468
+ description: z.ZodOptional<z.ZodString>;
469
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
470
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
+ name: z.ZodString;
472
+ description: z.ZodString;
473
+ maxLength: z.ZodNumber;
474
+ }, "strip", z.ZodTypeAny, {
475
+ name: string;
476
+ description: string;
477
+ maxLength: number;
478
+ }, {
479
+ name: string;
480
+ description: string;
481
+ maxLength: number;
482
+ }>, "many">>;
483
+ agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
484
+ name: z.ZodString;
485
+ description: z.ZodString;
486
+ maxLength: z.ZodNumber;
487
+ }, "strip", z.ZodTypeAny, {
488
+ name: string;
489
+ description: string;
490
+ maxLength: number;
491
+ }, {
492
+ name: string;
493
+ description: string;
494
+ maxLength: number;
495
+ }>, "many">>;
496
+ gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
497
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
498
+ name: z.ZodString;
499
+ appearance: z.ZodString;
500
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
501
+ url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
502
+ name: z.ZodOptional<z.ZodString>;
503
+ description: z.ZodString;
504
+ }, "strip", z.ZodTypeAny, {
505
+ description: string;
506
+ name?: string | undefined;
507
+ url?: string | undefined;
508
+ }, {
509
+ description: string;
510
+ name?: string | undefined;
511
+ url?: string | undefined;
512
+ }>, "many">>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ name: string;
515
+ appearance: string;
516
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
517
+ images?: {
518
+ description: string;
519
+ name?: string | undefined;
520
+ url?: string | undefined;
521
+ }[] | undefined;
522
+ }, {
523
+ name: string;
524
+ appearance: string;
525
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
526
+ images?: {
527
+ description: string;
528
+ name?: string | undefined;
529
+ url?: string | undefined;
530
+ }[] | undefined;
531
+ }>, "many">>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ name?: string | undefined;
534
+ description?: string | undefined;
535
+ core?: {
536
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
537
+ sequential?: boolean | undefined;
538
+ interval?: number | undefined;
539
+ maxAgentExecutions?: number | null | undefined;
540
+ } | undefined;
541
+ rules?: string[] | undefined;
542
+ thumbnail?: string | null | undefined;
543
+ environment?: "CHAT" | "NOVEL" | undefined;
544
+ canvases?: {
545
+ name: string;
546
+ description: string;
547
+ maxLength: number;
548
+ }[] | undefined;
549
+ agentCanvases?: {
550
+ name: string;
551
+ description: string;
552
+ maxLength: number;
553
+ }[] | undefined;
554
+ gimmicks?: {
555
+ name: string;
556
+ appearance: string;
557
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
558
+ images?: {
559
+ description: string;
560
+ name?: string | undefined;
561
+ url?: string | undefined;
562
+ }[] | undefined;
563
+ }[] | undefined;
564
+ }, {
565
+ name?: string | undefined;
566
+ description?: string | undefined;
567
+ core?: {
568
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
569
+ sequential?: boolean | undefined;
570
+ interval?: number | undefined;
571
+ maxAgentExecutions?: number | null | undefined;
572
+ } | undefined;
573
+ rules?: string[] | undefined;
574
+ thumbnail?: string | null | undefined;
575
+ environment?: "CHAT" | "NOVEL" | undefined;
576
+ canvases?: {
577
+ name: string;
578
+ description: string;
579
+ maxLength: number;
580
+ }[] | undefined;
581
+ agentCanvases?: {
582
+ name: string;
583
+ description: string;
584
+ maxLength: number;
585
+ }[] | undefined;
586
+ gimmicks?: {
587
+ name: string;
588
+ appearance: string;
589
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
590
+ images?: {
591
+ description: string;
592
+ name?: string | undefined;
593
+ url?: string | undefined;
594
+ }[] | undefined;
595
+ }[] | undefined;
596
+ }>>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ presetDescription: string;
599
+ presetShortDescription: string;
600
+ 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
+ locationId?: bigint | undefined;
608
+ canvases?: {
609
+ name: string;
610
+ text: string;
611
+ }[] | undefined;
612
+ visibility?: "private" | "public" | "publish" | undefined;
613
+ hashtags?: string[] | undefined;
614
+ isAllowImport?: boolean | undefined;
615
+ isSensitive?: boolean | undefined;
616
+ locationConfig?: {
617
+ name?: string | undefined;
618
+ description?: string | undefined;
619
+ core?: {
620
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
621
+ sequential?: boolean | undefined;
622
+ interval?: number | undefined;
623
+ maxAgentExecutions?: number | null | undefined;
624
+ } | undefined;
625
+ rules?: string[] | undefined;
626
+ thumbnail?: string | null | undefined;
627
+ environment?: "CHAT" | "NOVEL" | undefined;
628
+ canvases?: {
629
+ name: string;
630
+ description: string;
631
+ maxLength: number;
632
+ }[] | undefined;
633
+ agentCanvases?: {
634
+ name: string;
635
+ description: string;
636
+ maxLength: number;
637
+ }[] | undefined;
638
+ gimmicks?: {
639
+ name: string;
640
+ appearance: string;
641
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
642
+ images?: {
643
+ description: string;
644
+ name?: string | undefined;
645
+ url?: string | undefined;
646
+ }[] | undefined;
647
+ }[] | undefined;
648
+ } | undefined;
649
+ }, {
650
+ presetDescription: string;
651
+ presetShortDescription: string;
652
+ 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
+ locationId?: bigint | undefined;
660
+ canvases?: {
661
+ name: string;
662
+ text: string;
663
+ }[] | undefined;
664
+ visibility?: "private" | "public" | "publish" | undefined;
665
+ hashtags?: string[] | undefined;
666
+ isAllowImport?: boolean | undefined;
667
+ isSensitive?: boolean | undefined;
668
+ locationConfig?: {
669
+ name?: string | undefined;
670
+ description?: string | undefined;
671
+ core?: {
672
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
673
+ sequential?: boolean | undefined;
674
+ interval?: number | undefined;
675
+ maxAgentExecutions?: number | null | undefined;
676
+ } | undefined;
677
+ rules?: string[] | undefined;
678
+ thumbnail?: string | null | undefined;
679
+ environment?: "CHAT" | "NOVEL" | undefined;
680
+ canvases?: {
681
+ name: string;
682
+ description: string;
683
+ maxLength: number;
684
+ }[] | undefined;
685
+ agentCanvases?: {
686
+ name: string;
687
+ description: string;
688
+ maxLength: number;
689
+ }[] | undefined;
690
+ gimmicks?: {
691
+ name: string;
692
+ appearance: string;
693
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
694
+ images?: {
695
+ description: string;
696
+ name?: string | undefined;
697
+ url?: string | undefined;
698
+ }[] | undefined;
699
+ }[] | undefined;
700
+ } | undefined;
701
+ }>;
702
+ export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
703
+ export interface CreateLocationPresetResponseDto {
704
+ preset: LocationPresetDto;
705
+ }
706
+ export declare const GetLocationPresetParamsSchema: z.ZodObject<{
707
+ presetId: z.ZodBigInt;
708
+ }, "strip", z.ZodTypeAny, {
709
+ presetId: bigint;
710
+ }, {
711
+ presetId: bigint;
712
+ }>;
713
+ export type GetLocationPresetParamsDto = z.infer<typeof GetLocationPresetParamsSchema>;
714
+ export interface GetLocationPresetResponseDto {
715
+ preset: LocationPresetDetailDto;
716
+ }
717
+ export declare const GetLocationPresetPrivateParamsSchema: z.ZodObject<{
718
+ presetId: z.ZodBigInt;
719
+ }, "strip", z.ZodTypeAny, {
720
+ presetId: bigint;
721
+ }, {
722
+ presetId: bigint;
723
+ }>;
724
+ export type GetLocationPresetPrivateParamsDto = z.infer<typeof GetLocationPresetPrivateParamsSchema>;
725
+ export interface GetLocationPresetPrivateResponseDto {
726
+ preset: LocationPresetPrivateDto;
727
+ }
728
+ export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
729
+ presetId: z.ZodBigInt;
730
+ }, "strip", z.ZodTypeAny, {
731
+ presetId: bigint;
732
+ }, {
733
+ presetId: bigint;
734
+ }>;
735
+ export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
736
+ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
737
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
738
+ name: z.ZodOptional<z.ZodString>;
739
+ presetDescription: z.ZodOptional<z.ZodString>;
740
+ presetShortDescription: z.ZodOptional<z.ZodString>;
741
+ thumbnail: z.ZodOptional<z.ZodString>;
742
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
743
+ name: z.ZodString;
744
+ text: z.ZodString;
745
+ }, "strip", z.ZodTypeAny, {
746
+ name: string;
747
+ text: string;
748
+ }, {
749
+ name: string;
750
+ text: string;
751
+ }>, "many">>;
752
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
+ entityType: z.ZodNativeEnum<{
754
+ readonly System: "system";
755
+ readonly Agent: "agent";
756
+ readonly User: "user";
757
+ readonly Gimmick: "gimmick";
758
+ }>;
759
+ entityId: z.ZodBigInt;
760
+ message: z.ZodOptional<z.ZodString>;
761
+ image: z.ZodOptional<z.ZodString>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ entityType: "user" | "system" | "agent" | "gimmick";
764
+ entityId: bigint;
765
+ message?: string | undefined;
766
+ image?: string | undefined;
767
+ }, {
768
+ entityType: "user" | "system" | "agent" | "gimmick";
769
+ entityId: bigint;
770
+ message?: string | undefined;
771
+ image?: string | undefined;
772
+ }>, "many">>;
773
+ hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
774
+ isAllowImport: z.ZodOptional<z.ZodBoolean>;
775
+ isSensitive: z.ZodOptional<z.ZodBoolean>;
776
+ locationConfig: z.ZodOptional<z.ZodObject<{
777
+ name: z.ZodOptional<z.ZodString>;
778
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
779
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
780
+ core: z.ZodOptional<z.ZodObject<{
781
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
782
+ sequential: z.ZodOptional<z.ZodBoolean>;
783
+ interval: z.ZodOptional<z.ZodNumber>;
784
+ maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
785
+ }, "strip", z.ZodTypeAny, {
786
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
787
+ sequential?: boolean | undefined;
788
+ interval?: number | undefined;
789
+ maxAgentExecutions?: number | null | undefined;
790
+ }, {
791
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
792
+ sequential?: boolean | undefined;
793
+ interval?: number | undefined;
794
+ maxAgentExecutions?: number | null | undefined;
795
+ }>>;
796
+ description: z.ZodOptional<z.ZodString>;
797
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
798
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
799
+ name: z.ZodString;
800
+ description: z.ZodString;
801
+ maxLength: z.ZodNumber;
802
+ }, "strip", z.ZodTypeAny, {
803
+ name: string;
804
+ description: string;
805
+ maxLength: number;
806
+ }, {
807
+ name: string;
808
+ description: string;
809
+ maxLength: number;
810
+ }>, "many">>;
811
+ agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
812
+ name: z.ZodString;
813
+ description: z.ZodString;
814
+ maxLength: z.ZodNumber;
815
+ }, "strip", z.ZodTypeAny, {
816
+ name: string;
817
+ description: string;
818
+ maxLength: number;
819
+ }, {
820
+ name: string;
821
+ description: string;
822
+ maxLength: number;
823
+ }>, "many">>;
824
+ gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
825
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
826
+ name: z.ZodString;
827
+ appearance: z.ZodString;
828
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
+ url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
830
+ name: z.ZodOptional<z.ZodString>;
831
+ description: z.ZodString;
832
+ }, "strip", z.ZodTypeAny, {
833
+ description: string;
834
+ name?: string | undefined;
835
+ url?: string | undefined;
836
+ }, {
837
+ description: string;
838
+ name?: string | undefined;
839
+ url?: string | undefined;
840
+ }>, "many">>;
841
+ }, "strip", z.ZodTypeAny, {
842
+ name: string;
843
+ appearance: string;
844
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
845
+ images?: {
846
+ description: string;
847
+ name?: string | undefined;
848
+ url?: string | undefined;
849
+ }[] | undefined;
850
+ }, {
851
+ name: string;
852
+ appearance: string;
853
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
854
+ images?: {
855
+ description: string;
856
+ name?: string | undefined;
857
+ url?: string | undefined;
858
+ }[] | undefined;
859
+ }>, "many">>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ name?: string | undefined;
862
+ description?: string | undefined;
863
+ core?: {
864
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
865
+ sequential?: boolean | undefined;
866
+ interval?: number | undefined;
867
+ maxAgentExecutions?: number | null | undefined;
868
+ } | undefined;
869
+ rules?: string[] | undefined;
870
+ thumbnail?: string | null | undefined;
871
+ environment?: "CHAT" | "NOVEL" | undefined;
872
+ canvases?: {
873
+ name: string;
874
+ description: string;
875
+ maxLength: number;
876
+ }[] | undefined;
877
+ agentCanvases?: {
878
+ name: string;
879
+ description: string;
880
+ maxLength: number;
881
+ }[] | undefined;
882
+ gimmicks?: {
883
+ name: string;
884
+ appearance: string;
885
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
886
+ images?: {
887
+ description: string;
888
+ name?: string | undefined;
889
+ url?: string | undefined;
890
+ }[] | undefined;
891
+ }[] | undefined;
892
+ }, {
893
+ name?: string | undefined;
894
+ description?: string | undefined;
895
+ core?: {
896
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
897
+ sequential?: boolean | undefined;
898
+ interval?: number | undefined;
899
+ maxAgentExecutions?: number | null | undefined;
900
+ } | undefined;
901
+ rules?: string[] | undefined;
902
+ thumbnail?: string | null | undefined;
903
+ environment?: "CHAT" | "NOVEL" | undefined;
904
+ canvases?: {
905
+ name: string;
906
+ description: string;
907
+ maxLength: number;
908
+ }[] | undefined;
909
+ agentCanvases?: {
910
+ name: string;
911
+ description: string;
912
+ maxLength: number;
913
+ }[] | undefined;
914
+ gimmicks?: {
915
+ name: string;
916
+ appearance: string;
917
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
918
+ images?: {
919
+ description: string;
920
+ name?: string | undefined;
921
+ url?: string | undefined;
922
+ }[] | undefined;
923
+ }[] | undefined;
924
+ }>>;
925
+ agentConfigs: z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodObject<{
926
+ name: z.ZodOptional<z.ZodString>;
927
+ avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
928
+ referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
929
+ appearance: z.ZodOptional<z.ZodString>;
930
+ core: z.ZodOptional<z.ZodObject<{
931
+ name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">, z.ZodLiteral<"no_action">]>;
932
+ }, "strip", z.ZodTypeAny, {
933
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
934
+ }, {
935
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
936
+ }>>;
937
+ 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">]>>;
938
+ languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
939
+ timeZone: z.ZodOptional<z.ZodString>;
940
+ greeting: z.ZodOptional<z.ZodString>;
941
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
942
+ character: z.ZodOptional<z.ZodObject<{
943
+ background: z.ZodOptional<z.ZodObject<{
944
+ role: z.ZodOptional<z.ZodString>;
945
+ gender: z.ZodOptional<z.ZodString>;
946
+ age: z.ZodOptional<z.ZodString>;
947
+ expertise: z.ZodOptional<z.ZodString>;
948
+ backstory: z.ZodOptional<z.ZodString>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ role?: string | undefined;
951
+ gender?: string | undefined;
952
+ age?: string | undefined;
953
+ expertise?: string | undefined;
954
+ backstory?: string | undefined;
955
+ }, {
956
+ role?: string | undefined;
957
+ gender?: string | undefined;
958
+ age?: string | undefined;
959
+ expertise?: string | undefined;
960
+ backstory?: string | undefined;
961
+ }>>;
962
+ speech: z.ZodOptional<z.ZodObject<{
963
+ tone: z.ZodOptional<z.ZodString>;
964
+ style: z.ZodOptional<z.ZodString>;
965
+ formality: z.ZodOptional<z.ZodString>;
966
+ }, "strip", z.ZodTypeAny, {
967
+ tone?: string | undefined;
968
+ style?: string | undefined;
969
+ formality?: string | undefined;
970
+ }, {
971
+ tone?: string | undefined;
972
+ style?: string | undefined;
973
+ formality?: string | undefined;
974
+ }>>;
975
+ personality: z.ZodOptional<z.ZodObject<{
976
+ traits: z.ZodOptional<z.ZodString>;
977
+ interests: z.ZodOptional<z.ZodString>;
978
+ values: z.ZodOptional<z.ZodString>;
979
+ quirks: z.ZodOptional<z.ZodString>;
980
+ 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">]>>;
981
+ }, "strip", z.ZodTypeAny, {
982
+ values?: string | undefined;
983
+ traits?: string | undefined;
984
+ interests?: string | undefined;
985
+ quirks?: string | undefined;
986
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
987
+ }, {
988
+ values?: string | undefined;
989
+ traits?: string | undefined;
990
+ interests?: string | undefined;
991
+ quirks?: string | undefined;
992
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
993
+ }>>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ background?: {
996
+ role?: string | undefined;
997
+ gender?: string | undefined;
998
+ age?: string | undefined;
999
+ expertise?: string | undefined;
1000
+ backstory?: string | undefined;
1001
+ } | undefined;
1002
+ speech?: {
1003
+ tone?: string | undefined;
1004
+ style?: string | undefined;
1005
+ formality?: string | undefined;
1006
+ } | undefined;
1007
+ personality?: {
1008
+ values?: string | undefined;
1009
+ traits?: string | undefined;
1010
+ interests?: string | undefined;
1011
+ quirks?: string | undefined;
1012
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1013
+ } | undefined;
1014
+ }, {
1015
+ background?: {
1016
+ role?: string | undefined;
1017
+ gender?: string | undefined;
1018
+ age?: string | undefined;
1019
+ expertise?: string | undefined;
1020
+ backstory?: string | undefined;
1021
+ } | undefined;
1022
+ speech?: {
1023
+ tone?: string | undefined;
1024
+ style?: string | undefined;
1025
+ formality?: string | undefined;
1026
+ } | undefined;
1027
+ personality?: {
1028
+ values?: string | undefined;
1029
+ traits?: string | undefined;
1030
+ interests?: string | undefined;
1031
+ quirks?: string | undefined;
1032
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1033
+ } | undefined;
1034
+ }>>;
1035
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ name?: string | undefined;
1038
+ avatar?: string | undefined;
1039
+ referenceAvatar?: string | undefined;
1040
+ appearance?: string | undefined;
1041
+ core?: {
1042
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1043
+ } | undefined;
1044
+ llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1045
+ languages?: string[] | undefined;
1046
+ timeZone?: string | undefined;
1047
+ greeting?: string | undefined;
1048
+ actions?: "todo"[] | undefined;
1049
+ character?: {
1050
+ background?: {
1051
+ role?: string | undefined;
1052
+ gender?: string | undefined;
1053
+ age?: string | undefined;
1054
+ expertise?: string | undefined;
1055
+ backstory?: string | undefined;
1056
+ } | undefined;
1057
+ speech?: {
1058
+ tone?: string | undefined;
1059
+ style?: string | undefined;
1060
+ formality?: string | undefined;
1061
+ } | undefined;
1062
+ personality?: {
1063
+ values?: string | undefined;
1064
+ traits?: string | undefined;
1065
+ interests?: string | undefined;
1066
+ quirks?: string | undefined;
1067
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1068
+ } | undefined;
1069
+ } | undefined;
1070
+ rules?: string[] | undefined;
439
1071
  }, {
440
- entityType: "system" | "agent" | "user" | "gimmick";
441
- entityId: bigint;
442
- message?: string | undefined;
443
- image?: string | undefined;
444
- }>, "many">>;
445
- hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
446
- isAllowImport: z.ZodOptional<z.ZodBoolean>;
447
- isSensitive: z.ZodOptional<z.ZodBoolean>;
1072
+ name?: string | undefined;
1073
+ avatar?: string | undefined;
1074
+ referenceAvatar?: string | undefined;
1075
+ appearance?: string | undefined;
1076
+ core?: {
1077
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1078
+ } | undefined;
1079
+ llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1080
+ languages?: string[] | undefined;
1081
+ timeZone?: string | undefined;
1082
+ greeting?: string | undefined;
1083
+ actions?: "todo"[] | undefined;
1084
+ character?: {
1085
+ background?: {
1086
+ role?: string | undefined;
1087
+ gender?: string | undefined;
1088
+ age?: string | undefined;
1089
+ expertise?: string | undefined;
1090
+ backstory?: string | undefined;
1091
+ } | undefined;
1092
+ speech?: {
1093
+ tone?: string | undefined;
1094
+ style?: string | undefined;
1095
+ formality?: string | undefined;
1096
+ } | undefined;
1097
+ personality?: {
1098
+ values?: string | undefined;
1099
+ traits?: string | undefined;
1100
+ interests?: string | undefined;
1101
+ quirks?: string | undefined;
1102
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1103
+ } | undefined;
1104
+ } | undefined;
1105
+ rules?: string[] | undefined;
1106
+ }>>, "many">>;
448
1107
  }, "strip", z.ZodTypeAny, {
449
- locationId: bigint;
450
- presetDescription: string;
451
- presetShortDescription: string;
452
1108
  name?: string | undefined;
453
- canvases?: {
454
- name: string;
455
- text: string;
456
- }[] | undefined;
457
- visibility?: "private" | "public" | "publish" | undefined;
458
1109
  messages?: {
459
- entityType: "system" | "agent" | "user" | "gimmick";
1110
+ entityType: "user" | "system" | "agent" | "gimmick";
460
1111
  entityId: bigint;
461
1112
  message?: string | undefined;
462
1113
  image?: string | undefined;
463
1114
  }[] | undefined;
464
- hashtags?: string[] | undefined;
465
- isAllowImport?: boolean | undefined;
466
- isSensitive?: boolean | undefined;
467
- }, {
468
- locationId: bigint;
469
- presetDescription: string;
470
- presetShortDescription: string;
471
- name?: string | undefined;
1115
+ thumbnail?: string | undefined;
472
1116
  canvases?: {
473
1117
  name: string;
474
1118
  text: string;
475
1119
  }[] | undefined;
476
1120
  visibility?: "private" | "public" | "publish" | undefined;
477
- messages?: {
478
- entityType: "system" | "agent" | "user" | "gimmick";
479
- entityId: bigint;
480
- message?: string | undefined;
481
- image?: string | undefined;
482
- }[] | undefined;
1121
+ presetDescription?: string | undefined;
1122
+ presetShortDescription?: string | undefined;
483
1123
  hashtags?: string[] | undefined;
484
1124
  isAllowImport?: boolean | undefined;
485
1125
  isSensitive?: boolean | undefined;
486
- }>;
487
- export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
488
- export interface CreateLocationPresetResponseDto {
489
- preset: LocationPresetDto;
490
- }
491
- export declare const GetLocationPresetParamsSchema: z.ZodObject<{
492
- presetId: z.ZodBigInt;
493
- }, "strip", z.ZodTypeAny, {
494
- presetId: bigint;
495
- }, {
496
- presetId: bigint;
497
- }>;
498
- export type GetLocationPresetParamsDto = z.infer<typeof GetLocationPresetParamsSchema>;
499
- export interface GetLocationPresetResponseDto {
500
- preset: LocationPresetDetailDto;
501
- }
502
- export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
503
- presetId: z.ZodBigInt;
504
- }, "strip", z.ZodTypeAny, {
505
- presetId: bigint;
1126
+ locationConfig?: {
1127
+ name?: string | undefined;
1128
+ description?: string | undefined;
1129
+ core?: {
1130
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
1131
+ sequential?: boolean | undefined;
1132
+ interval?: number | undefined;
1133
+ maxAgentExecutions?: number | null | undefined;
1134
+ } | undefined;
1135
+ rules?: string[] | undefined;
1136
+ thumbnail?: string | null | undefined;
1137
+ environment?: "CHAT" | "NOVEL" | undefined;
1138
+ canvases?: {
1139
+ name: string;
1140
+ description: string;
1141
+ maxLength: number;
1142
+ }[] | undefined;
1143
+ agentCanvases?: {
1144
+ name: string;
1145
+ description: string;
1146
+ maxLength: number;
1147
+ }[] | undefined;
1148
+ gimmicks?: {
1149
+ name: string;
1150
+ appearance: string;
1151
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1152
+ images?: {
1153
+ description: string;
1154
+ name?: string | undefined;
1155
+ url?: string | undefined;
1156
+ }[] | undefined;
1157
+ }[] | undefined;
1158
+ } | undefined;
1159
+ agentConfigs?: ({
1160
+ name?: string | undefined;
1161
+ avatar?: string | undefined;
1162
+ referenceAvatar?: string | undefined;
1163
+ appearance?: string | undefined;
1164
+ core?: {
1165
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1166
+ } | undefined;
1167
+ llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1168
+ languages?: string[] | undefined;
1169
+ timeZone?: string | undefined;
1170
+ greeting?: string | undefined;
1171
+ actions?: "todo"[] | undefined;
1172
+ character?: {
1173
+ background?: {
1174
+ role?: string | undefined;
1175
+ gender?: string | undefined;
1176
+ age?: string | undefined;
1177
+ expertise?: string | undefined;
1178
+ backstory?: string | undefined;
1179
+ } | undefined;
1180
+ speech?: {
1181
+ tone?: string | undefined;
1182
+ style?: string | undefined;
1183
+ formality?: string | undefined;
1184
+ } | undefined;
1185
+ personality?: {
1186
+ values?: string | undefined;
1187
+ traits?: string | undefined;
1188
+ interests?: string | undefined;
1189
+ quirks?: string | undefined;
1190
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1191
+ } | undefined;
1192
+ } | undefined;
1193
+ rules?: string[] | undefined;
1194
+ } | null)[] | undefined;
506
1195
  }, {
507
- presetId: bigint;
508
- }>;
509
- export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
510
- export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
511
- visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
512
- name: z.ZodOptional<z.ZodString>;
513
- thumbnail: z.ZodOptional<z.ZodString>;
514
- presetDescription: z.ZodOptional<z.ZodString>;
515
- presetShortDescription: z.ZodOptional<z.ZodString>;
516
- canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
- name: z.ZodString;
518
- text: z.ZodString;
519
- }, "strip", z.ZodTypeAny, {
520
- name: string;
521
- text: string;
522
- }, {
523
- name: string;
524
- text: string;
525
- }>, "many">>;
526
- messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
527
- entityType: z.ZodNativeEnum<{
528
- readonly System: "system";
529
- readonly Agent: "agent";
530
- readonly User: "user";
531
- readonly Gimmick: "gimmick";
532
- }>;
533
- entityId: z.ZodBigInt;
534
- message: z.ZodOptional<z.ZodString>;
535
- image: z.ZodOptional<z.ZodString>;
536
- }, "strip", z.ZodTypeAny, {
537
- entityType: "system" | "agent" | "user" | "gimmick";
538
- entityId: bigint;
539
- message?: string | undefined;
540
- image?: string | undefined;
541
- }, {
542
- entityType: "system" | "agent" | "user" | "gimmick";
543
- entityId: bigint;
544
- message?: string | undefined;
545
- image?: string | undefined;
546
- }>, "many">>;
547
- hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
548
- isAllowImport: z.ZodOptional<z.ZodBoolean>;
549
- isSensitive: z.ZodOptional<z.ZodBoolean>;
550
- }, "strip", z.ZodTypeAny, {
551
1196
  name?: string | undefined;
552
- thumbnail?: string | undefined;
553
- canvases?: {
554
- name: string;
555
- text: string;
556
- }[] | undefined;
557
- visibility?: "private" | "public" | "publish" | undefined;
558
- presetDescription?: string | undefined;
559
- presetShortDescription?: string | undefined;
560
1197
  messages?: {
561
- entityType: "system" | "agent" | "user" | "gimmick";
1198
+ entityType: "user" | "system" | "agent" | "gimmick";
562
1199
  entityId: bigint;
563
1200
  message?: string | undefined;
564
1201
  image?: string | undefined;
565
1202
  }[] | undefined;
566
- hashtags?: string[] | undefined;
567
- isAllowImport?: boolean | undefined;
568
- isSensitive?: boolean | undefined;
569
- }, {
570
- name?: string | undefined;
571
1203
  thumbnail?: string | undefined;
572
1204
  canvases?: {
573
1205
  name: string;
@@ -576,15 +1208,78 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
576
1208
  visibility?: "private" | "public" | "publish" | undefined;
577
1209
  presetDescription?: string | undefined;
578
1210
  presetShortDescription?: string | undefined;
579
- messages?: {
580
- entityType: "system" | "agent" | "user" | "gimmick";
581
- entityId: bigint;
582
- message?: string | undefined;
583
- image?: string | undefined;
584
- }[] | undefined;
585
1211
  hashtags?: string[] | undefined;
586
1212
  isAllowImport?: boolean | undefined;
587
1213
  isSensitive?: boolean | undefined;
1214
+ locationConfig?: {
1215
+ name?: string | undefined;
1216
+ description?: string | undefined;
1217
+ core?: {
1218
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
1219
+ sequential?: boolean | undefined;
1220
+ interval?: number | undefined;
1221
+ maxAgentExecutions?: number | null | undefined;
1222
+ } | undefined;
1223
+ rules?: string[] | undefined;
1224
+ thumbnail?: string | null | undefined;
1225
+ environment?: "CHAT" | "NOVEL" | undefined;
1226
+ canvases?: {
1227
+ name: string;
1228
+ description: string;
1229
+ maxLength: number;
1230
+ }[] | undefined;
1231
+ agentCanvases?: {
1232
+ name: string;
1233
+ description: string;
1234
+ maxLength: number;
1235
+ }[] | undefined;
1236
+ gimmicks?: {
1237
+ name: string;
1238
+ appearance: string;
1239
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1240
+ images?: {
1241
+ description: string;
1242
+ name?: string | undefined;
1243
+ url?: string | undefined;
1244
+ }[] | undefined;
1245
+ }[] | undefined;
1246
+ } | undefined;
1247
+ agentConfigs?: ({
1248
+ name?: string | undefined;
1249
+ avatar?: string | undefined;
1250
+ referenceAvatar?: string | undefined;
1251
+ appearance?: string | undefined;
1252
+ core?: {
1253
+ name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1254
+ } | undefined;
1255
+ llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1256
+ languages?: string[] | undefined;
1257
+ timeZone?: string | undefined;
1258
+ greeting?: string | undefined;
1259
+ actions?: "todo"[] | undefined;
1260
+ character?: {
1261
+ background?: {
1262
+ role?: string | undefined;
1263
+ gender?: string | undefined;
1264
+ age?: string | undefined;
1265
+ expertise?: string | undefined;
1266
+ backstory?: string | undefined;
1267
+ } | undefined;
1268
+ speech?: {
1269
+ tone?: string | undefined;
1270
+ style?: string | undefined;
1271
+ formality?: string | undefined;
1272
+ } | undefined;
1273
+ personality?: {
1274
+ values?: string | undefined;
1275
+ traits?: string | undefined;
1276
+ interests?: string | undefined;
1277
+ quirks?: string | undefined;
1278
+ mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
1279
+ } | undefined;
1280
+ } | undefined;
1281
+ rules?: string[] | undefined;
1282
+ } | null)[] | undefined;
588
1283
  }>;
589
1284
  export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
590
1285
  export interface UpdateLocationPresetResponseDto {
@@ -643,8 +1338,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
643
1338
  cursor?: string | undefined;
644
1339
  }, {
645
1340
  presetId: bigint;
646
- limit?: number | undefined;
647
1341
  cursor?: string | undefined;
1342
+ limit?: number | undefined;
648
1343
  }>;
649
1344
  export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
650
1345
  export interface GetLocationPresetLocationsResponseDto {
@@ -704,7 +1399,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
704
1399
  maxLength: number;
705
1400
  }>, "many">>;
706
1401
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
707
- core: z.ZodUnion<[z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">, ...z.ZodLiteral<"notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator">[]]>;
1402
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "character_image_generator" | "notion">[]]>;
708
1403
  name: z.ZodString;
709
1404
  appearance: z.ZodString;
710
1405
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -721,18 +1416,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
721
1416
  url?: string | undefined;
722
1417
  }>, "many">>;
723
1418
  }, "strip", z.ZodTypeAny, {
724
- appearance: string;
725
1419
  name: string;
726
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1420
+ appearance: string;
1421
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
727
1422
  images?: {
728
1423
  description: string;
729
1424
  name?: string | undefined;
730
1425
  url?: string | undefined;
731
1426
  }[] | undefined;
732
1427
  }, {
733
- appearance: string;
734
1428
  name: string;
735
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1429
+ appearance: string;
1430
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
736
1431
  images?: {
737
1432
  description: string;
738
1433
  name?: string | undefined;
@@ -762,9 +1457,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
762
1457
  maxLength: number;
763
1458
  }[] | undefined;
764
1459
  gimmicks?: {
765
- appearance: string;
766
1460
  name: string;
767
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1461
+ appearance: string;
1462
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
768
1463
  images?: {
769
1464
  description: string;
770
1465
  name?: string | undefined;
@@ -794,9 +1489,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
794
1489
  maxLength: number;
795
1490
  }[] | undefined;
796
1491
  gimmicks?: {
797
- appearance: string;
798
1492
  name: string;
799
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1493
+ appearance: string;
1494
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
800
1495
  images?: {
801
1496
  description: string;
802
1497
  name?: string | undefined;
@@ -809,6 +1504,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
809
1504
  readonly MINIMO: "MINIMO";
810
1505
  }>>>;
811
1506
  }, "strip", z.ZodTypeAny, {
1507
+ platform: "API" | "MINIMO";
812
1508
  config: {
813
1509
  name?: string | undefined;
814
1510
  description?: string | undefined;
@@ -832,9 +1528,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
832
1528
  maxLength: number;
833
1529
  }[] | undefined;
834
1530
  gimmicks?: {
835
- appearance: string;
836
1531
  name: string;
837
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1532
+ appearance: string;
1533
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
838
1534
  images?: {
839
1535
  description: string;
840
1536
  name?: string | undefined;
@@ -842,7 +1538,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
842
1538
  }[] | undefined;
843
1539
  }[] | undefined;
844
1540
  };
845
- platform: "API" | "MINIMO";
846
1541
  }, {
847
1542
  config: {
848
1543
  name?: string | undefined;
@@ -867,9 +1562,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
867
1562
  maxLength: number;
868
1563
  }[] | undefined;
869
1564
  gimmicks?: {
870
- appearance: string;
871
1565
  name: string;
872
- core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
1566
+ appearance: string;
1567
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
873
1568
  images?: {
874
1569
  description: string;
875
1570
  name?: string | undefined;
@@ -891,8 +1586,8 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
891
1586
  }>>>;
892
1587
  import: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
893
1588
  }, "strip", z.ZodTypeAny, {
894
- presetId: bigint;
895
1589
  platform: "API" | "MINIMO";
1590
+ presetId: bigint;
896
1591
  import: boolean;
897
1592
  }, {
898
1593
  presetId: bigint;
@@ -925,8 +1620,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
925
1620
  readonly MINIMO: "MINIMO";
926
1621
  }>>>;
927
1622
  }, "strip", z.ZodTypeAny, {
928
- agentId: bigint;
929
1623
  platform: "API" | "MINIMO";
1624
+ agentId: bigint;
930
1625
  }, {
931
1626
  agentId: bigint;
932
1627
  platform?: "API" | "MINIMO" | undefined;
@@ -942,8 +1637,8 @@ export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
942
1637
  readonly MINIMO: "MINIMO";
943
1638
  }>>>;
944
1639
  }, "strip", z.ZodTypeAny, {
945
- locationId: bigint;
946
1640
  platform: "API" | "MINIMO";
1641
+ locationId: bigint;
947
1642
  }, {
948
1643
  locationId: bigint;
949
1644
  platform?: "API" | "MINIMO" | undefined;
@@ -959,8 +1654,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
959
1654
  readonly MINIMO: "MINIMO";
960
1655
  }>>>;
961
1656
  }, "strip", z.ZodTypeAny, {
962
- agentId: bigint;
963
1657
  platform: "API" | "MINIMO";
1658
+ agentId: bigint;
964
1659
  }, {
965
1660
  agentId: bigint;
966
1661
  platform?: "API" | "MINIMO" | undefined;
@@ -1158,11 +1853,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
1158
1853
  locationId: z.ZodBigInt;
1159
1854
  agentId: z.ZodBigInt;
1160
1855
  }, "strip", z.ZodTypeAny, {
1161
- agentId: bigint;
1162
1856
  locationId: bigint;
1163
- }, {
1164
1857
  agentId: bigint;
1858
+ }, {
1165
1859
  locationId: bigint;
1860
+ agentId: bigint;
1166
1861
  }>;
1167
1862
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
1168
1863
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -1189,11 +1884,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
1189
1884
  locationId: z.ZodBigInt;
1190
1885
  agentId: z.ZodBigInt;
1191
1886
  }, "strip", z.ZodTypeAny, {
1192
- agentId: bigint;
1193
1887
  locationId: bigint;
1194
- }, {
1195
1888
  agentId: bigint;
1889
+ }, {
1196
1890
  locationId: bigint;
1891
+ agentId: bigint;
1197
1892
  }>;
1198
1893
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
1199
1894
  export declare const UpdateLocationParamsSchema: z.ZodObject<{
@@ -1558,12 +2253,12 @@ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
1558
2253
  agentId: z.ZodBigInt;
1559
2254
  isActive: z.ZodBoolean;
1560
2255
  }, "strip", z.ZodTypeAny, {
1561
- agentId: bigint;
1562
2256
  locationId: bigint;
2257
+ agentId: bigint;
1563
2258
  isActive: boolean;
1564
2259
  }, {
1565
- agentId: bigint;
1566
2260
  locationId: bigint;
2261
+ agentId: bigint;
1567
2262
  isActive: boolean;
1568
2263
  }>;
1569
2264
  export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;