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
@@ -60,7 +60,7 @@ class WebflowClient extends Client_1.WebflowClient {
60
60
  params["scope"] = scope;
61
61
  }
62
62
  else {
63
- params["scope"] = scope.join("+");
63
+ params["scope"] = scope.join(" ");
64
64
  }
65
65
  return `https://webflow.com/oauth/authorize?${qs_1.default.stringify(params)}`;
66
66
  }
@@ -89,7 +89,7 @@ class WebflowClient extends Client_1.WebflowClient {
89
89
  body,
90
90
  });
91
91
  if (response.ok) {
92
- return response["access_token"];
92
+ return response.body["access_token"];
93
93
  }
94
94
  switch (response.error.reason) {
95
95
  case "status-code":
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type OrdersListRequestStatus = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled";
5
- export declare const OrdersListRequestStatus: {
6
- readonly Pending: "pending";
7
- readonly Refunded: "refunded";
8
- readonly DisputeLost: "dispute-lost";
9
- readonly Fulfilled: "fulfilled";
10
- readonly Disputed: "disputed";
11
- readonly Unfulfilled: "unfulfilled";
12
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.OrdersListRequestStatus = void 0;
7
- exports.OrdersListRequestStatus = {
8
- Pending: "pending",
9
- Refunded: "refunded",
10
- DisputeLost: "dispute-lost",
11
- Fulfilled: "fulfilled",
12
- Disputed: "disputed",
13
- Unfulfilled: "unfulfilled",
14
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface CollectionItemRemoved {
5
- /** The number of items deleted */
6
- deleted?: number;
7
- /** The id of the collection item that was deleted */
8
- itemId?: string;
9
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- export interface FormSubmissionTrigger {
6
- /** The type of event that triggered the request */
7
- triggerType?: string;
8
- /** The payload of data sent from Webflow */
9
- payload?: Webflow.FormSubmissionTriggerPayload;
10
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The payload of data sent from Webflow
6
- */
7
- export interface FormSubmissionTriggerPayload {
8
- /** The name of the form */
9
- name?: string;
10
- /** The id of the site that the form was submitted from */
11
- siteId?: string;
12
- /** The data submitted in the form */
13
- data?: Record<string, unknown>;
14
- /** The timestamp the form was submitted */
15
- submittedAt?: string;
16
- /** The id of the form submission */
17
- formId?: string;
18
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface InvalidScopes {
5
- status?: number;
6
- message?: string;
7
- publicErrorCode?: string;
8
- externalReference?: string;
9
- details?: string[];
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page is created
6
- */
7
- export interface PageCreatedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- createdAt?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page is deleted
6
- */
7
- export interface PageDeletedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- deletedAt?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page's metadata is updated
6
- */
7
- export interface PageMetadataUpdatedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- lastUpdated?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- /**
6
- * The SEO and/or OpenGraph information to include in the page's details
7
- */
8
- export interface PageSeoGraphData {
9
- seo?: Webflow.PageSeoGraphDataSeo;
10
- openGraph?: Webflow.PageSeoGraphDataOpenGraph;
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PageSeoGraphDataOpenGraph {
5
- title?: string;
6
- description?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PageSeoGraphDataSeo {
5
- title?: string;
6
- description?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * A list of items published
6
- */
7
- export interface PublishedItems {
8
- /** Array of published item ids */
9
- publishedItemIds?: string[];
10
- /** Array of errors */
11
- errors?: string[];
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PublishedSite {
5
- /** Indicates if the site has been queued for publish */
6
- queued: boolean;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * A list of items removed
6
- */
7
- export interface RemovedItems {
8
- /** Array of deleted item ids */
9
- deletedItemIds?: string[];
10
- /** Array of errors */
11
- errors?: string[];
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- export interface SitePublish {
6
- /** The payload of data sent from Webflow */
7
- payload?: Webflow.SitePublishPayload;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The payload of data sent from Webflow
6
- */
7
- export interface SitePublishPayload {
8
- /** The site id that was published */
9
- site?: string;
10
- /** The timestamp of the publish event */
11
- publishTime?: Date;
12
- /** The domains that were published */
13
- domains?: string[];
14
- /** The name and id of the user who published the site */
15
- publishedBy?: Record<string, unknown>;
16
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- export interface UserWebhookPayload {
6
- /** The type of event that triggered the request */
7
- triggerType?: Webflow.UserWebhookPayloadTriggerType;
8
- payload?: Webflow.User;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The type of event that triggered the request
6
- */
7
- export declare type UserWebhookPayloadTriggerType = "user_account_added" | "user_account_updated" | "user_account_deleted";
8
- export declare const UserWebhookPayloadTriggerType: {
9
- readonly UserAccountAdded: "user_account_added";
10
- readonly UserAccountUpdated: "user_account_updated";
11
- readonly UserAccountDeleted: "user_account_deleted";
12
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.UserWebhookPayloadTriggerType = void 0;
7
- exports.UserWebhookPayloadTriggerType = {
8
- UserAccountAdded: "user_account_added",
9
- UserAccountUpdated: "user_account_updated",
10
- UserAccountDeleted: "user_account_deleted",
11
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export declare type OrdersListRequestStatus = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled";
5
- export declare const OrdersListRequestStatus: {
6
- readonly Pending: "pending";
7
- readonly Refunded: "refunded";
8
- readonly DisputeLost: "dispute-lost";
9
- readonly Fulfilled: "fulfilled";
10
- readonly Disputed: "disputed";
11
- readonly Unfulfilled: "unfulfilled";
12
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.OrdersListRequestStatus = void 0;
7
- exports.OrdersListRequestStatus = {
8
- Pending: "pending",
9
- Refunded: "refunded",
10
- DisputeLost: "dispute-lost",
11
- Fulfilled: "fulfilled",
12
- Disputed: "disputed",
13
- Unfulfilled: "unfulfilled",
14
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface CollectionItemRemoved {
5
- /** The number of items deleted */
6
- deleted?: number;
7
- /** The id of the collection item that was deleted */
8
- itemId?: string;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- export interface FormSubmissionTrigger {
6
- /** The type of event that triggered the request */
7
- triggerType?: string;
8
- /** The payload of data sent from Webflow */
9
- payload?: Webflow.FormSubmissionTriggerPayload;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The payload of data sent from Webflow
6
- */
7
- export interface FormSubmissionTriggerPayload {
8
- /** The name of the form */
9
- name?: string;
10
- /** The id of the site that the form was submitted from */
11
- siteId?: string;
12
- /** The data submitted in the form */
13
- data?: Record<string, unknown>;
14
- /** The timestamp the form was submitted */
15
- submittedAt?: string;
16
- /** The id of the form submission */
17
- formId?: string;
18
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface InvalidScopes {
5
- status?: number;
6
- message?: string;
7
- publicErrorCode?: string;
8
- externalReference?: string;
9
- details?: string[];
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page is created
6
- */
7
- export interface PageCreatedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- createdAt?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page is deleted
6
- */
7
- export interface PageDeletedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- deletedAt?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The Webhook payload for when a Page's metadata is updated
6
- */
7
- export interface PageMetadataUpdatedWebhook {
8
- siteId?: string;
9
- pageId?: string;
10
- pageTitle?: string;
11
- lastUpdated?: Date;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Webflow from "..";
5
- /**
6
- * The SEO and/or OpenGraph information to include in the page's details
7
- */
8
- export interface PageSeoGraphData {
9
- seo?: Webflow.PageSeoGraphDataSeo;
10
- openGraph?: Webflow.PageSeoGraphDataOpenGraph;
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PageSeoGraphDataOpenGraph {
5
- title?: string;
6
- description?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PageSeoGraphDataSeo {
5
- title?: string;
6
- description?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * A list of items published
6
- */
7
- export interface PublishedItems {
8
- /** Array of published item ids */
9
- publishedItemIds?: string[];
10
- /** Array of errors */
11
- errors?: string[];
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PublishedSite {
5
- /** Indicates if the site has been queued for publish */
6
- queued: boolean;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });