webflow-api 2.2.0 → 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 (399) hide show
  1. package/api/resources/accessGroups/client/Client.js +1 -1
  2. package/api/resources/assets/client/Client.d.ts +1 -1
  3. package/api/resources/assets/client/Client.js +9 -9
  4. package/api/resources/collections/client/Client.js +5 -5
  5. package/api/resources/collections/resources/fields/client/Client.js +2 -2
  6. package/api/resources/collections/resources/items/client/Client.d.ts +1 -2
  7. package/api/resources/collections/resources/items/client/Client.js +11 -18
  8. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  9. package/api/resources/collections/resources/items/types/index.d.ts +0 -1
  10. package/api/resources/collections/resources/items/types/index.js +0 -1
  11. package/api/resources/ecommerce/client/Client.js +1 -1
  12. package/api/resources/forms/client/Client.js +5 -5
  13. package/api/resources/inventory/client/Client.js +2 -2
  14. package/api/resources/orders/client/Client.js +6 -6
  15. package/api/resources/pages/client/Client.d.ts +23 -14
  16. package/api/resources/pages/client/Client.js +28 -19
  17. package/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  18. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  19. package/api/resources/pages/resources/scripts/client/Client.js +3 -3
  20. package/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  21. package/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  22. package/api/resources/pages/types/index.d.ts +1 -0
  23. package/api/resources/pages/types/index.js +1 -0
  24. package/api/resources/products/client/Client.d.ts +34 -26
  25. package/api/resources/products/client/Client.js +41 -33
  26. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  27. package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  28. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  29. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  30. package/api/resources/products/client/requests/index.d.ts +1 -1
  31. package/api/resources/products/types/index.d.ts +0 -11
  32. package/api/resources/products/types/index.js +0 -11
  33. package/api/resources/scripts/client/Client.d.ts +2 -2
  34. package/api/resources/scripts/client/Client.js +5 -5
  35. package/api/resources/sites/client/Client.d.ts +2 -1
  36. package/api/resources/sites/client/Client.js +6 -5
  37. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  38. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  39. package/api/resources/sites/resources/scripts/client/Client.js +4 -4
  40. package/api/resources/token/client/Client.js +2 -2
  41. package/api/resources/users/client/Client.js +5 -5
  42. package/api/resources/webhooks/client/Client.js +4 -4
  43. package/api/types/Asset.d.ts +8 -8
  44. package/api/types/AssetFolder.d.ts +2 -2
  45. package/api/types/AssetUpload.d.ts +5 -5
  46. package/api/types/AssetUploadUploadDetails.d.ts +2 -4
  47. package/api/types/AssetVariant.d.ts +4 -0
  48. package/api/types/Assets.d.ts +10 -0
  49. package/{dist/api/types/CustomCodeResponse.d.ts → api/types/CustomCodeHostedResponse.d.ts} +9 -9
  50. package/api/types/{CustomCodeResponse.d.ts → CustomCodeInlineResponse.d.ts} +9 -9
  51. package/api/types/Form.d.ts +13 -8
  52. package/api/types/FormField.d.ts +3 -0
  53. package/api/types/FormFieldValue.d.ts +3 -0
  54. package/api/types/FormResponseSettings.d.ts +5 -2
  55. package/api/types/Locale.d.ts +21 -0
  56. package/api/types/Locales.d.ts +10 -0
  57. package/api/types/Node.d.ts +1 -0
  58. package/api/types/OauthScope.d.ts +46 -22
  59. package/api/types/OauthScope.js +12 -6
  60. package/api/types/Order.d.ts +5 -5
  61. package/api/types/OrderAddress.d.ts +1 -1
  62. package/api/types/OrderAddressJapanType.d.ts +1 -1
  63. package/api/types/OrderList.d.ts +1 -1
  64. package/api/types/OrderPurchasedItem.d.ts +2 -0
  65. package/api/types/Product.d.ts +2 -0
  66. package/api/types/ProductFieldData.d.ts +5 -4
  67. package/api/types/RegisteredScriptList.d.ts +4 -1
  68. package/api/types/ScriptApply.d.ts +1 -1
  69. package/api/types/ScriptApplyList.d.ts +1 -0
  70. package/api/types/Scripts.d.ts +3 -0
  71. package/api/types/Site.d.ts +3 -0
  72. package/api/types/Sites.d.ts +7 -0
  73. package/api/types/Sku.d.ts +2 -1
  74. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  75. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
  76. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
  77. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
  78. package/api/types/index.d.ts +8 -1
  79. package/api/types/index.js +8 -1
  80. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  81. package/dist/api/resources/assets/client/Client.d.ts +1 -1
  82. package/dist/api/resources/assets/client/Client.js +9 -9
  83. package/dist/api/resources/collections/client/Client.js +5 -5
  84. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  85. package/dist/api/resources/collections/resources/items/client/Client.d.ts +1 -2
  86. package/dist/api/resources/collections/resources/items/client/Client.js +11 -18
  87. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  88. package/dist/api/resources/collections/resources/items/types/index.d.ts +0 -1
  89. package/dist/api/resources/collections/resources/items/types/index.js +0 -1
  90. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  91. package/dist/api/resources/forms/client/Client.js +5 -5
  92. package/dist/api/resources/inventory/client/Client.js +2 -2
  93. package/dist/api/resources/orders/client/Client.js +6 -6
  94. package/dist/api/resources/pages/client/Client.d.ts +23 -14
  95. package/dist/api/resources/pages/client/Client.js +28 -19
  96. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  97. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  98. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
  99. package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  100. package/dist/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  101. package/dist/api/resources/pages/types/index.d.ts +1 -0
  102. package/dist/api/resources/pages/types/index.js +1 -0
  103. package/dist/api/resources/products/client/Client.d.ts +34 -26
  104. package/dist/api/resources/products/client/Client.js +41 -33
  105. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  106. package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  107. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  108. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  109. package/dist/api/resources/products/client/requests/index.d.ts +1 -1
  110. package/dist/api/resources/products/types/index.d.ts +0 -11
  111. package/dist/api/resources/products/types/index.js +0 -11
  112. package/dist/api/resources/scripts/client/Client.d.ts +2 -2
  113. package/dist/api/resources/scripts/client/Client.js +5 -5
  114. package/dist/api/resources/sites/client/Client.d.ts +2 -1
  115. package/dist/api/resources/sites/client/Client.js +6 -5
  116. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  117. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  118. package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
  119. package/dist/api/resources/token/client/Client.js +2 -2
  120. package/dist/api/resources/users/client/Client.js +5 -5
  121. package/dist/api/resources/webhooks/client/Client.js +4 -4
  122. package/dist/api/types/Asset.d.ts +8 -8
  123. package/dist/api/types/AssetFolder.d.ts +2 -2
  124. package/dist/api/types/AssetUpload.d.ts +5 -5
  125. package/dist/api/types/AssetUploadUploadDetails.d.ts +2 -4
  126. package/dist/api/types/AssetVariant.d.ts +4 -0
  127. package/dist/api/types/Assets.d.ts +10 -0
  128. package/dist/api/types/CustomCodeHostedResponse.d.ts +24 -0
  129. package/dist/api/types/CustomCodeInlineResponse.d.ts +24 -0
  130. package/dist/api/types/Form.d.ts +13 -8
  131. package/dist/api/types/FormField.d.ts +3 -0
  132. package/dist/api/types/FormFieldValue.d.ts +3 -0
  133. package/dist/api/types/FormResponseSettings.d.ts +5 -2
  134. package/dist/api/types/Locale.d.ts +21 -0
  135. package/dist/api/types/Locales.d.ts +10 -0
  136. package/dist/api/types/Node.d.ts +1 -0
  137. package/dist/api/types/OauthScope.d.ts +46 -22
  138. package/dist/api/types/OauthScope.js +12 -6
  139. package/dist/api/types/Order.d.ts +5 -5
  140. package/dist/api/types/OrderAddress.d.ts +1 -1
  141. package/dist/api/types/OrderAddressJapanType.d.ts +1 -1
  142. package/dist/api/types/OrderList.d.ts +1 -1
  143. package/dist/api/types/OrderPurchasedItem.d.ts +2 -0
  144. package/dist/api/types/Product.d.ts +2 -0
  145. package/dist/api/types/ProductFieldData.d.ts +5 -4
  146. package/dist/api/types/RegisteredScriptList.d.ts +4 -1
  147. package/dist/api/types/ScriptApply.d.ts +1 -1
  148. package/dist/api/types/ScriptApplyList.d.ts +1 -0
  149. package/dist/api/types/Scripts.d.ts +3 -0
  150. package/dist/api/types/Site.d.ts +3 -0
  151. package/dist/api/types/Sites.d.ts +7 -0
  152. package/dist/api/types/Sku.d.ts +2 -1
  153. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  154. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
  155. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
  156. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
  157. package/dist/api/types/index.d.ts +8 -1
  158. package/dist/api/types/index.js +8 -1
  159. package/dist/serialization/resources/assets/client/index.d.ts +0 -1
  160. package/dist/serialization/resources/assets/client/index.js +0 -14
  161. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  162. package/dist/serialization/resources/collections/resources/items/types/index.js +0 -1
  163. package/dist/serialization/resources/index.d.ts +1 -1
  164. package/dist/serialization/resources/index.js +2 -2
  165. package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  166. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → dist/serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  167. package/dist/serialization/resources/pages/types/index.d.ts +1 -0
  168. package/dist/serialization/resources/pages/types/index.js +1 -0
  169. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  170. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  171. package/dist/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  172. package/{serialization/resources/products/client/requests/ProductsUpdateRequest.js → dist/serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  173. package/dist/serialization/resources/products/client/requests/index.d.ts +1 -1
  174. package/dist/serialization/resources/products/client/requests/index.js +3 -3
  175. package/dist/serialization/resources/products/types/index.d.ts +0 -11
  176. package/dist/serialization/resources/products/types/index.js +0 -11
  177. package/dist/serialization/types/Asset.d.ts +4 -4
  178. package/dist/serialization/types/Asset.js +4 -4
  179. package/dist/serialization/types/AssetFolder.d.ts +1 -1
  180. package/dist/serialization/types/AssetFolder.js +1 -1
  181. package/dist/serialization/types/AssetUpload.d.ts +3 -3
  182. package/dist/serialization/types/AssetUpload.js +3 -3
  183. package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  184. package/dist/serialization/types/AssetUploadUploadDetails.js +2 -3
  185. package/dist/serialization/types/Assets.d.ts +12 -0
  186. package/dist/serialization/types/Assets.js +44 -0
  187. package/dist/serialization/types/{CustomCodeResponse.d.ts → CustomCodeHostedResponse.d.ts} +6 -6
  188. package/{serialization/types/CustomCodeResponse.js → dist/serialization/types/CustomCodeHostedResponse.js} +6 -6
  189. package/{serialization/types/CustomCodeResponse.d.ts → dist/serialization/types/CustomCodeInlineResponse.d.ts} +6 -6
  190. package/dist/serialization/types/{CustomCodeResponse.js → CustomCodeInlineResponse.js} +6 -6
  191. package/dist/serialization/types/Form.d.ts +5 -5
  192. package/dist/serialization/types/Form.js +5 -5
  193. package/dist/serialization/types/FormResponseSettings.d.ts +1 -1
  194. package/dist/serialization/types/FormResponseSettings.js +1 -1
  195. package/dist/serialization/types/Locale.d.ts +19 -0
  196. package/dist/serialization/{resources/collections/resources/items/types/ItemsPublishItemResponse.js → types/Locale.js} +11 -5
  197. package/dist/serialization/types/Locales.d.ts +13 -0
  198. package/dist/serialization/types/Locales.js +45 -0
  199. package/dist/serialization/types/OauthScope.d.ts +1 -1
  200. package/dist/serialization/types/OauthScope.js +12 -6
  201. package/dist/serialization/types/OrderList.d.ts +1 -1
  202. package/dist/serialization/types/OrderList.js +1 -1
  203. package/dist/serialization/types/OrderPurchasedItem.d.ts +1 -0
  204. package/dist/serialization/types/OrderPurchasedItem.js +1 -0
  205. package/dist/serialization/types/Product.d.ts +1 -0
  206. package/dist/serialization/types/Product.js +1 -0
  207. package/dist/serialization/types/ProductFieldData.d.ts +2 -3
  208. package/dist/serialization/types/ProductFieldData.js +2 -3
  209. package/dist/serialization/types/RegisteredScriptList.d.ts +1 -1
  210. package/dist/serialization/types/RegisteredScriptList.js +1 -1
  211. package/dist/serialization/types/Site.d.ts +2 -0
  212. package/dist/serialization/types/Site.js +2 -0
  213. package/dist/serialization/types/Sites.d.ts +12 -0
  214. package/dist/serialization/{resources/assets/client/list.js → types/Sites.js} +5 -3
  215. package/dist/serialization/types/Sku.d.ts +1 -0
  216. package/dist/serialization/types/Sku.js +1 -0
  217. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  218. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  219. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  220. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  221. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  222. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  223. package/dist/serialization/types/index.d.ts +8 -1
  224. package/dist/serialization/types/index.js +8 -1
  225. package/dist/wrapper/CollectionsClient.d.ts +8 -0
  226. package/dist/wrapper/CollectionsClient.js +18 -0
  227. package/dist/wrapper/ItemsClient.d.ts +30 -0
  228. package/dist/wrapper/ItemsClient.js +138 -0
  229. package/dist/wrapper/WebflowClient.d.ts +5 -0
  230. package/dist/wrapper/WebflowClient.js +11 -2
  231. package/package.json +1 -1
  232. package/serialization/resources/assets/client/index.d.ts +0 -1
  233. package/serialization/resources/assets/client/index.js +0 -14
  234. package/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  235. package/serialization/resources/collections/resources/items/types/index.js +0 -1
  236. package/serialization/resources/index.d.ts +1 -1
  237. package/serialization/resources/index.js +2 -2
  238. package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  239. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  240. package/serialization/resources/pages/types/index.d.ts +1 -0
  241. package/serialization/resources/pages/types/index.js +1 -0
  242. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  243. package/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  244. package/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  245. package/{dist/serialization/resources/products/client/requests/ProductsUpdateRequest.js → serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  246. package/serialization/resources/products/client/requests/index.d.ts +1 -1
  247. package/serialization/resources/products/client/requests/index.js +3 -3
  248. package/serialization/resources/products/types/index.d.ts +0 -11
  249. package/serialization/resources/products/types/index.js +0 -11
  250. package/serialization/types/Asset.d.ts +4 -4
  251. package/serialization/types/Asset.js +4 -4
  252. package/serialization/types/AssetFolder.d.ts +1 -1
  253. package/serialization/types/AssetFolder.js +1 -1
  254. package/serialization/types/AssetUpload.d.ts +3 -3
  255. package/serialization/types/AssetUpload.js +3 -3
  256. package/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  257. package/serialization/types/AssetUploadUploadDetails.js +2 -3
  258. package/serialization/types/Assets.d.ts +12 -0
  259. package/serialization/types/Assets.js +44 -0
  260. package/serialization/types/CustomCodeHostedResponse.d.ts +19 -0
  261. package/serialization/types/CustomCodeHostedResponse.js +40 -0
  262. package/serialization/types/CustomCodeInlineResponse.d.ts +19 -0
  263. package/serialization/types/CustomCodeInlineResponse.js +40 -0
  264. package/serialization/types/Form.d.ts +5 -5
  265. package/serialization/types/Form.js +5 -5
  266. package/serialization/types/FormResponseSettings.d.ts +1 -1
  267. package/serialization/types/FormResponseSettings.js +1 -1
  268. package/serialization/types/Locale.d.ts +19 -0
  269. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → serialization/types/Locale.js} +11 -6
  270. package/serialization/types/Locales.d.ts +13 -0
  271. package/serialization/types/Locales.js +45 -0
  272. package/serialization/types/OauthScope.d.ts +1 -1
  273. package/serialization/types/OauthScope.js +12 -6
  274. package/serialization/types/OrderList.d.ts +1 -1
  275. package/serialization/types/OrderList.js +1 -1
  276. package/serialization/types/OrderPurchasedItem.d.ts +1 -0
  277. package/serialization/types/OrderPurchasedItem.js +1 -0
  278. package/serialization/types/Product.d.ts +1 -0
  279. package/serialization/types/Product.js +1 -0
  280. package/serialization/types/ProductFieldData.d.ts +2 -3
  281. package/serialization/types/ProductFieldData.js +2 -3
  282. package/serialization/types/RegisteredScriptList.d.ts +1 -1
  283. package/serialization/types/RegisteredScriptList.js +1 -1
  284. package/serialization/types/Site.d.ts +2 -0
  285. package/serialization/types/Site.js +2 -0
  286. package/serialization/types/Sites.d.ts +12 -0
  287. package/serialization/{resources/assets/client/list.js → types/Sites.js} +5 -3
  288. package/serialization/types/Sku.d.ts +1 -0
  289. package/serialization/types/Sku.js +1 -0
  290. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  291. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  292. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  293. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  294. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  295. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  296. package/serialization/types/index.d.ts +8 -1
  297. package/serialization/types/index.js +8 -1
  298. package/wrapper/CollectionsClient.d.ts +8 -0
  299. package/wrapper/CollectionsClient.js +18 -0
  300. package/wrapper/ItemsClient.d.ts +30 -0
  301. package/wrapper/ItemsClient.js +138 -0
  302. package/wrapper/WebflowClient.d.ts +5 -0
  303. package/wrapper/WebflowClient.js +11 -2
  304. package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  305. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  306. package/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  307. package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  308. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  309. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  310. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  311. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  312. package/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  313. package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  314. package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  315. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  316. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  317. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  318. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  319. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  320. package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  321. package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  322. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  323. package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  324. package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  325. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  326. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  327. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  328. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  329. package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  330. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  331. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  332. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  333. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  334. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  335. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  336. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  337. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  338. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -5
  339. package/dist/api/types/CustomCodeResponse.js +0 -5
  340. package/dist/serialization/resources/assets/client/list.d.ts +0 -10
  341. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  342. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  343. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  344. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  345. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  346. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  347. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  348. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  349. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  350. package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  351. package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  352. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  353. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  354. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  355. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
  356. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  357. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  358. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  359. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  360. package/serialization/resources/assets/client/list.d.ts +0 -10
  361. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  362. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
  363. package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  364. package/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  365. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  366. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  367. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  368. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  369. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  370. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  371. package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  372. package/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  373. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  374. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  375. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  376. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
  377. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  378. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  379. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  380. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  381. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -35
  382. /package/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → pages/types/UpdateStaticContentResponse.js} +0 -0
  383. /package/api/resources/products/client/requests/{ProductsUpdateRequest.js → ProductSkuUpdate.js} +0 -0
  384. /package/api/{resources/products/types/ProductSkuCreateProduct.js → types/Assets.js} +0 -0
  385. /package/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeHostedResponse.js} +0 -0
  386. /package/api/{resources/products/types/ProductSkuCreateSku.js → types/CustomCodeInlineResponse.js} +0 -0
  387. /package/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locale.js} +0 -0
  388. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Locales.js} +0 -0
  389. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/Sites.js} +0 -0
  390. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
  391. /package/{api/types/CustomCodeResponse.js → dist/api/resources/pages/types/UpdateStaticContentResponse.js} +0 -0
  392. /package/dist/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → products/client/requests/ProductSkuUpdate.js} +0 -0
  393. /package/dist/api/{resources/products/client/requests/ProductsUpdateRequest.js → types/Assets.js} +0 -0
  394. /package/dist/api/{resources/products/types/ProductSkuCreateProduct.js → types/CustomCodeHostedResponse.js} +0 -0
  395. /package/dist/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeInlineResponse.js} +0 -0
  396. /package/dist/api/{resources/products/types/ProductSkuCreateSku.js → types/Locale.js} +0 -0
  397. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locales.js} +0 -0
  398. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Sites.js} +0 -0
  399. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
@@ -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
  }
@@ -6,49 +6,73 @@ export declare type OauthScope =
6
6
  * read details about the authorized user */
7
7
  "authorized_user:read"
8
8
  /**
9
- * read pages on the site */
10
- | "read:pages"
9
+ * read assets on the site */
10
+ | "assets:read"
11
11
  /**
12
- * read sites on the site */
13
- | "sites:read"
12
+ * write assets on a site */
13
+ | "assets:write"
14
14
  /**
15
- * modify pages on the site */
16
- | "sites:write"
15
+ * read collections and items for a site */
16
+ | "cms:read"
17
+ /**
18
+ * write to collections and items for a site */
19
+ | "cms:write"
17
20
  /**
18
21
  * read custom code on the site */
19
22
  | "custom_code:read"
20
23
  /**
21
24
  * modify custom code on the site */
22
25
  | "custom_code:write"
23
- /**
24
- * delete custom code on the site */
25
- | "custom_code:delete"
26
- /**
27
- * read users on the site */
28
- | "users:read"
29
- /**
30
- * modify users on the site */
31
- | "users:write"
32
26
  /**
33
27
  * read ecommerce data */
34
28
  | "ecommerce:read"
35
29
  /**
36
30
  * edit ecommerce data */
37
31
  | "ecommerce:write"
32
+ /**
33
+ * read form data */
34
+ | "forms:read"
35
+ /**
36
+ * write form data */
37
+ | "forms:write"
38
+ /**
39
+ * read pages on the site */
40
+ | "pages:read"
41
+ /**
42
+ * write to pages on the site */
43
+ | "pages:write"
44
+ /**
45
+ * read sites on the site */
46
+ | "sites:read"
47
+ /**
48
+ * modify pages on the site */
49
+ | "sites:write"
50
+ /**
51
+ * read users on the site */
52
+ | "users:read"
38
53
  /**
39
54
  * read site activity logs */
40
- | "site_activity:read";
55
+ | "site_activity:read"
56
+ /**
57
+ * modify users on the site */
58
+ | "users:write";
41
59
  export declare const OauthScope: {
42
60
  readonly AuthorizedUserRead: "authorized_user:read";
43
- readonly ReadPages: "read:pages";
44
- readonly SitesRead: "sites:read";
45
- readonly SitesWrite: "sites:write";
61
+ readonly AssetsRead: "assets:read";
62
+ readonly AssetsWrite: "assets:write";
63
+ readonly CmsRead: "cms:read";
64
+ readonly CmsWrite: "cms:write";
46
65
  readonly CustomCodeRead: "custom_code:read";
47
66
  readonly CustomCodeWrite: "custom_code:write";
48
- readonly CustomCodeDelete: "custom_code:delete";
49
- readonly UsersRead: "users:read";
50
- readonly UsersWrite: "users:write";
51
67
  readonly EcommerceRead: "ecommerce:read";
52
68
  readonly EcommerceWrite: "ecommerce:write";
69
+ readonly FormsRead: "forms:read";
70
+ readonly FormsWrite: "forms:write";
71
+ readonly PagesRead: "pages:read";
72
+ readonly PagesWrite: "pages:write";
73
+ readonly SitesRead: "sites:read";
74
+ readonly SitesWrite: "sites:write";
75
+ readonly UsersRead: "users:read";
53
76
  readonly SiteActivityRead: "site_activity:read";
77
+ readonly UsersWrite: "users:write";
54
78
  };
@@ -6,15 +6,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.OauthScope = void 0;
7
7
  exports.OauthScope = {
8
8
  AuthorizedUserRead: "authorized_user:read",
9
- ReadPages: "read:pages",
10
- SitesRead: "sites:read",
11
- SitesWrite: "sites:write",
9
+ AssetsRead: "assets:read",
10
+ AssetsWrite: "assets:write",
11
+ CmsRead: "cms:read",
12
+ CmsWrite: "cms:write",
12
13
  CustomCodeRead: "custom_code:read",
13
14
  CustomCodeWrite: "custom_code:write",
14
- CustomCodeDelete: "custom_code:delete",
15
- UsersRead: "users:read",
16
- UsersWrite: "users:write",
17
15
  EcommerceRead: "ecommerce:read",
18
16
  EcommerceWrite: "ecommerce:write",
17
+ FormsRead: "forms:read",
18
+ FormsWrite: "forms:write",
19
+ PagesRead: "pages:read",
20
+ PagesWrite: "pages:write",
21
+ SitesRead: "sites:read",
22
+ SitesWrite: "sites:write",
23
+ UsersRead: "users:read",
19
24
  SiteActivityRead: "site_activity:read",
25
+ UsersWrite: "users:write",
20
26
  };
@@ -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 */
@@ -2,11 +2,14 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Webflow from "..";
5
+ /**
6
+ * Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.
7
+ */
5
8
  export interface ProductFieldData {
6
9
  /** Name of the Product */
7
- name: string;
10
+ name?: string;
8
11
  /** URL structure of the Product in your site. */
9
- slug: string;
12
+ slug?: string;
10
13
  /** A description of your product */
11
14
  description?: string;
12
15
  /** Boolean determining if the Product is shippable */
@@ -21,6 +24,4 @@ export interface ProductFieldData {
21
24
  defaultSku?: string;
22
25
  /** <a href="https://university.webflow.com/lesson/add-and-manage-products-and-categories?topics=ecommerce#how-to-understand-product-types">Product types.</a> Enums reflect the following values in order: Physical, Digital, Service, Advanced" */
23
26
  ecProductType?: Webflow.ProductFieldDataEcProductType;
24
- /** Custom fields for your product. */
25
- additionalProperties?: string;
26
27
  }
@@ -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
+ * A list of scripts registered to the site
7
+ */
5
8
  export interface RegisteredScriptList {
6
- registeredScripts?: Webflow.CustomCodeResponse[];
9
+ registeredScripts?: Webflow.CustomCodeHostedResponse[];
7
10
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Webflow from "..";
5
5
  export interface ScriptApply {
6
- /** Id of the registered custom code script */
6
+ /** ID of the registered custom code script */
7
7
  id: string;
8
8
  /** Location of the script, either in the header or footer of the published site */
9
9
  location: Webflow.ScriptApplyLocation;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Webflow from "..";
5
5
  export interface ScriptApplyList {
6
+ /** A list of scripts applied to a Site or a Page */
6
7
  scripts?: Webflow.ScriptApply[];
7
8
  /** Date when the Site's scripts were last updated */
8
9
  lastUpdated?: string;
@@ -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 list of scripts applied to a Site or a Page
7
+ */
5
8
  export declare type Scripts = Webflow.ScriptApply[];
@@ -21,5 +21,8 @@ export interface Site {
21
21
  previewUrl?: string;
22
22
  /** Site timezone set under Site Settings */
23
23
  timeZone?: string;
24
+ /** The ID of the parent folder the Site exists in */
25
+ parentFolderId?: string;
24
26
  customDomains?: Webflow.Domain[];
27
+ locales?: Webflow.Locales;
25
28
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "..";
5
+ export interface Sites {
6
+ sites?: Webflow.Site[];
7
+ }
@@ -8,12 +8,13 @@ import * as Webflow from "..";
8
8
  export interface Sku {
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 */
14
16
  lastUpdated?: Date;
15
17
  /** The date the Product was created */
16
18
  createdOn?: Date;
17
- /** Standard and Custom fields for a SKU */
18
19
  fieldData?: Webflow.SkuFieldData;
19
20
  }
@@ -9,4 +9,5 @@ export interface SkuFieldDataEcSkuSubscriptionPlan {
9
9
  frequency?: number;
10
10
  /** Number of days of a trial */
11
11
  trial?: number;
12
+ plans?: Webflow.SkuFieldDataEcSkuSubscriptionPlanPlansItem[];
12
13
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "..";
5
+ export interface SkuFieldDataEcSkuSubscriptionPlanPlansItem {
6
+ platform?: "stripe";
7
+ /** The unique identifier of the plan */
8
+ id?: string;
9
+ /** The status of the plan */
10
+ status?: Webflow.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus;
11
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The status of the plan
6
+ */
7
+ export declare type SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = "active" | "inactive" | "canceled";
8
+ export declare const SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus: {
9
+ readonly Active: "active";
10
+ readonly Inactive: "inactive";
11
+ readonly Canceled: "canceled";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = void 0;
7
+ exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = {
8
+ Active: "active",
9
+ Inactive: "inactive",
10
+ Canceled: "canceled",
11
+ };
@@ -5,7 +5,10 @@ export * from "./AuthorizationAuthorizationAuthorizedTo";
5
5
  export * from "./AuthorizationAuthorization";
6
6
  export * from "./Authorization";
7
7
  export * from "./Domain";
8
+ export * from "./Locale";
9
+ export * from "./Locales";
8
10
  export * from "./Site";
11
+ export * from "./Sites";
9
12
  export * from "./Domains";
10
13
  export * from "./InvalidDomain";
11
14
  export * from "./NoDomains";
@@ -39,14 +42,16 @@ export * from "./Dom";
39
42
  export * from "./ScriptApplyLocation";
40
43
  export * from "./ScriptApply";
41
44
  export * from "./ScriptApplyList";
42
- export * from "./CustomCodeResponse";
45
+ export * from "./CustomCodeHostedResponse";
43
46
  export * from "./RegisteredScriptList";
47
+ export * from "./CustomCodeInlineResponse";
44
48
  export * from "./Scripts";
45
49
  export * from "./CustomCodeBlockType";
46
50
  export * from "./CustomCodeBlock";
47
51
  export * from "./ListCustomCodeBlocks";
48
52
  export * from "./AssetVariant";
49
53
  export * from "./Asset";
54
+ export * from "./Assets";
50
55
  export * from "./AssetUploadUploadDetails";
51
56
  export * from "./AssetUpload";
52
57
  export * from "./AssetFolder";
@@ -85,6 +90,8 @@ export * from "./SkuFieldDataPrice";
85
90
  export * from "./SkuFieldDataCompareAtPrice";
86
91
  export * from "./SkuFieldDataEcSkuBillingMethod";
87
92
  export * from "./SkuFieldDataEcSkuSubscriptionPlanInterval";
93
+ export * from "./SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus";
94
+ export * from "./SkuFieldDataEcSkuSubscriptionPlanPlansItem";
88
95
  export * from "./SkuFieldDataEcSkuSubscriptionPlan";
89
96
  export * from "./SkuFieldData";
90
97
  export * from "./Sku";
@@ -21,7 +21,10 @@ __exportStar(require("./AuthorizationAuthorizationAuthorizedTo"), exports);
21
21
  __exportStar(require("./AuthorizationAuthorization"), exports);
22
22
  __exportStar(require("./Authorization"), exports);
23
23
  __exportStar(require("./Domain"), exports);
24
+ __exportStar(require("./Locale"), exports);
25
+ __exportStar(require("./Locales"), exports);
24
26
  __exportStar(require("./Site"), exports);
27
+ __exportStar(require("./Sites"), exports);
25
28
  __exportStar(require("./Domains"), exports);
26
29
  __exportStar(require("./InvalidDomain"), exports);
27
30
  __exportStar(require("./NoDomains"), exports);
@@ -55,14 +58,16 @@ __exportStar(require("./Dom"), exports);
55
58
  __exportStar(require("./ScriptApplyLocation"), exports);
56
59
  __exportStar(require("./ScriptApply"), exports);
57
60
  __exportStar(require("./ScriptApplyList"), exports);
58
- __exportStar(require("./CustomCodeResponse"), exports);
61
+ __exportStar(require("./CustomCodeHostedResponse"), exports);
59
62
  __exportStar(require("./RegisteredScriptList"), exports);
63
+ __exportStar(require("./CustomCodeInlineResponse"), exports);
60
64
  __exportStar(require("./Scripts"), exports);
61
65
  __exportStar(require("./CustomCodeBlockType"), exports);
62
66
  __exportStar(require("./CustomCodeBlock"), exports);
63
67
  __exportStar(require("./ListCustomCodeBlocks"), exports);
64
68
  __exportStar(require("./AssetVariant"), exports);
65
69
  __exportStar(require("./Asset"), exports);
70
+ __exportStar(require("./Assets"), exports);
66
71
  __exportStar(require("./AssetUploadUploadDetails"), exports);
67
72
  __exportStar(require("./AssetUpload"), exports);
68
73
  __exportStar(require("./AssetFolder"), exports);
@@ -101,6 +106,8 @@ __exportStar(require("./SkuFieldDataPrice"), exports);
101
106
  __exportStar(require("./SkuFieldDataCompareAtPrice"), exports);
102
107
  __exportStar(require("./SkuFieldDataEcSkuBillingMethod"), exports);
103
108
  __exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanInterval"), exports);
109
+ __exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus"), exports);
110
+ __exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanPlansItem"), exports);
104
111
  __exportStar(require("./SkuFieldDataEcSkuSubscriptionPlan"), exports);
105
112
  __exportStar(require("./SkuFieldData"), exports);
106
113
  __exportStar(require("./Sku"), exports);
@@ -1,2 +1 @@
1
- export * as list from "./list";
2
1
  export * from "./requests";
@@ -10,22 +10,8 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
15
  };
28
16
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.list = void 0;
30
- exports.list = __importStar(require("./list"));
31
17
  __exportStar(require("./requests"), exports);
@@ -1,2 +1 @@
1
1
  export * from "./BulkCollectionItemFieldData";
2
- export * from "./ItemsPublishItemResponse";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BulkCollectionItemFieldData"), exports);
18
- __exportStar(require("./ItemsPublishItemResponse"), exports);
@@ -11,13 +11,13 @@ export * as orders from "./orders";
11
11
  export * from "./orders/types";
12
12
  export * as inventory from "./inventory";
13
13
  export * from "./inventory/types";
14
- export * as assets from "./assets";
15
14
  export * as sites from "./sites";
16
15
  export * from "./sites/client/requests";
17
16
  export * from "./collections/client/requests";
18
17
  export * from "./pages/client/requests";
19
18
  export * as scripts from "./scripts";
20
19
  export * from "./scripts/client/requests";
20
+ export * as assets from "./assets";
21
21
  export * from "./assets/client/requests";
22
22
  export * as webhooks from "./webhooks";
23
23
  export * from "./webhooks/client/requests";
@@ -26,7 +26,7 @@ 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.forms = exports.webhooks = exports.scripts = exports.sites = exports.assets = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.collections = void 0;
29
+ exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.sites = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.collections = void 0;
30
30
  exports.collections = __importStar(require("./collections"));
31
31
  exports.pages = __importStar(require("./pages"));
32
32
  __exportStar(require("./pages/types"), exports);
@@ -40,13 +40,13 @@ exports.orders = __importStar(require("./orders"));
40
40
  __exportStar(require("./orders/types"), exports);
41
41
  exports.inventory = __importStar(require("./inventory"));
42
42
  __exportStar(require("./inventory/types"), exports);
43
- exports.assets = __importStar(require("./assets"));
44
43
  exports.sites = __importStar(require("./sites"));
45
44
  __exportStar(require("./sites/client/requests"), exports);
46
45
  __exportStar(require("./collections/client/requests"), exports);
47
46
  __exportStar(require("./pages/client/requests"), exports);
48
47
  exports.scripts = __importStar(require("./scripts"));
49
48
  __exportStar(require("./scripts/client/requests"), exports);
49
+ exports.assets = __importStar(require("./assets"));
50
50
  __exportStar(require("./assets/client/requests"), exports);
51
51
  exports.webhooks = __importStar(require("./webhooks"));
52
52
  __exportStar(require("./webhooks/client/requests"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Webflow from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const UpdateStaticContentResponse: core.serialization.ObjectSchema<serializers.UpdateStaticContentResponse.Raw, Webflow.UpdateStaticContentResponse>;
8
+ export declare namespace UpdateStaticContentResponse {
9
+ interface Raw {
10
+ errors: string[];
11
+ }
12
+ }
@@ -26,6 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = void 0;
29
+ exports.UpdateStaticContentResponse = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = core.serialization.enum_(["one-time", "subscription"]);
31
+ exports.UpdateStaticContentResponse = core.serialization.object({
32
+ errors: core.serialization.list(core.serialization.string()),
33
+ });
@@ -1 +1,2 @@
1
1
  export * from "./DomWriteNodesItem";
2
+ export * from "./UpdateStaticContentResponse";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DomWriteNodesItem"), exports);
18
+ __exportStar(require("./UpdateStaticContentResponse"), exports);
@@ -8,7 +8,7 @@ export declare const ProductSkuCreate: core.serialization.Schema<serializers.Pro
8
8
  export declare namespace ProductSkuCreate {
9
9
  interface Raw {
10
10
  publishStatus?: serializers.PublishStatus.Raw | null;
11
- product?: serializers.ProductSkuCreateProduct.Raw | null;
12
- sku?: serializers.ProductSkuCreateSku.Raw | null;
11
+ product?: serializers.Product.Raw | null;
12
+ sku?: serializers.Sku.Raw | null;
13
13
  }
14
14
  }
@@ -39,8 +39,6 @@ exports.ProductSkuCreate = void 0;
39
39
  const core = __importStar(require("../../../../../core"));
40
40
  exports.ProductSkuCreate = core.serialization.object({
41
41
  publishStatus: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PublishStatus; })).optional(),
42
- product: core.serialization
43
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).ProductSkuCreateProduct; }))
44
- .optional(),
45
- sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).ProductSkuCreateSku; })).optional(),
42
+ product: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Product; })).optional(),
43
+ sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Sku; })).optional(),
46
44
  });