@little-samo/samo-ai-sdk 0.2.0 → 0.2.1-rv1

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 +24 -24
  2. package/dist/dto/entities/gimmicks/gimmick.config.d.ts +1 -1
  3. package/dist/dto/entities/users/user.d.ts +3 -0
  4. package/dist/dto/entities/users/user.events.d.ts +7 -2
  5. package/dist/dto/entities/users/user.events.js +1 -0
  6. package/dist/dto/entities/users/user.events.js.map +1 -1
  7. package/dist/dto/entities/users/user.requests.d.ts +39 -0
  8. package/dist/dto/entities/users/user.requests.js +22 -1
  9. package/dist/dto/entities/users/user.requests.js.map +1 -1
  10. package/dist/dto/index.d.ts +1 -0
  11. package/dist/dto/index.js +1 -0
  12. package/dist/dto/index.js.map +1 -1
  13. package/dist/dto/items/item.events.d.ts +2 -1
  14. package/dist/dto/items/item.events.js.map +1 -1
  15. package/dist/dto/locations/location.d.ts +2 -0
  16. package/dist/dto/locations/location.preset.d.ts +57 -8
  17. package/dist/dto/locations/location.preset.js +19 -0
  18. package/dist/dto/locations/location.preset.js.map +1 -1
  19. package/dist/dto/locations/location.requests.d.ts +305 -43
  20. package/dist/dto/locations/location.requests.js +56 -7
  21. package/dist/dto/locations/location.requests.js.map +1 -1
  22. package/dist/dto/rankings/index.d.ts +1 -0
  23. package/dist/dto/rankings/index.js +18 -0
  24. package/dist/dto/rankings/index.js.map +1 -0
  25. package/dist/dto/rankings/ranking.d.ts +14 -0
  26. package/dist/dto/rankings/ranking.js +3 -0
  27. package/dist/dto/rankings/ranking.js.map +1 -0
  28. package/dist/models/entities/agents/agent.config.js +2 -2
  29. package/dist/models/entities/agents/agent.config.js.map +1 -1
  30. package/dist/models/locations/location.config.d.ts +12 -12
  31. package/dist/models/locations/location.config.js +1 -1
  32. package/package.json +3 -3
@@ -4,9 +4,10 @@ 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 { LocationPresetDto } from './location.preset';
7
+ import { LocationPresetDetailDto, LocationPresetDto } from './location.preset';
8
8
  import { LocationScheduledMessageDto } from './location.scheduled-message';
9
9
  import { LocationSnapshotDto } from './location.snapshot';
10
+ import type { AgentPrivateDto } from '../entities';
10
11
  export declare const UserLocationsQuerySchema: z.ZodObject<{
11
12
  cursor: z.ZodOptional<z.ZodString>;
12
13
  limit: z.ZodDefault<z.ZodNumber>;
@@ -129,16 +130,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
129
130
  }>, "many">>;
130
131
  }, "strip", z.ZodTypeAny, {
131
132
  name: string;
132
- appearance: string;
133
133
  core: "web_search" | "image_generator" | "notion";
134
+ appearance: string;
134
135
  images?: {
135
136
  description: string;
136
137
  url: string;
137
138
  }[] | undefined;
138
139
  }, {
139
140
  name: string;
140
- appearance: string;
141
141
  core: "web_search" | "image_generator" | "notion";
142
+ appearance: string;
142
143
  images?: {
143
144
  description: string;
144
145
  url: string;
@@ -146,15 +147,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
146
147
  }>, "many">>;
147
148
  }, "strict", z.ZodTypeAny, {
148
149
  name?: string | undefined;
149
- description?: string | undefined;
150
+ thumbnail?: string | null | undefined;
151
+ environment?: "CHAT" | "NOVEL" | undefined;
150
152
  core?: {
151
153
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
152
154
  sequential?: boolean | undefined;
153
155
  interval?: number | undefined;
154
156
  } | undefined;
157
+ description?: string | undefined;
155
158
  rules?: string[] | undefined;
156
- thumbnail?: string | null | undefined;
157
- environment?: "CHAT" | "NOVEL" | undefined;
158
159
  canvases?: {
159
160
  name: string;
160
161
  description: string;
@@ -167,8 +168,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
167
168
  }[] | undefined;
168
169
  gimmicks?: {
169
170
  name: string;
170
- appearance: string;
171
171
  core: "web_search" | "image_generator" | "notion";
172
+ appearance: string;
172
173
  images?: {
173
174
  description: string;
174
175
  url: string;
@@ -176,15 +177,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
176
177
  }[] | undefined;
177
178
  }, {
178
179
  name?: string | undefined;
179
- description?: string | undefined;
180
+ thumbnail?: string | null | undefined;
181
+ environment?: "CHAT" | "NOVEL" | undefined;
180
182
  core?: {
181
183
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
182
184
  sequential?: boolean | undefined;
183
185
  interval?: number | undefined;
184
186
  } | undefined;
187
+ description?: string | undefined;
185
188
  rules?: string[] | undefined;
186
- thumbnail?: string | null | undefined;
187
- environment?: "CHAT" | "NOVEL" | undefined;
188
189
  canvases?: {
189
190
  name: string;
190
191
  description: string;
@@ -197,8 +198,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
197
198
  }[] | undefined;
198
199
  gimmicks?: {
199
200
  name: string;
200
- appearance: string;
201
201
  core: "web_search" | "image_generator" | "notion";
202
+ appearance: string;
202
203
  images?: {
203
204
  description: string;
204
205
  url: string;
@@ -209,15 +210,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
209
210
  locationId: bigint;
210
211
  config: {
211
212
  name?: string | undefined;
212
- description?: string | undefined;
213
+ thumbnail?: string | null | undefined;
214
+ environment?: "CHAT" | "NOVEL" | undefined;
213
215
  core?: {
214
216
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
215
217
  sequential?: boolean | undefined;
216
218
  interval?: number | undefined;
217
219
  } | undefined;
220
+ description?: string | undefined;
218
221
  rules?: string[] | undefined;
219
- thumbnail?: string | null | undefined;
220
- environment?: "CHAT" | "NOVEL" | undefined;
221
222
  canvases?: {
222
223
  name: string;
223
224
  description: string;
@@ -230,8 +231,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
230
231
  }[] | undefined;
231
232
  gimmicks?: {
232
233
  name: string;
233
- appearance: string;
234
234
  core: "web_search" | "image_generator" | "notion";
235
+ appearance: string;
235
236
  images?: {
236
237
  description: string;
237
238
  url: string;
@@ -242,15 +243,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
242
243
  locationId: bigint;
243
244
  config: {
244
245
  name?: string | undefined;
245
- description?: string | undefined;
246
+ thumbnail?: string | null | undefined;
247
+ environment?: "CHAT" | "NOVEL" | undefined;
246
248
  core?: {
247
249
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
248
250
  sequential?: boolean | undefined;
249
251
  interval?: number | undefined;
250
252
  } | undefined;
253
+ description?: string | undefined;
251
254
  rules?: string[] | undefined;
252
- thumbnail?: string | null | undefined;
253
- environment?: "CHAT" | "NOVEL" | undefined;
254
255
  canvases?: {
255
256
  name: string;
256
257
  description: string;
@@ -263,8 +264,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
263
264
  }[] | undefined;
264
265
  gimmicks?: {
265
266
  name: string;
266
- appearance: string;
267
267
  core: "web_search" | "image_generator" | "notion";
268
+ appearance: string;
268
269
  images?: {
269
270
  description: string;
270
271
  url: string;
@@ -346,7 +347,258 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
346
347
  }>;
347
348
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
348
349
  export interface LocationPresetsPaginatedResponseDto {
349
- data: LocationPresetDto[];
350
+ data: LocationPresetDetailDto[];
351
+ meta: {
352
+ total: number;
353
+ page: number;
354
+ limit: number;
355
+ totalPages: number;
356
+ };
357
+ }
358
+ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
359
+ type: z.ZodEnum<["NOVEL"]>;
360
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
361
+ limit: z.ZodDefault<z.ZodNumber>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ type: "NOVEL";
364
+ limit: number;
365
+ page: number;
366
+ }, {
367
+ type: "NOVEL";
368
+ limit?: number | undefined;
369
+ page?: number | undefined;
370
+ }>;
371
+ export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
372
+ export interface PublishedLocationPresetsResponseDto {
373
+ data: LocationPresetDetailDto[];
374
+ meta: {
375
+ total: number;
376
+ page: number;
377
+ limit: number;
378
+ totalPages: number;
379
+ };
380
+ }
381
+ export declare const TrendingLocationPresetsQuerySchema: z.ZodObject<{
382
+ type: z.ZodEnum<["NOVEL"]>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ type: "NOVEL";
385
+ }, {
386
+ type: "NOVEL";
387
+ }>;
388
+ export type TrendingLocationPresetsQueryDto = z.infer<typeof TrendingLocationPresetsQuerySchema>;
389
+ export interface TrendingLocationPresetsResponseDto {
390
+ data: LocationPresetDetailDto[];
391
+ }
392
+ export declare const CreateLocationPresetSchema: z.ZodObject<{
393
+ locationId: z.ZodBigInt;
394
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
395
+ name: z.ZodOptional<z.ZodString>;
396
+ presetDescription: z.ZodString;
397
+ presetShortDescription: z.ZodString;
398
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
399
+ name: z.ZodString;
400
+ text: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
402
+ name: string;
403
+ text: string;
404
+ }, {
405
+ name: string;
406
+ text: string;
407
+ }>, "many">>;
408
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ entityType: z.ZodNativeEnum<{
410
+ readonly System: "system";
411
+ readonly Agent: "agent";
412
+ readonly User: "user";
413
+ readonly Gimmick: "gimmick";
414
+ }>;
415
+ entityId: z.ZodBigInt;
416
+ message: z.ZodOptional<z.ZodString>;
417
+ image: z.ZodOptional<z.ZodString>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ entityType: "system" | "agent" | "user" | "gimmick";
420
+ entityId: bigint;
421
+ message?: string | undefined;
422
+ image?: string | undefined;
423
+ }, {
424
+ entityType: "system" | "agent" | "user" | "gimmick";
425
+ entityId: bigint;
426
+ message?: string | undefined;
427
+ image?: string | undefined;
428
+ }>, "many">>;
429
+ hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
430
+ isAllowImport: z.ZodOptional<z.ZodBoolean>;
431
+ isSensitive: z.ZodOptional<z.ZodBoolean>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ locationId: bigint;
434
+ presetDescription: string;
435
+ presetShortDescription: string;
436
+ name?: string | undefined;
437
+ canvases?: {
438
+ name: string;
439
+ text: string;
440
+ }[] | undefined;
441
+ visibility?: "private" | "public" | "publish" | undefined;
442
+ messages?: {
443
+ entityType: "system" | "agent" | "user" | "gimmick";
444
+ entityId: bigint;
445
+ message?: string | undefined;
446
+ image?: string | undefined;
447
+ }[] | undefined;
448
+ hashtags?: string[] | undefined;
449
+ isAllowImport?: boolean | undefined;
450
+ isSensitive?: boolean | undefined;
451
+ }, {
452
+ locationId: bigint;
453
+ presetDescription: string;
454
+ presetShortDescription: string;
455
+ name?: string | undefined;
456
+ canvases?: {
457
+ name: string;
458
+ text: string;
459
+ }[] | undefined;
460
+ visibility?: "private" | "public" | "publish" | undefined;
461
+ messages?: {
462
+ entityType: "system" | "agent" | "user" | "gimmick";
463
+ entityId: bigint;
464
+ message?: string | undefined;
465
+ image?: string | undefined;
466
+ }[] | undefined;
467
+ hashtags?: string[] | undefined;
468
+ isAllowImport?: boolean | undefined;
469
+ isSensitive?: boolean | undefined;
470
+ }>;
471
+ export type CreateLocationPresetDto = z.infer<typeof CreateLocationPresetSchema>;
472
+ export interface CreateLocationPresetResponseDto {
473
+ preset: LocationPresetDto;
474
+ }
475
+ export declare const GetLocationPresetParamsSchema: z.ZodObject<{
476
+ presetId: z.ZodBigInt;
477
+ }, "strip", z.ZodTypeAny, {
478
+ presetId: bigint;
479
+ }, {
480
+ presetId: bigint;
481
+ }>;
482
+ export type GetLocationPresetParamsDto = z.infer<typeof GetLocationPresetParamsSchema>;
483
+ export interface GetLocationPresetResponseDto {
484
+ preset: LocationPresetDetailDto;
485
+ }
486
+ export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
487
+ presetId: z.ZodBigInt;
488
+ }, "strip", z.ZodTypeAny, {
489
+ presetId: bigint;
490
+ }, {
491
+ presetId: bigint;
492
+ }>;
493
+ export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
494
+ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
495
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
496
+ name: z.ZodOptional<z.ZodString>;
497
+ presetDescription: z.ZodOptional<z.ZodString>;
498
+ presetShortDescription: z.ZodOptional<z.ZodString>;
499
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
500
+ name: z.ZodString;
501
+ text: z.ZodString;
502
+ }, "strip", z.ZodTypeAny, {
503
+ name: string;
504
+ text: string;
505
+ }, {
506
+ name: string;
507
+ text: string;
508
+ }>, "many">>;
509
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
510
+ entityType: z.ZodNativeEnum<{
511
+ readonly System: "system";
512
+ readonly Agent: "agent";
513
+ readonly User: "user";
514
+ readonly Gimmick: "gimmick";
515
+ }>;
516
+ entityId: z.ZodBigInt;
517
+ message: z.ZodOptional<z.ZodString>;
518
+ image: z.ZodOptional<z.ZodString>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ entityType: "system" | "agent" | "user" | "gimmick";
521
+ entityId: bigint;
522
+ message?: string | undefined;
523
+ image?: string | undefined;
524
+ }, {
525
+ entityType: "system" | "agent" | "user" | "gimmick";
526
+ entityId: bigint;
527
+ message?: string | undefined;
528
+ image?: string | undefined;
529
+ }>, "many">>;
530
+ hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
531
+ isAllowImport: z.ZodOptional<z.ZodBoolean>;
532
+ isSensitive: z.ZodOptional<z.ZodBoolean>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ name?: string | undefined;
535
+ canvases?: {
536
+ name: string;
537
+ text: string;
538
+ }[] | undefined;
539
+ visibility?: "private" | "public" | "publish" | undefined;
540
+ presetDescription?: string | undefined;
541
+ presetShortDescription?: string | undefined;
542
+ messages?: {
543
+ entityType: "system" | "agent" | "user" | "gimmick";
544
+ entityId: bigint;
545
+ message?: string | undefined;
546
+ image?: string | undefined;
547
+ }[] | undefined;
548
+ hashtags?: string[] | undefined;
549
+ isAllowImport?: boolean | undefined;
550
+ isSensitive?: boolean | undefined;
551
+ }, {
552
+ name?: 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
+ messages?: {
561
+ entityType: "system" | "agent" | "user" | "gimmick";
562
+ entityId: bigint;
563
+ message?: string | undefined;
564
+ image?: string | undefined;
565
+ }[] | undefined;
566
+ hashtags?: string[] | undefined;
567
+ isAllowImport?: boolean | undefined;
568
+ isSensitive?: boolean | undefined;
569
+ }>;
570
+ export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBodySchema>;
571
+ export interface UpdateLocationPresetResponseDto {
572
+ preset: LocationPresetDto;
573
+ }
574
+ export declare const DeleteLocationPresetParamsSchema: z.ZodObject<{
575
+ presetId: z.ZodBigInt;
576
+ }, "strip", z.ZodTypeAny, {
577
+ presetId: bigint;
578
+ }, {
579
+ presetId: bigint;
580
+ }>;
581
+ export type DeleteLocationPresetParamsDto = z.infer<typeof DeleteLocationPresetParamsSchema>;
582
+ export interface DeleteLocationPresetResponseDto {
583
+ success: boolean;
584
+ error?: string;
585
+ }
586
+ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
587
+ presetId: z.ZodBigInt;
588
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
589
+ limit: z.ZodDefault<z.ZodNumber>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ limit: number;
592
+ page: number;
593
+ presetId: bigint;
594
+ }, {
595
+ presetId: bigint;
596
+ limit?: number | undefined;
597
+ page?: number | undefined;
598
+ }>;
599
+ export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
600
+ export interface GetLocationPresetLocationsResponseDto {
601
+ locations: LocationListItemDto[];
350
602
  meta: {
351
603
  total: number;
352
604
  page: number;
@@ -416,16 +668,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
416
668
  }>, "many">>;
417
669
  }, "strip", z.ZodTypeAny, {
418
670
  name: string;
419
- appearance: string;
420
671
  core: "web_search" | "image_generator" | "notion";
672
+ appearance: string;
421
673
  images?: {
422
674
  description: string;
423
675
  url: string;
424
676
  }[] | undefined;
425
677
  }, {
426
678
  name: string;
427
- appearance: string;
428
679
  core: "web_search" | "image_generator" | "notion";
680
+ appearance: string;
429
681
  images?: {
430
682
  description: string;
431
683
  url: string;
@@ -433,15 +685,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
433
685
  }>, "many">>;
434
686
  }, "strict", z.ZodTypeAny, {
435
687
  name?: string | undefined;
436
- description?: string | undefined;
688
+ thumbnail?: string | null | undefined;
689
+ environment?: "CHAT" | "NOVEL" | undefined;
437
690
  core?: {
438
691
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
439
692
  sequential?: boolean | undefined;
440
693
  interval?: number | undefined;
441
694
  } | undefined;
695
+ description?: string | undefined;
442
696
  rules?: string[] | undefined;
443
- thumbnail?: string | null | undefined;
444
- environment?: "CHAT" | "NOVEL" | undefined;
445
697
  canvases?: {
446
698
  name: string;
447
699
  description: string;
@@ -454,8 +706,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
454
706
  }[] | undefined;
455
707
  gimmicks?: {
456
708
  name: string;
457
- appearance: string;
458
709
  core: "web_search" | "image_generator" | "notion";
710
+ appearance: string;
459
711
  images?: {
460
712
  description: string;
461
713
  url: string;
@@ -463,15 +715,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
463
715
  }[] | undefined;
464
716
  }, {
465
717
  name?: string | undefined;
466
- description?: string | undefined;
718
+ thumbnail?: string | null | undefined;
719
+ environment?: "CHAT" | "NOVEL" | undefined;
467
720
  core?: {
468
721
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
469
722
  sequential?: boolean | undefined;
470
723
  interval?: number | undefined;
471
724
  } | undefined;
725
+ description?: string | undefined;
472
726
  rules?: string[] | undefined;
473
- thumbnail?: string | null | undefined;
474
- environment?: "CHAT" | "NOVEL" | undefined;
475
727
  canvases?: {
476
728
  name: string;
477
729
  description: string;
@@ -484,8 +736,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
484
736
  }[] | undefined;
485
737
  gimmicks?: {
486
738
  name: string;
487
- appearance: string;
488
739
  core: "web_search" | "image_generator" | "notion";
740
+ appearance: string;
489
741
  images?: {
490
742
  description: string;
491
743
  url: string;
@@ -499,15 +751,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
499
751
  }, "strip", z.ZodTypeAny, {
500
752
  config: {
501
753
  name?: string | undefined;
502
- description?: string | undefined;
754
+ thumbnail?: string | null | undefined;
755
+ environment?: "CHAT" | "NOVEL" | undefined;
503
756
  core?: {
504
757
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
505
758
  sequential?: boolean | undefined;
506
759
  interval?: number | undefined;
507
760
  } | undefined;
761
+ description?: string | undefined;
508
762
  rules?: string[] | undefined;
509
- thumbnail?: string | null | undefined;
510
- environment?: "CHAT" | "NOVEL" | undefined;
511
763
  canvases?: {
512
764
  name: string;
513
765
  description: string;
@@ -520,8 +772,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
520
772
  }[] | undefined;
521
773
  gimmicks?: {
522
774
  name: string;
523
- appearance: string;
524
775
  core: "web_search" | "image_generator" | "notion";
776
+ appearance: string;
525
777
  images?: {
526
778
  description: string;
527
779
  url: string;
@@ -532,15 +784,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
532
784
  }, {
533
785
  config: {
534
786
  name?: string | undefined;
535
- description?: string | undefined;
787
+ thumbnail?: string | null | undefined;
788
+ environment?: "CHAT" | "NOVEL" | undefined;
536
789
  core?: {
537
790
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
538
791
  sequential?: boolean | undefined;
539
792
  interval?: number | undefined;
540
793
  } | undefined;
794
+ description?: string | undefined;
541
795
  rules?: string[] | undefined;
542
- thumbnail?: string | null | undefined;
543
- environment?: "CHAT" | "NOVEL" | undefined;
544
796
  canvases?: {
545
797
  name: string;
546
798
  description: string;
@@ -553,8 +805,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
553
805
  }[] | undefined;
554
806
  gimmicks?: {
555
807
  name: string;
556
- appearance: string;
557
808
  core: "web_search" | "image_generator" | "notion";
809
+ appearance: string;
558
810
  images?: {
559
811
  description: string;
560
812
  url: string;
@@ -573,16 +825,20 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
573
825
  readonly API: "API";
574
826
  readonly MINIMO: "MINIMO";
575
827
  }>>>;
828
+ import: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
576
829
  }, "strip", z.ZodTypeAny, {
577
- platform: "API" | "MINIMO";
578
830
  presetId: bigint;
831
+ platform: "API" | "MINIMO";
832
+ import: boolean;
579
833
  }, {
580
834
  presetId: bigint;
581
835
  platform?: "API" | "MINIMO" | undefined;
836
+ import?: boolean | undefined;
582
837
  }>;
583
838
  export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
584
839
  export interface CreateLocationFromPresetResponseDto {
585
840
  location: LocationPrivateDto;
841
+ agents: AgentPrivateDto[];
586
842
  }
587
843
  export declare const GetHelperLocationQuerySchema: z.ZodObject<{
588
844
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
@@ -879,12 +1135,16 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
879
1135
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
880
1136
  maxUsers: z.ZodOptional<z.ZodNumber>;
881
1137
  publishDescription: z.ZodOptional<z.ZodString>;
1138
+ hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
882
1139
  useLocationCreditOnly: z.ZodOptional<z.ZodBoolean>;
883
1140
  creditCostPerChat: z.ZodOptional<z.ZodNumber>;
884
1141
  chatRequiresPaidCredit: z.ZodOptional<z.ZodBoolean>;
885
1142
  isAdminChat: z.ZodOptional<z.ZodBoolean>;
1143
+ isSensitive: z.ZodOptional<z.ZodBoolean>;
886
1144
  }, "strip", z.ZodTypeAny, {
887
1145
  visibility?: "private" | "public" | "publish" | undefined;
1146
+ hashtags?: string[] | undefined;
1147
+ isSensitive?: boolean | undefined;
888
1148
  maxUsers?: number | undefined;
889
1149
  publishDescription?: string | undefined;
890
1150
  useLocationCreditOnly?: boolean | undefined;
@@ -893,6 +1153,8 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
893
1153
  isAdminChat?: boolean | undefined;
894
1154
  }, {
895
1155
  visibility?: "private" | "public" | "publish" | undefined;
1156
+ hashtags?: string[] | undefined;
1157
+ isSensitive?: boolean | undefined;
896
1158
  maxUsers?: number | undefined;
897
1159
  publishDescription?: string | undefined;
898
1160
  useLocationCreditOnly?: boolean | undefined;
@@ -1121,15 +1383,15 @@ export declare const SendLocationMessageSchema: z.ZodObject<{
1121
1383
  }, "strip", z.ZodTypeAny, {
1122
1384
  locationId: bigint;
1123
1385
  message?: string | undefined;
1124
- action?: string | undefined;
1125
1386
  image?: string | undefined;
1387
+ action?: string | undefined;
1126
1388
  creditAmount?: number | undefined;
1127
1389
  paidCreditOnly?: boolean | undefined;
1128
1390
  }, {
1129
1391
  locationId: bigint;
1130
1392
  message?: string | undefined;
1131
- action?: string | undefined;
1132
1393
  image?: string | undefined;
1394
+ action?: string | undefined;
1133
1395
  creditAmount?: number | undefined;
1134
1396
  paidCreditOnly?: boolean | undefined;
1135
1397
  }>;
@@ -1157,12 +1419,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
1157
1419
  image: z.ZodString;
1158
1420
  index: z.ZodOptional<z.ZodNumber>;
1159
1421
  }, "strip", z.ZodTypeAny, {
1160
- locationId: bigint;
1161
1422
  image: string;
1423
+ locationId: bigint;
1162
1424
  index?: number | undefined;
1163
1425
  }, {
1164
- locationId: bigint;
1165
1426
  image: string;
1427
+ locationId: bigint;
1166
1428
  index?: number | undefined;
1167
1429
  }>;
1168
1430
  export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;