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
@@ -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,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../..";
5
- import * as Webflow from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const Response: core.serialization.Schema<serializers.assets.list.Response.Raw, Webflow.Asset[]>;
8
- export declare namespace Response {
9
- type Raw = serializers.Asset.Raw[];
10
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.Response = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.Response = core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).Asset; })));
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../..";
5
- import * as Webflow from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const OrdersListRequestStatus: core.serialization.Schema<serializers.OrdersListRequestStatus.Raw, Webflow.OrdersListRequestStatus>;
8
- export declare namespace OrdersListRequestStatus {
9
- type Raw = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.OrdersListRequestStatus = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.OrdersListRequestStatus = core.serialization.enum_(["pending", "refunded", "dispute-lost", "fulfilled", "disputed", "unfulfilled"]);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../..";
5
- import * as Webflow from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const Response: core.serialization.Schema<serializers.webhooks.list.Response.Raw, Webflow.Webhook[]>;
8
- export declare namespace Response {
9
- type Raw = serializers.Webhook.Raw[];
10
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.Response = void 0;
39
- const core = __importStar(require("../../../../core"));
40
- exports.Response = core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).Webhook; })));
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const CollectionItemRemoved: core.serialization.ObjectSchema<serializers.CollectionItemRemoved.Raw, Webflow.CollectionItemRemoved>;
8
- export declare namespace CollectionItemRemoved {
9
- interface Raw {
10
- deleted?: number | null;
11
- itemId?: string | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CollectionItemRemoved = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.CollectionItemRemoved = core.serialization.object({
32
- deleted: core.serialization.number().optional(),
33
- itemId: core.serialization.string().optional(),
34
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const FormSubmissionTrigger: core.serialization.ObjectSchema<serializers.FormSubmissionTrigger.Raw, Webflow.FormSubmissionTrigger>;
8
- export declare namespace FormSubmissionTrigger {
9
- interface Raw {
10
- triggerType?: string | null;
11
- payload?: serializers.FormSubmissionTriggerPayload.Raw | null;
12
- }
13
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.FormSubmissionTrigger = void 0;
39
- const core = __importStar(require("../../core"));
40
- exports.FormSubmissionTrigger = core.serialization.object({
41
- triggerType: core.serialization.string().optional(),
42
- payload: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormSubmissionTriggerPayload; })).optional(),
43
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const FormSubmissionTriggerPayload: core.serialization.ObjectSchema<serializers.FormSubmissionTriggerPayload.Raw, Webflow.FormSubmissionTriggerPayload>;
8
- export declare namespace FormSubmissionTriggerPayload {
9
- interface Raw {
10
- name?: string | null;
11
- siteId?: string | null;
12
- data?: Record<string, unknown> | null;
13
- submittedAt?: string | null;
14
- formId?: string | null;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FormSubmissionTriggerPayload = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.FormSubmissionTriggerPayload = core.serialization.object({
32
- name: core.serialization.string().optional(),
33
- siteId: core.serialization.string().optional(),
34
- data: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
35
- submittedAt: core.serialization.string().optional(),
36
- formId: core.serialization.string().optional(),
37
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const InvalidScopes: core.serialization.ObjectSchema<serializers.InvalidScopes.Raw, Webflow.InvalidScopes>;
8
- export declare namespace InvalidScopes {
9
- interface Raw {
10
- status?: number | null;
11
- message?: string | null;
12
- publicErrorCode?: string | null;
13
- externalReference?: string | null;
14
- details?: string[] | null;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.InvalidScopes = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.InvalidScopes = core.serialization.object({
32
- status: core.serialization.number().optional(),
33
- message: core.serialization.string().optional(),
34
- publicErrorCode: core.serialization.string().optional(),
35
- externalReference: core.serialization.string().optional(),
36
- details: core.serialization.list(core.serialization.string()).optional(),
37
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const PageCreatedWebhook: core.serialization.ObjectSchema<serializers.PageCreatedWebhook.Raw, Webflow.PageCreatedWebhook>;
8
- export declare namespace PageCreatedWebhook {
9
- interface Raw {
10
- siteId?: string | null;
11
- pageId?: string | null;
12
- pageTitle?: string | null;
13
- createdAt?: string | null;
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PageCreatedWebhook = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PageCreatedWebhook = core.serialization.object({
32
- siteId: core.serialization.string().optional(),
33
- pageId: core.serialization.string().optional(),
34
- pageTitle: core.serialization.string().optional(),
35
- createdAt: core.serialization.date().optional(),
36
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const PageDeletedWebhook: core.serialization.ObjectSchema<serializers.PageDeletedWebhook.Raw, Webflow.PageDeletedWebhook>;
8
- export declare namespace PageDeletedWebhook {
9
- interface Raw {
10
- siteId?: string | null;
11
- pageId?: string | null;
12
- pageTitle?: string | null;
13
- deletedAt?: string | null;
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PageDeletedWebhook = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PageDeletedWebhook = core.serialization.object({
32
- siteId: core.serialization.string().optional(),
33
- pageId: core.serialization.string().optional(),
34
- pageTitle: core.serialization.string().optional(),
35
- deletedAt: core.serialization.date().optional(),
36
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Webflow from "../../api";
6
- import * as core from "../../core";
7
- export declare const PageMetadataUpdatedWebhook: core.serialization.ObjectSchema<serializers.PageMetadataUpdatedWebhook.Raw, Webflow.PageMetadataUpdatedWebhook>;
8
- export declare namespace PageMetadataUpdatedWebhook {
9
- interface Raw {
10
- siteId?: string | null;
11
- pageId?: string | null;
12
- pageTitle?: string | null;
13
- lastUpdated?: string | null;
14
- }
15
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PageMetadataUpdatedWebhook = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.PageMetadataUpdatedWebhook = core.serialization.object({
32
- siteId: core.serialization.string().optional(),
33
- pageId: core.serialization.string().optional(),
34
- pageTitle: core.serialization.string().optional(),
35
- lastUpdated: core.serialization.date().optional(),
36
- });