@intlayer/api 8.3.1 → 8.3.2
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/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +1 -2
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +1 -2
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +2 -2
- package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +0 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +1 -3
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +2 -5
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -6
- package/dist/types/types.d.ts +1 -1
- package/package.json +5 -5
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts +0 -88
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts +0 -81
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/eventListener.controller.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/controllers/github.controller.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts +0 -26
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts +0 -8
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts +0 -64
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts +0 -75
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts +0 -27
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts +0 -31
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/search.controller.d.ts +0 -20
- package/dist/types/apps/backend/dist/types/controllers/search.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts +0 -76
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts +0 -31
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts +0 -35
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts +0 -36
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/export.d.ts +0 -27
- package/dist/types/apps/backend/dist/types/middlewares/sessionAuth.middleware.d.ts +0 -12
- package/dist/types/apps/backend/dist/types/middlewares/sessionAuth.middleware.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts +0 -34
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/services/ci.service.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/services/github.service.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts +0 -11
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts +0 -47
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts +0 -28
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts +0 -16
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts +0 -33
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts +0 -23
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts +0 -92
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/session.types.d.ts +0 -28
- package/dist/types/apps/backend/dist/types/types/session.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts +0 -59
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts +0 -31
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts +0 -28
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts +0 -8
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts +0 -14
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts +0 -11
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts +0 -8
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts +0 -11
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts +0 -21
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/auth/getAuth.d.ts +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +0 -31
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +0 -19
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts +0 -12
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +0 -25
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +0 -18
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +0 -16
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts +0 -20
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts +0 -408
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/permissions.d.ts +0 -37
- package/dist/types/apps/backend/dist/types/utils/permissions.d.ts.map +0 -1
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts +0 -27
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts +0 -110
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts +0 -12
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts +0 -8
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts +0 -27
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts +0 -10
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/build.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/cleanOutputDir.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createType/createModuleAugmentation.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/createType/createType.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/formatDictionary.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/intlayer/dist/types/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadContentDeclaration.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadDictionaries.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/prepareIntlayer.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeConfiguration/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +0 -6
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +0 -1
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/transformJSFile.d.ts +0 -2
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +0 -3
- package/dist/types/packages/@intlayer/chokidar/dist/types/writeContentDeclaration/writeJSFile.d.ts +0 -2
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/ICU.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/i18next.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/vue-i18n.d.ts +0 -1
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -10
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +0 -12
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +0 -25
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/export.d.ts +0 -2
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts +0 -408
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts +0 -20
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["IntlayerConfig","Dictionary","DictionaryKeys","UnmergedDictionaries","Record","GetUnmergedDictionaries","configuration","getUnmergedDictionaries"],"sources":["../../../../../../../unmerged-dictionaries-entry/dist/types/index.d.ts"],"mappings":";;;;;;KAKKG,oBAAAA,GAAuBC,MAAAA,CAAOF,cAAAA,EAAgBD,UAAAA"}
|
|
@@ -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 +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,6 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, ChatCompletionRequestMessage, CustomQueryBody, GetDiscussionsParams, TranslateJSONBody } from "@intlayer/backend";
|
|
4
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
4
|
|
|
6
5
|
//#region src/getIntlayerAPI/ai.d.ts
|
|
@@ -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,6 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "@intlayer/backend";
|
|
4
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
4
|
|
|
6
5
|
//#region src/getIntlayerAPI/audit.d.ts
|
|
@@ -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
|
-
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";
|
|
2
|
+
import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/dictionary.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { GetConfigurationResult } from "../
|
|
3
|
-
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../
|
|
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
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
|
|
6
6
|
//#region src/getIntlayerAPI/editor.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody } from "../apps/backend/dist/types/controllers/newsletter.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/newsletter.d.ts
|
|
@@ -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,5 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMembersBody } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/organization.d.ts
|
|
@@ -1,7 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, TriggerWebhookBody, UpdateProjectBody, UpdateProjectMembersBody } from "@intlayer/backend";
|
|
5
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
6
4
|
|
|
7
5
|
//#region src/getIntlayerAPI/project.d.ts
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { SearchDocUtilParams, SearchDocUtilResult } from "../apps/backend/dist/types/controllers/search.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { SearchDocUtilParams } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/search.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GetOtherShowcaseProjectsResult, GetShowcaseProjectByIdParams, GetShowcaseProjectByIdResult, GetShowcaseProjectsResult, SubmitShowcaseProjectBody, SubmitShowcaseProjectResult, ToggleShowcaseDownvoteBody, ToggleShowcaseDownvoteResult, ToggleShowcaseUpvoteBody, ToggleShowcaseUpvoteResult, UpdateShowcaseProjectBody, UpdateShowcaseProjectResult } from "../apps/backend/dist/types/controllers/showcaseProject.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { GetShowcaseProjectByIdParams, SubmitShowcaseProjectBody, ToggleShowcaseDownvoteBody, ToggleShowcaseUpvoteBody, UpdateShowcaseProjectBody } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/showcaseProject.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GetCheckoutSessionBody, GetCheckoutSessionResult, GetPricingBody, GetPricingResult } from "../apps/backend/dist/types/controllers/stripe.controller.js";
|
|
2
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { GetCheckoutSessionBody, GetPricingBody } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/stripe.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "@intlayer/backend";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
|
|
5
5
|
//#region src/getIntlayerAPI/tag.d.ts
|
|
@@ -1,7 +1,5 @@
|
|
|
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";
|
|
2
|
+
import { CreateUserBody, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from "@intlayer/backend";
|
|
5
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
6
4
|
|
|
7
5
|
//#region src/getIntlayerAPI/user.d.ts
|
|
@@ -9,12 +7,11 @@ type GetUserByAccountParams = {
|
|
|
9
7
|
providerAccountId: string;
|
|
10
8
|
provider: string;
|
|
11
9
|
};
|
|
12
|
-
type GetUserByAccountResult = ResponseData<UserAPI>;
|
|
13
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 };
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AIOptions } from "
|
|
1
|
+
import { AIOptions } from "@intlayer/backend";
|
|
2
2
|
export { type AIOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/api",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "SDK for interacting with the Intlayer API, enabling content auditing, and managing organizations, projects, and users.",
|
|
6
6
|
"keywords": [
|
|
@@ -72,19 +72,19 @@
|
|
|
72
72
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@intlayer/config": "8.3.
|
|
76
|
-
"@intlayer/types": "8.3.
|
|
75
|
+
"@intlayer/config": "8.3.2",
|
|
76
|
+
"@intlayer/types": "8.3.2",
|
|
77
77
|
"defu": "6.1.4"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@types/node": "25.
|
|
80
|
+
"@types/node": "25.5.0",
|
|
81
81
|
"@utils/ts-config": "1.0.4",
|
|
82
82
|
"@utils/ts-config-types": "1.0.4",
|
|
83
83
|
"@utils/tsdown-config": "1.0.4",
|
|
84
84
|
"rimraf": "6.1.3",
|
|
85
85
|
"tsdown": "0.21.2",
|
|
86
86
|
"typescript": "5.9.3",
|
|
87
|
-
"vitest": "4.0
|
|
87
|
+
"vitest": "4.1.0"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
|
90
90
|
"node": ">=14.18"
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { TagAPI } from "../types/tag.types.js";
|
|
2
|
-
import { DiscussionAPI } from "../types/discussion.types.js";
|
|
3
|
-
import { PaginatedResponse, ResponseData } from "../utils/responseData.js";
|
|
4
|
-
import { AIConfig, AIOptions, AiProviders, ChatCompletionRequestMessage } from "../../../../../packages/@intlayer/ai/dist/types/aiSdk.js";
|
|
5
|
-
import { AuditFileResultData } from "../../../../../packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.js";
|
|
6
|
-
import { CustomQueryResultData } from "../../../../../packages/@intlayer/ai/dist/types/customQuery.js";
|
|
7
|
-
import { TranslateJSONResultData } from "../../../../../packages/@intlayer/ai/dist/types/translateJSON/index.js";
|
|
8
|
-
import { AskDocQuestionResult as AskDocQuestionResult$1 } from "../utils/AI/askDocQuestion/askDocQuestion.js";
|
|
9
|
-
import { AuditFileResultData as AuditFileResultData$1 } from "../utils/AI/auditDictionary/index.js";
|
|
10
|
-
import { AuditDictionaryFieldResultData } from "../utils/AI/auditDictionaryField/index.js";
|
|
11
|
-
import { TranslateJSONResultData as TranslateJSONResultData$1 } from "../utils/AI/auditTag/index.js";
|
|
12
|
-
import { CustomQueryOptions } from "../utils/AI/customQuery/index.js";
|
|
13
|
-
import { TranslateJSONOptions } from "../utils/AI/translateJSON/index.js";
|
|
14
|
-
import { DiscussionFiltersParams } from "../utils/filtersAndPagination/getDiscussionFiltersAndPagination.js";
|
|
15
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
16
|
-
import { KeyPath } from "@intlayer/types/keyPath";
|
|
17
|
-
|
|
18
|
-
//#region ../../../apps/backend/dist/types/controllers/ai.controller.d.ts
|
|
19
|
-
//#region src/controllers/ai.controller.d.ts
|
|
20
|
-
type ReplaceAIConfigByOptions<T> = Omit<T, 'aiConfig'> & {
|
|
21
|
-
aiOptions?: AIOptions;
|
|
22
|
-
};
|
|
23
|
-
type CustomQueryBody = ReplaceAIConfigByOptions<CustomQueryOptions> & {
|
|
24
|
-
tagsKeys?: string[];
|
|
25
|
-
applicationContext?: string;
|
|
26
|
-
};
|
|
27
|
-
type CustomQueryResult = ResponseData<CustomQueryResultData>;
|
|
28
|
-
type TranslateJSONBody = Omit<ReplaceAIConfigByOptions<TranslateJSONOptions<JSON>>, 'tags'> & {
|
|
29
|
-
tagsKeys?: string[];
|
|
30
|
-
};
|
|
31
|
-
type TranslateJSONResult = ResponseData<TranslateJSONResultData<JSON>>;
|
|
32
|
-
type AuditContentDeclarationBody = {
|
|
33
|
-
aiOptions?: AIOptions;
|
|
34
|
-
locales: Locale[];
|
|
35
|
-
defaultLocale: Locale;
|
|
36
|
-
fileContent: string;
|
|
37
|
-
filePath?: string;
|
|
38
|
-
tagsKeys?: string[];
|
|
39
|
-
};
|
|
40
|
-
type AuditContentDeclarationResult = ResponseData<AuditFileResultData$1>;
|
|
41
|
-
/**
|
|
42
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
43
|
-
*/
|
|
44
|
-
type AuditContentDeclarationFieldBody = {
|
|
45
|
-
aiOptions?: AIOptions;
|
|
46
|
-
locales: Locale[];
|
|
47
|
-
fileContent: string;
|
|
48
|
-
filePath?: string;
|
|
49
|
-
tagsKeys?: string[];
|
|
50
|
-
keyPath: KeyPath[];
|
|
51
|
-
};
|
|
52
|
-
type AuditContentDeclarationFieldResult = ResponseData<AuditDictionaryFieldResultData>;
|
|
53
|
-
/**
|
|
54
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
55
|
-
*/
|
|
56
|
-
type AuditContentDeclarationMetadataBody = {
|
|
57
|
-
aiOptions?: AIOptions;
|
|
58
|
-
fileContent: string;
|
|
59
|
-
};
|
|
60
|
-
type AuditContentDeclarationMetadataResult = ResponseData<AuditFileResultData>;
|
|
61
|
-
/**
|
|
62
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
63
|
-
*/
|
|
64
|
-
type AuditTagBody = {
|
|
65
|
-
aiOptions?: AIOptions;
|
|
66
|
-
tag: TagAPI;
|
|
67
|
-
};
|
|
68
|
-
type AuditTagResult = ResponseData<TranslateJSONResultData$1>;
|
|
69
|
-
/**
|
|
70
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
71
|
-
*/
|
|
72
|
-
type AskDocQuestionResult = ResponseData<AskDocQuestionResult$1>;
|
|
73
|
-
type AutocompleteResponse = ResponseData<{
|
|
74
|
-
autocompletion: string;
|
|
75
|
-
}>;
|
|
76
|
-
type GetDiscussionsParams = ({
|
|
77
|
-
page?: string | number;
|
|
78
|
-
pageSize?: string | number;
|
|
79
|
-
includeMessages?: 'true' | 'false';
|
|
80
|
-
} & DiscussionFiltersParams) | undefined;
|
|
81
|
-
type GetDiscussionsResult = PaginatedResponse<DiscussionAPI>;
|
|
82
|
-
/**
|
|
83
|
-
* Retrieves a list of discussions with filters and pagination.
|
|
84
|
-
* Only the owner or admins can access. By default, users only see their own.
|
|
85
|
-
*/
|
|
86
|
-
//#endregion
|
|
87
|
-
export { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteResponse, CustomQueryBody, CustomQueryResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult };
|
|
88
|
-
//# sourceMappingURL=ai.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai.controller.d.ts","names":["AskDocQuestionResult","AskDocQuestionResult$1","TagAPI","AuditFileResultData","AuditDictionaryFieldResultData","AuditFileResultData$1","TranslateJSONResultData","CustomQueryOptions","CustomQueryResultData","TranslateJSONOptions","TranslateJSONResultData$1","DiscussionAPI","DiscussionFiltersParams","PaginatedResponse","ResponseData","AIConfig","AIOptions","AIOptions$1","AIProvider","ChatCompletionRequestMessage","ChatCompletionRequestMessage$1","Locale","KeyPath","FastifyReply","FastifyRequest","ReplaceAIConfigByOptions","T","Omit","aiOptions","CustomQueryBody","tagsKeys","applicationContext","CustomQueryResult","customQuery","Promise","Body","request","reply","TranslateJSONBody","JSON","TranslateJSONResult","translateJSON","AuditContentDeclarationBody","locales","defaultLocale","fileContent","filePath","AuditContentDeclarationResult","auditContentDeclaration","AuditContentDeclarationFieldBody","keyPath","AuditContentDeclarationFieldResult","auditContentDeclarationField","AuditContentDeclarationMetadataBody","AuditContentDeclarationMetadataResult","auditContentDeclarationMetadata","AuditTagBody","tag","AuditTagResult","auditTag","AskDocQuestionBody","messages","discussionId","askDocQuestion","AutocompleteBody","text","contextBefore","currentLine","contextAfter","AutocompleteResponse","autocompletion","autocomplete","GetDiscussionsParams","page","pageSize","includeMessages","GetDiscussionsResult","getDiscussions","Querystring"],"sources":["../../../../../../../../../../apps/backend/dist/types/controllers/ai.controller.d.ts"],"mappings":";;;;;;;;;;;;;;;;;;;KAiBKyB,wBAAAA,MAA8BE,IAAAA,CAAKD,CAAAA;EACtCE,SAAAA,GAAYX,SAAAA;AAAAA;AAAAA,KAETY,eAAAA,GAAkBJ,wBAAAA,CAAyBlB,kBAAAA;EAC9CuB,QAAAA;EACAC,kBAAAA;AAAAA;AAAAA,KAEGC,iBAAAA,GAAoBlB,YAAAA,CAAaN,qBAAAA;AAAAA,KAIjC8B,iBAAAA,GAAoBX,IAAAA,CAAKF,wBAAAA,CAAyBhB,oBAAAA,CAAqB8B,IAAAA;EAC1ET,QAAAA;AAAAA;AAAAA,KAEGU,mBAAAA,GAAsB1B,YAAAA,CAAaJ,uBAAAA,CAA0B6B,IAAAA;AAAAA,KAI7DG,2BAAAA;EACHd,SAAAA,GAAYX,SAAAA;EACZ0B,OAAAA,EAAStB,MAAAA;EACTuB,aAAAA,EAAevB,MAAAA;EACfwB,WAAAA;EACAC,QAAAA;EACAhB,QAAAA;AAAAA;AAAAA,KAEGiB,6BAAAA,GAAgCjC,YAAAA,CAAaX,qBAAAA;;AArB9B;;KA4Bf8C,gCAAAA;EACHrB,SAAAA,GAAYX,SAAAA;EACZ0B,OAAAA,EAAStB,MAAAA;EACTwB,WAAAA;EACAC,QAAAA;EACAhB,QAAAA;EACAoB,OAAAA,EAAS5B,OAAAA;AAAAA;AAAAA,KAEN6B,kCAAAA,GAAqCrC,YAAAA,CAAaV,8BAAAA;;;;KAOlDiD,mCAAAA;EACHzB,SAAAA,GAAYX,SAAAA;EACZ4B,WAAAA;AAAAA;AAAAA,KAEGS,qCAAAA,GAAwCxC,YAAAA,CAAaT,mBAAAA;;;;KAOrDmD,YAAAA;EACH5B,SAAAA,GAAYX,SAAAA;EACZwC,GAAAA,EAAKvD,MAAAA;AAAAA;AAAAA,KAEFwD,cAAAA,GAAiB5C,YAAAA,CAAaR,yBAAAA;;;;KAW9BN,oBAAAA,GAAuBc,YAAAA,CAAab,sBAAAA;AAAAA,KAWpCoE,oBAAAA,GAAuBvD,YAAAA;EAC1BwD,cAAAA;AAAAA;AAAAA,KAKGE,oBAAAA;EACHC,IAAAA;EACAC,QAAAA;EACAC,eAAAA;AAAAA,IACE/D,uBAAAA;AAAAA,KACCgE,oBAAAA,GAAuB/D,iBAAAA,CAAkBF,aAAAA"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Dictionary as Dictionary$1, DictionaryAPI, DictionaryCreationData } from "../types/dictionary.types.js";
|
|
2
|
-
import { PaginatedResponse, ResponseData } from "../utils/responseData.js";
|
|
3
|
-
import { FiltersAndPagination } from "../utils/filtersAndPagination/getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import { DictionaryFiltersParams } from "../utils/filtersAndPagination/getDictionaryFiltersAndPagination.js";
|
|
5
|
-
import { Dictionary, DictionaryId, LocalDictionaryId } from "@intlayer/types/dictionary";
|
|
6
|
-
|
|
7
|
-
//#region ../../../apps/backend/dist/types/controllers/dictionary.controller.d.ts
|
|
8
|
-
//#region src/controllers/dictionary.controller.d.ts
|
|
9
|
-
type GetDictionariesParams = FiltersAndPagination<DictionaryFiltersParams>;
|
|
10
|
-
type GetDictionariesResult = PaginatedResponse<DictionaryAPI>;
|
|
11
|
-
/**
|
|
12
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
13
|
-
*/
|
|
14
|
-
type GetDictionariesKeysResult = ResponseData<string[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Retrieves a list of dictionaries keys based on filters and pagination.
|
|
17
|
-
*/
|
|
18
|
-
type GetDictionariesUpdateTimestampResult = ResponseData<Record<DictionaryId, {
|
|
19
|
-
key: string;
|
|
20
|
-
updatedAt: number;
|
|
21
|
-
}>>;
|
|
22
|
-
/**
|
|
23
|
-
* Retrieves a list of dictionaries keys based on filters and pagination.
|
|
24
|
-
*/
|
|
25
|
-
type GetDictionaryParams = {
|
|
26
|
-
dictionaryKey: string;
|
|
27
|
-
};
|
|
28
|
-
type GetDictionaryQuery = {
|
|
29
|
-
version?: string;
|
|
30
|
-
};
|
|
31
|
-
type GetDictionaryResult = ResponseData<DictionaryAPI>;
|
|
32
|
-
/**
|
|
33
|
-
* Retrieves a list of dictionaries based on filters and pagination.
|
|
34
|
-
*/
|
|
35
|
-
type AddDictionaryBody = {
|
|
36
|
-
dictionary: DictionaryCreationData;
|
|
37
|
-
};
|
|
38
|
-
type AddDictionaryResult = ResponseData<DictionaryAPI>;
|
|
39
|
-
/**
|
|
40
|
-
* Adds a new dictionary to the database.
|
|
41
|
-
*/
|
|
42
|
-
type PushDictionariesBody = {
|
|
43
|
-
dictionaries: Dictionary[];
|
|
44
|
-
};
|
|
45
|
-
type PushDictionariesResultData = {
|
|
46
|
-
newDictionaries: {
|
|
47
|
-
key: string;
|
|
48
|
-
localId: LocalDictionaryId;
|
|
49
|
-
id: string | undefined;
|
|
50
|
-
}[];
|
|
51
|
-
updatedDictionaries: {
|
|
52
|
-
key: string;
|
|
53
|
-
localId: LocalDictionaryId;
|
|
54
|
-
id: string | undefined;
|
|
55
|
-
}[];
|
|
56
|
-
error: {
|
|
57
|
-
id: string | undefined;
|
|
58
|
-
key: string;
|
|
59
|
-
localId: LocalDictionaryId | undefined;
|
|
60
|
-
message: string;
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
type PushDictionariesResult = ResponseData<PushDictionariesResultData>;
|
|
64
|
-
/**
|
|
65
|
-
* Check each dictionaries, add the new ones and update the existing ones.
|
|
66
|
-
*/
|
|
67
|
-
type UpdateDictionaryBody = Partial<Dictionary$1>;
|
|
68
|
-
type UpdateDictionaryResult = ResponseData<DictionaryAPI>;
|
|
69
|
-
/**
|
|
70
|
-
* Updates an existing dictionary in the database.
|
|
71
|
-
*/
|
|
72
|
-
type DeleteDictionaryParam = {
|
|
73
|
-
dictionaryId: string;
|
|
74
|
-
};
|
|
75
|
-
type DeleteDictionaryResult = ResponseData<DictionaryAPI>;
|
|
76
|
-
/**
|
|
77
|
-
* Deletes a dictionary from the database by its ID.
|
|
78
|
-
*/
|
|
79
|
-
//#endregion
|
|
80
|
-
export { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult };
|
|
81
|
-
//# sourceMappingURL=dictionary.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.controller.d.ts","names":["Dictionary","Dictionary$1","DictionaryAPI","DictionaryCreationData","FiltersAndPagination","PaginatedResponse","ResponseData","DictionaryFiltersParams","DictionaryId","LocalDictionaryId","FastifyReply","FastifyRequest","GetDictionariesParams","GetDictionariesResult","getDictionaries","Promise","Querystring","request","reply","GetDictionariesKeysResult","getDictionariesKeys","_request","GetDictionariesUpdateTimestampResult","Record","key","updatedAt","getDictionariesUpdateTimestamp","GetDictionaryParams","dictionaryKey","GetDictionaryQuery","version","GetDictionaryResult","getDictionaryByKey","Params","AddDictionaryBody","dictionary","AddDictionaryResult","addDictionary","Body","PushDictionariesBody","dictionaries","PushDictionariesResultData","newDictionaries","localId","id","updatedDictionaries","error","message","PushDictionariesResult","pushDictionaries","UpdateDictionaryParam","dictionaryId","UpdateDictionaryBody","Partial","UpdateDictionaryResult","updateDictionary","DeleteDictionaryParam","DeleteDictionaryResult","deleteDictionary"],"sources":["../../../../../../../../../../apps/backend/dist/types/controllers/dictionary.controller.d.ts"],"mappings":";;;;;;;;KAQKY,qBAAAA,GAAwBR,oBAAAA,CAAqBG,uBAAAA;AAAAA,KAC7CM,qBAAAA,GAAwBR,iBAAAA,CAAkBH,aAAAA;;;AAD0B;KAQpEiB,yBAAAA,GAA4Bb,YAAAA;AADE;;;AAAA,KAM9BgB,oCAAAA,GAAuChB,YAAAA,CAAaiB,MAAAA,CAAOf,YAAAA;EAC9DgB,GAAAA;EACAC,SAAAA;AAAAA;;;;KAMGE,mBAAAA;EACHC,aAAAA;AAAAA;AAAAA,KAEGC,kBAAAA;EACHC,OAAAA;AAAAA;AAAAA,KAEGC,mBAAAA,GAAsBzB,YAAAA,CAAaJ,aAAAA;;AAPgE;;KAenGgC,iBAAAA;EACHC,UAAAA,EAAYhC,sBAAAA;AAAAA;AAAAA,KAETiC,mBAAAA,GAAsB9B,YAAAA,CAAaJ,aAAAA;AAb/B;;;AAAA,KAoBJqC,oBAAAA;EACHC,YAAAA,EAAcxC,UAAAA;AAAAA;AAAAA,KAEXyC,0BAAAA;EACHC,eAAAA;IACElB,GAAAA;IACAmB,OAAAA,EAASlC,iBAAAA;IACTmC,EAAAA;EAAAA;EAEFC,mBAAAA;IACErB,GAAAA;IACAmB,OAAAA,EAASlC,iBAAAA;IACTmC,EAAAA;EAAAA;EAEFE,KAAAA;IACEF,EAAAA;IACApB,GAAAA;IACAmB,OAAAA,EAASlC,iBAAAA;IACTsC,OAAAA;EAAAA;AAAAA;AAAAA,KAGCC,sBAAAA,GAAyB1C,YAAAA,CAAamC,0BAAAA;;;;KAUtCW,oBAAAA,GAAuBC,OAAAA,CAAQpD,YAAAA;AAAAA,KAC/BqD,sBAAAA,GAAyBhD,YAAAA,CAAaJ,aAAAA;;;;KAQtCsD,qBAAAA;EACHL,YAAAA;AAAAA;AAAAA,KAEGM,sBAAAA,GAAyBnD,YAAAA,CAAaJ,aAAAA;;AAd7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EmailsList, UserAPI } from "../types/user.types.js";
|
|
2
|
-
import { ResponseData } from "../utils/responseData.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../../apps/backend/dist/types/controllers/newsletter.controller.d.ts
|
|
5
|
-
//#region src/controllers/newsletter.controller.d.ts
|
|
6
|
-
type NewsletterSubscriptionBody = {
|
|
7
|
-
email: string;
|
|
8
|
-
emailList: EmailsList | EmailsList[];
|
|
9
|
-
};
|
|
10
|
-
type NewsletterSubscriptionResult = ResponseData<UserAPI>;
|
|
11
|
-
/**
|
|
12
|
-
* Subscribes a user to the newsletter.
|
|
13
|
-
* If the user doesn't exist, creates a new user.
|
|
14
|
-
* If the user exists, updates their newsletter subscription to true.
|
|
15
|
-
*/
|
|
16
|
-
type NewsletterUnsubscriptionBody = {
|
|
17
|
-
userId: string;
|
|
18
|
-
emailList: EmailsList | EmailsList[];
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Unsubscribes a user from the newsletter.
|
|
22
|
-
* Only works if the user exists.
|
|
23
|
-
*/
|
|
24
|
-
//#endregion
|
|
25
|
-
export { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody };
|
|
26
|
-
//# sourceMappingURL=newsletter.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter.controller.d.ts","names":["EmailsList","UserAPI","ResponseData","FastifyReply","FastifyRequest","NewsletterSubscriptionBody","email","emailList","NewsletterSubscriptionResult","subscribeToNewsletter","Promise","Body","request","reply","NewsletterUnsubscriptionBody","userId","unsubscribeFromNewsletter","getNewsletterStatus","_request"],"sources":["../../../../../../../../../../apps/backend/dist/types/controllers/newsletter.controller.d.ts"],"mappings":";;;;;KAKKK,0BAAAA;EACHC,KAAAA;EACAC,SAAAA,EAAWP,UAAAA,GAAaA,UAAAA;AAAAA;AAAAA,KAErBQ,4BAAAA,GAA+BN,YAAAA,CAAaD,OAAAA;;;;;AAFb;KAW/Ba,4BAAAA;EACHC,MAAAA;EACAR,SAAAA,EAAWP,UAAAA,GAAaA,UAAAA;AAAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ResponseData } from "../utils/responseData.js";
|
|
2
|
-
import { OAuth2Token } from "../types/oAuth2.types.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../../apps/backend/dist/types/controllers/oAuth2.controller.d.ts
|
|
5
|
-
type GetOAuth2TokenResult = ResponseData<OAuth2Token>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { GetOAuth2TokenResult };
|
|
8
|
-
//# sourceMappingURL=oAuth2.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth2.controller.d.ts","names":["ResponseData","OAuth2Token","FastifyReply","FastifyRequest","GetOAuth2TokenBody","grant_type","client_id","client_secret","GetOAuth2TokenResult","getOAuth2AccessToken","Promise","Body","request","reply"],"sources":["../../../../../../../../../../apps/backend/dist/types/controllers/oAuth2.controller.d.ts"],"mappings":";;;;KAUKQ,oBAAAA,GAAuBR,YAAAA,CAAaC,WAAAA"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { User, UserAPI } from "../types/user.types.js";
|
|
2
|
-
import { Organization, OrganizationAPI, OrganizationCreationData } from "../types/organization.types.js";
|
|
3
|
-
import { PaginatedResponse, ResponseData } from "../utils/responseData.js";
|
|
4
|
-
import { FiltersAndPagination } from "../utils/filtersAndPagination/getFiltersAndPaginationFromBody.js";
|
|
5
|
-
import { OrganizationFiltersParams } from "../utils/filtersAndPagination/getOrganizationFiltersAndPagination.js";
|
|
6
|
-
import { Types } from "mongoose";
|
|
7
|
-
|
|
8
|
-
//#region ../../../apps/backend/dist/types/controllers/organization.controller.d.ts
|
|
9
|
-
//#region src/controllers/organization.controller.d.ts
|
|
10
|
-
type GetOrganizationsParams = FiltersAndPagination<OrganizationFiltersParams>;
|
|
11
|
-
type GetOrganizationsResult = PaginatedResponse<OrganizationAPI>;
|
|
12
|
-
/**
|
|
13
|
-
* Retrieves a list of organizations based on filters and pagination.
|
|
14
|
-
*/
|
|
15
|
-
type GetOrganizationParam = {
|
|
16
|
-
organizationId: string;
|
|
17
|
-
};
|
|
18
|
-
type GetOrganizationResult = ResponseData<OrganizationAPI>;
|
|
19
|
-
/**
|
|
20
|
-
* Retrieves an organization by its ID.
|
|
21
|
-
*/
|
|
22
|
-
type AddOrganizationBody = OrganizationCreationData;
|
|
23
|
-
type AddOrganizationResult = ResponseData<OrganizationAPI>;
|
|
24
|
-
/**
|
|
25
|
-
* Adds a new organization to the database.
|
|
26
|
-
*/
|
|
27
|
-
type UpdateOrganizationBody = Partial<Organization>;
|
|
28
|
-
type UpdateOrganizationResult = ResponseData<OrganizationAPI>;
|
|
29
|
-
/**
|
|
30
|
-
* Updates an existing organization in the database.
|
|
31
|
-
*/
|
|
32
|
-
type AddOrganizationMemberBody = {
|
|
33
|
-
userEmail: string;
|
|
34
|
-
};
|
|
35
|
-
type AddOrganizationMemberResult = ResponseData<OrganizationAPI>;
|
|
36
|
-
/**
|
|
37
|
-
* Add member to the organization in the database.
|
|
38
|
-
*/
|
|
39
|
-
type UpdateOrganizationMembersBody = Partial<{
|
|
40
|
-
membersIds: (User | UserAPI)['id'][];
|
|
41
|
-
adminsIds: (User | UserAPI)['id'][];
|
|
42
|
-
}>;
|
|
43
|
-
type UpdateOrganizationMembersResult = ResponseData<OrganizationAPI>;
|
|
44
|
-
/**
|
|
45
|
-
* Update members to the organization in the database.
|
|
46
|
-
*/
|
|
47
|
-
type DeleteOrganizationResult = ResponseData<OrganizationAPI>;
|
|
48
|
-
/**
|
|
49
|
-
* Deletes an organization from the database by its ID.
|
|
50
|
-
*/
|
|
51
|
-
type SelectOrganizationParam = {
|
|
52
|
-
organizationId: string | Types.ObjectId;
|
|
53
|
-
};
|
|
54
|
-
type SelectOrganizationResult = ResponseData<OrganizationAPI>;
|
|
55
|
-
/**
|
|
56
|
-
* Select an organization.
|
|
57
|
-
*/
|
|
58
|
-
type UnselectOrganizationResult = ResponseData<null>;
|
|
59
|
-
/**
|
|
60
|
-
* Unselect an organization.
|
|
61
|
-
*/
|
|
62
|
-
//#endregion
|
|
63
|
-
export { AddOrganizationBody, AddOrganizationMemberBody, AddOrganizationMemberResult, AddOrganizationResult, DeleteOrganizationResult, GetOrganizationParam, GetOrganizationResult, GetOrganizationsParams, GetOrganizationsResult, SelectOrganizationParam, SelectOrganizationResult, UnselectOrganizationResult, UpdateOrganizationBody, UpdateOrganizationMembersBody, UpdateOrganizationMembersResult, UpdateOrganizationResult };
|
|
64
|
-
//# sourceMappingURL=organization.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"organization.controller.d.ts","names":["User","UserAPI","Organization","OrganizationAPI","OrganizationCreationData","FiltersAndPagination","PaginatedResponse","ResponseData","OrganizationFiltersParams","Types","FastifyReply","FastifyRequest","GetOrganizationsParams","GetOrganizationsResult","getOrganizations","Promise","Querystring","request","reply","GetOrganizationParam","organizationId","GetOrganizationResult","getOrganization","Params","AddOrganizationBody","AddOrganizationResult","addOrganization","Body","UpdateOrganizationBody","Partial","UpdateOrganizationResult","updateOrganization","AddOrganizationMemberBody","userEmail","AddOrganizationMemberResult","addOrganizationMember","UpdateOrganizationMembersBody","membersIds","adminsIds","UpdateOrganizationMembersResult","updateOrganizationMembers","UpdateOrganizationMembersByIdParams","UpdateOrganizationMembersByIdBody","UpdateOrganizationMembersByIdResult","updateOrganizationMembersById","DeleteOrganizationResult","deleteOrganization","_request","SelectOrganizationParam","ObjectId","SelectOrganizationResult","selectOrganization","UnselectOrganizationResult","unselectOrganization"],"sources":["../../../../../../../../../../apps/backend/dist/types/controllers/organization.controller.d.ts"],"mappings":";;;;;;;;;KASKY,sBAAAA,GAAyBP,oBAAAA,CAAqBG,yBAAAA;AAAAA,KAC9CK,sBAAAA,GAAyBP,iBAAAA,CAAkBH,eAAAA;;;AAD4B;KAQvEgB,oBAAAA;EACHC,cAAAA;AAAAA;AAAAA,KAEGC,qBAAAA,GAAwBd,YAAAA,CAAaJ,eAAAA;;;AAF1B;KASXqB,mBAAAA,GAAsBpB,wBAAAA;AAAAA,KACtBqB,qBAAAA,GAAwBlB,YAAAA,CAAaJ,eAAAA;;;;KAOrCyB,sBAAAA,GAAyBC,OAAAA,CAAQ3B,YAAAA;AAAAA,KACjC4B,wBAAAA,GAA2BvB,YAAAA,CAAaJ,eAAAA;;AAFV;;KAS9B6B,yBAAAA;EACHC,SAAAA;AAAAA;AAAAA,KAEGC,2BAAAA,GAA8B3B,YAAAA,CAAaJ,eAAAA;;AAJb;;KAW9BiC,6BAAAA,GAAgCP,OAAAA;EACnCQ,UAAAA,GAAarC,IAAAA,GAAOC,OAAAA;EACpBqC,SAAAA,GAAYtC,IAAAA,GAAOC,OAAAA;AAAAA;AAAAA,KAEhBsC,+BAAAA,GAAkChC,YAAAA,CAAaJ,eAAAA;AALjB;;;AAAA,KA2B9B0C,wBAAAA,GAA2BtC,YAAAA,CAAaJ,eAAAA;;;AADV;KAM9B6C,uBAAAA;EACH5B,cAAAA,WAAyBX,KAAAA,CAAMwC,QAAAA;AAAAA;AAAAA,KAE5BC,wBAAAA,GAA2B3C,YAAAA,CAAaJ,eAAAA;;;;KAOxCiD,0BAAAA,GAA6B7C,YAAAA;;AATO"}
|