@little-samo/samo-ai-sdk 0.1.3 → 0.1.4-rv1
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.d.ts +8 -0
- package/dist/dto/entities/agents/agent.requests.d.ts +197 -8
- package/dist/dto/entities/agents/agent.requests.js +34 -1
- package/dist/dto/entities/agents/agent.requests.js.map +1 -1
- package/dist/dto/entities/gimmicks/gimmick.d.ts +5 -0
- package/dist/dto/entities/gimmicks/gimmick.js +3 -0
- package/dist/dto/entities/gimmicks/gimmick.js.map +1 -0
- package/dist/dto/entities/gimmicks/index.d.ts +1 -0
- package/dist/dto/entities/gimmicks/index.js +18 -0
- package/dist/dto/entities/gimmicks/index.js.map +1 -0
- package/dist/dto/entities/index.d.ts +1 -0
- package/dist/dto/entities/index.js +1 -0
- package/dist/dto/entities/index.js.map +1 -1
- package/dist/dto/entities/users/user.d.ts +4 -0
- package/dist/dto/entities/users/user.requests.d.ts +6 -1
- package/dist/dto/entities/users/user.requests.js +2 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/items/item.requests.d.ts +12 -2
- package/dist/dto/items/item.requests.js +17 -32
- package/dist/dto/items/item.requests.js.map +1 -1
- package/dist/dto/locations/index.d.ts +1 -0
- package/dist/dto/locations/index.js +1 -0
- package/dist/dto/locations/index.js.map +1 -1
- package/dist/dto/locations/location.d.ts +25 -2
- package/dist/dto/locations/location.events.d.ts +29 -9
- package/dist/dto/locations/location.events.js +6 -2
- package/dist/dto/locations/location.events.js.map +1 -1
- package/dist/dto/locations/location.message.d.ts +1 -0
- package/dist/dto/locations/location.requests.d.ts +760 -269
- package/dist/dto/locations/location.requests.js +147 -44
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/dto/locations/location.snapshot.d.ts +11 -0
- package/dist/dto/locations/location.snapshot.js +3 -0
- package/dist/dto/locations/location.snapshot.js.map +1 -0
- package/dist/models/entities/agents/agent.config.d.ts +4 -4
- package/dist/models/entities/agents/agent.config.js +23 -15
- package/dist/models/entities/agents/agent.config.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +18 -15
- package/dist/models/locations/location.config.js +16 -12
- package/dist/models/locations/location.config.js.map +1 -1
- package/dist/models/locations/location.constants.d.ts +1 -0
- package/dist/models/locations/location.constants.js +1 -0
- package/dist/models/locations/location.constants.js.map +1 -1
- package/package.json +3 -3
|
@@ -8,4 +8,12 @@ export interface AgentPublicDto {
|
|
|
8
8
|
}
|
|
9
9
|
export interface AgentPrivateDto extends AgentPublicDto {
|
|
10
10
|
config: AgentConfig | null;
|
|
11
|
+
credentialTypes: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface AgentCostDto {
|
|
14
|
+
agentId: AgentId;
|
|
15
|
+
totalCost: number;
|
|
16
|
+
llmPresetCost: number;
|
|
17
|
+
gimmickCost?: number;
|
|
18
|
+
canvasCost?: number;
|
|
11
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentConfig } from '@little-samo/samo-ai-sdk/models';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { AgentPrivateDto, AgentPublicDto } from './agent';
|
|
3
|
+
import { AgentCostDto, AgentPrivateDto, AgentPublicDto } from './agent';
|
|
4
4
|
import { AgentPresetDto } from './agent.preset';
|
|
5
5
|
export declare const AgentsPaginationQuerySchema: z.ZodObject<{
|
|
6
6
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -49,7 +49,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
49
49
|
}, {
|
|
50
50
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
51
51
|
}>>;
|
|
52
|
-
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"
|
|
52
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>>;
|
|
53
53
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
54
54
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
55
55
|
greeting: z.ZodOptional<z.ZodString>;
|
|
@@ -63,7 +63,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
63
63
|
core?: {
|
|
64
64
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
65
65
|
} | undefined;
|
|
66
|
-
llmPreset?: "gemini-low" | "gemini-medium" | "
|
|
66
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
67
67
|
languages?: string[] | undefined;
|
|
68
68
|
timeZone?: string | undefined;
|
|
69
69
|
greeting?: string | undefined;
|
|
@@ -77,7 +77,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
77
77
|
core?: {
|
|
78
78
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
79
79
|
} | undefined;
|
|
80
|
-
llmPreset?: "gemini-low" | "gemini-medium" | "
|
|
80
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
81
81
|
languages?: string[] | undefined;
|
|
82
82
|
timeZone?: string | undefined;
|
|
83
83
|
greeting?: string | undefined;
|
|
@@ -86,7 +86,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
86
86
|
rules?: string[] | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
agentId: bigint;
|
|
90
89
|
config: {
|
|
91
90
|
name?: string | undefined;
|
|
92
91
|
avatar?: string | undefined;
|
|
@@ -94,7 +93,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
94
93
|
core?: {
|
|
95
94
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
96
95
|
} | undefined;
|
|
97
|
-
llmPreset?: "gemini-low" | "gemini-medium" | "
|
|
96
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
98
97
|
languages?: string[] | undefined;
|
|
99
98
|
timeZone?: string | undefined;
|
|
100
99
|
greeting?: string | undefined;
|
|
@@ -102,8 +101,8 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
102
101
|
character?: Record<string, Record<string, string>> | undefined;
|
|
103
102
|
rules?: string[] | undefined;
|
|
104
103
|
};
|
|
105
|
-
}, {
|
|
106
104
|
agentId: bigint;
|
|
105
|
+
}, {
|
|
107
106
|
config: {
|
|
108
107
|
name?: string | undefined;
|
|
109
108
|
avatar?: string | undefined;
|
|
@@ -111,7 +110,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
111
110
|
core?: {
|
|
112
111
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
113
112
|
} | undefined;
|
|
114
|
-
llmPreset?: "gemini-low" | "gemini-medium" | "
|
|
113
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
115
114
|
languages?: string[] | undefined;
|
|
116
115
|
timeZone?: string | undefined;
|
|
117
116
|
greeting?: string | undefined;
|
|
@@ -119,9 +118,80 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
119
118
|
character?: Record<string, Record<string, string>> | undefined;
|
|
120
119
|
rules?: string[] | undefined;
|
|
121
120
|
};
|
|
121
|
+
agentId: bigint;
|
|
122
122
|
}>;
|
|
123
123
|
export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
|
|
124
124
|
export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
|
|
125
|
+
export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
126
|
+
agentId: z.ZodBigInt;
|
|
127
|
+
credential: z.ZodUnion<[z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"x_twitter">;
|
|
129
|
+
email: z.ZodString;
|
|
130
|
+
password: z.ZodString;
|
|
131
|
+
username: z.ZodString;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
type: "x_twitter";
|
|
134
|
+
email: string;
|
|
135
|
+
password: string;
|
|
136
|
+
username: string;
|
|
137
|
+
}, {
|
|
138
|
+
type: "x_twitter";
|
|
139
|
+
email: string;
|
|
140
|
+
password: string;
|
|
141
|
+
username: string;
|
|
142
|
+
}>, z.ZodObject<{
|
|
143
|
+
type: z.ZodLiteral<"notion">;
|
|
144
|
+
token: z.ZodString;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
type: "notion";
|
|
147
|
+
token: string;
|
|
148
|
+
}, {
|
|
149
|
+
type: "notion";
|
|
150
|
+
token: string;
|
|
151
|
+
}>]>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
credential: {
|
|
154
|
+
type: "x_twitter";
|
|
155
|
+
email: string;
|
|
156
|
+
password: string;
|
|
157
|
+
username: string;
|
|
158
|
+
} | {
|
|
159
|
+
type: "notion";
|
|
160
|
+
token: string;
|
|
161
|
+
};
|
|
162
|
+
agentId: bigint;
|
|
163
|
+
}, {
|
|
164
|
+
credential: {
|
|
165
|
+
type: "x_twitter";
|
|
166
|
+
email: string;
|
|
167
|
+
password: string;
|
|
168
|
+
username: string;
|
|
169
|
+
} | {
|
|
170
|
+
type: "notion";
|
|
171
|
+
token: string;
|
|
172
|
+
};
|
|
173
|
+
agentId: bigint;
|
|
174
|
+
}>;
|
|
175
|
+
export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
|
|
176
|
+
export interface AgentUpdateCredentialResponseDto {
|
|
177
|
+
success: boolean;
|
|
178
|
+
error?: string;
|
|
179
|
+
}
|
|
180
|
+
export declare const AgentDeleteCredentialSchema: z.ZodObject<{
|
|
181
|
+
agentId: z.ZodBigInt;
|
|
182
|
+
credentialType: z.ZodString;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
credentialType: string;
|
|
185
|
+
agentId: bigint;
|
|
186
|
+
}, {
|
|
187
|
+
credentialType: string;
|
|
188
|
+
agentId: bigint;
|
|
189
|
+
}>;
|
|
190
|
+
export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
|
|
191
|
+
export interface AgentDeleteCredentialResponseDto {
|
|
192
|
+
success: boolean;
|
|
193
|
+
error?: string;
|
|
194
|
+
}
|
|
125
195
|
export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
|
|
126
196
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
127
197
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -142,6 +212,91 @@ export interface AgentPresetsPaginatedResponseDto {
|
|
|
142
212
|
totalPages: number;
|
|
143
213
|
};
|
|
144
214
|
}
|
|
215
|
+
export declare const CreateAgentSchema: z.ZodObject<{
|
|
216
|
+
config: z.ZodObject<{
|
|
217
|
+
name: z.ZodOptional<z.ZodString>;
|
|
218
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString]>>;
|
|
219
|
+
appearance: z.ZodOptional<z.ZodString>;
|
|
220
|
+
core: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
name: z.ZodUnion<[z.ZodLiteral<"evaluate_and_actions">, z.ZodLiteral<"execute_actions">, z.ZodLiteral<"response_every_message">]>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
224
|
+
}, {
|
|
225
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
226
|
+
}>>;
|
|
227
|
+
llmPreset: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"gemini-low">, z.ZodLiteral<"gemini-medium">, z.ZodLiteral<"openai-low">, z.ZodLiteral<"openai-medium">]>>;
|
|
228
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
229
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
230
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
231
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
232
|
+
character: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
233
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
234
|
+
}, "strict", z.ZodTypeAny, {
|
|
235
|
+
name?: string | undefined;
|
|
236
|
+
avatar?: string | undefined;
|
|
237
|
+
appearance?: string | undefined;
|
|
238
|
+
core?: {
|
|
239
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
240
|
+
} | undefined;
|
|
241
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
242
|
+
languages?: string[] | undefined;
|
|
243
|
+
timeZone?: string | undefined;
|
|
244
|
+
greeting?: string | undefined;
|
|
245
|
+
actions?: "todo"[] | undefined;
|
|
246
|
+
character?: Record<string, Record<string, string>> | undefined;
|
|
247
|
+
rules?: string[] | undefined;
|
|
248
|
+
}, {
|
|
249
|
+
name?: string | undefined;
|
|
250
|
+
avatar?: string | undefined;
|
|
251
|
+
appearance?: string | undefined;
|
|
252
|
+
core?: {
|
|
253
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
254
|
+
} | undefined;
|
|
255
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
256
|
+
languages?: string[] | undefined;
|
|
257
|
+
timeZone?: string | undefined;
|
|
258
|
+
greeting?: string | undefined;
|
|
259
|
+
actions?: "todo"[] | undefined;
|
|
260
|
+
character?: Record<string, Record<string, string>> | undefined;
|
|
261
|
+
rules?: string[] | undefined;
|
|
262
|
+
}>;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
config: {
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
avatar?: string | undefined;
|
|
267
|
+
appearance?: string | undefined;
|
|
268
|
+
core?: {
|
|
269
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
270
|
+
} | undefined;
|
|
271
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
272
|
+
languages?: string[] | undefined;
|
|
273
|
+
timeZone?: string | undefined;
|
|
274
|
+
greeting?: string | undefined;
|
|
275
|
+
actions?: "todo"[] | undefined;
|
|
276
|
+
character?: Record<string, Record<string, string>> | undefined;
|
|
277
|
+
rules?: string[] | undefined;
|
|
278
|
+
};
|
|
279
|
+
}, {
|
|
280
|
+
config: {
|
|
281
|
+
name?: string | undefined;
|
|
282
|
+
avatar?: string | undefined;
|
|
283
|
+
appearance?: string | undefined;
|
|
284
|
+
core?: {
|
|
285
|
+
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
286
|
+
} | undefined;
|
|
287
|
+
llmPreset?: "gemini-low" | "gemini-medium" | "openai-low" | "openai-medium" | undefined;
|
|
288
|
+
languages?: string[] | undefined;
|
|
289
|
+
timeZone?: string | undefined;
|
|
290
|
+
greeting?: string | undefined;
|
|
291
|
+
actions?: "todo"[] | undefined;
|
|
292
|
+
character?: Record<string, Record<string, string>> | undefined;
|
|
293
|
+
rules?: string[] | undefined;
|
|
294
|
+
};
|
|
295
|
+
}>;
|
|
296
|
+
export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
|
|
297
|
+
export interface CreateAgentResponseDto {
|
|
298
|
+
agent: AgentPrivateDto;
|
|
299
|
+
}
|
|
145
300
|
export declare const CreateAgentFromPresetSchema: z.ZodObject<{
|
|
146
301
|
presetId: z.ZodBigInt;
|
|
147
302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -166,3 +321,37 @@ export type GetHelperAgentDto = z.infer<typeof GetHelperAgentSchema>;
|
|
|
166
321
|
export interface GetHelperAgentResponseDto {
|
|
167
322
|
agent: AgentPrivateDto;
|
|
168
323
|
}
|
|
324
|
+
export declare const GetAgentCostParamsSchema: z.ZodObject<{
|
|
325
|
+
agentId: z.ZodBigInt;
|
|
326
|
+
}, "strip", z.ZodTypeAny, {
|
|
327
|
+
agentId: bigint;
|
|
328
|
+
}, {
|
|
329
|
+
agentId: bigint;
|
|
330
|
+
}>;
|
|
331
|
+
export type GetAgentCostParamsDto = z.infer<typeof GetAgentCostParamsSchema>;
|
|
332
|
+
export interface GetAgentCostResponseDto {
|
|
333
|
+
cost: AgentCostDto;
|
|
334
|
+
}
|
|
335
|
+
export declare const UploadAgentAvatarParamsSchema: z.ZodObject<{
|
|
336
|
+
agentId: z.ZodBigInt;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
agentId: bigint;
|
|
339
|
+
}, {
|
|
340
|
+
agentId: bigint;
|
|
341
|
+
}>;
|
|
342
|
+
export type UploadAgentAvatarParamsDto = z.infer<typeof UploadAgentAvatarParamsSchema>;
|
|
343
|
+
export interface UploadAgentAvatarResponseDto {
|
|
344
|
+
avatarUrl: string;
|
|
345
|
+
}
|
|
346
|
+
export declare const DeleteAgentParamsSchema: z.ZodObject<{
|
|
347
|
+
agentId: z.ZodBigInt;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
agentId: bigint;
|
|
350
|
+
}, {
|
|
351
|
+
agentId: bigint;
|
|
352
|
+
}>;
|
|
353
|
+
export type DeleteAgentParamsDto = z.infer<typeof DeleteAgentParamsSchema>;
|
|
354
|
+
export interface DeleteAgentResponseDto {
|
|
355
|
+
success: boolean;
|
|
356
|
+
error?: string;
|
|
357
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetHelperAgentSchema = exports.CreateAgentFromPresetSchema = exports.AgentPresetsPaginationQuerySchema = exports.AgentUpdateConfigSchema = exports.GetAgentsByIdsQuerySchema = exports.AgentsPaginationQuerySchema = void 0;
|
|
3
|
+
exports.DeleteAgentParamsSchema = exports.UploadAgentAvatarParamsSchema = exports.GetAgentCostParamsSchema = exports.GetHelperAgentSchema = exports.CreateAgentFromPresetSchema = exports.CreateAgentSchema = exports.AgentPresetsPaginationQuerySchema = exports.AgentDeleteCredentialSchema = exports.AgentUpdateCredentialSchema = exports.AgentUpdateConfigSchema = exports.GetAgentsByIdsQuerySchema = exports.AgentsPaginationQuerySchema = void 0;
|
|
4
4
|
const models_1 = require("@little-samo/samo-ai-sdk/models");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.AgentsPaginationQuerySchema = zod_1.z.object({
|
|
@@ -23,14 +23,47 @@ exports.AgentUpdateConfigSchema = zod_1.z.object({
|
|
|
23
23
|
'For the character field: properties are merged at the individual level rather than replacing entire categories. ' +
|
|
24
24
|
'Empty string values ("") will delete the corresponding property. If a category becomes empty after deletions, the category itself is removed.'),
|
|
25
25
|
});
|
|
26
|
+
exports.AgentUpdateCredentialSchema = zod_1.z.object({
|
|
27
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
28
|
+
credential: zod_1.z.union([
|
|
29
|
+
zod_1.z.object({
|
|
30
|
+
type: zod_1.z.literal('x_twitter'),
|
|
31
|
+
email: zod_1.z.string().max(255),
|
|
32
|
+
password: zod_1.z.string().max(255),
|
|
33
|
+
username: zod_1.z.string().max(255),
|
|
34
|
+
}),
|
|
35
|
+
zod_1.z.object({
|
|
36
|
+
type: zod_1.z.literal('notion'),
|
|
37
|
+
token: zod_1.z.string().max(255),
|
|
38
|
+
}),
|
|
39
|
+
]),
|
|
40
|
+
});
|
|
41
|
+
exports.AgentDeleteCredentialSchema = zod_1.z.object({
|
|
42
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
43
|
+
credentialType: zod_1.z.string(),
|
|
44
|
+
});
|
|
26
45
|
exports.AgentPresetsPaginationQuerySchema = zod_1.z.object({
|
|
27
46
|
page: zod_1.z.coerce.number().int().min(1).optional().default(1),
|
|
28
47
|
limit: zod_1.z.coerce.number().int().min(1).max(100).optional().default(20),
|
|
29
48
|
});
|
|
49
|
+
exports.CreateAgentSchema = zod_1.z.object({
|
|
50
|
+
config: models_1.AgentConfigSchema.partial()
|
|
51
|
+
.strict()
|
|
52
|
+
.describe('Agent configuration settings (e.g., name, avatar, character, etc.)'),
|
|
53
|
+
});
|
|
30
54
|
exports.CreateAgentFromPresetSchema = zod_1.z.object({
|
|
31
55
|
presetId: zod_1.z.coerce.bigint(),
|
|
32
56
|
});
|
|
33
57
|
exports.GetHelperAgentSchema = zod_1.z.object({
|
|
34
58
|
helperType: zod_1.z.nativeEnum(models_1.AgentHelperType),
|
|
35
59
|
});
|
|
60
|
+
exports.GetAgentCostParamsSchema = zod_1.z.object({
|
|
61
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
62
|
+
});
|
|
63
|
+
exports.UploadAgentAvatarParamsSchema = zod_1.z.object({
|
|
64
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
65
|
+
});
|
|
66
|
+
exports.DeleteAgentParamsSchema = zod_1.z.object({
|
|
67
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
68
|
+
});
|
|
36
69
|
//# sourceMappingURL=agent.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.requests.ts"],"names":[],"mappings":";;;AAAA,4DAIyC;AACzC,6BAAwB;
|
|
1
|
+
{"version":3,"file":"agent.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/agents/agent.requests.ts"],"names":[],"mappings":";;;AAAA,4DAIyC;AACzC,6BAAwB;AAUX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACtE,CAAC,CAAC;AAkBU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,OAAC;SACR,MAAM,EAAE;SACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CACjB,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAC/D;SACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACnD,OAAO,EAAE,sCAAsC;KAChD,CAAC;CACL,CAAC,CAAC;AAaU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAChE,MAAM,EAAE,0BAAiB,CAAC,OAAO,EAAE;SAChC,MAAM,EAAE;SACR,QAAQ,CACP,6FAA6F;QAC3F,kHAAkH;QAClH,+IAA+I,CAClJ;CACJ,CAAC,CAAC;AAOU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC;QAClB,OAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;YAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;YAC1B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;YAC7B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;SAC9B,CAAC;QACF,OAAC,CAAC,MAAM,CAAC;YACP,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;YACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;SAC3B,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAYU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAYU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACtE,CAAC,CAAC;AAiBU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,0BAAiB,CAAC,OAAO,EAAE;SAChC,MAAM,EAAE;SACR,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC;AASU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAWU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,OAAC,CAAC,UAAU,CAAC,wBAAe,CAAC;CAC1C,CAAC,CAAC;AASU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AASU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAWU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gimmick.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/gimmick.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './gimmick';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./gimmick"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/gimmicks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./agents"), exports);
|
|
18
|
+
__exportStar(require("./gimmicks"), exports);
|
|
18
19
|
__exportStar(require("./users"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { UserPublicDto } from './user';
|
|
2
|
+
import { UserPrivateDto, UserPublicDto } from './user';
|
|
3
|
+
export declare const GetCurrentUserQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
4
|
+
export type GetCurrentUserQueryDto = z.infer<typeof GetCurrentUserQuerySchema>;
|
|
5
|
+
export interface GetCurrentUserResponseDto {
|
|
6
|
+
user: UserPrivateDto;
|
|
7
|
+
}
|
|
3
8
|
export declare const GetUsersByIdsQuerySchema: z.ZodObject<{
|
|
4
9
|
userIds: z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>;
|
|
5
10
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUsersByIdsQuerySchema = void 0;
|
|
3
|
+
exports.GetUsersByIdsQuerySchema = exports.GetCurrentUserQuerySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
exports.GetCurrentUserQuerySchema = zod_1.z.object({});
|
|
5
6
|
exports.GetUsersByIdsQuerySchema = zod_1.z.object({
|
|
6
7
|
userIds: zod_1.z
|
|
7
8
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.requests.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
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,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;CACL,CAAC,CAAC"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ItemDto } from './item';
|
|
3
|
+
export declare const GetUserItemsQuerySchema: z.ZodObject<{
|
|
4
|
+
itemDataIds: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number[] | undefined, string | undefined>, number[] | undefined, string | undefined>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
itemDataIds?: number[] | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
itemDataIds?: string | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export type GetUserItemsQueryDto = z.infer<typeof GetUserItemsQuerySchema>;
|
|
11
|
+
export interface GetUserItemsResponseDto {
|
|
12
|
+
items: ItemDto[];
|
|
3
13
|
}
|
|
@@ -1,36 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return value.map((id) => parseInt(id)).filter((id) => !isNaN(id));
|
|
29
|
-
}
|
|
30
|
-
return [];
|
|
3
|
+
exports.GetUserItemsQuerySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.GetUserItemsQuerySchema = zod_1.z.object({
|
|
6
|
+
itemDataIds: zod_1.z
|
|
7
|
+
.string()
|
|
8
|
+
.optional()
|
|
9
|
+
.transform((val) => {
|
|
10
|
+
if (!val)
|
|
11
|
+
return undefined;
|
|
12
|
+
return val
|
|
13
|
+
.split(',')
|
|
14
|
+
.map((id) => zod_1.z.coerce.number().parse(id.trim()))
|
|
15
|
+
.filter((id) => !isNaN(id));
|
|
16
|
+
})
|
|
17
|
+
.refine((arr) => !arr || arr.length <= 50, {
|
|
18
|
+
message: 'itemDataIds must contain at most 50 item data IDs',
|
|
31
19
|
}),
|
|
32
|
-
|
|
33
|
-
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
34
|
-
__metadata("design:type", Array)
|
|
35
|
-
], ItemQueryDto.prototype, "itemDataIds", void 0);
|
|
20
|
+
});
|
|
36
21
|
//# sourceMappingURL=item.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.requests.js","sourceRoot":"","sources":["../../../src/dto/items/item.requests.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"item.requests.js","sourceRoot":"","sources":["../../../src/dto/items/item.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,OAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE;QACjB,IAAI,CAAC,GAAG;YAAE,OAAO,SAAS,CAAC;QAC3B,OAAO,GAAG;aACP,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;aAC/C,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAChC,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE;QACzC,OAAO,EAAE,mDAAmD;KAC7D,CAAC;CACL,CAAC,CAAC"}
|
|
@@ -19,5 +19,6 @@ __exportStar(require("./location.message"), exports);
|
|
|
19
19
|
__exportStar(require("./location.preset"), exports);
|
|
20
20
|
__exportStar(require("./location.requests"), exports);
|
|
21
21
|
__exportStar(require("./location.scheduled-message"), exports);
|
|
22
|
+
__exportStar(require("./location.snapshot"), exports);
|
|
22
23
|
__exportStar(require("./location"), exports);
|
|
23
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,+DAA6C;AAC7C,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,+DAA6C;AAC7C,sDAAoC;AACpC,6CAA2B"}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { AgentId, LocationId, UserId } from '@little-samo/samo-ai';
|
|
1
|
+
import { AgentId, EntityId, EntityType, LocationId, UserId } from '@little-samo/samo-ai';
|
|
2
2
|
import { LocationConfig, LocationEnvironment, LocationPlatform, LocationType } from '@little-samo/samo-ai-sdk/models';
|
|
3
|
-
import { LocationMessageDto } from './location.message';
|
|
3
|
+
import type { LocationMessageDto } from './location.message';
|
|
4
|
+
import type { AgentCostDto } from '../entities/agents/agent';
|
|
5
|
+
import type { GimmickCostDto } from '../entities/gimmicks/gimmick';
|
|
4
6
|
export interface LocationPublicDto {
|
|
5
7
|
id: LocationId;
|
|
6
8
|
name: string;
|
|
7
9
|
platform: LocationPlatform;
|
|
8
10
|
type: LocationType;
|
|
9
11
|
environment: LocationEnvironment;
|
|
12
|
+
param1: bigint;
|
|
13
|
+
param2: bigint;
|
|
14
|
+
param3: bigint;
|
|
15
|
+
param4: bigint;
|
|
10
16
|
createdAt: Date;
|
|
11
17
|
updatedAt: Date;
|
|
12
18
|
}
|
|
13
19
|
export interface LocationPrivateDto extends LocationPublicDto {
|
|
14
20
|
config: LocationConfig | null;
|
|
21
|
+
credentialTypes: string[];
|
|
15
22
|
}
|
|
16
23
|
export interface LocationListItemDto extends LocationPublicDto {
|
|
17
24
|
lastMessage: LocationMessageDto | null;
|
|
@@ -22,3 +29,19 @@ export interface LocationListItemDto extends LocationPublicDto {
|
|
|
22
29
|
pauseUpdateUntil: Date | null;
|
|
23
30
|
pauseUpdateReason: string | null;
|
|
24
31
|
}
|
|
32
|
+
export interface LocationCanvasDto {
|
|
33
|
+
lastModifierEntityType: EntityType;
|
|
34
|
+
lastModifierEntityId: EntityId;
|
|
35
|
+
text: string;
|
|
36
|
+
updatedAt: Date;
|
|
37
|
+
}
|
|
38
|
+
export interface LocationContentDto {
|
|
39
|
+
id: LocationId;
|
|
40
|
+
canvases: Record<string, LocationCanvasDto>;
|
|
41
|
+
rendering: string | null;
|
|
42
|
+
}
|
|
43
|
+
export interface LocationCostDto {
|
|
44
|
+
locationId: LocationId;
|
|
45
|
+
agents: AgentCostDto[];
|
|
46
|
+
gimmicks: GimmickCostDto[];
|
|
47
|
+
}
|