@little-samo/samo-ai-sdk 0.2.1 → 0.3.1

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.
@@ -77,14 +77,17 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
77
77
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
78
78
  sequential: z.ZodOptional<z.ZodBoolean>;
79
79
  interval: z.ZodOptional<z.ZodNumber>;
80
+ maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
81
  }, "strip", z.ZodTypeAny, {
81
82
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
82
83
  sequential?: boolean | undefined;
83
84
  interval?: number | undefined;
85
+ maxAgentExecutions?: number | null | undefined;
84
86
  }, {
85
87
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
86
88
  sequential?: boolean | undefined;
87
89
  interval?: number | undefined;
90
+ maxAgentExecutions?: number | null | undefined;
88
91
  }>>;
89
92
  description: z.ZodOptional<z.ZodString>;
90
93
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -115,47 +118,53 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
115
118
  maxLength: number;
116
119
  }>, "many">>;
117
120
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
- core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
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">[]]>;
119
122
  name: z.ZodString;
120
123
  appearance: z.ZodString;
121
124
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
122
- url: z.ZodUnion<[z.ZodString, z.ZodString]>;
125
+ url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
126
+ name: z.ZodOptional<z.ZodString>;
123
127
  description: z.ZodString;
124
128
  }, "strip", z.ZodTypeAny, {
125
129
  description: string;
126
- url: string;
130
+ name?: string | undefined;
131
+ url?: string | undefined;
127
132
  }, {
128
133
  description: string;
129
- url: string;
134
+ name?: string | undefined;
135
+ url?: string | undefined;
130
136
  }>, "many">>;
131
137
  }, "strip", z.ZodTypeAny, {
132
138
  name: string;
133
- core: "web_search" | "image_generator" | "notion";
134
139
  appearance: string;
140
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
135
141
  images?: {
136
142
  description: string;
137
- url: string;
143
+ name?: string | undefined;
144
+ url?: string | undefined;
138
145
  }[] | undefined;
139
146
  }, {
140
147
  name: string;
141
- core: "web_search" | "image_generator" | "notion";
142
148
  appearance: string;
149
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
143
150
  images?: {
144
151
  description: string;
145
- url: string;
152
+ name?: string | undefined;
153
+ url?: string | undefined;
146
154
  }[] | undefined;
147
155
  }>, "many">>;
148
156
  }, "strict", z.ZodTypeAny, {
149
157
  name?: string | undefined;
150
- thumbnail?: string | null | undefined;
151
- environment?: "CHAT" | "NOVEL" | undefined;
158
+ description?: string | undefined;
152
159
  core?: {
153
160
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
154
161
  sequential?: boolean | undefined;
155
162
  interval?: number | undefined;
163
+ maxAgentExecutions?: number | null | undefined;
156
164
  } | undefined;
157
- description?: string | undefined;
158
165
  rules?: string[] | undefined;
166
+ thumbnail?: string | null | undefined;
167
+ environment?: "CHAT" | "NOVEL" | undefined;
159
168
  canvases?: {
160
169
  name: string;
161
170
  description: string;
@@ -168,24 +177,26 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
168
177
  }[] | undefined;
169
178
  gimmicks?: {
170
179
  name: string;
171
- core: "web_search" | "image_generator" | "notion";
172
180
  appearance: string;
181
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
173
182
  images?: {
174
183
  description: string;
175
- url: string;
184
+ name?: string | undefined;
185
+ url?: string | undefined;
176
186
  }[] | undefined;
177
187
  }[] | undefined;
178
188
  }, {
179
189
  name?: string | undefined;
180
- thumbnail?: string | null | undefined;
181
- environment?: "CHAT" | "NOVEL" | undefined;
190
+ description?: string | undefined;
182
191
  core?: {
183
192
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
184
193
  sequential?: boolean | undefined;
185
194
  interval?: number | undefined;
195
+ maxAgentExecutions?: number | null | undefined;
186
196
  } | undefined;
187
- description?: string | undefined;
188
197
  rules?: string[] | undefined;
198
+ thumbnail?: string | null | undefined;
199
+ environment?: "CHAT" | "NOVEL" | undefined;
189
200
  canvases?: {
190
201
  name: string;
191
202
  description: string;
@@ -198,11 +209,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
198
209
  }[] | undefined;
199
210
  gimmicks?: {
200
211
  name: string;
201
- core: "web_search" | "image_generator" | "notion";
202
212
  appearance: string;
213
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
203
214
  images?: {
204
215
  description: string;
205
- url: string;
216
+ name?: string | undefined;
217
+ url?: string | undefined;
206
218
  }[] | undefined;
207
219
  }[] | undefined;
208
220
  }>;
@@ -210,15 +222,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
210
222
  locationId: bigint;
211
223
  config: {
212
224
  name?: string | undefined;
213
- thumbnail?: string | null | undefined;
214
- environment?: "CHAT" | "NOVEL" | undefined;
225
+ description?: string | undefined;
215
226
  core?: {
216
227
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
217
228
  sequential?: boolean | undefined;
218
229
  interval?: number | undefined;
230
+ maxAgentExecutions?: number | null | undefined;
219
231
  } | undefined;
220
- description?: string | undefined;
221
232
  rules?: string[] | undefined;
233
+ thumbnail?: string | null | undefined;
234
+ environment?: "CHAT" | "NOVEL" | undefined;
222
235
  canvases?: {
223
236
  name: string;
224
237
  description: string;
@@ -231,11 +244,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
231
244
  }[] | undefined;
232
245
  gimmicks?: {
233
246
  name: string;
234
- core: "web_search" | "image_generator" | "notion";
235
247
  appearance: string;
248
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
236
249
  images?: {
237
250
  description: string;
238
- url: string;
251
+ name?: string | undefined;
252
+ url?: string | undefined;
239
253
  }[] | undefined;
240
254
  }[] | undefined;
241
255
  };
@@ -243,15 +257,16 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
243
257
  locationId: bigint;
244
258
  config: {
245
259
  name?: string | undefined;
246
- thumbnail?: string | null | undefined;
247
- environment?: "CHAT" | "NOVEL" | undefined;
260
+ description?: string | undefined;
248
261
  core?: {
249
262
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
250
263
  sequential?: boolean | undefined;
251
264
  interval?: number | undefined;
265
+ maxAgentExecutions?: number | null | undefined;
252
266
  } | undefined;
253
- description?: string | undefined;
254
267
  rules?: string[] | undefined;
268
+ thumbnail?: string | null | undefined;
269
+ environment?: "CHAT" | "NOVEL" | undefined;
255
270
  canvases?: {
256
271
  name: string;
257
272
  description: string;
@@ -264,11 +279,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
264
279
  }[] | undefined;
265
280
  gimmicks?: {
266
281
  name: string;
267
- core: "web_search" | "image_generator" | "notion";
268
282
  appearance: string;
283
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
269
284
  images?: {
270
285
  description: string;
271
- url: string;
286
+ name?: string | undefined;
287
+ url?: string | undefined;
272
288
  }[] | undefined;
273
289
  }[] | undefined;
274
290
  };
@@ -355,10 +371,56 @@ export interface LocationPresetsPaginatedResponseDto {
355
371
  totalPages: number;
356
372
  };
357
373
  }
374
+ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
375
+ type: z.ZodEnum<["NOVEL"]>;
376
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
377
+ limit: z.ZodDefault<z.ZodNumber>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ type: "NOVEL";
380
+ limit: number;
381
+ page: number;
382
+ }, {
383
+ type: "NOVEL";
384
+ limit?: number | undefined;
385
+ page?: number | undefined;
386
+ }>;
387
+ export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
388
+ export interface PublishedLocationPresetsResponseDto {
389
+ data: LocationPresetDetailDto[];
390
+ meta: {
391
+ total: number;
392
+ page: number;
393
+ limit: number;
394
+ totalPages: number;
395
+ };
396
+ }
397
+ export declare const TrendingLocationPresetsQuerySchema: z.ZodObject<{
398
+ type: z.ZodEnum<["NOVEL"]>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ type: "NOVEL";
401
+ }, {
402
+ type: "NOVEL";
403
+ }>;
404
+ export type TrendingLocationPresetsQueryDto = z.infer<typeof TrendingLocationPresetsQuerySchema>;
405
+ export interface TrendingLocationPresetsResponseDto {
406
+ data: LocationPresetDetailDto[];
407
+ }
358
408
  export declare const CreateLocationPresetSchema: z.ZodObject<{
359
409
  locationId: z.ZodBigInt;
360
410
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
411
+ name: z.ZodOptional<z.ZodString>;
361
412
  presetDescription: z.ZodString;
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">>;
362
424
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
425
  entityType: z.ZodNativeEnum<{
364
426
  readonly System: "system";
@@ -367,15 +429,18 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
367
429
  readonly Gimmick: "gimmick";
368
430
  }>;
369
431
  entityId: z.ZodBigInt;
370
- message: z.ZodString;
432
+ message: z.ZodOptional<z.ZodString>;
433
+ image: z.ZodOptional<z.ZodString>;
371
434
  }, "strip", z.ZodTypeAny, {
372
- message: string;
373
435
  entityType: "system" | "agent" | "user" | "gimmick";
374
436
  entityId: bigint;
437
+ message?: string | undefined;
438
+ image?: string | undefined;
375
439
  }, {
376
- message: string;
377
440
  entityType: "system" | "agent" | "user" | "gimmick";
378
441
  entityId: bigint;
442
+ message?: string | undefined;
443
+ image?: string | undefined;
379
444
  }>, "many">>;
380
445
  hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
381
446
  isAllowImport: z.ZodOptional<z.ZodBoolean>;
@@ -383,11 +448,18 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
383
448
  }, "strip", z.ZodTypeAny, {
384
449
  locationId: bigint;
385
450
  presetDescription: string;
451
+ presetShortDescription: string;
452
+ name?: string | undefined;
453
+ canvases?: {
454
+ name: string;
455
+ text: string;
456
+ }[] | undefined;
386
457
  visibility?: "private" | "public" | "publish" | undefined;
387
458
  messages?: {
388
- message: string;
389
459
  entityType: "system" | "agent" | "user" | "gimmick";
390
460
  entityId: bigint;
461
+ message?: string | undefined;
462
+ image?: string | undefined;
391
463
  }[] | undefined;
392
464
  hashtags?: string[] | undefined;
393
465
  isAllowImport?: boolean | undefined;
@@ -395,11 +467,18 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
395
467
  }, {
396
468
  locationId: bigint;
397
469
  presetDescription: string;
470
+ presetShortDescription: string;
471
+ name?: string | undefined;
472
+ canvases?: {
473
+ name: string;
474
+ text: string;
475
+ }[] | undefined;
398
476
  visibility?: "private" | "public" | "publish" | undefined;
399
477
  messages?: {
400
- message: string;
401
478
  entityType: "system" | "agent" | "user" | "gimmick";
402
479
  entityId: bigint;
480
+ message?: string | undefined;
481
+ image?: string | undefined;
403
482
  }[] | undefined;
404
483
  hashtags?: string[] | undefined;
405
484
  isAllowImport?: boolean | undefined;
@@ -430,7 +509,19 @@ export declare const UpdateLocationPresetParamsSchema: z.ZodObject<{
430
509
  export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetParamsSchema>;
431
510
  export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
432
511
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
512
+ name: z.ZodOptional<z.ZodString>;
433
513
  presetDescription: z.ZodOptional<z.ZodString>;
514
+ presetShortDescription: z.ZodOptional<z.ZodString>;
515
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
516
+ name: z.ZodString;
517
+ text: z.ZodString;
518
+ }, "strip", z.ZodTypeAny, {
519
+ name: string;
520
+ text: string;
521
+ }, {
522
+ name: string;
523
+ text: string;
524
+ }>, "many">>;
434
525
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
526
  entityType: z.ZodNativeEnum<{
436
527
  readonly System: "system";
@@ -439,37 +530,54 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
439
530
  readonly Gimmick: "gimmick";
440
531
  }>;
441
532
  entityId: z.ZodBigInt;
442
- message: z.ZodString;
533
+ message: z.ZodOptional<z.ZodString>;
534
+ image: z.ZodOptional<z.ZodString>;
443
535
  }, "strip", z.ZodTypeAny, {
444
- message: string;
445
536
  entityType: "system" | "agent" | "user" | "gimmick";
446
537
  entityId: bigint;
538
+ message?: string | undefined;
539
+ image?: string | undefined;
447
540
  }, {
448
- message: string;
449
541
  entityType: "system" | "agent" | "user" | "gimmick";
450
542
  entityId: bigint;
543
+ message?: string | undefined;
544
+ image?: string | undefined;
451
545
  }>, "many">>;
452
546
  hashtags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
453
547
  isAllowImport: z.ZodOptional<z.ZodBoolean>;
454
548
  isSensitive: z.ZodOptional<z.ZodBoolean>;
455
549
  }, "strip", z.ZodTypeAny, {
550
+ name?: string | undefined;
551
+ canvases?: {
552
+ name: string;
553
+ text: string;
554
+ }[] | undefined;
456
555
  visibility?: "private" | "public" | "publish" | undefined;
457
556
  presetDescription?: string | undefined;
557
+ presetShortDescription?: string | undefined;
458
558
  messages?: {
459
- message: string;
460
559
  entityType: "system" | "agent" | "user" | "gimmick";
461
560
  entityId: bigint;
561
+ message?: string | undefined;
562
+ image?: string | undefined;
462
563
  }[] | undefined;
463
564
  hashtags?: string[] | undefined;
464
565
  isAllowImport?: boolean | undefined;
465
566
  isSensitive?: boolean | undefined;
466
567
  }, {
568
+ name?: string | undefined;
569
+ canvases?: {
570
+ name: string;
571
+ text: string;
572
+ }[] | undefined;
467
573
  visibility?: "private" | "public" | "publish" | undefined;
468
574
  presetDescription?: string | undefined;
575
+ presetShortDescription?: string | undefined;
469
576
  messages?: {
470
- message: string;
471
577
  entityType: "system" | "agent" | "user" | "gimmick";
472
578
  entityId: bigint;
579
+ message?: string | undefined;
580
+ image?: string | undefined;
473
581
  }[] | undefined;
474
582
  hashtags?: string[] | undefined;
475
583
  isAllowImport?: boolean | undefined;
@@ -479,6 +587,37 @@ export type UpdateLocationPresetBodyDto = z.infer<typeof UpdateLocationPresetBod
479
587
  export interface UpdateLocationPresetResponseDto {
480
588
  preset: LocationPresetDto;
481
589
  }
590
+ export declare const SyncLocationPresetVersionParamsSchema: z.ZodObject<{
591
+ presetId: z.ZodBigInt;
592
+ }, "strip", z.ZodTypeAny, {
593
+ presetId: bigint;
594
+ }, {
595
+ presetId: bigint;
596
+ }>;
597
+ export type SyncLocationPresetVersionParamsDto = z.infer<typeof SyncLocationPresetVersionParamsSchema>;
598
+ export interface SyncLocationPresetVersionResponseDto {
599
+ preset: LocationPresetDto;
600
+ }
601
+ export declare const UpdateLocationPresetRatingParamsSchema: z.ZodObject<{
602
+ presetId: z.ZodBigInt;
603
+ }, "strip", z.ZodTypeAny, {
604
+ presetId: bigint;
605
+ }, {
606
+ presetId: bigint;
607
+ }>;
608
+ export type UpdateLocationPresetRatingParamsDto = z.infer<typeof UpdateLocationPresetRatingParamsSchema>;
609
+ export declare const UpdateLocationPresetRatingBodySchema: z.ZodObject<{
610
+ rating: z.ZodNullable<z.ZodEnum<["LIKE", "DISLIKE"]>>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ rating: "LIKE" | "DISLIKE" | null;
613
+ }, {
614
+ rating: "LIKE" | "DISLIKE" | null;
615
+ }>;
616
+ export type UpdateLocationPresetRatingBodyDto = z.infer<typeof UpdateLocationPresetRatingBodySchema>;
617
+ export interface UpdateLocationPresetRatingResponseDto {
618
+ success: boolean;
619
+ error?: string;
620
+ }
482
621
  export declare const DeleteLocationPresetParamsSchema: z.ZodObject<{
483
622
  presetId: z.ZodBigInt;
484
623
  }, "strip", z.ZodTypeAny, {
@@ -491,6 +630,27 @@ export interface DeleteLocationPresetResponseDto {
491
630
  success: boolean;
492
631
  error?: string;
493
632
  }
633
+ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
634
+ presetId: z.ZodBigInt;
635
+ cursor: z.ZodOptional<z.ZodString>;
636
+ limit: z.ZodDefault<z.ZodNumber>;
637
+ }, "strip", z.ZodTypeAny, {
638
+ limit: number;
639
+ presetId: bigint;
640
+ cursor?: string | undefined;
641
+ }, {
642
+ presetId: bigint;
643
+ cursor?: string | undefined;
644
+ limit?: number | undefined;
645
+ }>;
646
+ export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
647
+ export interface GetLocationPresetLocationsResponseDto {
648
+ locations: LocationListItemDto[];
649
+ meta: {
650
+ total: number;
651
+ nextCursor?: string;
652
+ };
653
+ }
494
654
  export declare const CreateLocationSchema: z.ZodObject<{
495
655
  config: z.ZodObject<{
496
656
  name: z.ZodOptional<z.ZodString>;
@@ -500,14 +660,17 @@ export declare const CreateLocationSchema: z.ZodObject<{
500
660
  name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
501
661
  sequential: z.ZodOptional<z.ZodBoolean>;
502
662
  interval: z.ZodOptional<z.ZodNumber>;
663
+ maxAgentExecutions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
503
664
  }, "strip", z.ZodTypeAny, {
504
665
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
505
666
  sequential?: boolean | undefined;
506
667
  interval?: number | undefined;
668
+ maxAgentExecutions?: number | null | undefined;
507
669
  }, {
508
670
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
509
671
  sequential?: boolean | undefined;
510
672
  interval?: number | undefined;
673
+ maxAgentExecutions?: number | null | undefined;
511
674
  }>>;
512
675
  description: z.ZodOptional<z.ZodString>;
513
676
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -538,47 +701,53 @@ export declare const CreateLocationSchema: z.ZodObject<{
538
701
  maxLength: number;
539
702
  }>, "many">>;
540
703
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
541
- core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
704
+ 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">[]]>;
542
705
  name: z.ZodString;
543
706
  appearance: z.ZodString;
544
707
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
- url: z.ZodUnion<[z.ZodString, z.ZodString]>;
708
+ url: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodString]>;
709
+ name: z.ZodOptional<z.ZodString>;
546
710
  description: z.ZodString;
547
711
  }, "strip", z.ZodTypeAny, {
548
712
  description: string;
549
- url: string;
713
+ name?: string | undefined;
714
+ url?: string | undefined;
550
715
  }, {
551
716
  description: string;
552
- url: string;
717
+ name?: string | undefined;
718
+ url?: string | undefined;
553
719
  }>, "many">>;
554
720
  }, "strip", z.ZodTypeAny, {
555
721
  name: string;
556
- core: "web_search" | "image_generator" | "notion";
557
722
  appearance: string;
723
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
558
724
  images?: {
559
725
  description: string;
560
- url: string;
726
+ name?: string | undefined;
727
+ url?: string | undefined;
561
728
  }[] | undefined;
562
729
  }, {
563
730
  name: string;
564
- core: "web_search" | "image_generator" | "notion";
565
731
  appearance: string;
732
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
566
733
  images?: {
567
734
  description: string;
568
- url: string;
735
+ name?: string | undefined;
736
+ url?: string | undefined;
569
737
  }[] | undefined;
570
738
  }>, "many">>;
571
739
  }, "strict", z.ZodTypeAny, {
572
740
  name?: string | undefined;
573
- thumbnail?: string | null | undefined;
574
- environment?: "CHAT" | "NOVEL" | undefined;
741
+ description?: string | undefined;
575
742
  core?: {
576
743
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
577
744
  sequential?: boolean | undefined;
578
745
  interval?: number | undefined;
746
+ maxAgentExecutions?: number | null | undefined;
579
747
  } | undefined;
580
- description?: string | undefined;
581
748
  rules?: string[] | undefined;
749
+ thumbnail?: string | null | undefined;
750
+ environment?: "CHAT" | "NOVEL" | undefined;
582
751
  canvases?: {
583
752
  name: string;
584
753
  description: string;
@@ -591,24 +760,26 @@ export declare const CreateLocationSchema: z.ZodObject<{
591
760
  }[] | undefined;
592
761
  gimmicks?: {
593
762
  name: string;
594
- core: "web_search" | "image_generator" | "notion";
595
763
  appearance: string;
764
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
596
765
  images?: {
597
766
  description: string;
598
- url: string;
767
+ name?: string | undefined;
768
+ url?: string | undefined;
599
769
  }[] | undefined;
600
770
  }[] | undefined;
601
771
  }, {
602
772
  name?: string | undefined;
603
- thumbnail?: string | null | undefined;
604
- environment?: "CHAT" | "NOVEL" | undefined;
773
+ description?: string | undefined;
605
774
  core?: {
606
775
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
607
776
  sequential?: boolean | undefined;
608
777
  interval?: number | undefined;
778
+ maxAgentExecutions?: number | null | undefined;
609
779
  } | undefined;
610
- description?: string | undefined;
611
780
  rules?: string[] | undefined;
781
+ thumbnail?: string | null | undefined;
782
+ environment?: "CHAT" | "NOVEL" | undefined;
612
783
  canvases?: {
613
784
  name: string;
614
785
  description: string;
@@ -621,11 +792,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
621
792
  }[] | undefined;
622
793
  gimmicks?: {
623
794
  name: string;
624
- core: "web_search" | "image_generator" | "notion";
625
795
  appearance: string;
796
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
626
797
  images?: {
627
798
  description: string;
628
- url: string;
799
+ name?: string | undefined;
800
+ url?: string | undefined;
629
801
  }[] | undefined;
630
802
  }[] | undefined;
631
803
  }>;
@@ -636,15 +808,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
636
808
  }, "strip", z.ZodTypeAny, {
637
809
  config: {
638
810
  name?: string | undefined;
639
- thumbnail?: string | null | undefined;
640
- environment?: "CHAT" | "NOVEL" | undefined;
811
+ description?: string | undefined;
641
812
  core?: {
642
813
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
643
814
  sequential?: boolean | undefined;
644
815
  interval?: number | undefined;
816
+ maxAgentExecutions?: number | null | undefined;
645
817
  } | undefined;
646
- description?: string | undefined;
647
818
  rules?: string[] | undefined;
819
+ thumbnail?: string | null | undefined;
820
+ environment?: "CHAT" | "NOVEL" | undefined;
648
821
  canvases?: {
649
822
  name: string;
650
823
  description: string;
@@ -657,11 +830,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
657
830
  }[] | undefined;
658
831
  gimmicks?: {
659
832
  name: string;
660
- core: "web_search" | "image_generator" | "notion";
661
833
  appearance: string;
834
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
662
835
  images?: {
663
836
  description: string;
664
- url: string;
837
+ name?: string | undefined;
838
+ url?: string | undefined;
665
839
  }[] | undefined;
666
840
  }[] | undefined;
667
841
  };
@@ -669,15 +843,16 @@ export declare const CreateLocationSchema: z.ZodObject<{
669
843
  }, {
670
844
  config: {
671
845
  name?: string | undefined;
672
- thumbnail?: string | null | undefined;
673
- environment?: "CHAT" | "NOVEL" | undefined;
846
+ description?: string | undefined;
674
847
  core?: {
675
848
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
676
849
  sequential?: boolean | undefined;
677
850
  interval?: number | undefined;
851
+ maxAgentExecutions?: number | null | undefined;
678
852
  } | undefined;
679
- description?: string | undefined;
680
853
  rules?: string[] | undefined;
854
+ thumbnail?: string | null | undefined;
855
+ environment?: "CHAT" | "NOVEL" | undefined;
681
856
  canvases?: {
682
857
  name: string;
683
858
  description: string;
@@ -690,11 +865,12 @@ export declare const CreateLocationSchema: z.ZodObject<{
690
865
  }[] | undefined;
691
866
  gimmicks?: {
692
867
  name: string;
693
- core: "web_search" | "image_generator" | "notion";
694
868
  appearance: string;
869
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
695
870
  images?: {
696
871
  description: string;
697
- url: string;
872
+ name?: string | undefined;
873
+ url?: string | undefined;
698
874
  }[] | undefined;
699
875
  }[] | undefined;
700
876
  };
@@ -835,6 +1011,26 @@ export type GetLocationCostParamsDto = z.infer<typeof GetLocationCostParamsSchem
835
1011
  export interface GetLocationCostResponseDto {
836
1012
  cost: LocationCostDto;
837
1013
  }
1014
+ export declare const ResetLocationParamsSchema: z.ZodObject<{
1015
+ locationId: z.ZodBigInt;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ locationId: bigint;
1018
+ }, {
1019
+ locationId: bigint;
1020
+ }>;
1021
+ export type ResetLocationParamsDto = z.infer<typeof ResetLocationParamsSchema>;
1022
+ export declare const ResetLocationBodySchema: z.ZodObject<{
1023
+ resetAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ resetAgents: boolean;
1026
+ }, {
1027
+ resetAgents?: boolean | undefined;
1028
+ }>;
1029
+ export type ResetLocationBodyDto = z.infer<typeof ResetLocationBodySchema>;
1030
+ export interface ResetLocationResponseDto {
1031
+ success: boolean;
1032
+ error?: string;
1033
+ }
838
1034
  export declare const UploadLocationThumbnailParamsSchema: z.ZodObject<{
839
1035
  locationId: z.ZodBigInt;
840
1036
  }, "strip", z.ZodTypeAny, {
@@ -1017,6 +1213,7 @@ export declare const UpdateLocationParamsSchema: z.ZodObject<{
1017
1213
  }>;
1018
1214
  export type UpdateLocationParamsDto = z.infer<typeof UpdateLocationParamsSchema>;
1019
1215
  export declare const UpdateLocationBodySchema: z.ZodObject<{
1216
+ overrideAgentLlmLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<["FREE", "LOW", "MEDIUM", "HIGH"]>>>;
1020
1217
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
1021
1218
  maxUsers: z.ZodOptional<z.ZodNumber>;
1022
1219
  publishDescription: z.ZodOptional<z.ZodString>;
@@ -1030,6 +1227,7 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
1030
1227
  visibility?: "private" | "public" | "publish" | undefined;
1031
1228
  hashtags?: string[] | undefined;
1032
1229
  isSensitive?: boolean | undefined;
1230
+ overrideAgentLlmLevel?: "FREE" | "LOW" | "MEDIUM" | "HIGH" | null | undefined;
1033
1231
  maxUsers?: number | undefined;
1034
1232
  publishDescription?: string | undefined;
1035
1233
  useLocationCreditOnly?: boolean | undefined;
@@ -1040,6 +1238,7 @@ export declare const UpdateLocationBodySchema: z.ZodObject<{
1040
1238
  visibility?: "private" | "public" | "publish" | undefined;
1041
1239
  hashtags?: string[] | undefined;
1042
1240
  isSensitive?: boolean | undefined;
1241
+ overrideAgentLlmLevel?: "FREE" | "LOW" | "MEDIUM" | "HIGH" | null | undefined;
1043
1242
  maxUsers?: number | undefined;
1044
1243
  publishDescription?: string | undefined;
1045
1244
  useLocationCreditOnly?: boolean | undefined;
@@ -1052,6 +1251,29 @@ export interface UpdateLocationResponseDto {
1052
1251
  success: boolean;
1053
1252
  error?: string;
1054
1253
  }
1254
+ export declare const UpdateLocationCanvasParamsSchema: z.ZodObject<{
1255
+ locationId: z.ZodBigInt;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ locationId: bigint;
1258
+ }, {
1259
+ locationId: bigint;
1260
+ }>;
1261
+ export type UpdateLocationCanvasParamsDto = z.infer<typeof UpdateLocationCanvasParamsSchema>;
1262
+ export declare const UpdateLocationCanvasBodySchema: z.ZodObject<{
1263
+ name: z.ZodString;
1264
+ text: z.ZodString;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ name: string;
1267
+ text: string;
1268
+ }, {
1269
+ name: string;
1270
+ text: string;
1271
+ }>;
1272
+ export type UpdateLocationCanvasBodyDto = z.infer<typeof UpdateLocationCanvasBodySchema>;
1273
+ export interface UpdateLocationCanvasResponseDto {
1274
+ success: boolean;
1275
+ error?: string;
1276
+ }
1055
1277
  export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
1056
1278
  locationId: z.ZodBigInt;
1057
1279
  }, "strip", z.ZodTypeAny, {
@@ -1268,15 +1490,15 @@ export declare const SendLocationMessageSchema: z.ZodObject<{
1268
1490
  }, "strip", z.ZodTypeAny, {
1269
1491
  locationId: bigint;
1270
1492
  message?: string | undefined;
1271
- action?: string | undefined;
1272
1493
  image?: string | undefined;
1494
+ action?: string | undefined;
1273
1495
  creditAmount?: number | undefined;
1274
1496
  paidCreditOnly?: boolean | undefined;
1275
1497
  }, {
1276
1498
  locationId: bigint;
1277
1499
  message?: string | undefined;
1278
- action?: string | undefined;
1279
1500
  image?: string | undefined;
1501
+ action?: string | undefined;
1280
1502
  creditAmount?: number | undefined;
1281
1503
  paidCreditOnly?: boolean | undefined;
1282
1504
  }>;
@@ -1329,6 +1551,16 @@ export declare const UpdateLocationRenderingSchema: z.ZodObject<{
1329
1551
  export type UpdateLocationRenderingDto = z.infer<typeof UpdateLocationRenderingSchema>;
1330
1552
  export interface UpdateLocationRenderingResponseDto {
1331
1553
  }
1554
+ export declare const GenerateLocationSuggestedResponsesSchema: z.ZodObject<{
1555
+ locationId: z.ZodBigInt;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ locationId: bigint;
1558
+ }, {
1559
+ locationId: bigint;
1560
+ }>;
1561
+ export type GenerateLocationSuggestedResponsesDto = z.infer<typeof GenerateLocationSuggestedResponsesSchema>;
1562
+ export interface GenerateLocationSuggestedResponsesResponseDto {
1563
+ }
1332
1564
  export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
1333
1565
  locationId: z.ZodBigInt;
1334
1566
  agentId: z.ZodBigInt;