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,10 +0,0 @@
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.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = void 0;
7
- exports.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = {
8
- OneTime: "one-time",
9
- Subscription: "subscription",
10
- };
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "../../..";
5
- /**
6
- * If your billing method is a Subscription Plan, outline the type and frequency of the subscription.
7
- */
8
- export interface ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan {
9
- /** Interval of subscription renewal */
10
- interval?: Webflow.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval;
11
- /** Frequncy of billing within interval */
12
- frequency?: number;
13
- /** Number of days of a trial */
14
- trial?: number;
15
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Interval of subscription renewal
6
- */
7
- export declare type ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval = "day" | "week" | "month" | "year";
8
- export declare const ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval: {
9
- readonly Day: "day";
10
- readonly Week: "week";
11
- readonly Month: "month";
12
- readonly Year: "year";
13
- };
@@ -1,12 +0,0 @@
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.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval = void 0;
7
- exports.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval = {
8
- Day: "day",
9
- Week: "week",
10
- Month: "month",
11
- Year: "year",
12
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * price of SKU
6
- */
7
- export interface ProductSkuCreateSkuFieldDataPrice {
8
- required?: unknown;
9
- /** Price of SKU */
10
- value?: number;
11
- /** Currency of Item */
12
- unit?: string;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
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 Response: core.serialization.Schema<serializers.assets.list.Response.Raw, Webflow.Asset[]>;
8
- export declare namespace Response {
9
- type Raw = serializers.Asset.Raw[];
10
- }
@@ -1,13 +0,0 @@
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 ItemsPublishItemResponse: core.serialization.ObjectSchema<serializers.collections.ItemsPublishItemResponse.Raw, Webflow.collections.ItemsPublishItemResponse>;
8
- export declare namespace ItemsPublishItemResponse {
9
- interface Raw {
10
- publishedItemIds?: string[] | null;
11
- errors?: string[] | null;
12
- }
13
- }
@@ -1,18 +0,0 @@
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 ProductSkuCreateProduct: core.serialization.ObjectSchema<serializers.ProductSkuCreateProduct.Raw, Webflow.ProductSkuCreateProduct>;
8
- export declare namespace ProductSkuCreateProduct {
9
- interface Raw {
10
- id?: string | null;
11
- lastPublished?: string | null;
12
- lastUpdated?: string | null;
13
- createdOn?: string | null;
14
- isArchived?: boolean | null;
15
- isDraft?: boolean | null;
16
- fieldData?: serializers.ProductSkuCreateProductFieldData.Raw | null;
17
- }
18
- }
@@ -1,50 +0,0 @@
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.ProductSkuCreateProduct = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.ProductSkuCreateProduct = core.serialization.object({
41
- id: core.serialization.string().optional(),
42
- lastPublished: core.serialization.date().optional(),
43
- lastUpdated: core.serialization.date().optional(),
44
- createdOn: core.serialization.date().optional(),
45
- isArchived: core.serialization.boolean().optional(),
46
- isDraft: core.serialization.boolean().optional(),
47
- fieldData: core.serialization
48
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateProductFieldData; }))
49
- .optional(),
50
- });
@@ -1,20 +0,0 @@
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 ProductSkuCreateProductFieldData: core.serialization.ObjectSchema<serializers.ProductSkuCreateProductFieldData.Raw, Webflow.ProductSkuCreateProductFieldData>;
8
- export declare namespace ProductSkuCreateProductFieldData {
9
- interface Raw {
10
- name: string;
11
- slug: string;
12
- description?: string | null;
13
- shippable?: boolean | null;
14
- "sku-properties"?: serializers.SkuPropertyList.Raw[] | null;
15
- categories?: unknown[] | null;
16
- "tax-category"?: serializers.ProductSkuCreateProductFieldDataTaxCategory.Raw | null;
17
- "ec-product-type"?: serializers.ProductSkuCreateProductFieldDataEcProductType.Raw | null;
18
- additionalProperties?: unknown | null;
19
- }
20
- }
@@ -1,56 +0,0 @@
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.ProductSkuCreateProductFieldData = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.ProductSkuCreateProductFieldData = core.serialization.object({
41
- name: core.serialization.string(),
42
- slug: core.serialization.string(),
43
- description: core.serialization.string().optional(),
44
- shippable: core.serialization.boolean().optional(),
45
- skuProperties: core.serialization.property("sku-properties", core.serialization
46
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).SkuPropertyList; })))
47
- .optional()),
48
- categories: core.serialization.list(core.serialization.unknown()).optional(),
49
- taxCategory: core.serialization.property("tax-category", core.serialization
50
- .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateProductFieldDataTaxCategory; }))
51
- .optional()),
52
- ecProductType: core.serialization.property("ec-product-type", core.serialization
53
- .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateProductFieldDataEcProductType; }))
54
- .optional()),
55
- additionalProperties: core.serialization.unknown().optional(),
56
- });
@@ -1,10 +0,0 @@
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 ProductSkuCreateProductFieldDataEcProductType: core.serialization.Schema<serializers.ProductSkuCreateProductFieldDataEcProductType.Raw, Webflow.ProductSkuCreateProductFieldDataEcProductType>;
8
- export declare namespace ProductSkuCreateProductFieldDataEcProductType {
9
- type Raw = "ff42fee0113744f693a764e3431a9cc2" | "f22027db68002190aef89a4a2b7ac8a1" | "c599e43b1a1c34d5a323aedf75d3adf6" | "b6ccc1830db4b1babeb06a9ac5f6dd76";
10
- }
@@ -1,36 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ProductSkuCreateProductFieldDataEcProductType = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ProductSkuCreateProductFieldDataEcProductType = core.serialization.enum_([
32
- "ff42fee0113744f693a764e3431a9cc2",
33
- "f22027db68002190aef89a4a2b7ac8a1",
34
- "c599e43b1a1c34d5a323aedf75d3adf6",
35
- "b6ccc1830db4b1babeb06a9ac5f6dd76",
36
- ]);
@@ -1,10 +0,0 @@
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 ProductSkuCreateProductFieldDataTaxCategory: core.serialization.Schema<serializers.ProductSkuCreateProductFieldDataTaxCategory.Raw, Webflow.ProductSkuCreateProductFieldDataTaxCategory>;
8
- export declare namespace ProductSkuCreateProductFieldDataTaxCategory {
9
- type Raw = "standard-taxable" | "standard-exempt" | "books-religious" | "books-textbook" | "clothing" | "clothing-swimwear" | "digital-goods" | "digital-service" | "drugs-non-prescription" | "drugs-prescription" | "food-bottled-water" | "food-candy" | "food-groceries" | "food-prepared" | "food-soda" | "food-supplements" | "magazine-individual" | "magazine-subscription" | "service-admission" | "service-advertising" | "service-dry-cleaning" | "service-hairdressing" | "service-installation" | "service-miscellaneous" | "service-parking" | "service-printing" | "service-professional" | "service-repair" | "service-training";
10
- }
@@ -1,61 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ProductSkuCreateProductFieldDataTaxCategory = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ProductSkuCreateProductFieldDataTaxCategory = core.serialization.enum_([
32
- "standard-taxable",
33
- "standard-exempt",
34
- "books-religious",
35
- "books-textbook",
36
- "clothing",
37
- "clothing-swimwear",
38
- "digital-goods",
39
- "digital-service",
40
- "drugs-non-prescription",
41
- "drugs-prescription",
42
- "food-bottled-water",
43
- "food-candy",
44
- "food-groceries",
45
- "food-prepared",
46
- "food-soda",
47
- "food-supplements",
48
- "magazine-individual",
49
- "magazine-subscription",
50
- "service-admission",
51
- "service-advertising",
52
- "service-dry-cleaning",
53
- "service-hairdressing",
54
- "service-installation",
55
- "service-miscellaneous",
56
- "service-parking",
57
- "service-printing",
58
- "service-professional",
59
- "service-repair",
60
- "service-training",
61
- ]);
@@ -1,16 +0,0 @@
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 ProductSkuCreateSku: core.serialization.ObjectSchema<serializers.ProductSkuCreateSku.Raw, Webflow.ProductSkuCreateSku>;
8
- export declare namespace ProductSkuCreateSku {
9
- interface Raw {
10
- id?: string | null;
11
- lastPublished?: string | null;
12
- lastUpdated?: string | null;
13
- createdOn?: string | null;
14
- fieldData?: serializers.ProductSkuCreateSkuFieldData.Raw | null;
15
- }
16
- }
@@ -1,48 +0,0 @@
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.ProductSkuCreateSku = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.ProductSkuCreateSku = core.serialization.object({
41
- id: core.serialization.string().optional(),
42
- lastPublished: core.serialization.date().optional(),
43
- lastUpdated: core.serialization.date().optional(),
44
- createdOn: core.serialization.date().optional(),
45
- fieldData: core.serialization
46
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldData; }))
47
- .optional(),
48
- });
@@ -1,20 +0,0 @@
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 ProductSkuCreateSkuFieldData: core.serialization.ObjectSchema<serializers.ProductSkuCreateSkuFieldData.Raw, Webflow.ProductSkuCreateSkuFieldData>;
8
- export declare namespace ProductSkuCreateSkuFieldData {
9
- interface Raw {
10
- "sku-values"?: serializers.SkuValueList.Raw | null;
11
- name: string;
12
- slug: string;
13
- price: serializers.ProductSkuCreateSkuFieldDataPrice.Raw;
14
- "compare-at-price"?: serializers.ProductSkuCreateSkuFieldDataCompareAtPrice.Raw | null;
15
- "ec-sku-billing-method"?: serializers.ProductSkuCreateSkuFieldDataEcSkuBillingMethod.Raw | null;
16
- "ec-sku-subscription-plan"?: serializers.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.Raw | null;
17
- "track-inventory"?: boolean | null;
18
- quantity?: number | null;
19
- }
20
- }
@@ -1,56 +0,0 @@
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.ProductSkuCreateSkuFieldData = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.ProductSkuCreateSkuFieldData = core.serialization.object({
41
- skuValues: core.serialization.property("sku-values", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).SkuValueList; })).optional()),
42
- name: core.serialization.string(),
43
- slug: core.serialization.string(),
44
- price: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldDataPrice; })),
45
- compareAtPrice: core.serialization.property("compare-at-price", core.serialization
46
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldDataCompareAtPrice; }))
47
- .optional()),
48
- ecSkuBillingMethod: core.serialization.property("ec-sku-billing-method", core.serialization
49
- .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldDataEcSkuBillingMethod; }))
50
- .optional()),
51
- ecSkuSubscriptionPlan: core.serialization.property("ec-sku-subscription-plan", core.serialization
52
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan; }))
53
- .optional()),
54
- trackInventory: core.serialization.property("track-inventory", core.serialization.boolean().optional()),
55
- quantity: core.serialization.number().optional(),
56
- });
@@ -1,13 +0,0 @@
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 ProductSkuCreateSkuFieldDataCompareAtPrice: core.serialization.ObjectSchema<serializers.ProductSkuCreateSkuFieldDataCompareAtPrice.Raw, Webflow.ProductSkuCreateSkuFieldDataCompareAtPrice>;
8
- export declare namespace ProductSkuCreateSkuFieldDataCompareAtPrice {
9
- interface Raw {
10
- value?: number | null;
11
- unit?: string | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
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
- 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(),
34
- });
@@ -1,10 +0,0 @@
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 ProductSkuCreateSkuFieldDataEcSkuBillingMethod: core.serialization.Schema<serializers.ProductSkuCreateSkuFieldDataEcSkuBillingMethod.Raw, Webflow.ProductSkuCreateSkuFieldDataEcSkuBillingMethod>;
8
- export declare namespace ProductSkuCreateSkuFieldDataEcSkuBillingMethod {
9
- type Raw = "one-time" | "subscription";
10
- }
@@ -1,14 +0,0 @@
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 ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan: core.serialization.ObjectSchema<serializers.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.Raw, Webflow.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan>;
8
- export declare namespace ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan {
9
- interface Raw {
10
- interval?: serializers.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.Raw | null;
11
- frequency?: number | null;
12
- trial?: number | null;
13
- }
14
- }
@@ -1,10 +0,0 @@
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 ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval: core.serialization.Schema<serializers.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.Raw, Webflow.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval>;
8
- export declare namespace ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval {
9
- type Raw = "day" | "week" | "month" | "year";
10
- }
@@ -1,14 +0,0 @@
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 ProductSkuCreateSkuFieldDataPrice: core.serialization.ObjectSchema<serializers.ProductSkuCreateSkuFieldDataPrice.Raw, Webflow.ProductSkuCreateSkuFieldDataPrice>;
8
- export declare namespace ProductSkuCreateSkuFieldDataPrice {
9
- interface Raw {
10
- required?: unknown | null;
11
- value?: number | null;
12
- unit?: string | null;
13
- }
14
- }