@little-samo/samo-ai-sdk 0.1.0-rv3 → 0.1.0-rv4
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 +1 -0
- package/dist/dto/entities/agents/agent.requests.d.ts +12 -12
- package/dist/dto/locations/index.d.ts +1 -1
- package/dist/dto/locations/index.js +1 -1
- package/dist/dto/locations/index.js.map +1 -1
- package/dist/dto/locations/location.d.ts +7 -11
- package/dist/dto/locations/location.events.d.ts +3 -3
- package/dist/dto/locations/location.message.d.ts +13 -0
- package/dist/dto/locations/location.message.js +3 -0
- package/dist/dto/locations/location.message.js.map +1 -0
- package/dist/dto/locations/location.requests.d.ts +40 -18
- package/dist/dto/locations/location.requests.js +9 -3
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/dist/models/locations/location.constants.d.ts +8 -0
- package/dist/models/locations/location.constants.js +8 -1
- package/dist/models/locations/location.constants.js.map +1 -1
- package/package.json +1 -1
|
@@ -222,11 +222,12 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
222
222
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
224
|
name?: string | undefined;
|
|
225
|
-
avatar?: string | undefined;
|
|
226
|
-
appearance?: string | undefined;
|
|
227
225
|
core?: {
|
|
228
226
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
229
227
|
} | undefined;
|
|
228
|
+
rules?: string[] | undefined;
|
|
229
|
+
avatar?: string | undefined;
|
|
230
|
+
appearance?: string | undefined;
|
|
230
231
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
231
232
|
languages?: string[] | undefined;
|
|
232
233
|
timeZone?: string | undefined;
|
|
@@ -288,14 +289,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
288
289
|
mbti: z.ZodOptional<z.ZodString>;
|
|
289
290
|
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
290
291
|
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
291
|
-
rules?: string[] | undefined;
|
|
292
292
|
}, {
|
|
293
293
|
name?: string | undefined;
|
|
294
|
-
avatar?: string | undefined;
|
|
295
|
-
appearance?: string | undefined;
|
|
296
294
|
core?: {
|
|
297
295
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
298
296
|
} | undefined;
|
|
297
|
+
rules?: string[] | undefined;
|
|
298
|
+
avatar?: string | undefined;
|
|
299
|
+
appearance?: string | undefined;
|
|
299
300
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
300
301
|
languages?: string[] | undefined;
|
|
301
302
|
timeZone?: string | undefined;
|
|
@@ -357,17 +358,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
357
358
|
mbti: z.ZodOptional<z.ZodString>;
|
|
358
359
|
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
359
360
|
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
360
|
-
rules?: string[] | undefined;
|
|
361
361
|
}>;
|
|
362
362
|
}, "strip", z.ZodTypeAny, {
|
|
363
363
|
agentId: bigint;
|
|
364
364
|
config: {
|
|
365
365
|
name?: string | undefined;
|
|
366
|
-
avatar?: string | undefined;
|
|
367
|
-
appearance?: string | undefined;
|
|
368
366
|
core?: {
|
|
369
367
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
370
368
|
} | undefined;
|
|
369
|
+
rules?: string[] | undefined;
|
|
370
|
+
avatar?: string | undefined;
|
|
371
|
+
appearance?: string | undefined;
|
|
371
372
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
372
373
|
languages?: string[] | undefined;
|
|
373
374
|
timeZone?: string | undefined;
|
|
@@ -429,17 +430,17 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
429
430
|
mbti: z.ZodOptional<z.ZodString>;
|
|
430
431
|
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
431
432
|
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
432
|
-
rules?: string[] | undefined;
|
|
433
433
|
};
|
|
434
434
|
}, {
|
|
435
435
|
agentId: bigint;
|
|
436
436
|
config: {
|
|
437
437
|
name?: string | undefined;
|
|
438
|
-
avatar?: string | undefined;
|
|
439
|
-
appearance?: string | undefined;
|
|
440
438
|
core?: {
|
|
441
439
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message";
|
|
442
440
|
} | undefined;
|
|
441
|
+
rules?: string[] | undefined;
|
|
442
|
+
avatar?: string | undefined;
|
|
443
|
+
appearance?: string | undefined;
|
|
443
444
|
llmPreset?: "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "anthropic-low" | "anthropic-medium" | "anthropic-high" | "deepseek-low" | "deepseek-medium" | undefined;
|
|
444
445
|
languages?: string[] | undefined;
|
|
445
446
|
timeZone?: string | undefined;
|
|
@@ -501,7 +502,6 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
501
502
|
mbti: z.ZodOptional<z.ZodString>;
|
|
502
503
|
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
503
504
|
}, z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "strip", z.ZodOptional<z.ZodString>, z.objectOutputType<{}, z.ZodOptional<z.ZodString>, "strip">, z.objectInputType<{}, z.ZodOptional<z.ZodString>, "strip">>]>, "strip"> | undefined;
|
|
504
|
-
rules?: string[] | undefined;
|
|
505
505
|
};
|
|
506
506
|
}>;
|
|
507
507
|
export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
|
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./location.events"), exports);
|
|
18
|
-
__exportStar(require("./location.
|
|
18
|
+
__exportStar(require("./location.message"), exports);
|
|
19
19
|
__exportStar(require("./location.preset"), exports);
|
|
20
20
|
__exportStar(require("./location.requests"), exports);
|
|
21
21
|
__exportStar(require("./location.states"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,6CAA2B"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { LocationId } from '@little-samo/samo-ai';
|
|
2
|
-
import { LocationConfig } from '@little-samo/samo-ai-sdk/models';
|
|
3
|
-
|
|
4
|
-
export interface LocationMessagesDto {
|
|
5
|
-
id: LocationId;
|
|
6
|
-
messages: LocationMessageDto[];
|
|
7
|
-
messageCursor?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface LocationBasicDto {
|
|
2
|
+
import { LocationConfig, LocationEnvironment, LocationType } from '@little-samo/samo-ai-sdk/models';
|
|
3
|
+
export interface LocationPublicDto {
|
|
10
4
|
id: LocationId;
|
|
11
5
|
name: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
config: LocationConfig;
|
|
6
|
+
type: LocationType;
|
|
7
|
+
environment: LocationEnvironment;
|
|
15
8
|
createdAt: Date;
|
|
16
9
|
updatedAt: Date;
|
|
17
10
|
}
|
|
11
|
+
export interface LocationPrivateDto extends LocationPublicDto {
|
|
12
|
+
config: LocationConfig;
|
|
13
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UserId } from '@little-samo/samo-ai';
|
|
1
|
+
import { LocationId, UserId } from '@little-samo/samo-ai';
|
|
2
2
|
import { UserPublicDto } from '../entities';
|
|
3
|
-
import { LocationMessageDto } from './location.
|
|
3
|
+
import { LocationMessageDto } from './location.message';
|
|
4
4
|
export declare const LocationEventType: {
|
|
5
5
|
readonly AgentExecution: "AgentExecution";
|
|
6
6
|
readonly UserJoin: "UserJoin";
|
|
@@ -10,7 +10,7 @@ export declare const LocationEventType: {
|
|
|
10
10
|
};
|
|
11
11
|
export type LocationEventType = (typeof LocationEventType)[keyof typeof LocationEventType];
|
|
12
12
|
export interface LocationEventDtoBase {
|
|
13
|
-
locationId:
|
|
13
|
+
locationId: LocationId;
|
|
14
14
|
userIds?: UserId[];
|
|
15
15
|
type: LocationEventType;
|
|
16
16
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EntityId, EntityType } from '@little-samo/samo-ai';
|
|
2
|
+
export interface LocationMessageDto {
|
|
3
|
+
entityType: EntityType;
|
|
4
|
+
entityId: EntityId;
|
|
5
|
+
name: string;
|
|
6
|
+
expression?: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
action?: string;
|
|
9
|
+
emotion?: string;
|
|
10
|
+
image?: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.message.js","sourceRoot":"","sources":["../../../src/dto/locations/location.message.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { LocationMessageDto } from './location.
|
|
2
|
+
import { LocationPrivateDto, LocationPublicDto } from './location';
|
|
3
|
+
import { LocationMessageDto } from './location.message';
|
|
4
4
|
import { LocationPresetDto } from './location.preset';
|
|
5
5
|
export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
6
6
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -14,7 +14,7 @@ export declare const UserLocationsQuerySchema: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
export type UserLocationsQueryDto = z.infer<typeof UserLocationsQuerySchema>;
|
|
16
16
|
export interface UserLocationItemDto {
|
|
17
|
-
location:
|
|
17
|
+
location: LocationPrivateDto;
|
|
18
18
|
lastMessage: LocationMessageDto | null;
|
|
19
19
|
unreadCount: number;
|
|
20
20
|
}
|
|
@@ -25,6 +25,17 @@ export interface UserLocationsResponseDto {
|
|
|
25
25
|
nextCursor?: string;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
+
export declare const GetLocationParamsSchema: z.ZodObject<{
|
|
29
|
+
locationId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
locationId: bigint;
|
|
32
|
+
}, {
|
|
33
|
+
locationId: string;
|
|
34
|
+
}>;
|
|
35
|
+
export type GetLocationParamsDto = z.infer<typeof GetLocationParamsSchema>;
|
|
36
|
+
export interface GetLocationResponseDto {
|
|
37
|
+
location: LocationPublicDto | LocationPrivateDto;
|
|
38
|
+
}
|
|
28
39
|
export declare const MarkLocationAsReadParamsSchema: z.ZodObject<{
|
|
29
40
|
locationId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
30
41
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -93,7 +104,7 @@ export declare const CreateLocationFromPresetSchema: z.ZodObject<{
|
|
|
93
104
|
}>;
|
|
94
105
|
export type CreateLocationFromPresetDto = z.infer<typeof CreateLocationFromPresetSchema>;
|
|
95
106
|
export interface CreateLocationFromPresetResponseDto {
|
|
96
|
-
location:
|
|
107
|
+
location: LocationPrivateDto;
|
|
97
108
|
}
|
|
98
109
|
export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
99
110
|
locationId: z.ZodBigInt;
|
|
@@ -142,13 +153,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
142
153
|
}, "strip", z.ZodTypeAny, {
|
|
143
154
|
name?: string | undefined;
|
|
144
155
|
description?: string | undefined;
|
|
156
|
+
thumbnail?: string | undefined;
|
|
157
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
145
158
|
core?: {
|
|
146
159
|
name: "round_robin" | "update_forever" | "update_once";
|
|
147
160
|
sequential?: boolean | undefined;
|
|
148
161
|
} | undefined;
|
|
149
162
|
rules?: string[] | undefined;
|
|
150
|
-
thumbnail?: string | undefined;
|
|
151
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
152
163
|
canvases?: {
|
|
153
164
|
name: string;
|
|
154
165
|
description: string;
|
|
@@ -162,13 +173,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
162
173
|
}, {
|
|
163
174
|
name?: string | undefined;
|
|
164
175
|
description?: string | undefined;
|
|
176
|
+
thumbnail?: string | undefined;
|
|
177
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
165
178
|
core?: {
|
|
166
179
|
name: "round_robin" | "update_forever" | "update_once";
|
|
167
180
|
sequential?: boolean | undefined;
|
|
168
181
|
} | undefined;
|
|
169
182
|
rules?: string[] | undefined;
|
|
170
|
-
thumbnail?: string | undefined;
|
|
171
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
172
183
|
canvases?: {
|
|
173
184
|
name: string;
|
|
174
185
|
description: string;
|
|
@@ -184,13 +195,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
184
195
|
config: {
|
|
185
196
|
name?: string | undefined;
|
|
186
197
|
description?: string | undefined;
|
|
198
|
+
thumbnail?: string | undefined;
|
|
199
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
187
200
|
core?: {
|
|
188
201
|
name: "round_robin" | "update_forever" | "update_once";
|
|
189
202
|
sequential?: boolean | undefined;
|
|
190
203
|
} | undefined;
|
|
191
204
|
rules?: string[] | undefined;
|
|
192
|
-
thumbnail?: string | undefined;
|
|
193
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
194
205
|
canvases?: {
|
|
195
206
|
name: string;
|
|
196
207
|
description: string;
|
|
@@ -207,13 +218,13 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
207
218
|
config: {
|
|
208
219
|
name?: string | undefined;
|
|
209
220
|
description?: string | undefined;
|
|
221
|
+
thumbnail?: string | undefined;
|
|
222
|
+
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
210
223
|
core?: {
|
|
211
224
|
name: "round_robin" | "update_forever" | "update_once";
|
|
212
225
|
sequential?: boolean | undefined;
|
|
213
226
|
} | undefined;
|
|
214
227
|
rules?: string[] | undefined;
|
|
215
|
-
thumbnail?: string | undefined;
|
|
216
|
-
environment?: "CHAT" | "WEB_BROWSER" | undefined;
|
|
217
228
|
canvases?: {
|
|
218
229
|
name: string;
|
|
219
230
|
description: string;
|
|
@@ -228,25 +239,36 @@ export declare const LocationUpdateConfigSchema: z.ZodObject<{
|
|
|
228
239
|
locationId: bigint;
|
|
229
240
|
}>;
|
|
230
241
|
export type LocationUpdateConfigDto = z.infer<typeof LocationUpdateConfigSchema>;
|
|
231
|
-
export declare const
|
|
242
|
+
export declare const GetAgentHelperLocationQuerySchema: z.ZodObject<{
|
|
232
243
|
agentId: z.ZodBigInt;
|
|
233
244
|
}, "strip", z.ZodTypeAny, {
|
|
234
245
|
agentId: bigint;
|
|
235
246
|
}, {
|
|
236
247
|
agentId: bigint;
|
|
237
248
|
}>;
|
|
238
|
-
export type GetAgentHelperLocationDto = z.infer<typeof
|
|
249
|
+
export type GetAgentHelperLocationDto = z.infer<typeof GetAgentHelperLocationQuerySchema>;
|
|
239
250
|
export interface GetAgentHelperLocationResponseDto {
|
|
240
|
-
location:
|
|
251
|
+
location: LocationPrivateDto;
|
|
241
252
|
}
|
|
242
|
-
export declare const
|
|
253
|
+
export declare const GetLocationHelperLocationQuerySchema: z.ZodObject<{
|
|
243
254
|
locationId: z.ZodBigInt;
|
|
244
255
|
}, "strip", z.ZodTypeAny, {
|
|
245
256
|
locationId: bigint;
|
|
246
257
|
}, {
|
|
247
258
|
locationId: bigint;
|
|
248
259
|
}>;
|
|
249
|
-
export type GetLocationHelperLocationDto = z.infer<typeof
|
|
260
|
+
export type GetLocationHelperLocationDto = z.infer<typeof GetLocationHelperLocationQuerySchema>;
|
|
250
261
|
export interface GetLocationHelperLocationResponseDto {
|
|
251
|
-
location:
|
|
262
|
+
location: LocationPrivateDto;
|
|
263
|
+
}
|
|
264
|
+
export declare const GetAgentDmLocationQuerySchema: z.ZodObject<{
|
|
265
|
+
agentId: z.ZodBigInt;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
agentId: bigint;
|
|
268
|
+
}, {
|
|
269
|
+
agentId: bigint;
|
|
270
|
+
}>;
|
|
271
|
+
export type GetAgentDmLocationDto = z.infer<typeof GetAgentDmLocationQuerySchema>;
|
|
272
|
+
export interface GetAgentDmLocationResponseDto {
|
|
273
|
+
location: LocationPrivateDto;
|
|
252
274
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetAgentDmLocationQuerySchema = exports.GetLocationHelperLocationQuerySchema = exports.GetAgentHelperLocationQuerySchema = exports.LocationUpdateConfigSchema = exports.CreateLocationFromPresetSchema = exports.LocationPresetsPaginationQuerySchema = exports.LocationsUnreadCountQuerySchema = exports.LocationUnreadCountParamsSchema = exports.MarkLocationAsReadParamsSchema = exports.GetLocationParamsSchema = exports.UserLocationsQuerySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const location_config_1 = require("../../models/locations/location.config");
|
|
6
6
|
exports.UserLocationsQuerySchema = zod_1.z.object({
|
|
@@ -12,6 +12,9 @@ exports.UserLocationsQuerySchema = zod_1.z.object({
|
|
|
12
12
|
.default(10)
|
|
13
13
|
.describe('Number of locations to return'),
|
|
14
14
|
});
|
|
15
|
+
exports.GetLocationParamsSchema = zod_1.z.object({
|
|
16
|
+
locationId: zod_1.z.string().transform((val) => BigInt(val)),
|
|
17
|
+
});
|
|
15
18
|
exports.MarkLocationAsReadParamsSchema = zod_1.z.object({
|
|
16
19
|
locationId: zod_1.z.string().transform((val) => BigInt(val)),
|
|
17
20
|
});
|
|
@@ -37,10 +40,13 @@ exports.LocationUpdateConfigSchema = zod_1.z.object({
|
|
|
37
40
|
locationId: zod_1.z.coerce.bigint().describe('ID of the location to update'),
|
|
38
41
|
config: location_config_1.LocationConfigSchema.partial().describe('Only the specific configuration fields that need to be updated (name, environment, core, description, etc.)'),
|
|
39
42
|
});
|
|
40
|
-
exports.
|
|
43
|
+
exports.GetAgentHelperLocationQuerySchema = zod_1.z.object({
|
|
41
44
|
agentId: zod_1.z.coerce.bigint(),
|
|
42
45
|
});
|
|
43
|
-
exports.
|
|
46
|
+
exports.GetLocationHelperLocationQuerySchema = zod_1.z.object({
|
|
44
47
|
locationId: zod_1.z.coerce.bigint(),
|
|
45
48
|
});
|
|
49
|
+
exports.GetAgentDmLocationQuerySchema = zod_1.z.object({
|
|
50
|
+
agentId: zod_1.z.coerce.bigint(),
|
|
51
|
+
});
|
|
46
52
|
//# sourceMappingURL=location.requests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.requests.js","sourceRoot":"","sources":["../../../src/dto/locations/location.requests.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,4EAA8E;AAOjE,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,+BAA+B,CAAC;CAC7C,CAAC,CAAC;AAmBU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AAOU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvD,CAAC,CAAC;AAWU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,OAAC;SACX,MAAM,EAAE;SACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC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readonly PRIVATE: "PRIVATE";
|
|
3
|
+
readonly GROUP: "GROUP";
|
|
4
|
+
readonly PUBLIC: "PUBLIC";
|
|
5
|
+
readonly SYSTEM: "SYSTEM";
|
|
6
|
+
};
|
|
7
|
+
export type LocationType = (typeof LocationType)[keyof typeof LocationType];
|
|
1
8
|
export declare const LocationEnvironment: {
|
|
2
9
|
readonly CHAT: "CHAT";
|
|
3
10
|
readonly AGENT_HELPER: "AGENT_HELPER";
|
|
4
11
|
readonly LOCATION_HELPER: "LOCATION_HELPER";
|
|
12
|
+
readonly AGENT_DM: "AGENT_DM";
|
|
5
13
|
readonly WEB_BROWSER: "WEB_BROWSER";
|
|
6
14
|
readonly VIDEO_GAME: "VIDEO_GAME";
|
|
7
15
|
};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LocationEnvironment = void 0;
|
|
3
|
+
exports.LocationEnvironment = exports.LocationType = void 0;
|
|
4
|
+
exports.LocationType = {
|
|
5
|
+
PRIVATE: 'PRIVATE',
|
|
6
|
+
GROUP: 'GROUP',
|
|
7
|
+
PUBLIC: 'PUBLIC',
|
|
8
|
+
SYSTEM: 'SYSTEM',
|
|
9
|
+
};
|
|
4
10
|
exports.LocationEnvironment = {
|
|
5
11
|
CHAT: 'CHAT',
|
|
6
12
|
AGENT_HELPER: 'AGENT_HELPER',
|
|
7
13
|
LOCATION_HELPER: 'LOCATION_HELPER',
|
|
14
|
+
AGENT_DM: 'AGENT_DM',
|
|
8
15
|
WEB_BROWSER: 'WEB_BROWSER',
|
|
9
16
|
VIDEO_GAME: 'VIDEO_GAME',
|
|
10
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"location.constants.js","sourceRoot":"","sources":["../../../src/models/locations/location.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
|