@intlayer/api 8.2.4 → 8.3.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/cjs/distantDictionary/fetchDistantDictionaries.cjs.map +1 -1
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/ai.cjs +2 -2
- package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/audit.cjs +2 -2
- package/dist/cjs/getIntlayerAPI/audit.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/dictionary.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/dictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/editor.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/editor.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/github.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/github.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/gitlab.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/gitlab.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/newsletter.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/newsletter.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/oAuth.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/oAuth.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/organization.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/organization.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/project.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/project.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/search.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/search.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/stripe.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/stripe.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/tag.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/tag.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/user.cjs +1 -1
- package/dist/cjs/getIntlayerAPI/user.cjs.map +1 -1
- package/dist/cjs/proxy.cjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionaries.mjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/ai.mjs +2 -2
- package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/audit.mjs +2 -2
- package/dist/esm/getIntlayerAPI/audit.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/bitbucket.mjs +1 -1
- package/dist/esm/getIntlayerAPI/bitbucket.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/dictionary.mjs +1 -1
- package/dist/esm/getIntlayerAPI/dictionary.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/editor.mjs +1 -1
- package/dist/esm/getIntlayerAPI/editor.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/github.mjs +1 -1
- package/dist/esm/getIntlayerAPI/github.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/gitlab.mjs +1 -1
- package/dist/esm/getIntlayerAPI/gitlab.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/newsletter.mjs +1 -1
- package/dist/esm/getIntlayerAPI/newsletter.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/oAuth.mjs +1 -1
- package/dist/esm/getIntlayerAPI/oAuth.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/organization.mjs +1 -1
- package/dist/esm/getIntlayerAPI/organization.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/project.mjs +1 -1
- package/dist/esm/getIntlayerAPI/project.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/search.mjs +1 -1
- package/dist/esm/getIntlayerAPI/search.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs +1 -1
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/stripe.mjs +1 -1
- package/dist/esm/getIntlayerAPI/stripe.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/tag.mjs +1 -1
- package/dist/esm/getIntlayerAPI/tag.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/user.mjs +1 -1
- package/dist/esm/getIntlayerAPI/user.mjs.map +1 -1
- package/dist/esm/proxy.mjs.map +1 -1
- package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +3 -1
- package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts +2 -1
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts +8 -1
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/export.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts +2 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +2 -2
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +2 -2
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +3 -4
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +3 -4
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts +2 -2
- package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +3 -3
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +4 -4
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/github.d.ts +2 -2
- package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts +2 -2
- package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +3 -3
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +2 -3
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +3 -3
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +3 -5
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +3 -3
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +3 -3
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +3 -3
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +3 -3
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +4 -7
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -6
- package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +1 -1
- package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +1 -1
- package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/cleanOutputDir.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createType/createModuleAugmentation.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createType/createType.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/formatDictionary.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadContentDeclaration.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/prepareIntlayer.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeConfiguration/index.d.ts +1 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +3 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/ICU.d.ts +1 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/i18next.d.ts +1 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/vue-i18n.d.ts +1 -1
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +3 -1
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/proxy.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +16 -15
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Locale } from "@intlayer/types/allLocales";
|
|
2
|
+
import { KeyPath } from "@intlayer/types/keyPath";
|
|
2
3
|
|
|
3
4
|
//#region ../../../apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts
|
|
4
5
|
type AuditDictionaryFieldResultData = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["Tag","AIConfig","AIOptions","
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["Tag","AIConfig","AIOptions","Locale","KeyPath","AuditDictionaryFieldOptions","fileContent","locales","keyPath","tags","aiConfig","applicationContext","AuditDictionaryFieldResultData","tokenUsed","aiDefaultOptions","auditDictionaryField","Promise"],"sources":["../../../../../../../../../../../../apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts"],"mappings":";;;;KAcKY,8BAAAA;EACHN,WAAAA;EACAO,SAAAA;AAAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from "../../../types/tag.types.js";
|
|
2
2
|
import { AIConfig, AiProviders } from "../../../../../../../packages/@intlayer/ai/dist/types/aiSdk.js";
|
|
3
3
|
import { TranslateJSONResultData } from "../../../../../../../packages/@intlayer/ai/dist/types/translateJSON/index.js";
|
|
4
|
-
import { Locale } from "@intlayer/types";
|
|
4
|
+
import { Locale } from "@intlayer/types/allLocales";
|
|
5
5
|
|
|
6
6
|
//#region ../../../apps/backend/dist/types/utils/AI/translateJSON/index.d.ts
|
|
7
7
|
//#region src/utils/AI/translateJSON/index.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DictionaryAPI } from "
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { DictionaryAPI } from "@intlayer/backend";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/distantDictionary/fetchDistantDictionaries.d.ts
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":";;;;;;AAOA;cAAa,wBAAA,GACX,cAAA,EAAgB,cAAA,KACf,OAAA,CAAQ,aAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DictionaryAPI } from "
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { DictionaryAPI } from "@intlayer/backend";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/distantDictionary/fetchDistantDictionary.d.ts
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;;AAOA;cAAa,sBAAA,GACX,aAAA,UACA,cAAA,EAAgB,cAAA,KACf,OAAA,CAAQ,aAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AIOptions, ChatCompletionRequestMessage } from "../packages/@intlayer/ai/dist/types/aiSdk.js";
|
|
2
|
-
import { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteResponse, CustomQueryBody, CustomQueryResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult } from "../apps/backend/dist/types/controllers/ai.controller.js";
|
|
3
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
4
|
-
import {
|
|
2
|
+
import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, ChatCompletionRequestMessage, CustomQueryBody, GetDiscussionsParams, TranslateJSONBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
4
|
|
|
6
5
|
//#region src/getIntlayerAPI/ai.d.ts
|
|
7
6
|
type AutocompleteBody = {
|
|
@@ -17,7 +16,7 @@ type AskDocQuestionBody = {
|
|
|
17
16
|
onMessage?: (chunk: string) => void;
|
|
18
17
|
onDone?: (response: AskDocQuestionResult) => void;
|
|
19
18
|
};
|
|
20
|
-
declare const getAiAPI: (authAPIOptions
|
|
19
|
+
declare const getAiAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
21
20
|
customQuery: (body?: CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
22
21
|
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
23
22
|
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":";;;;;KAuBY,gBAAA;EACV,IAAA;EACA,SAAA,GAAY,SAAA;EACZ,aAAA;EACA,WAAA;EACA,YAAA;AAAA;AAAA,KAGU,kBAAA;EACV,QAAA,EAAU,4BAAA;EACV,YAAA;EACA,SAAA,IAAa,KAAA;EACb,MAAA,IAAU,QAAA,EAAU,oBAAA;AAAA;AAAA,cAKT,QAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;uBAYP,eAAA,EAAe,YAAA,GACR,cAAA,KAAc,OAAA,CAAA,iBAAA;yBAkBrB,iBAAA,EAAiB,YAAA,GACV,cAAA,KAAc,OAAA,CAAA,mBAAA;mCAkBrB,2BAAA,EAA2B,YAAA,GACpB,cAAA,KAAc,OAAA,CAAA,6BAAA;wCAkBrB,gCAAA,EAAgC,YAAA,GACzB,cAAA,KAAc,OAAA,CAAA,kCAAA;2CAkBrB,mCAAA,EAAmC,YAAA,GAC5B,cAAA,KAAc,OAAA,CAAA,qCAAA;oBAkBrB,YAAA,EAAY,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,cAAA;0BAgCrB,kBAAA,EAAkB,YAAA,GACX,cAAA,KAAc,OAAA;wBAuFrB,gBAAA,EAAgB,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,oBAAA;4BAgBnB,oBAAA,EAAoB,YAAA,GACf,cAAA,KAAc,OAAA,CAAA,oBAAA;AAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "../apps/backend/dist/types/controllers/recursiveAudit.controller.js";
|
|
2
|
-
import { AuditEvent } from "../apps/backend/dist/types/services/audit/types.js";
|
|
3
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
4
|
-
import {
|
|
2
|
+
import { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
4
|
|
|
6
5
|
//#region src/getIntlayerAPI/audit.d.ts
|
|
7
6
|
type ScanUrlBody = {
|
|
@@ -25,7 +24,7 @@ type GetRecursiveAuditStatusParams = {
|
|
|
25
24
|
type RecursiveAuditJobParams = {
|
|
26
25
|
jobId: string;
|
|
27
26
|
};
|
|
28
|
-
declare const getAuditAPI: (authAPIOptions
|
|
27
|
+
declare const getAuditAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
29
28
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
30
29
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
31
30
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;KAcY,WAAA;EACV,GAAA;EACA,SAAA,IAAa,KAAA,EAAO,UAAA;EACpB,MAAA;AAAA;AAAA,KAGU,kBAAA;EACV,GAAA;AAAA;AAAA,KAGU,kBAAA;EACV,IAAA;AAAA;AAAA,KAGU,uBAAA;EACV,GAAA;EACA,IAAA;AAAA;AAAA,KAGU,6BAAA;EACV,KAAA;AAAA;AAAA,KAGU,uBAAA;EACV,KAAA;AAAA;AAAA,cAGW,WAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;0BAmBL,kBAAA,EAAkB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,kBAAA;mBAarB,WAAA,EAAW,YAAA,GACJ,cAAA,KAAc,OAAA;+BAsErB,uBAAA,EAAuB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,yBAAA;qCAiBnB,6BAAA,EAA6B,YAAA,GACxB,cAAA,KAAc,OAAA,CAAA,6BAAA;kCAYnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;iCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;kCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/getIntlayerAPI/bitbucket.d.ts
|
|
5
5
|
type BitbucketRepository = {
|
|
@@ -69,7 +69,7 @@ type BitbucketGetAuthUrlResult = {
|
|
|
69
69
|
authUrl: string;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
declare const getBitbucketAPI: (authAPIOptions
|
|
72
|
+
declare const getBitbucketAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
73
73
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<BitbucketGetAuthUrlResult>;
|
|
74
74
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<BitbucketAuthCallbackResult>;
|
|
75
75
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<BitbucketListReposResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;KAGY,mBAAA;EACV,IAAA;EACA,IAAA;EACA,SAAA;EACA,IAAA;EACA,UAAA;IACE,IAAA;IACA,IAAA;EAAA;EAEF,KAAA;IACE,IAAA;MACE,IAAA;IAAA;EAAA;EAGJ,SAAA;IACE,IAAA;IACA,IAAA;IACA,IAAA;EAAA;EAEF,KAAA;IACE,YAAA;IACA,QAAA;IACA,IAAA;EAAA;EAEF,UAAA;EACA,UAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;AAAA;AAAA,KAGU,2BAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,wBAAA;EACV,IAAA,EAAM,mBAAA;AAAA;AAAA,KAGI,wBAAA;EACV,KAAA;EACA,SAAA;EACA,QAAA;EACA,MAAA;AAAA;AAAA,KAGU,0BAAA;EACV,IAAA;IACE,SAAA;IACA,WAAA;EAAA;AAAA;AAAA,KAIQ,0BAAA;EACV,KAAA;EACA,SAAA;EACA,QAAA;EACA,MAAA;EACA,IAAA;AAAA;AAAA,KAGU,4BAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,eAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;oCAWK,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,yBAAA;+BAgBhB,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,2BAAA;2CAiBP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,wBAAA;0DAmBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,0BAAA;oDAqBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,IAAA,WACF,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,4BAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult } from "../apps/backend/dist/types/controllers/dictionary.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/dictionary.d.ts
|
|
6
|
-
declare const getDictionaryAPI: (authAPIOptions
|
|
6
|
+
declare const getDictionaryAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
8
8
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
9
9
|
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;cAoBa,gBAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;8BAWJ,qBAAA,EAAqB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,qBAAA;uCAgBmB,cAAA,KAAc,OAAA,CAAA,yBAAA;kDAc/C,cAAA,KAAc,OAAA,CAAA,oCAAA;iCAiBb,mBAAA,mBAAoC,OAAA,GACzC,kBAAA,aAA6B,YAAA,GACzB,cAAA,KAAc,OAAA,CAAA,mBAAA;mCA8Bd,oBAAA,kBAAoC,YAAA,GACpC,cAAA,KAAc,OAAA,CAAA,sBAAA;wBAftB,iBAAA,EAAiB,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,mBAAA;iCA+BhB,oBAAA,EAAoB,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,sBAAA;yBAiBxB,qBAAA,kBAAqC,YAAA,GAC3B,cAAA,KAAc,OAAA,CAAA,sBAAA;AAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { GetConfigurationResult } from "../
|
|
3
|
-
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../
|
|
4
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { GetConfigurationResult } from "../intlayer-editor/server/dist/controllers/configuration.controller.js";
|
|
3
|
+
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../intlayer-editor/server/dist/controllers/dictionary.controller.js";
|
|
4
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
|
|
6
6
|
//#region src/getIntlayerAPI/editor.d.ts
|
|
7
|
-
declare const getEditorAPI: (authAPIOptions
|
|
7
|
+
declare const getEditorAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
8
8
|
getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
|
|
9
9
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
10
10
|
writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;cASa,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;mCA6BA,cAAA,KACb,OAAA,CAAQ,2BAAA;oCAhBK,cAAA,KACb,OAAA,CAAQ,sBAAA;0BA8BH,2BAAA,EAA2B,YAAA,GACnB,cAAA,KAAc,OAAA,CAAA,6BAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/getIntlayerAPI/github.d.ts
|
|
5
5
|
type GitHubRepository = {
|
|
@@ -53,7 +53,7 @@ type GitHubGetAuthUrlResult = {
|
|
|
53
53
|
authUrl: string;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
declare const getGithubAPI: (authAPIOptions
|
|
56
|
+
declare const getGithubAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
57
57
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<GitHubGetAuthUrlResult>;
|
|
58
58
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<GitHubAuthCallbackResult>;
|
|
59
59
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<GitHubListReposResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;KAGY,gBAAA;EACV,EAAA;EACA,IAAA;EACA,SAAA;EACA,KAAA;IACE,KAAA;IACA,EAAA;EAAA;EAEF,QAAA;EACA,cAAA;EACA,OAAA;AAAA;AAAA,KAGU,sBAAA;EACV,IAAA;AAAA;AAAA,KAGU,wBAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,qBAAA;EACV,IAAA,EAAM,gBAAA;AAAA;AAAA,KAGI,qBAAA;EACV,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;AAAA;AAAA,KAGU,uBAAA;EACV,IAAA;IACE,SAAA;EAAA;AAAA;AAAA,KAIQ,uBAAA;EACV,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;EACA,IAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;oCAWK,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,sBAAA;+BAgBhB,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,wBAAA;2CAiBP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,qBAAA;0DAmBI,KAAA,UACnB,UAAA,UACK,MAAA,WACJ,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,uBAAA;oDAqBI,KAAA,UACnB,UAAA,UACK,MAAA,WACJ,IAAA,WACF,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,yBAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/getIntlayerAPI/gitlab.d.ts
|
|
5
5
|
type GitLabProject = {
|
|
@@ -58,7 +58,7 @@ type GitLabGetAuthUrlResult = {
|
|
|
58
58
|
authUrl: string;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
-
declare const getGitlabAPI: (authAPIOptions
|
|
61
|
+
declare const getGitlabAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
62
62
|
getAuthUrl: (redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetAuthUrlResult>;
|
|
63
63
|
authenticate: (code: string, redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabAuthCallbackResult>;
|
|
64
64
|
getProjects: (token?: string | null, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabListProjectsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitlab.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"gitlab.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],"mappings":";;;;KAGY,aAAA;EACV,EAAA;EACA,IAAA;EACA,mBAAA;EACA,OAAA;EACA,cAAA;EACA,UAAA;EACA,gBAAA;EACA,SAAA;IACE,EAAA;IACA,IAAA;IACA,IAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;EACA,WAAA;EACA,WAAA;AAAA;AAAA,KAGU,wBAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,wBAAA;EACV,IAAA,EAAM,aAAA;AAAA;AAAA,KAGI,qBAAA;EACV,KAAA;EACA,SAAA;EACA,MAAA;EACA,WAAA;AAAA;AAAA,KAGU,uBAAA;EACV,IAAA;IACE,SAAA;IACA,WAAA;EAAA;AAAA;AAAA,KAIQ,uBAAA;EACV,KAAA;EACA,SAAA;EACA,MAAA;EACA,IAAA;EACA,WAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;oCAYK,WAAA,WACC,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,sBAAA;+BAkBhB,WAAA,UACO,WAAA,WACC,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,wBAAA;uCAkBP,WAAA,WACD,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,wBAAA;0DAsBI,SAAA,UACf,MAAA,WACH,WAAA,WACM,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,uBAAA;oDA0BI,SAAA,UACf,MAAA,WACH,IAAA,WACF,WAAA,WACQ,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,yBAAA;AAAA"}
|
|
@@ -15,7 +15,7 @@ import { getShowcaseProjectAPI } from "./showcaseProject.js";
|
|
|
15
15
|
import { getStripeAPI } from "./stripe.js";
|
|
16
16
|
import { getTagAPI } from "./tag.js";
|
|
17
17
|
import { getUserAPI } from "./user.js";
|
|
18
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
18
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
19
19
|
|
|
20
20
|
//#region src/getIntlayerAPI/index.d.ts
|
|
21
21
|
interface IntlayerAPIReturn {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;UAqBU,iBAAA;EACR,YAAA,EAAc,UAAA,QAAkB,kBAAA;EAChC,OAAA,EAAS,UAAA,QAAkB,aAAA;EAC3B,IAAA,EAAM,UAAA,QAAkB,UAAA;EACxB,KAAA,EAAO,UAAA,QAAkB,WAAA;EACzB,UAAA,EAAY,UAAA,QAAkB,gBAAA;EAC9B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,EAAA,EAAI,UAAA,QAAkB,QAAA;EACtB,KAAA,EAAO,UAAA,QAAkB,WAAA;EACzB,GAAA,EAAK,UAAA,QAAkB,SAAA;EACvB,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,UAAA,EAAY,UAAA,QAAkB,gBAAA;EAC9B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,SAAA,EAAW,UAAA,QAAkB,eAAA;EAC7B,eAAA,EAAiB,UAAA,QAAkB,qBAAA;AAAA;AAAA,cAGxB,cAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA,KAChB,iBAAA;AAAA,KA0BS,WAAA,GAAc,UAAA,QAAkB,cAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody } from "../apps/backend/dist/types/controllers/newsletter.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/newsletter.d.ts
|
|
6
|
-
declare const getNewsletterAPI: (authAPIOptions
|
|
6
|
+
declare const getNewsletterAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
8
8
|
unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
9
9
|
getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"newsletter.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;cAQa,gBAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;gCAYR,0BAAA,EAA0B,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,4BAAA;oCAkBtB,4BAAA,EAA4B,YAAA,GACpB,cAAA,KAAc,OAAA,CAAA,4BAAA;uCAgBmB,cAAA,KAAc,OAAA,CAAA,4BAAA;AAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { GetOAuth2TokenResult } from "../apps/backend/dist/types/controllers/oAuth2.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
3
|
|
|
5
4
|
//#region src/getIntlayerAPI/oAuth.d.ts
|
|
6
|
-
declare const getOAuthAPI: (intlayerConfig
|
|
5
|
+
declare const getOAuthAPI: (intlayerConfig: IntlayerConfig) => {
|
|
7
6
|
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
8
7
|
};
|
|
9
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"mappings":";;;;cAOa,WAAA,GAAe,cAAA,EAAgB,cAAA;wCAQQ,cAAA,KAAc,OAAA,CAAA,oBAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AddOrganizationBody, AddOrganizationMemberBody, AddOrganizationMemberResult, AddOrganizationResult, DeleteOrganizationResult, GetOrganizationParam, GetOrganizationResult, GetOrganizationsParams, GetOrganizationsResult, SelectOrganizationParam, SelectOrganizationResult, UnselectOrganizationResult, UpdateOrganizationBody, UpdateOrganizationMembersBody, UpdateOrganizationMembersResult, UpdateOrganizationResult } from "../apps/backend/dist/types/controllers/organization.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMembersBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/organization.d.ts
|
|
6
|
-
declare const getOrganizationAPI: (authAPIOptions
|
|
6
|
+
declare const getOrganizationAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
8
8
|
getOrganization: (organizationId: GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
9
9
|
addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":";;;;;cAqBa,kBAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;+BAWJ,sBAAA,EAAsB,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,sBAAA;oCAkBZ,oBAAA,oBAAsC,YAAA,GACxC,cAAA,KAAc,OAAA,CAAA,qBAAA;kCAad,mBAAA,EAAmB,YAAA,GACnB,cAAA,KAAc,OAAA,CAAA,qBAAA;gCAyEtB,yBAAA,EAAyB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,2BAAA;qCAzDd,sBAAA,EAAsB,YAAA,GACtB,cAAA,KAAc,OAAA,CAAA,wBAAA;oCAiBtB,6BAAA,EAA6B,YAAA,GACrB,cAAA,KAAc,OAAA,CAAA,+BAAA;0DAkBN,IAAA,EAChB,6BAAA,EAA6B,YAAA,GACrB,cAAA,KAAc,OAAA,CAAA,+BAAA;sCAkCkB,cAAA,KAAc,OAAA,CAAA,wBAAA;uCAe5C,uBAAA,oBAAyC,YAAA,GAC3C,cAAA,KAAc,OAAA,CAAA,wBAAA;wCAeoB,cAAA,KAAc,OAAA,CAAA,0BAAA;AAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ResponseData } from "../apps/backend/dist/types/utils/responseData.js";
|
|
2
|
-
import { AddProjectBody, AddProjectResult, DeleteProjectResult, GetProjectsParams, GetProjectsResult, PushProjectConfigurationBody, PushProjectConfigurationResult, SelectProjectParam, SelectProjectResult, TriggerBuildResult, TriggerWebhookBody, TriggerWebhookResult, UnselectProjectResult, UpdateProjectBody, UpdateProjectMembersBody, UpdateProjectMembersResult, UpdateProjectResult } from "../apps/backend/dist/types/controllers/project.controller.js";
|
|
3
|
-
import { AddNewAccessKeyBody, AddNewAccessKeyResponse, DeleteAccessKeyBody, DeleteAccessKeyResponse, RefreshAccessKeyBody, RefreshAccessKeyResponse } from "../apps/backend/dist/types/controllers/projectAccessKey.controller.js";
|
|
4
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
5
|
-
import {
|
|
2
|
+
import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, TriggerWebhookBody, UpdateProjectBody, UpdateProjectMembersBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
6
4
|
|
|
7
5
|
//#region src/getIntlayerAPI/project.d.ts
|
|
8
|
-
declare const getProjectAPI: (authAPIOptions
|
|
6
|
+
declare const getProjectAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
9
7
|
getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
10
8
|
addProject: (project: AddProjectBody, otherOptions?: FetcherOptions) => Promise<AddProjectResult>;
|
|
11
9
|
updateProject: (project: UpdateProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":";;;;;cA6Ba,aAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;0BAWJ,iBAAA,EAAiB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,iBAAA;wBAkBnB,cAAA,EAAc,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,gBAAA;2BAiBnB,iBAAA,EAAiB,YAAA,GACZ,cAAA,KAAc,OAAA,CAAA,mBAAA;+BAiBtB,wBAAA,EAAwB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,0BAAA;mDAgBN,4BAAA,EAA4B,YAAA,GACpC,cAAA,KAAc,OAAA,CAAA,8BAAA;iCAgBa,cAAA,KAAc,OAAA,CAAA,mBAAA;6BAe5C,kBAAA,eAA+B,YAAA,GAC5B,cAAA,KAAc,OAAA,CAAA,mBAAA;mCAee,cAAA,KAAc,OAAA,CAAA,qBAAA;+BAiB9C,mBAAA,EAAmB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,uBAAA;8BAmBlB,mBAAA,cAA+B,YAAA,GAC3B,cAAA,KAAc,OAAA,CAAA,uBAAA;+BAmBlB,oBAAA,cAAgC,YAAA,GAC5B,cAAA,KAAc,OAAA,CAAA,wBAAA;gCAiBY,cAAA,KAAc,OAAA,CAAA,kBAAA;iCAiBxC,kBAAA,kBAAkC,YAAA,GAClC,cAAA,KAAc,OAAA,CAAA,oBAAA;+BAiBW,cAAA,KAAc,OAAA,CAAA,YAAA;gCAeb,cAAA,KAAc,OAAA,CAAA,YAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SearchDocUtilParams, SearchDocUtilResult } from "../apps/backend/dist/types/controllers/search.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { SearchDocUtilParams } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/search.d.ts
|
|
6
|
-
declare const getSearchAPI: (authAPIOptions
|
|
6
|
+
declare const getSearchAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;cAOa,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;uBAYL,mBAAA,EAAmB,YAAA,GACd,cAAA,KAAc,OAAA,CAAA,mBAAA;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GetOtherShowcaseProjectsResult, GetShowcaseProjectByIdParams, GetShowcaseProjectByIdResult, GetShowcaseProjectsResult, SubmitShowcaseProjectResult, ToggleShowcaseDownvoteBody, ToggleShowcaseDownvoteResult, ToggleShowcaseUpvoteBody, ToggleShowcaseUpvoteResult, UpdateShowcaseProjectBody, UpdateShowcaseProjectResult } from "../apps/backend/dist/types/controllers/showcaseProject.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { GetShowcaseProjectByIdParams, SubmitShowcaseProjectBody, ToggleShowcaseDownvoteBody, ToggleShowcaseUpvoteBody, UpdateShowcaseProjectBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/showcaseProject.d.ts
|
|
6
6
|
type ShowcaseProjectsQuery = {
|
|
@@ -14,7 +14,7 @@ type OtherShowcaseProjectsQuery = {
|
|
|
14
14
|
excludeId: string;
|
|
15
15
|
limit?: number;
|
|
16
16
|
};
|
|
17
|
-
declare const getShowcaseProjectAPI: (authAPIOptions
|
|
17
|
+
declare const getShowcaseProjectAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
18
18
|
getShowcaseProjects: (query?: ShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectsResult>;
|
|
19
19
|
getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams["projectId"], otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectByIdResult>;
|
|
20
20
|
getOtherShowcaseProjects: (query: OtherShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetOtherShowcaseProjectsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;KAmBY,qBAAA;EACV,IAAA;EACA,QAAA;EACA,MAAA;EACA,gBAAA;EACA,YAAA;AAAA;AAAA,KAGU,0BAAA;EACV,SAAA;EACA,KAAA;AAAA;AAAA,cAGW,qBAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;gCAON,qBAAA,EAAqB,YAAA,GACf,cAAA,KAAc,OAAA,CAAA,yBAAA;sCAoBjB,4BAAA,eAAyC,YAAA,GACtC,cAAA,KAAc,OAAA,CAAA,4BAAA;oCAUrB,0BAAA,EAA0B,YAAA,GACnB,cAAA,KAAc,OAAA,CAAA,8BAAA;gCAatB,yBAAA,EAAyB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,2BAAA;+BAUtB,wBAAA,EAAwB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,0BAAA;iCAUtB,0BAAA,EAA0B,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,4BAAA;qCAUjB,4BAAA,eAAyC,YAAA,GACtC,cAAA,KAAc,OAAA;;MAEJ,OAAA;IAAA;EAAA;qCAQb,4BAAA,eAAyC,IAAA,EAC9C,yBAAA,EAAyB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,2BAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GetCheckoutSessionBody, GetCheckoutSessionResult, GetPricingBody, GetPricingResult } from "../apps/backend/dist/types/controllers/stripe.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { GetCheckoutSessionBody, GetPricingBody } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/stripe.d.ts
|
|
6
|
-
declare const getStripeAPI: (authAPIOptions
|
|
6
|
+
declare const getStripeAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
8
8
|
getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
9
9
|
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;cASa,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;sBAWP,cAAA,EAAc,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,gBAAA;2BAiBrB,sBAAA,EAAsB,YAAA,GACf,cAAA,KAAc,OAAA,CAAA,wBAAA;sCAgBkB,cAAA,KAAc,OAAA,CAAA,wBAAA;AAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AddTagBody, AddTagResult, DeleteTagParams, DeleteTagResult, GetTagsParams, GetTagsResult, UpdateTagBody, UpdateTagParams, UpdateTagResult } from "../apps/backend/dist/types/controllers/tag.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
3
|
-
import {
|
|
2
|
+
import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/tag.d.ts
|
|
6
|
-
declare const getTagAPI: (authAPIOptions
|
|
6
|
+
declare const getTagAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
7
7
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
8
8
|
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
9
9
|
updateTag: (tagId: UpdateTagParams["tagId"], tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;cAca,SAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;sBAWJ,aAAA,EAAa,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,aAAA;gBAiBH,UAAA,EAAU,YAAA,GAAgB,cAAA,KAAc,OAAA,CAAA,YAAA;qBAgB1D,eAAA,WAAwB,GAAA,EAC1B,aAAA,EAAa,YAAA,GACJ,cAAA,KAAc,OAAA,CAAA,eAAA;qBAiBrB,eAAA,WAAwB,YAAA,GAEjB,cAAA,KAAc,OAAA,CAAA,eAAA;AAAA"}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { UserAPI } from "../apps/backend/dist/types/types/user.types.js";
|
|
2
|
-
import { ResponseData } from "../apps/backend/dist/types/utils/responseData.js";
|
|
3
|
-
import { CreateUserBody, CreateUserResult, GetUserByEmailParams, GetUserByEmailResult, GetUserByIdParams, GetUserByIdResult, GetUsersParams, GetUsersResult, UpdateUserBody, UpdateUserResult } from "../apps/backend/dist/types/controllers/user.controller.js";
|
|
4
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
5
|
-
import {
|
|
2
|
+
import { CreateUserBody, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from "@intlayer/backend";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
6
4
|
|
|
7
5
|
//#region src/getIntlayerAPI/user.d.ts
|
|
8
6
|
type GetUserByAccountParams = {
|
|
9
7
|
providerAccountId: string;
|
|
10
8
|
provider: string;
|
|
11
9
|
};
|
|
12
|
-
|
|
13
|
-
declare const getUserAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
10
|
+
declare const getUserAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
|
|
14
11
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
15
12
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
16
13
|
getUserById: (userId: GetUserByIdParams["userId"], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
17
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams["providerAccountId"], provider: GetUserByAccountParams["provider"], otherOptions?: FetcherOptions) => Promise<
|
|
14
|
+
getUserByAccount: (providerAccountId: GetUserByAccountParams["providerAccountId"], provider: GetUserByAccountParams["provider"], otherOptions?: FetcherOptions) => Promise<any>;
|
|
18
15
|
getUserByEmail: (email: GetUserByEmailParams["email"], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
19
16
|
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
20
17
|
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":";;;;;KAgBK,sBAAA;EAA2B,iBAAA;EAA2B,QAAA;AAAA;AAAA,cAG9C,UAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;qBAuFR,cAAA,EAAc,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,gBAAA;uBA5ElB,cAAA,EAAc,YAAA,GACV,cAAA,KAAc,OAAA,CAAA,cAAA;wBAmBpB,iBAAA,YAA2B,YAAA,GACrB,cAAA,KAAc,OAAA,CAAA,iBAAA;wCAmCT,sBAAA,uBAA2C,QAAA,EACpD,sBAAA,cAAkC,YAAA,GAC9B,cAAA,KAAc,OAAA;0BApBrB,oBAAA,WAA6B,YAAA,GACtB,cAAA,KAAc,OAAA,CAAA,oBAAA;qBAuDtB,cAAA,EAAc,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,gBAAA;+BAkBd,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,gBAAA;6CAgBoB,OAAA;AAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AIOptions } from "./packages/@intlayer/ai/dist/types/aiSdk.js";
|
|
2
|
-
import { AskDocQuestionResult } from "./apps/backend/dist/types/controllers/ai.controller.js";
|
|
3
|
-
import { GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "./apps/backend/dist/types/controllers/recursiveAudit.controller.js";
|
|
4
|
-
import { AuditEvent } from "./apps/backend/dist/types/services/audit/types.js";
|
|
5
1
|
import { fetchDistantDictionaries } from "./distantDictionary/fetchDistantDictionaries.js";
|
|
6
2
|
import { fetchDistantDictionary } from "./distantDictionary/fetchDistantDictionary.js";
|
|
7
3
|
import { FetcherOptions, fetcher, fetcherOptions } from "./fetcher.js";
|
|
8
|
-
import { AskDocQuestionBody, AutocompleteBody, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
9
|
-
import { DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, getAuditAPI } from "./getIntlayerAPI/audit.js";
|
|
4
|
+
import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
5
|
+
import { AuditEvent, DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, getAuditAPI } from "./getIntlayerAPI/audit.js";
|
|
10
6
|
import { BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, getBitbucketAPI } from "./getIntlayerAPI/bitbucket.js";
|
|
11
7
|
import { getDictionaryAPI } from "./getIntlayerAPI/dictionary.js";
|
|
12
8
|
import { getEditorAPI } from "./getIntlayerAPI/editor.js";
|
|
@@ -22,4 +18,5 @@ import { getTagAPI } from "./getIntlayerAPI/tag.js";
|
|
|
22
18
|
import { getUserAPI } from "./getIntlayerAPI/user.js";
|
|
23
19
|
import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
24
20
|
import { IntlayerAPIProxy, getIntlayerAPIProxy } from "./proxy.js";
|
|
21
|
+
import { AIOptions } from "./types.js";
|
|
25
22
|
export { AIOptions, AskDocQuestionBody, AskDocQuestionResult, AuditEvent, AutocompleteBody, BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, DiscoverUrlsParams, DiscoverUrlsResult, FetcherOptions, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubListReposResult, GitHubRepository, GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, IntlayerAPI, IntlayerAPIProxy, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, fetchDistantDictionaries, fetchDistantDictionary, fetcher, fetcherOptions, getAiAPI, getAuditAPI, getBitbucketAPI, getDictionaryAPI, getEditorAPI, getGithubAPI, getGitlabAPI, getIntlayerAPI, getIntlayerAPIProxy, getNewsletterAPI, getOAuthAPI, getOrganizationAPI, getProjectAPI, getSearchAPI, getStripeAPI, getTagAPI, getUserAPI };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseData } from "../utils/responseData.js";
|
|
2
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region ../../intlayer-editor/server/dist/controllers/configuration.controller.d.ts
|
|
5
5
|
//#region src/controllers/configuration.controller.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseData } from "../utils/responseData.js";
|
|
2
2
|
import { UnmergedDictionaries } from "../../../../@intlayer/unmerged-dictionaries-entry/dist/types/index.js";
|
|
3
|
-
import { Dictionary } from "@intlayer/types";
|
|
4
3
|
import { DictionaryStatus } from "@intlayer/chokidar/build";
|
|
4
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
5
5
|
|
|
6
6
|
//#region ../../intlayer-editor/server/dist/controllers/dictionary.controller.d.ts
|
|
7
7
|
//#region src/controllers/dictionary.controller.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.controller.d.ts","names":["ResponseData","
|
|
1
|
+
{"version":3,"file":"dictionary.controller.d.ts","names":["ResponseData","FastifyReply","FastifyRequest","DictionaryStatus","Dictionary","UnmergedDictionaries","GetEditorDictionariesResult","getDictionaries","Promise","_req","res","WriteContentDeclarationBody","dictionary","WriteContentDeclarationResultData","status","path","WriteContentDeclarationResult","writeContentDeclaration","Body","req"],"sources":["../../../../../../../../intlayer-editor/server/dist/controllers/dictionary.controller.d.ts"],"mappings":";;;;;;;KAOKM,2BAAAA,GAA8BN,YAAAA,CAAaK,oBAAAA;;;;KAK3CM,2BAAAA;EACHC,UAAAA,EAAYR,UAAAA;AAAAA;AAAAA,KAETS,iCAAAA;EACHC,MAAAA,EAAQX,gBAAAA;EACRY,IAAAA;AAAAA;AAAAA,KAEGC,6BAAAA,GAAgChB,YAAAA,CAAaa,iCAAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AiProviders } from "@intlayer/types";
|
|
1
|
+
import { AiProviders } from "@intlayer/types/config";
|
|
2
2
|
import { AlibabaProvider, createAlibaba } from "@ai-sdk/alibaba";
|
|
3
3
|
import { AmazonBedrockProvider, createAmazonBedrock } from "@ai-sdk/amazon-bedrock";
|
|
4
4
|
import { AnthropicProvider, createAnthropic } from "@ai-sdk/anthropic";
|
|
@@ -5,7 +5,7 @@ import { TranslateJSONResultData } from "./translateJSON/index.js";
|
|
|
5
5
|
|
|
6
6
|
//#region ../ai/dist/types/index.d.ts
|
|
7
7
|
//#region src/index.d.ts
|
|
8
|
-
declare module '@intlayer/types' {
|
|
8
|
+
declare module '@intlayer/types/config' {
|
|
9
9
|
interface AiProviderConfigMap {
|
|
10
10
|
openai: OpenAIProviderOptions;
|
|
11
11
|
anthropic: AnthropicProviderOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { Dictionary } from "@intlayer/types";
|
|
1
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import { Dictionary
|
|
1
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
2
|
+
import { Locale } from "@intlayer/types/allLocales";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { Dictionary } from "@intlayer/types";
|
|
1
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types";
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|