webflow-api 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/.mock/definition/__package__.yml +613 -214
  2. package/.mock/definition/accessGroups.yml +3 -3
  3. package/.mock/definition/assets.yml +10 -9
  4. package/.mock/definition/collections/fields.yml +16 -14
  5. package/.mock/definition/collections/items.yml +180 -63
  6. package/.mock/definition/collections.yml +6 -5
  7. package/.mock/definition/components.yml +486 -0
  8. package/.mock/definition/ecommerce.yml +2 -2
  9. package/.mock/definition/forms.yml +7 -6
  10. package/.mock/definition/inventory.yml +8 -6
  11. package/.mock/definition/orders.yml +11 -9
  12. package/.mock/definition/pages/scripts.yml +18 -17
  13. package/.mock/definition/pages.yml +91 -64
  14. package/.mock/definition/products.yml +9 -9
  15. package/.mock/definition/scripts.yml +12 -16
  16. package/.mock/definition/sites/activityLogs.yml +2 -2
  17. package/.mock/definition/sites/plans.yml +40 -0
  18. package/.mock/definition/sites/redirects.yml +190 -0
  19. package/.mock/definition/sites/scripts.yml +16 -21
  20. package/.mock/definition/sites.yml +202 -6
  21. package/.mock/definition/token.yml +5 -4
  22. package/.mock/definition/users.yml +8 -8
  23. package/.mock/definition/webhooks.yml +9 -9
  24. package/.mock/fern.config.json +1 -1
  25. package/Client.d.ts +3 -0
  26. package/Client.js +25 -20
  27. package/MIGRATION.md +32 -15
  28. package/api/errors/index.d.ts +1 -1
  29. package/api/errors/index.js +1 -1
  30. package/api/resources/accessGroups/client/Client.js +1 -1
  31. package/api/resources/assets/client/Client.d.ts +5 -0
  32. package/api/resources/assets/client/Client.js +13 -8
  33. package/api/resources/collections/client/Client.d.ts +3 -0
  34. package/api/resources/collections/client/Client.js +7 -4
  35. package/api/resources/collections/resources/fields/client/Client.js +3 -3
  36. package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
  37. package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  38. package/api/resources/collections/resources/items/client/Client.d.ts +13 -20
  39. package/api/resources/collections/resources/items/client/Client.js +31 -36
  40. package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  41. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
  42. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
  43. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  44. package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
  45. package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
  46. package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
  47. package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
  48. package/api/resources/collections/resources/items/types/index.d.ts +3 -3
  49. package/api/resources/collections/resources/items/types/index.js +3 -3
  50. package/api/resources/components/client/Client.d.ts +176 -0
  51. package/api/resources/components/client/Client.js +670 -0
  52. package/api/resources/components/client/index.d.ts +1 -0
  53. package/api/resources/components/client/index.js +17 -0
  54. package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  55. package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  56. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  57. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  58. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  59. package/api/resources/components/client/requests/index.d.ts +5 -0
  60. package/api/resources/components/client/requests/index.js +2 -0
  61. package/api/resources/components/index.d.ts +2 -0
  62. package/api/resources/components/index.js +18 -0
  63. package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  64. package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  65. package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  66. package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  67. package/api/resources/components/types/index.d.ts +4 -0
  68. package/api/resources/components/types/index.js +20 -0
  69. package/api/resources/ecommerce/client/Client.js +1 -1
  70. package/api/resources/forms/client/Client.d.ts +3 -0
  71. package/api/resources/forms/client/Client.js +8 -5
  72. package/api/resources/index.d.ts +3 -0
  73. package/api/resources/index.js +4 -1
  74. package/api/resources/inventory/client/Client.d.ts +3 -1
  75. package/api/resources/inventory/client/Client.js +5 -3
  76. package/api/resources/orders/client/Client.d.ts +3 -0
  77. package/api/resources/orders/client/Client.js +9 -6
  78. package/api/resources/pages/client/Client.d.ts +26 -10
  79. package/api/resources/pages/client/Client.js +32 -18
  80. package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  81. package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  82. package/api/resources/pages/client/requests/index.d.ts +1 -1
  83. package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
  84. package/api/resources/pages/resources/scripts/client/Client.js +11 -6
  85. package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  86. package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  87. package/api/resources/pages/types/index.d.ts +1 -1
  88. package/api/resources/pages/types/index.js +1 -1
  89. package/api/resources/products/client/Client.d.ts +5 -6
  90. package/api/resources/products/client/Client.js +11 -12
  91. package/api/resources/scripts/client/Client.d.ts +3 -3
  92. package/api/resources/scripts/client/Client.js +6 -6
  93. package/api/resources/sites/client/Client.d.ts +70 -0
  94. package/api/resources/sites/client/Client.js +330 -9
  95. package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  96. package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  97. package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  98. package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  99. package/api/resources/sites/client/requests/index.d.ts +2 -0
  100. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  101. package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  102. package/api/resources/sites/resources/index.d.ts +2 -0
  103. package/api/resources/sites/resources/index.js +3 -1
  104. package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
  105. package/api/resources/sites/resources/plans/client/Client.js +155 -0
  106. package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  107. package/api/resources/sites/resources/plans/client/index.js +2 -0
  108. package/api/resources/sites/resources/plans/index.d.ts +1 -0
  109. package/api/resources/sites/resources/plans/index.js +17 -0
  110. package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
  111. package/api/resources/sites/resources/redirects/client/Client.js +472 -0
  112. package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  113. package/api/resources/sites/resources/redirects/client/index.js +2 -0
  114. package/api/resources/sites/resources/redirects/index.d.ts +1 -0
  115. package/api/resources/sites/resources/redirects/index.js +17 -0
  116. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  117. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  118. package/api/resources/token/client/Client.d.ts +2 -1
  119. package/api/resources/token/client/Client.js +4 -3
  120. package/api/resources/users/client/Client.d.ts +1 -1
  121. package/api/resources/users/client/Client.js +6 -6
  122. package/api/resources/webhooks/client/Client.d.ts +4 -1
  123. package/api/resources/webhooks/client/Client.js +8 -5
  124. package/api/types/CollectionItem.d.ts +6 -2
  125. package/api/types/CollectionItemFieldData.d.ts +2 -2
  126. package/api/types/CollectionItemPatchSingle.d.ts +24 -0
  127. package/api/types/CollectionItemPatchSingle.js +5 -0
  128. package/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
  129. package/api/types/CollectionItemPatchSingleFieldData.js +5 -0
  130. package/api/types/CollectionItemPostSingle.d.ts +28 -0
  131. package/api/types/CollectionItemPostSingle.js +5 -0
  132. package/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
  133. package/api/types/CollectionItemPostSingleFieldData.js +5 -0
  134. package/api/types/Component.d.ts +18 -0
  135. package/api/types/Component.js +5 -0
  136. package/api/types/ComponentDom.d.ts +13 -0
  137. package/api/types/ComponentDom.js +5 -0
  138. package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  139. package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  140. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  141. package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  142. package/api/types/ComponentList.d.ts +11 -0
  143. package/api/types/ComponentList.js +5 -0
  144. package/api/types/ComponentNode.d.ts +15 -0
  145. package/api/types/ComponentNode.js +5 -0
  146. package/api/types/ComponentProperties.d.ts +13 -0
  147. package/api/types/ComponentProperties.js +5 -0
  148. package/api/types/ComponentProperty.d.ts +17 -0
  149. package/api/types/ComponentProperty.js +5 -0
  150. package/api/types/ComponentPropertyType.d.ts +12 -0
  151. package/api/types/ComponentPropertyType.js +11 -0
  152. package/api/types/Dom.d.ts +1 -1
  153. package/api/types/Domain.d.ts +2 -0
  154. package/api/types/Error_.d.ts +1 -1
  155. package/api/types/FieldType.d.ts +10 -10
  156. package/api/types/FieldType.js +9 -9
  157. package/api/types/ImageNode.d.ts +6 -2
  158. package/api/types/ImageNodeImage.d.ts +7 -0
  159. package/api/types/ImageNodeImage.js +5 -0
  160. package/api/types/Node.d.ts +11 -8
  161. package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
  162. package/api/types/NotEnterprisePlanWorkspace.js +5 -0
  163. package/api/types/ProductFieldData.d.ts +1 -1
  164. package/api/types/Redirect.d.ts +14 -0
  165. package/api/types/Redirect.js +5 -0
  166. package/api/types/Redirects.d.ts +12 -0
  167. package/api/types/Redirects.js +5 -0
  168. package/api/types/ScriptApply.d.ts +1 -1
  169. package/api/types/SitePlan.d.ts +12 -0
  170. package/api/types/SitePlan.js +5 -0
  171. package/api/types/SitePlanId.d.ts +21 -0
  172. package/api/types/SitePlanId.js +20 -0
  173. package/api/types/SitePlanName.d.ts +15 -0
  174. package/api/types/SitePlanName.js +14 -0
  175. package/api/types/Text.d.ts +9 -0
  176. package/api/types/Text.js +5 -0
  177. package/api/types/TextNode.d.ts +7 -3
  178. package/api/types/TextNodeText.d.ts +9 -0
  179. package/api/types/TextNodeText.js +5 -0
  180. package/{dist/api/resources/pages/types/DomWriteNodesItem.d.ts → api/types/TextNodeWrite.d.ts} +4 -1
  181. package/api/types/TextNodeWrite.js +5 -0
  182. package/api/types/TriggerType.d.ts +15 -15
  183. package/api/types/UserAccessGroupsItem.d.ts +2 -3
  184. package/api/types/UserAccessGroupsItemType.d.ts +2 -3
  185. package/api/types/index.d.ts +27 -6
  186. package/api/types/index.js +27 -6
  187. package/dist/Client.d.ts +3 -0
  188. package/dist/Client.js +25 -20
  189. package/dist/api/errors/index.d.ts +1 -1
  190. package/dist/api/errors/index.js +1 -1
  191. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  192. package/dist/api/resources/assets/client/Client.d.ts +5 -0
  193. package/dist/api/resources/assets/client/Client.js +13 -8
  194. package/dist/api/resources/collections/client/Client.d.ts +3 -0
  195. package/dist/api/resources/collections/client/Client.js +7 -4
  196. package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
  197. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
  198. package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  199. package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -20
  200. package/dist/api/resources/collections/resources/items/client/Client.js +31 -36
  201. package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  202. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
  203. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
  204. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
  205. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
  206. package/dist/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
  207. package/dist/api/resources/collections/resources/items/types/MultipleItems.js +5 -0
  208. package/{api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
  209. package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
  210. package/dist/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
  211. package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +5 -0
  212. package/dist/api/resources/collections/resources/items/types/index.d.ts +3 -3
  213. package/dist/api/resources/collections/resources/items/types/index.js +3 -3
  214. package/dist/api/resources/components/client/Client.d.ts +176 -0
  215. package/dist/api/resources/components/client/Client.js +670 -0
  216. package/dist/api/resources/components/client/index.d.ts +1 -0
  217. package/dist/api/resources/components/client/index.js +17 -0
  218. package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
  219. package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
  220. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
  221. package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
  222. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
  223. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
  224. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
  225. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
  226. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
  227. package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
  228. package/dist/api/resources/components/client/requests/index.d.ts +5 -0
  229. package/dist/api/resources/components/client/requests/index.js +2 -0
  230. package/dist/api/resources/components/index.d.ts +2 -0
  231. package/dist/api/resources/components/index.js +18 -0
  232. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
  233. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
  234. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
  235. package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
  236. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
  237. package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
  238. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
  239. package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
  240. package/dist/api/resources/components/types/index.d.ts +4 -0
  241. package/dist/api/resources/components/types/index.js +20 -0
  242. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  243. package/dist/api/resources/forms/client/Client.d.ts +3 -0
  244. package/dist/api/resources/forms/client/Client.js +8 -5
  245. package/dist/api/resources/index.d.ts +3 -0
  246. package/dist/api/resources/index.js +4 -1
  247. package/dist/api/resources/inventory/client/Client.d.ts +3 -1
  248. package/dist/api/resources/inventory/client/Client.js +5 -3
  249. package/dist/api/resources/orders/client/Client.d.ts +3 -0
  250. package/dist/api/resources/orders/client/Client.js +9 -6
  251. package/dist/api/resources/pages/client/Client.d.ts +26 -10
  252. package/dist/api/resources/pages/client/Client.js +32 -18
  253. package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
  254. package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
  255. package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
  256. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
  257. package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
  258. package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
  259. package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
  260. package/dist/api/resources/pages/types/index.d.ts +1 -1
  261. package/dist/api/resources/pages/types/index.js +1 -1
  262. package/dist/api/resources/products/client/Client.d.ts +5 -6
  263. package/dist/api/resources/products/client/Client.js +11 -12
  264. package/dist/api/resources/scripts/client/Client.d.ts +3 -3
  265. package/dist/api/resources/scripts/client/Client.js +6 -6
  266. package/dist/api/resources/sites/client/Client.d.ts +70 -0
  267. package/dist/api/resources/sites/client/Client.js +330 -9
  268. package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
  269. package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
  270. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  271. package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
  272. package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
  273. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  274. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  275. package/dist/api/resources/sites/resources/index.d.ts +2 -0
  276. package/dist/api/resources/sites/resources/index.js +3 -1
  277. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
  278. package/dist/api/resources/sites/resources/plans/client/Client.js +155 -0
  279. package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
  280. package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
  281. package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
  282. package/dist/api/resources/sites/resources/plans/index.js +17 -0
  283. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
  284. package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -0
  285. package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
  286. package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
  287. package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
  288. package/dist/api/resources/sites/resources/redirects/index.js +17 -0
  289. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  290. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  291. package/dist/api/resources/token/client/Client.d.ts +2 -1
  292. package/dist/api/resources/token/client/Client.js +4 -3
  293. package/dist/api/resources/users/client/Client.d.ts +1 -1
  294. package/dist/api/resources/users/client/Client.js +6 -6
  295. package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
  296. package/dist/api/resources/webhooks/client/Client.js +8 -5
  297. package/dist/api/types/CollectionItem.d.ts +6 -2
  298. package/dist/api/types/CollectionItemFieldData.d.ts +2 -2
  299. package/dist/api/types/CollectionItemPatchSingle.d.ts +24 -0
  300. package/dist/api/types/CollectionItemPatchSingle.js +5 -0
  301. package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
  302. package/dist/api/types/CollectionItemPatchSingleFieldData.js +5 -0
  303. package/dist/api/types/CollectionItemPostSingle.d.ts +28 -0
  304. package/dist/api/types/CollectionItemPostSingle.js +5 -0
  305. package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
  306. package/dist/api/types/CollectionItemPostSingleFieldData.js +5 -0
  307. package/dist/api/types/Component.d.ts +18 -0
  308. package/dist/api/types/Component.js +5 -0
  309. package/dist/api/types/ComponentDom.d.ts +13 -0
  310. package/dist/api/types/ComponentDom.js +5 -0
  311. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
  312. package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
  313. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
  314. package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
  315. package/dist/api/types/ComponentList.d.ts +11 -0
  316. package/dist/api/types/ComponentList.js +5 -0
  317. package/dist/api/types/ComponentNode.d.ts +15 -0
  318. package/dist/api/types/ComponentNode.js +5 -0
  319. package/dist/api/types/ComponentProperties.d.ts +13 -0
  320. package/dist/api/types/ComponentProperties.js +5 -0
  321. package/dist/api/types/ComponentProperty.d.ts +17 -0
  322. package/dist/api/types/ComponentProperty.js +5 -0
  323. package/dist/api/types/ComponentPropertyType.d.ts +12 -0
  324. package/dist/api/types/ComponentPropertyType.js +11 -0
  325. package/dist/api/types/Dom.d.ts +1 -1
  326. package/dist/api/types/Domain.d.ts +2 -0
  327. package/dist/api/types/Error_.d.ts +1 -1
  328. package/dist/api/types/FieldType.d.ts +10 -10
  329. package/dist/api/types/FieldType.js +9 -9
  330. package/dist/api/types/ImageNode.d.ts +6 -2
  331. package/dist/api/types/ImageNodeImage.d.ts +7 -0
  332. package/dist/api/types/ImageNodeImage.js +5 -0
  333. package/dist/api/types/Node.d.ts +11 -8
  334. package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
  335. package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
  336. package/dist/api/types/ProductFieldData.d.ts +1 -1
  337. package/dist/api/types/Redirect.d.ts +14 -0
  338. package/dist/api/types/Redirect.js +5 -0
  339. package/dist/api/types/Redirects.d.ts +12 -0
  340. package/dist/api/types/Redirects.js +5 -0
  341. package/dist/api/types/ScriptApply.d.ts +1 -1
  342. package/dist/api/types/SitePlan.d.ts +12 -0
  343. package/dist/api/types/SitePlan.js +5 -0
  344. package/dist/api/types/SitePlanId.d.ts +21 -0
  345. package/dist/api/types/SitePlanId.js +20 -0
  346. package/dist/api/types/SitePlanName.d.ts +15 -0
  347. package/dist/api/types/SitePlanName.js +14 -0
  348. package/dist/api/types/Text.d.ts +9 -0
  349. package/dist/api/types/Text.js +5 -0
  350. package/dist/api/types/TextNode.d.ts +7 -3
  351. package/dist/api/types/TextNodeText.d.ts +9 -0
  352. package/dist/api/types/TextNodeText.js +5 -0
  353. package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts} +4 -1
  354. package/dist/api/types/TextNodeWrite.js +5 -0
  355. package/dist/api/types/TriggerType.d.ts +15 -15
  356. package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
  357. package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
  358. package/dist/api/types/index.d.ts +27 -6
  359. package/dist/api/types/index.js +27 -6
  360. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
  361. package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  362. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  363. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
  364. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  365. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  366. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  367. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  368. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
  369. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
  370. package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
  371. package/{serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → dist/serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
  372. package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
  373. package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
  374. package/dist/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
  375. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
  376. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
  377. package/dist/serialization/resources/collections/resources/items/types/index.js +3 -3
  378. package/dist/serialization/resources/components/client/index.d.ts +1 -0
  379. package/dist/serialization/resources/components/client/index.js +17 -0
  380. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  381. package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  382. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  383. package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  384. package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
  385. package/dist/serialization/resources/components/client/requests/index.js +7 -0
  386. package/dist/serialization/resources/components/index.d.ts +2 -0
  387. package/dist/serialization/resources/components/index.js +18 -0
  388. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  389. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  390. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  391. package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  392. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  393. package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  394. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  395. package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  396. package/dist/serialization/resources/components/types/index.d.ts +4 -0
  397. package/dist/serialization/resources/components/types/index.js +20 -0
  398. package/dist/serialization/resources/index.d.ts +3 -0
  399. package/dist/serialization/resources/index.js +4 -1
  400. package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  401. package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  402. package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
  403. package/dist/serialization/resources/pages/client/requests/index.js +3 -3
  404. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  405. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  406. package/dist/serialization/resources/pages/types/index.d.ts +1 -1
  407. package/dist/serialization/resources/pages/types/index.js +1 -1
  408. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  409. package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  410. package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  411. package/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
  412. package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
  413. package/dist/serialization/resources/sites/client/requests/index.js +5 -1
  414. package/dist/serialization/types/CollectionItem.d.ts +1 -1
  415. package/dist/serialization/types/CollectionItem.js +1 -1
  416. package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
  417. package/dist/serialization/types/CollectionItemFieldData.js +2 -2
  418. package/dist/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
  419. package/dist/serialization/types/CollectionItemPatchSingle.js +41 -0
  420. package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
  421. package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
  422. package/dist/serialization/types/CollectionItemPostSingle.d.ts +20 -0
  423. package/dist/serialization/types/CollectionItemPostSingle.js +41 -0
  424. package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
  425. package/dist/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
  426. package/dist/serialization/types/Component.d.ts +16 -0
  427. package/dist/serialization/types/Component.js +37 -0
  428. package/dist/serialization/types/ComponentDom.d.ts +16 -0
  429. package/dist/serialization/types/ComponentDom.js +37 -0
  430. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  431. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  432. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  433. package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  434. package/dist/serialization/types/ComponentList.d.ts +15 -0
  435. package/dist/serialization/types/ComponentList.js +36 -0
  436. package/dist/serialization/types/ComponentNode.d.ts +15 -0
  437. package/dist/serialization/types/ComponentNode.js +36 -0
  438. package/dist/serialization/types/ComponentProperties.d.ts +16 -0
  439. package/dist/serialization/types/ComponentProperties.js +37 -0
  440. package/dist/serialization/types/ComponentProperty.d.ts +17 -0
  441. package/dist/serialization/types/ComponentProperty.js +38 -0
  442. package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
  443. package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
  444. package/dist/serialization/types/Domain.d.ts +1 -0
  445. package/dist/serialization/types/Domain.js +1 -0
  446. package/dist/serialization/types/Error_.d.ts +1 -2
  447. package/dist/serialization/types/Error_.js +1 -2
  448. package/dist/serialization/types/FieldType.d.ts +1 -1
  449. package/dist/serialization/types/FieldType.js +9 -9
  450. package/dist/serialization/types/ImageNode.d.ts +4 -2
  451. package/dist/serialization/types/ImageNode.js +4 -2
  452. package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
  453. package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
  454. package/dist/serialization/types/Node.d.ts +11 -8
  455. package/dist/serialization/types/Node.js +10 -7
  456. package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  457. package/dist/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
  458. package/dist/serialization/types/Redirect.d.ts +14 -0
  459. package/dist/serialization/types/Redirect.js +35 -0
  460. package/dist/serialization/types/Redirects.d.ts +15 -0
  461. package/dist/serialization/types/Redirects.js +36 -0
  462. package/dist/serialization/types/SitePlan.d.ts +16 -0
  463. package/dist/serialization/types/SitePlan.js +37 -0
  464. package/dist/serialization/types/SitePlanId.d.ts +10 -0
  465. package/dist/serialization/types/SitePlanId.js +44 -0
  466. package/dist/serialization/types/SitePlanName.d.ts +10 -0
  467. package/dist/serialization/types/SitePlanName.js +38 -0
  468. package/dist/serialization/types/Text.d.ts +13 -0
  469. package/dist/serialization/types/Text.js +34 -0
  470. package/dist/serialization/types/TextNode.d.ts +4 -2
  471. package/dist/serialization/types/TextNode.js +4 -2
  472. package/dist/serialization/types/TextNodeText.d.ts +13 -0
  473. package/dist/serialization/types/TextNodeText.js +34 -0
  474. package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
  475. package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
  476. package/dist/serialization/types/index.d.ts +27 -6
  477. package/dist/serialization/types/index.js +27 -6
  478. package/dist/version.d.ts +1 -1
  479. package/dist/version.js +1 -1
  480. package/package.json +1 -1
  481. package/reference.md +1844 -788
  482. package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
  483. package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
  484. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
  485. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
  486. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  487. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  488. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
  489. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
  490. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
  491. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
  492. package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
  493. package/{dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
  494. package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
  495. package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
  496. package/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
  497. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
  498. package/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
  499. package/serialization/resources/collections/resources/items/types/index.js +3 -3
  500. package/serialization/resources/components/client/index.d.ts +1 -0
  501. package/serialization/resources/components/client/index.js +17 -0
  502. package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
  503. package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
  504. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
  505. package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
  506. package/serialization/resources/components/client/requests/index.d.ts +2 -0
  507. package/serialization/resources/components/client/requests/index.js +7 -0
  508. package/serialization/resources/components/index.d.ts +2 -0
  509. package/serialization/resources/components/index.js +18 -0
  510. package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
  511. package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
  512. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
  513. package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
  514. package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
  515. package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
  516. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
  517. package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
  518. package/serialization/resources/components/types/index.d.ts +4 -0
  519. package/serialization/resources/components/types/index.js +20 -0
  520. package/serialization/resources/index.d.ts +3 -0
  521. package/serialization/resources/index.js +4 -1
  522. package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
  523. package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
  524. package/serialization/resources/pages/client/requests/index.d.ts +1 -1
  525. package/serialization/resources/pages/client/requests/index.js +3 -3
  526. package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
  527. package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
  528. package/serialization/resources/pages/types/index.d.ts +1 -1
  529. package/serialization/resources/pages/types/index.js +1 -1
  530. package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
  531. package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
  532. package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
  533. package/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
  534. package/serialization/resources/sites/client/requests/index.d.ts +2 -0
  535. package/serialization/resources/sites/client/requests/index.js +5 -1
  536. package/serialization/types/CollectionItem.d.ts +1 -1
  537. package/serialization/types/CollectionItem.js +1 -1
  538. package/serialization/types/CollectionItemFieldData.d.ts +2 -2
  539. package/serialization/types/CollectionItemFieldData.js +2 -2
  540. package/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
  541. package/serialization/types/CollectionItemPatchSingle.js +41 -0
  542. package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
  543. package/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
  544. package/serialization/types/CollectionItemPostSingle.d.ts +20 -0
  545. package/serialization/types/CollectionItemPostSingle.js +41 -0
  546. package/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
  547. package/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
  548. package/serialization/types/Component.d.ts +16 -0
  549. package/serialization/types/Component.js +37 -0
  550. package/serialization/types/ComponentDom.d.ts +16 -0
  551. package/serialization/types/ComponentDom.js +37 -0
  552. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
  553. package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
  554. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
  555. package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
  556. package/serialization/types/ComponentList.d.ts +15 -0
  557. package/serialization/types/ComponentList.js +36 -0
  558. package/serialization/types/ComponentNode.d.ts +15 -0
  559. package/serialization/types/ComponentNode.js +36 -0
  560. package/serialization/types/ComponentProperties.d.ts +16 -0
  561. package/serialization/types/ComponentProperties.js +37 -0
  562. package/serialization/types/ComponentProperty.d.ts +17 -0
  563. package/serialization/types/ComponentProperty.js +38 -0
  564. package/serialization/types/ComponentPropertyType.d.ts +10 -0
  565. package/serialization/types/ComponentPropertyType.js +31 -0
  566. package/serialization/types/Domain.d.ts +1 -0
  567. package/serialization/types/Domain.js +1 -0
  568. package/serialization/types/Error_.d.ts +1 -2
  569. package/serialization/types/Error_.js +1 -2
  570. package/serialization/types/FieldType.d.ts +1 -1
  571. package/serialization/types/FieldType.js +9 -9
  572. package/serialization/types/ImageNode.d.ts +4 -2
  573. package/serialization/types/ImageNode.js +4 -2
  574. package/serialization/types/ImageNodeImage.d.ts +13 -0
  575. package/serialization/types/ImageNodeImage.js +34 -0
  576. package/serialization/types/Node.d.ts +11 -8
  577. package/serialization/types/Node.js +10 -7
  578. package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
  579. package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
  580. package/serialization/types/Redirect.d.ts +14 -0
  581. package/serialization/types/Redirect.js +35 -0
  582. package/serialization/types/Redirects.d.ts +15 -0
  583. package/serialization/types/Redirects.js +36 -0
  584. package/serialization/types/SitePlan.d.ts +16 -0
  585. package/serialization/types/SitePlan.js +37 -0
  586. package/serialization/types/SitePlanId.d.ts +10 -0
  587. package/serialization/types/SitePlanId.js +44 -0
  588. package/serialization/types/SitePlanName.d.ts +10 -0
  589. package/serialization/types/SitePlanName.js +38 -0
  590. package/serialization/types/Text.d.ts +13 -0
  591. package/serialization/types/Text.js +34 -0
  592. package/serialization/types/TextNode.d.ts +4 -2
  593. package/serialization/types/TextNode.js +4 -2
  594. package/serialization/types/TextNodeText.d.ts +13 -0
  595. package/serialization/types/TextNodeText.js +34 -0
  596. package/serialization/types/TextNodeWrite.d.ts +13 -0
  597. package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
  598. package/serialization/types/index.d.ts +27 -6
  599. package/serialization/types/index.js +27 -6
  600. package/version.d.ts +1 -1
  601. package/version.js +1 -1
  602. package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  603. package/api/types/NodeType.d.ts +0 -8
  604. package/api/types/NodeType.js +0 -10
  605. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
  606. package/dist/api/types/NodeType.d.ts +0 -8
  607. package/dist/api/types/NodeType.js +0 -10
  608. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
  609. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  610. package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  611. package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
  612. package/dist/serialization/types/NodeType.d.ts +0 -10
  613. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
  614. package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
  615. package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
  616. package/serialization/types/ErrorDetailsItem.d.ts +0 -10
  617. package/serialization/types/NodeType.d.ts +0 -10
  618. /package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.js → MultipleItems.js} +0 -0
  619. /package/api/resources/collections/resources/items/types/{ItemsCreateItemLiveRequestItems.js → MultipleLiveItems.js} +0 -0
  620. /package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → SingleCmsItem.js} +0 -0
  621. /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
  622. /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
  623. /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
  624. /package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
  625. /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
  626. /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
  627. /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
  628. /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentsUpdateContentResponse.js} +0 -0
  629. /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentsUpdatePropertiesResponse.js} +0 -0
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem: core.serialization.ObjectSchema<serializers.ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.Raw, Webflow.ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem>;
8
+ export declare namespace ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem {
9
+ interface Raw {
10
+ propertyId: string;
11
+ text: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem = core.serialization.object({
32
+ propertyId: core.serialization.string(),
33
+ text: core.serialization.string(),
34
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { Component } from "./Component";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const ComponentList: core.serialization.ObjectSchema<serializers.ComponentList.Raw, Webflow.ComponentList>;
10
+ export declare namespace ComponentList {
11
+ interface Raw {
12
+ components?: Component.Raw[] | null;
13
+ pagination?: Pagination.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.ComponentList = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Component_1 = require("./Component");
32
+ const Pagination_1 = require("./Pagination");
33
+ exports.ComponentList = core.serialization.object({
34
+ components: core.serialization.list(Component_1.Component).optional(),
35
+ pagination: Pagination_1.Pagination.optional(),
36
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ComponentProperty } from "./ComponentProperty";
8
+ export declare const ComponentNode: core.serialization.ObjectSchema<serializers.ComponentNode.Raw, Webflow.ComponentNode>;
9
+ export declare namespace ComponentNode {
10
+ interface Raw {
11
+ id?: string | null;
12
+ componentId?: string | null;
13
+ propertyOverrides?: ComponentProperty.Raw[] | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.ComponentNode = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ComponentProperty_1 = require("./ComponentProperty");
32
+ exports.ComponentNode = core.serialization.object({
33
+ id: core.serialization.string().optional(),
34
+ componentId: core.serialization.string().optional(),
35
+ propertyOverrides: core.serialization.list(ComponentProperty_1.ComponentProperty).optional(),
36
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ComponentProperty } from "./ComponentProperty";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const ComponentProperties: core.serialization.ObjectSchema<serializers.ComponentProperties.Raw, Webflow.ComponentProperties>;
10
+ export declare namespace ComponentProperties {
11
+ interface Raw {
12
+ componentId?: string | null;
13
+ properties?: ComponentProperty.Raw[] | null;
14
+ pagination?: Pagination.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.ComponentProperties = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ComponentProperty_1 = require("./ComponentProperty");
32
+ const Pagination_1 = require("./Pagination");
33
+ exports.ComponentProperties = core.serialization.object({
34
+ componentId: core.serialization.string().optional(),
35
+ properties: core.serialization.list(ComponentProperty_1.ComponentProperty).optional(),
36
+ pagination: Pagination_1.Pagination.optional(),
37
+ });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ComponentPropertyType } from "./ComponentPropertyType";
8
+ import { Text } from "./Text";
9
+ export declare const ComponentProperty: core.serialization.ObjectSchema<serializers.ComponentProperty.Raw, Webflow.ComponentProperty>;
10
+ export declare namespace ComponentProperty {
11
+ interface Raw {
12
+ propertyId?: string | null;
13
+ type?: ComponentPropertyType.Raw | null;
14
+ label?: string | null;
15
+ text?: Text.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
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.ComponentProperty = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ComponentPropertyType_1 = require("./ComponentPropertyType");
32
+ const Text_1 = require("./Text");
33
+ exports.ComponentProperty = core.serialization.object({
34
+ propertyId: core.serialization.string().optional(),
35
+ type: ComponentPropertyType_1.ComponentPropertyType.optional(),
36
+ label: core.serialization.string().optional(),
37
+ text: Text_1.Text.optional(),
38
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ComponentPropertyType: core.serialization.Schema<serializers.ComponentPropertyType.Raw, Webflow.ComponentPropertyType>;
8
+ export declare namespace ComponentPropertyType {
9
+ type Raw = "Plain Text" | "Rich Text" | "Alt Text";
10
+ }
@@ -26,9 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ErrorDetailsItem = void 0;
29
+ exports.ComponentPropertyType = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.ErrorDetailsItem = core.serialization.undiscriminatedUnion([
32
- core.serialization.string(),
33
- core.serialization.record(core.serialization.string(), core.serialization.unknown()),
34
- ]);
31
+ exports.ComponentPropertyType = core.serialization.enum_(["Plain Text", "Rich Text", "Alt Text"]);
@@ -9,5 +9,6 @@ export declare namespace Domain {
9
9
  interface Raw {
10
10
  id: string;
11
11
  url?: string | null;
12
+ lastPublished?: string | null;
12
13
  }
13
14
  }
@@ -31,4 +31,5 @@ const core = __importStar(require("../../core"));
31
31
  exports.Domain = core.serialization.object({
32
32
  id: core.serialization.string(),
33
33
  url: core.serialization.string().optional(),
34
+ lastPublished: core.serialization.date().optional(),
34
35
  });
@@ -5,13 +5,12 @@ import * as serializers from "../index";
5
5
  import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ErrorCode } from "./ErrorCode";
8
- import { ErrorDetailsItem } from "./ErrorDetailsItem";
9
8
  export declare const Error_: core.serialization.ObjectSchema<serializers.Error_.Raw, Webflow.Error_>;
10
9
  export declare namespace Error_ {
11
10
  interface Raw {
12
11
  code?: ErrorCode.Raw | null;
13
12
  message?: string | null;
14
13
  externalReference?: string | null;
15
- details?: ErrorDetailsItem.Raw[] | null;
14
+ details?: unknown[] | null;
16
15
  }
17
16
  }
@@ -29,10 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error_ = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const ErrorCode_1 = require("./ErrorCode");
32
- const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
33
32
  exports.Error_ = core.serialization.object({
34
33
  code: ErrorCode_1.ErrorCode.optional(),
35
34
  message: core.serialization.string().optional(),
36
35
  externalReference: core.serialization.string().optional(),
37
- details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
36
+ details: core.serialization.list(core.serialization.unknown()).optional(),
38
37
  });
@@ -6,5 +6,5 @@ import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const FieldType: core.serialization.Schema<serializers.FieldType.Raw, Webflow.FieldType>;
8
8
  export declare namespace FieldType {
9
- type Raw = "PlainText" | "RichText" | "Image" | "MultiImage" | "Video" | "Link" | "Email" | "Phone" | "Number" | "DateTime" | "Switch" | "Color" | "ExtFileRef";
9
+ type Raw = "Color" | "DateTime" | "Email" | "ExtFileRef" | "Image" | "Link" | "MultiImage" | "Number" | "Phone" | "PlainText" | "RichText" | "Switch" | "Video";
10
10
  }
@@ -29,17 +29,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.FieldType = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.FieldType = core.serialization.enum_([
32
- "PlainText",
33
- "RichText",
32
+ "Color",
33
+ "DateTime",
34
+ "Email",
35
+ "ExtFileRef",
34
36
  "Image",
35
- "MultiImage",
36
- "Video",
37
37
  "Link",
38
- "Email",
39
- "Phone",
38
+ "MultiImage",
40
39
  "Number",
41
- "DateTime",
40
+ "Phone",
41
+ "PlainText",
42
+ "RichText",
42
43
  "Switch",
43
- "Color",
44
- "ExtFileRef",
44
+ "Video",
45
45
  ]);
@@ -4,10 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { ImageNodeImage } from "./ImageNodeImage";
7
8
  export declare const ImageNode: core.serialization.ObjectSchema<serializers.ImageNode.Raw, Webflow.ImageNode>;
8
9
  export declare namespace ImageNode {
9
10
  interface Raw {
10
- alt?: string | null;
11
- assetId?: string | null;
11
+ id?: string | null;
12
+ image?: ImageNodeImage.Raw | null;
13
+ attributes?: Record<string, string> | null;
12
14
  }
13
15
  }
@@ -28,7 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ImageNode = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const ImageNodeImage_1 = require("./ImageNodeImage");
31
32
  exports.ImageNode = core.serialization.object({
32
- alt: core.serialization.string().optional(),
33
- assetId: core.serialization.string().optional(),
33
+ id: core.serialization.string().optional(),
34
+ image: ImageNodeImage_1.ImageNodeImage.optional(),
35
+ attributes: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
34
36
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ImageNodeImage: core.serialization.ObjectSchema<serializers.ImageNodeImage.Raw, Webflow.ImageNodeImage>;
8
+ export declare namespace ImageNodeImage {
9
+ interface Raw {
10
+ alt?: string | null;
11
+ assetId?: string | null;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ErrorDetailsItem = void 0;
29
+ exports.ImageNodeImage = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.ErrorDetailsItem = core.serialization.undiscriminatedUnion([
32
- core.serialization.string(),
33
- core.serialization.record(core.serialization.string(), core.serialization.unknown()),
34
- ]);
31
+ exports.ImageNodeImage = core.serialization.object({
32
+ alt: core.serialization.string().optional(),
33
+ assetId: core.serialization.string().optional(),
34
+ });
@@ -4,16 +4,19 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Webflow from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { NodeType } from "./NodeType";
8
7
  import { TextNode } from "./TextNode";
9
8
  import { ImageNode } from "./ImageNode";
10
- export declare const Node: core.serialization.ObjectSchema<serializers.Node.Raw, Webflow.Node>;
9
+ import { ComponentNode } from "./ComponentNode";
10
+ export declare const Node: core.serialization.Schema<serializers.Node.Raw, Webflow.Node>;
11
11
  export declare namespace Node {
12
- interface Raw {
13
- id?: string | null;
14
- type?: NodeType.Raw | null;
15
- text?: TextNode.Raw | null;
16
- image?: ImageNode.Raw | null;
17
- attributes?: Record<string, string> | null;
12
+ type Raw = Node.Text | Node.Image | Node.ComponentInstance;
13
+ interface Text extends TextNode.Raw {
14
+ type: "text";
15
+ }
16
+ interface Image extends ImageNode.Raw {
17
+ type: "image";
18
+ }
19
+ interface ComponentInstance extends ComponentNode.Raw {
20
+ type: "component-instance";
18
21
  }
19
22
  }
@@ -28,13 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Node = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const NodeType_1 = require("./NodeType");
32
31
  const TextNode_1 = require("./TextNode");
33
32
  const ImageNode_1 = require("./ImageNode");
34
- exports.Node = core.serialization.object({
35
- id: core.serialization.string().optional(),
36
- type: NodeType_1.NodeType.optional(),
37
- text: TextNode_1.TextNode.optional(),
38
- image: ImageNode_1.ImageNode.optional(),
39
- attributes: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
33
+ const ComponentNode_1 = require("./ComponentNode");
34
+ exports.Node = core.serialization
35
+ .union("type", {
36
+ text: TextNode_1.TextNode,
37
+ image: ImageNode_1.ImageNode,
38
+ "component-instance": ComponentNode_1.ComponentNode,
39
+ })
40
+ .transform({
41
+ transform: (value) => value,
42
+ untransform: (value) => value,
40
43
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const NotEnterprisePlanWorkspace: core.serialization.Schema<serializers.NotEnterprisePlanWorkspace.Raw, Webflow.NotEnterprisePlanWorkspace>;
8
+ export declare namespace NotEnterprisePlanWorkspace {
9
+ type Raw = unknown;
10
+ }
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.NodeType = void 0;
29
+ exports.NotEnterprisePlanWorkspace = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.NodeType = core.serialization.enum_(["text", "image"]);
31
+ exports.NotEnterprisePlanWorkspace = core.serialization.unknown();
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const Redirect: core.serialization.ObjectSchema<serializers.Redirect.Raw, Webflow.Redirect>;
8
+ export declare namespace Redirect {
9
+ interface Raw {
10
+ id?: string | null;
11
+ fromUrl?: string | null;
12
+ toUrl?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.Redirect = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Redirect = core.serialization.object({
32
+ id: core.serialization.string().optional(),
33
+ fromUrl: core.serialization.string().optional(),
34
+ toUrl: core.serialization.string().optional(),
35
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { Redirect } from "./Redirect";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const Redirects: core.serialization.ObjectSchema<serializers.Redirects.Raw, Webflow.Redirects>;
10
+ export declare namespace Redirects {
11
+ interface Raw {
12
+ redirects?: Redirect.Raw[] | null;
13
+ pagination?: Pagination.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.Redirects = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Redirect_1 = require("./Redirect");
32
+ const Pagination_1 = require("./Pagination");
33
+ exports.Redirects = core.serialization.object({
34
+ redirects: core.serialization.list(Redirect_1.Redirect).optional(),
35
+ pagination: Pagination_1.Pagination.optional(),
36
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Webflow from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { SitePlanId } from "./SitePlanId";
8
+ import { SitePlanName } from "./SitePlanName";
9
+ export declare const SitePlan: core.serialization.ObjectSchema<serializers.SitePlan.Raw, Webflow.SitePlan>;
10
+ export declare namespace SitePlan {
11
+ interface Raw {
12
+ id?: SitePlanId.Raw | null;
13
+ name?: SitePlanName.Raw | null;
14
+ pricingInfo?: string | null;
15
+ }
16
+ }