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
@@ -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}
@@ -50,7 +50,7 @@ class Scripts {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
53
- * 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`
53
+ * 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`
54
54
  * @throws {@link Webflow.BadRequestError}
55
55
  * @throws {@link Webflow.UnauthorizedError}
56
56
  * @throws {@link Webflow.NotFoundError}
@@ -70,7 +70,7 @@ class Scripts {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "v2.1.1",
73
+ "X-Fern-SDK-Version": "v2.2.0",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -122,7 +122,7 @@ class Scripts {
122
122
  });
123
123
  }
124
124
  /**
125
- * 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`
125
+ * 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`
126
126
  * @throws {@link Webflow.BadRequestError}
127
127
  * @throws {@link Webflow.UnauthorizedError}
128
128
  * @throws {@link Webflow.NotFoundError}
@@ -159,7 +159,7 @@ class Scripts {
159
159
  Authorization: yield this._getAuthorizationHeader(),
160
160
  "X-Fern-Language": "JavaScript",
161
161
  "X-Fern-SDK-Name": "webflow-api",
162
- "X-Fern-SDK-Version": "v2.1.1",
162
+ "X-Fern-SDK-Version": "v2.2.0",
163
163
  "X-Fern-Runtime": core.RUNTIME.type,
164
164
  "X-Fern-Runtime-Version": core.RUNTIME.version,
165
165
  },
@@ -212,7 +212,7 @@ class Scripts {
212
212
  });
213
213
  }
214
214
  /**
215
- * 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`
215
+ * 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`
216
216
  * @throws {@link Webflow.BadRequestError}
217
217
  * @throws {@link Webflow.UnauthorizedError}
218
218
  * @throws {@link Webflow.NotFoundError}
@@ -232,7 +232,7 @@ class Scripts {
232
232
  Authorization: yield this._getAuthorizationHeader(),
233
233
  "X-Fern-Language": "JavaScript",
234
234
  "X-Fern-SDK-Name": "webflow-api",
235
- "X-Fern-SDK-Version": "v2.1.1",
235
+ "X-Fern-SDK-Version": "v2.2.0",
236
236
  "X-Fern-Runtime": core.RUNTIME.type,
237
237
  "X-Fern-Runtime-Version": core.RUNTIME.version,
238
238
  },
@@ -110,8 +110,8 @@ export declare class Products {
110
110
  * slug: "crimson-red"
111
111
  * }, {
112
112
  * id: "forrest-green",
113
- * name: "Forrst Green",
114
- * slug: "forrest-green"
113
+ * name: "name",
114
+ * slug: "slug"
115
115
  * }, {
116
116
  * id: "id",
117
117
  * name: "name",
@@ -82,7 +82,7 @@ class Products {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "webflow-api",
85
- "X-Fern-SDK-Version": "v2.1.1",
85
+ "X-Fern-SDK-Version": "v2.2.0",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -169,7 +169,7 @@ class Products {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "webflow-api",
172
- "X-Fern-SDK-Version": "v2.1.1",
172
+ "X-Fern-SDK-Version": "v2.2.0",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -250,7 +250,7 @@ class Products {
250
250
  Authorization: yield this._getAuthorizationHeader(),
251
251
  "X-Fern-Language": "JavaScript",
252
252
  "X-Fern-SDK-Name": "webflow-api",
253
- "X-Fern-SDK-Version": "v2.1.1",
253
+ "X-Fern-SDK-Version": "v2.2.0",
254
254
  "X-Fern-Runtime": core.RUNTIME.type,
255
255
  "X-Fern-Runtime-Version": core.RUNTIME.version,
256
256
  },
@@ -344,8 +344,8 @@ class Products {
344
344
  * slug: "crimson-red"
345
345
  * }, {
346
346
  * id: "forrest-green",
347
- * name: "Forrst Green",
348
- * slug: "forrest-green"
347
+ * name: "name",
348
+ * slug: "slug"
349
349
  * }, {
350
350
  * id: "id",
351
351
  * name: "name",
@@ -374,7 +374,7 @@ class Products {
374
374
  Authorization: yield this._getAuthorizationHeader(),
375
375
  "X-Fern-Language": "JavaScript",
376
376
  "X-Fern-SDK-Name": "webflow-api",
377
- "X-Fern-SDK-Version": "v2.1.1",
377
+ "X-Fern-SDK-Version": "v2.2.0",
378
378
  "X-Fern-Runtime": core.RUNTIME.type,
379
379
  "X-Fern-Runtime-Version": core.RUNTIME.version,
380
380
  },
@@ -473,7 +473,7 @@ class Products {
473
473
  Authorization: yield this._getAuthorizationHeader(),
474
474
  "X-Fern-Language": "JavaScript",
475
475
  "X-Fern-SDK-Name": "webflow-api",
476
- "X-Fern-SDK-Version": "v2.1.1",
476
+ "X-Fern-SDK-Version": "v2.2.0",
477
477
  "X-Fern-Runtime": core.RUNTIME.type,
478
478
  "X-Fern-Runtime-Version": core.RUNTIME.version,
479
479
  },
@@ -570,7 +570,7 @@ class Products {
570
570
  Authorization: yield this._getAuthorizationHeader(),
571
571
  "X-Fern-Language": "JavaScript",
572
572
  "X-Fern-SDK-Name": "webflow-api",
573
- "X-Fern-SDK-Version": "v2.1.1",
573
+ "X-Fern-SDK-Version": "v2.2.0",
574
574
  "X-Fern-Runtime": core.RUNTIME.type,
575
575
  "X-Fern-Runtime-Version": core.RUNTIME.version,
576
576
  },
@@ -30,8 +30,8 @@ import * as Webflow from "../../../..";
30
30
  * slug: "crimson-red"
31
31
  * }, {
32
32
  * id: "forrest-green",
33
- * name: "Forrst Green",
34
- * slug: "forrest-green"
33
+ * name: "name",
34
+ * slug: "slug"
35
35
  * }, {
36
36
  * id: "id",
37
37
  * name: "name",
@@ -18,7 +18,7 @@ export declare class Scripts {
18
18
  protected readonly _options: Scripts.Options;
19
19
  constructor(_options: Scripts.Options);
20
20
  /**
21
- * List of scripts registered to a Site. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:read`
21
+ * List of scripts registered to a Site. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> 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
  list(siteId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.RegisteredScriptList>;
32
32
  /**
33
- * Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:write`
33
+ * Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> Required scope | `custom_code:write`
34
34
  * @throws {@link Webflow.BadRequestError}
35
35
  * @throws {@link Webflow.UnauthorizedError}
36
36
  * @throws {@link Webflow.NotFoundError}
@@ -47,7 +47,7 @@ export declare class Scripts {
47
47
  */
48
48
  registerHosted(siteId: string, request: Webflow.CustomCodeHostedRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeResponse>;
49
49
  /**
50
- * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
50
+ * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
51
51
  * @throws {@link Webflow.BadRequestError}
52
52
  * @throws {@link Webflow.UnauthorizedError}
53
53
  * @throws {@link Webflow.NotFoundError}
@@ -50,7 +50,7 @@ class Scripts {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
53
- * List of scripts registered to a Site. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:read`
53
+ * List of scripts registered to a Site. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> Required scope | `custom_code:read`
54
54
  * @throws {@link Webflow.BadRequestError}
55
55
  * @throws {@link Webflow.UnauthorizedError}
56
56
  * @throws {@link Webflow.NotFoundError}
@@ -70,7 +70,7 @@ class Scripts {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "v2.1.1",
73
+ "X-Fern-SDK-Version": "v2.2.0",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -122,7 +122,7 @@ class Scripts {
122
122
  });
123
123
  }
124
124
  /**
125
- * Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:write`
125
+ * Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> Required scope | `custom_code:write`
126
126
  * @throws {@link Webflow.BadRequestError}
127
127
  * @throws {@link Webflow.UnauthorizedError}
128
128
  * @throws {@link Webflow.NotFoundError}
@@ -147,7 +147,7 @@ class Scripts {
147
147
  Authorization: yield this._getAuthorizationHeader(),
148
148
  "X-Fern-Language": "JavaScript",
149
149
  "X-Fern-SDK-Name": "webflow-api",
150
- "X-Fern-SDK-Version": "v2.1.1",
150
+ "X-Fern-SDK-Version": "v2.2.0",
151
151
  "X-Fern-Runtime": core.RUNTIME.type,
152
152
  "X-Fern-Runtime-Version": core.RUNTIME.version,
153
153
  },
@@ -200,7 +200,7 @@ class Scripts {
200
200
  });
201
201
  }
202
202
  /**
203
- * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
203
+ * Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
204
204
  * @throws {@link Webflow.BadRequestError}
205
205
  * @throws {@link Webflow.UnauthorizedError}
206
206
  * @throws {@link Webflow.NotFoundError}
@@ -224,7 +224,7 @@ class Scripts {
224
224
  Authorization: yield this._getAuthorizationHeader(),
225
225
  "X-Fern-Language": "JavaScript",
226
226
  "X-Fern-SDK-Name": "webflow-api",
227
- "X-Fern-SDK-Version": "v2.1.1",
227
+ "X-Fern-SDK-Version": "v2.2.0",
228
228
  "X-Fern-Runtime": core.RUNTIME.type,
229
229
  "X-Fern-Runtime-Version": core.RUNTIME.version,
230
230
  },
@@ -30,7 +30,7 @@ export declare class Sites {
30
30
  * @example
31
31
  * await webflow.sites.list()
32
32
  */
33
- list(requestOptions?: Sites.RequestOptions): Promise<Webflow.Sites>;
33
+ list(requestOptions?: Sites.RequestOptions): Promise<Webflow.Site>;
34
34
  /**
35
35
  * Get a site by site id </br></br> Required scope | `sites:read`
36
36
  * @throws {@link Webflow.BadRequestError}
@@ -54,7 +54,7 @@ export declare class Sites {
54
54
  * @example
55
55
  * await webflow.sites.getCustomDomain("site_id")
56
56
  */
57
- getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise<Webflow.Domain>;
57
+ getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise<Webflow.Domains>;
58
58
  /**
59
59
  * Publish a site to one more more domains. </br></br> Required scope | `sites:write`
60
60
  * @throws {@link Webflow.BadRequestError}