webflow-api 2.2.1 → 2.3.2

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 (385) 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 +13 -2
  6. package/api/resources/collections/resources/items/client/Client.js +100 -18
  7. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  8. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +21 -0
  9. package/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  10. package/api/resources/collections/resources/items/types/index.d.ts +0 -1
  11. package/api/resources/collections/resources/items/types/index.js +0 -1
  12. package/api/resources/ecommerce/client/Client.js +1 -1
  13. package/api/resources/forms/client/Client.js +5 -5
  14. package/api/resources/inventory/client/Client.js +2 -2
  15. package/api/resources/orders/client/Client.js +6 -6
  16. package/api/resources/pages/client/Client.d.ts +23 -14
  17. package/api/resources/pages/client/Client.js +28 -19
  18. package/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  19. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  20. package/api/resources/pages/resources/scripts/client/Client.js +3 -3
  21. package/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  22. package/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  23. package/api/resources/pages/types/index.d.ts +1 -0
  24. package/api/resources/pages/types/index.js +1 -0
  25. package/api/resources/products/client/Client.d.ts +34 -26
  26. package/api/resources/products/client/Client.js +41 -33
  27. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  28. package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  29. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  30. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  31. package/api/resources/products/client/requests/index.d.ts +1 -1
  32. package/api/resources/products/types/index.d.ts +0 -11
  33. package/api/resources/products/types/index.js +0 -11
  34. package/api/resources/scripts/client/Client.d.ts +2 -2
  35. package/api/resources/scripts/client/Client.js +5 -5
  36. package/api/resources/sites/client/Client.d.ts +2 -1
  37. package/api/resources/sites/client/Client.js +6 -5
  38. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  39. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  40. package/api/resources/sites/resources/scripts/client/Client.js +4 -4
  41. package/api/resources/token/client/Client.js +2 -2
  42. package/api/resources/users/client/Client.js +5 -5
  43. package/api/resources/webhooks/client/Client.js +4 -4
  44. package/api/types/Asset.d.ts +8 -8
  45. package/api/types/AssetFolder.d.ts +2 -2
  46. package/api/types/AssetUpload.d.ts +5 -5
  47. package/api/types/AssetUploadUploadDetails.d.ts +2 -4
  48. package/api/types/AssetVariant.d.ts +4 -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 +9 -1
  59. package/api/types/OauthScope.js +2 -0
  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 +7 -1
  79. package/api/types/index.js +7 -1
  80. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  81. package/dist/api/resources/assets/client/Client.js +8 -8
  82. package/dist/api/resources/collections/client/Client.js +5 -5
  83. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  84. package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -2
  85. package/dist/api/resources/collections/resources/items/client/Client.js +100 -18
  86. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
  87. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +21 -0
  88. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  89. package/dist/api/resources/collections/resources/items/types/index.d.ts +0 -1
  90. package/dist/api/resources/collections/resources/items/types/index.js +0 -1
  91. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  92. package/dist/api/resources/forms/client/Client.js +5 -5
  93. package/dist/api/resources/inventory/client/Client.js +2 -2
  94. package/dist/api/resources/orders/client/Client.js +6 -6
  95. package/dist/api/resources/pages/client/Client.d.ts +23 -14
  96. package/dist/api/resources/pages/client/Client.js +28 -19
  97. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
  98. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
  99. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
  100. package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
  101. package/dist/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
  102. package/dist/api/resources/pages/types/index.d.ts +1 -0
  103. package/dist/api/resources/pages/types/index.js +1 -0
  104. package/dist/api/resources/products/client/Client.d.ts +34 -26
  105. package/dist/api/resources/products/client/Client.js +41 -33
  106. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
  107. package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
  108. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
  109. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
  110. package/dist/api/resources/products/client/requests/index.d.ts +1 -1
  111. package/dist/api/resources/products/types/index.d.ts +0 -11
  112. package/dist/api/resources/products/types/index.js +0 -11
  113. package/dist/api/resources/scripts/client/Client.d.ts +2 -2
  114. package/dist/api/resources/scripts/client/Client.js +5 -5
  115. package/dist/api/resources/sites/client/Client.d.ts +2 -1
  116. package/dist/api/resources/sites/client/Client.js +6 -5
  117. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
  118. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  119. package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
  120. package/dist/api/resources/token/client/Client.js +2 -2
  121. package/dist/api/resources/users/client/Client.js +5 -5
  122. package/dist/api/resources/webhooks/client/Client.js +4 -4
  123. package/dist/api/types/Asset.d.ts +8 -8
  124. package/dist/api/types/AssetFolder.d.ts +2 -2
  125. package/dist/api/types/AssetUpload.d.ts +5 -5
  126. package/dist/api/types/AssetUploadUploadDetails.d.ts +2 -4
  127. package/dist/api/types/AssetVariant.d.ts +4 -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 +9 -1
  138. package/dist/api/types/OauthScope.js +2 -0
  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 +7 -1
  158. package/dist/api/types/index.js +7 -1
  159. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  160. package/dist/serialization/resources/collections/resources/items/types/index.js +0 -1
  161. package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  162. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → dist/serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  163. package/dist/serialization/resources/pages/types/index.d.ts +1 -0
  164. package/dist/serialization/resources/pages/types/index.js +1 -0
  165. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  166. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  167. package/dist/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  168. package/{serialization/resources/products/client/requests/ProductsUpdateRequest.js → dist/serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  169. package/dist/serialization/resources/products/client/requests/index.d.ts +1 -1
  170. package/dist/serialization/resources/products/client/requests/index.js +3 -3
  171. package/dist/serialization/resources/products/types/index.d.ts +0 -11
  172. package/dist/serialization/resources/products/types/index.js +0 -11
  173. package/dist/serialization/types/Asset.d.ts +4 -4
  174. package/dist/serialization/types/Asset.js +4 -4
  175. package/dist/serialization/types/AssetFolder.d.ts +1 -1
  176. package/dist/serialization/types/AssetFolder.js +1 -1
  177. package/dist/serialization/types/AssetUpload.d.ts +3 -3
  178. package/dist/serialization/types/AssetUpload.js +3 -3
  179. package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  180. package/dist/serialization/types/AssetUploadUploadDetails.js +2 -3
  181. package/dist/serialization/types/{CustomCodeResponse.d.ts → CustomCodeHostedResponse.d.ts} +6 -6
  182. package/{serialization/types/CustomCodeResponse.js → dist/serialization/types/CustomCodeHostedResponse.js} +6 -6
  183. package/{serialization/types/CustomCodeResponse.d.ts → dist/serialization/types/CustomCodeInlineResponse.d.ts} +6 -6
  184. package/dist/serialization/types/{CustomCodeResponse.js → CustomCodeInlineResponse.js} +6 -6
  185. package/dist/serialization/types/Form.d.ts +5 -5
  186. package/dist/serialization/types/Form.js +5 -5
  187. package/dist/serialization/types/FormResponseSettings.d.ts +1 -1
  188. package/dist/serialization/types/FormResponseSettings.js +1 -1
  189. package/dist/serialization/types/Locale.d.ts +19 -0
  190. package/dist/serialization/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Locale.js} +11 -5
  191. package/dist/serialization/types/Locales.d.ts +13 -0
  192. package/dist/serialization/types/Locales.js +45 -0
  193. package/dist/serialization/types/OauthScope.d.ts +1 -1
  194. package/dist/serialization/types/OauthScope.js +2 -0
  195. package/dist/serialization/types/OrderList.d.ts +1 -1
  196. package/dist/serialization/types/OrderList.js +1 -1
  197. package/dist/serialization/types/OrderPurchasedItem.d.ts +1 -0
  198. package/dist/serialization/types/OrderPurchasedItem.js +1 -0
  199. package/dist/serialization/types/Product.d.ts +1 -0
  200. package/dist/serialization/types/Product.js +1 -0
  201. package/dist/serialization/types/ProductFieldData.d.ts +2 -3
  202. package/dist/serialization/types/ProductFieldData.js +2 -3
  203. package/dist/serialization/types/RegisteredScriptList.d.ts +1 -1
  204. package/dist/serialization/types/RegisteredScriptList.js +1 -1
  205. package/dist/serialization/types/Site.d.ts +2 -0
  206. package/dist/serialization/types/Site.js +2 -0
  207. package/dist/serialization/types/Sites.d.ts +12 -0
  208. package/dist/serialization/types/Sites.js +42 -0
  209. package/dist/serialization/types/Sku.d.ts +1 -0
  210. package/dist/serialization/types/Sku.js +1 -0
  211. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  212. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  213. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  214. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  215. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  216. package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  217. package/dist/serialization/types/index.d.ts +7 -1
  218. package/dist/serialization/types/index.js +7 -1
  219. package/dist/wrapper/CollectionsClient.d.ts +8 -0
  220. package/dist/wrapper/CollectionsClient.js +18 -0
  221. package/dist/wrapper/ItemsClient.d.ts +30 -0
  222. package/dist/wrapper/ItemsClient.js +138 -0
  223. package/dist/wrapper/WebflowClient.d.ts +5 -0
  224. package/dist/wrapper/WebflowClient.js +11 -2
  225. package/package.json +1 -1
  226. package/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
  227. package/serialization/resources/collections/resources/items/types/index.js +0 -1
  228. package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
  229. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
  230. package/serialization/resources/pages/types/index.d.ts +1 -0
  231. package/serialization/resources/pages/types/index.js +1 -0
  232. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
  233. package/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
  234. package/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
  235. package/{dist/serialization/resources/products/client/requests/ProductsUpdateRequest.js → serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
  236. package/serialization/resources/products/client/requests/index.d.ts +1 -1
  237. package/serialization/resources/products/client/requests/index.js +3 -3
  238. package/serialization/resources/products/types/index.d.ts +0 -11
  239. package/serialization/resources/products/types/index.js +0 -11
  240. package/serialization/types/Asset.d.ts +4 -4
  241. package/serialization/types/Asset.js +4 -4
  242. package/serialization/types/AssetFolder.d.ts +1 -1
  243. package/serialization/types/AssetFolder.js +1 -1
  244. package/serialization/types/AssetUpload.d.ts +3 -3
  245. package/serialization/types/AssetUpload.js +3 -3
  246. package/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
  247. package/serialization/types/AssetUploadUploadDetails.js +2 -3
  248. package/serialization/types/CustomCodeHostedResponse.d.ts +19 -0
  249. package/serialization/types/CustomCodeHostedResponse.js +40 -0
  250. package/serialization/types/CustomCodeInlineResponse.d.ts +19 -0
  251. package/serialization/types/CustomCodeInlineResponse.js +40 -0
  252. package/serialization/types/Form.d.ts +5 -5
  253. package/serialization/types/Form.js +5 -5
  254. package/serialization/types/FormResponseSettings.d.ts +1 -1
  255. package/serialization/types/FormResponseSettings.js +1 -1
  256. package/serialization/types/Locale.d.ts +19 -0
  257. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → serialization/types/Locale.js} +11 -6
  258. package/serialization/types/Locales.d.ts +13 -0
  259. package/serialization/types/Locales.js +45 -0
  260. package/serialization/types/OauthScope.d.ts +1 -1
  261. package/serialization/types/OauthScope.js +2 -0
  262. package/serialization/types/OrderList.d.ts +1 -1
  263. package/serialization/types/OrderList.js +1 -1
  264. package/serialization/types/OrderPurchasedItem.d.ts +1 -0
  265. package/serialization/types/OrderPurchasedItem.js +1 -0
  266. package/serialization/types/Product.d.ts +1 -0
  267. package/serialization/types/Product.js +1 -0
  268. package/serialization/types/ProductFieldData.d.ts +2 -3
  269. package/serialization/types/ProductFieldData.js +2 -3
  270. package/serialization/types/RegisteredScriptList.d.ts +1 -1
  271. package/serialization/types/RegisteredScriptList.js +1 -1
  272. package/serialization/types/Site.d.ts +2 -0
  273. package/serialization/types/Site.js +2 -0
  274. package/serialization/types/Sites.d.ts +12 -0
  275. package/serialization/types/Sites.js +42 -0
  276. package/serialization/types/Sku.d.ts +1 -0
  277. package/serialization/types/Sku.js +1 -0
  278. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
  279. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
  280. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
  281. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
  282. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
  283. package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
  284. package/serialization/types/index.d.ts +7 -1
  285. package/serialization/types/index.js +7 -1
  286. package/wrapper/CollectionsClient.d.ts +8 -0
  287. package/wrapper/CollectionsClient.js +18 -0
  288. package/wrapper/ItemsClient.d.ts +30 -0
  289. package/wrapper/ItemsClient.js +138 -0
  290. package/wrapper/WebflowClient.d.ts +5 -0
  291. package/wrapper/WebflowClient.js +11 -2
  292. package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  293. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  294. package/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  295. package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  296. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  297. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  298. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  299. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  300. package/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  301. package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  302. package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  303. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  304. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  305. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  306. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  307. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  308. package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  309. package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
  310. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
  311. package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
  312. package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
  313. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
  314. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
  315. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
  316. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
  317. package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
  318. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
  319. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
  320. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
  321. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
  322. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
  323. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
  324. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
  325. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
  326. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -5
  327. package/dist/api/types/CustomCodeResponse.js +0 -5
  328. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  329. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
  330. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  331. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  332. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  333. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  334. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  335. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  336. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  337. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  338. package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  339. package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  340. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  341. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  342. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  343. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  344. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  345. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  346. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  347. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
  348. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
  349. package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
  350. package/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
  351. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
  352. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
  353. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
  354. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
  355. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
  356. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
  357. package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
  358. package/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
  359. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
  360. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
  361. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
  362. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
  363. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
  364. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
  365. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
  366. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
  367. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -35
  368. /package/api/resources/collections/resources/items/{types/ItemsPublishItemResponse.js → client/requests/ItemsListItemsLiveRequest.js} +0 -0
  369. /package/api/resources/{products/client/requests/ProductsUpdateRequest.js → pages/types/UpdateStaticContentResponse.js} +0 -0
  370. /package/api/resources/products/{types/ProductSkuCreateProduct.js → client/requests/ProductSkuUpdate.js} +0 -0
  371. /package/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeHostedResponse.js} +0 -0
  372. /package/api/{resources/products/types/ProductSkuCreateSku.js → types/CustomCodeInlineResponse.js} +0 -0
  373. /package/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locale.js} +0 -0
  374. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Locales.js} +0 -0
  375. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/Sites.js} +0 -0
  376. /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
  377. /package/{api/types/CustomCodeResponse.js → dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js} +0 -0
  378. /package/dist/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → pages/types/UpdateStaticContentResponse.js} +0 -0
  379. /package/dist/api/resources/products/client/requests/{ProductsUpdateRequest.js → ProductSkuUpdate.js} +0 -0
  380. /package/dist/api/{resources/products/types/ProductSkuCreateProduct.js → types/CustomCodeHostedResponse.js} +0 -0
  381. /package/dist/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeInlineResponse.js} +0 -0
  382. /package/dist/api/{resources/products/types/ProductSkuCreateSku.js → types/Locale.js} +0 -0
  383. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locales.js} +0 -0
  384. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Sites.js} +0 -0
  385. /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
@@ -35,9 +35,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35
35
  });
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.ProductsUpdateRequest = void 0;
38
+ exports.ProductSkuUpdate = void 0;
39
39
  const core = __importStar(require("../../../../../core"));
40
- exports.ProductsUpdateRequest = core.serialization.object({
40
+ exports.ProductSkuUpdate = 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.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Product; })),
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(),
43
44
  });
@@ -1,4 +1,4 @@
1
1
  export { ProductSkuCreate } from "./ProductSkuCreate";
2
- export { ProductsUpdateRequest } from "./ProductsUpdateRequest";
2
+ export { ProductSkuUpdate } from "./ProductSkuUpdate";
3
3
  export { ProductsCreateSkuRequest } from "./ProductsCreateSkuRequest";
4
4
  export { ProductsUpdateSkuRequest } from "./ProductsUpdateSkuRequest";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductsUpdateSkuRequest = exports.ProductsCreateSkuRequest = exports.ProductsUpdateRequest = exports.ProductSkuCreate = void 0;
3
+ exports.ProductsUpdateSkuRequest = exports.ProductsCreateSkuRequest = exports.ProductSkuUpdate = exports.ProductSkuCreate = void 0;
4
4
  var ProductSkuCreate_1 = require("./ProductSkuCreate");
5
5
  Object.defineProperty(exports, "ProductSkuCreate", { enumerable: true, get: function () { return ProductSkuCreate_1.ProductSkuCreate; } });
6
- var ProductsUpdateRequest_1 = require("./ProductsUpdateRequest");
7
- Object.defineProperty(exports, "ProductsUpdateRequest", { enumerable: true, get: function () { return ProductsUpdateRequest_1.ProductsUpdateRequest; } });
6
+ var ProductSkuUpdate_1 = require("./ProductSkuUpdate");
7
+ Object.defineProperty(exports, "ProductSkuUpdate", { enumerable: true, get: function () { return ProductSkuUpdate_1.ProductSkuUpdate; } });
8
8
  var ProductsCreateSkuRequest_1 = require("./ProductsCreateSkuRequest");
9
9
  Object.defineProperty(exports, "ProductsCreateSkuRequest", { enumerable: true, get: function () { return ProductsCreateSkuRequest_1.ProductsCreateSkuRequest; } });
10
10
  var ProductsUpdateSkuRequest_1 = require("./ProductsUpdateSkuRequest");
@@ -1,12 +1 @@
1
- export * from "./ProductSkuCreateProductFieldDataTaxCategory";
2
- export * from "./ProductSkuCreateProductFieldDataEcProductType";
3
- export * from "./ProductSkuCreateProductFieldData";
4
- export * from "./ProductSkuCreateProduct";
5
- export * from "./ProductSkuCreateSkuFieldDataPrice";
6
- export * from "./ProductSkuCreateSkuFieldDataCompareAtPrice";
7
- export * from "./ProductSkuCreateSkuFieldDataEcSkuBillingMethod";
8
- export * from "./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval";
9
- export * from "./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan";
10
- export * from "./ProductSkuCreateSkuFieldData";
11
- export * from "./ProductSkuCreateSku";
12
1
  export * from "./ProductsCreateSkuResponse";
@@ -14,15 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ProductSkuCreateProductFieldDataTaxCategory"), exports);
18
- __exportStar(require("./ProductSkuCreateProductFieldDataEcProductType"), exports);
19
- __exportStar(require("./ProductSkuCreateProductFieldData"), exports);
20
- __exportStar(require("./ProductSkuCreateProduct"), exports);
21
- __exportStar(require("./ProductSkuCreateSkuFieldDataPrice"), exports);
22
- __exportStar(require("./ProductSkuCreateSkuFieldDataCompareAtPrice"), exports);
23
- __exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuBillingMethod"), exports);
24
- __exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval"), exports);
25
- __exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan"), exports);
26
- __exportStar(require("./ProductSkuCreateSkuFieldData"), exports);
27
- __exportStar(require("./ProductSkuCreateSku"), exports);
28
17
  __exportStar(require("./ProductsCreateSkuResponse"), exports);
@@ -8,14 +8,14 @@ export declare const Asset: core.serialization.ObjectSchema<serializers.Asset.Ra
8
8
  export declare namespace Asset {
9
9
  interface Raw {
10
10
  id?: string | null;
11
+ originalFileName?: string | null;
12
+ displayName?: string | null;
11
13
  contentType?: string | null;
12
14
  size?: number | null;
13
15
  siteId?: string | null;
14
- hostedUrl?: string | null;
15
- originalFileName?: string | null;
16
- displayName?: string | null;
17
- lastUpdated?: string | null;
18
16
  createdOn?: string | null;
17
+ lastUpdated?: string | null;
18
+ hostedUrl?: string | null;
19
19
  variants?: serializers.AssetVariant.Raw[] | null;
20
20
  }
21
21
  }
@@ -39,14 +39,14 @@ exports.Asset = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.Asset = core.serialization.object({
41
41
  id: core.serialization.string().optional(),
42
+ originalFileName: core.serialization.string().optional(),
43
+ displayName: core.serialization.string().optional(),
42
44
  contentType: core.serialization.string().optional(),
43
45
  size: core.serialization.number().optional(),
44
46
  siteId: core.serialization.string().optional(),
45
- hostedUrl: core.serialization.string().optional(),
46
- originalFileName: core.serialization.string().optional(),
47
- displayName: core.serialization.string().optional(),
48
- lastUpdated: core.serialization.date().optional(),
49
47
  createdOn: core.serialization.date().optional(),
48
+ lastUpdated: core.serialization.date().optional(),
49
+ hostedUrl: core.serialization.string().optional(),
50
50
  variants: core.serialization
51
51
  .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AssetVariant; })))
52
52
  .optional(),
@@ -7,8 +7,8 @@ import * as core from "../../core";
7
7
  export declare const AssetFolder: core.serialization.ObjectSchema<serializers.AssetFolder.Raw, Webflow.AssetFolder>;
8
8
  export declare namespace AssetFolder {
9
9
  interface Raw {
10
- displayName?: string | null;
11
10
  id?: string | null;
11
+ displayName?: string | null;
12
12
  parentFolder?: string | null;
13
13
  assets?: string[] | null;
14
14
  siteId?: string | null;
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.AssetFolder = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.AssetFolder = core.serialization.object({
32
- displayName: core.serialization.string().optional(),
33
32
  id: core.serialization.string().optional(),
33
+ displayName: core.serialization.string().optional(),
34
34
  parentFolder: core.serialization.string().optional(),
35
35
  assets: core.serialization.list(core.serialization.string()).optional(),
36
36
  siteId: core.serialization.string().optional(),
@@ -8,14 +8,14 @@ export declare const AssetUpload: core.serialization.ObjectSchema<serializers.As
8
8
  export declare namespace AssetUpload {
9
9
  interface Raw {
10
10
  uploadDetails?: serializers.AssetUploadUploadDetails.Raw | null;
11
- id?: string | null;
12
11
  contentType?: string | null;
12
+ id?: string | null;
13
13
  parentFolder?: string | null;
14
- hostedUrl?: string | null;
15
14
  uploadUrl?: string | null;
16
15
  assetUrl?: string | null;
16
+ hostedUrl?: string | null;
17
17
  originalFileName?: string | null;
18
- lastUpdated?: string | null;
19
18
  createdOn?: string | null;
19
+ lastUpdated?: string | null;
20
20
  }
21
21
  }
@@ -41,13 +41,13 @@ exports.AssetUpload = core.serialization.object({
41
41
  uploadDetails: core.serialization
42
42
  .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AssetUploadUploadDetails; }))
43
43
  .optional(),
44
- id: core.serialization.string().optional(),
45
44
  contentType: core.serialization.string().optional(),
45
+ id: core.serialization.string().optional(),
46
46
  parentFolder: core.serialization.string().optional(),
47
- hostedUrl: core.serialization.string().optional(),
48
47
  uploadUrl: core.serialization.string().optional(),
49
48
  assetUrl: core.serialization.string().optional(),
49
+ hostedUrl: core.serialization.string().optional(),
50
50
  originalFileName: core.serialization.string().optional(),
51
- lastUpdated: core.serialization.date().optional(),
52
51
  createdOn: core.serialization.date().optional(),
52
+ lastUpdated: core.serialization.date().optional(),
53
53
  });
@@ -9,12 +9,11 @@ export declare namespace AssetUploadUploadDetails {
9
9
  interface Raw {
10
10
  acl?: string | null;
11
11
  bucket?: string | null;
12
- key?: string | null;
13
- Policy?: string | null;
14
12
  "X-Amz-Algorithm"?: string | null;
15
13
  "X-Amz-Credential"?: string | null;
16
14
  "X-Amz-Date"?: string | null;
17
- "X-Amz-Security-Token"?: string | null;
15
+ key?: string | null;
16
+ Policy?: string | null;
18
17
  "X-Amz-Signature"?: string | null;
19
18
  success_action_status?: string | null;
20
19
  "content-type"?: string | null;
@@ -31,12 +31,11 @@ const core = __importStar(require("../../core"));
31
31
  exports.AssetUploadUploadDetails = core.serialization.object({
32
32
  acl: core.serialization.string().optional(),
33
33
  bucket: core.serialization.string().optional(),
34
- key: core.serialization.string().optional(),
35
- policy: core.serialization.property("Policy", core.serialization.string().optional()),
36
34
  xAmzAlgorithm: core.serialization.property("X-Amz-Algorithm", core.serialization.string().optional()),
37
35
  xAmzCredential: core.serialization.property("X-Amz-Credential", core.serialization.string().optional()),
38
36
  xAmzDate: core.serialization.property("X-Amz-Date", core.serialization.string().optional()),
39
- xAmzSecurityToken: core.serialization.property("X-Amz-Security-Token", core.serialization.string().optional()),
37
+ key: core.serialization.string().optional(),
38
+ policy: core.serialization.property("Policy", core.serialization.string().optional()),
40
39
  xAmzSignature: core.serialization.property("X-Amz-Signature", core.serialization.string().optional()),
41
40
  successActionStatus: core.serialization.property("success_action_status", core.serialization.string().optional()),
42
41
  contentType: core.serialization.property("content-type", core.serialization.string().optional()),
@@ -4,16 +4,16 @@
4
4
  import * as serializers from "..";
5
5
  import * as Webflow from "../../api";
6
6
  import * as core from "../../core";
7
- export declare const CustomCodeResponse: core.serialization.ObjectSchema<serializers.CustomCodeResponse.Raw, Webflow.CustomCodeResponse>;
8
- export declare namespace CustomCodeResponse {
7
+ export declare const CustomCodeHostedResponse: core.serialization.ObjectSchema<serializers.CustomCodeHostedResponse.Raw, Webflow.CustomCodeHostedResponse>;
8
+ export declare namespace CustomCodeHostedResponse {
9
9
  interface Raw {
10
10
  id?: string | null;
11
- createdOn?: string | null;
12
- lastUpdated?: string | null;
11
+ canCopy?: boolean | null;
12
+ displayName?: string | null;
13
13
  hostedLocation?: string | null;
14
14
  integrityHash?: string | null;
15
- canCopy?: boolean | null;
15
+ createdOn?: string | null;
16
+ lastUpdated?: string | null;
16
17
  version?: string | null;
17
- displayName?: string | null;
18
18
  }
19
19
  }
@@ -26,15 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CustomCodeResponse = void 0;
29
+ exports.CustomCodeHostedResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.CustomCodeResponse = core.serialization.object({
31
+ exports.CustomCodeHostedResponse = core.serialization.object({
32
32
  id: core.serialization.string().optional(),
33
- createdOn: core.serialization.string().optional(),
34
- lastUpdated: core.serialization.string().optional(),
33
+ canCopy: core.serialization.boolean().optional(),
34
+ displayName: core.serialization.string().optional(),
35
35
  hostedLocation: core.serialization.string().optional(),
36
36
  integrityHash: core.serialization.string().optional(),
37
- canCopy: core.serialization.boolean().optional(),
37
+ createdOn: core.serialization.string().optional(),
38
+ lastUpdated: core.serialization.string().optional(),
38
39
  version: core.serialization.string().optional(),
39
- displayName: core.serialization.string().optional(),
40
40
  });
@@ -4,16 +4,16 @@
4
4
  import * as serializers from "..";
5
5
  import * as Webflow from "../../api";
6
6
  import * as core from "../../core";
7
- export declare const CustomCodeResponse: core.serialization.ObjectSchema<serializers.CustomCodeResponse.Raw, Webflow.CustomCodeResponse>;
8
- export declare namespace CustomCodeResponse {
7
+ export declare const CustomCodeInlineResponse: core.serialization.ObjectSchema<serializers.CustomCodeInlineResponse.Raw, Webflow.CustomCodeInlineResponse>;
8
+ export declare namespace CustomCodeInlineResponse {
9
9
  interface Raw {
10
10
  id?: string | null;
11
- createdOn?: string | null;
12
- lastUpdated?: string | null;
11
+ canCopy?: boolean | null;
12
+ displayName?: string | null;
13
13
  hostedLocation?: string | null;
14
14
  integrityHash?: string | null;
15
- canCopy?: boolean | null;
15
+ createdOn?: string | null;
16
+ lastUpdated?: string | null;
16
17
  version?: string | null;
17
- displayName?: string | null;
18
18
  }
19
19
  }
@@ -26,15 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CustomCodeResponse = void 0;
29
+ exports.CustomCodeInlineResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.CustomCodeResponse = core.serialization.object({
31
+ exports.CustomCodeInlineResponse = core.serialization.object({
32
32
  id: core.serialization.string().optional(),
33
- createdOn: core.serialization.string().optional(),
34
- lastUpdated: core.serialization.string().optional(),
33
+ canCopy: core.serialization.boolean().optional(),
34
+ displayName: core.serialization.string().optional(),
35
35
  hostedLocation: core.serialization.string().optional(),
36
36
  integrityHash: core.serialization.string().optional(),
37
- canCopy: core.serialization.boolean().optional(),
37
+ createdOn: core.serialization.string().optional(),
38
+ lastUpdated: core.serialization.string().optional(),
38
39
  version: core.serialization.string().optional(),
39
- displayName: core.serialization.string().optional(),
40
40
  });
@@ -7,16 +7,16 @@ import * as core from "../../core";
7
7
  export declare const Form: core.serialization.ObjectSchema<serializers.Form.Raw, Webflow.Form>;
8
8
  export declare namespace Form {
9
9
  interface Raw {
10
- id?: string | null;
11
10
  displayName?: string | null;
11
+ createdOn?: string | null;
12
+ lastUpdated?: string | null;
13
+ fields?: serializers.FormField.Raw[] | null;
14
+ responseSettings?: serializers.FormResponseSettings.Raw | null;
15
+ id?: string | null;
12
16
  siteId?: string | null;
13
17
  siteDomainId?: string | null;
14
18
  pageId?: string | null;
15
19
  pageName?: string | null;
16
20
  workspaceId?: string | null;
17
- createdOn?: string | null;
18
- lastUpdated?: string | null;
19
- fields?: serializers.FormField.Raw[] | null;
20
- responseSettings?: serializers.FormResponseSettings.Raw | null;
21
21
  }
22
22
  }
@@ -38,15 +38,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.Form = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.Form = core.serialization.object({
41
- id: core.serialization.string().optional(),
42
41
  displayName: core.serialization.string().optional(),
42
+ createdOn: core.serialization.date().optional(),
43
+ lastUpdated: core.serialization.date().optional(),
44
+ fields: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormField; }))).optional(),
45
+ responseSettings: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormResponseSettings; })).optional(),
46
+ id: core.serialization.string().optional(),
43
47
  siteId: core.serialization.string().optional(),
44
48
  siteDomainId: core.serialization.string().optional(),
45
49
  pageId: core.serialization.string().optional(),
46
50
  pageName: core.serialization.string().optional(),
47
51
  workspaceId: core.serialization.string().optional(),
48
- createdOn: core.serialization.date().optional(),
49
- lastUpdated: core.serialization.date().optional(),
50
- fields: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormField; }))).optional(),
51
- responseSettings: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormResponseSettings; })).optional(),
52
52
  });
@@ -7,9 +7,9 @@ import * as core from "../../core";
7
7
  export declare const FormResponseSettings: core.serialization.ObjectSchema<serializers.FormResponseSettings.Raw, Webflow.FormResponseSettings>;
8
8
  export declare namespace FormResponseSettings {
9
9
  interface Raw {
10
- sendEmailConfirmation?: boolean | null;
11
10
  redirectUrl?: string | null;
12
11
  redirectMethod?: string | null;
13
12
  redirectAction?: string | null;
13
+ sendEmailConfirmation?: boolean | null;
14
14
  }
15
15
  }
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.FormResponseSettings = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.FormResponseSettings = core.serialization.object({
32
- sendEmailConfirmation: core.serialization.boolean().optional(),
33
32
  redirectUrl: core.serialization.string().optional(),
34
33
  redirectMethod: core.serialization.string().optional(),
35
34
  redirectAction: core.serialization.string().optional(),
35
+ sendEmailConfirmation: core.serialization.boolean().optional(),
36
36
  });
@@ -0,0 +1,19 @@
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 Locale: core.serialization.ObjectSchema<serializers.Locale.Raw, Webflow.Locale>;
8
+ export declare namespace Locale {
9
+ interface Raw {
10
+ id?: string | null;
11
+ cmsLocaleId?: string | null;
12
+ enabled?: boolean | null;
13
+ displayName?: string | null;
14
+ displayImageId?: string | null;
15
+ redirect?: boolean | null;
16
+ subdirectory?: string | null;
17
+ tag?: string | null;
18
+ }
19
+ }
@@ -26,9 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ProductSkuCreateSkuFieldDataCompareAtPrice = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ProductSkuCreateSkuFieldDataCompareAtPrice = core.serialization.object({
32
- value: core.serialization.number().optional(),
33
- unit: core.serialization.string().optional(),
29
+ exports.Locale = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Locale = core.serialization.object({
32
+ id: core.serialization.string().optional(),
33
+ cmsLocaleId: core.serialization.string().optional(),
34
+ enabled: core.serialization.boolean().optional(),
35
+ displayName: core.serialization.string().optional(),
36
+ displayImageId: core.serialization.string().optional(),
37
+ redirect: core.serialization.boolean().optional(),
38
+ subdirectory: core.serialization.string().optional(),
39
+ tag: core.serialization.string().optional(),
34
40
  });
@@ -0,0 +1,13 @@
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 Locales: core.serialization.ObjectSchema<serializers.Locales.Raw, Webflow.Locales>;
8
+ export declare namespace Locales {
9
+ interface Raw {
10
+ primary?: serializers.Locale.Raw | null;
11
+ secondary?: serializers.Locale.Raw[] | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.Locales = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.Locales = core.serialization.object({
41
+ primary: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locale; })).optional(),
42
+ secondary: core.serialization
43
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locale; })))
44
+ .optional(),
45
+ });
@@ -6,5 +6,5 @@ import * as Webflow from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const OauthScope: core.serialization.Schema<serializers.OauthScope.Raw, Webflow.OauthScope>;
8
8
  export declare namespace OauthScope {
9
- type Raw = "authorized_user:read" | "assets:read" | "assets:write" | "cms:read" | "cms:write" | "custom_code:read" | "custom_code:write" | "ecommerce:read" | "ecommerce:write" | "forms:read" | "forms:write" | "pages:read" | "pages:write" | "sites:read" | "sites:write" | "users:read" | "site_activity:read" | "users:write";
9
+ type Raw = "authorized_user:read" | "assets:read" | "assets:write" | "cms:read" | "cms:write" | "custom_code:read" | "custom_code:write" | "ecommerce:read" | "ecommerce:write" | "forms:read" | "forms:write" | "pages:read" | "pages:write" | "sites:read" | "sites:write" | "users:read" | "site_activity:read" | "users:write" | "workspace:read" | "workspace:write";
10
10
  }
@@ -47,4 +47,6 @@ exports.OauthScope = core.serialization.enum_([
47
47
  "users:read",
48
48
  "site_activity:read",
49
49
  "users:write",
50
+ "workspace:read",
51
+ "workspace:write",
50
52
  ]);
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const OrderList: core.serialization.ObjectSchema<serializers.OrderList.Raw, Webflow.OrderList>;
8
8
  export declare namespace OrderList {
9
9
  interface Raw {
10
- items?: serializers.Order.Raw[] | null;
10
+ orders?: serializers.Order.Raw[] | null;
11
11
  pagination?: serializers.Pagination.Raw | null;
12
12
  }
13
13
  }
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.OrderList = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.OrderList = core.serialization.object({
41
- items: core.serialization
41
+ orders: core.serialization
42
42
  .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Order; })))
43
43
  .optional(),
44
44
  pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
@@ -15,6 +15,7 @@ export declare namespace OrderPurchasedItem {
15
15
  variantId?: string | null;
16
16
  variantName?: string | null;
17
17
  variantSlug?: string | null;
18
+ variantSKU?: string | null;
18
19
  variantImage?: serializers.OrderPurchasedItemVariantImage.Raw | null;
19
20
  variantPrice?: serializers.OrderPrice.Raw | null;
20
21
  weight?: number | null;
@@ -46,6 +46,7 @@ exports.OrderPurchasedItem = core.serialization.object({
46
46
  variantId: core.serialization.string().optional(),
47
47
  variantName: core.serialization.string().optional(),
48
48
  variantSlug: core.serialization.string().optional(),
49
+ variantSku: core.serialization.property("variantSKU", core.serialization.string().optional()),
49
50
  variantImage: core.serialization
50
51
  .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPurchasedItemVariantImage; }))
51
52
  .optional(),
@@ -8,6 +8,7 @@ export declare const Product: core.serialization.ObjectSchema<serializers.Produc
8
8
  export declare namespace Product {
9
9
  interface Raw {
10
10
  id?: string | null;
11
+ cmsLocaleId?: string | null;
11
12
  lastPublished?: string | null;
12
13
  lastUpdated?: string | null;
13
14
  createdOn?: string | null;
@@ -39,6 +39,7 @@ exports.Product = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.Product = core.serialization.object({
41
41
  id: core.serialization.string().optional(),
42
+ cmsLocaleId: core.serialization.string().optional(),
42
43
  lastPublished: core.serialization.date().optional(),
43
44
  lastUpdated: core.serialization.date().optional(),
44
45
  createdOn: core.serialization.date().optional(),
@@ -7,8 +7,8 @@ import * as core from "../../core";
7
7
  export declare const ProductFieldData: core.serialization.ObjectSchema<serializers.ProductFieldData.Raw, Webflow.ProductFieldData>;
8
8
  export declare namespace ProductFieldData {
9
9
  interface Raw {
10
- name: string;
11
- slug: string;
10
+ name?: string | null;
11
+ slug?: string | null;
12
12
  description?: string | null;
13
13
  shippable?: boolean | null;
14
14
  "sku-properties"?: serializers.SkuPropertyList.Raw[] | null;
@@ -16,6 +16,5 @@ export declare namespace ProductFieldData {
16
16
  "tax-category"?: serializers.ProductFieldDataTaxCategory.Raw | null;
17
17
  "default-sku"?: string | null;
18
18
  "ec-product-type"?: serializers.ProductFieldDataEcProductType.Raw | null;
19
- additionalProperties?: string | null;
20
19
  }
21
20
  }
@@ -38,8 +38,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.ProductFieldData = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.ProductFieldData = core.serialization.object({
41
- name: core.serialization.string(),
42
- slug: core.serialization.string(),
41
+ name: core.serialization.string().optional(),
42
+ slug: core.serialization.string().optional(),
43
43
  description: core.serialization.string().optional(),
44
44
  shippable: core.serialization.boolean().optional(),
45
45
  skuProperties: core.serialization.property("sku-properties", core.serialization
@@ -49,5 +49,4 @@ exports.ProductFieldData = core.serialization.object({
49
49
  taxCategory: core.serialization.property("tax-category", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProductFieldDataTaxCategory; })).optional()),
50
50
  defaultSku: core.serialization.property("default-sku", core.serialization.string().optional()),
51
51
  ecProductType: core.serialization.property("ec-product-type", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProductFieldDataEcProductType; })).optional()),
52
- additionalProperties: core.serialization.string().optional(),
53
52
  });
@@ -7,6 +7,6 @@ import * as core from "../../core";
7
7
  export declare const RegisteredScriptList: core.serialization.ObjectSchema<serializers.RegisteredScriptList.Raw, Webflow.RegisteredScriptList>;
8
8
  export declare namespace RegisteredScriptList {
9
9
  interface Raw {
10
- registeredScripts?: serializers.CustomCodeResponse.Raw[] | null;
10
+ registeredScripts?: serializers.CustomCodeHostedResponse.Raw[] | null;
11
11
  }
12
12
  }
@@ -39,6 +39,6 @@ exports.RegisteredScriptList = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.RegisteredScriptList = core.serialization.object({
41
41
  registeredScripts: core.serialization
42
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CustomCodeResponse; })))
42
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CustomCodeHostedResponse; })))
43
43
  .optional(),
44
44
  });
@@ -16,6 +16,8 @@ export declare namespace Site {
16
16
  lastUpdated?: string | null;
17
17
  previewUrl?: string | null;
18
18
  timeZone?: string | null;
19
+ parentFolderId?: string | null;
19
20
  customDomains?: serializers.Domain.Raw[] | null;
21
+ locales?: serializers.Locales.Raw | null;
20
22
  }
21
23
  }
@@ -47,7 +47,9 @@ exports.Site = core.serialization.object({
47
47
  lastUpdated: core.serialization.date().optional(),
48
48
  previewUrl: core.serialization.string().optional(),
49
49
  timeZone: core.serialization.string().optional(),
50
+ parentFolderId: core.serialization.string().optional(),
50
51
  customDomains: core.serialization
51
52
  .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Domain; })))
52
53
  .optional(),
54
+ locales: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locales; })).optional(),
53
55
  });