@little-samo/samo-ai-sdk 0.4.2 → 0.4.3

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.
@@ -6,6 +6,7 @@ export interface UserPublicDto {
6
6
  firstName: string | null;
7
7
  lastName: string | null;
8
8
  profilePicture: string | null;
9
+ avatarName: string | null;
9
10
  avatar: string | null;
10
11
  referenceAvatar: string | null;
11
12
  appearance: string | null;
@@ -10,6 +10,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
10
10
  nickname: z.ZodOptional<z.ZodString>;
11
11
  birthDate: z.ZodOptional<z.ZodDate>;
12
12
  profilePicture: z.ZodOptional<z.ZodString>;
13
+ avatarName: z.ZodOptional<z.ZodString>;
13
14
  avatar: z.ZodOptional<z.ZodString>;
14
15
  referenceAvatar: z.ZodOptional<z.ZodString>;
15
16
  appearance: z.ZodOptional<z.ZodString>;
@@ -19,6 +20,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
19
20
  nickname?: string | undefined;
20
21
  birthDate?: Date | undefined;
21
22
  profilePicture?: string | undefined;
23
+ avatarName?: string | undefined;
22
24
  avatar?: string | undefined;
23
25
  referenceAvatar?: string | undefined;
24
26
  appearance?: string | undefined;
@@ -28,6 +30,7 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
28
30
  nickname?: string | undefined;
29
31
  birthDate?: Date | undefined;
30
32
  profilePicture?: string | undefined;
33
+ avatarName?: string | undefined;
31
34
  avatar?: string | undefined;
32
35
  referenceAvatar?: string | undefined;
33
36
  appearance?: string | undefined;
@@ -43,14 +46,9 @@ export type GetUserAvatarsQueryDto = z.infer<typeof GetUserAvatarsQuerySchema>;
43
46
  export interface GetUserAvatarsResponseDto {
44
47
  avatars: (UserAvatarDto | null)[];
45
48
  }
46
- export declare const UpdateUserAvatarParamsSchema: z.ZodObject<{
47
- index: z.ZodNumber;
48
- }, "strip", z.ZodTypeAny, {
49
- index: number;
50
- }, {
51
- index: number;
52
- }>;
53
- export declare const UpdateUserAvatarBodySchema: z.ZodObject<{
49
+ export declare const UpdateUserAvatarBodySchema: z.ZodEffects<z.ZodObject<{
50
+ index: z.ZodOptional<z.ZodNumber>;
51
+ locationId: z.ZodOptional<z.ZodBigInt>;
54
52
  name: z.ZodNullable<z.ZodString>;
55
53
  avatar: z.ZodNullable<z.ZodString>;
56
54
  referenceAvatar: z.ZodNullable<z.ZodString>;
@@ -60,13 +58,30 @@ export declare const UpdateUserAvatarBodySchema: z.ZodObject<{
60
58
  referenceAvatar: string | null;
61
59
  appearance: string | null;
62
60
  name: string | null;
61
+ index?: number | undefined;
62
+ locationId?: bigint | undefined;
63
+ }, {
64
+ avatar: string | null;
65
+ referenceAvatar: string | null;
66
+ appearance: string | null;
67
+ name: string | null;
68
+ index?: number | undefined;
69
+ locationId?: bigint | undefined;
70
+ }>, {
71
+ avatar: string | null;
72
+ referenceAvatar: string | null;
73
+ appearance: string | null;
74
+ name: string | null;
75
+ index?: number | undefined;
76
+ locationId?: bigint | undefined;
63
77
  }, {
64
78
  avatar: string | null;
65
79
  referenceAvatar: string | null;
66
80
  appearance: string | null;
67
81
  name: string | null;
82
+ index?: number | undefined;
83
+ locationId?: bigint | undefined;
68
84
  }>;
69
- export type UpdateUserAvatarParamsDto = z.infer<typeof UpdateUserAvatarParamsSchema>;
70
85
  export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
71
86
  export interface UpdateUserAvatarResponseDto {
72
87
  success: boolean;
@@ -89,10 +104,13 @@ export interface ValidateUserFieldResponseDto {
89
104
  }
90
105
  export declare const GetUsersByIdsQuerySchema: z.ZodObject<{
91
106
  userIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
107
+ locationId: z.ZodOptional<z.ZodBigInt>;
92
108
  }, "strip", z.ZodTypeAny, {
93
109
  userIds: bigint[];
110
+ locationId?: bigint | undefined;
94
111
  }, {
95
112
  userIds: string;
113
+ locationId?: bigint | undefined;
96
114
  }>;
97
115
  export type GetUsersByIdsQueryDto = z.infer<typeof GetUsersByIdsQuerySchema>;
98
116
  export interface GetUserPublicsByIdsResponseDto {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCurrentUserSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.UpdateUserAvatarBodySchema = exports.UpdateUserAvatarParamsSchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
3
+ exports.GetCurrentUserSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.GetCurrentUserQuerySchema = zod_1.z.object({});
6
6
  exports.UpdateCurrentUserBodySchema = zod_1.z.object({
@@ -13,20 +13,24 @@ exports.UpdateCurrentUserBodySchema = zod_1.z.object({
13
13
  nickname: zod_1.z.string().min(4).max(32).optional(),
14
14
  birthDate: zod_1.z.coerce.date().optional(),
15
15
  profilePicture: zod_1.z.string().max(2048).optional(),
16
+ avatarName: zod_1.z.string().max(64).optional(),
16
17
  avatar: zod_1.z.string().max(2048).optional(),
17
18
  referenceAvatar: zod_1.z.string().max(2048).optional(),
18
19
  appearance: zod_1.z.string().max(500).optional(),
19
20
  isAllowSensitive: zod_1.z.boolean().optional(),
20
21
  });
21
22
  exports.GetUserAvatarsQuerySchema = zod_1.z.object({});
22
- exports.UpdateUserAvatarParamsSchema = zod_1.z.object({
23
- index: zod_1.z.coerce.number().int().min(0),
24
- });
25
- exports.UpdateUserAvatarBodySchema = zod_1.z.object({
23
+ exports.UpdateUserAvatarBodySchema = zod_1.z
24
+ .object({
25
+ index: zod_1.z.coerce.number().int().min(0).optional(),
26
+ locationId: zod_1.z.coerce.bigint().optional(),
26
27
  name: zod_1.z.string().max(64).nullable(),
27
28
  avatar: zod_1.z.string().max(2048).nullable(),
28
29
  referenceAvatar: zod_1.z.string().max(2048).nullable(),
29
30
  appearance: zod_1.z.string().max(500).nullable(),
31
+ })
32
+ .refine((data) => data.index !== undefined || data.locationId !== undefined, {
33
+ message: 'Either index or locationId must be provided',
30
34
  });
31
35
  exports.ValidateUserFieldBodySchema = zod_1.z.object({
32
36
  username: zod_1.z
@@ -44,6 +48,7 @@ exports.GetUsersByIdsQuerySchema = zod_1.z.object({
44
48
  .refine((arr) => arr.length > 0 && arr.length <= 25, {
45
49
  message: 'userIds must contain 1-25 user IDs',
46
50
  }),
51
+ locationId: zod_1.z.coerce.bigint().optional(),
47
52
  });
48
53
  exports.GetCurrentUserSchema = zod_1.z.object({});
49
54
  //# sourceMappingURL=user.requests.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AASzC,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;IACb,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACrC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAC/C,MAAM,EAAE,OAAC,CAAC,M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EAAE,CAAC,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE;IAC3E,OAAO,EAAE,6CAA6C;CACvD,CAAC,CAAC;AAYQ,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;IACb,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAYU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC;SACP,MAAM,EAAE;SACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;SACjE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACnD,OAAO,EAAE,oCAAoC;KAC9C,CAAC;IACJ,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAaU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { LocationId, UserId } from '@little-samo/samo-ai';
2
2
  import z from 'zod';
3
3
  import type { AgentConfig, LocationConfig, LocationConfigCanvas } from '@little-samo/samo-ai-sdk/models';
4
- import type { AgentCostDto, AgentPublicDto, GimmickCostDto, GimmickPublicDto } from '../entities';
4
+ import type { AgentCostDto, AgentPublicDto, GimmickCostDto, GimmickPublicDto, UserAvatarDto } from '../entities';
5
5
  export declare const LocationPresetMessageSchema: z.ZodObject<{
6
6
  entityType: z.ZodNativeEnum<{
7
7
  readonly System: "system";
@@ -52,6 +52,7 @@ export interface LocationPresetDto {
52
52
  canvases: LocationPresetCanvasDto[];
53
53
  canvasConfigs: LocationConfigCanvas[];
54
54
  messages: LocationPresetMessageDto[];
55
+ userAvatar: UserAvatarDto | null;
55
56
  isPublished: boolean;
56
57
  publishedAt: Date | null;
57
58
  hashtags: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"location.preset.js","sourceRoot":"","sources":["../../../src/dto/locations/location.preset.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAsE;AACtE,8CAAoB;AAeP,QAAA,2BAA2B,GAAG,aAAC,CAAC,MAAM,CAAC;IAClD,UAAU,EAAE,aAAC,CAAC,UAAU,CAAC,oBAAU,CAAC;IACpC,QAAQ,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAE3B,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAMU,QAAA,0BAA0B,GAAG,aAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC"}
1
+ {"version":3,"file":"location.preset.js","sourceRoot":"","sources":["../../../src/dto/locations/location.preset.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAsE;AACtE,8CAAoB;AAgBP,QAAA,2BAA2B,GAAG,aAAC,CAAC,MAAM,CAAC;IAClD,UAAU,EAAE,aAAC,CAAC,UAAU,CAAC,oBAAU,CAAC;IACpC,QAAQ,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAE3B,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAMU,QAAA,0BAA0B,GAAG,aAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC"}
@@ -135,18 +135,18 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
135
135
  url?: string | undefined;
136
136
  }>, "many">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
+ appearance: string;
138
139
  name: string;
139
140
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
140
- appearance: string;
141
141
  images?: {
142
142
  description: string;
143
143
  name?: string | undefined;
144
144
  url?: string | undefined;
145
145
  }[] | undefined;
146
146
  }, {
147
+ appearance: string;
147
148
  name: string;
148
149
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
149
- appearance: string;
150
150
  images?: {
151
151
  description: string;
152
152
  name?: string | undefined;
@@ -155,6 +155,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
155
155
  }>, "many">>;
156
156
  }, "strict", z.ZodTypeAny, {
157
157
  name?: string | undefined;
158
+ description?: string | undefined;
158
159
  thumbnail?: string | null | undefined;
159
160
  environment?: "CHAT" | "NOVEL" | undefined;
160
161
  core?: {
@@ -163,7 +164,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
163
164
  interval?: number | undefined;
164
165
  maxAgentExecutions?: number | null | undefined;
165
166
  } | undefined;
166
- description?: string | undefined;
167
167
  rules?: string[] | undefined;
168
168
  canvases?: {
169
169
  name: string;
@@ -176,9 +176,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
176
176
  maxLength: number;
177
177
  }[] | undefined;
178
178
  gimmicks?: {
179
+ appearance: string;
179
180
  name: string;
180
181
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
181
- appearance: string;
182
182
  images?: {
183
183
  description: string;
184
184
  name?: string | undefined;
@@ -187,6 +187,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
187
187
  }[] | undefined;
188
188
  }, {
189
189
  name?: string | undefined;
190
+ description?: string | undefined;
190
191
  thumbnail?: string | null | undefined;
191
192
  environment?: "CHAT" | "NOVEL" | undefined;
192
193
  core?: {
@@ -195,7 +196,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
195
196
  interval?: number | undefined;
196
197
  maxAgentExecutions?: number | null | undefined;
197
198
  } | undefined;
198
- description?: string | undefined;
199
199
  rules?: string[] | undefined;
200
200
  canvases?: {
201
201
  name: string;
@@ -208,9 +208,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
208
208
  maxLength: number;
209
209
  }[] | undefined;
210
210
  gimmicks?: {
211
+ appearance: string;
211
212
  name: string;
212
213
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
213
- appearance: string;
214
214
  images?: {
215
215
  description: string;
216
216
  name?: string | undefined;
@@ -222,6 +222,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
222
222
  locationId: bigint;
223
223
  config: {
224
224
  name?: string | undefined;
225
+ description?: string | undefined;
225
226
  thumbnail?: string | null | undefined;
226
227
  environment?: "CHAT" | "NOVEL" | undefined;
227
228
  core?: {
@@ -230,7 +231,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
230
231
  interval?: number | undefined;
231
232
  maxAgentExecutions?: number | null | undefined;
232
233
  } | undefined;
233
- description?: string | undefined;
234
234
  rules?: string[] | undefined;
235
235
  canvases?: {
236
236
  name: string;
@@ -243,9 +243,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
243
243
  maxLength: number;
244
244
  }[] | undefined;
245
245
  gimmicks?: {
246
+ appearance: string;
246
247
  name: string;
247
248
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
248
- appearance: string;
249
249
  images?: {
250
250
  description: string;
251
251
  name?: string | undefined;
@@ -257,6 +257,7 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
257
257
  locationId: bigint;
258
258
  config: {
259
259
  name?: string | undefined;
260
+ description?: string | undefined;
260
261
  thumbnail?: string | null | undefined;
261
262
  environment?: "CHAT" | "NOVEL" | undefined;
262
263
  core?: {
@@ -265,7 +266,6 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
265
266
  interval?: number | undefined;
266
267
  maxAgentExecutions?: number | null | undefined;
267
268
  } | undefined;
268
- description?: string | undefined;
269
269
  rules?: string[] | undefined;
270
270
  canvases?: {
271
271
  name: string;
@@ -278,9 +278,9 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
278
278
  maxLength: number;
279
279
  }[] | undefined;
280
280
  gimmicks?: {
281
+ appearance: string;
281
282
  name: string;
282
283
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
283
- appearance: string;
284
284
  images?: {
285
285
  description: string;
286
286
  name?: string | undefined;
@@ -480,18 +480,18 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
480
480
  url?: string | undefined;
481
481
  }>, "many">>;
482
482
  }, "strip", z.ZodTypeAny, {
483
+ appearance: string;
483
484
  name: string;
484
485
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
485
- appearance: string;
486
486
  images?: {
487
487
  description: string;
488
488
  name?: string | undefined;
489
489
  url?: string | undefined;
490
490
  }[] | undefined;
491
491
  }, {
492
+ appearance: string;
492
493
  name: string;
493
494
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
494
- appearance: string;
495
495
  images?: {
496
496
  description: string;
497
497
  name?: string | undefined;
@@ -500,6 +500,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
500
500
  }>, "many">>;
501
501
  }, "strip", z.ZodTypeAny, {
502
502
  name?: string | undefined;
503
+ description?: string | undefined;
503
504
  thumbnail?: string | null | undefined;
504
505
  environment?: "CHAT" | "NOVEL" | undefined;
505
506
  core?: {
@@ -508,7 +509,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
508
509
  interval?: number | undefined;
509
510
  maxAgentExecutions?: number | null | undefined;
510
511
  } | undefined;
511
- description?: string | undefined;
512
512
  rules?: string[] | undefined;
513
513
  canvases?: {
514
514
  name: string;
@@ -521,9 +521,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
521
521
  maxLength: number;
522
522
  }[] | undefined;
523
523
  gimmicks?: {
524
+ appearance: string;
524
525
  name: string;
525
526
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
526
- appearance: string;
527
527
  images?: {
528
528
  description: string;
529
529
  name?: string | undefined;
@@ -532,6 +532,7 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
532
532
  }[] | undefined;
533
533
  }, {
534
534
  name?: string | undefined;
535
+ description?: string | undefined;
535
536
  thumbnail?: string | null | undefined;
536
537
  environment?: "CHAT" | "NOVEL" | undefined;
537
538
  core?: {
@@ -540,7 +541,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
540
541
  interval?: number | undefined;
541
542
  maxAgentExecutions?: number | null | undefined;
542
543
  } | undefined;
543
- description?: string | undefined;
544
544
  rules?: string[] | undefined;
545
545
  canvases?: {
546
546
  name: string;
@@ -553,9 +553,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
553
553
  maxLength: number;
554
554
  }[] | undefined;
555
555
  gimmicks?: {
556
+ appearance: string;
556
557
  name: string;
557
558
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
558
- appearance: string;
559
559
  images?: {
560
560
  description: string;
561
561
  name?: string | undefined;
@@ -675,14 +675,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
675
675
  }>>;
676
676
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
677
677
  }, "strip", z.ZodTypeAny, {
678
+ avatar?: string | undefined;
679
+ referenceAvatar?: string | undefined;
680
+ appearance?: string | undefined;
678
681
  name?: string | undefined;
679
682
  core?: {
680
683
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
681
684
  } | undefined;
682
685
  rules?: string[] | undefined;
683
- appearance?: string | undefined;
684
- avatar?: string | undefined;
685
- referenceAvatar?: string | undefined;
686
686
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
687
687
  languages?: string[] | undefined;
688
688
  timeZone?: string | undefined;
@@ -710,14 +710,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
710
710
  } | undefined;
711
711
  } | undefined;
712
712
  }, {
713
+ avatar?: string | undefined;
714
+ referenceAvatar?: string | undefined;
715
+ appearance?: string | undefined;
713
716
  name?: string | undefined;
714
717
  core?: {
715
718
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
716
719
  } | undefined;
717
720
  rules?: string[] | undefined;
718
- appearance?: string | undefined;
719
- avatar?: string | undefined;
720
- referenceAvatar?: string | undefined;
721
721
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
722
722
  languages?: string[] | undefined;
723
723
  timeZone?: string | undefined;
@@ -748,14 +748,15 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
748
748
  }, "strip", z.ZodTypeAny, {
749
749
  presetDescription: string;
750
750
  presetShortDescription: string;
751
- name?: string | undefined;
752
751
  locationId?: bigint | undefined;
752
+ name?: string | undefined;
753
753
  visibility?: "private" | "public" | "publish" | undefined;
754
754
  hashtags?: string[] | undefined;
755
755
  isAllowImport?: boolean | undefined;
756
756
  isSensitive?: boolean | undefined;
757
757
  locationConfig?: {
758
758
  name?: string | undefined;
759
+ description?: string | undefined;
759
760
  thumbnail?: string | null | undefined;
760
761
  environment?: "CHAT" | "NOVEL" | undefined;
761
762
  core?: {
@@ -764,7 +765,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
764
765
  interval?: number | undefined;
765
766
  maxAgentExecutions?: number | null | undefined;
766
767
  } | undefined;
767
- description?: string | undefined;
768
768
  rules?: string[] | undefined;
769
769
  canvases?: {
770
770
  name: string;
@@ -777,9 +777,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
777
777
  maxLength: number;
778
778
  }[] | undefined;
779
779
  gimmicks?: {
780
+ appearance: string;
780
781
  name: string;
781
782
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
782
- appearance: string;
783
783
  images?: {
784
784
  description: string;
785
785
  name?: string | undefined;
@@ -788,14 +788,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
788
788
  }[] | undefined;
789
789
  } | undefined;
790
790
  agentConfigs?: {
791
+ avatar?: string | undefined;
792
+ referenceAvatar?: string | undefined;
793
+ appearance?: string | undefined;
791
794
  name?: string | undefined;
792
795
  core?: {
793
796
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
794
797
  } | undefined;
795
798
  rules?: string[] | undefined;
796
- appearance?: string | undefined;
797
- avatar?: string | undefined;
798
- referenceAvatar?: string | undefined;
799
799
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
800
800
  languages?: string[] | undefined;
801
801
  timeZone?: string | undefined;
@@ -826,14 +826,15 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
826
826
  }, {
827
827
  presetDescription: string;
828
828
  presetShortDescription: string;
829
- name?: string | undefined;
830
829
  locationId?: bigint | undefined;
830
+ name?: string | undefined;
831
831
  visibility?: "private" | "public" | "publish" | undefined;
832
832
  hashtags?: string[] | undefined;
833
833
  isAllowImport?: boolean | undefined;
834
834
  isSensitive?: boolean | undefined;
835
835
  locationConfig?: {
836
836
  name?: string | undefined;
837
+ description?: string | undefined;
837
838
  thumbnail?: string | null | undefined;
838
839
  environment?: "CHAT" | "NOVEL" | undefined;
839
840
  core?: {
@@ -842,7 +843,6 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
842
843
  interval?: number | undefined;
843
844
  maxAgentExecutions?: number | null | undefined;
844
845
  } | undefined;
845
- description?: string | undefined;
846
846
  rules?: string[] | undefined;
847
847
  canvases?: {
848
848
  name: string;
@@ -855,9 +855,9 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
855
855
  maxLength: number;
856
856
  }[] | undefined;
857
857
  gimmicks?: {
858
+ appearance: string;
858
859
  name: string;
859
860
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
860
- appearance: string;
861
861
  images?: {
862
862
  description: string;
863
863
  name?: string | undefined;
@@ -866,14 +866,14 @@ export declare const CreateLocationPresetSchema: z.ZodObject<{
866
866
  }[] | undefined;
867
867
  } | undefined;
868
868
  agentConfigs?: {
869
+ avatar?: string | undefined;
870
+ referenceAvatar?: string | undefined;
871
+ appearance?: string | undefined;
869
872
  name?: string | undefined;
870
873
  core?: {
871
874
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
872
875
  } | undefined;
873
876
  rules?: string[] | undefined;
874
- appearance?: string | undefined;
875
- avatar?: string | undefined;
876
- referenceAvatar?: string | undefined;
877
877
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
878
878
  languages?: string[] | undefined;
879
879
  timeZone?: string | undefined;
@@ -1042,18 +1042,18 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1042
1042
  url?: string | undefined;
1043
1043
  }>, "many">>;
1044
1044
  }, "strip", z.ZodTypeAny, {
1045
+ appearance: string;
1045
1046
  name: string;
1046
1047
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1047
- appearance: string;
1048
1048
  images?: {
1049
1049
  description: string;
1050
1050
  name?: string | undefined;
1051
1051
  url?: string | undefined;
1052
1052
  }[] | undefined;
1053
1053
  }, {
1054
+ appearance: string;
1054
1055
  name: string;
1055
1056
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1056
- appearance: string;
1057
1057
  images?: {
1058
1058
  description: string;
1059
1059
  name?: string | undefined;
@@ -1062,6 +1062,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1062
1062
  }>, "many">>;
1063
1063
  }, "strip", z.ZodTypeAny, {
1064
1064
  name?: string | undefined;
1065
+ description?: string | undefined;
1065
1066
  thumbnail?: string | null | undefined;
1066
1067
  environment?: "CHAT" | "NOVEL" | undefined;
1067
1068
  core?: {
@@ -1070,7 +1071,6 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1070
1071
  interval?: number | undefined;
1071
1072
  maxAgentExecutions?: number | null | undefined;
1072
1073
  } | undefined;
1073
- description?: string | undefined;
1074
1074
  rules?: string[] | undefined;
1075
1075
  canvases?: {
1076
1076
  name: string;
@@ -1083,9 +1083,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1083
1083
  maxLength: number;
1084
1084
  }[] | undefined;
1085
1085
  gimmicks?: {
1086
+ appearance: string;
1086
1087
  name: string;
1087
1088
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1088
- appearance: string;
1089
1089
  images?: {
1090
1090
  description: string;
1091
1091
  name?: string | undefined;
@@ -1094,6 +1094,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1094
1094
  }[] | undefined;
1095
1095
  }, {
1096
1096
  name?: string | undefined;
1097
+ description?: string | undefined;
1097
1098
  thumbnail?: string | null | undefined;
1098
1099
  environment?: "CHAT" | "NOVEL" | undefined;
1099
1100
  core?: {
@@ -1102,7 +1103,6 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1102
1103
  interval?: number | undefined;
1103
1104
  maxAgentExecutions?: number | null | undefined;
1104
1105
  } | undefined;
1105
- description?: string | undefined;
1106
1106
  rules?: string[] | undefined;
1107
1107
  canvases?: {
1108
1108
  name: string;
@@ -1115,9 +1115,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1115
1115
  maxLength: number;
1116
1116
  }[] | undefined;
1117
1117
  gimmicks?: {
1118
+ appearance: string;
1118
1119
  name: string;
1119
1120
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1120
- appearance: string;
1121
1121
  images?: {
1122
1122
  description: string;
1123
1123
  name?: string | undefined;
@@ -1237,14 +1237,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1237
1237
  }>>;
1238
1238
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1239
1239
  }, "strip", z.ZodTypeAny, {
1240
+ avatar?: string | undefined;
1241
+ referenceAvatar?: string | undefined;
1242
+ appearance?: string | undefined;
1240
1243
  name?: string | undefined;
1241
1244
  core?: {
1242
1245
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1243
1246
  } | undefined;
1244
1247
  rules?: string[] | undefined;
1245
- appearance?: string | undefined;
1246
- avatar?: string | undefined;
1247
- referenceAvatar?: string | undefined;
1248
1248
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1249
1249
  languages?: string[] | undefined;
1250
1250
  timeZone?: string | undefined;
@@ -1272,14 +1272,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1272
1272
  } | undefined;
1273
1273
  } | undefined;
1274
1274
  }, {
1275
+ avatar?: string | undefined;
1276
+ referenceAvatar?: string | undefined;
1277
+ appearance?: string | undefined;
1275
1278
  name?: string | undefined;
1276
1279
  core?: {
1277
1280
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1278
1281
  } | undefined;
1279
1282
  rules?: string[] | undefined;
1280
- appearance?: string | undefined;
1281
- avatar?: string | undefined;
1282
- referenceAvatar?: string | undefined;
1283
1283
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1284
1284
  languages?: string[] | undefined;
1285
1285
  timeZone?: string | undefined;
@@ -1322,6 +1322,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1322
1322
  isSensitive?: boolean | undefined;
1323
1323
  locationConfig?: {
1324
1324
  name?: string | undefined;
1325
+ description?: string | undefined;
1325
1326
  thumbnail?: string | null | undefined;
1326
1327
  environment?: "CHAT" | "NOVEL" | undefined;
1327
1328
  core?: {
@@ -1330,7 +1331,6 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1330
1331
  interval?: number | undefined;
1331
1332
  maxAgentExecutions?: number | null | undefined;
1332
1333
  } | undefined;
1333
- description?: string | undefined;
1334
1334
  rules?: string[] | undefined;
1335
1335
  canvases?: {
1336
1336
  name: string;
@@ -1343,9 +1343,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1343
1343
  maxLength: number;
1344
1344
  }[] | undefined;
1345
1345
  gimmicks?: {
1346
+ appearance: string;
1346
1347
  name: string;
1347
1348
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1348
- appearance: string;
1349
1349
  images?: {
1350
1350
  description: string;
1351
1351
  name?: string | undefined;
@@ -1354,14 +1354,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1354
1354
  }[] | undefined;
1355
1355
  } | undefined;
1356
1356
  agentConfigs?: ({
1357
+ avatar?: string | undefined;
1358
+ referenceAvatar?: string | undefined;
1359
+ appearance?: string | undefined;
1357
1360
  name?: string | undefined;
1358
1361
  core?: {
1359
1362
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1360
1363
  } | undefined;
1361
1364
  rules?: string[] | undefined;
1362
- appearance?: string | undefined;
1363
- avatar?: string | undefined;
1364
- referenceAvatar?: string | undefined;
1365
1365
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1366
1366
  languages?: string[] | undefined;
1367
1367
  timeZone?: string | undefined;
@@ -1410,6 +1410,7 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1410
1410
  isSensitive?: boolean | undefined;
1411
1411
  locationConfig?: {
1412
1412
  name?: string | undefined;
1413
+ description?: string | undefined;
1413
1414
  thumbnail?: string | null | undefined;
1414
1415
  environment?: "CHAT" | "NOVEL" | undefined;
1415
1416
  core?: {
@@ -1418,7 +1419,6 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1418
1419
  interval?: number | undefined;
1419
1420
  maxAgentExecutions?: number | null | undefined;
1420
1421
  } | undefined;
1421
- description?: string | undefined;
1422
1422
  rules?: string[] | undefined;
1423
1423
  canvases?: {
1424
1424
  name: string;
@@ -1431,9 +1431,9 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1431
1431
  maxLength: number;
1432
1432
  }[] | undefined;
1433
1433
  gimmicks?: {
1434
+ appearance: string;
1434
1435
  name: string;
1435
1436
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1436
- appearance: string;
1437
1437
  images?: {
1438
1438
  description: string;
1439
1439
  name?: string | undefined;
@@ -1442,14 +1442,14 @@ export declare const UpdateLocationPresetBodySchema: z.ZodObject<{
1442
1442
  }[] | undefined;
1443
1443
  } | undefined;
1444
1444
  agentConfigs?: ({
1445
+ avatar?: string | undefined;
1446
+ referenceAvatar?: string | undefined;
1447
+ appearance?: string | undefined;
1445
1448
  name?: string | undefined;
1446
1449
  core?: {
1447
1450
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
1448
1451
  } | undefined;
1449
1452
  rules?: string[] | undefined;
1450
- appearance?: string | undefined;
1451
- avatar?: string | undefined;
1452
- referenceAvatar?: string | undefined;
1453
1453
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
1454
1454
  languages?: string[] | undefined;
1455
1455
  timeZone?: string | undefined;
@@ -1783,18 +1783,18 @@ export declare const CreateLocationSchema: z.ZodObject<{
1783
1783
  url?: string | undefined;
1784
1784
  }>, "many">>;
1785
1785
  }, "strip", z.ZodTypeAny, {
1786
+ appearance: string;
1786
1787
  name: string;
1787
1788
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1788
- appearance: string;
1789
1789
  images?: {
1790
1790
  description: string;
1791
1791
  name?: string | undefined;
1792
1792
  url?: string | undefined;
1793
1793
  }[] | undefined;
1794
1794
  }, {
1795
+ appearance: string;
1795
1796
  name: string;
1796
1797
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1797
- appearance: string;
1798
1798
  images?: {
1799
1799
  description: string;
1800
1800
  name?: string | undefined;
@@ -1803,6 +1803,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
1803
1803
  }>, "many">>;
1804
1804
  }, "strict", z.ZodTypeAny, {
1805
1805
  name?: string | undefined;
1806
+ description?: string | undefined;
1806
1807
  thumbnail?: string | null | undefined;
1807
1808
  environment?: "CHAT" | "NOVEL" | undefined;
1808
1809
  core?: {
@@ -1811,7 +1812,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
1811
1812
  interval?: number | undefined;
1812
1813
  maxAgentExecutions?: number | null | undefined;
1813
1814
  } | undefined;
1814
- description?: string | undefined;
1815
1815
  rules?: string[] | undefined;
1816
1816
  canvases?: {
1817
1817
  name: string;
@@ -1824,9 +1824,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
1824
1824
  maxLength: number;
1825
1825
  }[] | undefined;
1826
1826
  gimmicks?: {
1827
+ appearance: string;
1827
1828
  name: string;
1828
1829
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1829
- appearance: string;
1830
1830
  images?: {
1831
1831
  description: string;
1832
1832
  name?: string | undefined;
@@ -1835,6 +1835,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
1835
1835
  }[] | undefined;
1836
1836
  }, {
1837
1837
  name?: string | undefined;
1838
+ description?: string | undefined;
1838
1839
  thumbnail?: string | null | undefined;
1839
1840
  environment?: "CHAT" | "NOVEL" | undefined;
1840
1841
  core?: {
@@ -1843,7 +1844,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
1843
1844
  interval?: number | undefined;
1844
1845
  maxAgentExecutions?: number | null | undefined;
1845
1846
  } | undefined;
1846
- description?: string | undefined;
1847
1847
  rules?: string[] | undefined;
1848
1848
  canvases?: {
1849
1849
  name: string;
@@ -1856,9 +1856,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
1856
1856
  maxLength: number;
1857
1857
  }[] | undefined;
1858
1858
  gimmicks?: {
1859
+ appearance: string;
1859
1860
  name: string;
1860
1861
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1861
- appearance: string;
1862
1862
  images?: {
1863
1863
  description: string;
1864
1864
  name?: string | undefined;
@@ -1873,6 +1873,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
1873
1873
  }, "strip", z.ZodTypeAny, {
1874
1874
  config: {
1875
1875
  name?: string | undefined;
1876
+ description?: string | undefined;
1876
1877
  thumbnail?: string | null | undefined;
1877
1878
  environment?: "CHAT" | "NOVEL" | undefined;
1878
1879
  core?: {
@@ -1881,7 +1882,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
1881
1882
  interval?: number | undefined;
1882
1883
  maxAgentExecutions?: number | null | undefined;
1883
1884
  } | undefined;
1884
- description?: string | undefined;
1885
1885
  rules?: string[] | undefined;
1886
1886
  canvases?: {
1887
1887
  name: string;
@@ -1894,9 +1894,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
1894
1894
  maxLength: number;
1895
1895
  }[] | undefined;
1896
1896
  gimmicks?: {
1897
+ appearance: string;
1897
1898
  name: string;
1898
1899
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1899
- appearance: string;
1900
1900
  images?: {
1901
1901
  description: string;
1902
1902
  name?: string | undefined;
@@ -1908,6 +1908,7 @@ export declare const CreateLocationSchema: z.ZodObject<{
1908
1908
  }, {
1909
1909
  config: {
1910
1910
  name?: string | undefined;
1911
+ description?: string | undefined;
1911
1912
  thumbnail?: string | null | undefined;
1912
1913
  environment?: "CHAT" | "NOVEL" | undefined;
1913
1914
  core?: {
@@ -1916,7 +1917,6 @@ export declare const CreateLocationSchema: z.ZodObject<{
1916
1917
  interval?: number | undefined;
1917
1918
  maxAgentExecutions?: number | null | undefined;
1918
1919
  } | undefined;
1919
- description?: string | undefined;
1920
1920
  rules?: string[] | undefined;
1921
1921
  canvases?: {
1922
1922
  name: string;
@@ -1929,9 +1929,9 @@ export declare const CreateLocationSchema: z.ZodObject<{
1929
1929
  maxLength: number;
1930
1930
  }[] | undefined;
1931
1931
  gimmicks?: {
1932
+ appearance: string;
1932
1933
  name: string;
1933
1934
  core: "web_search" | "image_generator" | "character_image_generator" | "notion";
1934
- appearance: string;
1935
1935
  images?: {
1936
1936
  description: string;
1937
1937
  name?: string | undefined;
@@ -2580,12 +2580,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
2580
2580
  image: z.ZodString;
2581
2581
  index: z.ZodOptional<z.ZodNumber>;
2582
2582
  }, "strip", z.ZodTypeAny, {
2583
- image: string;
2584
2583
  locationId: bigint;
2584
+ image: string;
2585
2585
  index?: number | undefined;
2586
2586
  }, {
2587
- image: string;
2588
2587
  locationId: bigint;
2588
+ image: string;
2589
2589
  index?: number | undefined;
2590
2590
  }>;
2591
2591
  export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {