webflow-api 3.3.0-beta → 3.3.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/BaseClient.d.ts +1 -1
- package/Client.d.ts +1 -7
- package/Client.js +31 -41
- package/LICENSE +18 -18
- package/README.md +55 -28
- package/api/resources/assets/client/Client.d.ts +4 -4
- package/api/resources/assets/client/Client.js +7 -8
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/api/resources/collections/client/Client.d.ts +2 -2
- package/api/resources/collections/client/Client.js +3 -6
- package/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
- package/api/resources/collections/resources/fields/client/Client.js +4 -6
- package/api/resources/collections/resources/items/client/Client.d.ts +6 -6
- package/api/resources/collections/resources/items/client/Client.js +24 -12
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
- package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/index.d.ts +1 -1
- package/api/resources/collections/resources/items/types/index.js +1 -1
- package/api/resources/components/client/Client.d.ts +8 -8
- package/api/resources/components/client/Client.js +10 -12
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/api/resources/ecommerce/client/Client.d.ts +2 -2
- package/api/resources/ecommerce/client/Client.js +2 -6
- package/api/resources/forms/client/Client.d.ts +6 -6
- package/api/resources/forms/client/Client.js +7 -10
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/index.d.ts +0 -6
- package/api/resources/index.js +1 -7
- package/api/resources/inventory/client/Client.d.ts +2 -2
- package/api/resources/inventory/client/Client.js +3 -6
- package/api/resources/orders/client/Client.d.ts +4 -4
- package/api/resources/orders/client/Client.js +8 -8
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/api/resources/pages/client/Client.d.ts +6 -6
- package/api/resources/pages/client/Client.js +8 -10
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/pages/resources/scripts/client/Client.js +3 -6
- package/api/resources/products/client/Client.d.ts +4 -4
- package/api/resources/products/client/Client.js +8 -8
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/api/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/scripts/client/Client.js +4 -6
- package/api/resources/sites/client/Client.d.ts +2 -2
- package/api/resources/sites/client/Client.js +5 -6
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
- package/api/resources/sites/resources/comments/client/Client.js +14 -12
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
- package/api/resources/sites/resources/forms/client/Client.js +7 -10
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/plans/client/Client.js +2 -6
- package/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/redirects/client/Client.js +6 -8
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +5 -8
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
- package/api/resources/token/client/Client.d.ts +2 -2
- package/api/resources/token/client/Client.js +2 -6
- package/api/resources/webhooks/client/Client.d.ts +2 -2
- package/api/resources/webhooks/client/Client.js +3 -6
- package/api/resources/workspaces/client/Client.d.ts +1 -1
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/api/types/AssetVariant.d.ts +6 -6
- package/api/types/ComponentDom.d.ts +1 -1
- package/api/types/ForbiddenErrorBody.d.ts +1 -1
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/SettingChange.d.ts +7 -0
- package/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/api/types/TriggerType.d.ts +0 -3
- package/api/types/TriggerType.js +0 -3
- package/api/types/WorkspaceAuditLogItem.d.ts +4 -1
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/api/types/index.d.ts +3 -13
- package/api/types/index.js +3 -13
- package/dist/BaseClient.d.ts +1 -1
- package/dist/Client.d.ts +1 -7
- package/dist/Client.js +31 -41
- package/dist/api/resources/assets/client/Client.d.ts +4 -4
- package/dist/api/resources/assets/client/Client.js +7 -8
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/dist/api/resources/collections/client/Client.d.ts +2 -2
- package/dist/api/resources/collections/client/Client.js +3 -6
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
- package/dist/api/resources/collections/resources/fields/client/Client.js +4 -6
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +6 -6
- package/dist/api/resources/collections/resources/items/client/Client.js +24 -12
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
- package/{api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/index.js +1 -1
- package/dist/api/resources/components/client/Client.d.ts +8 -8
- package/dist/api/resources/components/client/Client.js +10 -12
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/dist/api/resources/ecommerce/client/Client.d.ts +2 -2
- package/dist/api/resources/ecommerce/client/Client.js +2 -6
- package/dist/api/resources/forms/client/Client.d.ts +6 -6
- package/dist/api/resources/forms/client/Client.js +7 -10
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/index.d.ts +0 -6
- package/dist/api/resources/index.js +1 -7
- package/dist/api/resources/inventory/client/Client.d.ts +2 -2
- package/dist/api/resources/inventory/client/Client.js +3 -6
- package/dist/api/resources/orders/client/Client.d.ts +4 -4
- package/dist/api/resources/orders/client/Client.js +8 -8
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/Client.d.ts +6 -6
- package/dist/api/resources/pages/client/Client.js +8 -10
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -6
- package/dist/api/resources/products/client/Client.d.ts +4 -4
- package/dist/api/resources/products/client/Client.js +8 -8
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.js +4 -6
- package/dist/api/resources/sites/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.js +5 -6
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
- package/dist/api/resources/sites/resources/comments/client/Client.js +14 -12
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
- package/dist/api/resources/sites/resources/forms/client/Client.js +7 -10
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/plans/client/Client.js +2 -6
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -8
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +5 -8
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
- package/dist/api/resources/token/client/Client.d.ts +2 -2
- package/dist/api/resources/token/client/Client.js +2 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +2 -2
- package/dist/api/resources/webhooks/client/Client.js +3 -6
- package/dist/api/resources/workspaces/client/Client.d.ts +1 -1
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/dist/api/types/AssetVariant.d.ts +6 -6
- package/dist/api/types/ComponentDom.d.ts +1 -1
- package/dist/api/types/ForbiddenErrorBody.d.ts +1 -1
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/SettingChange.d.ts +7 -0
- package/dist/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/dist/api/types/TriggerType.d.ts +0 -3
- package/dist/api/types/TriggerType.js +0 -3
- package/dist/api/types/WorkspaceAuditLogItem.d.ts +4 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/dist/api/types/index.d.ts +3 -13
- package/dist/api/types/index.js +3 -13
- 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/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/types/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -5
- package/dist/serialization/resources/index.js +1 -6
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/dist/serialization/types/AssetVariant.d.ts +6 -6
- package/dist/serialization/types/AssetVariant.js +6 -6
- package/dist/serialization/types/ForbiddenErrorBody.d.ts +2 -2
- package/dist/serialization/types/ForbiddenErrorBody.js +2 -2
- package/dist/serialization/types/SettingChange.d.ts +13 -0
- package/dist/serialization/types/{AccessGroup.js → SettingChange.js} +7 -7
- package/dist/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/dist/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +0 -3
- package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
- package/dist/serialization/types/WorkspaceAuditLogItem.js +2 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/dist/serialization/types/{UserStatus.js → WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
- package/dist/serialization/types/index.d.ts +3 -13
- package/dist/serialization/types/index.js +3 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/dist/wrapper/FormsClient.js +5 -5
- package/dist/wrapper/ItemsClient.js +20 -20
- package/dist/wrapper/PagesClient.js +5 -5
- package/dist/wrapper/WebflowClient.js +1 -1
- package/jest.config.mjs +1 -1
- package/package.json +2 -1
- package/reference.md +68 -544
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
- package/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
- package/serialization/resources/collections/resources/items/types/index.js +1 -1
- package/serialization/resources/index.d.ts +0 -5
- package/serialization/resources/index.js +1 -6
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/serialization/types/AssetVariant.d.ts +6 -6
- package/serialization/types/AssetVariant.js +6 -6
- package/serialization/types/ForbiddenErrorBody.d.ts +2 -2
- package/serialization/types/ForbiddenErrorBody.js +2 -2
- package/serialization/types/SettingChange.d.ts +13 -0
- package/{dist/serialization/types/AccessGroupList.js → serialization/types/SettingChange.js} +7 -8
- package/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +0 -3
- package/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
- package/serialization/types/WorkspaceAuditLogItem.js +2 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/{dist/serialization/types/UserLimitReached.js → serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
- package/serialization/types/index.d.ts +3 -13
- package/serialization/types/index.js +3 -13
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/wrapper/FormsClient.js +5 -5
- package/wrapper/ItemsClient.js +20 -20
- package/wrapper/PagesClient.js +5 -5
- package/wrapper/WebflowClient.js +1 -1
- package/.mock/definition/__package__.yml +0 -4471
- package/.mock/definition/accessGroups.yml +0 -87
- package/.mock/definition/api.yml +0 -18
- package/.mock/definition/assets.yml +0 -487
- package/.mock/definition/collections/fields.yml +0 -212
- package/.mock/definition/collections/items.yml +0 -2145
- package/.mock/definition/collections.yml +0 -350
- package/.mock/definition/comments.yml +0 -41
- package/.mock/definition/components.yml +0 -548
- package/.mock/definition/ecommerce.yml +0 -45
- package/.mock/definition/forms.yml +0 -399
- package/.mock/definition/inventory.yml +0 -152
- package/.mock/definition/items.yml +0 -112
- package/.mock/definition/orders.yml +0 -1971
- package/.mock/definition/pages/scripts.yml +0 -155
- package/.mock/definition/pages.yml +0 -611
- package/.mock/definition/products.yml +0 -642
- package/.mock/definition/scripts.yml +0 -236
- package/.mock/definition/sites/activityLogs.yml +0 -77
- package/.mock/definition/sites/comments.yml +0 -352
- package/.mock/definition/sites/forms.yml +0 -316
- package/.mock/definition/sites/plans.yml +0 -48
- package/.mock/definition/sites/redirects.yml +0 -221
- package/.mock/definition/sites/robotsTxt.yml +0 -229
- package/.mock/definition/sites/scripts.yml +0 -243
- package/.mock/definition/sites/wellKnown.yml +0 -130
- package/.mock/definition/sites.yml +0 -558
- package/.mock/definition/token.yml +0 -75
- package/.mock/definition/users.yml +0 -594
- package/.mock/definition/webhooks.yml +0 -188
- package/.mock/definition/workspaces/auditLogs.yml +0 -125
- package/.mock/fern.config.json +0 -4
- package/api/resources/accessGroups/client/Client.d.ts +0 -39
- package/api/resources/accessGroups/client/Client.js +0 -197
- package/api/resources/accessGroups/client/index.d.ts +0 -1
- package/api/resources/accessGroups/client/index.js +0 -17
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
- package/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/api/resources/accessGroups/client/requests/index.js +0 -2
- package/api/resources/accessGroups/index.d.ts +0 -2
- package/api/resources/accessGroups/index.js +0 -18
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
- package/api/resources/accessGroups/types/index.d.ts +0 -1
- package/api/resources/accessGroups/types/index.js +0 -17
- package/api/resources/users/client/Client.d.ts +0 -145
- package/api/resources/users/client/Client.js +0 -670
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/index.js +0 -17
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
- package/api/resources/users/client/requests/index.d.ts +0 -2
- package/api/resources/users/client/requests/index.js +0 -2
- package/api/resources/users/index.d.ts +0 -2
- package/api/resources/users/index.js +0 -18
- package/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
- package/api/resources/users/types/UsersListRequestSort.js +0 -36
- package/api/resources/users/types/index.d.ts +0 -10
- package/api/resources/users/types/index.js +0 -26
- package/api/types/AccessGroup.d.ts +0 -12
- package/api/types/AccessGroup.js +0 -3
- package/api/types/AccessGroupList.d.ts +0 -16
- package/api/types/AccessGroupList.js +0 -3
- package/api/types/ConflictErrorBody.d.ts +0 -2
- package/api/types/ConflictErrorBody.js +0 -3
- package/api/types/DuplicateUserEmail.d.ts +0 -1
- package/api/types/DuplicateUserEmail.js +0 -3
- package/api/types/User.d.ts +0 -22
- package/api/types/User.js +0 -3
- package/api/types/UserAccessGroupsItem.d.ts +0 -14
- package/api/types/UserAccessGroupsItem.js +0 -3
- package/api/types/UserAccessGroupsItemType.d.ts +0 -10
- package/api/types/UserAccessGroupsItemType.js +0 -13
- package/api/types/UserData.d.ts +0 -7
- package/api/types/UserData.js +0 -3
- package/api/types/UserDataData.d.ts +0 -12
- package/api/types/UserDataData.js +0 -3
- package/api/types/UserLimitReached.d.ts +0 -1
- package/api/types/UserLimitReached.js +0 -3
- package/api/types/UserList.d.ts +0 -16
- package/api/types/UserList.js +0 -3
- package/api/types/UserStatus.d.ts +0 -7
- package/api/types/UserStatus.js +0 -10
- package/api/types/UsersNotEnabled.d.ts +0 -1
- package/api/types/UsersNotEnabled.js +0 -3
- package/dist/api/resources/accessGroups/client/Client.d.ts +0 -39
- package/dist/api/resources/accessGroups/client/Client.js +0 -197
- package/dist/api/resources/accessGroups/client/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/client/index.js +0 -17
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -3
- package/dist/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/client/requests/index.js +0 -2
- package/dist/api/resources/accessGroups/index.d.ts +0 -2
- package/dist/api/resources/accessGroups/index.js +0 -18
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
- package/dist/api/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/types/index.js +0 -17
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -3
- package/dist/api/resources/users/client/Client.d.ts +0 -145
- package/dist/api/resources/users/client/Client.js +0 -670
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -17
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/dist/api/resources/users/client/requests/UsersInviteRequest.js +0 -3
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
- package/dist/api/resources/users/client/requests/UsersListRequest.js +0 -3
- package/dist/api/resources/users/client/requests/index.d.ts +0 -2
- package/dist/api/resources/users/client/requests/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -2
- package/dist/api/resources/users/index.js +0 -18
- package/dist/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountAddedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
- package/dist/api/resources/users/types/UsersListRequestSort.js +0 -36
- package/dist/api/resources/users/types/index.d.ts +0 -10
- package/dist/api/resources/users/types/index.js +0 -26
- package/dist/api/types/AccessGroup.d.ts +0 -12
- package/dist/api/types/AccessGroup.js +0 -3
- package/dist/api/types/AccessGroupList.d.ts +0 -16
- package/dist/api/types/AccessGroupList.js +0 -3
- package/dist/api/types/ConflictErrorBody.d.ts +0 -2
- package/dist/api/types/ConflictErrorBody.js +0 -3
- package/dist/api/types/DuplicateUserEmail.d.ts +0 -1
- package/dist/api/types/DuplicateUserEmail.js +0 -3
- package/dist/api/types/User.d.ts +0 -22
- package/dist/api/types/User.js +0 -3
- package/dist/api/types/UserAccessGroupsItem.d.ts +0 -14
- package/dist/api/types/UserAccessGroupsItem.js +0 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +0 -10
- package/dist/api/types/UserAccessGroupsItemType.js +0 -13
- package/dist/api/types/UserData.d.ts +0 -7
- package/dist/api/types/UserData.js +0 -3
- package/dist/api/types/UserDataData.d.ts +0 -12
- package/dist/api/types/UserDataData.js +0 -3
- package/dist/api/types/UserLimitReached.d.ts +0 -1
- package/dist/api/types/UserLimitReached.js +0 -3
- package/dist/api/types/UserList.d.ts +0 -16
- package/dist/api/types/UserList.js +0 -3
- package/dist/api/types/UserStatus.d.ts +0 -7
- package/dist/api/types/UserStatus.js +0 -10
- package/dist/api/types/UsersNotEnabled.d.ts +0 -1
- package/dist/api/types/UsersNotEnabled.js +0 -3
- package/dist/serialization/resources/accessGroups/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/index.js +0 -17
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
- package/dist/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/types/index.js +0 -17
- package/dist/serialization/resources/users/client/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/index.js +0 -17
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/index.d.ts +0 -2
- package/dist/serialization/resources/users/index.js +0 -18
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
- package/dist/serialization/resources/users/types/UsersListRequestSort.js +0 -50
- package/dist/serialization/resources/users/types/index.d.ts +0 -10
- package/dist/serialization/resources/users/types/index.js +0 -26
- package/dist/serialization/types/AccessGroup.d.ts +0 -13
- package/dist/serialization/types/AccessGroupList.d.ts +0 -14
- package/dist/serialization/types/ConflictErrorBody.d.ts +0 -9
- package/dist/serialization/types/ConflictErrorBody.js +0 -41
- package/dist/serialization/types/DuplicateUserEmail.d.ts +0 -7
- package/dist/serialization/types/DuplicateUserEmail.js +0 -39
- package/dist/serialization/types/User.d.ts +0 -20
- package/dist/serialization/types/User.js +0 -52
- package/dist/serialization/types/UserAccessGroupsItem.d.ts +0 -11
- package/dist/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
- package/dist/serialization/types/UserAccessGroupsItemType.js +0 -39
- package/dist/serialization/types/UserData.d.ts +0 -10
- package/dist/serialization/types/UserData.js +0 -42
- package/dist/serialization/types/UserDataData.d.ts +0 -13
- package/dist/serialization/types/UserDataData.js +0 -45
- package/dist/serialization/types/UserLimitReached.d.ts +0 -7
- package/dist/serialization/types/UserList.d.ts +0 -14
- package/dist/serialization/types/UserList.js +0 -46
- package/dist/serialization/types/UserStatus.d.ts +0 -7
- package/dist/serialization/types/UsersNotEnabled.d.ts +0 -7
- package/dist/serialization/types/UsersNotEnabled.js +0 -39
- package/serialization/resources/accessGroups/index.d.ts +0 -1
- package/serialization/resources/accessGroups/index.js +0 -17
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
- package/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/serialization/resources/accessGroups/types/index.js +0 -17
- package/serialization/resources/users/client/index.d.ts +0 -1
- package/serialization/resources/users/client/index.js +0 -17
- package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
- package/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +0 -5
- package/serialization/resources/users/index.d.ts +0 -2
- package/serialization/resources/users/index.js +0 -18
- package/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
- package/serialization/resources/users/types/UsersListRequestSort.js +0 -50
- package/serialization/resources/users/types/index.d.ts +0 -10
- package/serialization/resources/users/types/index.js +0 -26
- package/serialization/types/AccessGroup.d.ts +0 -13
- package/serialization/types/AccessGroup.js +0 -45
- package/serialization/types/AccessGroupList.d.ts +0 -14
- package/serialization/types/AccessGroupList.js +0 -46
- package/serialization/types/ConflictErrorBody.d.ts +0 -9
- package/serialization/types/ConflictErrorBody.js +0 -41
- package/serialization/types/DuplicateUserEmail.d.ts +0 -7
- package/serialization/types/DuplicateUserEmail.js +0 -39
- package/serialization/types/User.d.ts +0 -20
- package/serialization/types/User.js +0 -52
- package/serialization/types/UserAccessGroupsItem.d.ts +0 -11
- package/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
- package/serialization/types/UserAccessGroupsItemType.js +0 -39
- package/serialization/types/UserData.d.ts +0 -10
- package/serialization/types/UserData.js +0 -42
- package/serialization/types/UserDataData.d.ts +0 -13
- package/serialization/types/UserDataData.js +0 -45
- package/serialization/types/UserLimitReached.d.ts +0 -7
- package/serialization/types/UserLimitReached.js +0 -39
- package/serialization/types/UserList.d.ts +0 -14
- package/serialization/types/UserList.js +0 -46
- package/serialization/types/UserStatus.d.ts +0 -7
- package/serialization/types/UserStatus.js +0 -39
- package/serialization/types/UsersNotEnabled.d.ts +0 -7
- package/serialization/types/UsersNotEnabled.js +0 -39
- /package/api/resources/{accessGroups/client/requests/AccessGroupsListRequest.js → collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
- /package/api/{resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → types/SettingChange.js} +0 -0
- /package/api/{resources/users/client/requests/UsersInviteRequest.js → types/SettingChangeAuditLogItem.js} +0 -0
- /package/{api/resources/users/client/requests/UsersListRequest.js → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
- /package/{api/resources/users/types/UserAccountAddedPayload.js → dist/api/types/SettingChange.js} +0 -0
- /package/{api/resources/users/types/UserAccountAddedPayloadPayload.js → dist/api/types/SettingChangeAuditLogItem.js} +0 -0
|
@@ -1,548 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
list:
|
|
8
|
-
path: /sites/{site_id}/components
|
|
9
|
-
method: GET
|
|
10
|
-
auth:
|
|
11
|
-
- OAuth2:
|
|
12
|
-
- components:read
|
|
13
|
-
docs: |
|
|
14
|
-
List of all components for a site.
|
|
15
|
-
|
|
16
|
-
Required scope | `components:read`
|
|
17
|
-
source:
|
|
18
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
19
|
-
path-parameters:
|
|
20
|
-
site_id:
|
|
21
|
-
type: string
|
|
22
|
-
docs: Unique identifier for a Site
|
|
23
|
-
display-name: List Components
|
|
24
|
-
request:
|
|
25
|
-
name: ComponentsListRequest
|
|
26
|
-
query-parameters:
|
|
27
|
-
branchId:
|
|
28
|
-
type: optional<string>
|
|
29
|
-
docs: Scope the operation to work on a specific branch.
|
|
30
|
-
limit:
|
|
31
|
-
type: optional<double>
|
|
32
|
-
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
33
|
-
offset:
|
|
34
|
-
type: optional<double>
|
|
35
|
-
docs: >-
|
|
36
|
-
Offset used for pagination if the results have more than limit
|
|
37
|
-
records
|
|
38
|
-
response:
|
|
39
|
-
docs: Request was successful
|
|
40
|
-
type: root.ComponentList
|
|
41
|
-
status-code: 200
|
|
42
|
-
errors:
|
|
43
|
-
- root.BadRequestError
|
|
44
|
-
- root.UnauthorizedError
|
|
45
|
-
- root.NotFoundError
|
|
46
|
-
- root.TooManyRequestsError
|
|
47
|
-
- root.InternalServerError
|
|
48
|
-
examples:
|
|
49
|
-
- path-parameters:
|
|
50
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
51
|
-
query-parameters:
|
|
52
|
-
branchId: 68026fa68ef6dc744c75b833
|
|
53
|
-
limit: 1.1
|
|
54
|
-
offset: 1.1
|
|
55
|
-
response:
|
|
56
|
-
body:
|
|
57
|
-
components:
|
|
58
|
-
- id: 6596da6045e56dee495bcbba
|
|
59
|
-
name: Primary Button
|
|
60
|
-
group: Buttons
|
|
61
|
-
description: A default button component that can be used across the site
|
|
62
|
-
readonly: true
|
|
63
|
-
- id: 658205daa3e8206a523b5ad4
|
|
64
|
-
name: Secondary Button
|
|
65
|
-
group: Buttons
|
|
66
|
-
description: >-
|
|
67
|
-
A secondary button component that can be used across the
|
|
68
|
-
site
|
|
69
|
-
readonly: true
|
|
70
|
-
- id: 6258612d1ee792848f805dcf
|
|
71
|
-
name: Card
|
|
72
|
-
group: Buttons
|
|
73
|
-
description: A button component that can be used across the site
|
|
74
|
-
readonly: true
|
|
75
|
-
- id: 68a2b1d1ee792848f805dcf
|
|
76
|
-
name: Nav
|
|
77
|
-
group: Buttons
|
|
78
|
-
description: A button component that can be used across the site
|
|
79
|
-
readonly: true
|
|
80
|
-
pagination:
|
|
81
|
-
limit: 20
|
|
82
|
-
offset: 0
|
|
83
|
-
total: 4
|
|
84
|
-
get-content:
|
|
85
|
-
path: /sites/{site_id}/components/{component_id}/dom
|
|
86
|
-
method: GET
|
|
87
|
-
auth:
|
|
88
|
-
- OAuth2:
|
|
89
|
-
- components:read
|
|
90
|
-
docs: >
|
|
91
|
-
Get static content from a component definition. This includes text
|
|
92
|
-
nodes, image nodes, select nodes, text input nodes, submit button nodes,
|
|
93
|
-
and nested component instances.
|
|
94
|
-
|
|
95
|
-
To retrieve dynamic content set by component properties, use the [get
|
|
96
|
-
component
|
|
97
|
-
properties](/data/reference/pages-and-components/components/get-properties)
|
|
98
|
-
endpoint.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
<Note>If you do not provide a Locale ID in your request, the response
|
|
102
|
-
will return any content that can be localized from the Primary
|
|
103
|
-
locale.</Note>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Required scope | `components:read`
|
|
107
|
-
source:
|
|
108
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
109
|
-
path-parameters:
|
|
110
|
-
site_id:
|
|
111
|
-
type: string
|
|
112
|
-
docs: Unique identifier for a Site
|
|
113
|
-
component_id:
|
|
114
|
-
type: string
|
|
115
|
-
docs: Unique identifier for a Component
|
|
116
|
-
display-name: Get Component Content
|
|
117
|
-
request:
|
|
118
|
-
name: ComponentsGetContentRequest
|
|
119
|
-
query-parameters:
|
|
120
|
-
localeId:
|
|
121
|
-
type: optional<string>
|
|
122
|
-
docs: >
|
|
123
|
-
Unique identifier for a specific Locale.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
[Lear more about
|
|
127
|
-
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
128
|
-
branchId:
|
|
129
|
-
type: optional<string>
|
|
130
|
-
docs: Scope the operation to work on a specific branch.
|
|
131
|
-
limit:
|
|
132
|
-
type: optional<double>
|
|
133
|
-
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
134
|
-
offset:
|
|
135
|
-
type: optional<double>
|
|
136
|
-
docs: >-
|
|
137
|
-
Offset used for pagination if the results have more than limit
|
|
138
|
-
records
|
|
139
|
-
response:
|
|
140
|
-
docs: Request was successful
|
|
141
|
-
type: root.ComponentDom
|
|
142
|
-
status-code: 200
|
|
143
|
-
errors:
|
|
144
|
-
- root.BadRequestError
|
|
145
|
-
- root.UnauthorizedError
|
|
146
|
-
- root.NotFoundError
|
|
147
|
-
- root.TooManyRequestsError
|
|
148
|
-
- root.InternalServerError
|
|
149
|
-
examples:
|
|
150
|
-
- path-parameters:
|
|
151
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
152
|
-
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
153
|
-
query-parameters:
|
|
154
|
-
localeId: 65427cf400e02b306eaa04a0
|
|
155
|
-
branchId: 68026fa68ef6dc744c75b833
|
|
156
|
-
limit: 1.1
|
|
157
|
-
offset: 1.1
|
|
158
|
-
response:
|
|
159
|
-
body:
|
|
160
|
-
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
161
|
-
nodes:
|
|
162
|
-
- id: id
|
|
163
|
-
text: {}
|
|
164
|
-
attributes:
|
|
165
|
-
key: value
|
|
166
|
-
type: text
|
|
167
|
-
- id: id
|
|
168
|
-
text: {}
|
|
169
|
-
attributes:
|
|
170
|
-
key: value
|
|
171
|
-
type: text
|
|
172
|
-
- id: id
|
|
173
|
-
image: {}
|
|
174
|
-
attributes:
|
|
175
|
-
key: value
|
|
176
|
-
type: image
|
|
177
|
-
- id: id
|
|
178
|
-
placeholder: placeholder
|
|
179
|
-
attributes:
|
|
180
|
-
key: value
|
|
181
|
-
type: text-input
|
|
182
|
-
- id: id
|
|
183
|
-
choices:
|
|
184
|
-
- value: value
|
|
185
|
-
text: text
|
|
186
|
-
attributes:
|
|
187
|
-
key: value
|
|
188
|
-
type: select
|
|
189
|
-
- id: id
|
|
190
|
-
value: value
|
|
191
|
-
waitingText: waitingText
|
|
192
|
-
attributes:
|
|
193
|
-
key: value
|
|
194
|
-
type: submit-button
|
|
195
|
-
- id: id
|
|
196
|
-
componentId: componentId
|
|
197
|
-
propertyOverrides:
|
|
198
|
-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
199
|
-
type: component-instance
|
|
200
|
-
pagination:
|
|
201
|
-
limit: 7
|
|
202
|
-
offset: 0
|
|
203
|
-
total: 7
|
|
204
|
-
update-content:
|
|
205
|
-
path: /sites/{site_id}/components/{component_id}/dom
|
|
206
|
-
method: POST
|
|
207
|
-
auth:
|
|
208
|
-
- OAuth2:
|
|
209
|
-
- components:write
|
|
210
|
-
docs: >
|
|
211
|
-
This endpoint updates content within a component defintion for
|
|
212
|
-
**secondary locales**. It supports updating up to 1000 nodes in a single
|
|
213
|
-
request.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
Before making updates:
|
|
217
|
-
|
|
218
|
-
1. Use the [get component
|
|
219
|
-
content](/data/reference/pages-and-components/components/get-content)
|
|
220
|
-
endpoint to identify available content nodes and their types.
|
|
221
|
-
|
|
222
|
-
2. If your component definition has a component instance nested within
|
|
223
|
-
it, retrieve the nested component instance's properties that you'll
|
|
224
|
-
override using the [get component
|
|
225
|
-
properties](/data/reference/pages-and-components/components/get-properties)
|
|
226
|
-
endpoint.
|
|
227
|
-
|
|
228
|
-
3. DOM elements may include a `data-w-id` attribute. This attribute is
|
|
229
|
-
used by Webflow to maintain custom attributes and links across locales.
|
|
230
|
-
Always include the original `data-w-id` value in your update requests to
|
|
231
|
-
ensure consistent behavior across all locales.
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<Note>
|
|
235
|
-
This endpoint is specifically for localizing component definitions. Ensure that the specified `localeId` is a valid **secondary locale** for the site otherwise the request will fail.
|
|
236
|
-
</Note>
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Required scope | `components:write`
|
|
240
|
-
source:
|
|
241
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
242
|
-
path-parameters:
|
|
243
|
-
site_id:
|
|
244
|
-
type: string
|
|
245
|
-
docs: Unique identifier for a Site
|
|
246
|
-
component_id:
|
|
247
|
-
type: string
|
|
248
|
-
docs: Unique identifier for a Component
|
|
249
|
-
display-name: Update Component Content
|
|
250
|
-
request:
|
|
251
|
-
name: ComponentDomWrite
|
|
252
|
-
query-parameters:
|
|
253
|
-
localeId:
|
|
254
|
-
type: optional<string>
|
|
255
|
-
docs: >
|
|
256
|
-
Unique identifier for a specific Locale.
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
[Lear more about
|
|
260
|
-
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
261
|
-
branchId:
|
|
262
|
-
type: optional<string>
|
|
263
|
-
docs: Scope the operation to work on a specific branch.
|
|
264
|
-
body:
|
|
265
|
-
properties:
|
|
266
|
-
nodes:
|
|
267
|
-
docs: >-
|
|
268
|
-
List of DOM Nodes with the new content that will be updated in
|
|
269
|
-
each node.
|
|
270
|
-
type: list<ComponentDomWriteNodesItem>
|
|
271
|
-
content-type: application/json
|
|
272
|
-
response:
|
|
273
|
-
docs: Request was successful
|
|
274
|
-
type: ComponentsUpdateContentResponse
|
|
275
|
-
status-code: 200
|
|
276
|
-
errors:
|
|
277
|
-
- root.BadRequestError
|
|
278
|
-
- root.UnauthorizedError
|
|
279
|
-
- root.ForbiddenError
|
|
280
|
-
- root.NotFoundError
|
|
281
|
-
- root.TooManyRequestsError
|
|
282
|
-
- root.InternalServerError
|
|
283
|
-
examples:
|
|
284
|
-
- path-parameters:
|
|
285
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
286
|
-
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
287
|
-
query-parameters:
|
|
288
|
-
localeId: 65427cf400e02b306eaa04a0
|
|
289
|
-
branchId: 68026fa68ef6dc744c75b833
|
|
290
|
-
request:
|
|
291
|
-
nodes:
|
|
292
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
293
|
-
text: <h1>The Hitchhiker's Guide to the Galaxy</h1>
|
|
294
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
295
|
-
text: >-
|
|
296
|
-
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
297
|
-
is.</p></div>
|
|
298
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad635
|
|
299
|
-
choices:
|
|
300
|
-
- value: choice-1
|
|
301
|
-
text: First choice
|
|
302
|
-
- value: choice-2
|
|
303
|
-
text: Second choice
|
|
304
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad642
|
|
305
|
-
placeholder: Enter something here...
|
|
306
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad671
|
|
307
|
-
value: Submit
|
|
308
|
-
waitingText: Submitting...
|
|
309
|
-
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
310
|
-
propertyOverrides:
|
|
311
|
-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
312
|
-
text: <div><h1>Time is an <em>illusion</em></h1></div>
|
|
313
|
-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f1
|
|
314
|
-
text: Life, the Universe and Everything
|
|
315
|
-
response:
|
|
316
|
-
body:
|
|
317
|
-
errors:
|
|
318
|
-
- errors
|
|
319
|
-
get-properties:
|
|
320
|
-
path: /sites/{site_id}/components/{component_id}/properties
|
|
321
|
-
method: GET
|
|
322
|
-
auth:
|
|
323
|
-
- OAuth2:
|
|
324
|
-
- components:read
|
|
325
|
-
docs: >
|
|
326
|
-
Get the default property values of a component definition.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
<Note>If you do not include a `localeId` in your request, the response
|
|
330
|
-
will return any properties that can be localized from the Primary
|
|
331
|
-
locale.</Note>
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
Required scope | `components:read`
|
|
335
|
-
source:
|
|
336
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
337
|
-
path-parameters:
|
|
338
|
-
site_id:
|
|
339
|
-
type: string
|
|
340
|
-
docs: Unique identifier for a Site
|
|
341
|
-
component_id:
|
|
342
|
-
type: string
|
|
343
|
-
docs: Unique identifier for a Component
|
|
344
|
-
display-name: Get Component Properties
|
|
345
|
-
request:
|
|
346
|
-
name: ComponentsGetPropertiesRequest
|
|
347
|
-
query-parameters:
|
|
348
|
-
localeId:
|
|
349
|
-
type: optional<string>
|
|
350
|
-
docs: >
|
|
351
|
-
Unique identifier for a specific Locale.
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
[Lear more about
|
|
355
|
-
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
356
|
-
branchId:
|
|
357
|
-
type: optional<string>
|
|
358
|
-
docs: Scope the operation to work on a specific branch.
|
|
359
|
-
limit:
|
|
360
|
-
type: optional<double>
|
|
361
|
-
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
362
|
-
offset:
|
|
363
|
-
type: optional<double>
|
|
364
|
-
docs: >-
|
|
365
|
-
Offset used for pagination if the results have more than limit
|
|
366
|
-
records
|
|
367
|
-
response:
|
|
368
|
-
docs: Request was successful
|
|
369
|
-
type: root.ComponentProperties
|
|
370
|
-
status-code: 200
|
|
371
|
-
errors:
|
|
372
|
-
- root.BadRequestError
|
|
373
|
-
- root.UnauthorizedError
|
|
374
|
-
- root.NotFoundError
|
|
375
|
-
- root.TooManyRequestsError
|
|
376
|
-
- root.InternalServerError
|
|
377
|
-
examples:
|
|
378
|
-
- path-parameters:
|
|
379
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
380
|
-
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
381
|
-
query-parameters:
|
|
382
|
-
localeId: 65427cf400e02b306eaa04a0
|
|
383
|
-
branchId: 68026fa68ef6dc744c75b833
|
|
384
|
-
limit: 1.1
|
|
385
|
-
offset: 1.1
|
|
386
|
-
response:
|
|
387
|
-
body:
|
|
388
|
-
componentId: 658205daa3e8206a523b5ad4
|
|
389
|
-
properties:
|
|
390
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
391
|
-
type: Plain Text
|
|
392
|
-
label: Title
|
|
393
|
-
text:
|
|
394
|
-
text: The Hitchhiker's Guide to the Galaxy
|
|
395
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
396
|
-
type: Rich Text
|
|
397
|
-
label: Content
|
|
398
|
-
text:
|
|
399
|
-
html: >-
|
|
400
|
-
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
401
|
-
is.</p></div>
|
|
402
|
-
pagination:
|
|
403
|
-
limit: 2
|
|
404
|
-
offset: 0
|
|
405
|
-
total: 2
|
|
406
|
-
update-properties:
|
|
407
|
-
path: /sites/{site_id}/components/{component_id}/properties
|
|
408
|
-
method: POST
|
|
409
|
-
auth:
|
|
410
|
-
- OAuth2:
|
|
411
|
-
- components:write
|
|
412
|
-
docs: >
|
|
413
|
-
Update the default property values of a component definition in a
|
|
414
|
-
specificed locale.
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
Before making updates:
|
|
418
|
-
|
|
419
|
-
1. Use the [get component
|
|
420
|
-
properties](/data/reference/pages-and-components/components/get-properties)
|
|
421
|
-
endpoint to identify properties that can be updated in a secondary
|
|
422
|
-
locale.
|
|
423
|
-
|
|
424
|
-
2. Rich Text properties may include a `data-w-id` attribute. This
|
|
425
|
-
attribute is used by Webflow to maintain links across locales. Always
|
|
426
|
-
include the original `data-w-id` value in your update requests to ensure
|
|
427
|
-
consistent behavior across all locales.
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
<Note>The request requires a secondary locale ID. If a `localeId` is
|
|
431
|
-
missing, the request will not be processed and will result in an
|
|
432
|
-
error.</Note>
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
Required scope | `components:write`
|
|
436
|
-
source:
|
|
437
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
438
|
-
path-parameters:
|
|
439
|
-
site_id:
|
|
440
|
-
type: string
|
|
441
|
-
docs: Unique identifier for a Site
|
|
442
|
-
component_id:
|
|
443
|
-
type: string
|
|
444
|
-
docs: Unique identifier for a Component
|
|
445
|
-
display-name: Update Component Properties
|
|
446
|
-
request:
|
|
447
|
-
name: ComponentPropertiesWrite
|
|
448
|
-
query-parameters:
|
|
449
|
-
localeId:
|
|
450
|
-
type: optional<string>
|
|
451
|
-
docs: >
|
|
452
|
-
Unique identifier for a specific Locale.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
[Lear more about
|
|
456
|
-
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
457
|
-
branchId:
|
|
458
|
-
type: optional<string>
|
|
459
|
-
docs: Scope the operation to work on a specific branch.
|
|
460
|
-
body:
|
|
461
|
-
properties:
|
|
462
|
-
properties:
|
|
463
|
-
docs: >-
|
|
464
|
-
A list of component properties to update within the specified
|
|
465
|
-
secondary locale.
|
|
466
|
-
type: list<ComponentPropertiesWritePropertiesItem>
|
|
467
|
-
content-type: application/json
|
|
468
|
-
response:
|
|
469
|
-
docs: Request was successful
|
|
470
|
-
type: ComponentsUpdatePropertiesResponse
|
|
471
|
-
status-code: 200
|
|
472
|
-
errors:
|
|
473
|
-
- root.BadRequestError
|
|
474
|
-
- root.UnauthorizedError
|
|
475
|
-
- root.NotFoundError
|
|
476
|
-
- root.TooManyRequestsError
|
|
477
|
-
- root.InternalServerError
|
|
478
|
-
examples:
|
|
479
|
-
- path-parameters:
|
|
480
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
481
|
-
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
482
|
-
query-parameters:
|
|
483
|
-
localeId: 65427cf400e02b306eaa04a0
|
|
484
|
-
branchId: 68026fa68ef6dc744c75b833
|
|
485
|
-
request:
|
|
486
|
-
properties:
|
|
487
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
488
|
-
text: The Hitchhiker’s Guide to the Galaxy
|
|
489
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
490
|
-
text: >-
|
|
491
|
-
<div><h3>Dont Panic!</h3><p>Always know where your towel
|
|
492
|
-
is.</p></div>
|
|
493
|
-
response:
|
|
494
|
-
body:
|
|
495
|
-
errors:
|
|
496
|
-
- errors
|
|
497
|
-
source:
|
|
498
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
499
|
-
types:
|
|
500
|
-
ComponentDomWriteNodesItem:
|
|
501
|
-
discriminated: false
|
|
502
|
-
union:
|
|
503
|
-
- type: root.TextNodeWrite
|
|
504
|
-
- type: root.ComponentInstanceNodePropertyOverridesWrite
|
|
505
|
-
- type: root.Select
|
|
506
|
-
- type: root.TextInputNodeWrite
|
|
507
|
-
- type: root.SubmitButtonNodeWrite
|
|
508
|
-
- type: root.SearchButtonNodeWrite
|
|
509
|
-
source:
|
|
510
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
511
|
-
inline: true
|
|
512
|
-
ComponentsUpdateContentResponse:
|
|
513
|
-
properties:
|
|
514
|
-
errors:
|
|
515
|
-
docs: A list of error messages, if any.
|
|
516
|
-
type: list<string>
|
|
517
|
-
source:
|
|
518
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
519
|
-
ComponentPropertiesWritePropertiesItem:
|
|
520
|
-
properties:
|
|
521
|
-
propertyId:
|
|
522
|
-
type: string
|
|
523
|
-
docs: The ID of the property.
|
|
524
|
-
text:
|
|
525
|
-
type: string
|
|
526
|
-
docs: >
|
|
527
|
-
The new string or HTML value used to update the component property in
|
|
528
|
-
the secondary locale.
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
The provided value must be compatible with the type of the component
|
|
532
|
-
property.
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
For example, attempting to update a single-line plain-text property
|
|
536
|
-
with a multi-line
|
|
537
|
-
|
|
538
|
-
value will result in an error.
|
|
539
|
-
source:
|
|
540
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
541
|
-
inline: true
|
|
542
|
-
ComponentsUpdatePropertiesResponse:
|
|
543
|
-
properties:
|
|
544
|
-
errors:
|
|
545
|
-
docs: A list of error messages, if any.
|
|
546
|
-
type: list<string>
|
|
547
|
-
source:
|
|
548
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
get-settings:
|
|
8
|
-
path: /sites/{site_id}/ecommerce/settings
|
|
9
|
-
method: GET
|
|
10
|
-
auth:
|
|
11
|
-
- OAuth2:
|
|
12
|
-
- ecommerce:read
|
|
13
|
-
docs: |
|
|
14
|
-
Retrieve ecommerce settings for a site.
|
|
15
|
-
|
|
16
|
-
Required scope | `ecommerce:read`
|
|
17
|
-
source:
|
|
18
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
19
|
-
path-parameters:
|
|
20
|
-
site_id:
|
|
21
|
-
type: string
|
|
22
|
-
docs: Unique identifier for a Site
|
|
23
|
-
display-name: Get Ecommerce Settings
|
|
24
|
-
response:
|
|
25
|
-
docs: Request was successful
|
|
26
|
-
type: root.EcommerceSettings
|
|
27
|
-
status-code: 200
|
|
28
|
-
errors:
|
|
29
|
-
- root.BadRequestError
|
|
30
|
-
- root.UnauthorizedError
|
|
31
|
-
- root.ForbiddenError
|
|
32
|
-
- root.NotFoundError
|
|
33
|
-
- root.ConflictError
|
|
34
|
-
- root.TooManyRequestsError
|
|
35
|
-
- root.InternalServerError
|
|
36
|
-
examples:
|
|
37
|
-
- path-parameters:
|
|
38
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
39
|
-
response:
|
|
40
|
-
body:
|
|
41
|
-
siteId: 5eb0b5583bf24e2d3a488969
|
|
42
|
-
createdOn: '2018-10-04T15:21:02Z'
|
|
43
|
-
defaultCurrency: USD
|
|
44
|
-
source:
|
|
45
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|