@little-samo/samo-ai-sdk 0.1.0-rv6 → 0.1.0-rv7
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,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { LocationConfig } from '../../models/locations/location.config';
|
|
3
|
-
import { LocationListItemDto, LocationPrivateDto
|
|
3
|
+
import { LocationListItemDto, LocationPrivateDto } from './location';
|
|
4
4
|
import { LocationMessageDto } from './location.message';
|
|
5
5
|
import { LocationPresetDto } from './location.preset';
|
|
6
6
|
export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ export declare const GetLocationParamsSchema: z.ZodObject<{
|
|
|
30
30
|
}>;
|
|
31
31
|
export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
|
|
32
32
|
export interface GetLocationResponseDto {
|
|
33
|
-
location:
|
|
33
|
+
location: LocationListItemDto;
|
|
34
34
|
}
|
|
35
35
|
export declare const GetLocationPrivateParamsSchema: z.ZodObject<{
|
|
36
36
|
locationId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
@@ -226,24 +226,24 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
226
226
|
appearance: z.ZodString;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
228
|
name: string;
|
|
229
|
-
description: string;
|
|
230
229
|
core: "web_search" | "x_twitter";
|
|
230
|
+
description: string;
|
|
231
231
|
appearance: string;
|
|
232
232
|
}, {
|
|
233
233
|
name: string;
|
|
234
|
-
description: string;
|
|
235
234
|
core: "web_search" | "x_twitter";
|
|
235
|
+
description: string;
|
|
236
236
|
appearance: string;
|
|
237
237
|
}>, "many">>;
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
239
|
name?: string | undefined;
|
|
240
|
-
|
|
240
|
+
thumbnail?: string | undefined;
|
|
241
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
241
242
|
core?: {
|
|
242
243
|
name: "round_robin" | "update_forever" | "update_once";
|
|
243
244
|
sequential?: boolean | undefined;
|
|
244
245
|
} | undefined;
|
|
245
|
-
|
|
246
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
246
|
+
description?: string | undefined;
|
|
247
247
|
rules?: string[] | undefined;
|
|
248
248
|
canvases?: {
|
|
249
249
|
name: string;
|
|
@@ -257,19 +257,19 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
257
257
|
}[] | undefined;
|
|
258
258
|
gimmicks?: {
|
|
259
259
|
name: string;
|
|
260
|
-
description: string;
|
|
261
260
|
core: "web_search" | "x_twitter";
|
|
261
|
+
description: string;
|
|
262
262
|
appearance: string;
|
|
263
263
|
}[] | undefined;
|
|
264
264
|
}, {
|
|
265
265
|
name?: string | undefined;
|
|
266
|
-
|
|
266
|
+
thumbnail?: string | undefined;
|
|
267
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
267
268
|
core?: {
|
|
268
269
|
name: "round_robin" | "update_forever" | "update_once";
|
|
269
270
|
sequential?: boolean | undefined;
|
|
270
271
|
} | undefined;
|
|
271
|
-
|
|
272
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
272
|
+
description?: string | undefined;
|
|
273
273
|
rules?: string[] | undefined;
|
|
274
274
|
canvases?: {
|
|
275
275
|
name: string;
|
|
@@ -283,8 +283,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
283
283
|
}[] | undefined;
|
|
284
284
|
gimmicks?: {
|
|
285
285
|
name: string;
|
|
286
|
-
description: string;
|
|
287
286
|
core: "web_search" | "x_twitter";
|
|
287
|
+
description: string;
|
|
288
288
|
appearance: string;
|
|
289
289
|
}[] | undefined;
|
|
290
290
|
}>;
|
|
@@ -292,13 +292,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
292
292
|
locationId: bigint;
|
|
293
293
|
config: {
|
|
294
294
|
name?: string | undefined;
|
|
295
|
-
|
|
295
|
+
thumbnail?: string | undefined;
|
|
296
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
296
297
|
core?: {
|
|
297
298
|
name: "round_robin" | "update_forever" | "update_once";
|
|
298
299
|
sequential?: boolean | undefined;
|
|
299
300
|
} | undefined;
|
|
300
|
-
|
|
301
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
301
|
+
description?: string | undefined;
|
|
302
302
|
rules?: string[] | undefined;
|
|
303
303
|
canvases?: {
|
|
304
304
|
name: string;
|
|
@@ -312,8 +312,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
312
312
|
}[] | undefined;
|
|
313
313
|
gimmicks?: {
|
|
314
314
|
name: string;
|
|
315
|
-
description: string;
|
|
316
315
|
core: "web_search" | "x_twitter";
|
|
316
|
+
description: string;
|
|
317
317
|
appearance: string;
|
|
318
318
|
}[] | undefined;
|
|
319
319
|
};
|
|
@@ -321,13 +321,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
321
321
|
locationId: bigint;
|
|
322
322
|
config: {
|
|
323
323
|
name?: string | undefined;
|
|
324
|
-
|
|
324
|
+
thumbnail?: string | undefined;
|
|
325
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
325
326
|
core?: {
|
|
326
327
|
name: "round_robin" | "update_forever" | "update_once";
|
|
327
328
|
sequential?: boolean | undefined;
|
|
328
329
|
} | undefined;
|
|
329
|
-
|
|
330
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
330
|
+
description?: string | undefined;
|
|
331
331
|
rules?: string[] | undefined;
|
|
332
332
|
canvases?: {
|
|
333
333
|
name: string;
|
|
@@ -341,8 +341,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
341
341
|
}[] | undefined;
|
|
342
342
|
gimmicks?: {
|
|
343
343
|
name: string;
|
|
344
|
-
description: string;
|
|
345
344
|
core: "web_search" | "x_twitter";
|
|
345
|
+
description: string;
|
|
346
346
|
appearance: string;
|
|
347
347
|
}[] | undefined;
|
|
348
348
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,4EAGgD;
|
|
1
|
+
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,4EAGgD;AAOnC,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAC;AAaU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AASU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AAWU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,C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