webflow-api 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +112 -269
- package/.mock/definition/accessGroups.yml +7 -1
- package/.mock/definition/api.yml +0 -2
- package/.mock/definition/assets.yml +38 -8
- package/.mock/definition/collections/fields.yml +9 -3
- package/.mock/definition/collections/items.yml +458 -76
- package/.mock/definition/collections.yml +12 -4
- package/.mock/definition/components.yml +65 -25
- package/.mock/definition/ecommerce.yml +3 -1
- package/.mock/definition/forms.yml +29 -7
- package/.mock/definition/inventory.yml +25 -17
- package/.mock/definition/items.yml +28 -16
- package/.mock/definition/orders.yml +126 -110
- package/.mock/definition/pages/scripts.yml +27 -8
- package/.mock/definition/pages.yml +66 -45
- package/.mock/definition/products.yml +21 -12
- package/.mock/definition/scripts.yml +9 -3
- package/.mock/definition/sites/activityLogs.yml +6 -1
- package/.mock/definition/sites/comments.yml +39 -12
- package/.mock/definition/sites/plans.yml +3 -1
- package/.mock/definition/sites/redirects.yml +12 -4
- package/.mock/definition/sites/robotsTxt.yml +12 -4
- package/.mock/definition/sites/scripts.yml +35 -8
- package/.mock/definition/sites/wellKnown.yml +20 -4
- package/.mock/definition/sites.yml +23 -8
- package/.mock/definition/token.yml +3 -2
- package/.mock/definition/users.yml +19 -5
- package/.mock/definition/webhooks.yml +0 -4
- package/.mock/definition/workspaces/auditLogs.yml +9 -3
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +2 -2
- package/Client.js +3 -3
- package/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/api/resources/accessGroups/client/Client.js +11 -3
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/api/resources/assets/client/Client.d.ts +9 -5
- package/api/resources/assets/client/Client.js +24 -7
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/api/resources/assets/client/requests/index.d.ts +1 -0
- package/api/resources/collections/client/Client.d.ts +3 -3
- package/api/resources/collections/client/Client.js +6 -2
- package/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/api/resources/collections/resources/items/client/Client.js +57 -17
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/api/resources/components/client/Client.d.ts +18 -9
- package/api/resources/components/client/Client.js +21 -8
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/api/resources/ecommerce/client/Client.js +6 -2
- package/api/resources/forms/client/Client.d.ts +14 -6
- package/api/resources/forms/client/Client.js +17 -5
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/api/resources/inventory/client/Client.d.ts +11 -11
- package/api/resources/inventory/client/Client.js +22 -18
- package/api/resources/orders/client/Client.d.ts +8 -4
- package/api/resources/orders/client/Client.js +11 -3
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/api/resources/pages/client/Client.d.ts +14 -15
- package/api/resources/pages/client/Client.js +17 -14
- package/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/api/resources/products/client/Client.d.ts +7 -4
- package/api/resources/products/client/Client.js +10 -3
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -2
- package/api/resources/sites/client/Client.d.ts +3 -3
- package/api/resources/sites/client/Client.js +6 -2
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/api/resources/token/client/Client.d.ts +3 -3
- package/api/resources/token/client/Client.js +6 -2
- package/api/resources/users/client/Client.d.ts +8 -4
- package/api/resources/users/client/Client.js +11 -3
- package/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +6 -2
- package/api/resources/workspaces/client/Client.d.ts +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/api/types/CollectionItemChanged.d.ts +1 -1
- package/api/types/CollectionItemCreated.d.ts +1 -1
- package/api/types/CollectionItemPublished.d.ts +9 -0
- package/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/api/types/Dom.d.ts +1 -1
- package/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/api/types/Node.d.ts +7 -7
- package/api/types/Payload.d.ts +25 -0
- package/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/api/types/SiteMembership.d.ts +1 -0
- package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/api/types/SkuFieldData.d.ts +0 -4
- package/{dist/api/types/SubmitButtonNodeDom.d.ts → api/types/SubmitButtonNode.d.ts} +1 -1
- package/{dist/api/types/SubmitButton.d.ts → api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{dist/api/types/TextInputNodeDom.d.ts → api/types/TextInputNode.d.ts} +1 -1
- package/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/api/types/TextNode.d.ts +7 -4
- package/api/types/TextNodeWrite.d.ts +12 -0
- package/api/types/TriggerType.d.ts +2 -1
- package/api/types/TriggerType.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/api/types/WorkspaceInvitation.d.ts +1 -0
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/api/types/index.d.ts +17 -20
- package/api/types/index.js +17 -20
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +3 -3
- package/dist/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/dist/api/resources/accessGroups/client/Client.js +11 -3
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/dist/api/resources/assets/client/Client.d.ts +9 -5
- package/dist/api/resources/assets/client/Client.js +24 -7
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/dist/api/resources/collections/resources/items/client/Client.js +57 -17
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/dist/api/resources/components/client/Client.d.ts +18 -9
- package/dist/api/resources/components/client/Client.js +21 -8
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/dist/api/resources/ecommerce/client/Client.js +6 -2
- package/dist/api/resources/forms/client/Client.d.ts +14 -6
- package/dist/api/resources/forms/client/Client.js +17 -5
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +11 -11
- package/dist/api/resources/inventory/client/Client.js +22 -18
- package/dist/api/resources/orders/client/Client.d.ts +8 -4
- package/dist/api/resources/orders/client/Client.js +11 -3
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/dist/api/resources/pages/client/Client.d.ts +14 -15
- package/dist/api/resources/pages/client/Client.js +17 -14
- package/dist/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/products/client/Client.d.ts +7 -4
- package/dist/api/resources/products/client/Client.js +10 -3
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -2
- package/dist/api/resources/sites/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/dist/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/dist/api/resources/token/client/Client.d.ts +3 -3
- package/dist/api/resources/token/client/Client.js +6 -2
- package/dist/api/resources/users/client/Client.d.ts +8 -4
- package/dist/api/resources/users/client/Client.js +11 -3
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
- package/dist/api/resources/webhooks/client/Client.js +6 -2
- package/dist/api/resources/workspaces/client/Client.d.ts +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/dist/api/types/CollectionItemChanged.d.ts +1 -1
- package/dist/api/types/CollectionItemCreated.d.ts +1 -1
- package/dist/api/types/CollectionItemPublished.d.ts +9 -0
- package/dist/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/dist/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/dist/api/types/Node.d.ts +7 -7
- package/dist/api/types/Payload.d.ts +25 -0
- package/dist/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/dist/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/dist/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/dist/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/dist/api/types/SiteMembership.d.ts +1 -0
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/SkuFieldData.d.ts +0 -4
- package/{api/types/SubmitButtonNodeDom.d.ts → dist/api/types/SubmitButtonNode.d.ts} +1 -1
- package/{api/types/SubmitButton.d.ts → dist/api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{api/types/TextInputNodeDom.d.ts → dist/api/types/TextInputNode.d.ts} +1 -1
- package/dist/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/dist/api/types/TextNode.d.ts +7 -4
- package/dist/api/types/TextNodeWrite.d.ts +12 -0
- package/dist/api/types/TriggerType.d.ts +2 -1
- package/dist/api/types/TriggerType.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceInvitation.d.ts +1 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/index.d.ts +17 -20
- package/dist/api/types/index.js +17 -20
- package/dist/environments.d.ts +0 -4
- package/dist/environments.js +0 -2
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/dist/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/dist/serialization/types/CollectionItemChanged.js +2 -2
- package/dist/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/dist/serialization/types/CollectionItemCreated.js +2 -2
- package/dist/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPublished.js +45 -0
- package/{serialization/types/ComponentInstance.d.ts → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{serialization/types/ComponentInstance.js → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{serialization/types/ComponentNodeDom.d.ts → dist/serialization/types/ComponentNode.d.ts} +2 -2
- package/{serialization/types/ComponentNodeDom.js → dist/serialization/types/ComponentNode.js} +2 -2
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/dist/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/dist/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/dist/serialization/types/Node.d.ts +14 -14
- package/dist/serialization/types/Node.js +14 -14
- package/dist/serialization/types/Payload.d.ts +23 -0
- package/dist/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{serialization/types/SearchButtonNodeDom.d.ts → dist/serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{serialization/types/SearchButtonNodeDom.js → dist/serialization/types/SearchButtonNode.js} +2 -2
- package/{serialization/types/SearchButton.d.ts → dist/serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SearchButton.js → dist/serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{serialization/types/SelectNodeDom.d.ts → dist/serialization/types/SelectNode.d.ts} +2 -2
- package/{serialization/types/SelectNodeDom.js → dist/serialization/types/SelectNode.js} +2 -2
- package/dist/serialization/types/SiteMembership.d.ts +2 -0
- package/dist/serialization/types/SiteMembership.js +2 -0
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/dist/serialization/types/SkuFieldData.d.ts +0 -2
- package/dist/serialization/types/SkuFieldData.js +0 -2
- package/dist/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{serialization/types/SubmitButtonNodeDom.js → dist/serialization/types/SubmitButtonNode.js} +2 -2
- package/{serialization/types/SubmitButton.d.ts → dist/serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SubmitButton.js → dist/serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{serialization/types/TextInputNodeDom.d.ts → dist/serialization/types/TextInputNode.d.ts} +2 -2
- package/{serialization/types/TextInputNodeDom.js → dist/serialization/types/TextInputNode.js} +2 -2
- package/dist/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/dist/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/dist/serialization/types/TextNodeWrite.js +44 -0
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +1 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/dist/serialization/types/WorkspaceInvitation.js +2 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/serialization/types/index.d.ts +17 -20
- package/dist/serialization/types/index.js +17 -20
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsClient.d.ts +24 -0
- package/dist/wrapper/AssetsClient.js +42 -0
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/environments.d.ts +0 -4
- package/environments.js +0 -2
- package/jest.config.mjs +0 -4
- package/package.json +3 -3
- package/reference.md +158 -54
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/serialization/types/CollectionItemChanged.js +2 -2
- package/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/serialization/types/CollectionItemCreated.js +2 -2
- package/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/serialization/types/CollectionItemPublished.js +45 -0
- package/{dist/serialization/types/ComponentInstance.d.ts → serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{dist/serialization/types/ComponentInstance.js → serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.d.ts → serialization/types/ComponentNode.d.ts} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.js → serialization/types/ComponentNode.js} +2 -2
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/serialization/types/Node.d.ts +14 -14
- package/serialization/types/Node.js +14 -14
- package/serialization/types/Payload.d.ts +23 -0
- package/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.d.ts → serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.js → serialization/types/SearchButtonNode.js} +2 -2
- package/{dist/serialization/types/SearchButton.d.ts → serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SearchButton.js → serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/SelectNodeDom.d.ts → serialization/types/SelectNode.d.ts} +2 -2
- package/{dist/serialization/types/SelectNodeDom.js → serialization/types/SelectNode.js} +2 -2
- package/serialization/types/SiteMembership.d.ts +2 -0
- package/serialization/types/SiteMembership.js +2 -0
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/serialization/types/SkuFieldData.d.ts +0 -2
- package/serialization/types/SkuFieldData.js +0 -2
- package/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButtonNodeDom.js → serialization/types/SubmitButtonNode.js} +2 -2
- package/{dist/serialization/types/SubmitButton.d.ts → serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButton.js → serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.d.ts → serialization/types/TextInputNode.d.ts} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.js → serialization/types/TextInputNode.js} +2 -2
- package/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/serialization/types/TextNodeWrite.js +44 -0
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +1 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/serialization/types/WorkspaceInvitation.js +2 -0
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/serialization/types/index.d.ts +17 -20
- package/serialization/types/index.js +17 -20
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsClient.d.ts +24 -0
- package/wrapper/AssetsClient.js +42 -0
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/api/types/LocalizedItem.d.ts +0 -31
- package/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/dist/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/dist/api/types/LocalizedItem.d.ts +0 -31
- package/dist/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/dist/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/dist/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/SubmitButtonNodeDom.js +0 -5
- package/dist/api/types/TextInput.js +0 -5
- package/dist/api/types/TextInputNodeDom.js +0 -5
- package/dist/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/TextNodeDom.js +0 -5
- package/dist/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/dist/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/dist/serialization/types/LocalizedItem.d.ts +0 -24
- package/dist/serialization/types/LocalizedItem.js +0 -55
- package/dist/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/dist/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/dist/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/dist/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/dist/serialization/types/TextNodeDom.d.ts +0 -15
- package/dist/serialization/types/TextNodeDom.js +0 -46
- package/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/serialization/types/LocalizedItem.d.ts +0 -24
- package/serialization/types/LocalizedItem.js +0 -55
- package/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/serialization/types/TextNodeDom.d.ts +0 -15
- package/serialization/types/TextNodeDom.js +0 -46
- /package/api/{types/CollectionItemChangedPayload.js → resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/api/types/{CollectionItemCreatedPayload.js → CollectionItemPublished.js} +0 -0
- /package/api/types/{ComponentInstance.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/api/types/{ComponentNodeDom.js → ComponentNode.js} +0 -0
- /package/api/types/{ImageNodeDom.js → ImageNode.js} +0 -0
- /package/api/types/{LocalizedItem.js → Payload.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayload.js → PayloadFieldData.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayloadFieldData.js → SearchButtonNode.js} +0 -0
- /package/api/types/{MultiLocaleCreatedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/api/types/{SearchButton.js → SelectNode.js} +0 -0
- /package/api/types/{SearchButtonNodeDom.js → SubmitButtonNode.js} +0 -0
- /package/api/types/{SelectNodeDom.js → SubmitButtonNodeWrite.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayload.js → TextInputNode.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayloadFieldData.js → TextInputNodeWrite.js} +0 -0
- /package/api/types/{SubmitButton.js → TextNodeWrite.js} +0 -0
- /package/api/types/{SubmitButtonNodeDom.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/api/types/{TextInput.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
- /package/{api/types/TextInputNodeDom.js → dist/api/resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/{api/types/TextNodeDom.js → dist/api/types/CollectionItemPublished.js} +0 -0
- /package/dist/api/types/{CollectionItemChangedPayload.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/dist/api/types/{CollectionItemCreatedPayload.js → ComponentNode.js} +0 -0
- /package/dist/api/types/{ComponentInstance.js → ImageNode.js} +0 -0
- /package/dist/api/types/{ComponentNodeDom.js → Payload.js} +0 -0
- /package/dist/api/types/{ImageNodeDom.js → PayloadFieldData.js} +0 -0
- /package/dist/api/types/{LocalizedItem.js → SearchButtonNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayloadFieldData.js → SelectNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleCreatedPayload.js → SubmitButtonNode.js} +0 -0
- /package/dist/api/types/{SearchButton.js → SubmitButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{SearchButtonNodeDom.js → TextInputNode.js} +0 -0
- /package/dist/api/types/{SelectNodeDom.js → TextInputNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayload.js → TextNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayloadFieldData.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/dist/api/types/{SubmitButton.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
|
@@ -9,7 +9,7 @@ export declare namespace Items {
|
|
|
9
9
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
accessToken
|
|
12
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
14
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
15
|
}
|
|
@@ -26,7 +26,7 @@ export declare namespace Items {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Items {
|
|
28
28
|
protected readonly _options: Items.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Items.Options);
|
|
30
30
|
/**
|
|
31
31
|
* List of all Items within a Collection.
|
|
32
32
|
*
|
|
@@ -43,7 +43,15 @@ export declare class Items {
|
|
|
43
43
|
* @throws {@link Webflow.InternalServerError}
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745"
|
|
46
|
+
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
47
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
48
|
+
* offset: 1.1,
|
|
49
|
+
* limit: 1.1,
|
|
50
|
+
* name: "name",
|
|
51
|
+
* slug: "slug",
|
|
52
|
+
* sortBy: "lastPublished",
|
|
53
|
+
* sortOrder: "asc"
|
|
54
|
+
* })
|
|
47
55
|
*/
|
|
48
56
|
listItems(collectionId: string, request?: Webflow.collections.ItemsListItemsRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItemList>;
|
|
49
57
|
private __listItems;
|
|
@@ -67,18 +75,20 @@ export declare class Items {
|
|
|
67
75
|
*
|
|
68
76
|
* @example
|
|
69
77
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
78
|
+
* skipInvalidFiles: true,
|
|
70
79
|
* body: {
|
|
71
80
|
* isArchived: false,
|
|
72
81
|
* isDraft: false,
|
|
73
82
|
* fieldData: {
|
|
74
|
-
* name: "
|
|
75
|
-
* slug: "
|
|
83
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
84
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
76
85
|
* }
|
|
77
86
|
* }
|
|
78
87
|
* })
|
|
79
88
|
*
|
|
80
89
|
* @example
|
|
81
90
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
91
|
+
* skipInvalidFiles: true,
|
|
82
92
|
* body: {
|
|
83
93
|
* items: [{
|
|
84
94
|
* isArchived: false,
|
|
@@ -148,6 +158,7 @@ export declare class Items {
|
|
|
148
158
|
*
|
|
149
159
|
* @example
|
|
150
160
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
161
|
+
* skipInvalidFiles: true,
|
|
151
162
|
* items: [{
|
|
152
163
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
153
164
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -181,6 +192,7 @@ export declare class Items {
|
|
|
181
192
|
*
|
|
182
193
|
* @example
|
|
183
194
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
195
|
+
* skipInvalidFiles: true,
|
|
184
196
|
* items: [{
|
|
185
197
|
* id: "580e64008c9a982ac9b8b754",
|
|
186
198
|
* isArchived: false,
|
|
@@ -223,7 +235,15 @@ export declare class Items {
|
|
|
223
235
|
* @throws {@link Webflow.InternalServerError}
|
|
224
236
|
*
|
|
225
237
|
* @example
|
|
226
|
-
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745"
|
|
238
|
+
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
239
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
240
|
+
* offset: 1.1,
|
|
241
|
+
* limit: 1.1,
|
|
242
|
+
* name: "name",
|
|
243
|
+
* slug: "slug",
|
|
244
|
+
* sortBy: "lastPublished",
|
|
245
|
+
* sortOrder: "asc"
|
|
246
|
+
* })
|
|
227
247
|
*/
|
|
228
248
|
listItemsLive(collectionId: string, request?: Webflow.collections.ItemsListItemsLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItemList>;
|
|
229
249
|
private __listItemsLive;
|
|
@@ -248,18 +268,20 @@ export declare class Items {
|
|
|
248
268
|
*
|
|
249
269
|
* @example
|
|
250
270
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
271
|
+
* skipInvalidFiles: true,
|
|
251
272
|
* body: {
|
|
252
273
|
* isArchived: false,
|
|
253
274
|
* isDraft: false,
|
|
254
275
|
* fieldData: {
|
|
255
|
-
* name: "
|
|
256
|
-
* slug: "
|
|
276
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
277
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
257
278
|
* }
|
|
258
279
|
* }
|
|
259
280
|
* })
|
|
260
281
|
*
|
|
261
282
|
* @example
|
|
262
283
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
284
|
+
* skipInvalidFiles: true,
|
|
263
285
|
* body: {
|
|
264
286
|
* items: [{
|
|
265
287
|
* isArchived: false,
|
|
@@ -327,6 +349,7 @@ export declare class Items {
|
|
|
327
349
|
*
|
|
328
350
|
* @example
|
|
329
351
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
352
|
+
* skipInvalidFiles: true,
|
|
330
353
|
* items: [{
|
|
331
354
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
332
355
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -360,6 +383,7 @@ export declare class Items {
|
|
|
360
383
|
*
|
|
361
384
|
* @example
|
|
362
385
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
386
|
+
* skipInvalidFiles: true,
|
|
363
387
|
* items: [{
|
|
364
388
|
* id: "580e64008c9a982ac9b8b754",
|
|
365
389
|
* isArchived: false,
|
|
@@ -403,6 +427,7 @@ export declare class Items {
|
|
|
403
427
|
*
|
|
404
428
|
* @example
|
|
405
429
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
430
|
+
* skipInvalidFiles: true,
|
|
406
431
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
407
432
|
* isArchived: false,
|
|
408
433
|
* isDraft: false,
|
|
@@ -414,6 +439,7 @@ export declare class Items {
|
|
|
414
439
|
*
|
|
415
440
|
* @example
|
|
416
441
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
442
|
+
* skipInvalidFiles: true,
|
|
417
443
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
418
444
|
* isArchived: false,
|
|
419
445
|
* isDraft: false,
|
|
@@ -445,7 +471,9 @@ export declare class Items {
|
|
|
445
471
|
* @throws {@link Webflow.InternalServerError}
|
|
446
472
|
*
|
|
447
473
|
* @example
|
|
448
|
-
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
474
|
+
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
475
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
476
|
+
* })
|
|
449
477
|
*/
|
|
450
478
|
getItem(collectionId: string, itemId: string, request?: Webflow.collections.ItemsGetItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItem>;
|
|
451
479
|
private __getItem;
|
|
@@ -466,7 +494,9 @@ export declare class Items {
|
|
|
466
494
|
* @throws {@link Webflow.InternalServerError}
|
|
467
495
|
*
|
|
468
496
|
* @example
|
|
469
|
-
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
497
|
+
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
498
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
499
|
+
* })
|
|
470
500
|
*/
|
|
471
501
|
deleteItem(collectionId: string, itemId: string, request?: Webflow.collections.ItemsDeleteItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<void>;
|
|
472
502
|
private __deleteItem;
|
|
@@ -488,12 +518,13 @@ export declare class Items {
|
|
|
488
518
|
*
|
|
489
519
|
* @example
|
|
490
520
|
* await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
521
|
+
* skipInvalidFiles: true,
|
|
491
522
|
* body: {
|
|
492
523
|
* isArchived: false,
|
|
493
524
|
* isDraft: false,
|
|
494
525
|
* fieldData: {
|
|
495
|
-
* name: "
|
|
496
|
-
* slug: "
|
|
526
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
527
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
497
528
|
* }
|
|
498
529
|
* }
|
|
499
530
|
* })
|
|
@@ -522,7 +553,9 @@ export declare class Items {
|
|
|
522
553
|
* @throws {@link Webflow.InternalServerError}
|
|
523
554
|
*
|
|
524
555
|
* @example
|
|
525
|
-
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
556
|
+
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
557
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
558
|
+
* })
|
|
526
559
|
*/
|
|
527
560
|
getItemLive(collectionId: string, itemId: string, request?: Webflow.collections.ItemsGetItemLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItem>;
|
|
528
561
|
private __getItemLive;
|
|
@@ -545,7 +578,9 @@ export declare class Items {
|
|
|
545
578
|
* @throws {@link Webflow.InternalServerError}
|
|
546
579
|
*
|
|
547
580
|
* @example
|
|
548
|
-
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
581
|
+
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
582
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
583
|
+
* })
|
|
549
584
|
*/
|
|
550
585
|
deleteItemLive(collectionId: string, itemId: string, request?: Webflow.collections.ItemsDeleteItemLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<void>;
|
|
551
586
|
private __deleteItemLive;
|
|
@@ -568,12 +603,13 @@ export declare class Items {
|
|
|
568
603
|
*
|
|
569
604
|
* @example
|
|
570
605
|
* await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
606
|
+
* skipInvalidFiles: true,
|
|
571
607
|
* body: {
|
|
572
608
|
* isArchived: false,
|
|
573
609
|
* isDraft: false,
|
|
574
610
|
* fieldData: {
|
|
575
|
-
* name: "
|
|
576
|
-
* slug: "
|
|
611
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
612
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
577
613
|
* }
|
|
578
614
|
* }
|
|
579
615
|
* })
|
|
@@ -625,5 +661,5 @@ export declare class Items {
|
|
|
625
661
|
*/
|
|
626
662
|
publishItem(collectionId: string, request: Webflow.collections.ItemsPublishItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.collections.ItemsPublishItemResponse>;
|
|
627
663
|
private __publishItem;
|
|
628
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
664
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
629
665
|
}
|
|
@@ -68,7 +68,7 @@ const headers_js_1 = require("../../../../../../core/headers.js");
|
|
|
68
68
|
const url_join_1 = __importDefault(require("url-join"));
|
|
69
69
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
70
70
|
class Items {
|
|
71
|
-
constructor(_options) {
|
|
71
|
+
constructor(_options = {}) {
|
|
72
72
|
this._options = _options;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
@@ -87,7 +87,15 @@ class Items {
|
|
|
87
87
|
* @throws {@link Webflow.InternalServerError}
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
|
-
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745"
|
|
90
|
+
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
91
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
92
|
+
* offset: 1.1,
|
|
93
|
+
* limit: 1.1,
|
|
94
|
+
* name: "name",
|
|
95
|
+
* slug: "slug",
|
|
96
|
+
* sortBy: "lastPublished",
|
|
97
|
+
* sortOrder: "asc"
|
|
98
|
+
* })
|
|
91
99
|
*/
|
|
92
100
|
listItems(collectionId, request = {}, requestOptions) {
|
|
93
101
|
return core.HttpResponsePromise.fromPromise(this.__listItems(collectionId, request, requestOptions));
|
|
@@ -237,18 +245,20 @@ class Items {
|
|
|
237
245
|
*
|
|
238
246
|
* @example
|
|
239
247
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
248
|
+
* skipInvalidFiles: true,
|
|
240
249
|
* body: {
|
|
241
250
|
* isArchived: false,
|
|
242
251
|
* isDraft: false,
|
|
243
252
|
* fieldData: {
|
|
244
|
-
* name: "
|
|
245
|
-
* slug: "
|
|
253
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
254
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
246
255
|
* }
|
|
247
256
|
* }
|
|
248
257
|
* })
|
|
249
258
|
*
|
|
250
259
|
* @example
|
|
251
260
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
261
|
+
* skipInvalidFiles: true,
|
|
252
262
|
* body: {
|
|
253
263
|
* items: [{
|
|
254
264
|
* isArchived: false,
|
|
@@ -503,6 +513,7 @@ class Items {
|
|
|
503
513
|
*
|
|
504
514
|
* @example
|
|
505
515
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
516
|
+
* skipInvalidFiles: true,
|
|
506
517
|
* items: [{
|
|
507
518
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
508
519
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -536,6 +547,7 @@ class Items {
|
|
|
536
547
|
*
|
|
537
548
|
* @example
|
|
538
549
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
550
|
+
* skipInvalidFiles: true,
|
|
539
551
|
* items: [{
|
|
540
552
|
* id: "580e64008c9a982ac9b8b754",
|
|
541
553
|
* isArchived: false,
|
|
@@ -677,7 +689,15 @@ class Items {
|
|
|
677
689
|
* @throws {@link Webflow.InternalServerError}
|
|
678
690
|
*
|
|
679
691
|
* @example
|
|
680
|
-
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745"
|
|
692
|
+
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
693
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
694
|
+
* offset: 1.1,
|
|
695
|
+
* limit: 1.1,
|
|
696
|
+
* name: "name",
|
|
697
|
+
* slug: "slug",
|
|
698
|
+
* sortBy: "lastPublished",
|
|
699
|
+
* sortOrder: "asc"
|
|
700
|
+
* })
|
|
681
701
|
*/
|
|
682
702
|
listItemsLive(collectionId, request = {}, requestOptions) {
|
|
683
703
|
return core.HttpResponsePromise.fromPromise(this.__listItemsLive(collectionId, request, requestOptions));
|
|
@@ -828,18 +848,20 @@ class Items {
|
|
|
828
848
|
*
|
|
829
849
|
* @example
|
|
830
850
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
851
|
+
* skipInvalidFiles: true,
|
|
831
852
|
* body: {
|
|
832
853
|
* isArchived: false,
|
|
833
854
|
* isDraft: false,
|
|
834
855
|
* fieldData: {
|
|
835
|
-
* name: "
|
|
836
|
-
* slug: "
|
|
856
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
857
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
837
858
|
* }
|
|
838
859
|
* }
|
|
839
860
|
* })
|
|
840
861
|
*
|
|
841
862
|
* @example
|
|
842
863
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
864
|
+
* skipInvalidFiles: true,
|
|
843
865
|
* body: {
|
|
844
866
|
* items: [{
|
|
845
867
|
* isArchived: false,
|
|
@@ -1090,6 +1112,7 @@ class Items {
|
|
|
1090
1112
|
*
|
|
1091
1113
|
* @example
|
|
1092
1114
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
1115
|
+
* skipInvalidFiles: true,
|
|
1093
1116
|
* items: [{
|
|
1094
1117
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
1095
1118
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -1123,6 +1146,7 @@ class Items {
|
|
|
1123
1146
|
*
|
|
1124
1147
|
* @example
|
|
1125
1148
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
1149
|
+
* skipInvalidFiles: true,
|
|
1126
1150
|
* items: [{
|
|
1127
1151
|
* id: "580e64008c9a982ac9b8b754",
|
|
1128
1152
|
* isArchived: false,
|
|
@@ -1267,6 +1291,7 @@ class Items {
|
|
|
1267
1291
|
*
|
|
1268
1292
|
* @example
|
|
1269
1293
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
1294
|
+
* skipInvalidFiles: true,
|
|
1270
1295
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
1271
1296
|
* isArchived: false,
|
|
1272
1297
|
* isDraft: false,
|
|
@@ -1278,6 +1303,7 @@ class Items {
|
|
|
1278
1303
|
*
|
|
1279
1304
|
* @example
|
|
1280
1305
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
1306
|
+
* skipInvalidFiles: true,
|
|
1281
1307
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
1282
1308
|
* isArchived: false,
|
|
1283
1309
|
* isDraft: false,
|
|
@@ -1408,7 +1434,9 @@ class Items {
|
|
|
1408
1434
|
* @throws {@link Webflow.InternalServerError}
|
|
1409
1435
|
*
|
|
1410
1436
|
* @example
|
|
1411
|
-
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1437
|
+
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1438
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1439
|
+
* })
|
|
1412
1440
|
*/
|
|
1413
1441
|
getItem(collectionId, itemId, request = {}, requestOptions) {
|
|
1414
1442
|
return core.HttpResponsePromise.fromPromise(this.__getItem(collectionId, itemId, request, requestOptions));
|
|
@@ -1423,7 +1451,7 @@ class Items {
|
|
|
1423
1451
|
}
|
|
1424
1452
|
const _response = yield core.fetcher({
|
|
1425
1453
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.WebflowEnvironment.DataApi)
|
|
1426
|
-
.
|
|
1454
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
|
|
1427
1455
|
method: "GET",
|
|
1428
1456
|
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1429
1457
|
queryParameters: _queryParams,
|
|
@@ -1521,7 +1549,9 @@ class Items {
|
|
|
1521
1549
|
* @throws {@link Webflow.InternalServerError}
|
|
1522
1550
|
*
|
|
1523
1551
|
* @example
|
|
1524
|
-
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1552
|
+
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1553
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1554
|
+
* })
|
|
1525
1555
|
*/
|
|
1526
1556
|
deleteItem(collectionId, itemId, request = {}, requestOptions) {
|
|
1527
1557
|
return core.HttpResponsePromise.fromPromise(this.__deleteItem(collectionId, itemId, request, requestOptions));
|
|
@@ -1626,12 +1656,13 @@ class Items {
|
|
|
1626
1656
|
*
|
|
1627
1657
|
* @example
|
|
1628
1658
|
* await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1659
|
+
* skipInvalidFiles: true,
|
|
1629
1660
|
* body: {
|
|
1630
1661
|
* isArchived: false,
|
|
1631
1662
|
* isDraft: false,
|
|
1632
1663
|
* fieldData: {
|
|
1633
|
-
* name: "
|
|
1634
|
-
* slug: "
|
|
1664
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
1665
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
1635
1666
|
* }
|
|
1636
1667
|
* }
|
|
1637
1668
|
* })
|
|
@@ -1759,7 +1790,9 @@ class Items {
|
|
|
1759
1790
|
* @throws {@link Webflow.InternalServerError}
|
|
1760
1791
|
*
|
|
1761
1792
|
* @example
|
|
1762
|
-
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1793
|
+
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1794
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1795
|
+
* })
|
|
1763
1796
|
*/
|
|
1764
1797
|
getItemLive(collectionId, itemId, request = {}, requestOptions) {
|
|
1765
1798
|
return core.HttpResponsePromise.fromPromise(this.__getItemLive(collectionId, itemId, request, requestOptions));
|
|
@@ -1874,7 +1907,9 @@ class Items {
|
|
|
1874
1907
|
* @throws {@link Webflow.InternalServerError}
|
|
1875
1908
|
*
|
|
1876
1909
|
* @example
|
|
1877
|
-
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1910
|
+
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1911
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1912
|
+
* })
|
|
1878
1913
|
*/
|
|
1879
1914
|
deleteItemLive(collectionId, itemId, request = {}, requestOptions) {
|
|
1880
1915
|
return core.HttpResponsePromise.fromPromise(this.__deleteItemLive(collectionId, itemId, request, requestOptions));
|
|
@@ -1980,12 +2015,13 @@ class Items {
|
|
|
1980
2015
|
*
|
|
1981
2016
|
* @example
|
|
1982
2017
|
* await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
2018
|
+
* skipInvalidFiles: true,
|
|
1983
2019
|
* body: {
|
|
1984
2020
|
* isArchived: false,
|
|
1985
2021
|
* isDraft: false,
|
|
1986
2022
|
* fieldData: {
|
|
1987
|
-
* name: "
|
|
1988
|
-
* slug: "
|
|
2023
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
2024
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
1989
2025
|
* }
|
|
1990
2026
|
* }
|
|
1991
2027
|
* })
|
|
@@ -2235,7 +2271,11 @@ class Items {
|
|
|
2235
2271
|
}
|
|
2236
2272
|
_getAuthorizationHeader() {
|
|
2237
2273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2238
|
-
|
|
2274
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
2275
|
+
if (bearer != null) {
|
|
2276
|
+
return `Bearer ${bearer}`;
|
|
2277
|
+
}
|
|
2278
|
+
return undefined;
|
|
2239
2279
|
});
|
|
2240
2280
|
}
|
|
2241
2281
|
}
|
|
@@ -5,6 +5,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
@@ -16,6 +17,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* {
|
|
20
|
+
* skipInvalidFiles: true,
|
|
19
21
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
20
22
|
* isArchived: false,
|
|
21
23
|
* isDraft: false,
|
|
@@ -30,6 +32,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* {
|
|
35
|
+
* skipInvalidFiles: true,
|
|
33
36
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
34
37
|
* isArchived: false,
|
|
35
38
|
* isDraft: false,
|
|
@@ -41,6 +44,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
41
44
|
*
|
|
42
45
|
* @example
|
|
43
46
|
* {
|
|
47
|
+
* skipInvalidFiles: true,
|
|
44
48
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
45
49
|
* isArchived: false,
|
|
46
50
|
* isDraft: false,
|
|
@@ -5,18 +5,20 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {
|
|
21
|
+
* skipInvalidFiles: true,
|
|
20
22
|
* body: {
|
|
21
23
|
* items: [{
|
|
22
24
|
* isArchived: false,
|
package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts
CHANGED
|
@@ -5,18 +5,20 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {
|
|
21
|
+
* skipInvalidFiles: true,
|
|
20
22
|
* body: {
|
|
21
23
|
* items: [{
|
|
22
24
|
* isArchived: false,
|
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
import * as Webflow from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
9
|
+
* offset: 1.1,
|
|
10
|
+
* limit: 1.1,
|
|
11
|
+
* name: "name",
|
|
12
|
+
* slug: "slug",
|
|
13
|
+
* sortBy: "lastPublished",
|
|
14
|
+
* sortOrder: "asc"
|
|
15
|
+
* }
|
|
8
16
|
*/
|
|
9
17
|
export interface ItemsListItemsLiveRequest {
|
|
10
18
|
/**
|
package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts
CHANGED
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
import * as Webflow from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
9
|
+
* offset: 1.1,
|
|
10
|
+
* limit: 1.1,
|
|
11
|
+
* name: "name",
|
|
12
|
+
* slug: "slug",
|
|
13
|
+
* sortBy: "lastPublished",
|
|
14
|
+
* sortOrder: "asc"
|
|
15
|
+
* }
|
|
8
16
|
*/
|
|
9
17
|
export interface ItemsListItemsRequest {
|
|
10
18
|
/**
|
|
@@ -5,12 +5,13 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|