webflow-api 3.0.1 → 3.1.1

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 (749) hide show
  1. package/.mock/definition/__package__.yml +876 -287
  2. package/.mock/definition/accessGroups.yml +4 -3
  3. package/.mock/definition/assets.yml +96 -56
  4. package/.mock/definition/collections/fields.yml +67 -48
  5. package/.mock/definition/collections/items.yml +226 -65
  6. package/.mock/definition/collections.yml +48 -12
  7. package/.mock/definition/components.yml +479 -0
  8. package/.mock/definition/ecommerce.yml +3 -2
  9. package/.mock/definition/forms.yml +121 -8
  10. package/.mock/definition/inventory.yml +8 -4
  11. package/.mock/definition/orders.yml +17 -77
  12. package/.mock/definition/pages/scripts.yml +17 -50
  13. package/.mock/definition/pages.yml +87 -65
  14. package/.mock/definition/products.yml +18 -9
  15. package/.mock/definition/scripts.yml +22 -57
  16. package/.mock/definition/sites/activityLogs.yml +12 -9
  17. package/.mock/definition/sites/plans.yml +46 -0
  18. package/.mock/definition/sites/redirects.yml +213 -0
  19. package/.mock/definition/sites/robotsTxt.yml +202 -0
  20. package/.mock/definition/sites/scripts.yml +28 -41
  21. package/.mock/definition/sites.yml +201 -8
  22. package/.mock/definition/token.yml +7 -4
  23. package/.mock/definition/users.yml +12 -8
  24. package/.mock/definition/webhooks.yml +16 -17
  25. package/.mock/fern.config.json +1 -1
  26. package/Client.d.ts +3 -0
  27. package/Client.js +25 -20
  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 +15 -7
  32. package/api/resources/assets/client/Client.js +23 -15
  33. package/api/resources/collections/client/Client.d.ts +24 -1
  34. package/api/resources/collections/client/Client.js +30 -5
  35. package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
  36. package/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
  37. package/api/resources/collections/resources/fields/client/Client.js +40 -8
  38. package/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  39. package/api/resources/collections/resources/fields/index.d.ts +0 -1
  40. package/api/resources/collections/resources/fields/index.js +0 -1
  41. package/api/resources/collections/resources/index.d.ts +1 -2
  42. package/api/resources/collections/resources/index.js +2 -3
  43. package/api/resources/collections/resources/items/client/Client.d.ts +26 -16
  44. package/api/resources/collections/resources/items/client/Client.js +48 -32
  45. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  46. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  47. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  48. package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  49. package/api/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
  50. package/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +8 -0
  51. package/api/resources/collections/resources/items/types/index.d.ts +1 -0
  52. package/api/resources/collections/resources/items/types/index.js +1 -0
  53. package/api/resources/components/client/Client.d.ts +175 -0
  54. package/api/resources/components/client/Client.js +669 -0
  55. package/api/resources/components/client/index.d.ts +1 -0
  56. package/api/resources/{collections/resources/fields/types → components/client}/index.js +1 -1
  57. package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  58. package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  59. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  60. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  61. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  62. package/api/resources/components/client/requests/index.d.ts +5 -0
  63. package/api/resources/components/client/requests/index.js +2 -0
  64. package/api/resources/components/index.d.ts +2 -0
  65. package/api/resources/components/index.js +18 -0
  66. package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  67. package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  68. package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  69. package/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
  70. package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  71. package/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
  72. package/api/resources/components/types/index.d.ts +4 -0
  73. package/api/resources/components/types/index.js +20 -0
  74. package/api/resources/ecommerce/client/Client.js +1 -1
  75. package/api/resources/forms/client/Client.d.ts +54 -0
  76. package/api/resources/forms/client/Client.js +229 -5
  77. package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
  78. package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
  79. package/api/resources/forms/client/requests/index.d.ts +1 -0
  80. package/api/resources/index.d.ts +3 -0
  81. package/api/resources/index.js +4 -1
  82. package/api/resources/inventory/client/Client.d.ts +3 -1
  83. package/api/resources/inventory/client/Client.js +5 -3
  84. package/api/resources/orders/client/Client.d.ts +3 -0
  85. package/api/resources/orders/client/Client.js +9 -6
  86. package/api/resources/pages/client/Client.d.ts +31 -10
  87. package/api/resources/pages/client/Client.js +37 -18
  88. package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  89. package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  90. package/api/resources/pages/client/requests/index.d.ts +1 -1
  91. package/api/resources/pages/resources/scripts/client/Client.d.ts +8 -19
  92. package/api/resources/pages/resources/scripts/client/Client.js +13 -22
  93. package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  94. package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  95. package/api/resources/pages/types/index.d.ts +1 -1
  96. package/api/resources/pages/types/index.js +1 -1
  97. package/api/resources/products/client/Client.d.ts +5 -6
  98. package/api/resources/products/client/Client.js +11 -12
  99. package/api/resources/scripts/client/Client.d.ts +12 -20
  100. package/api/resources/scripts/client/Client.js +15 -23
  101. package/api/resources/sites/client/Client.d.ts +79 -0
  102. package/api/resources/sites/client/Client.js +341 -9
  103. package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  104. package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  105. package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  106. package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  107. package/api/resources/sites/client/requests/index.d.ts +2 -0
  108. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
  109. package/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
  110. package/api/resources/sites/resources/index.d.ts +3 -0
  111. package/api/resources/sites/resources/index.js +4 -1
  112. package/api/resources/sites/resources/plans/client/Client.d.ts +47 -0
  113. package/api/resources/sites/resources/plans/client/Client.js +157 -0
  114. package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  115. package/api/resources/sites/resources/plans/client/index.js +2 -0
  116. package/api/resources/sites/resources/plans/index.d.ts +1 -0
  117. package/{dist/serialization/resources/collections/resources/fields/types → api/resources/sites/resources/plans}/index.js +1 -1
  118. package/api/resources/sites/resources/redirects/client/Client.d.ts +125 -0
  119. package/api/resources/sites/resources/redirects/client/Client.js +482 -0
  120. package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  121. package/api/resources/sites/resources/redirects/client/index.js +2 -0
  122. package/api/resources/sites/resources/redirects/index.d.ts +1 -0
  123. package/{dist/api/resources/collections/resources/fields/types → api/resources/sites/resources/redirects}/index.js +1 -1
  124. package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
  125. package/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
  126. package/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
  127. package/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
  128. package/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
  129. package/{serialization/resources/collections/resources/fields/types → api/resources/sites/resources/robotsTxt}/index.js +1 -1
  130. package/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
  131. package/api/resources/sites/resources/scripts/client/Client.js +19 -17
  132. package/api/resources/token/client/Client.d.ts +2 -1
  133. package/api/resources/token/client/Client.js +4 -3
  134. package/api/resources/users/client/Client.d.ts +1 -1
  135. package/api/resources/users/client/Client.js +6 -6
  136. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
  137. package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
  138. package/api/resources/webhooks/client/Client.d.ts +4 -1
  139. package/api/resources/webhooks/client/Client.js +8 -5
  140. package/api/types/Asset.d.ts +4 -0
  141. package/api/types/AssetVariant.d.ts +3 -0
  142. package/api/types/Assets.d.ts +1 -0
  143. package/api/types/CollectionItem.d.ts +5 -1
  144. package/api/types/CollectionItemPostSingle.d.ts +7 -3
  145. package/api/types/Component.d.ts +18 -0
  146. package/api/types/Component.js +5 -0
  147. package/api/types/ComponentDom.d.ts +13 -0
  148. package/api/types/ComponentDom.js +5 -0
  149. package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  150. package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  151. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  152. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  153. package/api/types/ComponentList.d.ts +11 -0
  154. package/api/types/ComponentList.js +5 -0
  155. package/api/types/ComponentNode.d.ts +15 -0
  156. package/api/types/ComponentNode.js +5 -0
  157. package/api/types/ComponentProperties.d.ts +13 -0
  158. package/api/types/ComponentProperties.js +5 -0
  159. package/api/types/ComponentProperty.d.ts +17 -0
  160. package/api/types/ComponentProperty.js +5 -0
  161. package/api/types/ComponentPropertyType.d.ts +12 -0
  162. package/api/types/ComponentPropertyType.js +11 -0
  163. package/{dist/api/types/ErrorDetailsItem.d.ts → api/types/Conflict.d.ts} +1 -1
  164. package/api/types/Conflict.js +5 -0
  165. package/api/types/Dom.d.ts +3 -1
  166. package/api/types/Domain.d.ts +2 -0
  167. package/api/types/Error_.d.ts +1 -1
  168. package/api/types/FieldCreate.d.ts +8 -0
  169. package/api/types/FieldCreate.js +5 -0
  170. package/api/types/FieldType.d.ts +12 -10
  171. package/api/types/FieldType.js +11 -9
  172. package/api/types/ImageNode.d.ts +7 -2
  173. package/api/types/ImageNodeImage.d.ts +10 -0
  174. package/api/types/ImageNodeImage.js +5 -0
  175. package/api/types/Metadata.d.ts +11 -0
  176. package/api/types/Metadata.js +5 -0
  177. package/api/types/MetadataOptionsItem.d.ts +12 -0
  178. package/api/types/MetadataOptionsItem.js +5 -0
  179. package/api/types/Node.d.ts +11 -8
  180. package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
  181. package/api/types/NotEnterprisePlanWorkspace.js +5 -0
  182. package/api/types/OAuthScope.d.ts +8 -0
  183. package/api/types/OAuthScope.js +2 -0
  184. package/api/types/OptionField.d.ts +19 -0
  185. package/api/types/OptionField.js +5 -0
  186. package/api/types/ProductFieldData.d.ts +1 -1
  187. package/api/types/Redirect.d.ts +14 -0
  188. package/api/types/Redirect.js +5 -0
  189. package/api/types/Redirects.d.ts +12 -0
  190. package/api/types/Redirects.js +5 -0
  191. package/api/types/ReferenceField.d.ts +20 -0
  192. package/api/types/ReferenceField.js +5 -0
  193. package/api/types/ReferenceFieldMetadata.d.ts +10 -0
  194. package/api/types/ReferenceFieldMetadata.js +5 -0
  195. package/api/types/ReferenceFieldType.d.ts +11 -0
  196. package/api/types/{NodeType.js → ReferenceFieldType.js} +4 -4
  197. package/api/types/Robots.d.ts +13 -0
  198. package/api/types/Robots.js +5 -0
  199. package/api/types/RobotsRulesItem.d.ts +11 -0
  200. package/api/types/RobotsRulesItem.js +5 -0
  201. package/api/types/ScriptApply.d.ts +1 -1
  202. package/api/types/SitePlan.d.ts +12 -0
  203. package/api/types/SitePlan.js +5 -0
  204. package/api/types/SitePlanId.d.ts +21 -0
  205. package/api/types/SitePlanId.js +20 -0
  206. package/api/types/SitePlanName.d.ts +15 -0
  207. package/api/types/SitePlanName.js +14 -0
  208. package/api/types/SkuFieldData.d.ts +2 -0
  209. package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
  210. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
  211. package/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
  212. package/api/types/StaticField.js +5 -0
  213. package/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +11 -11
  214. package/{dist/api/resources/collections/resources/fields/types/FieldCreateType.js → api/types/StaticFieldType.js} +11 -11
  215. package/api/types/Text.d.ts +12 -0
  216. package/api/types/Text.js +5 -0
  217. package/api/types/TextNode.d.ts +8 -3
  218. package/api/types/TextNodeText.d.ts +12 -0
  219. package/api/types/TextNodeText.js +5 -0
  220. package/api/{resources/pages/types/DomWriteNodesItem.d.ts → types/TextNodeWrite.d.ts} +4 -1
  221. package/api/types/TextNodeWrite.js +5 -0
  222. package/api/types/TriggerType.d.ts +1 -15
  223. package/api/types/UserAccessGroupsItem.d.ts +2 -3
  224. package/api/types/UserAccessGroupsItemType.d.ts +2 -3
  225. package/api/types/WebhookList.d.ts +1 -1
  226. package/api/types/index.d.ts +35 -6
  227. package/api/types/index.js +35 -6
  228. package/dist/Client.d.ts +3 -0
  229. package/dist/Client.js +25 -20
  230. package/dist/api/errors/index.d.ts +1 -1
  231. package/dist/api/errors/index.js +1 -1
  232. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  233. package/dist/api/resources/assets/client/Client.d.ts +15 -7
  234. package/dist/api/resources/assets/client/Client.js +23 -15
  235. package/dist/api/resources/collections/client/Client.d.ts +24 -1
  236. package/dist/api/resources/collections/client/Client.js +30 -5
  237. package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
  238. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
  239. package/dist/api/resources/collections/resources/fields/client/Client.js +40 -8
  240. package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  241. package/dist/api/resources/collections/resources/fields/index.d.ts +0 -1
  242. package/dist/api/resources/collections/resources/fields/index.js +0 -1
  243. package/dist/api/resources/collections/resources/index.d.ts +1 -2
  244. package/dist/api/resources/collections/resources/index.js +2 -3
  245. package/dist/api/resources/collections/resources/items/client/Client.d.ts +26 -16
  246. package/dist/api/resources/collections/resources/items/client/Client.js +48 -32
  247. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  248. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  249. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  250. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  251. package/dist/api/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
  252. package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +8 -0
  253. package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
  254. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
  255. package/dist/api/resources/collections/resources/items/types/index.js +1 -0
  256. package/dist/api/resources/components/client/Client.d.ts +175 -0
  257. package/dist/api/resources/components/client/Client.js +669 -0
  258. package/dist/api/resources/components/client/index.d.ts +1 -0
  259. package/dist/api/resources/components/client/index.js +17 -0
  260. package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  261. package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
  262. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  263. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
  264. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  265. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
  266. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  267. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
  268. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  269. package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
  270. package/dist/api/resources/components/client/requests/index.d.ts +5 -0
  271. package/dist/api/resources/components/client/requests/index.js +2 -0
  272. package/dist/api/resources/components/index.d.ts +2 -0
  273. package/dist/api/resources/components/index.js +18 -0
  274. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  275. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
  276. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  277. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
  278. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  279. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
  280. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  281. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
  282. package/dist/api/resources/components/types/index.d.ts +4 -0
  283. package/dist/api/resources/components/types/index.js +20 -0
  284. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  285. package/dist/api/resources/forms/client/Client.d.ts +54 -0
  286. package/dist/api/resources/forms/client/Client.js +229 -5
  287. package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
  288. package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
  289. package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
  290. package/dist/api/resources/index.d.ts +3 -0
  291. package/dist/api/resources/index.js +4 -1
  292. package/dist/api/resources/inventory/client/Client.d.ts +3 -1
  293. package/dist/api/resources/inventory/client/Client.js +5 -3
  294. package/dist/api/resources/orders/client/Client.d.ts +3 -0
  295. package/dist/api/resources/orders/client/Client.js +9 -6
  296. package/dist/api/resources/pages/client/Client.d.ts +31 -10
  297. package/dist/api/resources/pages/client/Client.js +37 -18
  298. package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  299. package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  300. package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
  301. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +8 -19
  302. package/dist/api/resources/pages/resources/scripts/client/Client.js +13 -22
  303. package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  304. package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  305. package/dist/api/resources/pages/types/index.d.ts +1 -1
  306. package/dist/api/resources/pages/types/index.js +1 -1
  307. package/dist/api/resources/products/client/Client.d.ts +5 -6
  308. package/dist/api/resources/products/client/Client.js +11 -12
  309. package/dist/api/resources/scripts/client/Client.d.ts +12 -20
  310. package/dist/api/resources/scripts/client/Client.js +15 -23
  311. package/dist/api/resources/sites/client/Client.d.ts +79 -0
  312. package/dist/api/resources/sites/client/Client.js +341 -9
  313. package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  314. package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  315. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  316. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  317. package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
  318. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
  319. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
  320. package/dist/api/resources/sites/resources/index.d.ts +3 -0
  321. package/dist/api/resources/sites/resources/index.js +4 -1
  322. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +47 -0
  323. package/dist/api/resources/sites/resources/plans/client/Client.js +157 -0
  324. package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  325. package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
  326. package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
  327. package/dist/api/resources/sites/resources/plans/index.js +17 -0
  328. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +125 -0
  329. package/dist/api/resources/sites/resources/redirects/client/Client.js +482 -0
  330. package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  331. package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
  332. package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
  333. package/dist/api/resources/sites/resources/redirects/index.js +17 -0
  334. package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
  335. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
  336. package/dist/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
  337. package/dist/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
  338. package/dist/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
  339. package/dist/api/resources/sites/resources/robotsTxt/index.js +17 -0
  340. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
  341. package/dist/api/resources/sites/resources/scripts/client/Client.js +19 -17
  342. package/dist/api/resources/token/client/Client.d.ts +2 -1
  343. package/dist/api/resources/token/client/Client.js +4 -3
  344. package/dist/api/resources/users/client/Client.d.ts +1 -1
  345. package/dist/api/resources/users/client/Client.js +6 -6
  346. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
  347. package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
  348. package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
  349. package/dist/api/resources/webhooks/client/Client.js +8 -5
  350. package/dist/api/types/Asset.d.ts +4 -0
  351. package/dist/api/types/AssetVariant.d.ts +3 -0
  352. package/dist/api/types/Assets.d.ts +1 -0
  353. package/dist/api/types/CollectionItem.d.ts +5 -1
  354. package/dist/api/types/CollectionItemPostSingle.d.ts +7 -3
  355. package/dist/api/types/Component.d.ts +18 -0
  356. package/dist/api/types/Component.js +5 -0
  357. package/dist/api/types/ComponentDom.d.ts +13 -0
  358. package/dist/api/types/ComponentDom.js +5 -0
  359. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  360. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  361. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  362. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  363. package/dist/api/types/ComponentList.d.ts +11 -0
  364. package/dist/api/types/ComponentList.js +5 -0
  365. package/dist/api/types/ComponentNode.d.ts +15 -0
  366. package/dist/api/types/ComponentNode.js +5 -0
  367. package/dist/api/types/ComponentProperties.d.ts +13 -0
  368. package/dist/api/types/ComponentProperties.js +5 -0
  369. package/dist/api/types/ComponentProperty.d.ts +17 -0
  370. package/dist/api/types/ComponentProperty.js +5 -0
  371. package/dist/api/types/ComponentPropertyType.d.ts +12 -0
  372. package/dist/api/types/ComponentPropertyType.js +11 -0
  373. package/dist/api/types/Conflict.d.ts +4 -0
  374. package/dist/api/types/Conflict.js +5 -0
  375. package/dist/api/types/Dom.d.ts +3 -1
  376. package/dist/api/types/Domain.d.ts +2 -0
  377. package/dist/api/types/Error_.d.ts +1 -1
  378. package/dist/api/types/FieldCreate.d.ts +8 -0
  379. package/dist/api/types/FieldCreate.js +5 -0
  380. package/dist/api/types/FieldType.d.ts +12 -10
  381. package/dist/api/types/FieldType.js +11 -9
  382. package/dist/api/types/ImageNode.d.ts +7 -2
  383. package/dist/api/types/ImageNodeImage.d.ts +10 -0
  384. package/dist/api/types/ImageNodeImage.js +5 -0
  385. package/dist/api/types/Metadata.d.ts +11 -0
  386. package/dist/api/types/Metadata.js +5 -0
  387. package/dist/api/types/MetadataOptionsItem.d.ts +12 -0
  388. package/dist/api/types/MetadataOptionsItem.js +5 -0
  389. package/dist/api/types/Node.d.ts +11 -8
  390. package/dist/api/types/NotEnterprisePlanWorkspace.d.ts +4 -0
  391. package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
  392. package/dist/api/types/OAuthScope.d.ts +8 -0
  393. package/dist/api/types/OAuthScope.js +2 -0
  394. package/dist/api/types/OptionField.d.ts +19 -0
  395. package/dist/api/types/OptionField.js +5 -0
  396. package/dist/api/types/ProductFieldData.d.ts +1 -1
  397. package/dist/api/types/Redirect.d.ts +14 -0
  398. package/dist/api/types/Redirect.js +5 -0
  399. package/dist/api/types/Redirects.d.ts +12 -0
  400. package/dist/api/types/Redirects.js +5 -0
  401. package/dist/api/types/ReferenceField.d.ts +20 -0
  402. package/dist/api/types/ReferenceField.js +5 -0
  403. package/dist/api/types/ReferenceFieldMetadata.d.ts +10 -0
  404. package/dist/api/types/ReferenceFieldMetadata.js +5 -0
  405. package/dist/api/types/ReferenceFieldType.d.ts +11 -0
  406. package/dist/api/types/{NodeType.js → ReferenceFieldType.js} +4 -4
  407. package/dist/api/types/Robots.d.ts +13 -0
  408. package/dist/api/types/Robots.js +5 -0
  409. package/dist/api/types/RobotsRulesItem.d.ts +11 -0
  410. package/dist/api/types/RobotsRulesItem.js +5 -0
  411. package/dist/api/types/ScriptApply.d.ts +1 -1
  412. package/dist/api/types/SitePlan.d.ts +12 -0
  413. package/dist/api/types/SitePlan.js +5 -0
  414. package/dist/api/types/SitePlanId.d.ts +21 -0
  415. package/dist/api/types/SitePlanId.js +20 -0
  416. package/dist/api/types/SitePlanName.d.ts +15 -0
  417. package/dist/api/types/SitePlanName.js +14 -0
  418. package/dist/api/types/SkuFieldData.d.ts +2 -0
  419. package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
  420. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
  421. package/dist/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
  422. package/dist/api/types/StaticField.js +5 -0
  423. package/dist/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +11 -11
  424. package/{api/resources/collections/resources/fields/types/FieldCreateType.js → dist/api/types/StaticFieldType.js} +11 -11
  425. package/dist/api/types/Text.d.ts +12 -0
  426. package/dist/api/types/Text.js +5 -0
  427. package/dist/api/types/TextNode.d.ts +8 -3
  428. package/dist/api/types/TextNodeText.d.ts +12 -0
  429. package/dist/api/types/TextNodeText.js +5 -0
  430. package/dist/api/{resources/pages/types/DomWriteNodesItem.d.ts → types/TextNodeWrite.d.ts} +4 -1
  431. package/dist/api/types/TextNodeWrite.js +5 -0
  432. package/dist/api/types/TriggerType.d.ts +1 -15
  433. package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
  434. package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
  435. package/dist/api/types/WebhookList.d.ts +1 -1
  436. package/dist/api/types/index.d.ts +35 -6
  437. package/dist/api/types/index.js +35 -6
  438. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
  439. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
  440. package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  441. package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
  442. package/dist/serialization/resources/collections/resources/fields/index.d.ts +0 -1
  443. package/dist/serialization/resources/collections/resources/fields/index.js +0 -1
  444. package/dist/serialization/resources/collections/resources/index.d.ts +1 -2
  445. package/dist/serialization/resources/collections/resources/index.js +2 -3
  446. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  447. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  448. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  449. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
  450. package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
  451. package/dist/serialization/resources/collections/resources/items/types/MultipleItems.js +2 -2
  452. package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +13 -0
  453. package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +34 -0
  454. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  455. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
  456. package/dist/serialization/resources/components/client/index.d.ts +1 -0
  457. package/dist/serialization/resources/components/client/index.js +17 -0
  458. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  459. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  460. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  461. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  462. package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
  463. package/dist/serialization/resources/components/client/requests/index.js +7 -0
  464. package/dist/serialization/resources/components/index.d.ts +2 -0
  465. package/dist/serialization/resources/components/index.js +18 -0
  466. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  467. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  468. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  469. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  470. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  471. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  472. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  473. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  474. package/dist/serialization/resources/components/types/index.d.ts +4 -0
  475. package/dist/serialization/resources/components/types/index.js +20 -0
  476. package/dist/serialization/resources/index.d.ts +3 -0
  477. package/dist/serialization/resources/index.js +4 -1
  478. package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  479. package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  480. package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
  481. package/dist/serialization/resources/pages/client/requests/index.js +3 -3
  482. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  483. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  484. package/dist/serialization/resources/pages/types/index.d.ts +1 -1
  485. package/dist/serialization/resources/pages/types/index.js +1 -1
  486. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  487. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  488. package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  489. package/dist/serialization/resources/{pages/client/requests/DomWrite.js → sites/client/requests/SitesUpdateRequest.js} +4 -4
  490. package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
  491. package/dist/serialization/resources/sites/client/requests/index.js +5 -1
  492. package/dist/serialization/types/Assets.d.ts +2 -0
  493. package/dist/serialization/types/Assets.js +2 -0
  494. package/dist/serialization/types/Component.d.ts +16 -0
  495. package/dist/serialization/types/Component.js +37 -0
  496. package/dist/serialization/types/ComponentDom.d.ts +16 -0
  497. package/dist/serialization/types/ComponentDom.js +37 -0
  498. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  499. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  500. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  501. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  502. package/dist/serialization/types/ComponentList.d.ts +15 -0
  503. package/dist/serialization/types/ComponentList.js +36 -0
  504. package/dist/serialization/types/ComponentNode.d.ts +15 -0
  505. package/dist/serialization/types/ComponentNode.js +36 -0
  506. package/dist/serialization/types/ComponentProperties.d.ts +16 -0
  507. package/dist/serialization/types/ComponentProperties.js +37 -0
  508. package/dist/serialization/types/ComponentProperty.d.ts +17 -0
  509. package/dist/serialization/types/ComponentProperty.js +38 -0
  510. package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
  511. package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
  512. package/dist/serialization/types/{NodeType.d.ts → Conflict.d.ts} +3 -3
  513. package/dist/serialization/types/{NodeType.js → Conflict.js} +2 -2
  514. package/dist/serialization/types/Dom.d.ts +1 -0
  515. package/dist/serialization/types/Dom.js +1 -0
  516. package/dist/serialization/types/Domain.d.ts +1 -0
  517. package/dist/serialization/types/Domain.js +1 -0
  518. package/dist/serialization/types/Error_.d.ts +1 -2
  519. package/dist/serialization/types/Error_.js +1 -2
  520. package/dist/serialization/types/FieldCreate.d.ts +13 -0
  521. package/dist/serialization/types/FieldCreate.js +34 -0
  522. package/dist/serialization/types/FieldType.d.ts +1 -1
  523. package/dist/serialization/types/FieldType.js +11 -9
  524. package/dist/serialization/types/ImageNode.d.ts +4 -2
  525. package/dist/serialization/types/ImageNode.js +4 -2
  526. package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
  527. package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
  528. package/dist/serialization/types/Metadata.d.ts +13 -0
  529. package/dist/serialization/types/Metadata.js +34 -0
  530. package/dist/serialization/types/MetadataOptionsItem.d.ts +13 -0
  531. package/dist/serialization/types/MetadataOptionsItem.js +34 -0
  532. package/dist/serialization/types/Node.d.ts +11 -8
  533. package/dist/serialization/types/Node.js +10 -7
  534. package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  535. package/dist/serialization/types/NotEnterprisePlanWorkspace.js +31 -0
  536. package/dist/serialization/types/OptionField.d.ts +19 -0
  537. package/dist/serialization/types/OptionField.js +40 -0
  538. package/dist/serialization/types/Redirect.d.ts +14 -0
  539. package/dist/serialization/types/Redirect.js +35 -0
  540. package/dist/serialization/types/Redirects.d.ts +15 -0
  541. package/dist/serialization/types/Redirects.js +36 -0
  542. package/dist/serialization/types/ReferenceField.d.ts +20 -0
  543. package/dist/serialization/types/ReferenceField.js +41 -0
  544. package/dist/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
  545. package/dist/serialization/types/ReferenceFieldMetadata.js +33 -0
  546. package/dist/serialization/types/ReferenceFieldType.d.ts +10 -0
  547. package/dist/serialization/types/ReferenceFieldType.js +31 -0
  548. package/dist/serialization/types/Robots.d.ts +14 -0
  549. package/dist/serialization/types/Robots.js +35 -0
  550. package/dist/serialization/types/RobotsRulesItem.d.ts +14 -0
  551. package/dist/serialization/types/RobotsRulesItem.js +35 -0
  552. package/dist/serialization/types/SitePlan.d.ts +16 -0
  553. package/dist/serialization/types/SitePlan.js +37 -0
  554. package/dist/serialization/types/SitePlanId.d.ts +10 -0
  555. package/dist/serialization/types/SitePlanId.js +44 -0
  556. package/dist/serialization/types/SitePlanName.d.ts +10 -0
  557. package/dist/serialization/types/SitePlanName.js +38 -0
  558. package/dist/serialization/types/StaticField.d.ts +18 -0
  559. package/{serialization/resources/collections/resources/fields/client/requests/FieldCreate.js → dist/serialization/types/StaticField.js} +7 -5
  560. package/dist/serialization/types/StaticFieldType.d.ts +10 -0
  561. package/{serialization/resources/collections/resources/fields/types/FieldCreateType.js → dist/serialization/types/StaticFieldType.js} +12 -12
  562. package/dist/serialization/types/Text.d.ts +13 -0
  563. package/dist/serialization/types/Text.js +34 -0
  564. package/dist/serialization/types/TextNode.d.ts +4 -2
  565. package/dist/serialization/types/TextNode.js +4 -2
  566. package/dist/serialization/types/TextNodeText.d.ts +13 -0
  567. package/dist/serialization/types/TextNodeText.js +34 -0
  568. package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
  569. package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
  570. package/dist/serialization/types/WebhookList.d.ts +2 -2
  571. package/dist/serialization/types/WebhookList.js +2 -2
  572. package/dist/serialization/types/index.d.ts +35 -6
  573. package/dist/serialization/types/index.js +35 -6
  574. package/dist/version.d.ts +1 -1
  575. package/dist/version.js +1 -1
  576. package/dist/wrapper/WebflowClient.d.ts +3 -0
  577. package/dist/wrapper/WebflowClient.js +5 -0
  578. package/dist/wrapper/WebhooksClient.d.ts +39 -0
  579. package/dist/wrapper/WebhooksClient.js +66 -0
  580. package/package.json +5 -3
  581. package/reference.md +2407 -847
  582. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
  583. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
  584. package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  585. package/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
  586. package/serialization/resources/collections/resources/fields/index.d.ts +0 -1
  587. package/serialization/resources/collections/resources/fields/index.js +0 -1
  588. package/serialization/resources/collections/resources/index.d.ts +1 -2
  589. package/serialization/resources/collections/resources/index.js +2 -3
  590. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  591. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  592. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  593. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
  594. package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
  595. package/serialization/resources/collections/resources/items/types/MultipleItems.js +2 -2
  596. package/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +13 -0
  597. package/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +34 -0
  598. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  599. package/serialization/resources/collections/resources/items/types/index.js +1 -0
  600. package/serialization/resources/components/client/index.d.ts +1 -0
  601. package/serialization/resources/components/client/index.js +17 -0
  602. package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  603. package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  604. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  605. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  606. package/serialization/resources/components/client/requests/index.d.ts +2 -0
  607. package/serialization/resources/components/client/requests/index.js +7 -0
  608. package/serialization/resources/components/index.d.ts +2 -0
  609. package/serialization/resources/components/index.js +18 -0
  610. package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  611. package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  612. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  613. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  614. package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  615. package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  616. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  617. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  618. package/serialization/resources/components/types/index.d.ts +4 -0
  619. package/serialization/resources/components/types/index.js +20 -0
  620. package/serialization/resources/index.d.ts +3 -0
  621. package/serialization/resources/index.js +4 -1
  622. package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  623. package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  624. package/serialization/resources/pages/client/requests/index.d.ts +1 -1
  625. package/serialization/resources/pages/client/requests/index.js +3 -3
  626. package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  627. package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  628. package/serialization/resources/pages/types/index.d.ts +1 -1
  629. package/serialization/resources/pages/types/index.js +1 -1
  630. package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  631. package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  632. package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  633. package/serialization/resources/{pages/client/requests/DomWrite.js → sites/client/requests/SitesUpdateRequest.js} +4 -4
  634. package/serialization/resources/sites/client/requests/index.d.ts +2 -0
  635. package/serialization/resources/sites/client/requests/index.js +5 -1
  636. package/serialization/types/Assets.d.ts +2 -0
  637. package/serialization/types/Assets.js +2 -0
  638. package/serialization/types/Component.d.ts +16 -0
  639. package/serialization/types/Component.js +37 -0
  640. package/serialization/types/ComponentDom.d.ts +16 -0
  641. package/serialization/types/ComponentDom.js +37 -0
  642. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  643. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  644. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  645. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  646. package/serialization/types/ComponentList.d.ts +15 -0
  647. package/serialization/types/ComponentList.js +36 -0
  648. package/serialization/types/ComponentNode.d.ts +15 -0
  649. package/serialization/types/ComponentNode.js +36 -0
  650. package/serialization/types/ComponentProperties.d.ts +16 -0
  651. package/serialization/types/ComponentProperties.js +37 -0
  652. package/serialization/types/ComponentProperty.d.ts +17 -0
  653. package/serialization/types/ComponentProperty.js +38 -0
  654. package/serialization/types/ComponentPropertyType.d.ts +10 -0
  655. package/serialization/types/ComponentPropertyType.js +31 -0
  656. package/serialization/types/{NodeType.d.ts → Conflict.d.ts} +3 -3
  657. package/serialization/types/{NodeType.js → Conflict.js} +2 -2
  658. package/serialization/types/Dom.d.ts +1 -0
  659. package/serialization/types/Dom.js +1 -0
  660. package/serialization/types/Domain.d.ts +1 -0
  661. package/serialization/types/Domain.js +1 -0
  662. package/serialization/types/Error_.d.ts +1 -2
  663. package/serialization/types/Error_.js +1 -2
  664. package/serialization/types/FieldCreate.d.ts +13 -0
  665. package/serialization/types/FieldCreate.js +34 -0
  666. package/serialization/types/FieldType.d.ts +1 -1
  667. package/serialization/types/FieldType.js +11 -9
  668. package/serialization/types/ImageNode.d.ts +4 -2
  669. package/serialization/types/ImageNode.js +4 -2
  670. package/serialization/types/ImageNodeImage.d.ts +13 -0
  671. package/serialization/types/ImageNodeImage.js +34 -0
  672. package/serialization/types/Metadata.d.ts +13 -0
  673. package/serialization/types/Metadata.js +34 -0
  674. package/serialization/types/MetadataOptionsItem.d.ts +13 -0
  675. package/serialization/types/MetadataOptionsItem.js +34 -0
  676. package/serialization/types/Node.d.ts +11 -8
  677. package/serialization/types/Node.js +10 -7
  678. package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  679. package/serialization/types/NotEnterprisePlanWorkspace.js +31 -0
  680. package/serialization/types/OptionField.d.ts +19 -0
  681. package/serialization/types/OptionField.js +40 -0
  682. package/serialization/types/Redirect.d.ts +14 -0
  683. package/serialization/types/Redirect.js +35 -0
  684. package/serialization/types/Redirects.d.ts +15 -0
  685. package/serialization/types/Redirects.js +36 -0
  686. package/serialization/types/ReferenceField.d.ts +20 -0
  687. package/serialization/types/ReferenceField.js +41 -0
  688. package/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
  689. package/serialization/types/ReferenceFieldMetadata.js +33 -0
  690. package/serialization/types/ReferenceFieldType.d.ts +10 -0
  691. package/serialization/types/ReferenceFieldType.js +31 -0
  692. package/serialization/types/Robots.d.ts +14 -0
  693. package/serialization/types/Robots.js +35 -0
  694. package/serialization/types/RobotsRulesItem.d.ts +14 -0
  695. package/serialization/types/RobotsRulesItem.js +35 -0
  696. package/serialization/types/SitePlan.d.ts +16 -0
  697. package/serialization/types/SitePlan.js +37 -0
  698. package/serialization/types/SitePlanId.d.ts +10 -0
  699. package/serialization/types/SitePlanId.js +44 -0
  700. package/serialization/types/SitePlanName.d.ts +10 -0
  701. package/serialization/types/SitePlanName.js +38 -0
  702. package/serialization/types/StaticField.d.ts +18 -0
  703. package/{dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js → serialization/types/StaticField.js} +7 -5
  704. package/serialization/types/StaticFieldType.d.ts +10 -0
  705. package/{dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js → serialization/types/StaticFieldType.js} +12 -12
  706. package/serialization/types/Text.d.ts +13 -0
  707. package/serialization/types/Text.js +34 -0
  708. package/serialization/types/TextNode.d.ts +4 -2
  709. package/serialization/types/TextNode.js +4 -2
  710. package/serialization/types/TextNodeText.d.ts +13 -0
  711. package/serialization/types/TextNodeText.js +34 -0
  712. package/serialization/types/TextNodeWrite.d.ts +13 -0
  713. package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
  714. package/serialization/types/WebhookList.d.ts +2 -2
  715. package/serialization/types/WebhookList.js +2 -2
  716. package/serialization/types/index.d.ts +35 -6
  717. package/serialization/types/index.js +35 -6
  718. package/version.d.ts +1 -1
  719. package/version.js +1 -1
  720. package/wrapper/WebflowClient.d.ts +3 -0
  721. package/wrapper/WebflowClient.js +5 -0
  722. package/wrapper/WebhooksClient.d.ts +39 -0
  723. package/wrapper/WebhooksClient.js +66 -0
  724. package/api/resources/collections/resources/fields/types/index.d.ts +0 -1
  725. package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  726. package/api/types/NodeType.d.ts +0 -8
  727. package/dist/api/resources/collections/resources/fields/types/index.d.ts +0 -1
  728. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  729. package/dist/api/types/NodeType.d.ts +0 -8
  730. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
  731. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
  732. package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
  733. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  734. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  735. package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
  736. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
  737. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
  738. package/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
  739. package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  740. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  741. package/serialization/types/ErrorDetailsItem.d.ts +0 -10
  742. /package/api/resources/collections/resources/{fields/client/requests/FieldCreate.js → items/types/MultipleLiveItems.js} +0 -0
  743. /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
  744. /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
  745. /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
  746. /package/{dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
  747. /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
  748. /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
  749. /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0"
8
+ * }
9
+ */
10
+ export interface FormsListSubmissionsBySiteRequest {
11
+ /**
12
+ * Identifier for an element
13
+ */
14
+ elementId?: string;
15
+ /**
16
+ * Offset used for pagination if the results have more than limit records
17
+ */
18
+ offset?: number;
19
+ /**
20
+ * Maximum number of records to be returned (max limit: 100)
21
+ */
22
+ limit?: number;
23
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
1
  export { type FormsListRequest } from "./FormsListRequest";
2
2
  export { type FormsListSubmissionsRequest } from "./FormsListSubmissionsRequest";
3
3
  export { type FormsUpdateSubmissionRequest } from "./FormsUpdateSubmissionRequest";
4
+ export { type FormsListSubmissionsBySiteRequest } from "./FormsListSubmissionsBySiteRequest";
@@ -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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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.1", "User-Agent": "webflow-api/3.0.1", "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.1", "User-Agent": "webflow-api/3.1.1", "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);
@@ -69,6 +72,10 @@ export declare class Pages {
69
72
  /**
70
73
  * Update Page-level metadata, including SEO and Open Graph fields.
71
74
  *
75
+ * <Note>
76
+ * Note: When updating Page Metadata in secondary locales, you may only add `slug` to the request if your Site has the [Advanced or Enterprise Localization](https://webflow.com/localization) add-on.
77
+ * </Note>
78
+ *
72
79
  * Required scope | `pages:write`
73
80
  *
74
81
  * @param {string} pageId - Unique identifier for a Page
@@ -112,9 +119,11 @@ export declare class Pages {
112
119
  */
113
120
  updatePageSettings(pageId: string, request: Webflow.UpdatePageSettingsRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Page>;
114
121
  /**
115
- * Get static content from a static page.
122
+ * Get content from a static page. This includes text nodes, image nodes, and component instances with [property overrides](https://help.webflow.com/hc/en-us/articles/33961219350547-Component-properties#how-to-modify-property-values-on-component-instances).
116
123
  *
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.
124
+ * To retrieve the static content of a component instance, use the [Get Component Content](/data/reference/pages-and-components/components/get-content) endpoint.
125
+ *
126
+ * <Note>If you do not include a `localeId` in your request, the response will return any content that can be localized from the Primary locale.</Note>
118
127
  *
119
128
  * Required scope | `pages:read`
120
129
  *
@@ -136,14 +145,20 @@ export declare class Pages {
136
145
  */
137
146
  getContent(pageId: string, request?: Webflow.PagesGetContentRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Dom>;
138
147
  /**
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.
148
+ * This endpoint updates content on a static page in **secondary locales**. It supports updating up to 1000 nodes in a single request.
149
+ *
150
+ * Before making updates:
151
+ * 1. Use the [get page content](/data/reference/pages-and-components/pages/get-content) endpoint to identify available content nodes and their types
152
+ * 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
140
153
  *
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>
154
+ * <Note>
155
+ * 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.
156
+ * </Note>
142
157
  *
143
158
  * Required scope | `pages:write`
144
159
  *
145
160
  * @param {string} pageId - Unique identifier for a Page
146
- * @param {Webflow.DomWrite} request
161
+ * @param {Webflow.PageDomWrite} request
147
162
  * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
148
163
  *
149
164
  * @throws {@link Webflow.BadRequestError}
@@ -155,20 +170,26 @@ export declare class Pages {
155
170
  *
156
171
  * @example
157
172
  * await client.pages.updateStaticContent("63c720f9347c2139b248e552", {
158
- * localeId: "65427cf400e02b306eaa04a0",
173
+ * localeId: "localeId",
159
174
  * nodes: [{
160
175
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
161
- * text: "<h1>The Hitchhiker\u2019s Guide to the Galaxy</h1>"
176
+ * text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
162
177
  * }, {
163
178
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
164
- * text: "<div><h3>Don\u2019t Panic!</h3><p>Always know where your towel is.</p></div>"
179
+ * text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
165
180
  * }, {
166
181
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
167
- * text: "<img alt=\"Marvin, the Paranoid Android\" src=\"path/to/image/with/assetId/659595234426a9fcbad57043\"/>"
182
+ * propertyOverrides: [{
183
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0",
184
+ * text: "<div><h1>Time is an <em>illusion</em></h1></div>"
185
+ * }, {
186
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f1",
187
+ * text: "Life, the Universe and Everything"
188
+ * }]
168
189
  * }]
169
190
  * })
170
191
  */
171
- updateStaticContent(pageId: string, request: Webflow.DomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.UpdateStaticContentResponse>;
192
+ updateStaticContent(pageId: string, request: Webflow.PageDomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.UpdateStaticContentResponse>;
172
193
  protected _scripts: Scripts | undefined;
173
194
  get scripts(): Scripts;
174
195
  protected _getAuthorizationHeader(): Promise<string>;
@@ -57,6 +57,9 @@ const url_join_1 = __importDefault(require("url-join"));
57
57
  const serializers = __importStar(require("../../../../serialization/index"));
58
58
  const errors = __importStar(require("../../../../errors/index"));
59
59
  const Client_1 = require("../resources/scripts/client/Client");
60
+ /**
61
+ * Pages are the pages in your Webflow site.
62
+ */
60
63
  class Pages {
61
64
  constructor(_options) {
62
65
  this._options = _options;
@@ -98,7 +101,7 @@ class Pages {
98
101
  const _response = yield core.fetcher({
99
102
  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)}/pages`),
100
103
  method: "GET",
101
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.1", "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
102
105
  contentType: "application/json",
103
106
  queryParameters: _queryParams,
104
107
  requestType: "json",
@@ -204,7 +207,7 @@ class Pages {
204
207
  const _response = yield core.fetcher({
205
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `pages/${encodeURIComponent(pageId)}`),
206
209
  method: "GET",
207
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.1", "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
208
211
  contentType: "application/json",
209
212
  queryParameters: _queryParams,
210
213
  requestType: "json",
@@ -282,6 +285,10 @@ class Pages {
282
285
  /**
283
286
  * Update Page-level metadata, including SEO and Open Graph fields.
284
287
  *
288
+ * <Note>
289
+ * Note: When updating Page Metadata in secondary locales, you may only add `slug` to the request if your Site has the [Advanced or Enterprise Localization](https://webflow.com/localization) add-on.
290
+ * </Note>
291
+ *
285
292
  * Required scope | `pages:write`
286
293
  *
287
294
  * @param {string} pageId - Unique identifier for a Page
@@ -334,7 +341,7 @@ class Pages {
334
341
  const _response = yield core.fetcher({
335
342
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `pages/${encodeURIComponent(pageId)}`),
336
343
  method: "PUT",
337
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.1", "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
338
345
  contentType: "application/json",
339
346
  queryParameters: _queryParams,
340
347
  requestType: "json",
@@ -415,9 +422,11 @@ class Pages {
415
422
  });
416
423
  }
417
424
  /**
418
- * Get static content from a static page.
425
+ * Get content from a static page. This includes text nodes, image nodes, and component instances with [property overrides](https://help.webflow.com/hc/en-us/articles/33961219350547-Component-properties#how-to-modify-property-values-on-component-instances).
419
426
  *
420
- * 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.
427
+ * To retrieve the static content of a component instance, use the [Get Component Content](/data/reference/pages-and-components/components/get-content) endpoint.
428
+ *
429
+ * <Note>If you do not include a `localeId` in your request, the response will return any content that can be localized from the Primary locale.</Note>
421
430
  *
422
431
  * Required scope | `pages:read`
423
432
  *
@@ -454,7 +463,7 @@ class Pages {
454
463
  const _response = yield core.fetcher({
455
464
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `pages/${encodeURIComponent(pageId)}/dom`),
456
465
  method: "GET",
457
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.1", "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
466
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
458
467
  contentType: "application/json",
459
468
  queryParameters: _queryParams,
460
469
  requestType: "json",
@@ -532,14 +541,20 @@ class Pages {
532
541
  });
533
542
  }
534
543
  /**
535
- * 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.
544
+ * This endpoint updates content on a static page in **secondary locales**. It supports updating up to 1000 nodes in a single request.
545
+ *
546
+ * Before making updates:
547
+ * 1. Use the [get page content](/data/reference/pages-and-components/pages/get-content) endpoint to identify available content nodes and their types
548
+ * 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
536
549
  *
537
- * <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>
550
+ * <Note>
551
+ * 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.
552
+ * </Note>
538
553
  *
539
554
  * Required scope | `pages:write`
540
555
  *
541
556
  * @param {string} pageId - Unique identifier for a Page
542
- * @param {Webflow.DomWrite} request
557
+ * @param {Webflow.PageDomWrite} request
543
558
  * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
544
559
  *
545
560
  * @throws {@link Webflow.BadRequestError}
@@ -551,16 +566,22 @@ class Pages {
551
566
  *
552
567
  * @example
553
568
  * await client.pages.updateStaticContent("63c720f9347c2139b248e552", {
554
- * localeId: "65427cf400e02b306eaa04a0",
569
+ * localeId: "localeId",
555
570
  * nodes: [{
556
571
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
557
- * text: "<h1>The Hitchhiker\u2019s Guide to the Galaxy</h1>"
572
+ * text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
558
573
  * }, {
559
574
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
560
- * text: "<div><h3>Don\u2019t Panic!</h3><p>Always know where your towel is.</p></div>"
575
+ * text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
561
576
  * }, {
562
577
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
563
- * text: "<img alt=\"Marvin, the Paranoid Android\" src=\"path/to/image/with/assetId/659595234426a9fcbad57043\"/>"
578
+ * propertyOverrides: [{
579
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f0",
580
+ * text: "<div><h1>Time is an <em>illusion</em></h1></div>"
581
+ * }, {
582
+ * propertyId: "7dd14c08-2e96-8d3d-2b19-b5c03642a0f1",
583
+ * text: "Life, the Universe and Everything"
584
+ * }]
564
585
  * }]
565
586
  * })
566
587
  */
@@ -569,17 +590,15 @@ class Pages {
569
590
  return __awaiter(this, void 0, void 0, function* () {
570
591
  const { localeId } = request, _body = __rest(request, ["localeId"]);
571
592
  const _queryParams = {};
572
- if (localeId != null) {
573
- _queryParams["localeId"] = localeId;
574
- }
593
+ _queryParams["localeId"] = localeId;
575
594
  const _response = yield core.fetcher({
576
595
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `pages/${encodeURIComponent(pageId)}/dom`),
577
596
  method: "POST",
578
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.0.1", "User-Agent": "webflow-api/3.0.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
597
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
579
598
  contentType: "application/json",
580
599
  queryParameters: _queryParams,
581
600
  requestType: "json",
582
- body: serializers.DomWrite.jsonOrThrow(_body, {
601
+ body: serializers.PageDomWrite.jsonOrThrow(_body, {
583
602
  unrecognizedObjectKeys: "passthrough",
584
603
  allowUnrecognizedUnionMembers: true,
585
604
  allowUnrecognizedEnumValues: true,
@@ -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: "localeId",
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 PageDomWrite {
28
+ /**
29
+ * The locale identifier.
30
+ */
31
+ localeId: string;
32
+ /** List of DOM Nodes with the new content that will be updated in each node. */
33
+ nodes: Webflow.PageDomWriteNodesItem[];
34
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,4 +2,4 @@ export { type PagesListRequest } from "./PagesListRequest";
2
2
  export { type PagesGetMetadataRequest } from "./PagesGetMetadataRequest";
3
3
  export { type UpdatePageSettingsRequest } from "./UpdatePageSettingsRequest";
4
4
  export { type PagesGetContentRequest } from "./PagesGetContentRequest";
5
- export { type DomWrite } from "./DomWrite";
5
+ export { type PageDomWrite } from "./PageDomWrite";
@@ -24,13 +24,7 @@ export declare class Scripts {
24
24
  protected readonly _options: Scripts.Options;
25
25
  constructor(_options: Scripts.Options);
26
26
  /**
27
- * Get all registered scripts that have been applied to a specific Page.
28
- *
29
- * In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered
30
- * to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate
31
- * `custom_code` endpoints.
32
- *
33
- * <blockquote class="callout callout_info" theme="📘">Access to this endpoint requires a bearer token from a <a href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data Client App</a>.</blockquote>
27
+ * Get all scripts applied to a page.
34
28
  *
35
29
  * Required scope | `custom_code:read`
36
30
  *
@@ -48,13 +42,11 @@ export declare class Scripts {
48
42
  */
49
43
  getCustomCode(pageId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
50
44
  /**
51
- * Add a registered script to a Page.
45
+ * Apply scripts to a page.
52
46
  *
53
- * In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered
54
- * to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate
55
- * `custom_code` endpoints.
56
- *
57
- * <blockquote class="callout callout_info" theme="📘">Access to this endpoint requires a bearer token from a <a href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data Client App</a>.</blockquote>
47
+ * <Note title="Script Registration">
48
+ * To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
49
+ * </Note>
58
50
  *
59
51
  * Required scope | `custom_code:write`
60
52
  *
@@ -65,6 +57,7 @@ export declare class Scripts {
65
57
  * @throws {@link Webflow.BadRequestError}
66
58
  * @throws {@link Webflow.UnauthorizedError}
67
59
  * @throws {@link Webflow.NotFoundError}
60
+ * @throws {@link Webflow.ConflictError}
68
61
  * @throws {@link Webflow.TooManyRequestsError}
69
62
  * @throws {@link Webflow.InternalServerError}
70
63
  *
@@ -86,13 +79,9 @@ export declare class Scripts {
86
79
  */
87
80
  upsertCustomCode(pageId: string, request: Webflow.ScriptApplyList, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
88
81
  /**
89
- * Delete the custom code block that an app has created for a page
90
- *
91
- * In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered
92
- * to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate
93
- * `custom_code` endpoints.
82
+ * Delete a custom code block that the App created on a page.
94
83
  *
95
- * <blockquote class="callout callout_info" theme="📘">Access to this endpoint requires a bearer token from a <a href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data Client App</a>.</blockquote>
84
+ * <Note>Access to this endpoint requires a bearer token from a [Data Client App](/data/docs/getting-started-data-clients).</Note>
96
85
  *
97
86
  * Required scope | `custom_code:write`
98
87
  *