@intlayer/api 9.0.0-canary.17 → 9.0.0-canary.19

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 (142) hide show
  1. package/dist/cjs/cms/createAuthManager.cjs.map +1 -1
  2. package/dist/cjs/cms/createIntlayerCMS.cjs.map +1 -1
  3. package/dist/cjs/distantDictionary/fetchDistantDictionaries.cjs.map +1 -1
  4. package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs.map +1 -1
  5. package/dist/cjs/fetcher.cjs +2 -1
  6. package/dist/cjs/fetcher.cjs.map +1 -1
  7. package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
  8. package/dist/cjs/getIntlayerAPI/analytics.cjs.map +1 -1
  9. package/dist/cjs/getIntlayerAPI/asset.cjs.map +1 -1
  10. package/dist/cjs/getIntlayerAPI/audit.cjs +2 -1
  11. package/dist/cjs/getIntlayerAPI/audit.cjs.map +1 -1
  12. package/dist/cjs/getIntlayerAPI/bitbucket.cjs.map +1 -1
  13. package/dist/cjs/getIntlayerAPI/dictionary.cjs.map +1 -1
  14. package/dist/cjs/getIntlayerAPI/editor.cjs.map +1 -1
  15. package/dist/cjs/getIntlayerAPI/environment.cjs.map +1 -1
  16. package/dist/cjs/getIntlayerAPI/github.cjs.map +1 -1
  17. package/dist/cjs/getIntlayerAPI/gitlab.cjs.map +1 -1
  18. package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
  19. package/dist/cjs/getIntlayerAPI/newsletter.cjs.map +1 -1
  20. package/dist/cjs/getIntlayerAPI/oAuth.cjs.map +1 -1
  21. package/dist/cjs/getIntlayerAPI/organization.cjs.map +1 -1
  22. package/dist/cjs/getIntlayerAPI/project.cjs.map +1 -1
  23. package/dist/cjs/getIntlayerAPI/reviewer.cjs.map +1 -1
  24. package/dist/cjs/getIntlayerAPI/search.cjs.map +1 -1
  25. package/dist/cjs/getIntlayerAPI/showcaseProject.cjs.map +1 -1
  26. package/dist/cjs/getIntlayerAPI/status.cjs.map +1 -1
  27. package/dist/cjs/getIntlayerAPI/stripe.cjs +4 -2
  28. package/dist/cjs/getIntlayerAPI/stripe.cjs.map +1 -1
  29. package/dist/cjs/getIntlayerAPI/tag.cjs.map +1 -1
  30. package/dist/cjs/getIntlayerAPI/translate.cjs.map +1 -1
  31. package/dist/cjs/getIntlayerAPI/user.cjs.map +1 -1
  32. package/dist/cjs/proxy.cjs +1 -1
  33. package/dist/cjs/proxy.cjs.map +1 -1
  34. package/dist/esm/cms/createAuthManager.mjs.map +1 -1
  35. package/dist/esm/cms/createIntlayerCMS.mjs.map +1 -1
  36. package/dist/esm/distantDictionary/fetchDistantDictionaries.mjs.map +1 -1
  37. package/dist/esm/distantDictionary/fetchDistantDictionary.mjs.map +1 -1
  38. package/dist/esm/fetcher.mjs +2 -1
  39. package/dist/esm/fetcher.mjs.map +1 -1
  40. package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
  41. package/dist/esm/getIntlayerAPI/analytics.mjs.map +1 -1
  42. package/dist/esm/getIntlayerAPI/asset.mjs.map +1 -1
  43. package/dist/esm/getIntlayerAPI/audit.mjs +2 -1
  44. package/dist/esm/getIntlayerAPI/audit.mjs.map +1 -1
  45. package/dist/esm/getIntlayerAPI/bitbucket.mjs.map +1 -1
  46. package/dist/esm/getIntlayerAPI/dictionary.mjs.map +1 -1
  47. package/dist/esm/getIntlayerAPI/editor.mjs.map +1 -1
  48. package/dist/esm/getIntlayerAPI/environment.mjs.map +1 -1
  49. package/dist/esm/getIntlayerAPI/github.mjs.map +1 -1
  50. package/dist/esm/getIntlayerAPI/gitlab.mjs.map +1 -1
  51. package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
  52. package/dist/esm/getIntlayerAPI/newsletter.mjs.map +1 -1
  53. package/dist/esm/getIntlayerAPI/oAuth.mjs.map +1 -1
  54. package/dist/esm/getIntlayerAPI/organization.mjs.map +1 -1
  55. package/dist/esm/getIntlayerAPI/project.mjs.map +1 -1
  56. package/dist/esm/getIntlayerAPI/reviewer.mjs.map +1 -1
  57. package/dist/esm/getIntlayerAPI/search.mjs.map +1 -1
  58. package/dist/esm/getIntlayerAPI/showcaseProject.mjs.map +1 -1
  59. package/dist/esm/getIntlayerAPI/status.mjs.map +1 -1
  60. package/dist/esm/getIntlayerAPI/stripe.mjs +4 -2
  61. package/dist/esm/getIntlayerAPI/stripe.mjs.map +1 -1
  62. package/dist/esm/getIntlayerAPI/tag.mjs.map +1 -1
  63. package/dist/esm/getIntlayerAPI/translate.mjs.map +1 -1
  64. package/dist/esm/getIntlayerAPI/user.mjs.map +1 -1
  65. package/dist/esm/proxy.mjs +1 -1
  66. package/dist/esm/proxy.mjs.map +1 -1
  67. package/dist/types/{packages/@intlayer → @intlayer}/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -1
  68. package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -0
  69. package/dist/types/cms/createAuthManager.d.ts +1 -2
  70. package/dist/types/cms/createAuthManager.d.ts.map +1 -1
  71. package/dist/types/cms/createIntlayerCMS.d.ts +1 -2
  72. package/dist/types/cms/createIntlayerCMS.d.ts.map +1 -1
  73. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +0 -1
  74. package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
  75. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +0 -1
  76. package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
  77. package/dist/types/fetcher.d.ts.map +1 -1
  78. package/dist/types/getIntlayerAPI/ai.d.ts +1 -1
  79. package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
  80. package/dist/types/getIntlayerAPI/analytics.d.ts +1 -1
  81. package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
  82. package/dist/types/getIntlayerAPI/asset.d.ts +1 -1
  83. package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
  84. package/dist/types/getIntlayerAPI/audit.d.ts +1 -1
  85. package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
  86. package/dist/types/getIntlayerAPI/bitbucket.d.ts +1 -1
  87. package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
  88. package/dist/types/getIntlayerAPI/dictionary.d.ts +7 -7
  89. package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
  90. package/dist/types/getIntlayerAPI/editor.d.ts +4 -3
  91. package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
  92. package/dist/types/getIntlayerAPI/environment.d.ts +1 -1
  93. package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
  94. package/dist/types/getIntlayerAPI/github.d.ts +1 -1
  95. package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
  96. package/dist/types/getIntlayerAPI/gitlab.d.ts +1 -1
  97. package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
  98. package/dist/types/getIntlayerAPI/index.d.ts +1 -2
  99. package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
  100. package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -1
  101. package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
  102. package/dist/types/getIntlayerAPI/oAuth.d.ts +1 -2
  103. package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
  104. package/dist/types/getIntlayerAPI/organization.d.ts +5 -5
  105. package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
  106. package/dist/types/getIntlayerAPI/project.d.ts +9 -9
  107. package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
  108. package/dist/types/getIntlayerAPI/reviewer.d.ts +5 -5
  109. package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
  110. package/dist/types/getIntlayerAPI/search.d.ts +1 -1
  111. package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
  112. package/dist/types/getIntlayerAPI/showcaseProject.d.ts +7 -7
  113. package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
  114. package/dist/types/getIntlayerAPI/status.d.ts +1 -1
  115. package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
  116. package/dist/types/getIntlayerAPI/stripe.d.ts +15 -45
  117. package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
  118. package/dist/types/getIntlayerAPI/tag.d.ts +5 -5
  119. package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
  120. package/dist/types/getIntlayerAPI/translate.d.ts +1 -1
  121. package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
  122. package/dist/types/getIntlayerAPI/user.d.ts +9 -9
  123. package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
  124. package/dist/types/index.d.ts +3 -1
  125. package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/controllers/configuration.controller.d.ts +1 -3
  126. package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +1 -0
  127. package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/controllers/dictionary.controller.d.ts +1 -7
  128. package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -0
  129. package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/export.d.ts +2 -1
  130. package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/utils/httpStatusCodes.d.ts +19 -19
  131. package/dist/types/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +1 -0
  132. package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/utils/responseData.d.ts +0 -1
  133. package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts.map +1 -0
  134. package/dist/types/proxy.d.ts +1 -2
  135. package/dist/types/proxy.d.ts.map +1 -1
  136. package/dist/types/types.d.ts +1 -1
  137. package/package.json +6 -6
  138. package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
  139. package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
  140. package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
  141. package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
  142. package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"proxy.mjs","names":[],"sources":["../../src/proxy.ts"],"sourcesContent":["import { editor } from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/types/config';\nimport { createIntlayerCMS, type IntlayerCMS } from './cms/createIntlayerCMS';\nimport type { FetcherOptions } from './fetcher';\nimport { getAiAPI } from './getIntlayerAPI/ai';\nimport { getAnalyticsAPI } from './getIntlayerAPI/analytics';\nimport { getAssetAPI } from './getIntlayerAPI/asset';\nimport { getAuditAPI } from './getIntlayerAPI/audit';\nimport { getBitbucketAPI } from './getIntlayerAPI/bitbucket';\nimport { getDictionaryAPI } from './getIntlayerAPI/dictionary';\nimport { getEditorAPI } from './getIntlayerAPI/editor';\nimport { getEnvironmentAPI } from './getIntlayerAPI/environment';\nimport { getGithubAPI } from './getIntlayerAPI/github';\nimport { getGitlabAPI } from './getIntlayerAPI/gitlab';\nimport type { IntlayerAPI } from './getIntlayerAPI/index';\nimport { getNewsletterAPI } from './getIntlayerAPI/newsletter';\nimport { getOAuthAPI } from './getIntlayerAPI/oAuth';\nimport { getOrganizationAPI } from './getIntlayerAPI/organization';\nimport { getProjectAPI } from './getIntlayerAPI/project';\nimport { getReviewerAPI } from './getIntlayerAPI/reviewer';\nimport { getSearchAPI } from './getIntlayerAPI/search';\nimport { getShowcaseProjectAPI } from './getIntlayerAPI/showcaseProject';\nimport { getStatusAPI } from './getIntlayerAPI/status';\nimport { getStripeAPI } from './getIntlayerAPI/stripe';\nimport { getTagAPI } from './getIntlayerAPI/tag';\nimport { getTranslateAPI } from './getIntlayerAPI/translate';\nimport { getUserAPI } from './getIntlayerAPI/user';\n\ntype SectionKey = keyof IntlayerAPI;\n\n/**\n * Homogeneous factory map: every domain factory normalized to the same\n * `(fetcherOptions, config) => section` signature, keyed by section name.\n * Declaring it as a single mapped type lets a generic lookup stay callable\n * (a union of factory signatures would not be).\n */\ntype SectionFactories = {\n [Key in SectionKey]: (\n fetcherOptions: FetcherOptions,\n intlayerConfig: IntlayerConfig\n ) => IntlayerAPI[Key];\n};\n\nconst sectionFactories: SectionFactories = {\n asset: getAssetAPI,\n organization: getOrganizationAPI,\n project: getProjectAPI,\n environment: getEnvironmentAPI,\n user: getUserAPI,\n oAuth: getOAuthAPI,\n dictionary: getDictionaryAPI,\n stripe: getStripeAPI,\n ai: getAiAPI,\n analytics: getAnalyticsAPI,\n audit: getAuditAPI,\n tag: getTagAPI,\n search: getSearchAPI,\n editor: getEditorAPI,\n newsletter: getNewsletterAPI,\n github: getGithubAPI,\n gitlab: getGitlabAPI,\n bitbucket: getBitbucketAPI,\n showcaseProject: getShowcaseProjectAPI,\n translate: getTranslateAPI,\n reviewer: getReviewerAPI,\n status: getStatusAPI,\n};\n\n// The OAuth2 token endpoint must never receive an injected Bearer token —\n// it is the call that issues one.\nconst AUTH_FREE_SECTIONS: ReadonlySet<SectionKey> = new Set<SectionKey>([\n 'oAuth',\n]);\n\n/**\n * Builds the **complete** auto-authenticated Intlayer API as a single lazy\n * object. Every domain is reachable through it, so it pulls every domain client\n * into the bundle.\n *\n * Prefer {@link createIntlayerCMS} together with the per-domain endpoint binders\n * (e.g. `dictionaryEndpoint`) in bundle-sensitive code — they include only the\n * domains you use. This helper is a convenience for Node tools (such as the CLI)\n * where bundle size is not a concern.\n */\nexport const getIntlayerAPIProxy = (\n baseAuthOptions: FetcherOptions = {},\n intlayerConfig: Pick<IntlayerConfig, 'editor'> = { editor },\n sessionToken?: string\n): IntlayerAPI => {\n const cms: IntlayerCMS = createIntlayerCMS(intlayerConfig, {\n baseFetcherOptions: baseAuthOptions,\n sessionToken,\n });\n\n const sectionCache = new Map<SectionKey, unknown>();\n\n // Generic over `Key` so `sectionFactories[key]` resolves to a single\n // `(opts, config) => IntlayerAPI[Key]` signature rather than the union of all\n // factory signatures (which would not be callable).\n const buildSection = <Key extends SectionKey>(key: Key): IntlayerAPI[Key] => {\n const factory = sectionFactories[key] as (\n fetcherOptions: FetcherOptions,\n intlayerConfig: IntlayerConfig\n ) => Record<string, unknown>;\n\n return cms.bindSection(factory, {\n skipAuth: AUTH_FREE_SECTIONS.has(key) ? true : undefined,\n }) as IntlayerAPI[Key];\n };\n\n return new Proxy({} as IntlayerAPI, {\n get(_target, property) {\n const key = property as SectionKey;\n if (!(key in sectionFactories)) return undefined;\n\n if (!sectionCache.has(key)) {\n sectionCache.set(key, buildSection(key));\n }\n\n return sectionCache.get(key);\n },\n has(_target, property) {\n return (property as SectionKey) in sectionFactories;\n },\n ownKeys() {\n return Reflect.ownKeys(sectionFactories);\n },\n getOwnPropertyDescriptor() {\n return { enumerable: true, configurable: true };\n },\n });\n};\n\n/**\n * The complete auto-authenticated Intlayer API returned by\n * {@link getIntlayerAPIProxy}. Equivalent in shape to `IntlayerAPI`.\n */\nexport type IntlayerAPIProxy = ReturnType<typeof getIntlayerAPIProxy>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAM,mBAAqC;CACzC,OAAO;CACP,cAAc;CACd,SAAS;CACT,aAAa;CACb,MAAM;CACN,OAAO;CACP,YAAY;CACZ,QAAQ;CACR,IAAI;CACJ,WAAW;CACX,OAAO;CACP,KAAK;CACL,QAAQ;CACR,QAAQ;CACR,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,WAAW;CACX,iBAAiB;CACjB,WAAW;CACX,UAAU;CACV,QAAQ;CACT;AAID,MAAM,qBAA8C,IAAI,IAAgB,CACtE,QACD,CAAC;;;;;;;;;;;AAYF,MAAa,uBACX,kBAAkC,EAAE,EACpC,iBAAiD,EAAE,QAAQ,EAC3D,iBACgB;CAChB,MAAM,MAAmB,kBAAkB,gBAAgB;EACzD,oBAAoB;EACpB;EACD,CAAC;CAEF,MAAM,+BAAe,IAAI,KAA0B;CAKnD,MAAM,gBAAwC,QAA+B;EAC3E,MAAM,UAAU,iBAAiB;AAKjC,SAAO,IAAI,YAAY,SAAS,EAC9B,UAAU,mBAAmB,IAAI,IAAI,GAAG,OAAO,QAChD,CAAC;;AAGJ,QAAO,IAAI,MAAM,EAAE,EAAiB;EAClC,IAAI,SAAS,UAAU;GACrB,MAAM,MAAM;AACZ,OAAI,EAAE,OAAO,kBAAmB,QAAO;AAEvC,OAAI,CAAC,aAAa,IAAI,IAAI,CACxB,cAAa,IAAI,KAAK,aAAa,IAAI,CAAC;AAG1C,UAAO,aAAa,IAAI,IAAI;;EAE9B,IAAI,SAAS,UAAU;AACrB,UAAQ,YAA2B;;EAErC,UAAU;AACR,UAAO,QAAQ,QAAQ,iBAAiB;;EAE1C,2BAA2B;AACzB,UAAO;IAAE,YAAY;IAAM,cAAc;IAAM;;EAElD,CAAC"}
1
+ {"version":3,"file":"proxy.mjs","names":[],"sources":["../../src/proxy.ts"],"sourcesContent":["import { editor } from '@intlayer/config/built';\nimport type { IntlayerConfig } from '@intlayer/types/config';\nimport { createIntlayerCMS, type IntlayerCMS } from './cms/createIntlayerCMS';\nimport type { FetcherOptions } from './fetcher';\nimport { getAiAPI } from './getIntlayerAPI/ai';\nimport { getAnalyticsAPI } from './getIntlayerAPI/analytics';\nimport { getAssetAPI } from './getIntlayerAPI/asset';\nimport { getAuditAPI } from './getIntlayerAPI/audit';\nimport { getBitbucketAPI } from './getIntlayerAPI/bitbucket';\nimport { getDictionaryAPI } from './getIntlayerAPI/dictionary';\nimport { getEditorAPI } from './getIntlayerAPI/editor';\nimport { getEnvironmentAPI } from './getIntlayerAPI/environment';\nimport { getGithubAPI } from './getIntlayerAPI/github';\nimport { getGitlabAPI } from './getIntlayerAPI/gitlab';\nimport type { IntlayerAPI } from './getIntlayerAPI/index';\nimport { getNewsletterAPI } from './getIntlayerAPI/newsletter';\nimport { getOAuthAPI } from './getIntlayerAPI/oAuth';\nimport { getOrganizationAPI } from './getIntlayerAPI/organization';\nimport { getProjectAPI } from './getIntlayerAPI/project';\nimport { getReviewerAPI } from './getIntlayerAPI/reviewer';\nimport { getSearchAPI } from './getIntlayerAPI/search';\nimport { getShowcaseProjectAPI } from './getIntlayerAPI/showcaseProject';\nimport { getStatusAPI } from './getIntlayerAPI/status';\nimport { getStripeAPI } from './getIntlayerAPI/stripe';\nimport { getTagAPI } from './getIntlayerAPI/tag';\nimport { getTranslateAPI } from './getIntlayerAPI/translate';\nimport { getUserAPI } from './getIntlayerAPI/user';\n\ntype SectionKey = keyof IntlayerAPI;\n\n/**\n * Homogeneous factory map: every domain factory normalized to the same\n * `(fetcherOptions, config) => section` signature, keyed by section name.\n * Declaring it as a single mapped type lets a generic lookup stay callable\n * (a union of factory signatures would not be).\n */\ntype SectionFactories = {\n [Key in SectionKey]: (\n fetcherOptions: FetcherOptions,\n intlayerConfig: IntlayerConfig\n ) => IntlayerAPI[Key];\n};\n\nconst sectionFactories: SectionFactories = {\n asset: getAssetAPI,\n organization: getOrganizationAPI,\n project: getProjectAPI,\n environment: getEnvironmentAPI,\n user: getUserAPI,\n oAuth: getOAuthAPI,\n dictionary: getDictionaryAPI,\n stripe: getStripeAPI,\n ai: getAiAPI,\n analytics: getAnalyticsAPI,\n audit: getAuditAPI,\n tag: getTagAPI,\n search: getSearchAPI,\n editor: getEditorAPI,\n newsletter: getNewsletterAPI,\n github: getGithubAPI,\n gitlab: getGitlabAPI,\n bitbucket: getBitbucketAPI,\n showcaseProject: getShowcaseProjectAPI,\n translate: getTranslateAPI,\n reviewer: getReviewerAPI,\n status: getStatusAPI,\n};\n\n// The OAuth2 token endpoint must never receive an injected Bearer token —\n// it is the call that issues one.\nconst AUTH_FREE_SECTIONS: ReadonlySet<SectionKey> = new Set<SectionKey>([\n 'oAuth',\n]);\n\n/**\n * Builds the **complete** auto-authenticated Intlayer API as a single lazy\n * object. Every domain is reachable through it, so it pulls every domain client\n * into the bundle.\n *\n * Prefer {@link createIntlayerCMS} together with the per-domain endpoint binders\n * (e.g. `dictionaryEndpoint`) in bundle-sensitive code — they include only the\n * domains you use. This helper is a convenience for Node tools (such as the CLI)\n * where bundle size is not a concern.\n */\nexport const getIntlayerAPIProxy = (\n baseAuthOptions: FetcherOptions = {},\n intlayerConfig: Pick<IntlayerConfig, 'editor'> = { editor },\n sessionToken?: string\n): IntlayerAPI => {\n const cms: IntlayerCMS = createIntlayerCMS(intlayerConfig, {\n baseFetcherOptions: baseAuthOptions,\n sessionToken,\n });\n\n const sectionCache = new Map<SectionKey, unknown>();\n\n // Generic over `Key` so `sectionFactories[key]` resolves to a single\n // `(opts, config) => IntlayerAPI[Key]` signature rather than the union of all\n // factory signatures (which would not be callable).\n const buildSection = <Key extends SectionKey>(key: Key): IntlayerAPI[Key] => {\n const factory = sectionFactories[key] as (\n fetcherOptions: FetcherOptions,\n intlayerConfig: IntlayerConfig\n ) => Record<string, unknown>;\n\n return cms.bindSection(factory, {\n skipAuth: AUTH_FREE_SECTIONS.has(key) ? true : undefined,\n }) as IntlayerAPI[Key];\n };\n\n return new Proxy({} as IntlayerAPI, {\n get(_target, property) {\n const key = property as SectionKey;\n if (!(key in sectionFactories)) return undefined;\n\n if (!sectionCache.has(key)) {\n sectionCache.set(key, buildSection(key));\n }\n\n return sectionCache.get(key);\n },\n has(_target, property) {\n return (property as SectionKey) in sectionFactories;\n },\n ownKeys() {\n return Reflect.ownKeys(sectionFactories);\n },\n getOwnPropertyDescriptor() {\n return { enumerable: true, configurable: true };\n },\n });\n};\n\n/**\n * The complete auto-authenticated Intlayer API returned by\n * {@link getIntlayerAPIProxy}. Equivalent in shape to `IntlayerAPI`.\n */\nexport type IntlayerAPIProxy = ReturnType<typeof getIntlayerAPIProxy>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAM,mBAAqC;CACzC,OAAO;CACP,cAAc;CACd,SAAS;CACT,aAAa;CACb,MAAM;CACN,OAAO;CACP,YAAY;CACZ,QAAQ;CACR,IAAI;CACJ,WAAW;CACX,OAAO;CACP,KAAK;CACL,QAAQ;CACR,QAAQ;CACR,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,WAAW;CACX,iBAAiB;CACjB,WAAW;CACX,UAAU;CACV,QAAQ;AACV;AAIA,MAAM,qCAA8C,IAAI,IAAgB,CACtE,OACF,CAAC;;;;;;;;;;;AAYD,MAAa,uBACX,kBAAkC,CAAC,GACnC,iBAAiD,EAAE,OAAO,GAC1D,iBACgB;CAChB,MAAM,MAAmB,kBAAkB,gBAAgB;EACzD,oBAAoB;EACpB;CACF,CAAC;CAED,MAAM,+BAAe,IAAI,IAAyB;CAKlD,MAAM,gBAAwC,QAA+B;EAC3E,MAAM,UAAU,iBAAiB;EAKjC,OAAO,IAAI,YAAY,SAAS,EAC9B,UAAU,mBAAmB,IAAI,GAAG,IAAI,OAAO,OACjD,CAAC;CACH;CAEA,OAAO,IAAI,MAAM,CAAC,GAAkB;EAClC,IAAI,SAAS,UAAU;GACrB,MAAM,MAAM;GACZ,IAAI,EAAE,OAAO,mBAAmB,OAAO;GAEvC,IAAI,CAAC,aAAa,IAAI,GAAG,GACvB,aAAa,IAAI,KAAK,aAAa,GAAG,CAAC;GAGzC,OAAO,aAAa,IAAI,GAAG;EAC7B;EACA,IAAI,SAAS,UAAU;GACrB,OAAQ,YAA2B;EACrC;EACA,UAAU;GACR,OAAO,QAAQ,QAAQ,gBAAgB;EACzC;EACA,2BAA2B;GACzB,OAAO;IAAE,YAAY;IAAM,cAAc;GAAK;EAChD;CACF,CAAC;AACH"}
@@ -1,7 +1,6 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  import { DictionaryKeys } from "@intlayer/types/module_augmentation";
4
-
5
4
  //#region ../unmerged-dictionaries-entry/dist/types/index.d.ts
6
5
  //#region src/index.d.ts
7
6
  type UnmergedDictionaries = Record<DictionaryKeys, Dictionary[]>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../../../unmerged-dictionaries-entry/dist/types/index.d.ts"],"mappings":";;;;;KAIK,uBAAuB,OAAO,gBAAgB"}
@@ -1,6 +1,5 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
3
  //#region src/cms/createAuthManager.d.ts
5
4
  /**
6
5
  * Any asynchronous API method exposed by a domain section
@@ -97,7 +96,7 @@ type AuthManager = {
97
96
  * credentials. Defaults to the build-time configuration.
98
97
  * @param options - Optional session token and base fetcher options.
99
98
  */
100
- declare const createAuthManager: (intlayerConfig?: Pick<IntlayerConfig, "editor">, options?: AuthManagerOptions) => AuthManager;
99
+ declare const createAuthManager: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>, options?: AuthManagerOptions) => AuthManager;
101
100
  //#endregion
102
101
  export { AuthManager, AuthManagerOptions, BindSectionOptions, createAuthManager };
103
102
  //# sourceMappingURL=createAuthManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAuthManager.d.ts","names":[],"sources":["../../../src/cms/createAuthManager.ts"],"mappings":";;;;;;AAGiD;;KAmB5C,WAAA,4CACA,IAAA,EAAM,SAAA,KACN,OAAA,CAAQ,MAAA;;;;;KAMR,cAAA,iBAA+B,MAAA,sBAClC,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA,KACb,OAAA;;;;KAuCO,kBAAA;EAhDP;;;EAoDH,kBAAA,GAAqB,cAAA;EA9ClB;;;;;EAoDH,YAAA;AAAA;;;;KAMU,kBAAA;EAzDM;;;;EA8DhB,QAAA;AAAA;;AArBF;;;;;;;KAgCY,WAAA;EAtBE;AAMd;;;EAqBE,cAAA,EAAgB,cAAA;EAhBR;AAWV;;EASE,cAAA,EAAgB,cAAA;EAJA;;;;EAShB,cAAA;EAeU;;;;EAVV,UAAA,QAAkB,OAAA;EAwBQ;;;EApB1B,KAAA;EAsBY;;;;EAjBZ,QAAA,wCACE,MAAA,EAAQ,WAAA,CAAY,SAAA,EAAW,MAAA,GAC/B,QAAA,eACG,WAAA,CAAY,SAAA,EAAW,MAAA;EAtBZ;;;;;;;;;;EAiChB,WAAA,mBAA8B,MAAA,mBAC5B,OAAA,EAAS,cAAA,CAAe,OAAA,GACxB,OAAA,GAAU,kBAAA,KACP,OAAA;AAAA;;;;;;;;;;;;cAcM,iBAAA,GACX,cAAA,GAAgB,IAAA,CAAK,cAAA,aACrB,OAAA,GAAS,kBAAA,KACR,WAAA"}
1
+ {"version":3,"file":"createAuthManager.d.ts","names":[],"sources":["../../../src/cms/createAuthManager.ts"],"mappings":";;;;;;;KAsBK,YAAY,6BAA6B,cACzC,MAAM,cACN,QAAQ;;;;;KAMR,eAAe,gBAAgB,4BAClC,gBAAgB,gBAChB,gBAAgB,mBACb;;;;KAuCO;;;;EAIV,qBAAqB;;;;;;EAMrB;;;;;KAMU;;;;;EAKV;;;;;;;;;;KAWU;;;;;EAKV,gBAAgB;;;;EAIhB,gBAAgB;;;;;EAKhB;;;;;EAKA,kBAAkB;;;;EAIlB;;;;;EAKA,WAAW,6BAA6B,QACtC,QAAQ,YAAY,WAAW,SAC/B,uBACG,YAAY,WAAW;;;;;;;;;;;EAW5B,cAAc,gBAAgB,yBAC5B,SAAS,eAAe,UACxB,UAAU,uBACP;;;;;;;;;;;;;cAcM,oBAAiB,iBACZ,KAAK,2BAAyB,UACrC,uBACR"}
@@ -1,7 +1,6 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { AuthManager, AuthManagerOptions, BindSectionOptions } from "./createAuthManager.js";
3
3
  import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
4
  //#region src/cms/createIntlayerCMS.d.ts
6
5
  /**
7
6
  * Options accepted when creating the Intlayer CMS authenticator.
@@ -50,7 +49,7 @@ type IntlayerCMS = AuthManager;
50
49
  * await dictionaryEndpoint(cms).pushDictionaries([myDictionary]);
51
50
  * ```
52
51
  */
53
- declare const createIntlayerCMS: (intlayerConfig?: Pick<IntlayerConfig, "editor">, options?: IntlayerCMSOptions) => IntlayerCMS;
52
+ declare const createIntlayerCMS: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>, options?: IntlayerCMSOptions) => IntlayerCMS;
54
53
  /**
55
54
  * A domain endpoint binder: given an authenticator (or none, in which case a
56
55
  * default one is created from the build-time configuration), returns the
@@ -1 +1 @@
1
- {"version":3,"file":"createIntlayerCMS.d.ts","names":[],"sources":["../../../src/cms/createIntlayerCMS.ts"],"mappings":";;;;;;;AAaA;KAAY,kBAAA,GAAqB,kBAAA;;;;AASjC;;;;KAAY,WAAA,GAAc,WAAA;AAqC1B;;;;;;;;;;;;;;;;;AAUA;;;;;;;;;;;;;;;AAqBA;;;AA/BA,cAAa,iBAAA,GACX,cAAA,GAAgB,IAAA,CAAK,cAAA,aACrB,OAAA,GAAS,kBAAA,KACR,WAAA;;;;;;KAOS,WAAA,iBAA4B,MAAA,sBACtC,GAAA,GAAM,WAAA,KACH,OAAA;;;;;;;;;;;;;;;;;;cAmBQ,cAAA,mBACM,MAAA,mBACf,OAAA,GACE,cAAA,EAAgB,cAAA,EAChB,cAAA,EAAgB,cAAA,KACb,OAAA,EACL,OAAA,GAAU,kBAAA,KACT,WAAA,CAAY,OAAA"}
1
+ {"version":3,"file":"createIntlayerCMS.d.ts","names":[],"sources":["../../../src/cms/createIntlayerCMS.ts"],"mappings":";;;;;;;KAaY,qBAAqB;;;;;;;;KASrB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCb,oBAAiB,iBACZ,KAAK,2BAAyB,UACrC,uBACR;;;;;;KAOS,YAAY,gBAAgB,4BACtC,MAAM,gBACH;;;;;;;;;;;;;;;;;;cAmBQ,iBACV,gBAAgB,yBAAuB,UAEpC,gBAAgB,gBAChB,gBAAgB,mBACb,SAAO,UACF,uBACT,YAAY"}
@@ -1,6 +1,5 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  import { DictionaryAPI } from "@intlayer/backend";
3
-
4
3
  //#region src/distantDictionary/fetchDistantDictionaries.d.ts
5
4
  /**
6
5
  * Fetch distant dictionary
@@ -1 +1 @@
1
- {"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":";;;;;;AAQA;cAAa,wBAAA,GACX,cAAA,EAAgB,cAAA,KACf,OAAA,CAAQ,aAAA"}
1
+ {"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":";;;;;;cAQa,2BAAwB,gBACnB,mBACf,QAAQ"}
@@ -1,6 +1,5 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  import { DictionaryAPI } from "@intlayer/backend";
3
-
4
3
  //#region src/distantDictionary/fetchDistantDictionary.d.ts
5
4
  /**
6
5
  * Fetch distant dictionary
@@ -1 +1 @@
1
- {"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;;AAQA;cAAa,sBAAA,GACX,aAAA,UACA,cAAA,EAAgB,cAAA,KACf,OAAA,CAAQ,aAAA"}
1
+ {"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;;cAQa,yBAAsB,uBACZ,gBACL,mBACf,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":";;AAKA;;;;KAAY,cAAA,GAAiB,IAAA,CAAK,WAAA;EAIzB;;;EAAP,IAAA,GAAO,MAAA;EAOY;;;EAHnB,MAAA,GACI,MAAA,qDAEA,eAAA;AAAA;;;;;;cAQO,cAAA,EAAgB,cAAA;;;;;AA6F7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa,OAAA,MACX,GAAA,aACG,OAAA,EAAS,cAAA,OACX,OAAA,CAAQ,CAAA"}
1
+ {"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":";;;;;;KAKY,iBAAiB,KAAK;;;;EAIhC,OAAO;;;;EAIP,SACI,2DAEA;;;;;;;cAQO,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6FhB,UAAiB,GAAC,gBAClB,SACC,qBACX,QAAQ"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, ChatCompletionRequestMessage, ChatResult, CustomQueryBody, GetDiscussionsParams, TranslateJSONBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/ai.d.ts
7
7
  type AutocompleteBody = {
8
8
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":";;;;;;KA2BY,gBAAA;EACV,IAAA;EACA,SAAA,GAAY,SAAA;EACZ,aAAA;EACA,WAAA;EACA,YAAA;AAAA;AAAA,KAGU,kBAAA;EACV,QAAA,EAAU,4BAAA;EACV,YAAA;EACA,SAAA,IAAa,KAAA;EACb,MAAA,IAAU,QAAA,EAAU,oBAAA;AAAA;AAAA,KAGV,YAAA;EACN,IAAA;EAAkB,IAAA;AAAA;EAClB,IAAA;AAAA;AAAA,KAEM,QAAA;EACV,QAAA,EAAU,4BAAA;EACV,YAAA;EACA,SAAA,IAAa,KAAA;EACb,MAAA,IAAU,QAAA,EAAU,UAAA;EACpB,QAAA,IAAY,MAAA,EAAQ,YAAA;AAAA;AAAA,cAKT,QAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;uBAYR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OAAA,cAAY,eACL,mBAAc,QAAA;EAgCrB,iBAAA,OAAA,oBAAkB,eACX,mBAAc;EAuFH,OAAA,OAAA,UAAQ,eAAgB,mBAAc;EAsFxD,eAAA,OAAA,kBAAgB,eACT,mBAAc,QAAA;EAgBnB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAiBU,aAAA,eAAA,mBAAc,QAAA"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { IngestAnalyticsBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/analytics.d.ts
7
7
  declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":";;;;;;cAaa,eAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;qBAaT,mBAAA,EAAmB,YAAA,GACX,cAAA,KAAc,OAAA,CAAA,qBAAA;+BAgBW,cAAA,KAAc,OAAA,CAAA,0BAAA;8CAcH,cAAA,KAAc,OAAA,CAAA,iBAAA;mCAerB,cAAA,KAAc,OAAA,CAAA,qBAAA;gDAcpC,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,0BAAA;AAAA;;;;;;;cAwBnB,iBAAA,EAxBmB,WAAA;qBA7DtB,mBAAA,EAAmB,YAAA,GACX,cAAA,KAAc,OAAA,CAAA,qBAAA;+BAgBW,cAAA,KAAc,OAAA,CAAA,0BAAA;8CAcH,cAAA,KAAc,OAAA,CAAA,iBAAA;mCAerB,cAAA,KAAc,OAAA,CAAA,qBAAA;gDAcpC,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,0BAAA;AAAA"}
1
+ {"version":3,"file":"analytics.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":";;;;;;cAaa,kBAAe,iBACV,gBAAc,iBACb;EAaT,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAgBW,cAAA,eAAA,mBAAc,QAAA;EAcH,cAAA,eAAA,eAAA,mBAAc,QAAA;EAerB,kBAAA,eAAA,mBAAc,QAAA;EAc1C,uBAAA,uBAAM,eACP,mBAAc,QAAA;;;;;;;;cAwBnB,mBAxBmB;EA7DtB,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAgBW,cAAA,eAAA,mBAAc,QAAA;EAcH,cAAA,eAAA,eAAA,mBAAc,QAAA;EAerB,kBAAA,eAAA,mBAAc,QAAA;EAc1C,uBAAA,uBAAM,eACP,mBAAc,QAAA"}
@@ -1,7 +1,7 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
5
  //#region src/getIntlayerAPI/asset.d.ts
6
6
  declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
7
7
  getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"asset.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":";;;;;cAYa,WAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;6BAaF,QAAA,WACI,YAAA,GACH,cAAA,KAAc,OAAA,CAAA,eAAA;kCAqBb,YAAA,GACD,cAAA,KAAc,OAAA,CAAA,kBAAA;sBAiBtB,IAAA,EAAI,GAAA,WACE,OAAA,WACI,YAAA,GACF,cAAA,KAAc,OAAA,CAAA,iBAAA;iCAsCb,IAAA;IACP,YAAA;IAAuB,GAAA;IAAc,OAAA;EAAA,GAAkB,YAAA,GACjD,cAAA,KAAc,OAAA,CAAA,iBAAA;iCAeb,YAAA,GACD,cAAA,KAAc,OAAA,CAAA,iBAAA;AAAA;;;;;;;cAwBnB,aAAA,EAxBmB,WAAA;6BApGf,QAAA,WACI,YAAA,GACH,cAAA,KAAc,OAAA,CAAA,eAAA;kCAqBb,YAAA,GACD,cAAA,KAAc,OAAA,CAAA,kBAAA;sBAiBtB,IAAA,EAAI,GAAA,WACE,OAAA,WACI,YAAA,GACF,cAAA,KAAc,OAAA,CAAA,iBAAA;iCAsCb,IAAA;IACP,YAAA;IAAuB,GAAA;IAAc,OAAA;EAAA,GAAkB,YAAA,GACjD,cAAA,KAAc,OAAA,CAAA,iBAAA;iCAeb,YAAA,GACD,cAAA,KAAc,OAAA,CAAA,iBAAA;AAAA"}
1
+ {"version":3,"file":"asset.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":";;;;;cAYa,cAAW,iBACN,gBAAc,iBACb;EAaR,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAiBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAsCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAenB,cAAA,iBAAM,eACD,mBAAc,QAAA;;;;;;;;cAwBnB,eAxBmB;EApGrB,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAiBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAsCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAenB,cAAA,iBAAM,eACD,mBAAc,QAAA"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/audit.d.ts
7
7
  type ScanUrlBody = {
8
8
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;;KAgBY,WAAA;EACV,GAAA;EACA,SAAA,IAAa,KAAA,EAAO,UAAA;EACpB,MAAA;AAAA;AAAA,KAGU,kBAAA;EACV,GAAA;AAAA;AAAA,KAGU,kBAAA;EACV,IAAA;AAAA;AAAA,KAGU,uBAAA;EACV,GAAA;EACA,IAAA;AAAA;AAAA,KAGU,6BAAA;EACV,KAAA;AAAA;AAAA,KAGU,uBAAA;EACV,KAAA;AAAA;AAAA,cAGW,WAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;0BAmBN,kBAAA,EAAkB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,kBAAA;mBAarB,WAAA,EAAW,YAAA,GACJ,cAAA,KAAc,OAAA;+BAsErB,uBAAA,EAAuB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,yBAAA;qCAiBnB,6BAAA,EAA6B,YAAA,GACxB,cAAA,KAAc,OAAA,CAAA,6BAAA;kCAYnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;iCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;kCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;;;;;AAhKhC;;;cA0La,aAAA,EA1BmB,WAAA;0BA3InB,kBAAA,EAAkB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,kBAAA;mBAarB,WAAA,EAAW,YAAA,GACJ,cAAA,KAAc,OAAA;+BAsErB,uBAAA,EAAuB,YAAA,GAChB,cAAA,KAAc,OAAA,CAAA,yBAAA;qCAiBnB,6BAAA,EAA6B,YAAA,GACxB,cAAA,KAAc,OAAA,CAAA,6BAAA;kCAYnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;iCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA;;;kCAUnB,uBAAA,EAAuB,YAAA,GAClB,cAAA,KAAc,OAAA"}
1
+ {"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;;KAgBY;EACV;EACA,aAAa,OAAO;EACpB;;KAGU;EACV;;KAGU;EACV;;KAGU;EACV;EACA;;KAGU;EACV;;KAGU;EACV;;cAGW,cAAW,iBACN,gBAAc,iBACb;EAmBN,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAsErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc,QAAA;EAYnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;;;;;;;;cAwBhB,eA1BmB;EA3InB,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAsErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc,QAAA;EAYnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH"}
@@ -1,7 +1,7 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
5
  //#region src/getIntlayerAPI/bitbucket.d.ts
6
6
  type BitbucketRepository = {
7
7
  uuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;;KAKY,mBAAA;EACV,IAAA;EACA,IAAA;EACA,SAAA;EACA,IAAA;EACA,UAAA;IACE,IAAA;IACA,IAAA;EAAA;EAEF,KAAA;IACE,IAAA;MACE,IAAA;IAAA;EAAA;EAGJ,SAAA;IACE,IAAA;IACA,IAAA;IACA,IAAA;EAAA;EAEF,KAAA;IACE,YAAA;IACA,QAAA;IACA,IAAA;EAAA;EAEF,UAAA;EACA,UAAA;AAAA;AAAA,KAGU,yBAAA;EACV,IAAA;AAAA;AAAA,KAGU,2BAAA;EACV,IAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAIQ,wBAAA;EACV,IAAA,EAAM,mBAAA;AAAA;AAAA,KAGI,wBAAA;EACV,KAAA;EACA,SAAA;EACA,QAAA;EACA,MAAA;AAAA;AAAA,KAGU,0BAAA;EACV,IAAA;IACE,SAAA;IACA,WAAA;EAAA;AAAA;AAAA,KAIQ,0BAAA;EACV,KAAA;EACA,SAAA;EACA,QAAA;EACA,MAAA;EACA,IAAA;AAAA;AAAA,KAGU,4BAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,KAIQ,yBAAA;EACV,IAAA;IACE,OAAA;EAAA;AAAA;AAAA,cAIS,eAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;oCAWI,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,yBAAA;+BAgBhB,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,2BAAA;2CAiBP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,wBAAA;0DAmBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,0BAAA;oDAqBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,IAAA,WACF,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,4BAAA;AAAA;;AA9GhC;;;;;cA+Ia,iBAAA,EAjCmB,WAAA;oCArFT,YAAA,GACL,cAAA,KAAc,OAAA,CAAA,yBAAA;+BAgBhB,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,2BAAA;2CAiBP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,wBAAA;0DAmBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,YAAA,GACA,cAAA,KAAc,OAAA,CAAA,0BAAA;oDAqBI,SAAA,UACf,QAAA,UACD,MAAA,WACF,IAAA,WACF,YAAA,GACE,cAAA,KAAc,OAAA,CAAA,4BAAA;AAAA"}
1
+ {"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;;KAKY;EACV;EACA;EACA;EACA;EACA;IACE;IACA;;EAEF;IACE;MACE;;;EAGJ;IACE;IACA;IACA;;EAEF;IACE;IACA;IACA;;EAEF;EACA;;KAGU;EACV;;KAGU;EACV;IACE;;;KAIQ;EACV,MAAM;;KAGI;EACV;EACA;EACA;EACA;;KAGU;EACV;IACE;IACA;;;KAIQ;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV;IACE;;;KAIQ;EACV;IACE;;;cAIS,kBAAe,iBACV,gBAAc,iBACb;EAWF,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA;;;;;;;;cAiCnB,mBAjCmB;EArFf,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA"}
@@ -1,18 +1,18 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/dictionary.d.ts
7
7
  declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
9
9
  getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
10
10
  getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
11
- getDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
12
- pushDictionaries: (dictionaries: PushDictionariesBody["dictionaries"], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
11
+ getDictionary: (dictionaryKey: GetDictionaryParams['dictionaryKey'], version?: GetDictionaryQuery['version'], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
12
+ pushDictionaries: (dictionaries: PushDictionariesBody['dictionaries'], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
13
13
  addDictionary: (body: AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
14
14
  updateDictionary: (dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
15
- deleteDictionary: (id: DeleteDictionaryParam["dictionaryId"], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
15
+ deleteDictionary: (id: DeleteDictionaryParam['dictionaryId'], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
16
16
  };
17
17
  /**
18
18
  * Authenticated `dictionary` endpoint bound to an Intlayer CMS authenticator.
@@ -24,11 +24,11 @@ declare const dictionaryEndpoint: CMSEndpoint<{
24
24
  getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
25
25
  getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
26
26
  getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
27
- getDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
28
- pushDictionaries: (dictionaries: PushDictionariesBody["dictionaries"], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
27
+ getDictionary: (dictionaryKey: GetDictionaryParams['dictionaryKey'], version?: GetDictionaryQuery['version'], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
28
+ pushDictionaries: (dictionaries: PushDictionariesBody['dictionaries'], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
29
29
  addDictionary: (body: AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
30
30
  updateDictionary: (dictionary: UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
31
- deleteDictionary: (id: DeleteDictionaryParam["dictionaryId"], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
31
+ deleteDictionary: (id: DeleteDictionaryParam['dictionaryId'], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
32
32
  }>;
33
33
  //#endregion
34
34
  export { dictionaryEndpoint, getDictionaryAPI };
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;;cAsBa,gBAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;8BAWL,qBAAA,EAAqB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,qBAAA;uCAgBmB,cAAA,KAAc,OAAA,CAAA,yBAAA;kDAc/C,cAAA,KAAc,OAAA,CAAA,oCAAA;iCAiBb,mBAAA,mBAAoC,OAAA,GACzC,kBAAA,aAA6B,YAAA,GACzB,cAAA,KAAc,OAAA,CAAA,mBAAA;mCA8Bd,oBAAA,kBAAoC,YAAA,GACpC,cAAA,KAAc,OAAA,CAAA,sBAAA;wBAftB,iBAAA,EAAiB,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,mBAAA;iCA+BhB,oBAAA,EAAoB,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,sBAAA;yBAiBxB,qBAAA,kBAAqC,YAAA,GAC3B,cAAA,KAAc,OAAA,CAAA,sBAAA;AAAA;;;;;;;cA6BnB,kBAAA,EA7BmB,WAAA;8BArHlB,qBAAA,EAAqB,YAAA,GACjB,cAAA,KAAc,OAAA,CAAA,qBAAA;uCAgBmB,cAAA,KAAc,OAAA,CAAA,yBAAA;kDAc/C,cAAA,KAAc,OAAA,CAAA,oCAAA;iCAiBb,mBAAA,mBAAoC,OAAA,GACzC,kBAAA,aAA6B,YAAA,GACzB,cAAA,KAAc,OAAA,CAAA,mBAAA;mCA8Bd,oBAAA,kBAAoC,YAAA,GACpC,cAAA,KAAc,OAAA,CAAA,sBAAA;wBAftB,iBAAA,EAAiB,YAAA,GACT,cAAA,KAAc,OAAA,CAAA,mBAAA;iCA+BhB,oBAAA,EAAoB,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,sBAAA;yBAiBxB,qBAAA,kBAAqC,YAAA,GAC3B,cAAA,KAAc,OAAA,CAAA,sBAAA;AAAA"}
1
+ {"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;;cAsBa,mBAAgB,iBACX,gBAAc,iBACb;EAWL,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA;EAc/C,iCAAA,eAAA,mBAAc,QAAA;EAiBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EA8Bd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAftB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EA+BhB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAiBxB,mBAAA,IAAA,uCAAqC,eAC3B,mBAAc,QAAA;;;;;;;;cA6BnB,oBA7BmB;EArHlB,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA;EAc/C,iCAAA,eAAA,mBAAc,QAAA;EAiBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EA8Bd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAftB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EA+BhB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAiBxB,mBAAA,IAAA,uCAAqC,eAC3B,mBAAc,QAAA"}
@@ -1,9 +1,10 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
- import { GetConfigurationResult } from "../packages/intlayer-editor/server/dist/controllers/configuration.controller.js";
4
- import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../packages/intlayer-editor/server/dist/controllers/dictionary.controller.js";
3
+ import { GetConfigurationResult } from "../intlayer-editor/server/dist/controllers/configuration.controller.js";
4
+ import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../intlayer-editor/server/dist/controllers/dictionary.controller.js";
5
+ import "../intlayer-editor/server/dist/export.js";
6
+ import "../index.js";
5
7
  import { IntlayerConfig } from "@intlayer/types/config";
6
-
7
8
  //#region src/getIntlayerAPI/editor.d.ts
8
9
  declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
9
10
  getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;;cAWa,YAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;mCAyBD,cAAA,KACb,OAAA,CAAQ,2BAAA;oCAhBK,cAAA,KACb,OAAA,CAAQ,sBAAA;0BA8BH,2BAAA,EAA2B,YAAA,GACnB,cAAA,KAAc,OAAA,CAAA,6BAAA;AAAA;;AA5ChC;;;;;cAqEa,cAAA,EAzBmB,WAAA;mCAjBd,cAAA,KACb,OAAA,CAAQ,2BAAA;oCAhBK,cAAA,KACb,OAAA,CAAQ,sBAAA;0BA8BH,2BAAA,EAA2B,YAAA,GACnB,cAAA,KAAc,OAAA,CAAA,6BAAA;AAAA"}
1
+ {"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;;;cAWa,eAAY,iBACP,gBAAc,iBACb;EAyBD,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;;;;;;;;cAyBnB,gBAzBmB;EAjBd,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AddEnvironmentBody, MigrateEnvironmentBody, UpdateEnvironmentBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/environment.d.ts
7
7
  declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":";;;;;;cAgBa,iBAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;yBAMT,kBAAA,EAAkB,YAAA,GACV,cAAA,KAAc,OAAA,CAAA,oBAAA;6CAUP,IAAA,EACf,qBAAA,EAAqB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,uBAAA;6CAUP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,uBAAA;6CAUP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,uBAAA;gDAUd,cAAA,KAAc,OAAA,CAAA,kCAAA;6BAUtB,sBAAA,EAAsB,YAAA,GACd,cAAA,KAAc,OAAA,CAAA,wBAAA;AAAA;;;;;;;cAyBnB,mBAAA,EAzBmB,WAAA;yBAxDtB,kBAAA,EAAkB,YAAA,GACV,cAAA,KAAc,OAAA,CAAA,oBAAA;6CAUP,IAAA,EACf,qBAAA,EAAqB,YAAA,GACb,cAAA,KAAc,OAAA,CAAA,uBAAA;6CAUP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,uBAAA;6CAUP,YAAA,GACP,cAAA,KAAc,OAAA,CAAA,uBAAA;gDAUd,cAAA,KAAc,OAAA,CAAA,kCAAA;6BAUtB,sBAAA,EAAsB,YAAA,GACd,cAAA,KAAc,OAAA,CAAA,wBAAA;AAAA"}
1
+ {"version":3,"file":"environment.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":";;;;;;cAgBa,oBAAiB,iBACZ,gBAAc,iBACb;EAMT,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAUb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUd,+BAAA,eAAA,mBAAc,QAAA;EAUtB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA;;;;;;;;cAyBnB,qBAzBmB;EAxDtB,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAUb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUd,+BAAA,eAAA,mBAAc,QAAA;EAUtB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA"}
@@ -1,7 +1,7 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
5
  //#region src/getIntlayerAPI/github.d.ts
6
6
  type GitHubRepository = {
7
7
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;;KAKY,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,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BAAA;AAAA"}
1
+ {"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;;KAKY;EACV;EACA;EACA;EACA;IACE;IACA;;EAEF;EACA;EACA;;KAGU;EACV;;KAGU;EACV;IACE;;;KAIQ;EACV,MAAM;;KAGI;EACV;EACA;EACA;EACA;;KAGU;EACV;IACE;;;KAIQ;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV;IACE;;;KAIQ;EACV;IACE;;;KAIQ;EACV;IACE;;;cAIS,eAAY,iBACP,gBAAc,iBACb;EAWF,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;;;;;;;;cAuBzC,gBAvByC;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,7 +1,7 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
-
5
5
  //#region src/getIntlayerAPI/gitlab.d.ts
6
6
  type GitLabProject = {
7
7
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"gitlab.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],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Ac,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
+ {"version":3,"file":"gitlab.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/gitlab.ts"],"mappings":";;;;;KAKY;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;IACE;IACA;IACA;;;KAIQ;EACV;EACA;EACA;;KAGU;EACV;IACE;;;KAIQ;EACV,MAAM;;KAGI;EACV;EACA;EACA;EACA;;KAGU;EACV;IACE;IACA;;;KAIQ;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV;IACE;;;KAIQ;EACV;IACE;;;cAIS,eAAY,iBACP,gBAAc,iBACb;EAYF,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;;;;;;;;cAiCnB,gBAjCmB;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"}
@@ -22,7 +22,6 @@ import { getTranslateAPI } from "./translate.js";
22
22
  import { getUserAPI } from "./user.js";
23
23
  import { getAiAPI } from "./ai.js";
24
24
  import { IntlayerConfig } from "@intlayer/types/config";
25
-
26
25
  //#region src/getIntlayerAPI/index.d.ts
27
26
  interface IntlayerAPIReturn {
28
27
  asset: ReturnType<typeof getAssetAPI>;
@@ -48,7 +47,7 @@ interface IntlayerAPIReturn {
48
47
  reviewer: ReturnType<typeof getReviewerAPI>;
49
48
  status: ReturnType<typeof getStatusAPI>;
50
49
  }
51
- declare const getIntlayerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, "editor">) => IntlayerAPIReturn;
50
+ declare const getIntlayerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => IntlayerAPIReturn;
52
51
  type IntlayerAPI = ReturnType<typeof getIntlayerAPI>;
53
52
  //#endregion
54
53
  export { IntlayerAPI, getIntlayerAPI };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;UA2BU,iBAAA;EACR,KAAA,EAAO,UAAA,QAAkB,WAAA;EACzB,YAAA,EAAc,UAAA,QAAkB,kBAAA;EAChC,OAAA,EAAS,UAAA,QAAkB,aAAA;EAC3B,WAAA,EAAa,UAAA,QAAkB,iBAAA;EAC/B,IAAA,EAAM,UAAA,QAAkB,UAAA;EACxB,KAAA,EAAO,UAAA,QAAkB,WAAA;EACzB,UAAA,EAAY,UAAA,QAAkB,gBAAA;EAC9B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,EAAA,EAAI,UAAA,QAAkB,QAAA;EACtB,SAAA,EAAW,UAAA,QAAkB,eAAA;EAC7B,KAAA,EAAO,UAAA,QAAkB,WAAA;EACzB,GAAA,EAAK,UAAA,QAAkB,SAAA;EACvB,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,UAAA,EAAY,UAAA,QAAkB,gBAAA;EAC9B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,MAAA,EAAQ,UAAA,QAAkB,YAAA;EAC1B,SAAA,EAAW,UAAA,QAAkB,eAAA;EAC7B,eAAA,EAAiB,UAAA,QAAkB,qBAAA;EACnC,SAAA,EAAW,UAAA,QAAkB,eAAA;EAC7B,QAAA,EAAU,UAAA,QAAkB,cAAA;EAC5B,MAAA,EAAQ,UAAA,QAAkB,YAAA;AAAA;AAAA,cAGf,cAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,IAAA,CAAK,cAAA,gBACrB,iBAAA;AAAA,KA+BS,WAAA,GAAc,UAAA,QAAkB,cAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;UA2BU;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,iBAAiB,kBAAkB;EACnC,WAAW,kBAAkB;EAC7B,UAAU,kBAAkB;EAC5B,QAAQ,kBAAkB;;cAGf,iBAAc,iBACT,gBAAc,iBACb,KAAK,8BACrB;KA+BS,cAAc,kBAAkB"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/newsletter.d.ts
7
7
  declare const getNewsletterAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"newsletter.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;;cAUa,gBAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;gCAYT,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;;;;;;;cAuBpD,kBAAA,EAvBoD,WAAA;gCApCvD,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"}
1
+ {"version":3,"file":"newsletter.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/newsletter.ts"],"mappings":";;;;;;cAUa,mBAAgB,iBACX,gBAAc,iBACb;EAYT,wBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAkBtB,4BAAA,MAAA,8BAA4B,eACpB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA;;;;;;;;cAuBpD,oBAvBoD;EApCvD,wBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAkBtB,4BAAA,MAAA,8BAA4B,eACpB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA"}
@@ -1,8 +1,7 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
3
  //#region src/getIntlayerAPI/oAuth.d.ts
5
- declare const getOAuthAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, "editor">) => {
4
+ declare const getOAuthAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => {
6
5
  getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
7
6
  createCliSessionToken: (otherOptions?: FetcherOptions) => Promise<CreateCliSessionTokenResult>;
8
7
  getCliSessionMe: (otherOptions?: FetcherOptions) => Promise<GetCliSessionMeResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"mappings":";;;;cAUa,WAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,IAAA,CAAK,cAAA;wCAQ4B,cAAA,KAAc,OAAA,CAAA,oBAAA;yCAsBb,cAAA,KAAc,OAAA,CAAA,2BAAA;mCAYpB,cAAA,KAAc,OAAA,CAAA,qBAAA;AAAA"}
1
+ {"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"mappings":";;;cAUa,cAAW,iBACN,gBAAc,iBACb,KAAK;EAQ4B,uBAAA,eAAA,mBAAc,QAAA;EAsBb,wBAAA,eAAA,mBAAc,QAAA;EAYpB,kBAAA,eAAA,mBAAc,QAAA"}
@@ -1,12 +1,12 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMailerConfigBody, UpdateOrganizationMembersBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/organization.d.ts
7
7
  declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
9
- getOrganization: (organizationId: GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
9
+ getOrganization: (organizationId: GetOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
10
10
  addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
11
11
  addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
12
12
  updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
@@ -15,7 +15,7 @@ declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConf
15
15
  updateOrganizationMembersById: (organizationId: string, body: UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
16
16
  deleteOrganization: (otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
17
17
  deleteOrganizationByIdAdmin: (organizationId: string, otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
18
- selectOrganization: (organizationId: SelectOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
18
+ selectOrganization: (organizationId: SelectOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
19
19
  unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
20
20
  };
21
21
  /**
@@ -26,7 +26,7 @@ declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConf
26
26
  */
27
27
  declare const organizationEndpoint: CMSEndpoint<{
28
28
  getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
29
- getOrganization: (organizationId: GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
29
+ getOrganization: (organizationId: GetOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
30
30
  addOrganization: (organization: AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
31
31
  addOrganizationMember: (body: AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
32
32
  updateOrganization: (organization: UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
@@ -35,7 +35,7 @@ declare const organizationEndpoint: CMSEndpoint<{
35
35
  updateOrganizationMembersById: (organizationId: string, body: UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
36
36
  deleteOrganization: (otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
37
37
  deleteOrganizationByIdAdmin: (organizationId: string, otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
38
- selectOrganization: (organizationId: SelectOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
38
+ selectOrganization: (organizationId: SelectOrganizationParam['organizationId'], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
39
39
  unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
40
40
  }>;
41
41
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"organization.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/organization.ts"],"mappings":";;;;;;cAyBa,kBAAA,GACX,cAAA,GAAgB,cAAA,EAChB,cAAA,GAAiB,cAAA;+BAWL,sBAAA,EAAsB,YAAA,GAClB,cAAA,KAAc,OAAA,CAAA,sBAAA;oCAkBZ,oBAAA,oBAAsC,YAAA,GACxC,cAAA,KAAc,OAAA,C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kBZ,gCAAA,wBAAM,MAChB,+BAA6B,eACrB,mBAAc,QAAA;EAkCkB,qBAAA,eAAA,mBAAc,QAAA;EAe5C,8BAAA,wBAAM,eACR,mBAAc,QAAA;EAcZ,qBAAA,gBAAA,2CAAyC,eAC3C,mBAAc,QAAA;EAeoB,uBAAA,eAAA,mBAAc,QAAA"}
@@ -1,8 +1,8 @@
1
1
  import { FetcherOptions } from "../fetcher.js";
2
2
  import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
3
+ import "../index.js";
3
4
  import { IntlayerConfig } from "@intlayer/types/config";
4
5
  import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, TriggerWebhookBody, UpdateMemberAccessBody, UpdateProjectBody, UpdateProjectMembersBody } from "@intlayer/backend";
5
-
6
6
  //#region src/getIntlayerAPI/project.d.ts
7
7
  declare const getProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
8
8
  getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
@@ -13,13 +13,13 @@ declare const getProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?:
13
13
  pushProjectConfiguration: (projectConfiguration: PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<PushProjectConfigurationResult>;
14
14
  deleteProject: (otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
15
15
  deleteProjectByIdAdmin: (projectId: string, otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
16
- selectProject: (projectId: SelectProjectParam["projectId"], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
16
+ selectProject: (projectId: SelectProjectParam['projectId'], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
17
17
  unselectProject: (otherOptions?: FetcherOptions) => Promise<UnselectProjectResult>;
18
18
  addNewAccessKey: (accessKey: AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<AddNewAccessKeyResponse>;
19
- deleteAccessKey: (clientId: DeleteAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
20
- refreshAccessKey: (clientId: RefreshAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
19
+ deleteAccessKey: (clientId: DeleteAccessKeyBody['clientId'], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
20
+ refreshAccessKey: (clientId: RefreshAccessKeyBody['clientId'], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
21
21
  triggerBuild: (otherOptions?: FetcherOptions) => Promise<TriggerBuildResult>;
22
- triggerWebhook: (webhookIndex: TriggerWebhookBody["webhookIndex"], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
22
+ triggerWebhook: (webhookIndex: TriggerWebhookBody['webhookIndex'], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
23
23
  getCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
24
24
  pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
25
25
  updateMemberAccess: (userId: string, body: UpdateMemberAccessBody, otherOptions?: FetcherOptions) => Promise<UpdateMemberAccessResult>;
@@ -39,13 +39,13 @@ declare const projectEndpoint: CMSEndpoint<{
39
39
  pushProjectConfiguration: (projectConfiguration: PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<PushProjectConfigurationResult>;
40
40
  deleteProject: (otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
41
41
  deleteProjectByIdAdmin: (projectId: string, otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
42
- selectProject: (projectId: SelectProjectParam["projectId"], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
42
+ selectProject: (projectId: SelectProjectParam['projectId'], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
43
43
  unselectProject: (otherOptions?: FetcherOptions) => Promise<UnselectProjectResult>;
44
44
  addNewAccessKey: (accessKey: AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<AddNewAccessKeyResponse>;
45
- deleteAccessKey: (clientId: DeleteAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
46
- refreshAccessKey: (clientId: RefreshAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
45
+ deleteAccessKey: (clientId: DeleteAccessKeyBody['clientId'], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
46
+ refreshAccessKey: (clientId: RefreshAccessKeyBody['clientId'], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
47
47
  triggerBuild: (otherOptions?: FetcherOptions) => Promise<TriggerBuildResult>;
48
- triggerWebhook: (webhookIndex: TriggerWebhookBody["webhookIndex"], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
48
+ triggerWebhook: (webhookIndex: TriggerWebhookBody['webhookIndex'], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
49
49
  getCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
50
50
  pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
51
51
  updateMemberAccess: (userId: string, body: UpdateMemberAccessBody, otherOptions?: FetcherOptions) => Promise<UpdateMemberAccessResult>;