@intlayer/api 8.4.0-canary.0 → 8.4.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.
Files changed (96) hide show
  1. package/dist/cjs/getIntlayerAPI/index.cjs +1 -2
  2. package/dist/cjs/getIntlayerAPI-CUu2tiLP.cjs +2 -0
  3. package/dist/cjs/getIntlayerAPI-CUu2tiLP.cjs.map +1 -0
  4. package/dist/cjs/index.cjs +1 -1
  5. package/dist/cjs/proxy.cjs +1 -1
  6. package/dist/cjs/proxy.cjs.map +1 -1
  7. package/dist/esm/index.mjs +1 -1
  8. package/dist/types/ai-FbIMwui1.d.ts +32 -0
  9. package/dist/types/ai-FbIMwui1.d.ts.map +1 -0
  10. package/dist/types/audit-DzTxbapP.d.ts +44 -0
  11. package/dist/types/audit-DzTxbapP.d.ts.map +1 -0
  12. package/dist/types/bitbucket-DeRx5IlR.d.ts +81 -0
  13. package/dist/types/bitbucket-DeRx5IlR.d.ts.map +1 -0
  14. package/dist/types/dictionary-W5LSPsxq.d.ts +18 -0
  15. package/dist/types/dictionary-W5LSPsxq.d.ts.map +1 -0
  16. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +2 -11
  17. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +2 -11
  18. package/dist/types/distantDictionary/index.d.ts +2 -2
  19. package/dist/types/{intlayer-editor/server/dist/utils/httpStatusCodes.d.ts → editor-DTBh5ovU.d.ts} +61 -3
  20. package/dist/types/editor-DTBh5ovU.d.ts.map +1 -0
  21. package/dist/types/fetchDistantDictionaries-CLQEr6NS.d.ts +11 -0
  22. package/dist/types/fetchDistantDictionaries-CLQEr6NS.d.ts.map +1 -0
  23. package/dist/types/fetchDistantDictionary-C7esreMl.d.ts +11 -0
  24. package/dist/types/fetchDistantDictionary-C7esreMl.d.ts.map +1 -0
  25. package/dist/types/getIntlayerAPI/ai.d.ts +2 -32
  26. package/dist/types/getIntlayerAPI/audit.d.ts +2 -44
  27. package/dist/types/getIntlayerAPI/bitbucket.d.ts +2 -81
  28. package/dist/types/getIntlayerAPI/dictionary.d.ts +2 -18
  29. package/dist/types/getIntlayerAPI/editor.d.ts +2 -14
  30. package/dist/types/getIntlayerAPI/github.d.ts +2 -65
  31. package/dist/types/getIntlayerAPI/gitlab.d.ts +2 -70
  32. package/dist/types/getIntlayerAPI/index.d.ts +16 -16
  33. package/dist/types/getIntlayerAPI/newsletter.d.ts +2 -13
  34. package/dist/types/getIntlayerAPI/oAuth.d.ts +2 -10
  35. package/dist/types/getIntlayerAPI/organization.d.ts +2 -20
  36. package/dist/types/getIntlayerAPI/project.d.ts +2 -25
  37. package/dist/types/getIntlayerAPI/search.d.ts +2 -11
  38. package/dist/types/getIntlayerAPI/showcaseProject.d.ts +2 -33
  39. package/dist/types/getIntlayerAPI/stripe.d.ts +2 -13
  40. package/dist/types/getIntlayerAPI/tag.d.ts +2 -14
  41. package/dist/types/getIntlayerAPI/user.d.ts +2 -22
  42. package/dist/types/github-D077Il7G.d.ts +65 -0
  43. package/dist/types/github-D077Il7G.d.ts.map +1 -0
  44. package/dist/types/gitlab-BrWydMCh.d.ts +70 -0
  45. package/dist/types/gitlab-BrWydMCh.d.ts.map +1 -0
  46. package/dist/types/index.d.ts +17 -17
  47. package/dist/types/newsletter-Dg_6QDY_.d.ts +13 -0
  48. package/dist/types/newsletter-Dg_6QDY_.d.ts.map +1 -0
  49. package/dist/types/oAuth-DfQmGzLO.d.ts +10 -0
  50. package/dist/types/oAuth-DfQmGzLO.d.ts.map +1 -0
  51. package/dist/types/organization-CNkB8dnj.d.ts +20 -0
  52. package/dist/types/organization-CNkB8dnj.d.ts.map +1 -0
  53. package/dist/types/project-DKLgh9Mz.d.ts +25 -0
  54. package/dist/types/project-DKLgh9Mz.d.ts.map +1 -0
  55. package/dist/types/proxy.d.ts.map +1 -1
  56. package/dist/types/search-CVbo1OMK.d.ts +11 -0
  57. package/dist/types/search-CVbo1OMK.d.ts.map +1 -0
  58. package/dist/types/showcaseProject-1zcpB4aW.d.ts +33 -0
  59. package/dist/types/showcaseProject-1zcpB4aW.d.ts.map +1 -0
  60. package/dist/types/stripe-vRfMjdAc.d.ts +13 -0
  61. package/dist/types/stripe-vRfMjdAc.d.ts.map +1 -0
  62. package/dist/types/tag-0oc2-9J5.d.ts +14 -0
  63. package/dist/types/tag-0oc2-9J5.d.ts.map +1 -0
  64. package/dist/types/user-BVi1Ho0Q.d.ts +22 -0
  65. package/dist/types/user-BVi1Ho0Q.d.ts.map +1 -0
  66. package/package.json +3 -3
  67. package/dist/cjs/_virtual/_rolldown/runtime.cjs +0 -1
  68. package/dist/cjs/getIntlayerAPI/index.cjs.map +0 -1
  69. package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -10
  70. package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
  71. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +0 -1
  72. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +0 -1
  73. package/dist/types/getIntlayerAPI/ai.d.ts.map +0 -1
  74. package/dist/types/getIntlayerAPI/audit.d.ts.map +0 -1
  75. package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +0 -1
  76. package/dist/types/getIntlayerAPI/dictionary.d.ts.map +0 -1
  77. package/dist/types/getIntlayerAPI/editor.d.ts.map +0 -1
  78. package/dist/types/getIntlayerAPI/github.d.ts.map +0 -1
  79. package/dist/types/getIntlayerAPI/gitlab.d.ts.map +0 -1
  80. package/dist/types/getIntlayerAPI/newsletter.d.ts.map +0 -1
  81. package/dist/types/getIntlayerAPI/oAuth.d.ts.map +0 -1
  82. package/dist/types/getIntlayerAPI/organization.d.ts.map +0 -1
  83. package/dist/types/getIntlayerAPI/project.d.ts.map +0 -1
  84. package/dist/types/getIntlayerAPI/search.d.ts.map +0 -1
  85. package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +0 -1
  86. package/dist/types/getIntlayerAPI/stripe.d.ts.map +0 -1
  87. package/dist/types/getIntlayerAPI/tag.d.ts.map +0 -1
  88. package/dist/types/getIntlayerAPI/user.d.ts.map +0 -1
  89. package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +0 -12
  90. package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
  91. package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +0 -25
  92. package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
  93. package/dist/types/intlayer-editor/server/dist/export.d.ts +0 -2
  94. package/dist/types/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
  95. package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts +0 -20
  96. package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
@@ -1,18 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/dictionary.d.ts
6
- declare const getDictionaryAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
8
- getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
9
- getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
10
- getDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
11
- pushDictionaries: (dictionaries: PushDictionariesBody["dictionaries"], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
12
- addDictionary: (body: AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
13
- updateDictionary: (dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
14
- deleteDictionary: (id: DeleteDictionaryParam["dictionaryId"], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
15
- };
16
- //#endregion
17
- export { getDictionaryAPI };
18
- //# sourceMappingURL=dictionary.d.ts.map
1
+ import { t as getDictionaryAPI } from "../dictionary-W5LSPsxq.js";
2
+ export { getDictionaryAPI };
@@ -1,14 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { GetConfigurationResult } from "../intlayer-editor/server/dist/controllers/configuration.controller.js";
3
- import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../intlayer-editor/server/dist/controllers/dictionary.controller.js";
4
- import { IntlayerConfig } from "@intlayer/types/config";
5
-
6
- //#region src/getIntlayerAPI/editor.d.ts
7
- declare const getEditorAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
8
- getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
9
- getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
10
- writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
11
- };
12
- //#endregion
13
- export { getEditorAPI };
14
- //# sourceMappingURL=editor.d.ts.map
1
+ import { t as getEditorAPI } from "../editor-DTBh5ovU.js";
2
+ export { getEditorAPI };
@@ -1,65 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
- //#region src/getIntlayerAPI/github.d.ts
5
- type GitHubRepository = {
6
- id: number;
7
- name: string;
8
- full_name: string;
9
- owner: {
10
- login: string;
11
- id: number;
12
- };
13
- html_url: string;
14
- default_branch: string;
15
- private: boolean;
16
- };
17
- type GitHubAuthCallbackBody = {
18
- code: string;
19
- };
20
- type GitHubAuthCallbackResult = {
21
- data: {
22
- token: string;
23
- };
24
- };
25
- type GitHubListReposResult = {
26
- data: GitHubRepository[];
27
- };
28
- type GitHubCheckConfigBody = {
29
- token?: string;
30
- owner: string;
31
- repository: string;
32
- branch?: string;
33
- };
34
- type GitHubCheckConfigResult = {
35
- data: {
36
- hasConfig: boolean;
37
- };
38
- };
39
- type GitHubGetConfigFileBody = {
40
- token?: string;
41
- owner: string;
42
- repository: string;
43
- branch?: string;
44
- path?: string;
45
- };
46
- type GitHubGetConfigFileResult = {
47
- data: {
48
- content: string;
49
- };
50
- };
51
- type GitHubGetAuthUrlResult = {
52
- data: {
53
- authUrl: string;
54
- };
55
- };
56
- declare const getGithubAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
57
- getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<GitHubGetAuthUrlResult>;
58
- authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<GitHubAuthCallbackResult>;
59
- getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<GitHubListReposResult>;
60
- checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<GitHubCheckConfigResult>;
61
- getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<GitHubGetConfigFileResult>;
62
- };
63
- //#endregion
64
- export { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubListReposResult, GitHubRepository, getGithubAPI };
65
- //# sourceMappingURL=github.d.ts.map
1
+ import { a as GitHubGetAuthUrlResult, c as GitHubListReposResult, i as GitHubCheckConfigResult, l as GitHubRepository, n as GitHubAuthCallbackResult, o as GitHubGetConfigFileBody, r as GitHubCheckConfigBody, s as GitHubGetConfigFileResult, t as GitHubAuthCallbackBody, u as getGithubAPI } from "../github-D077Il7G.js";
2
+ export { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubListReposResult, GitHubRepository, getGithubAPI };
@@ -1,70 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
- //#region src/getIntlayerAPI/gitlab.d.ts
5
- type GitLabProject = {
6
- id: number;
7
- name: string;
8
- path_with_namespace: string;
9
- web_url: string;
10
- default_branch: string;
11
- visibility: string;
12
- last_activity_at: string;
13
- namespace: {
14
- id: number;
15
- name: string;
16
- path: string;
17
- };
18
- };
19
- type GitLabAuthCallbackBody = {
20
- code: string;
21
- redirectUri: string;
22
- instanceUrl?: string;
23
- };
24
- type GitLabAuthCallbackResult = {
25
- data: {
26
- token: string;
27
- };
28
- };
29
- type GitLabListProjectsResult = {
30
- data: GitLabProject[];
31
- };
32
- type GitLabCheckConfigBody = {
33
- token?: string;
34
- projectId: number;
35
- branch?: string;
36
- instanceUrl?: string;
37
- };
38
- type GitLabCheckConfigResult = {
39
- data: {
40
- hasConfig: boolean;
41
- configPaths: string[];
42
- };
43
- };
44
- type GitLabGetConfigFileBody = {
45
- token?: string;
46
- projectId: number;
47
- branch?: string;
48
- path?: string;
49
- instanceUrl?: string;
50
- };
51
- type GitLabGetConfigFileResult = {
52
- data: {
53
- content: string;
54
- };
55
- };
56
- type GitLabGetAuthUrlResult = {
57
- data: {
58
- authUrl: string;
59
- };
60
- };
61
- declare const getGitlabAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
62
- getAuthUrl: (redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetAuthUrlResult>;
63
- authenticate: (code: string, redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabAuthCallbackResult>;
64
- getProjects: (token?: string | null, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabListProjectsResult>;
65
- checkIntlayerConfig: (token: string | null | undefined, projectId: number, branch?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabCheckConfigResult>;
66
- getConfigFile: (token: string | null | undefined, projectId: number, branch?: string, path?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetConfigFileResult>;
67
- };
68
- //#endregion
69
- export { GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, getGitlabAPI };
70
- //# sourceMappingURL=gitlab.d.ts.map
1
+ import { a as GitLabGetAuthUrlResult, c as GitLabListProjectsResult, i as GitLabCheckConfigResult, l as GitLabProject, n as GitLabAuthCallbackResult, o as GitLabGetConfigFileBody, r as GitLabCheckConfigBody, s as GitLabGetConfigFileResult, t as GitLabAuthCallbackBody, u as getGitlabAPI } from "../gitlab-BrWydMCh.js";
2
+ export { GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, getGitlabAPI };
@@ -1,20 +1,20 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
- import { getAiAPI } from "./ai.js";
3
- import { getAuditAPI } from "./audit.js";
4
- import { getBitbucketAPI } from "./bitbucket.js";
5
- import { getDictionaryAPI } from "./dictionary.js";
6
- import { getEditorAPI } from "./editor.js";
7
- import { getGithubAPI } from "./github.js";
8
- import { getGitlabAPI } from "./gitlab.js";
9
- import { getNewsletterAPI } from "./newsletter.js";
10
- import { getOAuthAPI } from "./oAuth.js";
11
- import { getOrganizationAPI } from "./organization.js";
12
- import { getProjectAPI } from "./project.js";
13
- import { getSearchAPI } from "./search.js";
14
- import { getShowcaseProjectAPI } from "./showcaseProject.js";
15
- import { getStripeAPI } from "./stripe.js";
16
- import { getTagAPI } from "./tag.js";
17
- import { getUserAPI } from "./user.js";
2
+ import { i as getAiAPI } from "../ai-FbIMwui1.js";
3
+ import { u as getAuditAPI } from "../audit-DzTxbapP.js";
4
+ import { u as getBitbucketAPI } from "../bitbucket-DeRx5IlR.js";
5
+ import { t as getDictionaryAPI } from "../dictionary-W5LSPsxq.js";
6
+ import { t as getEditorAPI } from "../editor-DTBh5ovU.js";
7
+ import { u as getGithubAPI } from "../github-D077Il7G.js";
8
+ import { u as getGitlabAPI } from "../gitlab-BrWydMCh.js";
9
+ import { t as getNewsletterAPI } from "../newsletter-Dg_6QDY_.js";
10
+ import { t as getOAuthAPI } from "../oAuth-DfQmGzLO.js";
11
+ import { t as getOrganizationAPI } from "../organization-CNkB8dnj.js";
12
+ import { t as getProjectAPI } from "../project-DKLgh9Mz.js";
13
+ import { t as getSearchAPI } from "../search-CVbo1OMK.js";
14
+ import { r as getShowcaseProjectAPI } from "../showcaseProject-1zcpB4aW.js";
15
+ import { t as getStripeAPI } from "../stripe-vRfMjdAc.js";
16
+ import { t as getTagAPI } from "../tag-0oc2-9J5.js";
17
+ import { t as getUserAPI } from "../user-BVi1Ho0Q.js";
18
18
  import { IntlayerConfig } from "@intlayer/types/config";
19
19
 
20
20
  //#region src/getIntlayerAPI/index.d.ts
@@ -1,13 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/newsletter.d.ts
6
- declare const getNewsletterAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
8
- unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
9
- getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
10
- };
11
- //#endregion
12
- export { getNewsletterAPI };
13
- //# sourceMappingURL=newsletter.d.ts.map
1
+ import { t as getNewsletterAPI } from "../newsletter-Dg_6QDY_.js";
2
+ export { getNewsletterAPI };
@@ -1,10 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
- //#region src/getIntlayerAPI/oAuth.d.ts
5
- declare const getOAuthAPI: (intlayerConfig: IntlayerConfig) => {
6
- getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
7
- };
8
- //#endregion
9
- export { getOAuthAPI };
10
- //# sourceMappingURL=oAuth.d.ts.map
1
+ import { t as getOAuthAPI } from "../oAuth-DfQmGzLO.js";
2
+ export { getOAuthAPI };
@@ -1,20 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMembersBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/organization.d.ts
6
- declare const getOrganizationAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
8
- getOrganization: (organizationId: GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
9
- addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
10
- addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
11
- updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
12
- updateOrganizationMembers: (body: UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
13
- updateOrganizationMembersById: (organizationId: string, body: UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
14
- deleteOrganization: (otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
15
- selectOrganization: (organizationId: SelectOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
16
- unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
17
- };
18
- //#endregion
19
- export { getOrganizationAPI };
20
- //# sourceMappingURL=organization.d.ts.map
1
+ import { t as getOrganizationAPI } from "../organization-CNkB8dnj.js";
2
+ export { getOrganizationAPI };
@@ -1,25 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, TriggerWebhookBody, UpdateProjectBody, UpdateProjectMembersBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/project.d.ts
6
- declare const getProjectAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
8
- addProject: (project: AddProjectBody, otherOptions?: FetcherOptions) => Promise<AddProjectResult>;
9
- updateProject: (project: UpdateProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectResult>;
10
- updateProjectMembers: (body: UpdateProjectMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectMembersResult>;
11
- pushProjectConfiguration: (projectConfiguration: PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<PushProjectConfigurationResult>;
12
- deleteProject: (otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
13
- selectProject: (projectId: SelectProjectParam["projectId"], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
14
- unselectProject: (otherOptions?: FetcherOptions) => Promise<UnselectProjectResult>;
15
- addNewAccessKey: (accessKey: AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<AddNewAccessKeyResponse>;
16
- deleteAccessKey: (clientId: DeleteAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
17
- refreshAccessKey: (clientId: RefreshAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
18
- triggerBuild: (otherOptions?: FetcherOptions) => Promise<TriggerBuildResult>;
19
- triggerWebhook: (webhookIndex: TriggerWebhookBody["webhookIndex"], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
20
- getCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
21
- pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
22
- };
23
- //#endregion
24
- export { getProjectAPI };
25
- //# sourceMappingURL=project.d.ts.map
1
+ import { t as getProjectAPI } from "../project-DKLgh9Mz.js";
2
+ export { getProjectAPI };
@@ -1,11 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { SearchDocUtilParams } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/search.d.ts
6
- declare const getSearchAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
8
- };
9
- //#endregion
10
- export { getSearchAPI };
11
- //# sourceMappingURL=search.d.ts.map
1
+ import { t as getSearchAPI } from "../search-CVbo1OMK.js";
2
+ export { getSearchAPI };
@@ -1,33 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { GetShowcaseProjectByIdParams, SubmitShowcaseProjectBody, ToggleShowcaseDownvoteBody, ToggleShowcaseUpvoteBody, UpdateShowcaseProjectBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/showcaseProject.d.ts
6
- type ShowcaseProjectsQuery = {
7
- page?: number;
8
- pageSize?: number;
9
- search?: string;
10
- selectedUseCases?: string[];
11
- isOpenSource?: boolean;
12
- };
13
- type OtherShowcaseProjectsQuery = {
14
- excludeId: string;
15
- limit?: number;
16
- };
17
- declare const getShowcaseProjectAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
18
- getShowcaseProjects: (query?: ShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectsResult>;
19
- getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams["projectId"], otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectByIdResult>;
20
- getOtherShowcaseProjects: (query: OtherShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetOtherShowcaseProjectsResult>;
21
- submitShowcaseProject: (body: SubmitShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<SubmitShowcaseProjectResult>;
22
- toggleShowcaseUpvote: (body: ToggleShowcaseUpvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseUpvoteResult>;
23
- toggleShowcaseDownvote: (body: ToggleShowcaseDownvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseDownvoteResult>;
24
- deleteShowcaseProject: (projectId: GetShowcaseProjectByIdParams["projectId"], otherOptions?: FetcherOptions) => Promise<{
25
- data: {
26
- success: boolean;
27
- };
28
- }>;
29
- updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams["projectId"], body: UpdateShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateShowcaseProjectResult>;
30
- };
31
- //#endregion
32
- export { OtherShowcaseProjectsQuery, ShowcaseProjectsQuery, getShowcaseProjectAPI };
33
- //# sourceMappingURL=showcaseProject.d.ts.map
1
+ import { n as ShowcaseProjectsQuery, r as getShowcaseProjectAPI, t as OtherShowcaseProjectsQuery } from "../showcaseProject-1zcpB4aW.js";
2
+ export { OtherShowcaseProjectsQuery, ShowcaseProjectsQuery, getShowcaseProjectAPI };
@@ -1,13 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { GetCheckoutSessionBody, GetPricingBody } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/stripe.d.ts
6
- declare const getStripeAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
8
- getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
9
- cancelSubscription: (otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
10
- };
11
- //#endregion
12
- export { getStripeAPI };
13
- //# sourceMappingURL=stripe.d.ts.map
1
+ import { t as getStripeAPI } from "../stripe-vRfMjdAc.js";
2
+ export { getStripeAPI };
@@ -1,14 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/tag.d.ts
6
- declare const getTagAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
- getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
8
- addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
9
- updateTag: (tagId: UpdateTagParams["tagId"], tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
10
- deleteTag: (tagId: DeleteTagParams["tagId"], otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
11
- };
12
- //#endregion
13
- export { getTagAPI };
14
- //# sourceMappingURL=tag.d.ts.map
1
+ import { t as getTagAPI } from "../tag-0oc2-9J5.js";
2
+ export { getTagAPI };
@@ -1,22 +1,2 @@
1
- import { FetcherOptions } from "../fetcher.js";
2
- import { CreateUserBody, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from "@intlayer/backend";
3
- import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
- //#region src/getIntlayerAPI/user.d.ts
6
- type GetUserByAccountParams = {
7
- providerAccountId: string;
8
- provider: string;
9
- };
10
- declare const getUserAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
11
- createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
12
- getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
13
- getUserById: (userId: GetUserByIdParams["userId"], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
14
- getUserByAccount: (providerAccountId: GetUserByAccountParams["providerAccountId"], provider: GetUserByAccountParams["provider"], otherOptions?: FetcherOptions) => Promise<any>;
15
- getUserByEmail: (email: GetUserByEmailParams["email"], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
16
- updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
17
- deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
18
- getVerifyEmailStatusURL: (userId: string | UserAPI["id"]) => string;
19
- };
20
- //#endregion
21
- export { getUserAPI };
22
- //# sourceMappingURL=user.d.ts.map
1
+ import { t as getUserAPI } from "../user-BVi1Ho0Q.js";
2
+ export { getUserAPI };
@@ -0,0 +1,65 @@
1
+ import { FetcherOptions } from "./fetcher.js";
2
+ import { IntlayerConfig } from "@intlayer/types/config";
3
+
4
+ //#region src/getIntlayerAPI/github.d.ts
5
+ type GitHubRepository = {
6
+ id: number;
7
+ name: string;
8
+ full_name: string;
9
+ owner: {
10
+ login: string;
11
+ id: number;
12
+ };
13
+ html_url: string;
14
+ default_branch: string;
15
+ private: boolean;
16
+ };
17
+ type GitHubAuthCallbackBody = {
18
+ code: string;
19
+ };
20
+ type GitHubAuthCallbackResult = {
21
+ data: {
22
+ token: string;
23
+ };
24
+ };
25
+ type GitHubListReposResult = {
26
+ data: GitHubRepository[];
27
+ };
28
+ type GitHubCheckConfigBody = {
29
+ token?: string;
30
+ owner: string;
31
+ repository: string;
32
+ branch?: string;
33
+ };
34
+ type GitHubCheckConfigResult = {
35
+ data: {
36
+ hasConfig: boolean;
37
+ };
38
+ };
39
+ type GitHubGetConfigFileBody = {
40
+ token?: string;
41
+ owner: string;
42
+ repository: string;
43
+ branch?: string;
44
+ path?: string;
45
+ };
46
+ type GitHubGetConfigFileResult = {
47
+ data: {
48
+ content: string;
49
+ };
50
+ };
51
+ type GitHubGetAuthUrlResult = {
52
+ data: {
53
+ authUrl: string;
54
+ };
55
+ };
56
+ declare const getGithubAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
57
+ getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<GitHubGetAuthUrlResult>;
58
+ authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<GitHubAuthCallbackResult>;
59
+ getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<GitHubListReposResult>;
60
+ checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<GitHubCheckConfigResult>;
61
+ getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<GitHubGetConfigFileResult>;
62
+ };
63
+ //#endregion
64
+ export { GitHubGetAuthUrlResult as a, GitHubListReposResult as c, GitHubCheckConfigResult as i, GitHubRepository as l, GitHubAuthCallbackResult as n, GitHubGetConfigFileBody as o, GitHubCheckConfigBody as r, GitHubGetConfigFileResult as s, GitHubAuthCallbackBody as t, getGithubAPI as u };
65
+ //# sourceMappingURL=github-D077Il7G.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github-D077Il7G.d.ts","names":[],"sources":["../../src/getIntlayerAPI/github.ts"],"mappings":";;;;KAGY,gBAAA;EACV,EAAA;EACA,IAAA;EACA,SAAA;EACA,KAAA;IACE,KAAA;IACA,EAAA;EAAA;EAEF,QAAA;EACA,cAAA;EACA,OAAA;AAAA;AAAA,KAGU,sBAAA;EACV,IAAA;AAAA;AAAA,KAGU,wBAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,qBAAA;EACV,IAAA,EAAM,gBAAA;AAAA;AAAA,KAGI,qBAAA;EACV,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;AAAA;AAAA,KAGU,uBAAA;EACV,IAAA;IACE,SAAA;EAAA;AAAA;AAAA,KAIQ,uBAAA;EACV,KAAA;EACA,KAAA;EACA,UAAA;EACA,MAAA;EACA,IAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;oCAWK,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,sBAAA;+BAgBhB,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,wBAAA;2CAiBP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,qBAAA;0DAmBI,KAAA,UACnB,UAAA,UACK,MAAA,WACJ,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,uBAAA;oDAqBI,KAAA,UACnB,UAAA,UACK,MAAA,WACJ,IAAA,WACF,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,yBAAA;AAAA"}
@@ -0,0 +1,70 @@
1
+ import { FetcherOptions } from "./fetcher.js";
2
+ import { IntlayerConfig } from "@intlayer/types/config";
3
+
4
+ //#region src/getIntlayerAPI/gitlab.d.ts
5
+ type GitLabProject = {
6
+ id: number;
7
+ name: string;
8
+ path_with_namespace: string;
9
+ web_url: string;
10
+ default_branch: string;
11
+ visibility: string;
12
+ last_activity_at: string;
13
+ namespace: {
14
+ id: number;
15
+ name: string;
16
+ path: string;
17
+ };
18
+ };
19
+ type GitLabAuthCallbackBody = {
20
+ code: string;
21
+ redirectUri: string;
22
+ instanceUrl?: string;
23
+ };
24
+ type GitLabAuthCallbackResult = {
25
+ data: {
26
+ token: string;
27
+ };
28
+ };
29
+ type GitLabListProjectsResult = {
30
+ data: GitLabProject[];
31
+ };
32
+ type GitLabCheckConfigBody = {
33
+ token?: string;
34
+ projectId: number;
35
+ branch?: string;
36
+ instanceUrl?: string;
37
+ };
38
+ type GitLabCheckConfigResult = {
39
+ data: {
40
+ hasConfig: boolean;
41
+ configPaths: string[];
42
+ };
43
+ };
44
+ type GitLabGetConfigFileBody = {
45
+ token?: string;
46
+ projectId: number;
47
+ branch?: string;
48
+ path?: string;
49
+ instanceUrl?: string;
50
+ };
51
+ type GitLabGetConfigFileResult = {
52
+ data: {
53
+ content: string;
54
+ };
55
+ };
56
+ type GitLabGetAuthUrlResult = {
57
+ data: {
58
+ authUrl: string;
59
+ };
60
+ };
61
+ declare const getGitlabAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
62
+ getAuthUrl: (redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetAuthUrlResult>;
63
+ authenticate: (code: string, redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabAuthCallbackResult>;
64
+ getProjects: (token?: string | null, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabListProjectsResult>;
65
+ checkIntlayerConfig: (token: string | null | undefined, projectId: number, branch?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabCheckConfigResult>;
66
+ getConfigFile: (token: string | null | undefined, projectId: number, branch?: string, path?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<GitLabGetConfigFileResult>;
67
+ };
68
+ //#endregion
69
+ export { GitLabGetAuthUrlResult as a, GitLabListProjectsResult as c, GitLabCheckConfigResult as i, GitLabProject as l, GitLabAuthCallbackResult as n, GitLabGetConfigFileBody as o, GitLabCheckConfigBody as r, GitLabGetConfigFileResult as s, GitLabAuthCallbackBody as t, getGitlabAPI as u };
70
+ //# sourceMappingURL=gitlab-BrWydMCh.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gitlab-BrWydMCh.d.ts","names":[],"sources":["../../src/getIntlayerAPI/gitlab.ts"],"mappings":";;;;KAGY,aAAA;EACV,EAAA;EACA,IAAA;EACA,mBAAA;EACA,OAAA;EACA,cAAA;EACA,UAAA;EACA,gBAAA;EACA,SAAA;IACE,EAAA;IACA,IAAA;IACA,IAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;EACA,WAAA;EACA,WAAA;AAAA;AAAA,KAGU,wBAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,wBAAA;EACV,IAAA,EAAM,aAAA;AAAA;AAAA,KAGI,qBAAA;EACV,KAAA;EACA,SAAA;EACA,MAAA;EACA,WAAA;AAAA;AAAA,KAGU,uBAAA;EACV,IAAA;IACE,SAAA;IACA,WAAA;EAAA;AAAA;AAAA,KAIQ,uBAAA;EACV,KAAA;EACA,SAAA;EACA,MAAA;EACA,IAAA;EACA,WAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,sBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,YAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;oCAYK,WAAA,WACC,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,sBAAA;+BAkBhB,WAAA,UACO,WAAA,WACC,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,wBAAA;uCAkBP,WAAA,WACD,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,wBAAA;0DAsBI,SAAA,UACf,MAAA,WACH,WAAA,WACM,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,uBAAA;oDA0BI,SAAA,UACf,MAAA,WACH,IAAA,WACF,WAAA,WACQ,YAAA,GACN,cAAA,KAAc,OAAA,CAAA,yBAAA;AAAA"}
@@ -1,21 +1,21 @@
1
- import { fetchDistantDictionaries } from "./distantDictionary/fetchDistantDictionaries.js";
2
- import { fetchDistantDictionary } from "./distantDictionary/fetchDistantDictionary.js";
1
+ import { t as fetchDistantDictionaries } from "./fetchDistantDictionaries-CLQEr6NS.js";
2
+ import { t as fetchDistantDictionary } from "./fetchDistantDictionary-C7esreMl.js";
3
3
  import { FetcherOptions, fetcher, fetcherOptions } from "./fetcher.js";
4
- import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, getAiAPI } from "./getIntlayerAPI/ai.js";
5
- import { AuditEvent, DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, getAuditAPI } from "./getIntlayerAPI/audit.js";
6
- import { BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, getBitbucketAPI } from "./getIntlayerAPI/bitbucket.js";
7
- import { getDictionaryAPI } from "./getIntlayerAPI/dictionary.js";
8
- import { getEditorAPI } from "./getIntlayerAPI/editor.js";
9
- import { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubListReposResult, GitHubRepository, getGithubAPI } from "./getIntlayerAPI/github.js";
10
- import { GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, getGitlabAPI } from "./getIntlayerAPI/gitlab.js";
11
- import { getNewsletterAPI } from "./getIntlayerAPI/newsletter.js";
12
- import { getOAuthAPI } from "./getIntlayerAPI/oAuth.js";
13
- import { getOrganizationAPI } from "./getIntlayerAPI/organization.js";
14
- import { getProjectAPI } from "./getIntlayerAPI/project.js";
15
- import { getSearchAPI } from "./getIntlayerAPI/search.js";
16
- import { getStripeAPI } from "./getIntlayerAPI/stripe.js";
17
- import { getTagAPI } from "./getIntlayerAPI/tag.js";
18
- import { getUserAPI } from "./getIntlayerAPI/user.js";
4
+ import { i as getAiAPI, n as AskDocQuestionResult, r as AutocompleteBody, t as AskDocQuestionBody } from "./ai-FbIMwui1.js";
5
+ import { a as GetRecursiveAuditStatusResult, c as StartRecursiveAuditBody, i as GetRecursiveAuditStatusParams, l as StartRecursiveAuditResult, n as DiscoverUrlsParams, o as RecursiveAuditJobParams, r as DiscoverUrlsResult, s as ScanUrlBody, t as AuditEvent, u as getAuditAPI } from "./audit-DzTxbapP.js";
6
+ import { a as BitbucketGetAuthUrlResult, c as BitbucketListReposResult, i as BitbucketCheckConfigResult, l as BitbucketRepository, n as BitbucketAuthCallbackResult, o as BitbucketGetConfigFileBody, r as BitbucketCheckConfigBody, s as BitbucketGetConfigFileResult, t as BitbucketAuthCallbackBody, u as getBitbucketAPI } from "./bitbucket-DeRx5IlR.js";
7
+ import { t as getDictionaryAPI } from "./dictionary-W5LSPsxq.js";
8
+ import { t as getEditorAPI } from "./editor-DTBh5ovU.js";
9
+ import { a as GitHubGetAuthUrlResult, c as GitHubListReposResult, i as GitHubCheckConfigResult, l as GitHubRepository, n as GitHubAuthCallbackResult, o as GitHubGetConfigFileBody, r as GitHubCheckConfigBody, s as GitHubGetConfigFileResult, t as GitHubAuthCallbackBody, u as getGithubAPI } from "./github-D077Il7G.js";
10
+ import { a as GitLabGetAuthUrlResult, c as GitLabListProjectsResult, i as GitLabCheckConfigResult, l as GitLabProject, n as GitLabAuthCallbackResult, o as GitLabGetConfigFileBody, r as GitLabCheckConfigBody, s as GitLabGetConfigFileResult, t as GitLabAuthCallbackBody, u as getGitlabAPI } from "./gitlab-BrWydMCh.js";
11
+ import { t as getNewsletterAPI } from "./newsletter-Dg_6QDY_.js";
12
+ import { t as getOAuthAPI } from "./oAuth-DfQmGzLO.js";
13
+ import { t as getOrganizationAPI } from "./organization-CNkB8dnj.js";
14
+ import { t as getProjectAPI } from "./project-DKLgh9Mz.js";
15
+ import { t as getSearchAPI } from "./search-CVbo1OMK.js";
16
+ import { t as getStripeAPI } from "./stripe-vRfMjdAc.js";
17
+ import { t as getTagAPI } from "./tag-0oc2-9J5.js";
18
+ import { t as getUserAPI } from "./user-BVi1Ho0Q.js";
19
19
  import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
20
20
  import { IntlayerAPIProxy, getIntlayerAPIProxy } from "./proxy.js";
21
21
  import { AIOptions } from "./types.js";
@@ -0,0 +1,13 @@
1
+ import { FetcherOptions } from "./fetcher.js";
2
+ import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
3
+ import { IntlayerConfig } from "@intlayer/types/config";
4
+
5
+ //#region src/getIntlayerAPI/newsletter.d.ts
6
+ declare const getNewsletterAPI: (authAPIOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => {
7
+ subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
8
+ unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
9
+ getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
10
+ };
11
+ //#endregion
12
+ export { getNewsletterAPI as t };
13
+ //# sourceMappingURL=newsletter-Dg_6QDY_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"newsletter-Dg_6QDY_.d.ts","names":[],"sources":["../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;cAQa,gBAAA,GACX,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA;gCAYR,0BAAA,EAA0B,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,4BAAA;oCAkBtB,4BAAA,EAA4B,YAAA,GACpB,cAAA,KAAc,OAAA,CAAA,4BAAA;uCAgBmB,cAAA,KAAc,OAAA,CAAA,4BAAA;AAAA"}