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

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 (44) hide show
  1. package/dist/dto/entities/agents/agent.d.ts +8 -0
  2. package/dist/dto/entities/agents/agent.requests.d.ts +221 -20
  3. package/dist/dto/entities/agents/agent.requests.js +37 -1
  4. package/dist/dto/entities/agents/agent.requests.js.map +1 -1
  5. package/dist/dto/entities/gimmicks/gimmick.d.ts +5 -0
  6. package/dist/dto/entities/gimmicks/gimmick.js +3 -0
  7. package/dist/dto/entities/gimmicks/gimmick.js.map +1 -0
  8. package/dist/dto/entities/gimmicks/index.d.ts +1 -0
  9. package/dist/dto/entities/gimmicks/index.js +18 -0
  10. package/dist/dto/entities/gimmicks/index.js.map +1 -0
  11. package/dist/dto/entities/index.d.ts +1 -0
  12. package/dist/dto/entities/index.js +1 -0
  13. package/dist/dto/entities/index.js.map +1 -1
  14. package/dist/dto/entities/users/user.d.ts +4 -0
  15. package/dist/dto/entities/users/user.requests.d.ts +6 -1
  16. package/dist/dto/entities/users/user.requests.js +2 -1
  17. package/dist/dto/entities/users/user.requests.js.map +1 -1
  18. package/dist/dto/items/item.requests.d.ts +12 -2
  19. package/dist/dto/items/item.requests.js +17 -32
  20. package/dist/dto/items/item.requests.js.map +1 -1
  21. package/dist/dto/locations/index.d.ts +1 -0
  22. package/dist/dto/locations/index.js +1 -0
  23. package/dist/dto/locations/index.js.map +1 -1
  24. package/dist/dto/locations/location.d.ts +25 -2
  25. package/dist/dto/locations/location.events.d.ts +29 -9
  26. package/dist/dto/locations/location.events.js +6 -2
  27. package/dist/dto/locations/location.events.js.map +1 -1
  28. package/dist/dto/locations/location.message.d.ts +1 -0
  29. package/dist/dto/locations/location.requests.d.ts +660 -169
  30. package/dist/dto/locations/location.requests.js +147 -44
  31. package/dist/dto/locations/location.requests.js.map +1 -1
  32. package/dist/dto/locations/location.snapshot.d.ts +11 -0
  33. package/dist/dto/locations/location.snapshot.js +3 -0
  34. package/dist/dto/locations/location.snapshot.js.map +1 -0
  35. package/dist/models/entities/agents/agent.config.d.ts +4 -4
  36. package/dist/models/entities/agents/agent.config.js +23 -15
  37. package/dist/models/entities/agents/agent.config.js.map +1 -1
  38. package/dist/models/locations/location.config.d.ts +26 -23
  39. package/dist/models/locations/location.config.js +19 -12
  40. package/dist/models/locations/location.config.js.map +1 -1
  41. package/dist/models/locations/location.constants.d.ts +1 -0
  42. package/dist/models/locations/location.constants.js +1 -0
  43. package/dist/models/locations/location.constants.js.map +1 -1
  44. package/package.json +3 -3
@@ -1,10 +1,12 @@
1
1
  import { DayOfWeek } from '@little-samo/samo-ai/common';
2
+ import { LocationId } from '@little-samo/samo-ai/models';
2
3
  import { z } from 'zod';
3
4
  import { LocationConfig } from '../../models/locations/location.config';
4
- import { LocationListItemDto, LocationPrivateDto } from './location';
5
+ import { LocationContentDto, LocationCostDto, LocationListItemDto, LocationPrivateDto } from './location';
5
6
  import { LocationMessageDto } from './location.message';
6
7
  import { LocationPresetDto } from './location.preset';
7
8
  import { LocationScheduledMessageDto } from './location.scheduled-message';
9
+ import { LocationSnapshotDto } from './location.snapshot';
8
10
  export declare const UserLocationsQuerySchema: z.ZodObject<{
9
11
  cursor: z.ZodOptional<z.ZodString>;
10
12
  limit: z.ZodDefault<z.ZodNumber>;
@@ -23,47 +25,6 @@ export interface UserLocationsResponseDto {
23
25
  nextCursor?: string;
24
26
  };
25
27
  }
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
28
  export declare const LocationsUnreadCountQuerySchema: z.ZodObject<{
68
29
  locationIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
69
30
  }, "strip", z.ZodTypeAny, {
@@ -73,78 +34,249 @@ export declare const LocationsUnreadCountQuerySchema: z.ZodObject<{
73
34
  }>;
74
35
  export type LocationsUnreadCountQueryDto = z.infer<typeof LocationsUnreadCountQuerySchema>;
75
36
  export interface LocationUnreadCountItemDto {
76
- locationId: bigint;
37
+ locationId: LocationId;
77
38
  unreadCount: number;
78
39
  lastMessage: LocationMessageDto | null;
79
40
  }
80
41
  export interface LocationsUnreadCountResponseDto {
81
42
  data: LocationUnreadCountItemDto[];
82
43
  }
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<{
44
+ export declare const LocationUpdateConfigSchema: z.ZodObject<{
104
45
  locationId: z.ZodBigInt;
105
- agentId: z.ZodBigInt;
46
+ config: z.ZodObject<{
47
+ 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">]>>;
50
+ core: z.ZodOptional<z.ZodObject<{
51
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
52
+ sequential: z.ZodOptional<z.ZodBoolean>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
55
+ sequential?: boolean | undefined;
56
+ }, {
57
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
58
+ sequential?: boolean | undefined;
59
+ }>>;
60
+ description: z.ZodOptional<z.ZodString>;
61
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
+ canvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
63
+ name: z.ZodString;
64
+ description: z.ZodString;
65
+ maxLength: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ name: string;
68
+ description: string;
69
+ maxLength: number;
70
+ }, {
71
+ name: string;
72
+ description: string;
73
+ maxLength: number;
74
+ }>, "many">>;
75
+ agentCanvases: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
+ name: z.ZodString;
77
+ description: z.ZodString;
78
+ maxLength: z.ZodNumber;
79
+ }, "strip", z.ZodTypeAny, {
80
+ name: string;
81
+ description: string;
82
+ maxLength: number;
83
+ }, {
84
+ name: string;
85
+ description: string;
86
+ maxLength: number;
87
+ }>, "many">>;
88
+ gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
+ core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
90
+ name: z.ZodString;
91
+ appearance: z.ZodString;
92
+ }, "strip", z.ZodTypeAny, {
93
+ name: string;
94
+ core: "web_search" | "x_twitter" | "notion";
95
+ appearance: string;
96
+ }, {
97
+ name: string;
98
+ core: "web_search" | "x_twitter" | "notion";
99
+ appearance: string;
100
+ }>, "many">>;
101
+ }, "strict", z.ZodTypeAny, {
102
+ name?: string | undefined;
103
+ description?: string | undefined;
104
+ core?: {
105
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
106
+ sequential?: boolean | undefined;
107
+ } | undefined;
108
+ thumbnail?: string | null | undefined;
109
+ environment?: "CHAT" | undefined;
110
+ rules?: string[] | undefined;
111
+ canvases?: {
112
+ name: string;
113
+ description: string;
114
+ maxLength: number;
115
+ }[] | undefined;
116
+ agentCanvases?: {
117
+ name: string;
118
+ description: string;
119
+ maxLength: number;
120
+ }[] | undefined;
121
+ gimmicks?: {
122
+ name: string;
123
+ core: "web_search" | "x_twitter" | "notion";
124
+ appearance: string;
125
+ }[] | undefined;
126
+ }, {
127
+ name?: string | undefined;
128
+ description?: string | undefined;
129
+ core?: {
130
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
131
+ sequential?: boolean | undefined;
132
+ } | undefined;
133
+ thumbnail?: string | null | undefined;
134
+ environment?: "CHAT" | undefined;
135
+ rules?: string[] | undefined;
136
+ canvases?: {
137
+ name: string;
138
+ description: string;
139
+ maxLength: number;
140
+ }[] | undefined;
141
+ agentCanvases?: {
142
+ name: string;
143
+ description: string;
144
+ maxLength: number;
145
+ }[] | undefined;
146
+ gimmicks?: {
147
+ name: string;
148
+ core: "web_search" | "x_twitter" | "notion";
149
+ appearance: string;
150
+ }[] | undefined;
151
+ }>;
106
152
  }, "strip", z.ZodTypeAny, {
107
153
  locationId: bigint;
108
- agentId: bigint;
154
+ config: {
155
+ name?: string | undefined;
156
+ description?: string | undefined;
157
+ core?: {
158
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
159
+ sequential?: boolean | undefined;
160
+ } | undefined;
161
+ thumbnail?: string | null | undefined;
162
+ environment?: "CHAT" | undefined;
163
+ rules?: string[] | undefined;
164
+ canvases?: {
165
+ name: string;
166
+ description: string;
167
+ maxLength: number;
168
+ }[] | undefined;
169
+ agentCanvases?: {
170
+ name: string;
171
+ description: string;
172
+ maxLength: number;
173
+ }[] | undefined;
174
+ gimmicks?: {
175
+ name: string;
176
+ core: "web_search" | "x_twitter" | "notion";
177
+ appearance: string;
178
+ }[] | undefined;
179
+ };
109
180
  }, {
110
181
  locationId: bigint;
111
- agentId: bigint;
182
+ config: {
183
+ name?: string | undefined;
184
+ description?: string | undefined;
185
+ core?: {
186
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
187
+ sequential?: boolean | undefined;
188
+ } | undefined;
189
+ thumbnail?: string | null | undefined;
190
+ environment?: "CHAT" | undefined;
191
+ rules?: string[] | undefined;
192
+ canvases?: {
193
+ name: string;
194
+ description: string;
195
+ maxLength: number;
196
+ }[] | undefined;
197
+ agentCanvases?: {
198
+ name: string;
199
+ description: string;
200
+ maxLength: number;
201
+ }[] | undefined;
202
+ gimmicks?: {
203
+ name: string;
204
+ core: "web_search" | "x_twitter" | "notion";
205
+ appearance: string;
206
+ }[] | undefined;
207
+ };
112
208
  }>;
113
- export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
114
- export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
209
+ export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
210
+ export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
211
+ export declare const LocationUpdateCredentialSchema: z.ZodObject<{
115
212
  locationId: z.ZodBigInt;
213
+ credential: z.ZodUnion<[z.ZodObject<{
214
+ type: z.ZodLiteral<"x_twitter">;
215
+ email: z.ZodString;
216
+ password: z.ZodString;
217
+ username: z.ZodString;
218
+ }, "strip", z.ZodTypeAny, {
219
+ type: "x_twitter";
220
+ email: string;
221
+ password: string;
222
+ username: string;
223
+ }, {
224
+ type: "x_twitter";
225
+ email: string;
226
+ password: string;
227
+ username: string;
228
+ }>, z.ZodObject<{
229
+ type: z.ZodLiteral<"notion">;
230
+ token: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
232
+ type: "notion";
233
+ token: string;
234
+ }, {
235
+ type: "notion";
236
+ token: string;
237
+ }>]>;
116
238
  }, "strip", z.ZodTypeAny, {
117
239
  locationId: bigint;
240
+ credential: {
241
+ type: "x_twitter";
242
+ email: string;
243
+ password: string;
244
+ username: string;
245
+ } | {
246
+ type: "notion";
247
+ token: string;
248
+ };
118
249
  }, {
119
250
  locationId: bigint;
251
+ credential: {
252
+ type: "x_twitter";
253
+ email: string;
254
+ password: string;
255
+ username: string;
256
+ } | {
257
+ type: "notion";
258
+ token: string;
259
+ };
120
260
  }>;
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;
261
+ export type LocationUpdateCredentialDto = z.infer<typeof LocationUpdateCredentialSchema>;
262
+ export interface LocationUpdateCredentialResponseDto {
263
+ success: boolean;
264
+ error?: string;
133
265
  }
134
- export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
266
+ export declare const LocationDeleteCredentialSchema: z.ZodObject<{
135
267
  locationId: z.ZodBigInt;
136
- agentId: z.ZodBigInt;
268
+ credentialType: z.ZodString;
137
269
  }, "strip", z.ZodTypeAny, {
138
270
  locationId: bigint;
139
- agentId: bigint;
271
+ credentialType: string;
140
272
  }, {
141
273
  locationId: bigint;
142
- agentId: bigint;
274
+ credentialType: string;
143
275
  }>;
144
- export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
145
- export interface LocationMessagesResponseDto {
146
- messages: LocationMessageDto[];
147
- cursor?: string;
276
+ export type LocationDeleteCredentialDto = z.infer<typeof LocationDeleteCredentialSchema>;
277
+ export interface LocationDeleteCredentialResponseDto {
278
+ success: boolean;
279
+ error?: string;
148
280
  }
149
281
  export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
150
282
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -166,37 +298,19 @@ export interface LocationPresetsPaginatedResponseDto {
166
298
  totalPages: number;
167
299
  };
168
300
  }
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
- export declare const LocationUpdateConfigSchema: z.ZodObject<{
187
- locationId: z.ZodBigInt;
301
+ export declare const CreateLocationSchema: z.ZodObject<{
188
302
  config: z.ZodObject<{
189
303
  name: z.ZodOptional<z.ZodString>;
190
- thumbnail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
191
- environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"WEB_BROWSER">]>>;
304
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
+ environment: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"CHAT">, z.ZodLiteral<"CHAT">]>>;
192
306
  core: z.ZodOptional<z.ZodObject<{
193
- name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">]>;
307
+ name: z.ZodUnion<[z.ZodLiteral<"round_robin">, z.ZodLiteral<"update_forever">, z.ZodLiteral<"update_once">, z.ZodLiteral<"update_until_idle">]>;
194
308
  sequential: z.ZodOptional<z.ZodBoolean>;
195
309
  }, "strip", z.ZodTypeAny, {
196
- name: "round_robin" | "update_forever" | "update_once";
310
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
197
311
  sequential?: boolean | undefined;
198
312
  }, {
199
- name: "round_robin" | "update_forever" | "update_once";
313
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
200
314
  sequential?: boolean | undefined;
201
315
  }>>;
202
316
  description: z.ZodOptional<z.ZodString>;
@@ -228,28 +342,28 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
228
342
  maxLength: number;
229
343
  }>, "many">>;
230
344
  gimmicks: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
- core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">]>;
345
+ core: z.ZodUnion<[z.ZodLiteral<"web_search">, z.ZodLiteral<"x_twitter">, z.ZodLiteral<"notion">]>;
232
346
  name: z.ZodString;
233
347
  appearance: z.ZodString;
234
348
  }, "strip", z.ZodTypeAny, {
235
349
  name: string;
350
+ core: "web_search" | "x_twitter" | "notion";
236
351
  appearance: string;
237
- core: "web_search" | "x_twitter";
238
352
  }, {
239
353
  name: string;
354
+ core: "web_search" | "x_twitter" | "notion";
240
355
  appearance: string;
241
- core: "web_search" | "x_twitter";
242
356
  }>, "many">>;
243
357
  }, "strict", z.ZodTypeAny, {
244
358
  name?: string | undefined;
245
359
  description?: string | undefined;
246
360
  core?: {
247
- name: "round_robin" | "update_forever" | "update_once";
361
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
248
362
  sequential?: boolean | undefined;
249
363
  } | undefined;
364
+ thumbnail?: string | null | undefined;
365
+ environment?: "CHAT" | undefined;
250
366
  rules?: string[] | undefined;
251
- thumbnail?: string | undefined;
252
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
253
367
  canvases?: {
254
368
  name: string;
255
369
  description: string;
@@ -262,19 +376,19 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
262
376
  }[] | undefined;
263
377
  gimmicks?: {
264
378
  name: string;
379
+ core: "web_search" | "x_twitter" | "notion";
265
380
  appearance: string;
266
- core: "web_search" | "x_twitter";
267
381
  }[] | undefined;
268
382
  }, {
269
383
  name?: string | undefined;
270
384
  description?: string | undefined;
271
385
  core?: {
272
- name: "round_robin" | "update_forever" | "update_once";
386
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
273
387
  sequential?: boolean | undefined;
274
388
  } | undefined;
389
+ thumbnail?: string | null | undefined;
390
+ environment?: "CHAT" | undefined;
275
391
  rules?: string[] | undefined;
276
- thumbnail?: string | undefined;
277
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
278
392
  canvases?: {
279
393
  name: string;
280
394
  description: string;
@@ -287,22 +401,25 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
287
401
  }[] | undefined;
288
402
  gimmicks?: {
289
403
  name: string;
404
+ core: "web_search" | "x_twitter" | "notion";
290
405
  appearance: string;
291
- core: "web_search" | "x_twitter";
292
406
  }[] | undefined;
293
407
  }>;
408
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
409
+ readonly API: "API";
410
+ readonly MINIMO: "MINIMO";
411
+ }>>>;
294
412
  }, "strip", z.ZodTypeAny, {
295
- locationId: bigint;
296
413
  config: {
297
414
  name?: string | undefined;
298
415
  description?: string | undefined;
299
416
  core?: {
300
- name: "round_robin" | "update_forever" | "update_once";
417
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
301
418
  sequential?: boolean | undefined;
302
419
  } | undefined;
420
+ thumbnail?: string | null | undefined;
421
+ environment?: "CHAT" | undefined;
303
422
  rules?: string[] | undefined;
304
- thumbnail?: string | undefined;
305
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
306
423
  canvases?: {
307
424
  name: string;
308
425
  description: string;
@@ -315,22 +432,22 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
315
432
  }[] | undefined;
316
433
  gimmicks?: {
317
434
  name: string;
435
+ core: "web_search" | "x_twitter" | "notion";
318
436
  appearance: string;
319
- core: "web_search" | "x_twitter";
320
437
  }[] | undefined;
321
438
  };
439
+ platform: "API" | "MINIMO";
322
440
  }, {
323
- locationId: bigint;
324
441
  config: {
325
442
  name?: string | undefined;
326
443
  description?: string | undefined;
327
444
  core?: {
328
- name: "round_robin" | "update_forever" | "update_once";
445
+ name: "round_robin" | "update_forever" | "update_once" | "update_until_idle";
329
446
  sequential?: boolean | undefined;
330
447
  } | undefined;
448
+ thumbnail?: string | null | undefined;
449
+ environment?: "CHAT" | undefined;
331
450
  rules?: string[] | undefined;
332
- thumbnail?: string | undefined;
333
- environment?: "CHAT" | "WEB_BROWSER" | undefined;
334
451
  canvases?: {
335
452
  name: string;
336
453
  description: string;
@@ -343,13 +460,47 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
343
460
  }[] | undefined;
344
461
  gimmicks?: {
345
462
  name: string;
463
+ core: "web_search" | "x_twitter" | "notion";
346
464
  appearance: string;
347
- core: "web_search" | "x_twitter";
348
465
  }[] | undefined;
349
466
  };
467
+ platform?: "API" | "MINIMO" | undefined;
350
468
  }>;
351
- export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
352
- export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
469
+ export type CreateLocationDto = z.infer<typeof CreateLocationSchema>;
470
+ export interface CreateLocationResponseDto {
471
+ location: LocationPrivateDto;
472
+ }
473
+ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
474
+ presetId: z.ZodBigInt;
475
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
476
+ readonly API: "API";
477
+ readonly MINIMO: "MINIMO";
478
+ }>>>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ platform: "API" | "MINIMO";
481
+ presetId: bigint;
482
+ }, {
483
+ presetId: bigint;
484
+ platform?: "API" | "MINIMO" | undefined;
485
+ }>;
486
+ export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
487
+ export interface CreateLocationFromPresetResponseDto {
488
+ location: LocationPrivateDto;
489
+ }
490
+ export declare const GetHelperLocationQuerySchema: z.ZodObject<{
491
+ platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
492
+ readonly API: "API";
493
+ readonly MINIMO: "MINIMO";
494
+ }>>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ platform: "API" | "MINIMO";
497
+ }, {
498
+ platform?: "API" | "MINIMO" | undefined;
499
+ }>;
500
+ export type GetHelperLocationDto = z.infer<typeof GetHelperLocationQuerySchema>;
501
+ export interface GetHelperLocationResponseDto {
502
+ location: LocationPrivateDto;
503
+ }
353
504
  export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
354
505
  agentId: z.ZodBigInt;
355
506
  platform: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
@@ -357,8 +508,8 @@ export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
357
508
  readonly MINIMO: "MINIMO";
358
509
  }>>>;
359
510
  }, "strip", z.ZodTypeAny, {
360
- agentId: bigint;
361
511
  platform: "API" | "MINIMO";
512
+ agentId: bigint;
362
513
  }, {
363
514
  agentId: bigint;
364
515
  platform?: "API" | "MINIMO" | undefined;
@@ -391,8 +542,8 @@ export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
391
542
  readonly MINIMO: "MINIMO";
392
543
  }>>>;
393
544
  }, "strip", z.ZodTypeAny, {
394
- agentId: bigint;
395
545
  platform: "API" | "MINIMO";
546
+ agentId: bigint;
396
547
  }, {
397
548
  agentId: bigint;
398
549
  platform?: "API" | "MINIMO" | undefined;
@@ -401,6 +552,184 @@ export type GetAgentDmLocationDto = z.infer<typeof GetAgentDmLocationQuerySchema
401
552
  export interface GetAgentDmLocationResponseDto {
402
553
  location: LocationPrivateDto;
403
554
  }
555
+ export declare const GetLocationParamsSchema: z.ZodObject<{
556
+ locationId: z.ZodBigInt;
557
+ }, "strip", z.ZodTypeAny, {
558
+ locationId: bigint;
559
+ }, {
560
+ locationId: bigint;
561
+ }>;
562
+ export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
563
+ export interface GetLocationResponseDto {
564
+ location: LocationListItemDto;
565
+ }
566
+ export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
567
+ locationId: z.ZodBigInt;
568
+ }, "strip", z.ZodTypeAny, {
569
+ locationId: bigint;
570
+ }, {
571
+ locationId: bigint;
572
+ }>;
573
+ export type GetLocationPrivateParamsDto = z.infer<typeof GetLocationPrivateParamsSchema>;
574
+ export interface GetLocationPrivateResponseDto {
575
+ location: LocationPrivateDto;
576
+ }
577
+ export declare const GetLocationCostParamsSchema: z.ZodObject<{
578
+ locationId: z.ZodBigInt;
579
+ }, "strip", z.ZodTypeAny, {
580
+ locationId: bigint;
581
+ }, {
582
+ locationId: bigint;
583
+ }>;
584
+ export type GetLocationCostParamsDto = z.infer<typeof GetLocationCostParamsSchema>;
585
+ export interface GetLocationCostResponseDto {
586
+ cost: LocationCostDto;
587
+ }
588
+ export declare const UploadLocationThumbnailParamsSchema: z.ZodObject<{
589
+ locationId: z.ZodBigInt;
590
+ }, "strip", z.ZodTypeAny, {
591
+ locationId: bigint;
592
+ }, {
593
+ locationId: bigint;
594
+ }>;
595
+ export type UploadLocationThumbnailParamsDto = z.infer<typeof UploadLocationThumbnailParamsSchema>;
596
+ export interface UploadLocationThumbnailResponseDto {
597
+ thumbnailUrl: string;
598
+ }
599
+ export declare const DeleteLocationParamsSchema: z.ZodObject<{
600
+ locationId: z.ZodBigInt;
601
+ }, "strip", z.ZodTypeAny, {
602
+ locationId: bigint;
603
+ }, {
604
+ locationId: bigint;
605
+ }>;
606
+ export type DeleteLocationParamsDto = z.infer<typeof DeleteLocationParamsSchema>;
607
+ export interface DeleteLocationResponseDto {
608
+ success: boolean;
609
+ error?: string;
610
+ }
611
+ export declare const GetLocationContentParamsSchema: z.ZodObject<{
612
+ locationId: z.ZodBigInt;
613
+ }, "strip", z.ZodTypeAny, {
614
+ locationId: bigint;
615
+ }, {
616
+ locationId: bigint;
617
+ }>;
618
+ export type GetLocationContentParamsDto = z.infer<typeof GetLocationContentParamsSchema>;
619
+ export interface GetLocationContentResponseDto {
620
+ content: LocationContentDto;
621
+ }
622
+ export declare const CreateLocationSnapshotParamsSchema: z.ZodObject<{
623
+ locationId: z.ZodBigInt;
624
+ }, "strip", z.ZodTypeAny, {
625
+ locationId: bigint;
626
+ }, {
627
+ locationId: bigint;
628
+ }>;
629
+ export type CreateLocationSnapshotParamsDto = z.infer<typeof CreateLocationSnapshotParamsSchema>;
630
+ export declare const CreateLocationSnapshotBodySchema: z.ZodObject<{
631
+ maxMessages: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ maxMessages: number;
634
+ }, {
635
+ maxMessages?: number | undefined;
636
+ }>;
637
+ export type CreateLocationSnapshotBodyDto = z.infer<typeof CreateLocationSnapshotBodySchema>;
638
+ export interface CreateLocationSnapshotResponseDto {
639
+ snapshotKey: string;
640
+ }
641
+ export declare const GetLocationSnapshotParamsSchema: z.ZodObject<{
642
+ snapshotKey: z.ZodString;
643
+ }, "strip", z.ZodTypeAny, {
644
+ snapshotKey: string;
645
+ }, {
646
+ snapshotKey: string;
647
+ }>;
648
+ export type GetLocationSnapshotParamsDto = z.infer<typeof GetLocationSnapshotParamsSchema>;
649
+ export interface GetLocationSnapshotResponseDto {
650
+ snapshot: LocationSnapshotDto;
651
+ }
652
+ export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
653
+ locationId: z.ZodBigInt;
654
+ }, "strip", z.ZodTypeAny, {
655
+ locationId: bigint;
656
+ }, {
657
+ locationId: bigint;
658
+ }>;
659
+ export type MarkLocationAsReadParamsDto = z.infer<typeof MarkLocationAsReadParamsSchema>;
660
+ export declare const LocationUnreadCountParamsSchema: z.ZodObject<{
661
+ locationId: z.ZodBigInt;
662
+ }, "strip", z.ZodTypeAny, {
663
+ locationId: bigint;
664
+ }, {
665
+ locationId: bigint;
666
+ }>;
667
+ export type LocationUnreadCountParamsDto = z.infer<typeof LocationUnreadCountParamsSchema>;
668
+ export interface LocationUnreadCountResponseDto {
669
+ unreadCount: number;
670
+ }
671
+ export declare const JoinAgentToLocationParamsSchema: z.ZodObject<{
672
+ locationId: z.ZodBigInt;
673
+ }, "strip", z.ZodTypeAny, {
674
+ locationId: bigint;
675
+ }, {
676
+ locationId: bigint;
677
+ }>;
678
+ export type JoinAgentToLocationParamsDto = z.infer<typeof JoinAgentToLocationParamsSchema>;
679
+ export declare const JoinAgentToLocationBodySchema: z.ZodObject<{
680
+ agentId: z.ZodBigInt;
681
+ }, "strip", z.ZodTypeAny, {
682
+ agentId: bigint;
683
+ }, {
684
+ agentId: bigint;
685
+ }>;
686
+ export type JoinAgentToLocationBodyDto = z.infer<typeof JoinAgentToLocationBodySchema>;
687
+ export interface JoinAgentToLocationResponseDto {
688
+ agentAdded: boolean;
689
+ message?: string;
690
+ }
691
+ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
692
+ locationId: z.ZodBigInt;
693
+ agentId: z.ZodBigInt;
694
+ }, "strip", z.ZodTypeAny, {
695
+ locationId: bigint;
696
+ agentId: bigint;
697
+ }, {
698
+ locationId: bigint;
699
+ agentId: bigint;
700
+ }>;
701
+ export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
702
+ export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
703
+ locationId: z.ZodBigInt;
704
+ }, "strip", z.ZodTypeAny, {
705
+ locationId: bigint;
706
+ }, {
707
+ locationId: bigint;
708
+ }>;
709
+ export type RemoveAgentFromLocationParamsDto = z.infer<typeof RemoveAgentFromLocationParamsSchema>;
710
+ export declare const RemoveAgentFromLocationBodySchema: z.ZodObject<{
711
+ agentId: z.ZodBigInt;
712
+ }, "strip", z.ZodTypeAny, {
713
+ agentId: bigint;
714
+ }, {
715
+ agentId: bigint;
716
+ }>;
717
+ export type RemoveAgentFromLocationBodyDto = z.infer<typeof RemoveAgentFromLocationBodySchema>;
718
+ export interface RemoveAgentFromLocationResponseDto {
719
+ agentRemoved: boolean;
720
+ message?: string;
721
+ }
722
+ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
723
+ locationId: z.ZodBigInt;
724
+ agentId: z.ZodBigInt;
725
+ }, "strip", z.ZodTypeAny, {
726
+ locationId: bigint;
727
+ agentId: bigint;
728
+ }, {
729
+ locationId: bigint;
730
+ agentId: bigint;
731
+ }>;
732
+ export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
404
733
  export declare const GetLocationScheduledMessagesParamsSchema: z.ZodObject<{
405
734
  locationId: z.ZodBigInt;
406
735
  }, "strip", z.ZodTypeAny, {
@@ -438,6 +767,24 @@ export type CreateLocationScheduledMessageBodyDto = z.infer<typeof CreateLocatio
438
767
  export interface CreateLocationScheduledMessageResponseDto {
439
768
  scheduledMessage: LocationScheduledMessageDto;
440
769
  }
770
+ export declare const CreateLocationScheduledMessageToolSchema: z.ZodObject<{
771
+ repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
772
+ repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
773
+ } & {
774
+ locationId: z.ZodBigInt;
775
+ message: z.ZodString;
776
+ }, "strip", z.ZodTypeAny, {
777
+ message: string;
778
+ locationId: bigint;
779
+ repeatTimesOfDay: string[];
780
+ repeatDaysOfWeek: DayOfWeek[];
781
+ }, {
782
+ message: string;
783
+ locationId: bigint;
784
+ repeatTimesOfDay: string[];
785
+ repeatDaysOfWeek?: DayOfWeek[] | undefined;
786
+ }>;
787
+ export type CreateLocationScheduledMessageToolDto = z.infer<typeof CreateLocationScheduledMessageToolSchema>;
441
788
  export declare const UpdateLocationScheduledMessageParamsSchema: z.ZodObject<{
442
789
  locationId: z.ZodBigInt;
443
790
  messageId: z.ZodString;
@@ -467,6 +814,27 @@ export type UpdateLocationScheduledMessageBodyDto = z.infer<typeof UpdateLocatio
467
814
  export interface UpdateLocationScheduledMessageResponseDto {
468
815
  scheduledMessage: LocationScheduledMessageDto;
469
816
  }
817
+ export declare const UpdateLocationScheduledMessageToolSchema: z.ZodObject<{
818
+ repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
819
+ repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
820
+ } & {
821
+ locationId: z.ZodBigInt;
822
+ messageId: z.ZodString;
823
+ message: z.ZodOptional<z.ZodString>;
824
+ }, "strip", z.ZodTypeAny, {
825
+ locationId: bigint;
826
+ repeatTimesOfDay: string[];
827
+ repeatDaysOfWeek: DayOfWeek[];
828
+ messageId: string;
829
+ message?: string | undefined;
830
+ }, {
831
+ locationId: bigint;
832
+ repeatTimesOfDay: string[];
833
+ messageId: string;
834
+ message?: string | undefined;
835
+ repeatDaysOfWeek?: DayOfWeek[] | undefined;
836
+ }>;
837
+ export type UpdateLocationScheduledMessageToolDto = z.infer<typeof UpdateLocationScheduledMessageToolSchema>;
470
838
  export declare const DeleteLocationScheduledMessageParamsSchema: z.ZodObject<{
471
839
  locationId: z.ZodBigInt;
472
840
  messageId: z.ZodString;
@@ -481,55 +849,178 @@ export type DeleteLocationScheduledMessageParamsDto = z.infer<typeof DeleteLocat
481
849
  export interface DeleteLocationScheduledMessageResponseDto {
482
850
  deleted: boolean;
483
851
  }
484
- export declare const CreateLocationScheduledMessageToolSchema: z.ZodObject<{
852
+ export declare const DeleteLocationScheduledMessageToolSchema: z.ZodObject<{
485
853
  locationId: z.ZodBigInt;
486
- } & {
487
- repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
488
- repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
489
- } & {
490
- message: z.ZodString;
854
+ messageId: z.ZodString;
491
855
  }, "strip", z.ZodTypeAny, {
492
- message: string;
493
856
  locationId: bigint;
494
- repeatTimesOfDay: string[];
495
- repeatDaysOfWeek: DayOfWeek[];
857
+ messageId: string;
496
858
  }, {
497
- message: string;
498
859
  locationId: bigint;
499
- repeatTimesOfDay: string[];
500
- repeatDaysOfWeek?: DayOfWeek[] | undefined;
860
+ messageId: string;
501
861
  }>;
502
- export type CreateLocationScheduledMessageToolDto = z.infer<typeof CreateLocationScheduledMessageToolSchema>;
503
- export declare const UpdateLocationScheduledMessageToolSchema: z.ZodObject<{
862
+ export type DeleteLocationScheduledMessageToolDto = z.infer<typeof DeleteLocationScheduledMessageToolSchema>;
863
+ export declare const JoinLocationSchema: z.ZodObject<{
864
+ locationId: z.ZodBigInt;
865
+ }, "strip", z.ZodTypeAny, {
866
+ locationId: bigint;
867
+ }, {
868
+ locationId: bigint;
869
+ }>;
870
+ export type JoinLocationDto = z.infer<typeof JoinLocationSchema>;
871
+ export interface JoinLocationResponseDto {
872
+ joined: boolean;
873
+ }
874
+ export declare const LeaveLocationSchema: z.ZodObject<{
875
+ locationId: z.ZodBigInt;
876
+ }, "strip", z.ZodTypeAny, {
877
+ locationId: bigint;
878
+ }, {
879
+ locationId: bigint;
880
+ }>;
881
+ export type LeaveLocationDto = z.infer<typeof LeaveLocationSchema>;
882
+ export interface LeaveLocationResponseDto {
883
+ left: boolean;
884
+ }
885
+ export declare const SubscribeLocationSchema: z.ZodObject<{
886
+ locationId: z.ZodBigInt;
887
+ }, "strip", z.ZodTypeAny, {
888
+ locationId: bigint;
889
+ }, {
890
+ locationId: bigint;
891
+ }>;
892
+ export type SubscribeLocationDto = z.infer<typeof SubscribeLocationSchema>;
893
+ export interface SubscribeLocationResponseDto {
894
+ subscribed: boolean;
895
+ }
896
+ export declare const UnsubscribeLocationSchema: z.ZodObject<{
897
+ locationId: z.ZodBigInt;
898
+ }, "strip", z.ZodTypeAny, {
899
+ locationId: bigint;
900
+ }, {
901
+ locationId: bigint;
902
+ }>;
903
+ export type UnsubscribeLocationDto = z.infer<typeof UnsubscribeLocationSchema>;
904
+ export interface UnsubscribeLocationResponseDto {
905
+ unsubscribed: boolean;
906
+ }
907
+ export declare const GetLocationMessagesSchema: z.ZodObject<{
908
+ locationId: z.ZodBigInt;
909
+ cursor: z.ZodOptional<z.ZodString>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ locationId: bigint;
912
+ cursor?: string | undefined;
913
+ }, {
914
+ locationId: bigint;
915
+ cursor?: string | undefined;
916
+ }>;
917
+ export type GetLocationMessagesDto = z.infer<typeof GetLocationMessagesSchema>;
918
+ export interface LocationMessagesResponseDto {
919
+ messages: LocationMessageDto[];
920
+ nextCursor?: string;
921
+ }
922
+ export declare const SendLocationMessageSchema: z.ZodObject<{
504
923
  locationId: z.ZodBigInt;
505
- } & {
506
- repeatTimesOfDay: z.ZodArray<z.ZodString, "many">;
507
- repeatDaysOfWeek: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DayOfWeek>, "many">>>;
508
- } & {
509
- messageId: z.ZodString;
510
924
  message: z.ZodOptional<z.ZodString>;
925
+ action: z.ZodOptional<z.ZodString>;
926
+ image: z.ZodOptional<z.ZodString>;
511
927
  }, "strip", z.ZodTypeAny, {
512
928
  locationId: bigint;
513
- repeatTimesOfDay: string[];
514
- repeatDaysOfWeek: DayOfWeek[];
515
- messageId: string;
516
929
  message?: string | undefined;
930
+ action?: string | undefined;
931
+ image?: string | undefined;
517
932
  }, {
518
933
  locationId: bigint;
519
- repeatTimesOfDay: string[];
520
- messageId: string;
521
934
  message?: string | undefined;
522
- repeatDaysOfWeek?: DayOfWeek[] | undefined;
935
+ action?: string | undefined;
936
+ image?: string | undefined;
523
937
  }>;
524
- export type UpdateLocationScheduledMessageToolDto = z.infer<typeof UpdateLocationScheduledMessageToolSchema>;
525
- export declare const DeleteLocationScheduledMessageToolSchema: z.ZodObject<{
938
+ export type SendLocationMessageDto = z.infer<typeof SendLocationMessageSchema>;
939
+ export interface SendMessageResponseDto {
940
+ }
941
+ export declare const SendSystemMessageSchema: z.ZodObject<{
526
942
  locationId: z.ZodBigInt;
527
- messageId: z.ZodString;
943
+ message: z.ZodString;
944
+ resumeUpdate: z.ZodOptional<z.ZodBoolean>;
528
945
  }, "strip", z.ZodTypeAny, {
946
+ message: string;
529
947
  locationId: bigint;
530
- messageId: string;
948
+ resumeUpdate?: boolean | undefined;
531
949
  }, {
950
+ message: string;
532
951
  locationId: bigint;
533
- messageId: string;
952
+ resumeUpdate?: boolean | undefined;
534
953
  }>;
535
- export type DeleteLocationScheduledMessageToolDto = z.infer<typeof DeleteLocationScheduledMessageToolSchema>;
954
+ export type SendSystemMessageDto = z.infer<typeof SendSystemMessageSchema>;
955
+ export interface SendSystemMessageResponseDto {
956
+ }
957
+ export declare const UpdateLocationImageSchema: z.ZodObject<{
958
+ locationId: z.ZodBigInt;
959
+ image: z.ZodString;
960
+ index: z.ZodOptional<z.ZodNumber>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ locationId: bigint;
963
+ image: string;
964
+ index?: number | undefined;
965
+ }, {
966
+ locationId: bigint;
967
+ image: string;
968
+ index?: number | undefined;
969
+ }>;
970
+ export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
971
+ export interface UpdateLocationImageResponseDto {
972
+ imageUrl?: string;
973
+ }
974
+ export declare const UpdateLocationRenderingSchema: z.ZodObject<{
975
+ locationId: z.ZodBigInt;
976
+ rendering: z.ZodNullable<z.ZodString>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ locationId: bigint;
979
+ rendering: string | null;
980
+ }, {
981
+ locationId: bigint;
982
+ rendering: string | null;
983
+ }>;
984
+ export type UpdateLocationRenderingDto = z.infer<typeof UpdateLocationRenderingSchema>;
985
+ export interface UpdateLocationRenderingResponseDto {
986
+ }
987
+ export declare const UpdateLocationAgentIsActiveSchema: z.ZodObject<{
988
+ locationId: z.ZodBigInt;
989
+ agentId: z.ZodBigInt;
990
+ isActive: z.ZodBoolean;
991
+ }, "strip", z.ZodTypeAny, {
992
+ locationId: bigint;
993
+ agentId: bigint;
994
+ isActive: boolean;
995
+ }, {
996
+ locationId: bigint;
997
+ agentId: bigint;
998
+ isActive: boolean;
999
+ }>;
1000
+ export type UpdateLocationAgentIsActiveDto = z.infer<typeof UpdateLocationAgentIsActiveSchema>;
1001
+ export interface UpdateLocationAgentIsActiveResponseDto {
1002
+ }
1003
+ export declare const PauseLocationUpdateSchema: z.ZodObject<{
1004
+ locationId: z.ZodBigInt;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ locationId: bigint;
1007
+ }, {
1008
+ locationId: bigint;
1009
+ }>;
1010
+ export type PauseLocationUpdateDto = z.infer<typeof PauseLocationUpdateSchema>;
1011
+ export interface PauseLocationUpdateResponseDto {
1012
+ }
1013
+ export declare const ResumeLocationUpdateSchema: z.ZodObject<{
1014
+ locationId: z.ZodBigInt;
1015
+ delayMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ locationId: bigint;
1018
+ delayMs: number;
1019
+ }, {
1020
+ locationId: bigint;
1021
+ delayMs?: number | undefined;
1022
+ }>;
1023
+ export type ResumeLocationUpdateDto = z.infer<typeof ResumeLocationUpdateSchema>;
1024
+ export interface ResumeLocationUpdateResponseDto {
1025
+ resumeAt: string;
1026
+ }