@intlayer/backend 7.5.0-canary.0 → 7.5.0-canary.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.
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/login.json +3080 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/configuration.json +1 -12314
- package/dist/esm/schemas/organization.schema.mjs +49 -1
- package/dist/esm/schemas/organization.schema.mjs.map +1 -1
- package/dist/esm/utils/auth/getAuth.mjs +3 -1
- package/dist/esm/utils/auth/getAuth.mjs.map +1 -1
- package/dist/types/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/controllers/tag.controller.d.ts.map +1 -1
- package/dist/types/emails/InviteUserEmail.d.ts +4 -4
- package/dist/types/emails/InviteUserEmail.d.ts.map +1 -1
- package/dist/types/emails/MagicLinkEmail.d.ts +4 -4
- package/dist/types/emails/OAuthTokenCreatedEmail.d.ts +4 -4
- package/dist/types/emails/PasswordChangeConfirmation.d.ts +4 -4
- package/dist/types/emails/PasswordChangeConfirmation.d.ts.map +1 -1
- package/dist/types/emails/ResetUserPassword.d.ts +4 -4
- package/dist/types/emails/ResetUserPassword.d.ts.map +1 -1
- package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentError.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentSuccess.d.ts.map +1 -1
- package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
- package/dist/types/emails/Welcome.d.ts +4 -4
- package/dist/types/export.d.ts +2 -2
- package/dist/types/models/dictionary.model.d.ts +4 -4
- package/dist/types/models/dictionary.model.d.ts.map +1 -1
- package/dist/types/models/discussion.model.d.ts +2 -2
- package/dist/types/models/discussion.model.d.ts.map +1 -1
- package/dist/types/models/oAuth2.model.d.ts +3 -3
- package/dist/types/models/oAuth2.model.d.ts.map +1 -1
- package/dist/types/schemas/dictionary.schema.d.ts +6 -6
- package/dist/types/schemas/dictionary.schema.d.ts.map +1 -1
- package/dist/types/schemas/discussion.schema.d.ts +6 -6
- package/dist/types/schemas/oAuth2.schema.d.ts +5 -5
- package/dist/types/schemas/oAuth2.schema.d.ts.map +1 -1
- package/dist/types/schemas/organization.schema.d.ts +6 -6
- package/dist/types/schemas/organization.schema.d.ts.map +1 -1
- package/dist/types/schemas/plans.schema.d.ts +6 -6
- package/dist/types/schemas/project.schema.d.ts +6 -6
- package/dist/types/schemas/project.schema.d.ts.map +1 -1
- package/dist/types/schemas/session.schema.d.ts +6 -6
- package/dist/types/schemas/tag.schema.d.ts +6 -6
- package/dist/types/schemas/user.schema.d.ts +6 -6
- package/dist/types/types/organization.types.d.ts +61 -1
- package/dist/types/types/organization.types.d.ts.map +1 -1
- package/dist/types/utils/auth/getAuth.d.ts.map +1 -1
- package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/mergeFunctionTypes.d.ts.map +1 -1
- package/dist/types/utils/permissions.d.ts.map +1 -1
- package/package.json +21 -20
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User } from "../types/user.types.js";
|
|
2
2
|
import "../export.js";
|
|
3
3
|
import { Token as Token$1 } from "../schemas/oAuth2.schema.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose83 from "mongoose";
|
|
5
5
|
import { Model } from "mongoose";
|
|
6
6
|
import * as oauth2_server0 from "oauth2-server";
|
|
7
7
|
|
|
8
8
|
//#region src/models/oAuth2.model.d.ts
|
|
9
|
-
declare const OAuth2AccessTokenModel: Model<Token$1, {}, {}, {},
|
|
9
|
+
declare const OAuth2AccessTokenModel: Model<Token$1, {}, {}, {}, mongoose83.Document<unknown, {}, Token$1, {}, {}> & Omit<oauth2_server0.Token, "user" | "client"> & {
|
|
10
10
|
clientId: oauth2_server0.Client["id"];
|
|
11
11
|
userId: User["id"];
|
|
12
12
|
} & {
|
|
13
|
-
_id:
|
|
13
|
+
_id: mongoose83.Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth2.model.d.ts","names":[],"sources":["../../../src/models/oAuth2.model.ts"],"sourcesContent":[],"mappings":";;;;;;;;cAGa,wBAAsB,MAAA,qBAAA,
|
|
1
|
+
{"version":3,"file":"oAuth2.model.d.ts","names":[],"sources":["../../../src/models/oAuth2.model.ts"],"sourcesContent":[],"mappings":";;;;;;;;cAGa,wBAAsB,MAAA,qBAAA,UAAA,CAAA,sBAAA,mBAAA,KAAA,cAAA,CAAA,KAAA;YAAA,cAAA,CAAA,MAAA;;;;;EAAtB,GAAA,EAAA,MAAA;CAAsB,EAAA,GAAA,CAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Dictionary, DictionarySchema } from "../types/dictionary.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose0 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/dictionary.schema.d.ts
|
|
6
|
-
declare const dictionarySchema: Schema<DictionarySchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const dictionarySchema: Schema<DictionarySchema, mongoose0.Model<DictionarySchema, any, any, any, mongoose0.Document<unknown, any, DictionarySchema, any, {}> & Omit<Dictionary, "id"> & {
|
|
7
|
+
_id: mongoose0.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose0.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose0.DefaultSchemaOptions, DictionarySchema, mongoose0.Document<unknown, {}, mongoose0.FlatRecord<DictionarySchema>, {}, mongoose0.ResolveSchemaOptions<mongoose0.DefaultSchemaOptions>> & mongoose0.FlatRecord<DictionarySchema> & Required<{
|
|
13
|
+
_id: mongoose0.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.schema.d.ts","names":[],"sources":["../../../src/schemas/dictionary.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAwBa,kBAAgB,OAAA,
|
|
1
|
+
{"version":3,"file":"dictionary.schema.d.ts","names":[],"sources":["../../../src/schemas/dictionary.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAwBa,kBAAgB,OAAA,4BAAA,MAAA,iCAAA,SAAA,CAAA,uBAAA,6BAAA,KAAA,UAAA;;;EAAhB,GAAA,0BA4DZ;CA5D4B,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,SAAA,CAAA,oBAAA,kBAAA,oBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,sBAAA,iBAAA,CAAA,EAAA,CAAA,CAAA,gCAAA,gCAAA,CAAA,uBAAA,iBAAA,CAAA,WAAA,CAAA;EAAA,GAAA,0BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Discussion, DiscussionSchema } from "../types/discussion.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose69 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/discussion.schema.d.ts
|
|
6
|
-
declare const discussionSchema: Schema<DiscussionSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const discussionSchema: Schema<DiscussionSchema, mongoose69.Model<DiscussionSchema, any, any, any, mongoose69.Document<unknown, any, DiscussionSchema, any, {}> & Omit<Discussion, "id"> & {
|
|
7
|
+
_id: mongoose69.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose69.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose69.DefaultSchemaOptions, DiscussionSchema, mongoose69.Document<unknown, {}, mongoose69.FlatRecord<DiscussionSchema>, {}, mongoose69.ResolveSchemaOptions<mongoose69.DefaultSchemaOptions>> & mongoose69.FlatRecord<DiscussionSchema> & Required<{
|
|
13
|
+
_id: mongoose69.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { User } from "../types/user.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose100 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
import { Client, Token as Token$1 } from "oauth2-server";
|
|
5
5
|
|
|
@@ -8,15 +8,15 @@ type Token = Omit<Token$1, 'client' | 'user'> & {
|
|
|
8
8
|
clientId: Client['id'];
|
|
9
9
|
userId: User['id'];
|
|
10
10
|
};
|
|
11
|
-
declare const accessTokenSchema: Schema<Token,
|
|
11
|
+
declare const accessTokenSchema: Schema<Token, mongoose100.Model<Token, any, any, any, mongoose100.Document<unknown, any, Token, any, {}> & Omit<Token$1, "user" | "client"> & {
|
|
12
12
|
clientId: Client["id"];
|
|
13
13
|
userId: User["id"];
|
|
14
14
|
} & {
|
|
15
|
-
_id:
|
|
15
|
+
_id: mongoose100.Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
17
|
__v: number;
|
|
18
|
-
}, any>, {}, {}, {}, {},
|
|
19
|
-
_id:
|
|
18
|
+
}, any>, {}, {}, {}, {}, mongoose100.DefaultSchemaOptions, Token, mongoose100.Document<unknown, {}, mongoose100.FlatRecord<Token>, {}, mongoose100.ResolveSchemaOptions<mongoose100.DefaultSchemaOptions>> & mongoose100.FlatRecord<Token> & {
|
|
19
|
+
_id: mongoose100.Types.ObjectId;
|
|
20
20
|
} & {
|
|
21
21
|
__v: number;
|
|
22
22
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth2.schema.d.ts","names":[],"sources":["../../../src/schemas/oAuth2.schema.ts"],"sourcesContent":[],"mappings":";;;;;;KAIY,KAAA,GAAQ,KAAK;YACb;UACF;AAFV,CAAA;AAAyB,cAKZ,iBALY,EAKK,MALL,CAKK,KALL,
|
|
1
|
+
{"version":3,"file":"oAuth2.schema.d.ts","names":[],"sources":["../../../src/schemas/oAuth2.schema.ts"],"sourcesContent":[],"mappings":";;;;;;KAIY,KAAA,GAAQ,KAAK;YACb;UACF;AAFV,CAAA;AAAyB,cAKZ,iBALY,EAKK,MALL,CAKK,KALL,cAKK,KALL,CAKK,KALL,EAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAKK,WAAA,CAAA,QALL,CAAA,OAAA,EAAA,GAAA,EAKK,KALL,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA,GAKK,IALL,CAKK,OALL,EAAA,MAAA,GAAA,QAAA,CAAA,GAAA;EAAL,QAAA,EACR,MADQ,CAAA,IAAA,CAAA;EACR,MAAA,EACF,IADE,CAAA,IAAA,CAAA;CACF,GAAA;EAAI,GAAA,4BAAA;AAGd,CAAA,GAAa;EAAiB,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,WAAA,CAAA,oBAAA,OAAA,sBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,wBAAA,MAAA,CAAA,EAAA,CAAA,CAAA,kCAAA,kCAAA,CAAA,yBAAA,MAAA,CAAA,GAAA;EAAA,GAAA,4BAAA;CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,CAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Organization, OrganizationSchema } from "../types/organization.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose24 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/organization.schema.d.ts
|
|
6
|
-
declare const organizationSchema: Schema<OrganizationSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const organizationSchema: Schema<OrganizationSchema, mongoose24.Model<OrganizationSchema, any, any, any, mongoose24.Document<unknown, any, OrganizationSchema, any, {}> & Omit<Organization, "id"> & {
|
|
7
|
+
_id: mongoose24.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose24.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose24.DefaultSchemaOptions, OrganizationSchema, mongoose24.Document<unknown, {}, mongoose24.FlatRecord<OrganizationSchema>, {}, mongoose24.ResolveSchemaOptions<mongoose24.DefaultSchemaOptions>> & mongoose24.FlatRecord<OrganizationSchema> & Required<{
|
|
13
|
+
_id: mongoose24.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.schema.d.ts","names":[],"sources":["../../../src/schemas/organization.schema.ts"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"organization.schema.d.ts","names":[],"sources":["../../../src/schemas/organization.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAiDa,oBAAkB,OAAA,+BAAA,MAAA,mCAAA,UAAA,CAAA,uBAAA,+BAAA,KAAA,YAAA;;;EAAlB,GAAA,2BAyDZ;CAzD8B,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,UAAA,CAAA,oBAAA,oBAAA,qBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,uBAAA,mBAAA,CAAA,EAAA,CAAA,CAAA,iCAAA,iCAAA,CAAA,wBAAA,mBAAA,CAAA,WAAA,CAAA;EAAA,GAAA,2BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Plan, PlanSchema } from "../types/plan.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose13 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/plans.schema.d.ts
|
|
6
|
-
declare const planSchema: Schema<PlanSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const planSchema: Schema<PlanSchema, mongoose13.Model<PlanSchema, any, any, any, mongoose13.Document<unknown, any, PlanSchema, any, {}> & Omit<Plan, "id"> & {
|
|
7
|
+
_id: mongoose13.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose13.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose13.DefaultSchemaOptions, PlanSchema, mongoose13.Document<unknown, {}, mongoose13.FlatRecord<PlanSchema>, {}, mongoose13.ResolveSchemaOptions<mongoose13.DefaultSchemaOptions>> & mongoose13.FlatRecord<PlanSchema> & Required<{
|
|
13
|
+
_id: mongoose13.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Project, ProjectSchema } from "../types/project.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose46 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/project.schema.d.ts
|
|
6
|
-
declare const projectSchema: Schema<ProjectSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const projectSchema: Schema<ProjectSchema, mongoose46.Model<ProjectSchema, any, any, any, mongoose46.Document<unknown, any, ProjectSchema, any, {}> & Omit<Project, "id"> & {
|
|
7
|
+
_id: mongoose46.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose46.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose46.DefaultSchemaOptions, ProjectSchema, mongoose46.Document<unknown, {}, mongoose46.FlatRecord<ProjectSchema>, {}, mongoose46.ResolveSchemaOptions<mongoose46.DefaultSchemaOptions>> & mongoose46.FlatRecord<ProjectSchema> & Required<{
|
|
13
|
+
_id: mongoose46.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.schema.d.ts","names":[],"sources":["../../../src/schemas/project.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAyDa,eAAa,OAAA,
|
|
1
|
+
{"version":3,"file":"project.schema.d.ts","names":[],"sources":["../../../src/schemas/project.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAyDa,eAAa,OAAA,0BAAA,MAAA,8BAAA,UAAA,CAAA,uBAAA,0BAAA,KAAA;;;EAAb,GAAA,2BA0DZ;CA1DyB,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,UAAA,CAAA,oBAAA,eAAA,qBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,uBAAA,cAAA,CAAA,EAAA,CAAA,CAAA,iCAAA,iCAAA,CAAA,wBAAA,cAAA,CAAA,WAAA,CAAA;EAAA,GAAA,2BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SessionData, SessionSchema } from "../types/session.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose89 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/session.schema.d.ts
|
|
6
|
-
declare const sessionSchema: Schema<SessionSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const sessionSchema: Schema<SessionSchema, mongoose89.Model<SessionSchema, any, any, any, mongoose89.Document<unknown, any, SessionSchema, any, {}> & Omit<SessionData, "id"> & {
|
|
7
|
+
_id: mongoose89.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose89.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose89.DefaultSchemaOptions, SessionSchema, mongoose89.Document<unknown, {}, mongoose89.FlatRecord<SessionSchema>, {}, mongoose89.ResolveSchemaOptions<mongoose89.DefaultSchemaOptions>> & mongoose89.FlatRecord<SessionSchema> & Required<{
|
|
13
|
+
_id: mongoose89.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Tag, TagSchema } from "../types/tag.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose35 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/tag.schema.d.ts
|
|
6
|
-
declare const tagSchema: Schema<TagSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const tagSchema: Schema<TagSchema, mongoose35.Model<TagSchema, any, any, any, mongoose35.Document<unknown, any, TagSchema, any, {}> & Omit<Tag, "id"> & {
|
|
7
|
+
_id: mongoose35.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose35.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose35.DefaultSchemaOptions, TagSchema, mongoose35.Document<unknown, {}, mongoose35.FlatRecord<TagSchema>, {}, mongoose35.ResolveSchemaOptions<mongoose35.DefaultSchemaOptions>> & mongoose35.FlatRecord<TagSchema> & Required<{
|
|
13
|
+
_id: mongoose35.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User, UserSchema } from "../types/user.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose57 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/user.schema.d.ts
|
|
6
|
-
declare const userSchema: Schema<UserSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const userSchema: Schema<UserSchema, mongoose57.Model<UserSchema, any, any, any, mongoose57.Document<unknown, any, UserSchema, any, {}> & Omit<User, "id"> & {
|
|
7
|
+
_id: mongoose57.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose57.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose57.DefaultSchemaOptions, UserSchema, mongoose57.Document<unknown, {}, mongoose57.FlatRecord<UserSchema>, {}, mongoose57.ResolveSchemaOptions<mongoose57.DefaultSchemaOptions>> & mongoose57.FlatRecord<UserSchema> & Required<{
|
|
13
|
+
_id: mongoose57.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -4,13 +4,73 @@ import { Plan } from "./plan.types.js";
|
|
|
4
4
|
import { Document, Model, ObjectIdToString, Types } from "mongoose";
|
|
5
5
|
|
|
6
6
|
//#region src/types/organization.types.d.ts
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* SSO Provider Type - defines the type of SSO provider
|
|
10
|
+
*/
|
|
11
|
+
type SSOProviderType = 'saml' | 'oidc';
|
|
12
|
+
/**
|
|
13
|
+
* SAML Configuration for SSO
|
|
14
|
+
*/
|
|
15
|
+
type SAMLConfig = {
|
|
16
|
+
/** The URL where the IdP receives SAML requests */
|
|
17
|
+
idpEntityId: string;
|
|
18
|
+
/** The URL where the IdP sends SAML responses (SSO URL) */
|
|
19
|
+
idpSSOUrl: string;
|
|
20
|
+
/** The IdP's public certificate for signature verification (PEM format) */
|
|
21
|
+
idpCertificate: string;
|
|
22
|
+
/** Optional: IdP Single Logout URL */
|
|
23
|
+
idpSLOUrl?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* OIDC Configuration for SSO
|
|
27
|
+
*/
|
|
28
|
+
type OIDCConfig = {
|
|
29
|
+
/** The OIDC issuer URL (e.g., https://accounts.google.com) */
|
|
30
|
+
issuer: string;
|
|
31
|
+
/** OAuth2 Client ID */
|
|
32
|
+
clientId: string;
|
|
33
|
+
/** OAuth2 Client Secret */
|
|
34
|
+
clientSecret: string;
|
|
35
|
+
/** OAuth2 scopes to request */
|
|
36
|
+
scopes?: string[];
|
|
37
|
+
/** Optional: Authorization endpoint override */
|
|
38
|
+
authorizationEndpoint?: string;
|
|
39
|
+
/** Optional: Token endpoint override */
|
|
40
|
+
tokenEndpoint?: string;
|
|
41
|
+
/** Optional: User info endpoint override */
|
|
42
|
+
userinfoEndpoint?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* SSO Configuration for an Organization
|
|
46
|
+
*/
|
|
47
|
+
type SSOConfig = {
|
|
48
|
+
/** Whether SSO is enabled for this organization */
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
/** The type of SSO provider */
|
|
51
|
+
providerType?: SSOProviderType;
|
|
52
|
+
/** Unique provider ID for this organization's SSO */
|
|
53
|
+
providerId?: string;
|
|
54
|
+
/** Domain(s) associated with this SSO provider (e.g., 'company.com') */
|
|
55
|
+
domains?: string[];
|
|
56
|
+
/** SAML-specific configuration */
|
|
57
|
+
samlConfig?: SAMLConfig;
|
|
58
|
+
/** OIDC-specific configuration */
|
|
59
|
+
oidcConfig?: OIDCConfig;
|
|
60
|
+
/** Whether to enforce SSO for all users in this organization */
|
|
61
|
+
enforceSSO?: boolean;
|
|
62
|
+
/** Whether to allow users to bypass SSO with password login */
|
|
63
|
+
allowPasswordLogin?: boolean;
|
|
64
|
+
};
|
|
7
65
|
type OrganizationCreationData = {
|
|
8
66
|
name: Organization['name'];
|
|
67
|
+
ssoConfig?: SSOConfig;
|
|
9
68
|
};
|
|
10
69
|
type OrganizationData = {
|
|
11
70
|
name: string;
|
|
12
71
|
membersIds: User['id'][];
|
|
13
72
|
adminsIds: User['id'][];
|
|
73
|
+
ssoConfig?: SSOConfig;
|
|
14
74
|
};
|
|
15
75
|
type Organization = OrganizationData & {
|
|
16
76
|
id: Types.ObjectId;
|
|
@@ -24,5 +84,5 @@ type OrganizationSchema = RenameId<Organization>;
|
|
|
24
84
|
type OrganizationModelType = Model<Organization>;
|
|
25
85
|
type OrganizationDocument = Document<unknown, {}, Organization> & Organization;
|
|
26
86
|
//#endregion
|
|
27
|
-
export { Organization, OrganizationAPI, OrganizationCreationData, OrganizationData, OrganizationDocument, OrganizationModelType, OrganizationSchema };
|
|
87
|
+
export { OIDCConfig, Organization, OrganizationAPI, OrganizationCreationData, OrganizationData, OrganizationDocument, OrganizationModelType, OrganizationSchema, SAMLConfig, SSOConfig, SSOProviderType };
|
|
28
88
|
//# sourceMappingURL=organization.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.types.d.ts","names":[],"sources":["../../../src/types/organization.types.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organization.types.d.ts","names":[],"sources":["../../../src/types/organization.types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAQA;AAKY,KALA,eAAA,GAKU,MAAA,GAAA,MAAA;AActB;AAoBA;;AAUe,KA5CH,UAAA,GA4CG;EAEA;EAAU,WAAA,EAAA,MAAA;EAOb;EAKA,SAAA,EAAA,MAAA;EAEE;EACD,cAAA,EAAA,MAAA;EACC;EAAS,SAAA,CAAA,EAAA,MAAA;AAGvB,CAAA;;;;AAGS,KAtDG,UAAA,GAsDH;EAAI;EAKD,MAAA,EAAA,MAAA;EAEA;EACA,QAAA,EAAA,MAAA;EACA;EAA6C,YAAA,EAAA,MAAA;EAAtB;EACjC,MAAA,CAAA,EAAA,MAAA,EAAA;EAAY;;;;;;;;;;KA5CF,SAAA;;;;iBAIK;;;;;;eAMF;;eAEA;;;;;;KAOH,wBAAA;QACJ;cACM;;KAGF,gBAAA;;cAEE;aACD;cACC;;KAGF,YAAA,GAAe;MACrB,KAAA,CAAM;aACC;SACJ;;;;KAKG,eAAA,GAAkB,iBAAiB;KAEnC,kBAAA,GAAqB,SAAS;KAC9B,qBAAA,GAAwB,MAAM;KAC9B,oBAAA,GAAuB,sBAAsB,gBACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuth.d.ts","names":[],"sources":["../../../../src/utils/auth/getAuth.ts"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getAuth.d.ts","names":[],"sources":["../../../../src/utils/auth/getAuth.ts"],"sourcesContent":[],"mappings":";;;;;KAgCY,IAAA,GAAO,kBAAkB;cAExB,yBAA0B,mBAAiB,OAAO;AAFnD,cAwBC,OAxBwB,EAAA,CAAA,QAAlB,EAwBe,WAxBL,EAAA,GAwBmB,IAxBnB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dictionary } from "../../types/dictionary.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose80 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -41,7 +41,7 @@ declare const getDictionaryFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
41
41
|
skip: number;
|
|
42
42
|
pageSize: number;
|
|
43
43
|
getNumberOfPages: (totalItems: number) => number;
|
|
44
|
-
filters:
|
|
44
|
+
filters: mongoose80.FilterQuery<Dictionary>;
|
|
45
45
|
sortOptions: Record<string, 1 | -1>;
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
2
2
|
import { Discussion } from "../../types/discussion.types.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose86 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ declare const getDiscussionFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
30
30
|
skip: number;
|
|
31
31
|
pageSize: number;
|
|
32
32
|
getNumberOfPages: (totalItems: number) => number;
|
|
33
|
-
filters:
|
|
33
|
+
filters: mongoose86.Types.ObjectId | mongoose86.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose86.FilterQuery<Discussion>;
|
|
34
34
|
sortOptions: Record<string, 1 | -1>;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Organization } from "../../types/organization.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose85 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -37,7 +37,7 @@ declare const getOrganizationFiltersAndPagination: (req: Request<FiltersAndPagin
|
|
|
37
37
|
skip: number;
|
|
38
38
|
pageSize: number;
|
|
39
39
|
getNumberOfPages: (totalItems: number) => number;
|
|
40
|
-
filters:
|
|
40
|
+
filters: mongoose85.FilterQuery<Organization>;
|
|
41
41
|
sortOptions: Record<string, 1 | -1>;
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Project } from "../../types/project.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose81 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ declare const getProjectFiltersAndPagination: (req: Request<FiltersAndPagination
|
|
|
30
30
|
skip: number;
|
|
31
31
|
pageSize: number;
|
|
32
32
|
getNumberOfPages: (totalItems: number) => number;
|
|
33
|
-
filters:
|
|
33
|
+
filters: mongoose81.FilterQuery<Project>;
|
|
34
34
|
sortOptions: Record<string, 1 | -1>;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from "../../types/tag.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose82 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -28,7 +28,7 @@ declare const getTagFiltersAndPagination: (req: Request<FiltersAndPagination<Tag
|
|
|
28
28
|
skip: number;
|
|
29
29
|
pageSize: number;
|
|
30
30
|
getNumberOfPages: (totalItems: number) => number;
|
|
31
|
-
filters:
|
|
31
|
+
filters: mongoose82.FilterQuery<Tag>;
|
|
32
32
|
sortOptions: Record<string, 1 | -1>;
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeFunctionTypes.d.ts","names":[],"sources":["../../../src/utils/mergeFunctionTypes.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mergeFunctionTypes.d.ts","names":[],"sources":["../../../src/utils/mergeFunctionTypes.ts"],"sourcesContent":[],"mappings":";;;AAGoD;AASrC,KATV,mBAkBS,CAAA,CAAC,CAAA,GAAA,CAlBgB,CAkBhB,SAAA,GAAA,GAAA,CAAA,CAAA,EAlBoC,CAkBpC,EAAA,GAAA,IAAA,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA,EAAA,KAAA,EAAA,EAAA,GAAA,IA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AA;;cAuD3B;;;;GAIV,mBAAiB;AArDwB,cAsH/B,0BAtH+B,EAAA,CAAA,KAAA,EAsHM,KAtHN,EAAA,EAAA,GAsHgB,UAtHhB,EAAA;;;;;;;cAmI/B,qCACG,4BACA,iBACb;KAGE,2BACO,iBACA,sBACA,aAAa,+CACH,qCAChB,gBAAgB,YACd,UAAU,+BAER,UAAU;cAKP,0BAA2B,mBAC/B,qBACK,MACX,iBAAiB,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/backend",
|
|
3
|
-
"version": "7.5.0-canary.
|
|
3
|
+
"version": "7.5.0-canary.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer Backend is a an application that allow you to manage your Intlayer content and interact with the intlayer editor.",
|
|
6
6
|
"keywords": [
|
|
@@ -74,56 +74,57 @@
|
|
|
74
74
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@better-auth/core": "1.4.
|
|
78
|
-
"@better-auth/passkey": "1.4.
|
|
79
|
-
"@
|
|
77
|
+
"@better-auth/core": "1.4.7",
|
|
78
|
+
"@better-auth/passkey": "1.4.7",
|
|
79
|
+
"@better-auth/sso": "1.4.7",
|
|
80
|
+
"@intlayer/ai": "7.5.0-canary.1",
|
|
80
81
|
"@react-email/components": "1.0.1",
|
|
81
|
-
"better-auth": "1.4.
|
|
82
|
+
"better-auth": "1.4.7",
|
|
82
83
|
"compression": "1.8.1",
|
|
83
84
|
"cookie-parser": "1.4.7",
|
|
84
85
|
"cors": "2.8.5",
|
|
85
86
|
"cross-env": "10.1.0",
|
|
86
87
|
"dotenv": "16.6.1",
|
|
87
|
-
"express": "5.1
|
|
88
|
-
"express-intlayer": "7.5.0-canary.
|
|
88
|
+
"express": "5.2.1",
|
|
89
|
+
"express-intlayer": "7.5.0-canary.1",
|
|
89
90
|
"express-rate-limit": "8.2.1",
|
|
90
91
|
"helmet": "8.1.0",
|
|
91
92
|
"mongodb": "6.21.0",
|
|
92
|
-
"mongoose": "8.19.
|
|
93
|
+
"mongoose": "8.19.4",
|
|
93
94
|
"oauth2-server": "3.1.1",
|
|
94
95
|
"openai": "6.9.1",
|
|
95
|
-
"react": "19.2.
|
|
96
|
+
"react": "19.2.3",
|
|
96
97
|
"react-email": "5.0.6",
|
|
97
98
|
"resend": "6.5.2",
|
|
98
99
|
"stripe": "19.3.1",
|
|
99
100
|
"validator": "13.15.23",
|
|
100
|
-
"winston": "3.
|
|
101
|
+
"winston": "3.19.0"
|
|
101
102
|
},
|
|
102
103
|
"devDependencies": {
|
|
103
|
-
"@intlayer/config": "7.5.0-canary.
|
|
104
|
-
"@intlayer/core": "7.5.0-canary.
|
|
105
|
-
"@intlayer/docs": "7.5.0-canary.
|
|
106
|
-
"@intlayer/types": "7.5.0-canary.
|
|
104
|
+
"@intlayer/config": "7.5.0-canary.1",
|
|
105
|
+
"@intlayer/core": "7.5.0-canary.1",
|
|
106
|
+
"@intlayer/docs": "7.5.0-canary.1",
|
|
107
|
+
"@intlayer/types": "7.5.0-canary.1",
|
|
107
108
|
"@types/body-parser": "1.19.6",
|
|
108
109
|
"@types/compression": "1.8.1",
|
|
109
110
|
"@types/cookie-parser": "1.4.10",
|
|
110
111
|
"@types/cors": "2.8.19",
|
|
111
112
|
"@types/crypto-js": "4.2.2",
|
|
112
113
|
"@types/csurf": "1.11.5",
|
|
113
|
-
"@types/express": "5.0.
|
|
114
|
-
"@types/node": "
|
|
114
|
+
"@types/express": "5.0.6",
|
|
115
|
+
"@types/node": "25.0.2",
|
|
115
116
|
"@types/oauth2-server": "3.0.18",
|
|
116
117
|
"@types/react": "19.2.7",
|
|
117
|
-
"@types/validator": "13.15.
|
|
118
|
+
"@types/validator": "13.15.10",
|
|
118
119
|
"@utils/ts-config": "1.0.4",
|
|
119
120
|
"@utils/ts-config-types": "1.0.4",
|
|
120
121
|
"@utils/tsdown-config": "1.0.4",
|
|
121
|
-
"intlayer": "7.5.0-canary.
|
|
122
|
+
"intlayer": "7.5.0-canary.1",
|
|
122
123
|
"npm-run-all": "^4.1.5",
|
|
123
124
|
"rimraf": "6.1.2",
|
|
124
|
-
"tsdown": "0.
|
|
125
|
+
"tsdown": "0.18.0",
|
|
125
126
|
"tsx": "^4.20.6",
|
|
126
127
|
"typescript": "5.9.3",
|
|
127
|
-
"vitest": "4.0.
|
|
128
|
+
"vitest": "4.0.16"
|
|
128
129
|
}
|
|
129
130
|
}
|