@intlayer/api 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/distantDictionary/fetchDistantDictionaries.cjs.map +1 -1
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs.map +1 -1
- package/dist/cjs/fetcher.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/ai.cjs +76 -22
- package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/analytics.cjs +44 -10
- package/dist/cjs/getIntlayerAPI/analytics.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/asset.cjs +38 -8
- package/dist/cjs/getIntlayerAPI/asset.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/audit.cjs +70 -16
- package/dist/cjs/getIntlayerAPI/audit.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs +39 -9
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/codeberg.cjs +21 -0
- package/dist/cjs/getIntlayerAPI/codeberg.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/dictionary.cjs +59 -13
- package/dist/cjs/getIntlayerAPI/dictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/editor.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/environment.cjs +44 -10
- package/dist/cjs/getIntlayerAPI/environment.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/forge.cjs +64 -0
- package/dist/cjs/getIntlayerAPI/forge.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/gitee.cjs +21 -0
- package/dist/cjs/getIntlayerAPI/gitee.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/github.cjs +44 -10
- package/dist/cjs/getIntlayerAPI/github.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/gitlab.cjs +39 -9
- package/dist/cjs/getIntlayerAPI/gitlab.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs +4 -0
- package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/newsletter.cjs +28 -6
- package/dist/cjs/getIntlayerAPI/newsletter.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/oAuth.cjs +31 -5
- package/dist/cjs/getIntlayerAPI/oAuth.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/organization.cjs +72 -20
- package/dist/cjs/getIntlayerAPI/organization.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/project.cjs +112 -29
- package/dist/cjs/getIntlayerAPI/project.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/reviewer.cjs +142 -31
- package/dist/cjs/getIntlayerAPI/reviewer.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/search.cjs +15 -3
- package/dist/cjs/getIntlayerAPI/search.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs +61 -15
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/status.cjs +16 -3
- package/dist/cjs/getIntlayerAPI/status.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/stripe.cjs +141 -35
- package/dist/cjs/getIntlayerAPI/stripe.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/tag.cjs +33 -7
- package/dist/cjs/getIntlayerAPI/tag.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/translate.cjs +46 -8
- package/dist/cjs/getIntlayerAPI/translate.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/user.cjs +58 -14
- package/dist/cjs/getIntlayerAPI/user.cjs.map +1 -1
- package/dist/cjs/index.cjs +8 -0
- package/dist/cjs/proxy.cjs +4 -0
- package/dist/cjs/proxy.cjs.map +1 -1
- package/dist/cjs/public/createPublicClient.cjs +25 -5
- package/dist/cjs/public/createPublicClient.cjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionaries.mjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs.map +1 -1
- package/dist/esm/fetcher.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/ai.mjs +76 -22
- package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/analytics.mjs +44 -10
- package/dist/esm/getIntlayerAPI/analytics.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/asset.mjs +38 -8
- package/dist/esm/getIntlayerAPI/asset.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/audit.mjs +70 -16
- package/dist/esm/getIntlayerAPI/audit.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/bitbucket.mjs +39 -9
- package/dist/esm/getIntlayerAPI/bitbucket.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/codeberg.mjs +19 -0
- package/dist/esm/getIntlayerAPI/codeberg.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/dictionary.mjs +59 -13
- package/dist/esm/getIntlayerAPI/dictionary.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/editor.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/environment.mjs +44 -10
- package/dist/esm/getIntlayerAPI/environment.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/forge.mjs +63 -0
- package/dist/esm/getIntlayerAPI/forge.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/gitee.mjs +19 -0
- package/dist/esm/getIntlayerAPI/gitee.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/github.mjs +44 -10
- package/dist/esm/getIntlayerAPI/github.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/gitlab.mjs +39 -9
- package/dist/esm/getIntlayerAPI/gitlab.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs +4 -0
- package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/newsletter.mjs +28 -6
- package/dist/esm/getIntlayerAPI/newsletter.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/oAuth.mjs +31 -5
- package/dist/esm/getIntlayerAPI/oAuth.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/organization.mjs +72 -20
- package/dist/esm/getIntlayerAPI/organization.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/project.mjs +112 -29
- package/dist/esm/getIntlayerAPI/project.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/reviewer.mjs +142 -31
- package/dist/esm/getIntlayerAPI/reviewer.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/search.mjs +15 -3
- package/dist/esm/getIntlayerAPI/search.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs +61 -15
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/status.mjs +16 -3
- package/dist/esm/getIntlayerAPI/status.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/stripe.mjs +141 -35
- package/dist/esm/getIntlayerAPI/stripe.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/tag.mjs +33 -7
- package/dist/esm/getIntlayerAPI/tag.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/translate.mjs +46 -8
- package/dist/esm/getIntlayerAPI/translate.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/user.mjs +58 -14
- package/dist/esm/getIntlayerAPI/user.mjs.map +1 -1
- package/dist/esm/index.mjs +4 -1
- package/dist/esm/proxy.mjs +4 -0
- package/dist/esm/proxy.mjs.map +1 -1
- package/dist/esm/public/createPublicClient.mjs +25 -5
- package/dist/esm/public/createPublicClient.mjs.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +1 -1
- package/dist/types/fetcher.d.ts +1 -1
- package/dist/types/fetcher.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +1 -0
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +47 -3
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/codeberg.d.ts +23 -0
- package/dist/types/getIntlayerAPI/codeberg.d.ts.map +1 -0
- package/dist/types/getIntlayerAPI/dictionary.d.ts +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +2 -1
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/forge.d.ts +17 -0
- package/dist/types/getIntlayerAPI/forge.d.ts.map +1 -0
- package/dist/types/getIntlayerAPI/gitee.d.ts +23 -0
- package/dist/types/getIntlayerAPI/gitee.d.ts.map +1 -0
- package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +4 -0
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +2 -0
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +1 -3
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +2 -1
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/reviewer.d.ts +680 -35
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +3 -4
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +4 -4
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +7 -4
- package/dist/types/proxy.d.ts.map +1 -1
- package/dist/types/public/createPublicClient.d.ts +1 -7
- package/dist/types/public/createPublicClient.d.ts.map +1 -1
- package/dist/types/types.d.ts +5 -2
- package/package.json +20 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewer.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reviewer.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":";;;;;;;qBA6Ea,iBAAc,iBACT,gBAAc,iBACb;EAQP,iBAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBpB,uBAAA,SAAA,KACN,8EAED,eACa,mBAAc,QAAA;;;;;;;;;EAuBhB,kBAAA,oBAAM,eACJ,mBAAc,QAAA;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepB,oBAAA;IAAE;IAAe;IAAmB;KAAiB,eAC/C,mBAAc,QAAA"}
|
|
@@ -2,7 +2,7 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { SearchDocUtilParams } from "@intlayer/backend";
|
|
5
|
+
import { SearchDocUtilParams, SearchDocUtilResult } from "@intlayer/backend-contract/search";
|
|
6
6
|
//#region src/getIntlayerAPI/search.d.ts
|
|
7
7
|
export declare const getSearchAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;;qBA2Ba,eAAY,iBACP,gBAAc,iBACb;EAWN,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;;;;;;;;qBAuBnB,gBAvBmB;EADnB,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA"}
|
|
@@ -2,7 +2,7 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { GetShowcaseProjectByIdParams, SubmitShowcaseProjectBody, ToggleShowcaseDownvoteBody, ToggleShowcaseUpvoteBody, UpdateShowcaseProjectBody } from "@intlayer/backend";
|
|
5
|
+
import { GetOtherShowcaseProjectsResult, GetShowcaseProjectByIdParams, GetShowcaseProjectByIdResult, GetShowcaseProjectsResult, SubmitShowcaseProjectBody, SubmitShowcaseProjectResult, ToggleShowcaseDownvoteBody, ToggleShowcaseDownvoteResult, ToggleShowcaseUpvoteBody, ToggleShowcaseUpvoteResult, UpdateShowcaseProjectBody, UpdateShowcaseProjectResult } from "@intlayer/backend-contract/showcaseProject";
|
|
6
6
|
//#region src/getIntlayerAPI/showcaseProject.d.ts
|
|
7
7
|
export type ShowcaseProjectsQuery = {
|
|
8
8
|
page?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;;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,yBAhCmB;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"}
|
|
@@ -2,11 +2,9 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
+
import { GetDemoSessionResult } from "@intlayer/backend-contract/demo";
|
|
6
|
+
import { GetSetupStatusResult } from "@intlayer/backend-contract/user";
|
|
5
7
|
//#region src/getIntlayerAPI/status.d.ts
|
|
6
|
-
/** Result of the demo-session bootstrap endpoint. */
|
|
7
|
-
export type GetDemoSessionResult = {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
};
|
|
10
8
|
/**
|
|
11
9
|
* Instance/entry status endpoints. These back the decisions made when an
|
|
12
10
|
* unauthenticated visitor reaches the app root:
|
|
@@ -31,4 +29,5 @@ export declare const statusEndpoint: CMSEndpoint<{
|
|
|
31
29
|
getDemoSession: (otherOptions?: FetcherOptions) => Promise<GetDemoSessionResult>;
|
|
32
30
|
}>;
|
|
33
31
|
//#endregion
|
|
32
|
+
export type { GetDemoSessionResult };
|
|
34
33
|
//# 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":[],"sources":["../../../src/getIntlayerAPI/status.ts"],"mappings":";;;;;;;;;;;;;;;;qBA6Ca,eAAY,iBACP,gBAAc,iBACb;EAW2B,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA;;;;;;;;qBAsB/C,gBAtB+C;EAhBd,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -2,7 +2,7 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { CreatePromoCodeBody, GetAffiliatesParams, GetCheckoutSessionBody, GetPricingBody, GrantAffiliateAccessBody, SendAffiliateInvitationBody, UpdateAffiliateStatusBody, UpdatePromoCodeBody } from "@intlayer/backend";
|
|
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
6
|
//#region src/getIntlayerAPI/stripe.d.ts
|
|
7
7
|
export declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"stripe.d.ts","names":[],"sources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,eACf,mBAAc,QAAA;EAoBkB,qBAAA,eAAA,mBAAc,QAAA;EAiBrB,cAAA,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"}
|
|
@@ -2,7 +2,7 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "@intlayer/backend";
|
|
5
|
+
import { AddTagBody, AddTagResult, DeleteTagParams, DeleteTagResult, GetTagsParams, GetTagsResult, UpdateTagBody, UpdateTagParams, UpdateTagResult } from "@intlayer/backend-contract/tag";
|
|
6
6
|
//#region src/getIntlayerAPI/tag.d.ts
|
|
7
7
|
export declare const getTagAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;;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,aA3BmB;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"}
|
|
@@ -2,7 +2,7 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { TranslateDictionariesBody, TranslateDictionariesResult } from "@intlayer/backend";
|
|
5
|
+
import { TranslateDictionariesBody, TranslateDictionariesResult } from "@intlayer/backend-contract/translation";
|
|
6
6
|
//#region src/getIntlayerAPI/translate.d.ts
|
|
7
7
|
export declare const getTranslateAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
translateDictionaries: (body: TranslateDictionariesBody, otherOptions?: FetcherOptions) => Promise<TranslateDictionariesResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/translate.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"translate.d.ts","names":[],"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,mBA9BmB;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"}
|
|
@@ -2,17 +2,18 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import {
|
|
5
|
+
import { ResponseData } from "@intlayer/backend-contract/responseData";
|
|
6
|
+
import { CreateUserBody, CreateUserResult, GetUserByEmailParams, GetUserByEmailResult, GetUserByIdParams, GetUserByIdResult, GetUsersParams, GetUsersResult, UpdateUserBody, UpdateUserResult, UploadUserAvatarResult, UserAPI } from "@intlayer/backend-contract/user";
|
|
6
7
|
//#region src/getIntlayerAPI/user.d.ts
|
|
7
|
-
type GetUserByAccountParams = {
|
|
8
|
+
export type GetUserByAccountParams = {
|
|
8
9
|
providerAccountId: string;
|
|
9
10
|
provider: string;
|
|
10
11
|
};
|
|
12
|
+
export type GetUserByAccountResult = ResponseData<UserAPI>;
|
|
11
13
|
export declare const getUserAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
12
14
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
13
15
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
14
16
|
getUserById: (userId: GetUserByIdParams['userId'], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
15
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams['providerAccountId'], provider: GetUserByAccountParams['provider'], otherOptions?: FetcherOptions) => Promise<ResponseData<UserAPI>>;
|
|
16
17
|
getUserByEmail: (email: GetUserByEmailParams['email'], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
17
18
|
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
18
19
|
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
@@ -29,7 +30,6 @@ export declare const userEndpoint: CMSEndpoint<{
|
|
|
29
30
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
30
31
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
31
32
|
getUserById: (userId: GetUserByIdParams['userId'], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
32
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams['providerAccountId'], provider: GetUserByAccountParams['provider'], otherOptions?: FetcherOptions) => Promise<ResponseData<UserAPI>>;
|
|
33
33
|
getUserByEmail: (email: GetUserByEmailParams['email'], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
34
34
|
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
35
35
|
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":";;;;;;;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,cAvBuC;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
|
@@ -9,9 +9,11 @@ import { analyticsEndpoint, getAnalyticsAPI } from "./getIntlayerAPI/analytics.j
|
|
|
9
9
|
import { assetEndpoint, getAssetAPI } from "./getIntlayerAPI/asset.js";
|
|
10
10
|
import { AuditEvent, DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, auditEndpoint, getAuditAPI } from "./getIntlayerAPI/audit.js";
|
|
11
11
|
import { BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, bitbucketEndpoint, getBitbucketAPI } from "./getIntlayerAPI/bitbucket.js";
|
|
12
|
+
import { codebergEndpoint, getCodebergAPI } from "./getIntlayerAPI/codeberg.js";
|
|
12
13
|
import { dictionaryEndpoint, getDictionaryAPI } from "./getIntlayerAPI/dictionary.js";
|
|
13
|
-
import { editorEndpoint, getEditorAPI } from "./getIntlayerAPI/editor.js";
|
|
14
|
+
import { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult, editorEndpoint, getEditorAPI } from "./getIntlayerAPI/editor.js";
|
|
14
15
|
import { environmentEndpoint, getEnvironmentAPI } from "./getIntlayerAPI/environment.js";
|
|
16
|
+
import { getGiteeAPI, giteeEndpoint } from "./getIntlayerAPI/gitee.js";
|
|
15
17
|
import { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, getGithubAPI, githubEndpoint } from "./getIntlayerAPI/github.js";
|
|
16
18
|
import { GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, getGitlabAPI, gitlabEndpoint } from "./getIntlayerAPI/gitlab.js";
|
|
17
19
|
import { getNewsletterAPI, newsletterEndpoint } from "./getIntlayerAPI/newsletter.js";
|
|
@@ -25,10 +27,11 @@ import { GetDemoSessionResult, getStatusAPI, statusEndpoint } from "./getIntlaye
|
|
|
25
27
|
import { getStripeAPI, stripeEndpoint } from "./getIntlayerAPI/stripe.js";
|
|
26
28
|
import { getTagAPI, tagEndpoint } from "./getIntlayerAPI/tag.js";
|
|
27
29
|
import { TranslateDictionariesBody, TranslateDictionariesResult, getTranslateAPI, translateEndpoint } from "./getIntlayerAPI/translate.js";
|
|
28
|
-
import { getUserAPI, userEndpoint } from "./getIntlayerAPI/user.js";
|
|
30
|
+
import { GetUserByAccountParams, GetUserByAccountResult, getUserAPI, userEndpoint } from "./getIntlayerAPI/user.js";
|
|
29
31
|
import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
32
|
+
import { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeRepository, createForgeAPI } from "./getIntlayerAPI/forge.js";
|
|
30
33
|
import { IntlayerAPIProxy, getIntlayerAPIProxy } from "./proxy.js";
|
|
31
34
|
import { BACKEND_INTERNAL_URL_ENVIRONMENT_VARIABLE, resolveInternalBackendUrl } from "./resolveInternalBackendUrl.js";
|
|
32
|
-
import { AIOptions } from "./types.js";
|
|
35
|
+
import { AIOptions, DictionaryAPI, EnvironmentAPI, MessageEventData, ProjectAPI } from "./types.js";
|
|
33
36
|
import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, ChatBody, ChatResult, ClientAction, aiEndpoint, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
34
|
-
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, DiscoverUrlsParams, DiscoverUrlsResult, FetcherError, FetcherOptions, GetDemoSessionResult, GetRecursiveAuditStatusParams, type GetRecursiveAuditStatusResult, type GetScannedHostParams, type GetScannedHostResult, type GetScannedHostsQuery, type GetScannedHostsResult, type GetTechnologyUsageQuery, type GetTechnologyUsageResult, GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, IntlayerAPI, IntlayerAPIProxy, IntlayerCMS, IntlayerCMSOptions, OtherShowcaseProjectsQuery, RecursiveAuditJobParams, ScanUrlBody, ShowcaseProjectsQuery, StartRecursiveAuditBody, type StartRecursiveAuditResult, type TranslateDictionariesBody, type TranslateDictionariesResult, aiEndpoint, analyticsEndpoint, assetEndpoint, auditEndpoint, bitbucketEndpoint, clearAccessTokenCache, createAuthManager, createEndpoint, createIntlayerCMS, dictionaryEndpoint, editorEndpoint, environmentEndpoint, fetchDistantDictionaries, fetchDistantDictionary, fetcher, fetcherOptions, getAiAPI, getAnalyticsAPI, getAssetAPI, getAuditAPI, getBitbucketAPI, getDictionaryAPI, getEditorAPI, getEnvironmentAPI, getGithubAPI, getGitlabAPI, getIntlayerAPI, getIntlayerAPIProxy, getNewsletterAPI, getOAuthAPI, getOrganizationAPI, getProjectAPI, getReviewerAPI, getSearchAPI, getShowcaseProjectAPI, getStatusAPI, getStripeAPI, getTagAPI, getTranslateAPI, getUserAPI, githubEndpoint, gitlabEndpoint, newsletterEndpoint, organizationEndpoint, projectEndpoint, resolveInternalBackendUrl, reviewerEndpoint, searchEndpoint, showcaseProjectEndpoint, statusEndpoint, stripeEndpoint, tagEndpoint, translateEndpoint, userEndpoint };
|
|
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 };
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
-
import { DictionaryAPI } from "@intlayer/backend";
|
|
2
|
+
import { DictionaryAPI } from "@intlayer/backend-contract/dictionary";
|
|
3
3
|
//#region src/public/createPublicClient.d.ts
|
|
4
4
|
/** Options accepted by {@link createPublicClient}. */
|
|
5
5
|
export type PublicClientOptions = {
|
|
@@ -22,12 +22,6 @@ export type PublicClient = {
|
|
|
22
22
|
*/
|
|
23
23
|
getDictionaries: (keys: string[]) => Promise<DictionaryAPI[]>;
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
26
|
-
* Creates a {@link PublicClient} for the configured project.
|
|
27
|
-
*
|
|
28
|
-
* @param options - Optional configuration override.
|
|
29
|
-
* @returns A client that authenticates itself with the public project key.
|
|
30
|
-
*/
|
|
31
25
|
export declare const createPublicClient: ({ intlayerConfig }?: PublicClientOptions) => PublicClient;
|
|
32
26
|
//#endregion
|
|
33
27
|
//# 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"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DictionaryAPI } from "@intlayer/backend-contract/dictionary";
|
|
2
|
+
import { EnvironmentAPI, ProjectAPI } from "@intlayer/backend-contract/project";
|
|
3
|
+
import { AIOptions } from "@intlayer/backend-contract/ai";
|
|
4
|
+
import { MessageEventData } from "@intlayer/backend-contract/eventListener";
|
|
5
|
+
export type { AIOptions, DictionaryAPI, EnvironmentAPI, MessageEventData, ProjectAPI };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/api",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.0",
|
|
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": [
|
|
@@ -68,6 +68,16 @@
|
|
|
68
68
|
"require": "./dist/cjs/getIntlayerAPI/bitbucket.cjs",
|
|
69
69
|
"import": "./dist/esm/getIntlayerAPI/bitbucket.mjs"
|
|
70
70
|
},
|
|
71
|
+
"./gitee": {
|
|
72
|
+
"types": "./dist/types/getIntlayerAPI/gitee.d.ts",
|
|
73
|
+
"require": "./dist/cjs/getIntlayerAPI/gitee.cjs",
|
|
74
|
+
"import": "./dist/esm/getIntlayerAPI/gitee.mjs"
|
|
75
|
+
},
|
|
76
|
+
"./codeberg": {
|
|
77
|
+
"types": "./dist/types/getIntlayerAPI/codeberg.d.ts",
|
|
78
|
+
"require": "./dist/cjs/getIntlayerAPI/codeberg.cjs",
|
|
79
|
+
"import": "./dist/esm/getIntlayerAPI/codeberg.mjs"
|
|
80
|
+
},
|
|
71
81
|
"./cms": {
|
|
72
82
|
"types": "./dist/types/cms/index.d.ts",
|
|
73
83
|
"require": "./dist/cjs/cms/index.cjs",
|
|
@@ -180,6 +190,12 @@
|
|
|
180
190
|
"bitbucket": [
|
|
181
191
|
"./dist/types/getIntlayerAPI/bitbucket.d.ts"
|
|
182
192
|
],
|
|
193
|
+
"gitee": [
|
|
194
|
+
"./dist/types/getIntlayerAPI/gitee.d.ts"
|
|
195
|
+
],
|
|
196
|
+
"codeberg": [
|
|
197
|
+
"./dist/types/getIntlayerAPI/codeberg.d.ts"
|
|
198
|
+
],
|
|
183
199
|
"asset": [
|
|
184
200
|
"./dist/types/getIntlayerAPI/asset.d.ts"
|
|
185
201
|
],
|
|
@@ -265,12 +281,13 @@
|
|
|
265
281
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
266
282
|
},
|
|
267
283
|
"dependencies": {
|
|
284
|
+
"@intlayer/backend-contract": "9.6.0",
|
|
268
285
|
"@intlayer/config": "9.6.0",
|
|
269
|
-
"@intlayer/types": "9.
|
|
286
|
+
"@intlayer/types": "9.7.0",
|
|
270
287
|
"defu": "6.1.7"
|
|
271
288
|
},
|
|
272
289
|
"devDependencies": {
|
|
273
|
-
"@types/node": "^
|
|
290
|
+
"@types/node": "^26",
|
|
274
291
|
"@utils/ts-config": "1.0.4",
|
|
275
292
|
"@utils/ts-config-types": "1.0.4",
|
|
276
293
|
"@utils/tsdown-config": "1.0.4",
|