webflow-api 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/.mock/definition/__package__.yml +613 -214
  2. package/.mock/definition/accessGroups.yml +3 -3
  3. package/.mock/definition/assets.yml +10 -9
  4. package/.mock/definition/collections/fields.yml +16 -14
  5. package/.mock/definition/collections/items.yml +180 -63
  6. package/.mock/definition/collections.yml +6 -5
  7. package/.mock/definition/components.yml +486 -0
  8. package/.mock/definition/ecommerce.yml +2 -2
  9. package/.mock/definition/forms.yml +7 -6
  10. package/.mock/definition/inventory.yml +8 -6
  11. package/.mock/definition/orders.yml +11 -9
  12. package/.mock/definition/pages/scripts.yml +18 -17
  13. package/.mock/definition/pages.yml +91 -64
  14. package/.mock/definition/products.yml +9 -9
  15. package/.mock/definition/scripts.yml +12 -16
  16. package/.mock/definition/sites/activityLogs.yml +2 -2
  17. package/.mock/definition/sites/plans.yml +40 -0
  18. package/.mock/definition/sites/redirects.yml +190 -0
  19. package/.mock/definition/sites/scripts.yml +16 -21
  20. package/.mock/definition/sites.yml +202 -6
  21. package/.mock/definition/token.yml +5 -4
  22. package/.mock/definition/users.yml +8 -8
  23. package/.mock/definition/webhooks.yml +9 -9
  24. package/.mock/fern.config.json +1 -1
  25. package/Client.d.ts +3 -0
  26. package/Client.js +25 -20
  27. package/MIGRATION.md +32 -15
  28. package/api/errors/index.d.ts +1 -1
  29. package/api/errors/index.js +1 -1
  30. package/api/resources/accessGroups/client/Client.js +1 -1
  31. package/api/resources/assets/client/Client.d.ts +5 -0
  32. package/api/resources/assets/client/Client.js +13 -8
  33. package/api/resources/collections/client/Client.d.ts +3 -0
  34. package/api/resources/collections/client/Client.js +7 -4
  35. package/api/resources/collections/resources/fields/client/Client.js +3 -3
  36. package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
  37. package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  38. package/api/resources/collections/resources/items/client/Client.d.ts +13 -20
  39. package/api/resources/collections/resources/items/client/Client.js +31 -36
  40. package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  41. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
  42. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
  43. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  44. package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
  45. package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
  46. package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
  47. package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
  48. package/api/resources/collections/resources/items/types/index.d.ts +3 -3
  49. package/api/resources/collections/resources/items/types/index.js +3 -3
  50. package/api/resources/components/client/Client.d.ts +176 -0
  51. package/api/resources/components/client/Client.js +670 -0
  52. package/api/resources/components/client/index.d.ts +1 -0
  53. package/api/resources/components/client/index.js +17 -0
  54. package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  55. package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  56. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  57. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  58. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  59. package/api/resources/components/client/requests/index.d.ts +5 -0
  60. package/api/resources/components/client/requests/index.js +2 -0
  61. package/api/resources/components/index.d.ts +2 -0
  62. package/api/resources/components/index.js +18 -0
  63. package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  64. package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  65. package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  66. package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  67. package/api/resources/components/types/index.d.ts +4 -0
  68. package/api/resources/components/types/index.js +20 -0
  69. package/api/resources/ecommerce/client/Client.js +1 -1
  70. package/api/resources/forms/client/Client.d.ts +3 -0
  71. package/api/resources/forms/client/Client.js +8 -5
  72. package/api/resources/index.d.ts +3 -0
  73. package/api/resources/index.js +4 -1
  74. package/api/resources/inventory/client/Client.d.ts +3 -1
  75. package/api/resources/inventory/client/Client.js +5 -3
  76. package/api/resources/orders/client/Client.d.ts +3 -0
  77. package/api/resources/orders/client/Client.js +9 -6
  78. package/api/resources/pages/client/Client.d.ts +26 -10
  79. package/api/resources/pages/client/Client.js +32 -18
  80. package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  81. package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  82. package/api/resources/pages/client/requests/index.d.ts +1 -1
  83. package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
  84. package/api/resources/pages/resources/scripts/client/Client.js +11 -6
  85. package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  86. package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  87. package/api/resources/pages/types/index.d.ts +1 -1
  88. package/api/resources/pages/types/index.js +1 -1
  89. package/api/resources/products/client/Client.d.ts +5 -6
  90. package/api/resources/products/client/Client.js +11 -12
  91. package/api/resources/scripts/client/Client.d.ts +3 -3
  92. package/api/resources/scripts/client/Client.js +6 -6
  93. package/api/resources/sites/client/Client.d.ts +70 -0
  94. package/api/resources/sites/client/Client.js +330 -9
  95. package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  96. package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  97. package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  98. package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  99. package/api/resources/sites/client/requests/index.d.ts +2 -0
  100. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  101. package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  102. package/api/resources/sites/resources/index.d.ts +2 -0
  103. package/api/resources/sites/resources/index.js +3 -1
  104. package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
  105. package/api/resources/sites/resources/plans/client/Client.js +155 -0
  106. package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  107. package/api/resources/sites/resources/plans/client/index.js +2 -0
  108. package/api/resources/sites/resources/plans/index.d.ts +1 -0
  109. package/api/resources/sites/resources/plans/index.js +17 -0
  110. package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
  111. package/api/resources/sites/resources/redirects/client/Client.js +472 -0
  112. package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  113. package/api/resources/sites/resources/redirects/client/index.js +2 -0
  114. package/api/resources/sites/resources/redirects/index.d.ts +1 -0
  115. package/api/resources/sites/resources/redirects/index.js +17 -0
  116. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  117. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  118. package/api/resources/token/client/Client.d.ts +2 -1
  119. package/api/resources/token/client/Client.js +4 -3
  120. package/api/resources/users/client/Client.d.ts +1 -1
  121. package/api/resources/users/client/Client.js +6 -6
  122. package/api/resources/webhooks/client/Client.d.ts +4 -1
  123. package/api/resources/webhooks/client/Client.js +8 -5
  124. package/api/types/CollectionItem.d.ts +6 -2
  125. package/api/types/CollectionItemFieldData.d.ts +2 -2
  126. package/api/types/CollectionItemPatchSingle.d.ts +24 -0
  127. package/api/types/CollectionItemPatchSingle.js +5 -0
  128. package/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
  129. package/api/types/CollectionItemPatchSingleFieldData.js +5 -0
  130. package/api/types/CollectionItemPostSingle.d.ts +28 -0
  131. package/api/types/CollectionItemPostSingle.js +5 -0
  132. package/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
  133. package/api/types/CollectionItemPostSingleFieldData.js +5 -0
  134. package/api/types/Component.d.ts +18 -0
  135. package/api/types/Component.js +5 -0
  136. package/api/types/ComponentDom.d.ts +13 -0
  137. package/api/types/ComponentDom.js +5 -0
  138. package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  139. package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  140. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  141. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  142. package/api/types/ComponentList.d.ts +11 -0
  143. package/api/types/ComponentList.js +5 -0
  144. package/api/types/ComponentNode.d.ts +15 -0
  145. package/api/types/ComponentNode.js +5 -0
  146. package/api/types/ComponentProperties.d.ts +13 -0
  147. package/api/types/ComponentProperties.js +5 -0
  148. package/api/types/ComponentProperty.d.ts +17 -0
  149. package/api/types/ComponentProperty.js +5 -0
  150. package/api/types/ComponentPropertyType.d.ts +12 -0
  151. package/api/types/ComponentPropertyType.js +11 -0
  152. package/api/types/Dom.d.ts +1 -1
  153. package/api/types/Domain.d.ts +2 -0
  154. package/api/types/Error_.d.ts +1 -1
  155. package/api/types/FieldType.d.ts +10 -10
  156. package/api/types/FieldType.js +9 -9
  157. package/api/types/ImageNode.d.ts +6 -2
  158. package/api/types/ImageNodeImage.d.ts +7 -0
  159. package/api/types/ImageNodeImage.js +5 -0
  160. package/api/types/Node.d.ts +11 -8
  161. package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
  162. package/api/types/NotEnterprisePlanWorkspace.js +5 -0
  163. package/api/types/ProductFieldData.d.ts +1 -1
  164. package/api/types/Redirect.d.ts +14 -0
  165. package/api/types/Redirect.js +5 -0
  166. package/api/types/Redirects.d.ts +12 -0
  167. package/api/types/Redirects.js +5 -0
  168. package/api/types/ScriptApply.d.ts +1 -1
  169. package/api/types/SitePlan.d.ts +12 -0
  170. package/api/types/SitePlan.js +5 -0
  171. package/api/types/SitePlanId.d.ts +21 -0
  172. package/api/types/SitePlanId.js +20 -0
  173. package/api/types/SitePlanName.d.ts +15 -0
  174. package/api/types/SitePlanName.js +14 -0
  175. package/api/types/Text.d.ts +9 -0
  176. package/api/types/Text.js +5 -0
  177. package/api/types/TextNode.d.ts +7 -3
  178. package/api/types/TextNodeText.d.ts +9 -0
  179. package/api/types/TextNodeText.js +5 -0
  180. package/{dist/api/resources/pages/types/DomWriteNodesItem.d.ts → api/types/TextNodeWrite.d.ts} +4 -1
  181. package/api/types/TextNodeWrite.js +5 -0
  182. package/api/types/TriggerType.d.ts +15 -15
  183. package/api/types/UserAccessGroupsItem.d.ts +2 -3
  184. package/api/types/UserAccessGroupsItemType.d.ts +2 -3
  185. package/api/types/index.d.ts +27 -6
  186. package/api/types/index.js +27 -6
  187. package/dist/Client.d.ts +3 -0
  188. package/dist/Client.js +25 -20
  189. package/dist/api/errors/index.d.ts +1 -1
  190. package/dist/api/errors/index.js +1 -1
  191. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  192. package/dist/api/resources/assets/client/Client.d.ts +5 -0
  193. package/dist/api/resources/assets/client/Client.js +13 -8
  194. package/dist/api/resources/collections/client/Client.d.ts +3 -0
  195. package/dist/api/resources/collections/client/Client.js +7 -4
  196. package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
  197. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
  198. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  199. package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -20
  200. package/dist/api/resources/collections/resources/items/client/Client.js +31 -36
  201. package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  202. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
  203. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
  204. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  205. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
  206. package/dist/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
  207. package/dist/api/resources/collections/resources/items/types/MultipleItems.js +5 -0
  208. package/{api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
  209. package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
  210. package/dist/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
  211. package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +5 -0
  212. package/dist/api/resources/collections/resources/items/types/index.d.ts +3 -3
  213. package/dist/api/resources/collections/resources/items/types/index.js +3 -3
  214. package/dist/api/resources/components/client/Client.d.ts +176 -0
  215. package/dist/api/resources/components/client/Client.js +670 -0
  216. package/dist/api/resources/components/client/index.d.ts +1 -0
  217. package/dist/api/resources/components/client/index.js +17 -0
  218. package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  219. package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
  220. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  221. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
  222. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  223. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
  224. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  225. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
  226. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  227. package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
  228. package/dist/api/resources/components/client/requests/index.d.ts +5 -0
  229. package/dist/api/resources/components/client/requests/index.js +2 -0
  230. package/dist/api/resources/components/index.d.ts +2 -0
  231. package/dist/api/resources/components/index.js +18 -0
  232. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  233. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
  234. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  235. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
  236. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  237. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
  238. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  239. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
  240. package/dist/api/resources/components/types/index.d.ts +4 -0
  241. package/dist/api/resources/components/types/index.js +20 -0
  242. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  243. package/dist/api/resources/forms/client/Client.d.ts +3 -0
  244. package/dist/api/resources/forms/client/Client.js +8 -5
  245. package/dist/api/resources/index.d.ts +3 -0
  246. package/dist/api/resources/index.js +4 -1
  247. package/dist/api/resources/inventory/client/Client.d.ts +3 -1
  248. package/dist/api/resources/inventory/client/Client.js +5 -3
  249. package/dist/api/resources/orders/client/Client.d.ts +3 -0
  250. package/dist/api/resources/orders/client/Client.js +9 -6
  251. package/dist/api/resources/pages/client/Client.d.ts +26 -10
  252. package/dist/api/resources/pages/client/Client.js +32 -18
  253. package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  254. package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  255. package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
  256. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
  257. package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
  258. package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  259. package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  260. package/dist/api/resources/pages/types/index.d.ts +1 -1
  261. package/dist/api/resources/pages/types/index.js +1 -1
  262. package/dist/api/resources/products/client/Client.d.ts +5 -6
  263. package/dist/api/resources/products/client/Client.js +11 -12
  264. package/dist/api/resources/scripts/client/Client.d.ts +3 -3
  265. package/dist/api/resources/scripts/client/Client.js +6 -6
  266. package/dist/api/resources/sites/client/Client.d.ts +70 -0
  267. package/dist/api/resources/sites/client/Client.js +330 -9
  268. package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  269. package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  270. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  271. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  272. package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
  273. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  274. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  275. package/dist/api/resources/sites/resources/index.d.ts +2 -0
  276. package/dist/api/resources/sites/resources/index.js +3 -1
  277. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
  278. package/dist/api/resources/sites/resources/plans/client/Client.js +155 -0
  279. package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  280. package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
  281. package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
  282. package/dist/api/resources/sites/resources/plans/index.js +17 -0
  283. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
  284. package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -0
  285. package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  286. package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
  287. package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
  288. package/dist/api/resources/sites/resources/redirects/index.js +17 -0
  289. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  290. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  291. package/dist/api/resources/token/client/Client.d.ts +2 -1
  292. package/dist/api/resources/token/client/Client.js +4 -3
  293. package/dist/api/resources/users/client/Client.d.ts +1 -1
  294. package/dist/api/resources/users/client/Client.js +6 -6
  295. package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
  296. package/dist/api/resources/webhooks/client/Client.js +8 -5
  297. package/dist/api/types/CollectionItem.d.ts +6 -2
  298. package/dist/api/types/CollectionItemFieldData.d.ts +2 -2
  299. package/dist/api/types/CollectionItemPatchSingle.d.ts +24 -0
  300. package/dist/api/types/CollectionItemPatchSingle.js +5 -0
  301. package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
  302. package/dist/api/types/CollectionItemPatchSingleFieldData.js +5 -0
  303. package/dist/api/types/CollectionItemPostSingle.d.ts +28 -0
  304. package/dist/api/types/CollectionItemPostSingle.js +5 -0
  305. package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
  306. package/dist/api/types/CollectionItemPostSingleFieldData.js +5 -0
  307. package/dist/api/types/Component.d.ts +18 -0
  308. package/dist/api/types/Component.js +5 -0
  309. package/dist/api/types/ComponentDom.d.ts +13 -0
  310. package/dist/api/types/ComponentDom.js +5 -0
  311. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  312. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  313. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  314. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  315. package/dist/api/types/ComponentList.d.ts +11 -0
  316. package/dist/api/types/ComponentList.js +5 -0
  317. package/dist/api/types/ComponentNode.d.ts +15 -0
  318. package/dist/api/types/ComponentNode.js +5 -0
  319. package/dist/api/types/ComponentProperties.d.ts +13 -0
  320. package/dist/api/types/ComponentProperties.js +5 -0
  321. package/dist/api/types/ComponentProperty.d.ts +17 -0
  322. package/dist/api/types/ComponentProperty.js +5 -0
  323. package/dist/api/types/ComponentPropertyType.d.ts +12 -0
  324. package/dist/api/types/ComponentPropertyType.js +11 -0
  325. package/dist/api/types/Dom.d.ts +1 -1
  326. package/dist/api/types/Domain.d.ts +2 -0
  327. package/dist/api/types/Error_.d.ts +1 -1
  328. package/dist/api/types/FieldType.d.ts +10 -10
  329. package/dist/api/types/FieldType.js +9 -9
  330. package/dist/api/types/ImageNode.d.ts +6 -2
  331. package/dist/api/types/ImageNodeImage.d.ts +7 -0
  332. package/dist/api/types/ImageNodeImage.js +5 -0
  333. package/dist/api/types/Node.d.ts +11 -8
  334. package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
  335. package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
  336. package/dist/api/types/ProductFieldData.d.ts +1 -1
  337. package/dist/api/types/Redirect.d.ts +14 -0
  338. package/dist/api/types/Redirect.js +5 -0
  339. package/dist/api/types/Redirects.d.ts +12 -0
  340. package/dist/api/types/Redirects.js +5 -0
  341. package/dist/api/types/ScriptApply.d.ts +1 -1
  342. package/dist/api/types/SitePlan.d.ts +12 -0
  343. package/dist/api/types/SitePlan.js +5 -0
  344. package/dist/api/types/SitePlanId.d.ts +21 -0
  345. package/dist/api/types/SitePlanId.js +20 -0
  346. package/dist/api/types/SitePlanName.d.ts +15 -0
  347. package/dist/api/types/SitePlanName.js +14 -0
  348. package/dist/api/types/Text.d.ts +9 -0
  349. package/dist/api/types/Text.js +5 -0
  350. package/dist/api/types/TextNode.d.ts +7 -3
  351. package/dist/api/types/TextNodeText.d.ts +9 -0
  352. package/dist/api/types/TextNodeText.js +5 -0
  353. package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts} +4 -1
  354. package/dist/api/types/TextNodeWrite.js +5 -0
  355. package/dist/api/types/TriggerType.d.ts +15 -15
  356. package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
  357. package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
  358. package/dist/api/types/index.d.ts +27 -6
  359. package/dist/api/types/index.js +27 -6
  360. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
  361. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  362. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  363. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
  364. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  365. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  366. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  367. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  368. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
  369. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
  370. package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
  371. package/{serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → dist/serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
  372. package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
  373. package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
  374. package/dist/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
  375. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
  376. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
  377. package/dist/serialization/resources/collections/resources/items/types/index.js +3 -3
  378. package/dist/serialization/resources/components/client/index.d.ts +1 -0
  379. package/dist/serialization/resources/components/client/index.js +17 -0
  380. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  381. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  382. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  383. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  384. package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
  385. package/dist/serialization/resources/components/client/requests/index.js +7 -0
  386. package/dist/serialization/resources/components/index.d.ts +2 -0
  387. package/dist/serialization/resources/components/index.js +18 -0
  388. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  389. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  390. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  391. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  392. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  393. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  394. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  395. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  396. package/dist/serialization/resources/components/types/index.d.ts +4 -0
  397. package/dist/serialization/resources/components/types/index.js +20 -0
  398. package/dist/serialization/resources/index.d.ts +3 -0
  399. package/dist/serialization/resources/index.js +4 -1
  400. package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  401. package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  402. package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
  403. package/dist/serialization/resources/pages/client/requests/index.js +3 -3
  404. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  405. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  406. package/dist/serialization/resources/pages/types/index.d.ts +1 -1
  407. package/dist/serialization/resources/pages/types/index.js +1 -1
  408. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  409. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  410. package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  411. package/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
  412. package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
  413. package/dist/serialization/resources/sites/client/requests/index.js +5 -1
  414. package/dist/serialization/types/CollectionItem.d.ts +1 -1
  415. package/dist/serialization/types/CollectionItem.js +1 -1
  416. package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
  417. package/dist/serialization/types/CollectionItemFieldData.js +2 -2
  418. package/dist/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
  419. package/dist/serialization/types/CollectionItemPatchSingle.js +41 -0
  420. package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
  421. package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
  422. package/dist/serialization/types/CollectionItemPostSingle.d.ts +20 -0
  423. package/dist/serialization/types/CollectionItemPostSingle.js +41 -0
  424. package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
  425. package/dist/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
  426. package/dist/serialization/types/Component.d.ts +16 -0
  427. package/dist/serialization/types/Component.js +37 -0
  428. package/dist/serialization/types/ComponentDom.d.ts +16 -0
  429. package/dist/serialization/types/ComponentDom.js +37 -0
  430. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  431. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  432. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  433. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  434. package/dist/serialization/types/ComponentList.d.ts +15 -0
  435. package/dist/serialization/types/ComponentList.js +36 -0
  436. package/dist/serialization/types/ComponentNode.d.ts +15 -0
  437. package/dist/serialization/types/ComponentNode.js +36 -0
  438. package/dist/serialization/types/ComponentProperties.d.ts +16 -0
  439. package/dist/serialization/types/ComponentProperties.js +37 -0
  440. package/dist/serialization/types/ComponentProperty.d.ts +17 -0
  441. package/dist/serialization/types/ComponentProperty.js +38 -0
  442. package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
  443. package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
  444. package/dist/serialization/types/Domain.d.ts +1 -0
  445. package/dist/serialization/types/Domain.js +1 -0
  446. package/dist/serialization/types/Error_.d.ts +1 -2
  447. package/dist/serialization/types/Error_.js +1 -2
  448. package/dist/serialization/types/FieldType.d.ts +1 -1
  449. package/dist/serialization/types/FieldType.js +9 -9
  450. package/dist/serialization/types/ImageNode.d.ts +4 -2
  451. package/dist/serialization/types/ImageNode.js +4 -2
  452. package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
  453. package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
  454. package/dist/serialization/types/Node.d.ts +11 -8
  455. package/dist/serialization/types/Node.js +10 -7
  456. package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  457. package/dist/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
  458. package/dist/serialization/types/Redirect.d.ts +14 -0
  459. package/dist/serialization/types/Redirect.js +35 -0
  460. package/dist/serialization/types/Redirects.d.ts +15 -0
  461. package/dist/serialization/types/Redirects.js +36 -0
  462. package/dist/serialization/types/SitePlan.d.ts +16 -0
  463. package/dist/serialization/types/SitePlan.js +37 -0
  464. package/dist/serialization/types/SitePlanId.d.ts +10 -0
  465. package/dist/serialization/types/SitePlanId.js +44 -0
  466. package/dist/serialization/types/SitePlanName.d.ts +10 -0
  467. package/dist/serialization/types/SitePlanName.js +38 -0
  468. package/dist/serialization/types/Text.d.ts +13 -0
  469. package/dist/serialization/types/Text.js +34 -0
  470. package/dist/serialization/types/TextNode.d.ts +4 -2
  471. package/dist/serialization/types/TextNode.js +4 -2
  472. package/dist/serialization/types/TextNodeText.d.ts +13 -0
  473. package/dist/serialization/types/TextNodeText.js +34 -0
  474. package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
  475. package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
  476. package/dist/serialization/types/index.d.ts +27 -6
  477. package/dist/serialization/types/index.js +27 -6
  478. package/dist/version.d.ts +1 -1
  479. package/dist/version.js +1 -1
  480. package/package.json +1 -1
  481. package/reference.md +1844 -788
  482. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
  483. package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  484. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  485. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
  486. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  487. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  488. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  489. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  490. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
  491. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
  492. package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
  493. package/{dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
  494. package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
  495. package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
  496. package/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
  497. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
  498. package/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
  499. package/serialization/resources/collections/resources/items/types/index.js +3 -3
  500. package/serialization/resources/components/client/index.d.ts +1 -0
  501. package/serialization/resources/components/client/index.js +17 -0
  502. package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  503. package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  504. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  505. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  506. package/serialization/resources/components/client/requests/index.d.ts +2 -0
  507. package/serialization/resources/components/client/requests/index.js +7 -0
  508. package/serialization/resources/components/index.d.ts +2 -0
  509. package/serialization/resources/components/index.js +18 -0
  510. package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  511. package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  512. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  513. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  514. package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  515. package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  516. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  517. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  518. package/serialization/resources/components/types/index.d.ts +4 -0
  519. package/serialization/resources/components/types/index.js +20 -0
  520. package/serialization/resources/index.d.ts +3 -0
  521. package/serialization/resources/index.js +4 -1
  522. package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  523. package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  524. package/serialization/resources/pages/client/requests/index.d.ts +1 -1
  525. package/serialization/resources/pages/client/requests/index.js +3 -3
  526. package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  527. package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  528. package/serialization/resources/pages/types/index.d.ts +1 -1
  529. package/serialization/resources/pages/types/index.js +1 -1
  530. package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  531. package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  532. package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  533. package/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
  534. package/serialization/resources/sites/client/requests/index.d.ts +2 -0
  535. package/serialization/resources/sites/client/requests/index.js +5 -1
  536. package/serialization/types/CollectionItem.d.ts +1 -1
  537. package/serialization/types/CollectionItem.js +1 -1
  538. package/serialization/types/CollectionItemFieldData.d.ts +2 -2
  539. package/serialization/types/CollectionItemFieldData.js +2 -2
  540. package/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
  541. package/serialization/types/CollectionItemPatchSingle.js +41 -0
  542. package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
  543. package/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
  544. package/serialization/types/CollectionItemPostSingle.d.ts +20 -0
  545. package/serialization/types/CollectionItemPostSingle.js +41 -0
  546. package/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
  547. package/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
  548. package/serialization/types/Component.d.ts +16 -0
  549. package/serialization/types/Component.js +37 -0
  550. package/serialization/types/ComponentDom.d.ts +16 -0
  551. package/serialization/types/ComponentDom.js +37 -0
  552. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  553. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  554. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  555. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  556. package/serialization/types/ComponentList.d.ts +15 -0
  557. package/serialization/types/ComponentList.js +36 -0
  558. package/serialization/types/ComponentNode.d.ts +15 -0
  559. package/serialization/types/ComponentNode.js +36 -0
  560. package/serialization/types/ComponentProperties.d.ts +16 -0
  561. package/serialization/types/ComponentProperties.js +37 -0
  562. package/serialization/types/ComponentProperty.d.ts +17 -0
  563. package/serialization/types/ComponentProperty.js +38 -0
  564. package/serialization/types/ComponentPropertyType.d.ts +10 -0
  565. package/serialization/types/ComponentPropertyType.js +31 -0
  566. package/serialization/types/Domain.d.ts +1 -0
  567. package/serialization/types/Domain.js +1 -0
  568. package/serialization/types/Error_.d.ts +1 -2
  569. package/serialization/types/Error_.js +1 -2
  570. package/serialization/types/FieldType.d.ts +1 -1
  571. package/serialization/types/FieldType.js +9 -9
  572. package/serialization/types/ImageNode.d.ts +4 -2
  573. package/serialization/types/ImageNode.js +4 -2
  574. package/serialization/types/ImageNodeImage.d.ts +13 -0
  575. package/serialization/types/ImageNodeImage.js +34 -0
  576. package/serialization/types/Node.d.ts +11 -8
  577. package/serialization/types/Node.js +10 -7
  578. package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  579. package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
  580. package/serialization/types/Redirect.d.ts +14 -0
  581. package/serialization/types/Redirect.js +35 -0
  582. package/serialization/types/Redirects.d.ts +15 -0
  583. package/serialization/types/Redirects.js +36 -0
  584. package/serialization/types/SitePlan.d.ts +16 -0
  585. package/serialization/types/SitePlan.js +37 -0
  586. package/serialization/types/SitePlanId.d.ts +10 -0
  587. package/serialization/types/SitePlanId.js +44 -0
  588. package/serialization/types/SitePlanName.d.ts +10 -0
  589. package/serialization/types/SitePlanName.js +38 -0
  590. package/serialization/types/Text.d.ts +13 -0
  591. package/serialization/types/Text.js +34 -0
  592. package/serialization/types/TextNode.d.ts +4 -2
  593. package/serialization/types/TextNode.js +4 -2
  594. package/serialization/types/TextNodeText.d.ts +13 -0
  595. package/serialization/types/TextNodeText.js +34 -0
  596. package/serialization/types/TextNodeWrite.d.ts +13 -0
  597. package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
  598. package/serialization/types/index.d.ts +27 -6
  599. package/serialization/types/index.js +27 -6
  600. package/version.d.ts +1 -1
  601. package/version.js +1 -1
  602. package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  603. package/api/types/NodeType.d.ts +0 -8
  604. package/api/types/NodeType.js +0 -10
  605. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  606. package/dist/api/types/NodeType.d.ts +0 -8
  607. package/dist/api/types/NodeType.js +0 -10
  608. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
  609. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  610. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  611. package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
  612. package/dist/serialization/types/NodeType.d.ts +0 -10
  613. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
  614. package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  615. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  616. package/serialization/types/ErrorDetailsItem.d.ts +0 -10
  617. package/serialization/types/NodeType.d.ts +0 -10
  618. /package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.js → MultipleItems.js} +0 -0
  619. /package/api/resources/collections/resources/items/types/{ItemsCreateItemLiveRequestItems.js → MultipleLiveItems.js} +0 -0
  620. /package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → SingleCmsItem.js} +0 -0
  621. /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
  622. /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
  623. /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
  624. /package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
  625. /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
  626. /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
  627. /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
  628. /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentsUpdateContentResponse.js} +0 -0
  629. /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentsUpdatePropertiesResponse.js} +0 -0
@@ -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"), exports);
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * localeId: "65427cf400e02b306eaa04a0",
9
+ * nodes: [{
10
+ * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
11
+ * text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
12
+ * }, {
13
+ * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
14
+ * text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
15
+ * }, {
16
+ * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
17
+ * propertyOverrides: [{
18
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0",
19
+ * text: "<div><h1>Time is an <em>illusion</em></h1></div>"
20
+ * }, {
21
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f1",
22
+ * text: "Life, the Universe and Everything"
23
+ * }]
24
+ * }]
25
+ * }
26
+ */
27
+ export interface ComponentDomWrite {
28
+ /**
29
+ * Unique identifier for a specific locale. Applicable, when using localization.
30
+ */
31
+ localeId?: string;
32
+ /** List of DOM Nodes with the new content that will be updated in each node. */
33
+ nodes: Webflow.ComponentDomWriteNodesItem[];
34
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * localeId: "65427cf400e02b306eaa04a0",
9
+ * properties: [{
10
+ * propertyId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
11
+ * text: "The Hitchhiker\u2019s Guide to the Galaxy"
12
+ * }, {
13
+ * propertyId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
14
+ * text: "<div><h3>Dont Panic!</h3><p>Always know where your towel is.</p></div>"
15
+ * }]
16
+ * }
17
+ */
18
+ export interface ComponentPropertiesWrite {
19
+ /**
20
+ * Unique identifier for a specific locale. Applicable, when using localization.
21
+ */
22
+ localeId?: string;
23
+ /** A list of component properties to update within the specified secondary locale. */
24
+ properties: Webflow.ComponentPropertiesWritePropertiesItem[];
25
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * localeId: "65427cf400e02b306eaa04a0"
8
+ * }
9
+ *
10
+ * @example
11
+ * {
12
+ * localeId: "65427cf400e02b306eaa04a0"
13
+ * }
14
+ */
15
+ export interface ComponentsGetContentRequest {
16
+ /**
17
+ * Unique identifier for a specific locale. Applicable, when using localization.
18
+ */
19
+ localeId?: string;
20
+ /**
21
+ * Maximum number of records to be returned (max limit: 100)
22
+ */
23
+ limit?: number;
24
+ /**
25
+ * Offset used for pagination if the results have more than limit records
26
+ */
27
+ offset?: number;
28
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * localeId: "65427cf400e02b306eaa04a0"
8
+ * }
9
+ */
10
+ export interface ComponentsGetPropertiesRequest {
11
+ /**
12
+ * Unique identifier for a specific locale. Applicable, when using localization.
13
+ */
14
+ localeId?: string;
15
+ /**
16
+ * Maximum number of records to be returned (max limit: 100)
17
+ */
18
+ limit?: number;
19
+ /**
20
+ * Offset used for pagination if the results have more than limit records
21
+ */
22
+ offset?: number;
23
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ComponentsListRequest {
9
+ /**
10
+ * Maximum number of records to be returned (max limit: 100)
11
+ */
12
+ limit?: number;
13
+ /**
14
+ * Offset used for pagination if the results have more than limit records
15
+ */
16
+ offset?: number;
17
+ }
@@ -0,0 +1,5 @@
1
+ export { type ComponentsListRequest } from "./ComponentsListRequest";
2
+ export { type ComponentsGetContentRequest } from "./ComponentsGetContentRequest";
3
+ export { type ComponentDomWrite } from "./ComponentDomWrite";
4
+ export { type ComponentsGetPropertiesRequest } from "./ComponentsGetPropertiesRequest";
5
+ export { type ComponentPropertiesWrite } from "./ComponentPropertiesWrite";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "../../../index";
5
+ export declare type ComponentDomWriteNodesItem = Webflow.TextNodeWrite | Webflow.ComponentInstanceNodePropertyOverridesWrite;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ComponentPropertiesWritePropertiesItem {
5
+ /** The ID of the property. */
6
+ propertyId: string;
7
+ /**
8
+ * The new string or HTML value used to update the component property in the secondary locale.
9
+ *
10
+ * The provided value must be compatible with the type of the component property.
11
+ *
12
+ * For example, attempting to update a single-line plain-text property with a multi-line
13
+ * value will result in an error.
14
+ */
15
+ text: string;
16
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ComponentsUpdateContentResponse {
5
+ /** A list of error messages, if any. */
6
+ errors: string[];
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ComponentsUpdatePropertiesResponse {
5
+ /** A list of error messages, if any. */
6
+ errors: string[];
7
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./ComponentDomWriteNodesItem";
2
+ export * from "./ComponentsUpdateContentResponse";
3
+ export * from "./ComponentPropertiesWritePropertiesItem";
4
+ export * from "./ComponentsUpdatePropertiesResponse";
@@ -0,0 +1,20 @@
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("./ComponentDomWriteNodesItem"), exports);
18
+ __exportStar(require("./ComponentsUpdateContentResponse"), exports);
19
+ __exportStar(require("./ComponentPropertiesWritePropertiesItem"), exports);
20
+ __exportStar(require("./ComponentsUpdatePropertiesResponse"), exports);
@@ -74,7 +74,7 @@ class Ecommerce {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/ecommerce/settings`),
76
76
  method: "GET",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -20,6 +20,9 @@ export declare namespace Forms {
20
20
  headers?: Record<string, string>;
21
21
  }
22
22
  }
23
+ /**
24
+ * Forms are forms that are created on your Webflow site.
25
+ */
23
26
  export declare class Forms {
24
27
  protected readonly _options: Forms.Options;
25
28
  constructor(_options: Forms.Options);
@@ -45,6 +45,9 @@ const Webflow = __importStar(require("../../../index"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const serializers = __importStar(require("../../../../serialization/index"));
47
47
  const errors = __importStar(require("../../../../errors/index"));
48
+ /**
49
+ * Forms are forms that are created on your Webflow site.
50
+ */
48
51
  class Forms {
49
52
  constructor(_options) {
50
53
  this._options = _options;
@@ -83,7 +86,7 @@ class Forms {
83
86
  const _response = yield core.fetcher({
84
87
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/forms`),
85
88
  method: "GET",
86
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
90
  contentType: "application/json",
88
91
  queryParameters: _queryParams,
89
92
  requestType: "json",
@@ -186,7 +189,7 @@ class Forms {
186
189
  const _response = yield core.fetcher({
187
190
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `forms/${encodeURIComponent(formId)}`),
188
191
  method: "GET",
189
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
190
193
  contentType: "application/json",
191
194
  requestType: "json",
192
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -295,7 +298,7 @@ class Forms {
295
298
  const _response = yield core.fetcher({
296
299
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `forms/${encodeURIComponent(formId)}/submissions`),
297
300
  method: "GET",
298
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
302
  contentType: "application/json",
300
303
  queryParameters: _queryParams,
301
304
  requestType: "json",
@@ -396,7 +399,7 @@ class Forms {
396
399
  const _response = yield core.fetcher({
397
400
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `form_submissions/${encodeURIComponent(formSubmissionId)}`),
398
401
  method: "GET",
399
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
402
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
400
403
  contentType: "application/json",
401
404
  requestType: "json",
402
405
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -498,7 +501,7 @@ class Forms {
498
501
  const _response = yield core.fetcher({
499
502
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `form_submissions/${encodeURIComponent(formSubmissionId)}`),
500
503
  method: "PATCH",
501
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
502
505
  contentType: "application/json",
503
506
  requestType: "json",
504
507
  body: serializers.FormsUpdateSubmissionRequest.jsonOrThrow(request, {
@@ -2,6 +2,8 @@ export * as sites from "./sites";
2
2
  export * from "./sites/types";
3
3
  export * as pages from "./pages";
4
4
  export * from "./pages/types";
5
+ export * as components from "./components";
6
+ export * from "./components/types";
5
7
  export * as users from "./users";
6
8
  export * from "./users/types";
7
9
  export * as accessGroups from "./accessGroups";
@@ -22,6 +24,7 @@ export * as ecommerce from "./ecommerce";
22
24
  export * from "./sites/client/requests";
23
25
  export * from "./collections/client/requests";
24
26
  export * from "./pages/client/requests";
27
+ export * from "./components/client/requests";
25
28
  export * from "./scripts/client/requests";
26
29
  export * from "./assets/client/requests";
27
30
  export * from "./forms/client/requests";
@@ -26,11 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ecommerce = exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.token = exports.collections = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.sites = void 0;
29
+ exports.ecommerce = exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.token = exports.collections = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.components = exports.pages = exports.sites = void 0;
30
30
  exports.sites = __importStar(require("./sites"));
31
31
  __exportStar(require("./sites/types"), exports);
32
32
  exports.pages = __importStar(require("./pages"));
33
33
  __exportStar(require("./pages/types"), exports);
34
+ exports.components = __importStar(require("./components"));
35
+ __exportStar(require("./components/types"), exports);
34
36
  exports.users = __importStar(require("./users"));
35
37
  __exportStar(require("./users/types"), exports);
36
38
  exports.accessGroups = __importStar(require("./accessGroups"));
@@ -51,6 +53,7 @@ exports.ecommerce = __importStar(require("./ecommerce"));
51
53
  __exportStar(require("./sites/client/requests"), exports);
52
54
  __exportStar(require("./collections/client/requests"), exports);
53
55
  __exportStar(require("./pages/client/requests"), exports);
56
+ __exportStar(require("./components/client/requests"), exports);
54
57
  __exportStar(require("./scripts/client/requests"), exports);
55
58
  __exportStar(require("./assets/client/requests"), exports);
56
59
  __exportStar(require("./forms/client/requests"), exports);
@@ -20,6 +20,9 @@ export declare namespace Inventory {
20
20
  headers?: Record<string, string>;
21
21
  }
22
22
  }
23
+ /**
24
+ * Inventory is the stock of e-commerce items in your Webflow site.
25
+ */
23
26
  export declare class Inventory {
24
27
  protected readonly _options: Inventory.Options;
25
28
  constructor(_options: Inventory.Options);
@@ -48,7 +51,6 @@ export declare class Inventory {
48
51
  * Updates the current inventory levels for a particular SKU item.
49
52
  *
50
53
  * Updates may be given in one or two methods, absolutely or incrementally.
51
- *
52
54
  * - Absolute updates are done by setting `quantity` directly.
53
55
  * - Incremental updates are by specifying the inventory delta in `updateQuantity` which is then added to the `quantity` stored on the server.
54
56
  *
@@ -45,6 +45,9 @@ const Webflow = __importStar(require("../../../index"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const serializers = __importStar(require("../../../../serialization/index"));
47
47
  const errors = __importStar(require("../../../../errors/index"));
48
+ /**
49
+ * Inventory is the stock of e-commerce items in your Webflow site.
50
+ */
48
51
  class Inventory {
49
52
  constructor(_options) {
50
53
  this._options = _options;
@@ -75,7 +78,7 @@ class Inventory {
75
78
  const _response = yield core.fetcher({
76
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/inventory`),
77
80
  method: "GET",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
82
  contentType: "application/json",
80
83
  requestType: "json",
81
84
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -157,7 +160,6 @@ class Inventory {
157
160
  * Updates the current inventory levels for a particular SKU item.
158
161
  *
159
162
  * Updates may be given in one or two methods, absolutely or incrementally.
160
- *
161
163
  * - Absolute updates are done by setting `quantity` directly.
162
164
  * - Incremental updates are by specifying the inventory delta in `updateQuantity` which is then added to the `quantity` stored on the server.
163
165
  *
@@ -187,7 +189,7 @@ class Inventory {
187
189
  const _response = yield core.fetcher({
188
190
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/inventory`),
189
191
  method: "PATCH",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
193
  contentType: "application/json",
192
194
  requestType: "json",
193
195
  body: serializers.InventoryUpdateRequest.jsonOrThrow(request, {
@@ -20,6 +20,9 @@ export declare namespace Orders {
20
20
  headers?: Record<string, string>;
21
21
  }
22
22
  }
23
+ /**
24
+ * Orders are the orders for your Webflow site.
25
+ */
23
26
  export declare class Orders {
24
27
  protected readonly _options: Orders.Options;
25
28
  constructor(_options: Orders.Options);
@@ -45,6 +45,9 @@ const Webflow = __importStar(require("../../../index"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
46
  const serializers = __importStar(require("../../../../serialization/index"));
47
47
  const errors = __importStar(require("../../../../errors/index"));
48
+ /**
49
+ * Orders are the orders for your Webflow site.
50
+ */
48
51
  class Orders {
49
52
  constructor(_options) {
50
53
  this._options = _options;
@@ -86,7 +89,7 @@ class Orders {
86
89
  const _response = yield core.fetcher({
87
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders`),
88
91
  method: "GET",
89
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
93
  contentType: "application/json",
91
94
  queryParameters: _queryParams,
92
95
  requestType: "json",
@@ -192,7 +195,7 @@ class Orders {
192
195
  const _response = yield core.fetcher({
193
196
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}`),
194
197
  method: "GET",
195
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
199
  contentType: "application/json",
197
200
  requestType: "json",
198
201
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -299,7 +302,7 @@ class Orders {
299
302
  const _response = yield core.fetcher({
300
303
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}`),
301
304
  method: "PATCH",
302
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
305
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
306
  contentType: "application/json",
304
307
  requestType: "json",
305
308
  body: serializers.OrdersUpdateRequest.jsonOrThrow(request, {
@@ -409,7 +412,7 @@ class Orders {
409
412
  const _response = yield core.fetcher({
410
413
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/fulfill`),
411
414
  method: "POST",
412
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
415
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
413
416
  contentType: "application/json",
414
417
  requestType: "json",
415
418
  body: serializers.OrdersUpdateFulfillRequest.jsonOrThrow(request, {
@@ -518,7 +521,7 @@ class Orders {
518
521
  const _response = yield core.fetcher({
519
522
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/unfulfill`),
520
523
  method: "POST",
521
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
524
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
522
525
  contentType: "application/json",
523
526
  requestType: "json",
524
527
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -624,7 +627,7 @@ class Orders {
624
627
  const _response = yield core.fetcher({
625
628
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/refund`),
626
629
  method: "POST",
627
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.0", "User-Agent": "webflow-api/3.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
630
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.0", "User-Agent": "webflow-api/3.1.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
628
631
  contentType: "application/json",
629
632
  requestType: "json",
630
633
  body: serializers.OrdersRefundRequest.jsonOrThrow(request, {
@@ -21,6 +21,9 @@ export declare namespace Pages {
21
21
  headers?: Record<string, string>;
22
22
  }
23
23
  }
24
+ /**
25
+ * Pages are the pages in your Webflow site.
26
+ */
24
27
  export declare class Pages {
25
28
  protected readonly _options: Pages.Options;
26
29
  constructor(_options: Pages.Options);
@@ -112,9 +115,10 @@ export declare class Pages {
112
115
  */
113
116
  updatePageSettings(pageId: string, request: Webflow.UpdatePageSettingsRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Page>;
114
117
  /**
115
- * Get static content from a static page.
118
+ * Get static content from a static page. This includes text nodes, image nodes and component instances.
119
+ * To retrieve the contents of components in the page use the [get component content](/data/reference/pages-and-components/components/get-content) endpoint.
116
120
  *
117
- * If you do not provide a Locale ID in your request, the response will return any content that can be localized from the Primary locale.
121
+ * <Note>If you do not provide a Locale ID in your request, the response will return any content that can be localized from the Primary locale.</Note>
118
122
  *
119
123
  * Required scope | `pages:read`
120
124
  *
@@ -136,14 +140,20 @@ export declare class Pages {
136
140
  */
137
141
  getContent(pageId: string, request?: Webflow.PagesGetContentRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Dom>;
138
142
  /**
139
- * This endpoint allows for updating static content on a static page within a secondary locale. It is designed specifically for localized pages and can handle up to 1000 nodes per request.
143
+ * This endpoint updates content on a static page in **secondary locales**. It supports updating up to 1000 nodes in a single request.
140
144
  *
141
- * <blockquote class="callout callout_info"><p><strong>Note:</strong>This endpoint is specifically for localized pages. Ensure that the locale specified is a valid secondary locale for the site.</p></blockquote>
145
+ * Before making updates:
146
+ * 1. Use the [get page content](/data/reference/pages-and-components/pages/get-content) endpoint to identify available content nodes and their types
147
+ * 2. If the page has component instances, retrieve the component's properties that you'll override using the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint
148
+ *
149
+ * <Note>
150
+ * This endpoint is specifically for localized pages. Ensure that the specified `localeId` is a valid **secondary locale** for the site otherwise the request will fail.
151
+ * </Note>
142
152
  *
143
153
  * Required scope | `pages:write`
144
154
  *
145
155
  * @param {string} pageId - Unique identifier for a Page
146
- * @param {Webflow.DomWrite} request
156
+ * @param {Webflow.PageDomWrite} request
147
157
  * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
148
158
  *
149
159
  * @throws {@link Webflow.BadRequestError}
@@ -155,20 +165,26 @@ export declare class Pages {
155
165
  *
156
166
  * @example
157
167
  * await client.pages.updateStaticContent("63c720f9347c2139b248e552", {
158
- * localeId: "65427cf400e02b306eaa04a0",
168
+ * localeId: "localeId",
159
169
  * nodes: [{
160
170
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
161
- * text: "<h1>The Hitchhiker\u2019s Guide to the Galaxy</h1>"
171
+ * text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
162
172
  * }, {
163
173
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
164
- * text: "<div><h3>Don\u2019t Panic!</h3><p>Always know where your towel is.</p></div>"
174
+ * text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
165
175
  * }, {
166
176
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
167
- * text: "<img alt=\"Marvin, the Paranoid Android\" src=\"path/to/image/with/assetId/659595234426a9fcbad57043\"/>"
177
+ * propertyOverrides: [{
178
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0",
179
+ * text: "<div><h1>Time is an <em>illusion</em></h1></div>"
180
+ * }, {
181
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f1",
182
+ * text: "Life, the Universe and Everything"
183
+ * }]
168
184
  * }]
169
185
  * })
170
186
  */
171
- updateStaticContent(pageId: string, request: Webflow.DomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.UpdateStaticContentResponse>;
187
+ updateStaticContent(pageId: string, request: Webflow.PageDomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.UpdateStaticContentResponse>;
172
188
  protected _scripts: Scripts | undefined;
173
189
  get scripts(): Scripts;
174
190
  protected _getAuthorizationHeader(): Promise<string>;