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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/dto/entities/agents/agent.d.ts +2 -1
  2. package/dist/dto/entities/agents/agent.requests.d.ts +44 -55
  3. package/dist/dto/entities/agents/agent.requests.js +1 -4
  4. package/dist/dto/entities/agents/agent.requests.js.map +1 -1
  5. package/dist/dto/entities/gimmicks/gimmick.config.d.ts +6 -5
  6. package/dist/dto/entities/gimmicks/gimmick.config.js +5 -4
  7. package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -1
  8. package/dist/dto/entities/users/user.requests.d.ts +7 -4
  9. package/dist/dto/entities/users/user.requests.js +1 -0
  10. package/dist/dto/entities/users/user.requests.js.map +1 -1
  11. package/dist/dto/index.d.ts +1 -0
  12. package/dist/dto/index.js +1 -0
  13. package/dist/dto/index.js.map +1 -1
  14. package/dist/dto/items/item.d.ts +4 -0
  15. package/dist/dto/locations/location.d.ts +1 -0
  16. package/dist/dto/locations/location.events.d.ts +6 -1
  17. package/dist/dto/locations/location.events.js +1 -0
  18. package/dist/dto/locations/location.events.js.map +1 -1
  19. package/dist/dto/locations/location.preset.d.ts +4 -4
  20. package/dist/dto/locations/location.preset.js +1 -4
  21. package/dist/dto/locations/location.preset.js.map +1 -1
  22. package/dist/dto/locations/location.requests.d.ts +111 -109
  23. package/dist/dto/locations/location.requests.js +8 -10
  24. package/dist/dto/locations/location.requests.js.map +1 -1
  25. package/dist/dto/storage/index.d.ts +1 -0
  26. package/dist/dto/storage/index.js +18 -0
  27. package/dist/dto/storage/index.js.map +1 -0
  28. package/dist/dto/storage/storage.requests.d.ts +20 -0
  29. package/dist/dto/storage/storage.requests.js +23 -0
  30. package/dist/dto/storage/storage.requests.js.map +1 -0
  31. package/dist/dto/upload/index.d.ts +1 -0
  32. package/dist/dto/upload/index.js +18 -0
  33. package/dist/dto/upload/index.js.map +1 -0
  34. package/dist/dto/upload/upload.requests.d.ts +8 -0
  35. package/dist/dto/upload/upload.requests.js +6 -0
  36. package/dist/dto/upload/upload.requests.js.map +1 -0
  37. package/dist/models/entities/agents/agent.config.d.ts +4 -4
  38. package/dist/models/entities/agents/agent.config.js +1 -0
  39. package/dist/models/entities/agents/agent.config.js.map +1 -1
  40. package/dist/models/locations/location.config.d.ts +24 -24
  41. package/dist/models/locations/location.config.js +8 -8
  42. package/dist/models/locations/location.config.js.map +1 -1
  43. package/package.json +1 -1
@@ -15,8 +15,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
15
15
  limit: number;
16
16
  cursor?: string | undefined;
17
17
  }, {
18
- cursor?: string | undefined;
19
18
  limit?: number | undefined;
19
+ cursor?: string | 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
- limit: number;
34
33
  page: number;
34
+ limit: number;
35
35
  }, {
36
- limit?: number | undefined;
37
36
  page?: number | undefined;
37
+ limit?: 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<"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">[]]>;
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">[]]>;
122
122
  name: z.ZodString;
123
123
  appearance: z.ZodString;
124
124
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -127,37 +127,35 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
127
127
  description: z.ZodString;
128
128
  }, "strip", z.ZodTypeAny, {
129
129
  description: string;
130
- url?: string | undefined;
131
130
  name?: string | undefined;
131
+ url?: string | undefined;
132
132
  }, {
133
133
  description: string;
134
- url?: string | undefined;
135
134
  name?: string | undefined;
135
+ url?: string | undefined;
136
136
  }>, "many">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
- name: string;
139
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
140
138
  appearance: string;
139
+ name: string;
140
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
141
141
  images?: {
142
142
  description: string;
143
- url?: string | undefined;
144
143
  name?: string | undefined;
144
+ url?: string | undefined;
145
145
  }[] | undefined;
146
146
  }, {
147
- name: string;
148
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
149
147
  appearance: string;
148
+ name: string;
149
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
150
150
  images?: {
151
151
  description: string;
152
- url?: string | undefined;
153
152
  name?: string | undefined;
153
+ url?: string | undefined;
154
154
  }[] | undefined;
155
155
  }>, "many">>;
156
156
  }, "strict", z.ZodTypeAny, {
157
157
  name?: string | undefined;
158
158
  description?: string | undefined;
159
- thumbnail?: string | null | undefined;
160
- environment?: "CHAT" | "NOVEL" | undefined;
161
159
  core?: {
162
160
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
163
161
  sequential?: boolean | undefined;
@@ -165,6 +163,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
165
163
  maxAgentExecutions?: number | null | undefined;
166
164
  } | undefined;
167
165
  rules?: string[] | undefined;
166
+ thumbnail?: string | null | undefined;
167
+ environment?: "CHAT" | "NOVEL" | undefined;
168
168
  canvases?: {
169
169
  name: string;
170
170
  description: string;
@@ -176,20 +176,18 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
176
176
  maxLength: number;
177
177
  }[] | undefined;
178
178
  gimmicks?: {
179
- name: string;
180
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
181
179
  appearance: string;
180
+ name: string;
181
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
182
182
  images?: {
183
183
  description: string;
184
- url?: string | undefined;
185
184
  name?: string | undefined;
185
+ url?: string | undefined;
186
186
  }[] | undefined;
187
187
  }[] | undefined;
188
188
  }, {
189
189
  name?: string | undefined;
190
190
  description?: string | undefined;
191
- thumbnail?: string | null | undefined;
192
- environment?: "CHAT" | "NOVEL" | undefined;
193
191
  core?: {
194
192
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
195
193
  sequential?: boolean | undefined;
@@ -197,6 +195,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
197
195
  maxAgentExecutions?: number | null | undefined;
198
196
  } | undefined;
199
197
  rules?: string[] | undefined;
198
+ thumbnail?: string | null | undefined;
199
+ environment?: "CHAT" | "NOVEL" | undefined;
200
200
  canvases?: {
201
201
  name: string;
202
202
  description: string;
@@ -208,23 +208,20 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
208
208
  maxLength: number;
209
209
  }[] | undefined;
210
210
  gimmicks?: {
211
- name: string;
212
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
213
211
  appearance: string;
212
+ name: string;
213
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
214
214
  images?: {
215
215
  description: string;
216
- url?: string | undefined;
217
216
  name?: string | undefined;
217
+ url?: string | undefined;
218
218
  }[] | undefined;
219
219
  }[] | undefined;
220
220
  }>;
221
221
  }, "strip", z.ZodTypeAny, {
222
- locationId: bigint;
223
222
  config: {
224
223
  name?: string | undefined;
225
224
  description?: string | undefined;
226
- thumbnail?: string | null | undefined;
227
- environment?: "CHAT" | "NOVEL" | undefined;
228
225
  core?: {
229
226
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
230
227
  sequential?: boolean | undefined;
@@ -232,6 +229,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
232
229
  maxAgentExecutions?: number | null | undefined;
233
230
  } | undefined;
234
231
  rules?: string[] | undefined;
232
+ thumbnail?: string | null | undefined;
233
+ environment?: "CHAT" | "NOVEL" | undefined;
235
234
  canvases?: {
236
235
  name: string;
237
236
  description: string;
@@ -243,23 +242,21 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
243
242
  maxLength: number;
244
243
  }[] | undefined;
245
244
  gimmicks?: {
246
- name: string;
247
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
248
245
  appearance: string;
246
+ name: string;
247
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
249
248
  images?: {
250
249
  description: string;
251
- url?: string | undefined;
252
250
  name?: string | undefined;
251
+ url?: string | undefined;
253
252
  }[] | undefined;
254
253
  }[] | undefined;
255
254
  };
256
- }, {
257
255
  locationId: bigint;
256
+ }, {
258
257
  config: {
259
258
  name?: string | undefined;
260
259
  description?: string | undefined;
261
- thumbnail?: string | null | undefined;
262
- environment?: "CHAT" | "NOVEL" | undefined;
263
260
  core?: {
264
261
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
265
262
  sequential?: boolean | undefined;
@@ -267,6 +264,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
267
264
  maxAgentExecutions?: number | null | undefined;
268
265
  } | undefined;
269
266
  rules?: string[] | undefined;
267
+ thumbnail?: string | null | undefined;
268
+ environment?: "CHAT" | "NOVEL" | undefined;
270
269
  canvases?: {
271
270
  name: string;
272
271
  description: string;
@@ -278,16 +277,17 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
278
277
  maxLength: number;
279
278
  }[] | undefined;
280
279
  gimmicks?: {
281
- name: string;
282
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
283
280
  appearance: string;
281
+ name: string;
282
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
284
283
  images?: {
285
284
  description: string;
286
- url?: string | undefined;
287
285
  name?: string | undefined;
286
+ url?: string | undefined;
288
287
  }[] | undefined;
289
288
  }[] | undefined;
290
289
  };
290
+ locationId: bigint;
291
291
  }>;
292
292
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
293
293
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
@@ -313,7 +313,6 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
313
313
  token: string;
314
314
  }>]>;
315
315
  }, "strip", z.ZodTypeAny, {
316
- locationId: bigint;
317
316
  credential: {
318
317
  type: "notion";
319
318
  token: string;
@@ -321,8 +320,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
321
320
  type: "notion";
322
321
  token: string;
323
322
  };
324
- }, {
325
323
  locationId: bigint;
324
+ }, {
326
325
  credential: {
327
326
  type: "notion";
328
327
  token: string;
@@ -330,6 +329,7 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
330
329
  type: "notion";
331
330
  token: string;
332
331
  };
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
- locationId: bigint;
344
343
  credentialType: string;
345
- }, {
346
344
  locationId: bigint;
345
+ }, {
347
346
  credentialType: string;
347
+ locationId: bigint;
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
- limit: number;
359
358
  page: number;
359
+ limit: number;
360
360
  }, {
361
- limit?: number | undefined;
362
361
  page?: number | undefined;
362
+ limit?: 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
- limit: number;
381
380
  page: number;
381
+ limit: number;
382
382
  }, {
383
383
  type: "NOVEL";
384
- limit?: number | undefined;
385
384
  page?: number | undefined;
385
+ limit?: number | undefined;
386
386
  }>;
387
387
  export type PublishedLocationPresetsQueryDto = z.infer<typeof PublishedLocationPresetsQuerySchema>;
388
388
  export interface PublishedLocationPresetsResponseDto {
@@ -415,11 +415,11 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
415
415
  name: z.ZodString;
416
416
  text: z.ZodString;
417
417
  }, "strip", z.ZodTypeAny, {
418
- text: string;
419
418
  name: string;
420
- }, {
421
419
  text: string;
420
+ }, {
422
421
  name: string;
422
+ text: string;
423
423
  }>, "many">>;
424
424
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
425
425
  entityType: z.ZodNativeEnum<{
@@ -432,12 +432,12 @@ 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: "user" | "system" | "agent" | "gimmick";
435
+ entityType: "system" | "agent" | "user" | "gimmick";
436
436
  entityId: bigint;
437
437
  message?: string | undefined;
438
438
  image?: string | undefined;
439
439
  }, {
440
- entityType: "user" | "system" | "agent" | "gimmick";
440
+ entityType: "system" | "agent" | "user" | "gimmick";
441
441
  entityId: bigint;
442
442
  message?: string | undefined;
443
443
  image?: string | undefined;
@@ -451,12 +451,12 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
451
451
  presetShortDescription: string;
452
452
  name?: string | undefined;
453
453
  canvases?: {
454
- text: string;
455
454
  name: string;
455
+ text: string;
456
456
  }[] | undefined;
457
457
  visibility?: "private" | "public" | "publish" | undefined;
458
458
  messages?: {
459
- entityType: "user" | "system" | "agent" | "gimmick";
459
+ entityType: "system" | "agent" | "user" | "gimmick";
460
460
  entityId: bigint;
461
461
  message?: string | undefined;
462
462
  image?: string | undefined;
@@ -470,12 +470,12 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
470
470
  presetShortDescription: string;
471
471
  name?: string | undefined;
472
472
  canvases?: {
473
- text: string;
474
473
  name: string;
474
+ text: string;
475
475
  }[] | undefined;
476
476
  visibility?: "private" | "public" | "publish" | undefined;
477
477
  messages?: {
478
- entityType: "user" | "system" | "agent" | "gimmick";
478
+ entityType: "system" | "agent" | "user" | "gimmick";
479
479
  entityId: bigint;
480
480
  message?: string | undefined;
481
481
  image?: string | undefined;
@@ -510,17 +510,18 @@ export type UpdateLocationPresetParamsDto = z.infer<typeof UpdateLocationPresetP
510
510
  export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
511
511
  visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
512
512
  name: z.ZodOptional<z.ZodString>;
513
+ thumbnail: z.ZodOptional<z.ZodString>;
513
514
  presetDescription: z.ZodOptional<z.ZodString>;
514
515
  presetShortDescription: z.ZodOptional<z.ZodString>;
515
516
  canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
516
517
  name: z.ZodString;
517
518
  text: z.ZodString;
518
519
  }, "strip", z.ZodTypeAny, {
519
- text: string;
520
520
  name: string;
521
- }, {
522
521
  text: string;
522
+ }, {
523
523
  name: string;
524
+ text: string;
524
525
  }>, "many">>;
525
526
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
526
527
  entityType: z.ZodNativeEnum<{
@@ -533,12 +534,12 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
533
534
  message: z.ZodOptional<z.ZodString>;
534
535
  image: z.ZodOptional<z.ZodString>;
535
536
  }, "strip", z.ZodTypeAny, {
536
- entityType: "user" | "system" | "agent" | "gimmick";
537
+ entityType: "system" | "agent" | "user" | "gimmick";
537
538
  entityId: bigint;
538
539
  message?: string | undefined;
539
540
  image?: string | undefined;
540
541
  }, {
541
- entityType: "user" | "system" | "agent" | "gimmick";
542
+ entityType: "system" | "agent" | "user" | "gimmick";
542
543
  entityId: bigint;
543
544
  message?: string | undefined;
544
545
  image?: string | undefined;
@@ -548,15 +549,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
548
549
  isSensitive: z.ZodOptional<z.ZodBoolean>;
549
550
  }, "strip", z.ZodTypeAny, {
550
551
  name?: string | undefined;
552
+ thumbnail?: string | undefined;
551
553
  canvases?: {
552
- text: string;
553
554
  name: string;
555
+ text: string;
554
556
  }[] | undefined;
555
557
  visibility?: "private" | "public" | "publish" | undefined;
556
558
  presetDescription?: string | undefined;
557
559
  presetShortDescription?: string | undefined;
558
560
  messages?: {
559
- entityType: "user" | "system" | "agent" | "gimmick";
561
+ entityType: "system" | "agent" | "user" | "gimmick";
560
562
  entityId: bigint;
561
563
  message?: string | undefined;
562
564
  image?: string | undefined;
@@ -566,15 +568,16 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
566
568
  isSensitive?: boolean | undefined;
567
569
  }, {
568
570
  name?: string | undefined;
571
+ thumbnail?: string | undefined;
569
572
  canvases?: {
570
- text: string;
571
573
  name: string;
574
+ text: string;
572
575
  }[] | undefined;
573
576
  visibility?: "private" | "public" | "publish" | undefined;
574
577
  presetDescription?: string | undefined;
575
578
  presetShortDescription?: string | undefined;
576
579
  messages?: {
577
- entityType: "user" | "system" | "agent" | "gimmick";
580
+ entityType: "system" | "agent" | "user" | "gimmick";
578
581
  entityId: bigint;
579
582
  message?: string | undefined;
580
583
  image?: string | undefined;
@@ -640,8 +643,8 @@ export declare const GetLocationPresetLocationsParamsSchema: z.ZodObject<{
640
643
  cursor?: string | undefined;
641
644
  }, {
642
645
  presetId: bigint;
643
- cursor?: string | undefined;
644
646
  limit?: number | undefined;
647
+ cursor?: string | undefined;
645
648
  }>;
646
649
  export type GetLocationPresetLocationsParamsDto = z.infer<typeof GetLocationPresetLocationsParamsSchema>;
647
650
  export interface GetLocationPresetLocationsResponseDto {
@@ -701,7 +704,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
701
704
  maxLength: number;
702
705
  }>, "many">>;
703
706
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
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">[]]>;
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">[]]>;
705
708
  name: z.ZodString;
706
709
  appearance: z.ZodString;
707
710
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -710,37 +713,35 @@ export declare const CreateLocationSchema: z.ZodObject<{
710
713
  description: z.ZodString;
711
714
  }, "strip", z.ZodTypeAny, {
712
715
  description: string;
713
- url?: string | undefined;
714
716
  name?: string | undefined;
717
+ url?: string | undefined;
715
718
  }, {
716
719
  description: string;
717
- url?: string | undefined;
718
720
  name?: string | undefined;
721
+ url?: string | undefined;
719
722
  }>, "many">>;
720
723
  }, "strip", z.ZodTypeAny, {
721
- name: string;
722
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
723
724
  appearance: string;
725
+ name: string;
726
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
724
727
  images?: {
725
728
  description: string;
726
- url?: string | undefined;
727
729
  name?: string | undefined;
730
+ url?: string | undefined;
728
731
  }[] | undefined;
729
732
  }, {
730
- name: string;
731
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
732
733
  appearance: string;
734
+ name: string;
735
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
733
736
  images?: {
734
737
  description: string;
735
- url?: string | undefined;
736
738
  name?: string | undefined;
739
+ url?: string | undefined;
737
740
  }[] | undefined;
738
741
  }>, "many">>;
739
742
  }, "strict", z.ZodTypeAny, {
740
743
  name?: string | undefined;
741
744
  description?: string | undefined;
742
- thumbnail?: string | null | undefined;
743
- environment?: "CHAT" | "NOVEL" | undefined;
744
745
  core?: {
745
746
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
746
747
  sequential?: boolean | undefined;
@@ -748,6 +749,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
748
749
  maxAgentExecutions?: number | null | undefined;
749
750
  } | undefined;
750
751
  rules?: string[] | undefined;
752
+ thumbnail?: string | null | undefined;
753
+ environment?: "CHAT" | "NOVEL" | undefined;
751
754
  canvases?: {
752
755
  name: string;
753
756
  description: string;
@@ -759,20 +762,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
759
762
  maxLength: number;
760
763
  }[] | undefined;
761
764
  gimmicks?: {
762
- name: string;
763
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
764
765
  appearance: string;
766
+ name: string;
767
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
765
768
  images?: {
766
769
  description: string;
767
- url?: string | undefined;
768
770
  name?: string | undefined;
771
+ url?: string | undefined;
769
772
  }[] | undefined;
770
773
  }[] | undefined;
771
774
  }, {
772
775
  name?: string | undefined;
773
776
  description?: string | undefined;
774
- thumbnail?: string | null | undefined;
775
- environment?: "CHAT" | "NOVEL" | undefined;
776
777
  core?: {
777
778
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
778
779
  sequential?: boolean | undefined;
@@ -780,6 +781,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
780
781
  maxAgentExecutions?: number | null | undefined;
781
782
  } | undefined;
782
783
  rules?: string[] | undefined;
784
+ thumbnail?: string | null | undefined;
785
+ environment?: "CHAT" | "NOVEL" | undefined;
783
786
  canvases?: {
784
787
  name: string;
785
788
  description: string;
@@ -791,13 +794,13 @@ export declare const CreateLocationSchema: z.ZodObject<{
791
794
  maxLength: number;
792
795
  }[] | undefined;
793
796
  gimmicks?: {
794
- name: string;
795
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
796
797
  appearance: string;
798
+ name: string;
799
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
797
800
  images?: {
798
801
  description: string;
799
- url?: string | undefined;
800
802
  name?: string | undefined;
803
+ url?: string | undefined;
801
804
  }[] | undefined;
802
805
  }[] | undefined;
803
806
  }>;
@@ -809,8 +812,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
809
812
  config: {
810
813
  name?: string | undefined;
811
814
  description?: string | undefined;
812
- thumbnail?: string | null | undefined;
813
- environment?: "CHAT" | "NOVEL" | undefined;
814
815
  core?: {
815
816
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
816
817
  sequential?: boolean | undefined;
@@ -818,6 +819,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
818
819
  maxAgentExecutions?: number | null | undefined;
819
820
  } | undefined;
820
821
  rules?: string[] | undefined;
822
+ thumbnail?: string | null | undefined;
823
+ environment?: "CHAT" | "NOVEL" | undefined;
821
824
  canvases?: {
822
825
  name: string;
823
826
  description: string;
@@ -829,13 +832,13 @@ export declare const CreateLocationSchema: z.ZodObject<{
829
832
  maxLength: number;
830
833
  }[] | undefined;
831
834
  gimmicks?: {
832
- name: string;
833
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
834
835
  appearance: string;
836
+ name: string;
837
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
835
838
  images?: {
836
839
  description: string;
837
- url?: string | undefined;
838
840
  name?: string | undefined;
841
+ url?: string | undefined;
839
842
  }[] | undefined;
840
843
  }[] | undefined;
841
844
  };
@@ -844,8 +847,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
844
847
  config: {
845
848
  name?: string | undefined;
846
849
  description?: string | undefined;
847
- thumbnail?: string | null | undefined;
848
- environment?: "CHAT" | "NOVEL" | undefined;
849
850
  core?: {
850
851
  name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
851
852
  sequential?: boolean | undefined;
@@ -853,6 +854,8 @@ export declare const CreateLocationSchema: z.ZodObject<{
853
854
  maxAgentExecutions?: number | null | undefined;
854
855
  } | undefined;
855
856
  rules?: string[] | undefined;
857
+ thumbnail?: string | null | undefined;
858
+ environment?: "CHAT" | "NOVEL" | undefined;
856
859
  canvases?: {
857
860
  name: string;
858
861
  description: string;
@@ -864,13 +867,13 @@ export declare const CreateLocationSchema: z.ZodObject<{
864
867
  maxLength: number;
865
868
  }[] | undefined;
866
869
  gimmicks?: {
867
- name: string;
868
- core: "web_search" | "image_generator" | "character_image_generator" | "notion";
869
870
  appearance: string;
871
+ name: string;
872
+ core: "notion" | "web_search" | "image_generator" | "character_image_generator" | "scene_image_generator";
870
873
  images?: {
871
874
  description: string;
872
- url?: string | undefined;
873
875
  name?: string | undefined;
876
+ url?: string | undefined;
874
877
  }[] | undefined;
875
878
  }[] | undefined;
876
879
  };
@@ -922,8 +925,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
922
925
  readonly MINIMO: "MINIMO";
923
926
  }>>>;
924
927
  }, "strip", z.ZodTypeAny, {
925
- platform: "API" | "MINIMO";
926
928
  agentId: bigint;
929
+ platform: "API" | "MINIMO";
927
930
  }, {
928
931
  agentId: bigint;
929
932
  platform?: "API" | "MINIMO" | undefined;
@@ -956,8 +959,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
956
959
  readonly MINIMO: "MINIMO";
957
960
  }>>>;
958
961
  }, "strip", z.ZodTypeAny, {
959
- platform: "API" | "MINIMO";
960
962
  agentId: bigint;
963
+ platform: "API" | "MINIMO";
961
964
  }, {
962
965
  agentId: bigint;
963
966
  platform?: "API" | "MINIMO" | undefined;
@@ -1031,17 +1034,6 @@ export interface ResetLocationResponseDto {
1031
1034
  success: boolean;
1032
1035
  error?: string;
1033
1036
  }
1034
- export declare const UploadLocationThumbnailParamsSchema: z.ZodObject<{
1035
- locationId: z.ZodBigInt;
1036
- }, "strip", z.ZodTypeAny, {
1037
- locationId: bigint;
1038
- }, {
1039
- locationId: bigint;
1040
- }>;
1041
- export type UploadLocationThumbnailParamsDto = z.infer<typeof UploadLocationThumbnailParamsSchema>;
1042
- export interface UploadLocationThumbnailResponseDto {
1043
- thumbnailUrl: string;
1044
- }
1045
1037
  export declare const GetLocationContentParamsSchema: z.ZodObject<{
1046
1038
  locationId: z.ZodBigInt;
1047
1039
  }, "strip", z.ZodTypeAny, {
@@ -1166,11 +1158,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
1166
1158
  locationId: z.ZodBigInt;
1167
1159
  agentId: z.ZodBigInt;
1168
1160
  }, "strip", z.ZodTypeAny, {
1169
- locationId: bigint;
1170
1161
  agentId: bigint;
1171
- }, {
1172
1162
  locationId: bigint;
1163
+ }, {
1173
1164
  agentId: bigint;
1165
+ locationId: bigint;
1174
1166
  }>;
1175
1167
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
1176
1168
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -1197,11 +1189,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
1197
1189
  locationId: z.ZodBigInt;
1198
1190
  agentId: z.ZodBigInt;
1199
1191
  }, "strip", z.ZodTypeAny, {
1200
- locationId: bigint;
1201
1192
  agentId: bigint;
1202
- }, {
1203
1193
  locationId: bigint;
1194
+ }, {
1204
1195
  agentId: bigint;
1196
+ locationId: bigint;
1205
1197
  }>;
1206
1198
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
1207
1199
  export declare const UpdateLocationParamsSchema: z.ZodObject<{
@@ -1263,11 +1255,11 @@ export declare const UpdateLocationCanvasBodySchema: z.ZodObject<{
1263
1255
  name: z.ZodString;
1264
1256
  text: z.ZodString;
1265
1257
  }, "strip", z.ZodTypeAny, {
1266
- text: string;
1267
1258
  name: string;
1268
- }, {
1269
1259
  text: string;
1260
+ }, {
1270
1261
  name: string;
1262
+ text: string;
1271
1263
  }>;
1272
1264
  export type UpdateLocationCanvasBodyDto = z.infer<typeof UpdateLocationCanvasBodySchema>;
1273
1265
  export interface UpdateLocationCanvasResponseDto {
@@ -1551,17 +1543,27 @@ export declare const UpdateLocationRenderingSchema: z.ZodObject<{
1551
1543
  export type UpdateLocationRenderingDto = z.infer<typeof UpdateLocationRenderingSchema>;
1552
1544
  export interface UpdateLocationRenderingResponseDto {
1553
1545
  }
1546
+ export declare const GenerateLocationSuggestedResponsesSchema: z.ZodObject<{
1547
+ locationId: z.ZodBigInt;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ locationId: bigint;
1550
+ }, {
1551
+ locationId: bigint;
1552
+ }>;
1553
+ export type GenerateLocationSuggestedResponsesDto = z.infer<typeof GenerateLocationSuggestedResponsesSchema>;
1554
+ export interface GenerateLocationSuggestedResponsesResponseDto {
1555
+ }
1554
1556
  export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
1555
1557
  locationId: z.ZodBigInt;
1556
1558
  agentId: z.ZodBigInt;
1557
1559
  isActive: z.ZodBoolean;
1558
1560
  }, "strip", z.ZodTypeAny, {
1559
- locationId: bigint;
1560
1561
  agentId: bigint;
1562
+ locationId: bigint;
1561
1563
  isActive: boolean;
1562
1564
  }, {
1563
- locationId: bigint;
1564
1565
  agentId: bigint;
1566
+ locationId: bigint;
1565
1567
  isActive: boolean;
1566
1568
  }>;
1567
1569
  export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;