webflow-api 2.2.1 → 2.3.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 (373) hide show
  1. package/api/resources/accessGroups/client/Client.js +1 -1
  2. package/api/resources/assets/client/Client.js +8 -8
  3. package/api/resources/collections/client/Client.js +5 -5
  4. package/api/resources/collections/resources/fields/client/Client.js +2 -2
  5. package/api/resources/collections/resources/items/client/Client.d.ts +1 -2
  6. package/api/resources/collections/resources/items/client/Client.js +11 -18
  7. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  8. package/api/resources/collections/resources/items/types/index.d.ts +0 -1
  9. package/api/resources/collections/resources/items/types/index.js +0 -1
  10. package/api/resources/ecommerce/client/Client.js +1 -1
  11. package/api/resources/forms/client/Client.js +5 -5
  12. package/api/resources/inventory/client/Client.js +2 -2
  13. package/api/resources/orders/client/Client.js +6 -6
  14. package/api/resources/pages/client/Client.d.ts +23 -14
  15. package/api/resources/pages/client/Client.js +28 -19
  16. package/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  17. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  18. package/api/resources/pages/resources/scripts/client/Client.js +3 -3
  19. package/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  20. package/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  21. package/api/resources/pages/types/index.d.ts +1 -0
  22. package/api/resources/pages/types/index.js +1 -0
  23. package/api/resources/products/client/Client.d.ts +34 -26
  24. package/api/resources/products/client/Client.js +41 -33
  25. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  26. package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  27. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  28. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  29. package/api/resources/products/client/requests/index.d.ts +1 -1
  30. package/api/resources/products/types/index.d.ts +0 -11
  31. package/api/resources/products/types/index.js +0 -11
  32. package/api/resources/scripts/client/Client.d.ts +2 -2
  33. package/api/resources/scripts/client/Client.js +5 -5
  34. package/api/resources/sites/client/Client.d.ts +2 -1
  35. package/api/resources/sites/client/Client.js +6 -5
  36. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  37. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  38. package/api/resources/sites/resources/scripts/client/Client.js +4 -4
  39. package/api/resources/token/client/Client.js +2 -2
  40. package/api/resources/users/client/Client.js +5 -5
  41. package/api/resources/webhooks/client/Client.js +4 -4
  42. package/api/types/Asset.d.ts +8 -8
  43. package/api/types/AssetFolder.d.ts +2 -2
  44. package/api/types/AssetUpload.d.ts +5 -5
  45. package/api/types/AssetUploadUploadDetails.d.ts +2 -4
  46. package/api/types/AssetVariant.d.ts +4 -0
  47. package/{dist/api/types/CustomCodeResponse.d.ts → api/types/CustomCodeHostedResponse.d.ts} +9 -9
  48. package/api/types/{CustomCodeResponse.d.ts → CustomCodeInlineResponse.d.ts} +9 -9
  49. package/api/types/Form.d.ts +13 -8
  50. package/api/types/FormField.d.ts +3 -0
  51. package/api/types/FormFieldValue.d.ts +3 -0
  52. package/api/types/FormResponseSettings.d.ts +5 -2
  53. package/api/types/Locale.d.ts +21 -0
  54. package/api/types/Locales.d.ts +10 -0
  55. package/api/types/Node.d.ts +1 -0
  56. package/api/types/Order.d.ts +5 -5
  57. package/api/types/OrderAddress.d.ts +1 -1
  58. package/api/types/OrderAddressJapanType.d.ts +1 -1
  59. package/api/types/OrderList.d.ts +1 -1
  60. package/api/types/OrderPurchasedItem.d.ts +2 -0
  61. package/api/types/Product.d.ts +2 -0
  62. package/api/types/ProductFieldData.d.ts +5 -4
  63. package/api/types/RegisteredScriptList.d.ts +4 -1
  64. package/api/types/ScriptApply.d.ts +1 -1
  65. package/api/types/ScriptApplyList.d.ts +1 -0
  66. package/api/types/Scripts.d.ts +3 -0
  67. package/api/types/Site.d.ts +3 -0
  68. package/api/types/Sites.d.ts +7 -0
  69. package/api/types/Sku.d.ts +2 -1
  70. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  71. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
  72. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
  73. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
  74. package/api/types/index.d.ts +7 -1
  75. package/api/types/index.js +7 -1
  76. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  77. package/dist/api/resources/assets/client/Client.js +8 -8
  78. package/dist/api/resources/collections/client/Client.js +5 -5
  79. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  80. package/dist/api/resources/collections/resources/items/client/Client.d.ts +1 -2
  81. package/dist/api/resources/collections/resources/items/client/Client.js +11 -18
  82. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  83. package/dist/api/resources/collections/resources/items/types/index.d.ts +0 -1
  84. package/dist/api/resources/collections/resources/items/types/index.js +0 -1
  85. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  86. package/dist/api/resources/forms/client/Client.js +5 -5
  87. package/dist/api/resources/inventory/client/Client.js +2 -2
  88. package/dist/api/resources/orders/client/Client.js +6 -6
  89. package/dist/api/resources/pages/client/Client.d.ts +23 -14
  90. package/dist/api/resources/pages/client/Client.js +28 -19
  91. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  92. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  93. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
  94. package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  95. package/dist/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  96. package/dist/api/resources/pages/types/index.d.ts +1 -0
  97. package/dist/api/resources/pages/types/index.js +1 -0
  98. package/dist/api/resources/products/client/Client.d.ts +34 -26
  99. package/dist/api/resources/products/client/Client.js +41 -33
  100. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  101. package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  102. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  103. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  104. package/dist/api/resources/products/client/requests/index.d.ts +1 -1
  105. package/dist/api/resources/products/types/index.d.ts +0 -11
  106. package/dist/api/resources/products/types/index.js +0 -11
  107. package/dist/api/resources/scripts/client/Client.d.ts +2 -2
  108. package/dist/api/resources/scripts/client/Client.js +5 -5
  109. package/dist/api/resources/sites/client/Client.d.ts +2 -1
  110. package/dist/api/resources/sites/client/Client.js +6 -5
  111. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  112. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  113. package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
  114. package/dist/api/resources/token/client/Client.js +2 -2
  115. package/dist/api/resources/users/client/Client.js +5 -5
  116. package/dist/api/resources/webhooks/client/Client.js +4 -4
  117. package/dist/api/types/Asset.d.ts +8 -8
  118. package/dist/api/types/AssetFolder.d.ts +2 -2
  119. package/dist/api/types/AssetUpload.d.ts +5 -5
  120. package/dist/api/types/AssetUploadUploadDetails.d.ts +2 -4
  121. package/dist/api/types/AssetVariant.d.ts +4 -0
  122. package/dist/api/types/CustomCodeHostedResponse.d.ts +24 -0
  123. package/dist/api/types/CustomCodeInlineResponse.d.ts +24 -0
  124. package/dist/api/types/Form.d.ts +13 -8
  125. package/dist/api/types/FormField.d.ts +3 -0
  126. package/dist/api/types/FormFieldValue.d.ts +3 -0
  127. package/dist/api/types/FormResponseSettings.d.ts +5 -2
  128. package/dist/api/types/Locale.d.ts +21 -0
  129. package/dist/api/types/Locales.d.ts +10 -0
  130. package/dist/api/types/Node.d.ts +1 -0
  131. package/dist/api/types/Order.d.ts +5 -5
  132. package/dist/api/types/OrderAddress.d.ts +1 -1
  133. package/dist/api/types/OrderAddressJapanType.d.ts +1 -1
  134. package/dist/api/types/OrderList.d.ts +1 -1
  135. package/dist/api/types/OrderPurchasedItem.d.ts +2 -0
  136. package/dist/api/types/Product.d.ts +2 -0
  137. package/dist/api/types/ProductFieldData.d.ts +5 -4
  138. package/dist/api/types/RegisteredScriptList.d.ts +4 -1
  139. package/dist/api/types/ScriptApply.d.ts +1 -1
  140. package/dist/api/types/ScriptApplyList.d.ts +1 -0
  141. package/dist/api/types/Scripts.d.ts +3 -0
  142. package/dist/api/types/Site.d.ts +3 -0
  143. package/dist/api/types/Sites.d.ts +7 -0
  144. package/dist/api/types/Sku.d.ts +2 -1
  145. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  146. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
  147. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
  148. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
  149. package/dist/api/types/index.d.ts +7 -1
  150. package/dist/api/types/index.js +7 -1
  151. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  152. package/dist/serialization/resources/collections/resources/items/types/index.js +0 -1
  153. package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  154. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → dist/serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  155. package/dist/serialization/resources/pages/types/index.d.ts +1 -0
  156. package/dist/serialization/resources/pages/types/index.js +1 -0
  157. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  158. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  159. package/dist/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  160. package/{serialization/resources/products/client/requests/ProductsUpdateRequest.js → dist/serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  161. package/dist/serialization/resources/products/client/requests/index.d.ts +1 -1
  162. package/dist/serialization/resources/products/client/requests/index.js +3 -3
  163. package/dist/serialization/resources/products/types/index.d.ts +0 -11
  164. package/dist/serialization/resources/products/types/index.js +0 -11
  165. package/dist/serialization/types/Asset.d.ts +4 -4
  166. package/dist/serialization/types/Asset.js +4 -4
  167. package/dist/serialization/types/AssetFolder.d.ts +1 -1
  168. package/dist/serialization/types/AssetFolder.js +1 -1
  169. package/dist/serialization/types/AssetUpload.d.ts +3 -3
  170. package/dist/serialization/types/AssetUpload.js +3 -3
  171. package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  172. package/dist/serialization/types/AssetUploadUploadDetails.js +2 -3
  173. package/dist/serialization/types/{CustomCodeResponse.d.ts → CustomCodeHostedResponse.d.ts} +6 -6
  174. package/{serialization/types/CustomCodeResponse.js → dist/serialization/types/CustomCodeHostedResponse.js} +6 -6
  175. package/{serialization/types/CustomCodeResponse.d.ts → dist/serialization/types/CustomCodeInlineResponse.d.ts} +6 -6
  176. package/dist/serialization/types/{CustomCodeResponse.js → CustomCodeInlineResponse.js} +6 -6
  177. package/dist/serialization/types/Form.d.ts +5 -5
  178. package/dist/serialization/types/Form.js +5 -5
  179. package/dist/serialization/types/FormResponseSettings.d.ts +1 -1
  180. package/dist/serialization/types/FormResponseSettings.js +1 -1
  181. package/dist/serialization/types/Locale.d.ts +19 -0
  182. package/dist/serialization/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Locale.js} +11 -5
  183. package/dist/serialization/types/Locales.d.ts +13 -0
  184. package/dist/serialization/types/Locales.js +45 -0
  185. package/dist/serialization/types/OrderList.d.ts +1 -1
  186. package/dist/serialization/types/OrderList.js +1 -1
  187. package/dist/serialization/types/OrderPurchasedItem.d.ts +1 -0
  188. package/dist/serialization/types/OrderPurchasedItem.js +1 -0
  189. package/dist/serialization/types/Product.d.ts +1 -0
  190. package/dist/serialization/types/Product.js +1 -0
  191. package/dist/serialization/types/ProductFieldData.d.ts +2 -3
  192. package/dist/serialization/types/ProductFieldData.js +2 -3
  193. package/dist/serialization/types/RegisteredScriptList.d.ts +1 -1
  194. package/dist/serialization/types/RegisteredScriptList.js +1 -1
  195. package/dist/serialization/types/Site.d.ts +2 -0
  196. package/dist/serialization/types/Site.js +2 -0
  197. package/dist/serialization/types/Sites.d.ts +12 -0
  198. package/dist/serialization/types/Sites.js +42 -0
  199. package/dist/serialization/types/Sku.d.ts +1 -0
  200. package/dist/serialization/types/Sku.js +1 -0
  201. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  202. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  203. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  204. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  205. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  206. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  207. package/dist/serialization/types/index.d.ts +7 -1
  208. package/dist/serialization/types/index.js +7 -1
  209. package/dist/wrapper/CollectionsClient.d.ts +8 -0
  210. package/dist/wrapper/CollectionsClient.js +18 -0
  211. package/dist/wrapper/ItemsClient.d.ts +30 -0
  212. package/dist/wrapper/ItemsClient.js +138 -0
  213. package/dist/wrapper/WebflowClient.d.ts +5 -0
  214. package/dist/wrapper/WebflowClient.js +11 -2
  215. package/package.json +1 -1
  216. package/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  217. package/serialization/resources/collections/resources/items/types/index.js +0 -1
  218. package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  219. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  220. package/serialization/resources/pages/types/index.d.ts +1 -0
  221. package/serialization/resources/pages/types/index.js +1 -0
  222. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  223. package/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  224. package/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  225. package/{dist/serialization/resources/products/client/requests/ProductsUpdateRequest.js → serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  226. package/serialization/resources/products/client/requests/index.d.ts +1 -1
  227. package/serialization/resources/products/client/requests/index.js +3 -3
  228. package/serialization/resources/products/types/index.d.ts +0 -11
  229. package/serialization/resources/products/types/index.js +0 -11
  230. package/serialization/types/Asset.d.ts +4 -4
  231. package/serialization/types/Asset.js +4 -4
  232. package/serialization/types/AssetFolder.d.ts +1 -1
  233. package/serialization/types/AssetFolder.js +1 -1
  234. package/serialization/types/AssetUpload.d.ts +3 -3
  235. package/serialization/types/AssetUpload.js +3 -3
  236. package/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  237. package/serialization/types/AssetUploadUploadDetails.js +2 -3
  238. package/serialization/types/CustomCodeHostedResponse.d.ts +19 -0
  239. package/serialization/types/CustomCodeHostedResponse.js +40 -0
  240. package/serialization/types/CustomCodeInlineResponse.d.ts +19 -0
  241. package/serialization/types/CustomCodeInlineResponse.js +40 -0
  242. package/serialization/types/Form.d.ts +5 -5
  243. package/serialization/types/Form.js +5 -5
  244. package/serialization/types/FormResponseSettings.d.ts +1 -1
  245. package/serialization/types/FormResponseSettings.js +1 -1
  246. package/serialization/types/Locale.d.ts +19 -0
  247. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → serialization/types/Locale.js} +11 -6
  248. package/serialization/types/Locales.d.ts +13 -0
  249. package/serialization/types/Locales.js +45 -0
  250. package/serialization/types/OrderList.d.ts +1 -1
  251. package/serialization/types/OrderList.js +1 -1
  252. package/serialization/types/OrderPurchasedItem.d.ts +1 -0
  253. package/serialization/types/OrderPurchasedItem.js +1 -0
  254. package/serialization/types/Product.d.ts +1 -0
  255. package/serialization/types/Product.js +1 -0
  256. package/serialization/types/ProductFieldData.d.ts +2 -3
  257. package/serialization/types/ProductFieldData.js +2 -3
  258. package/serialization/types/RegisteredScriptList.d.ts +1 -1
  259. package/serialization/types/RegisteredScriptList.js +1 -1
  260. package/serialization/types/Site.d.ts +2 -0
  261. package/serialization/types/Site.js +2 -0
  262. package/serialization/types/Sites.d.ts +12 -0
  263. package/serialization/types/Sites.js +42 -0
  264. package/serialization/types/Sku.d.ts +1 -0
  265. package/serialization/types/Sku.js +1 -0
  266. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  267. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  268. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  269. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  270. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  271. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  272. package/serialization/types/index.d.ts +7 -1
  273. package/serialization/types/index.js +7 -1
  274. package/wrapper/CollectionsClient.d.ts +8 -0
  275. package/wrapper/CollectionsClient.js +18 -0
  276. package/wrapper/ItemsClient.d.ts +30 -0
  277. package/wrapper/ItemsClient.js +138 -0
  278. package/wrapper/WebflowClient.d.ts +5 -0
  279. package/wrapper/WebflowClient.js +11 -2
  280. package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  281. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  282. package/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  283. package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  284. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  285. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  286. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  287. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  288. package/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  289. package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  290. package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  291. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  292. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  293. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  294. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  295. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  296. package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  297. package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  298. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  299. package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  300. package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  301. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  302. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  303. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  304. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  305. package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  306. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  307. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  308. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -5
  309. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  310. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  311. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  312. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +0 -5
  313. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  314. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  315. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  316. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -5
  317. package/dist/api/types/CustomCodeResponse.js +0 -5
  318. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  319. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
  320. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  321. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  322. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  323. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  324. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  325. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  326. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  327. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  328. package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  329. package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  330. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  331. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  332. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  333. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  334. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  335. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  336. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  337. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  338. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
  339. package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  340. package/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  341. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  342. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  343. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  344. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  345. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  346. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  347. package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  348. package/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  349. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  350. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  351. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  352. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
  353. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  354. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  355. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  356. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  357. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -35
  358. /package/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → pages/types/UpdateStaticContentResponse.js} +0 -0
  359. /package/api/resources/products/client/requests/{ProductsUpdateRequest.js → ProductSkuUpdate.js} +0 -0
  360. /package/api/{resources/products/types/ProductSkuCreateProduct.js → types/CustomCodeHostedResponse.js} +0 -0
  361. /package/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeInlineResponse.js} +0 -0
  362. /package/api/{resources/products/types/ProductSkuCreateSku.js → types/Locale.js} +0 -0
  363. /package/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locales.js} +0 -0
  364. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Sites.js} +0 -0
  365. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
  366. /package/{api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → dist/api/resources/pages/types/UpdateStaticContentResponse.js} +0 -0
  367. /package/{api/types/CustomCodeResponse.js → dist/api/resources/products/client/requests/ProductSkuUpdate.js} +0 -0
  368. /package/dist/api/{resources/collections/resources/items/types/ItemsPublishItemResponse.js → types/CustomCodeHostedResponse.js} +0 -0
  369. /package/dist/api/{resources/products/client/requests/ProductsUpdateRequest.js → types/CustomCodeInlineResponse.js} +0 -0
  370. /package/dist/api/{resources/products/types/ProductSkuCreateProduct.js → types/Locale.js} +0 -0
  371. /package/dist/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/Locales.js} +0 -0
  372. /package/dist/api/{resources/products/types/ProductSkuCreateSku.js → types/Sites.js} +0 -0
  373. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
@@ -45,7 +45,7 @@ export declare class Scripts {
45
45
  * displayName: "displayName"
46
46
  * })
47
47
  */
48
- registerHosted(siteId: string, request: Webflow.CustomCodeHostedRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeResponse>;
48
+ registerHosted(siteId: string, request: Webflow.CustomCodeHostedRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeHostedResponse>;
49
49
  /**
50
50
  * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
51
51
  * @throws {@link Webflow.BadRequestError}
@@ -61,6 +61,6 @@ export declare class Scripts {
61
61
  * displayName: "Alert"
62
62
  * })
63
63
  */
64
- registerInline(siteId: string, request: Webflow.CustomCodeInlineRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeResponse>;
64
+ registerInline(siteId: string, request: Webflow.CustomCodeInlineRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeInlineResponse>;
65
65
  protected _getAuthorizationHeader(): Promise<string>;
66
66
  }
@@ -70,7 +70,7 @@ class Scripts {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "v2.2.1",
73
+ "X-Fern-SDK-Version": "2.3.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -147,7 +147,7 @@ class Scripts {
147
147
  Authorization: yield this._getAuthorizationHeader(),
148
148
  "X-Fern-Language": "JavaScript",
149
149
  "X-Fern-SDK-Name": "webflow-api",
150
- "X-Fern-SDK-Version": "v2.2.1",
150
+ "X-Fern-SDK-Version": "2.3.1",
151
151
  "X-Fern-Runtime": core.RUNTIME.type,
152
152
  "X-Fern-Runtime-Version": core.RUNTIME.version,
153
153
  },
@@ -157,7 +157,7 @@ class Scripts {
157
157
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
158
158
  });
159
159
  if (_response.ok) {
160
- return yield serializers.CustomCodeResponse.parseOrThrow(_response.body, {
160
+ return yield serializers.CustomCodeHostedResponse.parseOrThrow(_response.body, {
161
161
  unrecognizedObjectKeys: "passthrough",
162
162
  allowUnrecognizedUnionMembers: true,
163
163
  allowUnrecognizedEnumValues: true,
@@ -224,7 +224,7 @@ class Scripts {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "webflow-api",
227
- "X-Fern-SDK-Version": "v2.2.1",
227
+ "X-Fern-SDK-Version": "2.3.1",
228
228
  "X-Fern-Runtime": core.RUNTIME.type,
229
229
  "X-Fern-Runtime-Version": core.RUNTIME.version,
230
230
  },
@@ -234,7 +234,7 @@ class Scripts {
234
234
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
235
235
  });
236
236
  if (_response.ok) {
237
- return yield serializers.CustomCodeResponse.parseOrThrow(_response.body, {
237
+ return yield serializers.CustomCodeInlineResponse.parseOrThrow(_response.body, {
238
238
  unrecognizedObjectKeys: "passthrough",
239
239
  allowUnrecognizedUnionMembers: true,
240
240
  allowUnrecognizedEnumValues: true,
@@ -30,7 +30,7 @@ export declare class Sites {
30
30
  * @example
31
31
  * await webflow.sites.list()
32
32
  */
33
- list(requestOptions?: Sites.RequestOptions): Promise<Webflow.Site>;
33
+ list(requestOptions?: Sites.RequestOptions): Promise<Webflow.Sites>;
34
34
  /**
35
35
  * Get a site by site id </br></br> Required scope | `sites:read`
36
36
  * @throws {@link Webflow.BadRequestError}
@@ -65,6 +65,7 @@ export declare class Sites {
65
65
  *
66
66
  * @example
67
67
  * await webflow.sites.publish("site_id", {
68
+ * customDomains: ["589a331aa51e760df7ccb89d"],
68
69
  * publishToWebflowSubdomain: false
69
70
  * })
70
71
  */
@@ -72,7 +72,7 @@ class Sites {
72
72
  Authorization: yield this._getAuthorizationHeader(),
73
73
  "X-Fern-Language": "JavaScript",
74
74
  "X-Fern-SDK-Name": "webflow-api",
75
- "X-Fern-SDK-Version": "v2.2.1",
75
+ "X-Fern-SDK-Version": "2.3.1",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -81,7 +81,7 @@ class Sites {
81
81
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
82
82
  });
83
83
  if (_response.ok) {
84
- return yield serializers.Site.parseOrThrow(_response.body, {
84
+ return yield serializers.Sites.parseOrThrow(_response.body, {
85
85
  unrecognizedObjectKeys: "passthrough",
86
86
  allowUnrecognizedUnionMembers: true,
87
87
  allowUnrecognizedEnumValues: true,
@@ -144,7 +144,7 @@ class Sites {
144
144
  Authorization: yield this._getAuthorizationHeader(),
145
145
  "X-Fern-Language": "JavaScript",
146
146
  "X-Fern-SDK-Name": "webflow-api",
147
- "X-Fern-SDK-Version": "v2.2.1",
147
+ "X-Fern-SDK-Version": "2.3.1",
148
148
  "X-Fern-Runtime": core.RUNTIME.type,
149
149
  "X-Fern-Runtime-Version": core.RUNTIME.version,
150
150
  },
@@ -216,7 +216,7 @@ class Sites {
216
216
  Authorization: yield this._getAuthorizationHeader(),
217
217
  "X-Fern-Language": "JavaScript",
218
218
  "X-Fern-SDK-Name": "webflow-api",
219
- "X-Fern-SDK-Version": "v2.2.1",
219
+ "X-Fern-SDK-Version": "2.3.1",
220
220
  "X-Fern-Runtime": core.RUNTIME.type,
221
221
  "X-Fern-Runtime-Version": core.RUNTIME.version,
222
222
  },
@@ -277,6 +277,7 @@ class Sites {
277
277
  *
278
278
  * @example
279
279
  * await webflow.sites.publish("site_id", {
280
+ * customDomains: ["589a331aa51e760df7ccb89d"],
280
281
  * publishToWebflowSubdomain: false
281
282
  * })
282
283
  */
@@ -290,7 +291,7 @@ class Sites {
290
291
  Authorization: yield this._getAuthorizationHeader(),
291
292
  "X-Fern-Language": "JavaScript",
292
293
  "X-Fern-SDK-Name": "webflow-api",
293
- "X-Fern-SDK-Version": "v2.2.1",
294
+ "X-Fern-SDK-Version": "2.3.1",
294
295
  "X-Fern-Runtime": core.RUNTIME.type,
295
296
  "X-Fern-Runtime-Version": core.RUNTIME.version,
296
297
  },
@@ -4,6 +4,7 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * customDomains: ["589a331aa51e760df7ccb89d"],
7
8
  * publishToWebflowSubdomain: false
8
9
  * }
9
10
  */
@@ -77,7 +77,7 @@ class ActivityLogs {
77
77
  Authorization: yield this._getAuthorizationHeader(),
78
78
  "X-Fern-Language": "JavaScript",
79
79
  "X-Fern-SDK-Name": "webflow-api",
80
- "X-Fern-SDK-Version": "v2.2.1",
80
+ "X-Fern-SDK-Version": "2.3.1",
81
81
  "X-Fern-Runtime": core.RUNTIME.type,
82
82
  "X-Fern-Runtime-Version": core.RUNTIME.version,
83
83
  },
@@ -70,7 +70,7 @@ class Scripts {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "v2.2.1",
73
+ "X-Fern-SDK-Version": "2.3.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -159,7 +159,7 @@ class Scripts {
159
159
  Authorization: yield this._getAuthorizationHeader(),
160
160
  "X-Fern-Language": "JavaScript",
161
161
  "X-Fern-SDK-Name": "webflow-api",
162
- "X-Fern-SDK-Version": "v2.2.1",
162
+ "X-Fern-SDK-Version": "2.3.1",
163
163
  "X-Fern-Runtime": core.RUNTIME.type,
164
164
  "X-Fern-Runtime-Version": core.RUNTIME.version,
165
165
  },
@@ -232,7 +232,7 @@ class Scripts {
232
232
  Authorization: yield this._getAuthorizationHeader(),
233
233
  "X-Fern-Language": "JavaScript",
234
234
  "X-Fern-SDK-Name": "webflow-api",
235
- "X-Fern-SDK-Version": "v2.2.1",
235
+ "X-Fern-SDK-Version": "2.3.1",
236
236
  "X-Fern-Runtime": core.RUNTIME.type,
237
237
  "X-Fern-Runtime-Version": core.RUNTIME.version,
238
238
  },
@@ -306,7 +306,7 @@ class Scripts {
306
306
  Authorization: yield this._getAuthorizationHeader(),
307
307
  "X-Fern-Language": "JavaScript",
308
308
  "X-Fern-SDK-Name": "webflow-api",
309
- "X-Fern-SDK-Version": "v2.2.1",
309
+ "X-Fern-SDK-Version": "2.3.1",
310
310
  "X-Fern-Runtime": core.RUNTIME.type,
311
311
  "X-Fern-Runtime-Version": core.RUNTIME.version,
312
312
  },
@@ -67,7 +67,7 @@ class Token {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "webflow-api",
70
- "X-Fern-SDK-Version": "v2.2.1",
70
+ "X-Fern-SDK-Version": "2.3.1",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -129,7 +129,7 @@ class Token {
129
129
  Authorization: yield this._getAuthorizationHeader(),
130
130
  "X-Fern-Language": "JavaScript",
131
131
  "X-Fern-SDK-Name": "webflow-api",
132
- "X-Fern-SDK-Version": "v2.2.1",
132
+ "X-Fern-SDK-Version": "2.3.1",
133
133
  "X-Fern-Runtime": core.RUNTIME.type,
134
134
  "X-Fern-Runtime-Version": core.RUNTIME.version,
135
135
  },
@@ -82,7 +82,7 @@ class Users {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "webflow-api",
85
- "X-Fern-SDK-Version": "v2.2.1",
85
+ "X-Fern-SDK-Version": "2.3.1",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -158,7 +158,7 @@ class Users {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.2.1",
161
+ "X-Fern-SDK-Version": "2.3.1",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -233,7 +233,7 @@ class Users {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
234
  "X-Fern-Language": "JavaScript",
235
235
  "X-Fern-SDK-Name": "webflow-api",
236
- "X-Fern-SDK-Version": "v2.2.1",
236
+ "X-Fern-SDK-Version": "2.3.1",
237
237
  "X-Fern-Runtime": core.RUNTIME.type,
238
238
  "X-Fern-Runtime-Version": core.RUNTIME.version,
239
239
  },
@@ -311,7 +311,7 @@ class Users {
311
311
  Authorization: yield this._getAuthorizationHeader(),
312
312
  "X-Fern-Language": "JavaScript",
313
313
  "X-Fern-SDK-Name": "webflow-api",
314
- "X-Fern-SDK-Version": "v2.2.1",
314
+ "X-Fern-SDK-Version": "2.3.1",
315
315
  "X-Fern-Runtime": core.RUNTIME.type,
316
316
  "X-Fern-Runtime-Version": core.RUNTIME.version,
317
317
  },
@@ -391,7 +391,7 @@ class Users {
391
391
  Authorization: yield this._getAuthorizationHeader(),
392
392
  "X-Fern-Language": "JavaScript",
393
393
  "X-Fern-SDK-Name": "webflow-api",
394
- "X-Fern-SDK-Version": "v2.2.1",
394
+ "X-Fern-SDK-Version": "2.3.1",
395
395
  "X-Fern-Runtime": core.RUNTIME.type,
396
396
  "X-Fern-Runtime-Version": core.RUNTIME.version,
397
397
  },
@@ -70,7 +70,7 @@ class Webhooks {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "v2.2.1",
73
+ "X-Fern-SDK-Version": "2.3.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -145,7 +145,7 @@ class Webhooks {
145
145
  Authorization: yield this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "webflow-api",
148
- "X-Fern-SDK-Version": "v2.2.1",
148
+ "X-Fern-SDK-Version": "2.3.1",
149
149
  "X-Fern-Runtime": core.RUNTIME.type,
150
150
  "X-Fern-Runtime-Version": core.RUNTIME.version,
151
151
  },
@@ -218,7 +218,7 @@ class Webhooks {
218
218
  Authorization: yield this._getAuthorizationHeader(),
219
219
  "X-Fern-Language": "JavaScript",
220
220
  "X-Fern-SDK-Name": "webflow-api",
221
- "X-Fern-SDK-Version": "v2.2.1",
221
+ "X-Fern-SDK-Version": "2.3.1",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },
@@ -290,7 +290,7 @@ class Webhooks {
290
290
  Authorization: yield this._getAuthorizationHeader(),
291
291
  "X-Fern-Language": "JavaScript",
292
292
  "X-Fern-SDK-Name": "webflow-api",
293
- "X-Fern-SDK-Version": "v2.2.1",
293
+ "X-Fern-SDK-Version": "2.3.1",
294
294
  "X-Fern-Runtime": core.RUNTIME.type,
295
295
  "X-Fern-Runtime-Version": core.RUNTIME.version,
296
296
  },
@@ -5,21 +5,21 @@ import * as Webflow from "..";
5
5
  export interface Asset {
6
6
  /** Unique identifier for this asset */
7
7
  id?: string;
8
+ /** Original file name at the time of upload */
9
+ originalFileName?: string;
10
+ /** Display name of the asset */
11
+ displayName?: string;
8
12
  /** File format type */
9
13
  contentType?: string;
10
14
  /** size in bytes */
11
15
  size?: number;
12
16
  /** Unique identifier for the site that hosts this asset */
13
17
  siteId?: string;
14
- /** Link to the asset */
15
- hostedUrl?: string;
16
- /** Original file name at the time of upload */
17
- originalFileName?: string;
18
- /** Display name of the asset */
19
- displayName?: string;
20
- /** Date the asset metadata was last updated */
21
- lastUpdated?: Date;
22
18
  /** Date the asset metadata was created */
23
19
  createdOn?: Date;
20
+ /** Date the asset metadata was last updated */
21
+ lastUpdated?: Date;
22
+ /** Link to the asset */
23
+ hostedUrl?: string;
24
24
  variants?: Webflow.AssetVariant[];
25
25
  }
@@ -5,10 +5,10 @@
5
5
  * Asset Folder details
6
6
  */
7
7
  export interface AssetFolder {
8
- /** User visible name for the Asset Folder */
9
- displayName?: string;
10
8
  /** Unique identifier for the Asset Folder */
11
9
  id?: string;
10
+ /** User visible name for the Asset Folder */
11
+ displayName?: string;
12
12
  /** Pointer to parent Asset Folder (or null if root) */
13
13
  parentFolder?: string;
14
14
  /** Array of Asset instances in the folder */
@@ -5,19 +5,19 @@ import * as Webflow from "..";
5
5
  export interface AssetUpload {
6
6
  /** Metadata for uploading the asset binary */
7
7
  uploadDetails?: Webflow.AssetUploadUploadDetails;
8
- id?: string;
9
8
  contentType?: string;
9
+ id?: string;
10
10
  /** Parent folder for the asset */
11
11
  parentFolder?: string;
12
- /** Represents the link to the asset */
13
- hostedUrl?: string;
14
12
  uploadUrl?: string;
15
13
  /** S3 link to the asset */
16
14
  assetUrl?: string;
15
+ /** Represents the link to the asset */
16
+ hostedUrl?: string;
17
17
  /** Original file name when uploaded. If not specified at time of upload, it may be extracted from the raw file name */
18
18
  originalFileName?: string;
19
- /** Date the asset metadata was last updated */
20
- lastUpdated?: Date;
21
19
  /** Date the asset metadata was created */
22
20
  createdOn?: Date;
21
+ /** Date the asset metadata was last updated */
22
+ lastUpdated?: Date;
23
23
  }
@@ -7,13 +7,11 @@
7
7
  export interface AssetUploadUploadDetails {
8
8
  acl?: string;
9
9
  bucket?: string;
10
- key?: string;
11
- policy?: string;
12
10
  xAmzAlgorithm?: string;
13
11
  xAmzCredential?: string;
14
12
  xAmzDate?: string;
15
- /** (optional) Temporary security token obtained when authenticated through AWS STS */
16
- xAmzSecurityToken?: string;
13
+ key?: string;
14
+ policy?: string;
17
15
  xAmzSignature?: string;
18
16
  successActionStatus?: string;
19
17
  contentType?: string;
@@ -2,9 +2,13 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface AssetVariant {
5
+ /** URL of where the asset variant is hosted */
5
6
  hostedUrl?: string;
7
+ /** Original file name of the variant */
6
8
  originalFileName?: string;
9
+ /** Display name of the variant */
7
10
  displayName?: string;
11
+ /** format of the variant */
8
12
  format?: string;
9
13
  /** Width in pixels */
10
14
  width?: number;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Registered custom code for application
6
+ */
7
+ export interface CustomCodeHostedResponse {
8
+ /** Human readable id, derived from the user-specified display name */
9
+ id?: string;
10
+ /** Define whether the script can be copied on site duplication and transfer */
11
+ canCopy?: boolean;
12
+ /** User-facing name for the script */
13
+ displayName?: string;
14
+ /** URI for an externally hosted script location */
15
+ hostedLocation?: string;
16
+ /** Sub-Resource Integrity Hash. Only required for externally hosted scripts (passed via hostedLocation) */
17
+ integrityHash?: string;
18
+ /** Timestamp when the script version was created */
19
+ createdOn?: string;
20
+ /** Timestamp when the script version was last updated */
21
+ lastUpdated?: string;
22
+ /** A Semantic Version (SemVer) string, denoting the version of the script */
23
+ version?: string;
24
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Registered custom code for application
6
+ */
7
+ export interface CustomCodeInlineResponse {
8
+ /** Human readable id, derived from the user-specified display name */
9
+ id?: string;
10
+ /** Define whether the script can be copied on site duplication and transfer */
11
+ canCopy?: boolean;
12
+ /** User-facing name for the script */
13
+ displayName?: string;
14
+ /** URI for an externally hosted script location */
15
+ hostedLocation?: string;
16
+ /** Sub-Resource Integrity Hash. Only required for externally hosted scripts (passed via hostedLocation) */
17
+ integrityHash?: string;
18
+ /** Timestamp when the script version was created */
19
+ createdOn?: string;
20
+ /** Timestamp when the script version was last updated */
21
+ lastUpdated?: string;
22
+ /** A Semantic Version (SemVer) string, denoting the version of the script */
23
+ version?: string;
24
+ }
@@ -2,11 +2,22 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Webflow from "..";
5
+ /**
6
+ * A Webflow form
7
+ */
5
8
  export interface Form {
6
- /** The unique id for the Form */
7
- id?: string;
8
9
  /** The Form name displayed on the site */
9
10
  displayName?: string;
11
+ /** Date that the Form was created on */
12
+ createdOn?: Date;
13
+ /** Date that the Form was last updated on */
14
+ lastUpdated?: Date;
15
+ /** A list of form fields */
16
+ fields?: Webflow.FormField[];
17
+ /** Settings for form responses */
18
+ responseSettings?: Webflow.FormResponseSettings;
19
+ /** The unique id for the Form */
20
+ id?: string;
10
21
  /** The unique id of the Site the Form belongs to */
11
22
  siteId?: string;
12
23
  /** The unique id corresponding to the site's Domain name */
@@ -17,10 +28,4 @@ export interface Form {
17
28
  pageName?: string;
18
29
  /** The unique id of the Workspace the Site belongs to */
19
30
  workspaceId?: string;
20
- /** Date that the Form was created on */
21
- createdOn?: Date;
22
- /** Date that the Form was last updated on */
23
- lastUpdated?: Date;
24
- fields?: Webflow.FormField[];
25
- responseSettings?: Webflow.FormResponseSettings;
26
31
  }
@@ -2,4 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Webflow from "..";
5
+ /**
6
+ * A collection of form fields with additional properties.
7
+ */
5
8
  export declare type FormField = Record<string, Webflow.FormFieldValue>;
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Webflow from "..";
5
+ /**
6
+ * An object containing field info for a specific fieldID.
7
+ */
5
8
  export interface FormFieldValue {
6
9
  /** The field name displayed on the site */
7
10
  displayName?: string;
@@ -1,13 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * Settings for form responses
6
+ */
4
7
  export interface FormResponseSettings {
5
- /** Whether to send an email confirmation to the user */
6
- sendEmailConfirmation?: boolean;
7
8
  /** The url or path to redirect the user to after form submission */
8
9
  redirectUrl?: string;
9
10
  /** The HTTP request method to use for the redirectUrl (eg. POST or GET) */
10
11
  redirectMethod?: string;
11
12
  /** The action to take after form submission */
12
13
  redirectAction?: string;
14
+ /** Whether to send an email confirmation to the user */
15
+ sendEmailConfirmation?: boolean;
13
16
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Locale {
5
+ /** The unique identifier for the locale. */
6
+ id?: string;
7
+ /** A CMS-specific identifier for the locale. */
8
+ cmsLocaleId?: string;
9
+ /** Indicates if the locale is enabled. */
10
+ enabled?: boolean;
11
+ /** The display name of the locale, typically in English. */
12
+ displayName?: string;
13
+ /** An optional ID for an image associated with the locale, nullable. */
14
+ displayImageId?: string;
15
+ /** Determines if requests should redirect to the locale's subdirectory. */
16
+ redirect?: boolean;
17
+ /** The subdirectory path for the locale, used in URLs. */
18
+ subdirectory?: string;
19
+ /** A tag or code representing the locale, often following a standard format like 'en-US'. */
20
+ tag?: string;
21
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "..";
5
+ export interface Locales {
6
+ /** The primary locale for the site or application. */
7
+ primary?: Webflow.Locale;
8
+ /** A list of secondary locales available for the site or application. */
9
+ secondary?: Webflow.Locale[];
10
+ }
@@ -11,5 +11,6 @@ export interface Node {
11
11
  type?: Webflow.NodeType;
12
12
  text?: Webflow.TextNode;
13
13
  image?: Webflow.ImageNode;
14
+ /** The custom attributes of the node */
14
15
  attributes?: Record<string, string>;
15
16
  }
@@ -7,19 +7,19 @@ export interface Order {
7
7
  orderId?: string;
8
8
  /** The status of the Order */
9
9
  status?: Webflow.OrderStatus;
10
- /** A comment string for this Order editable by API user (not used by Webflow). */
10
+ /** A comment string for this Order, which is editable by API user (not used by Webflow). */
11
11
  comment?: string;
12
12
  /** A comment that the customer left when making their Order */
13
13
  orderComment?: string;
14
14
  /** The ISO8601 timestamp that an Order was placed. */
15
15
  acceptedOn?: Date;
16
- /** If an Order was marked as 'fulfilled', then this is the ISO8601 timestamp when that happened. */
16
+ /** When an Order is marked as 'fulfilled', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
17
17
  fulfilledOn?: Date;
18
- /** If an Order was refunded, this is the ISO8601 of when that happened. */
18
+ /** When an Order is marked as 'refunded', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
19
19
  refundedOn?: Date;
20
- /** If an Order was disputed by the customer, then this key will be set with the ISO8601 timestamp that Stripe notifies Webflow. Null if not disputed. */
20
+ /** When an Order is marked as 'disputed', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
21
21
  disputedOn?: Date;
22
- /** If an Order was disputed by the customer, then this key will be set with the ISO8601 timestamp of the last time that we got an update. Null if not disputed. */
22
+ /** If an Order has been disputed by the customer, this key will be set to the ISO8601 timestamp of the last update received. If the Order is not disputed, the key will be null. */
23
23
  disputeUpdatedOn?: Date;
24
24
  /** If an order was disputed by the customer, then this key will be set with the [dispute's status](https://stripe.com/docs/api#dispute_object-status). */
25
25
  disputeLastStatus?: Webflow.OrderDisputeLastStatus;
@@ -8,7 +8,7 @@ import * as Webflow from "..";
8
8
  export interface OrderAddress {
9
9
  /** The type of the order address (billing or shipping) */
10
10
  type?: Webflow.OrderAddressType;
11
- /** Japan-only address format */
11
+ /** Represents a Japan-only address format. This field will only appear on orders placed from Japan. */
12
12
  japanType?: Webflow.OrderAddressJapanType;
13
13
  /** Display name on the address */
14
14
  addressee?: string;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * Japan-only address format
5
+ * Represents a Japan-only address format. This field will only appear on orders placed from Japan.
6
6
  */
7
7
  export declare type OrderAddressJapanType = "kana" | "kanji";
8
8
  export declare const OrderAddressJapanType: {
@@ -7,6 +7,6 @@ import * as Webflow from "..";
7
7
  */
8
8
  export interface OrderList {
9
9
  /** List of orders */
10
- items?: Webflow.Order[];
10
+ orders?: Webflow.Order[];
11
11
  pagination?: Webflow.Pagination;
12
12
  }
@@ -22,6 +22,8 @@ export interface OrderPurchasedItem {
22
22
  variantName?: string;
23
23
  /** Slug for the Product Variant (SKU) */
24
24
  variantSlug?: string;
25
+ /** The user-defined custom SKU of the Product Variant (SKU) */
26
+ variantSku?: string;
25
27
  variantImage?: Webflow.OrderPurchasedItemVariantImage;
26
28
  /** The price corresponding to the variant */
27
29
  variantPrice?: Webflow.OrderPrice;
@@ -8,6 +8,8 @@ import * as Webflow from "..";
8
8
  export interface Product {
9
9
  /** Unique identifier for the Product */
10
10
  id?: string;
11
+ /** Identifier for the locale of the CMS item */
12
+ cmsLocaleId?: string;
11
13
  /** The date the Product was last published */
12
14
  lastPublished?: Date;
13
15
  /** The date the Product was last updated */