@little-samo/samo-ai-sdk 0.7.7 → 0.7.8
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.
- package/dist/dto/entities/agents/agent.requests.d.ts +46 -46
- package/dist/dto/entities/users/user.d.ts +14 -5
- package/dist/dto/entities/users/user.js +5 -1
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.requests.d.ts +69 -10
- package/dist/dto/entities/users/user.requests.js +19 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/images/image.d.ts +1 -1
- package/dist/dto/images/image.js +1 -0
- package/dist/dto/images/image.js.map +1 -1
- package/dist/dto/images/image.requests.d.ts +9 -9
- package/dist/dto/images/image.requests.js +1 -1
- package/dist/dto/images/image.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +2 -2
- package/dist/dto/locations/location.requests.d.ts +178 -163
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/dto/images/image.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IACrC,WAAW;IACX,SAAS;IACT,UAAU;IACV,cAAc;IACd,OAAO;
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/dto/images/image.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,OAAC,CAAC,IAAI,CAAC;IACrC,WAAW;IACX,SAAS;IACT,UAAU;IACV,cAAc;IACd,OAAO;IACP,QAAQ;CACT,CAAC,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const GenerateAvatarImageBodySchema: z.ZodObject<{
|
|
3
3
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["avatar", "reference"]>>>;
|
|
4
|
-
style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime"]>>>;
|
|
4
|
+
style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>>;
|
|
5
5
|
image: z.ZodOptional<z.ZodString>;
|
|
6
6
|
prompt: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
type: "avatar" | "reference";
|
|
9
|
-
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime";
|
|
9
|
+
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean";
|
|
10
10
|
image?: string | undefined;
|
|
11
11
|
prompt?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
type?: "avatar" | "reference" | undefined;
|
|
14
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | undefined;
|
|
14
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
15
15
|
image?: string | undefined;
|
|
16
16
|
prompt?: string | undefined;
|
|
17
17
|
}>;
|
|
@@ -21,15 +21,15 @@ export interface GenerateAvatarImageResponseDto {
|
|
|
21
21
|
imageUrl: string;
|
|
22
22
|
}
|
|
23
23
|
export declare const GenerateThumbnailImageBodySchema: z.ZodObject<{
|
|
24
|
-
style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime"]>>>;
|
|
24
|
+
style: z.ZodDefault<z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>>;
|
|
25
25
|
image: z.ZodOptional<z.ZodString>;
|
|
26
26
|
prompt: z.ZodOptional<z.ZodString>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime";
|
|
28
|
+
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean";
|
|
29
29
|
image?: string | undefined;
|
|
30
30
|
prompt?: string | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | undefined;
|
|
32
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
33
33
|
image?: string | undefined;
|
|
34
34
|
prompt?: string | undefined;
|
|
35
35
|
}>;
|
|
@@ -40,14 +40,14 @@ export interface GenerateThumbnailImageResponseDto {
|
|
|
40
40
|
export declare const GetSceneImageQuerySchema: z.ZodObject<{
|
|
41
41
|
avatar: z.ZodBigInt;
|
|
42
42
|
scene: z.ZodString;
|
|
43
|
-
style: z.
|
|
43
|
+
style: z.ZodOptional<z.ZodEnum<["realistic", "webtoon", "webtoon2", "illustration", "anime", "korean"]>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
avatar: bigint;
|
|
46
|
-
style: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime";
|
|
47
46
|
scene: string;
|
|
47
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
avatar: bigint;
|
|
50
50
|
scene: string;
|
|
51
|
-
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | undefined;
|
|
51
|
+
style?: "realistic" | "webtoon" | "webtoon2" | "illustration" | "anime" | "korean" | undefined;
|
|
52
52
|
}>;
|
|
53
53
|
export type GetSceneImageQueryDto = z.infer<typeof GetSceneImageQuerySchema>;
|
|
@@ -17,6 +17,6 @@ exports.GenerateThumbnailImageBodySchema = zod_1.z.object({
|
|
|
17
17
|
exports.GetSceneImageQuerySchema = zod_1.z.object({
|
|
18
18
|
avatar: zod_1.z.coerce.bigint(),
|
|
19
19
|
scene: zod_1.z.string().max(1000),
|
|
20
|
-
style: image_1.ImageStyleSchema.optional()
|
|
20
|
+
style: image_1.ImageStyleSchema.optional(),
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=image.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.requests.js","sourceRoot":"","sources":["../../../src/dto/images/image.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,mCAA2C;AAO9B,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;IAClE,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAYU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAWU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC3B,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE
|
|
1
|
+
{"version":3,"file":"image.requests.js","sourceRoot":"","sources":["../../../src/dto/images/image.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,mCAA2C;AAO9B,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;IAClE,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAYU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAWU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC3B,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -15,13 +15,13 @@ export declare const LocationPresetMessageSchema: z.ZodObject<{
|
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
17
17
|
entityId: bigint;
|
|
18
|
-
message?: string | undefined;
|
|
19
18
|
image?: string | undefined;
|
|
19
|
+
message?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
entityType: "system" | "agent" | "user" | "gimmick";
|
|
22
22
|
entityId: bigint;
|
|
23
|
-
message?: string | undefined;
|
|
24
23
|
image?: string | undefined;
|
|
24
|
+
message?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type LocationPresetMessageDto = z.infer<typeof LocationPresetMessageSchema>;
|
|
27
27
|
export declare const LocationPresetCanvasSchema: z.ZodObject<{
|