@little-samo/samo-ai-sdk 0.1.1-rv3 → 0.1.1-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,10 +1,12 @@
1
1
  import { AgentConfig } from '@little-samo/samo-ai-sdk/models';
2
+ import { UserPublicDto } from '../users';
2
3
  export interface AgentPresetDto {
3
4
  id: bigint;
4
5
  presetName: string;
5
6
  presetShortDescription: string;
6
7
  presetDescription: string;
7
8
  config: Partial<AgentConfig>;
9
+ ownerUser?: UserPublicDto;
8
10
  createdAt: Date;
9
11
  updatedAt: Date;
10
12
  }
@@ -10,8 +10,8 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
10
10
  limit: number;
11
11
  cursor?: string | undefined;
12
12
  }, {
13
- cursor?: string | undefined;
14
13
  limit?: number | undefined;
14
+ cursor?: string | undefined;
15
15
  }>;
16
16
  export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
17
17
  export interface UserLocationsResponseDto {
@@ -102,11 +102,11 @@ export declare const JoinAgentToLocationToolSchema: z.ZodObject<{
102
102
  locationId: z.ZodBigInt;
103
103
  agentId: z.ZodBigInt;
104
104
  }, "strip", z.ZodTypeAny, {
105
- locationId: bigint;
106
105
  agentId: bigint;
107
- }, {
108
106
  locationId: bigint;
107
+ }, {
109
108
  agentId: bigint;
109
+ locationId: bigint;
110
110
  }>;
111
111
  export type JoinAgentToLocationToolDto = z.infer<typeof JoinAgentToLocationToolSchema>;
112
112
  export declare const RemoveAgentFromLocationParamsSchema: z.ZodObject<{
@@ -133,11 +133,11 @@ export declare const RemoveAgentFromLocationToolSchema: z.ZodObject<{
133
133
  locationId: z.ZodBigInt;
134
134
  agentId: z.ZodBigInt;
135
135
  }, "strip", z.ZodTypeAny, {
136
- locationId: bigint;
137
136
  agentId: bigint;
138
- }, {
139
137
  locationId: bigint;
138
+ }, {
140
139
  agentId: bigint;
140
+ locationId: bigint;
141
141
  }>;
142
142
  export type RemoveAgentFromLocationToolDto = z.infer<typeof RemoveAgentFromLocationToolSchema>;
143
143
  export interface LocationMessagesResponseDto {
@@ -148,11 +148,11 @@ export declare const LocationPresetsPaginationQuerySchema: z.ZodObject<{
148
148
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
149
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
- limit: number;
152
151
  page: number;
152
+ limit: number;
153
153
  }, {
154
- limit?: number | undefined;
155
154
  page?: number | undefined;
155
+ limit?: number | undefined;
156
156
  }>;
157
157
  export type LocationPresetsPaginationQueryDto = z.infer<typeof LocationPresetsPaginationQuerySchema>;
158
158
  export interface LocationPresetsPaginatedResponseDto {
@@ -227,13 +227,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  name: string;
229
229
  description: string;
230
- core: "web_search" | "x_twitter";
231
230
  appearance: string;
231
+ core: "web_search" | "x_twitter";
232
232
  }, {
233
233
  name: string;
234
234
  description: string;
235
- core: "web_search" | "x_twitter";
236
235
  appearance: string;
236
+ core: "web_search" | "x_twitter";
237
237
  }>, "many">>;
238
238
  }, "strict", z.ZodTypeAny, {
239
239
  name?: string | undefined;
@@ -242,9 +242,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
242
242
  name: "round_robin" | "update_forever" | "update_once";
243
243
  sequential?: boolean | undefined;
244
244
  } | undefined;
245
+ rules?: string[] | undefined;
245
246
  thumbnail?: string | undefined;
246
247
  environment?: "CHAT" | "WEB_BROWSER" | undefined;
247
- rules?: string[] | undefined;
248
248
  canvases?: {
249
249
  name: string;
250
250
  description: string;
@@ -258,8 +258,8 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
258
258
  gimmicks?: {
259
259
  name: string;
260
260
  description: string;
261
- core: "web_search" | "x_twitter";
262
261
  appearance: string;
262
+ core: "web_search" | "x_twitter";
263
263
  }[] | undefined;
264
264
  }, {
265
265
  name?: string | undefined;
@@ -268,9 +268,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
268
268
  name: "round_robin" | "update_forever" | "update_once";
269
269
  sequential?: boolean | undefined;
270
270
  } | undefined;
271
+ rules?: string[] | undefined;
271
272
  thumbnail?: string | undefined;
272
273
  environment?: "CHAT" | "WEB_BROWSER" | undefined;
273
- rules?: string[] | undefined;
274
274
  canvases?: {
275
275
  name: string;
276
276
  description: string;
@@ -284,12 +284,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
284
284
  gimmicks?: {
285
285
  name: string;
286
286
  description: string;
287
- core: "web_search" | "x_twitter";
288
287
  appearance: string;
288
+ core: "web_search" | "x_twitter";
289
289
  }[] | undefined;
290
290
  }>;
291
291
  }, "strip", z.ZodTypeAny, {
292
- locationId: bigint;
293
292
  config: {
294
293
  name?: string | undefined;
295
294
  description?: string | undefined;
@@ -297,9 +296,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
297
296
  name: "round_robin" | "update_forever" | "update_once";
298
297
  sequential?: boolean | undefined;
299
298
  } | undefined;
299
+ rules?: string[] | undefined;
300
300
  thumbnail?: string | undefined;
301
301
  environment?: "CHAT" | "WEB_BROWSER" | undefined;
302
- rules?: string[] | undefined;
303
302
  canvases?: {
304
303
  name: string;
305
304
  description: string;
@@ -313,12 +312,12 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
313
312
  gimmicks?: {
314
313
  name: string;
315
314
  description: string;
316
- core: "web_search" | "x_twitter";
317
315
  appearance: string;
316
+ core: "web_search" | "x_twitter";
318
317
  }[] | undefined;
319
318
  };
320
- }, {
321
319
  locationId: bigint;
320
+ }, {
322
321
  config: {
323
322
  name?: string | undefined;
324
323
  description?: string | undefined;
@@ -326,9 +325,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
326
325
  name: "round_robin" | "update_forever" | "update_once";
327
326
  sequential?: boolean | undefined;
328
327
  } | undefined;
328
+ rules?: string[] | undefined;
329
329
  thumbnail?: string | undefined;
330
330
  environment?: "CHAT" | "WEB_BROWSER" | undefined;
331
- rules?: string[] | undefined;
332
331
  canvases?: {
333
332
  name: string;
334
333
  description: string;
@@ -342,10 +341,11 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
342
341
  gimmicks?: {
343
342
  name: string;
344
343
  description: string;
345
- core: "web_search" | "x_twitter";
346
344
  appearance: string;
345
+ core: "web_search" | "x_twitter";
347
346
  }[] | undefined;
348
347
  };
348
+ locationId: bigint;
349
349
  }>;
350
350
  export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
351
351
  export type LocationUpdateConfigResponseDto = Partial<LocationConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.1.1-rv3",
3
+ "version": "0.1.1-rv4",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {