webflow-api 2.3.2 → 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 (947) 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 +97 -21
  37. package/api/resources/collections/resources/items/client/Client.js +234 -69
  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 +19 -2
  46. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
  47. package/api/resources/collections/resources/items/client/requests/index.d.ts +8 -6
  48. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
  49. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
  50. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
  51. package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
  52. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
  53. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
  54. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
  55. package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
  56. package/api/resources/collections/resources/items/types/index.d.ts +4 -0
  57. package/api/resources/collections/resources/items/types/index.js +4 -0
  58. package/api/resources/ecommerce/client/Client.d.ts +10 -2
  59. package/api/resources/ecommerce/client/Client.js +11 -6
  60. package/api/resources/forms/client/Client.d.ts +32 -6
  61. package/api/resources/forms/client/Client.js +45 -18
  62. package/api/resources/forms/client/requests/index.d.ts +2 -2
  63. package/api/resources/inventory/client/Client.d.ts +19 -6
  64. package/api/resources/inventory/client/Client.js +23 -12
  65. package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
  66. package/api/resources/inventory/client/requests/index.d.ts +1 -1
  67. package/api/resources/orders/client/Client.d.ts +44 -12
  68. package/api/resources/orders/client/Client.js +60 -26
  69. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
  70. package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
  71. package/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
  72. package/api/resources/orders/client/requests/index.d.ts +4 -4
  73. package/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
  74. package/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
  75. package/api/resources/orders/types/index.d.ts +1 -0
  76. package/api/resources/orders/types/index.js +1 -0
  77. package/api/resources/pages/client/Client.d.ts +37 -12
  78. package/api/resources/pages/client/Client.js +57 -25
  79. package/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
  80. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
  81. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
  82. package/api/resources/pages/client/requests/index.d.ts +5 -5
  83. package/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
  84. package/api/resources/pages/resources/scripts/client/Client.js +31 -19
  85. package/api/resources/products/client/Client.d.ts +47 -89
  86. package/api/resources/products/client/Client.js +63 -103
  87. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
  88. package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
  89. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
  90. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
  91. package/api/resources/products/client/requests/index.d.ts +5 -5
  92. package/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
  93. package/api/resources/scripts/client/Client.d.ts +25 -7
  94. package/api/resources/scripts/client/Client.js +32 -15
  95. package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
  96. package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
  97. package/api/resources/scripts/client/requests/index.d.ts +2 -2
  98. package/api/resources/sites/client/Client.d.ts +25 -8
  99. package/api/resources/sites/client/Client.js +34 -17
  100. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
  101. package/api/resources/sites/client/requests/index.d.ts +1 -1
  102. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
  103. package/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
  104. package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
  105. package/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
  106. package/api/resources/sites/resources/scripts/client/Client.js +41 -23
  107. package/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
  108. package/api/resources/token/client/Client.d.ts +14 -4
  109. package/api/resources/token/client/Client.js +16 -8
  110. package/api/resources/users/client/Client.d.ts +38 -8
  111. package/api/resources/users/client/Client.js +51 -20
  112. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
  113. package/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  114. package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
  115. package/api/resources/users/client/requests/index.d.ts +3 -3
  116. package/api/resources/webhooks/client/Client.d.ts +27 -6
  117. package/api/resources/webhooks/client/Client.js +37 -16
  118. package/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
  119. package/api/resources/webhooks/client/requests/index.d.ts +1 -1
  120. package/api/types/AccessGroupList.d.ts +1 -1
  121. package/api/types/Asset.d.ts +1 -1
  122. package/api/types/AssetFolderList.d.ts +1 -1
  123. package/api/types/AssetUpload.d.ts +1 -1
  124. package/api/types/Assets.d.ts +1 -1
  125. package/api/types/Authorization.d.ts +1 -1
  126. package/api/types/AuthorizationAuthorization.d.ts +1 -1
  127. package/api/types/BadRequestErrorBody.d.ts +5 -0
  128. package/api/types/BadRequestErrorBody.js +5 -0
  129. package/api/types/Collection.d.ts +2 -1
  130. package/api/types/CollectionItem.d.ts +1 -1
  131. package/api/types/CollectionItemList.d.ts +1 -1
  132. package/api/types/CollectionList.d.ts +1 -1
  133. package/api/types/ConflictErrorBody.d.ts +5 -0
  134. package/api/types/ConflictErrorBody.js +5 -0
  135. package/api/types/CustomCodeBlock.d.ts +1 -1
  136. package/api/types/CustomCodeHostedResponse.d.ts +1 -1
  137. package/api/types/CustomCodeInlineResponse.d.ts +1 -1
  138. package/api/types/Dom.d.ts +1 -1
  139. package/api/types/Domains.d.ts +1 -1
  140. package/api/types/DuplicateUserEmail.d.ts +2 -11
  141. package/api/types/Error_.d.ts +1 -1
  142. package/api/types/Field.d.ts +1 -1
  143. package/api/types/FieldType.d.ts +2 -2
  144. package/api/types/FieldType.js +1 -1
  145. package/api/types/ForbiddenErrorBody.d.ts +10 -0
  146. package/api/types/ForbiddenErrorBody.js +5 -0
  147. package/api/types/Form.d.ts +1 -1
  148. package/api/types/FormField.d.ts +1 -1
  149. package/api/types/FormFieldValue.d.ts +1 -1
  150. package/api/types/FormList.d.ts +1 -1
  151. package/api/types/FormSubmissionList.d.ts +1 -1
  152. package/api/types/InventoryItem.d.ts +1 -1
  153. package/api/types/ListCustomCodeBlocks.d.ts +1 -1
  154. package/api/types/Locales.d.ts +1 -1
  155. package/api/types/MissingScopes.d.ts +2 -11
  156. package/api/types/Node.d.ts +1 -1
  157. package/api/types/NotEnterprisePlanSite.d.ts +2 -11
  158. package/api/types/Order.d.ts +1 -1
  159. package/api/types/OrderAddress.d.ts +1 -1
  160. package/api/types/OrderList.d.ts +1 -1
  161. package/api/types/OrderPurchasedItem.d.ts +1 -1
  162. package/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
  163. package/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
  164. package/api/types/OrderTotals.d.ts +1 -1
  165. package/api/types/OrderTotalsExtrasItem.d.ts +1 -1
  166. package/api/types/Page.d.ts +1 -1
  167. package/api/types/PageDetails.d.ts +41 -0
  168. package/api/types/PageDetails.js +5 -0
  169. package/api/types/PageDetailsOpenGraph.d.ts +16 -0
  170. package/api/types/PageDetailsOpenGraph.js +5 -0
  171. package/api/types/PageDetailsSeo.d.ts +12 -0
  172. package/api/types/PageDetailsSeo.js +5 -0
  173. package/api/types/PageList.d.ts +1 -1
  174. package/api/types/Product.d.ts +1 -1
  175. package/api/types/ProductAndSkUs.d.ts +1 -1
  176. package/api/types/ProductAndSkUsList.d.ts +1 -1
  177. package/api/types/ProductFieldData.d.ts +1 -1
  178. package/api/types/RegisteredScriptList.d.ts +1 -1
  179. package/api/types/ScriptApply.d.ts +1 -1
  180. package/api/types/ScriptApplyList.d.ts +1 -1
  181. package/api/types/Scripts.d.ts +1 -1
  182. package/api/types/Site.d.ts +1 -1
  183. package/api/types/SiteActivityLogItem.d.ts +1 -1
  184. package/api/types/SiteActivityLogResponse.d.ts +1 -1
  185. package/api/types/Sites.d.ts +1 -1
  186. package/api/types/Sku.d.ts +1 -1
  187. package/api/types/SkuFieldData.d.ts +1 -1
  188. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
  189. package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
  190. package/api/types/SkuPropertyList.d.ts +1 -1
  191. package/api/types/StripeCard.d.ts +1 -1
  192. package/api/types/User.d.ts +1 -1
  193. package/api/types/UserAccessGroupsItem.d.ts +1 -1
  194. package/api/types/UserData.d.ts +1 -1
  195. package/api/types/UserLimitReached.d.ts +2 -11
  196. package/api/types/UserList.d.ts +1 -1
  197. package/api/types/UsersNotEnabled.d.ts +2 -11
  198. package/api/types/Webhook.d.ts +1 -1
  199. package/api/types/WebhookList.d.ts +1 -1
  200. package/api/types/index.d.ts +6 -0
  201. package/api/types/index.js +6 -0
  202. package/core/fetcher/Fetcher.d.ts +2 -1
  203. package/core/fetcher/Fetcher.js +126 -19
  204. package/core/runtime/runtime.d.ts +1 -1
  205. package/core/runtime/runtime.js +11 -1
  206. package/core/schemas/builders/object/object.js +11 -15
  207. package/dist/Client.d.ts +4 -0
  208. package/dist/api/errors/BadRequestError.d.ts +1 -1
  209. package/dist/api/errors/BadRequestError.js +1 -1
  210. package/dist/api/errors/ConflictError.d.ts +1 -1
  211. package/dist/api/errors/ConflictError.js +1 -1
  212. package/dist/api/errors/ForbiddenError.d.ts +1 -1
  213. package/dist/api/errors/ForbiddenError.js +1 -1
  214. package/dist/api/errors/InternalServerError.d.ts +1 -1
  215. package/dist/api/errors/InternalServerError.js +1 -1
  216. package/dist/api/errors/NotFoundError.d.ts +1 -1
  217. package/dist/api/errors/NotFoundError.js +1 -1
  218. package/dist/api/errors/TooManyRequestsError.d.ts +1 -1
  219. package/dist/api/errors/TooManyRequestsError.js +1 -1
  220. package/dist/api/errors/UnauthorizedError.d.ts +1 -1
  221. package/dist/api/errors/UnauthorizedError.js +1 -1
  222. package/dist/api/errors/index.d.ts +2 -2
  223. package/dist/api/errors/index.js +2 -2
  224. package/dist/api/resources/accessGroups/client/Client.d.ts +11 -2
  225. package/dist/api/resources/accessGroups/client/Client.js +12 -6
  226. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -1
  227. package/dist/api/resources/accessGroups/client/requests/index.d.ts +1 -1
  228. package/dist/api/resources/assets/client/Client.d.ts +50 -13
  229. package/dist/api/resources/assets/client/Client.js +72 -31
  230. package/dist/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +1 -2
  231. package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -2
  232. package/dist/api/resources/assets/client/requests/index.d.ts +3 -3
  233. package/dist/api/resources/collections/client/Client.d.ts +32 -6
  234. package/dist/api/resources/collections/client/Client.js +45 -18
  235. package/dist/api/resources/collections/client/requests/index.d.ts +1 -1
  236. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +18 -3
  237. package/dist/api/resources/collections/resources/fields/client/Client.js +22 -9
  238. package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
  239. package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +2 -2
  240. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +2 -2
  241. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  242. package/dist/api/resources/collections/resources/items/client/Client.d.ts +97 -21
  243. package/dist/api/resources/collections/resources/items/client/Client.js +234 -69
  244. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +2 -8
  245. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +13 -0
  246. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +5 -0
  247. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +2 -2
  248. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +13 -0
  249. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +5 -0
  250. package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -1
  251. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +19 -2
  252. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
  253. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +8 -6
  254. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
  255. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
  256. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
  257. package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
  258. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
  259. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
  260. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
  261. package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
  262. package/dist/api/resources/collections/resources/items/types/index.d.ts +4 -0
  263. package/dist/api/resources/collections/resources/items/types/index.js +4 -0
  264. package/dist/api/resources/ecommerce/client/Client.d.ts +10 -2
  265. package/dist/api/resources/ecommerce/client/Client.js +11 -6
  266. package/dist/api/resources/forms/client/Client.d.ts +32 -6
  267. package/dist/api/resources/forms/client/Client.js +45 -18
  268. package/dist/api/resources/forms/client/requests/index.d.ts +2 -2
  269. package/dist/api/resources/inventory/client/Client.d.ts +19 -6
  270. package/dist/api/resources/inventory/client/Client.js +23 -12
  271. package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
  272. package/dist/api/resources/inventory/client/requests/index.d.ts +1 -1
  273. package/dist/api/resources/orders/client/Client.d.ts +44 -12
  274. package/dist/api/resources/orders/client/Client.js +60 -26
  275. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
  276. package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
  277. package/dist/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
  278. package/dist/api/resources/orders/client/requests/index.d.ts +4 -4
  279. package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
  280. package/dist/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
  281. package/dist/api/resources/orders/types/index.d.ts +1 -0
  282. package/dist/api/resources/orders/types/index.js +1 -0
  283. package/dist/api/resources/pages/client/Client.d.ts +37 -12
  284. package/dist/api/resources/pages/client/Client.js +57 -25
  285. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
  286. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
  287. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
  288. package/dist/api/resources/pages/client/requests/index.d.ts +5 -5
  289. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
  290. package/dist/api/resources/pages/resources/scripts/client/Client.js +31 -19
  291. package/dist/api/resources/products/client/Client.d.ts +47 -89
  292. package/dist/api/resources/products/client/Client.js +63 -103
  293. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
  294. package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
  295. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
  296. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
  297. package/dist/api/resources/products/client/requests/index.d.ts +5 -5
  298. package/dist/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
  299. package/dist/api/resources/scripts/client/Client.d.ts +25 -7
  300. package/dist/api/resources/scripts/client/Client.js +32 -15
  301. package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
  302. package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
  303. package/dist/api/resources/scripts/client/requests/index.d.ts +2 -2
  304. package/dist/api/resources/sites/client/Client.d.ts +25 -8
  305. package/dist/api/resources/sites/client/Client.js +34 -17
  306. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
  307. package/dist/api/resources/sites/client/requests/index.d.ts +1 -1
  308. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
  309. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
  310. package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
  311. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
  312. package/dist/api/resources/sites/resources/scripts/client/Client.js +41 -23
  313. package/dist/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
  314. package/dist/api/resources/token/client/Client.d.ts +14 -4
  315. package/dist/api/resources/token/client/Client.js +16 -8
  316. package/dist/api/resources/users/client/Client.d.ts +38 -8
  317. package/dist/api/resources/users/client/Client.js +51 -20
  318. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
  319. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
  320. package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
  321. package/dist/api/resources/users/client/requests/index.d.ts +3 -3
  322. package/dist/api/resources/webhooks/client/Client.d.ts +27 -6
  323. package/dist/api/resources/webhooks/client/Client.js +37 -16
  324. package/dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
  325. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -1
  326. package/dist/api/types/AccessGroupList.d.ts +1 -1
  327. package/dist/api/types/Asset.d.ts +1 -1
  328. package/dist/api/types/AssetFolderList.d.ts +1 -1
  329. package/dist/api/types/AssetUpload.d.ts +1 -1
  330. package/dist/api/types/Assets.d.ts +1 -1
  331. package/dist/api/types/Authorization.d.ts +1 -1
  332. package/dist/api/types/AuthorizationAuthorization.d.ts +1 -1
  333. package/dist/api/types/BadRequestErrorBody.d.ts +5 -0
  334. package/dist/api/types/BadRequestErrorBody.js +5 -0
  335. package/dist/api/types/Collection.d.ts +2 -1
  336. package/dist/api/types/CollectionItem.d.ts +1 -1
  337. package/dist/api/types/CollectionItemList.d.ts +1 -1
  338. package/dist/api/types/CollectionList.d.ts +1 -1
  339. package/dist/api/types/ConflictErrorBody.d.ts +5 -0
  340. package/dist/api/types/ConflictErrorBody.js +5 -0
  341. package/dist/api/types/CustomCodeBlock.d.ts +1 -1
  342. package/dist/api/types/CustomCodeHostedResponse.d.ts +1 -1
  343. package/dist/api/types/CustomCodeInlineResponse.d.ts +1 -1
  344. package/dist/api/types/Dom.d.ts +1 -1
  345. package/dist/api/types/Domains.d.ts +1 -1
  346. package/dist/api/types/DuplicateUserEmail.d.ts +2 -11
  347. package/dist/api/types/Error_.d.ts +1 -1
  348. package/dist/api/types/Field.d.ts +1 -1
  349. package/dist/api/types/FieldType.d.ts +2 -2
  350. package/dist/api/types/FieldType.js +1 -1
  351. package/dist/api/types/ForbiddenErrorBody.d.ts +10 -0
  352. package/dist/api/types/ForbiddenErrorBody.js +5 -0
  353. package/dist/api/types/Form.d.ts +1 -1
  354. package/dist/api/types/FormField.d.ts +1 -1
  355. package/dist/api/types/FormFieldValue.d.ts +1 -1
  356. package/dist/api/types/FormList.d.ts +1 -1
  357. package/dist/api/types/FormSubmissionList.d.ts +1 -1
  358. package/dist/api/types/InventoryItem.d.ts +1 -1
  359. package/dist/api/types/ListCustomCodeBlocks.d.ts +1 -1
  360. package/dist/api/types/Locales.d.ts +1 -1
  361. package/dist/api/types/MissingScopes.d.ts +2 -11
  362. package/dist/api/types/Node.d.ts +1 -1
  363. package/dist/api/types/NotEnterprisePlanSite.d.ts +2 -11
  364. package/dist/api/types/Order.d.ts +1 -1
  365. package/dist/api/types/OrderAddress.d.ts +1 -1
  366. package/dist/api/types/OrderList.d.ts +1 -1
  367. package/dist/api/types/OrderPurchasedItem.d.ts +1 -1
  368. package/dist/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
  369. package/dist/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
  370. package/dist/api/types/OrderTotals.d.ts +1 -1
  371. package/dist/api/types/OrderTotalsExtrasItem.d.ts +1 -1
  372. package/dist/api/types/Page.d.ts +1 -1
  373. package/dist/api/types/PageDetails.d.ts +41 -0
  374. package/dist/api/types/PageDetails.js +5 -0
  375. package/dist/api/types/PageDetailsOpenGraph.d.ts +16 -0
  376. package/dist/api/types/PageDetailsOpenGraph.js +5 -0
  377. package/dist/api/types/PageDetailsSeo.d.ts +12 -0
  378. package/dist/api/types/PageDetailsSeo.js +5 -0
  379. package/dist/api/types/PageList.d.ts +1 -1
  380. package/dist/api/types/Product.d.ts +1 -1
  381. package/dist/api/types/ProductAndSkUs.d.ts +1 -1
  382. package/dist/api/types/ProductAndSkUsList.d.ts +1 -1
  383. package/dist/api/types/ProductFieldData.d.ts +1 -1
  384. package/dist/api/types/RegisteredScriptList.d.ts +1 -1
  385. package/dist/api/types/ScriptApply.d.ts +1 -1
  386. package/dist/api/types/ScriptApplyList.d.ts +1 -1
  387. package/dist/api/types/Scripts.d.ts +1 -1
  388. package/dist/api/types/Site.d.ts +1 -1
  389. package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
  390. package/dist/api/types/SiteActivityLogResponse.d.ts +1 -1
  391. package/dist/api/types/Sites.d.ts +1 -1
  392. package/dist/api/types/Sku.d.ts +1 -1
  393. package/dist/api/types/SkuFieldData.d.ts +1 -1
  394. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
  395. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
  396. package/dist/api/types/SkuPropertyList.d.ts +1 -1
  397. package/dist/api/types/StripeCard.d.ts +1 -1
  398. package/dist/api/types/User.d.ts +1 -1
  399. package/dist/api/types/UserAccessGroupsItem.d.ts +1 -1
  400. package/dist/api/types/UserData.d.ts +1 -1
  401. package/dist/api/types/UserLimitReached.d.ts +2 -11
  402. package/dist/api/types/UserList.d.ts +1 -1
  403. package/dist/api/types/UsersNotEnabled.d.ts +2 -11
  404. package/dist/api/types/Webhook.d.ts +1 -1
  405. package/dist/api/types/WebhookList.d.ts +1 -1
  406. package/dist/api/types/index.d.ts +6 -0
  407. package/dist/api/types/index.js +6 -0
  408. package/dist/core/fetcher/Fetcher.d.ts +2 -1
  409. package/dist/core/fetcher/Fetcher.js +126 -19
  410. package/dist/core/runtime/runtime.d.ts +1 -1
  411. package/dist/core/runtime/runtime.js +11 -1
  412. package/dist/core/schemas/builders/object/object.js +11 -15
  413. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
  414. package/dist/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
  415. package/dist/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  416. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
  417. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
  418. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
  419. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
  420. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
  421. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
  422. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  423. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
  424. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
  425. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
  426. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
  427. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
  428. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
  429. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
  430. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
  431. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
  432. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
  433. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
  434. package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
  435. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
  436. package/dist/serialization/resources/collections/resources/items/types/index.js +4 -0
  437. package/dist/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
  438. package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
  439. package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
  440. package/dist/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
  441. package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
  442. package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
  443. package/dist/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
  444. package/dist/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
  445. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
  446. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
  447. package/dist/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
  448. package/dist/serialization/resources/orders/types/index.d.ts +1 -0
  449. package/dist/serialization/resources/orders/types/index.js +1 -0
  450. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
  451. package/dist/serialization/resources/pages/client/requests/DomWrite.js +2 -10
  452. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
  453. package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
  454. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
  455. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
  456. package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
  457. package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
  458. package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
  459. package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
  460. package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
  461. package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
  462. package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
  463. package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
  464. package/dist/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
  465. package/dist/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  466. package/dist/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
  467. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
  468. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
  469. package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
  470. package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
  471. package/dist/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
  472. package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
  473. package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
  474. package/dist/serialization/types/AccessGroup.d.ts +2 -2
  475. package/dist/serialization/types/AccessGroupList.d.ts +4 -3
  476. package/dist/serialization/types/AccessGroupList.js +2 -12
  477. package/dist/serialization/types/Application.d.ts +2 -2
  478. package/dist/serialization/types/Asset.d.ts +4 -3
  479. package/dist/serialization/types/Asset.js +2 -12
  480. package/dist/serialization/types/AssetFolder.d.ts +2 -2
  481. package/dist/serialization/types/AssetFolderList.d.ts +6 -4
  482. package/dist/serialization/types/AssetFolderList.js +4 -13
  483. package/dist/serialization/types/AssetUpload.d.ts +4 -3
  484. package/dist/serialization/types/AssetUpload.js +2 -12
  485. package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
  486. package/dist/serialization/types/AssetVariant.d.ts +2 -2
  487. package/dist/serialization/types/Assets.d.ts +4 -3
  488. package/dist/serialization/types/Assets.js +2 -12
  489. package/dist/serialization/types/Authorization.d.ts +6 -4
  490. package/dist/serialization/types/Authorization.js +4 -13
  491. package/dist/serialization/types/AuthorizationAuthorization.d.ts +4 -3
  492. package/dist/serialization/types/AuthorizationAuthorization.js +2 -12
  493. package/dist/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
  494. package/dist/serialization/types/AuthorizedUser.d.ts +2 -2
  495. package/dist/serialization/types/BadRequestErrorBody.d.ts +12 -0
  496. package/dist/serialization/types/BadRequestErrorBody.js +33 -0
  497. package/dist/serialization/types/Collection.d.ts +4 -3
  498. package/dist/serialization/types/Collection.js +2 -1
  499. package/dist/serialization/types/CollectionItem.d.ts +4 -3
  500. package/dist/serialization/types/CollectionItem.js +2 -10
  501. package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
  502. package/dist/serialization/types/CollectionItemList.d.ts +6 -4
  503. package/dist/serialization/types/CollectionItemList.js +4 -13
  504. package/dist/serialization/types/CollectionItemListPagination.d.ts +2 -2
  505. package/dist/serialization/types/CollectionList.d.ts +4 -3
  506. package/dist/serialization/types/CollectionList.js +2 -12
  507. package/dist/serialization/types/CollectionListArrayItem.d.ts +2 -2
  508. package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
  509. package/dist/serialization/types/ConflictErrorBody.js +33 -0
  510. package/dist/serialization/types/CustomCodeBlock.d.ts +6 -4
  511. package/dist/serialization/types/CustomCodeBlock.js +4 -11
  512. package/dist/serialization/types/CustomCodeBlockType.d.ts +2 -2
  513. package/dist/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
  514. package/dist/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
  515. package/dist/serialization/types/Dom.d.ts +6 -4
  516. package/dist/serialization/types/Dom.js +4 -11
  517. package/dist/serialization/types/Domain.d.ts +2 -2
  518. package/dist/serialization/types/Domains.d.ts +4 -3
  519. package/dist/serialization/types/Domains.js +2 -12
  520. package/dist/serialization/types/DuplicateUserEmail.d.ts +4 -8
  521. package/dist/serialization/types/DuplicateUserEmail.js +2 -41
  522. package/dist/serialization/types/EcommerceSettings.d.ts +2 -2
  523. package/dist/serialization/types/ErrorDetailsItem.d.ts +2 -2
  524. package/dist/serialization/types/Error_.d.ts +4 -3
  525. package/dist/serialization/types/Error_.js +2 -12
  526. package/dist/serialization/types/Field.d.ts +4 -3
  527. package/dist/serialization/types/Field.js +2 -10
  528. package/dist/serialization/types/FieldType.d.ts +3 -3
  529. package/dist/serialization/types/FieldType.js +1 -1
  530. package/dist/serialization/types/ForbiddenErrorBody.d.ts +16 -0
  531. package/dist/serialization/types/ForbiddenErrorBody.js +37 -0
  532. package/dist/serialization/types/Form.d.ts +6 -4
  533. package/dist/serialization/types/Form.js +4 -11
  534. package/dist/serialization/types/FormField.d.ts +4 -3
  535. package/dist/serialization/types/FormField.js +2 -10
  536. package/dist/serialization/types/FormFieldValue.d.ts +4 -3
  537. package/dist/serialization/types/FormFieldValue.js +2 -10
  538. package/dist/serialization/types/FormFieldValueType.d.ts +2 -2
  539. package/dist/serialization/types/FormList.d.ts +6 -4
  540. package/dist/serialization/types/FormList.js +4 -11
  541. package/dist/serialization/types/FormResponseSettings.d.ts +2 -2
  542. package/dist/serialization/types/FormSubmission.d.ts +2 -2
  543. package/dist/serialization/types/FormSubmissionList.d.ts +6 -4
  544. package/dist/serialization/types/FormSubmissionList.js +4 -13
  545. package/dist/serialization/types/ImageNode.d.ts +2 -2
  546. package/dist/serialization/types/InvalidDomain.d.ts +2 -2
  547. package/dist/serialization/types/InventoryItem.d.ts +4 -3
  548. package/dist/serialization/types/InventoryItem.js +2 -10
  549. package/dist/serialization/types/InventoryItemInventoryType.d.ts +2 -2
  550. package/dist/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
  551. package/dist/serialization/types/ListCustomCodeBlocks.js +4 -13
  552. package/dist/serialization/types/Locale.d.ts +2 -2
  553. package/dist/serialization/types/Locales.d.ts +5 -4
  554. package/dist/serialization/types/Locales.js +3 -13
  555. package/dist/serialization/types/MissingScopes.d.ts +4 -9
  556. package/dist/serialization/types/MissingScopes.js +2 -42
  557. package/dist/serialization/types/NoDomains.d.ts +2 -2
  558. package/dist/serialization/types/Node.d.ts +8 -5
  559. package/dist/serialization/types/Node.js +6 -12
  560. package/dist/serialization/types/NodeType.d.ts +2 -2
  561. package/dist/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
  562. package/dist/serialization/types/NotEnterprisePlanSite.js +2 -42
  563. package/dist/serialization/types/OauthScope.d.ts +2 -2
  564. package/dist/serialization/types/Order.d.ts +30 -18
  565. package/dist/serialization/types/Order.js +28 -31
  566. package/dist/serialization/types/OrderAddress.d.ts +6 -4
  567. package/dist/serialization/types/OrderAddress.js +4 -11
  568. package/dist/serialization/types/OrderAddressJapanType.d.ts +2 -2
  569. package/dist/serialization/types/OrderAddressType.d.ts +2 -2
  570. package/dist/serialization/types/OrderCustomerInfo.d.ts +2 -2
  571. package/dist/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
  572. package/dist/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
  573. package/dist/serialization/types/OrderList.d.ts +6 -4
  574. package/dist/serialization/types/OrderList.js +4 -13
  575. package/dist/serialization/types/OrderMetadata.d.ts +2 -2
  576. package/dist/serialization/types/OrderPrice.d.ts +2 -2
  577. package/dist/serialization/types/OrderPurchasedItem.d.ts +7 -5
  578. package/dist/serialization/types/OrderPurchasedItem.js +5 -14
  579. package/dist/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
  580. package/dist/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
  581. package/dist/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
  582. package/dist/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
  583. package/dist/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
  584. package/dist/serialization/types/OrderStatus.d.ts +2 -2
  585. package/dist/serialization/types/OrderTotals.d.ts +7 -5
  586. package/dist/serialization/types/OrderTotals.js +5 -14
  587. package/dist/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
  588. package/dist/serialization/types/OrderTotalsExtrasItem.js +4 -11
  589. package/dist/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
  590. package/dist/serialization/types/Page.d.ts +6 -4
  591. package/dist/serialization/types/Page.js +4 -11
  592. package/dist/serialization/types/PageDetails.d.ts +29 -0
  593. package/dist/serialization/types/PageDetails.js +50 -0
  594. package/dist/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
  595. package/dist/serialization/types/PageDetailsOpenGraph.js +36 -0
  596. package/dist/serialization/types/PageDetailsSeo.d.ts +13 -0
  597. package/dist/serialization/types/PageDetailsSeo.js +34 -0
  598. package/dist/serialization/types/PageList.d.ts +6 -4
  599. package/dist/serialization/types/PageList.js +4 -11
  600. package/dist/serialization/types/PageOpenGraph.d.ts +2 -2
  601. package/dist/serialization/types/PageSeo.d.ts +2 -2
  602. package/dist/serialization/types/Pagination.d.ts +2 -2
  603. package/dist/serialization/types/PaypalDetails.d.ts +2 -2
  604. package/dist/serialization/types/Product.d.ts +4 -3
  605. package/dist/serialization/types/Product.js +2 -10
  606. package/dist/serialization/types/ProductAndSkUs.d.ts +6 -4
  607. package/dist/serialization/types/ProductAndSkUs.js +4 -11
  608. package/dist/serialization/types/ProductAndSkUsList.d.ts +6 -4
  609. package/dist/serialization/types/ProductAndSkUsList.js +4 -13
  610. package/dist/serialization/types/ProductFieldData.d.ts +8 -5
  611. package/dist/serialization/types/ProductFieldData.js +6 -14
  612. package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
  613. package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
  614. package/dist/serialization/types/PublishStatus.d.ts +2 -2
  615. package/dist/serialization/types/RegisteredScriptList.d.ts +4 -3
  616. package/dist/serialization/types/RegisteredScriptList.js +2 -12
  617. package/dist/serialization/types/ScriptApply.d.ts +4 -3
  618. package/dist/serialization/types/ScriptApply.js +2 -10
  619. package/dist/serialization/types/ScriptApplyList.d.ts +4 -3
  620. package/dist/serialization/types/ScriptApplyList.js +2 -12
  621. package/dist/serialization/types/ScriptApplyLocation.d.ts +2 -2
  622. package/dist/serialization/types/Scripts.d.ts +4 -3
  623. package/dist/serialization/types/Scripts.js +2 -10
  624. package/dist/serialization/types/Site.d.ts +6 -4
  625. package/dist/serialization/types/Site.js +4 -13
  626. package/dist/serialization/types/SiteActivityLogItem.d.ts +6 -4
  627. package/dist/serialization/types/SiteActivityLogItem.js +4 -13
  628. package/dist/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
  629. package/dist/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
  630. package/dist/serialization/types/SiteActivityLogResponse.d.ts +6 -4
  631. package/dist/serialization/types/SiteActivityLogResponse.js +4 -13
  632. package/dist/serialization/types/Sites.d.ts +4 -3
  633. package/dist/serialization/types/Sites.js +2 -10
  634. package/dist/serialization/types/Sku.d.ts +4 -3
  635. package/dist/serialization/types/Sku.js +2 -10
  636. package/dist/serialization/types/SkuFieldData.d.ts +12 -7
  637. package/dist/serialization/types/SkuFieldData.js +10 -14
  638. package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
  639. package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
  640. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
  641. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
  642. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
  643. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
  644. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
  645. package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
  646. package/dist/serialization/types/SkuFieldDataPrice.d.ts +2 -2
  647. package/dist/serialization/types/SkuPropertyList.d.ts +4 -3
  648. package/dist/serialization/types/SkuPropertyList.js +2 -10
  649. package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
  650. package/dist/serialization/types/SkuValueList.d.ts +2 -2
  651. package/dist/serialization/types/StripeCard.d.ts +6 -4
  652. package/dist/serialization/types/StripeCard.js +4 -11
  653. package/dist/serialization/types/StripeCardBrand.d.ts +2 -2
  654. package/dist/serialization/types/StripeCardExpires.d.ts +2 -2
  655. package/dist/serialization/types/StripeDetails.d.ts +2 -2
  656. package/dist/serialization/types/TextNode.d.ts +2 -2
  657. package/dist/serialization/types/TriggerType.d.ts +2 -2
  658. package/dist/serialization/types/User.d.ts +8 -5
  659. package/dist/serialization/types/User.js +6 -14
  660. package/dist/serialization/types/UserAccessGroupsItem.d.ts +4 -3
  661. package/dist/serialization/types/UserAccessGroupsItem.js +2 -10
  662. package/dist/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
  663. package/dist/serialization/types/UserData.d.ts +4 -3
  664. package/dist/serialization/types/UserData.js +2 -10
  665. package/dist/serialization/types/UserDataData.d.ts +2 -2
  666. package/dist/serialization/types/UserLimitReached.d.ts +4 -8
  667. package/dist/serialization/types/UserLimitReached.js +2 -41
  668. package/dist/serialization/types/UserList.d.ts +4 -3
  669. package/dist/serialization/types/UserList.js +2 -10
  670. package/dist/serialization/types/UserStatus.d.ts +2 -2
  671. package/dist/serialization/types/UsersNotEnabled.d.ts +4 -8
  672. package/dist/serialization/types/UsersNotEnabled.js +2 -41
  673. package/dist/serialization/types/Webhook.d.ts +4 -3
  674. package/dist/serialization/types/Webhook.js +2 -10
  675. package/dist/serialization/types/WebhookList.d.ts +6 -4
  676. package/dist/serialization/types/WebhookList.js +4 -13
  677. package/dist/serialization/types/index.d.ts +6 -0
  678. package/dist/serialization/types/index.js +6 -0
  679. package/jest.config.js +2 -2
  680. package/package.json +13 -6
  681. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
  682. package/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
  683. package/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  684. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
  685. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
  686. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
  687. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
  688. package/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
  689. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
  690. package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
  691. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
  692. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
  693. package/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
  694. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
  695. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
  696. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
  697. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
  698. package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
  699. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
  700. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
  701. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
  702. package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
  703. package/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
  704. package/serialization/resources/collections/resources/items/types/index.js +4 -0
  705. package/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
  706. package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
  707. package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
  708. package/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
  709. package/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
  710. package/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
  711. package/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
  712. package/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
  713. package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
  714. package/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
  715. package/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
  716. package/serialization/resources/orders/types/index.d.ts +1 -0
  717. package/serialization/resources/orders/types/index.js +1 -0
  718. package/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
  719. package/serialization/resources/pages/client/requests/DomWrite.js +2 -10
  720. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
  721. package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
  722. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
  723. package/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
  724. package/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
  725. package/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
  726. package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
  727. package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
  728. package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
  729. package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
  730. package/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
  731. package/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
  732. package/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
  733. package/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
  734. package/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
  735. package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
  736. package/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
  737. package/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
  738. package/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
  739. package/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
  740. package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
  741. package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
  742. package/serialization/types/AccessGroup.d.ts +2 -2
  743. package/serialization/types/AccessGroupList.d.ts +4 -3
  744. package/serialization/types/AccessGroupList.js +2 -12
  745. package/serialization/types/Application.d.ts +2 -2
  746. package/serialization/types/Asset.d.ts +4 -3
  747. package/serialization/types/Asset.js +2 -12
  748. package/serialization/types/AssetFolder.d.ts +2 -2
  749. package/serialization/types/AssetFolderList.d.ts +6 -4
  750. package/serialization/types/AssetFolderList.js +4 -13
  751. package/serialization/types/AssetUpload.d.ts +4 -3
  752. package/serialization/types/AssetUpload.js +2 -12
  753. package/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
  754. package/serialization/types/AssetVariant.d.ts +2 -2
  755. package/serialization/types/Assets.d.ts +4 -3
  756. package/serialization/types/Assets.js +2 -12
  757. package/serialization/types/Authorization.d.ts +6 -4
  758. package/serialization/types/Authorization.js +4 -13
  759. package/serialization/types/AuthorizationAuthorization.d.ts +4 -3
  760. package/serialization/types/AuthorizationAuthorization.js +2 -12
  761. package/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
  762. package/serialization/types/AuthorizedUser.d.ts +2 -2
  763. package/serialization/types/BadRequestErrorBody.d.ts +12 -0
  764. package/serialization/types/BadRequestErrorBody.js +33 -0
  765. package/serialization/types/Collection.d.ts +4 -3
  766. package/serialization/types/Collection.js +2 -1
  767. package/serialization/types/CollectionItem.d.ts +4 -3
  768. package/serialization/types/CollectionItem.js +2 -10
  769. package/serialization/types/CollectionItemFieldData.d.ts +2 -2
  770. package/serialization/types/CollectionItemList.d.ts +6 -4
  771. package/serialization/types/CollectionItemList.js +4 -13
  772. package/serialization/types/CollectionItemListPagination.d.ts +2 -2
  773. package/serialization/types/CollectionList.d.ts +4 -3
  774. package/serialization/types/CollectionList.js +2 -12
  775. package/serialization/types/CollectionListArrayItem.d.ts +2 -2
  776. package/serialization/types/ConflictErrorBody.d.ts +12 -0
  777. package/serialization/types/ConflictErrorBody.js +33 -0
  778. package/serialization/types/CustomCodeBlock.d.ts +6 -4
  779. package/serialization/types/CustomCodeBlock.js +4 -11
  780. package/serialization/types/CustomCodeBlockType.d.ts +2 -2
  781. package/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
  782. package/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
  783. package/serialization/types/Dom.d.ts +6 -4
  784. package/serialization/types/Dom.js +4 -11
  785. package/serialization/types/Domain.d.ts +2 -2
  786. package/serialization/types/Domains.d.ts +4 -3
  787. package/serialization/types/Domains.js +2 -12
  788. package/serialization/types/DuplicateUserEmail.d.ts +4 -8
  789. package/serialization/types/DuplicateUserEmail.js +2 -41
  790. package/serialization/types/EcommerceSettings.d.ts +2 -2
  791. package/serialization/types/ErrorDetailsItem.d.ts +2 -2
  792. package/serialization/types/Error_.d.ts +4 -3
  793. package/serialization/types/Error_.js +2 -12
  794. package/serialization/types/Field.d.ts +4 -3
  795. package/serialization/types/Field.js +2 -10
  796. package/serialization/types/FieldType.d.ts +3 -3
  797. package/serialization/types/FieldType.js +1 -1
  798. package/serialization/types/ForbiddenErrorBody.d.ts +16 -0
  799. package/serialization/types/ForbiddenErrorBody.js +37 -0
  800. package/serialization/types/Form.d.ts +6 -4
  801. package/serialization/types/Form.js +4 -11
  802. package/serialization/types/FormField.d.ts +4 -3
  803. package/serialization/types/FormField.js +2 -10
  804. package/serialization/types/FormFieldValue.d.ts +4 -3
  805. package/serialization/types/FormFieldValue.js +2 -10
  806. package/serialization/types/FormFieldValueType.d.ts +2 -2
  807. package/serialization/types/FormList.d.ts +6 -4
  808. package/serialization/types/FormList.js +4 -11
  809. package/serialization/types/FormResponseSettings.d.ts +2 -2
  810. package/serialization/types/FormSubmission.d.ts +2 -2
  811. package/serialization/types/FormSubmissionList.d.ts +6 -4
  812. package/serialization/types/FormSubmissionList.js +4 -13
  813. package/serialization/types/ImageNode.d.ts +2 -2
  814. package/serialization/types/InvalidDomain.d.ts +2 -2
  815. package/serialization/types/InventoryItem.d.ts +4 -3
  816. package/serialization/types/InventoryItem.js +2 -10
  817. package/serialization/types/InventoryItemInventoryType.d.ts +2 -2
  818. package/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
  819. package/serialization/types/ListCustomCodeBlocks.js +4 -13
  820. package/serialization/types/Locale.d.ts +2 -2
  821. package/serialization/types/Locales.d.ts +5 -4
  822. package/serialization/types/Locales.js +3 -13
  823. package/serialization/types/MissingScopes.d.ts +4 -9
  824. package/serialization/types/MissingScopes.js +2 -42
  825. package/serialization/types/NoDomains.d.ts +2 -2
  826. package/serialization/types/Node.d.ts +8 -5
  827. package/serialization/types/Node.js +6 -12
  828. package/serialization/types/NodeType.d.ts +2 -2
  829. package/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
  830. package/serialization/types/NotEnterprisePlanSite.js +2 -42
  831. package/serialization/types/OauthScope.d.ts +2 -2
  832. package/serialization/types/Order.d.ts +30 -18
  833. package/serialization/types/Order.js +28 -31
  834. package/serialization/types/OrderAddress.d.ts +6 -4
  835. package/serialization/types/OrderAddress.js +4 -11
  836. package/serialization/types/OrderAddressJapanType.d.ts +2 -2
  837. package/serialization/types/OrderAddressType.d.ts +2 -2
  838. package/serialization/types/OrderCustomerInfo.d.ts +2 -2
  839. package/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
  840. package/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
  841. package/serialization/types/OrderList.d.ts +6 -4
  842. package/serialization/types/OrderList.js +4 -13
  843. package/serialization/types/OrderMetadata.d.ts +2 -2
  844. package/serialization/types/OrderPrice.d.ts +2 -2
  845. package/serialization/types/OrderPurchasedItem.d.ts +7 -5
  846. package/serialization/types/OrderPurchasedItem.js +5 -14
  847. package/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
  848. package/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
  849. package/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
  850. package/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
  851. package/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
  852. package/serialization/types/OrderStatus.d.ts +2 -2
  853. package/serialization/types/OrderTotals.d.ts +7 -5
  854. package/serialization/types/OrderTotals.js +5 -14
  855. package/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
  856. package/serialization/types/OrderTotalsExtrasItem.js +4 -11
  857. package/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
  858. package/serialization/types/Page.d.ts +6 -4
  859. package/serialization/types/Page.js +4 -11
  860. package/serialization/types/PageDetails.d.ts +29 -0
  861. package/serialization/types/PageDetails.js +50 -0
  862. package/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
  863. package/serialization/types/PageDetailsOpenGraph.js +36 -0
  864. package/serialization/types/PageDetailsSeo.d.ts +13 -0
  865. package/serialization/types/PageDetailsSeo.js +34 -0
  866. package/serialization/types/PageList.d.ts +6 -4
  867. package/serialization/types/PageList.js +4 -11
  868. package/serialization/types/PageOpenGraph.d.ts +2 -2
  869. package/serialization/types/PageSeo.d.ts +2 -2
  870. package/serialization/types/Pagination.d.ts +2 -2
  871. package/serialization/types/PaypalDetails.d.ts +2 -2
  872. package/serialization/types/Product.d.ts +4 -3
  873. package/serialization/types/Product.js +2 -10
  874. package/serialization/types/ProductAndSkUs.d.ts +6 -4
  875. package/serialization/types/ProductAndSkUs.js +4 -11
  876. package/serialization/types/ProductAndSkUsList.d.ts +6 -4
  877. package/serialization/types/ProductAndSkUsList.js +4 -13
  878. package/serialization/types/ProductFieldData.d.ts +8 -5
  879. package/serialization/types/ProductFieldData.js +6 -14
  880. package/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
  881. package/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
  882. package/serialization/types/PublishStatus.d.ts +2 -2
  883. package/serialization/types/RegisteredScriptList.d.ts +4 -3
  884. package/serialization/types/RegisteredScriptList.js +2 -12
  885. package/serialization/types/ScriptApply.d.ts +4 -3
  886. package/serialization/types/ScriptApply.js +2 -10
  887. package/serialization/types/ScriptApplyList.d.ts +4 -3
  888. package/serialization/types/ScriptApplyList.js +2 -12
  889. package/serialization/types/ScriptApplyLocation.d.ts +2 -2
  890. package/serialization/types/Scripts.d.ts +4 -3
  891. package/serialization/types/Scripts.js +2 -10
  892. package/serialization/types/Site.d.ts +6 -4
  893. package/serialization/types/Site.js +4 -13
  894. package/serialization/types/SiteActivityLogItem.d.ts +6 -4
  895. package/serialization/types/SiteActivityLogItem.js +4 -13
  896. package/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
  897. package/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
  898. package/serialization/types/SiteActivityLogResponse.d.ts +6 -4
  899. package/serialization/types/SiteActivityLogResponse.js +4 -13
  900. package/serialization/types/Sites.d.ts +4 -3
  901. package/serialization/types/Sites.js +2 -10
  902. package/serialization/types/Sku.d.ts +4 -3
  903. package/serialization/types/Sku.js +2 -10
  904. package/serialization/types/SkuFieldData.d.ts +12 -7
  905. package/serialization/types/SkuFieldData.js +10 -14
  906. package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
  907. package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
  908. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
  909. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
  910. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
  911. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
  912. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
  913. package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
  914. package/serialization/types/SkuFieldDataPrice.d.ts +2 -2
  915. package/serialization/types/SkuPropertyList.d.ts +4 -3
  916. package/serialization/types/SkuPropertyList.js +2 -10
  917. package/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
  918. package/serialization/types/SkuValueList.d.ts +2 -2
  919. package/serialization/types/StripeCard.d.ts +6 -4
  920. package/serialization/types/StripeCard.js +4 -11
  921. package/serialization/types/StripeCardBrand.d.ts +2 -2
  922. package/serialization/types/StripeCardExpires.d.ts +2 -2
  923. package/serialization/types/StripeDetails.d.ts +2 -2
  924. package/serialization/types/TextNode.d.ts +2 -2
  925. package/serialization/types/TriggerType.d.ts +2 -2
  926. package/serialization/types/User.d.ts +8 -5
  927. package/serialization/types/User.js +6 -14
  928. package/serialization/types/UserAccessGroupsItem.d.ts +4 -3
  929. package/serialization/types/UserAccessGroupsItem.js +2 -10
  930. package/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
  931. package/serialization/types/UserData.d.ts +4 -3
  932. package/serialization/types/UserData.js +2 -10
  933. package/serialization/types/UserDataData.d.ts +2 -2
  934. package/serialization/types/UserLimitReached.d.ts +4 -8
  935. package/serialization/types/UserLimitReached.js +2 -41
  936. package/serialization/types/UserList.d.ts +4 -3
  937. package/serialization/types/UserList.js +2 -10
  938. package/serialization/types/UserStatus.d.ts +2 -2
  939. package/serialization/types/UsersNotEnabled.d.ts +4 -8
  940. package/serialization/types/UsersNotEnabled.js +2 -41
  941. package/serialization/types/Webhook.d.ts +4 -3
  942. package/serialization/types/Webhook.js +2 -10
  943. package/serialization/types/WebhookList.d.ts +6 -4
  944. package/serialization/types/WebhookList.js +4 -13
  945. package/serialization/types/index.d.ts +6 -0
  946. package/serialization/types/index.js +6 -0
  947. package/tests/client.test.ts +0 -11
@@ -41,10 +41,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.Orders = void 0;
42
42
  const environments = __importStar(require("../../../../environments"));
43
43
  const core = __importStar(require("../../../../core"));
44
- const Webflow = __importStar(require("../../.."));
44
+ const Webflow = __importStar(require("../../../index"));
45
45
  const url_join_1 = __importDefault(require("url-join"));
46
- const serializers = __importStar(require("../../../../serialization"));
47
- const errors = __importStar(require("../../../../errors"));
46
+ const serializers = __importStar(require("../../../../serialization/index"));
47
+ const errors = __importStar(require("../../../../errors/index"));
48
48
  class Orders {
49
49
  constructor(_options) {
50
50
  this._options = _options;
@@ -53,6 +53,11 @@ class Orders {
53
53
  * List all orders created for a given site.
54
54
  *
55
55
  * Required scope | `ecommerce:read`
56
+ *
57
+ * @param {string} siteId - Unique identifier for a Site
58
+ * @param {Webflow.OrdersListRequest} request
59
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
56
61
  * @throws {@link Webflow.BadRequestError}
57
62
  * @throws {@link Webflow.UnauthorizedError}
58
63
  * @throws {@link Webflow.ForbiddenError}
@@ -62,7 +67,7 @@ class Orders {
62
67
  * @throws {@link Webflow.InternalServerError}
63
68
  *
64
69
  * @example
65
- * await webflow.orders.list("site_id", {})
70
+ * await client.orders.list("site_id")
66
71
  */
67
72
  list(siteId, request = {}, requestOptions) {
68
73
  var _a;
@@ -79,13 +84,13 @@ class Orders {
79
84
  _queryParams["limit"] = limit.toString();
80
85
  }
81
86
  const _response = yield core.fetcher({
82
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders`),
87
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders`),
83
88
  method: "GET",
84
89
  headers: {
85
90
  Authorization: yield this._getAuthorizationHeader(),
86
91
  "X-Fern-Language": "JavaScript",
87
92
  "X-Fern-SDK-Name": "webflow-api",
88
- "X-Fern-SDK-Version": "2.3.2",
93
+ "X-Fern-SDK-Version": "2.3.5",
89
94
  "X-Fern-Runtime": core.RUNTIME.type,
90
95
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
96
  },
@@ -93,6 +98,7 @@ class Orders {
93
98
  queryParameters: _queryParams,
94
99
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
100
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
101
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
96
102
  });
97
103
  if (_response.ok) {
98
104
  return yield serializers.OrderList.parseOrThrow(_response.body, {
@@ -145,6 +151,11 @@ class Orders {
145
151
  * Retrieve a single product by its id. All of its SKUs will also be retrieved.
146
152
  *
147
153
  * Required scope | `ecommerce:read`
154
+ *
155
+ * @param {string} siteId - Unique identifier for a Site
156
+ * @param {string} orderId - Unique identifier for an Order
157
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
158
+ *
148
159
  * @throws {@link Webflow.BadRequestError}
149
160
  * @throws {@link Webflow.UnauthorizedError}
150
161
  * @throws {@link Webflow.ForbiddenError}
@@ -154,25 +165,26 @@ class Orders {
154
165
  * @throws {@link Webflow.InternalServerError}
155
166
  *
156
167
  * @example
157
- * await webflow.orders.get("site_id", "order_id")
168
+ * await client.orders.get("site_id", "order_id")
158
169
  */
159
170
  get(siteId, orderId, requestOptions) {
160
171
  var _a;
161
172
  return __awaiter(this, void 0, void 0, function* () {
162
173
  const _response = yield core.fetcher({
163
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders/${orderId}`),
174
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}`),
164
175
  method: "GET",
165
176
  headers: {
166
177
  Authorization: yield this._getAuthorizationHeader(),
167
178
  "X-Fern-Language": "JavaScript",
168
179
  "X-Fern-SDK-Name": "webflow-api",
169
- "X-Fern-SDK-Version": "2.3.2",
180
+ "X-Fern-SDK-Version": "2.3.5",
170
181
  "X-Fern-Runtime": core.RUNTIME.type,
171
182
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
183
  },
173
184
  contentType: "application/json",
174
185
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
186
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
187
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
176
188
  });
177
189
  if (_response.ok) {
178
190
  return yield serializers.Order.parseOrThrow(_response.body, {
@@ -225,6 +237,12 @@ class Orders {
225
237
  * This API lets you update the fields, `comment`, `shippingProvider`, and/or `shippingTracking` for a given order. All three fields can be updated simultaneously or independently.
226
238
  *
227
239
  * Required scope | `ecommerce:write`
240
+ *
241
+ * @param {string} siteId - Unique identifier for a Site
242
+ * @param {string} orderId - Unique identifier for an Order
243
+ * @param {Webflow.OrdersUpdateRequest} request
244
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
245
+ *
228
246
  * @throws {@link Webflow.BadRequestError}
229
247
  * @throws {@link Webflow.UnauthorizedError}
230
248
  * @throws {@link Webflow.ForbiddenError}
@@ -234,24 +252,19 @@ class Orders {
234
252
  * @throws {@link Webflow.InternalServerError}
235
253
  *
236
254
  * @example
237
- * await webflow.orders.update("site_id", "order_id", {
238
- * comment: "Example comment to myself",
239
- * shippingProvider: "Shipping Company, Co.",
240
- * shippingTracking: "tr00000000001",
241
- * shippingTrackingUrl: "https://www.shippingcompany.com/tracking/tr00000000001"
242
- * })
255
+ * await client.orders.update("site_id", "order_id")
243
256
  */
244
257
  update(siteId, orderId, request = {}, requestOptions) {
245
258
  var _a;
246
259
  return __awaiter(this, void 0, void 0, function* () {
247
260
  const _response = yield core.fetcher({
248
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders/${orderId}`),
261
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}`),
249
262
  method: "PATCH",
250
263
  headers: {
251
264
  Authorization: yield this._getAuthorizationHeader(),
252
265
  "X-Fern-Language": "JavaScript",
253
266
  "X-Fern-SDK-Name": "webflow-api",
254
- "X-Fern-SDK-Version": "2.3.2",
267
+ "X-Fern-SDK-Version": "2.3.5",
255
268
  "X-Fern-Runtime": core.RUNTIME.type,
256
269
  "X-Fern-Runtime-Version": core.RUNTIME.version,
257
270
  },
@@ -259,6 +272,7 @@ class Orders {
259
272
  body: yield serializers.OrdersUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
260
273
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
261
274
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
275
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
262
276
  });
263
277
  if (_response.ok) {
264
278
  return yield serializers.Order.parseOrThrow(_response.body, {
@@ -311,6 +325,12 @@ class Orders {
311
325
  * Updates an order's status to fulfilled
312
326
  *
313
327
  * Required scope | `ecommerce:write`
328
+ *
329
+ * @param {string} siteId - Unique identifier for a Site
330
+ * @param {string} orderId - Unique identifier for an Order
331
+ * @param {Webflow.OrdersUpdateFulfillRequest} request
332
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
333
+ *
314
334
  * @throws {@link Webflow.BadRequestError}
315
335
  * @throws {@link Webflow.UnauthorizedError}
316
336
  * @throws {@link Webflow.ForbiddenError}
@@ -320,19 +340,19 @@ class Orders {
320
340
  * @throws {@link Webflow.InternalServerError}
321
341
  *
322
342
  * @example
323
- * await webflow.orders.updateFulfill("site_id", "order_id", {})
343
+ * await client.orders.updateFulfill("site_id", "order_id")
324
344
  */
325
345
  updateFulfill(siteId, orderId, request = {}, requestOptions) {
326
346
  var _a;
327
347
  return __awaiter(this, void 0, void 0, function* () {
328
348
  const _response = yield core.fetcher({
329
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders/${orderId}/fulfill`),
349
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/fulfill`),
330
350
  method: "POST",
331
351
  headers: {
332
352
  Authorization: yield this._getAuthorizationHeader(),
333
353
  "X-Fern-Language": "JavaScript",
334
354
  "X-Fern-SDK-Name": "webflow-api",
335
- "X-Fern-SDK-Version": "2.3.2",
355
+ "X-Fern-SDK-Version": "2.3.5",
336
356
  "X-Fern-Runtime": core.RUNTIME.type,
337
357
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
358
  },
@@ -342,6 +362,7 @@ class Orders {
342
362
  }),
343
363
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
344
364
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
365
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
345
366
  });
346
367
  if (_response.ok) {
347
368
  return yield serializers.Order.parseOrThrow(_response.body, {
@@ -394,6 +415,11 @@ class Orders {
394
415
  * Updates an order's status to unfulfilled
395
416
  *
396
417
  * Required scope | `ecommerce:write`
418
+ *
419
+ * @param {string} siteId - Unique identifier for a Site
420
+ * @param {string} orderId - Unique identifier for an Order
421
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
422
+ *
397
423
  * @throws {@link Webflow.BadRequestError}
398
424
  * @throws {@link Webflow.UnauthorizedError}
399
425
  * @throws {@link Webflow.ForbiddenError}
@@ -403,25 +429,26 @@ class Orders {
403
429
  * @throws {@link Webflow.InternalServerError}
404
430
  *
405
431
  * @example
406
- * await webflow.orders.updateUnfulfill("site_id", "order_id")
432
+ * await client.orders.updateUnfulfill("site_id", "order_id")
407
433
  */
408
434
  updateUnfulfill(siteId, orderId, requestOptions) {
409
435
  var _a;
410
436
  return __awaiter(this, void 0, void 0, function* () {
411
437
  const _response = yield core.fetcher({
412
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders/${orderId}/unfulfill`),
438
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/unfulfill`),
413
439
  method: "POST",
414
440
  headers: {
415
441
  Authorization: yield this._getAuthorizationHeader(),
416
442
  "X-Fern-Language": "JavaScript",
417
443
  "X-Fern-SDK-Name": "webflow-api",
418
- "X-Fern-SDK-Version": "2.3.2",
444
+ "X-Fern-SDK-Version": "2.3.5",
419
445
  "X-Fern-Runtime": core.RUNTIME.type,
420
446
  "X-Fern-Runtime-Version": core.RUNTIME.version,
421
447
  },
422
448
  contentType: "application/json",
423
449
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
424
450
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
451
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
425
452
  });
426
453
  if (_response.ok) {
427
454
  return yield serializers.Order.parseOrThrow(_response.body, {
@@ -475,6 +502,12 @@ class Orders {
475
502
  * customer. It will also set the order's status to `refunded`.
476
503
  *
477
504
  * Required scope | `ecommerce:write`
505
+ *
506
+ * @param {string} siteId - Unique identifier for a Site
507
+ * @param {string} orderId - Unique identifier for an Order
508
+ * @param {Webflow.OrdersRefundRequest} request
509
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
510
+ *
478
511
  * @throws {@link Webflow.BadRequestError}
479
512
  * @throws {@link Webflow.UnauthorizedError}
480
513
  * @throws {@link Webflow.ForbiddenError}
@@ -484,19 +517,19 @@ class Orders {
484
517
  * @throws {@link Webflow.InternalServerError}
485
518
  *
486
519
  * @example
487
- * await webflow.orders.refund("site_id", "order_id", {})
520
+ * await client.orders.refund("site_id", "order_id")
488
521
  */
489
522
  refund(siteId, orderId, request = {}, requestOptions) {
490
523
  var _a;
491
524
  return __awaiter(this, void 0, void 0, function* () {
492
525
  const _response = yield core.fetcher({
493
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${siteId}/orders/${orderId}/refund`),
526
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/orders/${encodeURIComponent(orderId)}/refund`),
494
527
  method: "POST",
495
528
  headers: {
496
529
  Authorization: yield this._getAuthorizationHeader(),
497
530
  "X-Fern-Language": "JavaScript",
498
531
  "X-Fern-SDK-Name": "webflow-api",
499
- "X-Fern-SDK-Version": "2.3.2",
532
+ "X-Fern-SDK-Version": "2.3.5",
500
533
  "X-Fern-Runtime": core.RUNTIME.type,
501
534
  "X-Fern-Runtime-Version": core.RUNTIME.version,
502
535
  },
@@ -504,6 +537,7 @@ class Orders {
504
537
  body: yield serializers.OrdersRefundRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
505
538
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
506
539
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
540
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
507
541
  });
508
542
  if (_response.ok) {
509
543
  return yield serializers.Order.parseOrThrow(_response.body, {
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Webflow from "../../../../index";
4
5
  /**
5
6
  * @example
6
7
  * {}
@@ -9,7 +10,7 @@ export interface OrdersListRequest {
9
10
  /**
10
11
  * Filter the orders by status
11
12
  */
12
- status?: string;
13
+ status?: Webflow.OrdersListRequestStatus;
13
14
  /**
14
15
  * Offset used for pagination if the results have more than limit records
15
16
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Webflow from "../../../..";
4
+ import * as Webflow from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {}
@@ -3,12 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * comment: "Example comment to myself",
8
- * shippingProvider: "Shipping Company, Co.",
9
- * shippingTracking: "tr00000000001",
10
- * shippingTrackingUrl: "https://www.shippingcompany.com/tracking/tr00000000001"
11
- * }
6
+ * {}
12
7
  */
13
8
  export interface OrdersUpdateRequest {
14
9
  /** Arbitrary data for your records */
@@ -1,4 +1,4 @@
1
- export { OrdersListRequest } from "./OrdersListRequest";
2
- export { OrdersUpdateRequest } from "./OrdersUpdateRequest";
3
- export { OrdersUpdateFulfillRequest } from "./OrdersUpdateFulfillRequest";
4
- export { OrdersRefundRequest } from "./OrdersRefundRequest";
1
+ export { type OrdersListRequest } from "./OrdersListRequest";
2
+ export { type OrdersUpdateRequest } from "./OrdersUpdateRequest";
3
+ export { type OrdersUpdateFulfillRequest } from "./OrdersUpdateFulfillRequest";
4
+ export { type OrdersRefundRequest } from "./OrdersRefundRequest";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type OrdersListRequestStatus = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled";
5
+ export declare const OrdersListRequestStatus: {
6
+ readonly Pending: "pending";
7
+ readonly Refunded: "refunded";
8
+ readonly DisputeLost: "dispute-lost";
9
+ readonly Fulfilled: "fulfilled";
10
+ readonly Disputed: "disputed";
11
+ readonly Unfulfilled: "unfulfilled";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrdersListRequestStatus = void 0;
7
+ exports.OrdersListRequestStatus = {
8
+ Pending: "pending",
9
+ Refunded: "refunded",
10
+ DisputeLost: "dispute-lost",
11
+ Fulfilled: "fulfilled",
12
+ Disputed: "disputed",
13
+ Unfulfilled: "unfulfilled",
14
+ };
@@ -1 +1,2 @@
1
+ export * from "./OrdersListRequestStatus";
1
2
  export * from "./OrdersRefundRequestReason";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./OrdersListRequestStatus"), exports);
17
18
  __exportStar(require("./OrdersRefundRequestReason"), exports);
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
- import * as Webflow from "../../..";
6
+ import * as Webflow from "../../../index";
7
7
  import { Scripts } from "../resources/scripts/client/Client";
8
8
  export declare namespace Pages {
9
9
  interface Options {
@@ -11,8 +11,12 @@ export declare namespace Pages {
11
11
  accessToken: core.Supplier<core.BearerToken>;
12
12
  }
13
13
  interface RequestOptions {
14
+ /** The maximum time to wait for a response in seconds. */
14
15
  timeoutInSeconds?: number;
16
+ /** The number of times to retry the request. Defaults to 2. */
15
17
  maxRetries?: number;
18
+ /** A hook to abort the request. */
19
+ abortSignal?: AbortSignal;
16
20
  }
17
21
  }
18
22
  export declare class Pages {
@@ -20,6 +24,11 @@ export declare class Pages {
20
24
  constructor(_options: Pages.Options);
21
25
  /**
22
26
  * List of all pages for a site </br></br> Required scope | `pages:read`
27
+ *
28
+ * @param {string} siteId - Unique identifier for a Site
29
+ * @param {Webflow.PagesListRequest} request
30
+ * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
31
+ *
23
32
  * @throws {@link Webflow.BadRequestError}
24
33
  * @throws {@link Webflow.UnauthorizedError}
25
34
  * @throws {@link Webflow.NotFoundError}
@@ -27,11 +36,16 @@ export declare class Pages {
27
36
  * @throws {@link Webflow.InternalServerError}
28
37
  *
29
38
  * @example
30
- * await webflow.pages.list("site_id", {})
39
+ * await client.pages.list("site_id")
31
40
  */
32
41
  list(siteId: string, request?: Webflow.PagesListRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.PageList>;
33
42
  /**
34
43
  * Get metadata information for a single page </br></br> Required scope | `pages:read`
44
+ *
45
+ * @param {string} pageId - Unique identifier for a Page
46
+ * @param {Webflow.PagesGetMetadataRequest} request
47
+ * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
48
+ *
35
49
  * @throws {@link Webflow.BadRequestError}
36
50
  * @throws {@link Webflow.UnauthorizedError}
37
51
  * @throws {@link Webflow.NotFoundError}
@@ -39,11 +53,16 @@ export declare class Pages {
39
53
  * @throws {@link Webflow.InternalServerError}
40
54
  *
41
55
  * @example
42
- * await webflow.pages.getMetadata("page_id", {})
56
+ * await client.pages.getMetadata("page_id")
43
57
  */
44
- getMetadata(pageId: string, request?: Webflow.PagesGetMetadataRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Page>;
58
+ getMetadata(pageId: string, request?: Webflow.PagesGetMetadataRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.PageDetails>;
45
59
  /**
46
60
  * Update Page-level metadata, including SEO and Open Graph fields. </br></br> Required scope | `pages:write`
61
+ *
62
+ * @param {string} pageId - Unique identifier for a Page
63
+ * @param {Webflow.UpdatePageSettingsRequest} request
64
+ * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
47
66
  * @throws {@link Webflow.BadRequestError}
48
67
  * @throws {@link Webflow.UnauthorizedError}
49
68
  * @throws {@link Webflow.NotFoundError}
@@ -51,7 +70,7 @@ export declare class Pages {
51
70
  * @throws {@link Webflow.InternalServerError}
52
71
  *
53
72
  * @example
54
- * await webflow.pages.updatePageSettings("page_id", {
73
+ * await client.pages.updatePageSettings("page_id", {
55
74
  * body: {
56
75
  * id: "6596da6045e56dee495bcbba",
57
76
  * siteId: "6258612d1ee792848f805dcf",
@@ -64,7 +83,6 @@ export declare class Pages {
64
83
  * archived: false,
65
84
  * draft: false,
66
85
  * canBranch: true,
67
- * isMembersOnly: false,
68
86
  * seo: {
69
87
  * title: "The Ultimate Hitchhiker's Guide to the Galaxy",
70
88
  * description: "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels."
@@ -78,9 +96,14 @@ export declare class Pages {
78
96
  * }
79
97
  * })
80
98
  */
81
- updatePageSettings(pageId: string, request: Webflow.UpdatePageSettingsRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Page>;
99
+ updatePageSettings(pageId: string, request: Webflow.UpdatePageSettingsRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.PageDetails>;
82
100
  /**
83
101
  * Get static content from a static page. </br> If you do not provide a Locale ID in your request, the response will return any content that can be localized from the Primary locale</br></br> Required scope | `pages:read`
102
+ *
103
+ * @param {string} pageId - Unique identifier for a Page
104
+ * @param {Webflow.PagesGetContentRequest} request
105
+ * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
106
+ *
84
107
  * @throws {@link Webflow.BadRequestError}
85
108
  * @throws {@link Webflow.UnauthorizedError}
86
109
  * @throws {@link Webflow.ForbiddenError}
@@ -89,11 +112,16 @@ export declare class Pages {
89
112
  * @throws {@link Webflow.InternalServerError}
90
113
  *
91
114
  * @example
92
- * await webflow.pages.getContent("page_id", {})
115
+ * await client.pages.getContent("page_id")
93
116
  */
94
117
  getContent(pageId: string, request?: Webflow.PagesGetContentRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Dom>;
95
118
  /**
96
119
  * Update static content on a static page. This endpoint supports sending 1000 nodes per request. </br></br> Required scope | `pages:write`
120
+ *
121
+ * @param {string} pageId - Unique identifier for a Page
122
+ * @param {Webflow.DomWrite} request
123
+ * @param {Pages.RequestOptions} requestOptions - Request-specific configuration.
124
+ *
97
125
  * @throws {@link Webflow.BadRequestError}
98
126
  * @throws {@link Webflow.UnauthorizedError}
99
127
  * @throws {@link Webflow.ForbiddenError}
@@ -102,7 +130,7 @@ export declare class Pages {
102
130
  * @throws {@link Webflow.InternalServerError}
103
131
  *
104
132
  * @example
105
- * await webflow.pages.updateStaticContent("page_id", {
133
+ * await client.pages.updateStaticContent("page_id", {
106
134
  * locale: "locale",
107
135
  * nodes: [{
108
136
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
@@ -113,9 +141,6 @@ export declare class Pages {
113
141
  * }, {
114
142
  * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
115
143
  * text: "<img alt='Marvin, the Paranoid Android' src='path/to/image/with/assetId/659595234426a9fcbad57043'/>"
116
- * }, {
117
- * nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
118
- * text: "<h1>Hello world</h1>"
119
144
  * }]
120
145
  * })
121
146
  */