@little-samo/samo-ai-sdk 0.1.4 → 0.1.5-rv1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/dto/entities/agents/agent.d.ts +1 -0
  2. package/dist/dto/entities/agents/agent.requests.d.ts +458 -62
  3. package/dist/dto/entities/agents/agent.requests.js +9 -12
  4. package/dist/dto/entities/agents/agent.requests.js.map +1 -1
  5. package/dist/dto/entities/gimmicks/gimmick.config.d.ts +8 -0
  6. package/dist/dto/entities/gimmicks/gimmick.config.js +11 -0
  7. package/dist/dto/entities/gimmicks/gimmick.config.js.map +1 -0
  8. package/dist/dto/entities/gimmicks/gimmick.d.ts +10 -2
  9. package/dist/dto/entities/gimmicks/index.d.ts +1 -0
  10. package/dist/dto/entities/gimmicks/index.js +1 -0
  11. package/dist/dto/entities/gimmicks/index.js.map +1 -1
  12. package/dist/dto/entities/users/user.requests.d.ts +5 -0
  13. package/dist/dto/entities/users/user.requests.js +2 -1
  14. package/dist/dto/entities/users/user.requests.js.map +1 -1
  15. package/dist/dto/items/item.d.ts +5 -1
  16. package/dist/dto/locations/location.d.ts +17 -3
  17. package/dist/dto/locations/location.events.d.ts +7 -1
  18. package/dist/dto/locations/location.events.js +1 -0
  19. package/dist/dto/locations/location.events.js.map +1 -1
  20. package/dist/dto/locations/location.requests.d.ts +471 -76
  21. package/dist/dto/locations/location.requests.js +77 -9
  22. package/dist/dto/locations/location.requests.js.map +1 -1
  23. package/dist/models/entities/agents/agent.config.d.ts +221 -8
  24. package/dist/models/entities/agents/agent.config.js +112 -30
  25. package/dist/models/entities/agents/agent.config.js.map +1 -1
  26. package/dist/models/locations/location.config.d.ts +85 -24
  27. package/dist/models/locations/location.config.js +45 -21
  28. package/dist/models/locations/location.config.js.map +1 -1
  29. package/dist/models/locations/location.constants.d.ts +1 -2
  30. package/dist/models/locations/location.constants.js +1 -2
  31. package/dist/models/locations/location.constants.js.map +1 -1
  32. package/package.json +3 -3
@@ -14,8 +14,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
14
14
  limit: number;
15
15
  cursor?: string | undefined;
16
16
  }, {
17
- limit?: number | undefined;
18
17
  cursor?: string | undefined;
18
+ limit?: number | undefined;
19
19
  }>;
20
20
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
21
21
  export interface UserLocationsResponseDto {
@@ -25,6 +25,31 @@ export interface UserLocationsResponseDto {
25
25
  nextCursor?: string;
26
26
  };
27
27
  }
28
+ export declare const PublishedLocationsQuerySchema: z.ZodObject<{
29
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
30
+ limit: z.ZodDefault<z.ZodNumber>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ limit: number;
33
+ page: number;
34
+ }, {
35
+ limit?: number | undefined;
36
+ page?: number | undefined;
37
+ }>;
38
+ export type PublishedLocationsQueryDto = z.infer<typeof PublishedLocationsQuerySchema>;
39
+ export interface PublishedLocationsResponseDto {
40
+ locations: LocationListItemDto[];
41
+ meta: {
42
+ total: number;
43
+ page: number;
44
+ limit: number;
45
+ totalPages: number;
46
+ };
47
+ }
48
+ export declare const TrendingLocationsQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
49
+ export type TrendingLocationsQueryDto = z.infer<typeof TrendingLocationsQuerySchema>;
50
+ export interface TrendingLocationsResponseDto {
51
+ locations: LocationListItemDto[];
52
+ }
28
53
  export declare const LocationsUnreadCountQuerySchema: z.ZodObject<{
29
54
  locationIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
30
55
  }, "strip", z.ZodTypeAny, {
@@ -45,17 +70,20 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
45
70
  locationId: z.ZodBigInt;
46
71
  config: z.ZodObject<{
47
72
  name: z.ZodOptional<z.ZodString>;
48
- thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>>;
73
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
74
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
50
75
  core: z.ZodOptional<z.ZodObject<{
51
- name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
76
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
52
77
  sequential: z.ZodOptional<z.ZodBoolean>;
78
+ interval: z.ZodOptional<z.ZodNumber>;
53
79
  }, "strip", z.ZodTypeAny, {
54
- name: "round_robin" | "update_forever" | "update_once";
80
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
55
81
  sequential?: boolean | undefined;
82
+ interval?: number | undefined;
56
83
  }, {
57
- name: "round_robin" | "update_forever" | "update_once";
84
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
58
85
  sequential?: boolean | undefined;
86
+ interval?: number | undefined;
59
87
  }>>;
60
88
  description: z.ZodOptional<z.ZodString>;
61
89
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -86,28 +114,47 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
86
114
  maxLength: number;
87
115
  }>, "many">>;
88
116
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
117
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
90
118
  name: z.ZodString;
91
119
  appearance: z.ZodString;
120
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
+ url: z.ZodUnion<[z.ZodString, z.ZodString]>;
122
+ description: z.ZodString;
123
+ }, "strip", z.ZodTypeAny, {
124
+ description: string;
125
+ url: string;
126
+ }, {
127
+ description: string;
128
+ url: string;
129
+ }>, "many">>;
92
130
  }, "strip", z.ZodTypeAny, {
93
131
  name: string;
132
+ core: "web_search" | "image_generator" | "notion";
94
133
  appearance: string;
95
- core: "x_twitter" | "notion" | "web_search";
134
+ images?: {
135
+ description: string;
136
+ url: string;
137
+ }[] | undefined;
96
138
  }, {
97
139
  name: string;
140
+ core: "web_search" | "image_generator" | "notion";
98
141
  appearance: string;
99
- core: "x_twitter" | "notion" | "web_search";
142
+ images?: {
143
+ description: string;
144
+ url: string;
145
+ }[] | undefined;
100
146
  }>, "many">>;
101
147
  }, "strict", z.ZodTypeAny, {
102
148
  name?: string | undefined;
103
149
  description?: string | undefined;
104
150
  core?: {
105
- name: "round_robin" | "update_forever" | "update_once";
151
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
106
152
  sequential?: boolean | undefined;
153
+ interval?: number | undefined;
107
154
  } | undefined;
108
- rules?: string[] | undefined;
109
155
  thumbnail?: string | null | undefined;
110
- environment?: "CHAT" | undefined;
156
+ environment?: "CHAT" | "NOVEL" | undefined;
157
+ rules?: string[] | undefined;
111
158
  canvases?: {
112
159
  name: string;
113
160
  description: string;
@@ -120,19 +167,24 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
120
167
  }[] | undefined;
121
168
  gimmicks?: {
122
169
  name: string;
170
+ core: "web_search" | "image_generator" | "notion";
123
171
  appearance: string;
124
- core: "x_twitter" | "notion" | "web_search";
172
+ images?: {
173
+ description: string;
174
+ url: string;
175
+ }[] | undefined;
125
176
  }[] | undefined;
126
177
  }, {
127
178
  name?: string | undefined;
128
179
  description?: string | undefined;
129
180
  core?: {
130
- name: "round_robin" | "update_forever" | "update_once";
181
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
131
182
  sequential?: boolean | undefined;
183
+ interval?: number | undefined;
132
184
  } | undefined;
133
- rules?: string[] | undefined;
134
185
  thumbnail?: string | null | undefined;
135
- environment?: "CHAT" | undefined;
186
+ environment?: "CHAT" | "NOVEL" | undefined;
187
+ rules?: string[] | undefined;
136
188
  canvases?: {
137
189
  name: string;
138
190
  description: string;
@@ -145,21 +197,27 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
145
197
  }[] | undefined;
146
198
  gimmicks?: {
147
199
  name: string;
200
+ core: "web_search" | "image_generator" | "notion";
148
201
  appearance: string;
149
- core: "x_twitter" | "notion" | "web_search";
202
+ images?: {
203
+ description: string;
204
+ url: string;
205
+ }[] | undefined;
150
206
  }[] | undefined;
151
207
  }>;
152
208
  }, "strip", z.ZodTypeAny, {
209
+ locationId: bigint;
153
210
  config: {
154
211
  name?: string | undefined;
155
212
  description?: string | undefined;
156
213
  core?: {
157
- name: "round_robin" | "update_forever" | "update_once";
214
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
158
215
  sequential?: boolean | undefined;
216
+ interval?: number | undefined;
159
217
  } | undefined;
160
- rules?: string[] | undefined;
161
218
  thumbnail?: string | null | undefined;
162
- environment?: "CHAT" | undefined;
219
+ environment?: "CHAT" | "NOVEL" | undefined;
220
+ rules?: string[] | undefined;
163
221
  canvases?: {
164
222
  name: string;
165
223
  description: string;
@@ -172,22 +230,27 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
172
230
  }[] | undefined;
173
231
  gimmicks?: {
174
232
  name: string;
233
+ core: "web_search" | "image_generator" | "notion";
175
234
  appearance: string;
176
- core: "x_twitter" | "notion" | "web_search";
235
+ images?: {
236
+ description: string;
237
+ url: string;
238
+ }[] | undefined;
177
239
  }[] | undefined;
178
240
  };
179
- locationId: bigint;
180
241
  }, {
242
+ locationId: bigint;
181
243
  config: {
182
244
  name?: string | undefined;
183
245
  description?: string | undefined;
184
246
  core?: {
185
- name: "round_robin" | "update_forever" | "update_once";
247
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
186
248
  sequential?: boolean | undefined;
249
+ interval?: number | undefined;
187
250
  } | undefined;
188
- rules?: string[] | undefined;
189
251
  thumbnail?: string | null | undefined;
190
- environment?: "CHAT" | undefined;
252
+ environment?: "CHAT" | "NOVEL" | undefined;
253
+ rules?: string[] | undefined;
191
254
  canvases?: {
192
255
  name: string;
193
256
  description: string;
@@ -200,31 +263,28 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
200
263
  }[] | undefined;
201
264
  gimmicks?: {
202
265
  name: string;
266
+ core: "web_search" | "image_generator" | "notion";
203
267
  appearance: string;
204
- core: "x_twitter" | "notion" | "web_search";
268
+ images?: {
269
+ description: string;
270
+ url: string;
271
+ }[] | undefined;
205
272
  }[] | undefined;
206
273
  };
207
- locationId: bigint;
208
274
  }>;
209
275
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
210
276
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
211
277
  export declare const LocationUpdateCredentialSchema: z.ZodObject<{
212
278
  locationId: z.ZodBigInt;
213
279
  credential: z.ZodUnion<[z.ZodObject<{
214
- type: z.ZodLiteral<"x_twitter">;
215
- email: z.ZodString;
216
- password: z.ZodString;
217
- username: z.ZodString;
280
+ type: z.ZodLiteral<"notion">;
281
+ token: z.ZodString;
218
282
  }, "strip", z.ZodTypeAny, {
219
- type: "x_twitter";
220
- email: string;
221
- password: string;
222
- username: string;
283
+ type: "notion";
284
+ token: string;
223
285
  }, {
224
- type: "x_twitter";
225
- email: string;
226
- password: string;
227
- username: string;
286
+ type: "notion";
287
+ token: string;
228
288
  }>, z.ZodObject<{
229
289
  type: z.ZodLiteral<"notion">;
230
290
  token: z.ZodString;
@@ -236,27 +296,23 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
236
296
  token: string;
237
297
  }>]>;
238
298
  }, "strip", z.ZodTypeAny, {
299
+ locationId: bigint;
239
300
  credential: {
240
- type: "x_twitter";
241
- email: string;
242
- password: string;
243
- username: string;
301
+ type: "notion";
302
+ token: string;
244
303
  } | {
245
304
  type: "notion";
246
305
  token: string;
247
306
  };
248
- locationId: bigint;
249
307
  }, {
308
+ locationId: bigint;
250
309
  credential: {
251
- type: "x_twitter";
252
- email: string;
253
- password: string;
254
- username: string;
310
+ type: "notion";
311
+ token: string;
255
312
  } | {
256
313
  type: "notion";
257
314
  token: string;
258
315
  };
259
- locationId: bigint;
260
316
  }>;
261
317
  export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
262
318
  export interface LocationUpdateCredentialResponseDto {
@@ -267,11 +323,11 @@ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
267
323
  locationId: z.ZodBigInt;
268
324
  credentialType: z.ZodString;
269
325
  }, "strip", z.ZodTypeAny, {
270
- credentialType: string;
271
326
  locationId: bigint;
272
- }, {
273
327
  credentialType: string;
328
+ }, {
274
329
  locationId: bigint;
330
+ credentialType: string;
275
331
  }>;
276
332
  export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
277
333
  export interface LocationDeleteCredentialResponseDto {
@@ -282,11 +338,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
282
338
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
283
339
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
284
340
  }, "strip", z.ZodTypeAny, {
285
- page: number;
286
341
  limit: number;
342
+ page: number;
287
343
  }, {
288
- page?: number | undefined;
289
344
  limit?: number | undefined;
345
+ page?: number | undefined;
290
346
  }>;
291
347
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
292
348
  export interface LocationPresetsPaginatedResponseDto {
@@ -299,19 +355,212 @@ export interface LocationPresetsPaginatedResponseDto {
299
355
  };
300
356
  }
301
357
  export declare const CreateLocationSchema: z.ZodObject<{
302
- name: z.ZodString;
303
- description: z.ZodString;
358
+ config: z.ZodObject<{
359
+ name: z.ZodOptional<z.ZodString>;
360
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
361
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"NOVEL">]>>;
362
+ core: z.ZodOptional<z.ZodObject<{
363
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
364
+ sequential: z.ZodOptional<z.ZodBoolean>;
365
+ interval: z.ZodOptional<z.ZodNumber>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
368
+ sequential?: boolean | undefined;
369
+ interval?: number | undefined;
370
+ }, {
371
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
372
+ sequential?: boolean | undefined;
373
+ interval?: number | undefined;
374
+ }>>;
375
+ description: z.ZodOptional<z.ZodString>;
376
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
377
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ name: z.ZodString;
379
+ description: z.ZodString;
380
+ maxLength: z.ZodNumber;
381
+ }, "strip", z.ZodTypeAny, {
382
+ name: string;
383
+ description: string;
384
+ maxLength: number;
385
+ }, {
386
+ name: string;
387
+ description: string;
388
+ maxLength: number;
389
+ }>, "many">>;
390
+ agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
391
+ name: z.ZodString;
392
+ description: z.ZodString;
393
+ maxLength: z.ZodNumber;
394
+ }, "strip", z.ZodTypeAny, {
395
+ name: string;
396
+ description: string;
397
+ maxLength: number;
398
+ }, {
399
+ name: string;
400
+ description: string;
401
+ maxLength: number;
402
+ }>, "many">>;
403
+ gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
404
+ core: z.ZodUnion<[z.ZodLiteral<"web_search" | "image_generator" | "notion">, z.ZodLiteral<"web_search" | "image_generator" | "notion">, ...z.ZodLiteral<"web_search" | "image_generator" | "notion">[]]>;
405
+ name: z.ZodString;
406
+ appearance: z.ZodString;
407
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
408
+ url: z.ZodUnion<[z.ZodString, z.ZodString]>;
409
+ description: z.ZodString;
410
+ }, "strip", z.ZodTypeAny, {
411
+ description: string;
412
+ url: string;
413
+ }, {
414
+ description: string;
415
+ url: string;
416
+ }>, "many">>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ name: string;
419
+ core: "web_search" | "image_generator" | "notion";
420
+ appearance: string;
421
+ images?: {
422
+ description: string;
423
+ url: string;
424
+ }[] | undefined;
425
+ }, {
426
+ name: string;
427
+ core: "web_search" | "image_generator" | "notion";
428
+ appearance: string;
429
+ images?: {
430
+ description: string;
431
+ url: string;
432
+ }[] | undefined;
433
+ }>, "many">>;
434
+ }, "strict", z.ZodTypeAny, {
435
+ name?: string | undefined;
436
+ description?: string | undefined;
437
+ core?: {
438
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
439
+ sequential?: boolean | undefined;
440
+ interval?: number | undefined;
441
+ } | undefined;
442
+ thumbnail?: string | null | undefined;
443
+ environment?: "CHAT" | "NOVEL" | undefined;
444
+ rules?: string[] | undefined;
445
+ canvases?: {
446
+ name: string;
447
+ description: string;
448
+ maxLength: number;
449
+ }[] | undefined;
450
+ agentCanvases?: {
451
+ name: string;
452
+ description: string;
453
+ maxLength: number;
454
+ }[] | undefined;
455
+ gimmicks?: {
456
+ name: string;
457
+ core: "web_search" | "image_generator" | "notion";
458
+ appearance: string;
459
+ images?: {
460
+ description: string;
461
+ url: string;
462
+ }[] | undefined;
463
+ }[] | undefined;
464
+ }, {
465
+ name?: string | undefined;
466
+ description?: string | undefined;
467
+ core?: {
468
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
469
+ sequential?: boolean | undefined;
470
+ interval?: number | undefined;
471
+ } | undefined;
472
+ thumbnail?: string | null | undefined;
473
+ environment?: "CHAT" | "NOVEL" | undefined;
474
+ rules?: string[] | undefined;
475
+ canvases?: {
476
+ name: string;
477
+ description: string;
478
+ maxLength: number;
479
+ }[] | undefined;
480
+ agentCanvases?: {
481
+ name: string;
482
+ description: string;
483
+ maxLength: number;
484
+ }[] | undefined;
485
+ gimmicks?: {
486
+ name: string;
487
+ core: "web_search" | "image_generator" | "notion";
488
+ appearance: string;
489
+ images?: {
490
+ description: string;
491
+ url: string;
492
+ }[] | undefined;
493
+ }[] | undefined;
494
+ }>;
304
495
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
305
496
  readonly API: "API";
306
497
  readonly MINIMO: "MINIMO";
307
498
  }>>>;
308
499
  }, "strip", z.ZodTypeAny, {
309
- name: string;
310
- description: string;
500
+ config: {
501
+ name?: string | undefined;
502
+ description?: string | undefined;
503
+ core?: {
504
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
505
+ sequential?: boolean | undefined;
506
+ interval?: number | undefined;
507
+ } | undefined;
508
+ thumbnail?: string | null | undefined;
509
+ environment?: "CHAT" | "NOVEL" | undefined;
510
+ rules?: string[] | undefined;
511
+ canvases?: {
512
+ name: string;
513
+ description: string;
514
+ maxLength: number;
515
+ }[] | undefined;
516
+ agentCanvases?: {
517
+ name: string;
518
+ description: string;
519
+ maxLength: number;
520
+ }[] | undefined;
521
+ gimmicks?: {
522
+ name: string;
523
+ core: "web_search" | "image_generator" | "notion";
524
+ appearance: string;
525
+ images?: {
526
+ description: string;
527
+ url: string;
528
+ }[] | undefined;
529
+ }[] | undefined;
530
+ };
311
531
  platform: "API" | "MINIMO";
312
532
  }, {
313
- name: string;
314
- description: string;
533
+ config: {
534
+ name?: string | undefined;
535
+ description?: string | undefined;
536
+ core?: {
537
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
538
+ sequential?: boolean | undefined;
539
+ interval?: number | undefined;
540
+ } | undefined;
541
+ thumbnail?: string | null | undefined;
542
+ environment?: "CHAT" | "NOVEL" | undefined;
543
+ rules?: string[] | undefined;
544
+ canvases?: {
545
+ name: string;
546
+ description: string;
547
+ maxLength: number;
548
+ }[] | undefined;
549
+ agentCanvases?: {
550
+ name: string;
551
+ description: string;
552
+ maxLength: number;
553
+ }[] | undefined;
554
+ gimmicks?: {
555
+ name: string;
556
+ core: "web_search" | "image_generator" | "notion";
557
+ appearance: string;
558
+ images?: {
559
+ description: string;
560
+ url: string;
561
+ }[] | undefined;
562
+ }[] | undefined;
563
+ };
315
564
  platform?: "API" | "MINIMO" | undefined;
316
565
  }>;
317
566
  export type CreateLocationDto = z.infer<typeof CreateLocationSchema>;
@@ -325,8 +574,8 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
325
574
  readonly MINIMO: "MINIMO";
326
575
  }>>>;
327
576
  }, "strip", z.ZodTypeAny, {
328
- presetId: bigint;
329
577
  platform: "API" | "MINIMO";
578
+ presetId: bigint;
330
579
  }, {
331
580
  presetId: bigint;
332
581
  platform?: "API" | "MINIMO" | undefined;
@@ -349,15 +598,49 @@ export type GetHelperLocationDto = z.infer<typeof GetHelperLocationQuerySchema>;
349
598
  export interface GetHelperLocationResponseDto {
350
599
  location: LocationPrivateDto;
351
600
  }
352
- export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
601
+ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
353
602
  agentId: z.ZodBigInt;
354
603
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
355
604
  readonly API: "API";
356
605
  readonly MINIMO: "MINIMO";
357
606
  }>>>;
358
607
  }, "strip", z.ZodTypeAny, {
608
+ platform: "API" | "MINIMO";
609
+ agentId: bigint;
610
+ }, {
359
611
  agentId: bigint;
612
+ platform?: "API" | "MINIMO" | undefined;
613
+ }>;
614
+ export type GetAgentHelperLocationDto = z.infer<typeof GetAgentHelperLocationQuerySchema>;
615
+ export interface GetAgentHelperLocationResponseDto {
616
+ location: LocationPrivateDto;
617
+ }
618
+ export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
619
+ locationId: z.ZodBigInt;
620
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
621
+ readonly API: "API";
622
+ readonly MINIMO: "MINIMO";
623
+ }>>>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ locationId: bigint;
626
+ platform: "API" | "MINIMO";
627
+ }, {
628
+ locationId: bigint;
629
+ platform?: "API" | "MINIMO" | undefined;
630
+ }>;
631
+ export type GetLocationHelperLocationDto = z.infer<typeof GetLocationHelperLocationQuerySchema>;
632
+ export interface GetLocationHelperLocationResponseDto {
633
+ location: LocationPrivateDto;
634
+ }
635
+ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
636
+ agentId: z.ZodBigInt;
637
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
638
+ readonly API: "API";
639
+ readonly MINIMO: "MINIMO";
640
+ }>>>;
641
+ }, "strip", z.ZodTypeAny, {
360
642
  platform: "API" | "MINIMO";
643
+ agentId: bigint;
361
644
  }, {
362
645
  agentId: bigint;
363
646
  platform?: "API" | "MINIMO" | undefined;
@@ -377,6 +660,18 @@ export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
377
660
  export interface GetLocationResponseDto {
378
661
  location: LocationListItemDto;
379
662
  }
663
+ export declare const DeleteLocationParamsSchema: z.ZodObject<{
664
+ locationId: z.ZodBigInt;
665
+ }, "strip", z.ZodTypeAny, {
666
+ locationId: bigint;
667
+ }, {
668
+ locationId: bigint;
669
+ }>;
670
+ export type DeleteLocationParamsDto = z.infer<typeof DeleteLocationParamsSchema>;
671
+ export interface DeleteLocationResponseDto {
672
+ success: boolean;
673
+ error?: string;
674
+ }
380
675
  export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
381
676
  locationId: z.ZodBigInt;
382
677
  }, "strip", z.ZodTypeAny, {
@@ -410,28 +705,56 @@ export type UploadLocationThumbnailParamsDto = z.infer<typeof UploadLocationThum
410
705
  export interface UploadLocationThumbnailResponseDto {
411
706
  thumbnailUrl: string;
412
707
  }
413
- export declare const DeleteLocationParamsSchema: z.ZodObject<{
708
+ export declare const GetLocationContentParamsSchema: z.ZodObject<{
414
709
  locationId: z.ZodBigInt;
415
710
  }, "strip", z.ZodTypeAny, {
416
711
  locationId: bigint;
417
712
  }, {
418
713
  locationId: bigint;
419
714
  }>;
420
- export type DeleteLocationParamsDto = z.infer<typeof DeleteLocationParamsSchema>;
421
- export interface DeleteLocationResponseDto {
715
+ export type GetLocationContentParamsDto = z.infer<typeof GetLocationContentParamsSchema>;
716
+ export interface GetLocationContentResponseDto {
717
+ content: LocationContentDto;
718
+ }
719
+ export declare const DepositCreditsParamsSchema: z.ZodObject<{
720
+ locationId: z.ZodBigInt;
721
+ }, "strip", z.ZodTypeAny, {
722
+ locationId: bigint;
723
+ }, {
724
+ locationId: bigint;
725
+ }>;
726
+ export type DepositCreditsParamsDto = z.infer<typeof DepositCreditsParamsSchema>;
727
+ export declare const DepositCreditsBodySchema: z.ZodObject<{
728
+ amount: z.ZodNumber;
729
+ }, "strip", z.ZodTypeAny, {
730
+ amount: number;
731
+ }, {
732
+ amount: number;
733
+ }>;
734
+ export type DepositCreditsBodyDto = z.infer<typeof DepositCreditsBodySchema>;
735
+ export interface DepositCreditsResponseDto {
422
736
  success: boolean;
423
737
  error?: string;
424
738
  }
425
- export declare const GetLocationContentParamsSchema: z.ZodObject<{
739
+ export declare const WithdrawCreditsParamsSchema: z.ZodObject<{
426
740
  locationId: z.ZodBigInt;
427
741
  }, "strip", z.ZodTypeAny, {
428
742
  locationId: bigint;
429
743
  }, {
430
744
  locationId: bigint;
431
745
  }>;
432
- export type GetLocationContentParamsDto = z.infer<typeof GetLocationContentParamsSchema>;
433
- export interface GetLocationContentResponseDto {
434
- content: LocationContentDto;
746
+ export type WithdrawCreditsParamsDto = z.infer<typeof WithdrawCreditsParamsSchema>;
747
+ export declare const WithdrawCreditsBodySchema: z.ZodObject<{
748
+ amount: z.ZodNumber;
749
+ }, "strip", z.ZodTypeAny, {
750
+ amount: number;
751
+ }, {
752
+ amount: number;
753
+ }>;
754
+ export type WithdrawCreditsBodyDto = z.infer<typeof WithdrawCreditsBodySchema>;
755
+ export interface WithdrawCreditsResponseDto {
756
+ success: boolean;
757
+ error?: string;
435
758
  }
436
759
  export declare const CreateLocationSnapshotParamsSchema: z.ZodObject<{
437
760
  locationId: z.ZodBigInt;
@@ -441,6 +764,14 @@ export declare const CreateLocationSnapshotParamsSchema: z.ZodObject<{
441
764
  locationId: bigint;
442
765
  }>;
443
766
  export type CreateLocationSnapshotParamsDto = z.infer<typeof CreateLocationSnapshotParamsSchema>;
767
+ export declare const CreateLocationSnapshotBodySchema: z.ZodObject<{
768
+ maxMessages: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ maxMessages: number;
771
+ }, {
772
+ maxMessages?: number | undefined;
773
+ }>;
774
+ export type CreateLocationSnapshotBodyDto = z.infer<typeof CreateLocationSnapshotBodySchema>;
444
775
  export interface CreateLocationSnapshotResponseDto {
445
776
  snapshotKey: string;
446
777
  }
@@ -498,11 +829,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
498
829
  locationId: z.ZodBigInt;
499
830
  agentId: z.ZodBigInt;
500
831
  }, "strip", z.ZodTypeAny, {
501
- agentId: bigint;
502
832
  locationId: bigint;
503
- }, {
504
833
  agentId: bigint;
834
+ }, {
505
835
  locationId: bigint;
836
+ agentId: bigint;
506
837
  }>;
507
838
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
508
839
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -529,13 +860,51 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
529
860
  locationId: z.ZodBigInt;
530
861
  agentId: z.ZodBigInt;
531
862
  }, "strip", z.ZodTypeAny, {
532
- agentId: bigint;
533
863
  locationId: bigint;
534
- }, {
535
864
  agentId: bigint;
865
+ }, {
536
866
  locationId: bigint;
867
+ agentId: bigint;
537
868
  }>;
538
869
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
870
+ export declare const UpdateLocationParamsSchema: z.ZodObject<{
871
+ locationId: z.ZodBigInt;
872
+ }, "strip", z.ZodTypeAny, {
873
+ locationId: bigint;
874
+ }, {
875
+ locationId: bigint;
876
+ }>;
877
+ export type UpdateLocationParamsDto = z.infer<typeof UpdateLocationParamsSchema>;
878
+ export declare const UpdateLocationBodySchema: z.ZodObject<{
879
+ visibility: z.ZodOptional<z.ZodEnum<["private", "public", "publish"]>>;
880
+ maxUsers: z.ZodOptional<z.ZodNumber>;
881
+ publishDescription: z.ZodOptional<z.ZodString>;
882
+ useLocationCreditOnly: z.ZodOptional<z.ZodBoolean>;
883
+ creditCostPerChat: z.ZodOptional<z.ZodNumber>;
884
+ chatRequiresPaidCredit: z.ZodOptional<z.ZodBoolean>;
885
+ isAdminChat: z.ZodOptional<z.ZodBoolean>;
886
+ }, "strip", z.ZodTypeAny, {
887
+ visibility?: "private" | "public" | "publish" | undefined;
888
+ maxUsers?: number | undefined;
889
+ publishDescription?: string | undefined;
890
+ useLocationCreditOnly?: boolean | undefined;
891
+ creditCostPerChat?: number | undefined;
892
+ chatRequiresPaidCredit?: boolean | undefined;
893
+ isAdminChat?: boolean | undefined;
894
+ }, {
895
+ visibility?: "private" | "public" | "publish" | undefined;
896
+ maxUsers?: number | undefined;
897
+ publishDescription?: string | undefined;
898
+ useLocationCreditOnly?: boolean | undefined;
899
+ creditCostPerChat?: number | undefined;
900
+ chatRequiresPaidCredit?: boolean | undefined;
901
+ isAdminChat?: boolean | undefined;
902
+ }>;
903
+ export type UpdateLocationBodyDto = z.infer<typeof UpdateLocationBodySchema>;
904
+ export interface UpdateLocationResponseDto {
905
+ success: boolean;
906
+ error?: string;
907
+ }
539
908
  export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
540
909
  locationId: z.ZodBigInt;
541
910
  }, "strip", z.ZodTypeAny, {
@@ -710,6 +1079,23 @@ export type UnsubscribeLocationDto = z.infer<typeof UnsubscribeLocationSchema>;
710
1079
  export interface UnsubscribeLocationResponseDto {
711
1080
  unsubscribed: boolean;
712
1081
  }
1082
+ export declare const BanUserFromLocationSchema: z.ZodObject<{
1083
+ locationId: z.ZodBigInt;
1084
+ userId: z.ZodBigInt;
1085
+ durationMs: z.ZodOptional<z.ZodNumber>;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ locationId: bigint;
1088
+ userId: bigint;
1089
+ durationMs?: number | undefined;
1090
+ }, {
1091
+ locationId: bigint;
1092
+ userId: bigint;
1093
+ durationMs?: number | undefined;
1094
+ }>;
1095
+ export type BanUserFromLocationDto = z.infer<typeof BanUserFromLocationSchema>;
1096
+ export interface BanUserFromLocationResponseDto {
1097
+ bannedUntil: Date;
1098
+ }
713
1099
  export declare const GetLocationMessagesSchema: z.ZodObject<{
714
1100
  locationId: z.ZodBigInt;
715
1101
  cursor: z.ZodOptional<z.ZodString>;
@@ -729,14 +1115,23 @@ export declare const SendLocationMessageSchema: z.ZodObject<{
729
1115
  locationId: z.ZodBigInt;
730
1116
  message: z.ZodOptional<z.ZodString>;
731
1117
  action: z.ZodOptional<z.ZodString>;
1118
+ image: z.ZodOptional<z.ZodString>;
1119
+ creditAmount: z.ZodOptional<z.ZodNumber>;
1120
+ paidCreditOnly: z.ZodOptional<z.ZodBoolean>;
732
1121
  }, "strip", z.ZodTypeAny, {
733
1122
  locationId: bigint;
734
1123
  message?: string | undefined;
735
1124
  action?: string | undefined;
1125
+ image?: string | undefined;
1126
+ creditAmount?: number | undefined;
1127
+ paidCreditOnly?: boolean | undefined;
736
1128
  }, {
737
1129
  locationId: bigint;
738
1130
  message?: string | undefined;
739
1131
  action?: string | undefined;
1132
+ image?: string | undefined;
1133
+ creditAmount?: number | undefined;
1134
+ paidCreditOnly?: boolean | undefined;
740
1135
  }>;
741
1136
  export type SendLocationMessageDto = z.infer<typeof SendLocationMessageSchema>;
742
1137
  export interface SendMessageResponseDto {
@@ -762,12 +1157,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
762
1157
  image: z.ZodString;
763
1158
  index: z.ZodOptional<z.ZodNumber>;
764
1159
  }, "strip", z.ZodTypeAny, {
765
- image: string;
766
1160
  locationId: bigint;
1161
+ image: string;
767
1162
  index?: number | undefined;
768
1163
  }, {
769
- image: string;
770
1164
  locationId: bigint;
1165
+ image: string;
771
1166
  index?: number | undefined;
772
1167
  }>;
773
1168
  export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
@@ -792,12 +1187,12 @@ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
792
1187
  agentId: z.ZodBigInt;
793
1188
  isActive: z.ZodBoolean;
794
1189
  }, "strip", z.ZodTypeAny, {
795
- agentId: bigint;
796
1190
  locationId: bigint;
1191
+ agentId: bigint;
797
1192
  isActive: boolean;
798
1193
  }, {
799
- agentId: bigint;
800
1194
  locationId: bigint;
1195
+ agentId: bigint;
801
1196
  isActive: boolean;
802
1197
  }>;
803
1198
  export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;