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.
- package/.mock/definition/__package__.yml +613 -214
- package/.mock/definition/accessGroups.yml +3 -3
- package/.mock/definition/assets.yml +10 -9
- package/.mock/definition/collections/fields.yml +16 -14
- package/.mock/definition/collections/items.yml +180 -63
- package/.mock/definition/collections.yml +6 -5
- package/.mock/definition/components.yml +486 -0
- package/.mock/definition/ecommerce.yml +2 -2
- package/.mock/definition/forms.yml +7 -6
- package/.mock/definition/inventory.yml +8 -6
- package/.mock/definition/orders.yml +11 -9
- package/.mock/definition/pages/scripts.yml +18 -17
- package/.mock/definition/pages.yml +91 -64
- package/.mock/definition/products.yml +9 -9
- package/.mock/definition/scripts.yml +12 -16
- package/.mock/definition/sites/activityLogs.yml +2 -2
- package/.mock/definition/sites/plans.yml +40 -0
- package/.mock/definition/sites/redirects.yml +190 -0
- package/.mock/definition/sites/scripts.yml +16 -21
- package/.mock/definition/sites.yml +202 -6
- package/.mock/definition/token.yml +5 -4
- package/.mock/definition/users.yml +8 -8
- package/.mock/definition/webhooks.yml +9 -9
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +25 -20
- package/MIGRATION.md +32 -15
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +5 -0
- package/api/resources/assets/client/Client.js +13 -8
- package/api/resources/collections/client/Client.d.ts +3 -0
- package/api/resources/collections/client/Client.js +7 -4
- package/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/api/resources/collections/resources/items/client/Client.js +31 -36
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/api/resources/collections/resources/items/types/index.js +3 -3
- package/api/resources/components/client/Client.d.ts +176 -0
- package/api/resources/components/client/Client.js +670 -0
- package/api/resources/components/client/index.d.ts +1 -0
- package/api/resources/components/client/index.js +17 -0
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/api/resources/components/client/requests/index.d.ts +5 -0
- package/api/resources/components/client/requests/index.js +2 -0
- package/api/resources/components/index.d.ts +2 -0
- package/api/resources/components/index.js +18 -0
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/api/resources/components/types/index.d.ts +4 -0
- package/api/resources/components/types/index.js +20 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +3 -0
- package/api/resources/forms/client/Client.js +8 -5
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/inventory/client/Client.d.ts +3 -1
- package/api/resources/inventory/client/Client.js +5 -3
- package/api/resources/orders/client/Client.d.ts +3 -0
- package/api/resources/orders/client/Client.js +9 -6
- package/api/resources/pages/client/Client.d.ts +26 -10
- package/api/resources/pages/client/Client.js +32 -18
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/api/resources/pages/client/requests/index.d.ts +1 -1
- package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/api/resources/pages/types/index.d.ts +1 -1
- package/api/resources/pages/types/index.js +1 -1
- package/api/resources/products/client/Client.d.ts +5 -6
- package/api/resources/products/client/Client.js +11 -12
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +70 -0
- package/api/resources/sites/client/Client.js +330 -9
- package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/api/resources/sites/client/requests/index.d.ts +2 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/client/index.js +2 -0
- package/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/index.js +17 -0
- package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/index.js +17 -0
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/api/resources/token/client/Client.d.ts +2 -1
- package/api/resources/token/client/Client.js +4 -3
- package/api/resources/users/client/Client.d.ts +1 -1
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/webhooks/client/Client.d.ts +4 -1
- package/api/resources/webhooks/client/Client.js +8 -5
- package/api/types/CollectionItem.d.ts +6 -2
- package/api/types/CollectionItemFieldData.d.ts +2 -2
- package/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/api/types/CollectionItemPatchSingle.js +5 -0
- package/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/api/types/CollectionItemPostSingle.js +5 -0
- package/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/api/types/Component.d.ts +18 -0
- package/api/types/Component.js +5 -0
- package/api/types/ComponentDom.d.ts +13 -0
- package/api/types/ComponentDom.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/api/types/ComponentList.d.ts +11 -0
- package/api/types/ComponentList.js +5 -0
- package/api/types/ComponentNode.d.ts +15 -0
- package/api/types/ComponentNode.js +5 -0
- package/api/types/ComponentProperties.d.ts +13 -0
- package/api/types/ComponentProperties.js +5 -0
- package/api/types/ComponentProperty.d.ts +17 -0
- package/api/types/ComponentProperty.js +5 -0
- package/api/types/ComponentPropertyType.d.ts +12 -0
- package/api/types/ComponentPropertyType.js +11 -0
- package/api/types/Dom.d.ts +1 -1
- package/api/types/Domain.d.ts +2 -0
- package/api/types/Error_.d.ts +1 -1
- package/api/types/FieldType.d.ts +10 -10
- package/api/types/FieldType.js +9 -9
- package/api/types/ImageNode.d.ts +6 -2
- package/api/types/ImageNodeImage.d.ts +7 -0
- package/api/types/ImageNodeImage.js +5 -0
- package/api/types/Node.d.ts +11 -8
- package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/Redirect.d.ts +14 -0
- package/api/types/Redirect.js +5 -0
- package/api/types/Redirects.d.ts +12 -0
- package/api/types/Redirects.js +5 -0
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/SitePlan.d.ts +12 -0
- package/api/types/SitePlan.js +5 -0
- package/api/types/SitePlanId.d.ts +21 -0
- package/api/types/SitePlanId.js +20 -0
- package/api/types/SitePlanName.d.ts +15 -0
- package/api/types/SitePlanName.js +14 -0
- package/api/types/Text.d.ts +9 -0
- package/api/types/Text.js +5 -0
- package/api/types/TextNode.d.ts +7 -3
- package/api/types/TextNodeText.d.ts +9 -0
- package/api/types/TextNodeText.js +5 -0
- package/{dist/api/resources/pages/types/DomWriteNodesItem.d.ts → api/types/TextNodeWrite.d.ts} +4 -1
- package/api/types/TextNodeWrite.js +5 -0
- package/api/types/TriggerType.d.ts +15 -15
- package/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/api/types/index.d.ts +27 -6
- package/api/types/index.js +27 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +5 -0
- package/dist/api/resources/assets/client/Client.js +13 -8
- package/dist/api/resources/collections/client/Client.d.ts +3 -0
- package/dist/api/resources/collections/client/Client.js +7 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/dist/api/resources/collections/resources/items/client/Client.js +31 -36
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/dist/api/resources/collections/resources/items/types/MultipleItems.js +5 -0
- package/{api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
- package/dist/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +5 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/api/resources/collections/resources/items/types/index.js +3 -3
- package/dist/api/resources/components/client/Client.d.ts +176 -0
- package/dist/api/resources/components/client/Client.js +670 -0
- package/dist/api/resources/components/client/index.d.ts +1 -0
- package/dist/api/resources/components/client/index.js +17 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
- package/dist/api/resources/components/client/requests/index.d.ts +5 -0
- package/dist/api/resources/components/client/requests/index.js +2 -0
- package/dist/api/resources/components/index.d.ts +2 -0
- package/dist/api/resources/components/index.js +18 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
- package/dist/api/resources/components/types/index.d.ts +4 -0
- package/dist/api/resources/components/types/index.js +20 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +3 -0
- package/dist/api/resources/forms/client/Client.js +8 -5
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +3 -1
- package/dist/api/resources/inventory/client/Client.js +5 -3
- package/dist/api/resources/orders/client/Client.d.ts +3 -0
- package/dist/api/resources/orders/client/Client.js +9 -6
- package/dist/api/resources/pages/client/Client.d.ts +26 -10
- package/dist/api/resources/pages/client/Client.js +32 -18
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -1
- package/dist/api/resources/pages/types/index.js +1 -1
- package/dist/api/resources/products/client/Client.d.ts +5 -6
- package/dist/api/resources/products/client/Client.js +11 -12
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +70 -0
- package/dist/api/resources/sites/client/Client.js +330 -9
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
- package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/index.js +17 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/index.js +17 -0
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/dist/api/resources/token/client/Client.d.ts +2 -1
- package/dist/api/resources/token/client/Client.js +4 -3
- package/dist/api/resources/users/client/Client.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -5
- package/dist/api/types/CollectionItem.d.ts +6 -2
- package/dist/api/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/dist/api/types/CollectionItemPatchSingle.js +5 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/dist/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/dist/api/types/CollectionItemPostSingle.js +5 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/dist/api/types/Component.d.ts +18 -0
- package/dist/api/types/Component.js +5 -0
- package/dist/api/types/ComponentDom.d.ts +13 -0
- package/dist/api/types/ComponentDom.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/dist/api/types/ComponentList.d.ts +11 -0
- package/dist/api/types/ComponentList.js +5 -0
- package/dist/api/types/ComponentNode.d.ts +15 -0
- package/dist/api/types/ComponentNode.js +5 -0
- package/dist/api/types/ComponentProperties.d.ts +13 -0
- package/dist/api/types/ComponentProperties.js +5 -0
- package/dist/api/types/ComponentProperty.d.ts +17 -0
- package/dist/api/types/ComponentProperty.js +5 -0
- package/dist/api/types/ComponentPropertyType.d.ts +12 -0
- package/dist/api/types/ComponentPropertyType.js +11 -0
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/Domain.d.ts +2 -0
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/FieldType.d.ts +10 -10
- package/dist/api/types/FieldType.js +9 -9
- package/dist/api/types/ImageNode.d.ts +6 -2
- package/dist/api/types/ImageNodeImage.d.ts +7 -0
- package/dist/api/types/ImageNodeImage.js +5 -0
- package/dist/api/types/Node.d.ts +11 -8
- package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/Redirect.d.ts +14 -0
- package/dist/api/types/Redirect.js +5 -0
- package/dist/api/types/Redirects.d.ts +12 -0
- package/dist/api/types/Redirects.js +5 -0
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/SitePlan.d.ts +12 -0
- package/dist/api/types/SitePlan.js +5 -0
- package/dist/api/types/SitePlanId.d.ts +21 -0
- package/dist/api/types/SitePlanId.js +20 -0
- package/dist/api/types/SitePlanName.d.ts +15 -0
- package/dist/api/types/SitePlanName.js +14 -0
- package/dist/api/types/Text.d.ts +9 -0
- package/dist/api/types/Text.js +5 -0
- package/dist/api/types/TextNode.d.ts +7 -3
- package/dist/api/types/TextNodeText.d.ts +9 -0
- package/dist/api/types/TextNodeText.js +5 -0
- package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts} +4 -1
- package/dist/api/types/TextNodeWrite.js +5 -0
- package/dist/api/types/TriggerType.d.ts +15 -15
- package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/dist/api/types/index.d.ts +27 -6
- package/dist/api/types/index.js +27 -6
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → dist/serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/dist/serialization/resources/components/client/index.d.ts +1 -0
- package/dist/serialization/resources/components/client/index.js +17 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/components/client/requests/index.js +7 -0
- package/dist/serialization/resources/components/index.d.ts +2 -0
- package/dist/serialization/resources/components/index.js +18 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/dist/serialization/resources/components/types/index.d.ts +4 -0
- package/dist/serialization/resources/components/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/pages/client/requests/index.js +3 -3
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/pages/types/index.d.ts +1 -1
- package/dist/serialization/resources/pages/types/index.js +1 -1
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sites/client/requests/index.js +5 -1
- package/dist/serialization/types/CollectionItem.d.ts +1 -1
- package/dist/serialization/types/CollectionItem.js +1 -1
- package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/serialization/types/CollectionItemFieldData.js +2 -2
- package/dist/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/dist/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPostSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
- package/dist/serialization/types/Component.d.ts +16 -0
- package/dist/serialization/types/Component.js +37 -0
- package/dist/serialization/types/ComponentDom.d.ts +16 -0
- package/dist/serialization/types/ComponentDom.js +37 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/dist/serialization/types/ComponentList.d.ts +15 -0
- package/dist/serialization/types/ComponentList.js +36 -0
- package/dist/serialization/types/ComponentNode.d.ts +15 -0
- package/dist/serialization/types/ComponentNode.js +36 -0
- package/dist/serialization/types/ComponentProperties.d.ts +16 -0
- package/dist/serialization/types/ComponentProperties.js +37 -0
- package/dist/serialization/types/ComponentProperty.d.ts +17 -0
- package/dist/serialization/types/ComponentProperty.js +38 -0
- package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
- package/dist/serialization/types/Domain.d.ts +1 -0
- package/dist/serialization/types/Domain.js +1 -0
- package/dist/serialization/types/Error_.d.ts +1 -2
- package/dist/serialization/types/Error_.js +1 -2
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +9 -9
- package/dist/serialization/types/ImageNode.d.ts +4 -2
- package/dist/serialization/types/ImageNode.js +4 -2
- package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
- package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
- package/dist/serialization/types/Node.d.ts +11 -8
- package/dist/serialization/types/Node.js +10 -7
- package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/dist/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/dist/serialization/types/Redirect.d.ts +14 -0
- package/dist/serialization/types/Redirect.js +35 -0
- package/dist/serialization/types/Redirects.d.ts +15 -0
- package/dist/serialization/types/Redirects.js +36 -0
- package/dist/serialization/types/SitePlan.d.ts +16 -0
- package/dist/serialization/types/SitePlan.js +37 -0
- package/dist/serialization/types/SitePlanId.d.ts +10 -0
- package/dist/serialization/types/SitePlanId.js +44 -0
- package/dist/serialization/types/SitePlanName.d.ts +10 -0
- package/dist/serialization/types/SitePlanName.js +38 -0
- package/dist/serialization/types/Text.d.ts +13 -0
- package/dist/serialization/types/Text.js +34 -0
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeText.d.ts +13 -0
- package/dist/serialization/types/TextNodeText.js +34 -0
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
- package/dist/serialization/types/index.d.ts +27 -6
- package/dist/serialization/types/index.js +27 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1844 -788
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/serialization/resources/components/client/index.d.ts +1 -0
- package/serialization/resources/components/client/index.js +17 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/serialization/resources/components/client/requests/index.js +7 -0
- package/serialization/resources/components/index.d.ts +2 -0
- package/serialization/resources/components/index.js +18 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/serialization/resources/components/types/index.d.ts +4 -0
- package/serialization/resources/components/types/index.js +20 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/serialization/resources/pages/client/requests/index.js +3 -3
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/serialization/resources/pages/types/index.d.ts +1 -1
- package/serialization/resources/pages/types/index.js +1 -1
- package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/serialization/resources/sites/client/requests/index.js +5 -1
- package/serialization/types/CollectionItem.d.ts +1 -1
- package/serialization/types/CollectionItem.js +1 -1
- package/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/serialization/types/CollectionItemFieldData.js +2 -2
- package/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPostSingle.js +41 -0
- package/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
- package/serialization/types/Component.d.ts +16 -0
- package/serialization/types/Component.js +37 -0
- package/serialization/types/ComponentDom.d.ts +16 -0
- package/serialization/types/ComponentDom.js +37 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/serialization/types/ComponentList.d.ts +15 -0
- package/serialization/types/ComponentList.js +36 -0
- package/serialization/types/ComponentNode.d.ts +15 -0
- package/serialization/types/ComponentNode.js +36 -0
- package/serialization/types/ComponentProperties.d.ts +16 -0
- package/serialization/types/ComponentProperties.js +37 -0
- package/serialization/types/ComponentProperty.d.ts +17 -0
- package/serialization/types/ComponentProperty.js +38 -0
- package/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/serialization/types/ComponentPropertyType.js +31 -0
- package/serialization/types/Domain.d.ts +1 -0
- package/serialization/types/Domain.js +1 -0
- package/serialization/types/Error_.d.ts +1 -2
- package/serialization/types/Error_.js +1 -2
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +9 -9
- package/serialization/types/ImageNode.d.ts +4 -2
- package/serialization/types/ImageNode.js +4 -2
- package/serialization/types/ImageNodeImage.d.ts +13 -0
- package/serialization/types/ImageNodeImage.js +34 -0
- package/serialization/types/Node.d.ts +11 -8
- package/serialization/types/Node.js +10 -7
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/serialization/types/Redirect.d.ts +14 -0
- package/serialization/types/Redirect.js +35 -0
- package/serialization/types/Redirects.d.ts +15 -0
- package/serialization/types/Redirects.js +36 -0
- package/serialization/types/SitePlan.d.ts +16 -0
- package/serialization/types/SitePlan.js +37 -0
- package/serialization/types/SitePlanId.d.ts +10 -0
- package/serialization/types/SitePlanId.js +44 -0
- package/serialization/types/SitePlanName.d.ts +10 -0
- package/serialization/types/SitePlanName.js +38 -0
- package/serialization/types/Text.d.ts +13 -0
- package/serialization/types/Text.js +34 -0
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeText.d.ts +13 -0
- package/serialization/types/TextNodeText.js +34 -0
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
- package/serialization/types/index.d.ts +27 -6
- package/serialization/types/index.js +27 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/api/types/NodeType.d.ts +0 -8
- package/api/types/NodeType.js +0 -10
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/dist/api/types/NodeType.d.ts +0 -8
- package/dist/api/types/NodeType.js +0 -10
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/dist/serialization/types/NodeType.d.ts +0 -10
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/serialization/types/NodeType.d.ts +0 -10
- /package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.js → MultipleItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemLiveRequestItems.js → MultipleLiveItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → SingleCmsItem.js} +0 -0
- /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
- /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
- /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
- /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
- /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentsUpdateContentResponse.js} +0 -0
- /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentsUpdatePropertiesResponse.js} +0 -0
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Webflow from "../index";
|
|
4
5
|
/**
|
|
5
6
|
* Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes.
|
|
6
7
|
*/
|
|
7
8
|
export interface ImageNode {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
/** Node UUID */
|
|
10
|
+
id?: string;
|
|
11
|
+
image?: Webflow.ImageNodeImage;
|
|
12
|
+
/** The custom attributes of the node */
|
|
13
|
+
attributes?: Record<string, string>;
|
|
10
14
|
}
|
package/dist/api/types/Node.d.ts
CHANGED
|
@@ -5,12 +5,15 @@ import * as Webflow from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* A generic representation of a content element within the Document Object Model (DOM). Each node has a unique identifier and a specific type that determines its content structure and attributes.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
export declare type Node = Webflow.Node.Text | Webflow.Node.Image | Webflow.Node.ComponentInstance;
|
|
9
|
+
export declare namespace Node {
|
|
10
|
+
interface Text extends Webflow.TextNode {
|
|
11
|
+
type: "text";
|
|
12
|
+
}
|
|
13
|
+
interface Image extends Webflow.ImageNode {
|
|
14
|
+
type: "image";
|
|
15
|
+
}
|
|
16
|
+
interface ComponentInstance extends Webflow.ComponentNode {
|
|
17
|
+
type: "component-instance";
|
|
18
|
+
}
|
|
16
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "../index";
|
|
5
5
|
/**
|
|
6
|
-
* Contains content-specific details for a product, covering both standard (e.g., title, description)
|
|
6
|
+
* Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.
|
|
7
7
|
*/
|
|
8
8
|
export interface ProductFieldData {
|
|
9
9
|
/** Name of the Product */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A single redirection rule, specifying a source URL and a destination URL.
|
|
6
|
+
*/
|
|
7
|
+
export interface Redirect {
|
|
8
|
+
/** The ID of the specific redirect rule */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** The source URL path that will be redirected. */
|
|
11
|
+
fromUrl?: string;
|
|
12
|
+
/** The target URL path where the user or client will be redirected. */
|
|
13
|
+
toUrl?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Site redirects response
|
|
7
|
+
*/
|
|
8
|
+
export interface Redirects {
|
|
9
|
+
/** List of redirects for a given site */
|
|
10
|
+
redirects?: Webflow.Redirect[];
|
|
11
|
+
pagination?: Webflow.Pagination;
|
|
12
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface ScriptApply {
|
|
|
7
7
|
id: string;
|
|
8
8
|
/** Location of the script, either in the header or footer of the published site */
|
|
9
9
|
location: Webflow.ScriptApplyLocation;
|
|
10
|
-
/** Semantic Version String for the registered script
|
|
10
|
+
/** Semantic Version String for the registered script *e.g. 0.0.1* */
|
|
11
11
|
version: string;
|
|
12
12
|
/** Developer-specified key/value pairs to be applied as attributes to the script */
|
|
13
13
|
attributes?: Record<string, unknown>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../index";
|
|
5
|
+
export interface SitePlan {
|
|
6
|
+
/** ID of the hosting plan. */
|
|
7
|
+
id?: Webflow.SitePlanId;
|
|
8
|
+
/** Name of the hosting plan. */
|
|
9
|
+
name?: Webflow.SitePlanName;
|
|
10
|
+
/** URL for more information about Webflow hosting plan pricing. */
|
|
11
|
+
pricingInfo?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* ID of the hosting plan.
|
|
6
|
+
*/
|
|
7
|
+
export declare type SitePlanId = "hosting-basic-v3" | "hosting-cms-v3" | "hosting-business-v3" | "hosting-ecommerce-standard-v2" | "hosting-ecommerce-plus-v2" | "hosting-ecommerce-advanced-v2" | "hosting-basic-v4" | "hosting-cms-v4" | "hosting-business-v4" | "hosting-ecommerce-standard-v3" | "hosting-ecommerce-plus-v3" | "hosting-ecommerce-advanced-v3";
|
|
8
|
+
export declare const SitePlanId: {
|
|
9
|
+
readonly HostingBasicV3: "hosting-basic-v3";
|
|
10
|
+
readonly HostingCmsV3: "hosting-cms-v3";
|
|
11
|
+
readonly HostingBusinessV3: "hosting-business-v3";
|
|
12
|
+
readonly HostingEcommerceStandardV2: "hosting-ecommerce-standard-v2";
|
|
13
|
+
readonly HostingEcommercePlusV2: "hosting-ecommerce-plus-v2";
|
|
14
|
+
readonly HostingEcommerceAdvancedV2: "hosting-ecommerce-advanced-v2";
|
|
15
|
+
readonly HostingBasicV4: "hosting-basic-v4";
|
|
16
|
+
readonly HostingCmsV4: "hosting-cms-v4";
|
|
17
|
+
readonly HostingBusinessV4: "hosting-business-v4";
|
|
18
|
+
readonly HostingEcommerceStandardV3: "hosting-ecommerce-standard-v3";
|
|
19
|
+
readonly HostingEcommercePlusV3: "hosting-ecommerce-plus-v3";
|
|
20
|
+
readonly HostingEcommerceAdvancedV3: "hosting-ecommerce-advanced-v3";
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SitePlanId = void 0;
|
|
7
|
+
exports.SitePlanId = {
|
|
8
|
+
HostingBasicV3: "hosting-basic-v3",
|
|
9
|
+
HostingCmsV3: "hosting-cms-v3",
|
|
10
|
+
HostingBusinessV3: "hosting-business-v3",
|
|
11
|
+
HostingEcommerceStandardV2: "hosting-ecommerce-standard-v2",
|
|
12
|
+
HostingEcommercePlusV2: "hosting-ecommerce-plus-v2",
|
|
13
|
+
HostingEcommerceAdvancedV2: "hosting-ecommerce-advanced-v2",
|
|
14
|
+
HostingBasicV4: "hosting-basic-v4",
|
|
15
|
+
HostingCmsV4: "hosting-cms-v4",
|
|
16
|
+
HostingBusinessV4: "hosting-business-v4",
|
|
17
|
+
HostingEcommerceStandardV3: "hosting-ecommerce-standard-v3",
|
|
18
|
+
HostingEcommercePlusV3: "hosting-ecommerce-plus-v3",
|
|
19
|
+
HostingEcommerceAdvancedV3: "hosting-ecommerce-advanced-v3",
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Name of the hosting plan.
|
|
6
|
+
*/
|
|
7
|
+
export declare type SitePlanName = "Basic Hosting" | "CMS Hosting" | "Business Hosting" | "ECommerce Standard Hosting" | "ECommerce Plus Hosting" | "ECommerce Advanced Hosting";
|
|
8
|
+
export declare const SitePlanName: {
|
|
9
|
+
readonly BasicHosting: "Basic Hosting";
|
|
10
|
+
readonly CmsHosting: "CMS Hosting";
|
|
11
|
+
readonly BusinessHosting: "Business Hosting";
|
|
12
|
+
readonly ECommerceStandardHosting: "ECommerce Standard Hosting";
|
|
13
|
+
readonly ECommercePlusHosting: "ECommerce Plus Hosting";
|
|
14
|
+
readonly ECommerceAdvancedHosting: "ECommerce Advanced Hosting";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SitePlanName = void 0;
|
|
7
|
+
exports.SitePlanName = {
|
|
8
|
+
BasicHosting: "Basic Hosting",
|
|
9
|
+
CmsHosting: "CMS Hosting",
|
|
10
|
+
BusinessHosting: "Business Hosting",
|
|
11
|
+
ECommerceStandardHosting: "ECommerce Standard Hosting",
|
|
12
|
+
ECommercePlusHosting: "ECommerce Plus Hosting",
|
|
13
|
+
ECommerceAdvancedHosting: "ECommerce Advanced Hosting",
|
|
14
|
+
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Webflow from "../index";
|
|
4
5
|
/**
|
|
5
|
-
* Represents
|
|
6
|
+
* Represents text content within the DOM. It contains both the raw text and its HTML representation. Additional attributes can be associated with the text for styling or other purposes.
|
|
6
7
|
*/
|
|
7
8
|
export interface TextNode {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
/** Node UUID */
|
|
10
|
+
id?: string;
|
|
11
|
+
text?: Webflow.TextNodeText;
|
|
12
|
+
/** The custom attributes of the node */
|
|
13
|
+
attributes?: Record<string, string>;
|
|
10
14
|
}
|
package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts}
RENAMED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Update a text node
|
|
6
|
+
*/
|
|
7
|
+
export interface TextNodeWrite {
|
|
5
8
|
/** Node UUID */
|
|
6
9
|
nodeId: string;
|
|
7
10
|
/** HTML content of the node, including the HTML tag. The HTML tags must be the same as what's returned from the Get Content endpoint. */
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
5
|
+
* * `form_submission` - Sends the [form_submission](#form_submission) event
|
|
6
|
+
* * `site_publish` - Sends a [site_publish](#site_publish) event
|
|
7
|
+
* * `page_created` - Send the [page_created](#page_created) event
|
|
8
|
+
* * `page_metadata_updated` - Sends the [page_metadata_updated](#page_metadata_updated) event
|
|
9
|
+
* * `page_deleted` - Sends the [page_deleted](#page_deleted) event
|
|
10
|
+
* * `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order) event
|
|
11
|
+
* * `ecomm_order_changed` - Sends the [ecomm_order_changed](#ecomm_order_changed) event
|
|
12
|
+
* * `ecomm_inventory_changed` - Sends the [ecomm_inventory_changed](#ecomm_inventory_changed) event
|
|
13
|
+
* * `user_account_added` - Sends the [user_account_added](#user_account_added) event
|
|
14
|
+
* * `user_account_updated` - Sends the [user_account_updated](#user_account_updated) event
|
|
15
|
+
* * `user_account_deleted` - Sends the [user_account_deleted](#user_account_deleted) event
|
|
16
|
+
* * `collection_item_created` - Sends the [collection_item_created](#collection_item_created) event
|
|
17
|
+
* * `collection_item_changed` - Sends the [collection_item_changed](#collection_item_changed) event
|
|
18
|
+
* * `collection_item_deleted` - Sends the [collection_item_deleted](#collection_item_deleted) event
|
|
19
|
+
* * `collection_item_unpublished` - Sends the [collection_item_unpublished](#collection_item_unpublished) event
|
|
20
20
|
*/
|
|
21
21
|
export declare type TriggerType = "form_submission" | "site_publish" | "page_created" | "page_metadata_updated" | "page_deleted" | "ecomm_new_order" | "ecomm_order_changed" | "ecomm_inventory_changed" | "user_account_added" | "user_account_updated" | "user_account_deleted" | "collection_item_created" | "collection_item_changed" | "collection_item_deleted" | "collection_item_unpublished";
|
|
22
22
|
export declare const TriggerType: {
|
|
@@ -10,9 +10,8 @@ export interface UserAccessGroupsItem {
|
|
|
10
10
|
slug?: string;
|
|
11
11
|
/**
|
|
12
12
|
* The type of access group based on how it was assigned to the user.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* - `ecommerce` - Assigned to the user via an ecommerce purchase
|
|
13
|
+
* * `admin` - Assigned to the user via API or in the designer
|
|
14
|
+
* * `ecommerce` - Assigned to the user via an ecommerce purchase
|
|
16
15
|
*/
|
|
17
16
|
type?: Webflow.UserAccessGroupsItemType;
|
|
18
17
|
}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* The type of access group based on how it was assigned to the user.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* - `ecommerce` - Assigned to the user via an ecommerce purchase
|
|
6
|
+
* * `admin` - Assigned to the user via API or in the designer
|
|
7
|
+
* * `ecommerce` - Assigned to the user via an ecommerce purchase
|
|
9
8
|
*/
|
|
10
9
|
export declare type UserAccessGroupsItemType = "admin" | "ecommerce";
|
|
11
10
|
export declare const UserAccessGroupsItemType: {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export * from "./BadRequestErrorBody";
|
|
2
1
|
export * from "./ForbiddenErrorBody";
|
|
2
|
+
export * from "./BadRequestErrorBody";
|
|
3
3
|
export * from "./ConflictErrorBody";
|
|
4
4
|
export * from "./AuthorizedUser";
|
|
5
5
|
export * from "./ErrorCode";
|
|
6
|
-
export * from "./ErrorDetailsItem";
|
|
7
6
|
export * from "./Error_";
|
|
8
7
|
export * from "./Application";
|
|
9
8
|
export * from "./AuthorizationAuthorizationAuthorizedTo";
|
|
@@ -14,18 +13,24 @@ export * from "./Locale";
|
|
|
14
13
|
export * from "./Locales";
|
|
15
14
|
export * from "./SiteDataCollectionType";
|
|
16
15
|
export * from "./Site";
|
|
16
|
+
export * from "./InvalidScopes";
|
|
17
|
+
export * from "./NotEnterprisePlanWorkspace";
|
|
17
18
|
export * from "./Sites";
|
|
19
|
+
export * from "./NotEnterprisePlanSite";
|
|
18
20
|
export * from "./Domains";
|
|
19
21
|
export * from "./InvalidDomain";
|
|
20
22
|
export * from "./NoDomains";
|
|
23
|
+
export * from "./Redirect";
|
|
24
|
+
export * from "./Pagination";
|
|
25
|
+
export * from "./Redirects";
|
|
26
|
+
export * from "./SitePlanId";
|
|
27
|
+
export * from "./SitePlanName";
|
|
28
|
+
export * from "./SitePlan";
|
|
21
29
|
export * from "./SiteActivityLogItemEvent";
|
|
22
30
|
export * from "./SiteActivityLogItemResourceOperation";
|
|
23
31
|
export * from "./SiteActivityLogItemUser";
|
|
24
32
|
export * from "./SiteActivityLogItem";
|
|
25
|
-
export * from "./Pagination";
|
|
26
33
|
export * from "./SiteActivityLogResponse";
|
|
27
|
-
export * from "./InvalidScopes";
|
|
28
|
-
export * from "./NotEnterprisePlanSite";
|
|
29
34
|
export * from "./CollectionListArrayItem";
|
|
30
35
|
export * from "./CollectionList";
|
|
31
36
|
export * from "./FieldType";
|
|
@@ -35,20 +40,36 @@ export * from "./CollectionItemFieldData";
|
|
|
35
40
|
export * from "./CollectionItem";
|
|
36
41
|
export * from "./CollectionItemListPagination";
|
|
37
42
|
export * from "./CollectionItemList";
|
|
43
|
+
export * from "./CollectionItemPostSingleFieldData";
|
|
44
|
+
export * from "./CollectionItemPostSingle";
|
|
38
45
|
export * from "./CollectionItemWithIdInputFieldData";
|
|
39
46
|
export * from "./CollectionItemWithIdInput";
|
|
40
47
|
export * from "./CollectionItemListNoPagination";
|
|
41
48
|
export * from "./BulkCollectionItemFieldData";
|
|
42
49
|
export * from "./BulkCollectionItem";
|
|
50
|
+
export * from "./CollectionItemPatchSingleFieldData";
|
|
51
|
+
export * from "./CollectionItemPatchSingle";
|
|
43
52
|
export * from "./PageSeo";
|
|
44
53
|
export * from "./PageOpenGraph";
|
|
45
54
|
export * from "./Page";
|
|
46
55
|
export * from "./PageList";
|
|
56
|
+
export * from "./TextNodeText";
|
|
47
57
|
export * from "./TextNode";
|
|
58
|
+
export * from "./ImageNodeImage";
|
|
48
59
|
export * from "./ImageNode";
|
|
49
|
-
export * from "./
|
|
60
|
+
export * from "./Text";
|
|
61
|
+
export * from "./ComponentPropertyType";
|
|
62
|
+
export * from "./ComponentProperty";
|
|
63
|
+
export * from "./ComponentNode";
|
|
50
64
|
export * from "./Node";
|
|
51
65
|
export * from "./Dom";
|
|
66
|
+
export * from "./TextNodeWrite";
|
|
67
|
+
export * from "./ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem";
|
|
68
|
+
export * from "./ComponentInstanceNodePropertyOverridesWrite";
|
|
69
|
+
export * from "./Component";
|
|
70
|
+
export * from "./ComponentList";
|
|
71
|
+
export * from "./ComponentDom";
|
|
72
|
+
export * from "./ComponentProperties";
|
|
52
73
|
export * from "./ScriptApplyLocation";
|
|
53
74
|
export * from "./ScriptApply";
|
|
54
75
|
export * from "./ScriptApplyList";
|
package/dist/api/types/index.js
CHANGED
|
@@ -14,12 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./BadRequestErrorBody"), exports);
|
|
18
17
|
__exportStar(require("./ForbiddenErrorBody"), exports);
|
|
18
|
+
__exportStar(require("./BadRequestErrorBody"), exports);
|
|
19
19
|
__exportStar(require("./ConflictErrorBody"), exports);
|
|
20
20
|
__exportStar(require("./AuthorizedUser"), exports);
|
|
21
21
|
__exportStar(require("./ErrorCode"), exports);
|
|
22
|
-
__exportStar(require("./ErrorDetailsItem"), exports);
|
|
23
22
|
__exportStar(require("./Error_"), exports);
|
|
24
23
|
__exportStar(require("./Application"), exports);
|
|
25
24
|
__exportStar(require("./AuthorizationAuthorizationAuthorizedTo"), exports);
|
|
@@ -30,18 +29,24 @@ __exportStar(require("./Locale"), exports);
|
|
|
30
29
|
__exportStar(require("./Locales"), exports);
|
|
31
30
|
__exportStar(require("./SiteDataCollectionType"), exports);
|
|
32
31
|
__exportStar(require("./Site"), exports);
|
|
32
|
+
__exportStar(require("./InvalidScopes"), exports);
|
|
33
|
+
__exportStar(require("./NotEnterprisePlanWorkspace"), exports);
|
|
33
34
|
__exportStar(require("./Sites"), exports);
|
|
35
|
+
__exportStar(require("./NotEnterprisePlanSite"), exports);
|
|
34
36
|
__exportStar(require("./Domains"), exports);
|
|
35
37
|
__exportStar(require("./InvalidDomain"), exports);
|
|
36
38
|
__exportStar(require("./NoDomains"), exports);
|
|
39
|
+
__exportStar(require("./Redirect"), exports);
|
|
40
|
+
__exportStar(require("./Pagination"), exports);
|
|
41
|
+
__exportStar(require("./Redirects"), exports);
|
|
42
|
+
__exportStar(require("./SitePlanId"), exports);
|
|
43
|
+
__exportStar(require("./SitePlanName"), exports);
|
|
44
|
+
__exportStar(require("./SitePlan"), exports);
|
|
37
45
|
__exportStar(require("./SiteActivityLogItemEvent"), exports);
|
|
38
46
|
__exportStar(require("./SiteActivityLogItemResourceOperation"), exports);
|
|
39
47
|
__exportStar(require("./SiteActivityLogItemUser"), exports);
|
|
40
48
|
__exportStar(require("./SiteActivityLogItem"), exports);
|
|
41
|
-
__exportStar(require("./Pagination"), exports);
|
|
42
49
|
__exportStar(require("./SiteActivityLogResponse"), exports);
|
|
43
|
-
__exportStar(require("./InvalidScopes"), exports);
|
|
44
|
-
__exportStar(require("./NotEnterprisePlanSite"), exports);
|
|
45
50
|
__exportStar(require("./CollectionListArrayItem"), exports);
|
|
46
51
|
__exportStar(require("./CollectionList"), exports);
|
|
47
52
|
__exportStar(require("./FieldType"), exports);
|
|
@@ -51,20 +56,36 @@ __exportStar(require("./CollectionItemFieldData"), exports);
|
|
|
51
56
|
__exportStar(require("./CollectionItem"), exports);
|
|
52
57
|
__exportStar(require("./CollectionItemListPagination"), exports);
|
|
53
58
|
__exportStar(require("./CollectionItemList"), exports);
|
|
59
|
+
__exportStar(require("./CollectionItemPostSingleFieldData"), exports);
|
|
60
|
+
__exportStar(require("./CollectionItemPostSingle"), exports);
|
|
54
61
|
__exportStar(require("./CollectionItemWithIdInputFieldData"), exports);
|
|
55
62
|
__exportStar(require("./CollectionItemWithIdInput"), exports);
|
|
56
63
|
__exportStar(require("./CollectionItemListNoPagination"), exports);
|
|
57
64
|
__exportStar(require("./BulkCollectionItemFieldData"), exports);
|
|
58
65
|
__exportStar(require("./BulkCollectionItem"), exports);
|
|
66
|
+
__exportStar(require("./CollectionItemPatchSingleFieldData"), exports);
|
|
67
|
+
__exportStar(require("./CollectionItemPatchSingle"), exports);
|
|
59
68
|
__exportStar(require("./PageSeo"), exports);
|
|
60
69
|
__exportStar(require("./PageOpenGraph"), exports);
|
|
61
70
|
__exportStar(require("./Page"), exports);
|
|
62
71
|
__exportStar(require("./PageList"), exports);
|
|
72
|
+
__exportStar(require("./TextNodeText"), exports);
|
|
63
73
|
__exportStar(require("./TextNode"), exports);
|
|
74
|
+
__exportStar(require("./ImageNodeImage"), exports);
|
|
64
75
|
__exportStar(require("./ImageNode"), exports);
|
|
65
|
-
__exportStar(require("./
|
|
76
|
+
__exportStar(require("./Text"), exports);
|
|
77
|
+
__exportStar(require("./ComponentPropertyType"), exports);
|
|
78
|
+
__exportStar(require("./ComponentProperty"), exports);
|
|
79
|
+
__exportStar(require("./ComponentNode"), exports);
|
|
66
80
|
__exportStar(require("./Node"), exports);
|
|
67
81
|
__exportStar(require("./Dom"), exports);
|
|
82
|
+
__exportStar(require("./TextNodeWrite"), exports);
|
|
83
|
+
__exportStar(require("./ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem"), exports);
|
|
84
|
+
__exportStar(require("./ComponentInstanceNodePropertyOverridesWrite"), exports);
|
|
85
|
+
__exportStar(require("./Component"), exports);
|
|
86
|
+
__exportStar(require("./ComponentList"), exports);
|
|
87
|
+
__exportStar(require("./ComponentDom"), exports);
|
|
88
|
+
__exportStar(require("./ComponentProperties"), exports);
|
|
68
89
|
__exportStar(require("./ScriptApplyLocation"), exports);
|
|
69
90
|
__exportStar(require("./ScriptApply"), exports);
|
|
70
91
|
__exportStar(require("./ScriptApplyList"), exports);
|
package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Webflow from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const FieldCreateType: core.serialization.Schema<serializers.collections.FieldCreateType.Raw, Webflow.collections.FieldCreateType>;
|
|
8
8
|
export declare namespace FieldCreateType {
|
|
9
|
-
type Raw = "
|
|
9
|
+
type Raw = "Color" | "DateTime" | "Email" | "ExtFileRef" | "File" | "Image" | "Link" | "MultiImage" | "Number" | "Phone" | "PlainText" | "RichText" | "Switch" | "Video";
|
|
10
10
|
}
|
|
@@ -29,17 +29,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.FieldCreateType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.FieldCreateType = core.serialization.enum_([
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"Color",
|
|
33
|
+
"DateTime",
|
|
34
|
+
"Email",
|
|
35
|
+
"ExtFileRef",
|
|
36
|
+
"File",
|
|
34
37
|
"Image",
|
|
35
|
-
"MultiImage",
|
|
36
|
-
"Video",
|
|
37
38
|
"Link",
|
|
38
|
-
"
|
|
39
|
-
"Phone",
|
|
39
|
+
"MultiImage",
|
|
40
40
|
"Number",
|
|
41
|
-
"
|
|
41
|
+
"Phone",
|
|
42
|
+
"PlainText",
|
|
43
|
+
"RichText",
|
|
42
44
|
"Switch",
|
|
43
|
-
"
|
|
44
|
-
"File",
|
|
45
|
+
"Video",
|
|
45
46
|
]);
|
|
@@ -11,6 +11,6 @@ export declare namespace CreateBulkCollectionItemRequestBody {
|
|
|
11
11
|
cmsLocaleIds?: string[] | null;
|
|
12
12
|
isArchived?: boolean | null;
|
|
13
13
|
isDraft?: boolean | null;
|
|
14
|
-
fieldData
|
|
14
|
+
fieldData: CreateBulkCollectionItemRequestBodyFieldData.Raw;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -33,5 +33,5 @@ exports.CreateBulkCollectionItemRequestBody = core.serialization.object({
|
|
|
33
33
|
cmsLocaleIds: core.serialization.list(core.serialization.string()).optional(),
|
|
34
34
|
isArchived: core.serialization.boolean().optional(),
|
|
35
35
|
isDraft: core.serialization.boolean().optional(),
|
|
36
|
-
fieldData: CreateBulkCollectionItemRequestBodyFieldData_1.CreateBulkCollectionItemRequestBodyFieldData
|
|
36
|
+
fieldData: CreateBulkCollectionItemRequestBodyFieldData_1.CreateBulkCollectionItemRequestBodyFieldData,
|
|
37
37
|
});
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as Webflow from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { SingleCmsItem } from "./SingleCmsItem";
|
|
8
8
|
import { CreateBulkCollectionItemRequestBodyFieldDataItem } from "./CreateBulkCollectionItemRequestBodyFieldDataItem";
|
|
9
9
|
export declare const CreateBulkCollectionItemRequestBodyFieldData: core.serialization.Schema<serializers.collections.CreateBulkCollectionItemRequestBodyFieldData.Raw, Webflow.collections.CreateBulkCollectionItemRequestBodyFieldData>;
|
|
10
10
|
export declare namespace CreateBulkCollectionItemRequestBodyFieldData {
|
|
11
|
-
type Raw =
|
|
11
|
+
type Raw = SingleCmsItem.Raw | CreateBulkCollectionItemRequestBodyFieldDataItem.Raw[];
|
|
12
12
|
}
|
|
@@ -28,9 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CreateBulkCollectionItemRequestBodyFieldData = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const
|
|
31
|
+
const SingleCmsItem_1 = require("./SingleCmsItem");
|
|
32
32
|
const CreateBulkCollectionItemRequestBodyFieldDataItem_1 = require("./CreateBulkCollectionItemRequestBodyFieldDataItem");
|
|
33
33
|
exports.CreateBulkCollectionItemRequestBodyFieldData = core.serialization.undiscriminatedUnion([
|
|
34
|
-
|
|
34
|
+
SingleCmsItem_1.SingleCmsItem,
|
|
35
35
|
core.serialization.list(CreateBulkCollectionItemRequestBodyFieldDataItem_1.CreateBulkCollectionItemRequestBodyFieldDataItem),
|
|
36
36
|
]);
|
|
@@ -5,8 +5,8 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as Webflow from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { CollectionItem } from "../../../../../types/CollectionItem";
|
|
8
|
-
import {
|
|
8
|
+
import { MultipleLiveItems } from "./MultipleLiveItems";
|
|
9
9
|
export declare const ItemsCreateItemLiveRequest: core.serialization.Schema<serializers.collections.ItemsCreateItemLiveRequest.Raw, Webflow.collections.ItemsCreateItemLiveRequest>;
|
|
10
10
|
export declare namespace ItemsCreateItemLiveRequest {
|
|
11
|
-
type Raw = CollectionItem.Raw |
|
|
11
|
+
type Raw = CollectionItem.Raw | MultipleLiveItems.Raw;
|
|
12
12
|
}
|