webflow-api 2.1.1 → 2.2.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 (331) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  3. package/api/resources/accessGroups/client/Client.js +1 -1
  4. package/api/resources/assets/client/Client.d.ts +1 -1
  5. package/api/resources/assets/client/Client.js +9 -9
  6. package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +1 -1
  7. package/api/resources/collections/client/Client.js +5 -5
  8. package/api/resources/collections/resources/fields/client/Client.js +2 -2
  9. package/api/resources/collections/resources/items/client/Client.d.ts +51 -22
  10. package/api/resources/collections/resources/items/client/Client.js +119 -33
  11. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
  12. package/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  13. package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
  14. package/api/resources/collections/resources/items/types/index.d.ts +1 -0
  15. package/api/resources/collections/resources/items/types/index.js +1 -0
  16. package/api/resources/ecommerce/client/Client.js +1 -1
  17. package/api/resources/forms/client/Client.js +5 -5
  18. package/api/resources/index.d.ts +2 -2
  19. package/api/resources/index.js +3 -3
  20. package/api/resources/inventory/client/Client.js +2 -2
  21. package/api/resources/orders/client/Client.js +6 -6
  22. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
  23. package/api/resources/orders/types/index.d.ts +0 -1
  24. package/api/resources/orders/types/index.js +0 -1
  25. package/api/resources/pages/client/Client.js +5 -5
  26. package/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
  27. package/api/resources/pages/resources/scripts/client/Client.js +6 -6
  28. package/api/resources/products/client/Client.d.ts +2 -2
  29. package/api/resources/products/client/Client.js +8 -8
  30. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
  31. package/api/resources/scripts/client/Client.d.ts +3 -3
  32. package/api/resources/scripts/client/Client.js +6 -6
  33. package/api/resources/sites/client/Client.d.ts +2 -2
  34. package/api/resources/sites/client/Client.js +6 -6
  35. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  36. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  37. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  38. package/api/resources/token/client/Client.d.ts +1 -1
  39. package/api/resources/token/client/Client.js +3 -3
  40. package/api/resources/users/client/Client.js +5 -5
  41. package/api/resources/webhooks/client/Client.d.ts +3 -3
  42. package/api/resources/webhooks/client/Client.js +7 -7
  43. package/api/types/Application.d.ts +1 -10
  44. package/api/types/Authorization.d.ts +1 -1
  45. package/api/types/CustomCodeBlock.d.ts +1 -1
  46. package/{dist/api/types/Assets.d.ts → api/types/Domains.d.ts} +2 -2
  47. package/api/types/DuplicateUserEmail.d.ts +2 -1
  48. package/{dist/api/types/Sites.d.ts → api/types/Scripts.d.ts} +1 -3
  49. package/api/types/UserLimitReached.d.ts +2 -1
  50. package/api/types/UsersNotEnabled.d.ts +2 -1
  51. package/api/types/index.d.ts +56 -74
  52. package/api/types/index.js +56 -74
  53. package/dist/Client.d.ts +3 -3
  54. package/dist/Client.js +6 -6
  55. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  56. package/dist/api/resources/assets/client/Client.d.ts +1 -1
  57. package/dist/api/resources/assets/client/Client.js +9 -9
  58. package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +1 -1
  59. package/dist/api/resources/collections/client/Client.js +5 -5
  60. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  61. package/dist/api/resources/collections/resources/items/client/Client.d.ts +51 -22
  62. package/dist/api/resources/collections/resources/items/client/Client.js +119 -33
  63. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
  64. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  65. package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
  66. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
  67. package/dist/api/resources/collections/resources/items/types/index.js +1 -0
  68. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  69. package/dist/api/resources/forms/client/Client.js +5 -5
  70. package/dist/api/resources/index.d.ts +2 -2
  71. package/dist/api/resources/index.js +3 -3
  72. package/dist/api/resources/inventory/client/Client.js +2 -2
  73. package/dist/api/resources/orders/client/Client.js +6 -6
  74. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
  75. package/dist/api/resources/orders/types/index.d.ts +0 -1
  76. package/dist/api/resources/orders/types/index.js +0 -1
  77. package/dist/api/resources/pages/client/Client.js +5 -5
  78. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
  79. package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
  80. package/dist/api/resources/products/client/Client.d.ts +2 -2
  81. package/dist/api/resources/products/client/Client.js +8 -8
  82. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
  83. package/dist/api/resources/scripts/client/Client.d.ts +3 -3
  84. package/dist/api/resources/scripts/client/Client.js +6 -6
  85. package/dist/api/resources/sites/client/Client.d.ts +2 -2
  86. package/dist/api/resources/sites/client/Client.js +6 -6
  87. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  88. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  89. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  90. package/dist/api/resources/token/client/Client.d.ts +1 -1
  91. package/dist/api/resources/token/client/Client.js +3 -3
  92. package/dist/api/resources/users/client/Client.js +5 -5
  93. package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
  94. package/dist/api/resources/webhooks/client/Client.js +7 -7
  95. package/dist/api/types/Application.d.ts +1 -10
  96. package/dist/api/types/Authorization.d.ts +1 -1
  97. package/dist/api/types/CustomCodeBlock.d.ts +1 -1
  98. package/{api/types/Assets.d.ts → dist/api/types/Domains.d.ts} +2 -2
  99. package/dist/api/types/DuplicateUserEmail.d.ts +2 -1
  100. package/{api/types/Sites.d.ts → dist/api/types/Scripts.d.ts} +1 -3
  101. package/dist/api/types/UserLimitReached.d.ts +2 -1
  102. package/dist/api/types/UsersNotEnabled.d.ts +2 -1
  103. package/dist/api/types/index.d.ts +56 -74
  104. package/dist/api/types/index.js +56 -74
  105. package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
  106. package/dist/serialization/{types/UserWebhookPayload.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +13 -5
  107. package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  108. package/dist/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
  109. package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
  110. package/dist/serialization/{types/PublishedSite.js → resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +5 -4
  111. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  112. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
  113. package/dist/serialization/resources/index.d.ts +2 -2
  114. package/dist/serialization/resources/index.js +3 -3
  115. package/dist/serialization/resources/orders/types/index.d.ts +0 -1
  116. package/dist/serialization/resources/orders/types/index.js +0 -1
  117. package/dist/serialization/resources/webhooks/client/index.d.ts +0 -1
  118. package/dist/serialization/resources/webhooks/client/index.js +0 -14
  119. package/dist/serialization/types/AccessGroup.d.ts +1 -1
  120. package/dist/serialization/types/AccessGroup.js +1 -1
  121. package/dist/serialization/types/Application.d.ts +2 -7
  122. package/dist/serialization/types/Application.js +1 -6
  123. package/dist/serialization/types/Authorization.d.ts +1 -1
  124. package/dist/serialization/types/Authorization.js +1 -1
  125. package/dist/serialization/types/CustomCodeBlock.d.ts +1 -1
  126. package/dist/serialization/types/CustomCodeBlock.js +1 -3
  127. package/dist/serialization/types/{Assets.d.ts → Domains.d.ts} +3 -3
  128. package/{serialization/types/Assets.js → dist/serialization/types/Domains.js} +4 -4
  129. package/dist/serialization/types/DuplicateUserEmail.d.ts +1 -1
  130. package/dist/serialization/types/DuplicateUserEmail.js +1 -1
  131. package/{serialization/types/Fields.d.ts → dist/serialization/types/Scripts.d.ts} +3 -3
  132. package/dist/serialization/types/{Fields.js → Scripts.js} +2 -2
  133. package/dist/serialization/types/UserLimitReached.d.ts +1 -1
  134. package/dist/serialization/types/UserLimitReached.js +1 -1
  135. package/dist/serialization/types/UsersNotEnabled.d.ts +1 -1
  136. package/dist/serialization/types/UsersNotEnabled.js +1 -1
  137. package/dist/serialization/types/index.d.ts +56 -74
  138. package/dist/serialization/types/index.js +56 -74
  139. package/dist/wrapper/WebflowClient.js +2 -2
  140. package/package.json +1 -1
  141. package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
  142. package/serialization/{types/UserWebhookPayload.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +13 -5
  143. package/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
  144. package/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
  145. package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
  146. package/{dist/serialization/types/PageSeoGraphDataOpenGraph.js → serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +5 -5
  147. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
  148. package/serialization/resources/collections/resources/items/types/index.js +1 -0
  149. package/serialization/resources/index.d.ts +2 -2
  150. package/serialization/resources/index.js +3 -3
  151. package/serialization/resources/orders/types/index.d.ts +0 -1
  152. package/serialization/resources/orders/types/index.js +0 -1
  153. package/serialization/resources/webhooks/client/index.d.ts +0 -1
  154. package/serialization/resources/webhooks/client/index.js +0 -14
  155. package/serialization/types/AccessGroup.d.ts +1 -1
  156. package/serialization/types/AccessGroup.js +1 -1
  157. package/serialization/types/Application.d.ts +2 -7
  158. package/serialization/types/Application.js +1 -6
  159. package/serialization/types/Authorization.d.ts +1 -1
  160. package/serialization/types/Authorization.js +1 -1
  161. package/serialization/types/CustomCodeBlock.d.ts +1 -1
  162. package/serialization/types/CustomCodeBlock.js +1 -3
  163. package/serialization/types/{Assets.d.ts → Domains.d.ts} +3 -3
  164. package/{dist/serialization/types/Assets.js → serialization/types/Domains.js} +4 -4
  165. package/serialization/types/DuplicateUserEmail.d.ts +1 -1
  166. package/serialization/types/DuplicateUserEmail.js +1 -1
  167. package/{dist/serialization/types/Fields.d.ts → serialization/types/Scripts.d.ts} +3 -3
  168. package/serialization/types/{Fields.js → Scripts.js} +2 -2
  169. package/serialization/types/UserLimitReached.d.ts +1 -1
  170. package/serialization/types/UserLimitReached.js +1 -1
  171. package/serialization/types/UsersNotEnabled.d.ts +1 -1
  172. package/serialization/types/UsersNotEnabled.js +1 -1
  173. package/serialization/types/index.d.ts +56 -74
  174. package/serialization/types/index.js +56 -74
  175. package/wrapper/WebflowClient.js +2 -2
  176. package/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
  177. package/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
  178. package/api/types/CollectionItemRemoved.d.ts +0 -9
  179. package/api/types/Fields.d.ts +0 -8
  180. package/api/types/FormSubmissionTrigger.d.ts +0 -10
  181. package/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
  182. package/api/types/InvalidScopes.d.ts +0 -10
  183. package/api/types/PageCreatedWebhook.d.ts +0 -12
  184. package/api/types/PageDeletedWebhook.d.ts +0 -12
  185. package/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
  186. package/api/types/PageMetadataUpdatedWebhook.js +0 -5
  187. package/api/types/PageSeoGraphData.d.ts +0 -11
  188. package/api/types/PageSeoGraphData.js +0 -5
  189. package/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
  190. package/api/types/PageSeoGraphDataOpenGraph.js +0 -5
  191. package/api/types/PageSeoGraphDataSeo.d.ts +0 -7
  192. package/api/types/PageSeoGraphDataSeo.js +0 -5
  193. package/api/types/PublishedItems.d.ts +0 -12
  194. package/api/types/PublishedItems.js +0 -5
  195. package/api/types/PublishedSite.d.ts +0 -7
  196. package/api/types/PublishedSite.js +0 -5
  197. package/api/types/RemovedItems.d.ts +0 -12
  198. package/api/types/RemovedItems.js +0 -5
  199. package/api/types/SitePublish.d.ts +0 -8
  200. package/api/types/SitePublish.js +0 -5
  201. package/api/types/SitePublishPayload.d.ts +0 -16
  202. package/api/types/SitePublishPayload.js +0 -5
  203. package/api/types/Sites.js +0 -5
  204. package/api/types/UserWebhookPayload.d.ts +0 -9
  205. package/api/types/UserWebhookPayload.js +0 -5
  206. package/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
  207. package/api/types/UserWebhookPayloadTriggerType.js +0 -11
  208. package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
  209. package/dist/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
  210. package/dist/api/types/Assets.js +0 -5
  211. package/dist/api/types/CollectionItemRemoved.d.ts +0 -9
  212. package/dist/api/types/CollectionItemRemoved.js +0 -5
  213. package/dist/api/types/Fields.d.ts +0 -8
  214. package/dist/api/types/Fields.js +0 -5
  215. package/dist/api/types/FormSubmissionTrigger.d.ts +0 -10
  216. package/dist/api/types/FormSubmissionTrigger.js +0 -5
  217. package/dist/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
  218. package/dist/api/types/FormSubmissionTriggerPayload.js +0 -5
  219. package/dist/api/types/InvalidScopes.d.ts +0 -10
  220. package/dist/api/types/InvalidScopes.js +0 -5
  221. package/dist/api/types/PageCreatedWebhook.d.ts +0 -12
  222. package/dist/api/types/PageCreatedWebhook.js +0 -5
  223. package/dist/api/types/PageDeletedWebhook.d.ts +0 -12
  224. package/dist/api/types/PageDeletedWebhook.js +0 -5
  225. package/dist/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
  226. package/dist/api/types/PageMetadataUpdatedWebhook.js +0 -5
  227. package/dist/api/types/PageSeoGraphData.d.ts +0 -11
  228. package/dist/api/types/PageSeoGraphData.js +0 -5
  229. package/dist/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
  230. package/dist/api/types/PageSeoGraphDataOpenGraph.js +0 -5
  231. package/dist/api/types/PageSeoGraphDataSeo.d.ts +0 -7
  232. package/dist/api/types/PageSeoGraphDataSeo.js +0 -5
  233. package/dist/api/types/PublishedItems.d.ts +0 -12
  234. package/dist/api/types/PublishedItems.js +0 -5
  235. package/dist/api/types/PublishedSite.d.ts +0 -7
  236. package/dist/api/types/PublishedSite.js +0 -5
  237. package/dist/api/types/RemovedItems.d.ts +0 -12
  238. package/dist/api/types/RemovedItems.js +0 -5
  239. package/dist/api/types/SitePublish.d.ts +0 -8
  240. package/dist/api/types/SitePublish.js +0 -5
  241. package/dist/api/types/SitePublishPayload.d.ts +0 -16
  242. package/dist/api/types/SitePublishPayload.js +0 -5
  243. package/dist/api/types/Sites.js +0 -5
  244. package/dist/api/types/UserWebhookPayload.d.ts +0 -9
  245. package/dist/api/types/UserWebhookPayload.js +0 -5
  246. package/dist/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
  247. package/dist/api/types/UserWebhookPayloadTriggerType.js +0 -11
  248. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
  249. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
  250. package/dist/serialization/resources/webhooks/client/list.d.ts +0 -10
  251. package/dist/serialization/resources/webhooks/client/list.js +0 -40
  252. package/dist/serialization/types/CollectionItemRemoved.d.ts +0 -13
  253. package/dist/serialization/types/CollectionItemRemoved.js +0 -34
  254. package/dist/serialization/types/FormSubmissionTrigger.d.ts +0 -13
  255. package/dist/serialization/types/FormSubmissionTrigger.js +0 -43
  256. package/dist/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
  257. package/dist/serialization/types/FormSubmissionTriggerPayload.js +0 -37
  258. package/dist/serialization/types/InvalidScopes.d.ts +0 -16
  259. package/dist/serialization/types/InvalidScopes.js +0 -37
  260. package/dist/serialization/types/PageCreatedWebhook.d.ts +0 -15
  261. package/dist/serialization/types/PageCreatedWebhook.js +0 -36
  262. package/dist/serialization/types/PageDeletedWebhook.d.ts +0 -15
  263. package/dist/serialization/types/PageDeletedWebhook.js +0 -36
  264. package/dist/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
  265. package/dist/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
  266. package/dist/serialization/types/PageSeoGraphData.d.ts +0 -13
  267. package/dist/serialization/types/PageSeoGraphData.js +0 -43
  268. package/dist/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
  269. package/dist/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
  270. package/dist/serialization/types/PageSeoGraphDataSeo.js +0 -34
  271. package/dist/serialization/types/PublishedItems.d.ts +0 -13
  272. package/dist/serialization/types/PublishedItems.js +0 -34
  273. package/dist/serialization/types/PublishedSite.d.ts +0 -12
  274. package/dist/serialization/types/RemovedItems.d.ts +0 -13
  275. package/dist/serialization/types/RemovedItems.js +0 -34
  276. package/dist/serialization/types/SitePublish.d.ts +0 -12
  277. package/dist/serialization/types/SitePublish.js +0 -42
  278. package/dist/serialization/types/SitePublishPayload.d.ts +0 -15
  279. package/dist/serialization/types/SitePublishPayload.js +0 -36
  280. package/dist/serialization/types/Sites.d.ts +0 -12
  281. package/dist/serialization/types/Sites.js +0 -42
  282. package/dist/serialization/types/UserWebhookPayload.d.ts +0 -13
  283. package/dist/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
  284. package/dist/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
  285. package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
  286. package/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
  287. package/serialization/resources/webhooks/client/list.d.ts +0 -10
  288. package/serialization/resources/webhooks/client/list.js +0 -40
  289. package/serialization/types/CollectionItemRemoved.d.ts +0 -13
  290. package/serialization/types/CollectionItemRemoved.js +0 -34
  291. package/serialization/types/FormSubmissionTrigger.d.ts +0 -13
  292. package/serialization/types/FormSubmissionTrigger.js +0 -43
  293. package/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
  294. package/serialization/types/FormSubmissionTriggerPayload.js +0 -37
  295. package/serialization/types/InvalidScopes.d.ts +0 -16
  296. package/serialization/types/InvalidScopes.js +0 -37
  297. package/serialization/types/PageCreatedWebhook.d.ts +0 -15
  298. package/serialization/types/PageCreatedWebhook.js +0 -36
  299. package/serialization/types/PageDeletedWebhook.d.ts +0 -15
  300. package/serialization/types/PageDeletedWebhook.js +0 -36
  301. package/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
  302. package/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
  303. package/serialization/types/PageSeoGraphData.d.ts +0 -13
  304. package/serialization/types/PageSeoGraphData.js +0 -43
  305. package/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
  306. package/serialization/types/PageSeoGraphDataOpenGraph.js +0 -34
  307. package/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
  308. package/serialization/types/PageSeoGraphDataSeo.js +0 -34
  309. package/serialization/types/PublishedItems.d.ts +0 -13
  310. package/serialization/types/PublishedItems.js +0 -34
  311. package/serialization/types/PublishedSite.d.ts +0 -12
  312. package/serialization/types/PublishedSite.js +0 -33
  313. package/serialization/types/RemovedItems.d.ts +0 -13
  314. package/serialization/types/RemovedItems.js +0 -34
  315. package/serialization/types/SitePublish.d.ts +0 -12
  316. package/serialization/types/SitePublish.js +0 -42
  317. package/serialization/types/SitePublishPayload.d.ts +0 -15
  318. package/serialization/types/SitePublishPayload.js +0 -36
  319. package/serialization/types/Sites.d.ts +0 -12
  320. package/serialization/types/Sites.js +0 -42
  321. package/serialization/types/UserWebhookPayload.d.ts +0 -13
  322. package/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
  323. package/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
  324. /package/api/{types/Assets.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +0 -0
  325. /package/api/{types/CollectionItemRemoved.js → resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +0 -0
  326. /package/api/types/{Fields.js → Domains.js} +0 -0
  327. /package/api/types/{FormSubmissionTrigger.js → Scripts.js} +0 -0
  328. /package/{api/types/FormSubmissionTriggerPayload.js → dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js} +0 -0
  329. /package/{api/types/InvalidScopes.js → dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +0 -0
  330. /package/{api/types/PageCreatedWebhook.js → dist/api/types/Domains.js} +0 -0
  331. /package/{api/types/PageDeletedWebhook.js → dist/api/types/Scripts.js} +0 -0
@@ -86,7 +86,7 @@ class Items {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "webflow-api",
89
- "X-Fern-SDK-Version": "v2.1.1",
89
+ "X-Fern-SDK-Version": "v2.2.0",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -139,7 +139,7 @@ class Items {
139
139
  });
140
140
  }
141
141
  /**
142
- * Create Item in a Collection. </br></br> Required scope | `CMS:write`
142
+ * Create Item in a Collection.</br></br> To create items across multiple locales, <a href="https://developers.webflow.com/data/reference/create-item-for-multiple-locales"> please use this endpoint.</a> </br></br> Required scope | `CMS:write`
143
143
  * @throws {@link Webflow.BadRequestError}
144
144
  * @throws {@link Webflow.UnauthorizedError}
145
145
  * @throws {@link Webflow.NotFoundError}
@@ -148,14 +148,16 @@ class Items {
148
148
  *
149
149
  * @example
150
150
  * await webflow.collections.items.createItem("collection_id", {
151
- * id: "580e64008c9a982ac9b8b754",
151
+ * id: "42b720ef280c7a7a3be8cabe",
152
152
  * cmsLocaleId: "653ad57de882f528b32e810e",
153
- * lastPublished: "2023-03-17T18:47:35.560Z",
154
- * lastUpdated: "2023-03-17T18:47:35.560Z",
155
- * createdOn: "2023-03-17T18:47:35.560Z",
153
+ * lastPublished: "2022-11-29T16:22:43.159Z",
154
+ * lastUpdated: "2022-11-17T17:19:43.282Z",
155
+ * createdOn: "2022-11-17T17:11:57.148Z",
156
+ * isArchived: false,
157
+ * isDraft: false,
156
158
  * fieldData: {
157
- * name: "My new item",
158
- * slug: "my-new-item"
159
+ * name: "Pan Galactic Gargle Blaster Recipe",
160
+ * slug: "pan-galactic-gargle-blaster"
159
161
  * }
160
162
  * })
161
163
  */
@@ -169,7 +171,7 @@ class Items {
169
171
  Authorization: yield this._getAuthorizationHeader(),
170
172
  "X-Fern-Language": "JavaScript",
171
173
  "X-Fern-SDK-Name": "webflow-api",
172
- "X-Fern-SDK-Version": "v2.1.1",
174
+ "X-Fern-SDK-Version": "v2.2.0",
173
175
  "X-Fern-Runtime": core.RUNTIME.type,
174
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
177
  },
@@ -216,7 +218,7 @@ class Items {
216
218
  });
217
219
  }
218
220
  /**
219
- * Create live Item in a Collection. This Item will be published to the live site. </br></br> Required scope | `CMS:write`
221
+ * Create live Item in a Collection. This Item will be published to the live site. </br></br> To create items across multiple locales, <a href="https://developers.webflow.com/data/reference/create-item-for-multiple-locales"> please use this endpoint.</a> </br></br> Required scope | `CMS:write`
220
222
  * @throws {@link Webflow.BadRequestError}
221
223
  * @throws {@link Webflow.UnauthorizedError}
222
224
  * @throws {@link Webflow.NotFoundError}
@@ -225,8 +227,86 @@ class Items {
225
227
  *
226
228
  * @example
227
229
  * await webflow.collections.items.createItemLive("collection_id", {
228
- * id: "580e64008c9a982ac9b8b754",
230
+ * id: "42b720ef280c7a7a3be8cabe",
229
231
  * cmsLocaleId: "653ad57de882f528b32e810e",
232
+ * lastPublished: "2022-11-29T16:22:43.159Z",
233
+ * lastUpdated: "2022-11-17T17:19:43.282Z",
234
+ * createdOn: "2022-11-17T17:11:57.148Z",
235
+ * isArchived: false,
236
+ * isDraft: false,
237
+ * fieldData: {
238
+ * name: "Pan Galactic Gargle Blaster Recipe",
239
+ * slug: "pan-galactic-gargle-blaster"
240
+ * }
241
+ * })
242
+ */
243
+ createItemLive(collectionId, request, requestOptions) {
244
+ var _a;
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ const _response = yield core.fetcher({
247
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${collectionId}/items/live`),
248
+ method: "POST",
249
+ headers: {
250
+ Authorization: yield this._getAuthorizationHeader(),
251
+ "X-Fern-Language": "JavaScript",
252
+ "X-Fern-SDK-Name": "webflow-api",
253
+ "X-Fern-SDK-Version": "v2.2.0",
254
+ "X-Fern-Runtime": core.RUNTIME.type,
255
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
256
+ },
257
+ contentType: "application/json",
258
+ body: yield serializers.CollectionItem.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
259
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
260
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
261
+ });
262
+ if (_response.ok) {
263
+ return;
264
+ }
265
+ if (_response.error.reason === "status-code") {
266
+ switch (_response.error.statusCode) {
267
+ case 400:
268
+ throw new Webflow.BadRequestError(_response.error.body);
269
+ case 401:
270
+ throw new Webflow.UnauthorizedError(_response.error.body);
271
+ case 404:
272
+ throw new Webflow.NotFoundError(_response.error.body);
273
+ case 429:
274
+ throw new Webflow.TooManyRequestsError(_response.error.body);
275
+ case 500:
276
+ throw new Webflow.InternalServerError(_response.error.body);
277
+ default:
278
+ throw new errors.WebflowError({
279
+ statusCode: _response.error.statusCode,
280
+ body: _response.error.body,
281
+ });
282
+ }
283
+ }
284
+ switch (_response.error.reason) {
285
+ case "non-json":
286
+ throw new errors.WebflowError({
287
+ statusCode: _response.error.statusCode,
288
+ body: _response.error.rawBody,
289
+ });
290
+ case "timeout":
291
+ throw new errors.WebflowTimeoutError();
292
+ case "unknown":
293
+ throw new errors.WebflowError({
294
+ message: _response.error.errorMessage,
295
+ });
296
+ }
297
+ });
298
+ }
299
+ /**
300
+ * Create single Item in a Collection with multiple corresponding locales. </br></br> Required scope | `CMS:write`
301
+ * @throws {@link Webflow.BadRequestError}
302
+ * @throws {@link Webflow.UnauthorizedError}
303
+ * @throws {@link Webflow.NotFoundError}
304
+ * @throws {@link Webflow.TooManyRequestsError}
305
+ * @throws {@link Webflow.InternalServerError}
306
+ *
307
+ * @example
308
+ * await webflow.collections.items.createItemForMultipleLocales("collection_id", {
309
+ * id: "580e64008c9a982ac9b8b754",
230
310
  * lastPublished: "2023-03-17T18:47:35.560Z",
231
311
  * lastUpdated: "2023-03-17T18:47:35.560Z",
232
312
  * createdOn: "2023-03-17T18:47:35.560Z",
@@ -236,22 +316,24 @@ class Items {
236
316
  * }
237
317
  * })
238
318
  */
239
- createItemLive(collectionId, request, requestOptions) {
319
+ createItemForMultipleLocales(collectionId, request, requestOptions) {
240
320
  var _a;
241
321
  return __awaiter(this, void 0, void 0, function* () {
242
322
  const _response = yield core.fetcher({
243
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${collectionId}/items/live`),
323
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${collectionId}/items/bulk`),
244
324
  method: "POST",
245
325
  headers: {
246
326
  Authorization: yield this._getAuthorizationHeader(),
247
327
  "X-Fern-Language": "JavaScript",
248
328
  "X-Fern-SDK-Name": "webflow-api",
249
- "X-Fern-SDK-Version": "v2.1.1",
329
+ "X-Fern-SDK-Version": "v2.2.0",
250
330
  "X-Fern-Runtime": core.RUNTIME.type,
251
331
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
332
  },
253
333
  contentType: "application/json",
254
- body: yield serializers.CollectionItem.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
334
+ body: yield serializers.collections.BulkCollectionItem.jsonOrThrow(request, {
335
+ unrecognizedObjectKeys: "strip",
336
+ }),
255
337
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
256
338
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
257
339
  });
@@ -318,7 +400,7 @@ class Items {
318
400
  Authorization: yield this._getAuthorizationHeader(),
319
401
  "X-Fern-Language": "JavaScript",
320
402
  "X-Fern-SDK-Name": "webflow-api",
321
- "X-Fern-SDK-Version": "v2.1.1",
403
+ "X-Fern-SDK-Version": "v2.2.0",
322
404
  "X-Fern-Runtime": core.RUNTIME.type,
323
405
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
406
  },
@@ -401,7 +483,7 @@ class Items {
401
483
  Authorization: yield this._getAuthorizationHeader(),
402
484
  "X-Fern-Language": "JavaScript",
403
485
  "X-Fern-SDK-Name": "webflow-api",
404
- "X-Fern-SDK-Version": "v2.1.1",
486
+ "X-Fern-SDK-Version": "v2.2.0",
405
487
  "X-Fern-Runtime": core.RUNTIME.type,
406
488
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
489
  },
@@ -457,14 +539,16 @@ class Items {
457
539
  *
458
540
  * @example
459
541
  * await webflow.collections.items.updateItem("collection_id", "item_id", {
460
- * id: "580e64008c9a982ac9b8b754",
542
+ * id: "42b720ef280c7a7a3be8cabe",
461
543
  * cmsLocaleId: "653ad57de882f528b32e810e",
462
- * lastPublished: "2023-03-17T18:47:35.560Z",
463
- * lastUpdated: "2023-03-17T18:47:35.560Z",
464
- * createdOn: "2023-03-17T18:47:35.560Z",
544
+ * lastPublished: "2022-11-29T16:22:43.159Z",
545
+ * lastUpdated: "2022-11-17T17:19:43.282Z",
546
+ * createdOn: "2022-11-17T17:11:57.148Z",
547
+ * isArchived: false,
548
+ * isDraft: false,
465
549
  * fieldData: {
466
- * name: "My new item",
467
- * slug: "my-new-item"
550
+ * name: "Pan Galactic Gargle Blaster Recipe",
551
+ * slug: "pan-galactic-gargle-blaster"
468
552
  * }
469
553
  * })
470
554
  */
@@ -478,7 +562,7 @@ class Items {
478
562
  Authorization: yield this._getAuthorizationHeader(),
479
563
  "X-Fern-Language": "JavaScript",
480
564
  "X-Fern-SDK-Name": "webflow-api",
481
- "X-Fern-SDK-Version": "v2.1.1",
565
+ "X-Fern-SDK-Version": "v2.2.0",
482
566
  "X-Fern-Runtime": core.RUNTIME.type,
483
567
  "X-Fern-Runtime-Version": core.RUNTIME.version,
484
568
  },
@@ -551,7 +635,7 @@ class Items {
551
635
  Authorization: yield this._getAuthorizationHeader(),
552
636
  "X-Fern-Language": "JavaScript",
553
637
  "X-Fern-SDK-Name": "webflow-api",
554
- "X-Fern-SDK-Version": "v2.1.1",
638
+ "X-Fern-SDK-Version": "v2.2.0",
555
639
  "X-Fern-Runtime": core.RUNTIME.type,
556
640
  "X-Fern-Runtime-Version": core.RUNTIME.version,
557
641
  },
@@ -606,14 +690,16 @@ class Items {
606
690
  *
607
691
  * @example
608
692
  * await webflow.collections.items.updateItemLive("collection_id", "item_id", {
609
- * id: "580e64008c9a982ac9b8b754",
693
+ * id: "42b720ef280c7a7a3be8cabe",
610
694
  * cmsLocaleId: "653ad57de882f528b32e810e",
611
- * lastPublished: "2023-03-17T18:47:35.560Z",
612
- * lastUpdated: "2023-03-17T18:47:35.560Z",
613
- * createdOn: "2023-03-17T18:47:35.560Z",
695
+ * lastPublished: "2022-11-29T16:22:43.159Z",
696
+ * lastUpdated: "2022-11-17T17:19:43.282Z",
697
+ * createdOn: "2022-11-17T17:11:57.148Z",
698
+ * isArchived: false,
699
+ * isDraft: false,
614
700
  * fieldData: {
615
- * name: "My new item",
616
- * slug: "my-new-item"
701
+ * name: "Pan Galactic Gargle Blaster Recipe",
702
+ * slug: "pan-galactic-gargle-blaster"
617
703
  * }
618
704
  * })
619
705
  */
@@ -627,7 +713,7 @@ class Items {
627
713
  Authorization: yield this._getAuthorizationHeader(),
628
714
  "X-Fern-Language": "JavaScript",
629
715
  "X-Fern-SDK-Name": "webflow-api",
630
- "X-Fern-SDK-Version": "v2.1.1",
716
+ "X-Fern-SDK-Version": "v2.2.0",
631
717
  "X-Fern-Runtime": core.RUNTIME.type,
632
718
  "X-Fern-Runtime-Version": core.RUNTIME.version,
633
719
  },
@@ -702,7 +788,7 @@ class Items {
702
788
  Authorization: yield this._getAuthorizationHeader(),
703
789
  "X-Fern-Language": "JavaScript",
704
790
  "X-Fern-SDK-Name": "webflow-api",
705
- "X-Fern-SDK-Version": "v2.1.1",
791
+ "X-Fern-SDK-Version": "v2.2.0",
706
792
  "X-Fern-Runtime": core.RUNTIME.type,
707
793
  "X-Fern-Runtime-Version": core.RUNTIME.version,
708
794
  },
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "../../../../../..";
5
+ /**
6
+ * @example
7
+ * {
8
+ * id: "580e64008c9a982ac9b8b754",
9
+ * lastPublished: "2023-03-17T18:47:35.560Z",
10
+ * lastUpdated: "2023-03-17T18:47:35.560Z",
11
+ * createdOn: "2023-03-17T18:47:35.560Z",
12
+ * fieldData: {
13
+ * name: "My new item",
14
+ * slug: "my-new-item"
15
+ * }
16
+ * }
17
+ */
18
+ export interface BulkCollectionItem {
19
+ /** Unique identifier for the Item */
20
+ id: string;
21
+ /** Array of identifiers for the locales where the item will be created */
22
+ cmsLocaleIds?: string[];
23
+ /** The date the item was last published */
24
+ lastPublished?: string;
25
+ /** The date the item was last updated */
26
+ lastUpdated?: string;
27
+ /** The date the item was created */
28
+ createdOn?: string;
29
+ /** Boolean determining if the Item is set to archived */
30
+ isArchived?: boolean;
31
+ /** Boolean determining if the Item is set to draft */
32
+ isDraft?: boolean;
33
+ fieldData?: Webflow.collections.BulkCollectionItemFieldData;
34
+ }
@@ -1,4 +1,5 @@
1
1
  export { ItemsListItemsRequest } from "./ItemsListItemsRequest";
2
+ export { BulkCollectionItem } from "./BulkCollectionItem";
2
3
  export { ItemsGetItemRequest } from "./ItemsGetItemRequest";
3
4
  export { ItemsDeleteItemRequest } from "./ItemsDeleteItemRequest";
4
5
  export { ItemsPublishItemRequest } from "./ItemsPublishItemRequest";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface BulkCollectionItemFieldData {
5
+ /** Name of the Item */
6
+ name?: string;
7
+ /** URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. */
8
+ slug?: string;
9
+ }
@@ -1 +1,2 @@
1
+ export * from "./BulkCollectionItemFieldData";
1
2
  export * from "./ItemsPublishItemResponse";
@@ -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("./BulkCollectionItemFieldData"), exports);
17
18
  __exportStar(require("./ItemsPublishItemResponse"), exports);
@@ -74,7 +74,7 @@ class Ecommerce {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "v2.1.1",
77
+ "X-Fern-SDK-Version": "v2.2.0",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -80,7 +80,7 @@ class Forms {
80
80
  Authorization: yield this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "webflow-api",
83
- "X-Fern-SDK-Version": "v2.1.1",
83
+ "X-Fern-SDK-Version": "v2.2.0",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
@@ -158,7 +158,7 @@ class Forms {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.1.1",
161
+ "X-Fern-SDK-Version": "v2.2.0",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -233,7 +233,7 @@ class Forms {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
234
  "X-Fern-Language": "JavaScript",
235
235
  "X-Fern-SDK-Name": "webflow-api",
236
- "X-Fern-SDK-Version": "v2.1.1",
236
+ "X-Fern-SDK-Version": "v2.2.0",
237
237
  "X-Fern-Runtime": core.RUNTIME.type,
238
238
  "X-Fern-Runtime-Version": core.RUNTIME.version,
239
239
  },
@@ -308,7 +308,7 @@ class Forms {
308
308
  Authorization: yield this._getAuthorizationHeader(),
309
309
  "X-Fern-Language": "JavaScript",
310
310
  "X-Fern-SDK-Name": "webflow-api",
311
- "X-Fern-SDK-Version": "v2.1.1",
311
+ "X-Fern-SDK-Version": "v2.2.0",
312
312
  "X-Fern-Runtime": core.RUNTIME.type,
313
313
  "X-Fern-Runtime-Version": core.RUNTIME.version,
314
314
  },
@@ -384,7 +384,7 @@ class Forms {
384
384
  Authorization: yield this._getAuthorizationHeader(),
385
385
  "X-Fern-Language": "JavaScript",
386
386
  "X-Fern-SDK-Name": "webflow-api",
387
- "X-Fern-SDK-Version": "v2.1.1",
387
+ "X-Fern-SDK-Version": "v2.2.0",
388
388
  "X-Fern-Runtime": core.RUNTIME.type,
389
389
  "X-Fern-Runtime-Version": core.RUNTIME.version,
390
390
  },
@@ -14,16 +14,16 @@ export * from "./inventory/types";
14
14
  export * as token from "./token";
15
15
  export * as sites from "./sites";
16
16
  export * as scripts from "./scripts";
17
- export * as webhooks from "./webhooks";
18
17
  export * as assets from "./assets";
18
+ export * as webhooks from "./webhooks";
19
19
  export * as forms from "./forms";
20
20
  export * as ecommerce from "./ecommerce";
21
21
  export * from "./sites/client/requests";
22
22
  export * from "./collections/client/requests";
23
23
  export * from "./pages/client/requests";
24
24
  export * from "./scripts/client/requests";
25
- export * from "./webhooks/client/requests";
26
25
  export * from "./assets/client/requests";
26
+ export * from "./webhooks/client/requests";
27
27
  export * from "./forms/client/requests";
28
28
  export * from "./users/client/requests";
29
29
  export * from "./accessGroups/client/requests";
@@ -26,7 +26,7 @@ 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.assets = exports.webhooks = exports.scripts = exports.sites = exports.token = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.collections = void 0;
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
30
  exports.collections = __importStar(require("./collections"));
31
31
  exports.pages = __importStar(require("./pages"));
32
32
  __exportStar(require("./pages/types"), exports);
@@ -43,16 +43,16 @@ __exportStar(require("./inventory/types"), exports);
43
43
  exports.token = __importStar(require("./token"));
44
44
  exports.sites = __importStar(require("./sites"));
45
45
  exports.scripts = __importStar(require("./scripts"));
46
- exports.webhooks = __importStar(require("./webhooks"));
47
46
  exports.assets = __importStar(require("./assets"));
47
+ exports.webhooks = __importStar(require("./webhooks"));
48
48
  exports.forms = __importStar(require("./forms"));
49
49
  exports.ecommerce = __importStar(require("./ecommerce"));
50
50
  __exportStar(require("./sites/client/requests"), exports);
51
51
  __exportStar(require("./collections/client/requests"), exports);
52
52
  __exportStar(require("./pages/client/requests"), exports);
53
53
  __exportStar(require("./scripts/client/requests"), exports);
54
- __exportStar(require("./webhooks/client/requests"), exports);
55
54
  __exportStar(require("./assets/client/requests"), exports);
55
+ __exportStar(require("./webhooks/client/requests"), exports);
56
56
  __exportStar(require("./forms/client/requests"), exports);
57
57
  __exportStar(require("./users/client/requests"), exports);
58
58
  __exportStar(require("./accessGroups/client/requests"), exports);
@@ -74,7 +74,7 @@ class Inventory {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "v2.1.1",
77
+ "X-Fern-SDK-Version": "v2.2.0",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -158,7 +158,7 @@ class Inventory {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.1.1",
161
+ "X-Fern-SDK-Version": "v2.2.0",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -85,7 +85,7 @@ class Orders {
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": "v2.1.1",
88
+ "X-Fern-SDK-Version": "v2.2.0",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -166,7 +166,7 @@ class Orders {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "webflow-api",
169
- "X-Fern-SDK-Version": "v2.1.1",
169
+ "X-Fern-SDK-Version": "v2.2.0",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -251,7 +251,7 @@ class Orders {
251
251
  Authorization: yield this._getAuthorizationHeader(),
252
252
  "X-Fern-Language": "JavaScript",
253
253
  "X-Fern-SDK-Name": "webflow-api",
254
- "X-Fern-SDK-Version": "v2.1.1",
254
+ "X-Fern-SDK-Version": "v2.2.0",
255
255
  "X-Fern-Runtime": core.RUNTIME.type,
256
256
  "X-Fern-Runtime-Version": core.RUNTIME.version,
257
257
  },
@@ -332,7 +332,7 @@ class Orders {
332
332
  Authorization: yield this._getAuthorizationHeader(),
333
333
  "X-Fern-Language": "JavaScript",
334
334
  "X-Fern-SDK-Name": "webflow-api",
335
- "X-Fern-SDK-Version": "v2.1.1",
335
+ "X-Fern-SDK-Version": "v2.2.0",
336
336
  "X-Fern-Runtime": core.RUNTIME.type,
337
337
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
338
  },
@@ -415,7 +415,7 @@ class Orders {
415
415
  Authorization: yield this._getAuthorizationHeader(),
416
416
  "X-Fern-Language": "JavaScript",
417
417
  "X-Fern-SDK-Name": "webflow-api",
418
- "X-Fern-SDK-Version": "v2.1.1",
418
+ "X-Fern-SDK-Version": "v2.2.0",
419
419
  "X-Fern-Runtime": core.RUNTIME.type,
420
420
  "X-Fern-Runtime-Version": core.RUNTIME.version,
421
421
  },
@@ -496,7 +496,7 @@ class Orders {
496
496
  Authorization: yield this._getAuthorizationHeader(),
497
497
  "X-Fern-Language": "JavaScript",
498
498
  "X-Fern-SDK-Name": "webflow-api",
499
- "X-Fern-SDK-Version": "v2.1.1",
499
+ "X-Fern-SDK-Version": "v2.2.0",
500
500
  "X-Fern-Runtime": core.RUNTIME.type,
501
501
  "X-Fern-Runtime-Version": core.RUNTIME.version,
502
502
  },
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Webflow from "../../../..";
5
4
  /**
6
5
  * @example
7
6
  * {}
@@ -10,7 +9,7 @@ export interface OrdersListRequest {
10
9
  /**
11
10
  * Filter the orders by status
12
11
  */
13
- status?: Webflow.OrdersListRequestStatus;
12
+ status?: string;
14
13
  /**
15
14
  * Offset used for pagination if the results have more than limit records
16
15
  */
@@ -1,2 +1 @@
1
- export * from "./OrdersListRequestStatus";
2
1
  export * from "./OrdersRefundRequestReason";
@@ -14,5 +14,4 @@ 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);
18
17
  __exportStar(require("./OrdersRefundRequestReason"), exports);
@@ -93,7 +93,7 @@ class Pages {
93
93
  Authorization: yield this._getAuthorizationHeader(),
94
94
  "X-Fern-Language": "JavaScript",
95
95
  "X-Fern-SDK-Name": "webflow-api",
96
- "X-Fern-SDK-Version": "v2.1.1",
96
+ "X-Fern-SDK-Version": "v2.2.0",
97
97
  "X-Fern-Runtime": core.RUNTIME.type,
98
98
  "X-Fern-Runtime-Version": core.RUNTIME.version,
99
99
  },
@@ -171,7 +171,7 @@ class Pages {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "webflow-api",
174
- "X-Fern-SDK-Version": "v2.1.1",
174
+ "X-Fern-SDK-Version": "v2.2.0",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -274,7 +274,7 @@ class Pages {
274
274
  Authorization: yield this._getAuthorizationHeader(),
275
275
  "X-Fern-Language": "JavaScript",
276
276
  "X-Fern-SDK-Name": "webflow-api",
277
- "X-Fern-SDK-Version": "v2.1.1",
277
+ "X-Fern-SDK-Version": "v2.2.0",
278
278
  "X-Fern-Runtime": core.RUNTIME.type,
279
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
280
280
  },
@@ -354,7 +354,7 @@ class Pages {
354
354
  Authorization: yield this._getAuthorizationHeader(),
355
355
  "X-Fern-Language": "JavaScript",
356
356
  "X-Fern-SDK-Name": "webflow-api",
357
- "X-Fern-SDK-Version": "v2.1.1",
357
+ "X-Fern-SDK-Version": "v2.2.0",
358
358
  "X-Fern-Runtime": core.RUNTIME.type,
359
359
  "X-Fern-Runtime-Version": core.RUNTIME.version,
360
360
  },
@@ -439,7 +439,7 @@ class Pages {
439
439
  Authorization: yield this._getAuthorizationHeader(),
440
440
  "X-Fern-Language": "JavaScript",
441
441
  "X-Fern-SDK-Name": "webflow-api",
442
- "X-Fern-SDK-Version": "v2.1.1",
442
+ "X-Fern-SDK-Version": "v2.2.0",
443
443
  "X-Fern-Runtime": core.RUNTIME.type,
444
444
  "X-Fern-Runtime-Version": core.RUNTIME.version,
445
445
  },
@@ -18,7 +18,7 @@ export declare class Scripts {
18
18
  protected readonly _options: Scripts.Options;
19
19
  constructor(_options: Scripts.Options);
20
20
  /**
21
- * Get all registered scripts that have been applied to a specific Page. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Required scope | `custom_code:read`
21
+ * Get all registered scripts that have been applied to a specific Page. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read`
22
22
  * @throws {@link Webflow.BadRequestError}
23
23
  * @throws {@link Webflow.UnauthorizedError}
24
24
  * @throws {@link Webflow.NotFoundError}
@@ -30,7 +30,7 @@ export declare class Scripts {
30
30
  */
31
31
  getCustomCode(pageId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
32
32
  /**
33
- * Add a registered script to a Page. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Required scope | `custom_code:write`
33
+ * Add a registered script to a Page. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
34
34
  * @throws {@link Webflow.BadRequestError}
35
35
  * @throws {@link Webflow.UnauthorizedError}
36
36
  * @throws {@link Webflow.NotFoundError}
@@ -59,7 +59,7 @@ export declare class Scripts {
59
59
  */
60
60
  upsertCustomCode(pageId: string, request: Webflow.ScriptApplyList, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
61
61
  /**
62
- * Delete the custom code block that an app has created for a page </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Required scope | `custom_code:write`
62
+ * Delete the custom code block that an app has created for a page </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
63
63
  * @throws {@link Webflow.BadRequestError}
64
64
  * @throws {@link Webflow.UnauthorizedError}
65
65
  * @throws {@link Webflow.NotFoundError}