webflow-api 2.1.2 → 2.2.1

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 (321) 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 +2 -2
  5. package/api/resources/assets/client/Client.js +10 -10
  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 +32 -24
  10. package/api/resources/collections/resources/items/client/Client.js +42 -34
  11. package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +1 -1
  12. package/api/resources/ecommerce/client/Client.js +1 -1
  13. package/api/resources/forms/client/Client.js +5 -5
  14. package/api/resources/index.d.ts +2 -2
  15. package/api/resources/index.js +3 -3
  16. package/api/resources/inventory/client/Client.js +2 -2
  17. package/api/resources/orders/client/Client.js +6 -6
  18. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
  19. package/api/resources/orders/types/index.d.ts +0 -1
  20. package/api/resources/orders/types/index.js +0 -1
  21. package/api/resources/pages/client/Client.js +5 -5
  22. package/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
  23. package/api/resources/pages/resources/scripts/client/Client.js +6 -6
  24. package/api/resources/products/client/Client.d.ts +2 -2
  25. package/api/resources/products/client/Client.js +8 -8
  26. package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
  27. package/api/resources/scripts/client/Client.d.ts +3 -3
  28. package/api/resources/scripts/client/Client.js +6 -6
  29. package/api/resources/sites/client/Client.d.ts +2 -2
  30. package/api/resources/sites/client/Client.js +6 -6
  31. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  32. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  33. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  34. package/api/resources/token/client/Client.d.ts +1 -1
  35. package/api/resources/token/client/Client.js +3 -3
  36. package/api/resources/users/client/Client.js +5 -5
  37. package/api/resources/webhooks/client/Client.d.ts +3 -3
  38. package/api/resources/webhooks/client/Client.js +7 -7
  39. package/api/types/Application.d.ts +1 -10
  40. package/api/types/Assets.d.ts +3 -0
  41. package/api/types/Authorization.d.ts +1 -1
  42. package/api/types/CustomCodeBlock.d.ts +1 -1
  43. package/api/types/{Fields.d.ts → Domains.d.ts} +3 -4
  44. package/api/types/DuplicateUserEmail.d.ts +2 -1
  45. package/api/types/OauthScope.d.ts +46 -22
  46. package/api/types/OauthScope.js +12 -6
  47. package/api/types/{Sites.d.ts → Scripts.d.ts} +1 -3
  48. package/api/types/UserLimitReached.d.ts +2 -1
  49. package/api/types/UsersNotEnabled.d.ts +2 -1
  50. package/api/types/index.d.ts +57 -74
  51. package/api/types/index.js +57 -74
  52. package/dist/Client.d.ts +3 -3
  53. package/dist/Client.js +6 -6
  54. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  55. package/dist/api/resources/assets/client/Client.d.ts +2 -2
  56. package/dist/api/resources/assets/client/Client.js +10 -10
  57. package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +1 -1
  58. package/dist/api/resources/collections/client/Client.js +5 -5
  59. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  60. package/dist/api/resources/collections/resources/items/client/Client.d.ts +32 -24
  61. package/dist/api/resources/collections/resources/items/client/Client.js +42 -34
  62. package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +1 -1
  63. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  64. package/dist/api/resources/forms/client/Client.js +5 -5
  65. package/dist/api/resources/index.d.ts +2 -2
  66. package/dist/api/resources/index.js +3 -3
  67. package/dist/api/resources/inventory/client/Client.js +2 -2
  68. package/dist/api/resources/orders/client/Client.js +6 -6
  69. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
  70. package/dist/api/resources/orders/types/index.d.ts +0 -1
  71. package/dist/api/resources/orders/types/index.js +0 -1
  72. package/dist/api/resources/pages/client/Client.js +5 -5
  73. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
  74. package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
  75. package/dist/api/resources/products/client/Client.d.ts +2 -2
  76. package/dist/api/resources/products/client/Client.js +8 -8
  77. package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
  78. package/dist/api/resources/scripts/client/Client.d.ts +3 -3
  79. package/dist/api/resources/scripts/client/Client.js +6 -6
  80. package/dist/api/resources/sites/client/Client.d.ts +2 -2
  81. package/dist/api/resources/sites/client/Client.js +6 -6
  82. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  83. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  84. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  85. package/dist/api/resources/token/client/Client.d.ts +1 -1
  86. package/dist/api/resources/token/client/Client.js +3 -3
  87. package/dist/api/resources/users/client/Client.js +5 -5
  88. package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
  89. package/dist/api/resources/webhooks/client/Client.js +7 -7
  90. package/dist/api/types/Application.d.ts +1 -10
  91. package/dist/api/types/Assets.d.ts +3 -0
  92. package/dist/api/types/Authorization.d.ts +1 -1
  93. package/dist/api/types/CustomCodeBlock.d.ts +1 -1
  94. package/dist/api/types/{Fields.d.ts → Domains.d.ts} +3 -4
  95. package/dist/api/types/DuplicateUserEmail.d.ts +2 -1
  96. package/dist/api/types/OauthScope.d.ts +46 -22
  97. package/dist/api/types/OauthScope.js +12 -6
  98. package/dist/api/types/{Sites.d.ts → Scripts.d.ts} +1 -3
  99. package/dist/api/types/UserLimitReached.d.ts +2 -1
  100. package/dist/api/types/UsersNotEnabled.d.ts +2 -1
  101. package/dist/api/types/index.d.ts +57 -74
  102. package/dist/api/types/index.js +57 -74
  103. package/dist/serialization/resources/assets/client/index.d.ts +0 -1
  104. package/dist/serialization/resources/assets/client/index.js +0 -14
  105. package/dist/serialization/resources/index.d.ts +3 -3
  106. package/dist/serialization/resources/index.js +4 -4
  107. package/dist/serialization/resources/orders/types/index.d.ts +0 -1
  108. package/dist/serialization/resources/orders/types/index.js +0 -1
  109. package/dist/serialization/resources/webhooks/client/index.d.ts +0 -1
  110. package/dist/serialization/resources/webhooks/client/index.js +0 -14
  111. package/dist/serialization/types/AccessGroup.d.ts +1 -1
  112. package/dist/serialization/types/AccessGroup.js +1 -1
  113. package/dist/serialization/types/Application.d.ts +2 -7
  114. package/dist/serialization/types/Application.js +1 -6
  115. package/dist/serialization/types/Authorization.d.ts +1 -1
  116. package/dist/serialization/types/Authorization.js +1 -1
  117. package/dist/serialization/types/CustomCodeBlock.d.ts +1 -1
  118. package/dist/serialization/types/CustomCodeBlock.js +1 -3
  119. package/dist/serialization/types/{PublishedSite.d.ts → Domains.d.ts} +3 -3
  120. package/dist/serialization/types/{SitePublish.js → Domains.js} +5 -3
  121. package/dist/serialization/types/DuplicateUserEmail.d.ts +1 -1
  122. package/dist/serialization/types/DuplicateUserEmail.js +1 -1
  123. package/dist/serialization/types/OauthScope.d.ts +1 -1
  124. package/dist/serialization/types/OauthScope.js +12 -6
  125. package/dist/serialization/types/{Fields.d.ts → Scripts.d.ts} +3 -3
  126. package/{serialization/types/Fields.js → dist/serialization/types/Scripts.js} +2 -2
  127. package/dist/serialization/types/UserLimitReached.d.ts +1 -1
  128. package/dist/serialization/types/UserLimitReached.js +1 -1
  129. package/dist/serialization/types/UsersNotEnabled.d.ts +1 -1
  130. package/dist/serialization/types/UsersNotEnabled.js +1 -1
  131. package/dist/serialization/types/index.d.ts +57 -74
  132. package/dist/serialization/types/index.js +57 -74
  133. package/dist/wrapper/WebflowClient.js +2 -2
  134. package/package.json +1 -1
  135. package/serialization/resources/assets/client/index.d.ts +0 -1
  136. package/serialization/resources/assets/client/index.js +0 -14
  137. package/serialization/resources/index.d.ts +3 -3
  138. package/serialization/resources/index.js +4 -4
  139. package/serialization/resources/orders/types/index.d.ts +0 -1
  140. package/serialization/resources/orders/types/index.js +0 -1
  141. package/serialization/resources/webhooks/client/index.d.ts +0 -1
  142. package/serialization/resources/webhooks/client/index.js +0 -14
  143. package/serialization/types/AccessGroup.d.ts +1 -1
  144. package/serialization/types/AccessGroup.js +1 -1
  145. package/serialization/types/Application.d.ts +2 -7
  146. package/serialization/types/Application.js +1 -6
  147. package/serialization/types/Authorization.d.ts +1 -1
  148. package/serialization/types/Authorization.js +1 -1
  149. package/serialization/types/CustomCodeBlock.d.ts +1 -1
  150. package/serialization/types/CustomCodeBlock.js +1 -3
  151. package/serialization/types/{Sites.d.ts → Domains.d.ts} +3 -3
  152. package/serialization/types/{SitePublish.js → Domains.js} +5 -3
  153. package/serialization/types/DuplicateUserEmail.d.ts +1 -1
  154. package/serialization/types/DuplicateUserEmail.js +1 -1
  155. package/serialization/types/OauthScope.d.ts +1 -1
  156. package/serialization/types/OauthScope.js +12 -6
  157. package/serialization/types/{Fields.d.ts → Scripts.d.ts} +3 -3
  158. package/{dist/serialization/types/Fields.js → serialization/types/Scripts.js} +2 -2
  159. package/serialization/types/UserLimitReached.d.ts +1 -1
  160. package/serialization/types/UserLimitReached.js +1 -1
  161. package/serialization/types/UsersNotEnabled.d.ts +1 -1
  162. package/serialization/types/UsersNotEnabled.js +1 -1
  163. package/serialization/types/index.d.ts +57 -74
  164. package/serialization/types/index.js +57 -74
  165. package/wrapper/WebflowClient.js +2 -2
  166. package/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
  167. package/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
  168. package/api/types/CollectionItemRemoved.d.ts +0 -9
  169. package/api/types/FormSubmissionTrigger.d.ts +0 -10
  170. package/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
  171. package/api/types/InvalidScopes.d.ts +0 -10
  172. package/api/types/InvalidScopes.js +0 -5
  173. package/api/types/PageCreatedWebhook.d.ts +0 -12
  174. package/api/types/PageCreatedWebhook.js +0 -5
  175. package/api/types/PageDeletedWebhook.d.ts +0 -12
  176. package/api/types/PageDeletedWebhook.js +0 -5
  177. package/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
  178. package/api/types/PageMetadataUpdatedWebhook.js +0 -5
  179. package/api/types/PageSeoGraphData.d.ts +0 -11
  180. package/api/types/PageSeoGraphData.js +0 -5
  181. package/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
  182. package/api/types/PageSeoGraphDataOpenGraph.js +0 -5
  183. package/api/types/PageSeoGraphDataSeo.d.ts +0 -7
  184. package/api/types/PageSeoGraphDataSeo.js +0 -5
  185. package/api/types/PublishedItems.d.ts +0 -12
  186. package/api/types/PublishedItems.js +0 -5
  187. package/api/types/PublishedSite.d.ts +0 -7
  188. package/api/types/PublishedSite.js +0 -5
  189. package/api/types/RemovedItems.d.ts +0 -12
  190. package/api/types/RemovedItems.js +0 -5
  191. package/api/types/SitePublish.d.ts +0 -8
  192. package/api/types/SitePublish.js +0 -5
  193. package/api/types/SitePublishPayload.d.ts +0 -16
  194. package/api/types/SitePublishPayload.js +0 -5
  195. package/api/types/Sites.js +0 -5
  196. package/api/types/UserWebhookPayload.d.ts +0 -9
  197. package/api/types/UserWebhookPayload.js +0 -5
  198. package/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
  199. package/api/types/UserWebhookPayloadTriggerType.js +0 -11
  200. package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
  201. package/dist/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
  202. package/dist/api/types/CollectionItemRemoved.d.ts +0 -9
  203. package/dist/api/types/CollectionItemRemoved.js +0 -5
  204. package/dist/api/types/Fields.js +0 -5
  205. package/dist/api/types/FormSubmissionTrigger.d.ts +0 -10
  206. package/dist/api/types/FormSubmissionTrigger.js +0 -5
  207. package/dist/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
  208. package/dist/api/types/FormSubmissionTriggerPayload.js +0 -5
  209. package/dist/api/types/InvalidScopes.d.ts +0 -10
  210. package/dist/api/types/InvalidScopes.js +0 -5
  211. package/dist/api/types/PageCreatedWebhook.d.ts +0 -12
  212. package/dist/api/types/PageCreatedWebhook.js +0 -5
  213. package/dist/api/types/PageDeletedWebhook.d.ts +0 -12
  214. package/dist/api/types/PageDeletedWebhook.js +0 -5
  215. package/dist/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
  216. package/dist/api/types/PageMetadataUpdatedWebhook.js +0 -5
  217. package/dist/api/types/PageSeoGraphData.d.ts +0 -11
  218. package/dist/api/types/PageSeoGraphData.js +0 -5
  219. package/dist/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
  220. package/dist/api/types/PageSeoGraphDataOpenGraph.js +0 -5
  221. package/dist/api/types/PageSeoGraphDataSeo.d.ts +0 -7
  222. package/dist/api/types/PageSeoGraphDataSeo.js +0 -5
  223. package/dist/api/types/PublishedItems.d.ts +0 -12
  224. package/dist/api/types/PublishedItems.js +0 -5
  225. package/dist/api/types/PublishedSite.d.ts +0 -7
  226. package/dist/api/types/PublishedSite.js +0 -5
  227. package/dist/api/types/RemovedItems.d.ts +0 -12
  228. package/dist/api/types/RemovedItems.js +0 -5
  229. package/dist/api/types/SitePublish.d.ts +0 -8
  230. package/dist/api/types/SitePublish.js +0 -5
  231. package/dist/api/types/SitePublishPayload.d.ts +0 -16
  232. package/dist/api/types/SitePublishPayload.js +0 -5
  233. package/dist/api/types/Sites.js +0 -5
  234. package/dist/api/types/UserWebhookPayload.d.ts +0 -9
  235. package/dist/api/types/UserWebhookPayload.js +0 -5
  236. package/dist/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
  237. package/dist/api/types/UserWebhookPayloadTriggerType.js +0 -11
  238. package/dist/serialization/resources/assets/client/list.d.ts +0 -10
  239. package/dist/serialization/resources/assets/client/list.js +0 -40
  240. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
  241. package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
  242. package/dist/serialization/resources/webhooks/client/list.d.ts +0 -10
  243. package/dist/serialization/resources/webhooks/client/list.js +0 -40
  244. package/dist/serialization/types/CollectionItemRemoved.d.ts +0 -13
  245. package/dist/serialization/types/CollectionItemRemoved.js +0 -34
  246. package/dist/serialization/types/FormSubmissionTrigger.d.ts +0 -13
  247. package/dist/serialization/types/FormSubmissionTrigger.js +0 -43
  248. package/dist/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
  249. package/dist/serialization/types/FormSubmissionTriggerPayload.js +0 -37
  250. package/dist/serialization/types/InvalidScopes.d.ts +0 -16
  251. package/dist/serialization/types/InvalidScopes.js +0 -37
  252. package/dist/serialization/types/PageCreatedWebhook.d.ts +0 -15
  253. package/dist/serialization/types/PageCreatedWebhook.js +0 -36
  254. package/dist/serialization/types/PageDeletedWebhook.d.ts +0 -15
  255. package/dist/serialization/types/PageDeletedWebhook.js +0 -36
  256. package/dist/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
  257. package/dist/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
  258. package/dist/serialization/types/PageSeoGraphData.d.ts +0 -13
  259. package/dist/serialization/types/PageSeoGraphData.js +0 -43
  260. package/dist/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
  261. package/dist/serialization/types/PageSeoGraphDataOpenGraph.js +0 -34
  262. package/dist/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
  263. package/dist/serialization/types/PageSeoGraphDataSeo.js +0 -34
  264. package/dist/serialization/types/PublishedItems.d.ts +0 -13
  265. package/dist/serialization/types/PublishedItems.js +0 -34
  266. package/dist/serialization/types/PublishedSite.js +0 -33
  267. package/dist/serialization/types/RemovedItems.d.ts +0 -13
  268. package/dist/serialization/types/RemovedItems.js +0 -34
  269. package/dist/serialization/types/SitePublish.d.ts +0 -12
  270. package/dist/serialization/types/SitePublishPayload.d.ts +0 -15
  271. package/dist/serialization/types/SitePublishPayload.js +0 -36
  272. package/dist/serialization/types/Sites.d.ts +0 -12
  273. package/dist/serialization/types/Sites.js +0 -42
  274. package/dist/serialization/types/UserWebhookPayload.d.ts +0 -13
  275. package/dist/serialization/types/UserWebhookPayload.js +0 -43
  276. package/dist/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
  277. package/dist/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
  278. package/serialization/resources/assets/client/list.d.ts +0 -10
  279. package/serialization/resources/assets/client/list.js +0 -40
  280. package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
  281. package/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
  282. package/serialization/resources/webhooks/client/list.d.ts +0 -10
  283. package/serialization/resources/webhooks/client/list.js +0 -40
  284. package/serialization/types/CollectionItemRemoved.d.ts +0 -13
  285. package/serialization/types/CollectionItemRemoved.js +0 -34
  286. package/serialization/types/FormSubmissionTrigger.d.ts +0 -13
  287. package/serialization/types/FormSubmissionTrigger.js +0 -43
  288. package/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
  289. package/serialization/types/FormSubmissionTriggerPayload.js +0 -37
  290. package/serialization/types/InvalidScopes.d.ts +0 -16
  291. package/serialization/types/InvalidScopes.js +0 -37
  292. package/serialization/types/PageCreatedWebhook.d.ts +0 -15
  293. package/serialization/types/PageCreatedWebhook.js +0 -36
  294. package/serialization/types/PageDeletedWebhook.d.ts +0 -15
  295. package/serialization/types/PageDeletedWebhook.js +0 -36
  296. package/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
  297. package/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
  298. package/serialization/types/PageSeoGraphData.d.ts +0 -13
  299. package/serialization/types/PageSeoGraphData.js +0 -43
  300. package/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
  301. package/serialization/types/PageSeoGraphDataOpenGraph.js +0 -34
  302. package/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
  303. package/serialization/types/PageSeoGraphDataSeo.js +0 -34
  304. package/serialization/types/PublishedItems.d.ts +0 -13
  305. package/serialization/types/PublishedItems.js +0 -34
  306. package/serialization/types/PublishedSite.d.ts +0 -12
  307. package/serialization/types/PublishedSite.js +0 -33
  308. package/serialization/types/RemovedItems.d.ts +0 -13
  309. package/serialization/types/RemovedItems.js +0 -34
  310. package/serialization/types/SitePublish.d.ts +0 -12
  311. package/serialization/types/SitePublishPayload.d.ts +0 -15
  312. package/serialization/types/SitePublishPayload.js +0 -36
  313. package/serialization/types/Sites.js +0 -42
  314. package/serialization/types/UserWebhookPayload.d.ts +0 -13
  315. package/serialization/types/UserWebhookPayload.js +0 -43
  316. package/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
  317. package/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
  318. /package/api/types/{CollectionItemRemoved.js → Domains.js} +0 -0
  319. /package/api/types/{Fields.js → Scripts.js} +0 -0
  320. /package/{api/types/FormSubmissionTrigger.js → dist/api/types/Domains.js} +0 -0
  321. /package/{api/types/FormSubmissionTriggerPayload.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": "2.1.2",
89
+ "X-Fern-SDK-Version": "v2.2.1",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -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": "2.1.2",
174
+ "X-Fern-SDK-Version": "v2.2.1",
173
175
  "X-Fern-Runtime": core.RUNTIME.type,
174
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
177
  },
@@ -225,14 +227,16 @@ 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",
230
- * lastPublished: "2023-03-17T18:47:35.560Z",
231
- * lastUpdated: "2023-03-17T18:47:35.560Z",
232
- * createdOn: "2023-03-17T18:47:35.560Z",
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,
233
237
  * fieldData: {
234
- * name: "My new item",
235
- * slug: "my-new-item"
238
+ * name: "Pan Galactic Gargle Blaster Recipe",
239
+ * slug: "pan-galactic-gargle-blaster"
236
240
  * }
237
241
  * })
238
242
  */
@@ -246,7 +250,7 @@ class Items {
246
250
  Authorization: yield this._getAuthorizationHeader(),
247
251
  "X-Fern-Language": "JavaScript",
248
252
  "X-Fern-SDK-Name": "webflow-api",
249
- "X-Fern-SDK-Version": "2.1.2",
253
+ "X-Fern-SDK-Version": "v2.2.1",
250
254
  "X-Fern-Runtime": core.RUNTIME.type,
251
255
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
256
  },
@@ -322,7 +326,7 @@ class Items {
322
326
  Authorization: yield this._getAuthorizationHeader(),
323
327
  "X-Fern-Language": "JavaScript",
324
328
  "X-Fern-SDK-Name": "webflow-api",
325
- "X-Fern-SDK-Version": "2.1.2",
329
+ "X-Fern-SDK-Version": "v2.2.1",
326
330
  "X-Fern-Runtime": core.RUNTIME.type,
327
331
  "X-Fern-Runtime-Version": core.RUNTIME.version,
328
332
  },
@@ -396,7 +400,7 @@ class Items {
396
400
  Authorization: yield this._getAuthorizationHeader(),
397
401
  "X-Fern-Language": "JavaScript",
398
402
  "X-Fern-SDK-Name": "webflow-api",
399
- "X-Fern-SDK-Version": "2.1.2",
403
+ "X-Fern-SDK-Version": "v2.2.1",
400
404
  "X-Fern-Runtime": core.RUNTIME.type,
401
405
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
406
  },
@@ -479,7 +483,7 @@ class Items {
479
483
  Authorization: yield this._getAuthorizationHeader(),
480
484
  "X-Fern-Language": "JavaScript",
481
485
  "X-Fern-SDK-Name": "webflow-api",
482
- "X-Fern-SDK-Version": "2.1.2",
486
+ "X-Fern-SDK-Version": "v2.2.1",
483
487
  "X-Fern-Runtime": core.RUNTIME.type,
484
488
  "X-Fern-Runtime-Version": core.RUNTIME.version,
485
489
  },
@@ -535,14 +539,16 @@ class Items {
535
539
  *
536
540
  * @example
537
541
  * await webflow.collections.items.updateItem("collection_id", "item_id", {
538
- * id: "580e64008c9a982ac9b8b754",
542
+ * id: "42b720ef280c7a7a3be8cabe",
539
543
  * cmsLocaleId: "653ad57de882f528b32e810e",
540
- * lastPublished: "2023-03-17T18:47:35.560Z",
541
- * lastUpdated: "2023-03-17T18:47:35.560Z",
542
- * 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,
543
549
  * fieldData: {
544
- * name: "My new item",
545
- * slug: "my-new-item"
550
+ * name: "Pan Galactic Gargle Blaster Recipe",
551
+ * slug: "pan-galactic-gargle-blaster"
546
552
  * }
547
553
  * })
548
554
  */
@@ -556,7 +562,7 @@ class Items {
556
562
  Authorization: yield this._getAuthorizationHeader(),
557
563
  "X-Fern-Language": "JavaScript",
558
564
  "X-Fern-SDK-Name": "webflow-api",
559
- "X-Fern-SDK-Version": "2.1.2",
565
+ "X-Fern-SDK-Version": "v2.2.1",
560
566
  "X-Fern-Runtime": core.RUNTIME.type,
561
567
  "X-Fern-Runtime-Version": core.RUNTIME.version,
562
568
  },
@@ -629,7 +635,7 @@ class Items {
629
635
  Authorization: yield this._getAuthorizationHeader(),
630
636
  "X-Fern-Language": "JavaScript",
631
637
  "X-Fern-SDK-Name": "webflow-api",
632
- "X-Fern-SDK-Version": "2.1.2",
638
+ "X-Fern-SDK-Version": "v2.2.1",
633
639
  "X-Fern-Runtime": core.RUNTIME.type,
634
640
  "X-Fern-Runtime-Version": core.RUNTIME.version,
635
641
  },
@@ -684,14 +690,16 @@ class Items {
684
690
  *
685
691
  * @example
686
692
  * await webflow.collections.items.updateItemLive("collection_id", "item_id", {
687
- * id: "580e64008c9a982ac9b8b754",
693
+ * id: "42b720ef280c7a7a3be8cabe",
688
694
  * cmsLocaleId: "653ad57de882f528b32e810e",
689
- * lastPublished: "2023-03-17T18:47:35.560Z",
690
- * lastUpdated: "2023-03-17T18:47:35.560Z",
691
- * 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,
692
700
  * fieldData: {
693
- * name: "My new item",
694
- * slug: "my-new-item"
701
+ * name: "Pan Galactic Gargle Blaster Recipe",
702
+ * slug: "pan-galactic-gargle-blaster"
695
703
  * }
696
704
  * })
697
705
  */
@@ -705,7 +713,7 @@ class Items {
705
713
  Authorization: yield this._getAuthorizationHeader(),
706
714
  "X-Fern-Language": "JavaScript",
707
715
  "X-Fern-SDK-Name": "webflow-api",
708
- "X-Fern-SDK-Version": "2.1.2",
716
+ "X-Fern-SDK-Version": "v2.2.1",
709
717
  "X-Fern-Runtime": core.RUNTIME.type,
710
718
  "X-Fern-Runtime-Version": core.RUNTIME.version,
711
719
  },
@@ -780,7 +788,7 @@ class Items {
780
788
  Authorization: yield this._getAuthorizationHeader(),
781
789
  "X-Fern-Language": "JavaScript",
782
790
  "X-Fern-SDK-Name": "webflow-api",
783
- "X-Fern-SDK-Version": "2.1.2",
791
+ "X-Fern-SDK-Version": "v2.2.1",
784
792
  "X-Fern-Runtime": core.RUNTIME.type,
785
793
  "X-Fern-Runtime-Version": core.RUNTIME.version,
786
794
  },
@@ -18,7 +18,7 @@ import * as Webflow from "../../../../../..";
18
18
  export interface BulkCollectionItem {
19
19
  /** Unique identifier for the Item */
20
20
  id: string;
21
- /** Array of identifiers for the locales where the item will be crated */
21
+ /** Array of identifiers for the locales where the item will be created */
22
22
  cmsLocaleIds?: string[];
23
23
  /** The date the item was last published */
24
24
  lastPublished?: string;
@@ -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": "2.1.2",
77
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
83
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
161
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
236
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
311
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
387
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
77
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
161
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
88
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
169
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
254
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
335
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
418
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
499
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
96
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
174
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
277
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
357
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
442
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
73
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
162
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
235
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
85
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
172
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
253
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
377
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
476
+ "X-Fern-SDK-Version": "v2.2.1",
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": "2.1.2",
573
+ "X-Fern-SDK-Version": "v2.2.1",
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",