@intlayer/backend 7.1.8 → 7.2.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/README.md +1 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_svelte_kit.json +8210 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_vite+svelte.json +8198 -5120
- package/dist/cjs/utils/AI/aiSdk.cjs +3 -3
- package/dist/cjs/utils/AI/aiSdk.cjs.map +1 -1
- package/dist/esm/utils/AI/aiSdk.mjs +3 -3
- package/dist/esm/utils/AI/aiSdk.mjs.map +1 -1
- package/dist/types/controllers/ai.controller.d.ts.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/MagicLinkEmail.d.ts.map +1 -1
- package/dist/types/emails/OAuthTokenCreatedEmail.d.ts +4 -4
- package/dist/types/emails/OAuthTokenCreatedEmail.d.ts.map +1 -1
- 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/SubscriptionPaymentError.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentError.d.ts.map +1 -1
- package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +4 -4
- package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
- package/dist/types/emails/Welcome.d.ts +4 -4
- 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/routes/ai.routes.d.ts.map +1 -1
- package/dist/types/routes/newsletter.routes.d.ts.map +1 -1
- package/dist/types/routes/organization.routes.d.ts.map +1 -1
- package/dist/types/routes/project.routes.d.ts.map +1 -1
- package/dist/types/routes/search.routes.d.ts.map +1 -1
- package/dist/types/routes/tags.routes.d.ts.map +1 -1
- package/dist/types/routes/user.routes.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/organization.schema.d.ts +6 -6
- package/dist/types/schemas/plans.schema.d.ts +6 -6
- package/dist/types/schemas/project.schema.d.ts +6 -6
- package/dist/types/schemas/session.schema.d.ts +6 -6
- package/dist/types/schemas/tag.schema.d.ts +6 -6
- package/dist/types/schemas/tag.schema.d.ts.map +1 -1
- package/dist/types/schemas/user.schema.d.ts +6 -6
- package/dist/types/services/email.service.d.ts +11 -11
- 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/oAuth2.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -28,10 +28,10 @@ const getModel = (provider, userApiKey, userModel, defaultModel) => {
|
|
|
28
28
|
const fallBackModel = defaultModel ?? "chatgpt-4o-latest";
|
|
29
29
|
switch (provider) {
|
|
30
30
|
case AIProvider.OPENAI:
|
|
31
|
-
defaultModel = "
|
|
31
|
+
defaultModel = "gpt-5-mini";
|
|
32
32
|
break;
|
|
33
33
|
case AIProvider.ANTHROPIC:
|
|
34
|
-
defaultModel = "claude-
|
|
34
|
+
defaultModel = "claude-sonnet-4-5-20250929";
|
|
35
35
|
break;
|
|
36
36
|
case AIProvider.MISTRAL:
|
|
37
37
|
defaultModel = "mistral-large-latest";
|
|
@@ -40,7 +40,7 @@ const getModel = (provider, userApiKey, userModel, defaultModel) => {
|
|
|
40
40
|
defaultModel = "deepseek-coder";
|
|
41
41
|
break;
|
|
42
42
|
case AIProvider.GEMINI:
|
|
43
|
-
defaultModel = "gemini-
|
|
43
|
+
defaultModel = "gemini-2.5-flash";
|
|
44
44
|
break;
|
|
45
45
|
}
|
|
46
46
|
if (Boolean(userApiKey) && Boolean(userModel)) return userModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiSdk.cjs","names":["fallBackModel: Model","DEFAULT_PROVIDER: AIProvider","DEFAULT_TEMPERATURE: number","languageModel: AIConfig['model']"],"sources":["../../../../src/utils/AI/aiSdk.ts"],"sourcesContent":["import { type anthropic, createAnthropic } from '@ai-sdk/anthropic';\nimport { createDeepSeek, type deepseek } from '@ai-sdk/deepseek';\nimport { createGoogleGenerativeAI, type google } from '@ai-sdk/google';\nimport { createMistral, type mistral } from '@ai-sdk/mistral';\nimport { createOpenAI, type openai } from '@ai-sdk/openai';\nimport type {\n AssistantModelMessage,\n generateText,\n SystemModelMessage,\n ToolModelMessage,\n UserModelMessage,\n} from 'ai';\nimport type { Response } from 'express';\n\ntype AnthropicModel = Parameters<typeof anthropic>[0];\ntype DeepSeekModel = Parameters<typeof deepseek>[0];\ntype MistralModel = Parameters<typeof mistral>[0];\ntype OpenAIModel = Parameters<typeof openai>[0];\ntype GoogleModel = Parameters<typeof google>[0];\n\nexport type Messages = (\n | SystemModelMessage\n | UserModelMessage\n | AssistantModelMessage\n | ToolModelMessage\n)[];\n\n/**\n * Supported AI models\n */\nexport type Model =\n | AnthropicModel\n | DeepSeekModel\n | MistralModel\n | OpenAIModel\n | GoogleModel\n | (string & {});\n\n/**\n * Supported AI SDK providers\n */\nexport enum AIProvider {\n OPENAI = 'openai',\n ANTHROPIC = 'anthropic',\n MISTRAL = 'mistral',\n DEEPSEEK = 'deepseek',\n GEMINI = 'gemini',\n}\n\n/**\n * Common options for all AI providers\n */\nexport type AIOptions = {\n provider?: AIProvider;\n model?: Model;\n temperature?: number;\n apiKey?: string;\n applicationContext?: string;\n};\n\n// Define the structure of messages used in chat completions\nexport type ChatCompletionRequestMessage = {\n role: 'system' | 'user' | 'assistant'; // The role of the message sender\n content: string; // The text content of the message\n timestamp?: Date; // The timestamp of the message\n};\n\ntype AccessType = 'apiKey' | 'registered_user' | 'premium_user' | 'public';\n\nconst getAPIKey = (\n res: Response,\n accessType: AccessType[],\n aiOptions?: AIOptions\n) => {\n const defaultApiKey = process.env.OPENAI_API_KEY;\n\n if (accessType.includes('public')) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n if (accessType.includes('apiKey') && aiOptions?.apiKey) {\n return aiOptions?.apiKey;\n }\n\n if (accessType.includes('registered_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n // TODO: Implement premium user access\n if (accessType.includes('premium_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n return undefined;\n};\n\nconst getModel = (\n provider: AIProvider,\n userApiKey: string,\n userModel?: Model,\n defaultModel?: Model\n): Model => {\n // Set default models based on provider\n const fallBackModel: Model = defaultModel ?? 'chatgpt-4o-latest';\n\n switch (provider) {\n case AIProvider.OPENAI:\n defaultModel = '
|
|
1
|
+
{"version":3,"file":"aiSdk.cjs","names":["fallBackModel: Model","DEFAULT_PROVIDER: AIProvider","DEFAULT_TEMPERATURE: number","languageModel: AIConfig['model']"],"sources":["../../../../src/utils/AI/aiSdk.ts"],"sourcesContent":["import { type anthropic, createAnthropic } from '@ai-sdk/anthropic';\nimport { createDeepSeek, type deepseek } from '@ai-sdk/deepseek';\nimport { createGoogleGenerativeAI, type google } from '@ai-sdk/google';\nimport { createMistral, type mistral } from '@ai-sdk/mistral';\nimport { createOpenAI, type openai } from '@ai-sdk/openai';\nimport type {\n AssistantModelMessage,\n generateText,\n SystemModelMessage,\n ToolModelMessage,\n UserModelMessage,\n} from 'ai';\nimport type { Response } from 'express';\n\ntype AnthropicModel = Parameters<typeof anthropic>[0];\ntype DeepSeekModel = Parameters<typeof deepseek>[0];\ntype MistralModel = Parameters<typeof mistral>[0];\ntype OpenAIModel = Parameters<typeof openai>[0];\ntype GoogleModel = Parameters<typeof google>[0];\n\nexport type Messages = (\n | SystemModelMessage\n | UserModelMessage\n | AssistantModelMessage\n | ToolModelMessage\n)[];\n\n/**\n * Supported AI models\n */\nexport type Model =\n | AnthropicModel\n | DeepSeekModel\n | MistralModel\n | OpenAIModel\n | GoogleModel\n | (string & {});\n\n/**\n * Supported AI SDK providers\n */\nexport enum AIProvider {\n OPENAI = 'openai',\n ANTHROPIC = 'anthropic',\n MISTRAL = 'mistral',\n DEEPSEEK = 'deepseek',\n GEMINI = 'gemini',\n}\n\n/**\n * Common options for all AI providers\n */\nexport type AIOptions = {\n provider?: AIProvider;\n model?: Model;\n temperature?: number;\n apiKey?: string;\n applicationContext?: string;\n};\n\n// Define the structure of messages used in chat completions\nexport type ChatCompletionRequestMessage = {\n role: 'system' | 'user' | 'assistant'; // The role of the message sender\n content: string; // The text content of the message\n timestamp?: Date; // The timestamp of the message\n};\n\ntype AccessType = 'apiKey' | 'registered_user' | 'premium_user' | 'public';\n\nconst getAPIKey = (\n res: Response,\n accessType: AccessType[],\n aiOptions?: AIOptions\n) => {\n const defaultApiKey = process.env.OPENAI_API_KEY;\n\n if (accessType.includes('public')) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n if (accessType.includes('apiKey') && aiOptions?.apiKey) {\n return aiOptions?.apiKey;\n }\n\n if (accessType.includes('registered_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n // TODO: Implement premium user access\n if (accessType.includes('premium_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n return undefined;\n};\n\nconst getModel = (\n provider: AIProvider,\n userApiKey: string,\n userModel?: Model,\n defaultModel?: Model\n): Model => {\n // Set default models based on provider\n const fallBackModel: Model = defaultModel ?? 'chatgpt-4o-latest';\n\n switch (provider) {\n case AIProvider.OPENAI:\n defaultModel = 'gpt-5-mini';\n break;\n case AIProvider.ANTHROPIC:\n defaultModel = 'claude-sonnet-4-5-20250929';\n break;\n case AIProvider.MISTRAL:\n defaultModel = 'mistral-large-latest';\n break;\n case AIProvider.DEEPSEEK:\n defaultModel = 'deepseek-coder';\n break;\n case AIProvider.GEMINI:\n defaultModel = 'gemini-2.5-flash';\n break;\n }\n\n // If the user use his own API, let him use the model he wants\n if (Boolean(userApiKey) && Boolean(userModel)) {\n return userModel!;\n }\n\n if (userModel) {\n throw new Error(\n 'The user should use his own API key to use a custom model'\n );\n }\n\n return fallBackModel;\n};\n\nexport type AIConfig = Omit<Parameters<typeof generateText>[0], 'prompt'>;\n\nconst DEFAULT_PROVIDER: AIProvider = AIProvider.OPENAI as AIProvider;\nconst DEFAULT_TEMPERATURE: number = 1; // ChatGPT 5 accept only temperature 1\n\nexport type AIConfigOptions = {\n userOptions?: AIOptions;\n defaultOptions?: AIOptions;\n accessType?: AccessType[];\n};\n\n/**\n * Get AI model configuration based on the selected provider and options\n * This function handles the configuration for different AI providers\n *\n * @param options Configuration options including provider, API keys, models and temperature\n * @returns Configured AI model ready to use with generateText\n */\nexport const getAIConfig = async (\n res: Response,\n options: AIConfigOptions\n): Promise<AIConfig> => {\n const {\n userOptions,\n defaultOptions,\n accessType = ['registered_user'],\n } = options;\n\n const aiOptions = {\n provider: DEFAULT_PROVIDER,\n temperature: DEFAULT_TEMPERATURE,\n ...defaultOptions,\n ...userOptions,\n } satisfies AIOptions;\n\n const apiKey = getAPIKey(res, accessType, aiOptions);\n\n // Check if API key is provided\n if (!apiKey) {\n throw new Error(`API key for ${aiOptions.provider} is missing`);\n }\n\n const selectedModel = getModel(\n aiOptions.provider,\n apiKey,\n aiOptions.model,\n defaultOptions?.model\n );\n\n const protectedOptions = {\n ...aiOptions,\n apiKey,\n model: selectedModel,\n } satisfies AIOptions;\n\n let languageModel: AIConfig['model'];\n\n switch (protectedOptions.provider) {\n case AIProvider.OPENAI: {\n languageModel = createOpenAI({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.ANTHROPIC: {\n languageModel = createAnthropic({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.MISTRAL: {\n languageModel = createMistral({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.DEEPSEEK: {\n languageModel = createDeepSeek({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.GEMINI: {\n languageModel = createGoogleGenerativeAI({\n apiKey,\n })(selectedModel);\n break;\n }\n\n default: {\n throw new Error(`Provider ${protectedOptions.provider} not supported`);\n }\n }\n\n return {\n model: languageModel,\n temperature: protectedOptions.temperature,\n };\n};\n"],"mappings":";;;;;;;;;;;AAyCA,IAAY,oDAAL;AACL;AACA;AACA;AACA;AACA;;;AAuBF,MAAM,aACJ,KACA,YACA,cACG;CACH,MAAM,gBAAgB,QAAQ,IAAI;AAElC,KAAI,WAAW,SAAS,SAAS,CAC/B,QAAO,WAAW,UAAU;AAG9B,KAAI,WAAW,SAAS,SAAS,IAAI,WAAW,OAC9C,QAAO,WAAW;AAGpB,KAAI,WAAW,SAAS,kBAAkB,IAAI,IAAI,OAAO,KACvD,QAAO,WAAW,UAAU;AAI9B,KAAI,WAAW,SAAS,eAAe,IAAI,IAAI,OAAO,KACpD,QAAO,WAAW,UAAU;;AAMhC,MAAM,YACJ,UACA,YACA,WACA,iBACU;CAEV,MAAMA,gBAAuB,gBAAgB;AAE7C,SAAQ,UAAR;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27,10 @@ const getModel = (provider, userApiKey, userModel, defaultModel) => {
|
|
|
27
27
|
const fallBackModel = defaultModel ?? "chatgpt-4o-latest";
|
|
28
28
|
switch (provider) {
|
|
29
29
|
case AIProvider.OPENAI:
|
|
30
|
-
defaultModel = "
|
|
30
|
+
defaultModel = "gpt-5-mini";
|
|
31
31
|
break;
|
|
32
32
|
case AIProvider.ANTHROPIC:
|
|
33
|
-
defaultModel = "claude-
|
|
33
|
+
defaultModel = "claude-sonnet-4-5-20250929";
|
|
34
34
|
break;
|
|
35
35
|
case AIProvider.MISTRAL:
|
|
36
36
|
defaultModel = "mistral-large-latest";
|
|
@@ -39,7 +39,7 @@ const getModel = (provider, userApiKey, userModel, defaultModel) => {
|
|
|
39
39
|
defaultModel = "deepseek-coder";
|
|
40
40
|
break;
|
|
41
41
|
case AIProvider.GEMINI:
|
|
42
|
-
defaultModel = "gemini-
|
|
42
|
+
defaultModel = "gemini-2.5-flash";
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
if (Boolean(userApiKey) && Boolean(userModel)) return userModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiSdk.mjs","names":["fallBackModel: Model","DEFAULT_PROVIDER: AIProvider","DEFAULT_TEMPERATURE: number","languageModel: AIConfig['model']"],"sources":["../../../../src/utils/AI/aiSdk.ts"],"sourcesContent":["import { type anthropic, createAnthropic } from '@ai-sdk/anthropic';\nimport { createDeepSeek, type deepseek } from '@ai-sdk/deepseek';\nimport { createGoogleGenerativeAI, type google } from '@ai-sdk/google';\nimport { createMistral, type mistral } from '@ai-sdk/mistral';\nimport { createOpenAI, type openai } from '@ai-sdk/openai';\nimport type {\n AssistantModelMessage,\n generateText,\n SystemModelMessage,\n ToolModelMessage,\n UserModelMessage,\n} from 'ai';\nimport type { Response } from 'express';\n\ntype AnthropicModel = Parameters<typeof anthropic>[0];\ntype DeepSeekModel = Parameters<typeof deepseek>[0];\ntype MistralModel = Parameters<typeof mistral>[0];\ntype OpenAIModel = Parameters<typeof openai>[0];\ntype GoogleModel = Parameters<typeof google>[0];\n\nexport type Messages = (\n | SystemModelMessage\n | UserModelMessage\n | AssistantModelMessage\n | ToolModelMessage\n)[];\n\n/**\n * Supported AI models\n */\nexport type Model =\n | AnthropicModel\n | DeepSeekModel\n | MistralModel\n | OpenAIModel\n | GoogleModel\n | (string & {});\n\n/**\n * Supported AI SDK providers\n */\nexport enum AIProvider {\n OPENAI = 'openai',\n ANTHROPIC = 'anthropic',\n MISTRAL = 'mistral',\n DEEPSEEK = 'deepseek',\n GEMINI = 'gemini',\n}\n\n/**\n * Common options for all AI providers\n */\nexport type AIOptions = {\n provider?: AIProvider;\n model?: Model;\n temperature?: number;\n apiKey?: string;\n applicationContext?: string;\n};\n\n// Define the structure of messages used in chat completions\nexport type ChatCompletionRequestMessage = {\n role: 'system' | 'user' | 'assistant'; // The role of the message sender\n content: string; // The text content of the message\n timestamp?: Date; // The timestamp of the message\n};\n\ntype AccessType = 'apiKey' | 'registered_user' | 'premium_user' | 'public';\n\nconst getAPIKey = (\n res: Response,\n accessType: AccessType[],\n aiOptions?: AIOptions\n) => {\n const defaultApiKey = process.env.OPENAI_API_KEY;\n\n if (accessType.includes('public')) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n if (accessType.includes('apiKey') && aiOptions?.apiKey) {\n return aiOptions?.apiKey;\n }\n\n if (accessType.includes('registered_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n // TODO: Implement premium user access\n if (accessType.includes('premium_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n return undefined;\n};\n\nconst getModel = (\n provider: AIProvider,\n userApiKey: string,\n userModel?: Model,\n defaultModel?: Model\n): Model => {\n // Set default models based on provider\n const fallBackModel: Model = defaultModel ?? 'chatgpt-4o-latest';\n\n switch (provider) {\n case AIProvider.OPENAI:\n defaultModel = '
|
|
1
|
+
{"version":3,"file":"aiSdk.mjs","names":["fallBackModel: Model","DEFAULT_PROVIDER: AIProvider","DEFAULT_TEMPERATURE: number","languageModel: AIConfig['model']"],"sources":["../../../../src/utils/AI/aiSdk.ts"],"sourcesContent":["import { type anthropic, createAnthropic } from '@ai-sdk/anthropic';\nimport { createDeepSeek, type deepseek } from '@ai-sdk/deepseek';\nimport { createGoogleGenerativeAI, type google } from '@ai-sdk/google';\nimport { createMistral, type mistral } from '@ai-sdk/mistral';\nimport { createOpenAI, type openai } from '@ai-sdk/openai';\nimport type {\n AssistantModelMessage,\n generateText,\n SystemModelMessage,\n ToolModelMessage,\n UserModelMessage,\n} from 'ai';\nimport type { Response } from 'express';\n\ntype AnthropicModel = Parameters<typeof anthropic>[0];\ntype DeepSeekModel = Parameters<typeof deepseek>[0];\ntype MistralModel = Parameters<typeof mistral>[0];\ntype OpenAIModel = Parameters<typeof openai>[0];\ntype GoogleModel = Parameters<typeof google>[0];\n\nexport type Messages = (\n | SystemModelMessage\n | UserModelMessage\n | AssistantModelMessage\n | ToolModelMessage\n)[];\n\n/**\n * Supported AI models\n */\nexport type Model =\n | AnthropicModel\n | DeepSeekModel\n | MistralModel\n | OpenAIModel\n | GoogleModel\n | (string & {});\n\n/**\n * Supported AI SDK providers\n */\nexport enum AIProvider {\n OPENAI = 'openai',\n ANTHROPIC = 'anthropic',\n MISTRAL = 'mistral',\n DEEPSEEK = 'deepseek',\n GEMINI = 'gemini',\n}\n\n/**\n * Common options for all AI providers\n */\nexport type AIOptions = {\n provider?: AIProvider;\n model?: Model;\n temperature?: number;\n apiKey?: string;\n applicationContext?: string;\n};\n\n// Define the structure of messages used in chat completions\nexport type ChatCompletionRequestMessage = {\n role: 'system' | 'user' | 'assistant'; // The role of the message sender\n content: string; // The text content of the message\n timestamp?: Date; // The timestamp of the message\n};\n\ntype AccessType = 'apiKey' | 'registered_user' | 'premium_user' | 'public';\n\nconst getAPIKey = (\n res: Response,\n accessType: AccessType[],\n aiOptions?: AIOptions\n) => {\n const defaultApiKey = process.env.OPENAI_API_KEY;\n\n if (accessType.includes('public')) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n if (accessType.includes('apiKey') && aiOptions?.apiKey) {\n return aiOptions?.apiKey;\n }\n\n if (accessType.includes('registered_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n // TODO: Implement premium user access\n if (accessType.includes('premium_user') && res.locals.user) {\n return aiOptions?.apiKey ?? defaultApiKey;\n }\n\n return undefined;\n};\n\nconst getModel = (\n provider: AIProvider,\n userApiKey: string,\n userModel?: Model,\n defaultModel?: Model\n): Model => {\n // Set default models based on provider\n const fallBackModel: Model = defaultModel ?? 'chatgpt-4o-latest';\n\n switch (provider) {\n case AIProvider.OPENAI:\n defaultModel = 'gpt-5-mini';\n break;\n case AIProvider.ANTHROPIC:\n defaultModel = 'claude-sonnet-4-5-20250929';\n break;\n case AIProvider.MISTRAL:\n defaultModel = 'mistral-large-latest';\n break;\n case AIProvider.DEEPSEEK:\n defaultModel = 'deepseek-coder';\n break;\n case AIProvider.GEMINI:\n defaultModel = 'gemini-2.5-flash';\n break;\n }\n\n // If the user use his own API, let him use the model he wants\n if (Boolean(userApiKey) && Boolean(userModel)) {\n return userModel!;\n }\n\n if (userModel) {\n throw new Error(\n 'The user should use his own API key to use a custom model'\n );\n }\n\n return fallBackModel;\n};\n\nexport type AIConfig = Omit<Parameters<typeof generateText>[0], 'prompt'>;\n\nconst DEFAULT_PROVIDER: AIProvider = AIProvider.OPENAI as AIProvider;\nconst DEFAULT_TEMPERATURE: number = 1; // ChatGPT 5 accept only temperature 1\n\nexport type AIConfigOptions = {\n userOptions?: AIOptions;\n defaultOptions?: AIOptions;\n accessType?: AccessType[];\n};\n\n/**\n * Get AI model configuration based on the selected provider and options\n * This function handles the configuration for different AI providers\n *\n * @param options Configuration options including provider, API keys, models and temperature\n * @returns Configured AI model ready to use with generateText\n */\nexport const getAIConfig = async (\n res: Response,\n options: AIConfigOptions\n): Promise<AIConfig> => {\n const {\n userOptions,\n defaultOptions,\n accessType = ['registered_user'],\n } = options;\n\n const aiOptions = {\n provider: DEFAULT_PROVIDER,\n temperature: DEFAULT_TEMPERATURE,\n ...defaultOptions,\n ...userOptions,\n } satisfies AIOptions;\n\n const apiKey = getAPIKey(res, accessType, aiOptions);\n\n // Check if API key is provided\n if (!apiKey) {\n throw new Error(`API key for ${aiOptions.provider} is missing`);\n }\n\n const selectedModel = getModel(\n aiOptions.provider,\n apiKey,\n aiOptions.model,\n defaultOptions?.model\n );\n\n const protectedOptions = {\n ...aiOptions,\n apiKey,\n model: selectedModel,\n } satisfies AIOptions;\n\n let languageModel: AIConfig['model'];\n\n switch (protectedOptions.provider) {\n case AIProvider.OPENAI: {\n languageModel = createOpenAI({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.ANTHROPIC: {\n languageModel = createAnthropic({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.MISTRAL: {\n languageModel = createMistral({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.DEEPSEEK: {\n languageModel = createDeepSeek({\n apiKey,\n })(selectedModel);\n break;\n }\n\n case AIProvider.GEMINI: {\n languageModel = createGoogleGenerativeAI({\n apiKey,\n })(selectedModel);\n break;\n }\n\n default: {\n throw new Error(`Provider ${protectedOptions.provider} not supported`);\n }\n }\n\n return {\n model: languageModel,\n temperature: protectedOptions.temperature,\n };\n};\n"],"mappings":";;;;;;;;;;AAyCA,IAAY,oDAAL;AACL;AACA;AACA;AACA;AACA;;;AAuBF,MAAM,aACJ,KACA,YACA,cACG;CACH,MAAM,gBAAgB,QAAQ,IAAI;AAElC,KAAI,WAAW,SAAS,SAAS,CAC/B,QAAO,WAAW,UAAU;AAG9B,KAAI,WAAW,SAAS,SAAS,IAAI,WAAW,OAC9C,QAAO,WAAW;AAGpB,KAAI,WAAW,SAAS,kBAAkB,IAAI,IAAI,OAAO,KACvD,QAAO,WAAW,UAAU;AAI9B,KAAI,WAAW,SAAS,eAAe,IAAI,IAAI,OA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D,CAAC,CAAC,cAAc;AACjB;EAGF,QACE,OAAM,IAAI,MAAM,YAAY,iBAAiB,SAAS,gBAAgB;;AAI1E,QAAO;EACL,OAAO;EACP,aAAa,iBAAiB;EAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.controller.d.ts","names":[],"sources":["../../../src/controllers/ai.controller.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;KAoCK,8BAA8B,KAAK;cAC1B;AAHuC,CAAA;AAEb,KAI5B,eAAA,GACV,wBALsC,CAKb,kBALa,CAAA,GAAA;EAAL,QAAA,CAAA,EAAA,MAAA,EAAA;EACrB,kBAAA,CAAA,EAAA,MAAA;CAAS;AAGX,KAKA,iBAAA,GACV,YALyB,CAKZ,qBALW,CAAA;AAId,cAGC,WAHgB,EAAA,
|
|
1
|
+
{"version":3,"file":"ai.controller.d.ts","names":[],"sources":["../../../src/controllers/ai.controller.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;KAoCK,8BAA8B,KAAK;cAC1B;AAHuC,CAAA;AAEb,KAI5B,eAAA,GACV,wBALsC,CAKb,kBALa,CAAA,GAAA;EAAL,QAAA,CAAA,EAAA,MAAA,EAAA;EACrB,kBAAA,CAAA,EAAA,MAAA;CAAS;AAGX,KAKA,iBAAA,GACV,YALyB,CAKZ,qBALW,CAAA;AAId,cAGC,WAHgB,EAAA,CACd,GAAA,EAGR,OAHQ,CAGA,eAHb,CAAA,EAAA,GAAA,EAIK,mBAJO,CAIa,iBAJb,CAAA,EAAA,KAAA,EAKL,YALK,EAAA,GAMX,OANW,CAAA,IAAA,CAAA;AAED,KA4CD,iBAAA,GAAoB,IAF/B,CAGC,wBAHD,CAG0B,oBAH1B,CAAA,EAAA,MAAA,CAAA,GAAA;EAzCc,QAAA,CAAA,EAAA,MAAA,EAAA;CAAR;AACoB,KAgDf,mBAAA,GACV,YAjDyB,CAiDZ,yBAjDY,CAAA;AAApB,cAmDM,aAnDN,EAAA,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AApB;KAsJF,0BAAA,GArJI;EACN,eAAA,EAAA;IAAO,GAAA,EAAA,MAAA;IAuDE,OAAA,EAgGC,iBAhGgB;IACjB,EAAA,EAAA,MAAA,GAAA,SAAmB;EAKlB,CAAA,EAAA;EACY,mBAAA,EAAA;IAAlB,GAAA,EAAA,MAAA;IACoB,OAAA,EA6Fd,iBA7Fc;IAApB,EAAA,EAAA,MAAA,GAAA,SAAA;EACE,CAAA,EAAA;EACN,KAAA,EAAA;IAAO,EAAA,EAAA,MAAA,GAAA,SAAA;IAgFE,GAAA,EAAA,MAAA;IAGP,OAAA,EAcQ,iBAdkB,GAAA,SAAA;IAGlB,OAAA,EAAA,MAAA;EAKA,CAAA,EAAA;CAMA;AAAiB,KAIlB,sBAAA,GAAyB,YAJP,CAIoB,0BAJpB,CAAA;AAI9B;AAQA;;;;;AAGS,cAHI,gBAGJ,EAAA,CAAA,GAAA,EAFF,OAEE,CAAA,GAAA,EAAA,GAAA,EAFgB,oBAEhB,CAAA,EAAA,GAAA,EADF,mBACE,CADkB,sBAClB,CAAA,EAAA,KAAA,EAAA,YAAA,EAAA,GACN,OADM,CAAA,IAAA,CAAA;AACN,KA4LS,qBAAA,GA5LT;EAAO,YAAA,EAAA,MAAA;AA4LV,CAAA;AACY,KAAA,oBAAA,GAAuB,OAAQ,CAAA,
|
|
1
|
+
{"version":3,"file":"dictionary.controller.d.ts","names":[],"sources":["../../../src/controllers/dictionary.controller.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAoCY,qBAAA,GACV,qBAAqB;KACX,qBAAA,GAAwB,kBAAkB;AAFtD;AAEA;AAuBA;AACe,cADF,eACE,EAAA,CAAA,GAAA,EAAR,OAAQ,CAAA,qBAAA,CAAA,EAAA,GAAA,EACR,mBADQ,CACY,qBADZ,CAAA,EAAA,KAAA,EAEN,YAFM,EAAA,GAGZ,OAHY,CAAA,IAAA,CAAA;AAAR,KA8DK,yBAAA,GAA4B,YA9DjC,CAAA,MAAA,EAAA,CAAA;;;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,aA9ElC,CAAA,EAAA,GAAA,EA+EI,mBA/EJ,CA+EwB,eA/ExB,CAAA,EAAA,KAAA,EAgFM,YAhFN,EAAA,GAiFA,OAjFA,CAAA,IAAA,CAAA;AAAO,KAsJE,eAAA,GAtJF;EAsEE,KAAA,EAAA,MAAA,GAgFoC,GAhFrB,CAAA,IAAA,CAAA;AAC3B,CAAA;AACY,KA+EA,eAAA,GAAkB,YA/EA,CA+Ea,MA/Eb,CAAA;AAK9B;;;;;;AAGS,cA+EI,SA/EJ,EAAA,CAAA,GAAA,EAgFF,OAhFE,CAgFM,eAhFN,CAAA,EAAA,GAAA,EAiFF,mBAjFE,CAiFkB,eAjFlB,CAAA,EAAA,KAAA,EAkFA,YAlFA,EAAA,GAmFN,OAnFM,CAAA,IAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/InviteUserEmail.d.ts
|
|
4
4
|
type InviteUserEmailProps = {
|
|
@@ -19,7 +19,7 @@ declare const InviteUserEmailEN: {
|
|
|
19
19
|
inviteLink,
|
|
20
20
|
inviteFromIp,
|
|
21
21
|
inviteFromLocation
|
|
22
|
-
}: InviteUserEmailProps):
|
|
22
|
+
}: InviteUserEmailProps): react_jsx_runtime8.JSX.Element;
|
|
23
23
|
PreviewProps: InviteUserEmailProps;
|
|
24
24
|
};
|
|
25
25
|
declare const InviteUserEmailFR: {
|
|
@@ -31,7 +31,7 @@ declare const InviteUserEmailFR: {
|
|
|
31
31
|
inviteLink,
|
|
32
32
|
inviteFromIp,
|
|
33
33
|
inviteFromLocation
|
|
34
|
-
}: InviteUserEmailProps):
|
|
34
|
+
}: InviteUserEmailProps): react_jsx_runtime8.JSX.Element;
|
|
35
35
|
PreviewProps: InviteUserEmailProps;
|
|
36
36
|
};
|
|
37
37
|
declare const InviteUserEmailES: {
|
|
@@ -43,7 +43,7 @@ declare const InviteUserEmailES: {
|
|
|
43
43
|
inviteLink,
|
|
44
44
|
inviteFromIp,
|
|
45
45
|
inviteFromLocation
|
|
46
|
-
}: InviteUserEmailProps):
|
|
46
|
+
}: InviteUserEmailProps): react_jsx_runtime8.JSX.Element;
|
|
47
47
|
PreviewProps: InviteUserEmailProps;
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteUserEmail.d.ts","names":[],"sources":["../../../src/emails/InviteUserEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,oBAAA;;;EAAA,cAAA,EAAA,MAAA;EAUC,gBAAA,EAAA,MAmFZ;;;;;cAnFY;;;;;;;;;KAQV,uBAAoB,
|
|
1
|
+
{"version":3,"file":"InviteUserEmail.d.ts","names":[],"sources":["../../../src/emails/InviteUserEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,oBAAA;;;EAAA,cAAA,EAAA,MAAA;EAUC,gBAAA,EAAA,MAmFZ;;;;;cAnFY;;;;;;;;;KAQV,uBAAoB,kBAAA,CAAA,GAAA,CAAA;;CAApB;AAAoB,cA6EV,iBA7EU,EAAA;;;;;;;;;KAqFpB,uBAAoB,kBAAA,CAAA,GAAA,CAAA;;AARvB,CAAA;cAqFa;;;;;;;;;KAQV,uBAAoB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/MagicLinkEmail.d.ts
|
|
4
4
|
type MagicLinkEmailProps = {
|
|
@@ -9,21 +9,21 @@ declare const MagicLinkEmailEN: {
|
|
|
9
9
|
({
|
|
10
10
|
username,
|
|
11
11
|
magicLink
|
|
12
|
-
}: MagicLinkEmailProps):
|
|
12
|
+
}: MagicLinkEmailProps): react_jsx_runtime30.JSX.Element;
|
|
13
13
|
PreviewProps: MagicLinkEmailProps;
|
|
14
14
|
};
|
|
15
15
|
declare const MagicLinkEmailFR: {
|
|
16
16
|
({
|
|
17
17
|
username,
|
|
18
18
|
magicLink
|
|
19
|
-
}: MagicLinkEmailProps):
|
|
19
|
+
}: MagicLinkEmailProps): react_jsx_runtime30.JSX.Element;
|
|
20
20
|
PreviewProps: MagicLinkEmailProps;
|
|
21
21
|
};
|
|
22
22
|
declare const MagicLinkEmailES: {
|
|
23
23
|
({
|
|
24
24
|
username,
|
|
25
25
|
magicLink
|
|
26
|
-
}: MagicLinkEmailProps):
|
|
26
|
+
}: MagicLinkEmailProps): react_jsx_runtime30.JSX.Element;
|
|
27
27
|
PreviewProps: MagicLinkEmailProps;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MagicLinkEmail.d.ts","names":[],"sources":["../../../src/emails/MagicLinkEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,mBAAA;;;AAAZ,CAAA;AAKa,cAAA,gBAgEZ,EAAA;;;;KA7DE,sBAAmB,
|
|
1
|
+
{"version":3,"file":"MagicLinkEmail.d.ts","names":[],"sources":["../../../src/emails/MagicLinkEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,mBAAA;;;AAAZ,CAAA;AAKa,cAAA,gBAgEZ,EAAA;;;;KA7DE,sBAAmB,mBAAA,CAAA,GAAA,CAAA;;CAAnB;AAAmB,cA+DT,gBA/DS,EAAA;;;;KAkEnB,sBAAmB,mBAAA,CAAA,GAAA,CAAA;;AAHtB,CAAA;cAiEa;;;;KAGV,sBAAmB,mBAAA,CAAA,GAAA,CAAA;EAjEnB,YAAA,qBAAA;CAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/OAuthTokenCreatedEmail.d.ts
|
|
4
4
|
type OAuthTokenCreatedEmailProps = {
|
|
@@ -17,7 +17,7 @@ declare const OAuthTokenCreatedEmailEN: {
|
|
|
17
17
|
tokenDetailsUrl,
|
|
18
18
|
securityLogUrl,
|
|
19
19
|
supportUrl
|
|
20
|
-
}: OAuthTokenCreatedEmailProps):
|
|
20
|
+
}: OAuthTokenCreatedEmailProps): react_jsx_runtime11.JSX.Element;
|
|
21
21
|
PreviewProps: OAuthTokenCreatedEmailProps;
|
|
22
22
|
};
|
|
23
23
|
declare const OAuthTokenCreatedEmailFR: {
|
|
@@ -28,7 +28,7 @@ declare const OAuthTokenCreatedEmailFR: {
|
|
|
28
28
|
tokenDetailsUrl,
|
|
29
29
|
securityLogUrl,
|
|
30
30
|
supportUrl
|
|
31
|
-
}: OAuthTokenCreatedEmailProps):
|
|
31
|
+
}: OAuthTokenCreatedEmailProps): react_jsx_runtime11.JSX.Element;
|
|
32
32
|
PreviewProps: OAuthTokenCreatedEmailProps;
|
|
33
33
|
};
|
|
34
34
|
declare const OAuthTokenCreatedEmailES: {
|
|
@@ -39,7 +39,7 @@ declare const OAuthTokenCreatedEmailES: {
|
|
|
39
39
|
tokenDetailsUrl,
|
|
40
40
|
securityLogUrl,
|
|
41
41
|
supportUrl
|
|
42
|
-
}: OAuthTokenCreatedEmailProps):
|
|
42
|
+
}: OAuthTokenCreatedEmailProps): react_jsx_runtime11.JSX.Element;
|
|
43
43
|
PreviewProps: OAuthTokenCreatedEmailProps;
|
|
44
44
|
};
|
|
45
45
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuthTokenCreatedEmail.d.ts","names":[],"sources":["../../../src/emails/OAuthTokenCreatedEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,2BAAA;;;EAAA,MAAA,EAAA,MAAA,EAAA;EASC,eAAA,EAAA,MAAA;;;;cAAA;;;;;;;;KAOV,8BAA2B,
|
|
1
|
+
{"version":3,"file":"OAuthTokenCreatedEmail.d.ts","names":[],"sources":["../../../src/emails/OAuthTokenCreatedEmail.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,2BAAA;;;EAAA,MAAA,EAAA,MAAA,EAAA;EASC,eAAA,EAAA,MAAA;;;;cAAA;;;;;;;;KAOV,8BAA2B,mBAAA,CAAA,GAAA,CAAA;;CAA3B;AAA2B,cA2EjB,wBA3EiB,EAAA;;;;;;;;KAkF3B,8BAA2B,mBAAA,CAAA,GAAA,CAAA;;AAP9B,CAAA;cA+Ea;;;;;;;;KAOV,8BAA2B,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/PasswordChangeConfirmation.d.ts
|
|
4
4
|
type PasswordChangeConfirmationEmailProps = {
|
|
@@ -7,19 +7,19 @@ type PasswordChangeConfirmationEmailProps = {
|
|
|
7
7
|
declare const PasswordChangeConfirmationEmailEN: {
|
|
8
8
|
({
|
|
9
9
|
username
|
|
10
|
-
}: PasswordChangeConfirmationEmailProps):
|
|
10
|
+
}: PasswordChangeConfirmationEmailProps): react_jsx_runtime36.JSX.Element;
|
|
11
11
|
PreviewProps: PasswordChangeConfirmationEmailProps;
|
|
12
12
|
};
|
|
13
13
|
declare const PasswordChangeConfirmationEmailFR: {
|
|
14
14
|
({
|
|
15
15
|
username
|
|
16
|
-
}: PasswordChangeConfirmationEmailProps):
|
|
16
|
+
}: PasswordChangeConfirmationEmailProps): react_jsx_runtime36.JSX.Element;
|
|
17
17
|
PreviewProps: PasswordChangeConfirmationEmailProps;
|
|
18
18
|
};
|
|
19
19
|
declare const PasswordChangeConfirmationEmailES: {
|
|
20
20
|
({
|
|
21
21
|
username
|
|
22
|
-
}: PasswordChangeConfirmationEmailProps):
|
|
22
|
+
}: PasswordChangeConfirmationEmailProps): react_jsx_runtime36.JSX.Element;
|
|
23
23
|
PreviewProps: PasswordChangeConfirmationEmailProps;
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordChangeConfirmation.d.ts","names":[],"sources":["../../../src/emails/PasswordChangeConfirmation.tsx"],"sourcesContent":[],"mappings":";;;KAcY,oCAAA;;;AAAA,cAIC,iCAJmC,EAAA;EAInC,CAAA;IAAA;EA8CZ,CA9CY,EAEV,oCA4CF,CAAA,EA5CsC,
|
|
1
|
+
{"version":3,"file":"PasswordChangeConfirmation.d.ts","names":[],"sources":["../../../src/emails/PasswordChangeConfirmation.tsx"],"sourcesContent":[],"mappings":";;;KAcY,oCAAA;;;AAAA,cAIC,iCAJmC,EAAA;EAInC,CAAA;IAAA;EA8CZ,CA9CY,EAEV,oCA4CF,CAAA,EA5CsC,mBAAA,CAAA,GAAA,CAAA,OA4CtC;;CA5CE;AAAoC,cA8C1B,iCA9C0B,EAAA;;;KAgDpC,uCAAoC,mBAAA,CAAA,GAAA,CAAA;;AAFvC,CAAA;cAiDa;EA/CV,CAAA;IAAA;EAAA,CAAA,EAiDA,oCAjDA,CAAA,EAiDoC,mBAAA,CAAA,GAAA,CAAA,OAjDpC;EAAoC,YAAA,sCAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/ResetUserPassword.d.ts
|
|
4
4
|
type ResetPasswordEmailProps = {
|
|
@@ -9,21 +9,21 @@ declare const ResetPasswordEmailEN: {
|
|
|
9
9
|
({
|
|
10
10
|
username,
|
|
11
11
|
resetLink
|
|
12
|
-
}: ResetPasswordEmailProps):
|
|
12
|
+
}: ResetPasswordEmailProps): react_jsx_runtime0.JSX.Element;
|
|
13
13
|
PreviewProps: ResetPasswordEmailProps;
|
|
14
14
|
};
|
|
15
15
|
declare const ResetPasswordEmailFR: {
|
|
16
16
|
({
|
|
17
17
|
username,
|
|
18
18
|
resetLink
|
|
19
|
-
}: ResetPasswordEmailProps):
|
|
19
|
+
}: ResetPasswordEmailProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
PreviewProps: ResetPasswordEmailProps;
|
|
21
21
|
};
|
|
22
22
|
declare const ResetPasswordEmailES: {
|
|
23
23
|
({
|
|
24
24
|
username,
|
|
25
25
|
resetLink
|
|
26
|
-
}: ResetPasswordEmailProps):
|
|
26
|
+
}: ResetPasswordEmailProps): react_jsx_runtime0.JSX.Element;
|
|
27
27
|
PreviewProps: ResetPasswordEmailProps;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetUserPassword.d.ts","names":[],"sources":["../../../src/emails/ResetUserPassword.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,uBAAA;;;AAAZ,CAAA;AAKa,cAAA,oBA+DZ,EAAA;;;;KA5DE,0BAAuB,
|
|
1
|
+
{"version":3,"file":"ResetUserPassword.d.ts","names":[],"sources":["../../../src/emails/ResetUserPassword.tsx"],"sourcesContent":[],"mappings":";;;KAgBY,uBAAA;;;AAAZ,CAAA;AAKa,cAAA,oBA+DZ,EAAA;;;;KA5DE,0BAAuB,kBAAA,CAAA,GAAA,CAAA;;CAAvB;AAAuB,cA8Db,oBA9Da,EAAA;;;;KAiEvB,0BAAuB,kBAAA,CAAA,GAAA,CAAA;;AAH1B,CAAA;cAgEa;;;;KAGV,0BAAuB,kBAAA,CAAA,GAAA,CAAA;EAhEvB,YAAA,yBAAA;CAAuB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/SubscriptionPaymentError.d.ts
|
|
4
4
|
type SubscriptionPaymentErrorProps = {
|
|
@@ -16,7 +16,7 @@ declare const SubscriptionPaymentErrorEN: {
|
|
|
16
16
|
organizationName,
|
|
17
17
|
errorDate,
|
|
18
18
|
retryPaymentLink
|
|
19
|
-
}: SubscriptionPaymentErrorProps):
|
|
19
|
+
}: SubscriptionPaymentErrorProps): react_jsx_runtime2.JSX.Element;
|
|
20
20
|
PreviewProps: SubscriptionPaymentErrorProps;
|
|
21
21
|
};
|
|
22
22
|
declare const SubscriptionPaymentErrorFR: {
|
|
@@ -26,7 +26,7 @@ declare const SubscriptionPaymentErrorFR: {
|
|
|
26
26
|
organizationName,
|
|
27
27
|
errorDate,
|
|
28
28
|
retryPaymentLink
|
|
29
|
-
}: SubscriptionPaymentErrorProps):
|
|
29
|
+
}: SubscriptionPaymentErrorProps): react_jsx_runtime2.JSX.Element;
|
|
30
30
|
PreviewProps: SubscriptionPaymentErrorProps;
|
|
31
31
|
};
|
|
32
32
|
declare const SubscriptionPaymentErrorES: {
|
|
@@ -36,7 +36,7 @@ declare const SubscriptionPaymentErrorES: {
|
|
|
36
36
|
organizationName,
|
|
37
37
|
errorDate,
|
|
38
38
|
retryPaymentLink
|
|
39
|
-
}: SubscriptionPaymentErrorProps):
|
|
39
|
+
}: SubscriptionPaymentErrorProps): react_jsx_runtime2.JSX.Element;
|
|
40
40
|
PreviewProps: SubscriptionPaymentErrorProps;
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionPaymentError.d.ts","names":[],"sources":["../../../src/emails/SubscriptionPaymentError.tsx"],"sourcesContent":[],"mappings":";;;KAcY,6BAAA;;;EAAA,QAAA,EAAA,MAAA;EAUC,gBAAA,EAAA,MAAA;;;;cAAA;;;;;;;KAMV,gCAA6B,
|
|
1
|
+
{"version":3,"file":"SubscriptionPaymentError.d.ts","names":[],"sources":["../../../src/emails/SubscriptionPaymentError.tsx"],"sourcesContent":[],"mappings":";;;KAcY,6BAAA;;;EAAA,QAAA,EAAA,MAAA;EAUC,gBAAA,EAAA,MAAA;;;;cAAA;;;;;;;KAMV,gCAA6B,kBAAA,CAAA,GAAA,CAAA;EAA7B,YAAA,+BAAA;CAA6B;cAkDnB;;;;;;;KAMV,gCAA6B,kBAAA,CAAA,GAAA,CAAA;EANnB,YAAA,+BAsDZ;;cAGY;;;;;;;KAMV,gCAA6B,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/SubscriptionPaymentSuccess.d.ts
|
|
4
4
|
type SubscriptionPaymentSuccessProps = {
|
|
@@ -16,7 +16,7 @@ declare const SubscriptionPaymentSuccessEN: {
|
|
|
16
16
|
organizationName,
|
|
17
17
|
subscriptionStartDate,
|
|
18
18
|
manageSubscriptionLink
|
|
19
|
-
}: SubscriptionPaymentSuccessProps):
|
|
19
|
+
}: SubscriptionPaymentSuccessProps): react_jsx_runtime24.JSX.Element;
|
|
20
20
|
PreviewProps: SubscriptionPaymentSuccessProps;
|
|
21
21
|
};
|
|
22
22
|
declare const SubscriptionPaymentSuccessFR: {
|
|
@@ -26,7 +26,7 @@ declare const SubscriptionPaymentSuccessFR: {
|
|
|
26
26
|
organizationName,
|
|
27
27
|
subscriptionStartDate,
|
|
28
28
|
manageSubscriptionLink
|
|
29
|
-
}: SubscriptionPaymentSuccessProps):
|
|
29
|
+
}: SubscriptionPaymentSuccessProps): react_jsx_runtime24.JSX.Element;
|
|
30
30
|
PreviewProps: SubscriptionPaymentSuccessProps;
|
|
31
31
|
};
|
|
32
32
|
declare const SubscriptionPaymentSuccessES: {
|
|
@@ -36,7 +36,7 @@ declare const SubscriptionPaymentSuccessES: {
|
|
|
36
36
|
organizationName,
|
|
37
37
|
subscriptionStartDate,
|
|
38
38
|
manageSubscriptionLink
|
|
39
|
-
}: SubscriptionPaymentSuccessProps):
|
|
39
|
+
}: SubscriptionPaymentSuccessProps): react_jsx_runtime24.JSX.Element;
|
|
40
40
|
PreviewProps: SubscriptionPaymentSuccessProps;
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/ValidateUserEmail.d.ts
|
|
4
4
|
type ValidateUserEmailProps = {
|
|
@@ -9,21 +9,21 @@ declare const ValidateUserEmailEN: {
|
|
|
9
9
|
({
|
|
10
10
|
username,
|
|
11
11
|
validationLink
|
|
12
|
-
}: ValidateUserEmailProps):
|
|
12
|
+
}: ValidateUserEmailProps): react_jsx_runtime33.JSX.Element;
|
|
13
13
|
PreviewProps: ValidateUserEmailProps;
|
|
14
14
|
};
|
|
15
15
|
declare const ValidateUserEmailFR: {
|
|
16
16
|
({
|
|
17
17
|
username,
|
|
18
18
|
validationLink
|
|
19
|
-
}: ValidateUserEmailProps):
|
|
19
|
+
}: ValidateUserEmailProps): react_jsx_runtime33.JSX.Element;
|
|
20
20
|
PreviewProps: ValidateUserEmailProps;
|
|
21
21
|
};
|
|
22
22
|
declare const ValidateUserEmailES: {
|
|
23
23
|
({
|
|
24
24
|
username,
|
|
25
25
|
validationLink
|
|
26
|
-
}: ValidateUserEmailProps):
|
|
26
|
+
}: ValidateUserEmailProps): react_jsx_runtime33.JSX.Element;
|
|
27
27
|
PreviewProps: ValidateUserEmailProps;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/emails/Welcome.d.ts
|
|
4
4
|
type WelcomeEmailProps = {
|
|
@@ -9,21 +9,21 @@ declare const WelcomeEmailEN: {
|
|
|
9
9
|
({
|
|
10
10
|
username,
|
|
11
11
|
loginLink
|
|
12
|
-
}: WelcomeEmailProps):
|
|
12
|
+
}: WelcomeEmailProps): react_jsx_runtime27.JSX.Element;
|
|
13
13
|
PreviewProps: WelcomeEmailProps;
|
|
14
14
|
};
|
|
15
15
|
declare const WelcomeEmailFR: {
|
|
16
16
|
({
|
|
17
17
|
username,
|
|
18
18
|
loginLink
|
|
19
|
-
}: WelcomeEmailProps):
|
|
19
|
+
}: WelcomeEmailProps): react_jsx_runtime27.JSX.Element;
|
|
20
20
|
PreviewProps: WelcomeEmailProps;
|
|
21
21
|
};
|
|
22
22
|
declare const WelcomeEmailES: {
|
|
23
23
|
({
|
|
24
24
|
username,
|
|
25
25
|
loginLink
|
|
26
|
-
}: WelcomeEmailProps):
|
|
26
|
+
}: WelcomeEmailProps): react_jsx_runtime27.JSX.Element;
|
|
27
27
|
PreviewProps: WelcomeEmailProps;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Dictionary, DictionaryData } from "../types/dictionary.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose11 from "mongoose";
|
|
3
3
|
import { Model } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/models/dictionary.model.d.ts
|
|
6
|
-
declare const DictionaryModel: Model<Dictionary, {}, {}, {},
|
|
7
|
-
id:
|
|
6
|
+
declare const DictionaryModel: Model<Dictionary, {}, {}, {}, mongoose11.Document<unknown, {}, Dictionary, {}, {}> & DictionaryData & {
|
|
7
|
+
id: mongoose11.Types.ObjectId;
|
|
8
8
|
createdAt: number;
|
|
9
9
|
updatedAt: number;
|
|
10
10
|
} & {
|
|
11
|
-
_id:
|
|
11
|
+
_id: mongoose11.Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
13
|
__v: number;
|
|
14
14
|
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.model.d.ts","names":[],"sources":["../../../src/models/dictionary.model.ts"],"sourcesContent":[],"mappings":";;;;;cAKa,iBAAe,MAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"dictionary.model.d.ts","names":[],"sources":["../../../src/models/dictionary.model.ts"],"sourcesContent":[],"mappings":";;;;;cAKa,iBAAe,MAAA,wBAAA,UAAA,CAAA,sBAAA,sBAAA,cAAA;;;EAAf,SAAA,EAAA,MAAA;CAAe,GAAA;EAAA,GAAA,2BAAA;CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Discussion } from "../types/discussion.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose10 from "mongoose";
|
|
3
3
|
import { Model } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/models/discussion.model.d.ts
|
|
6
|
-
declare const DiscussionModel: Model<Discussion, {}, {}, {},
|
|
6
|
+
declare const DiscussionModel: Model<Discussion, {}, {}, {}, mongoose10.Document<unknown, {}, Discussion, {}, {}> & Discussion & Required<{
|
|
7
7
|
_id: unknown;
|
|
8
8
|
}> & {
|
|
9
9
|
__v: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discussion.model.d.ts","names":[],"sources":["../../../src/models/discussion.model.ts"],"sourcesContent":[],"mappings":";;;;;cAKa,iBAAe,MAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"discussion.model.d.ts","names":[],"sources":["../../../src/models/discussion.model.ts"],"sourcesContent":[],"mappings":";;;;;cAKa,iBAAe,MAAA,wBAAA,UAAA,CAAA,sBAAA,sBAAA,aAAA;;;EAAf,GAAA,EAAA,MAAA;CAAe,EAAA,GAAA,CAAA"}
|
|
@@ -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 mongoose25 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, {}, {}, {}, mongoose25.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: mongoose25.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.routes.d.ts","names":[],"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":[],"mappings":";;;cAea,UAAU;cAEV,OAAA;AAFA,cAMA,WANU,
|
|
1
|
+
{"version":3,"file":"ai.routes.d.ts","names":[],"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":[],"mappings":";;;cAea,UAAU;cAEV,OAAA;AAFA,cAMA,WANU,EAAA,GAAiB,GAAA;EAE3B,WAAO,EAAA;IAIP,QAAA,EA+CQ,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter.routes.d.ts","names":[],"sources":["../../../src/routes/newsletter.routes.ts"],"sourcesContent":[],"mappings":";;;cAQa,kBAAkB;cAElB,eAAA;AAFA,cAMA,mBANkB,
|
|
1
|
+
{"version":3,"file":"newsletter.routes.d.ts","names":[],"sources":["../../../src/routes/newsletter.routes.ts"],"sourcesContent":[],"mappings":";;;cAQa,kBAAkB;cAElB,eAAA;AAFA,cAMA,mBANkB,EAAA,GAAiB,GAAA;EAEnC,qBAAe,EAAA;IAIf,QAAA,EAAA,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.routes.d.ts","names":[],"sources":["../../../src/routes/organization.routes.ts"],"sourcesContent":[],"mappings":";;;cAca,oBAAoB;cAEpB,iBAAA;AAFA,cAMA,qBANoB,
|
|
1
|
+
{"version":3,"file":"organization.routes.d.ts","names":[],"sources":["../../../src/routes/organization.routes.ts"],"sourcesContent":[],"mappings":";;;cAca,oBAAoB;cAEpB,iBAAA;AAFA,cAMA,qBANoB,EAAA,GAAiB,GAAA;EAErC,gBAAA,EAAA;IAIA,QAAA,EAAA,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.routes.d.ts","names":[],"sources":["../../../src/routes/project.routes.ts"],"sourcesContent":[],"mappings":";;;cAkBa,eAAe;cAEf,YAAA;AAFA,cAMA,gBANe,
|
|
1
|
+
{"version":3,"file":"project.routes.d.ts","names":[],"sources":["../../../src/routes/project.routes.ts"],"sourcesContent":[],"mappings":";;;cAkBa,eAAe;cAEf,YAAA;AAFA,cAMA,gBANe,EAAA,GAAiB,GAAA;EAEhC,WAAA,EAAA;IAIA,QAAA,EAAA,MA0DQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.routes.d.ts","names":[],"sources":["../../../src/routes/search.routes.ts"],"sourcesContent":[],"mappings":";;;cAIa,cAAc;cAEd,WAAA;AAFA,cAMA,eANc,
|
|
1
|
+
{"version":3,"file":"search.routes.d.ts","names":[],"sources":["../../../src/routes/search.routes.ts"],"sourcesContent":[],"mappings":";;;cAIa,cAAc;cAEd,WAAA;AAFA,cAMA,eANc,EAAiB,GAAA,GAAA;EAE/B,GAAA,EAAA;IAIA,QAAA,EAAA,MAOQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.routes.d.ts","names":[],"sources":["../../../src/routes/tags.routes.ts"],"sourcesContent":[],"mappings":";;;cASa,WAAW;cAEX,QAAA;AAFA,cAMA,YANW,
|
|
1
|
+
{"version":3,"file":"tags.routes.d.ts","names":[],"sources":["../../../src/routes/tags.routes.ts"],"sourcesContent":[],"mappings":";;;cASa,WAAW;cAEX,QAAA;AAFA,cAMA,YANW,EAAA,GAAiB,GAAA;EAE5B,OAAA,EAAA;IAIA,QAAA,EAAA,MAsBQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.routes.d.ts","names":[],"sources":["../../../src/routes/user.routes.ts"],"sourcesContent":[],"mappings":";;;cAYa,YAAY;cAEZ,SAAA;AAFA,cAMA,aANY,
|
|
1
|
+
{"version":3,"file":"user.routes.d.ts","names":[],"sources":["../../../src/routes/user.routes.ts"],"sourcesContent":[],"mappings":";;;cAYa,YAAY;cAEZ,SAAA;AAFA,cAMA,aANY,EAAA,GAAiB,GAAA;EAE7B,QAAA,EAAA;IAIA,QAAA,EAAA,MAsCQ"}
|