contentful-management 11.64.0-new-beta.5 → 11.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1173) hide show
  1. package/README.md +50 -48
  2. package/dist/contentful-management.browser.js +30200 -0
  3. package/dist/contentful-management.browser.js.map +1 -0
  4. package/dist/contentful-management.browser.min.js +2 -0
  5. package/dist/contentful-management.node.js +33862 -0
  6. package/dist/contentful-management.node.js.map +1 -0
  7. package/dist/contentful-management.node.min.js +2 -0
  8. package/dist/es-modules/adapters/REST/endpoints/access-token.js +132 -0
  9. package/dist/es-modules/adapters/REST/endpoints/ai-action-invocation.js +6 -0
  10. package/dist/es-modules/adapters/REST/endpoints/ai-action.js +61 -0
  11. package/dist/es-modules/adapters/REST/endpoints/api-key.js +47 -0
  12. package/dist/es-modules/adapters/REST/endpoints/app-access-token.js +8 -0
  13. package/dist/es-modules/adapters/REST/endpoints/app-action-call.js +128 -0
  14. package/dist/es-modules/adapters/REST/endpoints/app-action.js +32 -0
  15. package/dist/es-modules/adapters/REST/endpoints/app-bundle.js +36 -0
  16. package/dist/es-modules/adapters/REST/endpoints/app-definition.js +45 -0
  17. package/dist/es-modules/adapters/REST/endpoints/app-details.js +10 -0
  18. package/dist/es-modules/adapters/REST/endpoints/app-event-subscription.js +10 -0
  19. package/dist/es-modules/adapters/REST/endpoints/app-installation.js +39 -0
  20. package/dist/es-modules/adapters/REST/endpoints/app-key.js +13 -0
  21. package/dist/es-modules/adapters/REST/endpoints/app-signed-request.js +4 -0
  22. package/dist/es-modules/adapters/REST/endpoints/app-signing-secret.js +10 -0
  23. package/dist/es-modules/adapters/REST/endpoints/app-upload.js +23 -0
  24. package/dist/es-modules/adapters/REST/endpoints/asset-key.js +33 -0
  25. package/dist/es-modules/adapters/REST/endpoints/asset.js +255 -0
  26. package/dist/es-modules/adapters/REST/endpoints/bulk-action.js +25 -0
  27. package/dist/es-modules/adapters/REST/endpoints/comment.js +101 -0
  28. package/dist/es-modules/adapters/REST/endpoints/concept-scheme.js +52 -0
  29. package/dist/es-modules/adapters/REST/endpoints/concept.js +84 -0
  30. package/dist/es-modules/adapters/REST/endpoints/content-type.js +61 -0
  31. package/dist/es-modules/adapters/REST/endpoints/editor-interface.js +24 -0
  32. package/dist/es-modules/adapters/REST/endpoints/entry.js +132 -0
  33. package/dist/es-modules/adapters/REST/endpoints/environment-alias.js +46 -0
  34. package/dist/es-modules/adapters/REST/endpoints/environment-template-installation.js +43 -0
  35. package/dist/es-modules/adapters/REST/endpoints/environment-template.js +88 -0
  36. package/dist/es-modules/adapters/REST/endpoints/environment.js +42 -0
  37. package/dist/es-modules/adapters/REST/endpoints/extension.js +44 -0
  38. package/dist/es-modules/adapters/REST/endpoints/function-log.js +22 -0
  39. package/dist/es-modules/adapters/REST/endpoints/function.js +20 -0
  40. package/dist/es-modules/adapters/REST/endpoints/http.js +39 -0
  41. package/dist/es-modules/adapters/REST/endpoints/index.js +138 -0
  42. package/dist/es-modules/adapters/REST/endpoints/locale.js +35 -0
  43. package/dist/es-modules/adapters/REST/endpoints/oauth-application.js +142 -0
  44. package/dist/es-modules/adapters/REST/endpoints/organization-invitation.js +22 -0
  45. package/dist/es-modules/adapters/REST/endpoints/organization-membership.js +35 -0
  46. package/dist/es-modules/adapters/REST/endpoints/organization.js +26 -0
  47. package/dist/es-modules/adapters/REST/endpoints/personal-access-token.js +33 -0
  48. package/dist/es-modules/adapters/REST/endpoints/preview-api-key.js +9 -0
  49. package/dist/es-modules/adapters/REST/endpoints/raw.js +42 -0
  50. package/dist/es-modules/adapters/REST/endpoints/release-action.js +21 -0
  51. package/dist/es-modules/adapters/REST/endpoints/release-asset.js +176 -0
  52. package/dist/es-modules/adapters/REST/endpoints/release-entry.js +54 -0
  53. package/dist/es-modules/adapters/REST/endpoints/release.js +82 -0
  54. package/dist/es-modules/adapters/REST/endpoints/resource-provider.js +13 -0
  55. package/dist/es-modules/adapters/REST/endpoints/resource-type.js +23 -0
  56. package/dist/es-modules/adapters/REST/endpoints/resource.js +5 -0
  57. package/dist/es-modules/adapters/REST/endpoints/role.js +44 -0
  58. package/dist/es-modules/adapters/REST/endpoints/scheduled-action.js +35 -0
  59. package/dist/es-modules/adapters/REST/endpoints/snapshot.js +22 -0
  60. package/dist/es-modules/adapters/REST/endpoints/space-member.js +5 -0
  61. package/dist/es-modules/adapters/REST/endpoints/space-membership.js +55 -0
  62. package/dist/es-modules/adapters/REST/endpoints/space.js +32 -0
  63. package/dist/es-modules/adapters/REST/endpoints/tag.js +46 -0
  64. package/dist/es-modules/adapters/REST/endpoints/task.js +47 -0
  65. package/dist/es-modules/adapters/REST/endpoints/team-membership.js +34 -0
  66. package/dist/es-modules/adapters/REST/endpoints/team-space-membership.js +45 -0
  67. package/dist/es-modules/adapters/REST/endpoints/team.js +35 -0
  68. package/dist/es-modules/adapters/REST/endpoints/ui-config.js +16 -0
  69. package/dist/es-modules/adapters/REST/endpoints/upload-credentials.js +11 -0
  70. package/dist/es-modules/adapters/REST/endpoints/upload.js +37 -0
  71. package/dist/es-modules/adapters/REST/endpoints/usage.js +11 -0
  72. package/dist/es-modules/adapters/REST/endpoints/user-ui-config.js +16 -0
  73. package/dist/es-modules/adapters/REST/endpoints/user.js +20 -0
  74. package/dist/es-modules/adapters/REST/endpoints/utils.js +28 -0
  75. package/dist/es-modules/adapters/REST/endpoints/webhook.js +93 -0
  76. package/dist/es-modules/adapters/REST/endpoints/workflow-definition.js +46 -0
  77. package/dist/es-modules/adapters/REST/endpoints/workflow.js +59 -0
  78. package/dist/es-modules/adapters/REST/endpoints/workflows-changelog.js +6 -0
  79. package/dist/es-modules/adapters/REST/make-request.js +28 -0
  80. package/dist/es-modules/adapters/REST/rest-adapter.js +42 -0
  81. package/dist/es-modules/adapters/REST/types.js +1 -0
  82. package/dist/es-modules/common-types.js +65 -0
  83. package/dist/es-modules/common-utils.js +76 -0
  84. package/dist/es-modules/constants/editor-interface-defaults/controls-defaults.js +255 -0
  85. package/dist/es-modules/constants/editor-interface-defaults/editors-defaults.js +34 -0
  86. package/dist/es-modules/constants/editor-interface-defaults/index.js +9 -0
  87. package/dist/es-modules/constants/editor-interface-defaults/sidebar-defaults.js +57 -0
  88. package/dist/es-modules/constants/editor-interface-defaults/types.js +14 -0
  89. package/dist/es-modules/contentful-management.js +68 -0
  90. package/dist/es-modules/create-adapter.js +16 -0
  91. package/dist/es-modules/create-app-definition-api.js +263 -0
  92. package/dist/es-modules/create-contentful-api.js +663 -0
  93. package/dist/es-modules/create-entry-api.js +548 -0
  94. package/dist/es-modules/create-environment-api.js +2667 -0
  95. package/dist/es-modules/create-environment-template-api.js +319 -0
  96. package/dist/es-modules/create-organization-api.js +1306 -0
  97. package/dist/es-modules/create-space-api.js +1750 -0
  98. package/dist/es-modules/create-ui-config-api.js +60 -0
  99. package/dist/es-modules/create-user-ui-config-api.js +60 -0
  100. package/dist/es-modules/enhance-with-methods.js +22 -0
  101. package/dist/es-modules/entities/access-token.js +38 -0
  102. package/dist/es-modules/entities/ai-action-invocation.js +34 -0
  103. package/dist/es-modules/entities/ai-action.js +69 -0
  104. package/dist/es-modules/entities/api-key.js +55 -0
  105. package/dist/es-modules/entities/app-access-token.js +12 -0
  106. package/dist/es-modules/entities/app-action-call.js +69 -0
  107. package/dist/es-modules/entities/app-action.js +53 -0
  108. package/dist/es-modules/entities/app-bundle.js +44 -0
  109. package/dist/es-modules/entities/app-definition.js +31 -0
  110. package/dist/es-modules/entities/app-details.js +35 -0
  111. package/dist/es-modules/entities/app-event-subscription.js +30 -0
  112. package/dist/es-modules/entities/app-installation.js +51 -0
  113. package/dist/es-modules/entities/app-key.js +40 -0
  114. package/dist/es-modules/entities/app-signed-request.js +12 -0
  115. package/dist/es-modules/entities/app-signing-secret.js +30 -0
  116. package/dist/es-modules/entities/app-upload.js +43 -0
  117. package/dist/es-modules/entities/asset-key.js +12 -0
  118. package/dist/es-modules/entities/asset.js +136 -0
  119. package/dist/es-modules/entities/bulk-action.js +61 -0
  120. package/dist/es-modules/entities/comment.js +77 -0
  121. package/dist/es-modules/entities/concept-scheme.js +1 -0
  122. package/dist/es-modules/entities/concept.js +1 -0
  123. package/dist/es-modules/entities/content-type-fields.js +1 -0
  124. package/dist/es-modules/entities/content-type.js +151 -0
  125. package/dist/es-modules/entities/editor-interface.js +46 -0
  126. package/dist/es-modules/entities/entry.js +27 -0
  127. package/dist/es-modules/entities/environment-alias.js +54 -0
  128. package/dist/es-modules/entities/environment-template-installation.js +17 -0
  129. package/dist/es-modules/entities/environment-template.js +12 -0
  130. package/dist/es-modules/entities/environment.js +29 -0
  131. package/dist/es-modules/entities/extension.js +50 -0
  132. package/dist/es-modules/entities/field-type.js +1 -0
  133. package/dist/es-modules/entities/function-log.js +21 -0
  134. package/dist/es-modules/entities/function.js +61 -0
  135. package/dist/es-modules/entities/index.js +126 -0
  136. package/dist/es-modules/entities/locale.js +53 -0
  137. package/dist/es-modules/entities/oauth-application.js +62 -0
  138. package/dist/es-modules/entities/organization-invitation.js +12 -0
  139. package/dist/es-modules/entities/organization-membership.js +49 -0
  140. package/dist/es-modules/entities/organization.js +32 -0
  141. package/dist/es-modules/entities/personal-access-token.js +38 -0
  142. package/dist/es-modules/entities/preview-api-key.js +27 -0
  143. package/dist/es-modules/entities/release-action.js +53 -0
  144. package/dist/es-modules/entities/release.js +105 -0
  145. package/dist/es-modules/entities/resource-provider.js +139 -0
  146. package/dist/es-modules/entities/resource-type.js +93 -0
  147. package/dist/es-modules/entities/resource.js +7 -0
  148. package/dist/es-modules/entities/role.js +49 -0
  149. package/dist/es-modules/entities/scheduled-action.js +155 -0
  150. package/dist/es-modules/entities/snapshot.js +31 -0
  151. package/dist/es-modules/entities/space-member.js +18 -0
  152. package/dist/es-modules/entities/space-membership.js +49 -0
  153. package/dist/es-modules/entities/space.js +28 -0
  154. package/dist/es-modules/entities/tag.js +56 -0
  155. package/dist/es-modules/entities/task.js +57 -0
  156. package/dist/es-modules/entities/team-membership.js +50 -0
  157. package/dist/es-modules/entities/team-space-membership.js +49 -0
  158. package/dist/es-modules/entities/team.js +49 -0
  159. package/dist/es-modules/entities/ui-config.js +15 -0
  160. package/dist/es-modules/entities/upload-credential.js +33 -0
  161. package/dist/es-modules/entities/upload.js +34 -0
  162. package/dist/es-modules/entities/usage.js +20 -0
  163. package/dist/es-modules/entities/user-ui-config.js +15 -0
  164. package/dist/es-modules/entities/user.js +23 -0
  165. package/dist/es-modules/entities/utils.js +1 -0
  166. package/dist/es-modules/entities/webhook.js +80 -0
  167. package/dist/es-modules/entities/widget-parameters.js +1 -0
  168. package/dist/es-modules/entities/workflow-definition.js +87 -0
  169. package/dist/es-modules/entities/workflow.js +76 -0
  170. package/dist/es-modules/entities/workflows-changelog-entry.js +24 -0
  171. package/dist/es-modules/export-types.js +3 -0
  172. package/dist/es-modules/methods/action.js +54 -0
  173. package/dist/es-modules/methods/content-type.js +47 -0
  174. package/dist/es-modules/methods/release-action.js +17 -0
  175. package/dist/es-modules/methods/utils.js +7 -0
  176. package/dist/es-modules/plain/as-iterator.js +47 -0
  177. package/dist/es-modules/plain/checks.js +8 -0
  178. package/dist/es-modules/plain/common-types.js +1 -0
  179. package/dist/es-modules/plain/entities/ai-action-invocation.js +1 -0
  180. package/dist/es-modules/plain/entities/ai-action.js +1 -0
  181. package/dist/es-modules/plain/entities/app-access-token.js +1 -0
  182. package/dist/es-modules/plain/entities/app-action-call.js +1 -0
  183. package/dist/es-modules/plain/entities/app-action.js +1 -0
  184. package/dist/es-modules/plain/entities/app-bundle.js +1 -0
  185. package/dist/es-modules/plain/entities/app-definition.js +1 -0
  186. package/dist/es-modules/plain/entities/app-details.js +1 -0
  187. package/dist/es-modules/plain/entities/app-event-subscription.js +1 -0
  188. package/dist/es-modules/plain/entities/app-installation.js +1 -0
  189. package/dist/es-modules/plain/entities/app-key.js +1 -0
  190. package/dist/es-modules/plain/entities/app-signed-request.js +1 -0
  191. package/dist/es-modules/plain/entities/app-signing-secret.js +1 -0
  192. package/dist/es-modules/plain/entities/app-upload.js +1 -0
  193. package/dist/es-modules/plain/entities/comment.js +1 -0
  194. package/dist/es-modules/plain/entities/concept-scheme.js +1 -0
  195. package/dist/es-modules/plain/entities/concept.js +1 -0
  196. package/dist/es-modules/plain/entities/editor-interface.js +1 -0
  197. package/dist/es-modules/plain/entities/environment-alias.js +1 -0
  198. package/dist/es-modules/plain/entities/environment.js +1 -0
  199. package/dist/es-modules/plain/entities/extension.js +1 -0
  200. package/dist/es-modules/plain/entities/function-log.js +1 -0
  201. package/dist/es-modules/plain/entities/function.js +1 -0
  202. package/dist/es-modules/plain/entities/locale.js +1 -0
  203. package/dist/es-modules/plain/entities/oauth-application.js +1 -0
  204. package/dist/es-modules/plain/entities/organization.js +1 -0
  205. package/dist/es-modules/plain/entities/resource-provider.js +1 -0
  206. package/dist/es-modules/plain/entities/resource-type.js +1 -0
  207. package/dist/es-modules/plain/entities/resource.js +1 -0
  208. package/dist/es-modules/plain/entities/role.js +1 -0
  209. package/dist/es-modules/plain/entities/space-member.js +1 -0
  210. package/dist/es-modules/plain/entities/space-membership.js +1 -0
  211. package/dist/es-modules/plain/entities/space.js +1 -0
  212. package/dist/es-modules/plain/entities/tag.js +1 -0
  213. package/dist/es-modules/plain/entities/task.js +1 -0
  214. package/dist/es-modules/plain/entities/team-membership.js +1 -0
  215. package/dist/es-modules/plain/entities/team-space-membership.js +1 -0
  216. package/dist/es-modules/plain/entities/team.js +1 -0
  217. package/dist/es-modules/plain/entities/ui-config.js +1 -0
  218. package/dist/es-modules/plain/entities/upload-credential.js +1 -0
  219. package/dist/es-modules/plain/entities/upload.js +1 -0
  220. package/dist/es-modules/plain/entities/usage.js +1 -0
  221. package/dist/es-modules/plain/entities/user-ui-config.js +1 -0
  222. package/dist/es-modules/plain/entities/user.js +1 -0
  223. package/dist/es-modules/plain/entities/webhook.js +1 -0
  224. package/dist/es-modules/plain/entities/workflow-definition.js +1 -0
  225. package/dist/es-modules/plain/entities/workflow.js +1 -0
  226. package/dist/es-modules/plain/entities/workflows-changelog.js +1 -0
  227. package/dist/es-modules/plain/pagination-helper.js +76 -0
  228. package/dist/es-modules/plain/plain-client.js +587 -0
  229. package/dist/es-modules/plain/wrappers/wrap.js +46 -0
  230. package/dist/es-modules/plain/wrappers/wrap.test-d.js +15 -0
  231. package/dist/es-modules/upload-http-client.js +17 -0
  232. package/dist/typings/common-types.d.ts +2972 -0
  233. package/dist/typings/common-utils.d.ts +11 -0
  234. package/dist/typings/contentful-management.d.ts +65 -0
  235. package/dist/typings/create-app-definition-api.d.ts +169 -0
  236. package/dist/typings/create-entry-api.d.ts +331 -0
  237. package/dist/typings/create-environment-api.d.ts +1749 -0
  238. package/dist/typings/create-environment-template-api.d.ts +198 -0
  239. package/dist/typings/create-organization-api.d.ts +1180 -0
  240. package/dist/typings/create-space-api.d.ts +1150 -0
  241. package/dist/typings/create-ui-config-api.d.ts +34 -0
  242. package/dist/typings/create-user-ui-config-api.d.ts +34 -0
  243. package/dist/typings/entities/access-token.d.ts +61 -0
  244. package/dist/typings/entities/ai-action-invocation.d.ts +82 -0
  245. package/dist/typings/entities/ai-action.d.ts +75 -0
  246. package/dist/typings/entities/api-key.d.ts +70 -0
  247. package/dist/typings/entities/app-action.d.ts +161 -0
  248. package/dist/typings/entities/app-bundle.d.ts +86 -0
  249. package/dist/typings/entities/app-definition.d.ts +88 -0
  250. package/dist/typings/entities/app-installation.d.ts +70 -0
  251. package/dist/typings/entities/app-key.d.ts +77 -0
  252. package/dist/typings/entities/app-upload.d.ts +44 -0
  253. package/dist/typings/entities/asset.d.ts +282 -0
  254. package/dist/typings/entities/comment.d.ts +102 -0
  255. package/dist/typings/entities/content-type.d.ts +217 -0
  256. package/dist/typings/entities/editor-interface.d.ts +168 -0
  257. package/dist/typings/entities/entry.d.ts +57 -0
  258. package/dist/typings/entities/environment-alias.d.ts +74 -0
  259. package/dist/typings/entities/environment-template-installation.d.ts +57 -0
  260. package/dist/typings/entities/environment-template.d.ts +40 -0
  261. package/dist/typings/entities/environment.d.ts +38 -0
  262. package/dist/typings/entities/extension.d.ts +103 -0
  263. package/dist/typings/entities/function-log.d.ts +46 -0
  264. package/dist/typings/entities/function.d.ts +32 -0
  265. package/dist/typings/entities/locale.d.ts +95 -0
  266. package/dist/typings/entities/oauth-application.d.ts +56 -0
  267. package/dist/typings/entities/organization-membership.d.ts +69 -0
  268. package/dist/typings/entities/organization.d.ts +33 -0
  269. package/dist/typings/entities/personal-access-token.d.ts +51 -0
  270. package/dist/typings/entities/preview-api-key.d.ts +20 -0
  271. package/dist/typings/entities/release-action.d.ts +58 -0
  272. package/dist/typings/entities/role.d.ts +85 -0
  273. package/dist/typings/entities/scheduled-action.d.ts +112 -0
  274. package/dist/typings/entities/snapshot.d.ts +24 -0
  275. package/dist/typings/entities/space-member.d.ts +31 -0
  276. package/dist/typings/entities/space-membership.d.ts +64 -0
  277. package/dist/typings/entities/space.d.ts +31 -0
  278. package/dist/typings/entities/tag.d.ts +51 -0
  279. package/dist/typings/entities/task.d.ts +43 -0
  280. package/dist/typings/entities/team-membership.d.ts +78 -0
  281. package/dist/typings/entities/team-space-membership.d.ts +88 -0
  282. package/dist/typings/entities/team.d.ts +73 -0
  283. package/dist/typings/entities/usage.d.ts +55 -0
  284. package/dist/typings/entities/user.d.ts +57 -0
  285. package/dist/typings/entities/webhook.d.ts +279 -0
  286. package/dist/typings/entities/workflow-definition.d.ts +118 -0
  287. package/dist/typings/entities/workflow.d.ts +64 -0
  288. package/dist/typings/entities/workflows-changelog-entry.d.ts +33 -0
  289. package/dist/typings/export-types.d.ts +70 -0
  290. package/dist/typings/plain/common-types.d.ts +471 -0
  291. package/dist/typings/plain/entities/app-upload.d.ts +55 -0
  292. package/dist/typings/plain/entities/upload.d.ts +57 -0
  293. package/dist/typings/plain/wrappers/wrap.d.ts +32 -0
  294. package/package.json +57 -54
  295. package/types.d.ts +1 -0
  296. package/dist/browser/index.js +0 -23417
  297. package/dist/browser/index.js.map +0 -1
  298. package/dist/browser/index.min.js +0 -2
  299. package/dist/browser/index.min.js.map +0 -1
  300. package/dist/cjs/index.cjs +0 -14186
  301. package/dist/cjs/index.cjs.map +0 -1
  302. package/dist/esm/adapters/REST/endpoints/access-token.mjs +0 -131
  303. package/dist/esm/adapters/REST/endpoints/access-token.mjs.map +0 -1
  304. package/dist/esm/adapters/REST/endpoints/ai-action-invocation.mjs +0 -8
  305. package/dist/esm/adapters/REST/endpoints/ai-action-invocation.mjs.map +0 -1
  306. package/dist/esm/adapters/REST/endpoints/ai-action.mjs +0 -49
  307. package/dist/esm/adapters/REST/endpoints/ai-action.mjs.map +0 -1
  308. package/dist/esm/adapters/REST/endpoints/api-key.mjs +0 -44
  309. package/dist/esm/adapters/REST/endpoints/api-key.mjs.map +0 -1
  310. package/dist/esm/adapters/REST/endpoints/app-access-token.mjs +0 -8
  311. package/dist/esm/adapters/REST/endpoints/app-access-token.mjs.map +0 -1
  312. package/dist/esm/adapters/REST/endpoints/app-action-call.mjs +0 -112
  313. package/dist/esm/adapters/REST/endpoints/app-action-call.mjs.map +0 -1
  314. package/dist/esm/adapters/REST/endpoints/app-action.mjs +0 -36
  315. package/dist/esm/adapters/REST/endpoints/app-action.mjs.map +0 -1
  316. package/dist/esm/adapters/REST/endpoints/app-bundle.mjs +0 -35
  317. package/dist/esm/adapters/REST/endpoints/app-bundle.mjs.map +0 -1
  318. package/dist/esm/adapters/REST/endpoints/app-definition.mjs +0 -45
  319. package/dist/esm/adapters/REST/endpoints/app-definition.mjs.map +0 -1
  320. package/dist/esm/adapters/REST/endpoints/app-details.mjs +0 -14
  321. package/dist/esm/adapters/REST/endpoints/app-details.mjs.map +0 -1
  322. package/dist/esm/adapters/REST/endpoints/app-event-subscription.mjs +0 -14
  323. package/dist/esm/adapters/REST/endpoints/app-event-subscription.mjs.map +0 -1
  324. package/dist/esm/adapters/REST/endpoints/app-installation.mjs +0 -42
  325. package/dist/esm/adapters/REST/endpoints/app-installation.mjs.map +0 -1
  326. package/dist/esm/adapters/REST/endpoints/app-key.mjs +0 -17
  327. package/dist/esm/adapters/REST/endpoints/app-key.mjs.map +0 -1
  328. package/dist/esm/adapters/REST/endpoints/app-signed-request.mjs +0 -8
  329. package/dist/esm/adapters/REST/endpoints/app-signed-request.mjs.map +0 -1
  330. package/dist/esm/adapters/REST/endpoints/app-signing-secret.mjs +0 -14
  331. package/dist/esm/adapters/REST/endpoints/app-signing-secret.mjs.map +0 -1
  332. package/dist/esm/adapters/REST/endpoints/app-upload.mjs +0 -25
  333. package/dist/esm/adapters/REST/endpoints/app-upload.mjs.map +0 -1
  334. package/dist/esm/adapters/REST/endpoints/asset-key.mjs +0 -32
  335. package/dist/esm/adapters/REST/endpoints/asset-key.mjs.map +0 -1
  336. package/dist/esm/adapters/REST/endpoints/asset.mjs +0 -208
  337. package/dist/esm/adapters/REST/endpoints/asset.mjs.map +0 -1
  338. package/dist/esm/adapters/REST/endpoints/bulk-action.mjs +0 -29
  339. package/dist/esm/adapters/REST/endpoints/bulk-action.mjs.map +0 -1
  340. package/dist/esm/adapters/REST/endpoints/comment.mjs +0 -91
  341. package/dist/esm/adapters/REST/endpoints/comment.mjs.map +0 -1
  342. package/dist/esm/adapters/REST/endpoints/concept-scheme.mjs +0 -54
  343. package/dist/esm/adapters/REST/endpoints/concept-scheme.mjs.map +0 -1
  344. package/dist/esm/adapters/REST/endpoints/concept.mjs +0 -70
  345. package/dist/esm/adapters/REST/endpoints/concept.mjs.map +0 -1
  346. package/dist/esm/adapters/REST/endpoints/content-type.mjs +0 -53
  347. package/dist/esm/adapters/REST/endpoints/content-type.mjs.map +0 -1
  348. package/dist/esm/adapters/REST/endpoints/editor-interface.mjs +0 -23
  349. package/dist/esm/adapters/REST/endpoints/editor-interface.mjs.map +0 -1
  350. package/dist/esm/adapters/REST/endpoints/entry.mjs +0 -114
  351. package/dist/esm/adapters/REST/endpoints/entry.mjs.map +0 -1
  352. package/dist/esm/adapters/REST/endpoints/environment-alias.mjs +0 -41
  353. package/dist/esm/adapters/REST/endpoints/environment-alias.mjs.map +0 -1
  354. package/dist/esm/adapters/REST/endpoints/environment-template-installation.mjs +0 -21
  355. package/dist/esm/adapters/REST/endpoints/environment-template-installation.mjs.map +0 -1
  356. package/dist/esm/adapters/REST/endpoints/environment-template.mjs +0 -41
  357. package/dist/esm/adapters/REST/endpoints/environment-template.mjs.map +0 -1
  358. package/dist/esm/adapters/REST/endpoints/environment.mjs +0 -46
  359. package/dist/esm/adapters/REST/endpoints/environment.mjs.map +0 -1
  360. package/dist/esm/adapters/REST/endpoints/extension.mjs +0 -39
  361. package/dist/esm/adapters/REST/endpoints/extension.mjs.map +0 -1
  362. package/dist/esm/adapters/REST/endpoints/function-log.mjs +0 -25
  363. package/dist/esm/adapters/REST/endpoints/function-log.mjs.map +0 -1
  364. package/dist/esm/adapters/REST/endpoints/function.mjs +0 -22
  365. package/dist/esm/adapters/REST/endpoints/function.mjs.map +0 -1
  366. package/dist/esm/adapters/REST/endpoints/http.mjs +0 -23
  367. package/dist/esm/adapters/REST/endpoints/http.mjs.map +0 -1
  368. package/dist/esm/adapters/REST/endpoints/index.mjs +0 -142
  369. package/dist/esm/adapters/REST/endpoints/index.mjs.map +0 -1
  370. package/dist/esm/adapters/REST/endpoints/locale.mjs +0 -34
  371. package/dist/esm/adapters/REST/endpoints/locale.mjs.map +0 -1
  372. package/dist/esm/adapters/REST/endpoints/oauth-application.mjs +0 -142
  373. package/dist/esm/adapters/REST/endpoints/oauth-application.mjs.map +0 -1
  374. package/dist/esm/adapters/REST/endpoints/organization-invitation.mjs +0 -27
  375. package/dist/esm/adapters/REST/endpoints/organization-invitation.mjs.map +0 -1
  376. package/dist/esm/adapters/REST/endpoints/organization-membership.mjs +0 -30
  377. package/dist/esm/adapters/REST/endpoints/organization-membership.mjs.map +0 -1
  378. package/dist/esm/adapters/REST/endpoints/organization.mjs +0 -26
  379. package/dist/esm/adapters/REST/endpoints/organization.mjs.map +0 -1
  380. package/dist/esm/adapters/REST/endpoints/personal-access-token.mjs +0 -33
  381. package/dist/esm/adapters/REST/endpoints/personal-access-token.mjs.map +0 -1
  382. package/dist/esm/adapters/REST/endpoints/preview-api-key.mjs +0 -13
  383. package/dist/esm/adapters/REST/endpoints/preview-api-key.mjs.map +0 -1
  384. package/dist/esm/adapters/REST/endpoints/raw.mjs +0 -55
  385. package/dist/esm/adapters/REST/endpoints/raw.mjs.map +0 -1
  386. package/dist/esm/adapters/REST/endpoints/release-action.mjs +0 -21
  387. package/dist/esm/adapters/REST/endpoints/release-action.mjs.map +0 -1
  388. package/dist/esm/adapters/REST/endpoints/release-asset.mjs +0 -143
  389. package/dist/esm/adapters/REST/endpoints/release-asset.mjs.map +0 -1
  390. package/dist/esm/adapters/REST/endpoints/release-entry.mjs +0 -56
  391. package/dist/esm/adapters/REST/endpoints/release-entry.mjs.map +0 -1
  392. package/dist/esm/adapters/REST/endpoints/release.mjs +0 -73
  393. package/dist/esm/adapters/REST/endpoints/release.mjs.map +0 -1
  394. package/dist/esm/adapters/REST/endpoints/resource-provider.mjs +0 -15
  395. package/dist/esm/adapters/REST/endpoints/resource-provider.mjs.map +0 -1
  396. package/dist/esm/adapters/REST/endpoints/resource-type.mjs +0 -25
  397. package/dist/esm/adapters/REST/endpoints/resource-type.mjs.map +0 -1
  398. package/dist/esm/adapters/REST/endpoints/resource.mjs +0 -9
  399. package/dist/esm/adapters/REST/endpoints/resource.mjs.map +0 -1
  400. package/dist/esm/adapters/REST/endpoints/role.mjs +0 -43
  401. package/dist/esm/adapters/REST/endpoints/role.mjs.map +0 -1
  402. package/dist/esm/adapters/REST/endpoints/scheduled-action.mjs +0 -38
  403. package/dist/esm/adapters/REST/endpoints/scheduled-action.mjs.map +0 -1
  404. package/dist/esm/adapters/REST/endpoints/snapshot.mjs +0 -26
  405. package/dist/esm/adapters/REST/endpoints/snapshot.mjs.map +0 -1
  406. package/dist/esm/adapters/REST/endpoints/space-member.mjs +0 -9
  407. package/dist/esm/adapters/REST/endpoints/space-member.mjs.map +0 -1
  408. package/dist/esm/adapters/REST/endpoints/space-membership.mjs +0 -54
  409. package/dist/esm/adapters/REST/endpoints/space-membership.mjs.map +0 -1
  410. package/dist/esm/adapters/REST/endpoints/space.mjs +0 -31
  411. package/dist/esm/adapters/REST/endpoints/space.mjs.map +0 -1
  412. package/dist/esm/adapters/REST/endpoints/tag.mjs +0 -31
  413. package/dist/esm/adapters/REST/endpoints/tag.mjs.map +0 -1
  414. package/dist/esm/adapters/REST/endpoints/task.mjs +0 -34
  415. package/dist/esm/adapters/REST/endpoints/task.mjs.map +0 -1
  416. package/dist/esm/adapters/REST/endpoints/team-membership.mjs +0 -32
  417. package/dist/esm/adapters/REST/endpoints/team-membership.mjs.map +0 -1
  418. package/dist/esm/adapters/REST/endpoints/team-space-membership.mjs +0 -46
  419. package/dist/esm/adapters/REST/endpoints/team-space-membership.mjs.map +0 -1
  420. package/dist/esm/adapters/REST/endpoints/team.mjs +0 -32
  421. package/dist/esm/adapters/REST/endpoints/team.mjs.map +0 -1
  422. package/dist/esm/adapters/REST/endpoints/ui-config.mjs +0 -19
  423. package/dist/esm/adapters/REST/endpoints/ui-config.mjs.map +0 -1
  424. package/dist/esm/adapters/REST/endpoints/upload-credentials.mjs +0 -14
  425. package/dist/esm/adapters/REST/endpoints/upload-credentials.mjs.map +0 -1
  426. package/dist/esm/adapters/REST/endpoints/upload.mjs +0 -39
  427. package/dist/esm/adapters/REST/endpoints/upload.mjs.map +0 -1
  428. package/dist/esm/adapters/REST/endpoints/usage.mjs +0 -15
  429. package/dist/esm/adapters/REST/endpoints/usage.mjs.map +0 -1
  430. package/dist/esm/adapters/REST/endpoints/user-ui-config.mjs +0 -19
  431. package/dist/esm/adapters/REST/endpoints/user-ui-config.mjs.map +0 -1
  432. package/dist/esm/adapters/REST/endpoints/user.mjs +0 -22
  433. package/dist/esm/adapters/REST/endpoints/user.mjs.map +0 -1
  434. package/dist/esm/adapters/REST/endpoints/utils.mjs +0 -22
  435. package/dist/esm/adapters/REST/endpoints/utils.mjs.map +0 -1
  436. package/dist/esm/adapters/REST/endpoints/webhook.mjs +0 -85
  437. package/dist/esm/adapters/REST/endpoints/webhook.mjs.map +0 -1
  438. package/dist/esm/adapters/REST/endpoints/workflow-definition.mjs +0 -36
  439. package/dist/esm/adapters/REST/endpoints/workflow-definition.mjs.map +0 -1
  440. package/dist/esm/adapters/REST/endpoints/workflow.mjs +0 -42
  441. package/dist/esm/adapters/REST/endpoints/workflow.mjs.map +0 -1
  442. package/dist/esm/adapters/REST/endpoints/workflows-changelog.mjs +0 -10
  443. package/dist/esm/adapters/REST/endpoints/workflows-changelog.mjs.map +0 -1
  444. package/dist/esm/adapters/REST/make-request.mjs +0 -21
  445. package/dist/esm/adapters/REST/make-request.mjs.map +0 -1
  446. package/dist/esm/adapters/REST/rest-adapter.mjs +0 -42
  447. package/dist/esm/adapters/REST/rest-adapter.mjs.map +0 -1
  448. package/dist/esm/common-types.mjs +0 -7
  449. package/dist/esm/common-types.mjs.map +0 -1
  450. package/dist/esm/common-utils.mjs +0 -33
  451. package/dist/esm/common-utils.mjs.map +0 -1
  452. package/dist/esm/constants/editor-interface-defaults/controls-defaults.mjs +0 -162
  453. package/dist/esm/constants/editor-interface-defaults/controls-defaults.mjs.map +0 -1
  454. package/dist/esm/constants/editor-interface-defaults/editors-defaults.mjs +0 -32
  455. package/dist/esm/constants/editor-interface-defaults/editors-defaults.mjs.map +0 -1
  456. package/dist/esm/constants/editor-interface-defaults/index.mjs +0 -13
  457. package/dist/esm/constants/editor-interface-defaults/index.mjs.map +0 -1
  458. package/dist/esm/constants/editor-interface-defaults/sidebar-defaults.mjs +0 -65
  459. package/dist/esm/constants/editor-interface-defaults/sidebar-defaults.mjs.map +0 -1
  460. package/dist/esm/constants/editor-interface-defaults/types.mjs +0 -16
  461. package/dist/esm/constants/editor-interface-defaults/types.mjs.map +0 -1
  462. package/dist/esm/create-adapter.mjs +0 -20
  463. package/dist/esm/create-adapter.mjs.map +0 -1
  464. package/dist/esm/create-app-definition-api.mjs +0 -253
  465. package/dist/esm/create-app-definition-api.mjs.map +0 -1
  466. package/dist/esm/create-contentful-api.mjs +0 -588
  467. package/dist/esm/create-contentful-api.mjs.map +0 -1
  468. package/dist/esm/create-entry-api.mjs +0 -489
  469. package/dist/esm/create-entry-api.mjs.map +0 -1
  470. package/dist/esm/create-environment-api.mjs +0 -2441
  471. package/dist/esm/create-environment-api.mjs.map +0 -1
  472. package/dist/esm/create-environment-template-api.mjs +0 -272
  473. package/dist/esm/create-environment-template-api.mjs.map +0 -1
  474. package/dist/esm/create-organization-api.mjs +0 -1138
  475. package/dist/esm/create-organization-api.mjs.map +0 -1
  476. package/dist/esm/create-space-api.mjs +0 -1589
  477. package/dist/esm/create-space-api.mjs.map +0 -1
  478. package/dist/esm/create-ui-config-api.mjs +0 -54
  479. package/dist/esm/create-ui-config-api.mjs.map +0 -1
  480. package/dist/esm/create-user-ui-config-api.mjs +0 -54
  481. package/dist/esm/create-user-ui-config-api.mjs.map +0 -1
  482. package/dist/esm/enhance-with-methods.mjs +0 -25
  483. package/dist/esm/enhance-with-methods.mjs.map +0 -1
  484. package/dist/esm/entities/access-token.mjs +0 -34
  485. package/dist/esm/entities/access-token.mjs.map +0 -1
  486. package/dist/esm/entities/ai-action-invocation.mjs +0 -17
  487. package/dist/esm/entities/ai-action-invocation.mjs.map +0 -1
  488. package/dist/esm/entities/ai-action.mjs +0 -73
  489. package/dist/esm/entities/ai-action.mjs.map +0 -1
  490. package/dist/esm/entities/api-key.mjs +0 -54
  491. package/dist/esm/entities/api-key.mjs.map +0 -1
  492. package/dist/esm/entities/app-access-token.mjs +0 -16
  493. package/dist/esm/entities/app-access-token.mjs.map +0 -1
  494. package/dist/esm/entities/app-action-call.mjs +0 -66
  495. package/dist/esm/entities/app-action-call.mjs.map +0 -1
  496. package/dist/esm/entities/app-action.mjs +0 -46
  497. package/dist/esm/entities/app-action.mjs.map +0 -1
  498. package/dist/esm/entities/app-bundle.mjs +0 -46
  499. package/dist/esm/entities/app-bundle.mjs.map +0 -1
  500. package/dist/esm/entities/app-definition.mjs +0 -27
  501. package/dist/esm/entities/app-definition.mjs.map +0 -1
  502. package/dist/esm/entities/app-details.mjs +0 -38
  503. package/dist/esm/entities/app-details.mjs.map +0 -1
  504. package/dist/esm/entities/app-event-subscription.mjs +0 -33
  505. package/dist/esm/entities/app-event-subscription.mjs.map +0 -1
  506. package/dist/esm/entities/app-installation.mjs +0 -53
  507. package/dist/esm/entities/app-installation.mjs.map +0 -1
  508. package/dist/esm/entities/app-key.mjs +0 -42
  509. package/dist/esm/entities/app-key.mjs.map +0 -1
  510. package/dist/esm/entities/app-signed-request.mjs +0 -16
  511. package/dist/esm/entities/app-signed-request.mjs.map +0 -1
  512. package/dist/esm/entities/app-signing-secret.mjs +0 -33
  513. package/dist/esm/entities/app-signing-secret.mjs.map +0 -1
  514. package/dist/esm/entities/app-upload.mjs +0 -45
  515. package/dist/esm/entities/app-upload.mjs.map +0 -1
  516. package/dist/esm/entities/asset-key.mjs +0 -16
  517. package/dist/esm/entities/asset-key.mjs.map +0 -1
  518. package/dist/esm/entities/asset.mjs +0 -130
  519. package/dist/esm/entities/asset.mjs.map +0 -1
  520. package/dist/esm/entities/bulk-action.mjs +0 -59
  521. package/dist/esm/entities/bulk-action.mjs.map +0 -1
  522. package/dist/esm/entities/comment.mjs +0 -61
  523. package/dist/esm/entities/comment.mjs.map +0 -1
  524. package/dist/esm/entities/content-type.mjs +0 -118
  525. package/dist/esm/entities/content-type.mjs.map +0 -1
  526. package/dist/esm/entities/editor-interface.mjs +0 -48
  527. package/dist/esm/entities/editor-interface.mjs.map +0 -1
  528. package/dist/esm/entities/entry.mjs +0 -25
  529. package/dist/esm/entities/entry.mjs.map +0 -1
  530. package/dist/esm/entities/environment-alias.mjs +0 -56
  531. package/dist/esm/entities/environment-alias.mjs.map +0 -1
  532. package/dist/esm/entities/environment-template-installation.mjs +0 -21
  533. package/dist/esm/entities/environment-template-installation.mjs.map +0 -1
  534. package/dist/esm/entities/environment-template.mjs +0 -16
  535. package/dist/esm/entities/environment-template.mjs.map +0 -1
  536. package/dist/esm/entities/environment.mjs +0 -32
  537. package/dist/esm/entities/environment.mjs.map +0 -1
  538. package/dist/esm/entities/extension.mjs +0 -52
  539. package/dist/esm/entities/extension.mjs.map +0 -1
  540. package/dist/esm/entities/function-log.mjs +0 -24
  541. package/dist/esm/entities/function-log.mjs.map +0 -1
  542. package/dist/esm/entities/function.mjs +0 -64
  543. package/dist/esm/entities/function.mjs.map +0 -1
  544. package/dist/esm/entities/index.mjs +0 -117
  545. package/dist/esm/entities/index.mjs.map +0 -1
  546. package/dist/esm/entities/locale.mjs +0 -55
  547. package/dist/esm/entities/locale.mjs.map +0 -1
  548. package/dist/esm/entities/oauth-application.mjs +0 -64
  549. package/dist/esm/entities/oauth-application.mjs.map +0 -1
  550. package/dist/esm/entities/organization-invitation.mjs +0 -16
  551. package/dist/esm/entities/organization-invitation.mjs.map +0 -1
  552. package/dist/esm/entities/organization-membership.mjs +0 -51
  553. package/dist/esm/entities/organization-membership.mjs.map +0 -1
  554. package/dist/esm/entities/organization.mjs +0 -30
  555. package/dist/esm/entities/organization.mjs.map +0 -1
  556. package/dist/esm/entities/personal-access-token.mjs +0 -34
  557. package/dist/esm/entities/personal-access-token.mjs.map +0 -1
  558. package/dist/esm/entities/preview-api-key.mjs +0 -29
  559. package/dist/esm/entities/preview-api-key.mjs.map +0 -1
  560. package/dist/esm/entities/release-action.mjs +0 -53
  561. package/dist/esm/entities/release-action.mjs.map +0 -1
  562. package/dist/esm/entities/release.mjs +0 -107
  563. package/dist/esm/entities/release.mjs.map +0 -1
  564. package/dist/esm/entities/resource-provider.mjs +0 -138
  565. package/dist/esm/entities/resource-provider.mjs.map +0 -1
  566. package/dist/esm/entities/resource-type.mjs +0 -95
  567. package/dist/esm/entities/resource-type.mjs.map +0 -1
  568. package/dist/esm/entities/resource.mjs +0 -11
  569. package/dist/esm/entities/resource.mjs.map +0 -1
  570. package/dist/esm/entities/role.mjs +0 -51
  571. package/dist/esm/entities/role.mjs.map +0 -1
  572. package/dist/esm/entities/scheduled-action.mjs +0 -147
  573. package/dist/esm/entities/scheduled-action.mjs.map +0 -1
  574. package/dist/esm/entities/snapshot.mjs +0 -34
  575. package/dist/esm/entities/snapshot.mjs.map +0 -1
  576. package/dist/esm/entities/space-member.mjs +0 -21
  577. package/dist/esm/entities/space-member.mjs.map +0 -1
  578. package/dist/esm/entities/space-membership.mjs +0 -51
  579. package/dist/esm/entities/space-membership.mjs.map +0 -1
  580. package/dist/esm/entities/space.mjs +0 -31
  581. package/dist/esm/entities/space.mjs.map +0 -1
  582. package/dist/esm/entities/tag.mjs +0 -54
  583. package/dist/esm/entities/tag.mjs.map +0 -1
  584. package/dist/esm/entities/task.mjs +0 -55
  585. package/dist/esm/entities/task.mjs.map +0 -1
  586. package/dist/esm/entities/team-membership.mjs +0 -52
  587. package/dist/esm/entities/team-membership.mjs.map +0 -1
  588. package/dist/esm/entities/team-space-membership.mjs +0 -51
  589. package/dist/esm/entities/team-space-membership.mjs.map +0 -1
  590. package/dist/esm/entities/team.mjs +0 -51
  591. package/dist/esm/entities/team.mjs.map +0 -1
  592. package/dist/esm/entities/ui-config.mjs +0 -19
  593. package/dist/esm/entities/ui-config.mjs.map +0 -1
  594. package/dist/esm/entities/upload.mjs +0 -37
  595. package/dist/esm/entities/upload.mjs.map +0 -1
  596. package/dist/esm/entities/usage.mjs +0 -23
  597. package/dist/esm/entities/usage.mjs.map +0 -1
  598. package/dist/esm/entities/user-ui-config.mjs +0 -19
  599. package/dist/esm/entities/user-ui-config.mjs.map +0 -1
  600. package/dist/esm/entities/user.mjs +0 -26
  601. package/dist/esm/entities/user.mjs.map +0 -1
  602. package/dist/esm/entities/webhook.mjs +0 -75
  603. package/dist/esm/entities/webhook.mjs.map +0 -1
  604. package/dist/esm/entities/workflow-definition.mjs +0 -29
  605. package/dist/esm/entities/workflow-definition.mjs.map +0 -1
  606. package/dist/esm/index.mjs +0 -40
  607. package/dist/esm/index.mjs.map +0 -1
  608. package/dist/esm/methods/action.mjs +0 -49
  609. package/dist/esm/methods/action.mjs.map +0 -1
  610. package/dist/esm/methods/content-type.mjs +0 -47
  611. package/dist/esm/methods/content-type.mjs.map +0 -1
  612. package/dist/esm/methods/utils.mjs +0 -10
  613. package/dist/esm/methods/utils.mjs.map +0 -1
  614. package/dist/esm/plain/as-iterator.mjs +0 -37
  615. package/dist/esm/plain/as-iterator.mjs.map +0 -1
  616. package/dist/esm/plain/checks.mjs +0 -11
  617. package/dist/esm/plain/checks.mjs.map +0 -1
  618. package/dist/esm/plain/pagination-helper.mjs +0 -68
  619. package/dist/esm/plain/pagination-helper.mjs.map +0 -1
  620. package/dist/esm/plain/plain-client.mjs +0 -564
  621. package/dist/esm/plain/plain-client.mjs.map +0 -1
  622. package/dist/esm/plain/wrappers/wrap.mjs +0 -25
  623. package/dist/esm/plain/wrappers/wrap.mjs.map +0 -1
  624. package/dist/esm/upload-http-client.mjs +0 -15
  625. package/dist/esm/upload-http-client.mjs.map +0 -1
  626. package/dist/types/adapters/REST/endpoints/access-token.js +0 -131
  627. package/dist/types/adapters/REST/endpoints/access-token.js.map +0 -1
  628. package/dist/types/adapters/REST/endpoints/ai-action-invocation.js +0 -8
  629. package/dist/types/adapters/REST/endpoints/ai-action-invocation.js.map +0 -1
  630. package/dist/types/adapters/REST/endpoints/ai-action.js +0 -49
  631. package/dist/types/adapters/REST/endpoints/ai-action.js.map +0 -1
  632. package/dist/types/adapters/REST/endpoints/api-key.js +0 -44
  633. package/dist/types/adapters/REST/endpoints/api-key.js.map +0 -1
  634. package/dist/types/adapters/REST/endpoints/app-access-token.js +0 -8
  635. package/dist/types/adapters/REST/endpoints/app-access-token.js.map +0 -1
  636. package/dist/types/adapters/REST/endpoints/app-action-call.js +0 -112
  637. package/dist/types/adapters/REST/endpoints/app-action-call.js.map +0 -1
  638. package/dist/types/adapters/REST/endpoints/app-action.js +0 -36
  639. package/dist/types/adapters/REST/endpoints/app-action.js.map +0 -1
  640. package/dist/types/adapters/REST/endpoints/app-bundle.js +0 -35
  641. package/dist/types/adapters/REST/endpoints/app-bundle.js.map +0 -1
  642. package/dist/types/adapters/REST/endpoints/app-definition.js +0 -45
  643. package/dist/types/adapters/REST/endpoints/app-definition.js.map +0 -1
  644. package/dist/types/adapters/REST/endpoints/app-details.js +0 -14
  645. package/dist/types/adapters/REST/endpoints/app-details.js.map +0 -1
  646. package/dist/types/adapters/REST/endpoints/app-event-subscription.js +0 -14
  647. package/dist/types/adapters/REST/endpoints/app-event-subscription.js.map +0 -1
  648. package/dist/types/adapters/REST/endpoints/app-installation.js +0 -42
  649. package/dist/types/adapters/REST/endpoints/app-installation.js.map +0 -1
  650. package/dist/types/adapters/REST/endpoints/app-key.js +0 -17
  651. package/dist/types/adapters/REST/endpoints/app-key.js.map +0 -1
  652. package/dist/types/adapters/REST/endpoints/app-signed-request.js +0 -8
  653. package/dist/types/adapters/REST/endpoints/app-signed-request.js.map +0 -1
  654. package/dist/types/adapters/REST/endpoints/app-signing-secret.js +0 -14
  655. package/dist/types/adapters/REST/endpoints/app-signing-secret.js.map +0 -1
  656. package/dist/types/adapters/REST/endpoints/app-upload.js +0 -25
  657. package/dist/types/adapters/REST/endpoints/app-upload.js.map +0 -1
  658. package/dist/types/adapters/REST/endpoints/asset-key.js +0 -32
  659. package/dist/types/adapters/REST/endpoints/asset-key.js.map +0 -1
  660. package/dist/types/adapters/REST/endpoints/asset.js +0 -208
  661. package/dist/types/adapters/REST/endpoints/asset.js.map +0 -1
  662. package/dist/types/adapters/REST/endpoints/bulk-action.js +0 -29
  663. package/dist/types/adapters/REST/endpoints/bulk-action.js.map +0 -1
  664. package/dist/types/adapters/REST/endpoints/comment.js +0 -91
  665. package/dist/types/adapters/REST/endpoints/comment.js.map +0 -1
  666. package/dist/types/adapters/REST/endpoints/concept-scheme.js +0 -54
  667. package/dist/types/adapters/REST/endpoints/concept-scheme.js.map +0 -1
  668. package/dist/types/adapters/REST/endpoints/concept.js +0 -70
  669. package/dist/types/adapters/REST/endpoints/concept.js.map +0 -1
  670. package/dist/types/adapters/REST/endpoints/content-type.js +0 -53
  671. package/dist/types/adapters/REST/endpoints/content-type.js.map +0 -1
  672. package/dist/types/adapters/REST/endpoints/editor-interface.js +0 -23
  673. package/dist/types/adapters/REST/endpoints/editor-interface.js.map +0 -1
  674. package/dist/types/adapters/REST/endpoints/entry.js +0 -114
  675. package/dist/types/adapters/REST/endpoints/entry.js.map +0 -1
  676. package/dist/types/adapters/REST/endpoints/environment-alias.js +0 -41
  677. package/dist/types/adapters/REST/endpoints/environment-alias.js.map +0 -1
  678. package/dist/types/adapters/REST/endpoints/environment-template-installation.js +0 -21
  679. package/dist/types/adapters/REST/endpoints/environment-template-installation.js.map +0 -1
  680. package/dist/types/adapters/REST/endpoints/environment-template.js +0 -41
  681. package/dist/types/adapters/REST/endpoints/environment-template.js.map +0 -1
  682. package/dist/types/adapters/REST/endpoints/environment.js +0 -46
  683. package/dist/types/adapters/REST/endpoints/environment.js.map +0 -1
  684. package/dist/types/adapters/REST/endpoints/extension.js +0 -39
  685. package/dist/types/adapters/REST/endpoints/extension.js.map +0 -1
  686. package/dist/types/adapters/REST/endpoints/function-log.js +0 -25
  687. package/dist/types/adapters/REST/endpoints/function-log.js.map +0 -1
  688. package/dist/types/adapters/REST/endpoints/function.js +0 -22
  689. package/dist/types/adapters/REST/endpoints/function.js.map +0 -1
  690. package/dist/types/adapters/REST/endpoints/http.js +0 -23
  691. package/dist/types/adapters/REST/endpoints/http.js.map +0 -1
  692. package/dist/types/adapters/REST/endpoints/index.js +0 -142
  693. package/dist/types/adapters/REST/endpoints/index.js.map +0 -1
  694. package/dist/types/adapters/REST/endpoints/locale.js +0 -34
  695. package/dist/types/adapters/REST/endpoints/locale.js.map +0 -1
  696. package/dist/types/adapters/REST/endpoints/oauth-application.js +0 -142
  697. package/dist/types/adapters/REST/endpoints/oauth-application.js.map +0 -1
  698. package/dist/types/adapters/REST/endpoints/organization-invitation.js +0 -27
  699. package/dist/types/adapters/REST/endpoints/organization-invitation.js.map +0 -1
  700. package/dist/types/adapters/REST/endpoints/organization-membership.js +0 -30
  701. package/dist/types/adapters/REST/endpoints/organization-membership.js.map +0 -1
  702. package/dist/types/adapters/REST/endpoints/organization.js +0 -26
  703. package/dist/types/adapters/REST/endpoints/organization.js.map +0 -1
  704. package/dist/types/adapters/REST/endpoints/personal-access-token.js +0 -33
  705. package/dist/types/adapters/REST/endpoints/personal-access-token.js.map +0 -1
  706. package/dist/types/adapters/REST/endpoints/preview-api-key.js +0 -13
  707. package/dist/types/adapters/REST/endpoints/preview-api-key.js.map +0 -1
  708. package/dist/types/adapters/REST/endpoints/raw.js +0 -55
  709. package/dist/types/adapters/REST/endpoints/raw.js.map +0 -1
  710. package/dist/types/adapters/REST/endpoints/release-action.js +0 -21
  711. package/dist/types/adapters/REST/endpoints/release-action.js.map +0 -1
  712. package/dist/types/adapters/REST/endpoints/release-asset.js +0 -143
  713. package/dist/types/adapters/REST/endpoints/release-asset.js.map +0 -1
  714. package/dist/types/adapters/REST/endpoints/release-entry.js +0 -56
  715. package/dist/types/adapters/REST/endpoints/release-entry.js.map +0 -1
  716. package/dist/types/adapters/REST/endpoints/release.js +0 -73
  717. package/dist/types/adapters/REST/endpoints/release.js.map +0 -1
  718. package/dist/types/adapters/REST/endpoints/resource-provider.js +0 -15
  719. package/dist/types/adapters/REST/endpoints/resource-provider.js.map +0 -1
  720. package/dist/types/adapters/REST/endpoints/resource-type.js +0 -25
  721. package/dist/types/adapters/REST/endpoints/resource-type.js.map +0 -1
  722. package/dist/types/adapters/REST/endpoints/resource.js +0 -9
  723. package/dist/types/adapters/REST/endpoints/resource.js.map +0 -1
  724. package/dist/types/adapters/REST/endpoints/role.js +0 -43
  725. package/dist/types/adapters/REST/endpoints/role.js.map +0 -1
  726. package/dist/types/adapters/REST/endpoints/scheduled-action.js +0 -38
  727. package/dist/types/adapters/REST/endpoints/scheduled-action.js.map +0 -1
  728. package/dist/types/adapters/REST/endpoints/snapshot.js +0 -26
  729. package/dist/types/adapters/REST/endpoints/snapshot.js.map +0 -1
  730. package/dist/types/adapters/REST/endpoints/space-member.js +0 -9
  731. package/dist/types/adapters/REST/endpoints/space-member.js.map +0 -1
  732. package/dist/types/adapters/REST/endpoints/space-membership.js +0 -54
  733. package/dist/types/adapters/REST/endpoints/space-membership.js.map +0 -1
  734. package/dist/types/adapters/REST/endpoints/space.js +0 -31
  735. package/dist/types/adapters/REST/endpoints/space.js.map +0 -1
  736. package/dist/types/adapters/REST/endpoints/tag.js +0 -31
  737. package/dist/types/adapters/REST/endpoints/tag.js.map +0 -1
  738. package/dist/types/adapters/REST/endpoints/task.js +0 -34
  739. package/dist/types/adapters/REST/endpoints/task.js.map +0 -1
  740. package/dist/types/adapters/REST/endpoints/team-membership.js +0 -32
  741. package/dist/types/adapters/REST/endpoints/team-membership.js.map +0 -1
  742. package/dist/types/adapters/REST/endpoints/team-space-membership.js +0 -46
  743. package/dist/types/adapters/REST/endpoints/team-space-membership.js.map +0 -1
  744. package/dist/types/adapters/REST/endpoints/team.js +0 -32
  745. package/dist/types/adapters/REST/endpoints/team.js.map +0 -1
  746. package/dist/types/adapters/REST/endpoints/ui-config.js +0 -19
  747. package/dist/types/adapters/REST/endpoints/ui-config.js.map +0 -1
  748. package/dist/types/adapters/REST/endpoints/upload-credentials.js +0 -14
  749. package/dist/types/adapters/REST/endpoints/upload-credentials.js.map +0 -1
  750. package/dist/types/adapters/REST/endpoints/upload.js +0 -39
  751. package/dist/types/adapters/REST/endpoints/upload.js.map +0 -1
  752. package/dist/types/adapters/REST/endpoints/usage.js +0 -15
  753. package/dist/types/adapters/REST/endpoints/usage.js.map +0 -1
  754. package/dist/types/adapters/REST/endpoints/user-ui-config.js +0 -19
  755. package/dist/types/adapters/REST/endpoints/user-ui-config.js.map +0 -1
  756. package/dist/types/adapters/REST/endpoints/user.js +0 -22
  757. package/dist/types/adapters/REST/endpoints/user.js.map +0 -1
  758. package/dist/types/adapters/REST/endpoints/utils.js +0 -22
  759. package/dist/types/adapters/REST/endpoints/utils.js.map +0 -1
  760. package/dist/types/adapters/REST/endpoints/webhook.js +0 -85
  761. package/dist/types/adapters/REST/endpoints/webhook.js.map +0 -1
  762. package/dist/types/adapters/REST/endpoints/workflow-definition.js +0 -36
  763. package/dist/types/adapters/REST/endpoints/workflow-definition.js.map +0 -1
  764. package/dist/types/adapters/REST/endpoints/workflow.js +0 -42
  765. package/dist/types/adapters/REST/endpoints/workflow.js.map +0 -1
  766. package/dist/types/adapters/REST/endpoints/workflows-changelog.js +0 -10
  767. package/dist/types/adapters/REST/endpoints/workflows-changelog.js.map +0 -1
  768. package/dist/types/adapters/REST/make-request.js +0 -21
  769. package/dist/types/adapters/REST/make-request.js.map +0 -1
  770. package/dist/types/adapters/REST/rest-adapter.js +0 -42
  771. package/dist/types/adapters/REST/rest-adapter.js.map +0 -1
  772. package/dist/types/common-types.d.ts +0 -2950
  773. package/dist/types/common-types.js +0 -7
  774. package/dist/types/common-types.js.map +0 -1
  775. package/dist/types/common-utils.d.ts +0 -9
  776. package/dist/types/common-utils.js +0 -33
  777. package/dist/types/common-utils.js.map +0 -1
  778. package/dist/types/constants/editor-interface-defaults/controls-defaults.js +0 -162
  779. package/dist/types/constants/editor-interface-defaults/controls-defaults.js.map +0 -1
  780. package/dist/types/constants/editor-interface-defaults/editors-defaults.js +0 -32
  781. package/dist/types/constants/editor-interface-defaults/editors-defaults.js.map +0 -1
  782. package/dist/types/constants/editor-interface-defaults/index.js +0 -13
  783. package/dist/types/constants/editor-interface-defaults/index.js.map +0 -1
  784. package/dist/types/constants/editor-interface-defaults/sidebar-defaults.js +0 -65
  785. package/dist/types/constants/editor-interface-defaults/sidebar-defaults.js.map +0 -1
  786. package/dist/types/constants/editor-interface-defaults/types.js +0 -16
  787. package/dist/types/constants/editor-interface-defaults/types.js.map +0 -1
  788. package/dist/types/create-adapter.js +0 -20
  789. package/dist/types/create-adapter.js.map +0 -1
  790. package/dist/types/create-app-definition-api.d.ts +0 -169
  791. package/dist/types/create-app-definition-api.js +0 -253
  792. package/dist/types/create-app-definition-api.js.map +0 -1
  793. package/dist/types/create-contentful-api.js +0 -588
  794. package/dist/types/create-contentful-api.js.map +0 -1
  795. package/dist/types/create-entry-api.d.ts +0 -331
  796. package/dist/types/create-entry-api.js +0 -489
  797. package/dist/types/create-entry-api.js.map +0 -1
  798. package/dist/types/create-environment-api.d.ts +0 -1687
  799. package/dist/types/create-environment-api.js +0 -2441
  800. package/dist/types/create-environment-api.js.map +0 -1
  801. package/dist/types/create-environment-template-api.d.ts +0 -198
  802. package/dist/types/create-environment-template-api.js +0 -272
  803. package/dist/types/create-environment-template-api.js.map +0 -1
  804. package/dist/types/create-organization-api.d.ts +0 -1179
  805. package/dist/types/create-organization-api.js +0 -1138
  806. package/dist/types/create-organization-api.js.map +0 -1
  807. package/dist/types/create-space-api.d.ts +0 -1150
  808. package/dist/types/create-space-api.js +0 -1589
  809. package/dist/types/create-space-api.js.map +0 -1
  810. package/dist/types/create-ui-config-api.d.ts +0 -34
  811. package/dist/types/create-ui-config-api.js +0 -54
  812. package/dist/types/create-ui-config-api.js.map +0 -1
  813. package/dist/types/create-user-ui-config-api.d.ts +0 -34
  814. package/dist/types/create-user-ui-config-api.js +0 -54
  815. package/dist/types/create-user-ui-config-api.js.map +0 -1
  816. package/dist/types/enhance-with-methods.js +0 -25
  817. package/dist/types/enhance-with-methods.js.map +0 -1
  818. package/dist/types/entities/access-token.d.ts +0 -61
  819. package/dist/types/entities/access-token.js +0 -34
  820. package/dist/types/entities/access-token.js.map +0 -1
  821. package/dist/types/entities/ai-action-invocation.d.ts +0 -82
  822. package/dist/types/entities/ai-action-invocation.js +0 -17
  823. package/dist/types/entities/ai-action-invocation.js.map +0 -1
  824. package/dist/types/entities/ai-action.d.ts +0 -75
  825. package/dist/types/entities/ai-action.js +0 -73
  826. package/dist/types/entities/ai-action.js.map +0 -1
  827. package/dist/types/entities/api-key.d.ts +0 -70
  828. package/dist/types/entities/api-key.js +0 -54
  829. package/dist/types/entities/api-key.js.map +0 -1
  830. package/dist/types/entities/app-access-token.js +0 -16
  831. package/dist/types/entities/app-access-token.js.map +0 -1
  832. package/dist/types/entities/app-action-call.js +0 -66
  833. package/dist/types/entities/app-action-call.js.map +0 -1
  834. package/dist/types/entities/app-action.d.ts +0 -161
  835. package/dist/types/entities/app-action.js +0 -46
  836. package/dist/types/entities/app-action.js.map +0 -1
  837. package/dist/types/entities/app-bundle.d.ts +0 -86
  838. package/dist/types/entities/app-bundle.js +0 -46
  839. package/dist/types/entities/app-bundle.js.map +0 -1
  840. package/dist/types/entities/app-definition.d.ts +0 -88
  841. package/dist/types/entities/app-definition.js +0 -27
  842. package/dist/types/entities/app-definition.js.map +0 -1
  843. package/dist/types/entities/app-details.js +0 -38
  844. package/dist/types/entities/app-details.js.map +0 -1
  845. package/dist/types/entities/app-event-subscription.js +0 -33
  846. package/dist/types/entities/app-event-subscription.js.map +0 -1
  847. package/dist/types/entities/app-installation.d.ts +0 -70
  848. package/dist/types/entities/app-installation.js +0 -53
  849. package/dist/types/entities/app-installation.js.map +0 -1
  850. package/dist/types/entities/app-key.d.ts +0 -77
  851. package/dist/types/entities/app-key.js +0 -42
  852. package/dist/types/entities/app-key.js.map +0 -1
  853. package/dist/types/entities/app-signed-request.js +0 -16
  854. package/dist/types/entities/app-signed-request.js.map +0 -1
  855. package/dist/types/entities/app-signing-secret.js +0 -33
  856. package/dist/types/entities/app-signing-secret.js.map +0 -1
  857. package/dist/types/entities/app-upload.d.ts +0 -44
  858. package/dist/types/entities/app-upload.js +0 -45
  859. package/dist/types/entities/app-upload.js.map +0 -1
  860. package/dist/types/entities/asset-key.js +0 -16
  861. package/dist/types/entities/asset-key.js.map +0 -1
  862. package/dist/types/entities/asset.d.ts +0 -277
  863. package/dist/types/entities/asset.js +0 -130
  864. package/dist/types/entities/asset.js.map +0 -1
  865. package/dist/types/entities/bulk-action.js +0 -59
  866. package/dist/types/entities/bulk-action.js.map +0 -1
  867. package/dist/types/entities/comment.d.ts +0 -102
  868. package/dist/types/entities/comment.js +0 -61
  869. package/dist/types/entities/comment.js.map +0 -1
  870. package/dist/types/entities/content-type.d.ts +0 -213
  871. package/dist/types/entities/content-type.js +0 -118
  872. package/dist/types/entities/content-type.js.map +0 -1
  873. package/dist/types/entities/editor-interface.d.ts +0 -168
  874. package/dist/types/entities/editor-interface.js +0 -48
  875. package/dist/types/entities/editor-interface.js.map +0 -1
  876. package/dist/types/entities/entry.d.ts +0 -53
  877. package/dist/types/entities/entry.js +0 -25
  878. package/dist/types/entities/entry.js.map +0 -1
  879. package/dist/types/entities/environment-alias.d.ts +0 -74
  880. package/dist/types/entities/environment-alias.js +0 -56
  881. package/dist/types/entities/environment-alias.js.map +0 -1
  882. package/dist/types/entities/environment-template-installation.d.ts +0 -57
  883. package/dist/types/entities/environment-template-installation.js +0 -21
  884. package/dist/types/entities/environment-template-installation.js.map +0 -1
  885. package/dist/types/entities/environment-template.d.ts +0 -40
  886. package/dist/types/entities/environment-template.js +0 -16
  887. package/dist/types/entities/environment-template.js.map +0 -1
  888. package/dist/types/entities/environment.d.ts +0 -38
  889. package/dist/types/entities/environment.js +0 -32
  890. package/dist/types/entities/environment.js.map +0 -1
  891. package/dist/types/entities/extension.d.ts +0 -103
  892. package/dist/types/entities/extension.js +0 -52
  893. package/dist/types/entities/extension.js.map +0 -1
  894. package/dist/types/entities/function-log.d.ts +0 -46
  895. package/dist/types/entities/function-log.js +0 -24
  896. package/dist/types/entities/function-log.js.map +0 -1
  897. package/dist/types/entities/function.d.ts +0 -32
  898. package/dist/types/entities/function.js +0 -64
  899. package/dist/types/entities/function.js.map +0 -1
  900. package/dist/types/entities/index.js +0 -117
  901. package/dist/types/entities/index.js.map +0 -1
  902. package/dist/types/entities/locale.d.ts +0 -95
  903. package/dist/types/entities/locale.js +0 -55
  904. package/dist/types/entities/locale.js.map +0 -1
  905. package/dist/types/entities/oauth-application.d.ts +0 -56
  906. package/dist/types/entities/oauth-application.js +0 -64
  907. package/dist/types/entities/oauth-application.js.map +0 -1
  908. package/dist/types/entities/organization-invitation.js +0 -16
  909. package/dist/types/entities/organization-invitation.js.map +0 -1
  910. package/dist/types/entities/organization-membership.d.ts +0 -69
  911. package/dist/types/entities/organization-membership.js +0 -51
  912. package/dist/types/entities/organization-membership.js.map +0 -1
  913. package/dist/types/entities/organization.d.ts +0 -33
  914. package/dist/types/entities/organization.js +0 -30
  915. package/dist/types/entities/organization.js.map +0 -1
  916. package/dist/types/entities/personal-access-token.d.ts +0 -51
  917. package/dist/types/entities/personal-access-token.js +0 -34
  918. package/dist/types/entities/personal-access-token.js.map +0 -1
  919. package/dist/types/entities/preview-api-key.d.ts +0 -20
  920. package/dist/types/entities/preview-api-key.js +0 -29
  921. package/dist/types/entities/preview-api-key.js.map +0 -1
  922. package/dist/types/entities/release-action.d.ts +0 -58
  923. package/dist/types/entities/release-action.js +0 -53
  924. package/dist/types/entities/release-action.js.map +0 -1
  925. package/dist/types/entities/release.js +0 -107
  926. package/dist/types/entities/release.js.map +0 -1
  927. package/dist/types/entities/resource-provider.js +0 -138
  928. package/dist/types/entities/resource-provider.js.map +0 -1
  929. package/dist/types/entities/resource-type.js +0 -95
  930. package/dist/types/entities/resource-type.js.map +0 -1
  931. package/dist/types/entities/resource.js +0 -11
  932. package/dist/types/entities/resource.js.map +0 -1
  933. package/dist/types/entities/role.d.ts +0 -85
  934. package/dist/types/entities/role.js +0 -51
  935. package/dist/types/entities/role.js.map +0 -1
  936. package/dist/types/entities/scheduled-action.d.ts +0 -112
  937. package/dist/types/entities/scheduled-action.js +0 -147
  938. package/dist/types/entities/scheduled-action.js.map +0 -1
  939. package/dist/types/entities/snapshot.d.ts +0 -24
  940. package/dist/types/entities/snapshot.js +0 -34
  941. package/dist/types/entities/snapshot.js.map +0 -1
  942. package/dist/types/entities/space-member.d.ts +0 -31
  943. package/dist/types/entities/space-member.js +0 -21
  944. package/dist/types/entities/space-member.js.map +0 -1
  945. package/dist/types/entities/space-membership.d.ts +0 -64
  946. package/dist/types/entities/space-membership.js +0 -51
  947. package/dist/types/entities/space-membership.js.map +0 -1
  948. package/dist/types/entities/space.d.ts +0 -31
  949. package/dist/types/entities/space.js +0 -31
  950. package/dist/types/entities/space.js.map +0 -1
  951. package/dist/types/entities/tag.d.ts +0 -51
  952. package/dist/types/entities/tag.js +0 -54
  953. package/dist/types/entities/tag.js.map +0 -1
  954. package/dist/types/entities/task.d.ts +0 -43
  955. package/dist/types/entities/task.js +0 -55
  956. package/dist/types/entities/task.js.map +0 -1
  957. package/dist/types/entities/team-membership.d.ts +0 -78
  958. package/dist/types/entities/team-membership.js +0 -52
  959. package/dist/types/entities/team-membership.js.map +0 -1
  960. package/dist/types/entities/team-space-membership.d.ts +0 -88
  961. package/dist/types/entities/team-space-membership.js +0 -51
  962. package/dist/types/entities/team-space-membership.js.map +0 -1
  963. package/dist/types/entities/team.d.ts +0 -73
  964. package/dist/types/entities/team.js +0 -51
  965. package/dist/types/entities/team.js.map +0 -1
  966. package/dist/types/entities/ui-config.js +0 -19
  967. package/dist/types/entities/ui-config.js.map +0 -1
  968. package/dist/types/entities/upload.js +0 -37
  969. package/dist/types/entities/upload.js.map +0 -1
  970. package/dist/types/entities/usage.d.ts +0 -55
  971. package/dist/types/entities/usage.js +0 -23
  972. package/dist/types/entities/usage.js.map +0 -1
  973. package/dist/types/entities/user-ui-config.js +0 -19
  974. package/dist/types/entities/user-ui-config.js.map +0 -1
  975. package/dist/types/entities/user.d.ts +0 -57
  976. package/dist/types/entities/user.js +0 -26
  977. package/dist/types/entities/user.js.map +0 -1
  978. package/dist/types/entities/webhook.d.ts +0 -279
  979. package/dist/types/entities/webhook.js +0 -75
  980. package/dist/types/entities/webhook.js.map +0 -1
  981. package/dist/types/entities/workflow-definition.d.ts +0 -118
  982. package/dist/types/entities/workflow-definition.js +0 -29
  983. package/dist/types/entities/workflow-definition.js.map +0 -1
  984. package/dist/types/entities/workflow.d.ts +0 -64
  985. package/dist/types/entities/workflows-changelog-entry.d.ts +0 -33
  986. package/dist/types/export-types.d.ts +0 -78
  987. package/dist/types/index.d.ts +0 -66
  988. package/dist/types/index.js +0 -40
  989. package/dist/types/index.js.map +0 -1
  990. package/dist/types/methods/action.js +0 -49
  991. package/dist/types/methods/action.js.map +0 -1
  992. package/dist/types/methods/content-type.js +0 -47
  993. package/dist/types/methods/content-type.js.map +0 -1
  994. package/dist/types/methods/utils.js +0 -10
  995. package/dist/types/methods/utils.js.map +0 -1
  996. package/dist/types/plain/as-iterator.js +0 -37
  997. package/dist/types/plain/as-iterator.js.map +0 -1
  998. package/dist/types/plain/checks.js +0 -11
  999. package/dist/types/plain/checks.js.map +0 -1
  1000. package/dist/types/plain/common-types.d.ts +0 -464
  1001. package/dist/types/plain/entities/app-upload.d.ts +0 -54
  1002. package/dist/types/plain/entities/upload.d.ts +0 -56
  1003. package/dist/types/plain/pagination-helper.js +0 -68
  1004. package/dist/types/plain/pagination-helper.js.map +0 -1
  1005. package/dist/types/plain/plain-client.js +0 -564
  1006. package/dist/types/plain/plain-client.js.map +0 -1
  1007. package/dist/types/plain/wrappers/wrap.d.ts +0 -32
  1008. package/dist/types/plain/wrappers/wrap.js +0 -25
  1009. package/dist/types/plain/wrappers/wrap.js.map +0 -1
  1010. package/dist/types/upload-http-client.js +0 -15
  1011. package/dist/types/upload-http-client.js.map +0 -1
  1012. /package/dist/{types → typings}/adapters/REST/endpoints/access-token.d.ts +0 -0
  1013. /package/dist/{types → typings}/adapters/REST/endpoints/ai-action-invocation.d.ts +0 -0
  1014. /package/dist/{types → typings}/adapters/REST/endpoints/ai-action.d.ts +0 -0
  1015. /package/dist/{types → typings}/adapters/REST/endpoints/api-key.d.ts +0 -0
  1016. /package/dist/{types → typings}/adapters/REST/endpoints/app-access-token.d.ts +0 -0
  1017. /package/dist/{types → typings}/adapters/REST/endpoints/app-action-call.d.ts +0 -0
  1018. /package/dist/{types → typings}/adapters/REST/endpoints/app-action.d.ts +0 -0
  1019. /package/dist/{types → typings}/adapters/REST/endpoints/app-bundle.d.ts +0 -0
  1020. /package/dist/{types → typings}/adapters/REST/endpoints/app-definition.d.ts +0 -0
  1021. /package/dist/{types → typings}/adapters/REST/endpoints/app-details.d.ts +0 -0
  1022. /package/dist/{types → typings}/adapters/REST/endpoints/app-event-subscription.d.ts +0 -0
  1023. /package/dist/{types → typings}/adapters/REST/endpoints/app-installation.d.ts +0 -0
  1024. /package/dist/{types → typings}/adapters/REST/endpoints/app-key.d.ts +0 -0
  1025. /package/dist/{types → typings}/adapters/REST/endpoints/app-signed-request.d.ts +0 -0
  1026. /package/dist/{types → typings}/adapters/REST/endpoints/app-signing-secret.d.ts +0 -0
  1027. /package/dist/{types → typings}/adapters/REST/endpoints/app-upload.d.ts +0 -0
  1028. /package/dist/{types → typings}/adapters/REST/endpoints/asset-key.d.ts +0 -0
  1029. /package/dist/{types → typings}/adapters/REST/endpoints/asset.d.ts +0 -0
  1030. /package/dist/{types → typings}/adapters/REST/endpoints/bulk-action.d.ts +0 -0
  1031. /package/dist/{types → typings}/adapters/REST/endpoints/comment.d.ts +0 -0
  1032. /package/dist/{types → typings}/adapters/REST/endpoints/concept-scheme.d.ts +0 -0
  1033. /package/dist/{types → typings}/adapters/REST/endpoints/concept.d.ts +0 -0
  1034. /package/dist/{types → typings}/adapters/REST/endpoints/content-type.d.ts +0 -0
  1035. /package/dist/{types → typings}/adapters/REST/endpoints/editor-interface.d.ts +0 -0
  1036. /package/dist/{types → typings}/adapters/REST/endpoints/entry.d.ts +0 -0
  1037. /package/dist/{types → typings}/adapters/REST/endpoints/environment-alias.d.ts +0 -0
  1038. /package/dist/{types → typings}/adapters/REST/endpoints/environment-template-installation.d.ts +0 -0
  1039. /package/dist/{types → typings}/adapters/REST/endpoints/environment-template.d.ts +0 -0
  1040. /package/dist/{types → typings}/adapters/REST/endpoints/environment.d.ts +0 -0
  1041. /package/dist/{types → typings}/adapters/REST/endpoints/extension.d.ts +0 -0
  1042. /package/dist/{types → typings}/adapters/REST/endpoints/function-log.d.ts +0 -0
  1043. /package/dist/{types → typings}/adapters/REST/endpoints/function.d.ts +0 -0
  1044. /package/dist/{types → typings}/adapters/REST/endpoints/http.d.ts +0 -0
  1045. /package/dist/{types → typings}/adapters/REST/endpoints/index.d.ts +0 -0
  1046. /package/dist/{types → typings}/adapters/REST/endpoints/locale.d.ts +0 -0
  1047. /package/dist/{types → typings}/adapters/REST/endpoints/oauth-application.d.ts +0 -0
  1048. /package/dist/{types → typings}/adapters/REST/endpoints/organization-invitation.d.ts +0 -0
  1049. /package/dist/{types → typings}/adapters/REST/endpoints/organization-membership.d.ts +0 -0
  1050. /package/dist/{types → typings}/adapters/REST/endpoints/organization.d.ts +0 -0
  1051. /package/dist/{types → typings}/adapters/REST/endpoints/personal-access-token.d.ts +0 -0
  1052. /package/dist/{types → typings}/adapters/REST/endpoints/preview-api-key.d.ts +0 -0
  1053. /package/dist/{types → typings}/adapters/REST/endpoints/raw.d.ts +0 -0
  1054. /package/dist/{types → typings}/adapters/REST/endpoints/release-action.d.ts +0 -0
  1055. /package/dist/{types → typings}/adapters/REST/endpoints/release-asset.d.ts +0 -0
  1056. /package/dist/{types → typings}/adapters/REST/endpoints/release-entry.d.ts +0 -0
  1057. /package/dist/{types → typings}/adapters/REST/endpoints/release.d.ts +0 -0
  1058. /package/dist/{types → typings}/adapters/REST/endpoints/resource-provider.d.ts +0 -0
  1059. /package/dist/{types → typings}/adapters/REST/endpoints/resource-type.d.ts +0 -0
  1060. /package/dist/{types → typings}/adapters/REST/endpoints/resource.d.ts +0 -0
  1061. /package/dist/{types → typings}/adapters/REST/endpoints/role.d.ts +0 -0
  1062. /package/dist/{types → typings}/adapters/REST/endpoints/scheduled-action.d.ts +0 -0
  1063. /package/dist/{types → typings}/adapters/REST/endpoints/snapshot.d.ts +0 -0
  1064. /package/dist/{types → typings}/adapters/REST/endpoints/space-member.d.ts +0 -0
  1065. /package/dist/{types → typings}/adapters/REST/endpoints/space-membership.d.ts +0 -0
  1066. /package/dist/{types → typings}/adapters/REST/endpoints/space.d.ts +0 -0
  1067. /package/dist/{types → typings}/adapters/REST/endpoints/tag.d.ts +0 -0
  1068. /package/dist/{types → typings}/adapters/REST/endpoints/task.d.ts +0 -0
  1069. /package/dist/{types → typings}/adapters/REST/endpoints/team-membership.d.ts +0 -0
  1070. /package/dist/{types → typings}/adapters/REST/endpoints/team-space-membership.d.ts +0 -0
  1071. /package/dist/{types → typings}/adapters/REST/endpoints/team.d.ts +0 -0
  1072. /package/dist/{types → typings}/adapters/REST/endpoints/ui-config.d.ts +0 -0
  1073. /package/dist/{types → typings}/adapters/REST/endpoints/upload-credentials.d.ts +0 -0
  1074. /package/dist/{types → typings}/adapters/REST/endpoints/upload.d.ts +0 -0
  1075. /package/dist/{types → typings}/adapters/REST/endpoints/usage.d.ts +0 -0
  1076. /package/dist/{types → typings}/adapters/REST/endpoints/user-ui-config.d.ts +0 -0
  1077. /package/dist/{types → typings}/adapters/REST/endpoints/user.d.ts +0 -0
  1078. /package/dist/{types → typings}/adapters/REST/endpoints/utils.d.ts +0 -0
  1079. /package/dist/{types → typings}/adapters/REST/endpoints/webhook.d.ts +0 -0
  1080. /package/dist/{types → typings}/adapters/REST/endpoints/workflow-definition.d.ts +0 -0
  1081. /package/dist/{types → typings}/adapters/REST/endpoints/workflow.d.ts +0 -0
  1082. /package/dist/{types → typings}/adapters/REST/endpoints/workflows-changelog.d.ts +0 -0
  1083. /package/dist/{types → typings}/adapters/REST/make-request.d.ts +0 -0
  1084. /package/dist/{types → typings}/adapters/REST/rest-adapter.d.ts +0 -0
  1085. /package/dist/{types → typings}/adapters/REST/types.d.ts +0 -0
  1086. /package/dist/{types → typings}/constants/editor-interface-defaults/controls-defaults.d.ts +0 -0
  1087. /package/dist/{types → typings}/constants/editor-interface-defaults/editors-defaults.d.ts +0 -0
  1088. /package/dist/{types → typings}/constants/editor-interface-defaults/index.d.ts +0 -0
  1089. /package/dist/{types → typings}/constants/editor-interface-defaults/sidebar-defaults.d.ts +0 -0
  1090. /package/dist/{types → typings}/constants/editor-interface-defaults/types.d.ts +0 -0
  1091. /package/dist/{types → typings}/create-adapter.d.ts +0 -0
  1092. /package/dist/{types → typings}/create-contentful-api.d.ts +0 -0
  1093. /package/dist/{types → typings}/enhance-with-methods.d.ts +0 -0
  1094. /package/dist/{types → typings}/entities/app-access-token.d.ts +0 -0
  1095. /package/dist/{types → typings}/entities/app-action-call.d.ts +0 -0
  1096. /package/dist/{types → typings}/entities/app-details.d.ts +0 -0
  1097. /package/dist/{types → typings}/entities/app-event-subscription.d.ts +0 -0
  1098. /package/dist/{types → typings}/entities/app-signed-request.d.ts +0 -0
  1099. /package/dist/{types → typings}/entities/app-signing-secret.d.ts +0 -0
  1100. /package/dist/{types → typings}/entities/asset-key.d.ts +0 -0
  1101. /package/dist/{types → typings}/entities/bulk-action.d.ts +0 -0
  1102. /package/dist/{types → typings}/entities/concept-scheme.d.ts +0 -0
  1103. /package/dist/{types → typings}/entities/concept.d.ts +0 -0
  1104. /package/dist/{types → typings}/entities/content-type-fields.d.ts +0 -0
  1105. /package/dist/{types → typings}/entities/field-type.d.ts +0 -0
  1106. /package/dist/{types → typings}/entities/index.d.ts +0 -0
  1107. /package/dist/{types → typings}/entities/organization-invitation.d.ts +0 -0
  1108. /package/dist/{types → typings}/entities/release.d.ts +0 -0
  1109. /package/dist/{types → typings}/entities/resource-provider.d.ts +0 -0
  1110. /package/dist/{types → typings}/entities/resource-type.d.ts +0 -0
  1111. /package/dist/{types → typings}/entities/resource.d.ts +0 -0
  1112. /package/dist/{types → typings}/entities/ui-config.d.ts +0 -0
  1113. /package/dist/{types → typings}/entities/upload-credential.d.ts +0 -0
  1114. /package/dist/{types → typings}/entities/upload.d.ts +0 -0
  1115. /package/dist/{types → typings}/entities/user-ui-config.d.ts +0 -0
  1116. /package/dist/{types → typings}/entities/utils.d.ts +0 -0
  1117. /package/dist/{types → typings}/entities/widget-parameters.d.ts +0 -0
  1118. /package/dist/{types → typings}/methods/action.d.ts +0 -0
  1119. /package/dist/{types → typings}/methods/content-type.d.ts +0 -0
  1120. /package/dist/{types → typings}/methods/release-action.d.ts +0 -0
  1121. /package/dist/{types → typings}/methods/utils.d.ts +0 -0
  1122. /package/dist/{types → typings}/plain/as-iterator.d.ts +0 -0
  1123. /package/dist/{types → typings}/plain/checks.d.ts +0 -0
  1124. /package/dist/{types → typings}/plain/entities/ai-action-invocation.d.ts +0 -0
  1125. /package/dist/{types → typings}/plain/entities/ai-action.d.ts +0 -0
  1126. /package/dist/{types → typings}/plain/entities/app-access-token.d.ts +0 -0
  1127. /package/dist/{types → typings}/plain/entities/app-action-call.d.ts +0 -0
  1128. /package/dist/{types → typings}/plain/entities/app-action.d.ts +0 -0
  1129. /package/dist/{types → typings}/plain/entities/app-bundle.d.ts +0 -0
  1130. /package/dist/{types → typings}/plain/entities/app-definition.d.ts +0 -0
  1131. /package/dist/{types → typings}/plain/entities/app-details.d.ts +0 -0
  1132. /package/dist/{types → typings}/plain/entities/app-event-subscription.d.ts +0 -0
  1133. /package/dist/{types → typings}/plain/entities/app-installation.d.ts +0 -0
  1134. /package/dist/{types → typings}/plain/entities/app-key.d.ts +0 -0
  1135. /package/dist/{types → typings}/plain/entities/app-signed-request.d.ts +0 -0
  1136. /package/dist/{types → typings}/plain/entities/app-signing-secret.d.ts +0 -0
  1137. /package/dist/{types → typings}/plain/entities/comment.d.ts +0 -0
  1138. /package/dist/{types → typings}/plain/entities/concept-scheme.d.ts +0 -0
  1139. /package/dist/{types → typings}/plain/entities/concept.d.ts +0 -0
  1140. /package/dist/{types → typings}/plain/entities/editor-interface.d.ts +0 -0
  1141. /package/dist/{types → typings}/plain/entities/environment-alias.d.ts +0 -0
  1142. /package/dist/{types → typings}/plain/entities/environment.d.ts +0 -0
  1143. /package/dist/{types → typings}/plain/entities/extension.d.ts +0 -0
  1144. /package/dist/{types → typings}/plain/entities/function-log.d.ts +0 -0
  1145. /package/dist/{types → typings}/plain/entities/function.d.ts +0 -0
  1146. /package/dist/{types → typings}/plain/entities/locale.d.ts +0 -0
  1147. /package/dist/{types → typings}/plain/entities/oauth-application.d.ts +0 -0
  1148. /package/dist/{types → typings}/plain/entities/organization.d.ts +0 -0
  1149. /package/dist/{types → typings}/plain/entities/resource-provider.d.ts +0 -0
  1150. /package/dist/{types → typings}/plain/entities/resource-type.d.ts +0 -0
  1151. /package/dist/{types → typings}/plain/entities/resource.d.ts +0 -0
  1152. /package/dist/{types → typings}/plain/entities/role.d.ts +0 -0
  1153. /package/dist/{types → typings}/plain/entities/space-member.d.ts +0 -0
  1154. /package/dist/{types → typings}/plain/entities/space-membership.d.ts +0 -0
  1155. /package/dist/{types → typings}/plain/entities/space.d.ts +0 -0
  1156. /package/dist/{types → typings}/plain/entities/tag.d.ts +0 -0
  1157. /package/dist/{types → typings}/plain/entities/task.d.ts +0 -0
  1158. /package/dist/{types → typings}/plain/entities/team-membership.d.ts +0 -0
  1159. /package/dist/{types → typings}/plain/entities/team-space-membership.d.ts +0 -0
  1160. /package/dist/{types → typings}/plain/entities/team.d.ts +0 -0
  1161. /package/dist/{types → typings}/plain/entities/ui-config.d.ts +0 -0
  1162. /package/dist/{types → typings}/plain/entities/upload-credential.d.ts +0 -0
  1163. /package/dist/{types → typings}/plain/entities/usage.d.ts +0 -0
  1164. /package/dist/{types → typings}/plain/entities/user-ui-config.d.ts +0 -0
  1165. /package/dist/{types → typings}/plain/entities/user.d.ts +0 -0
  1166. /package/dist/{types → typings}/plain/entities/webhook.d.ts +0 -0
  1167. /package/dist/{types → typings}/plain/entities/workflow-definition.d.ts +0 -0
  1168. /package/dist/{types → typings}/plain/entities/workflow.d.ts +0 -0
  1169. /package/dist/{types → typings}/plain/entities/workflows-changelog.d.ts +0 -0
  1170. /package/dist/{types → typings}/plain/pagination-helper.d.ts +0 -0
  1171. /package/dist/{types → typings}/plain/plain-client.d.ts +0 -0
  1172. /package/dist/{types → typings}/plain/wrappers/wrap.test-d.d.ts +0 -0
  1173. /package/dist/{types → typings}/upload-http-client.d.ts +0 -0
@@ -0,0 +1,1749 @@
1
+ import type { Stream } from 'stream';
2
+ import type { AcceptsQueryOptions, BasicCursorPaginationOptions, CreatedAtIntervalParams, CursorBasedParams, QueryOptions } from './common-types';
3
+ import type { BasicQueryOptions, MakeRequest } from './common-types';
4
+ import type { CreateAppInstallationProps } from './entities/app-installation';
5
+ import type { CreateAppSignedRequestProps } from './entities/app-signed-request';
6
+ import type { CreateAppActionCallProps, AppActionCallRawResponseProps } from './entities/app-action-call';
7
+ import { type AssetFileProp, type AssetProps, type CreateAssetFromFilesOptions, type CreateAssetProps } from './entities/asset';
8
+ import type { CreateAssetKeyProps } from './entities/asset-key';
9
+ import type { BulkAction, BulkActionPayload, BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload } from './entities/bulk-action';
10
+ import type { ReleaseActionQueryOptions } from './entities/release-action';
11
+ import type { ReleasePayload, ReleaseQueryOptions, ReleaseValidatePayload } from './entities/release';
12
+ import { type ContentTypeProps, type CreateContentTypeProps } from './entities/content-type';
13
+ import { type CreateEntryProps, type EntryProps, type EntryReferenceOptionsProps, type EntryReferenceProps } from './entities/entry';
14
+ import type { CreateExtensionProps } from './entities/extension';
15
+ import type { CreateLocaleProps } from './entities/locale';
16
+ import type { TagVisibility } from './entities/tag';
17
+ import type { CreateAppAccessTokenProps } from './entities/app-access-token';
18
+ import type { ResourceQueryOptions } from './entities/resource';
19
+ import type { AiActionInvocationType } from './entities/ai-action-invocation';
20
+ /**
21
+ * @private
22
+ */
23
+ export type ContentfulEnvironmentAPI = ReturnType<typeof createEnvironmentApi>;
24
+ /**
25
+ * Creates API object with methods to access the Environment API
26
+ * @param {ContentfulEnvironmentAPI} makeRequest - function to make requests via an adapter
27
+ * @return {ContentfulSpaceAPI}
28
+ * @private
29
+ */
30
+ export default function createEnvironmentApi(makeRequest: MakeRequest): {
31
+ /**
32
+ * Deletes the environment
33
+ * @return Promise for the deletion. It contains no data, but the Promise error case should be handled.
34
+ * @example ```javascript
35
+ * const contentful = require('contentful-management')
36
+ *
37
+ * const client = contentful.createClient({
38
+ * accessToken: '<content_management_api_key>'
39
+ * })
40
+ *
41
+ * client.getSpace('<space_id>')
42
+ * .then((space) => space.getEnvironment('<environment-id>'))
43
+ * .then((environment) => environment.delete())
44
+ * .then(() => console.log('Environment deleted.'))
45
+ * .catch(console.error)
46
+ * ```
47
+ */
48
+ delete: () => Promise<void>;
49
+ /**
50
+ * Updates the environment
51
+ * @return Promise for the updated environment.
52
+ * @example ```javascript
53
+ * const contentful = require('contentful-management')
54
+ *
55
+ * const client = contentful.createClient({
56
+ * accessToken: '<content_management_api_key>'
57
+ * })
58
+ *
59
+ * client.getSpace('<space_id>')
60
+ * .then((space) => space.getEnvironment('<environment-id>'))
61
+ * .then((environment) => {
62
+ * environment.name = 'New name'
63
+ * return environment.update()
64
+ * })
65
+ * .then((environment) => console.log(`Environment ${environment.sys.id} renamed.`)
66
+ * .catch(console.error)
67
+ * ```
68
+ */
69
+ update: () => Promise<import("./entities/environment").Environment>;
70
+ /**
71
+ * Creates SDK Entry object (locally) from entry data
72
+ * @param entryData - Entry Data
73
+ * @return Entry
74
+ * @example ```javascript
75
+ * environment.getEntry('entryId').then(entry => {
76
+ *
77
+ * // Build a plainObject in order to make it usable for React (saving in state or redux)
78
+ * const plainObject = entry.toPlainObject();
79
+ *
80
+ * // The entry is being updated in some way as plainObject:
81
+ * const updatedPlainObject = {
82
+ * ...plainObject,
83
+ * fields: {
84
+ * ...plainObject.fields,
85
+ * title: {
86
+ * 'en-US': 'updatedTitle'
87
+ * }
88
+ * }
89
+ * };
90
+ *
91
+ * // Rebuild an sdk object out of the updated plainObject:
92
+ * const entryWithMethodsAgain = environment.getEntryFromData(updatedPlainObject);
93
+ *
94
+ * // Update with help of the sdk method:
95
+ * entryWithMethodsAgain.update();
96
+ *
97
+ * });
98
+ * ```
99
+ **/
100
+ getEntryFromData(entryData: EntryProps): import("./entities/entry").Entry;
101
+ /**
102
+ * Creates SDK Asset object (locally) from entry data
103
+ * @param assetData - Asset ID
104
+ * @return Asset
105
+ * @example ```javascript
106
+ * environment.getAsset('asset_id').then(asset => {
107
+ *
108
+ * // Build a plainObject in order to make it usable for React (saving in state or redux)
109
+ * const plainObject = asset.toPlainObject();
110
+ *
111
+ * // The asset is being updated in some way as plainObject:
112
+ * const updatedPlainObject = {
113
+ * ...plainObject,
114
+ * fields: {
115
+ * ...plainObject.fields,
116
+ * title: {
117
+ * 'en-US': 'updatedTitle'
118
+ * }
119
+ * }
120
+ * };
121
+ *
122
+ * // Rebuild an sdk object out of the updated plainObject:
123
+ * const assetWithMethodsAgain = environment.getAssetFromData(updatedPlainObject);
124
+ *
125
+ * // Update with help of the sdk method:
126
+ * assetWithMethodsAgain.update();
127
+ *
128
+ * });
129
+ * ```
130
+ */
131
+ getAssetFromData(assetData: AssetProps): import("./entities/asset").Asset;
132
+ /**
133
+ *
134
+ * @description Get a BulkAction by ID.
135
+ * See: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/bulk-actions/bulk-action
136
+ * @param bulkActionId - ID of the BulkAction to fetch
137
+ * @returns - Promise with the BulkAction
138
+ *
139
+ * @example ```javascript
140
+ * const contentful = require('contentful-management')
141
+ *
142
+ * const client = contentful.createClient({
143
+ * accessToken: '<content_management_api_key>'
144
+ * })
145
+ *
146
+ * client.getSpace('<space_id>')
147
+ * .then((space) => space.getEnvironment('<environment_id>'))
148
+ * .then((environment) => environment.getBulkAction('<bulk_action_id>'))
149
+ * .then((bulkAction) => console.log(bulkAction))
150
+ * ```
151
+ */
152
+ getBulkAction<T extends BulkActionPayload = any>(bulkActionId: string): Promise<BulkAction<T>>;
153
+ /**
154
+ * @description Creates a BulkAction that will attempt to publish all items contained in the payload.
155
+ * See: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/bulk-actions/publish-bulk-action
156
+ * @param {BulkActionPayload} payload - Object containing the items to be processed in the bulkAction
157
+ * @returns - Promise with the BulkAction
158
+ *
159
+ * @example
160
+ *
161
+ * ```javascript
162
+ * const contentful = require('contentful-management')
163
+ *
164
+ * const client = contentful.createClient({
165
+ * accessToken: '<content_management_api_key>'
166
+ * })
167
+ *
168
+ * const payload = {
169
+ * entities: {
170
+ * sys: { type: 'Array' }
171
+ * items: [
172
+ * { sys: { type: 'Link', id: '<entry-id>', linkType: 'Entry', version: 2 } }
173
+ * ]
174
+ * }
175
+ * }
176
+ *
177
+ * // Using Thenables
178
+ * client.getSpace('<space_id>')
179
+ * .then((space) => space.getEnvironment('<environment_id>'))
180
+ * .then((environment) => environment.createPublishBulkAction(payload))
181
+ * .then((bulkAction) => console.log(bulkAction.waitProcessing()))
182
+ * .catch(console.error)
183
+ *
184
+ * // Using async/await
185
+ * try {
186
+ * const space = await client.getSpace('<space_id>')
187
+ * const environment = await space.getEnvironment('<environment_id>')
188
+ * const bulkActionInProgress = await environment.createPublishBulkAction(payload)
189
+ *
190
+ * // You can wait for a recently created BulkAction to be processed by using `bulkAction.waitProcessing()`
191
+ * const bulkActionCompleted = await bulkActionInProgress.waitProcessing()
192
+ * console.log(bulkActionCompleted)
193
+ * } catch (error) {
194
+ * console.log(error)
195
+ * }
196
+ * ```
197
+ */
198
+ createPublishBulkAction(payload: BulkActionPublishPayload): Promise<BulkAction<BulkActionPublishPayload>>;
199
+ /**
200
+ * @description Creates a BulkAction that will attempt to validate all items contained in the payload.
201
+ * See: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/bulk-actions/validate-bulk-action
202
+ * @param {BulkActionPayload} payload - Object containing the items to be processed in the bulkAction
203
+ * @returns - Promise with the BulkAction
204
+ *
205
+ * @example
206
+ *
207
+ * ```javascript
208
+ * const contentful = require('contentful-management')
209
+ *
210
+ * const client = contentful.createClient({
211
+ * accessToken: '<content_management_api_key>'
212
+ * })
213
+ *
214
+ * const payload = {
215
+ * action: 'publish',
216
+ * entities: {
217
+ * sys: { type: 'Array' }
218
+ * items: [
219
+ * { sys: { type: 'Link', id: '<entry-id>', linkType: 'Entry' } }
220
+ * ]
221
+ * }
222
+ * }
223
+ *
224
+ * // Using Thenables
225
+ * client.getSpace('<space_id>')
226
+ * .then((space) => space.getEnvironment('<environment_id>'))
227
+ * .then((environment) => environment.createValidateBulkAction(payload))
228
+ * .then((bulkAction) => console.log(bulkAction.waitProcessing()))
229
+ * .catch(console.error)
230
+ *
231
+ * // Using async/await
232
+ * try {
233
+ * const space = await client.getSpace('<space_id>')
234
+ * const environment = await space.getEnvironment('<environment_id>')
235
+ * const bulkActionInProgress = await environment.createValidateBulkAction(payload)
236
+ *
237
+ * // You can wait for a recently created BulkAction to be processed by using `bulkAction.waitProcessing()`
238
+ * const bulkActionCompleted = await bulkActionInProgress.waitProcessing()
239
+ * console.log(bulkActionCompleted)
240
+ * } catch (error) {
241
+ * console.log(error)
242
+ * }
243
+ * ```
244
+ */
245
+ createValidateBulkAction(payload: BulkActionValidatePayload): Promise<BulkAction<BulkActionValidatePayload>>;
246
+ /**
247
+ * @description Creates a BulkAction that will attempt to unpublish all items contained in the payload.
248
+ * See: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/bulk-actions/unpublish-bulk-action
249
+ * @param {BulkActionPayload} payload - Object containing the items to be processed in the bulkAction
250
+ * @returns - Promise with the BulkAction
251
+ *
252
+ * @example
253
+ *
254
+ * ```javascript
255
+ * const contentful = require('contentful-management')
256
+ *
257
+ * const client = contentful.createClient({
258
+ * accessToken: '<content_management_api_key>'
259
+ * })
260
+ *
261
+ * const payload = {
262
+ * entities: {
263
+ * sys: { type: 'Array' }
264
+ * items: [
265
+ * { sys: { type: 'Link', id: 'entry-id', linkType: 'Entry' } }
266
+ * ]
267
+ * }
268
+ * }
269
+ *
270
+ * // Using Thenables
271
+ * client.getSpace('<space_id>')
272
+ * .then((space) => space.getEnvironment('<environment_id>'))
273
+ * .then((environment) => environment.createUnpublishBulkAction(payload))
274
+ * .then((bulkAction) => console.log(bulkAction.waitProcessing()))
275
+ * .catch(console.error)
276
+ *
277
+ * // Using async/await
278
+ * try {
279
+ * const space = await clientgetSpace('<space_id>')
280
+ * const environment = await space.getEnvironment('<environment_id>')
281
+ * const bulkActionInProgress = await environment.createUnpublishBulkAction(payload)
282
+ *
283
+ * // You can wait for a recently created BulkAction to be processed by using `bulkAction.waitProcessing()`
284
+ * const bulkActionCompleted = await bulkActionInProgress.waitProcessing()
285
+ * console.log(bulkActionCompleted)
286
+ * } catch (error) {
287
+ * console.log(error)
288
+ * }
289
+ * ```
290
+ */
291
+ createUnpublishBulkAction(payload: BulkActionUnpublishPayload): Promise<BulkAction<BulkActionUnpublishPayload>>;
292
+ /**
293
+ * Gets a Content Type
294
+ * @param contentTypeId - Content Type ID
295
+ * @return Promise for a Content Type
296
+ * @example ```javascript
297
+ * const contentful = require('contentful-management')
298
+ *
299
+ * const client = contentful.createClient({
300
+ * accessToken: '<content_management_api_key>'
301
+ * })
302
+ *
303
+ * client.getSpace('<space_id>')
304
+ * .then((space) => space.getEnvironment('<environment-id>'))
305
+ * .then((environment) => environment.getContentType('<content_type_id>'))
306
+ * .then((contentType) => console.log(contentType))
307
+ * .catch(console.error)
308
+ * ```
309
+ */
310
+ getContentType(contentTypeId: string): Promise<import("./entities/content-type").ContentType>;
311
+ /**
312
+ * Gets a collection of Content Types
313
+ * @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
314
+ * @return Promise for a collection of Content Types
315
+ * @example ```javascript
316
+ * const contentful = require('contentful-management')
317
+ *
318
+ * const client = contentful.createClient({
319
+ * accessToken: '<content_management_api_key>'
320
+ * })
321
+ *
322
+ * client.getSpace('<space_id>')
323
+ * .then((space) => space.getEnvironment('<environment-id>'))
324
+ * .then((environment) => environment.getContentTypes())
325
+ * .then((response) => console.log(response.items))
326
+ * .catch(console.error)
327
+ * ```
328
+ */
329
+ getContentTypes(query?: QueryOptions): Promise<import("./common-types").Collection<import("./entities/content-type").ContentType, ContentTypeProps>>;
330
+ /**
331
+ * Gets a collection of Content Types with cursor based pagination
332
+ * @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
333
+ * @return Promise for a collection of Content Types
334
+ * @example ```javascript
335
+ * const contentful = require('contentful-management')
336
+ *
337
+ * const client = contentful.createClient({
338
+ * accessToken: '<content_management_api_key>'
339
+ * })
340
+ *
341
+ * client.getSpace('<space_id>')
342
+ * .then((space) => space.getEnvironment('<environment-id>'))
343
+ * .then((environment) => environment.getContentTypesWithCursor())
344
+ * .then((response) => console.log(response.items))
345
+ * .catch(console.error)
346
+ * ```
347
+ */
348
+ getContentTypesWithCursor(query?: BasicCursorPaginationOptions): Promise<import("./common-types").CursorPaginatedCollection<import("./entities/content-type").ContentType, ContentTypeProps>>;
349
+ /**
350
+ * Creates a Content Type
351
+ * @param data - Object representation of the Content Type to be created
352
+ * @return Promise for the newly created Content Type
353
+ * @example ```javascript
354
+ * const contentful = require('contentful-management')
355
+ *
356
+ * const client = contentful.createClient({
357
+ * accessToken: '<content_management_api_key>'
358
+ * })
359
+ *
360
+ * client.getSpace('<space_id>')
361
+ * .then((space) => space.getEnvironment('<environment-id>'))
362
+ * .then((environment) => environment.createContentType({
363
+ * name: 'Blog Post',
364
+ * fields: [
365
+ * {
366
+ * id: 'title',
367
+ * name: 'Title',
368
+ * required: true,
369
+ * localized: false,
370
+ * type: 'Text'
371
+ * }
372
+ * ]
373
+ * }))
374
+ * .then((contentType) => console.log(contentType))
375
+ * .catch(console.error)
376
+ * ```
377
+ */
378
+ createContentType(data: CreateContentTypeProps): Promise<import("./entities/content-type").ContentType>;
379
+ /**
380
+ * Creates a Content Type with a custom ID
381
+ * @param contentTypeId - Content Type ID
382
+ * @param data - Object representation of the Content Type to be created
383
+ * @return Promise for the newly created Content Type
384
+ * @example ```javascript
385
+ * const contentful = require('contentful-management')
386
+ *
387
+ * const client = contentful.createClient({
388
+ * accessToken: '<content_management_api_key>'
389
+ * })
390
+ *
391
+ * client.getSpace('<space_id>')
392
+ * .then((space) => space.getEnvironment('<environment-id>'))
393
+ * .then((environment) => environment.createContentTypeWithId('<content-type-id>', {
394
+ * name: 'Blog Post',
395
+ * fields: [
396
+ * {
397
+ * id: 'title',
398
+ * name: 'Title',
399
+ * required: true,
400
+ * localized: false,
401
+ * type: 'Text'
402
+ * }
403
+ * ]
404
+ * }))
405
+ * .then((contentType) => console.log(contentType))
406
+ * .catch(console.error)
407
+ * ```
408
+ */
409
+ createContentTypeWithId(contentTypeId: string, data: CreateContentTypeProps): Promise<import("./entities/content-type").ContentType>;
410
+ /**
411
+ * Gets an EditorInterface for a ContentType
412
+ * @param contentTypeId - Content Type ID
413
+ * @return Promise for an EditorInterface
414
+ * @example ```javascript
415
+ * const contentful = require('contentful-management')
416
+ *
417
+ * const client = contentful.createClient({
418
+ * accessToken: '<content_management_api_key>'
419
+ * })
420
+ *
421
+ * client.getSpace('<space_id>')
422
+ * .then((space) => space.getEnvironment('<environment-id>'))
423
+ * .then((environment) => environment.getEditorInterfaceForContentType('<content_type_id>'))
424
+ * .then((EditorInterface) => console.log(EditorInterface))
425
+ * .catch(console.error)
426
+ * ```
427
+ */
428
+ getEditorInterfaceForContentType(contentTypeId: string): Promise<import("./export-types").EditorInterface>;
429
+ /**
430
+ * Gets all EditorInterfaces
431
+ * @return Promise for a collection of EditorInterface
432
+ * @example ```javascript
433
+ * const contentful = require('contentful-management')
434
+ *
435
+ * const client = contentful.createClient({
436
+ * accessToken: '<content_management_api_key>'
437
+ * })
438
+ *
439
+ * client.getSpace('<space_id>')
440
+ * .then((space) => space.getEnvironment('<environment-id>'))
441
+ * .then((environment) => environment.getEditorInterfaces())
442
+ * .then((response) => console.log(response.items))
443
+ * .catch(console.error)
444
+ * ```
445
+ */
446
+ getEditorInterfaces(): Promise<import("./common-types").Collection<import("./export-types").EditorInterface, import("./export-types").EditorInterfaceProps>>;
447
+ /**
448
+ * Gets an Entry
449
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
450
+ * from your entry in the backend
451
+ * @param id - Entry ID
452
+ * @param query - Object with search parameters. In this method it's only useful for `locale`.
453
+ * @return Promise for an Entry
454
+ * @example ```javascript
455
+ * const contentful = require('contentful-management')
456
+ *
457
+ * const client = contentful.createClient({
458
+ * accessToken: '<content_management_api_key>'
459
+ * })
460
+ *
461
+ * client.getSpace('<space_id>')
462
+ * .then((space) => space.getEnvironment('<environment-id>'))
463
+ * .then((environment) => environment.getEntry('<entry-id>'))
464
+ * .then((entry) => console.log(entry))
465
+ * .catch(console.error)
466
+ * ```
467
+ */
468
+ getEntry(id: string, query?: QueryOptions): Promise<import("./entities/entry").Entry>;
469
+ /**
470
+ * Deletes an Entry of this environment
471
+ * @param id - Entry ID
472
+ * @return Promise for the deletion. It contains no data, but the Promise error case should be handled.
473
+ * @example ```javascript
474
+ * const contentful = require('contentful-management')
475
+ *
476
+ * const client = contentful.createClient({
477
+ * accessToken: '<content_management_api_key>'
478
+ * })
479
+ *
480
+ * client.getSpace('<space_id>')
481
+ * .then((space) => space.getEnvironment('<environment-id>'))
482
+ * .then((environment) => environment.deleteEntry("4bmLXiuviAZH3jkj5DLRWE"))
483
+ * .then(() => console.log('Entry deleted.'))
484
+ * .catch(console.error)
485
+ * ```
486
+ */
487
+ deleteEntry(id: string): Promise<void>;
488
+ /**
489
+ * Gets a collection of Entries
490
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
491
+ * from your entry in the backend
492
+ * @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
493
+ * @return Promise for a collection of Entries
494
+ * @example ```javascript
495
+ * const contentful = require('contentful-management')
496
+ *
497
+ * const client = contentful.createClient({
498
+ * accessToken: '<content_management_api_key>'
499
+ * })
500
+ *
501
+ * client.getSpace('<space_id>')
502
+ * .then((space) => space.getEnvironment('<environment-id>'))
503
+ * .then((environment) => environment.getEntries({'content_type': 'foo'})) // you can add more queries as 'key': 'value'
504
+ * .then((response) => console.log(response.items))
505
+ * .catch(console.error)
506
+ * ```
507
+ */
508
+ getEntries(query?: QueryOptions): Promise<import("./common-types").Collection<import("./entities/entry").Entry, EntryProps<import("./common-types").KeyValueMap, unknown>>>;
509
+ /**
510
+ * Gets a collection of Entries with cursor based pagination
511
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
512
+ * from your entry in the backend
513
+ * @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
514
+ * @return Promise for a collection of Entries
515
+ * @example ```javascript
516
+ * const contentful = require('contentful-management')
517
+ *
518
+ * const client = contentful.createClient({
519
+ * accessToken: '<content_management_api_key>'
520
+ * })
521
+ *
522
+ * client.getSpace('<space_id>')
523
+ * .then((space) => space.getEnvironment('<environment-id>'))
524
+ * .then((environment) => environment.getEntriesWithCursor({'content_type': 'foo'})) // you can add more queries as 'key': 'value'
525
+ * .then((response) => console.log(response.items))
526
+ * .catch(console.error)
527
+ * ```
528
+ */
529
+ getEntriesWithCursor(query?: BasicCursorPaginationOptions): Promise<import("./common-types").CursorPaginatedCollection<import("./entities/entry").Entry, EntryProps<import("./common-types").KeyValueMap, unknown>>>;
530
+ /**
531
+ * Gets a collection of published Entries
532
+ * @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
533
+ * @return Promise for a collection of published Entries
534
+ * @example ```javascript
535
+ * const contentful = require('contentful-management')
536
+ *
537
+ * const client = contentful.createClient({
538
+ * accessToken: '<content_management_api_key>'
539
+ * })
540
+ *
541
+ * client.getSpace('<space_id>')
542
+ * .then((space) => space.getEnvironment('<environment-id>'))
543
+ * .then((environment) => environment.getPublishedEntries({'content_type': 'foo'})) // you can add more queries as 'key': 'value'
544
+ * .then((response) => console.log(response.items))
545
+ * .catch(console.error)
546
+ * ```
547
+ */
548
+ getPublishedEntries(query?: QueryOptions): Promise<import("./common-types").Collection<import("./entities/entry").Entry, EntryProps<import("./common-types").KeyValueMap, unknown>>>;
549
+ /**
550
+ * Creates a Entry
551
+ * @param contentTypeId - The Content Type ID of the newly created Entry
552
+ * @param data - Object representation of the Entry to be created
553
+ * @return Promise for the newly created Entry
554
+ * @example ```javascript
555
+ * const contentful = require('contentful-management')
556
+ *
557
+ * const client = contentful.createClient({
558
+ * accessToken: '<content_management_api_key>'
559
+ * })
560
+ *
561
+ * client.getSpace('<space_id>')
562
+ * .then((space) => space.getEnvironment('<environment-id>'))
563
+ * .then((environment) => environment.createEntry('<content_type_id>', {
564
+ * fields: {
565
+ * title: {
566
+ * 'en-US': 'Entry title'
567
+ * }
568
+ * }
569
+ * }))
570
+ * .then((entry) => console.log(entry))
571
+ * .catch(console.error)
572
+ * ```
573
+ */
574
+ createEntry(contentTypeId: string, data: Omit<EntryProps, "sys">): Promise<import("./entities/entry").Entry>;
575
+ /**
576
+ * Creates a Entry with a custom ID
577
+ * @param contentTypeId - The Content Type of the newly created Entry
578
+ * @param id - Entry ID
579
+ * @param data - Object representation of the Entry to be created
580
+ * @return Promise for the newly created Entry
581
+ * @example ```javascript
582
+ * const contentful = require('contentful-management')
583
+ *
584
+ * const client = contentful.createClient({
585
+ * accessToken: '<content_management_api_key>'
586
+ * })
587
+ *
588
+ * // Create entry
589
+ * client.getSpace('<space_id>')
590
+ * .then((space) => space.getEnvironment('<environment-id>'))
591
+ * .then((environment) => environment.createEntryWithId('<content_type_id>', '<entry_id>', {
592
+ * fields: {
593
+ * title: {
594
+ * 'en-US': 'Entry title'
595
+ * }
596
+ * }
597
+ * }))
598
+ * .then((entry) => console.log(entry))
599
+ * .catch(console.error)
600
+ * ```
601
+ */
602
+ createEntryWithId(contentTypeId: string, id: string, data: CreateEntryProps): Promise<import("./entities/entry").Entry>;
603
+ /**
604
+ * Get entry references
605
+ * @param entryId - Entry ID
606
+ * @param {Object} options.include - Level of the entry descendants from 1 up to 10 maximum
607
+ * @returns Promise of Entry references
608
+ * @example ```javascript
609
+ * const contentful = require('contentful-management');
610
+ *
611
+ * const client = contentful.createClient({
612
+ * accessToken: '<contentful_management_api_key>
613
+ * })
614
+ *
615
+ * // Get entry references
616
+ * client.getSpace('<space_id>')
617
+ * .then((space) => space.getEnvironment('<environment_id>'))
618
+ * .then((environment) => environment.getEntryReferences('<entry_id>', {include: number}))
619
+ * .then((entry) => console.log(entry.includes))
620
+ * // or
621
+ * .then((environment) => environment.getEntry('<entry_id>')).then((entry) => entry.references({include: number}))
622
+ * .catch(console.error)
623
+ * ```
624
+ */
625
+ getEntryReferences(entryId: string, options?: EntryReferenceOptionsProps): Promise<EntryReferenceProps>;
626
+ /**
627
+ * Gets an Asset
628
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
629
+ * from your entry in the backend
630
+ * @param id - Asset ID
631
+ * @param query - Object with search parameters. In this method it's only useful for `locale`.
632
+ * @return Promise for an Asset
633
+ * @example ```javascript
634
+ * const contentful = require('contentful-management')
635
+ *
636
+ * const client = contentful.createClient({
637
+ * accessToken: '<content_management_api_key>'
638
+ * })
639
+ *
640
+ * client.getSpace('<space_id>')
641
+ * .then((space) => space.getEnvironment('<environment-id>'))
642
+ * .then((environment) => environment.getAsset('<asset_id>'))
643
+ * .then((asset) => console.log(asset))
644
+ * .catch(console.error)
645
+ * ```
646
+ */
647
+ getAsset(id: string, query?: QueryOptions): Promise<import("./entities/asset").Asset>;
648
+ /**
649
+ * Gets a collection of Assets
650
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
651
+ * from your entry in the backend
652
+ * @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
653
+ * @return Promise for a collection of Assets
654
+ * @example ```javascript
655
+ * const contentful = require('contentful-management')
656
+ *
657
+ * const client = contentful.createClient({
658
+ * accessToken: '<content_management_api_key>'
659
+ * })
660
+ *
661
+ * client.getSpace('<space_id>')
662
+ * .then((space) => space.getEnvironment('<environment-id>'))
663
+ * .then((environment) => environment.getAssets())
664
+ * .then((response) => console.log(response.items))
665
+ * .catch(console.error)
666
+ * ```
667
+ */
668
+ getAssets(query?: QueryOptions): Promise<import("./common-types").Collection<import("./entities/asset").Asset, AssetProps<{}>>>;
669
+ /**
670
+ * Gets a collection of Assets with cursor based pagination
671
+ * Warning: if you are using the select operator, when saving, any field that was not selected will be removed
672
+ * from your entry in the backend
673
+ * @param query - Object with cursor pagination parameters. Check the <a href="https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/cursor-pagination">REST API reference</a> for more details.
674
+ * @return Promise for a collection of Assets
675
+ * @example ```javascript
676
+ * const contentful = require('contentful-management')
677
+ *
678
+ * const client = contentful.createClient({
679
+ * accessToken: '<content_management_api_key>'
680
+ * })
681
+ *
682
+ * client.getSpace('<space_id>')
683
+ * .then((space) => space.getEnvironment('<environment-id>'))
684
+ * .then((environment) => environment.getAssetsWithCursor())
685
+ * .then((response) => console.log(response.items))
686
+ * .catch(console.error)
687
+ * ```
688
+ */
689
+ getAssetsWithCursor(query?: BasicCursorPaginationOptions): Promise<import("./common-types").CursorPaginatedCollection<import("./entities/asset").Asset, AssetProps<{}>>>;
690
+ /**
691
+ * Gets a collection of published Assets
692
+ * @param query - Object with search parameters. Check the <a href="https://www.contentful.com/developers/docs/javascript/tutorials/using-js-cda-sdk/#retrieving-entries-with-search-parameters">JS SDK tutorial</a> and the <a href="https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters">REST API reference</a> for more details.
693
+ * @return Promise for a collection of published Assets
694
+ * @example ```javascript
695
+ * const contentful = require('contentful-management')
696
+ *
697
+ * const client = contentful.createClient({
698
+ * accessToken: '<content_management_api_key>'
699
+ * })
700
+ *
701
+ * client.getSpace('<space_id>')
702
+ * .then((space) => space.getEnvironment('<environment-id>'))
703
+ * .then((environment) => environment.getPublishedAssets())
704
+ * .then((response) => console.log(response.items))
705
+ * .catch(console.error)
706
+ * ```
707
+ */
708
+ getPublishedAssets(query?: QueryOptions): Promise<import("./common-types").Collection<import("./entities/asset").Asset, AssetProps<{}>>>;
709
+ /**
710
+ * Creates a Asset. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
711
+ * @param data - Object representation of the Asset to be created. Note that the field object should have an upload property on asset creation, which will be removed and replaced with an url property when processing is finished.
712
+ * @return Promise for the newly created Asset
713
+ * @example ```javascript
714
+ * const client = contentful.createClient({
715
+ * accessToken: '<content_management_api_key>'
716
+ * })
717
+ *
718
+ * // Create asset
719
+ * client.getSpace('<space_id>')
720
+ * .then((space) => space.getEnvironment('<environment-id>'))
721
+ * .then((environment) => environment.createAsset({
722
+ * fields: {
723
+ * title: {
724
+ * 'en-US': 'Playsam Streamliner'
725
+ * },
726
+ * file: {
727
+ * 'en-US': {
728
+ * contentType: 'image/jpeg',
729
+ * fileName: 'example.jpeg',
730
+ * upload: 'https://example.com/example.jpg'
731
+ * }
732
+ * }
733
+ * }
734
+ * }))
735
+ * .then((asset) => asset.processForLocale("en-US")) // OR asset.processForAllLocales()
736
+ * .then((asset) => console.log(asset))
737
+ * .catch(console.error)
738
+ * ```
739
+ */
740
+ createAsset(data: CreateAssetProps): Promise<import("./entities/asset").Asset>;
741
+ /**
742
+ * Creates a Asset with a custom ID. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
743
+ * @param id - Asset ID
744
+ * @param data - Object representation of the Asset to be created. Note that the field object should have an upload property on asset creation, which will be removed and replaced with an url property when processing is finished.
745
+ * @return Promise for the newly created Asset
746
+ * @example ```javascript
747
+ * const client = contentful.createClient({
748
+ * accessToken: '<content_management_api_key>'
749
+ * })
750
+ *
751
+ * // Create asset
752
+ * client.getSpace('<space_id>')
753
+ * .then((space) => space.getEnvironment('<environment-id>'))
754
+ * .then((environment) => environment.createAssetWithId('<asset_id>', {
755
+ * title: {
756
+ * 'en-US': 'Playsam Streamliner'
757
+ * },
758
+ * file: {
759
+ * 'en-US': {
760
+ * contentType: 'image/jpeg',
761
+ * fileName: 'example.jpeg',
762
+ * upload: 'https://example.com/example.jpg'
763
+ * }
764
+ * }
765
+ * }))
766
+ * .then((asset) => asset.process())
767
+ * .then((asset) => console.log(asset))
768
+ * .catch(console.error)
769
+ * ```
770
+ */
771
+ createAssetWithId(id: string, data: CreateAssetProps): Promise<import("./entities/asset").Asset>;
772
+ /**
773
+ * Creates a Asset based on files. After creation, call asset.processForLocale or asset.processForAllLocales to start asset processing.
774
+ * @param data - Object representation of the Asset to be created. Note that the field object should have an uploadFrom property on asset creation, which will be removed and replaced with an url property when processing is finished.
775
+ * @param data.fields.file.[LOCALE].file - Can be a string, an ArrayBuffer or a Stream.
776
+ * @return Promise for the newly created Asset
777
+ * @example ```javascript
778
+ * const client = contentful.createClient({
779
+ * accessToken: '<content_management_api_key>'
780
+ * })
781
+ *
782
+ * client.getSpace('<space_id>')
783
+ * .then((space) => space.getEnvironment('<environment-id>'))
784
+ * .then((environment) => environment.createAssetFromFiles({
785
+ * fields: {
786
+ * file: {
787
+ * 'en-US': {
788
+ * contentType: 'image/jpeg',
789
+ * fileName: 'filename_english.jpg',
790
+ * file: createReadStream('path/to/filename_english.jpg')
791
+ * },
792
+ * 'de-DE': {
793
+ * contentType: 'image/svg+xml',
794
+ * fileName: 'filename_german.svg',
795
+ * file: '<svg><path fill="red" d="M50 50h150v50H50z"/></svg>'
796
+ * }
797
+ * }
798
+ * }
799
+ * }))
800
+ * .then((asset) => console.log(asset))
801
+ * .catch(console.error)
802
+ * ```
803
+ */
804
+ createAssetFromFiles(data: Omit<AssetFileProp, "sys">, options?: CreateAssetFromFilesOptions): Promise<import("./entities/asset").Asset>;
805
+ /**
806
+ * Creates an asset key for signing asset URLs (Embargoed Assets)
807
+ * @param data Object with request payload
808
+ * @param data.expiresAt number a UNIX timestamp in the future (but not more than 48 hours from time of calling)
809
+ * @return Promise for the newly created AssetKey
810
+ * @example ```javascript
811
+ * const client = contentful.createClient({
812
+ * accessToken: '<content_management_api_key>'
813
+ * })
814
+ *
815
+ * // Create assetKey
816
+ * now = () => Math.floor(Date.now() / 1000)
817
+ * const withExpiryIn1Hour = () => now() + 1 * 60 * 60
818
+ * client.getSpace('<space_id>')
819
+ * .then((space) => space.getEnvironment('<environment-id>'))
820
+ * .then((environment) => environment.createAssetKey({ expiresAt: withExpiryIn1Hour() }))
821
+ * .then((policy, secret) => console.log({ policy, secret }))
822
+ * .catch(console.error)
823
+ * ```
824
+ */
825
+ createAssetKey(payload: CreateAssetKeyProps): Promise<import("./entities/asset-key").AssetKey>;
826
+ /**
827
+ * Gets an Upload
828
+ * @param id - Upload ID
829
+ * @return Promise for an Upload
830
+ * @example ```javascript
831
+ * const client = contentful.createClient({
832
+ * accessToken: '<content_management_api_key>'
833
+ * })
834
+ * const uploadStream = createReadStream('path/to/filename_english.jpg')
835
+ *
836
+ * client.getSpace('<space_id>')
837
+ * .then((space) => space.getEnvironment('<environment-id>'))
838
+ * .then((environment) => environment.getUpload('<upload-id>')
839
+ * .then((upload) => console.log(upload))
840
+ * .catch(console.error)
841
+ */
842
+ getUpload(id: string): Promise<{
843
+ delete: () => Promise<void>;
844
+ } & import("./export-types").UploadProps & {
845
+ toPlainObject(): import("./export-types").UploadProps;
846
+ }>;
847
+ /**
848
+ * Creates a Upload.
849
+ * @param data - Object with file information.
850
+ * @param data.file - Actual file content. Can be a string, an ArrayBuffer or a Stream.
851
+ * @return Upload object containing information about the uploaded file.
852
+ * @example ```javascript
853
+ * const client = contentful.createClient({
854
+ * accessToken: '<content_management_api_key>'
855
+ * })
856
+ * const uploadStream = createReadStream('path/to/filename_english.jpg')
857
+ *
858
+ * client.getSpace('<space_id>')
859
+ * .then((space) => space.getEnvironment('<environment-id>'))
860
+ * .then((environment) => environment.createUpload({file: uploadStream})
861
+ * .then((upload) => console.log(upload))
862
+ * .catch(console.error)
863
+ * ```
864
+ */
865
+ createUpload: (data: {
866
+ file: string | ArrayBuffer | Stream;
867
+ }) => Promise<{
868
+ delete: () => Promise<void>;
869
+ } & import("./export-types").UploadProps & {
870
+ toPlainObject(): import("./export-types").UploadProps;
871
+ }>;
872
+ /**
873
+ * Gets a Locale
874
+ * @param localeId - Locale ID
875
+ * @return Promise for an Locale
876
+ * @example ```javascript
877
+ * const contentful = require('contentful-management')
878
+ *
879
+ * const client = contentful.createClient({
880
+ * accessToken: '<content_management_api_key>'
881
+ * })
882
+ *
883
+ * client.getSpace('<space_id>')
884
+ * .then((space) => space.getEnvironment('<environment-id>'))
885
+ * .then((environment) => environment.getLocale('<locale_id>'))
886
+ * .then((locale) => console.log(locale))
887
+ * .catch(console.error)
888
+ * ```
889
+ */
890
+ getLocale(localeId: string): Promise<import("./entities/locale").Locale>;
891
+ /**
892
+ * Gets a collection of Locales
893
+ * @return Promise for a collection of Locales
894
+ * @example ```javascript
895
+ * const contentful = require('contentful-management')
896
+ *
897
+ * const client = contentful.createClient({
898
+ * accessToken: '<content_management_api_key>'
899
+ * })
900
+ *
901
+ * client.getSpace('<space_id>')
902
+ * .then((space) => space.getEnvironment('<environment-id>'))
903
+ * .then((environment) => environment.getLocales())
904
+ * .then((response) => console.log(response.items))
905
+ * .catch(console.error)
906
+ * ```
907
+ */
908
+ getLocales(query?: BasicQueryOptions): Promise<import("./common-types").Collection<import("./entities/locale").Locale, import("./entities/locale").LocaleProps>>;
909
+ /**
910
+ * Creates a Locale
911
+ * @param data - Object representation of the Locale to be created
912
+ * @return Promise for the newly created Locale
913
+ * @example ```javascript
914
+ * const contentful = require('contentful-management')
915
+ *
916
+ * const client = contentful.createClient({
917
+ * accessToken: '<content_management_api_key>'
918
+ * })
919
+ *
920
+ * // Create locale
921
+ * client.getSpace('<space_id>')
922
+ * .then((space) => space.getEnvironment('<environment-id>'))
923
+ * .then((environment) => environment.createLocale({
924
+ * name: 'German (Austria)',
925
+ * code: 'de-AT',
926
+ * fallbackCode: 'de-DE',
927
+ * optional: true
928
+ * }))
929
+ * .then((locale) => console.log(locale))
930
+ * .catch(console.error)
931
+ * ```
932
+ */
933
+ createLocale(data: CreateLocaleProps): Promise<import("./entities/locale").Locale>;
934
+ /**
935
+ * Gets an UI Extension
936
+ * @param id - Extension ID
937
+ * @return Promise for an UI Extension
938
+ * @example ```javascript
939
+ * const contentful = require('contentful-management')
940
+ *
941
+ * const client = contentful.createClient({
942
+ * accessToken: '<content_management_api_key>'
943
+ * })
944
+ *
945
+ * client.getSpace('<space_id>')
946
+ * .then((space) => space.getEnvironment('<environment-id>'))
947
+ * .then((environment) => environment.getUiExtension('<extension-id>'))
948
+ * .then((extension) => console.log(extension))
949
+ * .catch(console.error)
950
+ * ```
951
+ */
952
+ getUiExtension(id: string): Promise<import("./entities/extension").Extension>;
953
+ /**
954
+ * Gets a collection of UI Extension
955
+ * @return Promise for a collection of UI Extensions
956
+ * @example ```javascript
957
+ * const contentful = require('contentful-management')
958
+ *
959
+ * const client = contentful.createClient({
960
+ * accessToken: '<content_management_api_key>'
961
+ * })
962
+ *
963
+ * client.getSpace('<space_id>')
964
+ * .then((space) => space.getEnvironment('<environment-id>'))
965
+ * .then((environment) => environment.getUiExtensions()
966
+ * .then((response) => console.log(response.items))
967
+ * .catch(console.error)
968
+ * ```
969
+ */
970
+ getUiExtensions(): Promise<import("./common-types").Collection<import("./entities/extension").Extension, import("./entities/extension").ExtensionProps>>;
971
+ /**
972
+ * Creates a UI Extension
973
+ * @param data - Object representation of the UI Extension to be created
974
+ * @return Promise for the newly created UI Extension
975
+ * @example ```javascript
976
+ * const contentful = require('contentful-management')
977
+ *
978
+ * const client = contentful.createClient({
979
+ * accessToken: '<content_management_api_key>'
980
+ * })
981
+ *
982
+ * client.getSpace('<space_id>')
983
+ * .then((space) => space.getEnvironment('<environment-id>'))
984
+ * .then((environment) => environment.createUiExtension({
985
+ * extension: {
986
+ * name: 'My awesome extension',
987
+ * src: 'https://example.com/my',
988
+ * fieldTypes: [
989
+ * {
990
+ * type: 'Symbol'
991
+ * },
992
+ * {
993
+ * type: 'Text'
994
+ * }
995
+ * ],
996
+ * sidebar: false
997
+ * }
998
+ * }))
999
+ * .then((extension) => console.log(extension))
1000
+ * .catch(console.error)
1001
+ * ```
1002
+ */
1003
+ createUiExtension(data: CreateExtensionProps): Promise<import("./entities/extension").Extension>;
1004
+ /**
1005
+ * Creates a UI Extension with a custom ID
1006
+ * @param id - Extension ID
1007
+ * @param data - Object representation of the UI Extension to be created
1008
+ * @return Promise for the newly created UI Extension
1009
+ * @example ```javascript
1010
+ * const contentful = require('contentful-management')
1011
+ *
1012
+ * const client = contentful.createClient({
1013
+ * accessToken: '<content_management_api_key>'
1014
+ * })
1015
+ *
1016
+ * client.getSpace('<space_id>')
1017
+ * .then((space) => space.getEnvironment('<environment-id>'))
1018
+ * .then((environment) => environment.createUiExtensionWithId('<extension_id>', {
1019
+ * extension: {
1020
+ * name: 'My awesome extension',
1021
+ * src: 'https://example.com/my',
1022
+ * fieldTypes: [
1023
+ * {
1024
+ * type: 'Symbol'
1025
+ * },
1026
+ * {
1027
+ * type: 'Text'
1028
+ * }
1029
+ * ],
1030
+ * sidebar: false
1031
+ * }
1032
+ * }))
1033
+ * .then((extension) => console.log(extension))
1034
+ * .catch(console.error)
1035
+ * ```
1036
+ */
1037
+ createUiExtensionWithId(id: string, data: CreateExtensionProps): Promise<import("./entities/extension").Extension>;
1038
+ /**
1039
+ * Creates an App Installation
1040
+ * @param appDefinitionId - AppDefinition ID
1041
+ * @param data - AppInstallation data
1042
+ * @param options.acceptAllTerms - Flag for accepting Apps' Marketplace EULA, Terms, and Privacy policy (need to pass `{acceptAllTerms: true}` to install a marketplace app)
1043
+ * @return Promise for an App Installation
1044
+ * @example ```javascript
1045
+ * const contentful = require('contentful-management')
1046
+ *
1047
+ * const client = contentful.createClient({
1048
+ * accessToken: '<content_management_api_key>'
1049
+ * })
1050
+ *
1051
+ * client.getSpace('<space_id>')
1052
+ * .then((space) => space.getEnvironment('<environment-id>'))
1053
+ * .then((environment) => environment.createAppInstallation('<app_definition_id>', {
1054
+ * parameters: {
1055
+ * someParameter: someValue
1056
+ * }
1057
+ * })
1058
+ * .then((appInstallation) => console.log(appInstallation))
1059
+ * .catch(console.error)
1060
+ * ```
1061
+ */
1062
+ createAppInstallation(appDefinitionId: string, data: CreateAppInstallationProps, { acceptAllTerms }?: {
1063
+ acceptAllTerms?: boolean;
1064
+ }): Promise<import("./entities/app-installation").AppInstallation>;
1065
+ /**
1066
+ * Gets an App Installation
1067
+ * @param id - AppDefintion ID
1068
+ * @return Promise for an App Installation
1069
+ * @example ```javascript
1070
+ * const contentful = require('contentful-management')
1071
+ *
1072
+ * const client = contentful.createClient({
1073
+ * accessToken: '<content_management_api_key>'
1074
+ * })
1075
+ *
1076
+ * client.getSpace('<space_id>')
1077
+ * .then((space) => space.getEnvironment('<environment-id>'))
1078
+ * .then((environment) => environment.getAppInstallation('<app-definition-id>'))
1079
+ * .then((appInstallation) => console.log(appInstallation))
1080
+ * .catch(console.error)
1081
+ * ```
1082
+ */
1083
+ getAppInstallation(id: string): Promise<import("./entities/app-installation").AppInstallation>;
1084
+ /**
1085
+ * Gets a collection of App Installation
1086
+ * @return Promise for a collection of App Installations
1087
+ * @example ```javascript
1088
+ * const contentful = require('contentful-management')
1089
+ *
1090
+ * const client = contentful.createClient({
1091
+ * accessToken: '<content_management_api_key>'
1092
+ * })
1093
+ *
1094
+ * client.getSpace('<space_id>')
1095
+ * .then((space) => space.getEnvironment('<environment-id>'))
1096
+ * .then((environment) => environment.getAppInstallations()
1097
+ * .then((response) => console.log(response.items))
1098
+ * .catch(console.error)
1099
+ * ```
1100
+ */
1101
+ getAppInstallations(): Promise<import("./common-types").Collection<import("./entities/app-installation").AppInstallation, import("./entities/app-installation").AppInstallationProps>>;
1102
+ /**
1103
+ * Creates an app action call
1104
+ * @param appDefinitionId - AppDefinition ID
1105
+ * @param appActionId - action ID
1106
+ * @param data - App Action Call data
1107
+ * @return Promise for an App Action Call
1108
+ * @example ```javascript
1109
+ * const contentful = require('contentful-management')
1110
+ *
1111
+ * const client = contentful.createClient({
1112
+ * accessToken: '<content_management_api_key>'
1113
+ * })
1114
+ *
1115
+ * const data = {
1116
+ * headers: {
1117
+ * 'x-my-header': 'some-value'
1118
+ * },
1119
+ * body: {
1120
+ * 'some-body-value': true
1121
+ * }
1122
+ * }
1123
+ *
1124
+ * client.getSpace('<space_id>')
1125
+ * .then((space) => space.getEnvironment('<environment-id>'))
1126
+ * .then((environment) => environment.createAppActionCall('<app_definition_id>', '<action_id>', data)
1127
+ * .then((appActionCall) => console.log(appActionCall))
1128
+ * .catch(console.error)
1129
+ * ```
1130
+ */
1131
+ createAppActionCall(appDefinitionId: string, appActionId: string, data: CreateAppActionCallProps): Promise<import("./entities/app-action-call").AppActionCall>;
1132
+ /**
1133
+ * Gets the raw response (headers/body) for a completed App Action Call
1134
+ * @param appDefinitionId - AppDefinition ID
1135
+ * @param appActionId - App Action ID
1136
+ * @param callId - App Action Call ID
1137
+ * @return Promise for the raw response object including `response.body` and optional `response.headers`
1138
+ * @example ```javascript
1139
+ * const contentful = require('contentful-management')
1140
+ *
1141
+ * const client = contentful.createClient({
1142
+ * accessToken: '<content_management_api_key>'
1143
+ * })
1144
+ *
1145
+ * client
1146
+ * .getSpace('<space_id>')
1147
+ * .then((space) => space.getEnvironment('<environment_id>'))
1148
+ * .then((environment) => environment.getAppActionCallResponse('<app_definition_id>', '<app_action_id>', '<call_id>'))
1149
+ * .then((raw) => console.log(raw.response.body))
1150
+ * .catch(console.error)
1151
+ * ```
1152
+ */
1153
+ getAppActionCallResponse(appDefinitionId: string, appActionId: string, callId: string): Promise<AppActionCallRawResponseProps>;
1154
+ /**
1155
+ * Creates an app signed request
1156
+ * @param appDefinitionId - AppDefinition ID
1157
+ * @param data - SignedRequest data
1158
+ * @return Promise for a Signed Request
1159
+ * @example ```javascript
1160
+ * const contentful = require('contentful-management')
1161
+ *
1162
+ * const client = contentful.createClient({
1163
+ * accessToken: '<content_management_api_key>'
1164
+ * })
1165
+ *
1166
+ * const data = {
1167
+ * method: 'POST',
1168
+ * path: '/request_path',
1169
+ * body: '{ "key": "data" }',
1170
+ * headers: {
1171
+ * 'x-my-header': 'some-value'
1172
+ * },
1173
+ * }
1174
+ *
1175
+ * client.getSpace('<space_id>')
1176
+ * .then((space) => space.getEnvironment('<environment-id>'))
1177
+ * .then((environment) => environment.createAppSignedRequest('<app_definition_id>', data)
1178
+ * .then((signedRequest) => console.log(signedRequest))
1179
+ * .catch(console.error)
1180
+ * ```
1181
+ */
1182
+ createAppSignedRequest(appDefinitionId: string, data: CreateAppSignedRequestProps): Promise<import("./entities/app-signed-request").AppSignedRequest>;
1183
+ /**
1184
+ * Creates an app access token
1185
+ * @param appDefinitionId - AppDefinition ID
1186
+ * @param data - Json Web Token
1187
+ * @return Promise for an app access token
1188
+ * @example ```javascript
1189
+ * const contentful = require('contentful-management')
1190
+ * const { sign } = require('jsonwebtoken')
1191
+ *
1192
+ * const signOptions = { algorithm: 'RS256', issuer: '<app_definition_id>', expiresIn: '10m' }
1193
+ *
1194
+ * const client = contentful.createClient({
1195
+ * accessToken: '<content_management_api_key>'
1196
+ * })
1197
+ *
1198
+ * const data = {
1199
+ * jwt: sign({}, '<private_key>', signOptions)
1200
+ * }
1201
+ *
1202
+ * client.getSpace('<space_id>')
1203
+ * .then((space) => space.getEnvironment('<environment-id>'))
1204
+ * .then((environment) => environment.createAppAccessToken('<app_definition_id>', data)
1205
+ * .then((appAccessToken) => console.log(appAccessToken))
1206
+ * .catch(console.error)
1207
+ * ```
1208
+ */
1209
+ createAppAccessToken(appDefinitionId: string, data: CreateAppAccessTokenProps): Promise<import("./entities/app-access-token").AppAccessToken>;
1210
+ /**
1211
+ * Gets a collection of Functions for a given environment
1212
+ * @param appInstallationId
1213
+ * @param {import('../common-types').AcceptsQueryOptions} query - optional query parameter for filtering functions by action
1214
+ * @return Promise containing wrapped collection of Functions in an environment
1215
+ * @example ```javascript
1216
+ * const contentful = require('contentful-management')
1217
+ *
1218
+ * const client = contentful.createClient({
1219
+ * accessToken: '<content_management_api_key>'
1220
+ * })
1221
+ *
1222
+ * client
1223
+ * .getSpace('<space-id>')
1224
+ * .then((space) => space.getEnvironment('<environment-id>'))
1225
+ * .then((environment) => environment.getFunctionsForEnvironment('<app-installation-id>', { 'accepts[all]': '<action>' }))
1226
+ * .then((functions) => console.log(functions.items))
1227
+ * .catch(console.error)
1228
+ * ```
1229
+ */
1230
+ getFunctionsForEnvironment(appInstallationId: string, query?: AcceptsQueryOptions): Promise<import("./common-types").Collection<import("./entities/function").FunctionProps, import("./entities/function").FunctionProps>>;
1231
+ /**
1232
+ * Gets a collection of FunctionLogs for a given app installation id and FunctionId
1233
+ * @param appInstallationId
1234
+ * @param functionId
1235
+ * @param {import('../common-types').CursorBasedParams} query - optional query parameter for pagination (limit, nextPage, prevPage)
1236
+ * @return Promise containing wrapped collection of FunctionLogs
1237
+ * * @example ```javascript
1238
+ * const contentful = require('contentful-management')
1239
+ *
1240
+ * const client = contentful.createClient({
1241
+ * accessToken: '<content_management_api_key>'
1242
+ * })
1243
+ *
1244
+ * client
1245
+ * .getSpace('<space-id>')
1246
+ * .then((space) => space.getEnvironment('<environment-id>'))
1247
+ * .then((environment) =>
1248
+ * environment.getFunctionLogs(
1249
+ * '<app-installation-id>',
1250
+ * '<function-id>',
1251
+ * {
1252
+ * query: {
1253
+ * // optional limit
1254
+ * limit: 10,
1255
+ * // optional interval query
1256
+ * 'sys.createdAt[gte]': start,
1257
+ * 'sys.createdAt[lt]': end,
1258
+ * // optional cursor based pagination parameters
1259
+ * pagePrev: '<page_prev>',
1260
+ * },
1261
+ * },
1262
+ * )
1263
+ * )
1264
+ * .then((functionLogs) => console.log(functionLog.items))
1265
+ * .catch(console.error)
1266
+ * ```
1267
+ */
1268
+ getFunctionLogs(appInstallationId: string, functionId: string, query?: CursorBasedParams & CreatedAtIntervalParams): Promise<import("./common-types").Collection<import("./entities/function-log").FunctionLogProps, import("./entities/function-log").FunctionLogProps>>;
1269
+ /**
1270
+ * Gets a FunctionLog by appInstallationId, functionId and logId
1271
+ * @param appInstallationId
1272
+ * @param functionId
1273
+ * @param logId
1274
+ * @return Promise containing a wrapped FunctionLog
1275
+ * @example ```javascript
1276
+ * const contentful = require('contentful-management')
1277
+ *
1278
+ * const client = contentful.createClient({
1279
+ * accessToken: '<content_management_api_key>'
1280
+ * })
1281
+ *
1282
+ * client
1283
+ * .getSpace(<space-id>)
1284
+ * .then((space) => space.getEnvironment('<environment-id>'))
1285
+ * .then((environment) =>
1286
+ * environment.getFunctionLog(
1287
+ * '<app-installation-id>',
1288
+ * '<function-id>',
1289
+ * '<log-id>'
1290
+ * )
1291
+ * )
1292
+ * .then((functionLog) => console.log(functionLog))
1293
+ * .catch(console.error)
1294
+ * ```
1295
+ */
1296
+ getFunctionLog(appInstallationId: string, functionId: string, logId: string): Promise<import("./entities/function-log").FunctionLogProps>;
1297
+ /**
1298
+ * Gets all snapshots of an entry
1299
+ * @func getEntrySnapshots
1300
+ * @param entryId - Entry ID
1301
+ * @param query - query additional query paramaters
1302
+ * @return Promise for a collection of Entry Snapshots
1303
+ * @example ```javascript
1304
+ * const contentful = require('contentful-management')
1305
+ *
1306
+ * const client = contentful.createClient({
1307
+ * accessToken: '<content_management_api_key>'
1308
+ * })
1309
+ *
1310
+ * client.getSpace('<space_id>')
1311
+ * .then((space) => space.getEnvironment('<environment-id>'))
1312
+ * .then((environment) => environment.getEntrySnapshots('<entry_id>'))
1313
+ * .then((snapshots) => console.log(snapshots.items))
1314
+ * .catch(console.error)
1315
+ * ```
1316
+ */
1317
+ getEntrySnapshots(entryId: string, query?: QueryOptions): Promise<import("./common-types").Collection<import("./export-types").Snapshot<EntryProps>, import("./export-types").SnapshotProps<EntryProps>>>;
1318
+ /**
1319
+ * Gets all snapshots of a contentType
1320
+ * @func getContentTypeSnapshots
1321
+ * @param contentTypeId - Content Type ID
1322
+ * @param query - query additional query paramaters
1323
+ * @return Promise for a collection of Content Type Snapshots
1324
+ * @example ```javascript
1325
+ * const contentful = require('contentful-management')
1326
+ *
1327
+ * const client = contentful.createClient({
1328
+ * accessToken: '<content_management_api_key>'
1329
+ * })
1330
+ *
1331
+ * client.getSpace('<space_id>')
1332
+ * .then((space) => space.getEnvironment('<environment-id>'))
1333
+ * .then((environment) => environment.getContentTypeSnapshots('<contentTypeId>'))
1334
+ * .then((snapshots) => console.log(snapshots.items))
1335
+ * .catch(console.error)
1336
+ * ```
1337
+ */
1338
+ getContentTypeSnapshots(contentTypeId: string, query?: QueryOptions): Promise<import("./common-types").Collection<import("./export-types").Snapshot<ContentTypeProps>, import("./export-types").SnapshotProps<ContentTypeProps>>>;
1339
+ createTag(id: string, name: string, visibility?: TagVisibility): Promise<import("./entities/tag").Tag>;
1340
+ getTags(query?: BasicQueryOptions): Promise<import("./common-types").Collection<import("./entities/tag").Tag, import("./entities/tag").TagProps>>;
1341
+ getTag(id: string): Promise<import("./entities/tag").Tag>;
1342
+ /**
1343
+ * Retrieves a Release by ID
1344
+ * @param releaseId
1345
+ * @returns Promise containing a wrapped Release
1346
+ * @example ```javascript
1347
+ * const contentful = require('contentful-management')
1348
+ *
1349
+ * const client = contentful.createClient({
1350
+ * accessToken: '<content_management_api_key>'
1351
+ * })
1352
+ *
1353
+ * client.getSpace('<space_id>')
1354
+ * .then((space) => space.getEnvironment('<environment-id>'))
1355
+ * .then((environment) => environment.getRelease('<release_id>'))
1356
+ * .then((release) => console.log(release))
1357
+ * .catch(console.error)
1358
+ * ```
1359
+ */
1360
+ getRelease(releaseId: string): Promise<import("./entities/release").Release>;
1361
+ /**
1362
+ * Gets a Collection of Releases,
1363
+ * @param {ReleaseQueryOptions} query filtering options for the collection result
1364
+ * @returns Promise containing a wrapped Release Collection
1365
+ * @example ```javascript
1366
+ * const contentful = require('contentful-management')
1367
+ *
1368
+ * const client = contentful.createClient({
1369
+ * accessToken: '<content_management_api_key>'
1370
+ * })
1371
+ *
1372
+ * client.getSpace('<space_id>')
1373
+ * .then((space) => space.getEnvironment('<environment-id>'))
1374
+ * .then((environment) => environment.getReleases({ 'entities.sys.id[in]': '<asset_id>,<entry_id>' }))
1375
+ * .then((releases) => console.log(releases))
1376
+ * .catch(console.error)
1377
+ * ```
1378
+ */
1379
+ getReleases(query?: ReleaseQueryOptions): Promise<import("./common-types").CursorPaginatedCollection<import("./entities/release").Release, import("./entities/release").ReleaseProps>>;
1380
+ /**
1381
+ * Creates a new Release with the entities and title in the payload
1382
+ * @param payload Object containing the payload in order to create a Release
1383
+ * @returns Promise containing a wrapped Release, that has other helper methods within.
1384
+ * @example ```javascript
1385
+ * const contentful = require('contentful-management')
1386
+ *
1387
+ * const client = contentful.createClient({
1388
+ * accessToken: '<content_management_api_key>'
1389
+ * })
1390
+ *
1391
+ * const payload = {
1392
+ * title: 'My Release',
1393
+ * entities: {
1394
+ * sys: { type: 'Array' },
1395
+ * items: [
1396
+ * { sys: { linkType: 'Entry', type: 'Link', id: '<entry_id>' } }
1397
+ * ]
1398
+ * }
1399
+ * }
1400
+ *
1401
+ * client.getSpace('<space_id>')
1402
+ * .then((space) => space.getEnvironment('<environment-id>'))
1403
+ * .then((environment) => environment.createRelease(payload))
1404
+ * .then((release) => console.log(release))
1405
+ * .catch(console.error)
1406
+ * ```
1407
+ */
1408
+ createRelease(payload: ReleasePayload): Promise<import("./entities/release").Release>;
1409
+ /**
1410
+ * Updates a Release and replaces all the properties.
1411
+ * @param {object} options,
1412
+ * @param options.releaseId the ID of the release
1413
+ * @param options.payload the payload to be updated in the Release
1414
+ * @param options.version Release sys.version that to be updated
1415
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1416
+ *
1417
+ * @example ```javascript
1418
+ * const contentful = require('contentful-management')
1419
+ *
1420
+ * const client = contentful.createClient({
1421
+ * accessToken: '<content_management_api_key>'
1422
+ * })
1423
+ *
1424
+ *
1425
+ * const payload = {
1426
+ * title: "Updated Release title",
1427
+ * entities: {
1428
+ * sys: { type: 'Array' },
1429
+ * items: [
1430
+ * { sys: { linkType: 'Entry', type: 'Link', id: '<entry_id>' } }
1431
+ * ]
1432
+ * }
1433
+ * }
1434
+ *
1435
+ * client.getSpace('<space_id>')
1436
+ * .then((space) => space.getEnvironment('<environment-id>'))
1437
+ * .then((environment) => environment.updateRelease({ releaseId: '<release_id>', version: 1, payload } ))
1438
+ * .then((release) => console.log(release))
1439
+ * .catch(console.error)
1440
+ * ```
1441
+ */
1442
+ updateRelease({ releaseId, payload, version, }: {
1443
+ releaseId: string;
1444
+ payload: ReleasePayload;
1445
+ version: number;
1446
+ }): Promise<import("./entities/release").Release>;
1447
+ /**
1448
+ * Deletes a Release by ID - does not delete any entities.
1449
+ * @param releaseId the ID of the release
1450
+ *
1451
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1452
+ * @example ```javascript
1453
+ * const contentful = require('contentful-management')
1454
+ *
1455
+ * const client = contentful.createClient({
1456
+ * accessToken: '<content_management_api_key>'
1457
+ * })
1458
+ *
1459
+ * client.getSpace('<space_id>')
1460
+ * .then((space) => space.getEnvironment('<environment-id>'))
1461
+ * .then((environment) => environment.deleteRelease('<release_id>')
1462
+ * .catch(console.error)
1463
+ * ```
1464
+ */
1465
+ deleteRelease(releaseId: string): Promise<void>;
1466
+ /**
1467
+ * Publishes all Entities contained in a Release.
1468
+ * @param options.releaseId the ID of the release
1469
+ * @param options.version the version of the release that is to be published
1470
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1471
+ *
1472
+ * @example ```javascript
1473
+ * const contentful = require('contentful-management')
1474
+ *
1475
+ * const client = contentful.createClient({
1476
+ * accessToken: '<content_management_api_key>'
1477
+ * })
1478
+ *
1479
+ * client.getSpace('<space_id>')
1480
+ * .then((space) => space.getEnvironment('<environment-id>'))
1481
+ * .then((environment) => environment.publishRelease({ releaseId: '<release_id>', version: 1 }))
1482
+ * .catch(console.error)
1483
+ * ```
1484
+ */
1485
+ publishRelease({ releaseId, version }: {
1486
+ releaseId: string;
1487
+ version: number;
1488
+ }): Promise<import("./entities/release-action").ReleaseAction<any>>;
1489
+ /**
1490
+ * Unpublishes all Entities contained in a Release.
1491
+ * @param options.releaseId the ID of the release
1492
+ * @param options.version the version of the release that is to be published
1493
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1494
+ *
1495
+ * @example ```javascript
1496
+ * const contentful = require('contentful-management')
1497
+ *
1498
+ * const client = contentful.createClient({
1499
+ * accessToken: '<content_management_api_key>'
1500
+ * })
1501
+ *
1502
+ * client.getSpace('<space_id>')
1503
+ * .then((space) => space.getEnvironment('<environment-id>'))
1504
+ * .then((environment) => environment.unpublishRelease({ releaseId: '<release_id>', version: 1 }))
1505
+ * .catch(console.error)
1506
+ * ```
1507
+ */
1508
+ unpublishRelease({ releaseId, version }: {
1509
+ releaseId: string;
1510
+ version: number;
1511
+ }): Promise<import("./entities/release-action").ReleaseAction<any>>;
1512
+ /**
1513
+ * Validates all Entities contained in a Release against an action (publish or unpublish)
1514
+ * @param options.releaseId the ID of the release
1515
+ * @param options.payload (optional) the type of action to be validated against
1516
+ *
1517
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1518
+ *
1519
+ * @example ```javascript
1520
+ * const contentful = require('contentful-management')
1521
+ *
1522
+ * const client = contentful.createClient({
1523
+ * accessToken: '<content_management_api_key>'
1524
+ * })
1525
+ *
1526
+ * client.getSpace('<space_id>')
1527
+ * .then((space) => space.getEnvironment('<environment-id>'))
1528
+ * .then((environment) => environment.validateRelease({ releaseId: '<release_id>', payload: { action: 'unpublish' } }))
1529
+ * .catch(console.error)
1530
+ * ```
1531
+ */
1532
+ validateRelease({ releaseId, payload, }: {
1533
+ releaseId: string;
1534
+ payload?: ReleaseValidatePayload;
1535
+ }): Promise<import("./entities/release-action").ReleaseAction<any>>;
1536
+ /**
1537
+ * Archives a Release and prevents new operations (publishing, unpublishing adding new entities etc).
1538
+ * @param options.releaseId the ID of the release
1539
+ * @param options.version the version of the release that is to be archived
1540
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1541
+ *
1542
+ * @example ```javascript
1543
+ * const contentful = require('contentful-management')
1544
+ *
1545
+ * const client = contentful.createClient({
1546
+ * accessToken: '<content_management_api_key>'
1547
+ * })
1548
+ *
1549
+ * client.getSpace('<space_id>')
1550
+ * .then((space) => space.getEnvironment('<environment-id>'))
1551
+ * .then((environment) => environment.archiveRelease({ releaseId: '<release_id>', version: 1 }))
1552
+ * .catch(console.error)
1553
+ * ```
1554
+ */
1555
+ archiveRelease({ releaseId, version }: {
1556
+ releaseId: string;
1557
+ version: number;
1558
+ }): Promise<import("./entities/release").Release>;
1559
+ /**
1560
+ * Unarchives a previously archived Release - this enables the release to be published, unpublished etc.
1561
+ * @param options.releaseId the ID of the release
1562
+ * @param options.version the version of the release that is to be unarchived
1563
+ * @returns Promise containing a wrapped Release, that has helper methods within.
1564
+ *
1565
+ * @example ```javascript
1566
+ * const contentful = require('contentful-management')
1567
+ *
1568
+ * const client = contentful.createClient({
1569
+ * accessToken: '<content_management_api_key>'
1570
+ * })
1571
+ *
1572
+ * client.getSpace('<space_id>')
1573
+ * .then((space) => space.getEnvironment('<environment-id>'))
1574
+ * .then((environment) => environment.unarchiveRelease({ releaseId: '<release_id>', version: 1 }))
1575
+ * .catch(console.error)
1576
+ * ```
1577
+ */
1578
+ unarchiveRelease({ releaseId, version }: {
1579
+ releaseId: string;
1580
+ version: number;
1581
+ }): Promise<import("./entities/release").Release>;
1582
+ /**
1583
+ * Retrieves a ReleaseAction by ID
1584
+ * @param params.releaseId The ID of a Release
1585
+ * @param params.actionId The ID of a Release Action
1586
+ * @returns Promise containing a wrapped ReleaseAction
1587
+ * @example ```javascript
1588
+ * const contentful = require('contentful-management')
1589
+ *
1590
+ * const client = contentful.createClient({
1591
+ * accessToken: '<content_management_api_key>'
1592
+ * })
1593
+ *
1594
+ * client.getSpace('<space_id>')
1595
+ * .then((space) => space.getEnvironment('<environment-id>'))
1596
+ * .then((environment) => environment.getReleaseAction({ releaseId: '<release_id>', actionId: '<action_id>' }))
1597
+ * .then((releaseAction) => console.log(releaseAction))
1598
+ * .catch(console.error)
1599
+ * ```
1600
+ */
1601
+ getReleaseAction({ actionId, releaseId }: {
1602
+ actionId: string;
1603
+ releaseId: string;
1604
+ }): Promise<import("./entities/release-action").ReleaseAction<any>>;
1605
+ /**
1606
+ * Gets a Collection of ReleaseActions
1607
+ * @param {string} params.releaseId ID of the Release to fetch the actions from
1608
+ * @param {ReleaseQueryOptions} params.query filtering options for the collection result
1609
+ * @returns Promise containing a wrapped ReleaseAction Collection
1610
+ *
1611
+ * @example ```javascript
1612
+ * const contentful = require('contentful-management')
1613
+ *
1614
+ * const client = contentful.createClient({
1615
+ * accessToken: '<content_management_api_key>'
1616
+ * })
1617
+ *
1618
+ * client.getSpace('<space_id>')
1619
+ * .then((space) => space.getEnvironment('<environment-id>'))
1620
+ * .then((environment) => environment.getReleaseActions({ query: { 'sys.id[in]': '<id_1>,<id_2>', 'sys.release.sys.id[in]': '<id1>,<id2>' } }))
1621
+ * .then((releaseActions) => console.log(releaseActions))
1622
+ * .catch(console.error)
1623
+ * ```
1624
+ */
1625
+ getReleaseActions({ query }: {
1626
+ query?: ReleaseActionQueryOptions;
1627
+ }): Promise<import("./common-types").Collection<import("./entities/release-action").ReleaseAction<any>, import("./entities/release-action").ReleaseActionProps<any>>>;
1628
+ getUIConfig(): Promise<{
1629
+ update: () => Promise<any & import("./entities/ui-config").UIConfigProps & {
1630
+ toPlainObject(): import("./entities/ui-config").UIConfigProps;
1631
+ }>;
1632
+ } & import("./entities/ui-config").UIConfigProps & {
1633
+ toPlainObject(): import("./entities/ui-config").UIConfigProps;
1634
+ }>;
1635
+ getUserUIConfig(): Promise<{
1636
+ update: () => Promise<any & import("./entities/user-ui-config").UserUIConfigProps & {
1637
+ toPlainObject(): import("./entities/user-ui-config").UserUIConfigProps;
1638
+ }>;
1639
+ } & import("./entities/user-ui-config").UserUIConfigProps & {
1640
+ toPlainObject(): import("./entities/user-ui-config").UserUIConfigProps;
1641
+ }>;
1642
+ /**
1643
+ * Gets a collection of all environment template installations in the environment for a given template
1644
+ * @param environmentTemplateId - Environment template ID to return installations for
1645
+ * @param [options.installationId] - Installation ID to filter for a specific installation
1646
+ * @return Promise for a collection of EnvironmentTemplateInstallations
1647
+ * ```javascript
1648
+ * const contentful = require('contentful-management')
1649
+ *
1650
+ * const client = contentful.createClient({
1651
+ * accessToken: '<content_management_api_key>'
1652
+ * })
1653
+ *
1654
+ * client.getSpace('<space_id>')
1655
+ * .then((space) => space.getEnvironment('<environment_id>'))
1656
+ * .then((environment) => environment.getEnvironmentTemplateInstallations('<environment_template_id>'))
1657
+ * .then((installations) => console.log(installations.items))
1658
+ * .catch(console.error)
1659
+ * ```
1660
+ */
1661
+ getEnvironmentTemplateInstallations(environmentTemplateId: string, { installationId, ...query }?: BasicCursorPaginationOptions & {
1662
+ installationId?: string;
1663
+ }): Promise<import("./common-types").CursorPaginatedCollection<import("./entities/environment-template-installation").EnvironmentTemplateInstallation, import("./entities/environment-template-installation").EnvironmentTemplateInstallationProps>>;
1664
+ /**
1665
+ * Gets a collection of all resource types based on native external references app installations in the environment
1666
+ * @param query - BasicCursorPaginationOptions
1667
+ * @return Promise for a collection of ResourceTypes
1668
+ * ```javascript
1669
+ * const contentful = require('contentful-management')
1670
+ *
1671
+ * const client = contentful.createClient({
1672
+ * accessToken: '<content_management_api_key>'
1673
+ * })
1674
+ *
1675
+ * client.getSpace('<space_id>')
1676
+ * .then((space) => space.getEnvironment('<environment_id>'))
1677
+ * .then((environment) => environment.getResourceTypes({limit: 10}))
1678
+ * .then((installations) => console.log(installations.items))
1679
+ * .catch(console.error)
1680
+ * ```
1681
+ */
1682
+ getResourceTypes(query?: BasicCursorPaginationOptions): Promise<import("./common-types").CursorPaginatedCollectionProp<import("./export-types").SpaceEnvResourceTypeProps>>;
1683
+ /**
1684
+ * Gets a collection of all resources for a given resource type based on native external references app installations in the environment
1685
+ * @param resourceTypeId - Id of the resourceType to get its resources
1686
+ * @param query - Either LookupQuery options with 'sys.urn[in]' param or a Search query with 'query' param, in both cases you can add pagination options
1687
+ * @return Promise for a collection of Resources for a given resourceTypeId
1688
+ * ```javascript
1689
+ * const contentful = require('contentful-management')
1690
+ *
1691
+ * const client = contentful.createClient({
1692
+ * accessToken: '<content_management_api_key>'
1693
+ * })
1694
+ *
1695
+ * // Search Query
1696
+ * client.getSpace('<space_id>')
1697
+ * .then((space) => space.getEnvironment('<environment_id>'))
1698
+ * // <search_query> is a string you want to search for in the external resources
1699
+ * .then((environment) => environment.getResourcesForResourceType('<resource_type_id>', {query: '<search_query>', limit: 10}))
1700
+ * .then((installations) => console.log(installations.items))
1701
+ * .catch(console.error)
1702
+ *
1703
+ * // Lookup query
1704
+ *
1705
+ * client.getSpace('<space_id>')
1706
+ * .then((space) => space.getEnvironment('<environment_id>'))
1707
+ * .then((environment) => environment.getResourcesForResourceType('<resource_type_id>', {'sys.urn[in]': '<resource_urn1>,<resource_urn2>', limit: 10}))
1708
+ * .then((installations) => console.log(installations.items))
1709
+ * .catch(console.error)
1710
+ * ```
1711
+ */
1712
+ getResourcesForResourceType(resourceTypeId: string, query?: ResourceQueryOptions): Promise<import("./common-types").CursorPaginatedCollectionProp<import("./entities/resource").ResourceProps>>;
1713
+ /**
1714
+ * Invokes an AI Action.
1715
+ * @param aiActionId - The ID of the AI Action to invoke.
1716
+ * @param payload - The invocation payload.
1717
+ * @returns Promise for an AI Action Invocation.
1718
+ * @example ```javascript
1719
+ * client.getSpace('<space_id>')
1720
+ * .then(space => space.getEnvironment('<environment_id>'))
1721
+ * .then(environment => environment.invokeAiAction('<ai_action_id>', {
1722
+ * variables: [ ... ],
1723
+ * outputFormat: 'RichText'
1724
+ * }))
1725
+ * .then(invocation => console.log(invocation))
1726
+ * .catch(console.error)
1727
+ * ```
1728
+ */
1729
+ invokeAiAction(aiActionId: string, payload: AiActionInvocationType): Promise<import("./entities/ai-action-invocation").AiActionInvocation>;
1730
+ /**
1731
+ * Retrieves an AI Action Invocation.
1732
+ * @param params - Object containing the AI Action ID and the Invocation ID.
1733
+ * @returns Promise for an AI Action Invocation.
1734
+ * @example ```javascript
1735
+ * client.getSpace('<space_id>')
1736
+ * .then(space => space.getEnvironment('<environment_id>'))
1737
+ * .then(environment => environment.getAiActionInvocation({
1738
+ * aiActionId: '<ai_action_id>',
1739
+ * invocationId: '<invocation_id>'
1740
+ * }))
1741
+ * .then(invocation => console.log(invocation))
1742
+ * .catch(console.error)
1743
+ * ```
1744
+ */
1745
+ getAiActionInvocation({ aiActionId, invocationId, }: {
1746
+ aiActionId: string;
1747
+ invocationId: string;
1748
+ }): Promise<import("./entities/ai-action-invocation").AiActionInvocation>;
1749
+ };