webflow-api 2.3.1 → 2.3.5

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 (955) hide show
  1. package/Client.d.ts +4 -0
  2. package/api/errors/BadRequestError.d.ts +1 -1
  3. package/api/errors/BadRequestError.js +1 -1
  4. package/api/errors/ConflictError.d.ts +1 -1
  5. package/api/errors/ConflictError.js +1 -1
  6. package/api/errors/ForbiddenError.d.ts +1 -1
  7. package/api/errors/ForbiddenError.js +1 -1
  8. package/api/errors/InternalServerError.d.ts +1 -1
  9. package/api/errors/InternalServerError.js +1 -1
  10. package/api/errors/NotFoundError.d.ts +1 -1
  11. package/api/errors/NotFoundError.js +1 -1
  12. package/api/errors/TooManyRequestsError.d.ts +1 -1
  13. package/api/errors/TooManyRequestsError.js +1 -1
  14. package/api/errors/UnauthorizedError.d.ts +1 -1
  15. package/api/errors/UnauthorizedError.js +1 -1
  16. package/api/errors/index.d.ts +2 -2
  17. package/api/errors/index.js +2 -2
  18. package/api/resources/accessGroups/client/Client.d.ts +11 -2
  19. package/api/resources/accessGroups/client/Client.js +12 -6
  20. package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -1
  21. package/api/resources/accessGroups/client/requests/index.d.ts +1 -1
  22. package/api/resources/assets/client/Client.d.ts +50 -13
  23. package/api/resources/assets/client/Client.js +72 -31
  24. package/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +1 -2
  25. package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -2
  26. package/api/resources/assets/client/requests/index.d.ts +3 -3
  27. package/api/resources/collections/client/Client.d.ts +32 -6
  28. package/api/resources/collections/client/Client.js +45 -18
  29. package/api/resources/collections/client/requests/index.d.ts +1 -1
  30. package/api/resources/collections/resources/fields/client/Client.d.ts +18 -3
  31. package/api/resources/collections/resources/fields/client/Client.js +22 -9
  32. package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
  33. package/api/resources/collections/resources/fields/client/requests/index.d.ts +2 -2
  34. package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +2 -2
  35. package/api/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  36. package/api/resources/collections/resources/items/client/Client.d.ts +108 -20
  37. package/api/resources/collections/resources/items/client/Client.js +312 -58
  38. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +2 -8
  39. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +13 -0
  40. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +5 -0
  41. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +2 -2
  42. package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +13 -0
  43. package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +5 -0
  44. package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -1
  45. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +38 -0
  46. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +5 -0
  47. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
  48. package/api/resources/collections/resources/items/client/requests/index.d.ts +8 -5
  49. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
  50. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
  51. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
  52. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
  53. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
  54. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
  55. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
  56. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
  57. package/api/resources/collections/resources/items/types/index.d.ts +4 -0
  58. package/api/resources/collections/resources/items/types/index.js +4 -0
  59. package/api/resources/ecommerce/client/Client.d.ts +10 -2
  60. package/api/resources/ecommerce/client/Client.js +11 -6
  61. package/api/resources/forms/client/Client.d.ts +32 -6
  62. package/api/resources/forms/client/Client.js +45 -18
  63. package/api/resources/forms/client/requests/index.d.ts +2 -2
  64. package/api/resources/inventory/client/Client.d.ts +19 -6
  65. package/api/resources/inventory/client/Client.js +23 -12
  66. package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
  67. package/api/resources/inventory/client/requests/index.d.ts +1 -1
  68. package/api/resources/orders/client/Client.d.ts +44 -12
  69. package/api/resources/orders/client/Client.js +60 -26
  70. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
  71. package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
  72. package/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
  73. package/api/resources/orders/client/requests/index.d.ts +4 -4
  74. package/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
  75. package/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
  76. package/api/resources/orders/types/index.d.ts +1 -0
  77. package/api/resources/orders/types/index.js +1 -0
  78. package/api/resources/pages/client/Client.d.ts +37 -12
  79. package/api/resources/pages/client/Client.js +57 -25
  80. package/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
  81. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
  82. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
  83. package/api/resources/pages/client/requests/index.d.ts +5 -5
  84. package/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
  85. package/api/resources/pages/resources/scripts/client/Client.js +31 -19
  86. package/api/resources/products/client/Client.d.ts +47 -89
  87. package/api/resources/products/client/Client.js +63 -103
  88. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
  89. package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
  90. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
  91. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
  92. package/api/resources/products/client/requests/index.d.ts +5 -5
  93. package/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
  94. package/api/resources/scripts/client/Client.d.ts +25 -7
  95. package/api/resources/scripts/client/Client.js +32 -15
  96. package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
  97. package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
  98. package/api/resources/scripts/client/requests/index.d.ts +2 -2
  99. package/api/resources/sites/client/Client.d.ts +25 -8
  100. package/api/resources/sites/client/Client.js +34 -17
  101. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
  102. package/api/resources/sites/client/requests/index.d.ts +1 -1
  103. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
  104. package/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
  105. package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
  106. package/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
  107. package/api/resources/sites/resources/scripts/client/Client.js +41 -23
  108. package/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
  109. package/api/resources/token/client/Client.d.ts +14 -4
  110. package/api/resources/token/client/Client.js +16 -8
  111. package/api/resources/users/client/Client.d.ts +38 -8
  112. package/api/resources/users/client/Client.js +51 -20
  113. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
  114. package/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  115. package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
  116. package/api/resources/users/client/requests/index.d.ts +3 -3
  117. package/api/resources/webhooks/client/Client.d.ts +27 -6
  118. package/api/resources/webhooks/client/Client.js +37 -16
  119. package/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
  120. package/api/resources/webhooks/client/requests/index.d.ts +1 -1
  121. package/api/types/AccessGroupList.d.ts +1 -1
  122. package/api/types/Asset.d.ts +1 -1
  123. package/api/types/AssetFolderList.d.ts +1 -1
  124. package/api/types/AssetUpload.d.ts +1 -1
  125. package/api/types/Assets.d.ts +1 -1
  126. package/api/types/Authorization.d.ts +1 -1
  127. package/api/types/AuthorizationAuthorization.d.ts +1 -1
  128. package/api/types/BadRequestErrorBody.d.ts +5 -0
  129. package/api/types/BadRequestErrorBody.js +5 -0
  130. package/api/types/Collection.d.ts +2 -1
  131. package/api/types/CollectionItem.d.ts +1 -1
  132. package/api/types/CollectionItemList.d.ts +1 -1
  133. package/api/types/CollectionList.d.ts +1 -1
  134. package/api/types/ConflictErrorBody.d.ts +5 -0
  135. package/api/types/ConflictErrorBody.js +5 -0
  136. package/api/types/CustomCodeBlock.d.ts +1 -1
  137. package/api/types/CustomCodeHostedResponse.d.ts +1 -1
  138. package/api/types/CustomCodeInlineResponse.d.ts +1 -1
  139. package/api/types/Dom.d.ts +1 -1
  140. package/api/types/Domains.d.ts +1 -1
  141. package/api/types/DuplicateUserEmail.d.ts +2 -11
  142. package/api/types/Error_.d.ts +1 -1
  143. package/api/types/Field.d.ts +1 -1
  144. package/api/types/FieldType.d.ts +2 -2
  145. package/api/types/FieldType.js +1 -1
  146. package/api/types/ForbiddenErrorBody.d.ts +10 -0
  147. package/api/types/ForbiddenErrorBody.js +5 -0
  148. package/api/types/Form.d.ts +1 -1
  149. package/api/types/FormField.d.ts +1 -1
  150. package/api/types/FormFieldValue.d.ts +1 -1
  151. package/api/types/FormList.d.ts +1 -1
  152. package/api/types/FormSubmissionList.d.ts +1 -1
  153. package/api/types/InventoryItem.d.ts +1 -1
  154. package/api/types/ListCustomCodeBlocks.d.ts +1 -1
  155. package/api/types/Locales.d.ts +1 -1
  156. package/api/types/MissingScopes.d.ts +2 -11
  157. package/api/types/Node.d.ts +1 -1
  158. package/api/types/NotEnterprisePlanSite.d.ts +2 -11
  159. package/api/types/OauthScope.d.ts +9 -1
  160. package/api/types/OauthScope.js +2 -0
  161. package/api/types/Order.d.ts +1 -1
  162. package/api/types/OrderAddress.d.ts +1 -1
  163. package/api/types/OrderList.d.ts +1 -1
  164. package/api/types/OrderPurchasedItem.d.ts +1 -1
  165. package/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
  166. package/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
  167. package/api/types/OrderTotals.d.ts +1 -1
  168. package/api/types/OrderTotalsExtrasItem.d.ts +1 -1
  169. package/api/types/Page.d.ts +1 -1
  170. package/api/types/PageDetails.d.ts +41 -0
  171. package/api/types/PageDetails.js +5 -0
  172. package/api/types/PageDetailsOpenGraph.d.ts +16 -0
  173. package/api/types/PageDetailsOpenGraph.js +5 -0
  174. package/api/types/PageDetailsSeo.d.ts +12 -0
  175. package/api/types/PageDetailsSeo.js +5 -0
  176. package/api/types/PageList.d.ts +1 -1
  177. package/api/types/Product.d.ts +1 -1
  178. package/api/types/ProductAndSkUs.d.ts +1 -1
  179. package/api/types/ProductAndSkUsList.d.ts +1 -1
  180. package/api/types/ProductFieldData.d.ts +1 -1
  181. package/api/types/RegisteredScriptList.d.ts +1 -1
  182. package/api/types/ScriptApply.d.ts +1 -1
  183. package/api/types/ScriptApplyList.d.ts +1 -1
  184. package/api/types/Scripts.d.ts +1 -1
  185. package/api/types/Site.d.ts +1 -1
  186. package/api/types/SiteActivityLogItem.d.ts +1 -1
  187. package/api/types/SiteActivityLogResponse.d.ts +1 -1
  188. package/api/types/Sites.d.ts +1 -1
  189. package/api/types/Sku.d.ts +1 -1
  190. package/api/types/SkuFieldData.d.ts +1 -1
  191. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
  192. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
  193. package/api/types/SkuPropertyList.d.ts +1 -1
  194. package/api/types/StripeCard.d.ts +1 -1
  195. package/api/types/User.d.ts +1 -1
  196. package/api/types/UserAccessGroupsItem.d.ts +1 -1
  197. package/api/types/UserData.d.ts +1 -1
  198. package/api/types/UserLimitReached.d.ts +2 -11
  199. package/api/types/UserList.d.ts +1 -1
  200. package/api/types/UsersNotEnabled.d.ts +2 -11
  201. package/api/types/Webhook.d.ts +1 -1
  202. package/api/types/WebhookList.d.ts +1 -1
  203. package/api/types/index.d.ts +6 -0
  204. package/api/types/index.js +6 -0
  205. package/core/fetcher/Fetcher.d.ts +2 -1
  206. package/core/fetcher/Fetcher.js +126 -19
  207. package/core/runtime/runtime.d.ts +1 -1
  208. package/core/runtime/runtime.js +11 -1
  209. package/core/schemas/builders/object/object.js +11 -15
  210. package/dist/Client.d.ts +4 -0
  211. package/dist/api/errors/BadRequestError.d.ts +1 -1
  212. package/dist/api/errors/BadRequestError.js +1 -1
  213. package/dist/api/errors/ConflictError.d.ts +1 -1
  214. package/dist/api/errors/ConflictError.js +1 -1
  215. package/dist/api/errors/ForbiddenError.d.ts +1 -1
  216. package/dist/api/errors/ForbiddenError.js +1 -1
  217. package/dist/api/errors/InternalServerError.d.ts +1 -1
  218. package/dist/api/errors/InternalServerError.js +1 -1
  219. package/dist/api/errors/NotFoundError.d.ts +1 -1
  220. package/dist/api/errors/NotFoundError.js +1 -1
  221. package/dist/api/errors/TooManyRequestsError.d.ts +1 -1
  222. package/dist/api/errors/TooManyRequestsError.js +1 -1
  223. package/dist/api/errors/UnauthorizedError.d.ts +1 -1
  224. package/dist/api/errors/UnauthorizedError.js +1 -1
  225. package/dist/api/errors/index.d.ts +2 -2
  226. package/dist/api/errors/index.js +2 -2
  227. package/dist/api/resources/accessGroups/client/Client.d.ts +11 -2
  228. package/dist/api/resources/accessGroups/client/Client.js +12 -6
  229. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -1
  230. package/dist/api/resources/accessGroups/client/requests/index.d.ts +1 -1
  231. package/dist/api/resources/assets/client/Client.d.ts +50 -13
  232. package/dist/api/resources/assets/client/Client.js +72 -31
  233. package/dist/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +1 -2
  234. package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -2
  235. package/dist/api/resources/assets/client/requests/index.d.ts +3 -3
  236. package/dist/api/resources/collections/client/Client.d.ts +32 -6
  237. package/dist/api/resources/collections/client/Client.js +45 -18
  238. package/dist/api/resources/collections/client/requests/index.d.ts +1 -1
  239. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +18 -3
  240. package/dist/api/resources/collections/resources/fields/client/Client.js +22 -9
  241. package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
  242. package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +2 -2
  243. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +2 -2
  244. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  245. package/dist/api/resources/collections/resources/items/client/Client.d.ts +108 -20
  246. package/dist/api/resources/collections/resources/items/client/Client.js +312 -58
  247. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +2 -8
  248. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +13 -0
  249. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +5 -0
  250. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +2 -2
  251. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +13 -0
  252. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +5 -0
  253. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -1
  254. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +38 -0
  255. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +5 -0
  256. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
  257. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +8 -5
  258. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
  259. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
  260. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
  261. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
  262. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
  263. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
  264. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
  265. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
  266. package/dist/api/resources/collections/resources/items/types/index.d.ts +4 -0
  267. package/dist/api/resources/collections/resources/items/types/index.js +4 -0
  268. package/dist/api/resources/ecommerce/client/Client.d.ts +10 -2
  269. package/dist/api/resources/ecommerce/client/Client.js +11 -6
  270. package/dist/api/resources/forms/client/Client.d.ts +32 -6
  271. package/dist/api/resources/forms/client/Client.js +45 -18
  272. package/dist/api/resources/forms/client/requests/index.d.ts +2 -2
  273. package/dist/api/resources/inventory/client/Client.d.ts +19 -6
  274. package/dist/api/resources/inventory/client/Client.js +23 -12
  275. package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
  276. package/dist/api/resources/inventory/client/requests/index.d.ts +1 -1
  277. package/dist/api/resources/orders/client/Client.d.ts +44 -12
  278. package/dist/api/resources/orders/client/Client.js +60 -26
  279. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
  280. package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
  281. package/dist/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
  282. package/dist/api/resources/orders/client/requests/index.d.ts +4 -4
  283. package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
  284. package/dist/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
  285. package/dist/api/resources/orders/types/index.d.ts +1 -0
  286. package/dist/api/resources/orders/types/index.js +1 -0
  287. package/dist/api/resources/pages/client/Client.d.ts +37 -12
  288. package/dist/api/resources/pages/client/Client.js +57 -25
  289. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
  290. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
  291. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
  292. package/dist/api/resources/pages/client/requests/index.d.ts +5 -5
  293. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
  294. package/dist/api/resources/pages/resources/scripts/client/Client.js +31 -19
  295. package/dist/api/resources/products/client/Client.d.ts +47 -89
  296. package/dist/api/resources/products/client/Client.js +63 -103
  297. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
  298. package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
  299. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
  300. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
  301. package/dist/api/resources/products/client/requests/index.d.ts +5 -5
  302. package/dist/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
  303. package/dist/api/resources/scripts/client/Client.d.ts +25 -7
  304. package/dist/api/resources/scripts/client/Client.js +32 -15
  305. package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
  306. package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
  307. package/dist/api/resources/scripts/client/requests/index.d.ts +2 -2
  308. package/dist/api/resources/sites/client/Client.d.ts +25 -8
  309. package/dist/api/resources/sites/client/Client.js +34 -17
  310. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
  311. package/dist/api/resources/sites/client/requests/index.d.ts +1 -1
  312. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
  313. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
  314. package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
  315. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
  316. package/dist/api/resources/sites/resources/scripts/client/Client.js +41 -23
  317. package/dist/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
  318. package/dist/api/resources/token/client/Client.d.ts +14 -4
  319. package/dist/api/resources/token/client/Client.js +16 -8
  320. package/dist/api/resources/users/client/Client.d.ts +38 -8
  321. package/dist/api/resources/users/client/Client.js +51 -20
  322. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
  323. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  324. package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
  325. package/dist/api/resources/users/client/requests/index.d.ts +3 -3
  326. package/dist/api/resources/webhooks/client/Client.d.ts +27 -6
  327. package/dist/api/resources/webhooks/client/Client.js +37 -16
  328. package/dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
  329. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -1
  330. package/dist/api/types/AccessGroupList.d.ts +1 -1
  331. package/dist/api/types/Asset.d.ts +1 -1
  332. package/dist/api/types/AssetFolderList.d.ts +1 -1
  333. package/dist/api/types/AssetUpload.d.ts +1 -1
  334. package/dist/api/types/Assets.d.ts +1 -1
  335. package/dist/api/types/Authorization.d.ts +1 -1
  336. package/dist/api/types/AuthorizationAuthorization.d.ts +1 -1
  337. package/dist/api/types/BadRequestErrorBody.d.ts +5 -0
  338. package/dist/api/types/BadRequestErrorBody.js +5 -0
  339. package/dist/api/types/Collection.d.ts +2 -1
  340. package/dist/api/types/CollectionItem.d.ts +1 -1
  341. package/dist/api/types/CollectionItemList.d.ts +1 -1
  342. package/dist/api/types/CollectionList.d.ts +1 -1
  343. package/dist/api/types/ConflictErrorBody.d.ts +5 -0
  344. package/dist/api/types/ConflictErrorBody.js +5 -0
  345. package/dist/api/types/CustomCodeBlock.d.ts +1 -1
  346. package/dist/api/types/CustomCodeHostedResponse.d.ts +1 -1
  347. package/dist/api/types/CustomCodeInlineResponse.d.ts +1 -1
  348. package/dist/api/types/Dom.d.ts +1 -1
  349. package/dist/api/types/Domains.d.ts +1 -1
  350. package/dist/api/types/DuplicateUserEmail.d.ts +2 -11
  351. package/dist/api/types/Error_.d.ts +1 -1
  352. package/dist/api/types/Field.d.ts +1 -1
  353. package/dist/api/types/FieldType.d.ts +2 -2
  354. package/dist/api/types/FieldType.js +1 -1
  355. package/dist/api/types/ForbiddenErrorBody.d.ts +10 -0
  356. package/dist/api/types/ForbiddenErrorBody.js +5 -0
  357. package/dist/api/types/Form.d.ts +1 -1
  358. package/dist/api/types/FormField.d.ts +1 -1
  359. package/dist/api/types/FormFieldValue.d.ts +1 -1
  360. package/dist/api/types/FormList.d.ts +1 -1
  361. package/dist/api/types/FormSubmissionList.d.ts +1 -1
  362. package/dist/api/types/InventoryItem.d.ts +1 -1
  363. package/dist/api/types/ListCustomCodeBlocks.d.ts +1 -1
  364. package/dist/api/types/Locales.d.ts +1 -1
  365. package/dist/api/types/MissingScopes.d.ts +2 -11
  366. package/dist/api/types/Node.d.ts +1 -1
  367. package/dist/api/types/NotEnterprisePlanSite.d.ts +2 -11
  368. package/dist/api/types/OauthScope.d.ts +9 -1
  369. package/dist/api/types/OauthScope.js +2 -0
  370. package/dist/api/types/Order.d.ts +1 -1
  371. package/dist/api/types/OrderAddress.d.ts +1 -1
  372. package/dist/api/types/OrderList.d.ts +1 -1
  373. package/dist/api/types/OrderPurchasedItem.d.ts +1 -1
  374. package/dist/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
  375. package/dist/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
  376. package/dist/api/types/OrderTotals.d.ts +1 -1
  377. package/dist/api/types/OrderTotalsExtrasItem.d.ts +1 -1
  378. package/dist/api/types/Page.d.ts +1 -1
  379. package/dist/api/types/PageDetails.d.ts +41 -0
  380. package/dist/api/types/PageDetails.js +5 -0
  381. package/dist/api/types/PageDetailsOpenGraph.d.ts +16 -0
  382. package/dist/api/types/PageDetailsOpenGraph.js +5 -0
  383. package/dist/api/types/PageDetailsSeo.d.ts +12 -0
  384. package/dist/api/types/PageDetailsSeo.js +5 -0
  385. package/dist/api/types/PageList.d.ts +1 -1
  386. package/dist/api/types/Product.d.ts +1 -1
  387. package/dist/api/types/ProductAndSkUs.d.ts +1 -1
  388. package/dist/api/types/ProductAndSkUsList.d.ts +1 -1
  389. package/dist/api/types/ProductFieldData.d.ts +1 -1
  390. package/dist/api/types/RegisteredScriptList.d.ts +1 -1
  391. package/dist/api/types/ScriptApply.d.ts +1 -1
  392. package/dist/api/types/ScriptApplyList.d.ts +1 -1
  393. package/dist/api/types/Scripts.d.ts +1 -1
  394. package/dist/api/types/Site.d.ts +1 -1
  395. package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
  396. package/dist/api/types/SiteActivityLogResponse.d.ts +1 -1
  397. package/dist/api/types/Sites.d.ts +1 -1
  398. package/dist/api/types/Sku.d.ts +1 -1
  399. package/dist/api/types/SkuFieldData.d.ts +1 -1
  400. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
  401. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
  402. package/dist/api/types/SkuPropertyList.d.ts +1 -1
  403. package/dist/api/types/StripeCard.d.ts +1 -1
  404. package/dist/api/types/User.d.ts +1 -1
  405. package/dist/api/types/UserAccessGroupsItem.d.ts +1 -1
  406. package/dist/api/types/UserData.d.ts +1 -1
  407. package/dist/api/types/UserLimitReached.d.ts +2 -11
  408. package/dist/api/types/UserList.d.ts +1 -1
  409. package/dist/api/types/UsersNotEnabled.d.ts +2 -11
  410. package/dist/api/types/Webhook.d.ts +1 -1
  411. package/dist/api/types/WebhookList.d.ts +1 -1
  412. package/dist/api/types/index.d.ts +6 -0
  413. package/dist/api/types/index.js +6 -0
  414. package/dist/core/fetcher/Fetcher.d.ts +2 -1
  415. package/dist/core/fetcher/Fetcher.js +126 -19
  416. package/dist/core/runtime/runtime.d.ts +1 -1
  417. package/dist/core/runtime/runtime.js +11 -1
  418. package/dist/core/schemas/builders/object/object.js +11 -15
  419. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
  420. package/dist/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
  421. package/dist/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  422. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
  423. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
  424. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
  425. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
  426. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
  427. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
  428. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  429. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
  430. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
  431. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
  432. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
  433. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
  434. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
  435. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
  436. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
  437. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
  438. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
  439. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
  440. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
  441. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
  442. package/dist/serialization/resources/collections/resources/items/types/index.js +4 -0
  443. package/dist/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
  444. package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
  445. package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
  446. package/dist/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
  447. package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
  448. package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
  449. package/dist/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
  450. package/dist/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
  451. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
  452. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
  453. package/dist/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
  454. package/dist/serialization/resources/orders/types/index.d.ts +1 -0
  455. package/dist/serialization/resources/orders/types/index.js +1 -0
  456. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
  457. package/dist/serialization/resources/pages/client/requests/DomWrite.js +2 -10
  458. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
  459. package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
  460. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
  461. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
  462. package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
  463. package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
  464. package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
  465. package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
  466. package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
  467. package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
  468. package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
  469. package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
  470. package/dist/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
  471. package/dist/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  472. package/dist/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
  473. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
  474. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
  475. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
  476. package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
  477. package/dist/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
  478. package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
  479. package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
  480. package/dist/serialization/types/AccessGroup.d.ts +2 -2
  481. package/dist/serialization/types/AccessGroupList.d.ts +4 -3
  482. package/dist/serialization/types/AccessGroupList.js +2 -12
  483. package/dist/serialization/types/Application.d.ts +2 -2
  484. package/dist/serialization/types/Asset.d.ts +4 -3
  485. package/dist/serialization/types/Asset.js +2 -12
  486. package/dist/serialization/types/AssetFolder.d.ts +2 -2
  487. package/dist/serialization/types/AssetFolderList.d.ts +6 -4
  488. package/dist/serialization/types/AssetFolderList.js +4 -13
  489. package/dist/serialization/types/AssetUpload.d.ts +4 -3
  490. package/dist/serialization/types/AssetUpload.js +2 -12
  491. package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
  492. package/dist/serialization/types/AssetVariant.d.ts +2 -2
  493. package/dist/serialization/types/Assets.d.ts +4 -3
  494. package/dist/serialization/types/Assets.js +2 -12
  495. package/dist/serialization/types/Authorization.d.ts +6 -4
  496. package/dist/serialization/types/Authorization.js +4 -13
  497. package/dist/serialization/types/AuthorizationAuthorization.d.ts +4 -3
  498. package/dist/serialization/types/AuthorizationAuthorization.js +2 -12
  499. package/dist/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
  500. package/dist/serialization/types/AuthorizedUser.d.ts +2 -2
  501. package/dist/serialization/types/BadRequestErrorBody.d.ts +12 -0
  502. package/dist/serialization/types/BadRequestErrorBody.js +33 -0
  503. package/dist/serialization/types/Collection.d.ts +4 -3
  504. package/dist/serialization/types/Collection.js +2 -1
  505. package/dist/serialization/types/CollectionItem.d.ts +4 -3
  506. package/dist/serialization/types/CollectionItem.js +2 -10
  507. package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
  508. package/dist/serialization/types/CollectionItemList.d.ts +6 -4
  509. package/dist/serialization/types/CollectionItemList.js +4 -13
  510. package/dist/serialization/types/CollectionItemListPagination.d.ts +2 -2
  511. package/dist/serialization/types/CollectionList.d.ts +4 -3
  512. package/dist/serialization/types/CollectionList.js +2 -12
  513. package/dist/serialization/types/CollectionListArrayItem.d.ts +2 -2
  514. package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
  515. package/dist/serialization/types/ConflictErrorBody.js +33 -0
  516. package/dist/serialization/types/CustomCodeBlock.d.ts +6 -4
  517. package/dist/serialization/types/CustomCodeBlock.js +4 -11
  518. package/dist/serialization/types/CustomCodeBlockType.d.ts +2 -2
  519. package/dist/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
  520. package/dist/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
  521. package/dist/serialization/types/Dom.d.ts +6 -4
  522. package/dist/serialization/types/Dom.js +4 -11
  523. package/dist/serialization/types/Domain.d.ts +2 -2
  524. package/dist/serialization/types/Domains.d.ts +4 -3
  525. package/dist/serialization/types/Domains.js +2 -12
  526. package/dist/serialization/types/DuplicateUserEmail.d.ts +4 -8
  527. package/dist/serialization/types/DuplicateUserEmail.js +2 -41
  528. package/dist/serialization/types/EcommerceSettings.d.ts +2 -2
  529. package/dist/serialization/types/ErrorDetailsItem.d.ts +2 -2
  530. package/dist/serialization/types/Error_.d.ts +4 -3
  531. package/dist/serialization/types/Error_.js +2 -12
  532. package/dist/serialization/types/Field.d.ts +4 -3
  533. package/dist/serialization/types/Field.js +2 -10
  534. package/dist/serialization/types/FieldType.d.ts +3 -3
  535. package/dist/serialization/types/FieldType.js +1 -1
  536. package/dist/serialization/types/ForbiddenErrorBody.d.ts +16 -0
  537. package/dist/serialization/types/ForbiddenErrorBody.js +37 -0
  538. package/dist/serialization/types/Form.d.ts +6 -4
  539. package/dist/serialization/types/Form.js +4 -11
  540. package/dist/serialization/types/FormField.d.ts +4 -3
  541. package/dist/serialization/types/FormField.js +2 -10
  542. package/dist/serialization/types/FormFieldValue.d.ts +4 -3
  543. package/dist/serialization/types/FormFieldValue.js +2 -10
  544. package/dist/serialization/types/FormFieldValueType.d.ts +2 -2
  545. package/dist/serialization/types/FormList.d.ts +6 -4
  546. package/dist/serialization/types/FormList.js +4 -11
  547. package/dist/serialization/types/FormResponseSettings.d.ts +2 -2
  548. package/dist/serialization/types/FormSubmission.d.ts +2 -2
  549. package/dist/serialization/types/FormSubmissionList.d.ts +6 -4
  550. package/dist/serialization/types/FormSubmissionList.js +4 -13
  551. package/dist/serialization/types/ImageNode.d.ts +2 -2
  552. package/dist/serialization/types/InvalidDomain.d.ts +2 -2
  553. package/dist/serialization/types/InventoryItem.d.ts +4 -3
  554. package/dist/serialization/types/InventoryItem.js +2 -10
  555. package/dist/serialization/types/InventoryItemInventoryType.d.ts +2 -2
  556. package/dist/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
  557. package/dist/serialization/types/ListCustomCodeBlocks.js +4 -13
  558. package/dist/serialization/types/Locale.d.ts +2 -2
  559. package/dist/serialization/types/Locales.d.ts +5 -4
  560. package/dist/serialization/types/Locales.js +3 -13
  561. package/dist/serialization/types/MissingScopes.d.ts +4 -9
  562. package/dist/serialization/types/MissingScopes.js +2 -42
  563. package/dist/serialization/types/NoDomains.d.ts +2 -2
  564. package/dist/serialization/types/Node.d.ts +8 -5
  565. package/dist/serialization/types/Node.js +6 -12
  566. package/dist/serialization/types/NodeType.d.ts +2 -2
  567. package/dist/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
  568. package/dist/serialization/types/NotEnterprisePlanSite.js +2 -42
  569. package/dist/serialization/types/OauthScope.d.ts +3 -3
  570. package/dist/serialization/types/OauthScope.js +2 -0
  571. package/dist/serialization/types/Order.d.ts +30 -18
  572. package/dist/serialization/types/Order.js +28 -31
  573. package/dist/serialization/types/OrderAddress.d.ts +6 -4
  574. package/dist/serialization/types/OrderAddress.js +4 -11
  575. package/dist/serialization/types/OrderAddressJapanType.d.ts +2 -2
  576. package/dist/serialization/types/OrderAddressType.d.ts +2 -2
  577. package/dist/serialization/types/OrderCustomerInfo.d.ts +2 -2
  578. package/dist/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
  579. package/dist/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
  580. package/dist/serialization/types/OrderList.d.ts +6 -4
  581. package/dist/serialization/types/OrderList.js +4 -13
  582. package/dist/serialization/types/OrderMetadata.d.ts +2 -2
  583. package/dist/serialization/types/OrderPrice.d.ts +2 -2
  584. package/dist/serialization/types/OrderPurchasedItem.d.ts +7 -5
  585. package/dist/serialization/types/OrderPurchasedItem.js +5 -14
  586. package/dist/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
  587. package/dist/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
  588. package/dist/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
  589. package/dist/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
  590. package/dist/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
  591. package/dist/serialization/types/OrderStatus.d.ts +2 -2
  592. package/dist/serialization/types/OrderTotals.d.ts +7 -5
  593. package/dist/serialization/types/OrderTotals.js +5 -14
  594. package/dist/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
  595. package/dist/serialization/types/OrderTotalsExtrasItem.js +4 -11
  596. package/dist/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
  597. package/dist/serialization/types/Page.d.ts +6 -4
  598. package/dist/serialization/types/Page.js +4 -11
  599. package/dist/serialization/types/PageDetails.d.ts +29 -0
  600. package/dist/serialization/types/PageDetails.js +50 -0
  601. package/dist/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
  602. package/dist/serialization/types/PageDetailsOpenGraph.js +36 -0
  603. package/dist/serialization/types/PageDetailsSeo.d.ts +13 -0
  604. package/dist/serialization/types/PageDetailsSeo.js +34 -0
  605. package/dist/serialization/types/PageList.d.ts +6 -4
  606. package/dist/serialization/types/PageList.js +4 -11
  607. package/dist/serialization/types/PageOpenGraph.d.ts +2 -2
  608. package/dist/serialization/types/PageSeo.d.ts +2 -2
  609. package/dist/serialization/types/Pagination.d.ts +2 -2
  610. package/dist/serialization/types/PaypalDetails.d.ts +2 -2
  611. package/dist/serialization/types/Product.d.ts +4 -3
  612. package/dist/serialization/types/Product.js +2 -10
  613. package/dist/serialization/types/ProductAndSkUs.d.ts +6 -4
  614. package/dist/serialization/types/ProductAndSkUs.js +4 -11
  615. package/dist/serialization/types/ProductAndSkUsList.d.ts +6 -4
  616. package/dist/serialization/types/ProductAndSkUsList.js +4 -13
  617. package/dist/serialization/types/ProductFieldData.d.ts +8 -5
  618. package/dist/serialization/types/ProductFieldData.js +6 -14
  619. package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
  620. package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
  621. package/dist/serialization/types/PublishStatus.d.ts +2 -2
  622. package/dist/serialization/types/RegisteredScriptList.d.ts +4 -3
  623. package/dist/serialization/types/RegisteredScriptList.js +2 -12
  624. package/dist/serialization/types/ScriptApply.d.ts +4 -3
  625. package/dist/serialization/types/ScriptApply.js +2 -10
  626. package/dist/serialization/types/ScriptApplyList.d.ts +4 -3
  627. package/dist/serialization/types/ScriptApplyList.js +2 -12
  628. package/dist/serialization/types/ScriptApplyLocation.d.ts +2 -2
  629. package/dist/serialization/types/Scripts.d.ts +4 -3
  630. package/dist/serialization/types/Scripts.js +2 -10
  631. package/dist/serialization/types/Site.d.ts +6 -4
  632. package/dist/serialization/types/Site.js +4 -13
  633. package/dist/serialization/types/SiteActivityLogItem.d.ts +6 -4
  634. package/dist/serialization/types/SiteActivityLogItem.js +4 -13
  635. package/dist/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
  636. package/dist/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
  637. package/dist/serialization/types/SiteActivityLogResponse.d.ts +6 -4
  638. package/dist/serialization/types/SiteActivityLogResponse.js +4 -13
  639. package/dist/serialization/types/Sites.d.ts +4 -3
  640. package/dist/serialization/types/Sites.js +2 -10
  641. package/dist/serialization/types/Sku.d.ts +4 -3
  642. package/dist/serialization/types/Sku.js +2 -10
  643. package/dist/serialization/types/SkuFieldData.d.ts +12 -7
  644. package/dist/serialization/types/SkuFieldData.js +10 -14
  645. package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
  646. package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
  647. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
  648. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
  649. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
  650. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
  651. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
  652. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
  653. package/dist/serialization/types/SkuFieldDataPrice.d.ts +2 -2
  654. package/dist/serialization/types/SkuPropertyList.d.ts +4 -3
  655. package/dist/serialization/types/SkuPropertyList.js +2 -10
  656. package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
  657. package/dist/serialization/types/SkuValueList.d.ts +2 -2
  658. package/dist/serialization/types/StripeCard.d.ts +6 -4
  659. package/dist/serialization/types/StripeCard.js +4 -11
  660. package/dist/serialization/types/StripeCardBrand.d.ts +2 -2
  661. package/dist/serialization/types/StripeCardExpires.d.ts +2 -2
  662. package/dist/serialization/types/StripeDetails.d.ts +2 -2
  663. package/dist/serialization/types/TextNode.d.ts +2 -2
  664. package/dist/serialization/types/TriggerType.d.ts +2 -2
  665. package/dist/serialization/types/User.d.ts +8 -5
  666. package/dist/serialization/types/User.js +6 -14
  667. package/dist/serialization/types/UserAccessGroupsItem.d.ts +4 -3
  668. package/dist/serialization/types/UserAccessGroupsItem.js +2 -10
  669. package/dist/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
  670. package/dist/serialization/types/UserData.d.ts +4 -3
  671. package/dist/serialization/types/UserData.js +2 -10
  672. package/dist/serialization/types/UserDataData.d.ts +2 -2
  673. package/dist/serialization/types/UserLimitReached.d.ts +4 -8
  674. package/dist/serialization/types/UserLimitReached.js +2 -41
  675. package/dist/serialization/types/UserList.d.ts +4 -3
  676. package/dist/serialization/types/UserList.js +2 -10
  677. package/dist/serialization/types/UserStatus.d.ts +2 -2
  678. package/dist/serialization/types/UsersNotEnabled.d.ts +4 -8
  679. package/dist/serialization/types/UsersNotEnabled.js +2 -41
  680. package/dist/serialization/types/Webhook.d.ts +4 -3
  681. package/dist/serialization/types/Webhook.js +2 -10
  682. package/dist/serialization/types/WebhookList.d.ts +6 -4
  683. package/dist/serialization/types/WebhookList.js +4 -13
  684. package/dist/serialization/types/index.d.ts +6 -0
  685. package/dist/serialization/types/index.js +6 -0
  686. package/jest.config.js +2 -2
  687. package/package.json +13 -6
  688. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
  689. package/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
  690. package/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  691. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
  692. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
  693. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
  694. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
  695. package/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
  696. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
  697. package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  698. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
  699. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
  700. package/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
  701. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
  702. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
  703. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
  704. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
  705. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
  706. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
  707. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
  708. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
  709. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
  710. package/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
  711. package/serialization/resources/collections/resources/items/types/index.js +4 -0
  712. package/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
  713. package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
  714. package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
  715. package/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
  716. package/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
  717. package/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
  718. package/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
  719. package/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
  720. package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
  721. package/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
  722. package/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
  723. package/serialization/resources/orders/types/index.d.ts +1 -0
  724. package/serialization/resources/orders/types/index.js +1 -0
  725. package/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
  726. package/serialization/resources/pages/client/requests/DomWrite.js +2 -10
  727. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
  728. package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
  729. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
  730. package/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
  731. package/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
  732. package/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
  733. package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
  734. package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
  735. package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
  736. package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
  737. package/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
  738. package/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
  739. package/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
  740. package/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  741. package/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
  742. package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
  743. package/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
  744. package/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
  745. package/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
  746. package/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
  747. package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
  748. package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
  749. package/serialization/types/AccessGroup.d.ts +2 -2
  750. package/serialization/types/AccessGroupList.d.ts +4 -3
  751. package/serialization/types/AccessGroupList.js +2 -12
  752. package/serialization/types/Application.d.ts +2 -2
  753. package/serialization/types/Asset.d.ts +4 -3
  754. package/serialization/types/Asset.js +2 -12
  755. package/serialization/types/AssetFolder.d.ts +2 -2
  756. package/serialization/types/AssetFolderList.d.ts +6 -4
  757. package/serialization/types/AssetFolderList.js +4 -13
  758. package/serialization/types/AssetUpload.d.ts +4 -3
  759. package/serialization/types/AssetUpload.js +2 -12
  760. package/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
  761. package/serialization/types/AssetVariant.d.ts +2 -2
  762. package/serialization/types/Assets.d.ts +4 -3
  763. package/serialization/types/Assets.js +2 -12
  764. package/serialization/types/Authorization.d.ts +6 -4
  765. package/serialization/types/Authorization.js +4 -13
  766. package/serialization/types/AuthorizationAuthorization.d.ts +4 -3
  767. package/serialization/types/AuthorizationAuthorization.js +2 -12
  768. package/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
  769. package/serialization/types/AuthorizedUser.d.ts +2 -2
  770. package/serialization/types/BadRequestErrorBody.d.ts +12 -0
  771. package/serialization/types/BadRequestErrorBody.js +33 -0
  772. package/serialization/types/Collection.d.ts +4 -3
  773. package/serialization/types/Collection.js +2 -1
  774. package/serialization/types/CollectionItem.d.ts +4 -3
  775. package/serialization/types/CollectionItem.js +2 -10
  776. package/serialization/types/CollectionItemFieldData.d.ts +2 -2
  777. package/serialization/types/CollectionItemList.d.ts +6 -4
  778. package/serialization/types/CollectionItemList.js +4 -13
  779. package/serialization/types/CollectionItemListPagination.d.ts +2 -2
  780. package/serialization/types/CollectionList.d.ts +4 -3
  781. package/serialization/types/CollectionList.js +2 -12
  782. package/serialization/types/CollectionListArrayItem.d.ts +2 -2
  783. package/serialization/types/ConflictErrorBody.d.ts +12 -0
  784. package/serialization/types/ConflictErrorBody.js +33 -0
  785. package/serialization/types/CustomCodeBlock.d.ts +6 -4
  786. package/serialization/types/CustomCodeBlock.js +4 -11
  787. package/serialization/types/CustomCodeBlockType.d.ts +2 -2
  788. package/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
  789. package/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
  790. package/serialization/types/Dom.d.ts +6 -4
  791. package/serialization/types/Dom.js +4 -11
  792. package/serialization/types/Domain.d.ts +2 -2
  793. package/serialization/types/Domains.d.ts +4 -3
  794. package/serialization/types/Domains.js +2 -12
  795. package/serialization/types/DuplicateUserEmail.d.ts +4 -8
  796. package/serialization/types/DuplicateUserEmail.js +2 -41
  797. package/serialization/types/EcommerceSettings.d.ts +2 -2
  798. package/serialization/types/ErrorDetailsItem.d.ts +2 -2
  799. package/serialization/types/Error_.d.ts +4 -3
  800. package/serialization/types/Error_.js +2 -12
  801. package/serialization/types/Field.d.ts +4 -3
  802. package/serialization/types/Field.js +2 -10
  803. package/serialization/types/FieldType.d.ts +3 -3
  804. package/serialization/types/FieldType.js +1 -1
  805. package/serialization/types/ForbiddenErrorBody.d.ts +16 -0
  806. package/serialization/types/ForbiddenErrorBody.js +37 -0
  807. package/serialization/types/Form.d.ts +6 -4
  808. package/serialization/types/Form.js +4 -11
  809. package/serialization/types/FormField.d.ts +4 -3
  810. package/serialization/types/FormField.js +2 -10
  811. package/serialization/types/FormFieldValue.d.ts +4 -3
  812. package/serialization/types/FormFieldValue.js +2 -10
  813. package/serialization/types/FormFieldValueType.d.ts +2 -2
  814. package/serialization/types/FormList.d.ts +6 -4
  815. package/serialization/types/FormList.js +4 -11
  816. package/serialization/types/FormResponseSettings.d.ts +2 -2
  817. package/serialization/types/FormSubmission.d.ts +2 -2
  818. package/serialization/types/FormSubmissionList.d.ts +6 -4
  819. package/serialization/types/FormSubmissionList.js +4 -13
  820. package/serialization/types/ImageNode.d.ts +2 -2
  821. package/serialization/types/InvalidDomain.d.ts +2 -2
  822. package/serialization/types/InventoryItem.d.ts +4 -3
  823. package/serialization/types/InventoryItem.js +2 -10
  824. package/serialization/types/InventoryItemInventoryType.d.ts +2 -2
  825. package/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
  826. package/serialization/types/ListCustomCodeBlocks.js +4 -13
  827. package/serialization/types/Locale.d.ts +2 -2
  828. package/serialization/types/Locales.d.ts +5 -4
  829. package/serialization/types/Locales.js +3 -13
  830. package/serialization/types/MissingScopes.d.ts +4 -9
  831. package/serialization/types/MissingScopes.js +2 -42
  832. package/serialization/types/NoDomains.d.ts +2 -2
  833. package/serialization/types/Node.d.ts +8 -5
  834. package/serialization/types/Node.js +6 -12
  835. package/serialization/types/NodeType.d.ts +2 -2
  836. package/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
  837. package/serialization/types/NotEnterprisePlanSite.js +2 -42
  838. package/serialization/types/OauthScope.d.ts +3 -3
  839. package/serialization/types/OauthScope.js +2 -0
  840. package/serialization/types/Order.d.ts +30 -18
  841. package/serialization/types/Order.js +28 -31
  842. package/serialization/types/OrderAddress.d.ts +6 -4
  843. package/serialization/types/OrderAddress.js +4 -11
  844. package/serialization/types/OrderAddressJapanType.d.ts +2 -2
  845. package/serialization/types/OrderAddressType.d.ts +2 -2
  846. package/serialization/types/OrderCustomerInfo.d.ts +2 -2
  847. package/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
  848. package/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
  849. package/serialization/types/OrderList.d.ts +6 -4
  850. package/serialization/types/OrderList.js +4 -13
  851. package/serialization/types/OrderMetadata.d.ts +2 -2
  852. package/serialization/types/OrderPrice.d.ts +2 -2
  853. package/serialization/types/OrderPurchasedItem.d.ts +7 -5
  854. package/serialization/types/OrderPurchasedItem.js +5 -14
  855. package/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
  856. package/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
  857. package/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
  858. package/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
  859. package/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
  860. package/serialization/types/OrderStatus.d.ts +2 -2
  861. package/serialization/types/OrderTotals.d.ts +7 -5
  862. package/serialization/types/OrderTotals.js +5 -14
  863. package/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
  864. package/serialization/types/OrderTotalsExtrasItem.js +4 -11
  865. package/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
  866. package/serialization/types/Page.d.ts +6 -4
  867. package/serialization/types/Page.js +4 -11
  868. package/serialization/types/PageDetails.d.ts +29 -0
  869. package/serialization/types/PageDetails.js +50 -0
  870. package/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
  871. package/serialization/types/PageDetailsOpenGraph.js +36 -0
  872. package/serialization/types/PageDetailsSeo.d.ts +13 -0
  873. package/serialization/types/PageDetailsSeo.js +34 -0
  874. package/serialization/types/PageList.d.ts +6 -4
  875. package/serialization/types/PageList.js +4 -11
  876. package/serialization/types/PageOpenGraph.d.ts +2 -2
  877. package/serialization/types/PageSeo.d.ts +2 -2
  878. package/serialization/types/Pagination.d.ts +2 -2
  879. package/serialization/types/PaypalDetails.d.ts +2 -2
  880. package/serialization/types/Product.d.ts +4 -3
  881. package/serialization/types/Product.js +2 -10
  882. package/serialization/types/ProductAndSkUs.d.ts +6 -4
  883. package/serialization/types/ProductAndSkUs.js +4 -11
  884. package/serialization/types/ProductAndSkUsList.d.ts +6 -4
  885. package/serialization/types/ProductAndSkUsList.js +4 -13
  886. package/serialization/types/ProductFieldData.d.ts +8 -5
  887. package/serialization/types/ProductFieldData.js +6 -14
  888. package/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
  889. package/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
  890. package/serialization/types/PublishStatus.d.ts +2 -2
  891. package/serialization/types/RegisteredScriptList.d.ts +4 -3
  892. package/serialization/types/RegisteredScriptList.js +2 -12
  893. package/serialization/types/ScriptApply.d.ts +4 -3
  894. package/serialization/types/ScriptApply.js +2 -10
  895. package/serialization/types/ScriptApplyList.d.ts +4 -3
  896. package/serialization/types/ScriptApplyList.js +2 -12
  897. package/serialization/types/ScriptApplyLocation.d.ts +2 -2
  898. package/serialization/types/Scripts.d.ts +4 -3
  899. package/serialization/types/Scripts.js +2 -10
  900. package/serialization/types/Site.d.ts +6 -4
  901. package/serialization/types/Site.js +4 -13
  902. package/serialization/types/SiteActivityLogItem.d.ts +6 -4
  903. package/serialization/types/SiteActivityLogItem.js +4 -13
  904. package/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
  905. package/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
  906. package/serialization/types/SiteActivityLogResponse.d.ts +6 -4
  907. package/serialization/types/SiteActivityLogResponse.js +4 -13
  908. package/serialization/types/Sites.d.ts +4 -3
  909. package/serialization/types/Sites.js +2 -10
  910. package/serialization/types/Sku.d.ts +4 -3
  911. package/serialization/types/Sku.js +2 -10
  912. package/serialization/types/SkuFieldData.d.ts +12 -7
  913. package/serialization/types/SkuFieldData.js +10 -14
  914. package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
  915. package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
  916. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
  917. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
  918. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
  919. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
  920. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
  921. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
  922. package/serialization/types/SkuFieldDataPrice.d.ts +2 -2
  923. package/serialization/types/SkuPropertyList.d.ts +4 -3
  924. package/serialization/types/SkuPropertyList.js +2 -10
  925. package/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
  926. package/serialization/types/SkuValueList.d.ts +2 -2
  927. package/serialization/types/StripeCard.d.ts +6 -4
  928. package/serialization/types/StripeCard.js +4 -11
  929. package/serialization/types/StripeCardBrand.d.ts +2 -2
  930. package/serialization/types/StripeCardExpires.d.ts +2 -2
  931. package/serialization/types/StripeDetails.d.ts +2 -2
  932. package/serialization/types/TextNode.d.ts +2 -2
  933. package/serialization/types/TriggerType.d.ts +2 -2
  934. package/serialization/types/User.d.ts +8 -5
  935. package/serialization/types/User.js +6 -14
  936. package/serialization/types/UserAccessGroupsItem.d.ts +4 -3
  937. package/serialization/types/UserAccessGroupsItem.js +2 -10
  938. package/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
  939. package/serialization/types/UserData.d.ts +4 -3
  940. package/serialization/types/UserData.js +2 -10
  941. package/serialization/types/UserDataData.d.ts +2 -2
  942. package/serialization/types/UserLimitReached.d.ts +4 -8
  943. package/serialization/types/UserLimitReached.js +2 -41
  944. package/serialization/types/UserList.d.ts +4 -3
  945. package/serialization/types/UserList.js +2 -10
  946. package/serialization/types/UserStatus.d.ts +2 -2
  947. package/serialization/types/UsersNotEnabled.d.ts +4 -8
  948. package/serialization/types/UsersNotEnabled.js +2 -41
  949. package/serialization/types/Webhook.d.ts +4 -3
  950. package/serialization/types/Webhook.js +2 -10
  951. package/serialization/types/WebhookList.d.ts +6 -4
  952. package/serialization/types/WebhookList.js +4 -13
  953. package/serialization/types/index.d.ts +6 -0
  954. package/serialization/types/index.js +6 -0
  955. package/tests/client.test.ts +0 -11
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const NoDomains: core.serialization.Schema<serializers.NoDomains.Raw, Webflow.NoDomains>;
8
8
  export declare namespace NoDomains {
@@ -1,16 +1,19 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { NodeType } from "./NodeType";
8
+ import { TextNode } from "./TextNode";
9
+ import { ImageNode } from "./ImageNode";
7
10
  export declare const Node: core.serialization.ObjectSchema<serializers.Node.Raw, Webflow.Node>;
8
11
  export declare namespace Node {
9
12
  interface Raw {
10
13
  id?: string | null;
11
- type?: serializers.NodeType.Raw | null;
12
- text?: serializers.TextNode.Raw | null;
13
- image?: serializers.ImageNode.Raw | null;
14
+ type?: NodeType.Raw | null;
15
+ text?: TextNode.Raw | null;
16
+ image?: ImageNode.Raw | null;
14
17
  attributes?: Record<string, string> | null;
15
18
  }
16
19
  }
@@ -25,22 +25,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
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
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.Node = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const NodeType_1 = require("./NodeType");
32
+ const TextNode_1 = require("./TextNode");
33
+ const ImageNode_1 = require("./ImageNode");
40
34
  exports.Node = core.serialization.object({
41
35
  id: core.serialization.string().optional(),
42
- type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeType; })).optional(),
43
- text: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TextNode; })).optional(),
44
- image: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ImageNode; })).optional(),
36
+ type: NodeType_1.NodeType.optional(),
37
+ text: TextNode_1.TextNode.optional(),
38
+ image: ImageNode_1.ImageNode.optional(),
45
39
  attributes: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
46
40
  });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const NodeType: core.serialization.Schema<serializers.NodeType.Raw, Webflow.NodeType>;
8
8
  export declare namespace NodeType {
@@ -1,16 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { Error_ } from "./Error_";
7
8
  export declare const NotEnterprisePlanSite: core.serialization.ObjectSchema<serializers.NotEnterprisePlanSite.Raw, Webflow.NotEnterprisePlanSite>;
8
9
  export declare namespace NotEnterprisePlanSite {
9
- interface Raw {
10
- code?: "missing_scopes" | null;
11
- type?: string | null;
12
- message?: string | null;
13
- externalReference?: string | null;
14
- details?: serializers.ErrorDetailsItem.Raw[] | null;
15
- }
10
+ type Raw = Error_.Raw;
16
11
  }
@@ -2,47 +2,7 @@
2
2
  /**
3
3
  * This file was auto-generated by Fern from our API Definition.
4
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
5
  Object.defineProperty(exports, "__esModule", { value: true });
38
6
  exports.NotEnterprisePlanSite = void 0;
39
- const core = __importStar(require("../../core"));
40
- exports.NotEnterprisePlanSite = core.serialization.object({
41
- code: core.serialization.stringLiteral("missing_scopes").optional(),
42
- type: core.serialization.string().optional(),
43
- message: core.serialization.string().optional(),
44
- externalReference: core.serialization.string().optional(),
45
- details: core.serialization
46
- .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ErrorDetailsItem; })))
47
- .optional(),
48
- });
7
+ const Error_1 = require("./Error_");
8
+ exports.NotEnterprisePlanSite = Error_1.Error_;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OauthScope: core.serialization.Schema<serializers.OauthScope.Raw, Webflow.OauthScope>;
8
8
  export declare namespace OauthScope {
9
- type Raw = "authorized_user:read" | "assets:read" | "assets:write" | "cms:read" | "cms:write" | "custom_code:read" | "custom_code:write" | "ecommerce:read" | "ecommerce:write" | "forms:read" | "forms:write" | "pages:read" | "pages:write" | "sites:read" | "sites:write" | "users:read" | "site_activity:read" | "users:write";
9
+ type Raw = "authorized_user:read" | "assets:read" | "assets:write" | "cms:read" | "cms:write" | "custom_code:read" | "custom_code:write" | "ecommerce:read" | "ecommerce:write" | "forms:read" | "forms:write" | "pages:read" | "pages:write" | "sites:read" | "sites:write" | "users:read" | "site_activity:read" | "users:write" | "workspace:read" | "workspace:write";
10
10
  }
@@ -47,4 +47,6 @@ exports.OauthScope = core.serialization.enum_([
47
47
  "users:read",
48
48
  "site_activity:read",
49
49
  "users:write",
50
+ "workspace:read",
51
+ "workspace:write",
50
52
  ]);
@@ -1,14 +1,26 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { OrderStatus } from "./OrderStatus";
8
+ import { OrderDisputeLastStatus } from "./OrderDisputeLastStatus";
9
+ import { OrderPrice } from "./OrderPrice";
10
+ import { OrderAddress } from "./OrderAddress";
11
+ import { OrderCustomerInfo } from "./OrderCustomerInfo";
12
+ import { OrderPurchasedItem } from "./OrderPurchasedItem";
13
+ import { StripeDetails } from "./StripeDetails";
14
+ import { StripeCard } from "./StripeCard";
15
+ import { PaypalDetails } from "./PaypalDetails";
16
+ import { OrderMetadata } from "./OrderMetadata";
17
+ import { OrderTotals } from "./OrderTotals";
18
+ import { OrderDownloadFilesItem } from "./OrderDownloadFilesItem";
7
19
  export declare const Order: core.serialization.ObjectSchema<serializers.Order.Raw, Webflow.Order>;
8
20
  export declare namespace Order {
9
21
  interface Raw {
10
22
  orderId?: string | null;
11
- status?: serializers.OrderStatus.Raw | null;
23
+ status?: OrderStatus.Raw | null;
12
24
  comment?: string | null;
13
25
  orderComment?: string | null;
14
26
  acceptedOn?: string | null;
@@ -16,29 +28,29 @@ export declare namespace Order {
16
28
  refundedOn?: string | null;
17
29
  disputedOn?: string | null;
18
30
  disputeUpdatedOn?: string | null;
19
- disputeLastStatus?: serializers.OrderDisputeLastStatus.Raw | null;
20
- customerPaid?: serializers.OrderPrice.Raw | null;
21
- netAmount?: serializers.OrderPrice.Raw | null;
22
- applicationFee?: serializers.OrderPrice.Raw | null;
23
- allAddresses?: serializers.OrderAddress.Raw[] | null;
24
- shippingAddress?: serializers.OrderAddress.Raw | null;
25
- billingAddress?: serializers.OrderAddress.Raw | null;
31
+ disputeLastStatus?: OrderDisputeLastStatus.Raw | null;
32
+ customerPaid?: OrderPrice.Raw | null;
33
+ netAmount?: OrderPrice.Raw | null;
34
+ applicationFee?: OrderPrice.Raw | null;
35
+ allAddresses?: OrderAddress.Raw[] | null;
36
+ shippingAddress?: OrderAddress.Raw | null;
37
+ billingAddress?: OrderAddress.Raw | null;
26
38
  shippingProvider?: string | null;
27
39
  shippingTracking?: string | null;
28
40
  shippingTrackingURL?: string | null;
29
- customerInfo?: serializers.OrderCustomerInfo.Raw | null;
30
- purchasedItems?: serializers.OrderPurchasedItem.Raw[] | null;
41
+ customerInfo?: OrderCustomerInfo.Raw | null;
42
+ purchasedItems?: OrderPurchasedItem.Raw[] | null;
31
43
  purchasedItemsCount?: number | null;
32
- stripeDetails?: serializers.StripeDetails.Raw | null;
33
- stripeCard?: serializers.StripeCard.Raw | null;
34
- paypalDetails?: serializers.PaypalDetails.Raw | null;
44
+ stripeDetails?: StripeDetails.Raw | null;
45
+ stripeCard?: StripeCard.Raw | null;
46
+ paypalDetails?: PaypalDetails.Raw | null;
35
47
  customData?: Record<string, unknown>[] | null;
36
- metadata?: serializers.OrderMetadata.Raw | null;
48
+ metadata?: OrderMetadata.Raw | null;
37
49
  isCustomerDeleted?: boolean | null;
38
50
  isShippingRequired?: boolean | null;
39
51
  hasDownloads?: boolean | null;
40
52
  paymentProcessor?: string | null;
41
- totals?: serializers.OrderTotals.Raw | null;
42
- downloadFiles?: serializers.OrderDownloadFilesItem.Raw[] | null;
53
+ totals?: OrderTotals.Raw | null;
54
+ downloadFiles?: OrderDownloadFilesItem.Raw[] | null;
43
55
  }
44
56
  }
@@ -25,21 +25,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
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
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.Order = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const OrderStatus_1 = require("./OrderStatus");
32
+ const OrderDisputeLastStatus_1 = require("./OrderDisputeLastStatus");
33
+ const OrderPrice_1 = require("./OrderPrice");
34
+ const OrderAddress_1 = require("./OrderAddress");
35
+ const OrderCustomerInfo_1 = require("./OrderCustomerInfo");
36
+ const OrderPurchasedItem_1 = require("./OrderPurchasedItem");
37
+ const StripeDetails_1 = require("./StripeDetails");
38
+ const StripeCard_1 = require("./StripeCard");
39
+ const PaypalDetails_1 = require("./PaypalDetails");
40
+ const OrderMetadata_1 = require("./OrderMetadata");
41
+ const OrderTotals_1 = require("./OrderTotals");
42
+ const OrderDownloadFilesItem_1 = require("./OrderDownloadFilesItem");
40
43
  exports.Order = core.serialization.object({
41
44
  orderId: core.serialization.string().optional(),
42
- status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderStatus; })).optional(),
45
+ status: OrderStatus_1.OrderStatus.optional(),
43
46
  comment: core.serialization.string().optional(),
44
47
  orderComment: core.serialization.string().optional(),
45
48
  acceptedOn: core.serialization.date().optional(),
@@ -47,36 +50,30 @@ exports.Order = core.serialization.object({
47
50
  refundedOn: core.serialization.date().optional(),
48
51
  disputedOn: core.serialization.date().optional(),
49
52
  disputeUpdatedOn: core.serialization.date().optional(),
50
- disputeLastStatus: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderDisputeLastStatus; })).optional(),
51
- customerPaid: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPrice; })).optional(),
52
- netAmount: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPrice; })).optional(),
53
- applicationFee: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPrice; })).optional(),
54
- allAddresses: core.serialization
55
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderAddress; })))
56
- .optional(),
57
- shippingAddress: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderAddress; })).optional(),
58
- billingAddress: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderAddress; })).optional(),
53
+ disputeLastStatus: OrderDisputeLastStatus_1.OrderDisputeLastStatus.optional(),
54
+ customerPaid: OrderPrice_1.OrderPrice.optional(),
55
+ netAmount: OrderPrice_1.OrderPrice.optional(),
56
+ applicationFee: OrderPrice_1.OrderPrice.optional(),
57
+ allAddresses: core.serialization.list(OrderAddress_1.OrderAddress).optional(),
58
+ shippingAddress: OrderAddress_1.OrderAddress.optional(),
59
+ billingAddress: OrderAddress_1.OrderAddress.optional(),
59
60
  shippingProvider: core.serialization.string().optional(),
60
61
  shippingTracking: core.serialization.string().optional(),
61
62
  shippingTrackingUrl: core.serialization.property("shippingTrackingURL", core.serialization.string().optional()),
62
- customerInfo: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderCustomerInfo; })).optional(),
63
- purchasedItems: core.serialization
64
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPurchasedItem; })))
65
- .optional(),
63
+ customerInfo: OrderCustomerInfo_1.OrderCustomerInfo.optional(),
64
+ purchasedItems: core.serialization.list(OrderPurchasedItem_1.OrderPurchasedItem).optional(),
66
65
  purchasedItemsCount: core.serialization.number().optional(),
67
- stripeDetails: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).StripeDetails; })).optional(),
68
- stripeCard: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).StripeCard; })).optional(),
69
- paypalDetails: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PaypalDetails; })).optional(),
66
+ stripeDetails: StripeDetails_1.StripeDetails.optional(),
67
+ stripeCard: StripeCard_1.StripeCard.optional(),
68
+ paypalDetails: PaypalDetails_1.PaypalDetails.optional(),
70
69
  customData: core.serialization
71
70
  .list(core.serialization.record(core.serialization.string(), core.serialization.unknown()))
72
71
  .optional(),
73
- metadata: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderMetadata; })).optional(),
72
+ metadata: OrderMetadata_1.OrderMetadata.optional(),
74
73
  isCustomerDeleted: core.serialization.boolean().optional(),
75
74
  isShippingRequired: core.serialization.boolean().optional(),
76
75
  hasDownloads: core.serialization.boolean().optional(),
77
76
  paymentProcessor: core.serialization.string().optional(),
78
- totals: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderTotals; })).optional(),
79
- downloadFiles: core.serialization
80
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderDownloadFilesItem; })))
81
- .optional(),
77
+ totals: OrderTotals_1.OrderTotals.optional(),
78
+ downloadFiles: core.serialization.list(OrderDownloadFilesItem_1.OrderDownloadFilesItem).optional(),
82
79
  });
@@ -1,14 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { OrderAddressType } from "./OrderAddressType";
8
+ import { OrderAddressJapanType } from "./OrderAddressJapanType";
7
9
  export declare const OrderAddress: core.serialization.ObjectSchema<serializers.OrderAddress.Raw, Webflow.OrderAddress>;
8
10
  export declare namespace OrderAddress {
9
11
  interface Raw {
10
- type?: serializers.OrderAddressType.Raw | null;
11
- japanType?: serializers.OrderAddressJapanType.Raw | null;
12
+ type?: OrderAddressType.Raw | null;
13
+ japanType?: OrderAddressJapanType.Raw | null;
12
14
  addressee?: string | null;
13
15
  line1?: string | null;
14
16
  line2?: string | null;
@@ -25,21 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
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
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.OrderAddress = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const OrderAddressType_1 = require("./OrderAddressType");
32
+ const OrderAddressJapanType_1 = require("./OrderAddressJapanType");
40
33
  exports.OrderAddress = core.serialization.object({
41
- type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderAddressType; })).optional(),
42
- japanType: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderAddressJapanType; })).optional(),
34
+ type: OrderAddressType_1.OrderAddressType.optional(),
35
+ japanType: OrderAddressJapanType_1.OrderAddressJapanType.optional(),
43
36
  addressee: core.serialization.string().optional(),
44
37
  line1: core.serialization.string().optional(),
45
38
  line2: core.serialization.string().optional(),
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderAddressJapanType: core.serialization.Schema<serializers.OrderAddressJapanType.Raw, Webflow.OrderAddressJapanType>;
8
8
  export declare namespace OrderAddressJapanType {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderAddressType: core.serialization.Schema<serializers.OrderAddressType.Raw, Webflow.OrderAddressType>;
8
8
  export declare namespace OrderAddressType {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderCustomerInfo: core.serialization.ObjectSchema<serializers.OrderCustomerInfo.Raw, Webflow.OrderCustomerInfo>;
8
8
  export declare namespace OrderCustomerInfo {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderDisputeLastStatus: core.serialization.Schema<serializers.OrderDisputeLastStatus.Raw, Webflow.OrderDisputeLastStatus>;
8
8
  export declare namespace OrderDisputeLastStatus {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderDownloadFilesItem: core.serialization.ObjectSchema<serializers.OrderDownloadFilesItem.Raw, Webflow.OrderDownloadFilesItem>;
8
8
  export declare namespace OrderDownloadFilesItem {
@@ -1,13 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { Order } from "./Order";
8
+ import { Pagination } from "./Pagination";
7
9
  export declare const OrderList: core.serialization.ObjectSchema<serializers.OrderList.Raw, Webflow.OrderList>;
8
10
  export declare namespace OrderList {
9
11
  interface Raw {
10
- orders?: serializers.Order.Raw[] | null;
11
- pagination?: serializers.Pagination.Raw | null;
12
+ orders?: Order.Raw[] | null;
13
+ pagination?: Pagination.Raw | null;
12
14
  }
13
15
  }
@@ -25,21 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
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
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.OrderList = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Order_1 = require("./Order");
32
+ const Pagination_1 = require("./Pagination");
40
33
  exports.OrderList = core.serialization.object({
41
- orders: core.serialization
42
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Order; })))
43
- .optional(),
44
- pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
34
+ orders: core.serialization.list(Order_1.Order).optional(),
35
+ pagination: Pagination_1.Pagination.optional(),
45
36
  });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderMetadata: core.serialization.ObjectSchema<serializers.OrderMetadata.Raw, Webflow.OrderMetadata>;
8
8
  export declare namespace OrderMetadata {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderPrice: core.serialization.ObjectSchema<serializers.OrderPrice.Raw, Webflow.OrderPrice>;
8
8
  export declare namespace OrderPrice {
@@ -1,14 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { OrderPrice } from "./OrderPrice";
8
+ import { OrderPurchasedItemVariantImage } from "./OrderPurchasedItemVariantImage";
7
9
  export declare const OrderPurchasedItem: core.serialization.ObjectSchema<serializers.OrderPurchasedItem.Raw, Webflow.OrderPurchasedItem>;
8
10
  export declare namespace OrderPurchasedItem {
9
11
  interface Raw {
10
12
  count?: number | null;
11
- rowTotal?: serializers.OrderPrice.Raw | null;
13
+ rowTotal?: OrderPrice.Raw | null;
12
14
  productId?: string | null;
13
15
  productName?: string | null;
14
16
  productSlug?: string | null;
@@ -16,8 +18,8 @@ export declare namespace OrderPurchasedItem {
16
18
  variantName?: string | null;
17
19
  variantSlug?: string | null;
18
20
  variantSKU?: string | null;
19
- variantImage?: serializers.OrderPurchasedItemVariantImage.Raw | null;
20
- variantPrice?: serializers.OrderPrice.Raw | null;
21
+ variantImage?: OrderPurchasedItemVariantImage.Raw | null;
22
+ variantPrice?: OrderPrice.Raw | null;
21
23
  weight?: number | null;
22
24
  width?: number | null;
23
25
  height?: number | null;
@@ -25,21 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
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
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.OrderPurchasedItem = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const OrderPrice_1 = require("./OrderPrice");
32
+ const OrderPurchasedItemVariantImage_1 = require("./OrderPurchasedItemVariantImage");
40
33
  exports.OrderPurchasedItem = core.serialization.object({
41
34
  count: core.serialization.number().optional(),
42
- rowTotal: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPrice; })).optional(),
35
+ rowTotal: OrderPrice_1.OrderPrice.optional(),
43
36
  productId: core.serialization.string().optional(),
44
37
  productName: core.serialization.string().optional(),
45
38
  productSlug: core.serialization.string().optional(),
@@ -47,10 +40,8 @@ exports.OrderPurchasedItem = core.serialization.object({
47
40
  variantName: core.serialization.string().optional(),
48
41
  variantSlug: core.serialization.string().optional(),
49
42
  variantSku: core.serialization.property("variantSKU", core.serialization.string().optional()),
50
- variantImage: core.serialization
51
- .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPurchasedItemVariantImage; }))
52
- .optional(),
53
- variantPrice: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPrice; })).optional(),
43
+ variantImage: OrderPurchasedItemVariantImage_1.OrderPurchasedItemVariantImage.optional(),
44
+ variantPrice: OrderPrice_1.OrderPrice.optional(),
54
45
  weight: core.serialization.number().optional(),
55
46
  width: core.serialization.number().optional(),
56
47
  height: core.serialization.number().optional(),
@@ -1,13 +1,14 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { OrderPurchasedItemVariantImageFile } from "./OrderPurchasedItemVariantImageFile";
7
8
  export declare const OrderPurchasedItemVariantImage: core.serialization.ObjectSchema<serializers.OrderPurchasedItemVariantImage.Raw, Webflow.OrderPurchasedItemVariantImage>;
8
9
  export declare namespace OrderPurchasedItemVariantImage {
9
10
  interface Raw {
10
11
  url?: string | null;
11
- file?: serializers.OrderPurchasedItemVariantImageFile.Raw | null;
12
+ file?: OrderPurchasedItemVariantImageFile.Raw | null;
12
13
  }
13
14
  }