webflow-api 2.3.6 → 2.4.0

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 (346) hide show
  1. package/api/resources/accessGroups/client/Client.d.ts +1 -1
  2. package/api/resources/accessGroups/client/Client.js +6 -4
  3. package/api/resources/assets/client/Client.d.ts +8 -8
  4. package/api/resources/assets/client/Client.js +50 -34
  5. package/api/resources/collections/client/Client.d.ts +5 -5
  6. package/api/resources/collections/client/Client.js +29 -19
  7. package/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
  8. package/api/resources/collections/resources/fields/client/Client.js +15 -11
  9. package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
  10. package/api/resources/collections/resources/items/client/Client.d.ts +17 -17
  11. package/api/resources/collections/resources/items/client/Client.js +101 -55
  12. package/api/resources/collections/resources/items/client/requests/index.d.ts +0 -1
  13. package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +7 -0
  14. package/api/resources/collections/resources/items/types/index.d.ts +1 -1
  15. package/api/resources/collections/resources/items/types/index.js +1 -1
  16. package/api/resources/ecommerce/client/Client.d.ts +1 -1
  17. package/api/resources/ecommerce/client/Client.js +6 -4
  18. package/api/resources/forms/client/Client.d.ts +5 -5
  19. package/api/resources/forms/client/Client.js +31 -23
  20. package/api/resources/index.d.ts +3 -2
  21. package/api/resources/index.js +4 -3
  22. package/api/resources/inventory/client/Client.d.ts +3 -3
  23. package/api/resources/inventory/client/Client.js +14 -10
  24. package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -1
  25. package/api/resources/orders/client/Client.d.ts +6 -6
  26. package/api/resources/orders/client/Client.js +39 -29
  27. package/api/resources/pages/client/Client.d.ts +19 -10
  28. package/api/resources/pages/client/Client.js +44 -25
  29. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +3 -1
  30. package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
  31. package/api/resources/pages/client/requests/PagesListRequest.d.ts +3 -1
  32. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +6 -3
  33. package/api/resources/pages/resources/scripts/client/Client.d.ts +5 -5
  34. package/api/resources/pages/resources/scripts/client/Client.js +20 -14
  35. package/api/resources/products/client/Client.d.ts +6 -6
  36. package/api/resources/products/client/Client.js +40 -28
  37. package/api/resources/scripts/client/Client.d.ts +3 -3
  38. package/api/resources/scripts/client/Client.js +20 -14
  39. package/api/resources/sites/client/Client.d.ts +4 -4
  40. package/api/resources/sites/client/Client.js +30 -16
  41. package/api/resources/sites/index.d.ts +1 -0
  42. package/api/resources/sites/index.js +1 -0
  43. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  44. package/api/resources/sites/resources/activityLogs/client/Client.js +6 -4
  45. package/api/resources/sites/resources/scripts/client/Client.d.ts +6 -6
  46. package/api/resources/sites/resources/scripts/client/Client.js +26 -18
  47. package/api/resources/sites/types/SitesPublishResponse.d.ts +10 -0
  48. package/api/resources/sites/types/index.d.ts +1 -0
  49. package/api/resources/sites/types/index.js +17 -0
  50. package/api/resources/token/client/Client.js +8 -4
  51. package/api/resources/users/client/Client.d.ts +5 -5
  52. package/api/resources/users/client/Client.js +31 -21
  53. package/api/resources/webhooks/client/Client.d.ts +7 -7
  54. package/api/resources/webhooks/client/Client.js +27 -19
  55. package/api/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +3 -6
  56. package/api/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.d.ts +2 -0
  57. package/api/types/CollectionItemFieldData.d.ts +2 -0
  58. package/api/types/ConflictErrorBody.d.ts +10 -1
  59. package/api/types/DuplicateUserEmail.d.ts +10 -1
  60. package/api/types/MissingScopes.d.ts +10 -1
  61. package/api/types/NotEnterprisePlanSite.d.ts +10 -1
  62. package/api/types/Page.d.ts +5 -1
  63. package/api/types/UserLimitReached.d.ts +10 -1
  64. package/api/types/UsersNotEnabled.d.ts +10 -1
  65. package/api/types/index.d.ts +4 -5
  66. package/api/types/index.js +4 -5
  67. package/core/fetcher/Fetcher.d.ts +4 -1
  68. package/core/fetcher/Fetcher.js +19 -185
  69. package/core/fetcher/createRequestUrl.d.ts +1 -0
  70. package/core/fetcher/createRequestUrl.js +13 -0
  71. package/core/fetcher/getFetchFn.d.ts +4 -0
  72. package/core/fetcher/getFetchFn.js +59 -0
  73. package/core/fetcher/getRequestBody.d.ts +7 -0
  74. package/core/fetcher/getRequestBody.js +23 -0
  75. package/core/fetcher/getResponseBody.d.ts +1 -0
  76. package/core/fetcher/getResponseBody.js +52 -0
  77. package/core/fetcher/makeRequest.d.ts +1 -0
  78. package/core/fetcher/makeRequest.js +42 -0
  79. package/core/fetcher/requestWithRetries.d.ts +1 -0
  80. package/core/fetcher/requestWithRetries.js +32 -0
  81. package/core/fetcher/signals.d.ts +12 -0
  82. package/core/fetcher/signals.js +37 -0
  83. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  84. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
  85. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  86. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  87. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  88. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
  89. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  90. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  91. package/core/runtime/runtime.d.ts +1 -0
  92. package/core/runtime/runtime.js +1 -0
  93. package/core/schemas/Schema.d.ts +8 -4
  94. package/core/schemas/Schema.js +1 -0
  95. package/core/schemas/builders/bigint/bigint.d.ts +2 -0
  96. package/core/schemas/builders/bigint/bigint.js +50 -0
  97. package/core/schemas/builders/bigint/index.d.ts +1 -0
  98. package/core/schemas/builders/bigint/index.js +5 -0
  99. package/core/schemas/builders/index.d.ts +1 -0
  100. package/core/schemas/builders/index.js +1 -0
  101. package/core/schemas/builders/lazy/lazy.d.ts +2 -2
  102. package/core/schemas/builders/lazy/lazy.js +8 -19
  103. package/core/schemas/builders/lazy/lazyObject.js +1 -10
  104. package/core/schemas/builders/list/list.js +31 -44
  105. package/core/schemas/builders/object/object.js +90 -111
  106. package/core/schemas/builders/object/types.d.ts +2 -2
  107. package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  108. package/core/schemas/builders/record/record.js +49 -60
  109. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  110. package/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
  111. package/core/schemas/builders/set/set.js +6 -15
  112. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  113. package/core/schemas/builders/union/union.js +51 -62
  114. package/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
  115. package/core/schemas/utils/maybeSkipValidation.js +3 -12
  116. package/dist/api/resources/accessGroups/client/Client.d.ts +1 -1
  117. package/dist/api/resources/accessGroups/client/Client.js +6 -4
  118. package/dist/api/resources/assets/client/Client.d.ts +8 -8
  119. package/dist/api/resources/assets/client/Client.js +50 -34
  120. package/dist/api/resources/collections/client/Client.d.ts +5 -5
  121. package/dist/api/resources/collections/client/Client.js +29 -19
  122. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
  123. package/dist/api/resources/collections/resources/fields/client/Client.js +15 -11
  124. package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
  125. package/dist/api/resources/collections/resources/items/client/Client.d.ts +17 -17
  126. package/dist/api/resources/collections/resources/items/client/Client.js +101 -55
  127. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +0 -1
  128. package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +7 -0
  129. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -1
  130. package/dist/api/resources/collections/resources/items/types/index.js +1 -1
  131. package/dist/api/resources/ecommerce/client/Client.d.ts +1 -1
  132. package/dist/api/resources/ecommerce/client/Client.js +6 -4
  133. package/dist/api/resources/forms/client/Client.d.ts +5 -5
  134. package/dist/api/resources/forms/client/Client.js +31 -23
  135. package/dist/api/resources/index.d.ts +3 -2
  136. package/dist/api/resources/index.js +4 -3
  137. package/dist/api/resources/inventory/client/Client.d.ts +3 -3
  138. package/dist/api/resources/inventory/client/Client.js +14 -10
  139. package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -1
  140. package/dist/api/resources/orders/client/Client.d.ts +6 -6
  141. package/dist/api/resources/orders/client/Client.js +39 -29
  142. package/dist/api/resources/pages/client/Client.d.ts +19 -10
  143. package/dist/api/resources/pages/client/Client.js +44 -25
  144. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +3 -1
  145. package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
  146. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +3 -1
  147. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +6 -3
  148. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +5 -5
  149. package/dist/api/resources/pages/resources/scripts/client/Client.js +20 -14
  150. package/dist/api/resources/products/client/Client.d.ts +6 -6
  151. package/dist/api/resources/products/client/Client.js +40 -28
  152. package/dist/api/resources/scripts/client/Client.d.ts +3 -3
  153. package/dist/api/resources/scripts/client/Client.js +20 -14
  154. package/dist/api/resources/sites/client/Client.d.ts +4 -4
  155. package/dist/api/resources/sites/client/Client.js +30 -16
  156. package/dist/api/resources/sites/index.d.ts +1 -0
  157. package/dist/api/resources/sites/index.js +1 -0
  158. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  159. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -4
  160. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +6 -6
  161. package/dist/api/resources/sites/resources/scripts/client/Client.js +26 -18
  162. package/dist/api/resources/sites/types/SitesPublishResponse.d.ts +10 -0
  163. package/dist/api/resources/sites/types/index.d.ts +1 -0
  164. package/dist/api/resources/sites/types/index.js +17 -0
  165. package/dist/api/resources/token/client/Client.js +8 -4
  166. package/dist/api/resources/users/client/Client.d.ts +5 -5
  167. package/dist/api/resources/users/client/Client.js +31 -21
  168. package/dist/api/resources/webhooks/client/Client.d.ts +7 -7
  169. package/dist/api/resources/webhooks/client/Client.js +27 -19
  170. package/dist/api/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +3 -6
  171. package/dist/api/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.d.ts +2 -0
  172. package/dist/api/types/CollectionItemFieldData.d.ts +2 -0
  173. package/dist/api/types/ConflictErrorBody.d.ts +10 -1
  174. package/dist/api/types/DuplicateUserEmail.d.ts +10 -1
  175. package/dist/api/types/MissingScopes.d.ts +10 -1
  176. package/dist/api/types/NotEnterprisePlanSite.d.ts +10 -1
  177. package/dist/api/types/Page.d.ts +5 -1
  178. package/dist/api/types/UserLimitReached.d.ts +10 -1
  179. package/dist/api/types/UsersNotEnabled.d.ts +10 -1
  180. package/dist/api/types/index.d.ts +4 -5
  181. package/dist/api/types/index.js +4 -5
  182. package/dist/core/fetcher/Fetcher.d.ts +4 -1
  183. package/dist/core/fetcher/Fetcher.js +19 -185
  184. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  185. package/dist/core/fetcher/createRequestUrl.js +13 -0
  186. package/dist/core/fetcher/getFetchFn.d.ts +4 -0
  187. package/dist/core/fetcher/getFetchFn.js +59 -0
  188. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  189. package/dist/core/fetcher/getRequestBody.js +23 -0
  190. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  191. package/dist/core/fetcher/getResponseBody.js +52 -0
  192. package/dist/core/fetcher/makeRequest.d.ts +1 -0
  193. package/dist/core/fetcher/makeRequest.js +42 -0
  194. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  195. package/dist/core/fetcher/requestWithRetries.js +32 -0
  196. package/dist/core/fetcher/signals.d.ts +12 -0
  197. package/dist/core/fetcher/signals.js +37 -0
  198. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  199. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
  200. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  201. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  202. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  203. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
  204. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  205. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  206. package/dist/core/runtime/runtime.d.ts +1 -0
  207. package/dist/core/runtime/runtime.js +1 -0
  208. package/dist/core/schemas/Schema.d.ts +8 -4
  209. package/dist/core/schemas/Schema.js +1 -0
  210. package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
  211. package/dist/core/schemas/builders/bigint/bigint.js +50 -0
  212. package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
  213. package/dist/core/schemas/builders/bigint/index.js +5 -0
  214. package/dist/core/schemas/builders/index.d.ts +1 -0
  215. package/dist/core/schemas/builders/index.js +1 -0
  216. package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
  217. package/dist/core/schemas/builders/lazy/lazy.js +8 -19
  218. package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
  219. package/dist/core/schemas/builders/list/list.js +31 -44
  220. package/dist/core/schemas/builders/object/object.js +90 -111
  221. package/dist/core/schemas/builders/object/types.d.ts +2 -2
  222. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  223. package/dist/core/schemas/builders/record/record.js +49 -60
  224. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  225. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
  226. package/dist/core/schemas/builders/set/set.js +6 -15
  227. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  228. package/dist/core/schemas/builders/union/union.js +51 -62
  229. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
  230. package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
  231. package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +0 -1
  232. package/dist/serialization/resources/collections/resources/items/client/requests/index.js +1 -3
  233. package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +13 -0
  234. package/dist/serialization/{types/PageDetailsSeo.js → resources/collections/resources/items/types/ItemsPublishItemResponse.js} +5 -5
  235. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  236. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -1
  237. package/dist/serialization/resources/index.d.ts +3 -2
  238. package/dist/serialization/resources/index.js +4 -3
  239. package/dist/serialization/resources/sites/index.d.ts +1 -0
  240. package/dist/serialization/resources/sites/index.js +1 -0
  241. package/dist/serialization/resources/sites/types/SitesPublishResponse.d.ts +14 -0
  242. package/dist/serialization/resources/sites/types/SitesPublishResponse.js +35 -0
  243. package/dist/serialization/resources/sites/types/index.d.ts +1 -0
  244. package/dist/serialization/resources/sites/types/index.js +17 -0
  245. package/dist/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +5 -5
  246. package/{serialization/resources/collections/resources/items/client/requests → dist/serialization/types}/BulkCollectionItem.js +2 -2
  247. package/dist/serialization/types/BulkCollectionItemFieldData.d.ts +14 -0
  248. package/dist/serialization/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.js +1 -1
  249. package/dist/serialization/types/CollectionItemFieldData.d.ts +1 -0
  250. package/dist/serialization/types/ConflictErrorBody.d.ts +8 -4
  251. package/dist/serialization/types/ConflictErrorBody.js +7 -3
  252. package/dist/serialization/types/DuplicateUserEmail.d.ts +7 -2
  253. package/dist/serialization/types/DuplicateUserEmail.js +31 -2
  254. package/dist/serialization/types/MissingScopes.d.ts +7 -2
  255. package/dist/serialization/types/MissingScopes.js +31 -2
  256. package/dist/serialization/types/NotEnterprisePlanSite.d.ts +7 -2
  257. package/dist/serialization/types/NotEnterprisePlanSite.js +31 -2
  258. package/dist/serialization/types/Page.d.ts +3 -1
  259. package/dist/serialization/types/Page.js +3 -1
  260. package/dist/serialization/types/UserLimitReached.d.ts +7 -2
  261. package/dist/serialization/types/UserLimitReached.js +31 -2
  262. package/dist/serialization/types/UsersNotEnabled.d.ts +7 -2
  263. package/dist/serialization/types/UsersNotEnabled.js +31 -2
  264. package/dist/serialization/types/index.d.ts +3 -5
  265. package/dist/serialization/types/index.js +3 -5
  266. package/dist/version.d.ts +1 -0
  267. package/dist/version.js +4 -0
  268. package/dist/wrapper/ItemsClient.d.ts +49 -1
  269. package/dist/wrapper/ItemsClient.js +213 -6
  270. package/package.json +7 -2
  271. package/reference.md +5790 -0
  272. package/serialization/resources/collections/resources/items/client/requests/index.d.ts +0 -1
  273. package/serialization/resources/collections/resources/items/client/requests/index.js +1 -3
  274. package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +13 -0
  275. package/serialization/{types/PageDetailsSeo.js → resources/collections/resources/items/types/ItemsPublishItemResponse.js} +5 -5
  276. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  277. package/serialization/resources/collections/resources/items/types/index.js +1 -1
  278. package/serialization/resources/index.d.ts +3 -2
  279. package/serialization/resources/index.js +4 -3
  280. package/serialization/resources/sites/index.d.ts +1 -0
  281. package/serialization/resources/sites/index.js +1 -0
  282. package/serialization/resources/sites/types/SitesPublishResponse.d.ts +14 -0
  283. package/serialization/resources/sites/types/SitesPublishResponse.js +35 -0
  284. package/serialization/resources/sites/types/index.d.ts +1 -0
  285. package/serialization/resources/sites/types/index.js +17 -0
  286. package/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +5 -5
  287. package/{dist/serialization/resources/collections/resources/items/client/requests → serialization/types}/BulkCollectionItem.js +2 -2
  288. package/serialization/types/BulkCollectionItemFieldData.d.ts +14 -0
  289. package/serialization/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.js +1 -1
  290. package/serialization/types/CollectionItemFieldData.d.ts +1 -0
  291. package/serialization/types/ConflictErrorBody.d.ts +8 -4
  292. package/serialization/types/ConflictErrorBody.js +7 -3
  293. package/serialization/types/DuplicateUserEmail.d.ts +7 -2
  294. package/serialization/types/DuplicateUserEmail.js +31 -2
  295. package/serialization/types/MissingScopes.d.ts +7 -2
  296. package/serialization/types/MissingScopes.js +31 -2
  297. package/serialization/types/NotEnterprisePlanSite.d.ts +7 -2
  298. package/serialization/types/NotEnterprisePlanSite.js +31 -2
  299. package/serialization/types/Page.d.ts +3 -1
  300. package/serialization/types/Page.js +3 -1
  301. package/serialization/types/UserLimitReached.d.ts +7 -2
  302. package/serialization/types/UserLimitReached.js +31 -2
  303. package/serialization/types/UsersNotEnabled.d.ts +7 -2
  304. package/serialization/types/UsersNotEnabled.js +31 -2
  305. package/serialization/types/index.d.ts +3 -5
  306. package/serialization/types/index.js +3 -5
  307. package/version.d.ts +1 -0
  308. package/version.js +4 -0
  309. package/wrapper/ItemsClient.d.ts +49 -1
  310. package/wrapper/ItemsClient.js +213 -6
  311. package/api/types/PageDetails.d.ts +0 -41
  312. package/api/types/PageDetailsOpenGraph.d.ts +0 -16
  313. package/api/types/PageDetailsSeo.d.ts +0 -12
  314. package/dist/api/types/PageDetails.d.ts +0 -41
  315. package/dist/api/types/PageDetailsOpenGraph.d.ts +0 -16
  316. package/dist/api/types/PageDetailsOpenGraph.js +0 -5
  317. package/dist/api/types/PageDetailsSeo.d.ts +0 -12
  318. package/dist/api/types/PageDetailsSeo.js +0 -5
  319. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +0 -13
  320. package/dist/serialization/types/OauthScope.d.ts +0 -10
  321. package/dist/serialization/types/OauthScope.js +0 -54
  322. package/dist/serialization/types/PageDetails.d.ts +0 -29
  323. package/dist/serialization/types/PageDetails.js +0 -50
  324. package/dist/serialization/types/PageDetailsOpenGraph.d.ts +0 -15
  325. package/dist/serialization/types/PageDetailsOpenGraph.js +0 -36
  326. package/dist/serialization/types/PageDetailsSeo.d.ts +0 -13
  327. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +0 -13
  328. package/serialization/types/OauthScope.d.ts +0 -10
  329. package/serialization/types/OauthScope.js +0 -54
  330. package/serialization/types/PageDetails.d.ts +0 -29
  331. package/serialization/types/PageDetails.js +0 -50
  332. package/serialization/types/PageDetailsOpenGraph.d.ts +0 -15
  333. package/serialization/types/PageDetailsOpenGraph.js +0 -36
  334. package/serialization/types/PageDetailsSeo.d.ts +0 -13
  335. /package/api/resources/collections/resources/items/{client/requests/BulkCollectionItem.js → types/ItemsPublishItemResponse.js} +0 -0
  336. /package/api/resources/{collections/resources/items/types/BulkCollectionItemFieldData.js → sites/types/SitesPublishResponse.js} +0 -0
  337. /package/{dist/api/resources/collections/resources/items/client/requests → api/types}/BulkCollectionItem.js +0 -0
  338. /package/{dist/api/resources/collections/resources/items → api}/types/BulkCollectionItemFieldData.js +0 -0
  339. /package/api/types/{OauthScope.d.ts → OAuthScope.d.ts} +0 -0
  340. /package/api/types/{OauthScope.js → OAuthScope.js} +0 -0
  341. /package/{api/types/PageDetails.js → dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.js} +0 -0
  342. /package/{api/types/PageDetailsOpenGraph.js → dist/api/resources/sites/types/SitesPublishResponse.js} +0 -0
  343. /package/{api/types/PageDetailsSeo.js → dist/api/types/BulkCollectionItem.js} +0 -0
  344. /package/dist/api/types/{PageDetails.js → BulkCollectionItemFieldData.js} +0 -0
  345. /package/dist/api/types/{OauthScope.d.ts → OAuthScope.d.ts} +0 -0
  346. /package/dist/api/types/{OauthScope.js → OAuthScope.js} +0 -0
@@ -65,7 +65,7 @@ class Forms {
65
65
  * @throws {@link Webflow.InternalServerError}
66
66
  *
67
67
  * @example
68
- * await client.forms.list("site_id")
68
+ * await client.forms.list("580e63e98c9a982ac9b8b741")
69
69
  */
70
70
  list(siteId, request = {}, requestOptions) {
71
71
  var _a;
@@ -85,18 +85,20 @@ class Forms {
85
85
  Authorization: yield this._getAuthorizationHeader(),
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "webflow-api",
88
- "X-Fern-SDK-Version": "2.3.6",
88
+ "X-Fern-SDK-Version": "2.4.0",
89
+ "User-Agent": "webflow-api/2.4.0",
89
90
  "X-Fern-Runtime": core.RUNTIME.type,
90
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
92
  },
92
93
  contentType: "application/json",
93
94
  queryParameters: _queryParams,
95
+ requestType: "json",
94
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
97
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
96
98
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
99
  });
98
100
  if (_response.ok) {
99
- return yield serializers.FormList.parseOrThrow(_response.body, {
101
+ return serializers.FormList.parseOrThrow(_response.body, {
100
102
  unrecognizedObjectKeys: "passthrough",
101
103
  allowUnrecognizedUnionMembers: true,
102
104
  allowUnrecognizedEnumValues: true,
@@ -117,7 +119,7 @@ class Forms {
117
119
  case 409:
118
120
  throw new Webflow.ConflictError(_response.error.body);
119
121
  case 429:
120
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
122
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
121
123
  unrecognizedObjectKeys: "passthrough",
122
124
  allowUnrecognizedUnionMembers: true,
123
125
  allowUnrecognizedEnumValues: true,
@@ -162,7 +164,7 @@ class Forms {
162
164
  * @throws {@link Webflow.InternalServerError}
163
165
  *
164
166
  * @example
165
- * await client.forms.get("form_id")
167
+ * await client.forms.get("580e63e98c9a982ac9b8b741")
166
168
  */
167
169
  get(formId, requestOptions) {
168
170
  var _a;
@@ -174,17 +176,19 @@ class Forms {
174
176
  Authorization: yield this._getAuthorizationHeader(),
175
177
  "X-Fern-Language": "JavaScript",
176
178
  "X-Fern-SDK-Name": "webflow-api",
177
- "X-Fern-SDK-Version": "2.3.6",
179
+ "X-Fern-SDK-Version": "2.4.0",
180
+ "User-Agent": "webflow-api/2.4.0",
178
181
  "X-Fern-Runtime": core.RUNTIME.type,
179
182
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
183
  },
181
184
  contentType: "application/json",
185
+ requestType: "json",
182
186
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
183
187
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
184
188
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
185
189
  });
186
190
  if (_response.ok) {
187
- return yield serializers.Form.parseOrThrow(_response.body, {
191
+ return serializers.Form.parseOrThrow(_response.body, {
188
192
  unrecognizedObjectKeys: "passthrough",
189
193
  allowUnrecognizedUnionMembers: true,
190
194
  allowUnrecognizedEnumValues: true,
@@ -203,7 +207,7 @@ class Forms {
203
207
  case 404:
204
208
  throw new Webflow.NotFoundError(_response.error.body);
205
209
  case 429:
206
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
210
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
207
211
  unrecognizedObjectKeys: "passthrough",
208
212
  allowUnrecognizedUnionMembers: true,
209
213
  allowUnrecognizedEnumValues: true,
@@ -249,7 +253,7 @@ class Forms {
249
253
  * @throws {@link Webflow.InternalServerError}
250
254
  *
251
255
  * @example
252
- * await client.forms.listSubmissions("form_id")
256
+ * await client.forms.listSubmissions("580e63e98c9a982ac9b8b741")
253
257
  */
254
258
  listSubmissions(formId, request = {}, requestOptions) {
255
259
  var _a;
@@ -269,18 +273,20 @@ class Forms {
269
273
  Authorization: yield this._getAuthorizationHeader(),
270
274
  "X-Fern-Language": "JavaScript",
271
275
  "X-Fern-SDK-Name": "webflow-api",
272
- "X-Fern-SDK-Version": "2.3.6",
276
+ "X-Fern-SDK-Version": "2.4.0",
277
+ "User-Agent": "webflow-api/2.4.0",
273
278
  "X-Fern-Runtime": core.RUNTIME.type,
274
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
275
280
  },
276
281
  contentType: "application/json",
277
282
  queryParameters: _queryParams,
283
+ requestType: "json",
278
284
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
279
285
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
280
286
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
281
287
  });
282
288
  if (_response.ok) {
283
- return yield serializers.FormSubmissionList.parseOrThrow(_response.body, {
289
+ return serializers.FormSubmissionList.parseOrThrow(_response.body, {
284
290
  unrecognizedObjectKeys: "passthrough",
285
291
  allowUnrecognizedUnionMembers: true,
286
292
  allowUnrecognizedEnumValues: true,
@@ -299,7 +305,7 @@ class Forms {
299
305
  case 404:
300
306
  throw new Webflow.NotFoundError(_response.error.body);
301
307
  case 429:
302
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
308
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
303
309
  unrecognizedObjectKeys: "passthrough",
304
310
  allowUnrecognizedUnionMembers: true,
305
311
  allowUnrecognizedEnumValues: true,
@@ -344,7 +350,7 @@ class Forms {
344
350
  * @throws {@link Webflow.InternalServerError}
345
351
  *
346
352
  * @example
347
- * await client.forms.getSubmission("form_submission_id")
353
+ * await client.forms.getSubmission("580e63e98c9a982ac9b8b741")
348
354
  */
349
355
  getSubmission(formSubmissionId, requestOptions) {
350
356
  var _a;
@@ -356,17 +362,19 @@ class Forms {
356
362
  Authorization: yield this._getAuthorizationHeader(),
357
363
  "X-Fern-Language": "JavaScript",
358
364
  "X-Fern-SDK-Name": "webflow-api",
359
- "X-Fern-SDK-Version": "2.3.6",
365
+ "X-Fern-SDK-Version": "2.4.0",
366
+ "User-Agent": "webflow-api/2.4.0",
360
367
  "X-Fern-Runtime": core.RUNTIME.type,
361
368
  "X-Fern-Runtime-Version": core.RUNTIME.version,
362
369
  },
363
370
  contentType: "application/json",
371
+ requestType: "json",
364
372
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
365
373
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
366
374
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
367
375
  });
368
376
  if (_response.ok) {
369
- return yield serializers.FormSubmission.parseOrThrow(_response.body, {
377
+ return serializers.FormSubmission.parseOrThrow(_response.body, {
370
378
  unrecognizedObjectKeys: "passthrough",
371
379
  allowUnrecognizedUnionMembers: true,
372
380
  allowUnrecognizedEnumValues: true,
@@ -385,7 +393,7 @@ class Forms {
385
393
  case 404:
386
394
  throw new Webflow.NotFoundError(_response.error.body);
387
395
  case 429:
388
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
396
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
389
397
  unrecognizedObjectKeys: "passthrough",
390
398
  allowUnrecognizedUnionMembers: true,
391
399
  allowUnrecognizedEnumValues: true,
@@ -432,7 +440,7 @@ class Forms {
432
440
  * @throws {@link Webflow.InternalServerError}
433
441
  *
434
442
  * @example
435
- * await client.forms.updateSubmission("form_submission_id")
443
+ * await client.forms.updateSubmission("580e63e98c9a982ac9b8b741")
436
444
  */
437
445
  updateSubmission(formSubmissionId, request = {}, requestOptions) {
438
446
  var _a;
@@ -444,20 +452,20 @@ class Forms {
444
452
  Authorization: yield this._getAuthorizationHeader(),
445
453
  "X-Fern-Language": "JavaScript",
446
454
  "X-Fern-SDK-Name": "webflow-api",
447
- "X-Fern-SDK-Version": "2.3.6",
455
+ "X-Fern-SDK-Version": "2.4.0",
456
+ "User-Agent": "webflow-api/2.4.0",
448
457
  "X-Fern-Runtime": core.RUNTIME.type,
449
458
  "X-Fern-Runtime-Version": core.RUNTIME.version,
450
459
  },
451
460
  contentType: "application/json",
452
- body: yield serializers.FormsUpdateSubmissionRequest.jsonOrThrow(request, {
453
- unrecognizedObjectKeys: "strip",
454
- }),
461
+ requestType: "json",
462
+ body: serializers.FormsUpdateSubmissionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
455
463
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
456
464
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
457
465
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
458
466
  });
459
467
  if (_response.ok) {
460
- return yield serializers.FormSubmission.parseOrThrow(_response.body, {
468
+ return serializers.FormSubmission.parseOrThrow(_response.body, {
461
469
  unrecognizedObjectKeys: "passthrough",
462
470
  allowUnrecognizedUnionMembers: true,
463
471
  allowUnrecognizedEnumValues: true,
@@ -478,7 +486,7 @@ class Forms {
478
486
  case 409:
479
487
  throw new Webflow.ConflictError(_response.error.body);
480
488
  case 429:
481
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
489
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
482
490
  unrecognizedObjectKeys: "passthrough",
483
491
  allowUnrecognizedUnionMembers: true,
484
492
  allowUnrecognizedEnumValues: true,
@@ -1,4 +1,5 @@
1
- export * as collections from "./collections";
1
+ export * as sites from "./sites";
2
+ export * from "./sites/types";
2
3
  export * as pages from "./pages";
3
4
  export * from "./pages/types";
4
5
  export * as users from "./users";
@@ -11,8 +12,8 @@ export * as orders from "./orders";
11
12
  export * from "./orders/types";
12
13
  export * as inventory from "./inventory";
13
14
  export * from "./inventory/types";
15
+ export * as collections from "./collections";
14
16
  export * as token from "./token";
15
- export * as sites from "./sites";
16
17
  export * as scripts from "./scripts";
17
18
  export * as assets from "./assets";
18
19
  export * as webhooks from "./webhooks";
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ecommerce = exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.sites = exports.token = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.collections = void 0;
30
- exports.collections = __importStar(require("./collections"));
29
+ exports.ecommerce = exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.token = exports.collections = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.sites = void 0;
30
+ exports.sites = __importStar(require("./sites"));
31
+ __exportStar(require("./sites/types"), exports);
31
32
  exports.pages = __importStar(require("./pages"));
32
33
  __exportStar(require("./pages/types"), exports);
33
34
  exports.users = __importStar(require("./users"));
@@ -40,8 +41,8 @@ exports.orders = __importStar(require("./orders"));
40
41
  __exportStar(require("./orders/types"), exports);
41
42
  exports.inventory = __importStar(require("./inventory"));
42
43
  __exportStar(require("./inventory/types"), exports);
44
+ exports.collections = __importStar(require("./collections"));
43
45
  exports.token = __importStar(require("./token"));
44
- exports.sites = __importStar(require("./sites"));
45
46
  exports.scripts = __importStar(require("./scripts"));
46
47
  exports.assets = __importStar(require("./assets"));
47
48
  exports.webhooks = __importStar(require("./webhooks"));
@@ -39,7 +39,7 @@ export declare class Inventory {
39
39
  * @throws {@link Webflow.InternalServerError}
40
40
  *
41
41
  * @example
42
- * await client.inventory.list("collection_id", "item_id")
42
+ * await client.inventory.list("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754")
43
43
  */
44
44
  list(collectionId: string, itemId: string, requestOptions?: Inventory.RequestOptions): Promise<Webflow.InventoryItem>;
45
45
  /**
@@ -61,8 +61,8 @@ export declare class Inventory {
61
61
  * @throws {@link Webflow.InternalServerError}
62
62
  *
63
63
  * @example
64
- * await client.inventory.update("collection_id", "item_id", {
65
- * inventoryType: Webflow.InventoryUpdateRequestInventoryType.Infinite
64
+ * await client.inventory.update("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
65
+ * inventoryType: "infinite"
66
66
  * })
67
67
  */
68
68
  update(collectionId: string, itemId: string, request: Webflow.InventoryUpdateRequest, requestOptions?: Inventory.RequestOptions): Promise<Webflow.InventoryItem>;
@@ -67,7 +67,7 @@ class Inventory {
67
67
  * @throws {@link Webflow.InternalServerError}
68
68
  *
69
69
  * @example
70
- * await client.inventory.list("collection_id", "item_id")
70
+ * await client.inventory.list("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754")
71
71
  */
72
72
  list(collectionId, itemId, requestOptions) {
73
73
  var _a;
@@ -79,17 +79,19 @@ class Inventory {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "webflow-api",
82
- "X-Fern-SDK-Version": "2.3.6",
82
+ "X-Fern-SDK-Version": "2.4.0",
83
+ "User-Agent": "webflow-api/2.4.0",
83
84
  "X-Fern-Runtime": core.RUNTIME.type,
84
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
86
  },
86
87
  contentType: "application/json",
88
+ requestType: "json",
87
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
88
90
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
89
91
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
90
92
  });
91
93
  if (_response.ok) {
92
- return yield serializers.InventoryItem.parseOrThrow(_response.body, {
94
+ return serializers.InventoryItem.parseOrThrow(_response.body, {
93
95
  unrecognizedObjectKeys: "passthrough",
94
96
  allowUnrecognizedUnionMembers: true,
95
97
  allowUnrecognizedEnumValues: true,
@@ -110,7 +112,7 @@ class Inventory {
110
112
  case 409:
111
113
  throw new Webflow.ConflictError(_response.error.body);
112
114
  case 429:
113
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
115
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
114
116
  unrecognizedObjectKeys: "passthrough",
115
117
  allowUnrecognizedUnionMembers: true,
116
118
  allowUnrecognizedEnumValues: true,
@@ -160,8 +162,8 @@ class Inventory {
160
162
  * @throws {@link Webflow.InternalServerError}
161
163
  *
162
164
  * @example
163
- * await client.inventory.update("collection_id", "item_id", {
164
- * inventoryType: Webflow.InventoryUpdateRequestInventoryType.Infinite
165
+ * await client.inventory.update("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
166
+ * inventoryType: "infinite"
165
167
  * })
166
168
  */
167
169
  update(collectionId, itemId, request, requestOptions) {
@@ -174,18 +176,20 @@ class Inventory {
174
176
  Authorization: yield this._getAuthorizationHeader(),
175
177
  "X-Fern-Language": "JavaScript",
176
178
  "X-Fern-SDK-Name": "webflow-api",
177
- "X-Fern-SDK-Version": "2.3.6",
179
+ "X-Fern-SDK-Version": "2.4.0",
180
+ "User-Agent": "webflow-api/2.4.0",
178
181
  "X-Fern-Runtime": core.RUNTIME.type,
179
182
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
183
  },
181
184
  contentType: "application/json",
182
- body: yield serializers.InventoryUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
185
+ requestType: "json",
186
+ body: serializers.InventoryUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
183
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
184
188
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
185
189
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
186
190
  });
187
191
  if (_response.ok) {
188
- return yield serializers.InventoryItem.parseOrThrow(_response.body, {
192
+ return serializers.InventoryItem.parseOrThrow(_response.body, {
189
193
  unrecognizedObjectKeys: "passthrough",
190
194
  allowUnrecognizedUnionMembers: true,
191
195
  allowUnrecognizedEnumValues: true,
@@ -206,7 +210,7 @@ class Inventory {
206
210
  case 409:
207
211
  throw new Webflow.ConflictError(_response.error.body);
208
212
  case 429:
209
- throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
213
+ throw new Webflow.TooManyRequestsError(serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
210
214
  unrecognizedObjectKeys: "passthrough",
211
215
  allowUnrecognizedUnionMembers: true,
212
216
  allowUnrecognizedEnumValues: true,
@@ -5,7 +5,7 @@ import * as Webflow from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * inventoryType: Webflow.InventoryUpdateRequestInventoryType.Infinite
8
+ * inventoryType: "infinite"
9
9
  * }
10
10
  */
11
11
  export interface InventoryUpdateRequest {
@@ -39,7 +39,7 @@ export declare class Orders {
39
39
  * @throws {@link Webflow.InternalServerError}
40
40
  *
41
41
  * @example
42
- * await client.orders.list("site_id")
42
+ * await client.orders.list("580e63e98c9a982ac9b8b741")
43
43
  */
44
44
  list(siteId: string, request?: Webflow.OrdersListRequest, requestOptions?: Orders.RequestOptions): Promise<Webflow.OrderList>;
45
45
  /**
@@ -60,7 +60,7 @@ export declare class Orders {
60
60
  * @throws {@link Webflow.InternalServerError}
61
61
  *
62
62
  * @example
63
- * await client.orders.get("site_id", "order_id")
63
+ * await client.orders.get("580e63e98c9a982ac9b8b741", "5e8518516e147040726cc415")
64
64
  */
65
65
  get(siteId: string, orderId: string, requestOptions?: Orders.RequestOptions): Promise<Webflow.Order>;
66
66
  /**
@@ -82,7 +82,7 @@ export declare class Orders {
82
82
  * @throws {@link Webflow.InternalServerError}
83
83
  *
84
84
  * @example
85
- * await client.orders.update("site_id", "order_id")
85
+ * await client.orders.update("580e63e98c9a982ac9b8b741", "5e8518516e147040726cc415")
86
86
  */
87
87
  update(siteId: string, orderId: string, request?: Webflow.OrdersUpdateRequest, requestOptions?: Orders.RequestOptions): Promise<Webflow.Order>;
88
88
  /**
@@ -104,7 +104,7 @@ export declare class Orders {
104
104
  * @throws {@link Webflow.InternalServerError}
105
105
  *
106
106
  * @example
107
- * await client.orders.updateFulfill("site_id", "order_id")
107
+ * await client.orders.updateFulfill("580e63e98c9a982ac9b8b741", "5e8518516e147040726cc415")
108
108
  */
109
109
  updateFulfill(siteId: string, orderId: string, request?: Webflow.OrdersUpdateFulfillRequest, requestOptions?: Orders.RequestOptions): Promise<Webflow.Order>;
110
110
  /**
@@ -125,7 +125,7 @@ export declare class Orders {
125
125
  * @throws {@link Webflow.InternalServerError}
126
126
  *
127
127
  * @example
128
- * await client.orders.updateUnfulfill("site_id", "order_id")
128
+ * await client.orders.updateUnfulfill("580e63e98c9a982ac9b8b741", "5e8518516e147040726cc415")
129
129
  */
130
130
  updateUnfulfill(siteId: string, orderId: string, requestOptions?: Orders.RequestOptions): Promise<Webflow.Order>;
131
131
  /**
@@ -148,7 +148,7 @@ export declare class Orders {
148
148
  * @throws {@link Webflow.InternalServerError}
149
149
  *
150
150
  * @example
151
- * await client.orders.refund("site_id", "order_id")
151
+ * await client.orders.refund("580e63e98c9a982ac9b8b741", "5e8518516e147040726cc415")
152
152
  */
153
153
  refund(siteId: string, orderId: string, request?: Webflow.OrdersRefundRequest, requestOptions?: Orders.RequestOptions): Promise<Webflow.Order>;
154
154
  protected _getAuthorizationHeader(): Promise<string>;