@little-samo/samo-ai-sdk 0.6.14 → 0.7.1

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.
@@ -65,14 +65,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
65
65
  backstory: z.ZodOptional<z.ZodString>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  gender?: string | undefined;
68
- age?: string | undefined;
69
68
  expertise?: string | undefined;
70
69
  backstory?: string | undefined;
70
+ age?: string | undefined;
71
71
  }, {
72
72
  gender?: string | undefined;
73
- age?: string | undefined;
74
73
  expertise?: string | undefined;
75
74
  backstory?: string | undefined;
75
+ age?: string | undefined;
76
76
  }>>;
77
77
  speech: z.ZodOptional<z.ZodObject<{
78
78
  tone: z.ZodOptional<z.ZodString>;
@@ -95,16 +95,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
95
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
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">]>>;
97
97
  }, "strip", z.ZodTypeAny, {
98
- values?: string | undefined;
99
98
  traits?: string | undefined;
100
99
  interests?: string | undefined;
100
+ values?: string | undefined;
101
101
  quirks?: string | undefined;
102
102
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
103
103
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
104
104
  }, {
105
- values?: string | undefined;
106
105
  traits?: string | undefined;
107
106
  interests?: string | undefined;
107
+ values?: 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
110
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -112,9 +112,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  background?: {
114
114
  gender?: string | undefined;
115
- age?: string | undefined;
116
115
  expertise?: string | undefined;
117
116
  backstory?: string | undefined;
117
+ age?: string | undefined;
118
118
  } | undefined;
119
119
  speech?: {
120
120
  tone?: string | undefined;
@@ -122,9 +122,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
122
122
  formality?: string | undefined;
123
123
  } | undefined;
124
124
  personality?: {
125
- values?: string | undefined;
126
125
  traits?: string | undefined;
127
126
  interests?: string | undefined;
127
+ values?: 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
130
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -132,9 +132,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
132
132
  }, {
133
133
  background?: {
134
134
  gender?: string | undefined;
135
- age?: string | undefined;
136
135
  expertise?: string | undefined;
137
136
  backstory?: string | undefined;
137
+ age?: string | undefined;
138
138
  } | undefined;
139
139
  speech?: {
140
140
  tone?: string | undefined;
@@ -142,9 +142,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
142
142
  formality?: string | undefined;
143
143
  } | undefined;
144
144
  personality?: {
145
- values?: string | undefined;
146
145
  traits?: string | undefined;
147
146
  interests?: string | undefined;
147
+ values?: 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
150
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -153,13 +153,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
153
153
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
154
154
  }, "strict", z.ZodTypeAny, {
155
155
  role?: string | undefined;
156
+ name?: string | undefined;
156
157
  avatar?: string | undefined;
157
158
  referenceAvatar?: string | undefined;
158
159
  appearance?: string | undefined;
159
- name?: string | undefined;
160
160
  core?: {
161
161
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
162
162
  } | undefined;
163
+ rules?: string[] | undefined;
163
164
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
164
165
  languages?: string[] | undefined;
165
166
  timeZone?: string | undefined;
@@ -168,9 +169,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
168
169
  character?: {
169
170
  background?: {
170
171
  gender?: string | undefined;
171
- age?: string | undefined;
172
172
  expertise?: string | undefined;
173
173
  backstory?: string | undefined;
174
+ age?: string | undefined;
174
175
  } | undefined;
175
176
  speech?: {
176
177
  tone?: string | undefined;
@@ -178,24 +179,24 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
178
179
  formality?: string | undefined;
179
180
  } | undefined;
180
181
  personality?: {
181
- values?: string | undefined;
182
182
  traits?: string | undefined;
183
183
  interests?: string | undefined;
184
+ values?: string | undefined;
184
185
  quirks?: string | undefined;
185
186
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
186
187
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
187
188
  } | undefined;
188
189
  } | undefined;
189
- rules?: string[] | undefined;
190
190
  }, {
191
191
  role?: string | undefined;
192
+ name?: string | undefined;
192
193
  avatar?: string | undefined;
193
194
  referenceAvatar?: string | undefined;
194
195
  appearance?: string | undefined;
195
- name?: string | undefined;
196
196
  core?: {
197
197
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
198
198
  } | undefined;
199
+ rules?: string[] | undefined;
199
200
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
200
201
  languages?: string[] | undefined;
201
202
  timeZone?: string | undefined;
@@ -204,9 +205,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
204
205
  character?: {
205
206
  background?: {
206
207
  gender?: string | undefined;
207
- age?: string | undefined;
208
208
  expertise?: string | undefined;
209
209
  backstory?: string | undefined;
210
+ age?: string | undefined;
210
211
  } | undefined;
211
212
  speech?: {
212
213
  tone?: string | undefined;
@@ -214,27 +215,26 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
214
215
  formality?: string | undefined;
215
216
  } | undefined;
216
217
  personality?: {
217
- values?: string | undefined;
218
218
  traits?: string | undefined;
219
219
  interests?: string | undefined;
220
+ values?: string | undefined;
220
221
  quirks?: string | undefined;
221
222
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
222
223
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
223
224
  } | undefined;
224
225
  } | undefined;
225
- rules?: string[] | undefined;
226
226
  }>;
227
227
  }, "strip", z.ZodTypeAny, {
228
- agentId: bigint;
229
228
  config: {
230
229
  role?: string | undefined;
230
+ name?: string | undefined;
231
231
  avatar?: string | undefined;
232
232
  referenceAvatar?: string | undefined;
233
233
  appearance?: string | undefined;
234
- name?: string | undefined;
235
234
  core?: {
236
235
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
237
236
  } | undefined;
237
+ rules?: string[] | undefined;
238
238
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
239
239
  languages?: string[] | undefined;
240
240
  timeZone?: string | undefined;
@@ -243,9 +243,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
243
243
  character?: {
244
244
  background?: {
245
245
  gender?: string | undefined;
246
- age?: string | undefined;
247
246
  expertise?: string | undefined;
248
247
  backstory?: string | undefined;
248
+ age?: string | undefined;
249
249
  } | undefined;
250
250
  speech?: {
251
251
  tone?: string | undefined;
@@ -253,27 +253,27 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
253
253
  formality?: string | undefined;
254
254
  } | undefined;
255
255
  personality?: {
256
- values?: string | undefined;
257
256
  traits?: string | undefined;
258
257
  interests?: string | undefined;
258
+ values?: string | undefined;
259
259
  quirks?: string | undefined;
260
260
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
261
261
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
262
262
  } | undefined;
263
263
  } | undefined;
264
- rules?: string[] | undefined;
265
264
  };
266
- }, {
267
265
  agentId: bigint;
266
+ }, {
268
267
  config: {
269
268
  role?: string | undefined;
269
+ name?: string | undefined;
270
270
  avatar?: string | undefined;
271
271
  referenceAvatar?: string | undefined;
272
272
  appearance?: string | undefined;
273
- name?: string | undefined;
274
273
  core?: {
275
274
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
276
275
  } | undefined;
276
+ rules?: string[] | undefined;
277
277
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
278
278
  languages?: string[] | undefined;
279
279
  timeZone?: string | undefined;
@@ -282,9 +282,9 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
282
282
  character?: {
283
283
  background?: {
284
284
  gender?: string | undefined;
285
- age?: string | undefined;
286
285
  expertise?: string | undefined;
287
286
  backstory?: string | undefined;
287
+ age?: string | undefined;
288
288
  } | undefined;
289
289
  speech?: {
290
290
  tone?: string | undefined;
@@ -292,16 +292,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
292
292
  formality?: string | undefined;
293
293
  } | undefined;
294
294
  personality?: {
295
- values?: string | undefined;
296
295
  traits?: string | undefined;
297
296
  interests?: string | undefined;
297
+ values?: string | undefined;
298
298
  quirks?: string | undefined;
299
299
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
300
300
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
301
301
  } | undefined;
302
302
  } | undefined;
303
- rules?: string[] | undefined;
304
303
  };
304
+ agentId: bigint;
305
305
  }>;
306
306
  export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
307
307
  export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
@@ -327,7 +327,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
327
327
  token: string;
328
328
  }>]>;
329
329
  }, "strip", z.ZodTypeAny, {
330
- agentId: bigint;
331
330
  credential: {
332
331
  type: "notion";
333
332
  token: string;
@@ -335,8 +334,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
335
334
  type: "notion";
336
335
  token: string;
337
336
  };
338
- }, {
339
337
  agentId: bigint;
338
+ }, {
340
339
  credential: {
341
340
  type: "notion";
342
341
  token: string;
@@ -344,6 +343,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
344
343
  type: "notion";
345
344
  token: string;
346
345
  };
346
+ agentId: bigint;
347
347
  }>;
348
348
  export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
349
349
  export interface AgentUpdateCredentialResponseDto {
@@ -354,11 +354,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
354
354
  agentId: z.ZodBigInt;
355
355
  credentialType: z.ZodString;
356
356
  }, "strip", z.ZodTypeAny, {
357
- agentId: bigint;
358
357
  credentialType: string;
359
- }, {
360
358
  agentId: bigint;
359
+ }, {
361
360
  credentialType: string;
361
+ agentId: bigint;
362
362
  }>;
363
363
  export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
364
364
  export interface AgentDeleteCredentialResponseDto {
@@ -412,14 +412,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
412
412
  backstory: z.ZodOptional<z.ZodString>;
413
413
  }, "strip", z.ZodTypeAny, {
414
414
  gender?: string | undefined;
415
- age?: string | undefined;
416
415
  expertise?: string | undefined;
417
416
  backstory?: string | undefined;
417
+ age?: string | undefined;
418
418
  }, {
419
419
  gender?: string | undefined;
420
- age?: string | undefined;
421
420
  expertise?: string | undefined;
422
421
  backstory?: string | undefined;
422
+ age?: string | undefined;
423
423
  }>>;
424
424
  speech: z.ZodOptional<z.ZodObject<{
425
425
  tone: z.ZodOptional<z.ZodString>;
@@ -442,16 +442,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
442
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
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">]>>;
444
444
  }, "strip", z.ZodTypeAny, {
445
- values?: string | undefined;
446
445
  traits?: string | undefined;
447
446
  interests?: string | undefined;
447
+ values?: string | undefined;
448
448
  quirks?: string | undefined;
449
449
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
450
450
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
451
451
  }, {
452
- values?: string | undefined;
453
452
  traits?: string | undefined;
454
453
  interests?: string | undefined;
454
+ values?: string | undefined;
455
455
  quirks?: string | undefined;
456
456
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
457
457
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -459,9 +459,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
459
459
  }, "strip", z.ZodTypeAny, {
460
460
  background?: {
461
461
  gender?: string | undefined;
462
- age?: string | undefined;
463
462
  expertise?: string | undefined;
464
463
  backstory?: string | undefined;
464
+ age?: string | undefined;
465
465
  } | undefined;
466
466
  speech?: {
467
467
  tone?: string | undefined;
@@ -469,9 +469,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
469
469
  formality?: string | undefined;
470
470
  } | undefined;
471
471
  personality?: {
472
- values?: string | undefined;
473
472
  traits?: string | undefined;
474
473
  interests?: string | undefined;
474
+ values?: string | undefined;
475
475
  quirks?: string | undefined;
476
476
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
477
477
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -479,9 +479,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
479
479
  }, {
480
480
  background?: {
481
481
  gender?: string | undefined;
482
- age?: string | undefined;
483
482
  expertise?: string | undefined;
484
483
  backstory?: string | undefined;
484
+ age?: string | undefined;
485
485
  } | undefined;
486
486
  speech?: {
487
487
  tone?: string | undefined;
@@ -489,9 +489,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
489
489
  formality?: string | undefined;
490
490
  } | undefined;
491
491
  personality?: {
492
- values?: string | undefined;
493
492
  traits?: string | undefined;
494
493
  interests?: string | undefined;
494
+ values?: string | undefined;
495
495
  quirks?: string | undefined;
496
496
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
497
497
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
@@ -500,13 +500,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
500
500
  rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
501
501
  }, "strict", z.ZodTypeAny, {
502
502
  role?: string | undefined;
503
+ name?: string | undefined;
503
504
  avatar?: string | undefined;
504
505
  referenceAvatar?: string | undefined;
505
506
  appearance?: string | undefined;
506
- name?: string | undefined;
507
507
  core?: {
508
508
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
509
509
  } | undefined;
510
+ rules?: string[] | undefined;
510
511
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
511
512
  languages?: string[] | undefined;
512
513
  timeZone?: string | undefined;
@@ -515,9 +516,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
515
516
  character?: {
516
517
  background?: {
517
518
  gender?: string | undefined;
518
- age?: string | undefined;
519
519
  expertise?: string | undefined;
520
520
  backstory?: string | undefined;
521
+ age?: string | undefined;
521
522
  } | undefined;
522
523
  speech?: {
523
524
  tone?: string | undefined;
@@ -525,24 +526,24 @@ export declare const CreateAgentSchema: z.ZodObject<{
525
526
  formality?: string | undefined;
526
527
  } | undefined;
527
528
  personality?: {
528
- values?: string | undefined;
529
529
  traits?: string | undefined;
530
530
  interests?: string | undefined;
531
+ values?: string | undefined;
531
532
  quirks?: string | undefined;
532
533
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
533
534
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
534
535
  } | undefined;
535
536
  } | undefined;
536
- rules?: string[] | undefined;
537
537
  }, {
538
538
  role?: string | undefined;
539
+ name?: string | undefined;
539
540
  avatar?: string | undefined;
540
541
  referenceAvatar?: string | undefined;
541
542
  appearance?: string | undefined;
542
- name?: string | undefined;
543
543
  core?: {
544
544
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
545
545
  } | undefined;
546
+ rules?: string[] | undefined;
546
547
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
547
548
  languages?: string[] | undefined;
548
549
  timeZone?: string | undefined;
@@ -551,9 +552,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
551
552
  character?: {
552
553
  background?: {
553
554
  gender?: string | undefined;
554
- age?: string | undefined;
555
555
  expertise?: string | undefined;
556
556
  backstory?: string | undefined;
557
+ age?: string | undefined;
557
558
  } | undefined;
558
559
  speech?: {
559
560
  tone?: string | undefined;
@@ -561,26 +562,26 @@ export declare const CreateAgentSchema: z.ZodObject<{
561
562
  formality?: string | undefined;
562
563
  } | undefined;
563
564
  personality?: {
564
- values?: string | undefined;
565
565
  traits?: string | undefined;
566
566
  interests?: string | undefined;
567
+ values?: string | undefined;
567
568
  quirks?: string | undefined;
568
569
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
569
570
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
570
571
  } | undefined;
571
572
  } | undefined;
572
- rules?: string[] | undefined;
573
573
  }>;
574
574
  }, "strip", z.ZodTypeAny, {
575
575
  config: {
576
576
  role?: string | undefined;
577
+ name?: string | undefined;
577
578
  avatar?: string | undefined;
578
579
  referenceAvatar?: string | undefined;
579
580
  appearance?: string | undefined;
580
- name?: string | undefined;
581
581
  core?: {
582
582
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
583
583
  } | undefined;
584
+ rules?: string[] | undefined;
584
585
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
585
586
  languages?: string[] | undefined;
586
587
  timeZone?: string | undefined;
@@ -589,9 +590,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
589
590
  character?: {
590
591
  background?: {
591
592
  gender?: string | undefined;
592
- age?: string | undefined;
593
593
  expertise?: string | undefined;
594
594
  backstory?: string | undefined;
595
+ age?: string | undefined;
595
596
  } | undefined;
596
597
  speech?: {
597
598
  tone?: string | undefined;
@@ -599,26 +600,26 @@ export declare const CreateAgentSchema: z.ZodObject<{
599
600
  formality?: string | undefined;
600
601
  } | undefined;
601
602
  personality?: {
602
- values?: string | undefined;
603
603
  traits?: string | undefined;
604
604
  interests?: string | undefined;
605
+ values?: string | undefined;
605
606
  quirks?: string | undefined;
606
607
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
607
608
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
608
609
  } | undefined;
609
610
  } | undefined;
610
- rules?: string[] | undefined;
611
611
  };
612
612
  }, {
613
613
  config: {
614
614
  role?: string | undefined;
615
+ name?: string | undefined;
615
616
  avatar?: string | undefined;
616
617
  referenceAvatar?: string | undefined;
617
618
  appearance?: string | undefined;
618
- name?: string | undefined;
619
619
  core?: {
620
620
  name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
621
621
  } | undefined;
622
+ rules?: string[] | undefined;
622
623
  llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
623
624
  languages?: string[] | undefined;
624
625
  timeZone?: string | undefined;
@@ -627,9 +628,9 @@ export declare const CreateAgentSchema: z.ZodObject<{
627
628
  character?: {
628
629
  background?: {
629
630
  gender?: string | undefined;
630
- age?: string | undefined;
631
631
  expertise?: string | undefined;
632
632
  backstory?: string | undefined;
633
+ age?: string | undefined;
633
634
  } | undefined;
634
635
  speech?: {
635
636
  tone?: string | undefined;
@@ -637,15 +638,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
637
638
  formality?: string | undefined;
638
639
  } | undefined;
639
640
  personality?: {
640
- values?: string | undefined;
641
641
  traits?: string | undefined;
642
642
  interests?: string | undefined;
643
+ values?: string | undefined;
643
644
  quirks?: string | undefined;
644
645
  mbti?: "INTJ" | "INTP" | "ENTJ" | "ENTP" | "INFJ" | "INFP" | "ENFJ" | "ENFP" | "ISTJ" | "ISFJ" | "ESTJ" | "ESFJ" | "ISTP" | "ISFP" | "ESTP" | "ESFP" | undefined;
645
646
  zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
646
647
  } | undefined;
647
648
  } | undefined;
648
- rules?: string[] | undefined;
649
649
  };
650
650
  }>;
651
651
  export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
@@ -21,11 +21,11 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
21
21
  bio: z.ZodOptional<z.ZodString>;
22
22
  isAllowSensitive: z.ZodOptional<z.ZodBoolean>;
23
23
  }, "strip", z.ZodTypeAny, {
24
+ role?: string | undefined;
25
+ birthDate?: Date | undefined;
24
26
  username?: string | undefined;
25
27
  nickname?: string | undefined;
26
- birthDate?: Date | undefined;
27
28
  profilePicture?: string | undefined;
28
- role?: string | undefined;
29
29
  avatarName?: string | undefined;
30
30
  avatar?: string | undefined;
31
31
  referenceAvatar?: string | undefined;
@@ -33,11 +33,11 @@ export declare const UpdateCurrentUserBodySchema: z.ZodObject<{
33
33
  bio?: string | undefined;
34
34
  isAllowSensitive?: boolean | undefined;
35
35
  }, {
36
+ role?: string | undefined;
37
+ birthDate?: Date | undefined;
36
38
  username?: string | undefined;
37
39
  nickname?: string | undefined;
38
- birthDate?: Date | undefined;
39
40
  profilePicture?: string | undefined;
40
- role?: string | undefined;
41
41
  avatarName?: string | undefined;
42
42
  avatar?: string | undefined;
43
43
  referenceAvatar?: string | undefined;
@@ -50,6 +50,16 @@ export interface UpdateCurrentUserResponseDto {
50
50
  success: boolean;
51
51
  error?: string;
52
52
  }
53
+ export declare const DeleteCurrentUserBodySchema: z.ZodObject<{
54
+ reason: z.ZodString;
55
+ }, "strip", z.ZodTypeAny, {
56
+ reason: string;
57
+ }, {
58
+ reason: string;
59
+ }>;
60
+ export type DeleteCurrentUserBodyDto = z.infer<typeof DeleteCurrentUserBodySchema>;
61
+ export interface DeleteCurrentUserResponseDto {
62
+ }
53
63
  export declare const GetUserAvatarsQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
54
64
  export type GetUserAvatarsQueryDto = z.infer<typeof GetUserAvatarsQuerySchema>;
55
65
  export interface GetUserAvatarsResponseDto {
@@ -65,54 +75,54 @@ export declare const UpdateUserAvatarBodySchema: z.ZodEffects<z.ZodObject<{
65
75
  referenceAvatar: z.ZodString;
66
76
  appearance: z.ZodString;
67
77
  }, "strip", z.ZodTypeAny, {
78
+ name: string;
68
79
  avatar: string;
69
80
  referenceAvatar: string;
70
81
  appearance: string;
71
- name: string;
72
82
  role?: string | undefined;
73
83
  }, {
84
+ name: string;
74
85
  avatar: string;
75
86
  referenceAvatar: string;
76
87
  appearance: string;
77
- name: string;
78
88
  role?: string | undefined;
79
89
  }>>>;
80
90
  }, "strip", z.ZodTypeAny, {
81
91
  avatar?: {
92
+ name: string;
82
93
  avatar: string;
83
94
  referenceAvatar: string;
84
95
  appearance: string;
85
- name: string;
86
96
  role?: string | undefined;
87
97
  } | null | undefined;
88
98
  index?: number | undefined;
89
99
  locationId?: bigint | undefined;
90
100
  }, {
91
101
  avatar?: {
102
+ name: string;
92
103
  avatar: string;
93
104
  referenceAvatar: string;
94
105
  appearance: string;
95
- name: string;
96
106
  role?: string | undefined;
97
107
  } | null | undefined;
98
108
  index?: number | undefined;
99
109
  locationId?: bigint | undefined;
100
110
  }>, {
101
111
  avatar?: {
112
+ name: string;
102
113
  avatar: string;
103
114
  referenceAvatar: string;
104
115
  appearance: string;
105
- name: string;
106
116
  role?: string | undefined;
107
117
  } | null | undefined;
108
118
  index?: number | undefined;
109
119
  locationId?: bigint | undefined;
110
120
  }, {
111
121
  avatar?: {
122
+ name: string;
112
123
  avatar: string;
113
124
  referenceAvatar: string;
114
125
  appearance: string;
115
- name: string;
116
126
  role?: string | undefined;
117
127
  } | null | undefined;
118
128
  index?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCurrentUserSchema = exports.ReadUserNotificationParamsSchema = exports.ReadAllUserNotificationsBodySchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.ReadAllNoticesBodySchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUserFollowingQuerySchema = exports.GetUserFollowingParamsSchema = exports.GetUserFollowersQuerySchema = exports.GetUserFollowersParamsSchema = exports.UnfollowUserParamsSchema = exports.FollowUserParamsSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
3
+ exports.GetCurrentUserSchema = exports.ReadUserNotificationParamsSchema = exports.ReadAllUserNotificationsBodySchema = exports.AcknowledgeUserNotificationsBodySchema = exports.GetUserNotificationsQuerySchema = exports.ReadNoticeParamsSchema = exports.ReadAllNoticesBodySchema = exports.AcknowledgeNoticesBodySchema = exports.GetNoticesQuerySchema = exports.SetUserReferrerBodySchema = exports.GetUserReferralQuerySchema = exports.DeleteUserCommentParamsSchema = exports.ReportUserCommentParamsSchema = exports.UpdateUserCommentReactionBodySchema = exports.UpdateUserCommentReactionParamsSchema = exports.CreateUserCommentBodySchema = exports.CreateUserCommentParamsSchema = exports.GetUserCommentRepliesQuerySchema = exports.GetUserCommentRepliesParamsSchema = exports.GetUserCommentsQuerySchema = exports.GetUserCommentsParamsSchema = exports.GetUserFollowingQuerySchema = exports.GetUserFollowingParamsSchema = exports.GetUserFollowersQuerySchema = exports.GetUserFollowersParamsSchema = exports.UnfollowUserParamsSchema = exports.FollowUserParamsSchema = exports.GetUsersByIdsQuerySchema = exports.ValidateUserFieldBodySchema = exports.CheckAttendanceBodySchema = exports.GetAttendanceQuerySchema = exports.UpdateUserAvatarBodySchema = exports.GetUserAvatarsQuerySchema = exports.DeleteCurrentUserBodySchema = exports.UpdateCurrentUserBodySchema = exports.GetCurrentUserQuerySchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const user_1 = require("./user");
6
6
  exports.GetCurrentUserQuerySchema = zod_1.z.object({});
@@ -22,6 +22,9 @@ exports.UpdateCurrentUserBodySchema = zod_1.z.object({
22
22
  bio: zod_1.z.string().max(500).optional(),
23
23
  isAllowSensitive: zod_1.z.boolean().optional(),
24
24
  });
25
+ exports.DeleteCurrentUserBodySchema = zod_1.z.object({
26
+ reason: zod_1.z.string().min(1).max(500),
27
+ });
25
28
  exports.GetUserAvatarsQuerySchema = zod_1.z.object({});
26
29
  exports.UpdateUserAvatarBodySchema = zod_1.z
27
30
  .object({