@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":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;qBAQa,yBAAsB,uBACZ,gBACL,mBACf,QAAQ"}
|
package/dist/types/fetcher.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/fetcher.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Error thrown when the backend answers with a non-ok response.
|
|
4
3
|
*
|
|
@@ -88,5 +87,4 @@ export declare const fetcherOptions: FetcherOptions;
|
|
|
88
87
|
* ```
|
|
89
88
|
*/
|
|
90
89
|
export declare const fetcher: <T>(url: string, ...options: FetcherOptions[]) => Promise<T>;
|
|
91
|
-
//#endregion
|
|
92
90
|
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":";;;;;;;qBASa,qBAAqB;;WAEhB;;WAEA;;WAEA;EAEhB,YACE,iBACA;IAAW;IAAgB;IAAe;;;;;;;;YAgBlC,iBAAiB,KAAK;;;;EAIhC,OAAO;;;;EAIP,SACI,yFAKA;;;;;;;qBAQO,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6FhB,UAAiB,GAAC,gBAClB,SACC,qBACX,QAAQ"}
|
|
@@ -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
|
+
import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteResponse, ChatCompletionRequestMessage, ChatResult, CustomQueryBody, CustomQueryResult, GetAICreditUsageParams, GetAICreditUsageResult, GetAICreditsResult, GetAIStatsResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult } from "@intlayer/backend-contract/ai";
|
|
4
5
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteResponse, ChatCompletionRequestMessage, ChatResult, CustomQueryBody, CustomQueryResult, GetAIStatsResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult } from "@intlayer/backend-contract/ai";
|
|
6
|
-
//#region src/getIntlayerAPI/ai.d.ts
|
|
7
6
|
export type AutocompleteBody = {
|
|
8
7
|
text: string;
|
|
9
8
|
aiOptions?: AIOptions;
|
|
@@ -15,6 +14,8 @@ export type AskDocQuestionBody = {
|
|
|
15
14
|
messages: ChatCompletionRequestMessage[];
|
|
16
15
|
discussionId: string;
|
|
17
16
|
onMessage?: (chunk: string) => void;
|
|
17
|
+
/** Receives the summarized reasoning of the model as it streams. */
|
|
18
|
+
onReasoning?: (chunk: string) => void;
|
|
18
19
|
onDone?: (response: AskDocQuestionResult) => void;
|
|
19
20
|
};
|
|
20
21
|
export type ClientAction = {
|
|
@@ -42,6 +43,8 @@ export declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?
|
|
|
42
43
|
autocomplete: (body?: AutocompleteBody, otherOptions?: FetcherOptions) => Promise<AutocompleteResponse>;
|
|
43
44
|
getDiscussions: (params?: GetDiscussionsParams, otherOptions?: FetcherOptions) => Promise<GetDiscussionsResult>;
|
|
44
45
|
getAIStats: (otherOptions?: FetcherOptions) => Promise<GetAIStatsResult>;
|
|
46
|
+
getAICredits: (otherOptions?: FetcherOptions) => Promise<GetAICreditsResult>;
|
|
47
|
+
getAICreditUsage: (params?: GetAICreditUsageParams, otherOptions?: FetcherOptions) => Promise<GetAICreditUsageResult>;
|
|
45
48
|
};
|
|
46
49
|
/**
|
|
47
50
|
* Authenticated `ai` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -61,7 +64,8 @@ export declare const aiEndpoint: CMSEndpoint<{
|
|
|
61
64
|
autocomplete: (body?: AutocompleteBody, otherOptions?: FetcherOptions) => Promise<AutocompleteResponse>;
|
|
62
65
|
getDiscussions: (params?: GetDiscussionsParams, otherOptions?: FetcherOptions) => Promise<GetDiscussionsResult>;
|
|
63
66
|
getAIStats: (otherOptions?: FetcherOptions) => Promise<GetAIStatsResult>;
|
|
67
|
+
getAICredits: (otherOptions?: FetcherOptions) => Promise<GetAICreditsResult>;
|
|
68
|
+
getAICreditUsage: (params?: GetAICreditUsageParams, otherOptions?: FetcherOptions) => Promise<GetAICreditUsageResult>;
|
|
64
69
|
}>;
|
|
65
|
-
//#endregion
|
|
66
70
|
export type { AskDocQuestionResult, ChatResult };
|
|
67
71
|
//# sourceMappingURL=ai.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":";;;;;YAoCY;EACV;EACA,YAAY;EACZ;EACA;EACA;;YAGU;EACV,UAAU;EACV;EACA,aAAa;;EAEb,eAAe;EACf,UAAU,UAAU;;YAGV;EACN;EAAkB;;EAClB;;YAEM;EACV,UAAU;EACV;EACA,aAAa;EACb,UAAU,UAAU;EACpB,YAAY,QAAQ;;qBAoDT,WAAQ,iBACH,gBAAc,iBACb;EAWR,cAAA,OAAA,iBAAe,eACR,mBAAc,QAAA;EAkBrB,gBAAA,OAAA,mBAAiB,eACV,mBAAc,QAAA;EAkBrB,0BAAA,OAAA,6BAA2B,eACpB,mBAAc,QAAA;EAkBrB,+BAAA,OAAA,kCAAgC,eACzB,mBAAc,QAAA;EAsBrB,kCAAA,OAAA,qCAAmC,eAC5B,mBAAc,QAAA;EAsBrB,WAAA,OAAA,cAAY,eACL,mBAAc,QAAA;EAgCrB,iBAAA,OAAA,oBAAkB,eACX,mBAAc;EAqEH,OAAA,OAAA,UAAQ,eAAgB,mBAAc;EAiExD,eAAA,OAAA,kBAAgB,eACT,mBAAc,QAAA;EAgBnB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAiBU,aAAA,eAAA,mBAAc,QAAA;EAcZ,eAAA,eAAA,mBAAc,QAAA;EAc7C,mBAAA,SAAA,wBAAsB,eACjB,mBAAc,QAAA;;;;;;;;qBAmCnB,YAnCmBA;EA/UrB,cAAA,OAAA,iBAAe,eACR,mBAAc,QAAA;EAkBrB,gBAAA,OAAA,mBAAiB,eACV,mBAAc,QAAA;EAkBrB,0BAAA,OAAA,6BAA2B,eACpB,mBAAc,QAAA;EAkBrB,+BAAA,OAAA,kCAAgC,eACzB,mBAAc,QAAA;EAsBrB,kCAAA,OAAA,qCAAmC,eAC5B,mBAAc,QAAA;EAsBrB,WAAA,OAAA,cAAY,eACL,mBAAc,QAAA;EAgCrB,iBAAA,OAAA,oBAAkB,eACX,mBAAc;EAqEH,OAAA,OAAA,UAAQ,eAAgB,mBAAc;EAiExD,eAAA,OAAA,kBAAgB,eACT,mBAAc,QAAA;EAgBnB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAiBU,aAAA,eAAA,mBAAc,QAAA;EAcZ,eAAA,eAAA,mBAAc,QAAA;EAc7C,mBAAA,SAAA,wBAAsB,eACjB,mBAAc,QAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
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
|
-
import { AudienceRange, GetAnalyticsOverviewResult, GetAudienceResult, GetContentStatsResult, GetExperimentResultsResult, GetPageMetadataResult, IngestAnalyticsBody, IngestAnalyticsResult } from "@intlayer/backend-contract/analytics";
|
|
6
|
-
//#region src/getIntlayerAPI/analytics.d.ts
|
|
5
|
+
import { AudienceRange, GetAnalyticsOverviewResult, GetAudienceResult, GetContentStatsResult, GetExperimentResultsResult, GetLiveVisitorFlowResult, GetPageFlowResult, GetPageMetadataResult, IngestAnalyticsBody, IngestAnalyticsResult } from "@intlayer/backend-contract/analytics";
|
|
7
6
|
export declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
9
8
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
10
9
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
10
|
+
getLiveVisitorFlow: (visitorId: string, otherOptions?: FetcherOptions) => Promise<GetLiveVisitorFlowResult>;
|
|
11
|
+
getPageFlow: (range: AudienceRange, startUrl: string, otherOptions?: FetcherOptions) => Promise<GetPageFlowResult>;
|
|
11
12
|
getContentStats: (otherOptions?: FetcherOptions) => Promise<GetContentStatsResult>;
|
|
12
13
|
getExperimentResults: (experimentKey: string, otherOptions?: FetcherOptions) => Promise<GetExperimentResultsResult>;
|
|
13
14
|
getPageMetadata: (url: string, otherOptions?: FetcherOptions) => Promise<GetPageMetadataResult>;
|
|
@@ -22,9 +23,10 @@ export declare const analyticsEndpoint: CMSEndpoint<{
|
|
|
22
23
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
23
24
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
24
25
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
26
|
+
getLiveVisitorFlow: (visitorId: string, otherOptions?: FetcherOptions) => Promise<GetLiveVisitorFlowResult>;
|
|
27
|
+
getPageFlow: (range: AudienceRange, startUrl: string, otherOptions?: FetcherOptions) => Promise<GetPageFlowResult>;
|
|
25
28
|
getContentStats: (otherOptions?: FetcherOptions) => Promise<GetContentStatsResult>;
|
|
26
29
|
getExperimentResults: (experimentKey: string, otherOptions?: FetcherOptions) => Promise<GetExperimentResultsResult>;
|
|
27
30
|
getPageMetadata: (url: string, otherOptions?: FetcherOptions) => Promise<GetPageMetadataResult>;
|
|
28
31
|
}>;
|
|
29
|
-
//#endregion
|
|
30
32
|
//# sourceMappingURL=analytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":";;;;;qBA6Ca,kBAAe,iBACV,gBAAc,iBACb;EAYT,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAoBW,cAAA,eAAA,mBAAc,QAAA;EAoB9C,cAAA,QAAA,wBAAsB,eACf,mBAAc,QAAA;EAgFjB,qBAAA,mBAAM,eACH,mBAAc,QAAA;EArBrB,cAAA,OAAA,eAAa,kBACJ,eACF,mBAAc,QAAA;EA1Ce,kBAAA,eAAA,mBAAc,QAAA;EAkB1C,uBAAA,uBAAM,eACP,mBAAc,QAAA;EA8DvB,kBAAA,aAAM,eACG,mBAAc,QAAA;;;;;;;;qBAkCnB,mBAlCmBA;EAhJtB,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAoBW,cAAA,eAAA,mBAAc,QAAA;EAoB9C,cAAA,QAAA,wBAAsB,eACf,mBAAc,QAAA;EAgFjB,qBAAA,mBAAM,eACH,mBAAc,QAAA;EArBrB,cAAA,OAAA,eAAa,kBACJ,eACF,mBAAc,QAAA;EA1Ce,kBAAA,eAAA,mBAAc,QAAA;EAkB1C,uBAAA,uBAAM,eACP,mBAAc,QAAA;EA8DvB,kBAAA,aAAM,eACG,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 { DeleteAssetResult, GetAssetByIdResult, GetAssetsResult, UpdateAssetResult, UploadAssetResult } from "@intlayer/backend-contract/asset";
|
|
6
|
-
//#region src/getIntlayerAPI/asset.d.ts
|
|
7
6
|
export declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
9
8
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
@@ -32,5 +31,4 @@ export declare const assetEndpoint: CMSEndpoint<{
|
|
|
32
31
|
}, otherOptions?: FetcherOptions) => Promise<UpdateAssetResult>;
|
|
33
32
|
deleteAsset: (assetId: string, otherOptions?: FetcherOptions) => Promise<DeleteAssetResult>;
|
|
34
33
|
}>;
|
|
35
|
-
//#endregion
|
|
36
34
|
//# sourceMappingURL=asset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":";;;;;qBAkCa,cAAW,iBACN,gBAAc,iBACb;EAYR,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAmBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAyCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAoBnB,cAAA,iBAAM,eACD,mBAAc,QAAA;;;;;;;;qBA0BnB,eA1BmBA;EA9GrB,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAmBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAyCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAoBnB,cAAA,iBAAM,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 { AuditEvent, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, StartRecursiveAuditResult } from "@intlayer/backend-contract/scan";
|
|
6
|
-
//#region src/getIntlayerAPI/audit.d.ts
|
|
7
6
|
export type ScanUrlBody = {
|
|
8
7
|
url: string;
|
|
9
8
|
/**
|
|
@@ -116,6 +115,5 @@ export declare const auditEndpoint: CMSEndpoint<{
|
|
|
116
115
|
success: boolean;
|
|
117
116
|
}>;
|
|
118
117
|
}>;
|
|
119
|
-
//#endregion
|
|
120
118
|
export type { AuditEvent, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, StartRecursiveAuditResult };
|
|
121
119
|
//# sourceMappingURL=audit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;YAiCY;EACV;;;;;EAKA;EACA,aAAa,OAAO;EACpB;;YAGU;EACV;;YAGU;EACV;;YAGU;EACV;EACA;;YAGU;EACV;;YAGU;EACV;;qBA0BW,cAAW,iBACN,gBAAc,iBACb;EAmLN,qBAAA,SAAA,yBAAuB,eAClB,mBAAc,QAAA;EAcnB,kBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAanB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EA/LnB,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAuErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc;;;;;;;;;;;;;;;;;;;;;;;EAcnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAUhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAUhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;;;;;;;;qBA0EhB,eA5EmBA;EAenB,qBAAA,SAAA,yBAAuB,eAClB,mBAAc,QAAA;EAcnB,kBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAanB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EA/LnB,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAuErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc;;;;;;;;;;;;;;;;;;;;;;;EAcnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAUhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAUhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH"}
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
-
//#region src/getIntlayerAPI/bitbucket.d.ts
|
|
6
5
|
export type BitbucketRepository = {
|
|
7
6
|
uuid: string;
|
|
8
7
|
name: string;
|
|
@@ -90,5 +89,4 @@ export declare const bitbucketEndpoint: CMSEndpoint<{
|
|
|
90
89
|
checkIntlayerConfig: (token: string | null | undefined, workspace: string, repoSlug: string, branch?: string, otherOptions?: FetcherOptions) => Promise<BitbucketCheckConfigResult>;
|
|
91
90
|
getConfigFile: (token: string | null | undefined, workspace: string, repoSlug: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<BitbucketGetConfigFileResult>;
|
|
92
91
|
}>;
|
|
93
|
-
//#endregion
|
|
94
92
|
//# sourceMappingURL=bitbucket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"bitbucket.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;YAYY;EACV;EACA;EACA;EACA;EACA;IACE;IACA;;EAEF;IACE;MACE;;;EAGJ;IACE;IACA;IACA;;EAEF;IACE;IACA;IACA;;EAEF;EACA;;YAGU;EACV;;YAGU;EACV;IACE;;;YAIQ;EACV,MAAM;;YAGI;EACV;EACA;EACA;EACA;;YAGU;EACV;IACE;IACA;;;YAIQ;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;IACE;;;qBAqBS,kBAAe,iBACV,gBAAc,iBACb;EAUF,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAqBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA;;;;;;;;qBAqCnB,mBArCmBA;EAzFf,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAqBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA"}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
|
-
//#region src/getIntlayerAPI/codeberg.d.ts
|
|
5
4
|
/** Codeberg (Forgejo) repositories of the linked account. */
|
|
6
5
|
export declare const getCodebergAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: import("@intlayer/types/config").IntlayerConfig) => {
|
|
7
6
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
8
|
-
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<
|
|
9
|
-
|
|
7
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
8
|
+
message?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
success: boolean;
|
|
11
|
+
status: number;
|
|
12
|
+
data: {
|
|
13
|
+
hasConfig: boolean;
|
|
14
|
+
configPaths: string[];
|
|
15
|
+
} | null;
|
|
16
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
17
|
+
}>;
|
|
18
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
19
|
+
message?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
success: boolean;
|
|
22
|
+
status: number;
|
|
23
|
+
data: {
|
|
24
|
+
content: string;
|
|
25
|
+
} | null;
|
|
26
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
27
|
+
}>;
|
|
10
28
|
};
|
|
11
29
|
/**
|
|
12
30
|
* Authenticated `codeberg` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -16,8 +34,26 @@ export declare const getCodebergAPI: (authAPIOptions?: FetcherOptions, intlayerC
|
|
|
16
34
|
*/
|
|
17
35
|
export declare const codebergEndpoint: CMSEndpoint<{
|
|
18
36
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
19
|
-
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<
|
|
20
|
-
|
|
37
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
38
|
+
message?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
success: boolean;
|
|
41
|
+
status: number;
|
|
42
|
+
data: {
|
|
43
|
+
hasConfig: boolean;
|
|
44
|
+
configPaths: string[];
|
|
45
|
+
} | null;
|
|
46
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
47
|
+
}>;
|
|
48
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
49
|
+
message?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
success: boolean;
|
|
52
|
+
status: number;
|
|
53
|
+
data: {
|
|
54
|
+
content: string;
|
|
55
|
+
} | null;
|
|
56
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
57
|
+
}>;
|
|
21
58
|
}>;
|
|
22
|
-
//#endregion
|
|
23
59
|
//# sourceMappingURL=codeberg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeberg.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/codeberg.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"codeberg.d.ts","names":["_$__0.FetcherOptions"],"sources":["../../../src/getIntlayerAPI/codeberg.ts"],"mappings":";;;;qBAUa,iBAAc,iBAAdA,gBAAc,kDAAA;E,wDAAAA,mB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQd,kB;E,wDAAAA,mB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
4
|
-
import {
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
5
4
|
import { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesByKeysResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult } from "@intlayer/backend-contract/dictionary";
|
|
6
|
-
|
|
5
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
7
6
|
export declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
9
8
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
@@ -32,5 +31,4 @@ export declare const dictionaryEndpoint: CMSEndpoint<{
|
|
|
32
31
|
updateDictionary: (dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
|
|
33
32
|
deleteDictionary: (id: DeleteDictionaryParam['dictionaryId'], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
34
33
|
}>;
|
|
35
|
-
//#endregion
|
|
36
34
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;qBAiDa,mBAAgB,iBACX,gBAAc,iBACb;EAUL,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAoBmB,sBAAA,eAAA,mBAAc,QAAA;EAkB/C,iCAAA,eAAA,mBAAc,QAAA;EAqBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EAyBZ,wBAAA,0BAAQ,UACd,+BAA6B,eACzB,mBAAc,QAAA;EA0Cd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAnBtB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EAuChB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAsBxB,mBAAA,IAAA,uCAAqC,eAC3B,mBAAc,QAAA;;;;;;;;qBAmCnB,oBAnCmBA;EAjLlB,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAoBmB,sBAAA,eAAA,mBAAc,QAAA;EAkB/C,iCAAA,eAAA,mBAAc,QAAA;EAqBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EAyBZ,wBAAA,0BAAQ,UACd,+BAA6B,eACzB,mBAAc,QAAA;EA0Cd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAnBtB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EAuChB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAsBxB,mBAAA,IAAA,uCAAqC,eAC3B,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 { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "intlayer-editor";
|
|
6
|
-
//#region src/getIntlayerAPI/editor.d.ts
|
|
7
6
|
export declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
|
|
9
8
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
@@ -20,6 +19,5 @@ export declare const editorEndpoint: CMSEndpoint<{
|
|
|
20
19
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
21
20
|
writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
|
|
22
21
|
}>;
|
|
23
|
-
//#endregion
|
|
24
22
|
export type { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult };
|
|
25
23
|
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"editor.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;qBAmBa,eAAY,iBACP,gBAAc,iBACb;EAyBD,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;;;;;;;;qBAyBnB,gBAzBmBA;EAjBd,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,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 { AddEnvironmentBody, AddEnvironmentResult, DeleteEnvironmentResult, MigrateEnvironmentBody, MigrateEnvironmentResult, ResetToProductionEnvironmentResult, SelectEnvironmentResult, UpdateEnvironmentBody, UpdateEnvironmentResult } from "@intlayer/backend-contract/environment";
|
|
6
|
-
//#region src/getIntlayerAPI/environment.d.ts
|
|
7
6
|
export declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
|
|
9
8
|
updateEnvironment: (environmentId: string, body: UpdateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<UpdateEnvironmentResult>;
|
|
@@ -26,5 +25,4 @@ export declare const environmentEndpoint: CMSEndpoint<{
|
|
|
26
25
|
resetToProductionEnvironment: (otherOptions?: FetcherOptions) => Promise<ResetToProductionEnvironmentResult>;
|
|
27
26
|
migrateEnvironment: (body: MigrateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<MigrateEnvironmentResult>;
|
|
28
27
|
}>;
|
|
29
|
-
//#endregion
|
|
30
28
|
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"environment.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":";;;;;qBAuCa,oBAAiB,iBACZ,gBAAc,iBACb;EAMT,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAcb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAeb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAeb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAed,+BAAA,eAAA,mBAAc,QAAA;EActB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA;;;;;;;;qBA6BnB,qBA7BmBA;EA/EtB,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAcb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAeb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAeb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAed,+BAAA,eAAA,mBAAc,QAAA;EActB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA"}
|
|
@@ -2,16 +2,33 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
import { RouteGroup } from "@intlayer/backend-contract/defineRoute";
|
|
4
4
|
import { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeListReposResult as ForgeListReposResult$1, ForgeRepository, ForgeRoutes } from "@intlayer/backend-contract/gitProviders";
|
|
5
|
-
//#region src/getIntlayerAPI/forge.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* Client of a Gitea-compatible forge (Codeberg, Gitee). Omitting `token` makes
|
|
8
7
|
* the backend use the account linked to the session.
|
|
9
8
|
*/
|
|
10
9
|
export declare const createForgeAPI: <Prefix extends string>(group: Pick<RouteGroup<Prefix, ForgeRoutes>, 'prefix'>) => (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
11
10
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<ForgeListReposResult$1>;
|
|
12
|
-
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<
|
|
13
|
-
|
|
11
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
12
|
+
message?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
success: boolean;
|
|
15
|
+
status: number;
|
|
16
|
+
data: {
|
|
17
|
+
hasConfig: boolean;
|
|
18
|
+
configPaths: string[];
|
|
19
|
+
} | null;
|
|
20
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
21
|
+
}>;
|
|
22
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
23
|
+
message?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
success: boolean;
|
|
26
|
+
status: number;
|
|
27
|
+
data: {
|
|
28
|
+
content: string;
|
|
29
|
+
} | null;
|
|
30
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
31
|
+
}>;
|
|
14
32
|
};
|
|
15
|
-
//#endregion
|
|
16
33
|
export type { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeRepository };
|
|
17
34
|
//# sourceMappingURL=forge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forge.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/forge.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"forge.d.ts","names":["ForgeListReposResult"],"sources":["../../../src/getIntlayerAPI/forge.ts"],"mappings":";;;;;;;;qBAqCa,iBACV,uBAAqB,OACb,KAAK,WAAW,QAAQ,6BAAuB,iBAEvC,gBAAc,iBAAwB;EAM3C,kBAAA,uBAAa,eACP,mBAAc,QAAAA;EAWrB,sBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACA,mBAAc;;;;;;;;;;;EAcrB,gBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACF,eACE,mBAAc"}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
3
|
import "../index.js";
|
|
4
|
-
//#region src/getIntlayerAPI/gitee.d.ts
|
|
5
4
|
/** Gitee repositories of the linked account. */
|
|
6
5
|
export declare const getGiteeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: import("@intlayer/types/config").IntlayerConfig) => {
|
|
7
6
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
8
|
-
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<
|
|
9
|
-
|
|
7
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
8
|
+
message?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
success: boolean;
|
|
11
|
+
status: number;
|
|
12
|
+
data: {
|
|
13
|
+
hasConfig: boolean;
|
|
14
|
+
configPaths: string[];
|
|
15
|
+
} | null;
|
|
16
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
17
|
+
}>;
|
|
18
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
19
|
+
message?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
success: boolean;
|
|
22
|
+
status: number;
|
|
23
|
+
data: {
|
|
24
|
+
content: string;
|
|
25
|
+
} | null;
|
|
26
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
27
|
+
}>;
|
|
10
28
|
};
|
|
11
29
|
/**
|
|
12
30
|
* Authenticated `gitee` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -16,8 +34,26 @@ export declare const getGiteeAPI: (authAPIOptions?: FetcherOptions, intlayerConf
|
|
|
16
34
|
*/
|
|
17
35
|
export declare const giteeEndpoint: CMSEndpoint<{
|
|
18
36
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
19
|
-
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<
|
|
20
|
-
|
|
37
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
38
|
+
message?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
success: boolean;
|
|
41
|
+
status: number;
|
|
42
|
+
data: {
|
|
43
|
+
hasConfig: boolean;
|
|
44
|
+
configPaths: string[];
|
|
45
|
+
} | null;
|
|
46
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
47
|
+
}>;
|
|
48
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<{
|
|
49
|
+
message?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
success: boolean;
|
|
52
|
+
status: number;
|
|
53
|
+
data: {
|
|
54
|
+
content: string;
|
|
55
|
+
} | null;
|
|
56
|
+
error?: import("@intlayer/backend-contract/responseData").ErrorData | import("@intlayer/backend-contract/responseData").ErrorData[];
|
|
57
|
+
}>;
|
|
21
58
|
}>;
|
|
22
|
-
//#endregion
|
|
23
59
|
//# sourceMappingURL=gitee.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitee.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitee.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"gitee.d.ts","names":["_$__0.FetcherOptions"],"sources":["../../../src/getIntlayerAPI/gitee.ts"],"mappings":";;;;qBAUa,cAAW,iBAAXA,gBAAW,kDAAA;E,wDAAAA,mB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQX,e;E,wDAAAA,mB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
-
//#region src/getIntlayerAPI/github.d.ts
|
|
6
5
|
export type GitHubRepository = {
|
|
7
6
|
id: number;
|
|
8
7
|
name: string;
|
|
@@ -81,5 +80,4 @@ export declare const githubEndpoint: CMSEndpoint<{
|
|
|
81
80
|
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<GitHubGetConfigFileResult>;
|
|
82
81
|
getToken: (otherOptions?: FetcherOptions) => Promise<GitHubGetTokenResult>;
|
|
83
82
|
}>;
|
|
84
|
-
//#endregion
|
|
85
83
|
//# sourceMappingURL=github.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"github.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;YAYY;EACV;EACA;EACA;EACA;IACE;IACA;;EAEF;EACA;EACA;;YAGU;EACV;;YAGU;EACV;IACE;;;YAIQ;EACV,MAAM;;YAGI;EACV;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;IACE;;;YAIQ;EACV;IACE;;;qBAsBS,eAAY,iBACP,gBAAc,iBACb;EAUF,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACF,eACE,mBAAc,QAAA;EAeQ,WAAA,eAAA,mBAAc,QAAA;;;;;;;;qBAuBzC,gBAvByCA;EApGrC,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACF,eACE,mBAAc,QAAA;EAeQ,WAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
-
//#region src/getIntlayerAPI/gitlab.d.ts
|
|
6
5
|
export type GitLabProject = {
|
|
7
6
|
id: number;
|
|
8
7
|
name: string;
|
|
@@ -79,5 +78,4 @@ export declare const gitlabEndpoint: CMSEndpoint<{
|
|
|
79
78
|
checkIntlayerConfig: (token: string | null | undefined, projectId: number, branch?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabCheckConfigResult>;
|
|
80
79
|
getConfigFile: (token: string | null | undefined, projectId: number, branch?: string, path?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetConfigFileResult>;
|
|
81
80
|
}>;
|
|
82
|
-
//#endregion
|
|
83
81
|
//# sourceMappingURL=gitlab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitlab.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"gitlab.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],"mappings":";;;;YAYY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;IACE;IACA;IACA;;;YAIQ;EACV;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV,MAAM;;YAGI;EACV;EACA;EACA;EACA;;YAGU;EACV;IACE;IACA;;;YAIQ;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;IACE;;;qBAqBS,eAAY,iBACP,gBAAc,iBACb;EAWF,aAAA,qBAAM,sBACC,eACN,mBAAc,QAAA;EAkBtB,eAAA,cAAM,qBACO,sBACC,eACN,mBAAc,QAAA;EAkBpB,cAAA,uBAAa,sBACD,eACN,mBAAc,QAAA;EAsBrB,sBAAA,kCAAyB,mBACf,iBACH,sBACM,eACN,mBAAc,QAAA;EA0BrB,gBAAA,kCAAyB,mBACf,iBACH,eACF,sBACQ,eACN,mBAAc,QAAA;;;;;;;;qBAiCnB,gBAjCmBA;EApGf,aAAA,qBAAM,sBACC,eACN,mBAAc,QAAA;EAkBtB,eAAA,cAAM,qBACO,sBACC,eACN,mBAAc,QAAA;EAkBpB,cAAA,uBAAa,sBACD,eACN,mBAAc,QAAA;EAsBrB,sBAAA,kCAAyB,mBACf,iBACH,sBACM,eACN,mBAAc,QAAA;EA0BrB,gBAAA,kCAAyB,mBACf,iBACH,eACF,sBACQ,eACN,mBAAc,QAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { getAiAPI } from "./ai.js";
|
|
2
3
|
import { getAnalyticsAPI } from "./analytics.js";
|
|
3
4
|
import { getAssetAPI } from "./asset.js";
|
|
4
5
|
import { getAuditAPI } from "./audit.js";
|
|
@@ -22,9 +23,7 @@ import { getStripeAPI } from "./stripe.js";
|
|
|
22
23
|
import { getTagAPI } from "./tag.js";
|
|
23
24
|
import { getTranslateAPI } from "./translate.js";
|
|
24
25
|
import { getUserAPI } from "./user.js";
|
|
25
|
-
import { getAiAPI } from "./ai.js";
|
|
26
26
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
27
|
-
//#region src/getIntlayerAPI/index.d.ts
|
|
28
27
|
interface IntlayerAPIReturn {
|
|
29
28
|
asset: ReturnType<typeof getAssetAPI>;
|
|
30
29
|
organization: ReturnType<typeof getOrganizationAPI>;
|
|
@@ -53,5 +52,5 @@ interface IntlayerAPIReturn {
|
|
|
53
52
|
}
|
|
54
53
|
export declare const getIntlayerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => IntlayerAPIReturn;
|
|
55
54
|
export type IntlayerAPI = ReturnType<typeof getIntlayerAPI>;
|
|
56
|
-
|
|
55
|
+
export {};
|
|
57
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;UA6BU;EACR,OAAO,kBAAkB;EACzB,cAAc,kBAAkB;EAChC,SAAS,kBAAkB;EAC3B,aAAa,kBAAkB;EAC/B,MAAM,kBAAkB;EACxB,OAAO,kBAAkB;EACzB,YAAY,kBAAkB;EAC9B,QAAQ,kBAAkB;EAC1B,IAAI,kBAAkB;EACtB,WAAW,kBAAkB;EAC7B,OAAO,kBAAkB;EACzB,KAAK,kBAAkB;EACvB,QAAQ,kBAAkB;EAC1B,QAAQ,kBAAkB;EAC1B,YAAY,kBAAkB;EAC9B,QAAQ,kBAAkB;EAC1B,QAAQ,kBAAkB;EAC1B,WAAW,kBAAkB;EAC7B,UAAU,kBAAkB;EAC5B,OAAO,kBAAkB;EACzB,iBAAiB,kBAAkB;EACnC,WAAW,kBAAkB;EAC7B,UAAU,kBAAkB;EAC5B,QAAQ,kBAAkB;;qBAGf,iBAAc,iBACT,gBAAc,iBACb,KAAK,8BACrB;YAiCS,cAAc,kBAAkB"}
|
|
@@ -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 { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody } from "@intlayer/backend-contract/newsletter";
|
|
6
|
-
//#region src/getIntlayerAPI/newsletter.d.ts
|
|
7
6
|
export declare const getNewsletterAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
9
8
|
unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
@@ -20,5 +19,4 @@ export declare const newsletterEndpoint: CMSEndpoint<{
|
|
|
20
19
|
unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
21
20
|
getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
22
21
|
}>;
|
|
23
|
-
//#endregion
|
|
24
22
|
//# sourceMappingURL=newsletter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"newsletter.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;qBA8Ba,mBAAgB,iBACX,gBAAc,iBACb;EAWT,wBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAsBtB,4BAAA,MAAA,8BAA4B,eACpB,mBAAc,QAAA;EAoBmB,sBAAA,eAAA,mBAAc,QAAA;;;;;;;;qBA2BpD,oBA3BoDA;EA5CvD,wBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAsBtB,4BAAA,MAAA,8BAA4B,eACpB,mBAAc,QAAA;EAoBmB,sBAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -2,11 +2,9 @@ import { FetcherOptions } from "../fetcher.js";
|
|
|
2
2
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
import { CreateCliSessionTokenResult, GetCliSessionMeResult } from "@intlayer/backend-contract/cliSessionToken";
|
|
4
4
|
import { GetOAuth2TokenResult } from "@intlayer/backend-contract/oAuth2";
|
|
5
|
-
//#region src/getIntlayerAPI/oAuth.d.ts
|
|
6
5
|
export declare const getOAuthAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => {
|
|
7
6
|
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
8
7
|
createCliSessionToken: (otherOptions?: FetcherOptions) => Promise<CreateCliSessionTokenResult>;
|
|
9
8
|
getCliSessionMe: (otherOptions?: FetcherOptions) => Promise<GetCliSessionMeResult>;
|
|
10
9
|
};
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=oAuth.d.ts.map
|
|
@@ -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":";;;;qBAqCa,cAAW,iBACN,gBAAc,iBACb,KAAK;EAS4B,uBAAA,eAAA,mBAAc,QAAA;EA0Bb,wBAAA,eAAA,mBAAc,QAAA;EAgBpB,kBAAA,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 { AddOrganizationBody, AddOrganizationMemberBody, AddOrganizationMemberResult, AddOrganizationResult, DeleteOrganizationResult, GetOrganizationsParams, GetOrganizationsResult, SelectOrganizationParam, SelectOrganizationResult, UnselectOrganizationResult, UpdateOrganizationBody, UpdateOrganizationMailerConfigBody, UpdateOrganizationMailerConfigResult, UpdateOrganizationMembersBody, UpdateOrganizationMembersResult, UpdateOrganizationResult } from "@intlayer/backend-contract/organization";
|
|
6
|
-
//#region src/getIntlayerAPI/organization.d.ts
|
|
7
6
|
export declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
9
8
|
addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
@@ -36,5 +35,4 @@ export declare const organizationEndpoint: CMSEndpoint<{
|
|
|
36
35
|
selectOrganization: (organizationId: SelectOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
|
|
37
36
|
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
|
|
38
37
|
}>;
|
|
39
|
-
//#endregion
|
|
40
38
|
//# sourceMappingURL=organization.d.ts.map
|