@intlayer/api 9.6.0 → 9.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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/fetchDistantDictionaries.cjs.map +1 -1
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs +3 -4
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs.map +1 -1
- package/dist/cjs/distantDictionary/index.cjs +2 -2
- package/dist/cjs/fetcher.cjs +2 -3
- package/dist/cjs/fetcher.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/ai.cjs +79 -26
- package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/analytics.cjs +47 -14
- package/dist/cjs/getIntlayerAPI/analytics.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/asset.cjs +41 -12
- package/dist/cjs/getIntlayerAPI/asset.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/audit.cjs +73 -20
- package/dist/cjs/getIntlayerAPI/audit.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs +42 -13
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/codeberg.cjs +20 -0
- package/dist/cjs/getIntlayerAPI/codeberg.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/dictionary.cjs +62 -17
- package/dist/cjs/getIntlayerAPI/dictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/editor.cjs +3 -4
- package/dist/cjs/getIntlayerAPI/editor.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/environment.cjs +47 -14
- package/dist/cjs/getIntlayerAPI/environment.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/forge.cjs +63 -0
- package/dist/cjs/getIntlayerAPI/forge.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/gitee.cjs +20 -0
- package/dist/cjs/getIntlayerAPI/gitee.cjs.map +1 -0
- package/dist/cjs/getIntlayerAPI/github.cjs +47 -14
- package/dist/cjs/getIntlayerAPI/github.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/gitlab.cjs +42 -13
- package/dist/cjs/getIntlayerAPI/gitlab.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs +27 -24
- package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/newsletter.cjs +31 -10
- package/dist/cjs/getIntlayerAPI/newsletter.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/oAuth.cjs +33 -8
- package/dist/cjs/getIntlayerAPI/oAuth.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/organization.cjs +75 -24
- package/dist/cjs/getIntlayerAPI/organization.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/project.cjs +115 -33
- package/dist/cjs/getIntlayerAPI/project.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/reviewer.cjs +145 -35
- package/dist/cjs/getIntlayerAPI/reviewer.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/search.cjs +18 -7
- package/dist/cjs/getIntlayerAPI/search.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs +64 -19
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/status.cjs +19 -7
- package/dist/cjs/getIntlayerAPI/status.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/stripe.cjs +144 -39
- package/dist/cjs/getIntlayerAPI/stripe.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/tag.cjs +36 -11
- package/dist/cjs/getIntlayerAPI/tag.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/translate.cjs +49 -12
- package/dist/cjs/getIntlayerAPI/translate.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/user.cjs +61 -18
- package/dist/cjs/getIntlayerAPI/user.cjs.map +1 -1
- package/dist/cjs/index.cjs +38 -30
- package/dist/cjs/proxy.cjs +28 -25
- package/dist/cjs/proxy.cjs.map +1 -1
- package/dist/cjs/public/createPublicClient.cjs +26 -7
- package/dist/cjs/public/createPublicClient.cjs.map +1 -1
- 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/fetchDistantDictionaries.mjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs +1 -2
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs.map +1 -1
- package/dist/esm/fetcher.mjs +1 -2
- package/dist/esm/fetcher.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/ai.mjs +78 -25
- package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/analytics.mjs +46 -13
- package/dist/esm/getIntlayerAPI/analytics.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/asset.mjs +40 -11
- package/dist/esm/getIntlayerAPI/asset.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/audit.mjs +72 -19
- package/dist/esm/getIntlayerAPI/audit.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/bitbucket.mjs +41 -12
- package/dist/esm/getIntlayerAPI/bitbucket.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/codeberg.mjs +18 -0
- package/dist/esm/getIntlayerAPI/codeberg.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/dictionary.mjs +61 -16
- package/dist/esm/getIntlayerAPI/dictionary.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/editor.mjs +2 -3
- package/dist/esm/getIntlayerAPI/editor.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/environment.mjs +46 -13
- package/dist/esm/getIntlayerAPI/environment.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/forge.mjs +62 -0
- package/dist/esm/getIntlayerAPI/forge.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/gitee.mjs +18 -0
- package/dist/esm/getIntlayerAPI/gitee.mjs.map +1 -0
- package/dist/esm/getIntlayerAPI/github.mjs +46 -13
- package/dist/esm/getIntlayerAPI/github.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/gitlab.mjs +41 -12
- package/dist/esm/getIntlayerAPI/gitlab.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs +6 -3
- package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/newsletter.mjs +30 -9
- package/dist/esm/getIntlayerAPI/newsletter.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/oAuth.mjs +32 -7
- package/dist/esm/getIntlayerAPI/oAuth.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/organization.mjs +74 -23
- package/dist/esm/getIntlayerAPI/organization.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/project.mjs +114 -32
- package/dist/esm/getIntlayerAPI/project.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/reviewer.mjs +144 -34
- package/dist/esm/getIntlayerAPI/reviewer.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/search.mjs +17 -6
- package/dist/esm/getIntlayerAPI/search.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs +63 -18
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/status.mjs +18 -6
- package/dist/esm/getIntlayerAPI/status.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/stripe.mjs +143 -38
- package/dist/esm/getIntlayerAPI/stripe.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/tag.mjs +35 -10
- package/dist/esm/getIntlayerAPI/tag.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/translate.mjs +48 -11
- package/dist/esm/getIntlayerAPI/translate.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/user.mjs +60 -17
- package/dist/esm/getIntlayerAPI/user.mjs.map +1 -1
- package/dist/esm/index.mjs +10 -7
- package/dist/esm/proxy.mjs +6 -3
- package/dist/esm/proxy.mjs.map +1 -1
- package/dist/esm/public/createPublicClient.mjs +26 -7
- package/dist/esm/public/createPublicClient.mjs.map +1 -1
- 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 +1 -3
- package/dist/types/fetcher.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +3 -5
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +3 -5
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +3 -4
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +49 -7
- 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 +59 -0
- package/dist/types/getIntlayerAPI/codeberg.d.ts.map +1 -0
- 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 +4 -5
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +3 -5
- package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/forge.d.ts +34 -0
- package/dist/types/getIntlayerAPI/forge.d.ts.map +1 -0
- package/dist/types/getIntlayerAPI/gitee.d.ts +59 -0
- package/dist/types/getIntlayerAPI/gitee.d.ts.map +1 -0
- 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 +6 -3
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +3 -5
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +2 -2
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +3 -7
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +4 -5
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/reviewer.d.ts +682 -39
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +3 -5
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +3 -5
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +5 -8
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +3 -5
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +3 -5
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +3 -5
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +6 -8
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +12 -9
- 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 -9
- 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 +5 -2
- package/package.json +23 -6
|
@@ -1,8 +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
6
|
export declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
7
7
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
8
8
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
@@ -31,5 +31,4 @@ export declare const assetEndpoint: CMSEndpoint<{
|
|
|
31
31
|
}, otherOptions?: FetcherOptions) => Promise<UpdateAssetResult>;
|
|
32
32
|
deleteAsset: (assetId: string, otherOptions?: FetcherOptions) => Promise<DeleteAssetResult>;
|
|
33
33
|
}>;
|
|
34
|
-
//#endregion
|
|
35
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
|
-
import { AuditEvent, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, StartRecursiveAuditResult } from "@intlayer/backend";
|
|
6
|
-
//#region src/getIntlayerAPI/audit.d.ts
|
|
5
|
+
import { AuditEvent, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, StartRecursiveAuditResult } from "@intlayer/backend-contract/scan";
|
|
7
6
|
export type ScanUrlBody = {
|
|
8
7
|
url: string;
|
|
9
8
|
/**
|
|
@@ -37,7 +36,29 @@ export declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConf
|
|
|
37
36
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
38
37
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
39
38
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
40
|
-
getRecursiveAuditStatus: (params?: GetRecursiveAuditStatusParams, otherOptions?: FetcherOptions) => Promise<
|
|
39
|
+
getRecursiveAuditStatus: (params?: GetRecursiveAuditStatusParams, otherOptions?: FetcherOptions) => Promise<{
|
|
40
|
+
job: {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
_id: string;
|
|
43
|
+
targetUrl: string;
|
|
44
|
+
userId?: string | undefined;
|
|
45
|
+
status: "cancelled" | "completed" | "failed" | "paused" | "pending" | "running";
|
|
46
|
+
progress: number;
|
|
47
|
+
totalPageCount: number;
|
|
48
|
+
completedPageCount: number;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
updatedAt: string;
|
|
51
|
+
};
|
|
52
|
+
pages: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
_id: string;
|
|
55
|
+
url: string;
|
|
56
|
+
status: "completed" | "failed" | "pending" | "running";
|
|
57
|
+
score?: number | undefined;
|
|
58
|
+
error?: string | undefined;
|
|
59
|
+
results?: unknown[] | undefined;
|
|
60
|
+
}[];
|
|
61
|
+
}>;
|
|
41
62
|
cancelRecursiveAudit: (params?: RecursiveAuditJobParams, otherOptions?: FetcherOptions) => Promise<{
|
|
42
63
|
success: boolean;
|
|
43
64
|
}>;
|
|
@@ -61,7 +82,29 @@ export declare const auditEndpoint: CMSEndpoint<{
|
|
|
61
82
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
62
83
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
63
84
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
64
|
-
getRecursiveAuditStatus: (params?: GetRecursiveAuditStatusParams, otherOptions?: FetcherOptions) => Promise<
|
|
85
|
+
getRecursiveAuditStatus: (params?: GetRecursiveAuditStatusParams, otherOptions?: FetcherOptions) => Promise<{
|
|
86
|
+
job: {
|
|
87
|
+
[x: string]: unknown;
|
|
88
|
+
_id: string;
|
|
89
|
+
targetUrl: string;
|
|
90
|
+
userId?: string | undefined;
|
|
91
|
+
status: "cancelled" | "completed" | "failed" | "paused" | "pending" | "running";
|
|
92
|
+
progress: number;
|
|
93
|
+
totalPageCount: number;
|
|
94
|
+
completedPageCount: number;
|
|
95
|
+
createdAt: string;
|
|
96
|
+
updatedAt: string;
|
|
97
|
+
};
|
|
98
|
+
pages: {
|
|
99
|
+
[x: string]: unknown;
|
|
100
|
+
_id: string;
|
|
101
|
+
url: string;
|
|
102
|
+
status: "completed" | "failed" | "pending" | "running";
|
|
103
|
+
score?: number | undefined;
|
|
104
|
+
error?: string | undefined;
|
|
105
|
+
results?: unknown[] | undefined;
|
|
106
|
+
}[];
|
|
107
|
+
}>;
|
|
65
108
|
cancelRecursiveAudit: (params?: RecursiveAuditJobParams, otherOptions?: FetcherOptions) => Promise<{
|
|
66
109
|
success: boolean;
|
|
67
110
|
}>;
|
|
@@ -72,6 +115,5 @@ export declare const auditEndpoint: CMSEndpoint<{
|
|
|
72
115
|
success: boolean;
|
|
73
116
|
}>;
|
|
74
117
|
}>;
|
|
75
|
-
//#endregion
|
|
76
118
|
export type { AuditEvent, GetRecursiveAuditStatusResult, GetScannedHostParams, GetScannedHostResult, GetScannedHostsQuery, GetScannedHostsResult, GetTechnologyUsageQuery, GetTechnologyUsageResult, StartRecursiveAuditResult };
|
|
77
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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
4
|
+
/** Codeberg (Forgejo) repositories of the linked account. */
|
|
5
|
+
export declare const getCodebergAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: import("@intlayer/types/config").IntlayerConfig) => {
|
|
6
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
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
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Authenticated `codeberg` endpoint bound to an Intlayer CMS authenticator.
|
|
31
|
+
*
|
|
32
|
+
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
33
|
+
* the build-time configuration (`@intlayer/config/built`).
|
|
34
|
+
*/
|
|
35
|
+
export declare const codebergEndpoint: CMSEndpoint<{
|
|
36
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
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
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
//# sourceMappingURL=codeberg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codeberg.d.ts","names":["_$__0.FetcherOptions","_$__0.CMSEndpoint"],"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";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
|
|
6
|
-
//#region src/getIntlayerAPI/dictionary.d.ts
|
|
5
|
+
import { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesByKeysResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult } from "@intlayer/backend-contract/dictionary";
|
|
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
|
-
import { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody } from "intlayer-editor";
|
|
6
|
-
//#region src/getIntlayerAPI/editor.d.ts
|
|
5
|
+
import { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "intlayer-editor";
|
|
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,5 +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
|
-
|
|
22
|
+
export type { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult };
|
|
24
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
|
-
import { AddEnvironmentBody, MigrateEnvironmentBody, UpdateEnvironmentBody } from "@intlayer/backend";
|
|
6
|
-
//#region src/getIntlayerAPI/environment.d.ts
|
|
5
|
+
import { AddEnvironmentBody, AddEnvironmentResult, DeleteEnvironmentResult, MigrateEnvironmentBody, MigrateEnvironmentResult, ResetToProductionEnvironmentResult, SelectEnvironmentResult, UpdateEnvironmentBody, UpdateEnvironmentResult } from "@intlayer/backend-contract/environment";
|
|
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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
|
+
import { RouteGroup } from "@intlayer/backend-contract/defineRoute";
|
|
4
|
+
import { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeListReposResult as ForgeListReposResult$1, ForgeRepository, ForgeRoutes } from "@intlayer/backend-contract/gitProviders";
|
|
5
|
+
/**
|
|
6
|
+
* Client of a Gitea-compatible forge (Codeberg, Gitee). Omitting `token` makes
|
|
7
|
+
* the backend use the account linked to the session.
|
|
8
|
+
*/
|
|
9
|
+
export declare const createForgeAPI: <Prefix extends string>(group: Pick<RouteGroup<Prefix, ForgeRoutes>, 'prefix'>) => (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
10
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<ForgeListReposResult$1>;
|
|
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
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
export type { ForgeCheckConfigResult, ForgeGetConfigFileResult, ForgeListReposResult, ForgeRepository };
|
|
34
|
+
//# sourceMappingURL=forge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
4
|
+
/** Gitee repositories of the linked account. */
|
|
5
|
+
export declare const getGiteeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: import("@intlayer/types/config").IntlayerConfig) => {
|
|
6
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
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
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Authenticated `gitee` endpoint bound to an Intlayer CMS authenticator.
|
|
31
|
+
*
|
|
32
|
+
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
33
|
+
* the build-time configuration (`@intlayer/config/built`).
|
|
34
|
+
*/
|
|
35
|
+
export declare const giteeEndpoint: CMSEndpoint<{
|
|
36
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend-contract/gitProviders").ForgeListReposResult>;
|
|
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
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
//# sourceMappingURL=gitee.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitee.d.ts","names":["_$__0.FetcherOptions","_$__0.CMSEndpoint"],"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,11 +1,14 @@
|
|
|
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";
|
|
5
6
|
import { getBitbucketAPI } from "./bitbucket.js";
|
|
7
|
+
import { getCodebergAPI } from "./codeberg.js";
|
|
6
8
|
import { getDictionaryAPI } from "./dictionary.js";
|
|
7
9
|
import { getEditorAPI } from "./editor.js";
|
|
8
10
|
import { getEnvironmentAPI } from "./environment.js";
|
|
11
|
+
import { getGiteeAPI } from "./gitee.js";
|
|
9
12
|
import { getGithubAPI } from "./github.js";
|
|
10
13
|
import { getGitlabAPI } from "./gitlab.js";
|
|
11
14
|
import { getNewsletterAPI } from "./newsletter.js";
|
|
@@ -20,9 +23,7 @@ import { getStripeAPI } from "./stripe.js";
|
|
|
20
23
|
import { getTagAPI } from "./tag.js";
|
|
21
24
|
import { getTranslateAPI } from "./translate.js";
|
|
22
25
|
import { getUserAPI } from "./user.js";
|
|
23
|
-
import { getAiAPI } from "./ai.js";
|
|
24
26
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
25
|
-
//#region src/getIntlayerAPI/index.d.ts
|
|
26
27
|
interface IntlayerAPIReturn {
|
|
27
28
|
asset: ReturnType<typeof getAssetAPI>;
|
|
28
29
|
organization: ReturnType<typeof getOrganizationAPI>;
|
|
@@ -42,6 +43,8 @@ interface IntlayerAPIReturn {
|
|
|
42
43
|
github: ReturnType<typeof getGithubAPI>;
|
|
43
44
|
gitlab: ReturnType<typeof getGitlabAPI>;
|
|
44
45
|
bitbucket: ReturnType<typeof getBitbucketAPI>;
|
|
46
|
+
codeberg: ReturnType<typeof getCodebergAPI>;
|
|
47
|
+
gitee: ReturnType<typeof getGiteeAPI>;
|
|
45
48
|
showcaseProject: ReturnType<typeof getShowcaseProjectAPI>;
|
|
46
49
|
translate: ReturnType<typeof getTranslateAPI>;
|
|
47
50
|
reviewer: ReturnType<typeof getReviewerAPI>;
|
|
@@ -49,5 +52,5 @@ interface IntlayerAPIReturn {
|
|
|
49
52
|
}
|
|
50
53
|
export declare const getIntlayerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => IntlayerAPIReturn;
|
|
51
54
|
export type IntlayerAPI = ReturnType<typeof getIntlayerAPI>;
|
|
52
|
-
|
|
55
|
+
export {};
|
|
53
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
|
-
import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
|
|
6
|
-
//#region src/getIntlayerAPI/newsletter.d.ts
|
|
5
|
+
import { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody } from "@intlayer/backend-contract/newsletter";
|
|
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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
|
-
|
|
3
|
+
import { CreateCliSessionTokenResult, GetCliSessionMeResult } from "@intlayer/backend-contract/cliSessionToken";
|
|
4
|
+
import { GetOAuth2TokenResult } from "@intlayer/backend-contract/oAuth2";
|
|
4
5
|
export declare const getOAuthAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => {
|
|
5
6
|
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
6
7
|
createCliSessionToken: (otherOptions?: FetcherOptions) => Promise<CreateCliSessionTokenResult>;
|
|
7
8
|
getCliSessionMe: (otherOptions?: FetcherOptions) => Promise<GetCliSessionMeResult>;
|
|
8
9
|
};
|
|
9
|
-
//#endregion
|
|
10
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,12 +1,10 @@
|
|
|
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 { AddOrganizationBody, AddOrganizationMemberBody,
|
|
6
|
-
//#region src/getIntlayerAPI/organization.d.ts
|
|
5
|
+
import { AddOrganizationBody, AddOrganizationMemberBody, AddOrganizationMemberResult, AddOrganizationResult, DeleteOrganizationResult, GetOrganizationsParams, GetOrganizationsResult, SelectOrganizationParam, SelectOrganizationResult, UnselectOrganizationResult, UpdateOrganizationBody, UpdateOrganizationMailerConfigBody, UpdateOrganizationMailerConfigResult, UpdateOrganizationMembersBody, UpdateOrganizationMembersResult, UpdateOrganizationResult } from "@intlayer/backend-contract/organization";
|
|
7
6
|
export declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
7
|
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
9
|
-
getOrganization: (organizationId: GetOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
10
8
|
addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
11
9
|
addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
|
|
12
10
|
updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
|
|
@@ -26,7 +24,6 @@ export declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intla
|
|
|
26
24
|
*/
|
|
27
25
|
export declare const organizationEndpoint: CMSEndpoint<{
|
|
28
26
|
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
29
|
-
getOrganization: (organizationId: GetOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
30
27
|
addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
31
28
|
addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
|
|
32
29
|
updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
|
|
@@ -38,5 +35,4 @@ export declare const organizationEndpoint: CMSEndpoint<{
|
|
|
38
35
|
selectOrganization: (organizationId: SelectOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
|
|
39
36
|
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
|
|
40
37
|
}>;
|
|
41
|
-
//#endregion
|
|
42
38
|
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"organization.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":";;;;;qBAyDa,qBAAkB,iBACb,gBAAc,iBACb;EAUL,mBAAA,UAAA,wBAAsB,eAClB,mBAAc,QAAA;EA0Bd,kBAAA,cAAA,qBAAmB,eACnB,mBAAc,QAAA;EAiHtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EA7Fd,qBAAA,cAAA,wBAAsB,eACtB,mBAAc,QAAA;EAsBtB,iCAAA,MAAA,oCAAkC,eAC1B,mBAAc,QAAA;EAqBtB,4BAAA,MAAA,+BAA6B,eACrB,mBAAc,QAAA;EAsBZ,gCAAA,wBAAM,MAChB,+BAA6B,eACrB,mBAAc,QAAA;EA2CkB,qBAAA,eAAA,mBAAc,QAAA;EAmB5C,8BAAA,wBAAM,eACR,mBAAc,QAAA;EAmBZ,qBAAA,gBAAA,2CAAyC,eAC3C,mBAAc,QAAA;EAoBoB,uBAAA,eAAA,mBAAc,QAAA;;;;;;;;qBAmCrD,sBAnCqDA;EA9NpD,mBAAA,UAAA,wBAAsB,eAClB,mBAAc,QAAA;EA0Bd,kBAAA,cAAA,qBAAmB,eACnB,mBAAc,QAAA;EAiHtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EA7Fd,qBAAA,cAAA,wBAAsB,eACtB,mBAAc,QAAA;EAsBtB,iCAAA,MAAA,oCAAkC,eAC1B,mBAAc,QAAA;EAqBtB,4BAAA,MAAA,+BAA6B,eACrB,mBAAc,QAAA;EAsBZ,gCAAA,wBAAM,MAChB,+BAA6B,eACrB,mBAAc,QAAA;EA2CkB,qBAAA,eAAA,mBAAc,QAAA;EAmB5C,8BAAA,wBAAM,eACR,mBAAc,QAAA;EAmBZ,qBAAA,gBAAA,2CAAyC,eAC3C,mBAAc,QAAA;EAoBoB,uBAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FetcherOptions } from "../fetcher.js";
|
|
2
|
-
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
1
|
import "../index.js";
|
|
2
|
+
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { FetcherOptions } from "../fetcher.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, TriggerWebhookBody, UpdateMemberAccessBody, UpdateProjectBody, UpdateProjectMembersBody } from "@intlayer/backend";
|
|
6
|
-
|
|
5
|
+
import { AddNewAccessKeyBody, AddNewAccessKeyResponse, AddProjectBody, AddProjectResult, DeleteAccessKeyBody, DeleteAccessKeyResponse, DeleteProjectResult, GetProjectInsightsResult, GetProjectsParams, GetProjectsResult, PushProjectConfigurationBody, PushProjectConfigurationResult, RefreshAccessKeyBody, RefreshAccessKeyResponse, SelectProjectParam, SelectProjectResult, TriggerBuildResult, TriggerWebhookBody, TriggerWebhookResult, UnselectProjectResult, UpdateMemberAccessBody, UpdateMemberAccessResult, UpdateProjectBody, UpdateProjectMembersBody, UpdateProjectMembersResult, UpdateProjectResult } from "@intlayer/backend-contract/project";
|
|
6
|
+
import { ResponseData } from "@intlayer/backend-contract/responseData";
|
|
7
7
|
export declare const getProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
9
9
|
getProjectInsights: (otherOptions?: FetcherOptions) => Promise<GetProjectInsightsResult>;
|
|
@@ -50,5 +50,4 @@ export declare const projectEndpoint: CMSEndpoint<{
|
|
|
50
50
|
pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
|
|
51
51
|
updateMemberAccess: (userId: string, body: UpdateMemberAccessBody, otherOptions?: FetcherOptions) => Promise<UpdateMemberAccessResult>;
|
|
52
52
|
}>;
|
|
53
|
-
//#endregion
|
|
54
53
|
//# sourceMappingURL=project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"project.d.ts","names":["_$__0.CMSEndpoint"],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":";;;;;;qBAqEa,gBAAa,iBACR,gBAAc,iBACb;EAUL,cAAA,UAAA,mBAAiB,eACb,mBAAc,QAAA;EAmBkB,qBAAA,eAAA,mBAAc,QAAA;EAoBnD,aAAA,SAAA,gBAAc,eACT,mBAAc,QAAA;EAiBnB,gBAAA,SAAA,mBAAiB,eACZ,mBAAc,QAAA;EAiBtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAoBN,2BAAA,sBAAA,8BAA4B,eACpC,mBAAc,QAAA;EAoBa,gBAAA,eAAA,mBAAc,QAAA;EAe5C,yBAAA,mBAAM,eACH,mBAAc,QAAA;EAmBjB,gBAAA,WAAA,iCAA+B,eAC5B,mBAAc,QAAA;EAiBe,kBAAA,eAAA,mBAAc,QAAA;EAiB9C,kBAAA,WAAA,qBAAmB,eAChB,mBAAc,QAAA;EAmBlB,kBAAA,UAAA,iCAA+B,eAC3B,mBAAc,QAAA;EAmBlB,mBAAA,UAAA,kCAAgC,eAC5B,mBAAc,QAAA;EAqBY,eAAA,eAAA,mBAAc,QAAA;EAiBxC,iBAAA,cAAA,oCAAkC,eAClC,mBAAc,QAAA;EAiBW,cAAA,eAAA,mBAAc,QAAA;EAmBb,eAAA,eAAA,mBAAc,QAAA;EAoB9C,qBAAA,gBAAM,MACR,wBAAsB,eACd,mBAAc,QAAA;;;;;;;;qBA0CnB,iBA1CmBA;EAtUlB,cAAA,UAAA,mBAAiB,eACb,mBAAc,QAAA;EAmBkB,qBAAA,eAAA,mBAAc,QAAA;EAoBnD,aAAA,SAAA,gBAAc,eACT,mBAAc,QAAA;EAiBnB,gBAAA,SAAA,mBAAiB,eACZ,mBAAc,QAAA;EAiBtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAoBN,2BAAA,sBAAA,8BAA4B,eACpC,mBAAc,QAAA;EAoBa,gBAAA,eAAA,mBAAc,QAAA;EAe5C,yBAAA,mBAAM,eACH,mBAAc,QAAA;EAmBjB,gBAAA,WAAA,iCAA+B,eAC5B,mBAAc,QAAA;EAiBe,kBAAA,eAAA,mBAAc,QAAA;EAiB9C,kBAAA,WAAA,qBAAmB,eAChB,mBAAc,QAAA;EAmBlB,kBAAA,UAAA,iCAA+B,eAC3B,mBAAc,QAAA;EAmBlB,mBAAA,UAAA,kCAAgC,eAC5B,mBAAc,QAAA;EAqBY,eAAA,eAAA,mBAAc,QAAA;EAiBxC,iBAAA,cAAA,oCAAkC,eAClC,mBAAc,QAAA;EAiBW,cAAA,eAAA,mBAAc,QAAA;EAmBb,eAAA,eAAA,mBAAc,QAAA;EAoB9C,qBAAA,gBAAM,MACR,wBAAsB,eACd,mBAAc,QAAA"}
|