@little-samo/samo-ai-sdk 0.4.7 → 0.5.0
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 +60 -50
- package/dist/dto/entities/users/user.d.ts +10 -6
- package/dist/dto/entities/users/user.js +3 -2
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.requests.d.ts +53 -26
- package/dist/dto/entities/users/user.requests.js +2 -4
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.preset.d.ts +2 -2
- package/dist/dto/locations/location.requests.d.ts +186 -141
- package/dist/dto/locations/location.requests.js +11 -2
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/models/entities/agents/agent.config.d.ts +15 -12
- package/dist/models/entities/agents/agent.config.js +21 -5
- package/dist/models/entities/agents/agent.config.js.map +1 -1
- package/dist/models/locations/location.config.d.ts +8 -8
- package/package.json +3 -3
|
@@ -41,6 +41,7 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
41
41
|
agentId: z.ZodBigInt;
|
|
42
42
|
config: z.ZodObject<{
|
|
43
43
|
name: z.ZodOptional<z.ZodString>;
|
|
44
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
44
45
|
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
|
|
45
46
|
referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
46
47
|
appearance: z.ZodOptional<z.ZodString>;
|
|
@@ -58,19 +59,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
58
59
|
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
59
60
|
character: z.ZodOptional<z.ZodObject<{
|
|
60
61
|
background: z.ZodOptional<z.ZodObject<{
|
|
61
|
-
role: z.ZodOptional<z.ZodString>;
|
|
62
62
|
gender: z.ZodOptional<z.ZodString>;
|
|
63
63
|
age: z.ZodOptional<z.ZodString>;
|
|
64
64
|
expertise: z.ZodOptional<z.ZodString>;
|
|
65
65
|
backstory: z.ZodOptional<z.ZodString>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
role?: string | undefined;
|
|
68
67
|
gender?: string | undefined;
|
|
69
68
|
age?: string | undefined;
|
|
70
69
|
expertise?: string | undefined;
|
|
71
70
|
backstory?: string | undefined;
|
|
72
71
|
}, {
|
|
73
|
-
role?: string | undefined;
|
|
74
72
|
gender?: string | undefined;
|
|
75
73
|
age?: string | undefined;
|
|
76
74
|
expertise?: string | undefined;
|
|
@@ -95,22 +93,24 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
95
93
|
values: z.ZodOptional<z.ZodString>;
|
|
96
94
|
quirks: z.ZodOptional<z.ZodString>;
|
|
97
95
|
mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
|
|
96
|
+
zodiac: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Aries">, z.ZodLiteral<"Taurus">, z.ZodLiteral<"Gemini">, z.ZodLiteral<"Cancer">, z.ZodLiteral<"Leo">, z.ZodLiteral<"Virgo">, z.ZodLiteral<"Libra">, z.ZodLiteral<"Scorpio">, z.ZodLiteral<"Sagittarius">, z.ZodLiteral<"Capricorn">, z.ZodLiteral<"Aquarius">, z.ZodLiteral<"Pisces">]>>;
|
|
98
97
|
}, "strip", z.ZodTypeAny, {
|
|
99
98
|
values?: string | undefined;
|
|
100
99
|
traits?: string | undefined;
|
|
101
100
|
interests?: string | undefined;
|
|
102
101
|
quirks?: string | undefined;
|
|
103
102
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
103
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
values?: string | undefined;
|
|
106
106
|
traits?: string | undefined;
|
|
107
107
|
interests?: string | undefined;
|
|
108
108
|
quirks?: string | undefined;
|
|
109
109
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
110
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
110
111
|
}>>;
|
|
111
112
|
}, "strip", z.ZodTypeAny, {
|
|
112
113
|
background?: {
|
|
113
|
-
role?: string | undefined;
|
|
114
114
|
gender?: string | undefined;
|
|
115
115
|
age?: string | undefined;
|
|
116
116
|
expertise?: string | undefined;
|
|
@@ -127,10 +127,10 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
127
127
|
interests?: string | undefined;
|
|
128
128
|
quirks?: string | undefined;
|
|
129
129
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
130
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
130
131
|
} | undefined;
|
|
131
132
|
}, {
|
|
132
133
|
background?: {
|
|
133
|
-
role?: string | undefined;
|
|
134
134
|
gender?: string | undefined;
|
|
135
135
|
age?: string | undefined;
|
|
136
136
|
expertise?: string | undefined;
|
|
@@ -147,18 +147,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
147
147
|
interests?: string | undefined;
|
|
148
148
|
quirks?: string | undefined;
|
|
149
149
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
150
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
150
151
|
} | undefined;
|
|
151
152
|
}>>;
|
|
152
153
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
153
154
|
}, "strict", z.ZodTypeAny, {
|
|
154
155
|
name?: string | undefined;
|
|
156
|
+
role?: string | undefined;
|
|
157
|
+
avatar?: string | undefined;
|
|
158
|
+
referenceAvatar?: string | undefined;
|
|
159
|
+
appearance?: string | undefined;
|
|
155
160
|
core?: {
|
|
156
161
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
157
162
|
} | undefined;
|
|
158
|
-
appearance?: string | undefined;
|
|
159
|
-
rules?: string[] | undefined;
|
|
160
|
-
avatar?: string | undefined;
|
|
161
|
-
referenceAvatar?: string | undefined;
|
|
162
163
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
163
164
|
languages?: string[] | undefined;
|
|
164
165
|
timeZone?: string | undefined;
|
|
@@ -166,7 +167,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
166
167
|
actions?: "todo"[] | undefined;
|
|
167
168
|
character?: {
|
|
168
169
|
background?: {
|
|
169
|
-
role?: string | undefined;
|
|
170
170
|
gender?: string | undefined;
|
|
171
171
|
age?: string | undefined;
|
|
172
172
|
expertise?: string | undefined;
|
|
@@ -183,17 +183,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
183
183
|
interests?: string | undefined;
|
|
184
184
|
quirks?: string | undefined;
|
|
185
185
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
186
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
186
187
|
} | undefined;
|
|
187
188
|
} | undefined;
|
|
189
|
+
rules?: string[] | undefined;
|
|
188
190
|
}, {
|
|
189
191
|
name?: string | undefined;
|
|
192
|
+
role?: string | undefined;
|
|
193
|
+
avatar?: string | undefined;
|
|
194
|
+
referenceAvatar?: string | undefined;
|
|
195
|
+
appearance?: string | undefined;
|
|
190
196
|
core?: {
|
|
191
197
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
192
198
|
} | undefined;
|
|
193
|
-
appearance?: string | undefined;
|
|
194
|
-
rules?: string[] | undefined;
|
|
195
|
-
avatar?: string | undefined;
|
|
196
|
-
referenceAvatar?: string | undefined;
|
|
197
199
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
198
200
|
languages?: string[] | undefined;
|
|
199
201
|
timeZone?: string | undefined;
|
|
@@ -201,7 +203,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
201
203
|
actions?: "todo"[] | undefined;
|
|
202
204
|
character?: {
|
|
203
205
|
background?: {
|
|
204
|
-
role?: string | undefined;
|
|
205
206
|
gender?: string | undefined;
|
|
206
207
|
age?: string | undefined;
|
|
207
208
|
expertise?: string | undefined;
|
|
@@ -218,19 +219,21 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
218
219
|
interests?: string | undefined;
|
|
219
220
|
quirks?: string | undefined;
|
|
220
221
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
222
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
221
223
|
} | undefined;
|
|
222
224
|
} | undefined;
|
|
225
|
+
rules?: string[] | undefined;
|
|
223
226
|
}>;
|
|
224
227
|
}, "strip", z.ZodTypeAny, {
|
|
225
228
|
config: {
|
|
226
229
|
name?: string | undefined;
|
|
230
|
+
role?: string | undefined;
|
|
231
|
+
avatar?: string | undefined;
|
|
232
|
+
referenceAvatar?: string | undefined;
|
|
233
|
+
appearance?: string | undefined;
|
|
227
234
|
core?: {
|
|
228
235
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
229
236
|
} | undefined;
|
|
230
|
-
appearance?: string | undefined;
|
|
231
|
-
rules?: string[] | undefined;
|
|
232
|
-
avatar?: string | undefined;
|
|
233
|
-
referenceAvatar?: string | undefined;
|
|
234
237
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
235
238
|
languages?: string[] | undefined;
|
|
236
239
|
timeZone?: string | undefined;
|
|
@@ -238,7 +241,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
238
241
|
actions?: "todo"[] | undefined;
|
|
239
242
|
character?: {
|
|
240
243
|
background?: {
|
|
241
|
-
role?: string | undefined;
|
|
242
244
|
gender?: string | undefined;
|
|
243
245
|
age?: string | undefined;
|
|
244
246
|
expertise?: string | undefined;
|
|
@@ -255,20 +257,22 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
255
257
|
interests?: string | undefined;
|
|
256
258
|
quirks?: string | undefined;
|
|
257
259
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
260
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
258
261
|
} | undefined;
|
|
259
262
|
} | undefined;
|
|
263
|
+
rules?: string[] | undefined;
|
|
260
264
|
};
|
|
261
265
|
agentId: bigint;
|
|
262
266
|
}, {
|
|
263
267
|
config: {
|
|
264
268
|
name?: string | undefined;
|
|
269
|
+
role?: string | undefined;
|
|
270
|
+
avatar?: string | undefined;
|
|
271
|
+
referenceAvatar?: string | undefined;
|
|
272
|
+
appearance?: string | undefined;
|
|
265
273
|
core?: {
|
|
266
274
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
267
275
|
} | undefined;
|
|
268
|
-
appearance?: string | undefined;
|
|
269
|
-
rules?: string[] | undefined;
|
|
270
|
-
avatar?: string | undefined;
|
|
271
|
-
referenceAvatar?: string | undefined;
|
|
272
276
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
273
277
|
languages?: string[] | undefined;
|
|
274
278
|
timeZone?: string | undefined;
|
|
@@ -276,7 +280,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
276
280
|
actions?: "todo"[] | undefined;
|
|
277
281
|
character?: {
|
|
278
282
|
background?: {
|
|
279
|
-
role?: string | undefined;
|
|
280
283
|
gender?: string | undefined;
|
|
281
284
|
age?: string | undefined;
|
|
282
285
|
expertise?: string | undefined;
|
|
@@ -293,8 +296,10 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
293
296
|
interests?: string | undefined;
|
|
294
297
|
quirks?: string | undefined;
|
|
295
298
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
299
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
296
300
|
} | undefined;
|
|
297
301
|
} | undefined;
|
|
302
|
+
rules?: string[] | undefined;
|
|
298
303
|
};
|
|
299
304
|
agentId: bigint;
|
|
300
305
|
}>;
|
|
@@ -383,6 +388,7 @@ export interface AgentPresetsPaginatedResponseDto {
|
|
|
383
388
|
export declare const CreateAgentSchema: z.ZodObject<{
|
|
384
389
|
config: z.ZodObject<{
|
|
385
390
|
name: z.ZodOptional<z.ZodString>;
|
|
391
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
386
392
|
avatar: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[], z.ZodString, z.ZodString]>>;
|
|
387
393
|
referenceAvatar: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
388
394
|
appearance: z.ZodOptional<z.ZodString>;
|
|
@@ -400,19 +406,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
400
406
|
actions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"todo">, z.ZodLiteral<"todo">]>, "many">>;
|
|
401
407
|
character: z.ZodOptional<z.ZodObject<{
|
|
402
408
|
background: z.ZodOptional<z.ZodObject<{
|
|
403
|
-
role: z.ZodOptional<z.ZodString>;
|
|
404
409
|
gender: z.ZodOptional<z.ZodString>;
|
|
405
410
|
age: z.ZodOptional<z.ZodString>;
|
|
406
411
|
expertise: z.ZodOptional<z.ZodString>;
|
|
407
412
|
backstory: z.ZodOptional<z.ZodString>;
|
|
408
413
|
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
role?: string | undefined;
|
|
410
414
|
gender?: string | undefined;
|
|
411
415
|
age?: string | undefined;
|
|
412
416
|
expertise?: string | undefined;
|
|
413
417
|
backstory?: string | undefined;
|
|
414
418
|
}, {
|
|
415
|
-
role?: string | undefined;
|
|
416
419
|
gender?: string | undefined;
|
|
417
420
|
age?: string | undefined;
|
|
418
421
|
expertise?: string | undefined;
|
|
@@ -437,22 +440,24 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
437
440
|
values: z.ZodOptional<z.ZodString>;
|
|
438
441
|
quirks: z.ZodOptional<z.ZodString>;
|
|
439
442
|
mbti: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"INTJ">, z.ZodLiteral<"INTP">, z.ZodLiteral<"ENTJ">, z.ZodLiteral<"ENTP">, z.ZodLiteral<"INFJ">, z.ZodLiteral<"INFP">, z.ZodLiteral<"ENFJ">, z.ZodLiteral<"ENFP">, z.ZodLiteral<"ISTJ">, z.ZodLiteral<"ISFJ">, z.ZodLiteral<"ESTJ">, z.ZodLiteral<"ESFJ">, z.ZodLiteral<"ISTP">, z.ZodLiteral<"ISFP">, z.ZodLiteral<"ESTP">, z.ZodLiteral<"ESFP">]>>;
|
|
443
|
+
zodiac: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Aries">, z.ZodLiteral<"Taurus">, z.ZodLiteral<"Gemini">, z.ZodLiteral<"Cancer">, z.ZodLiteral<"Leo">, z.ZodLiteral<"Virgo">, z.ZodLiteral<"Libra">, z.ZodLiteral<"Scorpio">, z.ZodLiteral<"Sagittarius">, z.ZodLiteral<"Capricorn">, z.ZodLiteral<"Aquarius">, z.ZodLiteral<"Pisces">]>>;
|
|
440
444
|
}, "strip", z.ZodTypeAny, {
|
|
441
445
|
values?: string | undefined;
|
|
442
446
|
traits?: string | undefined;
|
|
443
447
|
interests?: string | undefined;
|
|
444
448
|
quirks?: string | undefined;
|
|
445
449
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
450
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
446
451
|
}, {
|
|
447
452
|
values?: string | undefined;
|
|
448
453
|
traits?: string | undefined;
|
|
449
454
|
interests?: string | undefined;
|
|
450
455
|
quirks?: string | undefined;
|
|
451
456
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
457
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
452
458
|
}>>;
|
|
453
459
|
}, "strip", z.ZodTypeAny, {
|
|
454
460
|
background?: {
|
|
455
|
-
role?: string | undefined;
|
|
456
461
|
gender?: string | undefined;
|
|
457
462
|
age?: string | undefined;
|
|
458
463
|
expertise?: string | undefined;
|
|
@@ -469,10 +474,10 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
469
474
|
interests?: string | undefined;
|
|
470
475
|
quirks?: string | undefined;
|
|
471
476
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
477
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
472
478
|
} | undefined;
|
|
473
479
|
}, {
|
|
474
480
|
background?: {
|
|
475
|
-
role?: string | undefined;
|
|
476
481
|
gender?: string | undefined;
|
|
477
482
|
age?: string | undefined;
|
|
478
483
|
expertise?: string | undefined;
|
|
@@ -489,18 +494,19 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
489
494
|
interests?: string | undefined;
|
|
490
495
|
quirks?: string | undefined;
|
|
491
496
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
497
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
492
498
|
} | undefined;
|
|
493
499
|
}>>;
|
|
494
500
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
495
501
|
}, "strict", z.ZodTypeAny, {
|
|
496
502
|
name?: string | undefined;
|
|
503
|
+
role?: string | undefined;
|
|
504
|
+
avatar?: string | undefined;
|
|
505
|
+
referenceAvatar?: string | undefined;
|
|
506
|
+
appearance?: string | undefined;
|
|
497
507
|
core?: {
|
|
498
508
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
499
509
|
} | undefined;
|
|
500
|
-
appearance?: string | undefined;
|
|
501
|
-
rules?: string[] | undefined;
|
|
502
|
-
avatar?: string | undefined;
|
|
503
|
-
referenceAvatar?: string | undefined;
|
|
504
510
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
505
511
|
languages?: string[] | undefined;
|
|
506
512
|
timeZone?: string | undefined;
|
|
@@ -508,7 +514,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
508
514
|
actions?: "todo"[] | undefined;
|
|
509
515
|
character?: {
|
|
510
516
|
background?: {
|
|
511
|
-
role?: string | undefined;
|
|
512
517
|
gender?: string | undefined;
|
|
513
518
|
age?: string | undefined;
|
|
514
519
|
expertise?: string | undefined;
|
|
@@ -525,17 +530,19 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
525
530
|
interests?: string | undefined;
|
|
526
531
|
quirks?: string | undefined;
|
|
527
532
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
533
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
528
534
|
} | undefined;
|
|
529
535
|
} | undefined;
|
|
536
|
+
rules?: string[] | undefined;
|
|
530
537
|
}, {
|
|
531
538
|
name?: string | undefined;
|
|
539
|
+
role?: string | undefined;
|
|
540
|
+
avatar?: string | undefined;
|
|
541
|
+
referenceAvatar?: string | undefined;
|
|
542
|
+
appearance?: string | undefined;
|
|
532
543
|
core?: {
|
|
533
544
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
534
545
|
} | undefined;
|
|
535
|
-
appearance?: string | undefined;
|
|
536
|
-
rules?: string[] | undefined;
|
|
537
|
-
avatar?: string | undefined;
|
|
538
|
-
referenceAvatar?: string | undefined;
|
|
539
546
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
540
547
|
languages?: string[] | undefined;
|
|
541
548
|
timeZone?: string | undefined;
|
|
@@ -543,7 +550,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
543
550
|
actions?: "todo"[] | undefined;
|
|
544
551
|
character?: {
|
|
545
552
|
background?: {
|
|
546
|
-
role?: string | undefined;
|
|
547
553
|
gender?: string | undefined;
|
|
548
554
|
age?: string | undefined;
|
|
549
555
|
expertise?: string | undefined;
|
|
@@ -560,19 +566,21 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
560
566
|
interests?: string | undefined;
|
|
561
567
|
quirks?: string | undefined;
|
|
562
568
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
569
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
563
570
|
} | undefined;
|
|
564
571
|
} | undefined;
|
|
572
|
+
rules?: string[] | undefined;
|
|
565
573
|
}>;
|
|
566
574
|
}, "strip", z.ZodTypeAny, {
|
|
567
575
|
config: {
|
|
568
576
|
name?: string | undefined;
|
|
577
|
+
role?: string | undefined;
|
|
578
|
+
avatar?: string | undefined;
|
|
579
|
+
referenceAvatar?: string | undefined;
|
|
580
|
+
appearance?: string | undefined;
|
|
569
581
|
core?: {
|
|
570
582
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
571
583
|
} | undefined;
|
|
572
|
-
appearance?: string | undefined;
|
|
573
|
-
rules?: string[] | undefined;
|
|
574
|
-
avatar?: string | undefined;
|
|
575
|
-
referenceAvatar?: string | undefined;
|
|
576
584
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
577
585
|
languages?: string[] | undefined;
|
|
578
586
|
timeZone?: string | undefined;
|
|
@@ -580,7 +588,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
580
588
|
actions?: "todo"[] | undefined;
|
|
581
589
|
character?: {
|
|
582
590
|
background?: {
|
|
583
|
-
role?: string | undefined;
|
|
584
591
|
gender?: string | undefined;
|
|
585
592
|
age?: string | undefined;
|
|
586
593
|
expertise?: string | undefined;
|
|
@@ -597,19 +604,21 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
597
604
|
interests?: string | undefined;
|
|
598
605
|
quirks?: string | undefined;
|
|
599
606
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
607
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
600
608
|
} | undefined;
|
|
601
609
|
} | undefined;
|
|
610
|
+
rules?: string[] | undefined;
|
|
602
611
|
};
|
|
603
612
|
}, {
|
|
604
613
|
config: {
|
|
605
614
|
name?: string | undefined;
|
|
615
|
+
role?: string | undefined;
|
|
616
|
+
avatar?: string | undefined;
|
|
617
|
+
referenceAvatar?: string | undefined;
|
|
618
|
+
appearance?: string | undefined;
|
|
606
619
|
core?: {
|
|
607
620
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
608
621
|
} | undefined;
|
|
609
|
-
appearance?: string | undefined;
|
|
610
|
-
rules?: string[] | undefined;
|
|
611
|
-
avatar?: string | undefined;
|
|
612
|
-
referenceAvatar?: string | undefined;
|
|
613
622
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
614
623
|
languages?: string[] | undefined;
|
|
615
624
|
timeZone?: string | undefined;
|
|
@@ -617,7 +626,6 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
617
626
|
actions?: "todo"[] | undefined;
|
|
618
627
|
character?: {
|
|
619
628
|
background?: {
|
|
620
|
-
role?: string | undefined;
|
|
621
629
|
gender?: string | undefined;
|
|
622
630
|
age?: string | undefined;
|
|
623
631
|
expertise?: string | undefined;
|
|
@@ -634,8 +642,10 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
634
642
|
interests?: string | undefined;
|
|
635
643
|
quirks?: string | undefined;
|
|
636
644
|
mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
|
|
645
|
+
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
637
646
|
} | undefined;
|
|
638
647
|
} | undefined;
|
|
648
|
+
rules?: string[] | undefined;
|
|
639
649
|
};
|
|
640
650
|
}>;
|
|
641
651
|
export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
|
|
@@ -6,6 +6,7 @@ export interface UserPublicDto {
|
|
|
6
6
|
nickname: string;
|
|
7
7
|
firstName: string | null;
|
|
8
8
|
lastName: string | null;
|
|
9
|
+
role: string | null;
|
|
9
10
|
profilePicture: string | null;
|
|
10
11
|
avatarName: string | null;
|
|
11
12
|
avatar: string | null;
|
|
@@ -27,18 +28,21 @@ export interface UserPrivateDto extends UserPublicDto {
|
|
|
27
28
|
}
|
|
28
29
|
export declare const UserAvatarSchema: z.ZodObject<{
|
|
29
30
|
name: z.ZodString;
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
role: z.ZodOptional<z.ZodString>;
|
|
32
|
+
avatar: z.ZodString;
|
|
33
|
+
referenceAvatar: z.ZodString;
|
|
32
34
|
appearance: z.ZodString;
|
|
33
35
|
}, "strip", z.ZodTypeAny, {
|
|
34
36
|
name: string;
|
|
35
|
-
avatar: string
|
|
36
|
-
referenceAvatar: string
|
|
37
|
+
avatar: string;
|
|
38
|
+
referenceAvatar: string;
|
|
37
39
|
appearance: string;
|
|
40
|
+
role?: string | undefined;
|
|
38
41
|
}, {
|
|
39
42
|
name: string;
|
|
40
|
-
avatar: string
|
|
41
|
-
referenceAvatar: string
|
|
43
|
+
avatar: string;
|
|
44
|
+
referenceAvatar: string;
|
|
42
45
|
appearance: string;
|
|
46
|
+
role?: string | undefined;
|
|
43
47
|
}>;
|
|
44
48
|
export type UserAvatarDto = z.infer<typeof UserAvatarSchema>;
|
|
@@ -7,8 +7,9 @@ exports.UserAvatarSchema = void 0;
|
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
exports.UserAvatarSchema = zod_1.default.object({
|
|
9
9
|
name: zod_1.default.string().max(64),
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
role: zod_1.default.string().max(200).optional(),
|
|
11
|
+
avatar: zod_1.default.string().max(2048),
|
|
12
|
+
referenceAvatar: zod_1.default.string().max(2048),
|
|
12
13
|
appearance: zod_1.default.string().max(500),
|
|
13
14
|
});
|
|
14
15
|
//# sourceMappingURL=user.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AAkCP,QAAA,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IACrC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -19,9 +19,9 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
|
|
|
19
19
|
avatar?: string | undefined;
|
|
20
20
|
referenceAvatar?: string | undefined;
|
|
21
21
|
appearance?: string | undefined;
|
|
22
|
+
birthDate?: Date | undefined;
|
|
22
23
|
username?: string | undefined;
|
|
23
24
|
nickname?: string | undefined;
|
|
24
|
-
birthDate?: Date | undefined;
|
|
25
25
|
profilePicture?: string | undefined;
|
|
26
26
|
avatarName?: string | undefined;
|
|
27
27
|
isAllowSensitive?: boolean | undefined;
|
|
@@ -29,9 +29,9 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
|
|
|
29
29
|
avatar?: string | undefined;
|
|
30
30
|
referenceAvatar?: string | undefined;
|
|
31
31
|
appearance?: string | undefined;
|
|
32
|
+
birthDate?: Date | undefined;
|
|
32
33
|
username?: string | undefined;
|
|
33
34
|
nickname?: string | undefined;
|
|
34
|
-
birthDate?: Date | undefined;
|
|
35
35
|
profilePicture?: string | undefined;
|
|
36
36
|
avatarName?: string | undefined;
|
|
37
37
|
isAllowSensitive?: boolean | undefined;
|
|
@@ -49,38 +49,65 @@ export interface GetUserAvatarsResponseDto {
|
|
|
49
49
|
export declare const UpdateUserAvatarBodySchema: z.ZodEffects<z.ZodObject<{
|
|
50
50
|
index: z.ZodOptional<z.ZodNumber>;
|
|
51
51
|
locationId: z.ZodOptional<z.ZodBigInt>;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
role: z.ZodOptional<z.ZodString>;
|
|
55
|
+
avatar: z.ZodString;
|
|
56
|
+
referenceAvatar: z.ZodString;
|
|
57
|
+
appearance: z.ZodString;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
name: string;
|
|
60
|
+
avatar: string;
|
|
61
|
+
referenceAvatar: string;
|
|
62
|
+
appearance: string;
|
|
63
|
+
role?: string | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
name: string;
|
|
66
|
+
avatar: string;
|
|
67
|
+
referenceAvatar: string;
|
|
68
|
+
appearance: string;
|
|
69
|
+
role?: string | undefined;
|
|
70
|
+
}>>>;
|
|
56
71
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
72
|
+
avatar?: {
|
|
73
|
+
name: string;
|
|
74
|
+
avatar: string;
|
|
75
|
+
referenceAvatar: string;
|
|
76
|
+
appearance: string;
|
|
77
|
+
role?: string | undefined;
|
|
78
|
+
} | null | undefined;
|
|
62
79
|
index?: number | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
name: string | null;
|
|
65
|
-
avatar: string | null;
|
|
66
|
-
referenceAvatar: string | null;
|
|
67
|
-
appearance: string | null;
|
|
68
80
|
locationId?: bigint | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
avatar?: {
|
|
83
|
+
name: string;
|
|
84
|
+
avatar: string;
|
|
85
|
+
referenceAvatar: string;
|
|
86
|
+
appearance: string;
|
|
87
|
+
role?: string | undefined;
|
|
88
|
+
} | null | undefined;
|
|
69
89
|
index?: number | undefined;
|
|
70
|
-
}>, {
|
|
71
|
-
name: string | null;
|
|
72
|
-
avatar: string | null;
|
|
73
|
-
referenceAvatar: string | null;
|
|
74
|
-
appearance: string | null;
|
|
75
90
|
locationId?: bigint | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
avatar?: {
|
|
93
|
+
name: string;
|
|
94
|
+
avatar: string;
|
|
95
|
+
referenceAvatar: string;
|
|
96
|
+
appearance: string;
|
|
97
|
+
role?: string | undefined;
|
|
98
|
+
} | null | undefined;
|
|
76
99
|
index?: number | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
name: string | null;
|
|
79
|
-
avatar: string | null;
|
|
80
|
-
referenceAvatar: string | null;
|
|
81
|
-
appearance: string | null;
|
|
82
100
|
locationId?: bigint | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
avatar?: {
|
|
103
|
+
name: string;
|
|
104
|
+
avatar: string;
|
|
105
|
+
referenceAvatar: string;
|
|
106
|
+
appearance: string;
|
|
107
|
+
role?: string | undefined;
|
|
108
|
+
} | null | undefined;
|
|
83
109
|
index?: number | undefined;
|
|
110
|
+
locationId?: bigint | undefined;
|
|
84
111
|
}>;
|
|
85
112
|
export type UpdateUserAvatarBodyDto = z.infer<typeof UpdateUserAvatarBodySchema>;
|
|
86
113
|
export interface UpdateUserAvatarResponseDto {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
|
+
const user_1 = require("./user");
|
|
5
6
|
exports.GetCurrentUserQuerySchema = zod_1.z.object({});
|
|
6
7
|
exports.UpdateCurrentUserBodySchema = zod_1.z.object({
|
|
7
8
|
username: zod_1.z
|
|
@@ -24,10 +25,7 @@ exports.UpdateUserAvatarBodySchema = zod_1.z
|
|
|
24
25
|
.object({
|
|
25
26
|
index: zod_1.z.coerce.number().int().min(0).optional(),
|
|
26
27
|
locationId: zod_1.z.coerce.bigint().optional(),
|
|
27
|
-
|
|
28
|
-
avatar: zod_1.z.string().max(2048).nullable(),
|
|
29
|
-
referenceAvatar: zod_1.z.string().max(2048).nullable(),
|
|
30
|
-
appearance: zod_1.z.string().max(500).nullable(),
|
|
28
|
+
avatar: user_1.UserAvatarSchema.nullable().optional(),
|
|
31
29
|
})
|
|
32
30
|
.refine((data) => data.index !== undefined || data.locationId !== undefined, {
|
|
33
31
|
message: 'Either index or locationId must be provided',
|
|
@@ -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":"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"}
|
|
@@ -13,12 +13,12 @@ export declare const LocationPresetMessageSchema: z.ZodObject<{
|
|
|
13
13
|
message: z.ZodOptional<z.ZodString>;
|
|
14
14
|
image: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
entityType: "
|
|
16
|
+
entityType: "user" | "system" | "agent" | "gimmick";
|
|
17
17
|
entityId: bigint;
|
|
18
18
|
message?: string | undefined;
|
|
19
19
|
image?: string | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
entityType: "
|
|
21
|
+
entityType: "user" | "system" | "agent" | "gimmick";
|
|
22
22
|
entityId: bigint;
|
|
23
23
|
message?: string | undefined;
|
|
24
24
|
image?: string | undefined;
|