webflow-api 3.1.0 → 3.1.2

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 (351) hide show
  1. package/.mock/definition/__package__.yml +363 -79
  2. package/.mock/definition/accessGroups.yml +1 -0
  3. package/.mock/definition/assets.yml +86 -47
  4. package/.mock/definition/collections/fields.yml +63 -46
  5. package/.mock/definition/collections/items.yml +58 -30
  6. package/.mock/definition/collections.yml +42 -7
  7. package/.mock/definition/components.yml +43 -50
  8. package/.mock/definition/ecommerce.yml +1 -0
  9. package/.mock/definition/forms.yml +114 -2
  10. package/.mock/definition/inventory.yml +2 -0
  11. package/.mock/definition/orders.yml +6 -68
  12. package/.mock/definition/pages/scripts.yml +10 -44
  13. package/.mock/definition/pages.yml +36 -41
  14. package/.mock/definition/products.yml +9 -0
  15. package/.mock/definition/scripts.yml +18 -49
  16. package/.mock/definition/sites/activityLogs.yml +10 -7
  17. package/.mock/definition/sites/plans.yml +7 -1
  18. package/.mock/definition/sites/redirects.yml +24 -1
  19. package/.mock/definition/sites/robotsTxt.yml +202 -0
  20. package/.mock/definition/sites/scripts.yml +22 -30
  21. package/.mock/definition/sites.yml +27 -30
  22. package/.mock/definition/token.yml +2 -0
  23. package/.mock/definition/users.yml +4 -0
  24. package/.mock/definition/webhooks.yml +7 -8
  25. package/.mock/fern.config.json +1 -1
  26. package/api/resources/accessGroups/client/Client.js +1 -1
  27. package/api/resources/assets/client/Client.d.ts +10 -7
  28. package/api/resources/assets/client/Client.js +18 -15
  29. package/api/resources/collections/client/Client.d.ts +21 -1
  30. package/api/resources/collections/client/Client.js +27 -5
  31. package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
  32. package/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
  33. package/api/resources/collections/resources/fields/client/Client.js +40 -8
  34. package/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  35. package/api/resources/collections/resources/fields/index.d.ts +0 -1
  36. package/api/resources/collections/resources/fields/index.js +0 -1
  37. package/api/resources/collections/resources/index.d.ts +1 -2
  38. package/api/resources/collections/resources/index.js +2 -3
  39. package/api/resources/collections/resources/items/client/Client.d.ts +19 -12
  40. package/api/resources/collections/resources/items/client/Client.js +39 -28
  41. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  42. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  43. package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  44. package/api/resources/components/client/Client.d.ts +5 -6
  45. package/api/resources/components/client/Client.js +10 -11
  46. package/api/resources/ecommerce/client/Client.js +1 -1
  47. package/api/resources/forms/client/Client.d.ts +51 -0
  48. package/api/resources/forms/client/Client.js +226 -5
  49. package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
  50. package/api/resources/forms/client/requests/index.d.ts +1 -0
  51. package/api/resources/inventory/client/Client.js +2 -2
  52. package/api/resources/orders/client/Client.js +6 -6
  53. package/api/resources/pages/client/Client.d.ts +8 -3
  54. package/api/resources/pages/client/Client.js +13 -8
  55. package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
  56. package/api/resources/pages/resources/scripts/client/Client.js +9 -23
  57. package/api/resources/products/client/Client.js +6 -6
  58. package/api/resources/scripts/client/Client.d.ts +12 -20
  59. package/api/resources/scripts/client/Client.js +15 -23
  60. package/api/resources/sites/client/Client.d.ts +12 -3
  61. package/api/resources/sites/client/Client.js +25 -14
  62. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
  63. package/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
  64. package/api/resources/sites/resources/index.d.ts +1 -0
  65. package/api/resources/sites/resources/index.js +2 -1
  66. package/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
  67. package/api/resources/sites/resources/plans/client/Client.js +3 -1
  68. package/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
  69. package/api/resources/sites/resources/redirects/client/Client.js +14 -4
  70. package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
  71. package/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
  72. package/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
  73. package/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
  74. package/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
  75. package/api/resources/{collections/resources/fields/types → sites/resources/robotsTxt}/index.js +1 -1
  76. package/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
  77. package/api/resources/sites/resources/scripts/client/Client.js +19 -17
  78. package/api/resources/token/client/Client.js +2 -2
  79. package/api/resources/users/client/Client.js +5 -5
  80. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
  81. package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
  82. package/api/resources/webhooks/client/Client.js +4 -4
  83. package/api/types/Asset.d.ts +4 -0
  84. package/api/types/AssetVariant.d.ts +3 -0
  85. package/api/types/Assets.d.ts +1 -0
  86. package/api/types/ComponentNode.d.ts +2 -2
  87. package/api/types/Conflict.d.ts +4 -0
  88. package/api/types/Dom.d.ts +2 -0
  89. package/api/types/FieldCreate.d.ts +8 -0
  90. package/api/types/FieldCreate.js +5 -0
  91. package/api/types/FieldType.d.ts +3 -1
  92. package/api/types/FieldType.js +2 -0
  93. package/api/types/ImageNode.d.ts +1 -0
  94. package/api/types/ImageNodeImage.d.ts +3 -0
  95. package/api/types/Metadata.d.ts +11 -0
  96. package/api/types/Metadata.js +5 -0
  97. package/api/types/MetadataOptionsItem.d.ts +12 -0
  98. package/api/types/MetadataOptionsItem.js +5 -0
  99. package/api/types/OAuthScope.d.ts +8 -0
  100. package/api/types/OAuthScope.js +2 -0
  101. package/api/types/OptionField.d.ts +19 -0
  102. package/api/types/OptionField.js +5 -0
  103. package/api/types/ReferenceField.d.ts +20 -0
  104. package/api/types/ReferenceField.js +5 -0
  105. package/api/types/ReferenceFieldMetadata.d.ts +10 -0
  106. package/api/types/ReferenceFieldMetadata.js +5 -0
  107. package/api/types/ReferenceFieldType.d.ts +11 -0
  108. package/api/types/ReferenceFieldType.js +10 -0
  109. package/api/types/Robots.d.ts +13 -0
  110. package/api/types/Robots.js +5 -0
  111. package/api/types/RobotsRulesItem.d.ts +11 -0
  112. package/api/types/RobotsRulesItem.js +5 -0
  113. package/api/types/SkuFieldData.d.ts +2 -0
  114. package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
  115. package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
  116. package/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
  117. package/api/types/StaticField.js +5 -0
  118. package/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
  119. package/{dist/api/resources/collections/resources/fields/types/FieldCreateType.js → api/types/StaticFieldType.js} +2 -3
  120. package/api/types/Text.d.ts +3 -0
  121. package/api/types/TextNode.d.ts +1 -0
  122. package/api/types/TextNodeText.d.ts +3 -0
  123. package/api/types/TriggerType.d.ts +1 -15
  124. package/api/types/WebhookList.d.ts +1 -1
  125. package/api/types/index.d.ts +12 -0
  126. package/api/types/index.js +12 -0
  127. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  128. package/dist/api/resources/assets/client/Client.d.ts +10 -7
  129. package/dist/api/resources/assets/client/Client.js +18 -15
  130. package/dist/api/resources/collections/client/Client.d.ts +21 -1
  131. package/dist/api/resources/collections/client/Client.js +27 -5
  132. package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
  133. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
  134. package/dist/api/resources/collections/resources/fields/client/Client.js +40 -8
  135. package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  136. package/dist/api/resources/collections/resources/fields/index.d.ts +0 -1
  137. package/dist/api/resources/collections/resources/fields/index.js +0 -1
  138. package/dist/api/resources/collections/resources/index.d.ts +1 -2
  139. package/dist/api/resources/collections/resources/index.js +2 -3
  140. package/dist/api/resources/collections/resources/items/client/Client.d.ts +19 -12
  141. package/dist/api/resources/collections/resources/items/client/Client.js +39 -28
  142. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  143. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  144. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  145. package/dist/api/resources/components/client/Client.d.ts +5 -6
  146. package/dist/api/resources/components/client/Client.js +10 -11
  147. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  148. package/dist/api/resources/forms/client/Client.d.ts +51 -0
  149. package/dist/api/resources/forms/client/Client.js +226 -5
  150. package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
  151. package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
  152. package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
  153. package/dist/api/resources/inventory/client/Client.js +2 -2
  154. package/dist/api/resources/orders/client/Client.js +6 -6
  155. package/dist/api/resources/pages/client/Client.d.ts +8 -3
  156. package/dist/api/resources/pages/client/Client.js +13 -8
  157. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
  158. package/dist/api/resources/pages/resources/scripts/client/Client.js +9 -23
  159. package/dist/api/resources/products/client/Client.js +6 -6
  160. package/dist/api/resources/scripts/client/Client.d.ts +12 -20
  161. package/dist/api/resources/scripts/client/Client.js +15 -23
  162. package/dist/api/resources/sites/client/Client.d.ts +12 -3
  163. package/dist/api/resources/sites/client/Client.js +25 -14
  164. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
  165. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
  166. package/dist/api/resources/sites/resources/index.d.ts +1 -0
  167. package/dist/api/resources/sites/resources/index.js +2 -1
  168. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
  169. package/dist/api/resources/sites/resources/plans/client/Client.js +3 -1
  170. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
  171. package/dist/api/resources/sites/resources/redirects/client/Client.js +14 -4
  172. package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
  173. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
  174. package/dist/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
  175. package/dist/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
  176. package/dist/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
  177. package/dist/{serialization/resources/collections/resources/fields/types → api/resources/sites/resources/robotsTxt}/index.js +1 -1
  178. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
  179. package/dist/api/resources/sites/resources/scripts/client/Client.js +19 -17
  180. package/dist/api/resources/token/client/Client.js +2 -2
  181. package/dist/api/resources/users/client/Client.js +5 -5
  182. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
  183. package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
  184. package/dist/api/resources/webhooks/client/Client.js +4 -4
  185. package/dist/api/types/Asset.d.ts +4 -0
  186. package/dist/api/types/AssetVariant.d.ts +3 -0
  187. package/dist/api/types/Assets.d.ts +1 -0
  188. package/dist/api/types/ComponentNode.d.ts +2 -2
  189. package/dist/api/types/Conflict.d.ts +4 -0
  190. package/dist/api/types/Conflict.js +5 -0
  191. package/dist/api/types/Dom.d.ts +2 -0
  192. package/dist/api/types/FieldCreate.d.ts +8 -0
  193. package/dist/api/types/FieldCreate.js +5 -0
  194. package/dist/api/types/FieldType.d.ts +3 -1
  195. package/dist/api/types/FieldType.js +2 -0
  196. package/dist/api/types/ImageNode.d.ts +1 -0
  197. package/dist/api/types/ImageNodeImage.d.ts +3 -0
  198. package/dist/api/types/Metadata.d.ts +11 -0
  199. package/dist/api/types/Metadata.js +5 -0
  200. package/dist/api/types/MetadataOptionsItem.d.ts +12 -0
  201. package/dist/api/types/MetadataOptionsItem.js +5 -0
  202. package/dist/api/types/OAuthScope.d.ts +8 -0
  203. package/dist/api/types/OAuthScope.js +2 -0
  204. package/dist/api/types/OptionField.d.ts +19 -0
  205. package/dist/api/types/OptionField.js +5 -0
  206. package/dist/api/types/ReferenceField.d.ts +20 -0
  207. package/dist/api/types/ReferenceField.js +5 -0
  208. package/dist/api/types/ReferenceFieldMetadata.d.ts +10 -0
  209. package/dist/api/types/ReferenceFieldMetadata.js +5 -0
  210. package/dist/api/types/ReferenceFieldType.d.ts +11 -0
  211. package/dist/api/types/ReferenceFieldType.js +10 -0
  212. package/dist/api/types/Robots.d.ts +13 -0
  213. package/dist/api/types/Robots.js +5 -0
  214. package/dist/api/types/RobotsRulesItem.d.ts +11 -0
  215. package/dist/api/types/RobotsRulesItem.js +5 -0
  216. package/dist/api/types/SkuFieldData.d.ts +2 -0
  217. package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
  218. package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
  219. package/dist/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
  220. package/dist/api/types/StaticField.js +5 -0
  221. package/dist/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
  222. package/{api/resources/collections/resources/fields/types/FieldCreateType.js → dist/api/types/StaticFieldType.js} +2 -3
  223. package/dist/api/types/Text.d.ts +3 -0
  224. package/dist/api/types/TextNode.d.ts +1 -0
  225. package/dist/api/types/TextNodeText.d.ts +3 -0
  226. package/dist/api/types/TriggerType.d.ts +1 -15
  227. package/dist/api/types/WebhookList.d.ts +1 -1
  228. package/dist/api/types/index.d.ts +12 -0
  229. package/dist/api/types/index.js +12 -0
  230. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
  231. package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
  232. package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  233. package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
  234. package/dist/serialization/resources/collections/resources/fields/index.d.ts +0 -1
  235. package/dist/serialization/resources/collections/resources/fields/index.js +0 -1
  236. package/dist/serialization/resources/collections/resources/index.d.ts +1 -2
  237. package/dist/serialization/resources/collections/resources/index.js +2 -3
  238. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  239. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
  240. package/dist/serialization/types/Assets.d.ts +2 -0
  241. package/dist/serialization/types/Assets.js +2 -0
  242. package/dist/serialization/types/Conflict.d.ts +10 -0
  243. package/dist/serialization/types/Conflict.js +31 -0
  244. package/dist/serialization/types/Dom.d.ts +1 -0
  245. package/dist/serialization/types/Dom.js +1 -0
  246. package/dist/serialization/types/FieldCreate.d.ts +13 -0
  247. package/dist/serialization/types/FieldCreate.js +34 -0
  248. package/dist/serialization/types/FieldType.d.ts +1 -1
  249. package/dist/serialization/types/FieldType.js +2 -0
  250. package/dist/serialization/types/Metadata.d.ts +13 -0
  251. package/dist/serialization/types/Metadata.js +34 -0
  252. package/dist/serialization/types/MetadataOptionsItem.d.ts +13 -0
  253. package/dist/serialization/types/MetadataOptionsItem.js +34 -0
  254. package/dist/serialization/types/OptionField.d.ts +19 -0
  255. package/dist/serialization/types/OptionField.js +40 -0
  256. package/dist/serialization/types/ReferenceField.d.ts +20 -0
  257. package/dist/serialization/types/ReferenceField.js +41 -0
  258. package/dist/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
  259. package/dist/serialization/types/ReferenceFieldMetadata.js +33 -0
  260. package/dist/serialization/types/ReferenceFieldType.d.ts +10 -0
  261. package/dist/serialization/types/ReferenceFieldType.js +31 -0
  262. package/dist/serialization/types/Robots.d.ts +14 -0
  263. package/dist/serialization/types/Robots.js +35 -0
  264. package/dist/serialization/types/RobotsRulesItem.d.ts +14 -0
  265. package/dist/serialization/types/RobotsRulesItem.js +35 -0
  266. package/dist/serialization/types/StaticField.d.ts +18 -0
  267. package/dist/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
  268. package/dist/serialization/types/StaticFieldType.d.ts +10 -0
  269. package/dist/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
  270. package/dist/serialization/types/WebhookList.d.ts +2 -2
  271. package/dist/serialization/types/WebhookList.js +2 -2
  272. package/dist/serialization/types/index.d.ts +12 -0
  273. package/dist/serialization/types/index.js +12 -0
  274. package/dist/version.d.ts +1 -1
  275. package/dist/version.js +1 -1
  276. package/dist/wrapper/AssetsClient.d.ts +12 -0
  277. package/dist/wrapper/AssetsClient.js +16 -0
  278. package/dist/wrapper/AssetsUtilitiesClient.d.ts +49 -0
  279. package/dist/wrapper/AssetsUtilitiesClient.js +121 -0
  280. package/dist/wrapper/WebflowClient.d.ts +6 -0
  281. package/dist/wrapper/WebflowClient.js +10 -0
  282. package/dist/wrapper/WebhooksClient.d.ts +39 -0
  283. package/dist/wrapper/WebhooksClient.js +66 -0
  284. package/package.json +15 -12
  285. package/reference.md +585 -91
  286. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
  287. package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
  288. package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
  289. package/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
  290. package/serialization/resources/collections/resources/fields/index.d.ts +0 -1
  291. package/serialization/resources/collections/resources/fields/index.js +0 -1
  292. package/serialization/resources/collections/resources/index.d.ts +1 -2
  293. package/serialization/resources/collections/resources/index.js +2 -3
  294. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
  295. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
  296. package/serialization/types/Assets.d.ts +2 -0
  297. package/serialization/types/Assets.js +2 -0
  298. package/serialization/types/Conflict.d.ts +10 -0
  299. package/serialization/types/Conflict.js +31 -0
  300. package/serialization/types/Dom.d.ts +1 -0
  301. package/serialization/types/Dom.js +1 -0
  302. package/serialization/types/FieldCreate.d.ts +13 -0
  303. package/serialization/types/FieldCreate.js +34 -0
  304. package/serialization/types/FieldType.d.ts +1 -1
  305. package/serialization/types/FieldType.js +2 -0
  306. package/serialization/types/Metadata.d.ts +13 -0
  307. package/serialization/types/Metadata.js +34 -0
  308. package/serialization/types/MetadataOptionsItem.d.ts +13 -0
  309. package/serialization/types/MetadataOptionsItem.js +34 -0
  310. package/serialization/types/OptionField.d.ts +19 -0
  311. package/serialization/types/OptionField.js +40 -0
  312. package/serialization/types/ReferenceField.d.ts +20 -0
  313. package/serialization/types/ReferenceField.js +41 -0
  314. package/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
  315. package/serialization/types/ReferenceFieldMetadata.js +33 -0
  316. package/serialization/types/ReferenceFieldType.d.ts +10 -0
  317. package/serialization/types/ReferenceFieldType.js +31 -0
  318. package/serialization/types/Robots.d.ts +14 -0
  319. package/serialization/types/Robots.js +35 -0
  320. package/serialization/types/RobotsRulesItem.d.ts +14 -0
  321. package/serialization/types/RobotsRulesItem.js +35 -0
  322. package/serialization/types/StaticField.d.ts +18 -0
  323. package/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
  324. package/serialization/types/StaticFieldType.d.ts +10 -0
  325. package/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
  326. package/serialization/types/WebhookList.d.ts +2 -2
  327. package/serialization/types/WebhookList.js +2 -2
  328. package/serialization/types/index.d.ts +12 -0
  329. package/serialization/types/index.js +12 -0
  330. package/version.d.ts +1 -1
  331. package/version.js +1 -1
  332. package/wrapper/AssetsClient.d.ts +12 -0
  333. package/wrapper/AssetsClient.js +16 -0
  334. package/wrapper/AssetsUtilitiesClient.d.ts +49 -0
  335. package/wrapper/AssetsUtilitiesClient.js +121 -0
  336. package/wrapper/WebflowClient.d.ts +6 -0
  337. package/wrapper/WebflowClient.js +10 -0
  338. package/wrapper/WebhooksClient.d.ts +39 -0
  339. package/wrapper/WebhooksClient.js +66 -0
  340. package/api/resources/collections/resources/fields/types/index.d.ts +0 -1
  341. package/dist/api/resources/collections/resources/fields/types/index.d.ts +0 -1
  342. package/dist/api/resources/collections/resources/fields/types/index.js +0 -17
  343. package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
  344. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
  345. package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
  346. package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
  347. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
  348. package/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
  349. package/serialization/resources/collections/resources/fields/types/index.js +0 -17
  350. /package/api/resources/{collections/resources/fields/client/requests/FieldCreate.js → forms/client/requests/FormsListSubmissionsBySiteRequest.js} +0 -0
  351. /package/{dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js → api/types/Conflict.js} +0 -0
@@ -67,10 +67,18 @@ errors:
67
67
  ConflictError:
68
68
  status-code: 409
69
69
  type: unknown
70
- docs: Site is published to multiple domains at different times
70
+ docs: Collection already exists
71
71
  examples:
72
+ - value:
73
+ code: duplicate_collection
74
+ message: Collection already exists
72
75
  - value:
73
76
  message: '''Site is published to multiple domains at different times'
77
+ - value:
78
+ code: conflict
79
+ message: >-
80
+ Conflict: Conflict with server data: Live PATCH updates can't be
81
+ applied to items that have never been published
74
82
  - value:
75
83
  code: custom_code_max_registered_scripts
76
84
  message: The maximum number of registered scripts has been reached.
@@ -226,12 +234,14 @@ types:
226
234
  id:
227
235
  type: string
228
236
  docs: Unique identifier for the Domain
237
+ access: read-only
229
238
  url:
230
239
  type: optional<string>
231
240
  docs: The registered Domain name
232
241
  lastPublished:
233
242
  type: optional<datetime>
234
243
  docs: The date the custom domain was last published to
244
+ access: read-only
235
245
  source:
236
246
  openapi: ../../../openapi/referenced-specs/v2.yml
237
247
  Locale:
@@ -348,6 +358,7 @@ types:
348
358
  id:
349
359
  type: optional<string>
350
360
  docs: The ID of the specific redirect rule
361
+ access: read-only
351
362
  fromUrl:
352
363
  type: optional<string>
353
364
  docs: The source URL path that will be redirected.
@@ -360,13 +371,13 @@ types:
360
371
  docs: Pagination object
361
372
  properties:
362
373
  limit:
363
- type: optional<double>
374
+ type: double
364
375
  docs: The limit used for pagination
365
376
  offset:
366
- type: optional<double>
377
+ type: double
367
378
  docs: The offset used for pagination
368
379
  total:
369
- type: optional<double>
380
+ type: double
370
381
  docs: The total number of records
371
382
  source:
372
383
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -440,6 +451,31 @@ types:
440
451
  docs: URL for more information about Webflow hosting plan pricing.
441
452
  source:
442
453
  openapi: ../../../openapi/referenced-specs/v2.yml
454
+ RobotsRulesItem:
455
+ properties:
456
+ userAgent:
457
+ type: string
458
+ docs: The user agent the rules apply to.
459
+ allows:
460
+ type: optional<list<string>>
461
+ docs: List of paths allowed for this user agent.
462
+ disallows:
463
+ type: optional<list<string>>
464
+ docs: List of paths disallowed for this user agent.
465
+ source:
466
+ openapi: ../../../openapi/referenced-specs/v2.yml
467
+ inline: true
468
+ Robots:
469
+ docs: The robots.txt file for a given site
470
+ properties:
471
+ rules:
472
+ type: optional<list<RobotsRulesItem>>
473
+ docs: List of rules for user agents.
474
+ sitemap:
475
+ type: optional<string>
476
+ docs: URL to the sitemap.
477
+ source:
478
+ openapi: ../../../openapi/referenced-specs/v2.yml
443
479
  SiteActivityLogItemEvent:
444
480
  enum:
445
481
  - styles_modified
@@ -535,6 +571,7 @@ types:
535
571
  id:
536
572
  type: string
537
573
  docs: Unique identifier for a Collection
574
+ access: read-only
538
575
  displayName:
539
576
  type: optional<string>
540
577
  docs: Name given to the Collection
@@ -549,9 +586,11 @@ types:
549
586
  createdOn:
550
587
  type: optional<datetime>
551
588
  docs: The date the collection was created
589
+ access: read-only
552
590
  lastUpdated:
553
591
  type: optional<datetime>
554
592
  docs: The date the collection was last updated
593
+ access: read-only
555
594
  source:
556
595
  openapi: ../../../openapi/referenced-specs/v2.yml
557
596
  CollectionList:
@@ -561,6 +600,154 @@ types:
561
600
  docs: An array of Collections
562
601
  source:
563
602
  openapi: ../../../openapi/referenced-specs/v2.yml
603
+ StaticFieldType:
604
+ enum:
605
+ - Color
606
+ - DateTime
607
+ - Email
608
+ - File
609
+ - Image
610
+ - Link
611
+ - MultiImage
612
+ - Number
613
+ - Phone
614
+ - PlainText
615
+ - RichText
616
+ - Switch
617
+ - Video
618
+ docs: Choose these appropriate field type for your collection data
619
+ inline: true
620
+ source:
621
+ openapi: ../../../openapi/referenced-specs/v2.yml
622
+ Static Field:
623
+ properties:
624
+ id:
625
+ type: optional<string>
626
+ docs: Unique identifier for a Field
627
+ access: read-only
628
+ isEditable:
629
+ type: optional<boolean>
630
+ docs: Define whether the field is editable
631
+ access: read-only
632
+ isRequired:
633
+ type: optional<boolean>
634
+ docs: define whether a field is required in a collection
635
+ type:
636
+ type: StaticFieldType
637
+ docs: Choose these appropriate field type for your collection data
638
+ displayName:
639
+ type: string
640
+ docs: The name of a field
641
+ helpText:
642
+ type: optional<string>
643
+ docs: Additional text to help anyone filling out this field
644
+ source:
645
+ openapi: ../../../openapi/referenced-specs/v2.yml
646
+ MetadataOptionsItem:
647
+ docs: A single option value for the Option field.
648
+ properties:
649
+ name:
650
+ type: string
651
+ docs: The name of the option
652
+ id:
653
+ type: optional<string>
654
+ docs: The unique identifier of the option
655
+ access: read-only
656
+ source:
657
+ openapi: ../../../openapi/referenced-specs/v2.yml
658
+ inline: true
659
+ Metadata:
660
+ docs: The metadata for the Option field.
661
+ properties:
662
+ options:
663
+ docs: The option values for the Option field.
664
+ type: list<MetadataOptionsItem>
665
+ source:
666
+ openapi: ../../../openapi/referenced-specs/v2.yml
667
+ Option Field:
668
+ properties:
669
+ id:
670
+ type: optional<string>
671
+ docs: Unique identifier for a Field
672
+ access: read-only
673
+ isEditable:
674
+ type: optional<boolean>
675
+ docs: Define whether the field is editable
676
+ access: read-only
677
+ isRequired:
678
+ type: optional<boolean>
679
+ docs: define whether a field is required in a collection
680
+ type:
681
+ type: literal<"Option">
682
+ docs: >-
683
+ The [Option field
684
+ type](/data/reference/field-types-item-values#option)
685
+ displayName:
686
+ type: string
687
+ docs: The name of a field
688
+ helpText:
689
+ type: optional<string>
690
+ docs: Additional text to help anyone filling out this field
691
+ metadata: Metadata
692
+ source:
693
+ openapi: ../../../openapi/referenced-specs/v2.yml
694
+ ReferenceFieldType:
695
+ enum:
696
+ - MultiReference
697
+ - Reference
698
+ docs: Choose these appropriate field type for your collection data
699
+ inline: true
700
+ source:
701
+ openapi: ../../../openapi/referenced-specs/v2.yml
702
+ ReferenceFieldMetadata:
703
+ docs: >-
704
+ The collectionId for the referenced collection. Only applicable for
705
+ Reference and MultiReference fields.
706
+ properties:
707
+ collectionId:
708
+ type: string
709
+ docs: The unique identifier of the collection
710
+ source:
711
+ openapi: ../../../openapi/referenced-specs/v2.yml
712
+ inline: true
713
+ Reference Field:
714
+ properties:
715
+ id:
716
+ type: optional<string>
717
+ docs: Unique identifier for a Field
718
+ access: read-only
719
+ isEditable:
720
+ type: optional<boolean>
721
+ docs: Define whether the field is editable
722
+ access: read-only
723
+ isRequired:
724
+ type: optional<boolean>
725
+ docs: define whether a field is required in a collection
726
+ type:
727
+ type: ReferenceFieldType
728
+ docs: Choose these appropriate field type for your collection data
729
+ displayName:
730
+ type: string
731
+ docs: The name of a field
732
+ helpText:
733
+ type: optional<string>
734
+ docs: Additional text to help anyone filling out this field
735
+ metadata:
736
+ type: ReferenceFieldMetadata
737
+ docs: >-
738
+ The collectionId for the referenced collection. Only applicable for
739
+ Reference and MultiReference fields.
740
+ source:
741
+ openapi: ../../../openapi/referenced-specs/v2.yml
742
+ FieldCreate:
743
+ discriminated: false
744
+ docs: Details about the field of a collection
745
+ union:
746
+ - Static Field
747
+ - Option Field
748
+ - Reference Field
749
+ source:
750
+ openapi: ../../../openapi/referenced-specs/v2.yml
564
751
  FieldType:
565
752
  enum:
566
753
  - Color
@@ -570,9 +757,11 @@ types:
570
757
  - Image
571
758
  - Link
572
759
  - MultiImage
760
+ - MultiReference
573
761
  - Number
574
762
  - Phone
575
763
  - PlainText
764
+ - Reference
576
765
  - RichText
577
766
  - Switch
578
767
  - Video
@@ -586,12 +775,14 @@ types:
586
775
  id:
587
776
  type: string
588
777
  docs: Unique identifier for a Field
778
+ access: read-only
589
779
  isRequired:
590
780
  type: boolean
591
781
  docs: define whether a field is required in a collection
592
782
  isEditable:
593
783
  type: optional<boolean>
594
784
  docs: Define whether the field is editable
785
+ access: read-only
595
786
  type:
596
787
  type: FieldType
597
788
  docs: Choose these appropriate field type for your collection data
@@ -614,11 +805,12 @@ types:
614
805
  id:
615
806
  type: string
616
807
  docs: Unique identifier for a Collection
808
+ access: read-only
617
809
  displayName:
618
- type: optional<string>
810
+ type: string
619
811
  docs: Name given to the Collection
620
812
  singularName:
621
- type: optional<string>
813
+ type: string
622
814
  docs: >-
623
815
  The name of one Item in Collection (e.g. ”Blog Post” if the Collection
624
816
  is called “Blog Posts”)
@@ -628,9 +820,11 @@ types:
628
820
  createdOn:
629
821
  type: optional<datetime>
630
822
  docs: The date the collection was created
823
+ access: read-only
631
824
  lastUpdated:
632
825
  type: optional<datetime>
633
826
  docs: The date the collection was last updated
827
+ access: read-only
634
828
  fields:
635
829
  docs: The list of fields in the Collection
636
830
  type: list<Field>
@@ -669,18 +863,22 @@ types:
669
863
  id:
670
864
  type: optional<string>
671
865
  docs: Unique identifier for the Item
866
+ access: read-only
672
867
  cmsLocaleId:
673
868
  type: optional<string>
674
869
  docs: Identifier for the locale of the CMS item
675
870
  lastPublished:
676
- type: optional<string>
871
+ type: string
677
872
  docs: The date the item was last published
873
+ access: read-only
678
874
  lastUpdated:
679
- type: optional<string>
875
+ type: string
680
876
  docs: The date the item was last updated
877
+ access: read-only
681
878
  createdOn:
682
- type: optional<string>
879
+ type: string
683
880
  docs: The date the item was created
881
+ access: read-only
684
882
  isArchived:
685
883
  type: optional<boolean>
686
884
  docs: Boolean determining if the Item is set to archived
@@ -750,18 +948,22 @@ types:
750
948
  id:
751
949
  type: optional<string>
752
950
  docs: Unique identifier for the Item
951
+ access: read-only
753
952
  cmsLocaleId:
754
953
  type: optional<string>
755
954
  docs: Identifier for the locale of the CMS item
756
955
  lastPublished:
757
956
  type: optional<string>
758
957
  docs: The date the item was last published
958
+ access: read-only
759
959
  lastUpdated:
760
960
  type: optional<string>
761
961
  docs: The date the item was last updated
962
+ access: read-only
762
963
  createdOn:
763
964
  type: optional<string>
764
965
  docs: The date the item was created
966
+ access: read-only
765
967
  isArchived:
766
968
  type: optional<boolean>
767
969
  docs: Boolean determining if the Item is in an archived state.
@@ -803,12 +1005,15 @@ types:
803
1005
  lastPublished:
804
1006
  type: optional<string>
805
1007
  docs: The date the item was last published
1008
+ access: read-only
806
1009
  lastUpdated:
807
1010
  type: optional<string>
808
1011
  docs: The date the item was last updated
1012
+ access: read-only
809
1013
  createdOn:
810
1014
  type: optional<string>
811
1015
  docs: The date the item was created
1016
+ access: read-only
812
1017
  isArchived:
813
1018
  type: optional<boolean>
814
1019
  docs: Boolean determining if the Item is set to archived
@@ -826,6 +1031,7 @@ types:
826
1031
  docs: List of Items within the collection
827
1032
  source:
828
1033
  openapi: ../../../openapi/referenced-specs/v2.yml
1034
+ Conflict: unknown
829
1035
  BulkCollectionItemFieldData:
830
1036
  properties:
831
1037
  name:
@@ -850,18 +1056,22 @@ types:
850
1056
  id:
851
1057
  type: string
852
1058
  docs: Unique identifier for the Item
1059
+ access: read-only
853
1060
  cmsLocaleIds:
854
1061
  type: optional<list<string>>
855
1062
  docs: Array of identifiers for the locales where the item will be created
856
1063
  lastPublished:
857
1064
  type: optional<string>
858
1065
  docs: The date the item was last published
1066
+ access: read-only
859
1067
  lastUpdated:
860
1068
  type: optional<string>
861
1069
  docs: The date the item was last updated
1070
+ access: read-only
862
1071
  createdOn:
863
1072
  type: optional<string>
864
1073
  docs: The date the item was created
1074
+ access: read-only
865
1075
  isArchived:
866
1076
  type: optional<boolean>
867
1077
  docs: Boolean determining if the Item is set to archived
@@ -897,18 +1107,22 @@ types:
897
1107
  id:
898
1108
  type: optional<string>
899
1109
  docs: Unique identifier for the Item
1110
+ access: read-only
900
1111
  cmsLocaleId:
901
1112
  type: optional<string>
902
1113
  docs: Identifier for the locale of the CMS item
903
1114
  lastPublished:
904
1115
  type: optional<string>
905
1116
  docs: The date the item was last published
1117
+ access: read-only
906
1118
  lastUpdated:
907
1119
  type: optional<string>
908
1120
  docs: The date the item was last updated
1121
+ access: read-only
909
1122
  createdOn:
910
1123
  type: optional<string>
911
1124
  docs: The date the item was created
1125
+ access: read-only
912
1126
  isArchived:
913
1127
  type: optional<boolean>
914
1128
  docs: Boolean determining if the Item is set to archived
@@ -940,6 +1154,7 @@ types:
940
1154
  type: optional<boolean>
941
1155
  docs: Indicates the Open Graph title was copied from the SEO title
942
1156
  default: true
1157
+ access: read-only
943
1158
  description:
944
1159
  type: optional<string>
945
1160
  docs: The description supplied to Open Graph annotations
@@ -949,6 +1164,7 @@ types:
949
1164
  Indicates the Open Graph description was copied from the SEO
950
1165
  description
951
1166
  default: true
1167
+ access: read-only
952
1168
  source:
953
1169
  openapi: ../../../openapi/referenced-specs/v2.yml
954
1170
  inline: true
@@ -958,9 +1174,11 @@ types:
958
1174
  id:
959
1175
  type: string
960
1176
  docs: Unique identifier for the Page
1177
+ access: read-only
961
1178
  siteId:
962
1179
  type: optional<string>
963
1180
  docs: Unique identifier for the Site
1181
+ access: read-only
964
1182
  title:
965
1183
  type: optional<string>
966
1184
  docs: Title of the Page
@@ -970,43 +1188,52 @@ types:
970
1188
  parentId:
971
1189
  type: optional<string>
972
1190
  docs: Identifier of the parent folder
1191
+ access: read-only
973
1192
  collectionId:
974
1193
  type: optional<string>
975
1194
  docs: >-
976
1195
  Unique identifier for a linked Collection, value will be null if the
977
1196
  Page is not part of a Collection.
1197
+ access: read-only
978
1198
  createdOn:
979
1199
  type: optional<datetime>
980
1200
  docs: The date the Page was created
1201
+ access: read-only
981
1202
  lastUpdated:
982
1203
  type: optional<datetime>
983
1204
  docs: The date the Page was most recently updated
1205
+ access: read-only
984
1206
  archived:
985
1207
  type: optional<boolean>
986
1208
  docs: Whether the Page has been archived
987
1209
  default: false
1210
+ access: read-only
988
1211
  draft:
989
1212
  type: optional<boolean>
990
1213
  docs: Whether the Page is a draft
991
1214
  default: false
1215
+ access: read-only
992
1216
  canBranch:
993
1217
  type: optional<boolean>
994
1218
  docs: >-
995
1219
  Indicates whether the Page supports [Page
996
1220
  Branching](https://university.webflow.com/lesson/page-branching)
997
1221
  default: false
1222
+ access: read-only
998
1223
  isBranch:
999
1224
  type: optional<boolean>
1000
1225
  docs: >-
1001
1226
  Indicates whether the Page is a Branch of another Page [Page
1002
1227
  Branching](https://university.webflow.com/lesson/page-branching)
1003
1228
  default: false
1229
+ access: read-only
1004
1230
  isMembersOnly:
1005
1231
  type: optional<boolean>
1006
1232
  docs: >-
1007
1233
  Indicates whether the Page is restricted by [Memberships
1008
1234
  Controls](https://university.webflow.com/lesson/webflow-memberships-overview#how-to-manage-page-restrictions)
1009
1235
  default: false
1236
+ access: read-only
1010
1237
  seo:
1011
1238
  type: optional<PageSeo>
1012
1239
  docs: SEO-related fields for the Page
@@ -1016,9 +1243,11 @@ types:
1016
1243
  localeId:
1017
1244
  type: optional<string>
1018
1245
  docs: Unique ID of the page locale
1246
+ access: read-only
1019
1247
  publishedPath:
1020
1248
  type: optional<string>
1021
1249
  docs: Relative path of the published page URL
1250
+ access: read-only
1022
1251
  source:
1023
1252
  openapi: ../../../openapi/referenced-specs/v2.yml
1024
1253
  PageList:
@@ -1029,6 +1258,7 @@ types:
1029
1258
  source:
1030
1259
  openapi: ../../../openapi/referenced-specs/v2.yml
1031
1260
  TextNodeText:
1261
+ docs: The text content of the node
1032
1262
  properties:
1033
1263
  html:
1034
1264
  type: optional<string>
@@ -1046,15 +1276,19 @@ types:
1046
1276
  text for styling or other purposes.
1047
1277
  properties:
1048
1278
  id:
1049
- type: optional<string>
1279
+ type: string
1050
1280
  docs: Node UUID
1051
- text: optional<TextNodeText>
1281
+ access: read-only
1282
+ text:
1283
+ type: TextNodeText
1284
+ docs: The text content of the node
1052
1285
  attributes:
1053
1286
  type: optional<map<string, string>>
1054
1287
  docs: The custom attributes of the node
1055
1288
  source:
1056
1289
  openapi: ../../../openapi/referenced-specs/v2.yml
1057
1290
  ImageNodeImage:
1291
+ docs: The image details of the node
1058
1292
  properties:
1059
1293
  alt: optional<string>
1060
1294
  assetId: optional<string>
@@ -1069,15 +1303,19 @@ types:
1069
1303
  can be associated with the image for styling or other purposes.
1070
1304
  properties:
1071
1305
  id:
1072
- type: optional<string>
1306
+ type: string
1073
1307
  docs: Node UUID
1074
- image: optional<ImageNodeImage>
1308
+ access: read-only
1309
+ image:
1310
+ type: ImageNodeImage
1311
+ docs: The image details of the node
1075
1312
  attributes:
1076
1313
  type: optional<map<string, string>>
1077
1314
  docs: The custom attributes of the node
1078
1315
  source:
1079
1316
  openapi: ../../../openapi/referenced-specs/v2.yml
1080
1317
  Text:
1318
+ docs: The text content of the node
1081
1319
  properties:
1082
1320
  html:
1083
1321
  type: optional<string>
@@ -1128,14 +1366,15 @@ types:
1128
1366
  the component instance, such as its type and properties.
1129
1367
  properties:
1130
1368
  id:
1131
- type: optional<string>
1132
- docs: Node UUID
1369
+ type: string
1370
+ docs: The unique identifier of the component instance node
1371
+ access: read-only
1133
1372
  componentId:
1134
- type: optional<string>
1135
- docs: Component ID
1373
+ type: string
1374
+ docs: The unique identifier of the component
1136
1375
  propertyOverrides:
1137
- type: optional<list<ComponentProperty>>
1138
1376
  docs: List of component properties with overrides for a component instance.
1377
+ type: list<ComponentProperty>
1139
1378
  source:
1140
1379
  openapi: ../../../openapi/referenced-specs/v2.yml
1141
1380
  Node:
@@ -1165,6 +1404,10 @@ types:
1165
1404
  docs: Page ID
1166
1405
  nodes: optional<list<Node>>
1167
1406
  pagination: optional<Pagination>
1407
+ lastUpdated:
1408
+ type: optional<datetime>
1409
+ docs: The date the page dom was most recently updated
1410
+ access: read-only
1168
1411
  source:
1169
1412
  openapi: ../../../openapi/referenced-specs/v2.yml
1170
1413
  TextNodeWrite:
@@ -1220,21 +1463,26 @@ types:
1220
1463
  id:
1221
1464
  type: string
1222
1465
  docs: Unique identifier for the Component
1466
+ access: read-only
1223
1467
  name:
1224
1468
  type: optional<string>
1225
1469
  docs: Component Name
1470
+ access: read-only
1226
1471
  group:
1227
1472
  type: optional<string>
1228
1473
  docs: The group that the component belongs to
1474
+ access: read-only
1229
1475
  description:
1230
1476
  type: optional<string>
1231
1477
  docs: Component Description
1478
+ access: read-only
1232
1479
  readonly:
1233
1480
  type: optional<boolean>
1234
1481
  docs: >-
1235
1482
  Indicates whether the component is read-only. Components that cannot
1236
1483
  be updated within this Site are set to readonly. Workspace Libraries
1237
1484
  are a good example.
1485
+ access: read-only
1238
1486
  source:
1239
1487
  openapi: ../../../openapi/referenced-specs/v2.yml
1240
1488
  ComponentList:
@@ -1270,6 +1518,7 @@ types:
1270
1518
  componentId:
1271
1519
  type: optional<string>
1272
1520
  docs: Component ID
1521
+ access: read-only
1273
1522
  properties: optional<list<ComponentProperty>>
1274
1523
  pagination: optional<Pagination>
1275
1524
  source:
@@ -1314,9 +1563,11 @@ types:
1314
1563
  lastUpdated:
1315
1564
  type: optional<string>
1316
1565
  docs: Date when the Site's scripts were last updated
1566
+ access: read-only
1317
1567
  createdOn:
1318
1568
  type: optional<string>
1319
1569
  docs: Date when the Site's scripts were created
1570
+ access: read-only
1320
1571
  source:
1321
1572
  openapi: ../../../openapi/referenced-specs/v2.yml
1322
1573
  CustomCodeHostedResponse:
@@ -1325,6 +1576,7 @@ types:
1325
1576
  id:
1326
1577
  type: optional<string>
1327
1578
  docs: Human readable id, derived from the user-specified display name
1579
+ access: read-only
1328
1580
  canCopy:
1329
1581
  type: optional<boolean>
1330
1582
  docs: >-
@@ -1347,9 +1599,11 @@ types:
1347
1599
  createdOn:
1348
1600
  type: optional<string>
1349
1601
  docs: Timestamp when the script version was created
1602
+ access: read-only
1350
1603
  lastUpdated:
1351
1604
  type: optional<string>
1352
1605
  docs: Timestamp when the script version was last updated
1606
+ access: read-only
1353
1607
  version:
1354
1608
  type: optional<string>
1355
1609
  docs: A Semantic Version (SemVer) string, denoting the version of the script
@@ -1367,6 +1621,7 @@ types:
1367
1621
  id:
1368
1622
  type: optional<string>
1369
1623
  docs: Human readable id, derived from the user-specified display name
1624
+ access: read-only
1370
1625
  canCopy:
1371
1626
  type: optional<boolean>
1372
1627
  docs: >-
@@ -1389,9 +1644,11 @@ types:
1389
1644
  createdOn:
1390
1645
  type: optional<string>
1391
1646
  docs: Timestamp when the script version was created
1647
+ access: read-only
1392
1648
  lastUpdated:
1393
1649
  type: optional<string>
1394
1650
  docs: Timestamp when the script version was last updated
1651
+ access: read-only
1395
1652
  version:
1396
1653
  type: optional<string>
1397
1654
  docs: A Semantic Version (SemVer) string, denoting the version of the script
@@ -1426,9 +1683,11 @@ types:
1426
1683
  createdOn:
1427
1684
  type: optional<datetime>
1428
1685
  docs: The date the Block was created
1686
+ access: read-only
1429
1687
  lastUpdated:
1430
1688
  type: optional<datetime>
1431
1689
  docs: The date the Block was most recently updated
1690
+ access: read-only
1432
1691
  source:
1433
1692
  openapi: ../../../openapi/referenced-specs/v2.yml
1434
1693
  ListCustomCodeBlocks:
@@ -1439,29 +1698,30 @@ types:
1439
1698
  source:
1440
1699
  openapi: ../../../openapi/referenced-specs/v2.yml
1441
1700
  AssetVariant:
1701
+ docs: Asset variant details
1442
1702
  properties:
1443
1703
  hostedUrl:
1444
- type: optional<string>
1704
+ type: string
1445
1705
  docs: URL of where the asset variant is hosted
1446
1706
  validation:
1447
1707
  format: uri
1448
1708
  originalFileName:
1449
- type: optional<string>
1709
+ type: string
1450
1710
  docs: Original file name of the variant
1451
1711
  displayName:
1452
- type: optional<string>
1712
+ type: string
1453
1713
  docs: Display name of the variant
1454
1714
  format:
1455
- type: optional<string>
1715
+ type: string
1456
1716
  docs: format of the variant
1457
1717
  width:
1458
- type: optional<integer>
1718
+ type: integer
1459
1719
  docs: Width in pixels
1460
1720
  height:
1461
- type: optional<integer>
1721
+ type: integer
1462
1722
  docs: Height in pixels
1463
1723
  quality:
1464
- type: optional<integer>
1724
+ type: integer
1465
1725
  docs: Value between 0 and 100 representing the image quality
1466
1726
  error:
1467
1727
  type: optional<string>
@@ -1469,37 +1729,51 @@ types:
1469
1729
  source:
1470
1730
  openapi: ../../../openapi/referenced-specs/v2.yml
1471
1731
  Asset:
1732
+ docs: Asset details
1472
1733
  properties:
1473
1734
  id:
1474
- type: optional<string>
1735
+ type: string
1475
1736
  docs: Unique identifier for this asset
1737
+ access: read-only
1476
1738
  contentType:
1477
- type: optional<string>
1739
+ type: string
1478
1740
  docs: File format type
1741
+ access: read-only
1479
1742
  size:
1480
- type: optional<integer>
1743
+ type: integer
1481
1744
  docs: size in bytes
1745
+ access: read-only
1482
1746
  siteId:
1483
- type: optional<string>
1747
+ type: string
1484
1748
  docs: Unique identifier for the site that hosts this asset
1749
+ access: read-only
1485
1750
  hostedUrl:
1486
- type: optional<string>
1751
+ type: string
1487
1752
  docs: Link to the asset
1488
1753
  validation:
1489
1754
  format: uri
1755
+ access: read-only
1490
1756
  originalFileName:
1491
- type: optional<string>
1757
+ type: string
1492
1758
  docs: Original file name at the time of upload
1759
+ access: read-only
1493
1760
  displayName:
1494
- type: optional<string>
1761
+ type: string
1495
1762
  docs: Display name of the asset
1496
1763
  lastUpdated:
1497
- type: optional<datetime>
1764
+ type: datetime
1498
1765
  docs: Date the asset metadata was last updated
1766
+ access: read-only
1499
1767
  createdOn:
1500
- type: optional<datetime>
1768
+ type: datetime
1501
1769
  docs: Date the asset metadata was created
1502
- variants: optional<list<AssetVariant>>
1770
+ access: read-only
1771
+ variants:
1772
+ docs: >-
1773
+ A list of [asset
1774
+ variants](https://help.webflow.com/hc/en-us/articles/33961378697107-Responsive-images)
1775
+ created by Webflow to serve your site responsively.
1776
+ type: list<AssetVariant>
1503
1777
  altText:
1504
1778
  type: optional<string>
1505
1779
  docs: The visual description of the asset
@@ -1509,6 +1783,7 @@ types:
1509
1783
  docs: A list of assets
1510
1784
  properties:
1511
1785
  assets: optional<list<Asset>>
1786
+ pagination: optional<Pagination>
1512
1787
  source:
1513
1788
  openapi: ../../../openapi/referenced-specs/v2.yml
1514
1789
  AssetUploadUploadDetails:
@@ -1618,46 +1893,8 @@ types:
1618
1893
  - collection_item_deleted
1619
1894
  - collection_item_unpublished
1620
1895
  docs: >
1621
- * `form_submission` - Sends the [form_submission](#form_submission) event
1622
-
1623
- * `site_publish` - Sends a [site_publish](#site_publish) event
1624
-
1625
- * `page_created` - Send the [page_created](#page_created) event
1626
-
1627
- * `page_metadata_updated` - Sends the
1628
- [page_metadata_updated](#page_metadata_updated) event
1629
-
1630
- * `page_deleted` - Sends the [page_deleted](#page_deleted) event
1631
-
1632
- * `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order)
1633
- event
1634
-
1635
- * `ecomm_order_changed` - Sends the
1636
- [ecomm_order_changed](#ecomm_order_changed) event
1637
-
1638
- * `ecomm_inventory_changed` - Sends the
1639
- [ecomm_inventory_changed](#ecomm_inventory_changed) event
1640
-
1641
- * `user_account_added` - Sends the
1642
- [user_account_added](#user_account_added) event
1643
-
1644
- * `user_account_updated` - Sends the
1645
- [user_account_updated](#user_account_updated) event
1646
-
1647
- * `user_account_deleted` - Sends the
1648
- [user_account_deleted](#user_account_deleted) event
1649
-
1650
- * `collection_item_created` - Sends the
1651
- [collection_item_created](#collection_item_created) event
1652
-
1653
- * `collection_item_changed` - Sends the
1654
- [collection_item_changed](#collection_item_changed) event
1655
-
1656
- * `collection_item_deleted` - Sends the
1657
- [collection_item_deleted](#collection_item_deleted) event
1658
-
1659
- * `collection_item_unpublished` - Sends the
1660
- [collection_item_unpublished](#collection_item_unpublished) event
1896
+ The type of event that triggered the request. See the the documentation
1897
+ for details on [supported events](/data/reference/all-events).
1661
1898
  source:
1662
1899
  openapi: ../../../openapi/referenced-specs/v2.yml
1663
1900
  WebhookFilter:
@@ -1676,6 +1913,7 @@ types:
1676
1913
  id:
1677
1914
  type: optional<string>
1678
1915
  docs: Unique identifier for the Webhook registration
1916
+ access: read-only
1679
1917
  triggerType: optional<TriggerType>
1680
1918
  url:
1681
1919
  type: optional<string>
@@ -1683,9 +1921,11 @@ types:
1683
1921
  workspaceId:
1684
1922
  type: optional<string>
1685
1923
  docs: Unique identifier for the Workspace the Webhook is registered in
1924
+ access: read-only
1686
1925
  siteId:
1687
1926
  type: optional<string>
1688
1927
  docs: Unique identifier for the Site the Webhook is registered in
1928
+ access: read-only
1689
1929
  filter:
1690
1930
  type: optional<WebhookFilter>
1691
1931
  docs: >-
@@ -1694,15 +1934,17 @@ types:
1694
1934
  lastTriggered:
1695
1935
  type: optional<datetime>
1696
1936
  docs: Date the Webhook instance was last triggered
1937
+ access: read-only
1697
1938
  createdOn:
1698
1939
  type: optional<datetime>
1699
1940
  docs: Date the Webhook registration was created
1941
+ access: read-only
1700
1942
  source:
1701
1943
  openapi: ../../../openapi/referenced-specs/v2.yml
1702
1944
  WebhookList:
1703
1945
  properties:
1704
- pagination: optional<Pagination>
1705
1946
  webhooks: optional<list<Webhook>>
1947
+ pagination: optional<Pagination>
1706
1948
  source:
1707
1949
  openapi: ../../../openapi/referenced-specs/v2.yml
1708
1950
  FormFieldValueType:
@@ -1905,24 +2147,31 @@ types:
1905
2147
  id:
1906
2148
  type: optional<string>
1907
2149
  docs: Unique identifier for the User
2150
+ access: read-only
1908
2151
  isEmailVerified:
1909
2152
  type: optional<boolean>
1910
2153
  docs: Shows whether the user has verified their email address
2154
+ access: read-only
1911
2155
  lastUpdated:
1912
2156
  type: optional<datetime>
1913
2157
  docs: The timestamp the user was updated
2158
+ access: read-only
1914
2159
  invitedOn:
1915
2160
  type: optional<datetime>
1916
2161
  docs: The timestamp the user was invited
2162
+ access: read-only
1917
2163
  createdOn:
1918
2164
  type: optional<datetime>
1919
2165
  docs: The timestamp the user was created
2166
+ access: read-only
1920
2167
  lastLogin:
1921
2168
  type: optional<datetime>
1922
2169
  docs: The timestamp the user was logged in
2170
+ access: read-only
1923
2171
  status:
1924
2172
  type: optional<UserStatus>
1925
2173
  docs: The status of the user
2174
+ access: read-only
1926
2175
  accessGroups:
1927
2176
  type: optional<list<UserAccessGroupsItem>>
1928
2177
  docs: Access groups the user belongs to
@@ -2152,18 +2401,23 @@ types:
2152
2401
  id:
2153
2402
  type: optional<string>
2154
2403
  docs: Unique identifier for the Product
2404
+ access: read-only
2155
2405
  cmsLocaleId:
2156
2406
  type: optional<string>
2157
2407
  docs: Identifier for the locale of the CMS item
2408
+ access: read-only
2158
2409
  lastPublished:
2159
2410
  type: optional<datetime>
2160
2411
  docs: The date the Product was last published
2412
+ access: read-only
2161
2413
  lastUpdated:
2162
2414
  type: optional<datetime>
2163
2415
  docs: The date the Product was last updated
2416
+ access: read-only
2164
2417
  createdOn:
2165
2418
  type: optional<datetime>
2166
2419
  docs: The date the Product was created
2420
+ access: read-only
2167
2421
  isArchived:
2168
2422
  type: optional<boolean>
2169
2423
  docs: Boolean determining if the Product is set to archived
@@ -2209,6 +2463,10 @@ types:
2209
2463
  - value: one-time
2210
2464
  name: OneTime
2211
2465
  - subscription
2466
+ docs: >-
2467
+ [Billing
2468
+ method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
2469
+ the SKU
2212
2470
  inline: true
2213
2471
  source:
2214
2472
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -2246,6 +2504,10 @@ types:
2246
2504
  openapi: ../../../openapi/referenced-specs/v2.yml
2247
2505
  inline: true
2248
2506
  SkuFieldDataEcSkuSubscriptionPlan:
2507
+ docs: >-
2508
+ [Subscription
2509
+ plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
2510
+ for the SKU
2249
2511
  properties:
2250
2512
  interval:
2251
2513
  type: optional<SkuFieldDataEcSkuSubscriptionPlanInterval>
@@ -2256,7 +2518,9 @@ types:
2256
2518
  trial:
2257
2519
  type: optional<double>
2258
2520
  docs: Number of days of a trial
2259
- plans: optional<list<SkuFieldDataEcSkuSubscriptionPlanPlansItem>>
2521
+ plans:
2522
+ type: optional<list<SkuFieldDataEcSkuSubscriptionPlanPlansItem>>
2523
+ access: read-only
2260
2524
  source:
2261
2525
  openapi: ../../../openapi/referenced-specs/v2.yml
2262
2526
  inline: true
@@ -2276,8 +2540,18 @@ types:
2276
2540
  compare-at-price:
2277
2541
  type: optional<SkuFieldDataCompareAtPrice>
2278
2542
  docs: comparison price of SKU
2279
- ec-sku-billing-method: optional<SkuFieldDataEcSkuBillingMethod>
2280
- ec-sku-subscription-plan: optional<SkuFieldDataEcSkuSubscriptionPlan>
2543
+ ec-sku-billing-method:
2544
+ type: optional<SkuFieldDataEcSkuBillingMethod>
2545
+ docs: >-
2546
+ [Billing
2547
+ method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
2548
+ the SKU
2549
+ ec-sku-subscription-plan:
2550
+ type: optional<SkuFieldDataEcSkuSubscriptionPlan>
2551
+ docs: >-
2552
+ [Subscription
2553
+ plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
2554
+ for the SKU
2281
2555
  track-inventory:
2282
2556
  type: optional<boolean>
2283
2557
  docs: >-
@@ -2295,18 +2569,23 @@ types:
2295
2569
  id:
2296
2570
  type: optional<string>
2297
2571
  docs: Unique identifier for the Product
2572
+ access: read-only
2298
2573
  cmsLocaleId:
2299
2574
  type: optional<string>
2300
2575
  docs: Identifier for the locale of the CMS item
2576
+ access: read-only
2301
2577
  lastPublished:
2302
2578
  type: optional<datetime>
2303
2579
  docs: The date the Product was last published
2580
+ access: read-only
2304
2581
  lastUpdated:
2305
2582
  type: optional<datetime>
2306
2583
  docs: The date the Product was last updated
2584
+ access: read-only
2307
2585
  createdOn:
2308
2586
  type: optional<datetime>
2309
2587
  docs: The date the Product was created
2588
+ access: read-only
2310
2589
  fieldData: optional<SkuFieldData>
2311
2590
  source:
2312
2591
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -2472,6 +2751,7 @@ types:
2472
2751
  productId:
2473
2752
  type: optional<string>
2474
2753
  docs: The unique identifier for the Product
2754
+ access: read-only
2475
2755
  productName:
2476
2756
  type: optional<string>
2477
2757
  docs: User-facing name of the Product
@@ -2725,6 +3005,7 @@ types:
2725
3005
  The order ID. Will usually be 6 hex characters, but can also be 9
2726
3006
  hex characters if the site has a very large number of Orders.
2727
3007
  Randomly assigned.
3008
+ access: read-only
2728
3009
  status:
2729
3010
  type: optional<OrderStatus>
2730
3011
  docs: |
@@ -2868,6 +3149,7 @@ types:
2868
3149
  id:
2869
3150
  type: optional<string>
2870
3151
  docs: Unique identifier for a SKU item
3152
+ access: read-only
2871
3153
  quantity:
2872
3154
  type: optional<double>
2873
3155
  docs: >-
@@ -2884,9 +3166,11 @@ types:
2884
3166
  siteId:
2885
3167
  type: optional<string>
2886
3168
  docs: The identifier of the Site
3169
+ access: read-only
2887
3170
  createdOn:
2888
3171
  type: optional<datetime>
2889
3172
  docs: Date that the Site was created on
3173
+ access: read-only
2890
3174
  defaultCurrency:
2891
3175
  type: optional<string>
2892
3176
  docs: The three-letter ISO currency code for the Site