webflow-api 2.0.0 → 2.1.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 (640) hide show
  1. package/README.md +3 -0
  2. package/api/resources/accessGroups/client/Client.d.ts +1 -3
  3. package/api/resources/accessGroups/client/Client.js +5 -5
  4. package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -3
  5. package/api/resources/assets/client/Client.d.ts +21 -7
  6. package/api/resources/assets/client/Client.js +110 -21
  7. package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +13 -0
  8. package/api/resources/assets/client/requests/index.d.ts +1 -0
  9. package/api/resources/collections/client/Client.d.ts +5 -5
  10. package/api/resources/collections/client/Client.js +25 -15
  11. package/api/resources/collections/resources/fields/client/Client.d.ts +11 -7
  12. package/api/resources/collections/resources/fields/client/Client.js +19 -11
  13. package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +23 -0
  14. package/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +5 -1
  15. package/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
  16. package/api/resources/collections/resources/fields/index.d.ts +1 -0
  17. package/api/resources/collections/resources/fields/index.js +1 -0
  18. package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +22 -0
  19. package/api/resources/collections/resources/fields/types/FieldCreateType.js +21 -0
  20. package/api/resources/collections/resources/fields/types/index.d.ts +1 -0
  21. package/api/resources/collections/resources/fields/types/index.js +17 -0
  22. package/api/resources/collections/resources/index.d.ts +2 -1
  23. package/api/resources/collections/resources/index.js +3 -2
  24. package/api/resources/collections/resources/items/client/Client.d.ts +101 -16
  25. package/api/resources/collections/resources/items/client/Client.js +378 -29
  26. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
  27. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js +5 -0
  28. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +13 -0
  29. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +5 -0
  30. package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +13 -0
  31. package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +5 -0
  32. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +4 -0
  33. package/api/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +1 -1
  34. package/api/resources/collections/resources/items/client/requests/index.d.ts +3 -0
  35. package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
  36. package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +5 -0
  37. package/api/resources/collections/resources/items/types/index.d.ts +1 -0
  38. package/api/resources/collections/resources/items/types/index.js +1 -0
  39. package/api/resources/ecommerce/client/Client.d.ts +1 -1
  40. package/api/resources/ecommerce/client/Client.js +5 -3
  41. package/api/resources/forms/client/Client.d.ts +6 -6
  42. package/api/resources/forms/client/Client.js +35 -16
  43. package/api/resources/forms/client/requests/FormsListRequest.d.ts +17 -0
  44. package/api/resources/forms/client/requests/FormsListRequest.js +5 -0
  45. package/api/resources/forms/client/requests/index.d.ts +1 -0
  46. package/api/resources/index.d.ts +3 -1
  47. package/api/resources/index.js +4 -2
  48. package/api/resources/inventory/client/Client.d.ts +2 -2
  49. package/api/resources/inventory/client/Client.js +10 -6
  50. package/api/resources/orders/client/Client.d.ts +6 -10
  51. package/api/resources/orders/client/Client.js +30 -22
  52. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -3
  53. package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -3
  54. package/api/resources/pages/client/Client.d.ts +73 -4
  55. package/api/resources/pages/client/Client.js +312 -8
  56. package/api/resources/pages/client/index.d.ts +1 -1
  57. package/api/resources/pages/client/index.js +15 -0
  58. package/api/resources/pages/client/requests/DomWrite.d.ts +21 -0
  59. package/api/resources/pages/client/requests/DomWrite.js +5 -0
  60. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +13 -0
  61. package/api/resources/pages/client/requests/PagesGetContentRequest.js +5 -0
  62. package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +13 -0
  63. package/api/resources/pages/client/requests/PagesGetMetadataRequest.js +5 -0
  64. package/api/resources/pages/client/requests/PagesListRequest.d.ts +21 -0
  65. package/api/resources/pages/client/requests/PagesListRequest.js +5 -0
  66. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +40 -0
  67. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.js +5 -0
  68. package/api/resources/pages/client/requests/index.d.ts +5 -0
  69. package/api/resources/pages/client/requests/index.js +2 -0
  70. package/api/resources/pages/index.d.ts +1 -0
  71. package/api/resources/pages/index.js +1 -0
  72. package/api/resources/pages/resources/scripts/client/Client.d.ts +11 -3
  73. package/api/resources/pages/resources/scripts/client/Client.js +23 -9
  74. package/api/resources/pages/types/DomWriteNodesItem.d.ts +9 -0
  75. package/api/resources/pages/types/DomWriteNodesItem.js +5 -0
  76. package/api/resources/pages/types/index.d.ts +1 -0
  77. package/api/resources/pages/types/index.js +17 -0
  78. package/api/resources/products/client/Client.d.ts +54 -74
  79. package/api/resources/products/client/Client.js +79 -87
  80. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +15 -0
  81. package/api/resources/products/client/requests/ProductSkuCreate.js +5 -0
  82. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +7 -7
  83. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +29 -8
  84. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +7 -7
  85. package/api/resources/products/client/requests/index.d.ts +1 -1
  86. package/api/resources/products/types/ProductSkuCreateProduct.d.ts +22 -0
  87. package/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
  88. package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +23 -0
  89. package/api/resources/products/types/ProductSkuCreateProductFieldData.js +5 -0
  90. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +13 -0
  91. package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +12 -0
  92. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +38 -0
  93. package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +37 -0
  94. package/api/resources/products/types/ProductSkuCreateSku.d.ts +19 -0
  95. package/api/resources/products/types/ProductSkuCreateSku.js +5 -0
  96. package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +26 -0
  97. package/api/resources/products/types/ProductSkuCreateSkuFieldData.js +5 -0
  98. package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +12 -0
  99. package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +5 -0
  100. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +11 -0
  101. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +10 -0
  102. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +15 -0
  103. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +5 -0
  104. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
  105. package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
  106. package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +13 -0
  107. package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +5 -0
  108. package/api/resources/products/types/index.d.ts +11 -0
  109. package/api/resources/products/types/index.js +11 -0
  110. package/api/resources/scripts/client/Client.d.ts +9 -9
  111. package/api/resources/scripts/client/Client.js +21 -15
  112. package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +4 -4
  113. package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  114. package/api/resources/sites/client/Client.d.ts +6 -3
  115. package/api/resources/sites/client/Client.js +26 -13
  116. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +32 -0
  117. package/api/resources/sites/resources/activityLogs/client/Client.js +136 -0
  118. package/api/resources/sites/resources/activityLogs/client/index.d.ts +1 -0
  119. package/api/resources/sites/resources/activityLogs/client/index.js +17 -0
  120. package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +17 -0
  121. package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +5 -0
  122. package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -0
  123. package/api/resources/sites/resources/activityLogs/client/requests/index.js +2 -0
  124. package/api/resources/sites/resources/activityLogs/index.d.ts +1 -0
  125. package/api/resources/sites/resources/activityLogs/index.js +17 -0
  126. package/api/resources/sites/resources/index.d.ts +2 -0
  127. package/api/resources/sites/resources/index.js +3 -1
  128. package/api/resources/sites/resources/scripts/client/Client.d.ts +12 -4
  129. package/api/resources/sites/resources/scripts/client/Client.js +28 -12
  130. package/api/resources/token/client/Client.js +8 -4
  131. package/api/resources/users/client/Client.d.ts +13 -20
  132. package/api/resources/users/client/Client.js +34 -31
  133. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +2 -1
  134. package/api/resources/users/client/requests/UsersListRequest.d.ts +1 -3
  135. package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +23 -0
  136. package/api/resources/users/client/requests/UsersUpdateRequest.js +5 -0
  137. package/api/resources/users/client/requests/index.d.ts +1 -0
  138. package/api/resources/users/types/UsersUpdateRequestData.d.ts +11 -0
  139. package/api/resources/users/types/UsersUpdateRequestData.js +5 -0
  140. package/api/resources/users/types/index.d.ts +1 -0
  141. package/api/resources/users/types/index.js +1 -0
  142. package/api/resources/webhooks/client/Client.d.ts +4 -4
  143. package/api/resources/webhooks/client/Client.js +20 -12
  144. package/api/types/AssetFolder.d.ts +3 -0
  145. package/api/types/AssetFolderList.d.ts +2 -1
  146. package/api/types/CollectionItem.d.ts +2 -0
  147. package/api/types/Dom.d.ts +13 -0
  148. package/api/types/Dom.js +5 -0
  149. package/api/types/ImageNode.d.ts +10 -0
  150. package/api/types/ImageNode.js +5 -0
  151. package/api/types/InvalidScopes.d.ts +10 -0
  152. package/api/types/InvalidScopes.js +5 -0
  153. package/api/types/Node.d.ts +15 -0
  154. package/api/types/Node.js +5 -0
  155. package/api/types/NodeType.d.ts +8 -0
  156. package/api/types/NodeType.js +10 -0
  157. package/api/types/NotEnterprisePlanSite.d.ts +14 -0
  158. package/api/types/NotEnterprisePlanSite.js +5 -0
  159. package/api/types/OauthScope.d.ts +5 -1
  160. package/api/types/OauthScope.js +1 -0
  161. package/api/types/ProductAndSkUs.d.ts +1 -0
  162. package/api/types/ProductFieldData.d.ts +17 -3
  163. package/api/types/ProductFieldDataEcProductType.d.ts +13 -0
  164. package/api/types/ProductFieldDataEcProductType.js +12 -0
  165. package/api/types/ProductFieldDataTaxCategory.d.ts +38 -0
  166. package/api/types/ProductFieldDataTaxCategory.js +37 -0
  167. package/api/types/PublishStatus.d.ts +1 -1
  168. package/api/types/SiteActivityLogItem.d.ts +1 -1
  169. package/api/types/SiteActivityLogItemUser.d.ts +7 -0
  170. package/api/types/SiteActivityLogItemUser.js +5 -0
  171. package/api/types/Sku.d.ts +1 -0
  172. package/api/types/SkuFieldData.d.ts +15 -4
  173. package/api/types/SkuFieldDataCompareAtPrice.d.ts +12 -0
  174. package/api/types/SkuFieldDataCompareAtPrice.js +5 -0
  175. package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +8 -0
  176. package/api/types/SkuFieldDataEcSkuBillingMethod.js +10 -0
  177. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +12 -0
  178. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +5 -0
  179. package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
  180. package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
  181. package/api/types/SkuPropertyList.d.ts +6 -6
  182. package/api/types/SkuPropertyListEnumItem.d.ts +3 -3
  183. package/api/types/TextNode.d.ts +10 -0
  184. package/api/types/TextNode.js +5 -0
  185. package/api/types/index.d.ts +14 -0
  186. package/api/types/index.js +14 -0
  187. package/core/fetcher/Fetcher.d.ts +1 -1
  188. package/core/fetcher/Fetcher.js +8 -1
  189. package/core/index.d.ts +1 -0
  190. package/core/index.js +1 -0
  191. package/core/runtime/index.d.ts +1 -0
  192. package/core/runtime/index.js +5 -0
  193. package/core/runtime/runtime.d.ts +8 -0
  194. package/core/runtime/runtime.js +82 -0
  195. package/dist/api/resources/accessGroups/client/Client.d.ts +1 -3
  196. package/dist/api/resources/accessGroups/client/Client.js +5 -5
  197. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -3
  198. package/dist/api/resources/assets/client/Client.d.ts +21 -7
  199. package/dist/api/resources/assets/client/Client.js +110 -21
  200. package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +13 -0
  201. package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.js +5 -0
  202. package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
  203. package/dist/api/resources/collections/client/Client.d.ts +5 -5
  204. package/dist/api/resources/collections/client/Client.js +25 -15
  205. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +11 -7
  206. package/dist/api/resources/collections/resources/fields/client/Client.js +19 -11
  207. package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +23 -0
  208. package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js +5 -0
  209. package/dist/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +5 -1
  210. package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
  211. package/dist/api/resources/collections/resources/fields/index.d.ts +1 -0
  212. package/dist/api/resources/collections/resources/fields/index.js +1 -0
  213. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +22 -0
  214. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +21 -0
  215. package/dist/api/resources/collections/resources/fields/types/index.d.ts +1 -0
  216. package/dist/api/resources/collections/resources/fields/types/index.js +17 -0
  217. package/dist/api/resources/collections/resources/index.d.ts +2 -1
  218. package/dist/api/resources/collections/resources/index.js +3 -2
  219. package/dist/api/resources/collections/resources/items/client/Client.d.ts +101 -16
  220. package/dist/api/resources/collections/resources/items/client/Client.js +378 -29
  221. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
  222. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js +5 -0
  223. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +13 -0
  224. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +5 -0
  225. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +13 -0
  226. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +5 -0
  227. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +4 -0
  228. package/dist/api/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +1 -1
  229. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +3 -0
  230. package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
  231. package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +5 -0
  232. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
  233. package/dist/api/resources/collections/resources/items/types/index.js +1 -0
  234. package/dist/api/resources/ecommerce/client/Client.d.ts +1 -1
  235. package/dist/api/resources/ecommerce/client/Client.js +5 -3
  236. package/dist/api/resources/forms/client/Client.d.ts +6 -6
  237. package/dist/api/resources/forms/client/Client.js +35 -16
  238. package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +17 -0
  239. package/dist/api/resources/forms/client/requests/FormsListRequest.js +5 -0
  240. package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
  241. package/dist/api/resources/index.d.ts +3 -1
  242. package/dist/api/resources/index.js +4 -2
  243. package/dist/api/resources/inventory/client/Client.d.ts +2 -2
  244. package/dist/api/resources/inventory/client/Client.js +10 -6
  245. package/dist/api/resources/orders/client/Client.d.ts +6 -10
  246. package/dist/api/resources/orders/client/Client.js +30 -22
  247. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -3
  248. package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -3
  249. package/dist/api/resources/pages/client/Client.d.ts +73 -4
  250. package/dist/api/resources/pages/client/Client.js +312 -8
  251. package/dist/api/resources/pages/client/index.d.ts +1 -1
  252. package/dist/api/resources/pages/client/index.js +15 -0
  253. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +21 -0
  254. package/dist/api/resources/pages/client/requests/DomWrite.js +5 -0
  255. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +13 -0
  256. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.js +5 -0
  257. package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +13 -0
  258. package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.js +5 -0
  259. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +21 -0
  260. package/dist/api/resources/pages/client/requests/PagesListRequest.js +5 -0
  261. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +40 -0
  262. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.js +5 -0
  263. package/dist/api/resources/pages/client/requests/index.d.ts +5 -0
  264. package/dist/api/resources/pages/client/requests/index.js +2 -0
  265. package/dist/api/resources/pages/index.d.ts +1 -0
  266. package/dist/api/resources/pages/index.js +1 -0
  267. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +11 -3
  268. package/dist/api/resources/pages/resources/scripts/client/Client.js +23 -9
  269. package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +9 -0
  270. package/dist/api/resources/pages/types/DomWriteNodesItem.js +5 -0
  271. package/dist/api/resources/pages/types/index.d.ts +1 -0
  272. package/dist/api/resources/pages/types/index.js +17 -0
  273. package/dist/api/resources/products/client/Client.d.ts +54 -74
  274. package/dist/api/resources/products/client/Client.js +79 -87
  275. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +15 -0
  276. package/dist/api/resources/products/client/requests/ProductSkuCreate.js +5 -0
  277. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +7 -7
  278. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +29 -8
  279. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +7 -7
  280. package/dist/api/resources/products/client/requests/index.d.ts +1 -1
  281. package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +22 -0
  282. package/dist/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
  283. package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +23 -0
  284. package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.js +5 -0
  285. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +13 -0
  286. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +12 -0
  287. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +38 -0
  288. package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +37 -0
  289. package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +19 -0
  290. package/dist/api/resources/products/types/ProductSkuCreateSku.js +5 -0
  291. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +26 -0
  292. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.js +5 -0
  293. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +12 -0
  294. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +5 -0
  295. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +11 -0
  296. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +10 -0
  297. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +15 -0
  298. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +5 -0
  299. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
  300. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
  301. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +13 -0
  302. package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +5 -0
  303. package/dist/api/resources/products/types/index.d.ts +11 -0
  304. package/dist/api/resources/products/types/index.js +11 -0
  305. package/dist/api/resources/scripts/client/Client.d.ts +9 -9
  306. package/dist/api/resources/scripts/client/Client.js +21 -15
  307. package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +4 -4
  308. package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  309. package/dist/api/resources/sites/client/Client.d.ts +6 -3
  310. package/dist/api/resources/sites/client/Client.js +26 -13
  311. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +32 -0
  312. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +136 -0
  313. package/dist/api/resources/sites/resources/activityLogs/client/index.d.ts +1 -0
  314. package/dist/api/resources/sites/resources/activityLogs/client/index.js +17 -0
  315. package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +17 -0
  316. package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +5 -0
  317. package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -0
  318. package/dist/api/resources/sites/resources/activityLogs/client/requests/index.js +2 -0
  319. package/dist/api/resources/sites/resources/activityLogs/index.d.ts +1 -0
  320. package/dist/api/resources/sites/resources/activityLogs/index.js +17 -0
  321. package/dist/api/resources/sites/resources/index.d.ts +2 -0
  322. package/dist/api/resources/sites/resources/index.js +3 -1
  323. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +12 -4
  324. package/dist/api/resources/sites/resources/scripts/client/Client.js +28 -12
  325. package/dist/api/resources/token/client/Client.js +8 -4
  326. package/dist/api/resources/users/client/Client.d.ts +13 -20
  327. package/dist/api/resources/users/client/Client.js +34 -31
  328. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +2 -1
  329. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +1 -3
  330. package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +23 -0
  331. package/dist/api/resources/users/client/requests/UsersUpdateRequest.js +5 -0
  332. package/dist/api/resources/users/client/requests/index.d.ts +1 -0
  333. package/dist/api/resources/users/types/UsersUpdateRequestData.d.ts +11 -0
  334. package/dist/api/resources/users/types/UsersUpdateRequestData.js +5 -0
  335. package/dist/api/resources/users/types/index.d.ts +1 -0
  336. package/dist/api/resources/users/types/index.js +1 -0
  337. package/dist/api/resources/webhooks/client/Client.d.ts +4 -4
  338. package/dist/api/resources/webhooks/client/Client.js +20 -12
  339. package/dist/api/types/AssetFolder.d.ts +3 -0
  340. package/dist/api/types/AssetFolderList.d.ts +2 -1
  341. package/dist/api/types/CollectionItem.d.ts +2 -0
  342. package/dist/api/types/Dom.d.ts +13 -0
  343. package/dist/api/types/Dom.js +5 -0
  344. package/dist/api/types/ImageNode.d.ts +10 -0
  345. package/dist/api/types/ImageNode.js +5 -0
  346. package/dist/api/types/InvalidScopes.d.ts +10 -0
  347. package/dist/api/types/InvalidScopes.js +5 -0
  348. package/dist/api/types/Node.d.ts +15 -0
  349. package/dist/api/types/Node.js +5 -0
  350. package/dist/api/types/NodeType.d.ts +8 -0
  351. package/dist/api/types/NodeType.js +10 -0
  352. package/dist/api/types/NotEnterprisePlanSite.d.ts +14 -0
  353. package/dist/api/types/NotEnterprisePlanSite.js +5 -0
  354. package/dist/api/types/OauthScope.d.ts +5 -1
  355. package/dist/api/types/OauthScope.js +1 -0
  356. package/dist/api/types/ProductAndSkUs.d.ts +1 -0
  357. package/dist/api/types/ProductFieldData.d.ts +17 -3
  358. package/dist/api/types/ProductFieldDataEcProductType.d.ts +13 -0
  359. package/dist/api/types/ProductFieldDataEcProductType.js +12 -0
  360. package/dist/api/types/ProductFieldDataTaxCategory.d.ts +38 -0
  361. package/dist/api/types/ProductFieldDataTaxCategory.js +37 -0
  362. package/dist/api/types/PublishStatus.d.ts +1 -1
  363. package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
  364. package/dist/api/types/SiteActivityLogItemUser.d.ts +7 -0
  365. package/dist/api/types/SiteActivityLogItemUser.js +5 -0
  366. package/dist/api/types/Sku.d.ts +1 -0
  367. package/dist/api/types/SkuFieldData.d.ts +15 -4
  368. package/dist/api/types/SkuFieldDataCompareAtPrice.d.ts +12 -0
  369. package/dist/api/types/SkuFieldDataCompareAtPrice.js +5 -0
  370. package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +8 -0
  371. package/dist/api/types/SkuFieldDataEcSkuBillingMethod.js +10 -0
  372. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +12 -0
  373. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +5 -0
  374. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
  375. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
  376. package/dist/api/types/SkuPropertyList.d.ts +6 -6
  377. package/dist/api/types/SkuPropertyListEnumItem.d.ts +3 -3
  378. package/dist/api/types/TextNode.d.ts +10 -0
  379. package/dist/api/types/TextNode.js +5 -0
  380. package/dist/api/types/index.d.ts +14 -0
  381. package/dist/api/types/index.js +14 -0
  382. package/dist/core/fetcher/Fetcher.d.ts +1 -1
  383. package/dist/core/fetcher/Fetcher.js +8 -1
  384. package/dist/core/index.d.ts +1 -0
  385. package/dist/core/index.js +1 -0
  386. package/dist/core/runtime/index.d.ts +1 -0
  387. package/dist/core/runtime/index.js +5 -0
  388. package/dist/core/runtime/runtime.d.ts +8 -0
  389. package/dist/core/runtime/runtime.js +82 -0
  390. package/dist/environments.d.ts +1 -1
  391. package/dist/environments.js +1 -1
  392. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +12 -0
  393. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +33 -0
  394. package/dist/serialization/resources/assets/client/requests/index.d.ts +1 -0
  395. package/dist/serialization/resources/assets/client/requests/index.js +3 -1
  396. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +15 -0
  397. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +45 -0
  398. package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
  399. package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +3 -1
  400. package/dist/serialization/resources/collections/resources/fields/index.d.ts +1 -0
  401. package/dist/serialization/resources/collections/resources/fields/index.js +1 -0
  402. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +10 -0
  403. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +45 -0
  404. package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +1 -0
  405. package/dist/serialization/resources/collections/resources/fields/types/index.js +17 -0
  406. package/dist/serialization/resources/collections/resources/index.d.ts +2 -1
  407. package/dist/serialization/resources/collections/resources/index.js +3 -2
  408. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
  409. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +51 -0
  410. package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  411. package/dist/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
  412. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
  413. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +34 -0
  414. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  415. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
  416. package/dist/serialization/resources/index.d.ts +3 -0
  417. package/dist/serialization/resources/index.js +4 -1
  418. package/dist/serialization/resources/pages/client/index.d.ts +1 -0
  419. package/dist/serialization/resources/pages/client/index.js +17 -0
  420. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +12 -0
  421. package/dist/serialization/resources/pages/client/requests/DomWrite.js +42 -0
  422. package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -0
  423. package/dist/serialization/resources/pages/client/requests/index.js +5 -0
  424. package/dist/serialization/resources/pages/index.d.ts +2 -0
  425. package/dist/serialization/resources/pages/index.js +18 -0
  426. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +13 -0
  427. package/dist/serialization/resources/pages/types/DomWriteNodesItem.js +34 -0
  428. package/dist/serialization/resources/pages/types/index.d.ts +1 -0
  429. package/dist/serialization/resources/pages/types/index.js +17 -0
  430. package/dist/serialization/resources/products/client/requests/{ProductsCreateRequest.d.ts → ProductSkuCreate.d.ts} +4 -4
  431. package/dist/serialization/resources/products/client/requests/{ProductsCreateRequest.js → ProductSkuCreate.js} +6 -4
  432. package/dist/serialization/resources/products/client/requests/index.d.ts +1 -1
  433. package/dist/serialization/resources/products/client/requests/index.js +3 -3
  434. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +18 -0
  435. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +50 -0
  436. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +20 -0
  437. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +56 -0
  438. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +10 -0
  439. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +36 -0
  440. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +10 -0
  441. package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +61 -0
  442. package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +16 -0
  443. package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +48 -0
  444. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +20 -0
  445. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +56 -0
  446. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +13 -0
  447. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +34 -0
  448. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +10 -0
  449. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +31 -0
  450. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
  451. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +46 -0
  452. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
  453. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
  454. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +14 -0
  455. package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +35 -0
  456. package/dist/serialization/resources/products/types/index.d.ts +11 -0
  457. package/dist/serialization/resources/products/types/index.js +11 -0
  458. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +13 -0
  459. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.js +43 -0
  460. package/dist/serialization/resources/users/client/requests/index.d.ts +1 -0
  461. package/dist/serialization/resources/users/client/requests/index.js +3 -1
  462. package/dist/serialization/resources/users/types/UsersUpdateRequestData.d.ts +14 -0
  463. package/dist/serialization/resources/users/types/UsersUpdateRequestData.js +35 -0
  464. package/dist/serialization/resources/users/types/index.d.ts +1 -0
  465. package/dist/serialization/resources/users/types/index.js +1 -0
  466. package/dist/serialization/types/AssetFolderList.d.ts +1 -1
  467. package/dist/serialization/types/AssetFolderList.js +2 -2
  468. package/dist/serialization/types/CollectionItem.d.ts +1 -0
  469. package/dist/serialization/types/CollectionItem.js +1 -0
  470. package/dist/serialization/types/Dom.d.ts +14 -0
  471. package/dist/serialization/types/Dom.js +44 -0
  472. package/dist/serialization/types/ImageNode.d.ts +13 -0
  473. package/dist/serialization/types/ImageNode.js +34 -0
  474. package/dist/serialization/types/InvalidScopes.d.ts +16 -0
  475. package/dist/serialization/types/InvalidScopes.js +37 -0
  476. package/dist/serialization/types/Node.d.ts +16 -0
  477. package/dist/serialization/types/Node.js +46 -0
  478. package/dist/serialization/types/NodeType.d.ts +10 -0
  479. package/dist/serialization/types/NodeType.js +31 -0
  480. package/dist/serialization/types/NotEnterprisePlanSite.d.ts +16 -0
  481. package/dist/serialization/types/NotEnterprisePlanSite.js +48 -0
  482. package/dist/serialization/types/OauthScope.d.ts +1 -1
  483. package/dist/serialization/types/OauthScope.js +1 -0
  484. package/dist/serialization/types/ProductFieldData.d.ts +9 -2
  485. package/dist/serialization/types/ProductFieldData.js +9 -2
  486. package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +10 -0
  487. package/dist/serialization/types/ProductFieldDataEcProductType.js +36 -0
  488. package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +10 -0
  489. package/dist/serialization/types/ProductFieldDataTaxCategory.js +61 -0
  490. package/dist/serialization/types/SiteActivityLogItem.d.ts +1 -1
  491. package/dist/serialization/types/SiteActivityLogItem.js +1 -1
  492. package/dist/serialization/types/SiteActivityLogItemUser.d.ts +13 -0
  493. package/dist/serialization/types/SiteActivityLogItemUser.js +34 -0
  494. package/dist/serialization/types/SkuFieldData.d.ts +8 -3
  495. package/dist/serialization/types/SkuFieldData.js +8 -3
  496. package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +13 -0
  497. package/dist/serialization/types/SkuFieldDataCompareAtPrice.js +34 -0
  498. package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +10 -0
  499. package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.js +31 -0
  500. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
  501. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +46 -0
  502. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
  503. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
  504. package/dist/serialization/types/SkuPropertyList.d.ts +3 -3
  505. package/dist/serialization/types/SkuPropertyList.js +3 -5
  506. package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +3 -3
  507. package/dist/serialization/types/SkuPropertyListEnumItem.js +3 -3
  508. package/dist/serialization/types/TextNode.d.ts +13 -0
  509. package/dist/serialization/types/TextNode.js +34 -0
  510. package/dist/serialization/types/index.d.ts +14 -0
  511. package/dist/serialization/types/index.js +14 -0
  512. package/environments.d.ts +1 -1
  513. package/environments.js +1 -1
  514. package/jest.config.js +5 -0
  515. package/package.json +7 -3
  516. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +12 -0
  517. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +33 -0
  518. package/serialization/resources/assets/client/requests/index.d.ts +1 -0
  519. package/serialization/resources/assets/client/requests/index.js +3 -1
  520. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +15 -0
  521. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +45 -0
  522. package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
  523. package/serialization/resources/collections/resources/fields/client/requests/index.js +3 -1
  524. package/serialization/resources/collections/resources/fields/index.d.ts +1 -0
  525. package/serialization/resources/collections/resources/fields/index.js +1 -0
  526. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +10 -0
  527. package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +45 -0
  528. package/serialization/resources/collections/resources/fields/types/index.d.ts +1 -0
  529. package/serialization/resources/collections/resources/fields/types/index.js +17 -0
  530. package/serialization/resources/collections/resources/index.d.ts +2 -1
  531. package/serialization/resources/collections/resources/index.js +3 -2
  532. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
  533. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +51 -0
  534. package/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  535. package/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
  536. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
  537. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +34 -0
  538. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  539. package/serialization/resources/collections/resources/items/types/index.js +1 -0
  540. package/serialization/resources/index.d.ts +3 -0
  541. package/serialization/resources/index.js +4 -1
  542. package/serialization/resources/pages/client/index.d.ts +1 -0
  543. package/serialization/resources/pages/client/index.js +17 -0
  544. package/serialization/resources/pages/client/requests/DomWrite.d.ts +12 -0
  545. package/serialization/resources/pages/client/requests/DomWrite.js +42 -0
  546. package/serialization/resources/pages/client/requests/index.d.ts +1 -0
  547. package/serialization/resources/pages/client/requests/index.js +5 -0
  548. package/serialization/resources/pages/index.d.ts +2 -0
  549. package/serialization/resources/pages/index.js +18 -0
  550. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +13 -0
  551. package/serialization/resources/pages/types/DomWriteNodesItem.js +34 -0
  552. package/serialization/resources/pages/types/index.d.ts +1 -0
  553. package/serialization/resources/pages/types/index.js +17 -0
  554. package/serialization/resources/products/client/requests/{ProductsCreateRequest.d.ts → ProductSkuCreate.d.ts} +4 -4
  555. package/serialization/resources/products/client/requests/{ProductsCreateRequest.js → ProductSkuCreate.js} +6 -4
  556. package/serialization/resources/products/client/requests/index.d.ts +1 -1
  557. package/serialization/resources/products/client/requests/index.js +3 -3
  558. package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +18 -0
  559. package/serialization/resources/products/types/ProductSkuCreateProduct.js +50 -0
  560. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +20 -0
  561. package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +56 -0
  562. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +10 -0
  563. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +36 -0
  564. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +10 -0
  565. package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +61 -0
  566. package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +16 -0
  567. package/serialization/resources/products/types/ProductSkuCreateSku.js +48 -0
  568. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +20 -0
  569. package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +56 -0
  570. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +13 -0
  571. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +34 -0
  572. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +10 -0
  573. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +31 -0
  574. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
  575. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +46 -0
  576. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
  577. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
  578. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +14 -0
  579. package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +35 -0
  580. package/serialization/resources/products/types/index.d.ts +11 -0
  581. package/serialization/resources/products/types/index.js +11 -0
  582. package/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +13 -0
  583. package/serialization/resources/users/client/requests/UsersUpdateRequest.js +43 -0
  584. package/serialization/resources/users/client/requests/index.d.ts +1 -0
  585. package/serialization/resources/users/client/requests/index.js +3 -1
  586. package/serialization/resources/users/types/UsersUpdateRequestData.d.ts +14 -0
  587. package/serialization/resources/users/types/UsersUpdateRequestData.js +35 -0
  588. package/serialization/resources/users/types/index.d.ts +1 -0
  589. package/serialization/resources/users/types/index.js +1 -0
  590. package/serialization/types/AssetFolderList.d.ts +1 -1
  591. package/serialization/types/AssetFolderList.js +2 -2
  592. package/serialization/types/CollectionItem.d.ts +1 -0
  593. package/serialization/types/CollectionItem.js +1 -0
  594. package/serialization/types/Dom.d.ts +14 -0
  595. package/serialization/types/Dom.js +44 -0
  596. package/serialization/types/ImageNode.d.ts +13 -0
  597. package/serialization/types/ImageNode.js +34 -0
  598. package/serialization/types/InvalidScopes.d.ts +16 -0
  599. package/serialization/types/InvalidScopes.js +37 -0
  600. package/serialization/types/Node.d.ts +16 -0
  601. package/serialization/types/Node.js +46 -0
  602. package/serialization/types/NodeType.d.ts +10 -0
  603. package/serialization/types/NodeType.js +31 -0
  604. package/serialization/types/NotEnterprisePlanSite.d.ts +16 -0
  605. package/serialization/types/NotEnterprisePlanSite.js +48 -0
  606. package/serialization/types/OauthScope.d.ts +1 -1
  607. package/serialization/types/OauthScope.js +1 -0
  608. package/serialization/types/ProductFieldData.d.ts +9 -2
  609. package/serialization/types/ProductFieldData.js +9 -2
  610. package/serialization/types/ProductFieldDataEcProductType.d.ts +10 -0
  611. package/serialization/types/ProductFieldDataEcProductType.js +36 -0
  612. package/serialization/types/ProductFieldDataTaxCategory.d.ts +10 -0
  613. package/serialization/types/ProductFieldDataTaxCategory.js +61 -0
  614. package/serialization/types/SiteActivityLogItem.d.ts +1 -1
  615. package/serialization/types/SiteActivityLogItem.js +1 -1
  616. package/serialization/types/SiteActivityLogItemUser.d.ts +13 -0
  617. package/serialization/types/SiteActivityLogItemUser.js +34 -0
  618. package/serialization/types/SkuFieldData.d.ts +8 -3
  619. package/serialization/types/SkuFieldData.js +8 -3
  620. package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +13 -0
  621. package/serialization/types/SkuFieldDataCompareAtPrice.js +34 -0
  622. package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +10 -0
  623. package/serialization/types/SkuFieldDataEcSkuBillingMethod.js +31 -0
  624. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
  625. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +46 -0
  626. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
  627. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
  628. package/serialization/types/SkuPropertyList.d.ts +3 -3
  629. package/serialization/types/SkuPropertyList.js +3 -5
  630. package/serialization/types/SkuPropertyListEnumItem.d.ts +3 -3
  631. package/serialization/types/SkuPropertyListEnumItem.js +3 -3
  632. package/serialization/types/TextNode.d.ts +13 -0
  633. package/serialization/types/TextNode.js +34 -0
  634. package/serialization/types/index.d.ts +14 -0
  635. package/serialization/types/index.js +14 -0
  636. package/tests/client.test.ts +11 -0
  637. package/api/resources/products/client/requests/ProductsCreateRequest.d.ts +0 -50
  638. package/dist/api/resources/products/client/requests/ProductsCreateRequest.d.ts +0 -50
  639. /package/api/resources/{products/client/requests/ProductsCreateRequest.js → assets/client/requests/AssetsUpdateRequest.js} +0 -0
  640. /package/{dist/api/resources/products/client/requests/ProductsCreateRequest.js → api/resources/collections/resources/fields/client/requests/FieldCreate.js} +0 -0
@@ -0,0 +1,34 @@
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.DomWriteNodesItem = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.DomWriteNodesItem = core.serialization.object({
32
+ nodeId: core.serialization.string(),
33
+ text: core.serialization.string(),
34
+ });
@@ -0,0 +1 @@
1
+ export * from "./DomWriteNodesItem";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DomWriteNodesItem"), exports);
@@ -4,11 +4,11 @@
4
4
  import * as serializers from "../../../..";
5
5
  import * as Webflow from "../../../../../api";
6
6
  import * as core from "../../../../../core";
7
- export declare const ProductsCreateRequest: core.serialization.Schema<serializers.ProductsCreateRequest.Raw, Webflow.ProductsCreateRequest>;
8
- export declare namespace ProductsCreateRequest {
7
+ export declare const ProductSkuCreate: core.serialization.Schema<serializers.ProductSkuCreate.Raw, Webflow.ProductSkuCreate>;
8
+ export declare namespace ProductSkuCreate {
9
9
  interface Raw {
10
10
  publishStatus?: serializers.PublishStatus.Raw | null;
11
- product: serializers.Product.Raw;
12
- sku: serializers.Sku.Raw;
11
+ product?: serializers.ProductSkuCreateProduct.Raw | null;
12
+ sku?: serializers.ProductSkuCreateSku.Raw | null;
13
13
  }
14
14
  }
@@ -35,10 +35,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
35
35
  });
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.ProductsCreateRequest = void 0;
38
+ exports.ProductSkuCreate = void 0;
39
39
  const core = __importStar(require("../../../../../core"));
40
- exports.ProductsCreateRequest = core.serialization.object({
40
+ exports.ProductSkuCreate = core.serialization.object({
41
41
  publishStatus: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PublishStatus; })).optional(),
42
- product: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Product; })),
43
- sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Sku; })),
42
+ product: core.serialization
43
+ .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).ProductSkuCreateProduct; }))
44
+ .optional(),
45
+ sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).ProductSkuCreateSku; })).optional(),
44
46
  });
@@ -1,4 +1,4 @@
1
- export { ProductsCreateRequest } from "./ProductsCreateRequest";
1
+ export { ProductSkuCreate } from "./ProductSkuCreate";
2
2
  export { ProductsUpdateRequest } from "./ProductsUpdateRequest";
3
3
  export { ProductsCreateSkuRequest } from "./ProductsCreateSkuRequest";
4
4
  export { ProductsUpdateSkuRequest } from "./ProductsUpdateSkuRequest";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductsUpdateSkuRequest = exports.ProductsCreateSkuRequest = exports.ProductsUpdateRequest = exports.ProductsCreateRequest = void 0;
4
- var ProductsCreateRequest_1 = require("./ProductsCreateRequest");
5
- Object.defineProperty(exports, "ProductsCreateRequest", { enumerable: true, get: function () { return ProductsCreateRequest_1.ProductsCreateRequest; } });
3
+ exports.ProductsUpdateSkuRequest = exports.ProductsCreateSkuRequest = exports.ProductsUpdateRequest = exports.ProductSkuCreate = void 0;
4
+ var ProductSkuCreate_1 = require("./ProductSkuCreate");
5
+ Object.defineProperty(exports, "ProductSkuCreate", { enumerable: true, get: function () { return ProductSkuCreate_1.ProductSkuCreate; } });
6
6
  var ProductsUpdateRequest_1 = require("./ProductsUpdateRequest");
7
7
  Object.defineProperty(exports, "ProductsUpdateRequest", { enumerable: true, get: function () { return ProductsUpdateRequest_1.ProductsUpdateRequest; } });
8
8
  var ProductsCreateSkuRequest_1 = require("./ProductsCreateSkuRequest");
@@ -0,0 +1,18 @@
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
+ }
@@ -0,0 +1,50 @@
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
+ });
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,56 @@
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
+ });
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,36 @@
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
+ ]);
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,61 @@
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
+ ]);
@@ -0,0 +1,16 @@
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
+ }
@@ -0,0 +1,48 @@
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
+ });
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,56 @@
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
+ });
@@ -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 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
+ }
@@ -0,0 +1,34 @@
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
+ });
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,31 @@
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.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ProductSkuCreateSkuFieldDataEcSkuBillingMethod = core.serialization.enum_(["one-time", "subscription"]);
@@ -0,0 +1,14 @@
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
+ }