@intlayer/api 9.7.0 → 9.7.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/cjs/cms/createAuthManager.cjs +2 -3
- package/dist/cjs/cms/createIntlayerCMS.cjs +2 -3
- package/dist/cjs/cms/index.cjs +2 -2
- package/dist/cjs/distantDictionary/fetchDistantDictionaries.cjs +3 -4
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs +3 -4
- package/dist/cjs/distantDictionary/index.cjs +2 -2
- package/dist/cjs/fetcher.cjs +2 -3
- package/dist/cjs/getIntlayerAPI/ai.cjs +38 -43
- package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/analytics.cjs +32 -4
- package/dist/cjs/getIntlayerAPI/analytics.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/asset.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/audit.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/codeberg.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/dictionary.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/editor.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/environment.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/forge.cjs +2 -3
- package/dist/cjs/getIntlayerAPI/gitee.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/github.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/gitlab.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/index.cjs +25 -26
- package/dist/cjs/getIntlayerAPI/newsletter.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/oAuth.cjs +2 -3
- package/dist/cjs/getIntlayerAPI/organization.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/project.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/readServerSentEvents.cjs +70 -0
- package/dist/cjs/getIntlayerAPI/readServerSentEvents.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/reviewer.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/search.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/status.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/stripe.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/tag.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/translate.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/user.cjs +3 -4
- package/dist/cjs/index.cjs +33 -33
- package/dist/cjs/proxy.cjs +26 -27
- package/dist/cjs/public/createPublicClient.cjs +1 -2
- package/dist/cjs/public/index.cjs +1 -1
- package/dist/cjs/resolveInternalBackendUrl.cjs +1 -2
- package/dist/esm/cms/createAuthManager.mjs +1 -2
- package/dist/esm/cms/createIntlayerCMS.mjs +1 -2
- package/dist/esm/distantDictionary/fetchDistantDictionaries.mjs +1 -2
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs +1 -2
- package/dist/esm/fetcher.mjs +1 -2
- package/dist/esm/getIntlayerAPI/ai.mjs +37 -42
- package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/analytics.mjs +31 -3
- package/dist/esm/getIntlayerAPI/analytics.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/asset.mjs +2 -3
- package/dist/esm/getIntlayerAPI/audit.mjs +2 -3
- package/dist/esm/getIntlayerAPI/bitbucket.mjs +2 -3
- package/dist/esm/getIntlayerAPI/codeberg.mjs +1 -2
- package/dist/esm/getIntlayerAPI/dictionary.mjs +2 -3
- package/dist/esm/getIntlayerAPI/editor.mjs +2 -3
- package/dist/esm/getIntlayerAPI/environment.mjs +2 -3
- package/dist/esm/getIntlayerAPI/forge.mjs +1 -2
- package/dist/esm/getIntlayerAPI/gitee.mjs +1 -2
- package/dist/esm/getIntlayerAPI/github.mjs +2 -3
- package/dist/esm/getIntlayerAPI/gitlab.mjs +2 -3
- package/dist/esm/getIntlayerAPI/index.mjs +2 -3
- package/dist/esm/getIntlayerAPI/newsletter.mjs +2 -3
- package/dist/esm/getIntlayerAPI/oAuth.mjs +1 -2
- package/dist/esm/getIntlayerAPI/organization.mjs +2 -3
- package/dist/esm/getIntlayerAPI/project.mjs +2 -3
- package/dist/esm/getIntlayerAPI/readServerSentEvents.mjs +68 -0
- package/dist/esm/getIntlayerAPI/readServerSentEvents.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/reviewer.mjs +2 -3
- package/dist/esm/getIntlayerAPI/search.mjs +2 -3
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs +2 -3
- package/dist/esm/getIntlayerAPI/status.mjs +2 -3
- package/dist/esm/getIntlayerAPI/stripe.mjs +2 -3
- package/dist/esm/getIntlayerAPI/tag.mjs +2 -3
- package/dist/esm/getIntlayerAPI/translate.mjs +2 -3
- package/dist/esm/getIntlayerAPI/user.mjs +2 -3
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/proxy.mjs +2 -3
- package/dist/esm/public/createPublicClient.mjs +1 -2
- package/dist/esm/resolveInternalBackendUrl.mjs +1 -2
- package/dist/types/cms/createAuthManager.d.ts +1 -2
- package/dist/types/cms/createAuthManager.d.ts.map +1 -1
- package/dist/types/cms/createIntlayerCMS.d.ts +0 -2
- package/dist/types/cms/createIntlayerCMS.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +1 -3
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +1 -3
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
- package/dist/types/fetcher.d.ts +0 -2
- package/dist/types/fetcher.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +9 -5
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +7 -5
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +2 -4
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +2 -4
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts +2 -4
- package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/codeberg.d.ts +42 -6
- package/dist/types/getIntlayerAPI/codeberg.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +3 -5
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +2 -4
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +2 -4
- package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/forge.d.ts +21 -4
- package/dist/types/getIntlayerAPI/forge.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitee.d.ts +42 -6
- package/dist/types/getIntlayerAPI/gitee.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/github.d.ts +2 -4
- package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts +2 -4
- package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +2 -3
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +2 -4
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +0 -2
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +2 -4
- 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/readServerSentEvents.d.ts +18 -0
- package/dist/types/getIntlayerAPI/readServerSentEvents.d.ts.map +1 -0
- package/dist/types/getIntlayerAPI/reviewer.d.ts +2 -4
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +2 -4
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +2 -4
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +2 -4
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +2 -4
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +2 -4
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +2 -4
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +2 -4
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/proxy.d.ts +0 -2
- package/dist/types/proxy.d.ts.map +1 -1
- package/dist/types/public/createPublicClient.d.ts +1 -3
- package/dist/types/public/createPublicClient.d.ts.map +1 -1
- package/dist/types/resolveInternalBackendUrl.d.ts +0 -2
- package/dist/types/resolveInternalBackendUrl.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -2
- package/package.json +110 -110
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"organization.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":";;;;;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
|
4
|
-
import {
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
5
4
|
import { AddNewAccessKeyBody, AddNewAccessKeyResponse, AddProjectBody, AddProjectResult, DeleteAccessKeyBody, DeleteAccessKeyResponse, DeleteProjectResult, GetProjectInsightsResult, GetProjectsParams, GetProjectsResult, PushProjectConfigurationBody, PushProjectConfigurationResult, RefreshAccessKeyBody, RefreshAccessKeyResponse, SelectProjectParam, SelectProjectResult, TriggerBuildResult, TriggerWebhookBody, TriggerWebhookResult, UnselectProjectResult, UpdateMemberAccessBody, UpdateMemberAccessResult, UpdateProjectBody, UpdateProjectMembersBody, UpdateProjectMembersResult, UpdateProjectResult } from "@intlayer/backend-contract/project";
|
|
5
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
6
6
|
import { ResponseData } from "@intlayer/backend-contract/responseData";
|
|
7
|
-
//#region src/getIntlayerAPI/project.d.ts
|
|
8
7
|
export declare const getProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
8
|
getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
10
9
|
getProjectInsights: (otherOptions?: FetcherOptions) => Promise<GetProjectInsightsResult>;
|
|
@@ -51,5 +50,4 @@ export declare const projectEndpoint: CMSEndpoint<{
|
|
|
51
50
|
pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
|
|
52
51
|
updateMemberAccess: (userId: string, body: UpdateMemberAccessBody, otherOptions?: FetcherOptions) => Promise<UpdateMemberAccessResult>;
|
|
53
52
|
}>;
|
|
54
|
-
//#endregion
|
|
55
53
|
//# sourceMappingURL=project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project.d.ts","names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A,mBAAM,eACH,mBAAc,QAAA;EAmBjB,gBAAA,WAAA,iCAA+B,eAC5B,mBAAc,QAAA;EAiBe,kBAAA,eAAA,mBAAc,QAAA;EAiB9C,kBAAA,WAAA,qBAAmB,eAChB,mBAAc,QAAA;EAmBlB,kBAAA,UAAA,iCAA+B,eAC3B,mBAAc,QAAA;EAmBlB,mBAAA,UAAA,kCAAgC,eAC5B,mBAAc,QAAA;EAqBY,eAAA,eAAA,mBAAc,QAAA;EAiBxC,iBAAA,cAAA,oCAAkC,eAClC,mBAAc,QAAA;EAiBW,cAAA,eAAA,mBAAc,QAAA;EAmBb,eAAA,eAAA,mBAAc,QAAA;EAoB9C,qBAAA,gBAAM,MACR,wBAAsB,eACd,mBAAc,QAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error raised when the server emits an `event: error` frame mid-stream.
|
|
3
|
+
* `message` is the serialized payload, matching the `fetcher` convention so
|
|
4
|
+
* callers can match backend error codes with `error.message.includes(code)`.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ServerSentEventError<Payload = Record<string, unknown>> extends Error {
|
|
7
|
+
readonly payload: Payload;
|
|
8
|
+
constructor(payload: Payload);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Reads a `text/event-stream` response and calls `onData` with each parsed
|
|
12
|
+
* `data:` payload of the default event type.
|
|
13
|
+
*
|
|
14
|
+
* Throws a {@link ServerSentEventError} as soon as an `event: error` frame is
|
|
15
|
+
* received, so stream failures reject the caller instead of resolving silently.
|
|
16
|
+
*/
|
|
17
|
+
export declare const readServerSentEvents: <Data>(response: Response, onData: (data: Data) => void) => Promise<void>;
|
|
18
|
+
//# sourceMappingURL=readServerSentEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readServerSentEvents.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/readServerSentEvents.ts"],"mappings":";;;;;qBAKa,qBACX,UAAU,iCACF;WACC,SAAS;EAElB,YAAY,SAAS;;;;;;;;;qBAcV,uBAA8B,MAAI,UACnC,UAAQ,SACT,MAAM,kBACd"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { PaginatedResponse, ResponseData } from "@intlayer/backend-contract/responseData";
|
|
6
6
|
import { CreateMissionBody, EstimateMissionBody, GetMarketplaceQuery, RegisterReviewerBody, SendMessageBody, SubmitReviewBody, UpdateMissionStatusBody, UpdateReviewerBody, UploadReviewerPictureResult } from "@intlayer/backend-contract/reviewer";
|
|
7
|
-
//#region src/getIntlayerAPI/reviewer.d.ts
|
|
8
7
|
export declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
8
|
getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<{
|
|
10
9
|
[x: string]: unknown;
|
|
@@ -729,5 +728,4 @@ export declare const reviewerEndpoint: CMSEndpoint<{
|
|
|
729
728
|
updatedAt: string;
|
|
730
729
|
}>>;
|
|
731
730
|
}>;
|
|
732
|
-
//#endregion
|
|
733
731
|
//# sourceMappingURL=reviewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewer.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reviewer.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":";;;;;;qBA6Ea,iBAAc,iBACT,gBAAc,iBACb;EAQP,iBAAA,SAAA,qBAAmB,eAC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,eACP,mBAAc,QAAA;;;;;;;;;;EAWO,mBAAA;EA4CJ,oBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAGjC,qBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAMtD,0BAAA,oBAAM,eACJ,mBAAc,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepB,oBAAA;IAAE;IAAe;IAAmB;KAAiB,eAC/C,mBAAc,QAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { SearchDocUtilParams, SearchDocUtilResult } from "@intlayer/backend-contract/search";
|
|
6
|
-
//#region src/getIntlayerAPI/search.d.ts
|
|
7
6
|
export declare const getSearchAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
9
8
|
};
|
|
@@ -16,5 +15,4 @@ export declare const getSearchAPI: (authAPIOptions?: FetcherOptions, intlayerCon
|
|
|
16
15
|
export declare const searchEndpoint: CMSEndpoint<{
|
|
17
16
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
18
17
|
}>;
|
|
19
|
-
//#endregion
|
|
20
18
|
//# sourceMappingURL=search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;qBA2Ba,eAAY,iBACP,gBAAc,iBACb;EAWN,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;;;;;;;;qBAuBnB,gBAvBmBA;EADnB,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { GetOtherShowcaseProjectsResult, GetShowcaseProjectByIdParams, GetShowcaseProjectByIdResult, GetShowcaseProjectsResult, SubmitShowcaseProjectBody, SubmitShowcaseProjectResult, ToggleShowcaseDownvoteBody, ToggleShowcaseDownvoteResult, ToggleShowcaseUpvoteBody, ToggleShowcaseUpvoteResult, UpdateShowcaseProjectBody, UpdateShowcaseProjectResult } from "@intlayer/backend-contract/showcaseProject";
|
|
6
|
-
//#region src/getIntlayerAPI/showcaseProject.d.ts
|
|
7
6
|
export type ShowcaseProjectsQuery = {
|
|
8
7
|
page?: number;
|
|
9
8
|
pageSize?: number;
|
|
@@ -49,5 +48,4 @@ export declare const showcaseProjectEndpoint: CMSEndpoint<{
|
|
|
49
48
|
}>;
|
|
50
49
|
updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams['projectId'], body: UpdateShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateShowcaseProjectResult>;
|
|
51
50
|
}>;
|
|
52
|
-
//#endregion
|
|
53
51
|
//# sourceMappingURL=showcaseProject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"showcaseProject.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;YA0BY;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;;qBAwBW,wBAAqB,iBAChB,gBAAc,iBACb;EAMP,sBAAA,QAAA,uBAAqB,eACf,mBAAc,QAAA;EA2BjB,yBAAA,WAAA,2CAAyC,eACtC,mBAAc,QAAA;EAerB,2BAAA,OAAA,4BAA0B,eACnB,mBAAc,QAAA;EAoBtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EActB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EActB,yBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAcjB,wBAAA,WAAA,2CAAyC,eACtC,mBAAc;IAEN;MAAE;;;EAab,wBAAA,WAAA,2CAAyC,MAC9C,2BAAyB,eACjB,mBAAc,QAAA;;;;;;;;qBAgCnB,yBAhCmBA;EAhIpB,sBAAA,QAAA,uBAAqB,eACf,mBAAc,QAAA;EA2BjB,yBAAA,WAAA,2CAAyC,eACtC,mBAAc,QAAA;EAerB,2BAAA,OAAA,4BAA0B,eACnB,mBAAc,QAAA;EAoBtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EActB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EActB,yBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAcjB,wBAAA,WAAA,2CAAyC,eACtC,mBAAc;IAEN;MAAE;;;EAab,wBAAA,WAAA,2CAAyC,MAC9C,2BAAyB,eACjB,mBAAc,QAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { GetDemoSessionResult } from "@intlayer/backend-contract/demo";
|
|
6
6
|
import { GetSetupStatusResult } from "@intlayer/backend-contract/user";
|
|
7
|
-
//#region src/getIntlayerAPI/status.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* Instance/entry status endpoints. These back the decisions made when an
|
|
10
9
|
* unauthenticated visitor reaches the app root:
|
|
@@ -28,6 +27,5 @@ export declare const statusEndpoint: CMSEndpoint<{
|
|
|
28
27
|
getSetupStatus: (otherOptions?: FetcherOptions) => Promise<GetSetupStatusResult>;
|
|
29
28
|
getDemoSession: (otherOptions?: FetcherOptions) => Promise<GetDemoSessionResult>;
|
|
30
29
|
}>;
|
|
31
|
-
//#endregion
|
|
32
30
|
export type { GetDemoSessionResult };
|
|
33
31
|
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"status.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/status.ts"],"mappings":";;;;;;;;;;;;;;;qBA6Ca,eAAY,iBACP,gBAAc,iBACb;EAW2B,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA;;;;;;;;qBAsB/C,gBAtB+CA;EAhBd,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { AcceptAffiliateInvitationResult, CreatePortalSessionResult, CreatePromoCodeBody, CreatePromoCodeResult, DeletePromoCodeResult, GetAffiliateAccountSessionResult, GetAffiliateByIdResult, GetAffiliateInvitationResult, GetAffiliateInvitationsResult, GetAffiliateOnboardingLinkResult, GetAffiliateResult, GetAffiliateStatsResult, GetAffiliatesParams, GetAffiliatesResult, GetCheckoutSessionBody, GetCheckoutSessionResult, GetInvoicesResult, GetPaymentMethodResult, GetPricingBody, GetPricingResult, GetPromoCodeByIdResult, GetPromoCodesResult, GrantAffiliateAccessBody, GrantAffiliateAccessResult, SendAffiliateInvitationBody, SendAffiliateInvitationResult, UpdateAffiliateStatusBody, UpdateAffiliateStatusResult, UpdatePromoCodeBody, UpdatePromoCodeResult } from "@intlayer/backend-contract/stripe";
|
|
6
|
-
//#region src/getIntlayerAPI/stripe.d.ts
|
|
7
6
|
export declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
9
8
|
getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
@@ -98,5 +97,4 @@ export declare const stripeEndpoint: CMSEndpoint<{
|
|
|
98
97
|
}, otherOptions?: FetcherOptions) => Promise<DeletePromoCodeResult>;
|
|
99
98
|
getAffiliatePromoCode: (referralCode: string, otherOptions?: FetcherOptions) => Promise<any>;
|
|
100
99
|
}>;
|
|
101
|
-
//#endregion
|
|
102
100
|
//# sourceMappingURL=stripe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"stripe.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;qBA6Fa,eAAY,iBACP,gBA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,eAAA,mBAAc,QAAA;EAYT,mBAAA,eAAA,mBAAc,QAAA;EAWX,sBAAA,eAAA,mBAAc,QAAA;EAgBvD,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAiBnB,gBAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;EAgBpB,qBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAcY,eAAA,eAAA,mBAAc,QAAA;EAYxC,6BAAA,eAAA,mBAAc,QAAA;EAiBnB,6BAAA;IAAE;KAAoB,eACjB,mBAAc,QAAA;EAgBiB,oBAAA,eAAA,mBAAc,QAAA;EAYnD,0BAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA;EAmBtB,0BAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;EAiBjB,2BAAA;IAAE;KAAe,eACd,mBAAc,QAAA;EA0CzB,8BAAA,OAAA,SAAA;IACD;IACA;IACA;KACD,eACa,mBAAc,QAAA;EA7BpB,0BAAA;IAAE;KAAY,MAChB,2BAAyB,eACjB,mBAAc,QAAA;EAgDxB,mBAAA,YAAM,eACI,mBAAc,QAAA;EAYpB,gBAAA;IAAE;KAAsB,eAClB,mBAAc,QAAA;EAiBtB,kBAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAaX,oBAAA,OAAA;IAAE;MAAe,qBAAmB,eACvC,mBAAc,QAAA;EAepB,oBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAed,wBAAA,sBAAM,eACN,mBAAc"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { AddTagBody, AddTagResult, DeleteTagParams, DeleteTagResult, GetTagsParams, GetTagsResult, UpdateTagBody, UpdateTagParams, UpdateTagResult } from "@intlayer/backend-contract/tag";
|
|
6
|
-
//#region src/getIntlayerAPI/tag.d.ts
|
|
7
6
|
export declare const getTagAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
9
8
|
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
@@ -22,5 +21,4 @@ export declare const tagEndpoint: CMSEndpoint<{
|
|
|
22
21
|
updateTag: (tagId: UpdateTagParams['tagId'], tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
23
22
|
deleteTag: (tagId: DeleteTagParams['tagId'], otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
24
23
|
}>;
|
|
25
|
-
//#endregion
|
|
26
24
|
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tag.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;qBAqCa,YAAS,iBACJ,gBAAc,iBACb;EAUL,UAAA,UAAA,eAAa,eACT,mBAAc,QAAA;EAiBH,SAAA,KAAA,YAAU,eAAgB,mBAAc,QAAA;EAgB1D,YAAA,OAAA,0BAAwB,KAC1B,eAAa,eACJ,mBAAc,QAAA;EAmBrB,YAAA,OAAA,0BAAwB,eAEjB,mBAAc,QAAA;;;;;;;;qBA2BnB,aA3BmBA;EAzDlB,UAAA,UAAA,eAAa,eACT,mBAAc,QAAA;EAiBH,SAAA,KAAA,YAAU,eAAgB,mBAAc,QAAA;EAgB1D,YAAA,OAAA,0BAAwB,KAC1B,eAAa,eACJ,mBAAc,QAAA;EAmBrB,YAAA,OAAA,0BAAwB,eAEjB,mBAAc,QAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { TranslateDictionariesBody, TranslateDictionariesResult } from "@intlayer/backend-contract/translation";
|
|
6
|
-
//#region src/getIntlayerAPI/translate.d.ts
|
|
7
6
|
export declare const getTranslateAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
translateDictionaries: (body: TranslateDictionariesBody, otherOptions?: FetcherOptions) => Promise<TranslateDictionariesResult>;
|
|
9
8
|
pauseTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
@@ -66,6 +65,5 @@ export declare const translateEndpoint: CMSEndpoint<{
|
|
|
66
65
|
};
|
|
67
66
|
}>;
|
|
68
67
|
}>;
|
|
69
|
-
//#endregion
|
|
70
68
|
export type { TranslateDictionariesBody, TranslateDictionariesResult };
|
|
71
69
|
//# sourceMappingURL=translate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/translate.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"translate.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/translate.ts"],"mappings":";;;;;qBAmCa,kBAAe,iBACV,gBAAc,iBACb;EAMT,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAcrB,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,uBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,qBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,wBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;;;;;;;;qBA4BT,mBA9BmBA;EAhFtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAcrB,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,uBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,qBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAaX,wBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
import { ResponseData } from "@intlayer/backend-contract/responseData";
|
|
6
6
|
import { CreateUserBody, CreateUserResult, GetUserByEmailParams, GetUserByEmailResult, GetUserByIdParams, GetUserByIdResult, GetUsersParams, GetUsersResult, UpdateUserBody, UpdateUserResult, UploadUserAvatarResult, UserAPI } from "@intlayer/backend-contract/user";
|
|
7
|
-
//#region src/getIntlayerAPI/user.d.ts
|
|
8
7
|
export type GetUserByAccountParams = {
|
|
9
8
|
providerAccountId: string;
|
|
10
9
|
provider: string;
|
|
@@ -36,5 +35,4 @@ export declare const userEndpoint: CMSEndpoint<{
|
|
|
36
35
|
uploadAvatar: (file: File, otherOptions?: FetcherOptions) => Promise<UploadUserAvatarResult>;
|
|
37
36
|
getVerifyEmailStatusURL: (userId: string | UserAPI['id']) => string;
|
|
38
37
|
}>;
|
|
39
|
-
//#endregion
|
|
40
38
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":";;;;;;YAyBY;EACV;EACA;;YAEU,yBAAyB,aAAa;qBAuBrC,aAAU,iBACL,gBAAc,iBACb;EA4ET,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAlElB,WAAA,UAAA,gBAAc,eACV,mBAAc,QAAA;EAmBpB,cAAA,QAAA,6BAA2B,eACrB,mBAAc,QAAA;EAmBrB,iBAAA,OAAA,+BAA6B,eACtB,mBAAc,QAAA;EA2CtB,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAkBpB,aAAA,gBAAM,eACA,mBAAc,QAAA;EAmBtB,eAAA,MAAA,MAAI,eACI,mBAAc,QAAA;EAoCW,0BAAA,iBAAS;;;;;;;;qBAuBvC,cAvBuCA;EA/F1C,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAlElB,WAAA,UAAA,gBAAc,eACV,mBAAc,QAAA;EAmBpB,cAAA,QAAA,6BAA2B,eACrB,mBAAc,QAAA;EAmBrB,iBAAA,OAAA,+BAA6B,eACtB,mBAAc,QAAA;EA2CtB,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAkBpB,aAAA,gBAAM,eACA,mBAAc,QAAA;EAmBtB,eAAA,MAAA,MAAI,eACI,mBAAc,QAAA;EAoCW,0BAAA,iBAAS"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import "./cms/index.js";
|
|
2
|
+
import "./distantDictionary/index.js";
|
|
1
3
|
import { FetcherError, FetcherOptions, fetcher, fetcherOptions } from "./fetcher.js";
|
|
2
4
|
import { AuthManager, AuthManagerOptions, BindSectionOptions, clearAccessTokenCache, createAuthManager } from "./cms/createAuthManager.js";
|
|
3
5
|
import { CMSEndpoint, IntlayerCMS, IntlayerCMSOptions, createEndpoint, createIntlayerCMS } from "./cms/createIntlayerCMS.js";
|
|
4
|
-
import "./
|
|
6
|
+
import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
5
7
|
import { fetchDistantDictionaries } from "./distantDictionary/fetchDistantDictionaries.js";
|
|
6
8
|
import { fetchDistantDictionary } from "./distantDictionary/fetchDistantDictionary.js";
|
|
7
|
-
import "./
|
|
9
|
+
import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, ChatBody, ChatResult, ClientAction, aiEndpoint, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
8
10
|
import { analyticsEndpoint, getAnalyticsAPI } from "./getIntlayerAPI/analytics.js";
|
|
9
11
|
import { assetEndpoint, getAssetAPI } from "./getIntlayerAPI/asset.js";
|
|
10
12
|
import { AuditEvent, DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, auditEndpoint, getAuditAPI } from "./getIntlayerAPI/audit.js";
|
|
@@ -13,6 +15,7 @@ import { codebergEndpoint, getCodebergAPI } from "./getIntlayerAPI/codeberg.js";
|
|
|
13
15
|
import { dictionaryEndpoint, getDictionaryAPI } from "./getIntlayerAPI/dictionary.js";
|
|
14
16
|
import { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult, editorEndpoint, getEditorAPI } from "./getIntlayerAPI/editor.js";
|
|
15
17
|
import { environmentEndpoint, getEnvironmentAPI } from "./getIntlayerAPI/environment.js";
|
|
18
|
+
import { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeRepository, createForgeAPI } from "./getIntlayerAPI/forge.js";
|
|
16
19
|
import { getGiteeAPI, giteeEndpoint } from "./getIntlayerAPI/gitee.js";
|
|
17
20
|
import { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, getGithubAPI, githubEndpoint } from "./getIntlayerAPI/github.js";
|
|
18
21
|
import { GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, getGitlabAPI, gitlabEndpoint } from "./getIntlayerAPI/gitlab.js";
|
|
@@ -28,10 +31,7 @@ import { getStripeAPI, stripeEndpoint } from "./getIntlayerAPI/stripe.js";
|
|
|
28
31
|
import { getTagAPI, tagEndpoint } from "./getIntlayerAPI/tag.js";
|
|
29
32
|
import { TranslateDictionariesBody, TranslateDictionariesResult, getTranslateAPI, translateEndpoint } from "./getIntlayerAPI/translate.js";
|
|
30
33
|
import { GetUserByAccountParams, GetUserByAccountResult, getUserAPI, userEndpoint } from "./getIntlayerAPI/user.js";
|
|
31
|
-
import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
32
|
-
import { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeRepository, createForgeAPI } from "./getIntlayerAPI/forge.js";
|
|
33
34
|
import { IntlayerAPIProxy, getIntlayerAPIProxy } from "./proxy.js";
|
|
34
35
|
import { BACKEND_INTERNAL_URL_ENVIRONMENT_VARIABLE, resolveInternalBackendUrl } from "./resolveInternalBackendUrl.js";
|
|
35
36
|
import { AIOptions, DictionaryAPI, EnvironmentAPI, MessageEventData, ProjectAPI } from "./types.js";
|
|
36
|
-
import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, ChatBody, ChatResult, ClientAction, aiEndpoint, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
37
37
|
export { type AIOptions, AskDocQuestionBody, type AskDocQuestionResult, type AuditEvent, AuthManager, AuthManagerOptions, AutocompleteBody, BACKEND_INTERNAL_URL_ENVIRONMENT_VARIABLE, BindSectionOptions, BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, CMSEndpoint, ChatBody, type ChatResult, ClientAction, type DictionaryAPI, DiscoverUrlsParams, DiscoverUrlsResult, type EnvironmentAPI, FetcherError, FetcherOptions, type ForgeCheckConfigResult, type ForgeGetConfigFileResult, type ForgeListReposResult, type ForgeRepository, type GetConfigurationResult, type GetDemoSessionResult, type GetEditorDictionariesResult, GetRecursiveAuditStatusParams, type GetRecursiveAuditStatusResult, type GetScannedHostParams, type GetScannedHostResult, type GetScannedHostsQuery, type GetScannedHostsResult, type GetTechnologyUsageQuery, type GetTechnologyUsageResult, GetUserByAccountParams, GetUserByAccountResult, GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, IntlayerAPI, IntlayerAPIProxy, IntlayerCMS, IntlayerCMSOptions, type MessageEventData, OtherShowcaseProjectsQuery, type ProjectAPI, RecursiveAuditJobParams, ScanUrlBody, ShowcaseProjectsQuery, StartRecursiveAuditBody, type StartRecursiveAuditResult, type TranslateDictionariesBody, type TranslateDictionariesResult, type WriteContentDeclarationBody, type WriteContentDeclarationResult, aiEndpoint, analyticsEndpoint, assetEndpoint, auditEndpoint, bitbucketEndpoint, clearAccessTokenCache, codebergEndpoint, createAuthManager, createEndpoint, createForgeAPI, createIntlayerCMS, dictionaryEndpoint, editorEndpoint, environmentEndpoint, fetchDistantDictionaries, fetchDistantDictionary, fetcher, fetcherOptions, getAiAPI, getAnalyticsAPI, getAssetAPI, getAuditAPI, getBitbucketAPI, getCodebergAPI, getDictionaryAPI, getEditorAPI, getEnvironmentAPI, getGiteeAPI, getGithubAPI, getGitlabAPI, getIntlayerAPI, getIntlayerAPIProxy, getNewsletterAPI, getOAuthAPI, getOrganizationAPI, getProjectAPI, getReviewerAPI, getSearchAPI, getShowcaseProjectAPI, getStatusAPI, getStripeAPI, getTagAPI, getTranslateAPI, getUserAPI, giteeEndpoint, githubEndpoint, gitlabEndpoint, newsletterEndpoint, organizationEndpoint, projectEndpoint, resolveInternalBackendUrl, reviewerEndpoint, searchEndpoint, showcaseProjectEndpoint, statusEndpoint, stripeEndpoint, tagEndpoint, translateEndpoint, userEndpoint };
|
package/dist/types/proxy.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FetcherOptions } from "./fetcher.js";
|
|
2
2
|
import { IntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
|
-
//#region src/proxy.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Builds the **complete** auto-authenticated Intlayer API as a single lazy
|
|
7
6
|
* object. Every domain is reachable through it, so it pulls every domain client
|
|
@@ -18,5 +17,4 @@ export declare const getIntlayerAPIProxy: (baseAuthOptions?: FetcherOptions, int
|
|
|
18
17
|
* {@link getIntlayerAPIProxy}. Equivalent in shape to `IntlayerAPI`.
|
|
19
18
|
*/
|
|
20
19
|
export type IntlayerAPIProxy = ReturnType<typeof getIntlayerAPIProxy>;
|
|
21
|
-
//#endregion
|
|
22
20
|
//# sourceMappingURL=proxy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.ts","names":[],"sources":["../../src/proxy.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","names":[],"sources":["../../src/proxy.ts"],"mappings":";;;;;;;;;;;;;qBAwFa,sBAAmB,kBACb,gBAAc,iBACf,KAAK,2BAAyB,0BAE7C;;;;;YAiDS,mBAAmB,kBAAkB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
1
|
import { DictionaryAPI } from "@intlayer/backend-contract/dictionary";
|
|
3
|
-
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
3
|
/** Options accepted by {@link createPublicClient}. */
|
|
5
4
|
export type PublicClientOptions = {
|
|
6
5
|
/** Overrides the build-time `editor` configuration. */
|
|
@@ -23,5 +22,4 @@ export type PublicClient = {
|
|
|
23
22
|
getDictionaries: (keys: string[]) => Promise<DictionaryAPI[]>;
|
|
24
23
|
};
|
|
25
24
|
export declare const createPublicClient: ({ intlayerConfig }?: PublicClientOptions) => PublicClient;
|
|
26
|
-
//#endregion
|
|
27
25
|
//# sourceMappingURL=createPublicClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPublicClient.d.ts","names":[],"sources":["../../../src/public/createPublicClient.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"createPublicClient.d.ts","names":[],"sources":["../../../src/public/createPublicClient.ts"],"mappings":";;;YAiFY;;EAEV,iBAAiB,KAAK;;;YAIZ;;;;;EAKV,gBAAgB;;EAEhB,yBAAyB;;;;;;EAMzB,kBAAkB,mBAAmB,QAAQ;;qBAoBlC,uBAAkB,mBAE5B,wBAA2B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/resolveInternalBackendUrl.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Server-only override for the backend origin.
|
|
4
3
|
*
|
|
@@ -22,5 +21,4 @@ export declare const BACKEND_INTERNAL_URL_ENVIRONMENT_VARIABLE = "INTLAYER_BACKE
|
|
|
22
21
|
* @returns The URL to fetch.
|
|
23
22
|
*/
|
|
24
23
|
export declare const resolveInternalBackendUrl: (url: string, publicBackendUrl?: string | undefined) => string;
|
|
25
|
-
//#endregion
|
|
26
24
|
//# sourceMappingURL=resolveInternalBackendUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveInternalBackendUrl.d.ts","names":[],"sources":["../../src/resolveInternalBackendUrl.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolveInternalBackendUrl.d.ts","names":[],"sources":["../../src/resolveInternalBackendUrl.ts"],"mappings":";;;;;;;;;qBAWa;;;;;;;;;;;;;qBAyBA,4BAAyB,aACzB"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DictionaryAPI } from "@intlayer/backend-contract/dictionary";
|
|
2
|
-
import { EnvironmentAPI, ProjectAPI } from "@intlayer/backend-contract/project";
|
|
3
1
|
import { AIOptions } from "@intlayer/backend-contract/ai";
|
|
2
|
+
import { DictionaryAPI } from "@intlayer/backend-contract/dictionary";
|
|
4
3
|
import { MessageEventData } from "@intlayer/backend-contract/eventListener";
|
|
4
|
+
import { EnvironmentAPI, ProjectAPI } from "@intlayer/backend-contract/project";
|
|
5
5
|
export type { AIOptions, DictionaryAPI, EnvironmentAPI, MessageEventData, ProjectAPI };
|