@little-samo/samo-ai-sdk 0.1.3-rv2 → 0.1.3-rv4

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.
@@ -1,7 +1,7 @@
1
1
  import { DayOfWeek } from '@little-samo/samo-ai/common';
2
2
  import { z } from 'zod';
3
3
  import { LocationConfig } from '../../models/locations/location.config';
4
- import { LocationListItemDto, LocationPrivateDto } from './location';
4
+ import { LocationContentDto, LocationListItemDto, LocationPrivateDto } from './location';
5
5
  import { LocationMessageDto } from './location.message';
6
6
  import { LocationPresetDto } from './location.preset';
7
7
  import { LocationScheduledMessageDto } from './location.scheduled-message';
@@ -12,8 +12,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
12
12
  limit: number;
13
13
  cursor?: string | undefined;
14
14
  }, {
15
- limit?: number | undefined;
16
15
  cursor?: string | undefined;
16
+ limit?: number | undefined;
17
17
  }>;
18
18
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
19
19
  export interface UserLocationsResponseDto {
@@ -23,47 +23,6 @@ export interface UserLocationsResponseDto {
23
23
  nextCursor?: string;
24
24
  };
25
25
  }
26
- export declare const GetLocationParamsSchema: z.ZodObject<{
27
- locationId: z.ZodBigInt;
28
- }, "strip", z.ZodTypeAny, {
29
- locationId: bigint;
30
- }, {
31
- locationId: bigint;
32
- }>;
33
- export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
34
- export interface GetLocationResponseDto {
35
- location: LocationListItemDto;
36
- }
37
- export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
38
- locationId: z.ZodBigInt;
39
- }, "strip", z.ZodTypeAny, {
40
- locationId: bigint;
41
- }, {
42
- locationId: bigint;
43
- }>;
44
- export type GetLocationPrivateParamsDto = z.infer<typeof GetLocationPrivateParamsSchema>;
45
- export interface GetLocationPrivateResponseDto {
46
- location: LocationPrivateDto;
47
- }
48
- export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
49
- locationId: z.ZodBigInt;
50
- }, "strip", z.ZodTypeAny, {
51
- locationId: bigint;
52
- }, {
53
- locationId: bigint;
54
- }>;
55
- export type MarkLocationAsReadParamsDto = z.infer<typeof MarkLocationAsReadParamsSchema>;
56
- export declare const LocationUnreadCountParamsSchema: z.ZodObject<{
57
- locationId: z.ZodBigInt;
58
- }, "strip", z.ZodTypeAny, {
59
- locationId: bigint;
60
- }, {
61
- locationId: bigint;
62
- }>;
63
- export type LocationUnreadCountParamsDto = z.infer<typeof LocationUnreadCountParamsSchema>;
64
- export interface LocationUnreadCountResponseDto {
65
- unreadCount: number;
66
- }
67
26
  export declare const LocationsUnreadCountQuerySchema: z.ZodObject<{
68
27
  locationIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
69
28
  }, "strip", z.ZodTypeAny, {
@@ -80,109 +39,6 @@ export interface LocationUnreadCountItemDto {
80
39
  export interface LocationsUnreadCountResponseDto {
81
40
  data: LocationUnreadCountItemDto[];
82
41
  }
83
- export declare const JoinAgentToLocationParamsSchema: z.ZodObject<{
84
- locationId: z.ZodBigInt;
85
- }, "strip", z.ZodTypeAny, {
86
- locationId: bigint;
87
- }, {
88
- locationId: bigint;
89
- }>;
90
- export type JoinAgentToLocationParamsDto = z.infer<typeof JoinAgentToLocationParamsSchema>;
91
- export declare const JoinAgentToLocationBodySchema: z.ZodObject<{
92
- agentId: z.ZodBigInt;
93
- }, "strip", z.ZodTypeAny, {
94
- agentId: bigint;
95
- }, {
96
- agentId: bigint;
97
- }>;
98
- export type JoinAgentToLocationBodyDto = z.infer<typeof JoinAgentToLocationBodySchema>;
99
- export interface JoinAgentToLocationResponseDto {
100
- agentAdded: boolean;
101
- message?: string;
102
- }
103
- export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
104
- locationId: z.ZodBigInt;
105
- agentId: z.ZodBigInt;
106
- }, "strip", z.ZodTypeAny, {
107
- agentId: bigint;
108
- locationId: bigint;
109
- }, {
110
- agentId: bigint;
111
- locationId: bigint;
112
- }>;
113
- export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
114
- export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
115
- locationId: z.ZodBigInt;
116
- }, "strip", z.ZodTypeAny, {
117
- locationId: bigint;
118
- }, {
119
- locationId: bigint;
120
- }>;
121
- export type RemoveAgentFromLocationParamsDto = z.infer<typeof RemoveAgentFromLocationParamsSchema>;
122
- export declare const RemoveAgentFromLocationBodySchema: z.ZodObject<{
123
- agentId: z.ZodBigInt;
124
- }, "strip", z.ZodTypeAny, {
125
- agentId: bigint;
126
- }, {
127
- agentId: bigint;
128
- }>;
129
- export type RemoveAgentFromLocationBodyDto = z.infer<typeof RemoveAgentFromLocationBodySchema>;
130
- export interface RemoveAgentFromLocationResponseDto {
131
- agentRemoved: boolean;
132
- message?: string;
133
- }
134
- export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
135
- locationId: z.ZodBigInt;
136
- agentId: z.ZodBigInt;
137
- }, "strip", z.ZodTypeAny, {
138
- agentId: bigint;
139
- locationId: bigint;
140
- }, {
141
- agentId: bigint;
142
- locationId: bigint;
143
- }>;
144
- export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
145
- export interface LocationMessagesResponseDto {
146
- messages: LocationMessageDto[];
147
- cursor?: string;
148
- }
149
- export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
150
- page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
151
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
152
- }, "strip", z.ZodTypeAny, {
153
- page: number;
154
- limit: number;
155
- }, {
156
- page?: number | undefined;
157
- limit?: number | undefined;
158
- }>;
159
- export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
160
- export interface LocationPresetsPaginatedResponseDto {
161
- data: LocationPresetDto[];
162
- meta: {
163
- total: number;
164
- page: number;
165
- limit: number;
166
- totalPages: number;
167
- };
168
- }
169
- export declare const CreateLocationFromPresetSchema: z.ZodObject<{
170
- presetId: z.ZodBigInt;
171
- platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
172
- readonly API: "API";
173
- readonly MINIMO: "MINIMO";
174
- }>>>;
175
- }, "strip", z.ZodTypeAny, {
176
- presetId: bigint;
177
- platform: "API" | "MINIMO";
178
- }, {
179
- presetId: bigint;
180
- platform?: "API" | "MINIMO" | undefined;
181
- }>;
182
- export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
183
- export interface CreateLocationFromPresetResponseDto {
184
- location: LocationPrivateDto;
185
- }
186
42
  export declare const LocationUpdateConfigSchema: z.ZodObject<{
187
43
  locationId: z.ZodBigInt;
188
44
  config: z.ZodObject<{
@@ -233,23 +89,23 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
233
89
  appearance: z.ZodString;
234
90
  }, "strip", z.ZodTypeAny, {
235
91
  name: string;
92
+ core: "web_search" | "x_twitter" | "notion";
236
93
  appearance: string;
237
- core: "x_twitter" | "notion" | "web_search";
238
94
  }, {
239
95
  name: string;
96
+ core: "web_search" | "x_twitter" | "notion";
240
97
  appearance: string;
241
- core: "x_twitter" | "notion" | "web_search";
242
98
  }>, "many">>;
243
99
  }, "strict", z.ZodTypeAny, {
244
100
  name?: string | undefined;
245
- description?: string | undefined;
101
+ thumbnail?: string | undefined;
102
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
246
103
  core?: {
247
104
  name: "round_robin" | "update_forever" | "update_once";
248
105
  sequential?: boolean | undefined;
249
106
  } | undefined;
107
+ description?: string | undefined;
250
108
  rules?: string[] | undefined;
251
- thumbnail?: string | undefined;
252
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
253
109
  canvases?: {
254
110
  name: string;
255
111
  description: string;
@@ -262,19 +118,19 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
262
118
  }[] | undefined;
263
119
  gimmicks?: {
264
120
  name: string;
121
+ core: "web_search" | "x_twitter" | "notion";
265
122
  appearance: string;
266
- core: "x_twitter" | "notion" | "web_search";
267
123
  }[] | undefined;
268
124
  }, {
269
125
  name?: string | undefined;
270
- description?: string | undefined;
126
+ thumbnail?: string | undefined;
127
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
271
128
  core?: {
272
129
  name: "round_robin" | "update_forever" | "update_once";
273
130
  sequential?: boolean | undefined;
274
131
  } | undefined;
132
+ description?: string | undefined;
275
133
  rules?: string[] | undefined;
276
- thumbnail?: string | undefined;
277
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
278
134
  canvases?: {
279
135
  name: string;
280
136
  description: string;
@@ -287,21 +143,22 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
287
143
  }[] | undefined;
288
144
  gimmicks?: {
289
145
  name: string;
146
+ core: "web_search" | "x_twitter" | "notion";
290
147
  appearance: string;
291
- core: "x_twitter" | "notion" | "web_search";
292
148
  }[] | undefined;
293
149
  }>;
294
150
  }, "strip", z.ZodTypeAny, {
151
+ locationId: bigint;
295
152
  config: {
296
153
  name?: string | undefined;
297
- description?: string | undefined;
154
+ thumbnail?: string | undefined;
155
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
298
156
  core?: {
299
157
  name: "round_robin" | "update_forever" | "update_once";
300
158
  sequential?: boolean | undefined;
301
159
  } | undefined;
160
+ description?: string | undefined;
302
161
  rules?: string[] | undefined;
303
- thumbnail?: string | undefined;
304
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
305
162
  canvases?: {
306
163
  name: string;
307
164
  description: string;
@@ -314,22 +171,22 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
314
171
  }[] | undefined;
315
172
  gimmicks?: {
316
173
  name: string;
174
+ core: "web_search" | "x_twitter" | "notion";
317
175
  appearance: string;
318
- core: "x_twitter" | "notion" | "web_search";
319
176
  }[] | undefined;
320
177
  };
321
- locationId: bigint;
322
178
  }, {
179
+ locationId: bigint;
323
180
  config: {
324
181
  name?: string | undefined;
325
- description?: string | undefined;
182
+ thumbnail?: string | undefined;
183
+ environment?: "CHAT" | "WEB_BROWSER" | undefined;
326
184
  core?: {
327
185
  name: "round_robin" | "update_forever" | "update_once";
328
186
  sequential?: boolean | undefined;
329
187
  } | undefined;
188
+ description?: string | undefined;
330
189
  rules?: string[] | undefined;
331
- thumbnail?: string | undefined;
332
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
333
190
  canvases?: {
334
191
  name: string;
335
192
  description: string;
@@ -342,11 +199,10 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
342
199
  }[] | undefined;
343
200
  gimmicks?: {
344
201
  name: string;
202
+ core: "web_search" | "x_twitter" | "notion";
345
203
  appearance: string;
346
- core: "x_twitter" | "notion" | "web_search";
347
204
  }[] | undefined;
348
205
  };
349
- locationId: bigint;
350
206
  }>;
351
207
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
352
208
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
@@ -378,6 +234,7 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
378
234
  token: string;
379
235
  }>]>;
380
236
  }, "strip", z.ZodTypeAny, {
237
+ locationId: bigint;
381
238
  credential: {
382
239
  type: "x_twitter";
383
240
  email: string;
@@ -387,8 +244,8 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
387
244
  type: "notion";
388
245
  token: string;
389
246
  };
390
- locationId: bigint;
391
247
  }, {
248
+ locationId: bigint;
392
249
  credential: {
393
250
  type: "x_twitter";
394
251
  email: string;
@@ -398,7 +255,6 @@ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
398
255
  type: "notion";
399
256
  token: string;
400
257
  };
401
- locationId: bigint;
402
258
  }>;
403
259
  export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
404
260
  export interface LocationUpdateCredentialResponseDto {
@@ -409,17 +265,54 @@ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
409
265
  locationId: z.ZodBigInt;
410
266
  credentialType: z.ZodString;
411
267
  }, "strip", z.ZodTypeAny, {
412
- credentialType: string;
413
268
  locationId: bigint;
414
- }, {
415
269
  credentialType: string;
270
+ }, {
416
271
  locationId: bigint;
272
+ credentialType: string;
417
273
  }>;
418
274
  export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
419
275
  export interface LocationDeleteCredentialResponseDto {
420
276
  success: boolean;
421
277
  error?: string;
422
278
  }
279
+ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
280
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
281
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ limit: number;
284
+ page: number;
285
+ }, {
286
+ limit?: number | undefined;
287
+ page?: number | undefined;
288
+ }>;
289
+ export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
290
+ export interface LocationPresetsPaginatedResponseDto {
291
+ data: LocationPresetDto[];
292
+ meta: {
293
+ total: number;
294
+ page: number;
295
+ limit: number;
296
+ totalPages: number;
297
+ };
298
+ }
299
+ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
300
+ presetId: z.ZodBigInt;
301
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
302
+ readonly API: "API";
303
+ readonly MINIMO: "MINIMO";
304
+ }>>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ presetId: bigint;
307
+ platform: "API" | "MINIMO";
308
+ }, {
309
+ presetId: bigint;
310
+ platform?: "API" | "MINIMO" | undefined;
311
+ }>;
312
+ export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
313
+ export interface CreateLocationFromPresetResponseDto {
314
+ location: LocationPrivateDto;
315
+ }
423
316
  export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
424
317
  agentId: z.ZodBigInt;
425
318
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
@@ -427,8 +320,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
427
320
  readonly MINIMO: "MINIMO";
428
321
  }>>>;
429
322
  }, "strip", z.ZodTypeAny, {
430
- agentId: bigint;
431
323
  platform: "API" | "MINIMO";
324
+ agentId: bigint;
432
325
  }, {
433
326
  agentId: bigint;
434
327
  platform?: "API" | "MINIMO" | undefined;
@@ -461,8 +354,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
461
354
  readonly MINIMO: "MINIMO";
462
355
  }>>>;
463
356
  }, "strip", z.ZodTypeAny, {
464
- agentId: bigint;
465
357
  platform: "API" | "MINIMO";
358
+ agentId: bigint;
466
359
  }, {
467
360
  agentId: bigint;
468
361
  platform?: "API" | "MINIMO" | undefined;
@@ -471,73 +364,176 @@ export type GetAgentDmLocationDto = z.infer<typeof GetAgentDmLocationQuerySchema
471
364
  export interface GetAgentDmLocationResponseDto {
472
365
  location: LocationPrivateDto;
473
366
  }
474
- export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
367
+ export declare const GetLocationParamsSchema: z.ZodObject<{
475
368
  locationId: z.ZodBigInt;
476
369
  }, "strip", z.ZodTypeAny, {
477
370
  locationId: bigint;
478
371
  }, {
479
372
  locationId: bigint;
480
373
  }>;
481
- export type GetLocationScheduledMessagesParamsDto = z.infer<typeof GetLocationScheduledMessagesParamsSchema>;
482
- export interface GetLocationScheduledMessagesResponseDto {
483
- scheduledMessages: LocationScheduledMessageDto[];
374
+ export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
375
+ export interface GetLocationResponseDto {
376
+ location: LocationListItemDto;
484
377
  }
485
- export declare const CreateLocationScheduledMessageParamsSchema: z.ZodObject<{
378
+ export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
486
379
  locationId: z.ZodBigInt;
487
380
  }, "strip", z.ZodTypeAny, {
488
381
  locationId: bigint;
489
382
  }, {
490
383
  locationId: bigint;
491
384
  }>;
492
- export type CreateLocationScheduledMessageParamsDto = z.infer<typeof CreateLocationScheduledMessageParamsSchema>;
493
- export declare const CreateLocationScheduledMessageBodySchema: z.ZodObject<{
494
- repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
495
- repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
496
- } & {
497
- message: z.ZodString;
498
- }, "strip", z.ZodTypeAny, {
499
- message: string;
500
- repeatTimesOfDay: string[];
501
- repeatDaysOfWeek: DayOfWeek[];
502
- }, {
503
- message: string;
504
- repeatTimesOfDay: string[];
505
- repeatDaysOfWeek?: DayOfWeek[] | undefined;
506
- }>;
507
- export type CreateLocationScheduledMessageBodyDto = z.infer<typeof CreateLocationScheduledMessageBodySchema>;
508
- export interface CreateLocationScheduledMessageResponseDto {
509
- scheduledMessage: LocationScheduledMessageDto;
385
+ export type GetLocationPrivateParamsDto = z.infer<typeof GetLocationPrivateParamsSchema>;
386
+ export interface GetLocationPrivateResponseDto {
387
+ location: LocationPrivateDto;
510
388
  }
511
- export declare const UpdateLocationScheduledMessageParamsSchema: z.ZodObject<{
389
+ export declare const GetLocationContentParamsSchema: z.ZodObject<{
512
390
  locationId: z.ZodBigInt;
513
- messageId: z.ZodString;
514
391
  }, "strip", z.ZodTypeAny, {
515
392
  locationId: bigint;
516
- messageId: string;
517
393
  }, {
518
394
  locationId: bigint;
519
- messageId: string;
520
395
  }>;
521
- export type UpdateLocationScheduledMessageParamsDto = z.infer<typeof UpdateLocationScheduledMessageParamsSchema>;
522
- export declare const UpdateLocationScheduledMessageBodySchema: z.ZodObject<{
396
+ export type GetLocationContentParamsDto = z.infer<typeof GetLocationContentParamsSchema>;
397
+ export interface GetLocationContentResponseDto {
398
+ content: LocationContentDto;
399
+ }
400
+ export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
401
+ locationId: z.ZodBigInt;
402
+ }, "strip", z.ZodTypeAny, {
403
+ locationId: bigint;
404
+ }, {
405
+ locationId: bigint;
406
+ }>;
407
+ export type MarkLocationAsReadParamsDto = z.infer<typeof MarkLocationAsReadParamsSchema>;
408
+ export declare const LocationUnreadCountParamsSchema: z.ZodObject<{
409
+ locationId: z.ZodBigInt;
410
+ }, "strip", z.ZodTypeAny, {
411
+ locationId: bigint;
412
+ }, {
413
+ locationId: bigint;
414
+ }>;
415
+ export type LocationUnreadCountParamsDto = z.infer<typeof LocationUnreadCountParamsSchema>;
416
+ export interface LocationUnreadCountResponseDto {
417
+ unreadCount: number;
418
+ }
419
+ export declare const JoinAgentToLocationParamsSchema: z.ZodObject<{
420
+ locationId: z.ZodBigInt;
421
+ }, "strip", z.ZodTypeAny, {
422
+ locationId: bigint;
423
+ }, {
424
+ locationId: bigint;
425
+ }>;
426
+ export type JoinAgentToLocationParamsDto = z.infer<typeof JoinAgentToLocationParamsSchema>;
427
+ export declare const JoinAgentToLocationBodySchema: z.ZodObject<{
428
+ agentId: z.ZodBigInt;
429
+ }, "strip", z.ZodTypeAny, {
430
+ agentId: bigint;
431
+ }, {
432
+ agentId: bigint;
433
+ }>;
434
+ export type JoinAgentToLocationBodyDto = z.infer<typeof JoinAgentToLocationBodySchema>;
435
+ export interface JoinAgentToLocationResponseDto {
436
+ agentAdded: boolean;
437
+ message?: string;
438
+ }
439
+ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
440
+ locationId: z.ZodBigInt;
441
+ agentId: z.ZodBigInt;
442
+ }, "strip", z.ZodTypeAny, {
443
+ locationId: bigint;
444
+ agentId: bigint;
445
+ }, {
446
+ locationId: bigint;
447
+ agentId: bigint;
448
+ }>;
449
+ export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
450
+ export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
451
+ locationId: z.ZodBigInt;
452
+ }, "strip", z.ZodTypeAny, {
453
+ locationId: bigint;
454
+ }, {
455
+ locationId: bigint;
456
+ }>;
457
+ export type RemoveAgentFromLocationParamsDto = z.infer<typeof RemoveAgentFromLocationParamsSchema>;
458
+ export declare const RemoveAgentFromLocationBodySchema: z.ZodObject<{
459
+ agentId: z.ZodBigInt;
460
+ }, "strip", z.ZodTypeAny, {
461
+ agentId: bigint;
462
+ }, {
463
+ agentId: bigint;
464
+ }>;
465
+ export type RemoveAgentFromLocationBodyDto = z.infer<typeof RemoveAgentFromLocationBodySchema>;
466
+ export interface RemoveAgentFromLocationResponseDto {
467
+ agentRemoved: boolean;
468
+ message?: string;
469
+ }
470
+ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
471
+ locationId: z.ZodBigInt;
472
+ agentId: z.ZodBigInt;
473
+ }, "strip", z.ZodTypeAny, {
474
+ locationId: bigint;
475
+ agentId: bigint;
476
+ }, {
477
+ locationId: bigint;
478
+ agentId: bigint;
479
+ }>;
480
+ export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
481
+ export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
482
+ locationId: z.ZodBigInt;
483
+ }, "strip", z.ZodTypeAny, {
484
+ locationId: bigint;
485
+ }, {
486
+ locationId: bigint;
487
+ }>;
488
+ export type GetLocationScheduledMessagesParamsDto = z.infer<typeof GetLocationScheduledMessagesParamsSchema>;
489
+ export interface GetLocationScheduledMessagesResponseDto {
490
+ scheduledMessages: LocationScheduledMessageDto[];
491
+ }
492
+ export declare const CreateLocationScheduledMessageParamsSchema: z.ZodObject<{
493
+ locationId: z.ZodBigInt;
494
+ }, "strip", z.ZodTypeAny, {
495
+ locationId: bigint;
496
+ }, {
497
+ locationId: bigint;
498
+ }>;
499
+ export type CreateLocationScheduledMessageParamsDto = z.infer<typeof CreateLocationScheduledMessageParamsSchema>;
500
+ export declare const CreateLocationScheduledMessageBodySchema: z.ZodObject<{
523
501
  repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
524
502
  repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
525
503
  } & {
526
- message: z.ZodOptional<z.ZodString>;
504
+ message: z.ZodString;
527
505
  }, "strip", z.ZodTypeAny, {
506
+ message: string;
528
507
  repeatTimesOfDay: string[];
529
508
  repeatDaysOfWeek: DayOfWeek[];
530
- message?: string | undefined;
531
509
  }, {
510
+ message: string;
532
511
  repeatTimesOfDay: string[];
533
- message?: string | undefined;
534
512
  repeatDaysOfWeek?: DayOfWeek[] | undefined;
535
513
  }>;
536
- export type UpdateLocationScheduledMessageBodyDto = z.infer<typeof UpdateLocationScheduledMessageBodySchema>;
537
- export interface UpdateLocationScheduledMessageResponseDto {
514
+ export type CreateLocationScheduledMessageBodyDto = z.infer<typeof CreateLocationScheduledMessageBodySchema>;
515
+ export interface CreateLocationScheduledMessageResponseDto {
538
516
  scheduledMessage: LocationScheduledMessageDto;
539
517
  }
540
- export declare const DeleteLocationScheduledMessageParamsSchema: z.ZodObject<{
518
+ export declare const CreateLocationScheduledMessageToolSchema: z.ZodObject<{
519
+ repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
520
+ repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
521
+ } & {
522
+ locationId: z.ZodBigInt;
523
+ message: z.ZodString;
524
+ }, "strip", z.ZodTypeAny, {
525
+ message: string;
526
+ locationId: bigint;
527
+ repeatTimesOfDay: string[];
528
+ repeatDaysOfWeek: DayOfWeek[];
529
+ }, {
530
+ message: string;
531
+ locationId: bigint;
532
+ repeatTimesOfDay: string[];
533
+ repeatDaysOfWeek?: DayOfWeek[] | undefined;
534
+ }>;
535
+ export type CreateLocationScheduledMessageToolDto = z.infer<typeof CreateLocationScheduledMessageToolSchema>;
536
+ export declare const UpdateLocationScheduledMessageParamsSchema: z.ZodObject<{
541
537
  locationId: z.ZodBigInt;
542
538
  messageId: z.ZodString;
543
539
  }, "strip", z.ZodTypeAny, {
@@ -547,35 +543,30 @@ export declare const DeleteLocationScheduledMessageParamsSchema: z.ZodObject<{
547
543
  locationId: bigint;
548
544
  messageId: string;
549
545
  }>;
550
- export type DeleteLocationScheduledMessageParamsDto = z.infer<typeof DeleteLocationScheduledMessageParamsSchema>;
551
- export interface DeleteLocationScheduledMessageResponseDto {
552
- deleted: boolean;
553
- }
554
- export declare const CreateLocationScheduledMessageToolSchema: z.ZodObject<{
555
- locationId: z.ZodBigInt;
556
- } & {
546
+ export type UpdateLocationScheduledMessageParamsDto = z.infer<typeof UpdateLocationScheduledMessageParamsSchema>;
547
+ export declare const UpdateLocationScheduledMessageBodySchema: z.ZodObject<{
557
548
  repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
558
549
  repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
559
550
  } & {
560
- message: z.ZodString;
551
+ message: z.ZodOptional<z.ZodString>;
561
552
  }, "strip", z.ZodTypeAny, {
562
- message: string;
563
- locationId: bigint;
564
553
  repeatTimesOfDay: string[];
565
554
  repeatDaysOfWeek: DayOfWeek[];
555
+ message?: string | undefined;
566
556
  }, {
567
- message: string;
568
- locationId: bigint;
569
557
  repeatTimesOfDay: string[];
558
+ message?: string | undefined;
570
559
  repeatDaysOfWeek?: DayOfWeek[] | undefined;
571
560
  }>;
572
- export type CreateLocationScheduledMessageToolDto = z.infer<typeof CreateLocationScheduledMessageToolSchema>;
561
+ export type UpdateLocationScheduledMessageBodyDto = z.infer<typeof UpdateLocationScheduledMessageBodySchema>;
562
+ export interface UpdateLocationScheduledMessageResponseDto {
563
+ scheduledMessage: LocationScheduledMessageDto;
564
+ }
573
565
  export declare const UpdateLocationScheduledMessageToolSchema: z.ZodObject<{
574
- locationId: z.ZodBigInt;
575
- } & {
576
566
  repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
577
567
  repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
578
568
  } & {
569
+ locationId: z.ZodBigInt;
579
570
  messageId: z.ZodString;
580
571
  message: z.ZodOptional<z.ZodString>;
581
572
  }, "strip", z.ZodTypeAny, {
@@ -592,6 +583,20 @@ export declare const UpdateLocationScheduledMessageToolSchema: z.ZodObject<{
592
583
  repeatDaysOfWeek?: DayOfWeek[] | undefined;
593
584
  }>;
594
585
  export type UpdateLocationScheduledMessageToolDto = z.infer<typeof UpdateLocationScheduledMessageToolSchema>;
586
+ export declare const DeleteLocationScheduledMessageParamsSchema: z.ZodObject<{
587
+ locationId: z.ZodBigInt;
588
+ messageId: z.ZodString;
589
+ }, "strip", z.ZodTypeAny, {
590
+ locationId: bigint;
591
+ messageId: string;
592
+ }, {
593
+ locationId: bigint;
594
+ messageId: string;
595
+ }>;
596
+ export type DeleteLocationScheduledMessageParamsDto = z.infer<typeof DeleteLocationScheduledMessageParamsSchema>;
597
+ export interface DeleteLocationScheduledMessageResponseDto {
598
+ deleted: boolean;
599
+ }
595
600
  export declare const DeleteLocationScheduledMessageToolSchema: z.ZodObject<{
596
601
  locationId: z.ZodBigInt;
597
602
  messageId: z.ZodString;
@@ -603,3 +608,201 @@ export declare const DeleteLocationScheduledMessageToolSchema: z.ZodObject<{
603
608
  messageId: string;
604
609
  }>;
605
610
  export type DeleteLocationScheduledMessageToolDto = z.infer<typeof DeleteLocationScheduledMessageToolSchema>;
611
+ export declare const JoinLocationSchema: z.ZodObject<{
612
+ locationId: z.ZodBigInt;
613
+ }, "strip", z.ZodTypeAny, {
614
+ locationId: bigint;
615
+ }, {
616
+ locationId: bigint;
617
+ }>;
618
+ export type JoinLocationDto = z.infer<typeof JoinLocationSchema>;
619
+ export interface JoinLocationResponseDto {
620
+ success: boolean;
621
+ locationId: bigint;
622
+ joined: boolean;
623
+ }
624
+ export declare const LeaveLocationSchema: z.ZodObject<{
625
+ locationId: z.ZodBigInt;
626
+ }, "strip", z.ZodTypeAny, {
627
+ locationId: bigint;
628
+ }, {
629
+ locationId: bigint;
630
+ }>;
631
+ export type LeaveLocationDto = z.infer<typeof LeaveLocationSchema>;
632
+ export interface LeaveLocationResponseDto {
633
+ success: boolean;
634
+ locationId: bigint;
635
+ left: boolean;
636
+ }
637
+ export declare const SubscribeLocationSchema: z.ZodObject<{
638
+ locationId: z.ZodBigInt;
639
+ }, "strip", z.ZodTypeAny, {
640
+ locationId: bigint;
641
+ }, {
642
+ locationId: bigint;
643
+ }>;
644
+ export type SubscribeLocationDto = z.infer<typeof SubscribeLocationSchema>;
645
+ export interface SubscribeLocationResponseDto {
646
+ success: boolean;
647
+ locationId: bigint;
648
+ subscribed: boolean;
649
+ }
650
+ export declare const UnsubscribeLocationSchema: z.ZodObject<{
651
+ locationId: z.ZodBigInt;
652
+ }, "strip", z.ZodTypeAny, {
653
+ locationId: bigint;
654
+ }, {
655
+ locationId: bigint;
656
+ }>;
657
+ export type UnsubscribeLocationDto = z.infer<typeof UnsubscribeLocationSchema>;
658
+ export interface UnsubscribeLocationResponseDto {
659
+ success: boolean;
660
+ locationId: bigint;
661
+ unsubscribed: boolean;
662
+ }
663
+ export declare const GetLocationMessagesSchema: z.ZodObject<{
664
+ locationId: z.ZodBigInt;
665
+ cursor: z.ZodOptional<z.ZodString>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ locationId: bigint;
668
+ cursor?: string | undefined;
669
+ }, {
670
+ locationId: bigint;
671
+ cursor?: string | undefined;
672
+ }>;
673
+ export type GetLocationMessagesDto = z.infer<typeof GetLocationMessagesSchema>;
674
+ export interface LocationMessagesResponseDto {
675
+ messages: LocationMessageDto[];
676
+ nextCursor?: string;
677
+ }
678
+ export declare const SendLocationMessageSchema: z.ZodObject<{
679
+ locationId: z.ZodBigInt;
680
+ message: z.ZodString;
681
+ }, "strip", z.ZodTypeAny, {
682
+ message: string;
683
+ locationId: bigint;
684
+ }, {
685
+ message: string;
686
+ locationId: bigint;
687
+ }>;
688
+ export type SendLocationMessageDto = z.infer<typeof SendLocationMessageSchema>;
689
+ export interface SendMessageResponseDto {
690
+ success: boolean;
691
+ messageId?: string;
692
+ }
693
+ export declare const SendUserMessageSchema: z.ZodObject<{
694
+ locationId: z.ZodBigInt;
695
+ twitchUserId: z.ZodString;
696
+ username: z.ZodString;
697
+ nickname: z.ZodString;
698
+ message: z.ZodString;
699
+ }, "strip", z.ZodTypeAny, {
700
+ message: string;
701
+ locationId: bigint;
702
+ username: string;
703
+ twitchUserId: string;
704
+ nickname: string;
705
+ }, {
706
+ message: string;
707
+ locationId: bigint;
708
+ username: string;
709
+ twitchUserId: string;
710
+ nickname: string;
711
+ }>;
712
+ export type SendUserMessageDto = z.infer<typeof SendUserMessageSchema>;
713
+ export declare const SendSystemMessageSchema: z.ZodObject<{
714
+ locationId: z.ZodBigInt;
715
+ message: z.ZodString;
716
+ resumeUpdate: z.ZodOptional<z.ZodBoolean>;
717
+ }, "strip", z.ZodTypeAny, {
718
+ message: string;
719
+ locationId: bigint;
720
+ resumeUpdate?: boolean | undefined;
721
+ }, {
722
+ message: string;
723
+ locationId: bigint;
724
+ resumeUpdate?: boolean | undefined;
725
+ }>;
726
+ export type SendSystemMessageDto = z.infer<typeof SendSystemMessageSchema>;
727
+ export declare const UpdateLocationImageSchema: z.ZodObject<{
728
+ locationId: z.ZodBigInt;
729
+ image: z.ZodString;
730
+ index: z.ZodOptional<z.ZodNumber>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ locationId: bigint;
733
+ image: string;
734
+ index?: number | undefined;
735
+ }, {
736
+ locationId: bigint;
737
+ image: string;
738
+ index?: number | undefined;
739
+ }>;
740
+ export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
741
+ export interface UpdateLocationImageResponseDto {
742
+ success: boolean;
743
+ imageUrl?: string;
744
+ }
745
+ export declare const UpdateLocationRenderingSchema: z.ZodObject<{
746
+ locationId: z.ZodBigInt;
747
+ rendering: z.ZodNullable<z.ZodString>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ locationId: bigint;
750
+ rendering: string | null;
751
+ }, {
752
+ locationId: bigint;
753
+ rendering: string | null;
754
+ }>;
755
+ export type UpdateLocationRenderingDto = z.infer<typeof UpdateLocationRenderingSchema>;
756
+ export interface UpdateLocationRenderingResponseDto {
757
+ success: boolean;
758
+ rendering?: string | null;
759
+ }
760
+ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
761
+ locationId: z.ZodBigInt;
762
+ agentId: z.ZodBigInt;
763
+ isActive: z.ZodBoolean;
764
+ }, "strip", z.ZodTypeAny, {
765
+ locationId: bigint;
766
+ agentId: bigint;
767
+ isActive: boolean;
768
+ }, {
769
+ locationId: bigint;
770
+ agentId: bigint;
771
+ isActive: boolean;
772
+ }>;
773
+ export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;
774
+ export interface UpdateLocationAgentIsActiveResponseDto {
775
+ success: boolean;
776
+ agentId: bigint;
777
+ isActive: boolean;
778
+ }
779
+ export declare const PauseLocationUpdateSchema: z.ZodObject<{
780
+ locationId: z.ZodBigInt;
781
+ }, "strip", z.ZodTypeAny, {
782
+ locationId: bigint;
783
+ }, {
784
+ locationId: bigint;
785
+ }>;
786
+ export type PauseLocationUpdateDto = z.infer<typeof PauseLocationUpdateSchema>;
787
+ export interface PauseLocationUpdateResponseDto {
788
+ success: boolean;
789
+ locationId: bigint;
790
+ paused: boolean;
791
+ }
792
+ export declare const ResumeLocationUpdateSchema: z.ZodObject<{
793
+ locationId: z.ZodBigInt;
794
+ delayMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ locationId: bigint;
797
+ delayMs: number;
798
+ }, {
799
+ locationId: bigint;
800
+ delayMs?: number | undefined;
801
+ }>;
802
+ export type ResumeLocationUpdateDto = z.infer<typeof ResumeLocationUpdateSchema>;
803
+ export interface ResumeLocationUpdateResponseDto {
804
+ success: boolean;
805
+ locationId: bigint;
806
+ delayMs: number;
807
+ resumeAt: string;
808
+ }