contentful-management 12.0.0-beta.11 → 12.0.0-beta.13

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 (672) hide show
  1. package/README.md +5 -3
  2. package/dist/{contentful-management.browser.js → contentful-management.bundle.browser.js} +562 -500
  3. package/dist/contentful-management.bundle.browser.js.map +1 -0
  4. package/dist/contentful-management.bundle.browser.min.js +2 -0
  5. package/dist/contentful-management.bundle.browser.min.js.map +1 -0
  6. package/dist/{contentful-management.node.cjs → contentful-management.bundle.node.cjs} +351 -176
  7. package/dist/contentful-management.bundle.node.cjs.map +1 -0
  8. package/dist/esm/adapters/REST/endpoints/environment-template-installation.js +2 -2
  9. package/dist/esm/adapters/REST/endpoints/environment-template-installation.js.map +1 -1
  10. package/dist/esm/common-types.js.map +1 -1
  11. package/dist/esm/create-contentful-api.js +1 -1
  12. package/dist/esm/create-environment-template-api.js +3 -1
  13. package/dist/esm/create-environment-template-api.js.map +1 -1
  14. package/dist/esm/entities/environment-template-installation.js.map +1 -1
  15. package/dist/esm/index.js +1 -1
  16. package/dist/esm/plain/plain-client.js +1 -1
  17. package/dist/stats-browser-min.html +1 -1
  18. package/dist/types/adapters/REST/endpoints/access-token.js +1 -0
  19. package/dist/types/adapters/REST/endpoints/access-token.js.map +1 -0
  20. package/dist/types/adapters/REST/endpoints/ai-action-invocation.js +1 -0
  21. package/dist/types/adapters/REST/endpoints/ai-action-invocation.js.map +1 -0
  22. package/dist/types/adapters/REST/endpoints/ai-action.js +1 -0
  23. package/dist/types/adapters/REST/endpoints/ai-action.js.map +1 -0
  24. package/dist/types/adapters/REST/endpoints/api-key.js +1 -0
  25. package/dist/types/adapters/REST/endpoints/api-key.js.map +1 -0
  26. package/dist/types/adapters/REST/endpoints/app-access-token.js +1 -0
  27. package/dist/types/adapters/REST/endpoints/app-access-token.js.map +1 -0
  28. package/dist/types/adapters/REST/endpoints/app-action-call.js +1 -0
  29. package/dist/types/adapters/REST/endpoints/app-action-call.js.map +1 -0
  30. package/dist/types/adapters/REST/endpoints/app-action.js +1 -0
  31. package/dist/types/adapters/REST/endpoints/app-action.js.map +1 -0
  32. package/dist/types/adapters/REST/endpoints/app-bundle.js +1 -0
  33. package/dist/types/adapters/REST/endpoints/app-bundle.js.map +1 -0
  34. package/dist/types/adapters/REST/endpoints/app-definition.js +1 -0
  35. package/dist/types/adapters/REST/endpoints/app-definition.js.map +1 -0
  36. package/dist/types/adapters/REST/endpoints/app-details.js +1 -0
  37. package/dist/types/adapters/REST/endpoints/app-details.js.map +1 -0
  38. package/dist/types/adapters/REST/endpoints/app-event-subscription.js +1 -0
  39. package/dist/types/adapters/REST/endpoints/app-event-subscription.js.map +1 -0
  40. package/dist/types/adapters/REST/endpoints/app-installation.js +1 -0
  41. package/dist/types/adapters/REST/endpoints/app-installation.js.map +1 -0
  42. package/dist/types/adapters/REST/endpoints/app-key.js +1 -0
  43. package/dist/types/adapters/REST/endpoints/app-key.js.map +1 -0
  44. package/dist/types/adapters/REST/endpoints/app-signed-request.js +1 -0
  45. package/dist/types/adapters/REST/endpoints/app-signed-request.js.map +1 -0
  46. package/dist/types/adapters/REST/endpoints/app-signing-secret.js +1 -0
  47. package/dist/types/adapters/REST/endpoints/app-signing-secret.js.map +1 -0
  48. package/dist/types/adapters/REST/endpoints/app-upload.js +1 -0
  49. package/dist/types/adapters/REST/endpoints/app-upload.js.map +1 -0
  50. package/dist/types/adapters/REST/endpoints/asset-key.js +1 -0
  51. package/dist/types/adapters/REST/endpoints/asset-key.js.map +1 -0
  52. package/dist/types/adapters/REST/endpoints/asset.js +1 -0
  53. package/dist/types/adapters/REST/endpoints/asset.js.map +1 -0
  54. package/dist/types/adapters/REST/endpoints/bulk-action.js +1 -0
  55. package/dist/types/adapters/REST/endpoints/bulk-action.js.map +1 -0
  56. package/dist/types/adapters/REST/endpoints/comment.js +1 -0
  57. package/dist/types/adapters/REST/endpoints/comment.js.map +1 -0
  58. package/dist/types/adapters/REST/endpoints/concept-scheme.js +1 -0
  59. package/dist/types/adapters/REST/endpoints/concept-scheme.js.map +1 -0
  60. package/dist/types/adapters/REST/endpoints/concept.js +1 -0
  61. package/dist/types/adapters/REST/endpoints/concept.js.map +1 -0
  62. package/dist/types/adapters/REST/endpoints/content-type.js +1 -0
  63. package/dist/types/adapters/REST/endpoints/content-type.js.map +1 -0
  64. package/dist/types/adapters/REST/endpoints/editor-interface.js +1 -0
  65. package/dist/types/adapters/REST/endpoints/editor-interface.js.map +1 -0
  66. package/dist/types/adapters/REST/endpoints/entry.js +1 -0
  67. package/dist/types/adapters/REST/endpoints/entry.js.map +1 -0
  68. package/dist/types/adapters/REST/endpoints/environment-alias.js +1 -0
  69. package/dist/types/adapters/REST/endpoints/environment-alias.js.map +1 -0
  70. package/dist/types/adapters/REST/endpoints/environment-template-installation.js +3 -2
  71. package/dist/types/adapters/REST/endpoints/environment-template-installation.js.map +1 -0
  72. package/dist/types/adapters/REST/endpoints/environment-template.js +1 -0
  73. package/dist/types/adapters/REST/endpoints/environment-template.js.map +1 -0
  74. package/dist/types/adapters/REST/endpoints/environment.js +1 -0
  75. package/dist/types/adapters/REST/endpoints/environment.js.map +1 -0
  76. package/dist/types/adapters/REST/endpoints/extension.js +1 -0
  77. package/dist/types/adapters/REST/endpoints/extension.js.map +1 -0
  78. package/dist/types/adapters/REST/endpoints/function-log.js +1 -0
  79. package/dist/types/adapters/REST/endpoints/function-log.js.map +1 -0
  80. package/dist/types/adapters/REST/endpoints/function.js +1 -0
  81. package/dist/types/adapters/REST/endpoints/function.js.map +1 -0
  82. package/dist/types/adapters/REST/endpoints/http.js +1 -0
  83. package/dist/types/adapters/REST/endpoints/http.js.map +1 -0
  84. package/dist/types/adapters/REST/endpoints/index.js +1 -0
  85. package/dist/types/adapters/REST/endpoints/index.js.map +1 -0
  86. package/dist/types/adapters/REST/endpoints/locale.js +1 -0
  87. package/dist/types/adapters/REST/endpoints/locale.js.map +1 -0
  88. package/dist/types/adapters/REST/endpoints/oauth-application.js +1 -0
  89. package/dist/types/adapters/REST/endpoints/oauth-application.js.map +1 -0
  90. package/dist/types/adapters/REST/endpoints/organization-invitation.js +1 -0
  91. package/dist/types/adapters/REST/endpoints/organization-invitation.js.map +1 -0
  92. package/dist/types/adapters/REST/endpoints/organization-membership.js +1 -0
  93. package/dist/types/adapters/REST/endpoints/organization-membership.js.map +1 -0
  94. package/dist/types/adapters/REST/endpoints/organization.js +1 -0
  95. package/dist/types/adapters/REST/endpoints/organization.js.map +1 -0
  96. package/dist/types/adapters/REST/endpoints/personal-access-token.js +1 -0
  97. package/dist/types/adapters/REST/endpoints/personal-access-token.js.map +1 -0
  98. package/dist/types/adapters/REST/endpoints/preview-api-key.js +1 -0
  99. package/dist/types/adapters/REST/endpoints/preview-api-key.js.map +1 -0
  100. package/dist/types/adapters/REST/endpoints/raw.js +1 -0
  101. package/dist/types/adapters/REST/endpoints/raw.js.map +1 -0
  102. package/dist/types/adapters/REST/endpoints/release-action.js +1 -0
  103. package/dist/types/adapters/REST/endpoints/release-action.js.map +1 -0
  104. package/dist/types/adapters/REST/endpoints/release-asset.js +1 -0
  105. package/dist/types/adapters/REST/endpoints/release-asset.js.map +1 -0
  106. package/dist/types/adapters/REST/endpoints/release-entry.js +1 -0
  107. package/dist/types/adapters/REST/endpoints/release-entry.js.map +1 -0
  108. package/dist/types/adapters/REST/endpoints/release.js +1 -0
  109. package/dist/types/adapters/REST/endpoints/release.js.map +1 -0
  110. package/dist/types/adapters/REST/endpoints/resource-provider.js +1 -0
  111. package/dist/types/adapters/REST/endpoints/resource-provider.js.map +1 -0
  112. package/dist/types/adapters/REST/endpoints/resource-type.js +1 -0
  113. package/dist/types/adapters/REST/endpoints/resource-type.js.map +1 -0
  114. package/dist/types/adapters/REST/endpoints/resource.js +1 -0
  115. package/dist/types/adapters/REST/endpoints/resource.js.map +1 -0
  116. package/dist/types/adapters/REST/endpoints/role.js +1 -0
  117. package/dist/types/adapters/REST/endpoints/role.js.map +1 -0
  118. package/dist/types/adapters/REST/endpoints/scheduled-action.js +1 -0
  119. package/dist/types/adapters/REST/endpoints/scheduled-action.js.map +1 -0
  120. package/dist/types/adapters/REST/endpoints/snapshot.js +1 -0
  121. package/dist/types/adapters/REST/endpoints/snapshot.js.map +1 -0
  122. package/dist/types/adapters/REST/endpoints/space-member.js +1 -0
  123. package/dist/types/adapters/REST/endpoints/space-member.js.map +1 -0
  124. package/dist/types/adapters/REST/endpoints/space-membership.js +1 -0
  125. package/dist/types/adapters/REST/endpoints/space-membership.js.map +1 -0
  126. package/dist/types/adapters/REST/endpoints/space.js +1 -0
  127. package/dist/types/adapters/REST/endpoints/space.js.map +1 -0
  128. package/dist/types/adapters/REST/endpoints/tag.js +1 -0
  129. package/dist/types/adapters/REST/endpoints/tag.js.map +1 -0
  130. package/dist/types/adapters/REST/endpoints/task.js +1 -0
  131. package/dist/types/adapters/REST/endpoints/task.js.map +1 -0
  132. package/dist/types/adapters/REST/endpoints/team-membership.js +1 -0
  133. package/dist/types/adapters/REST/endpoints/team-membership.js.map +1 -0
  134. package/dist/types/adapters/REST/endpoints/team-space-membership.js +1 -0
  135. package/dist/types/adapters/REST/endpoints/team-space-membership.js.map +1 -0
  136. package/dist/types/adapters/REST/endpoints/team.js +1 -0
  137. package/dist/types/adapters/REST/endpoints/team.js.map +1 -0
  138. package/dist/types/adapters/REST/endpoints/ui-config.js +1 -0
  139. package/dist/types/adapters/REST/endpoints/ui-config.js.map +1 -0
  140. package/dist/types/adapters/REST/endpoints/upload-credentials.js +1 -0
  141. package/dist/types/adapters/REST/endpoints/upload-credentials.js.map +1 -0
  142. package/dist/types/adapters/REST/endpoints/upload.js +1 -0
  143. package/dist/types/adapters/REST/endpoints/upload.js.map +1 -0
  144. package/dist/types/adapters/REST/endpoints/usage.js +1 -0
  145. package/dist/types/adapters/REST/endpoints/usage.js.map +1 -0
  146. package/dist/types/adapters/REST/endpoints/user-ui-config.js +1 -0
  147. package/dist/types/adapters/REST/endpoints/user-ui-config.js.map +1 -0
  148. package/dist/types/adapters/REST/endpoints/user.js +1 -0
  149. package/dist/types/adapters/REST/endpoints/user.js.map +1 -0
  150. package/dist/types/adapters/REST/endpoints/utils.js +1 -0
  151. package/dist/types/adapters/REST/endpoints/utils.js.map +1 -0
  152. package/dist/types/adapters/REST/endpoints/webhook.js +1 -0
  153. package/dist/types/adapters/REST/endpoints/webhook.js.map +1 -0
  154. package/dist/types/adapters/REST/endpoints/workflow-definition.js +1 -0
  155. package/dist/types/adapters/REST/endpoints/workflow-definition.js.map +1 -0
  156. package/dist/types/adapters/REST/endpoints/workflow.js +1 -0
  157. package/dist/types/adapters/REST/endpoints/workflow.js.map +1 -0
  158. package/dist/types/adapters/REST/endpoints/workflows-changelog.js +1 -0
  159. package/dist/types/adapters/REST/endpoints/workflows-changelog.js.map +1 -0
  160. package/dist/types/adapters/REST/make-request.js +1 -0
  161. package/dist/types/adapters/REST/make-request.js.map +1 -0
  162. package/dist/types/adapters/REST/rest-adapter.js +1 -0
  163. package/dist/types/adapters/REST/rest-adapter.js.map +1 -0
  164. package/dist/types/common-types.d.ts +2 -0
  165. package/dist/types/common-types.js +1 -0
  166. package/dist/types/common-types.js.map +1 -0
  167. package/dist/types/common-utils.js +1 -0
  168. package/dist/types/common-utils.js.map +1 -0
  169. package/dist/types/constants/editor-interface-defaults/controls-defaults.js +1 -0
  170. package/dist/types/constants/editor-interface-defaults/controls-defaults.js.map +1 -0
  171. package/dist/types/constants/editor-interface-defaults/editors-defaults.js +1 -0
  172. package/dist/types/constants/editor-interface-defaults/editors-defaults.js.map +1 -0
  173. package/dist/types/constants/editor-interface-defaults/index.js +1 -0
  174. package/dist/types/constants/editor-interface-defaults/index.js.map +1 -0
  175. package/dist/types/constants/editor-interface-defaults/sidebar-defaults.js +1 -0
  176. package/dist/types/constants/editor-interface-defaults/sidebar-defaults.js.map +1 -0
  177. package/dist/types/constants/editor-interface-defaults/types.js +1 -0
  178. package/dist/types/constants/editor-interface-defaults/types.js.map +1 -0
  179. package/dist/types/create-adapter.js +1 -0
  180. package/dist/types/create-adapter.js.map +1 -0
  181. package/dist/types/create-app-definition-api.js +1 -0
  182. package/dist/types/create-app-definition-api.js.map +1 -0
  183. package/dist/types/create-contentful-api.js +1 -0
  184. package/dist/types/create-contentful-api.js.map +1 -0
  185. package/dist/types/create-entry-api.js +1 -0
  186. package/dist/types/create-entry-api.js.map +1 -0
  187. package/dist/types/create-environment-api.js +1 -0
  188. package/dist/types/create-environment-api.js.map +1 -0
  189. package/dist/types/create-environment-template-api.d.ts +3 -1
  190. package/dist/types/create-environment-template-api.js +4 -1
  191. package/dist/types/create-environment-template-api.js.map +1 -0
  192. package/dist/types/create-organization-api.js +1 -0
  193. package/dist/types/create-organization-api.js.map +1 -0
  194. package/dist/types/create-space-api.js +1 -0
  195. package/dist/types/create-space-api.js.map +1 -0
  196. package/dist/types/create-ui-config-api.js +1 -0
  197. package/dist/types/create-ui-config-api.js.map +1 -0
  198. package/dist/types/create-user-ui-config-api.js +1 -0
  199. package/dist/types/create-user-ui-config-api.js.map +1 -0
  200. package/dist/types/enhance-with-methods.js +1 -0
  201. package/dist/types/enhance-with-methods.js.map +1 -0
  202. package/dist/types/entities/access-token.js +1 -0
  203. package/dist/types/entities/access-token.js.map +1 -0
  204. package/dist/types/entities/ai-action-invocation.js +1 -0
  205. package/dist/types/entities/ai-action-invocation.js.map +1 -0
  206. package/dist/types/entities/ai-action.js +1 -0
  207. package/dist/types/entities/ai-action.js.map +1 -0
  208. package/dist/types/entities/api-key.js +1 -0
  209. package/dist/types/entities/api-key.js.map +1 -0
  210. package/dist/types/entities/app-access-token.js +1 -0
  211. package/dist/types/entities/app-access-token.js.map +1 -0
  212. package/dist/types/entities/app-action-call.js +1 -0
  213. package/dist/types/entities/app-action-call.js.map +1 -0
  214. package/dist/types/entities/app-action.js +1 -0
  215. package/dist/types/entities/app-action.js.map +1 -0
  216. package/dist/types/entities/app-bundle.js +1 -0
  217. package/dist/types/entities/app-bundle.js.map +1 -0
  218. package/dist/types/entities/app-definition.js +1 -0
  219. package/dist/types/entities/app-definition.js.map +1 -0
  220. package/dist/types/entities/app-details.js +1 -0
  221. package/dist/types/entities/app-details.js.map +1 -0
  222. package/dist/types/entities/app-event-subscription.js +1 -0
  223. package/dist/types/entities/app-event-subscription.js.map +1 -0
  224. package/dist/types/entities/app-installation.js +1 -0
  225. package/dist/types/entities/app-installation.js.map +1 -0
  226. package/dist/types/entities/app-key.js +1 -0
  227. package/dist/types/entities/app-key.js.map +1 -0
  228. package/dist/types/entities/app-signed-request.js +1 -0
  229. package/dist/types/entities/app-signed-request.js.map +1 -0
  230. package/dist/types/entities/app-signing-secret.js +1 -0
  231. package/dist/types/entities/app-signing-secret.js.map +1 -0
  232. package/dist/types/entities/app-upload.js +1 -0
  233. package/dist/types/entities/app-upload.js.map +1 -0
  234. package/dist/types/entities/asset-key.js +1 -0
  235. package/dist/types/entities/asset-key.js.map +1 -0
  236. package/dist/types/entities/asset.js +1 -0
  237. package/dist/types/entities/asset.js.map +1 -0
  238. package/dist/types/entities/bulk-action.js +1 -0
  239. package/dist/types/entities/bulk-action.js.map +1 -0
  240. package/dist/types/entities/comment.js +1 -0
  241. package/dist/types/entities/comment.js.map +1 -0
  242. package/dist/types/entities/content-type.js +1 -0
  243. package/dist/types/entities/content-type.js.map +1 -0
  244. package/dist/types/entities/editor-interface.js +1 -0
  245. package/dist/types/entities/editor-interface.js.map +1 -0
  246. package/dist/types/entities/entry.js +1 -0
  247. package/dist/types/entities/entry.js.map +1 -0
  248. package/dist/types/entities/environment-alias.js +1 -0
  249. package/dist/types/entities/environment-alias.js.map +1 -0
  250. package/dist/types/entities/environment-template-installation.d.ts +1 -0
  251. package/dist/types/entities/environment-template-installation.js +1 -0
  252. package/dist/types/entities/environment-template-installation.js.map +1 -0
  253. package/dist/types/entities/environment-template.js +1 -0
  254. package/dist/types/entities/environment-template.js.map +1 -0
  255. package/dist/types/entities/environment.js +1 -0
  256. package/dist/types/entities/environment.js.map +1 -0
  257. package/dist/types/entities/extension.js +1 -0
  258. package/dist/types/entities/extension.js.map +1 -0
  259. package/dist/types/entities/function-log.js +1 -0
  260. package/dist/types/entities/function-log.js.map +1 -0
  261. package/dist/types/entities/function.js +1 -0
  262. package/dist/types/entities/function.js.map +1 -0
  263. package/dist/types/entities/locale.js +1 -0
  264. package/dist/types/entities/locale.js.map +1 -0
  265. package/dist/types/entities/oauth-application.js +1 -0
  266. package/dist/types/entities/oauth-application.js.map +1 -0
  267. package/dist/types/entities/organization-invitation.js +1 -0
  268. package/dist/types/entities/organization-invitation.js.map +1 -0
  269. package/dist/types/entities/organization-membership.js +1 -0
  270. package/dist/types/entities/organization-membership.js.map +1 -0
  271. package/dist/types/entities/organization.js +1 -0
  272. package/dist/types/entities/organization.js.map +1 -0
  273. package/dist/types/entities/personal-access-token.js +1 -0
  274. package/dist/types/entities/personal-access-token.js.map +1 -0
  275. package/dist/types/entities/preview-api-key.js +1 -0
  276. package/dist/types/entities/preview-api-key.js.map +1 -0
  277. package/dist/types/entities/release-action.js +1 -0
  278. package/dist/types/entities/release-action.js.map +1 -0
  279. package/dist/types/entities/release.js +1 -0
  280. package/dist/types/entities/release.js.map +1 -0
  281. package/dist/types/entities/resource-provider.js +1 -0
  282. package/dist/types/entities/resource-provider.js.map +1 -0
  283. package/dist/types/entities/resource-type.js +1 -0
  284. package/dist/types/entities/resource-type.js.map +1 -0
  285. package/dist/types/entities/resource.js +1 -0
  286. package/dist/types/entities/resource.js.map +1 -0
  287. package/dist/types/entities/role.js +1 -0
  288. package/dist/types/entities/role.js.map +1 -0
  289. package/dist/types/entities/scheduled-action.js +1 -0
  290. package/dist/types/entities/scheduled-action.js.map +1 -0
  291. package/dist/types/entities/snapshot.js +1 -0
  292. package/dist/types/entities/snapshot.js.map +1 -0
  293. package/dist/types/entities/space-member.js +1 -0
  294. package/dist/types/entities/space-member.js.map +1 -0
  295. package/dist/types/entities/space-membership.js +1 -0
  296. package/dist/types/entities/space-membership.js.map +1 -0
  297. package/dist/types/entities/space.js +1 -0
  298. package/dist/types/entities/space.js.map +1 -0
  299. package/dist/types/entities/tag.js +1 -0
  300. package/dist/types/entities/tag.js.map +1 -0
  301. package/dist/types/entities/task.js +1 -0
  302. package/dist/types/entities/task.js.map +1 -0
  303. package/dist/types/entities/team-membership.js +1 -0
  304. package/dist/types/entities/team-membership.js.map +1 -0
  305. package/dist/types/entities/team-space-membership.js +1 -0
  306. package/dist/types/entities/team-space-membership.js.map +1 -0
  307. package/dist/types/entities/team.js +1 -0
  308. package/dist/types/entities/team.js.map +1 -0
  309. package/dist/types/entities/ui-config.js +1 -0
  310. package/dist/types/entities/ui-config.js.map +1 -0
  311. package/dist/types/entities/upload.js +1 -0
  312. package/dist/types/entities/upload.js.map +1 -0
  313. package/dist/types/entities/usage.js +1 -0
  314. package/dist/types/entities/usage.js.map +1 -0
  315. package/dist/types/entities/user-ui-config.js +1 -0
  316. package/dist/types/entities/user-ui-config.js.map +1 -0
  317. package/dist/types/entities/user.js +1 -0
  318. package/dist/types/entities/user.js.map +1 -0
  319. package/dist/types/entities/webhook.js +1 -0
  320. package/dist/types/entities/webhook.js.map +1 -0
  321. package/dist/types/entities/workflow-definition.js +1 -0
  322. package/dist/types/entities/workflow-definition.js.map +1 -0
  323. package/dist/types/index.js +1 -0
  324. package/dist/types/index.js.map +1 -0
  325. package/dist/types/methods/action.js +1 -0
  326. package/dist/types/methods/action.js.map +1 -0
  327. package/dist/types/methods/content-type.js +1 -0
  328. package/dist/types/methods/content-type.js.map +1 -0
  329. package/dist/types/methods/utils.js +1 -0
  330. package/dist/types/methods/utils.js.map +1 -0
  331. package/dist/types/plain/as-iterator.js +1 -0
  332. package/dist/types/plain/as-iterator.js.map +1 -0
  333. package/dist/types/plain/checks.js +1 -0
  334. package/dist/types/plain/checks.js.map +1 -0
  335. package/dist/types/plain/common-types.d.ts +2 -0
  336. package/dist/types/plain/pagination-helper.js +1 -0
  337. package/dist/types/plain/pagination-helper.js.map +1 -0
  338. package/dist/types/plain/plain-client.js +1 -0
  339. package/dist/types/plain/plain-client.js.map +1 -0
  340. package/dist/types/plain/wrappers/wrap.js +1 -0
  341. package/dist/types/plain/wrappers/wrap.js.map +1 -0
  342. package/dist/types/upload-http-client.js +1 -0
  343. package/dist/types/upload-http-client.js.map +1 -0
  344. package/package.json +30 -37
  345. package/dist/cjs/adapters/REST/endpoints/access-token.cjs +0 -137
  346. package/dist/cjs/adapters/REST/endpoints/access-token.cjs.map +0 -1
  347. package/dist/cjs/adapters/REST/endpoints/ai-action-invocation.cjs +0 -10
  348. package/dist/cjs/adapters/REST/endpoints/ai-action-invocation.cjs.map +0 -1
  349. package/dist/cjs/adapters/REST/endpoints/ai-action.cjs +0 -58
  350. package/dist/cjs/adapters/REST/endpoints/ai-action.cjs.map +0 -1
  351. package/dist/cjs/adapters/REST/endpoints/api-key.cjs +0 -51
  352. package/dist/cjs/adapters/REST/endpoints/api-key.cjs.map +0 -1
  353. package/dist/cjs/adapters/REST/endpoints/app-access-token.cjs +0 -10
  354. package/dist/cjs/adapters/REST/endpoints/app-access-token.cjs.map +0 -1
  355. package/dist/cjs/adapters/REST/endpoints/app-action-call.cjs +0 -119
  356. package/dist/cjs/adapters/REST/endpoints/app-action-call.cjs.map +0 -1
  357. package/dist/cjs/adapters/REST/endpoints/app-action.cjs +0 -43
  358. package/dist/cjs/adapters/REST/endpoints/app-action.cjs.map +0 -1
  359. package/dist/cjs/adapters/REST/endpoints/app-bundle.cjs +0 -40
  360. package/dist/cjs/adapters/REST/endpoints/app-bundle.cjs.map +0 -1
  361. package/dist/cjs/adapters/REST/endpoints/app-definition.cjs +0 -53
  362. package/dist/cjs/adapters/REST/endpoints/app-definition.cjs.map +0 -1
  363. package/dist/cjs/adapters/REST/endpoints/app-details.cjs +0 -18
  364. package/dist/cjs/adapters/REST/endpoints/app-details.cjs.map +0 -1
  365. package/dist/cjs/adapters/REST/endpoints/app-event-subscription.cjs +0 -18
  366. package/dist/cjs/adapters/REST/endpoints/app-event-subscription.cjs.map +0 -1
  367. package/dist/cjs/adapters/REST/endpoints/app-installation.cjs +0 -49
  368. package/dist/cjs/adapters/REST/endpoints/app-installation.cjs.map +0 -1
  369. package/dist/cjs/adapters/REST/endpoints/app-key.cjs +0 -22
  370. package/dist/cjs/adapters/REST/endpoints/app-key.cjs.map +0 -1
  371. package/dist/cjs/adapters/REST/endpoints/app-signed-request.cjs +0 -10
  372. package/dist/cjs/adapters/REST/endpoints/app-signed-request.cjs.map +0 -1
  373. package/dist/cjs/adapters/REST/endpoints/app-signing-secret.cjs +0 -18
  374. package/dist/cjs/adapters/REST/endpoints/app-signing-secret.cjs.map +0 -1
  375. package/dist/cjs/adapters/REST/endpoints/app-upload.cjs +0 -29
  376. package/dist/cjs/adapters/REST/endpoints/app-upload.cjs.map +0 -1
  377. package/dist/cjs/adapters/REST/endpoints/asset-key.cjs +0 -35
  378. package/dist/cjs/adapters/REST/endpoints/asset-key.cjs.map +0 -1
  379. package/dist/cjs/adapters/REST/endpoints/asset.cjs +0 -223
  380. package/dist/cjs/adapters/REST/endpoints/asset.cjs.map +0 -1
  381. package/dist/cjs/adapters/REST/endpoints/bulk-action.cjs +0 -22
  382. package/dist/cjs/adapters/REST/endpoints/bulk-action.cjs.map +0 -1
  383. package/dist/cjs/adapters/REST/endpoints/comment.cjs +0 -98
  384. package/dist/cjs/adapters/REST/endpoints/comment.cjs.map +0 -1
  385. package/dist/cjs/adapters/REST/endpoints/concept-scheme.cjs +0 -55
  386. package/dist/cjs/adapters/REST/endpoints/concept-scheme.cjs.map +0 -1
  387. package/dist/cjs/adapters/REST/endpoints/concept.cjs +0 -73
  388. package/dist/cjs/adapters/REST/endpoints/concept.cjs.map +0 -1
  389. package/dist/cjs/adapters/REST/endpoints/content-type.cjs +0 -62
  390. package/dist/cjs/adapters/REST/endpoints/content-type.cjs.map +0 -1
  391. package/dist/cjs/adapters/REST/endpoints/editor-interface.cjs +0 -27
  392. package/dist/cjs/adapters/REST/endpoints/editor-interface.cjs.map +0 -1
  393. package/dist/cjs/adapters/REST/endpoints/entry.cjs +0 -128
  394. package/dist/cjs/adapters/REST/endpoints/entry.cjs.map +0 -1
  395. package/dist/cjs/adapters/REST/endpoints/environment-alias.cjs +0 -47
  396. package/dist/cjs/adapters/REST/endpoints/environment-alias.cjs.map +0 -1
  397. package/dist/cjs/adapters/REST/endpoints/environment-template-installation.cjs +0 -24
  398. package/dist/cjs/adapters/REST/endpoints/environment-template-installation.cjs.map +0 -1
  399. package/dist/cjs/adapters/REST/endpoints/environment-template.cjs +0 -52
  400. package/dist/cjs/adapters/REST/endpoints/environment-template.cjs.map +0 -1
  401. package/dist/cjs/adapters/REST/endpoints/environment.cjs +0 -53
  402. package/dist/cjs/adapters/REST/endpoints/environment.cjs.map +0 -1
  403. package/dist/cjs/adapters/REST/endpoints/extension.cjs +0 -47
  404. package/dist/cjs/adapters/REST/endpoints/extension.cjs.map +0 -1
  405. package/dist/cjs/adapters/REST/endpoints/function-log.cjs +0 -28
  406. package/dist/cjs/adapters/REST/endpoints/function-log.cjs.map +0 -1
  407. package/dist/cjs/adapters/REST/endpoints/function.cjs +0 -26
  408. package/dist/cjs/adapters/REST/endpoints/function.cjs.map +0 -1
  409. package/dist/cjs/adapters/REST/endpoints/http.cjs +0 -30
  410. package/dist/cjs/adapters/REST/endpoints/http.cjs.map +0 -1
  411. package/dist/cjs/adapters/REST/endpoints/index.cjs +0 -144
  412. package/dist/cjs/adapters/REST/endpoints/index.cjs.map +0 -1
  413. package/dist/cjs/adapters/REST/endpoints/locale.cjs +0 -40
  414. package/dist/cjs/adapters/REST/endpoints/locale.cjs.map +0 -1
  415. package/dist/cjs/adapters/REST/endpoints/oauth-application.cjs +0 -148
  416. package/dist/cjs/adapters/REST/endpoints/oauth-application.cjs.map +0 -1
  417. package/dist/cjs/adapters/REST/endpoints/organization-invitation.cjs +0 -30
  418. package/dist/cjs/adapters/REST/endpoints/organization-invitation.cjs.map +0 -1
  419. package/dist/cjs/adapters/REST/endpoints/organization-membership.cjs +0 -35
  420. package/dist/cjs/adapters/REST/endpoints/organization-membership.cjs.map +0 -1
  421. package/dist/cjs/adapters/REST/endpoints/organization.cjs +0 -29
  422. package/dist/cjs/adapters/REST/endpoints/organization.cjs.map +0 -1
  423. package/dist/cjs/adapters/REST/endpoints/personal-access-token.cjs +0 -38
  424. package/dist/cjs/adapters/REST/endpoints/personal-access-token.cjs.map +0 -1
  425. package/dist/cjs/adapters/REST/endpoints/preview-api-key.cjs +0 -16
  426. package/dist/cjs/adapters/REST/endpoints/preview-api-key.cjs.map +0 -1
  427. package/dist/cjs/adapters/REST/endpoints/raw.cjs +0 -62
  428. package/dist/cjs/adapters/REST/endpoints/raw.cjs.map +0 -1
  429. package/dist/cjs/adapters/REST/endpoints/release-action.cjs +0 -25
  430. package/dist/cjs/adapters/REST/endpoints/release-action.cjs.map +0 -1
  431. package/dist/cjs/adapters/REST/endpoints/release-asset.cjs +0 -152
  432. package/dist/cjs/adapters/REST/endpoints/release-asset.cjs.map +0 -1
  433. package/dist/cjs/adapters/REST/endpoints/release-entry.cjs +0 -63
  434. package/dist/cjs/adapters/REST/endpoints/release-entry.cjs.map +0 -1
  435. package/dist/cjs/adapters/REST/endpoints/release.cjs +0 -84
  436. package/dist/cjs/adapters/REST/endpoints/release.cjs.map +0 -1
  437. package/dist/cjs/adapters/REST/endpoints/resource-provider.cjs +0 -19
  438. package/dist/cjs/adapters/REST/endpoints/resource-provider.cjs.map +0 -1
  439. package/dist/cjs/adapters/REST/endpoints/resource-type.cjs +0 -31
  440. package/dist/cjs/adapters/REST/endpoints/resource-type.cjs.map +0 -1
  441. package/dist/cjs/adapters/REST/endpoints/resource.cjs +0 -11
  442. package/dist/cjs/adapters/REST/endpoints/resource.cjs.map +0 -1
  443. package/dist/cjs/adapters/REST/endpoints/role.cjs +0 -51
  444. package/dist/cjs/adapters/REST/endpoints/role.cjs.map +0 -1
  445. package/dist/cjs/adapters/REST/endpoints/scheduled-action.cjs +0 -44
  446. package/dist/cjs/adapters/REST/endpoints/scheduled-action.cjs.map +0 -1
  447. package/dist/cjs/adapters/REST/endpoints/snapshot.cjs +0 -31
  448. package/dist/cjs/adapters/REST/endpoints/snapshot.cjs.map +0 -1
  449. package/dist/cjs/adapters/REST/endpoints/space-member.cjs +0 -12
  450. package/dist/cjs/adapters/REST/endpoints/space-member.cjs.map +0 -1
  451. package/dist/cjs/adapters/REST/endpoints/space-membership.cjs +0 -63
  452. package/dist/cjs/adapters/REST/endpoints/space-membership.cjs.map +0 -1
  453. package/dist/cjs/adapters/REST/endpoints/space.cjs +0 -38
  454. package/dist/cjs/adapters/REST/endpoints/space.cjs.map +0 -1
  455. package/dist/cjs/adapters/REST/endpoints/tag.cjs +0 -37
  456. package/dist/cjs/adapters/REST/endpoints/tag.cjs.map +0 -1
  457. package/dist/cjs/adapters/REST/endpoints/task.cjs +0 -41
  458. package/dist/cjs/adapters/REST/endpoints/task.cjs.map +0 -1
  459. package/dist/cjs/adapters/REST/endpoints/team-membership.cjs +0 -39
  460. package/dist/cjs/adapters/REST/endpoints/team-membership.cjs.map +0 -1
  461. package/dist/cjs/adapters/REST/endpoints/team-space-membership.cjs +0 -54
  462. package/dist/cjs/adapters/REST/endpoints/team-space-membership.cjs.map +0 -1
  463. package/dist/cjs/adapters/REST/endpoints/team.cjs +0 -39
  464. package/dist/cjs/adapters/REST/endpoints/team.cjs.map +0 -1
  465. package/dist/cjs/adapters/REST/endpoints/ui-config.cjs +0 -22
  466. package/dist/cjs/adapters/REST/endpoints/ui-config.cjs.map +0 -1
  467. package/dist/cjs/adapters/REST/endpoints/upload-credentials.cjs +0 -16
  468. package/dist/cjs/adapters/REST/endpoints/upload-credentials.cjs.map +0 -1
  469. package/dist/cjs/adapters/REST/endpoints/upload.cjs +0 -43
  470. package/dist/cjs/adapters/REST/endpoints/upload.cjs.map +0 -1
  471. package/dist/cjs/adapters/REST/endpoints/usage.cjs +0 -18
  472. package/dist/cjs/adapters/REST/endpoints/usage.cjs.map +0 -1
  473. package/dist/cjs/adapters/REST/endpoints/user-ui-config.cjs +0 -22
  474. package/dist/cjs/adapters/REST/endpoints/user-ui-config.cjs.map +0 -1
  475. package/dist/cjs/adapters/REST/endpoints/user.cjs +0 -28
  476. package/dist/cjs/adapters/REST/endpoints/user.cjs.map +0 -1
  477. package/dist/cjs/adapters/REST/endpoints/utils.cjs +0 -25
  478. package/dist/cjs/adapters/REST/endpoints/utils.cjs.map +0 -1
  479. package/dist/cjs/adapters/REST/endpoints/webhook.cjs +0 -101
  480. package/dist/cjs/adapters/REST/endpoints/webhook.cjs.map +0 -1
  481. package/dist/cjs/adapters/REST/endpoints/workflow-definition.cjs +0 -42
  482. package/dist/cjs/adapters/REST/endpoints/workflow-definition.cjs.map +0 -1
  483. package/dist/cjs/adapters/REST/endpoints/workflow.cjs +0 -49
  484. package/dist/cjs/adapters/REST/endpoints/workflow.cjs.map +0 -1
  485. package/dist/cjs/adapters/REST/endpoints/workflows-changelog.cjs +0 -12
  486. package/dist/cjs/adapters/REST/endpoints/workflows-changelog.cjs.map +0 -1
  487. package/dist/cjs/adapters/REST/make-request.cjs +0 -23
  488. package/dist/cjs/adapters/REST/make-request.cjs.map +0 -1
  489. package/dist/cjs/adapters/REST/rest-adapter.cjs +0 -44
  490. package/dist/cjs/adapters/REST/rest-adapter.cjs.map +0 -1
  491. package/dist/cjs/common-types.cjs +0 -7
  492. package/dist/cjs/common-types.cjs.map +0 -1
  493. package/dist/cjs/common-utils.cjs +0 -39
  494. package/dist/cjs/common-utils.cjs.map +0 -1
  495. package/dist/cjs/constants/editor-interface-defaults/controls-defaults.cjs +0 -168
  496. package/dist/cjs/constants/editor-interface-defaults/controls-defaults.cjs.map +0 -1
  497. package/dist/cjs/constants/editor-interface-defaults/editors-defaults.cjs +0 -35
  498. package/dist/cjs/constants/editor-interface-defaults/editors-defaults.cjs.map +0 -1
  499. package/dist/cjs/constants/editor-interface-defaults/index.cjs +0 -15
  500. package/dist/cjs/constants/editor-interface-defaults/index.cjs.map +0 -1
  501. package/dist/cjs/constants/editor-interface-defaults/sidebar-defaults.cjs +0 -68
  502. package/dist/cjs/constants/editor-interface-defaults/sidebar-defaults.cjs.map +0 -1
  503. package/dist/cjs/constants/editor-interface-defaults/types.cjs +0 -19
  504. package/dist/cjs/constants/editor-interface-defaults/types.cjs.map +0 -1
  505. package/dist/cjs/create-adapter.cjs +0 -22
  506. package/dist/cjs/create-adapter.cjs.map +0 -1
  507. package/dist/cjs/create-app-definition-api.cjs +0 -254
  508. package/dist/cjs/create-app-definition-api.cjs.map +0 -1
  509. package/dist/cjs/create-contentful-api.cjs +0 -590
  510. package/dist/cjs/create-contentful-api.cjs.map +0 -1
  511. package/dist/cjs/create-entry-api.cjs +0 -490
  512. package/dist/cjs/create-entry-api.cjs.map +0 -1
  513. package/dist/cjs/create-environment-api.cjs +0 -2442
  514. package/dist/cjs/create-environment-api.cjs.map +0 -1
  515. package/dist/cjs/create-environment-template-api.cjs +0 -271
  516. package/dist/cjs/create-environment-template-api.cjs.map +0 -1
  517. package/dist/cjs/create-organization-api.cjs +0 -1139
  518. package/dist/cjs/create-organization-api.cjs.map +0 -1
  519. package/dist/cjs/create-space-api.cjs +0 -1590
  520. package/dist/cjs/create-space-api.cjs.map +0 -1
  521. package/dist/cjs/create-ui-config-api.cjs +0 -55
  522. package/dist/cjs/create-ui-config-api.cjs.map +0 -1
  523. package/dist/cjs/create-user-ui-config-api.cjs +0 -55
  524. package/dist/cjs/create-user-ui-config-api.cjs.map +0 -1
  525. package/dist/cjs/enhance-with-methods.cjs +0 -27
  526. package/dist/cjs/enhance-with-methods.cjs.map +0 -1
  527. package/dist/cjs/entities/access-token.cjs +0 -37
  528. package/dist/cjs/entities/access-token.cjs.map +0 -1
  529. package/dist/cjs/entities/ai-action-invocation.cjs +0 -19
  530. package/dist/cjs/entities/ai-action-invocation.cjs.map +0 -1
  531. package/dist/cjs/entities/ai-action.cjs +0 -76
  532. package/dist/cjs/entities/ai-action.cjs.map +0 -1
  533. package/dist/cjs/entities/api-key.cjs +0 -57
  534. package/dist/cjs/entities/api-key.cjs.map +0 -1
  535. package/dist/cjs/entities/app-access-token.cjs +0 -18
  536. package/dist/cjs/entities/app-access-token.cjs.map +0 -1
  537. package/dist/cjs/entities/app-action-call.cjs +0 -69
  538. package/dist/cjs/entities/app-action-call.cjs.map +0 -1
  539. package/dist/cjs/entities/app-action.cjs +0 -49
  540. package/dist/cjs/entities/app-action.cjs.map +0 -1
  541. package/dist/cjs/entities/app-bundle.cjs +0 -49
  542. package/dist/cjs/entities/app-bundle.cjs.map +0 -1
  543. package/dist/cjs/entities/app-definition.cjs +0 -30
  544. package/dist/cjs/entities/app-definition.cjs.map +0 -1
  545. package/dist/cjs/entities/app-details.cjs +0 -40
  546. package/dist/cjs/entities/app-details.cjs.map +0 -1
  547. package/dist/cjs/entities/app-event-subscription.cjs +0 -35
  548. package/dist/cjs/entities/app-event-subscription.cjs.map +0 -1
  549. package/dist/cjs/entities/app-installation.cjs +0 -56
  550. package/dist/cjs/entities/app-installation.cjs.map +0 -1
  551. package/dist/cjs/entities/app-key.cjs +0 -45
  552. package/dist/cjs/entities/app-key.cjs.map +0 -1
  553. package/dist/cjs/entities/app-signed-request.cjs +0 -18
  554. package/dist/cjs/entities/app-signed-request.cjs.map +0 -1
  555. package/dist/cjs/entities/app-signing-secret.cjs +0 -35
  556. package/dist/cjs/entities/app-signing-secret.cjs.map +0 -1
  557. package/dist/cjs/entities/app-upload.cjs +0 -39
  558. package/dist/cjs/entities/app-upload.cjs.map +0 -1
  559. package/dist/cjs/entities/asset-key.cjs +0 -18
  560. package/dist/cjs/entities/asset-key.cjs.map +0 -1
  561. package/dist/cjs/entities/asset.cjs +0 -133
  562. package/dist/cjs/entities/asset.cjs.map +0 -1
  563. package/dist/cjs/entities/bulk-action.cjs +0 -61
  564. package/dist/cjs/entities/bulk-action.cjs.map +0 -1
  565. package/dist/cjs/entities/comment.cjs +0 -64
  566. package/dist/cjs/entities/comment.cjs.map +0 -1
  567. package/dist/cjs/entities/content-type.cjs +0 -121
  568. package/dist/cjs/entities/content-type.cjs.map +0 -1
  569. package/dist/cjs/entities/editor-interface.cjs +0 -51
  570. package/dist/cjs/entities/editor-interface.cjs.map +0 -1
  571. package/dist/cjs/entities/entry.cjs +0 -28
  572. package/dist/cjs/entities/entry.cjs.map +0 -1
  573. package/dist/cjs/entities/environment-alias.cjs +0 -59
  574. package/dist/cjs/entities/environment-alias.cjs.map +0 -1
  575. package/dist/cjs/entities/environment-template-installation.cjs +0 -24
  576. package/dist/cjs/entities/environment-template-installation.cjs.map +0 -1
  577. package/dist/cjs/entities/environment-template.cjs +0 -19
  578. package/dist/cjs/entities/environment-template.cjs.map +0 -1
  579. package/dist/cjs/entities/environment.cjs +0 -35
  580. package/dist/cjs/entities/environment.cjs.map +0 -1
  581. package/dist/cjs/entities/extension.cjs +0 -55
  582. package/dist/cjs/entities/extension.cjs.map +0 -1
  583. package/dist/cjs/entities/function-log.cjs +0 -27
  584. package/dist/cjs/entities/function-log.cjs.map +0 -1
  585. package/dist/cjs/entities/function.cjs +0 -67
  586. package/dist/cjs/entities/function.cjs.map +0 -1
  587. package/dist/cjs/entities/locale.cjs +0 -58
  588. package/dist/cjs/entities/locale.cjs.map +0 -1
  589. package/dist/cjs/entities/oauth-application.cjs +0 -67
  590. package/dist/cjs/entities/oauth-application.cjs.map +0 -1
  591. package/dist/cjs/entities/organization-invitation.cjs +0 -18
  592. package/dist/cjs/entities/organization-invitation.cjs.map +0 -1
  593. package/dist/cjs/entities/organization-membership.cjs +0 -54
  594. package/dist/cjs/entities/organization-membership.cjs.map +0 -1
  595. package/dist/cjs/entities/organization.cjs +0 -33
  596. package/dist/cjs/entities/organization.cjs.map +0 -1
  597. package/dist/cjs/entities/personal-access-token.cjs +0 -37
  598. package/dist/cjs/entities/personal-access-token.cjs.map +0 -1
  599. package/dist/cjs/entities/preview-api-key.cjs +0 -32
  600. package/dist/cjs/entities/preview-api-key.cjs.map +0 -1
  601. package/dist/cjs/entities/release-action.cjs +0 -56
  602. package/dist/cjs/entities/release-action.cjs.map +0 -1
  603. package/dist/cjs/entities/release.cjs +0 -110
  604. package/dist/cjs/entities/release.cjs.map +0 -1
  605. package/dist/cjs/entities/resource-provider.cjs +0 -139
  606. package/dist/cjs/entities/resource-provider.cjs.map +0 -1
  607. package/dist/cjs/entities/resource-type.cjs +0 -99
  608. package/dist/cjs/entities/resource-type.cjs.map +0 -1
  609. package/dist/cjs/entities/resource.cjs +0 -14
  610. package/dist/cjs/entities/resource.cjs.map +0 -1
  611. package/dist/cjs/entities/role.cjs +0 -54
  612. package/dist/cjs/entities/role.cjs.map +0 -1
  613. package/dist/cjs/entities/scheduled-action.cjs +0 -151
  614. package/dist/cjs/entities/scheduled-action.cjs.map +0 -1
  615. package/dist/cjs/entities/snapshot.cjs +0 -37
  616. package/dist/cjs/entities/snapshot.cjs.map +0 -1
  617. package/dist/cjs/entities/space-member.cjs +0 -24
  618. package/dist/cjs/entities/space-member.cjs.map +0 -1
  619. package/dist/cjs/entities/space-membership.cjs +0 -54
  620. package/dist/cjs/entities/space-membership.cjs.map +0 -1
  621. package/dist/cjs/entities/space.cjs +0 -34
  622. package/dist/cjs/entities/space.cjs.map +0 -1
  623. package/dist/cjs/entities/tag.cjs +0 -57
  624. package/dist/cjs/entities/tag.cjs.map +0 -1
  625. package/dist/cjs/entities/task.cjs +0 -58
  626. package/dist/cjs/entities/task.cjs.map +0 -1
  627. package/dist/cjs/entities/team-membership.cjs +0 -55
  628. package/dist/cjs/entities/team-membership.cjs.map +0 -1
  629. package/dist/cjs/entities/team-space-membership.cjs +0 -54
  630. package/dist/cjs/entities/team-space-membership.cjs.map +0 -1
  631. package/dist/cjs/entities/team.cjs +0 -54
  632. package/dist/cjs/entities/team.cjs.map +0 -1
  633. package/dist/cjs/entities/ui-config.cjs +0 -21
  634. package/dist/cjs/entities/ui-config.cjs.map +0 -1
  635. package/dist/cjs/entities/upload.cjs +0 -39
  636. package/dist/cjs/entities/upload.cjs.map +0 -1
  637. package/dist/cjs/entities/usage.cjs +0 -26
  638. package/dist/cjs/entities/usage.cjs.map +0 -1
  639. package/dist/cjs/entities/user-ui-config.cjs +0 -21
  640. package/dist/cjs/entities/user-ui-config.cjs.map +0 -1
  641. package/dist/cjs/entities/user.cjs +0 -29
  642. package/dist/cjs/entities/user.cjs.map +0 -1
  643. package/dist/cjs/entities/webhook.cjs +0 -78
  644. package/dist/cjs/entities/webhook.cjs.map +0 -1
  645. package/dist/cjs/entities/workflow-definition.cjs +0 -29
  646. package/dist/cjs/entities/workflow-definition.cjs.map +0 -1
  647. package/dist/cjs/index.cjs +0 -66
  648. package/dist/cjs/index.cjs.map +0 -1
  649. package/dist/cjs/methods/action.cjs +0 -53
  650. package/dist/cjs/methods/action.cjs.map +0 -1
  651. package/dist/cjs/methods/content-type.cjs +0 -49
  652. package/dist/cjs/methods/content-type.cjs.map +0 -1
  653. package/dist/cjs/methods/utils.cjs +0 -12
  654. package/dist/cjs/methods/utils.cjs.map +0 -1
  655. package/dist/cjs/plain/as-iterator.cjs +0 -39
  656. package/dist/cjs/plain/as-iterator.cjs.map +0 -1
  657. package/dist/cjs/plain/checks.cjs +0 -16
  658. package/dist/cjs/plain/checks.cjs.map +0 -1
  659. package/dist/cjs/plain/pagination-helper.cjs +0 -70
  660. package/dist/cjs/plain/pagination-helper.cjs.map +0 -1
  661. package/dist/cjs/plain/plain-client.cjs +0 -561
  662. package/dist/cjs/plain/plain-client.cjs.map +0 -1
  663. package/dist/cjs/plain/wrappers/wrap.cjs +0 -27
  664. package/dist/cjs/plain/wrappers/wrap.cjs.map +0 -1
  665. package/dist/cjs/upload-http-client.cjs +0 -17
  666. package/dist/cjs/upload-http-client.cjs.map +0 -1
  667. package/dist/contentful-management.browser.js.map +0 -1
  668. package/dist/contentful-management.browser.min.js +0 -2
  669. package/dist/contentful-management.browser.min.js.map +0 -1
  670. package/dist/contentful-management.node.cjs.map +0 -1
  671. package/dist/contentful-management.react-native.js +0 -22285
  672. package/dist/contentful-management.react-native.js.map +0 -1
@@ -477,6 +477,257 @@ var contentfulManagement = (function (exports) {
477
477
 
478
478
  var regeneratorRuntime$1 = {exports: {}};
479
479
 
480
+ var OverloadYield = {exports: {}};
481
+
482
+ var hasRequiredOverloadYield;
483
+ function requireOverloadYield() {
484
+ if (hasRequiredOverloadYield) return OverloadYield.exports;
485
+ hasRequiredOverloadYield = 1;
486
+ (function (module) {
487
+ function _OverloadYield(e, d) {
488
+ this.v = e, this.k = d;
489
+ }
490
+ module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports;
491
+ })(OverloadYield);
492
+ return OverloadYield.exports;
493
+ }
494
+
495
+ var regenerator$1 = {exports: {}};
496
+
497
+ var regeneratorDefine = {exports: {}};
498
+
499
+ var hasRequiredRegeneratorDefine;
500
+ function requireRegeneratorDefine() {
501
+ if (hasRequiredRegeneratorDefine) return regeneratorDefine.exports;
502
+ hasRequiredRegeneratorDefine = 1;
503
+ (function (module) {
504
+ function _regeneratorDefine(e, r, n, t) {
505
+ var i = Object.defineProperty;
506
+ try {
507
+ i({}, "", {});
508
+ } catch (e) {
509
+ i = 0;
510
+ }
511
+ module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) {
512
+ function o(r, n) {
513
+ _regeneratorDefine(e, r, function (e) {
514
+ return this._invoke(r, n, e);
515
+ });
516
+ }
517
+ r ? i ? i(e, r, {
518
+ value: n,
519
+ enumerable: !t,
520
+ configurable: !t,
521
+ writable: !t
522
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
523
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t);
524
+ }
525
+ module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports;
526
+ })(regeneratorDefine);
527
+ return regeneratorDefine.exports;
528
+ }
529
+
530
+ var hasRequiredRegenerator$1;
531
+ function requireRegenerator$1() {
532
+ if (hasRequiredRegenerator$1) return regenerator$1.exports;
533
+ hasRequiredRegenerator$1 = 1;
534
+ (function (module) {
535
+ var regeneratorDefine = requireRegeneratorDefine();
536
+ function _regenerator() {
537
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
538
+ var e,
539
+ t,
540
+ r = "function" == typeof Symbol ? Symbol : {},
541
+ n = r.iterator || "@@iterator",
542
+ o = r.toStringTag || "@@toStringTag";
543
+ function i(r, n, o, i) {
544
+ var c = n && n.prototype instanceof Generator ? n : Generator,
545
+ u = Object.create(c.prototype);
546
+ return regeneratorDefine(u, "_invoke", function (r, n, o) {
547
+ var i,
548
+ c,
549
+ u,
550
+ f = 0,
551
+ p = o || [],
552
+ y = false,
553
+ G = {
554
+ p: 0,
555
+ n: 0,
556
+ v: e,
557
+ a: d,
558
+ f: d.bind(e, 4),
559
+ d: function d(t, r) {
560
+ return i = t, c = 0, u = e, G.n = r, a;
561
+ }
562
+ };
563
+ function d(r, n) {
564
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
565
+ var o,
566
+ i = p[t],
567
+ d = G.p,
568
+ l = i[2];
569
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
570
+ }
571
+ if (o || r > 1) return a;
572
+ throw y = true, n;
573
+ }
574
+ return function (o, p, l) {
575
+ if (f > 1) throw TypeError("Generator is already running");
576
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
577
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
578
+ try {
579
+ if (f = 2, i) {
580
+ if (c || (o = "next"), t = i[o]) {
581
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
582
+ if (!t.done) return t;
583
+ u = t.value, c < 2 && (c = 0);
584
+ } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
585
+ i = e;
586
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
587
+ } catch (t) {
588
+ i = e, c = 1, u = t;
589
+ } finally {
590
+ f = 1;
591
+ }
592
+ }
593
+ return {
594
+ value: t,
595
+ done: y
596
+ };
597
+ };
598
+ }(r, o, i), true), u;
599
+ }
600
+ var a = {};
601
+ function Generator() {}
602
+ function GeneratorFunction() {}
603
+ function GeneratorFunctionPrototype() {}
604
+ t = Object.getPrototypeOf;
605
+ var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () {
606
+ return this;
607
+ }), t),
608
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
609
+ function f(e) {
610
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
611
+ }
612
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () {
613
+ return this;
614
+ }), regeneratorDefine(u, "toString", function () {
615
+ return "[object Generator]";
616
+ }), (module.exports = _regenerator = function _regenerator() {
617
+ return {
618
+ w: i,
619
+ m: f
620
+ };
621
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
622
+ }
623
+ module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
624
+ })(regenerator$1);
625
+ return regenerator$1.exports;
626
+ }
627
+
628
+ var regeneratorAsync = {exports: {}};
629
+
630
+ var regeneratorAsyncGen = {exports: {}};
631
+
632
+ var regeneratorAsyncIterator = {exports: {}};
633
+
634
+ var hasRequiredRegeneratorAsyncIterator;
635
+ function requireRegeneratorAsyncIterator() {
636
+ if (hasRequiredRegeneratorAsyncIterator) return regeneratorAsyncIterator.exports;
637
+ hasRequiredRegeneratorAsyncIterator = 1;
638
+ (function (module) {
639
+ var OverloadYield = requireOverloadYield();
640
+ var regeneratorDefine = requireRegeneratorDefine();
641
+ function AsyncIterator(t, e) {
642
+ function n(r, o, i, f) {
643
+ try {
644
+ var c = t[r](o),
645
+ u = c.value;
646
+ return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) {
647
+ n("next", t, i, f);
648
+ }, function (t) {
649
+ n("throw", t, i, f);
650
+ }) : e.resolve(u).then(function (t) {
651
+ c.value = t, i(c);
652
+ }, function (t) {
653
+ return n("throw", t, i, f);
654
+ });
655
+ } catch (t) {
656
+ f(t);
657
+ }
658
+ }
659
+ var r;
660
+ this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
661
+ return this;
662
+ })), regeneratorDefine(this, "_invoke", function (t, o, i) {
663
+ function f() {
664
+ return new e(function (e, r) {
665
+ n(t, i, e, r);
666
+ });
667
+ }
668
+ return r = r ? r.then(f, f) : f();
669
+ }, true);
670
+ }
671
+ module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports;
672
+ })(regeneratorAsyncIterator);
673
+ return regeneratorAsyncIterator.exports;
674
+ }
675
+
676
+ var hasRequiredRegeneratorAsyncGen;
677
+ function requireRegeneratorAsyncGen() {
678
+ if (hasRequiredRegeneratorAsyncGen) return regeneratorAsyncGen.exports;
679
+ hasRequiredRegeneratorAsyncGen = 1;
680
+ (function (module) {
681
+ var regenerator = requireRegenerator$1();
682
+ var regeneratorAsyncIterator = requireRegeneratorAsyncIterator();
683
+ function _regeneratorAsyncGen(r, e, t, o, n) {
684
+ return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise);
685
+ }
686
+ module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports;
687
+ })(regeneratorAsyncGen);
688
+ return regeneratorAsyncGen.exports;
689
+ }
690
+
691
+ var hasRequiredRegeneratorAsync;
692
+ function requireRegeneratorAsync() {
693
+ if (hasRequiredRegeneratorAsync) return regeneratorAsync.exports;
694
+ hasRequiredRegeneratorAsync = 1;
695
+ (function (module) {
696
+ var regeneratorAsyncGen = requireRegeneratorAsyncGen();
697
+ function _regeneratorAsync(n, e, r, t, o) {
698
+ var a = regeneratorAsyncGen(n, e, r, t, o);
699
+ return a.next().then(function (n) {
700
+ return n.done ? n.value : a.next();
701
+ });
702
+ }
703
+ module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports;
704
+ })(regeneratorAsync);
705
+ return regeneratorAsync.exports;
706
+ }
707
+
708
+ var regeneratorKeys = {exports: {}};
709
+
710
+ var hasRequiredRegeneratorKeys;
711
+ function requireRegeneratorKeys() {
712
+ if (hasRequiredRegeneratorKeys) return regeneratorKeys.exports;
713
+ hasRequiredRegeneratorKeys = 1;
714
+ (function (module) {
715
+ function _regeneratorKeys(e) {
716
+ var n = Object(e),
717
+ r = [];
718
+ for (var t in n) r.unshift(t);
719
+ return function e() {
720
+ for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = false, e;
721
+ return e.done = true, e;
722
+ };
723
+ }
724
+ module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports;
725
+ })(regeneratorKeys);
726
+ return regeneratorKeys.exports;
727
+ }
728
+
729
+ var regeneratorValues = {exports: {}};
730
+
480
731
  var _typeof = {exports: {}};
481
732
 
482
733
  var hasRequired_typeof;
@@ -498,314 +749,113 @@ var contentfulManagement = (function (exports) {
498
749
  return _typeof.exports;
499
750
  }
500
751
 
752
+ var hasRequiredRegeneratorValues;
753
+ function requireRegeneratorValues() {
754
+ if (hasRequiredRegeneratorValues) return regeneratorValues.exports;
755
+ hasRequiredRegeneratorValues = 1;
756
+ (function (module) {
757
+ var _typeof = require_typeof()["default"];
758
+ function _regeneratorValues(e) {
759
+ if (null != e) {
760
+ var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
761
+ r = 0;
762
+ if (t) return t.call(e);
763
+ if ("function" == typeof e.next) return e;
764
+ if (!isNaN(e.length)) return {
765
+ next: function next() {
766
+ return e && r >= e.length && (e = void 0), {
767
+ value: e && e[r++],
768
+ done: !e
769
+ };
770
+ }
771
+ };
772
+ }
773
+ throw new TypeError(_typeof(e) + " is not iterable");
774
+ }
775
+ module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports;
776
+ })(regeneratorValues);
777
+ return regeneratorValues.exports;
778
+ }
779
+
501
780
  var hasRequiredRegeneratorRuntime;
502
781
  function requireRegeneratorRuntime() {
503
782
  if (hasRequiredRegeneratorRuntime) return regeneratorRuntime$1.exports;
504
783
  hasRequiredRegeneratorRuntime = 1;
505
784
  (function (module) {
506
- var _typeof = require_typeof()["default"];
785
+ var OverloadYield = requireOverloadYield();
786
+ var regenerator = requireRegenerator$1();
787
+ var regeneratorAsync = requireRegeneratorAsync();
788
+ var regeneratorAsyncGen = requireRegeneratorAsyncGen();
789
+ var regeneratorAsyncIterator = requireRegeneratorAsyncIterator();
790
+ var regeneratorKeys = requireRegeneratorKeys();
791
+ var regeneratorValues = requireRegeneratorValues();
507
792
  function _regeneratorRuntime() {
508
793
 
509
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
510
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
511
- return e;
512
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
513
- var t,
514
- e = {},
515
- r = Object.prototype,
516
- n = r.hasOwnProperty,
517
- o = Object.defineProperty || function (t, e, r) {
518
- t[e] = r.value;
519
- },
520
- i = "function" == typeof Symbol ? Symbol : {},
521
- a = i.iterator || "@@iterator",
522
- c = i.asyncIterator || "@@asyncIterator",
523
- u = i.toStringTag || "@@toStringTag";
524
- function define(t, e, r) {
525
- return Object.defineProperty(t, e, {
526
- value: r,
527
- enumerable: true,
528
- configurable: true,
529
- writable: true
530
- }), t[e];
531
- }
532
- try {
533
- define({}, "");
534
- } catch (t) {
535
- define = function define(t, e, r) {
536
- return t[e] = r;
537
- };
538
- }
539
- function wrap(t, e, r, n) {
540
- var i = e && e.prototype instanceof Generator ? e : Generator,
541
- a = Object.create(i.prototype),
542
- c = new Context(n || []);
543
- return o(a, "_invoke", {
544
- value: makeInvokeMethod(t, r, c)
545
- }), a;
546
- }
547
- function tryCatch(t, e, r) {
548
- try {
549
- return {
550
- type: "normal",
551
- arg: t.call(e, r)
552
- };
553
- } catch (t) {
554
- return {
555
- type: "throw",
556
- arg: t
557
- };
558
- }
559
- }
560
- e.wrap = wrap;
561
- var h = "suspendedStart",
562
- l = "suspendedYield",
563
- f = "executing",
564
- s = "completed",
565
- y = {};
566
- function Generator() {}
567
- function GeneratorFunction() {}
568
- function GeneratorFunctionPrototype() {}
569
- var p = {};
570
- define(p, a, function () {
571
- return this;
572
- });
573
- var d = Object.getPrototypeOf,
574
- v = d && d(d(values([])));
575
- v && v !== r && n.call(v, a) && (p = v);
576
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
577
- function defineIteratorMethods(t) {
578
- ["next", "throw", "return"].forEach(function (e) {
579
- define(t, e, function (t) {
580
- return this._invoke(e, t);
581
- });
582
- });
794
+ var r = regenerator(),
795
+ e = r.m(_regeneratorRuntime),
796
+ t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
797
+ function n(r) {
798
+ var e = "function" == typeof r && r.constructor;
799
+ return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
583
800
  }
584
- function AsyncIterator(t, e) {
585
- function invoke(r, o, i, a) {
586
- var c = tryCatch(t[r], t, o);
587
- if ("throw" !== c.type) {
588
- var u = c.arg,
589
- h = u.value;
590
- return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
591
- invoke("next", t, i, a);
592
- }, function (t) {
593
- invoke("throw", t, i, a);
594
- }) : e.resolve(h).then(function (t) {
595
- u.value = t, i(u);
596
- }, function (t) {
597
- return invoke("throw", t, i, a);
598
- });
599
- }
600
- a(c.arg);
601
- }
602
- var r;
603
- o(this, "_invoke", {
604
- value: function value(t, n) {
605
- function callInvokeWithMethodAndArg() {
606
- return new e(function (e, r) {
607
- invoke(t, n, e, r);
608
- });
609
- }
610
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
611
- }
612
- });
613
- }
614
- function makeInvokeMethod(e, r, n) {
615
- var o = h;
616
- return function (i, a) {
617
- if (o === f) throw Error("Generator is already running");
618
- if (o === s) {
619
- if ("throw" === i) throw a;
620
- return {
621
- value: t,
622
- done: true
623
- };
624
- }
625
- for (n.method = i, n.arg = a;;) {
626
- var c = n.delegate;
627
- if (c) {
628
- var u = maybeInvokeDelegate(c, n);
629
- if (u) {
630
- if (u === y) continue;
631
- return u;
632
- }
801
+ var o = {
802
+ "throw": 1,
803
+ "return": 2,
804
+ "break": 3,
805
+ "continue": 3
806
+ };
807
+ function a(r) {
808
+ var e, t;
809
+ return function (n) {
810
+ e || (e = {
811
+ stop: function stop() {
812
+ return t(n.a, 2);
813
+ },
814
+ "catch": function _catch() {
815
+ return n.v;
816
+ },
817
+ abrupt: function abrupt(r, e) {
818
+ return t(n.a, o[r], e);
819
+ },
820
+ delegateYield: function delegateYield(r, o, a) {
821
+ return e.resultName = o, t(n.d, regeneratorValues(r), a);
822
+ },
823
+ finish: function finish(r) {
824
+ return t(n.f, r);
633
825
  }
634
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
635
- if (o === h) throw o = s, n.arg;
636
- n.dispatchException(n.arg);
637
- } else "return" === n.method && n.abrupt("return", n.arg);
638
- o = f;
639
- var p = tryCatch(e, r, n);
640
- if ("normal" === p.type) {
641
- if (o = n.done ? s : l, p.arg === y) continue;
642
- return {
643
- value: p.arg,
644
- done: n.done
645
- };
826
+ }, t = function t(r, _t, o) {
827
+ n.p = e.prev, n.n = e.next;
828
+ try {
829
+ return r(_t, o);
830
+ } finally {
831
+ e.next = n.n;
646
832
  }
647
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
833
+ }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
834
+ try {
835
+ return r.call(this, e);
836
+ } finally {
837
+ n.p = e.prev, n.n = e.next;
648
838
  }
649
839
  };
650
840
  }
651
- function maybeInvokeDelegate(e, r) {
652
- var n = r.method,
653
- o = e.iterator[n];
654
- if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
655
- var i = tryCatch(o, e.iterator, r.arg);
656
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
657
- var a = i.arg;
658
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
659
- }
660
- function pushTryEntry(t) {
661
- var e = {
662
- tryLoc: t[0]
663
- };
664
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
665
- }
666
- function resetTryEntry(t) {
667
- var e = t.completion || {};
668
- e.type = "normal", delete e.arg, t.completion = e;
669
- }
670
- function Context(t) {
671
- this.tryEntries = [{
672
- tryLoc: "root"
673
- }], t.forEach(pushTryEntry, this), this.reset(true);
674
- }
675
- function values(e) {
676
- if (e || "" === e) {
677
- var r = e[a];
678
- if (r) return r.call(e);
679
- if ("function" == typeof e.next) return e;
680
- if (!isNaN(e.length)) {
681
- var o = -1,
682
- i = function next() {
683
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = false, next;
684
- return next.value = t, next.done = true, next;
685
- };
686
- return i.next = i;
687
- }
688
- }
689
- throw new TypeError(_typeof(e) + " is not iterable");
690
- }
691
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
692
- value: GeneratorFunctionPrototype,
693
- configurable: true
694
- }), o(GeneratorFunctionPrototype, "constructor", {
695
- value: GeneratorFunction,
696
- configurable: true
697
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
698
- var e = "function" == typeof t && t.constructor;
699
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
700
- }, e.mark = function (t) {
701
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
702
- }, e.awrap = function (t) {
841
+ return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
703
842
  return {
704
- __await: t
843
+ wrap: function wrap(e, t, n, o) {
844
+ return r.w(a(e), t, n, o && o.reverse());
845
+ },
846
+ isGeneratorFunction: n,
847
+ mark: r.m,
848
+ awrap: function awrap(r, e) {
849
+ return new OverloadYield(r, e);
850
+ },
851
+ AsyncIterator: regeneratorAsyncIterator,
852
+ async: function async(r, e, t, o, u) {
853
+ return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u);
854
+ },
855
+ keys: regeneratorKeys,
856
+ values: regeneratorValues
705
857
  };
706
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
707
- return this;
708
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
709
- void 0 === i && (i = Promise);
710
- var a = new AsyncIterator(wrap(t, r, n, o), i);
711
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
712
- return t.done ? t.value : a.next();
713
- });
714
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
715
- return this;
716
- }), define(g, "toString", function () {
717
- return "[object Generator]";
718
- }), e.keys = function (t) {
719
- var e = Object(t),
720
- r = [];
721
- for (var n in e) r.push(n);
722
- return r.reverse(), function next() {
723
- for (; r.length;) {
724
- var t = r.pop();
725
- if (t in e) return next.value = t, next.done = false, next;
726
- }
727
- return next.done = true, next;
728
- };
729
- }, e.values = values, Context.prototype = {
730
- constructor: Context,
731
- reset: function reset(e) {
732
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
733
- },
734
- stop: function stop() {
735
- this.done = true;
736
- var t = this.tryEntries[0].completion;
737
- if ("throw" === t.type) throw t.arg;
738
- return this.rval;
739
- },
740
- dispatchException: function dispatchException(e) {
741
- if (this.done) throw e;
742
- var r = this;
743
- function handle(n, o) {
744
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
745
- }
746
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
747
- var i = this.tryEntries[o],
748
- a = i.completion;
749
- if ("root" === i.tryLoc) return handle("end");
750
- if (i.tryLoc <= this.prev) {
751
- var c = n.call(i, "catchLoc"),
752
- u = n.call(i, "finallyLoc");
753
- if (c && u) {
754
- if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
755
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
756
- } else if (c) {
757
- if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
758
- } else {
759
- if (!u) throw Error("try statement without catch or finally");
760
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
761
- }
762
- }
763
- }
764
- },
765
- abrupt: function abrupt(t, e) {
766
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
767
- var o = this.tryEntries[r];
768
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
769
- var i = o;
770
- break;
771
- }
772
- }
773
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
774
- var a = i ? i.completion : {};
775
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
776
- },
777
- complete: function complete(t, e) {
778
- if ("throw" === t.type) throw t.arg;
779
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
780
- },
781
- finish: function finish(t) {
782
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
783
- var r = this.tryEntries[e];
784
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
785
- }
786
- },
787
- "catch": function _catch(t) {
788
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
789
- var r = this.tryEntries[e];
790
- if (r.tryLoc === t) {
791
- var n = r.completion;
792
- if ("throw" === n.type) {
793
- var o = n.arg;
794
- resetTryEntry(r);
795
- }
796
- return o;
797
- }
798
- }
799
- throw Error("illegal catch attempt");
800
- },
801
- delegateYield: function delegateYield(e, r, n) {
802
- return this.delegate = {
803
- iterator: values(e),
804
- resultName: r,
805
- nextLoc: n
806
- }, "next" === this.method && (this.arg = t), y;
807
- }
808
- }, e;
858
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
809
859
  }
810
860
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
811
861
  })(regeneratorRuntime$1);
@@ -2933,154 +2983,6 @@ var contentfulManagement = (function (exports) {
2933
2983
  return getProto;
2934
2984
  }
2935
2985
 
2936
- var asyncFunction;
2937
- var hasRequiredAsyncFunction;
2938
- function requireAsyncFunction() {
2939
- if (hasRequiredAsyncFunction) return asyncFunction;
2940
- hasRequiredAsyncFunction = 1;
2941
-
2942
- // eslint-disable-next-line no-extra-parens, no-empty-function
2943
- var cached = /** @type {import('.').AsyncFunctionConstructor} */_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
2944
- return _regeneratorRuntime.wrap(function (_context) {
2945
- while (1) switch (_context.prev = _context.next) {
2946
- case 0:
2947
- case "end":
2948
- return _context.stop();
2949
- }
2950
- }, _callee);
2951
- })).constructor;
2952
-
2953
- /** @type {import('.')} */
2954
- asyncFunction = function asyncFunction() {
2955
- return cached;
2956
- };
2957
- return asyncFunction;
2958
- }
2959
-
2960
- var generatorFunction;
2961
- var hasRequiredGeneratorFunction;
2962
- function requireGeneratorFunction() {
2963
- if (hasRequiredGeneratorFunction) return generatorFunction;
2964
- hasRequiredGeneratorFunction = 1;
2965
-
2966
- // eslint-disable-next-line no-extra-parens, no-empty-function
2967
- var cached = /** @type {GeneratorFunctionConstructor} */ /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
2968
- return _regeneratorRuntime.wrap(function (_context) {
2969
- while (1) switch (_context.prev = _context.next) {
2970
- case 0:
2971
- case "end":
2972
- return _context.stop();
2973
- }
2974
- }, _callee);
2975
- }).constructor;
2976
-
2977
- /** @type {import('.')} */
2978
- generatorFunction = function generatorFunction() {
2979
- return cached;
2980
- };
2981
- return generatorFunction;
2982
- }
2983
-
2984
- function _OverloadYield(e, d) {
2985
- this.v = e, this.k = d;
2986
- }
2987
-
2988
- function _awaitAsyncGenerator(e) {
2989
- return new _OverloadYield(e, 0);
2990
- }
2991
-
2992
- function _wrapAsyncGenerator(e) {
2993
- return function () {
2994
- return new AsyncGenerator(e.apply(this, arguments));
2995
- };
2996
- }
2997
- function AsyncGenerator(e) {
2998
- var r, t;
2999
- function resume(r, t) {
3000
- try {
3001
- var n = e[r](t),
3002
- o = n.value,
3003
- u = o instanceof _OverloadYield;
3004
- Promise.resolve(u ? o.v : o).then(function (t) {
3005
- if (u) {
3006
- var i = "return" === r ? "return" : "next";
3007
- if (!o.k || t.done) return resume(i, t);
3008
- t = e[i](t).value;
3009
- }
3010
- settle(n.done ? "return" : "normal", t);
3011
- }, function (e) {
3012
- resume("throw", e);
3013
- });
3014
- } catch (e) {
3015
- settle("throw", e);
3016
- }
3017
- }
3018
- function settle(e, n) {
3019
- switch (e) {
3020
- case "return":
3021
- r.resolve({
3022
- value: n,
3023
- done: true
3024
- });
3025
- break;
3026
- case "throw":
3027
- r.reject(n);
3028
- break;
3029
- default:
3030
- r.resolve({
3031
- value: n,
3032
- done: false
3033
- });
3034
- }
3035
- (r = r.next) ? resume(r.key, r.arg) : t = null;
3036
- }
3037
- this._invoke = function (e, n) {
3038
- return new Promise(function (o, u) {
3039
- var i = {
3040
- key: e,
3041
- arg: n,
3042
- resolve: o,
3043
- reject: u,
3044
- next: null
3045
- };
3046
- t ? t = t.next = i : (r = t = i, resume(e, n));
3047
- });
3048
- }, "function" != typeof e["return"] && (this["return"] = void 0);
3049
- }
3050
- AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
3051
- return this;
3052
- }, AsyncGenerator.prototype.next = function (e) {
3053
- return this._invoke("next", e);
3054
- }, AsyncGenerator.prototype["throw"] = function (e) {
3055
- return this._invoke("throw", e);
3056
- }, AsyncGenerator.prototype["return"] = function (e) {
3057
- return this._invoke("return", e);
3058
- };
3059
-
3060
- var asyncGeneratorFunction;
3061
- var hasRequiredAsyncGeneratorFunction;
3062
- function requireAsyncGeneratorFunction() {
3063
- if (hasRequiredAsyncGeneratorFunction) return asyncGeneratorFunction;
3064
- hasRequiredAsyncGeneratorFunction = 1;
3065
-
3066
- // eslint-disable-next-line no-extra-parens, no-empty-function
3067
- var cached = /** @type {import('.').AsyncGeneratorFunctionConstructor} */_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
3068
- return _regeneratorRuntime.wrap(function (_context) {
3069
- while (1) switch (_context.prev = _context.next) {
3070
- case 0:
3071
- case "end":
3072
- return _context.stop();
3073
- }
3074
- }, _callee);
3075
- })).constructor;
3076
-
3077
- /** @type {import('.')} */
3078
- asyncGeneratorFunction = function asyncGeneratorFunction() {
3079
- return cached;
3080
- };
3081
- return asyncGeneratorFunction;
3082
- }
3083
-
3084
2986
  var hasown;
3085
2987
  var hasRequiredHasown;
3086
2988
  function requireHasown() {
@@ -3116,6 +3018,14 @@ var contentfulManagement = (function (exports) {
3116
3018
  var pow = /*@__PURE__*/requirePow();
3117
3019
  var round = /*@__PURE__*/requireRound();
3118
3020
  var sign = /*@__PURE__*/requireSign();
3021
+ var $Function = Function;
3022
+
3023
+ // eslint-disable-next-line consistent-return
3024
+ var getEvalledConstructor = function getEvalledConstructor(expressionSyntax) {
3025
+ try {
3026
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
3027
+ } catch (e) {}
3028
+ };
3119
3029
  var $gOPD = /*@__PURE__*/requireGopd();
3120
3030
  var $defineProperty = /*@__PURE__*/requireEsDefineProperty();
3121
3031
  var throwTypeError = function throwTypeError() {
@@ -3173,7 +3083,7 @@ var contentfulManagement = (function (exports) {
3173
3083
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
3174
3084
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
3175
3085
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
3176
- '%Function%': Function,
3086
+ '%Function%': $Function,
3177
3087
  '%GeneratorFunction%': needsEval,
3178
3088
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
3179
3089
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
@@ -3236,17 +3146,14 @@ var contentfulManagement = (function (exports) {
3236
3146
  INTRINSICS['%Error.prototype%'] = errorProto;
3237
3147
  }
3238
3148
  }
3239
- var getAsyncFunction = requireAsyncFunction();
3240
- var getGeneratorFunction = /*@__PURE__*/requireGeneratorFunction();
3241
- var getAsyncGeneratorFunction = requireAsyncGeneratorFunction();
3242
3149
  var doEval = function doEval(name) {
3243
3150
  var value;
3244
3151
  if (name === '%AsyncFunction%') {
3245
- value = getAsyncFunction() || void undefined$1;
3152
+ value = getEvalledConstructor('async function () {}');
3246
3153
  } else if (name === '%GeneratorFunction%') {
3247
- value = getGeneratorFunction() || void undefined$1;
3154
+ value = getEvalledConstructor('function* () {}');
3248
3155
  } else if (name === '%AsyncGeneratorFunction%') {
3249
- value = getAsyncGeneratorFunction() || void undefined$1;
3156
+ value = getEvalledConstructor('async function* () {}');
3250
3157
  } else if (name === '%AsyncGenerator%') {
3251
3158
  var fn = doEval('%AsyncGeneratorFunction%');
3252
3159
  if (fn) {
@@ -4870,6 +4777,82 @@ var contentfulManagement = (function (exports) {
4870
4777
  }), e;
4871
4778
  }
4872
4779
 
4780
+ function _OverloadYield(e, d) {
4781
+ this.v = e, this.k = d;
4782
+ }
4783
+
4784
+ function _wrapAsyncGenerator(e) {
4785
+ return function () {
4786
+ return new AsyncGenerator(e.apply(this, arguments));
4787
+ };
4788
+ }
4789
+ function AsyncGenerator(e) {
4790
+ var r, t;
4791
+ function resume(r, t) {
4792
+ try {
4793
+ var n = e[r](t),
4794
+ o = n.value,
4795
+ u = o instanceof _OverloadYield;
4796
+ Promise.resolve(u ? o.v : o).then(function (t) {
4797
+ if (u) {
4798
+ var i = "return" === r ? "return" : "next";
4799
+ if (!o.k || t.done) return resume(i, t);
4800
+ t = e[i](t).value;
4801
+ }
4802
+ settle(n.done ? "return" : "normal", t);
4803
+ }, function (e) {
4804
+ resume("throw", e);
4805
+ });
4806
+ } catch (e) {
4807
+ settle("throw", e);
4808
+ }
4809
+ }
4810
+ function settle(e, n) {
4811
+ switch (e) {
4812
+ case "return":
4813
+ r.resolve({
4814
+ value: n,
4815
+ done: true
4816
+ });
4817
+ break;
4818
+ case "throw":
4819
+ r.reject(n);
4820
+ break;
4821
+ default:
4822
+ r.resolve({
4823
+ value: n,
4824
+ done: false
4825
+ });
4826
+ }
4827
+ (r = r.next) ? resume(r.key, r.arg) : t = null;
4828
+ }
4829
+ this._invoke = function (e, n) {
4830
+ return new Promise(function (o, u) {
4831
+ var i = {
4832
+ key: e,
4833
+ arg: n,
4834
+ resolve: o,
4835
+ reject: u,
4836
+ next: null
4837
+ };
4838
+ t ? t = t.next = i : (r = t = i, resume(e, n));
4839
+ });
4840
+ }, "function" != typeof e["return"] && (this["return"] = void 0);
4841
+ }
4842
+ AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
4843
+ return this;
4844
+ }, AsyncGenerator.prototype.next = function (e) {
4845
+ return this._invoke("next", e);
4846
+ }, AsyncGenerator.prototype["throw"] = function (e) {
4847
+ return this._invoke("throw", e);
4848
+ }, AsyncGenerator.prototype["return"] = function (e) {
4849
+ return this._invoke("return", e);
4850
+ };
4851
+
4852
+ function _awaitAsyncGenerator(e) {
4853
+ return new _OverloadYield(e, 0);
4854
+ }
4855
+
4873
4856
  function _asyncGeneratorDelegate(t) {
4874
4857
  var e = {},
4875
4858
  n = false;
@@ -4905,6 +4888,14 @@ var contentfulManagement = (function (exports) {
4905
4888
  function requireAxios() {
4906
4889
  if (hasRequiredAxios) return axios_1;
4907
4890
  hasRequiredAxios = 1;
4891
+
4892
+ /**
4893
+ * Create a bound version of a function with a specified `this` context
4894
+ *
4895
+ * @param {Function} fn - The function to bind
4896
+ * @param {*} thisArg - The value to be passed as the `this` parameter
4897
+ * @returns {Function} A new function that will call the original function with the specified `this` context
4898
+ */
4908
4899
  function bind(fn, thisArg) {
4909
4900
  return function wrap() {
4910
4901
  return fn.apply(thisArg, arguments);
@@ -6067,7 +6058,7 @@ var contentfulManagement = (function (exports) {
6067
6058
  *
6068
6059
  * @param {Number} id The ID that was returned by `use`
6069
6060
  *
6070
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
6061
+ * @returns {void}
6071
6062
  */
6072
6063
  }, {
6073
6064
  key: "eject",
@@ -6921,20 +6912,33 @@ var contentfulManagement = (function (exports) {
6921
6912
  var cookies = platform.hasStandardBrowserEnv ?
6922
6913
  // Standard browser envs support document.cookie
6923
6914
  {
6924
- write: function write(name, value, expires, path, domain, secure) {
6925
- var cookie = [name + '=' + encodeURIComponent(value)];
6926
- utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
6927
- utils$1.isString(path) && cookie.push('path=' + path);
6928
- utils$1.isString(domain) && cookie.push('domain=' + domain);
6929
- secure === true && cookie.push('secure');
6915
+ write: function write(name, value, expires, path, domain, secure, sameSite) {
6916
+ if (typeof document === 'undefined') return;
6917
+ var cookie = ["".concat(name, "=").concat(encodeURIComponent(value))];
6918
+ if (utils$1.isNumber(expires)) {
6919
+ cookie.push("expires=".concat(new Date(expires).toUTCString()));
6920
+ }
6921
+ if (utils$1.isString(path)) {
6922
+ cookie.push("path=".concat(path));
6923
+ }
6924
+ if (utils$1.isString(domain)) {
6925
+ cookie.push("domain=".concat(domain));
6926
+ }
6927
+ if (secure === true) {
6928
+ cookie.push('secure');
6929
+ }
6930
+ if (utils$1.isString(sameSite)) {
6931
+ cookie.push("SameSite=".concat(sameSite));
6932
+ }
6930
6933
  document.cookie = cookie.join('; ');
6931
6934
  },
6932
6935
  read: function read(name) {
6933
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
6934
- return match ? decodeURIComponent(match[3]) : null;
6936
+ if (typeof document === 'undefined') return null;
6937
+ var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
6938
+ return match ? decodeURIComponent(match[1]) : null;
6935
6939
  },
6936
6940
  remove: function remove(name) {
6937
- this.write(name, '', Date.now() - 86400000);
6941
+ this.write(name, '', Date.now() - 86400000, '/');
6938
6942
  }
6939
6943
  } :
6940
6944
  // Non-standard browser env (web workers, react-native) lack needed support.
@@ -7853,7 +7857,7 @@ var contentfulManagement = (function (exports) {
7853
7857
  };
7854
7858
  var seedCache = new Map();
7855
7859
  var getFetch = function getFetch(config) {
7856
- var env = config ? config.env : {};
7860
+ var env = config && config.env || {};
7857
7861
  var fetch = env.fetch,
7858
7862
  Request = env.Request,
7859
7863
  Response = env.Response;
@@ -7872,6 +7876,16 @@ var contentfulManagement = (function (exports) {
7872
7876
  return target;
7873
7877
  };
7874
7878
  getFetch();
7879
+
7880
+ /**
7881
+ * Known adapters mapping.
7882
+ * Provides environment-specific adapters for Axios:
7883
+ * - `http` for Node.js
7884
+ * - `xhr` for browsers
7885
+ * - `fetch` for fetch API-based requests
7886
+ *
7887
+ * @type {Object<string, Function|Object>}
7888
+ */
7875
7889
  var knownAdapters = {
7876
7890
  http: httpAdapter,
7877
7891
  xhr: xhrAdapter,
@@ -7879,6 +7893,8 @@ var contentfulManagement = (function (exports) {
7879
7893
  get: getFetch
7880
7894
  }
7881
7895
  };
7896
+
7897
+ // Assign adapter names for easier debugging and identification
7882
7898
  utils$1.forEach(knownAdapters, function (fn, value) {
7883
7899
  if (fn) {
7884
7900
  try {
@@ -7893,47 +7909,85 @@ var contentfulManagement = (function (exports) {
7893
7909
  });
7894
7910
  }
7895
7911
  });
7912
+
7913
+ /**
7914
+ * Render a rejection reason string for unknown or unsupported adapters
7915
+ *
7916
+ * @param {string} reason
7917
+ * @returns {string}
7918
+ */
7896
7919
  var renderReason = function renderReason(reason) {
7897
7920
  return "- ".concat(reason);
7898
7921
  };
7922
+
7923
+ /**
7924
+ * Check if the adapter is resolved (function, null, or false)
7925
+ *
7926
+ * @param {Function|null|false} adapter
7927
+ * @returns {boolean}
7928
+ */
7899
7929
  var isResolvedHandle = function isResolvedHandle(adapter) {
7900
7930
  return utils$1.isFunction(adapter) || adapter === null || adapter === false;
7901
7931
  };
7902
- var adapters = {
7903
- getAdapter: function getAdapter(adapters, config) {
7904
- adapters = utils$1.isArray(adapters) ? adapters : [adapters];
7905
- var _adapters = adapters,
7906
- length = _adapters.length;
7907
- var nameOrAdapter;
7908
- var adapter;
7909
- var rejectedReasons = {};
7910
- for (var i = 0; i < length; i++) {
7911
- nameOrAdapter = adapters[i];
7912
- var id = void 0;
7913
- adapter = nameOrAdapter;
7914
- if (!isResolvedHandle(nameOrAdapter)) {
7915
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
7916
- if (adapter === undefined) {
7917
- throw new AxiosError("Unknown adapter '".concat(id, "'"));
7918
- }
7919
- }
7920
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
7921
- break;
7932
+
7933
+ /**
7934
+ * Get the first suitable adapter from the provided list.
7935
+ * Tries each adapter in order until a supported one is found.
7936
+ * Throws an AxiosError if no adapter is suitable.
7937
+ *
7938
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
7939
+ * @param {Object} config - Axios request configuration
7940
+ * @throws {AxiosError} If no suitable adapter is available
7941
+ * @returns {Function} The resolved adapter function
7942
+ */
7943
+ function getAdapter(adapters, config) {
7944
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
7945
+ var _adapters = adapters,
7946
+ length = _adapters.length;
7947
+ var nameOrAdapter;
7948
+ var adapter;
7949
+ var rejectedReasons = {};
7950
+ for (var i = 0; i < length; i++) {
7951
+ nameOrAdapter = adapters[i];
7952
+ var id = void 0;
7953
+ adapter = nameOrAdapter;
7954
+ if (!isResolvedHandle(nameOrAdapter)) {
7955
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
7956
+ if (adapter === undefined) {
7957
+ throw new AxiosError("Unknown adapter '".concat(id, "'"));
7922
7958
  }
7923
- rejectedReasons[id || '#' + i] = adapter;
7924
7959
  }
7925
- if (!adapter) {
7926
- var reasons = Object.entries(rejectedReasons).map(function (_ref18) {
7927
- var _ref19 = _slicedToArray(_ref18, 2),
7928
- id = _ref19[0],
7929
- state = _ref19[1];
7930
- return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
7931
- });
7932
- var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
7933
- throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
7960
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
7961
+ break;
7934
7962
  }
7935
- return adapter;
7936
- },
7963
+ rejectedReasons[id || '#' + i] = adapter;
7964
+ }
7965
+ if (!adapter) {
7966
+ var reasons = Object.entries(rejectedReasons).map(function (_ref18) {
7967
+ var _ref19 = _slicedToArray(_ref18, 2),
7968
+ id = _ref19[0],
7969
+ state = _ref19[1];
7970
+ return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
7971
+ });
7972
+ var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
7973
+ throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
7974
+ }
7975
+ return adapter;
7976
+ }
7977
+
7978
+ /**
7979
+ * Exports Axios adapters and utility to resolve an adapter
7980
+ */
7981
+ var adapters = {
7982
+ /**
7983
+ * Resolve an adapter from a list of adapter names or functions.
7984
+ * @type {Function}
7985
+ */
7986
+ getAdapter: getAdapter,
7987
+ /**
7988
+ * Exposes all known adapters
7989
+ * @type {Object<string, Function|Object>}
7990
+ */
7937
7991
  adapters: knownAdapters
7938
7992
  };
7939
7993
 
@@ -7990,7 +8044,7 @@ var contentfulManagement = (function (exports) {
7990
8044
  return Promise.reject(reason);
7991
8045
  });
7992
8046
  }
7993
- var VERSION = "1.12.2";
8047
+ var VERSION = "1.13.1";
7994
8048
  var validators$1 = {};
7995
8049
 
7996
8050
  // eslint-disable-next-line func-names
@@ -8521,7 +8575,13 @@ var contentfulManagement = (function (exports) {
8521
8575
  InsufficientStorage: 507,
8522
8576
  LoopDetected: 508,
8523
8577
  NotExtended: 510,
8524
- NetworkAuthenticationRequired: 511
8578
+ NetworkAuthenticationRequired: 511,
8579
+ WebServerIsDown: 521,
8580
+ ConnectionTimedOut: 522,
8581
+ OriginIsUnreachable: 523,
8582
+ TimeoutOccurred: 524,
8583
+ SslHandshakeFailed: 525,
8584
+ InvalidSslCertificate: 526
8525
8585
  };
8526
8586
  Object.entries(HttpStatusCode).forEach(function (_ref20) {
8527
8587
  var _ref21 = _slicedToArray(_ref20, 2),
@@ -10468,9 +10528,9 @@ var contentfulManagement = (function (exports) {
10468
10528
  });
10469
10529
 
10470
10530
  const apiPath = (organizationId, ...pathSegments) => `/organizations/${organizationId}/environment_templates/` + pathSegments.join('/');
10471
- const getMany$o = (http, { organizationId, environmentTemplateId, spaceId, environmentId, ...paginationProps }, headers) => get$W(http, apiPath(organizationId, environmentTemplateId, 'template_installations'), {
10531
+ const getMany$o = (http, { organizationId, environmentTemplateId, spaceId, environmentId, ...otherProps }, headers) => get$W(http, apiPath(organizationId, environmentTemplateId, 'template_installations'), {
10472
10532
  params: {
10473
- ...paginationProps,
10533
+ ...otherProps,
10474
10534
  ...(environmentId && { 'environment.sys.id': environmentId }),
10475
10535
  ...(spaceId && { 'space.sys.id': spaceId }),
10476
10536
  },
@@ -20468,6 +20528,7 @@ var contentfulManagement = (function (exports) {
20468
20528
  * Gets a collection of all installations for the environment template
20469
20529
  * @param [installationParams.spaceId] - Space ID to filter installations by space and environment
20470
20530
  * @param [installationParams.environmentId] - Environment ID to filter installations by space and environment
20531
+ * @param [installationParams.latestOnly] - Boolean flag to only return the latest installation per environment
20471
20532
  * @return Promise for a collection of EnvironmentTemplateInstallations
20472
20533
  * ```javascript
20473
20534
  * const contentful = require('contentful-management')
@@ -20484,7 +20545,7 @@ var contentfulManagement = (function (exports) {
20484
20545
  * .catch(console.error)
20485
20546
  * ```
20486
20547
  */
20487
- getInstallations: function getEnvironmentTemplateInstallations({ spaceId, environmentId, ...query } = {}) {
20548
+ getInstallations: function getEnvironmentTemplateInstallations({ spaceId, environmentId, latestOnly, ...query } = {}) {
20488
20549
  const raw = this.toPlainObject();
20489
20550
  return makeRequest({
20490
20551
  entityType: 'EnvironmentTemplateInstallation',
@@ -20495,6 +20556,7 @@ var contentfulManagement = (function (exports) {
20495
20556
  query: { ...createRequestConfig({ query }).params },
20496
20557
  spaceId,
20497
20558
  environmentId,
20559
+ latestOnly,
20498
20560
  },
20499
20561
  }).then((data) => wrapEnvironmentTemplateInstallationCollection(makeRequest, data));
20500
20562
  },
@@ -20710,7 +20772,7 @@ var contentfulManagement = (function (exports) {
20710
20772
  */
20711
20773
  function createClientApi(makeRequest) {
20712
20774
  return {
20713
- version: "12.0.0-beta.11",
20775
+ version: "12.0.0-beta.13",
20714
20776
  /**
20715
20777
  * Gets all environment templates for a given organization with the lasted version
20716
20778
  * @param organizationId - Organization ID
@@ -21309,7 +21371,7 @@ var contentfulManagement = (function (exports) {
21309
21371
  const createPlainClient = (makeRequest, defaults) => {
21310
21372
  const wrapParams = { makeRequest, defaults };
21311
21373
  return {
21312
- version: "12.0.0-beta.11",
21374
+ version: "12.0.0-beta.13",
21313
21375
  raw: {
21314
21376
  getDefaultParams: () => defaults,
21315
21377
  get: (url, config) => makeRequest({
@@ -22260,7 +22322,7 @@ var contentfulManagement = (function (exports) {
22260
22322
  */
22261
22323
  function createClient(params, opts = {}) {
22262
22324
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
22263
- const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.11"}`, params.application, params.integration, params.feature);
22325
+ const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.13"}`, params.application, params.integration, params.feature);
22264
22326
  const adapter = createAdapter({ ...params, userAgent });
22265
22327
  // Parameters<?> and ReturnType<?> only return the types of the last overload
22266
22328
  // https://github.com/microsoft/TypeScript/issues/26591
@@ -22287,4 +22349,4 @@ var contentfulManagement = (function (exports) {
22287
22349
  return exports;
22288
22350
 
22289
22351
  })({});
22290
- //# sourceMappingURL=contentful-management.browser.js.map
22352
+ //# sourceMappingURL=contentful-management.bundle.browser.js.map