@little-samo/samo-ai-sdk 0.2.1 → 0.3.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.
@@ -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,46 +118,52 @@ 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
+ url?: string | undefined;
131
+ name?: string | undefined;
127
132
  }, {
128
133
  description: string;
129
- url: string;
134
+ url?: string | undefined;
135
+ name?: string | undefined;
130
136
  }>, "many">>;
131
137
  }, "strip", z.ZodTypeAny, {
132
138
  name: string;
133
- core: "web_search" | "image_generator" | "notion";
139
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
134
140
  appearance: string;
135
141
  images?: {
136
142
  description: string;
137
- url: string;
143
+ url?: string | undefined;
144
+ name?: string | undefined;
138
145
  }[] | undefined;
139
146
  }, {
140
147
  name: string;
141
- core: "web_search" | "image_generator" | "notion";
148
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
142
149
  appearance: string;
143
150
  images?: {
144
151
  description: string;
145
- url: string;
152
+ url?: string | undefined;
153
+ name?: string | undefined;
146
154
  }[] | undefined;
147
155
  }>, "many">>;
148
156
  }, "strict", z.ZodTypeAny, {
149
157
  name?: string | undefined;
158
+ description?: string | undefined;
150
159
  thumbnail?: string | null | undefined;
151
160
  environment?: "CHAT" | "NOVEL" | undefined;
152
161
  core?: {
153
162
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
154
163
  sequential?: boolean | undefined;
155
164
  interval?: number | undefined;
165
+ maxAgentExecutions?: number | null | undefined;
156
166
  } | undefined;
157
- description?: string | undefined;
158
167
  rules?: string[] | undefined;
159
168
  canvases?: {
160
169
  name: string;
@@ -168,23 +177,25 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
168
177
  }[] | undefined;
169
178
  gimmicks?: {
170
179
  name: string;
171
- core: "web_search" | "image_generator" | "notion";
180
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
172
181
  appearance: string;
173
182
  images?: {
174
183
  description: string;
175
- url: string;
184
+ url?: string | undefined;
185
+ name?: string | undefined;
176
186
  }[] | undefined;
177
187
  }[] | undefined;
178
188
  }, {
179
189
  name?: string | undefined;
190
+ description?: string | undefined;
180
191
  thumbnail?: string | null | undefined;
181
192
  environment?: "CHAT" | "NOVEL" | undefined;
182
193
  core?: {
183
194
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
184
195
  sequential?: boolean | undefined;
185
196
  interval?: number | undefined;
197
+ maxAgentExecutions?: number | null | undefined;
186
198
  } | undefined;
187
- description?: string | undefined;
188
199
  rules?: string[] | undefined;
189
200
  canvases?: {
190
201
  name: 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";
212
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
202
213
  appearance: string;
203
214
  images?: {
204
215
  description: string;
205
- url: string;
216
+ url?: string | undefined;
217
+ name?: string | undefined;
206
218
  }[] | undefined;
207
219
  }[] | undefined;
208
220
  }>;
@@ -210,14 +222,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
210
222
  locationId: bigint;
211
223
  config: {
212
224
  name?: string | undefined;
225
+ description?: string | undefined;
213
226
  thumbnail?: string | null | undefined;
214
227
  environment?: "CHAT" | "NOVEL" | undefined;
215
228
  core?: {
216
229
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
217
230
  sequential?: boolean | undefined;
218
231
  interval?: number | undefined;
232
+ maxAgentExecutions?: number | null | undefined;
219
233
  } | undefined;
220
- description?: string | undefined;
221
234
  rules?: string[] | undefined;
222
235
  canvases?: {
223
236
  name: 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";
247
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
235
248
  appearance: string;
236
249
  images?: {
237
250
  description: string;
238
- url: string;
251
+ url?: string | undefined;
252
+ name?: string | undefined;
239
253
  }[] | undefined;
240
254
  }[] | undefined;
241
255
  };
@@ -243,14 +257,15 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
243
257
  locationId: bigint;
244
258
  config: {
245
259
  name?: string | undefined;
260
+ description?: string | undefined;
246
261
  thumbnail?: string | null | undefined;
247
262
  environment?: "CHAT" | "NOVEL" | undefined;
248
263
  core?: {
249
264
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
250
265
  sequential?: boolean | undefined;
251
266
  interval?: number | undefined;
267
+ maxAgentExecutions?: number | null | undefined;
252
268
  } | undefined;
253
- description?: string | undefined;
254
269
  rules?: string[] | undefined;
255
270
  canvases?: {
256
271
  name: 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";
282
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
268
283
  appearance: string;
269
284
  images?: {
270
285
  description: string;
271
- url: string;
286
+ url?: string | undefined;
287
+ name?: 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
+ text: string;
419
+ name: string;
420
+ }, {
421
+ text: string;
422
+ name: 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
- entityType: "system" | "agent" | "user" | "gimmick";
435
+ entityType: "user" | "system" | "agent" | "gimmick";
374
436
  entityId: bigint;
437
+ message?: string | undefined;
438
+ image?: string | undefined;
375
439
  }, {
376
- message: string;
377
- entityType: "system" | "agent" | "user" | "gimmick";
440
+ entityType: "user" | "system" | "agent" | "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
+ text: string;
455
+ name: string;
456
+ }[] | undefined;
386
457
  visibility?: "private" | "public" | "publish" | undefined;
387
458
  messages?: {
388
- message: string;
389
- entityType: "system" | "agent" | "user" | "gimmick";
459
+ entityType: "user" | "system" | "agent" | "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
+ text: string;
474
+ name: string;
475
+ }[] | undefined;
398
476
  visibility?: "private" | "public" | "publish" | undefined;
399
477
  messages?: {
400
- message: string;
401
- entityType: "system" | "agent" | "user" | "gimmick";
478
+ entityType: "user" | "system" | "agent" | "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
+ text: string;
520
+ name: string;
521
+ }, {
522
+ text: string;
523
+ name: 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
- entityType: "system" | "agent" | "user" | "gimmick";
536
+ entityType: "user" | "system" | "agent" | "gimmick";
446
537
  entityId: bigint;
538
+ message?: string | undefined;
539
+ image?: string | undefined;
447
540
  }, {
448
- message: string;
449
- entityType: "system" | "agent" | "user" | "gimmick";
541
+ entityType: "user" | "system" | "agent" | "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
+ text: string;
553
+ name: 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
- entityType: "system" | "agent" | "user" | "gimmick";
559
+ entityType: "user" | "system" | "agent" | "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
+ text: string;
571
+ name: 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
- entityType: "system" | "agent" | "user" | "gimmick";
577
+ entityType: "user" | "system" | "agent" | "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,46 +701,52 @@ 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
+ url?: string | undefined;
714
+ name?: string | undefined;
550
715
  }, {
551
716
  description: string;
552
- url: string;
717
+ url?: string | undefined;
718
+ name?: string | undefined;
553
719
  }>, "many">>;
554
720
  }, "strip", z.ZodTypeAny, {
555
721
  name: string;
556
- core: "web_search" | "image_generator" | "notion";
722
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
557
723
  appearance: string;
558
724
  images?: {
559
725
  description: string;
560
- url: string;
726
+ url?: string | undefined;
727
+ name?: string | undefined;
561
728
  }[] | undefined;
562
729
  }, {
563
730
  name: string;
564
- core: "web_search" | "image_generator" | "notion";
731
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
565
732
  appearance: string;
566
733
  images?: {
567
734
  description: string;
568
- url: string;
735
+ url?: string | undefined;
736
+ name?: string | undefined;
569
737
  }[] | undefined;
570
738
  }>, "many">>;
571
739
  }, "strict", z.ZodTypeAny, {
572
740
  name?: string | undefined;
741
+ description?: string | undefined;
573
742
  thumbnail?: string | null | undefined;
574
743
  environment?: "CHAT" | "NOVEL" | undefined;
575
744
  core?: {
576
745
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
577
746
  sequential?: boolean | undefined;
578
747
  interval?: number | undefined;
748
+ maxAgentExecutions?: number | null | undefined;
579
749
  } | undefined;
580
- description?: string | undefined;
581
750
  rules?: string[] | undefined;
582
751
  canvases?: {
583
752
  name: string;
@@ -591,23 +760,25 @@ export declare const CreateLocationSchema: z.ZodObject<{
591
760
  }[] | undefined;
592
761
  gimmicks?: {
593
762
  name: string;
594
- core: "web_search" | "image_generator" | "notion";
763
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
595
764
  appearance: string;
596
765
  images?: {
597
766
  description: string;
598
- url: string;
767
+ url?: string | undefined;
768
+ name?: string | undefined;
599
769
  }[] | undefined;
600
770
  }[] | undefined;
601
771
  }, {
602
772
  name?: string | undefined;
773
+ description?: string | undefined;
603
774
  thumbnail?: string | null | undefined;
604
775
  environment?: "CHAT" | "NOVEL" | undefined;
605
776
  core?: {
606
777
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
607
778
  sequential?: boolean | undefined;
608
779
  interval?: number | undefined;
780
+ maxAgentExecutions?: number | null | undefined;
609
781
  } | undefined;
610
- description?: string | undefined;
611
782
  rules?: string[] | undefined;
612
783
  canvases?: {
613
784
  name: 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";
795
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
625
796
  appearance: string;
626
797
  images?: {
627
798
  description: string;
628
- url: string;
799
+ url?: string | undefined;
800
+ name?: string | undefined;
629
801
  }[] | undefined;
630
802
  }[] | undefined;
631
803
  }>;
@@ -636,14 +808,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
636
808
  }, "strip", z.ZodTypeAny, {
637
809
  config: {
638
810
  name?: string | undefined;
811
+ description?: string | undefined;
639
812
  thumbnail?: string | null | undefined;
640
813
  environment?: "CHAT" | "NOVEL" | undefined;
641
814
  core?: {
642
815
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
643
816
  sequential?: boolean | undefined;
644
817
  interval?: number | undefined;
818
+ maxAgentExecutions?: number | null | undefined;
645
819
  } | undefined;
646
- description?: string | undefined;
647
820
  rules?: string[] | undefined;
648
821
  canvases?: {
649
822
  name: 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";
833
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
661
834
  appearance: string;
662
835
  images?: {
663
836
  description: string;
664
- url: string;
837
+ url?: string | undefined;
838
+ name?: string | undefined;
665
839
  }[] | undefined;
666
840
  }[] | undefined;
667
841
  };
@@ -669,14 +843,15 @@ export declare const CreateLocationSchema: z.ZodObject<{
669
843
  }, {
670
844
  config: {
671
845
  name?: string | undefined;
846
+ description?: string | undefined;
672
847
  thumbnail?: string | null | undefined;
673
848
  environment?: "CHAT" | "NOVEL" | undefined;
674
849
  core?: {
675
850
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
676
851
  sequential?: boolean | undefined;
677
852
  interval?: number | undefined;
853
+ maxAgentExecutions?: number | null | undefined;
678
854
  } | undefined;
679
- description?: string | undefined;
680
855
  rules?: string[] | undefined;
681
856
  canvases?: {
682
857
  name: 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";
868
+ core: "web_search" | "image_generator" | "character_image_generator" | "notion";
694
869
  appearance: string;
695
870
  images?: {
696
871
  description: string;
697
- url: string;
872
+ url?: string | undefined;
873
+ name?: 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
+ text: string;
1267
+ name: string;
1268
+ }, {
1269
+ text: string;
1270
+ name: 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
  }>;
@@ -1304,12 +1526,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
1304
1526
  image: z.ZodString;
1305
1527
  index: z.ZodOptional<z.ZodNumber>;
1306
1528
  }, "strip", z.ZodTypeAny, {
1307
- locationId: bigint;
1308
1529
  image: string;
1530
+ locationId: bigint;
1309
1531
  index?: number | undefined;
1310
1532
  }, {
1311
- locationId: bigint;
1312
1533
  image: string;
1534
+ locationId: bigint;
1313
1535
  index?: number | undefined;
1314
1536
  }>;
1315
1537
  export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;