@contentful/experience-delivery 1.0.0-dev.7 → 1.0.0-dev.8

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 (352) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +15 -10
  4. package/dist/cjs/api/resources/destination/client/Client.d.ts +96 -0
  5. package/dist/cjs/api/resources/destination/client/Client.js +401 -0
  6. package/dist/cjs/api/resources/destination/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/destination/client/index.js +17 -0
  8. package/dist/cjs/api/resources/destination/client/requests/DestinationExperiencesByNodeRequest.d.ts +8 -0
  9. package/dist/cjs/api/resources/destination/client/requests/DestinationExperiencesByNodeRequest.js +3 -0
  10. package/dist/cjs/api/resources/destination/client/requests/DestinationExperiencesByPathRequest.d.ts +12 -0
  11. package/dist/cjs/api/resources/destination/client/requests/DestinationExperiencesByPathRequest.js +3 -0
  12. package/dist/cjs/api/resources/destination/client/requests/SitemapDestinationRequest.d.ts +16 -0
  13. package/dist/cjs/api/resources/destination/client/requests/SitemapDestinationRequest.js +3 -0
  14. package/dist/cjs/api/resources/destination/client/requests/index.d.ts +3 -0
  15. package/dist/cjs/api/resources/destination/client/requests/index.js +2 -0
  16. package/dist/cjs/api/resources/destination/exports.d.ts +2 -0
  17. package/dist/cjs/api/resources/destination/exports.js +21 -0
  18. package/dist/cjs/api/resources/destination/index.d.ts +1 -0
  19. package/dist/cjs/api/resources/destination/index.js +17 -0
  20. package/dist/cjs/api/resources/index.d.ts +2 -0
  21. package/dist/cjs/api/resources/index.js +3 -1
  22. package/dist/cjs/api/types/ChildPath.d.ts +6 -0
  23. package/dist/cjs/api/types/ChildPath.js +3 -0
  24. package/dist/cjs/api/types/DestinationExperienceResolutionResponse.d.ts +5 -0
  25. package/dist/cjs/api/types/DestinationExperienceResolutionResponse.js +3 -0
  26. package/dist/cjs/api/types/DestinationExperiencesExtensions.d.ts +4 -0
  27. package/dist/cjs/api/types/DestinationExperiencesExtensions.js +3 -0
  28. package/dist/cjs/api/types/DestinationExperiencesExtensionsPersonalization.d.ts +5 -0
  29. package/dist/cjs/api/types/DestinationExperiencesExtensionsPersonalization.js +3 -0
  30. package/dist/cjs/api/types/DestinationExperiencesResponse.d.ts +4 -0
  31. package/dist/cjs/api/types/DestinationExperiencesResponse.js +3 -0
  32. package/dist/cjs/api/types/DestinationRedirectResponse.d.ts +4 -0
  33. package/dist/cjs/api/types/DestinationRedirectResponse.js +3 -0
  34. package/dist/cjs/api/types/DestinationRedirectResponseRedirect.d.ts +4 -0
  35. package/dist/cjs/api/types/DestinationRedirectResponseRedirect.js +3 -0
  36. package/dist/cjs/api/types/DestinationSitemap.d.ts +7 -0
  37. package/dist/cjs/api/types/DestinationSitemap.js +3 -0
  38. package/dist/cjs/api/types/DestinationSitemapPaths.d.ts +11 -0
  39. package/dist/cjs/api/types/DestinationSitemapPaths.js +3 -0
  40. package/dist/cjs/api/types/DestinationSitemapPathsPages.d.ts +7 -0
  41. package/dist/cjs/api/types/DestinationSitemapPathsPages.js +3 -0
  42. package/dist/cjs/api/types/DestinationSitemapPathsSys.d.ts +3 -0
  43. package/dist/cjs/api/types/DestinationSitemapPathsSys.js +3 -0
  44. package/dist/cjs/api/types/DestinationSitemapProperty.d.ts +7 -0
  45. package/dist/cjs/api/types/DestinationSitemapProperty.js +3 -0
  46. package/dist/cjs/api/types/DestinationSitemapPropertySys.d.ts +3 -0
  47. package/dist/cjs/api/types/DestinationSitemapPropertySys.js +3 -0
  48. package/dist/cjs/api/types/ErrorI18NContext.d.ts +5 -0
  49. package/dist/cjs/api/types/ErrorI18NContext.js +3 -0
  50. package/dist/cjs/api/types/ErrorSys.d.ts +5 -0
  51. package/dist/cjs/api/types/ErrorSys.js +3 -0
  52. package/dist/cjs/api/types/Error_.d.ts +12 -0
  53. package/dist/cjs/api/types/Error_.js +3 -0
  54. package/dist/cjs/api/types/HydratedExperience.d.ts +11 -0
  55. package/dist/cjs/api/types/HydratedExperience.js +3 -0
  56. package/dist/cjs/api/types/PersonalizationComponentEvent.d.ts +22 -0
  57. package/dist/cjs/api/types/PersonalizationComponentEvent.js +3 -0
  58. package/dist/cjs/api/types/PersonalizationEvent.d.ts +5 -0
  59. package/dist/cjs/api/types/PersonalizationEvent.js +3 -0
  60. package/dist/cjs/api/types/PersonalizationEventBase.d.ts +25 -0
  61. package/dist/cjs/api/types/PersonalizationEventBase.js +3 -0
  62. package/dist/cjs/api/types/PersonalizationEventBaseChannel.d.ts +7 -0
  63. package/dist/cjs/api/types/PersonalizationEventBaseChannel.js +10 -0
  64. package/dist/cjs/api/types/PersonalizationEventBaseComponentType.d.ts +5 -0
  65. package/dist/cjs/api/types/PersonalizationEventBaseComponentType.js +8 -0
  66. package/dist/cjs/api/types/PersonalizationEventBaseContext.d.ts +9 -0
  67. package/dist/cjs/api/types/PersonalizationEventBaseContext.js +3 -0
  68. package/dist/cjs/api/types/PersonalizationEventBaseContextLibrary.d.ts +4 -0
  69. package/dist/cjs/api/types/PersonalizationEventBaseContextLibrary.js +3 -0
  70. package/dist/cjs/api/types/PersonalizationEventBaseType.d.ts +8 -0
  71. package/dist/cjs/api/types/PersonalizationEventBaseType.js +11 -0
  72. package/dist/cjs/api/types/PersonalizationIdentifyEvent.d.ts +22 -0
  73. package/dist/cjs/api/types/PersonalizationIdentifyEvent.js +3 -0
  74. package/dist/cjs/api/types/PersonalizationPageEvent.d.ts +22 -0
  75. package/dist/cjs/api/types/PersonalizationPageEvent.js +3 -0
  76. package/dist/cjs/api/types/PersonalizationPageEventProperties.d.ts +9 -0
  77. package/dist/cjs/api/types/PersonalizationPageEventProperties.js +3 -0
  78. package/dist/cjs/api/types/PersonalizationScreenEvent.d.ts +22 -0
  79. package/dist/cjs/api/types/PersonalizationScreenEvent.js +3 -0
  80. package/dist/cjs/api/types/PersonalizationScreenEventProperties.d.ts +5 -0
  81. package/dist/cjs/api/types/PersonalizationScreenEventProperties.js +3 -0
  82. package/dist/cjs/api/types/PersonalizationTrackEvent.d.ts +22 -0
  83. package/dist/cjs/api/types/PersonalizationTrackEvent.js +3 -0
  84. package/dist/cjs/api/types/ResolvedDestinationExperience.d.ts +8 -0
  85. package/dist/cjs/api/types/ResolvedDestinationExperience.js +3 -0
  86. package/dist/cjs/api/types/SitemapPath.d.ts +11 -0
  87. package/dist/cjs/api/types/SitemapPath.js +3 -0
  88. package/dist/cjs/api/types/SitemapPathSys.d.ts +4 -0
  89. package/dist/cjs/api/types/SitemapPathSys.js +3 -0
  90. package/dist/cjs/api/types/index.d.ts +34 -0
  91. package/dist/cjs/api/types/index.js +34 -0
  92. package/dist/cjs/serialization/resources/destination/client/index.d.ts +1 -0
  93. package/dist/cjs/serialization/resources/destination/client/index.js +17 -0
  94. package/dist/cjs/serialization/resources/destination/client/requests/DestinationExperiencesByNodeRequest.d.ts +10 -0
  95. package/dist/cjs/serialization/resources/destination/client/requests/DestinationExperiencesByNodeRequest.js +42 -0
  96. package/dist/cjs/serialization/resources/destination/client/requests/DestinationExperiencesByPathRequest.d.ts +11 -0
  97. package/dist/cjs/serialization/resources/destination/client/requests/DestinationExperiencesByPathRequest.js +43 -0
  98. package/dist/cjs/serialization/resources/destination/client/requests/index.d.ts +2 -0
  99. package/dist/cjs/serialization/resources/destination/client/requests/index.js +7 -0
  100. package/dist/cjs/serialization/resources/destination/index.d.ts +1 -0
  101. package/dist/cjs/serialization/resources/destination/index.js +17 -0
  102. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  103. package/dist/cjs/serialization/resources/index.js +3 -1
  104. package/dist/cjs/serialization/types/ChildPath.d.ts +9 -0
  105. package/dist/cjs/serialization/types/ChildPath.js +41 -0
  106. package/dist/cjs/serialization/types/DestinationExperienceResolutionResponse.d.ts +9 -0
  107. package/dist/cjs/serialization/types/DestinationExperienceResolutionResponse.js +41 -0
  108. package/dist/cjs/serialization/types/DestinationExperiencesExtensions.d.ts +10 -0
  109. package/dist/cjs/serialization/types/DestinationExperiencesExtensions.js +42 -0
  110. package/dist/cjs/serialization/types/DestinationExperiencesExtensionsPersonalization.d.ts +11 -0
  111. package/dist/cjs/serialization/types/DestinationExperiencesExtensionsPersonalization.js +43 -0
  112. package/dist/cjs/serialization/types/DestinationExperiencesResponse.d.ts +10 -0
  113. package/dist/cjs/serialization/types/DestinationExperiencesResponse.js +42 -0
  114. package/dist/cjs/serialization/types/DestinationRedirectResponse.d.ts +10 -0
  115. package/dist/cjs/serialization/types/DestinationRedirectResponse.js +42 -0
  116. package/dist/cjs/serialization/types/DestinationRedirectResponseRedirect.d.ts +9 -0
  117. package/dist/cjs/serialization/types/DestinationRedirectResponseRedirect.js +41 -0
  118. package/dist/cjs/serialization/types/DestinationSitemap.d.ts +12 -0
  119. package/dist/cjs/serialization/types/DestinationSitemap.js +44 -0
  120. package/dist/cjs/serialization/types/DestinationSitemapPaths.d.ts +15 -0
  121. package/dist/cjs/serialization/types/DestinationSitemapPaths.js +47 -0
  122. package/dist/cjs/serialization/types/DestinationSitemapPathsPages.d.ts +10 -0
  123. package/dist/cjs/serialization/types/DestinationSitemapPathsPages.js +42 -0
  124. package/dist/cjs/serialization/types/DestinationSitemapPathsSys.d.ts +9 -0
  125. package/dist/cjs/serialization/types/DestinationSitemapPathsSys.js +41 -0
  126. package/dist/cjs/serialization/types/DestinationSitemapProperty.d.ts +10 -0
  127. package/dist/cjs/serialization/types/DestinationSitemapProperty.js +42 -0
  128. package/dist/cjs/serialization/types/DestinationSitemapPropertySys.d.ts +9 -0
  129. package/dist/cjs/serialization/types/DestinationSitemapPropertySys.js +41 -0
  130. package/dist/cjs/serialization/types/ErrorI18NContext.d.ts +11 -0
  131. package/dist/cjs/serialization/types/ErrorI18NContext.js +43 -0
  132. package/dist/cjs/serialization/types/ErrorSys.d.ts +10 -0
  133. package/dist/cjs/serialization/types/ErrorSys.js +42 -0
  134. package/dist/cjs/serialization/types/Error_.d.ts +15 -0
  135. package/dist/cjs/serialization/types/Error_.js +47 -0
  136. package/dist/cjs/serialization/types/HydratedExperience.d.ts +14 -0
  137. package/dist/cjs/serialization/types/HydratedExperience.js +46 -0
  138. package/dist/cjs/serialization/types/PersonalizationComponentEvent.d.ts +29 -0
  139. package/dist/cjs/serialization/types/PersonalizationComponentEvent.js +61 -0
  140. package/dist/cjs/serialization/types/PersonalizationEvent.d.ts +12 -0
  141. package/dist/cjs/serialization/types/PersonalizationEvent.js +50 -0
  142. package/dist/cjs/serialization/types/PersonalizationEventBase.d.ts +30 -0
  143. package/dist/cjs/serialization/types/PersonalizationEventBase.js +62 -0
  144. package/dist/cjs/serialization/types/PersonalizationEventBaseChannel.d.ts +7 -0
  145. package/dist/cjs/serialization/types/PersonalizationEventBaseChannel.js +39 -0
  146. package/dist/cjs/serialization/types/PersonalizationEventBaseComponentType.d.ts +7 -0
  147. package/dist/cjs/serialization/types/PersonalizationEventBaseComponentType.js +39 -0
  148. package/dist/cjs/serialization/types/PersonalizationEventBaseContext.d.ts +11 -0
  149. package/dist/cjs/serialization/types/PersonalizationEventBaseContext.js +44 -0
  150. package/dist/cjs/serialization/types/PersonalizationEventBaseContextLibrary.d.ts +10 -0
  151. package/dist/cjs/serialization/types/PersonalizationEventBaseContextLibrary.js +42 -0
  152. package/dist/cjs/serialization/types/PersonalizationEventBaseType.d.ts +7 -0
  153. package/dist/cjs/serialization/types/PersonalizationEventBaseType.js +39 -0
  154. package/dist/cjs/serialization/types/PersonalizationIdentifyEvent.d.ts +29 -0
  155. package/dist/cjs/serialization/types/PersonalizationIdentifyEvent.js +61 -0
  156. package/dist/cjs/serialization/types/PersonalizationPageEvent.d.ts +30 -0
  157. package/dist/cjs/serialization/types/PersonalizationPageEvent.js +62 -0
  158. package/dist/cjs/serialization/types/PersonalizationPageEventProperties.d.ts +14 -0
  159. package/dist/cjs/serialization/types/PersonalizationPageEventProperties.js +47 -0
  160. package/dist/cjs/serialization/types/PersonalizationScreenEvent.d.ts +30 -0
  161. package/dist/cjs/serialization/types/PersonalizationScreenEvent.js +62 -0
  162. package/dist/cjs/serialization/types/PersonalizationScreenEventProperties.d.ts +10 -0
  163. package/dist/cjs/serialization/types/PersonalizationScreenEventProperties.js +43 -0
  164. package/dist/cjs/serialization/types/PersonalizationTrackEvent.d.ts +29 -0
  165. package/dist/cjs/serialization/types/PersonalizationTrackEvent.js +61 -0
  166. package/dist/cjs/serialization/types/ResolvedDestinationExperience.d.ts +13 -0
  167. package/dist/cjs/serialization/types/ResolvedDestinationExperience.js +45 -0
  168. package/dist/cjs/serialization/types/SitemapPath.d.ts +12 -0
  169. package/dist/cjs/serialization/types/SitemapPath.js +44 -0
  170. package/dist/cjs/serialization/types/SitemapPathSys.d.ts +9 -0
  171. package/dist/cjs/serialization/types/SitemapPathSys.js +41 -0
  172. package/dist/cjs/serialization/types/index.d.ts +34 -0
  173. package/dist/cjs/serialization/types/index.js +34 -0
  174. package/dist/cjs/version.d.ts +1 -1
  175. package/dist/cjs/version.js +1 -1
  176. package/dist/esm/BaseClient.mjs +2 -2
  177. package/dist/esm/Client.d.mts +3 -0
  178. package/dist/esm/Client.mjs +5 -0
  179. package/dist/esm/api/resources/destination/client/Client.d.mts +96 -0
  180. package/dist/esm/api/resources/destination/client/Client.mjs +364 -0
  181. package/dist/esm/api/resources/destination/client/index.d.mts +1 -0
  182. package/dist/esm/api/resources/destination/client/index.mjs +1 -0
  183. package/dist/esm/api/resources/destination/client/requests/DestinationExperiencesByNodeRequest.d.mts +8 -0
  184. package/dist/esm/api/resources/destination/client/requests/DestinationExperiencesByNodeRequest.mjs +2 -0
  185. package/dist/esm/api/resources/destination/client/requests/DestinationExperiencesByPathRequest.d.mts +12 -0
  186. package/dist/esm/api/resources/destination/client/requests/DestinationExperiencesByPathRequest.mjs +2 -0
  187. package/dist/esm/api/resources/destination/client/requests/SitemapDestinationRequest.d.mts +16 -0
  188. package/dist/esm/api/resources/destination/client/requests/SitemapDestinationRequest.mjs +2 -0
  189. package/dist/esm/api/resources/destination/client/requests/index.d.mts +3 -0
  190. package/dist/esm/api/resources/destination/client/requests/index.mjs +1 -0
  191. package/dist/esm/api/resources/destination/exports.d.mts +2 -0
  192. package/dist/esm/api/resources/destination/exports.mjs +3 -0
  193. package/dist/esm/api/resources/destination/index.d.mts +1 -0
  194. package/dist/esm/api/resources/destination/index.mjs +1 -0
  195. package/dist/esm/api/resources/index.d.mts +2 -0
  196. package/dist/esm/api/resources/index.mjs +2 -0
  197. package/dist/esm/api/types/ChildPath.d.mts +6 -0
  198. package/dist/esm/api/types/ChildPath.mjs +2 -0
  199. package/dist/esm/api/types/DestinationExperienceResolutionResponse.d.mts +5 -0
  200. package/dist/esm/api/types/DestinationExperienceResolutionResponse.mjs +2 -0
  201. package/dist/esm/api/types/DestinationExperiencesExtensions.d.mts +4 -0
  202. package/dist/esm/api/types/DestinationExperiencesExtensions.mjs +2 -0
  203. package/dist/esm/api/types/DestinationExperiencesExtensionsPersonalization.d.mts +5 -0
  204. package/dist/esm/api/types/DestinationExperiencesExtensionsPersonalization.mjs +2 -0
  205. package/dist/esm/api/types/DestinationExperiencesResponse.d.mts +4 -0
  206. package/dist/esm/api/types/DestinationExperiencesResponse.mjs +2 -0
  207. package/dist/esm/api/types/DestinationRedirectResponse.d.mts +4 -0
  208. package/dist/esm/api/types/DestinationRedirectResponse.mjs +2 -0
  209. package/dist/esm/api/types/DestinationRedirectResponseRedirect.d.mts +4 -0
  210. package/dist/esm/api/types/DestinationRedirectResponseRedirect.mjs +2 -0
  211. package/dist/esm/api/types/DestinationSitemap.d.mts +7 -0
  212. package/dist/esm/api/types/DestinationSitemap.mjs +2 -0
  213. package/dist/esm/api/types/DestinationSitemapPaths.d.mts +11 -0
  214. package/dist/esm/api/types/DestinationSitemapPaths.mjs +2 -0
  215. package/dist/esm/api/types/DestinationSitemapPathsPages.d.mts +7 -0
  216. package/dist/esm/api/types/DestinationSitemapPathsPages.mjs +2 -0
  217. package/dist/esm/api/types/DestinationSitemapPathsSys.d.mts +3 -0
  218. package/dist/esm/api/types/DestinationSitemapPathsSys.mjs +2 -0
  219. package/dist/esm/api/types/DestinationSitemapProperty.d.mts +7 -0
  220. package/dist/esm/api/types/DestinationSitemapProperty.mjs +2 -0
  221. package/dist/esm/api/types/DestinationSitemapPropertySys.d.mts +3 -0
  222. package/dist/esm/api/types/DestinationSitemapPropertySys.mjs +2 -0
  223. package/dist/esm/api/types/ErrorI18NContext.d.mts +5 -0
  224. package/dist/esm/api/types/ErrorI18NContext.mjs +2 -0
  225. package/dist/esm/api/types/ErrorSys.d.mts +5 -0
  226. package/dist/esm/api/types/ErrorSys.mjs +2 -0
  227. package/dist/esm/api/types/Error_.d.mts +12 -0
  228. package/dist/esm/api/types/Error_.mjs +2 -0
  229. package/dist/esm/api/types/HydratedExperience.d.mts +11 -0
  230. package/dist/esm/api/types/HydratedExperience.mjs +2 -0
  231. package/dist/esm/api/types/PersonalizationComponentEvent.d.mts +22 -0
  232. package/dist/esm/api/types/PersonalizationComponentEvent.mjs +2 -0
  233. package/dist/esm/api/types/PersonalizationEvent.d.mts +5 -0
  234. package/dist/esm/api/types/PersonalizationEvent.mjs +2 -0
  235. package/dist/esm/api/types/PersonalizationEventBase.d.mts +25 -0
  236. package/dist/esm/api/types/PersonalizationEventBase.mjs +2 -0
  237. package/dist/esm/api/types/PersonalizationEventBaseChannel.d.mts +7 -0
  238. package/dist/esm/api/types/PersonalizationEventBaseChannel.mjs +7 -0
  239. package/dist/esm/api/types/PersonalizationEventBaseComponentType.d.mts +5 -0
  240. package/dist/esm/api/types/PersonalizationEventBaseComponentType.mjs +5 -0
  241. package/dist/esm/api/types/PersonalizationEventBaseContext.d.mts +9 -0
  242. package/dist/esm/api/types/PersonalizationEventBaseContext.mjs +2 -0
  243. package/dist/esm/api/types/PersonalizationEventBaseContextLibrary.d.mts +4 -0
  244. package/dist/esm/api/types/PersonalizationEventBaseContextLibrary.mjs +2 -0
  245. package/dist/esm/api/types/PersonalizationEventBaseType.d.mts +8 -0
  246. package/dist/esm/api/types/PersonalizationEventBaseType.mjs +8 -0
  247. package/dist/esm/api/types/PersonalizationIdentifyEvent.d.mts +22 -0
  248. package/dist/esm/api/types/PersonalizationIdentifyEvent.mjs +2 -0
  249. package/dist/esm/api/types/PersonalizationPageEvent.d.mts +22 -0
  250. package/dist/esm/api/types/PersonalizationPageEvent.mjs +2 -0
  251. package/dist/esm/api/types/PersonalizationPageEventProperties.d.mts +9 -0
  252. package/dist/esm/api/types/PersonalizationPageEventProperties.mjs +2 -0
  253. package/dist/esm/api/types/PersonalizationScreenEvent.d.mts +22 -0
  254. package/dist/esm/api/types/PersonalizationScreenEvent.mjs +2 -0
  255. package/dist/esm/api/types/PersonalizationScreenEventProperties.d.mts +5 -0
  256. package/dist/esm/api/types/PersonalizationScreenEventProperties.mjs +2 -0
  257. package/dist/esm/api/types/PersonalizationTrackEvent.d.mts +22 -0
  258. package/dist/esm/api/types/PersonalizationTrackEvent.mjs +2 -0
  259. package/dist/esm/api/types/ResolvedDestinationExperience.d.mts +8 -0
  260. package/dist/esm/api/types/ResolvedDestinationExperience.mjs +2 -0
  261. package/dist/esm/api/types/SitemapPath.d.mts +11 -0
  262. package/dist/esm/api/types/SitemapPath.mjs +2 -0
  263. package/dist/esm/api/types/SitemapPathSys.d.mts +4 -0
  264. package/dist/esm/api/types/SitemapPathSys.mjs +2 -0
  265. package/dist/esm/api/types/index.d.mts +34 -0
  266. package/dist/esm/api/types/index.mjs +34 -0
  267. package/dist/esm/serialization/resources/destination/client/index.d.mts +1 -0
  268. package/dist/esm/serialization/resources/destination/client/index.mjs +1 -0
  269. package/dist/esm/serialization/resources/destination/client/requests/DestinationExperiencesByNodeRequest.d.mts +10 -0
  270. package/dist/esm/serialization/resources/destination/client/requests/DestinationExperiencesByNodeRequest.mjs +6 -0
  271. package/dist/esm/serialization/resources/destination/client/requests/DestinationExperiencesByPathRequest.d.mts +11 -0
  272. package/dist/esm/serialization/resources/destination/client/requests/DestinationExperiencesByPathRequest.mjs +7 -0
  273. package/dist/esm/serialization/resources/destination/client/requests/index.d.mts +2 -0
  274. package/dist/esm/serialization/resources/destination/client/requests/index.mjs +2 -0
  275. package/dist/esm/serialization/resources/destination/index.d.mts +1 -0
  276. package/dist/esm/serialization/resources/destination/index.mjs +1 -0
  277. package/dist/esm/serialization/resources/index.d.mts +2 -0
  278. package/dist/esm/serialization/resources/index.mjs +2 -0
  279. package/dist/esm/serialization/types/ChildPath.d.mts +9 -0
  280. package/dist/esm/serialization/types/ChildPath.mjs +5 -0
  281. package/dist/esm/serialization/types/DestinationExperienceResolutionResponse.d.mts +9 -0
  282. package/dist/esm/serialization/types/DestinationExperienceResolutionResponse.mjs +5 -0
  283. package/dist/esm/serialization/types/DestinationExperiencesExtensions.d.mts +10 -0
  284. package/dist/esm/serialization/types/DestinationExperiencesExtensions.mjs +6 -0
  285. package/dist/esm/serialization/types/DestinationExperiencesExtensionsPersonalization.d.mts +11 -0
  286. package/dist/esm/serialization/types/DestinationExperiencesExtensionsPersonalization.mjs +7 -0
  287. package/dist/esm/serialization/types/DestinationExperiencesResponse.d.mts +10 -0
  288. package/dist/esm/serialization/types/DestinationExperiencesResponse.mjs +6 -0
  289. package/dist/esm/serialization/types/DestinationRedirectResponse.d.mts +10 -0
  290. package/dist/esm/serialization/types/DestinationRedirectResponse.mjs +6 -0
  291. package/dist/esm/serialization/types/DestinationRedirectResponseRedirect.d.mts +9 -0
  292. package/dist/esm/serialization/types/DestinationRedirectResponseRedirect.mjs +5 -0
  293. package/dist/esm/serialization/types/DestinationSitemap.d.mts +12 -0
  294. package/dist/esm/serialization/types/DestinationSitemap.mjs +8 -0
  295. package/dist/esm/serialization/types/DestinationSitemapPaths.d.mts +15 -0
  296. package/dist/esm/serialization/types/DestinationSitemapPaths.mjs +11 -0
  297. package/dist/esm/serialization/types/DestinationSitemapPathsPages.d.mts +10 -0
  298. package/dist/esm/serialization/types/DestinationSitemapPathsPages.mjs +6 -0
  299. package/dist/esm/serialization/types/DestinationSitemapPathsSys.d.mts +9 -0
  300. package/dist/esm/serialization/types/DestinationSitemapPathsSys.mjs +5 -0
  301. package/dist/esm/serialization/types/DestinationSitemapProperty.d.mts +10 -0
  302. package/dist/esm/serialization/types/DestinationSitemapProperty.mjs +6 -0
  303. package/dist/esm/serialization/types/DestinationSitemapPropertySys.d.mts +9 -0
  304. package/dist/esm/serialization/types/DestinationSitemapPropertySys.mjs +5 -0
  305. package/dist/esm/serialization/types/ErrorI18NContext.d.mts +11 -0
  306. package/dist/esm/serialization/types/ErrorI18NContext.mjs +7 -0
  307. package/dist/esm/serialization/types/ErrorSys.d.mts +10 -0
  308. package/dist/esm/serialization/types/ErrorSys.mjs +6 -0
  309. package/dist/esm/serialization/types/Error_.d.mts +15 -0
  310. package/dist/esm/serialization/types/Error_.mjs +11 -0
  311. package/dist/esm/serialization/types/HydratedExperience.d.mts +14 -0
  312. package/dist/esm/serialization/types/HydratedExperience.mjs +10 -0
  313. package/dist/esm/serialization/types/PersonalizationComponentEvent.d.mts +29 -0
  314. package/dist/esm/serialization/types/PersonalizationComponentEvent.mjs +25 -0
  315. package/dist/esm/serialization/types/PersonalizationEvent.d.mts +12 -0
  316. package/dist/esm/serialization/types/PersonalizationEvent.mjs +14 -0
  317. package/dist/esm/serialization/types/PersonalizationEventBase.d.mts +30 -0
  318. package/dist/esm/serialization/types/PersonalizationEventBase.mjs +26 -0
  319. package/dist/esm/serialization/types/PersonalizationEventBaseChannel.d.mts +7 -0
  320. package/dist/esm/serialization/types/PersonalizationEventBaseChannel.mjs +3 -0
  321. package/dist/esm/serialization/types/PersonalizationEventBaseComponentType.d.mts +7 -0
  322. package/dist/esm/serialization/types/PersonalizationEventBaseComponentType.mjs +3 -0
  323. package/dist/esm/serialization/types/PersonalizationEventBaseContext.d.mts +11 -0
  324. package/dist/esm/serialization/types/PersonalizationEventBaseContext.mjs +8 -0
  325. package/dist/esm/serialization/types/PersonalizationEventBaseContextLibrary.d.mts +10 -0
  326. package/dist/esm/serialization/types/PersonalizationEventBaseContextLibrary.mjs +6 -0
  327. package/dist/esm/serialization/types/PersonalizationEventBaseType.d.mts +7 -0
  328. package/dist/esm/serialization/types/PersonalizationEventBaseType.mjs +3 -0
  329. package/dist/esm/serialization/types/PersonalizationIdentifyEvent.d.mts +29 -0
  330. package/dist/esm/serialization/types/PersonalizationIdentifyEvent.mjs +25 -0
  331. package/dist/esm/serialization/types/PersonalizationPageEvent.d.mts +30 -0
  332. package/dist/esm/serialization/types/PersonalizationPageEvent.mjs +26 -0
  333. package/dist/esm/serialization/types/PersonalizationPageEventProperties.d.mts +14 -0
  334. package/dist/esm/serialization/types/PersonalizationPageEventProperties.mjs +11 -0
  335. package/dist/esm/serialization/types/PersonalizationScreenEvent.d.mts +30 -0
  336. package/dist/esm/serialization/types/PersonalizationScreenEvent.mjs +26 -0
  337. package/dist/esm/serialization/types/PersonalizationScreenEventProperties.d.mts +10 -0
  338. package/dist/esm/serialization/types/PersonalizationScreenEventProperties.mjs +7 -0
  339. package/dist/esm/serialization/types/PersonalizationTrackEvent.d.mts +29 -0
  340. package/dist/esm/serialization/types/PersonalizationTrackEvent.mjs +25 -0
  341. package/dist/esm/serialization/types/ResolvedDestinationExperience.d.mts +13 -0
  342. package/dist/esm/serialization/types/ResolvedDestinationExperience.mjs +9 -0
  343. package/dist/esm/serialization/types/SitemapPath.d.mts +12 -0
  344. package/dist/esm/serialization/types/SitemapPath.mjs +8 -0
  345. package/dist/esm/serialization/types/SitemapPathSys.d.mts +9 -0
  346. package/dist/esm/serialization/types/SitemapPathSys.mjs +5 -0
  347. package/dist/esm/serialization/types/index.d.mts +34 -0
  348. package/dist/esm/serialization/types/index.mjs +34 -0
  349. package/dist/esm/version.d.mts +1 -1
  350. package/dist/esm/version.mjs +1 -1
  351. package/package.json +12 -1
  352. package/reference.md +275 -0
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_js_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "@contentful/experience-delivery",
47
- "X-Fern-SDK-Version": "0.0.0-fern-placeholder.6",
48
- "User-Agent": "@contentful/experience-delivery/0.0.0-fern-placeholder.6",
47
+ "X-Fern-SDK-Version": "0.0.0-fern-placeholder.7",
48
+ "User-Agent": "@contentful/experience-delivery/0.0.0-fern-placeholder.7",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "x-contentful-enable-alpha-feature": (_a = options === null || options === void 0 ? void 0 : options.xContentfulEnableAlphaFeature) !== null && _a !== void 0 ? _a : "new-exo-entity-types",
@@ -1,4 +1,5 @@
1
1
  import { ComponentClient } from "./api/resources/component/client/Client.js";
2
+ import { DestinationClient } from "./api/resources/destination/client/Client.js";
2
3
  import { ExperienceClient } from "./api/resources/experience/client/Client.js";
3
4
  import { ExperienceFragmentClient } from "./api/resources/experienceFragment/client/Client.js";
4
5
  import { FragmentClient } from "./api/resources/fragment/client/Client.js";
@@ -19,6 +20,7 @@ export declare class ContentfulViewDeliveryClient {
19
20
  protected _component: ComponentClient | undefined;
20
21
  protected _fragment: FragmentClient | undefined;
21
22
  protected _experienceFragment: ExperienceFragmentClient | undefined;
23
+ protected _destination: DestinationClient | undefined;
22
24
  protected _release: ReleaseClient | undefined;
23
25
  constructor(options: ContentfulViewDeliveryClient.Options);
24
26
  get experience(): ExperienceClient;
@@ -26,6 +28,7 @@ export declare class ContentfulViewDeliveryClient {
26
28
  get component(): ComponentClient;
27
29
  get fragment(): FragmentClient;
28
30
  get experienceFragment(): ExperienceFragmentClient;
31
+ get destination(): DestinationClient;
29
32
  get release(): ReleaseClient;
30
33
  /**
31
34
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -45,11 +45,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.ContentfulViewDeliveryClient = void 0;
47
47
  const Client_js_1 = require("./api/resources/component/client/Client.js");
48
- const Client_js_2 = require("./api/resources/experience/client/Client.js");
49
- const Client_js_3 = require("./api/resources/experienceFragment/client/Client.js");
50
- const Client_js_4 = require("./api/resources/fragment/client/Client.js");
51
- const Client_js_5 = require("./api/resources/release/client/Client.js");
52
- const Client_js_6 = require("./api/resources/template/client/Client.js");
48
+ const Client_js_2 = require("./api/resources/destination/client/Client.js");
49
+ const Client_js_3 = require("./api/resources/experience/client/Client.js");
50
+ const Client_js_4 = require("./api/resources/experienceFragment/client/Client.js");
51
+ const Client_js_5 = require("./api/resources/fragment/client/Client.js");
52
+ const Client_js_6 = require("./api/resources/release/client/Client.js");
53
+ const Client_js_7 = require("./api/resources/template/client/Client.js");
53
54
  const BaseClient_js_1 = require("./BaseClient.js");
54
55
  const core = __importStar(require("./core/index.js"));
55
56
  class ContentfulViewDeliveryClient {
@@ -58,11 +59,11 @@ class ContentfulViewDeliveryClient {
58
59
  }
59
60
  get experience() {
60
61
  var _a;
61
- return ((_a = this._experience) !== null && _a !== void 0 ? _a : (this._experience = new Client_js_2.ExperienceClient(this._options)));
62
+ return ((_a = this._experience) !== null && _a !== void 0 ? _a : (this._experience = new Client_js_3.ExperienceClient(this._options)));
62
63
  }
63
64
  get template() {
64
65
  var _a;
65
- return ((_a = this._template) !== null && _a !== void 0 ? _a : (this._template = new Client_js_6.TemplateClient(this._options)));
66
+ return ((_a = this._template) !== null && _a !== void 0 ? _a : (this._template = new Client_js_7.TemplateClient(this._options)));
66
67
  }
67
68
  get component() {
68
69
  var _a;
@@ -70,15 +71,19 @@ class ContentfulViewDeliveryClient {
70
71
  }
71
72
  get fragment() {
72
73
  var _a;
73
- return ((_a = this._fragment) !== null && _a !== void 0 ? _a : (this._fragment = new Client_js_4.FragmentClient(this._options)));
74
+ return ((_a = this._fragment) !== null && _a !== void 0 ? _a : (this._fragment = new Client_js_5.FragmentClient(this._options)));
74
75
  }
75
76
  get experienceFragment() {
76
77
  var _a;
77
- return ((_a = this._experienceFragment) !== null && _a !== void 0 ? _a : (this._experienceFragment = new Client_js_3.ExperienceFragmentClient(this._options)));
78
+ return ((_a = this._experienceFragment) !== null && _a !== void 0 ? _a : (this._experienceFragment = new Client_js_4.ExperienceFragmentClient(this._options)));
79
+ }
80
+ get destination() {
81
+ var _a;
82
+ return ((_a = this._destination) !== null && _a !== void 0 ? _a : (this._destination = new Client_js_2.DestinationClient(this._options)));
78
83
  }
79
84
  get release() {
80
85
  var _a;
81
- return ((_a = this._release) !== null && _a !== void 0 ? _a : (this._release = new Client_js_5.ReleaseClient(this._options)));
86
+ return ((_a = this._release) !== null && _a !== void 0 ? _a : (this._release = new Client_js_6.ReleaseClient(this._options)));
82
87
  }
83
88
  /**
84
89
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -0,0 +1,96 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as ContentfulViewDelivery from "../../../index.js";
5
+ export declare namespace DestinationClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class DestinationClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<DestinationClient.Options>;
12
+ constructor(options: DestinationClient.Options);
13
+ /**
14
+ * @param {string} spaceId - ID of the space.
15
+ * @param {string} destinationId - ID of the published Destination.
16
+ * @param {ContentfulViewDelivery.SitemapDestinationRequest} request
17
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
20
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
21
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
22
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
23
+ * @throws {@link ContentfulViewDelivery.ConflictError}
24
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
25
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
26
+ *
27
+ * @example
28
+ * await client.destination.sitemap("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", {
29
+ * limit: 1,
30
+ * pageNext: "pageNext",
31
+ * pagePrev: "pagePrev"
32
+ * })
33
+ */
34
+ sitemap(spaceId: string, destinationId: string, request?: ContentfulViewDelivery.SitemapDestinationRequest, requestOptions?: DestinationClient.RequestOptions): core.HttpResponsePromise<ContentfulViewDelivery.DestinationSitemap>;
35
+ private __sitemap;
36
+ /**
37
+ * @param {string} spaceId - ID of the space.
38
+ * @param {string} destinationId - ID of the published Destination.
39
+ * @param {string} nodeId - ID of the Destination Node to resolve.
40
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
43
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
44
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
45
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
46
+ * @throws {@link ContentfulViewDelivery.ConflictError}
47
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
48
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
49
+ *
50
+ * @example
51
+ * await client.destination.resolveByNodeId("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", "6BslKh9TdKGOK41VmLDjFZ")
52
+ */
53
+ resolveByNodeId(spaceId: string, destinationId: string, nodeId: string, requestOptions?: DestinationClient.RequestOptions): core.HttpResponsePromise<ContentfulViewDelivery.DestinationExperienceResolutionResponse>;
54
+ private __resolveByNodeId;
55
+ /**
56
+ * @param {string} spaceId - ID of the space.
57
+ * @param {string} destinationId - ID of the published Destination.
58
+ * @param {string} nodeId - ID of the Destination Node to resolve.
59
+ * @param {ContentfulViewDelivery.DestinationExperiencesByNodeRequest} request
60
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
63
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
64
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
65
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
66
+ * @throws {@link ContentfulViewDelivery.ConflictError}
67
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
68
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
69
+ *
70
+ * @example
71
+ * await client.destination.resolveByNodeIdWithOverrides("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", "6BslKh9TdKGOK41VmLDjFZ")
72
+ */
73
+ resolveByNodeIdWithOverrides(spaceId: string, destinationId: string, nodeId: string, request?: ContentfulViewDelivery.DestinationExperiencesByNodeRequest, requestOptions?: DestinationClient.RequestOptions): core.HttpResponsePromise<ContentfulViewDelivery.DestinationExperienceResolutionResponse>;
74
+ private __resolveByNodeIdWithOverrides;
75
+ /**
76
+ * @param {string} spaceId - ID of the space.
77
+ * @param {string} destinationId - ID of the published Destination.
78
+ * @param {ContentfulViewDelivery.DestinationExperiencesByPathRequest} request
79
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
80
+ *
81
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
82
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
83
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
84
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
85
+ * @throws {@link ContentfulViewDelivery.ConflictError}
86
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
87
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
88
+ *
89
+ * @example
90
+ * await client.destination.resolveByPath("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", {
91
+ * path: "/products"
92
+ * })
93
+ */
94
+ resolveByPath(spaceId: string, destinationId: string, request: ContentfulViewDelivery.DestinationExperiencesByPathRequest, requestOptions?: DestinationClient.RequestOptions): core.HttpResponsePromise<ContentfulViewDelivery.DestinationExperienceResolutionResponse>;
95
+ private __resolveByPath;
96
+ }
@@ -0,0 +1,401 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.DestinationClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../errors/index.js"));
53
+ const serializers = __importStar(require("../../../../serialization/index.js"));
54
+ const ContentfulViewDelivery = __importStar(require("../../../index.js"));
55
+ class DestinationClient {
56
+ constructor(options) {
57
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
58
+ }
59
+ /**
60
+ * @param {string} spaceId - ID of the space.
61
+ * @param {string} destinationId - ID of the published Destination.
62
+ * @param {ContentfulViewDelivery.SitemapDestinationRequest} request
63
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
66
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
67
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
68
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
69
+ * @throws {@link ContentfulViewDelivery.ConflictError}
70
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
71
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
72
+ *
73
+ * @example
74
+ * await client.destination.sitemap("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", {
75
+ * limit: 1,
76
+ * pageNext: "pageNext",
77
+ * pagePrev: "pagePrev"
78
+ * })
79
+ */
80
+ sitemap(spaceId, destinationId, request = {}, requestOptions) {
81
+ return core.HttpResponsePromise.fromPromise(this.__sitemap(spaceId, destinationId, request, requestOptions));
82
+ }
83
+ __sitemap(spaceId_1, destinationId_1) {
84
+ return __awaiter(this, arguments, void 0, function* (spaceId, destinationId, request = {}, requestOptions) {
85
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
86
+ const { limit, pageNext, pagePrev } = request;
87
+ const _queryParams = {
88
+ limit,
89
+ pageNext,
90
+ pagePrev,
91
+ };
92
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
93
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
94
+ "x-contentful-enable-alpha-feature": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.xContentfulEnableAlphaFeature) !== null && _b !== void 0 ? _b : "new-exo-entity-types",
95
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
+ const _response = yield core.fetcher({
97
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ContentfulViewDeliveryEnvironment.Default, `spaces/${core.url.encodePathParam(spaceId)}/destinations/${core.url.encodePathParam(destinationId)}/sitemap`),
98
+ method: "GET",
99
+ headers: _headers,
100
+ queryString: core.url
101
+ .queryBuilder()
102
+ .addMany(_queryParams)
103
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
104
+ .build(),
105
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
106
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
107
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
108
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
109
+ logging: this._options.logging,
110
+ });
111
+ if (_response.ok) {
112
+ return {
113
+ data: serializers.DestinationSitemap.parseOrThrow(_response.body, {
114
+ unrecognizedObjectKeys: "passthrough",
115
+ allowUnrecognizedUnionMembers: true,
116
+ allowUnrecognizedEnumValues: true,
117
+ skipValidation: true,
118
+ breadcrumbsPrefix: ["response"],
119
+ }),
120
+ rawResponse: _response.rawResponse,
121
+ };
122
+ }
123
+ if (_response.error.reason === "status-code") {
124
+ switch (_response.error.statusCode) {
125
+ case 400:
126
+ throw new ContentfulViewDelivery.BadRequestError(_response.error.body, _response.rawResponse);
127
+ case 401:
128
+ throw new ContentfulViewDelivery.UnauthorizedError(_response.error.body, _response.rawResponse);
129
+ case 403:
130
+ throw new ContentfulViewDelivery.ForbiddenError(_response.error.body, _response.rawResponse);
131
+ case 404:
132
+ throw new ContentfulViewDelivery.NotFoundError(_response.error.body, _response.rawResponse);
133
+ case 409:
134
+ throw new ContentfulViewDelivery.ConflictError(_response.error.body, _response.rawResponse);
135
+ case 422:
136
+ throw new ContentfulViewDelivery.UnprocessableEntityError(_response.error.body, _response.rawResponse);
137
+ case 500:
138
+ throw new ContentfulViewDelivery.InternalServerError(_response.error.body, _response.rawResponse);
139
+ default:
140
+ throw new errors.ContentfulViewDeliveryError({
141
+ statusCode: _response.error.statusCode,
142
+ body: _response.error.body,
143
+ rawResponse: _response.rawResponse,
144
+ });
145
+ }
146
+ }
147
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/spaces/{spaceId}/destinations/{destinationId}/sitemap");
148
+ });
149
+ }
150
+ /**
151
+ * @param {string} spaceId - ID of the space.
152
+ * @param {string} destinationId - ID of the published Destination.
153
+ * @param {string} nodeId - ID of the Destination Node to resolve.
154
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
155
+ *
156
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
157
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
158
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
159
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
160
+ * @throws {@link ContentfulViewDelivery.ConflictError}
161
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
162
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
163
+ *
164
+ * @example
165
+ * await client.destination.resolveByNodeId("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", "6BslKh9TdKGOK41VmLDjFZ")
166
+ */
167
+ resolveByNodeId(spaceId, destinationId, nodeId, requestOptions) {
168
+ return core.HttpResponsePromise.fromPromise(this.__resolveByNodeId(spaceId, destinationId, nodeId, requestOptions));
169
+ }
170
+ __resolveByNodeId(spaceId, destinationId, nodeId, requestOptions) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
173
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
174
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
175
+ "x-contentful-enable-alpha-feature": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.xContentfulEnableAlphaFeature) !== null && _b !== void 0 ? _b : "new-exo-entity-types",
176
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
177
+ const _response = yield core.fetcher({
178
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ContentfulViewDeliveryEnvironment.Default, `spaces/${core.url.encodePathParam(spaceId)}/destinations/${core.url.encodePathParam(destinationId)}/nodes/${core.url.encodePathParam(nodeId)}/experiences`),
179
+ method: "GET",
180
+ headers: _headers,
181
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
182
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
183
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
184
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
185
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
186
+ logging: this._options.logging,
187
+ });
188
+ if (_response.ok) {
189
+ return {
190
+ data: serializers.DestinationExperienceResolutionResponse.parseOrThrow(_response.body, {
191
+ unrecognizedObjectKeys: "passthrough",
192
+ allowUnrecognizedUnionMembers: true,
193
+ allowUnrecognizedEnumValues: true,
194
+ skipValidation: true,
195
+ breadcrumbsPrefix: ["response"],
196
+ }),
197
+ rawResponse: _response.rawResponse,
198
+ };
199
+ }
200
+ if (_response.error.reason === "status-code") {
201
+ switch (_response.error.statusCode) {
202
+ case 400:
203
+ throw new ContentfulViewDelivery.BadRequestError(_response.error.body, _response.rawResponse);
204
+ case 401:
205
+ throw new ContentfulViewDelivery.UnauthorizedError(_response.error.body, _response.rawResponse);
206
+ case 403:
207
+ throw new ContentfulViewDelivery.ForbiddenError(_response.error.body, _response.rawResponse);
208
+ case 404:
209
+ throw new ContentfulViewDelivery.NotFoundError(_response.error.body, _response.rawResponse);
210
+ case 409:
211
+ throw new ContentfulViewDelivery.ConflictError(_response.error.body, _response.rawResponse);
212
+ case 422:
213
+ throw new ContentfulViewDelivery.UnprocessableEntityError(_response.error.body, _response.rawResponse);
214
+ case 500:
215
+ throw new ContentfulViewDelivery.InternalServerError(_response.error.body, _response.rawResponse);
216
+ default:
217
+ throw new errors.ContentfulViewDeliveryError({
218
+ statusCode: _response.error.statusCode,
219
+ body: _response.error.body,
220
+ rawResponse: _response.rawResponse,
221
+ });
222
+ }
223
+ }
224
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/spaces/{spaceId}/destinations/{destinationId}/nodes/{nodeId}/experiences");
225
+ });
226
+ }
227
+ /**
228
+ * @param {string} spaceId - ID of the space.
229
+ * @param {string} destinationId - ID of the published Destination.
230
+ * @param {string} nodeId - ID of the Destination Node to resolve.
231
+ * @param {ContentfulViewDelivery.DestinationExperiencesByNodeRequest} request
232
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
233
+ *
234
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
235
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
236
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
237
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
238
+ * @throws {@link ContentfulViewDelivery.ConflictError}
239
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
240
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
241
+ *
242
+ * @example
243
+ * await client.destination.resolveByNodeIdWithOverrides("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", "6BslKh9TdKGOK41VmLDjFZ")
244
+ */
245
+ resolveByNodeIdWithOverrides(spaceId, destinationId, nodeId, request = {}, requestOptions) {
246
+ return core.HttpResponsePromise.fromPromise(this.__resolveByNodeIdWithOverrides(spaceId, destinationId, nodeId, request, requestOptions));
247
+ }
248
+ __resolveByNodeIdWithOverrides(spaceId_1, destinationId_1, nodeId_1) {
249
+ return __awaiter(this, arguments, void 0, function* (spaceId, destinationId, nodeId, request = {}, requestOptions) {
250
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
251
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
252
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
253
+ "x-contentful-enable-alpha-feature": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.xContentfulEnableAlphaFeature) !== null && _b !== void 0 ? _b : "new-exo-entity-types",
254
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
255
+ const _response = yield core.fetcher({
256
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ContentfulViewDeliveryEnvironment.Default, `spaces/${core.url.encodePathParam(spaceId)}/destinations/${core.url.encodePathParam(destinationId)}/nodes/${core.url.encodePathParam(nodeId)}/experiences`),
257
+ method: "POST",
258
+ headers: _headers,
259
+ contentType: "application/json",
260
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
261
+ requestType: "json",
262
+ body: serializers.DestinationExperiencesByNodeRequest.jsonOrThrow(request, {
263
+ unrecognizedObjectKeys: "passthrough",
264
+ allowUnrecognizedUnionMembers: true,
265
+ allowUnrecognizedEnumValues: true,
266
+ omitUndefined: true,
267
+ }),
268
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
269
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
270
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
271
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
272
+ logging: this._options.logging,
273
+ });
274
+ if (_response.ok) {
275
+ return {
276
+ data: serializers.DestinationExperienceResolutionResponse.parseOrThrow(_response.body, {
277
+ unrecognizedObjectKeys: "passthrough",
278
+ allowUnrecognizedUnionMembers: true,
279
+ allowUnrecognizedEnumValues: true,
280
+ skipValidation: true,
281
+ breadcrumbsPrefix: ["response"],
282
+ }),
283
+ rawResponse: _response.rawResponse,
284
+ };
285
+ }
286
+ if (_response.error.reason === "status-code") {
287
+ switch (_response.error.statusCode) {
288
+ case 400:
289
+ throw new ContentfulViewDelivery.BadRequestError(_response.error.body, _response.rawResponse);
290
+ case 401:
291
+ throw new ContentfulViewDelivery.UnauthorizedError(_response.error.body, _response.rawResponse);
292
+ case 403:
293
+ throw new ContentfulViewDelivery.ForbiddenError(_response.error.body, _response.rawResponse);
294
+ case 404:
295
+ throw new ContentfulViewDelivery.NotFoundError(_response.error.body, _response.rawResponse);
296
+ case 409:
297
+ throw new ContentfulViewDelivery.ConflictError(_response.error.body, _response.rawResponse);
298
+ case 422:
299
+ throw new ContentfulViewDelivery.UnprocessableEntityError(_response.error.body, _response.rawResponse);
300
+ case 500:
301
+ throw new ContentfulViewDelivery.InternalServerError(_response.error.body, _response.rawResponse);
302
+ default:
303
+ throw new errors.ContentfulViewDeliveryError({
304
+ statusCode: _response.error.statusCode,
305
+ body: _response.error.body,
306
+ rawResponse: _response.rawResponse,
307
+ });
308
+ }
309
+ }
310
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/spaces/{spaceId}/destinations/{destinationId}/nodes/{nodeId}/experiences");
311
+ });
312
+ }
313
+ /**
314
+ * @param {string} spaceId - ID of the space.
315
+ * @param {string} destinationId - ID of the published Destination.
316
+ * @param {ContentfulViewDelivery.DestinationExperiencesByPathRequest} request
317
+ * @param {DestinationClient.RequestOptions} requestOptions - Request-specific configuration.
318
+ *
319
+ * @throws {@link ContentfulViewDelivery.BadRequestError}
320
+ * @throws {@link ContentfulViewDelivery.UnauthorizedError}
321
+ * @throws {@link ContentfulViewDelivery.ForbiddenError}
322
+ * @throws {@link ContentfulViewDelivery.NotFoundError}
323
+ * @throws {@link ContentfulViewDelivery.ConflictError}
324
+ * @throws {@link ContentfulViewDelivery.UnprocessableEntityError}
325
+ * @throws {@link ContentfulViewDelivery.InternalServerError}
326
+ *
327
+ * @example
328
+ * await client.destination.resolveByPath("yadj1kx9rmg0", "4RqKkGJqLHpMiomHuILv5N", {
329
+ * path: "/products"
330
+ * })
331
+ */
332
+ resolveByPath(spaceId, destinationId, request, requestOptions) {
333
+ return core.HttpResponsePromise.fromPromise(this.__resolveByPath(spaceId, destinationId, request, requestOptions));
334
+ }
335
+ __resolveByPath(spaceId, destinationId, request, requestOptions) {
336
+ return __awaiter(this, void 0, void 0, function* () {
337
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
338
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
339
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
340
+ "x-contentful-enable-alpha-feature": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.xContentfulEnableAlphaFeature) !== null && _b !== void 0 ? _b : "new-exo-entity-types",
341
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
342
+ const _response = yield core.fetcher({
343
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ContentfulViewDeliveryEnvironment.Default, `spaces/${core.url.encodePathParam(spaceId)}/destinations/${core.url.encodePathParam(destinationId)}/experiences`),
344
+ method: "POST",
345
+ headers: _headers,
346
+ contentType: "application/json",
347
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
348
+ requestType: "json",
349
+ body: serializers.DestinationExperiencesByPathRequest.jsonOrThrow(request, {
350
+ unrecognizedObjectKeys: "passthrough",
351
+ allowUnrecognizedUnionMembers: true,
352
+ allowUnrecognizedEnumValues: true,
353
+ omitUndefined: true,
354
+ }),
355
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
356
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
357
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
358
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
359
+ logging: this._options.logging,
360
+ });
361
+ if (_response.ok) {
362
+ return {
363
+ data: serializers.DestinationExperienceResolutionResponse.parseOrThrow(_response.body, {
364
+ unrecognizedObjectKeys: "passthrough",
365
+ allowUnrecognizedUnionMembers: true,
366
+ allowUnrecognizedEnumValues: true,
367
+ skipValidation: true,
368
+ breadcrumbsPrefix: ["response"],
369
+ }),
370
+ rawResponse: _response.rawResponse,
371
+ };
372
+ }
373
+ if (_response.error.reason === "status-code") {
374
+ switch (_response.error.statusCode) {
375
+ case 400:
376
+ throw new ContentfulViewDelivery.BadRequestError(_response.error.body, _response.rawResponse);
377
+ case 401:
378
+ throw new ContentfulViewDelivery.UnauthorizedError(_response.error.body, _response.rawResponse);
379
+ case 403:
380
+ throw new ContentfulViewDelivery.ForbiddenError(_response.error.body, _response.rawResponse);
381
+ case 404:
382
+ throw new ContentfulViewDelivery.NotFoundError(_response.error.body, _response.rawResponse);
383
+ case 409:
384
+ throw new ContentfulViewDelivery.ConflictError(_response.error.body, _response.rawResponse);
385
+ case 422:
386
+ throw new ContentfulViewDelivery.UnprocessableEntityError(_response.error.body, _response.rawResponse);
387
+ case 500:
388
+ throw new ContentfulViewDelivery.InternalServerError(_response.error.body, _response.rawResponse);
389
+ default:
390
+ throw new errors.ContentfulViewDeliveryError({
391
+ statusCode: _response.error.statusCode,
392
+ body: _response.error.body,
393
+ rawResponse: _response.rawResponse,
394
+ });
395
+ }
396
+ }
397
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/spaces/{spaceId}/destinations/{destinationId}/experiences");
398
+ });
399
+ }
400
+ }
401
+ exports.DestinationClient = DestinationClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,8 @@
1
+ import type * as ContentfulViewDelivery from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface DestinationExperiencesByNodeRequest {
7
+ extensions?: ContentfulViewDelivery.DestinationExperiencesExtensions;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as ContentfulViewDelivery from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * path: "/products"
6
+ * }
7
+ */
8
+ export interface DestinationExperiencesByPathRequest {
9
+ /** Absolute path to resolve. Must start with `/`. */
10
+ path: string;
11
+ extensions?: ContentfulViewDelivery.DestinationExperiencesExtensions;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });