@hexabot-ai/api 3.1.2-alpha.0 → 3.1.4-alpha.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/attachment/attachment.module.js +4 -1
- package/dist/attachment/attachment.module.js.map +1 -1
- package/dist/static/assets/{cssMode-oeD6LiWE.js → cssMode-EfTI32jH.js} +1 -1
- package/dist/static/assets/{freemarker2-S_jtk8Mt.js → freemarker2-Bp36bqQu.js} +1 -1
- package/dist/static/assets/{handlebars-D2-XIMCl.js → handlebars-DFcsacT2.js} +1 -1
- package/dist/static/assets/{html-BRH9-MPP.js → html-DoteNmPg.js} +1 -1
- package/dist/static/assets/{htmlMode-6ajqtIqe.js → htmlMode-D4qDYA_c.js} +1 -1
- package/dist/static/assets/{index-BVGC9nsS.js → index-Da34FzWk.js} +2000 -2000
- package/dist/static/assets/{javascript-glpMUgdU.js → javascript-hq-XZ18j.js} +1 -1
- package/dist/static/assets/{jsonMode-DrJB5l97.js → jsonMode-gxldbTjQ.js} +1 -1
- package/dist/static/assets/{liquid-BwKRlaTn.js → liquid-VombxSUL.js} +1 -1
- package/dist/static/assets/{lspLanguageFeatures-D39OXnPs.js → lspLanguageFeatures-DjxTnuCT.js} +1 -1
- package/dist/static/assets/{mdx-BiWXb9fG.js → mdx-Bv744ltm.js} +1 -1
- package/dist/static/assets/{python-B8On6Lj_.js → python-BB7rtHwG.js} +1 -1
- package/dist/static/assets/{razor-B4RPm6BQ.js → razor-BoLELWC9.js} +1 -1
- package/dist/static/assets/{tsMode-5_L1qX4O.js → tsMode-DLSApW05.js} +1 -1
- package/dist/static/assets/{typescript-DkZxfJPq.js → typescript-qlBdudA6.js} +1 -1
- package/dist/static/assets/{xml-CD4um6sf.js → xml-DMdTu6Mm.js} +1 -1
- package/dist/static/assets/{yaml-B-1u7uwC.js → yaml-C9JqXvOt.js} +1 -1
- package/dist/static/index.html +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/controllers/role.controller.d.ts +1 -1
- package/dist/user/dto/assigned-profile.dto.d.ts +2 -2
- package/dist/user/dto/user.dto.d.ts +1 -1
- package/dist/utils/test/fixtures/label-group.d.ts +1 -1
- package/dist/utils/test/fixtures/label.d.ts +1 -1
- package/dist/utils/test/fixtures/subscriber.d.ts +1 -1
- package/package.json +3 -3
- package/src/attachment/attachment.module.ts +5 -2
- package/src/user/dto/assigned-profile.dto.ts +2 -2
|
@@ -9,7 +9,7 @@ export declare class RoleController extends BaseOrmController<RoleOrmEntity> {
|
|
|
9
9
|
protected readonly roleService: RoleService;
|
|
10
10
|
private readonly userService;
|
|
11
11
|
constructor(roleService: RoleService, userService: UserService);
|
|
12
|
-
findRoles(populate: string[], options?: FindManyOptions<RoleOrmEntity>): Promise<import("../dto/role.dto").
|
|
12
|
+
findRoles(populate: string[], options?: FindManyOptions<RoleOrmEntity>): Promise<import("../dto/role.dto").Role[] | import("../dto/role.dto").RoleFull[]>;
|
|
13
13
|
filterCount(options?: FindManyOptions<RoleOrmEntity>): Promise<{
|
|
14
14
|
count: number;
|
|
15
15
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChannelName } from '@/channel';
|
|
2
|
-
import { SubscriberChannelData } from '@/chat';
|
|
1
|
+
import type { ChannelName } from '@/channel/types';
|
|
2
|
+
import type { SubscriberChannelData } from '@/chat/types/channel';
|
|
3
3
|
import { UserProvider } from '../types/user-provider.type';
|
|
4
4
|
import { UserProfileStub } from './user-profile.dto';
|
|
5
5
|
export declare class UserProfileAssignedStub extends UserProfileStub {
|
|
@@ -52,7 +52,7 @@ export declare class UserUpdateDto extends UserUpdateDto_base {
|
|
|
52
52
|
resetCount?: number;
|
|
53
53
|
provider?: UserProvider;
|
|
54
54
|
}
|
|
55
|
-
declare const UserEditProfileDto_base: import("@nestjs/common").Type<Omit<UserUpdateDto, "username" | "
|
|
55
|
+
declare const UserEditProfileDto_base: import("@nestjs/common").Type<Omit<UserUpdateDto, "username" | "sendEmail" | "state" | "resetCount" | "resetToken" | "provider" | "roles" | "avatar">>;
|
|
56
56
|
export declare class UserEditProfileDto extends UserEditProfileDto_base {
|
|
57
57
|
}
|
|
58
58
|
export declare class UserUpdateStateAndRolesDto {
|
|
@@ -7,7 +7,7 @@ import { TLabelFixtures } from './label';
|
|
|
7
7
|
type TLabelGroupFixtures = FixturesTypeBuilder<LabelGroup, LabelGroupCreateDto>;
|
|
8
8
|
export declare const labelGroupFixtures: TLabelGroupFixtures['values'][];
|
|
9
9
|
export declare const labelGroupLabels: TLabelFixtures['values'][];
|
|
10
|
-
export declare const groupedLabelFixtures: import("../types").TFixtures<import("../types").OptionalProperties<import("../../..").Label, "name" | "createdAt" | "description" | "title" | "group" | "
|
|
10
|
+
export declare const groupedLabelFixtures: import("../types").TFixtures<import("../types").OptionalProperties<import("../../..").Label, "name" | "createdAt" | "description" | "title" | "group" | "label_id" | "builtin" | "users">>[];
|
|
11
11
|
export declare const installLabelGroupFixturesTypeOrm: (dataSource: DataSource) => Promise<{
|
|
12
12
|
labelGroups: LabelGroupOrmEntity[];
|
|
13
13
|
labels: LabelOrmEntity[];
|
|
@@ -5,5 +5,5 @@ import { FixturesTypeBuilder } from '../types';
|
|
|
5
5
|
export type TLabelFixtures = FixturesTypeBuilder<Label, LabelCreateDto>;
|
|
6
6
|
export declare const contentLabelDefaultValues: TLabelFixtures['defaultValues'];
|
|
7
7
|
export declare const labels: TLabelFixtures['values'][];
|
|
8
|
-
export declare const labelFixtures: import("../types").TFixtures<import("../types").OptionalProperties<Label, "name" | "createdAt" | "description" | "title" | "group" | "
|
|
8
|
+
export declare const labelFixtures: import("../types").TFixtures<import("../types").OptionalProperties<Label, "name" | "createdAt" | "description" | "title" | "group" | "label_id" | "builtin" | "users">>[];
|
|
9
9
|
export declare const installLabelFixturesTypeOrm: (dataSource: DataSource) => Promise<LabelOrmEntity[]>;
|
|
@@ -6,7 +6,7 @@ import { UserOrmEntity } from '@/user/entities/user.entity';
|
|
|
6
6
|
import { FixturesTypeBuilder } from '../types';
|
|
7
7
|
type TSubscriberFixtures = FixturesTypeBuilder<Subscriber, SubscriberCreateDto>;
|
|
8
8
|
export declare const subscriberDefaultValues: TSubscriberFixtures['defaultValues'];
|
|
9
|
-
export declare const subscriberFixtures: import("../types").TFixtures<import("../types").OptionalProperties<Subscriber, "createdAt" | "language" | "
|
|
9
|
+
export declare const subscriberFixtures: import("../types").TFixtures<import("../types").OptionalProperties<Subscriber, "createdAt" | "language" | "firstName" | "lastName" | "timezone" | "locale" | "gender" | "country" | "foreignId" | "assignedAt" | "lastvisit" | "retainedFrom" | "channel" | "labels" | "assignedTo" | "avatar">>[];
|
|
10
10
|
export declare const installSubscriberFixturesTypeOrm: (dataSource: DataSource) => Promise<{
|
|
11
11
|
labels: LabelOrmEntity[];
|
|
12
12
|
subscribers: SubscriberOrmEntity<import("../..").TDto>[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hexabot-ai/api",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.4-alpha.0",
|
|
5
5
|
"description": "Hexabot is a solution for creating and managing chatbots across multiple channels, leveraging AI for advanced conversational capabilities. It provides a user-friendly interface for building, training, and deploying chatbots with integrated support for various messaging platforms.",
|
|
6
6
|
"author": "Hexastack",
|
|
7
7
|
"license": "FCL-1.0-ALv2",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"uuid": "^9.0.1",
|
|
89
89
|
"yaml": "^2.5.0",
|
|
90
90
|
"zod": "^4.3.6",
|
|
91
|
-
"@hexabot-ai/agentic": "3.0.
|
|
91
|
+
"@hexabot-ai/agentic": "3.0.2-alpha.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@compodoc/compodoc": "^1.1.31",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"tsconfig-paths": "^4.2.0",
|
|
137
137
|
"tsconfig-paths-jest": "^0.0.1",
|
|
138
138
|
"typescript": "^5.1.3",
|
|
139
|
-
"@hexabot-ai/frontend": "3.1.
|
|
139
|
+
"@hexabot-ai/frontend": "3.1.4-alpha.0"
|
|
140
140
|
},
|
|
141
141
|
"optionalDependencies": {
|
|
142
142
|
"@css-inline/css-inline-linux-arm64-musl": "^0.14.1",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { existsSync, mkdirSync } from 'fs';
|
|
8
8
|
|
|
9
|
-
import { Module, OnApplicationBootstrap } from '@nestjs/common';
|
|
9
|
+
import { forwardRef, Module, OnApplicationBootstrap } from '@nestjs/common';
|
|
10
10
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
11
11
|
|
|
12
12
|
import { AppInstance } from '@/app.instance';
|
|
@@ -19,7 +19,10 @@ import { AttachmentRepository } from './repositories/attachment.repository';
|
|
|
19
19
|
import { AttachmentService } from './services/attachment.service';
|
|
20
20
|
|
|
21
21
|
@Module({
|
|
22
|
-
imports: [
|
|
22
|
+
imports: [
|
|
23
|
+
TypeOrmModule.forFeature([AttachmentOrmEntity]),
|
|
24
|
+
forwardRef(() => UserModule),
|
|
25
|
+
],
|
|
23
26
|
providers: [AttachmentRepository, AttachmentService],
|
|
24
27
|
controllers: [AttachmentController],
|
|
25
28
|
exports: [AttachmentService],
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
import { Exclude, Expose } from 'class-transformer';
|
|
8
8
|
|
|
9
|
-
import { ChannelName } from '@/channel';
|
|
10
|
-
import { SubscriberChannelData } from '@/chat';
|
|
9
|
+
import type { ChannelName } from '@/channel/types';
|
|
10
|
+
import type { SubscriberChannelData } from '@/chat/types/channel';
|
|
11
11
|
|
|
12
12
|
import { UserProvider } from '../types/user-provider.type';
|
|
13
13
|
|