webflow-api 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +6 -6
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +1 -1
- package/api/resources/assets/client/Client.js +9 -9
- package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +1 -1
- package/api/resources/collections/client/Client.js +5 -5
- package/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +51 -22
- package/api/resources/collections/resources/items/client/Client.js +119 -33
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
- package/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
- package/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/api/resources/collections/resources/items/types/index.js +1 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.js +5 -5
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/inventory/client/Client.js +2 -2
- package/api/resources/orders/client/Client.js +6 -6
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
- package/api/resources/orders/types/index.d.ts +0 -1
- package/api/resources/orders/types/index.js +0 -1
- package/api/resources/pages/client/Client.js +5 -5
- package/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/pages/resources/scripts/client/Client.js +6 -6
- package/api/resources/products/client/Client.d.ts +2 -2
- package/api/resources/products/client/Client.js +8 -8
- package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +2 -2
- package/api/resources/sites/client/Client.js +6 -6
- package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/api/resources/token/client/Client.d.ts +1 -1
- package/api/resources/token/client/Client.js +3 -3
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +7 -7
- package/api/types/Application.d.ts +1 -10
- package/api/types/Authorization.d.ts +1 -1
- package/api/types/CustomCodeBlock.d.ts +1 -1
- package/{dist/api/types/Assets.d.ts → api/types/Domains.d.ts} +2 -2
- package/api/types/DuplicateUserEmail.d.ts +2 -1
- package/{dist/api/types/Sites.d.ts → api/types/Scripts.d.ts} +1 -3
- package/api/types/UserLimitReached.d.ts +2 -1
- package/api/types/UsersNotEnabled.d.ts +2 -1
- package/api/types/index.d.ts +56 -74
- package/api/types/index.js +56 -74
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +1 -1
- package/dist/api/resources/assets/client/Client.js +9 -9
- package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +1 -1
- package/dist/api/resources/collections/client/Client.js +5 -5
- package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +51 -22
- package/dist/api/resources/collections/resources/items/client/Client.js +119 -33
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/items/types/index.js +1 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/inventory/client/Client.js +2 -2
- package/dist/api/resources/orders/client/Client.js +6 -6
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -2
- package/dist/api/resources/orders/types/index.d.ts +0 -1
- package/dist/api/resources/orders/types/index.js +0 -1
- package/dist/api/resources/pages/client/Client.js +5 -5
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/products/client/Client.d.ts +2 -2
- package/dist/api/resources/products/client/Client.js +8 -8
- package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.js +6 -6
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/dist/api/resources/token/client/Client.d.ts +1 -1
- package/dist/api/resources/token/client/Client.js +3 -3
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
- package/dist/api/resources/webhooks/client/Client.js +7 -7
- package/dist/api/types/Application.d.ts +1 -10
- package/dist/api/types/Authorization.d.ts +1 -1
- package/dist/api/types/CustomCodeBlock.d.ts +1 -1
- package/{api/types/Assets.d.ts → dist/api/types/Domains.d.ts} +2 -2
- package/dist/api/types/DuplicateUserEmail.d.ts +2 -1
- package/{api/types/Sites.d.ts → dist/api/types/Scripts.d.ts} +1 -3
- package/dist/api/types/UserLimitReached.d.ts +2 -1
- package/dist/api/types/UsersNotEnabled.d.ts +2 -1
- package/dist/api/types/index.d.ts +56 -74
- package/dist/api/types/index.js +56 -74
- package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
- package/dist/serialization/{types/UserWebhookPayload.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +13 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
- package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
- package/dist/serialization/{types/PublishedSite.js → resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +5 -4
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/serialization/resources/orders/types/index.d.ts +0 -1
- package/dist/serialization/resources/orders/types/index.js +0 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/index.js +0 -14
- package/dist/serialization/types/AccessGroup.d.ts +1 -1
- package/dist/serialization/types/AccessGroup.js +1 -1
- package/dist/serialization/types/Application.d.ts +2 -7
- package/dist/serialization/types/Application.js +1 -6
- package/dist/serialization/types/Authorization.d.ts +1 -1
- package/dist/serialization/types/Authorization.js +1 -1
- package/dist/serialization/types/CustomCodeBlock.d.ts +1 -1
- package/dist/serialization/types/CustomCodeBlock.js +1 -3
- package/dist/serialization/types/{Assets.d.ts → Domains.d.ts} +3 -3
- package/{serialization/types/Assets.js → dist/serialization/types/Domains.js} +4 -4
- package/dist/serialization/types/DuplicateUserEmail.d.ts +1 -1
- package/dist/serialization/types/DuplicateUserEmail.js +1 -1
- package/{serialization/types/Fields.d.ts → dist/serialization/types/Scripts.d.ts} +3 -3
- package/dist/serialization/types/{Fields.js → Scripts.js} +2 -2
- package/dist/serialization/types/UserLimitReached.d.ts +1 -1
- package/dist/serialization/types/UserLimitReached.js +1 -1
- package/dist/serialization/types/UsersNotEnabled.d.ts +1 -1
- package/dist/serialization/types/UsersNotEnabled.js +1 -1
- package/dist/serialization/types/index.d.ts +56 -74
- package/dist/serialization/types/index.js +56 -74
- package/dist/wrapper/WebflowClient.js +2 -2
- package/package.json +1 -1
- package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
- package/serialization/{types/UserWebhookPayload.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +13 -5
- package/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
- package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
- package/{dist/serialization/types/PageSeoGraphDataOpenGraph.js → serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +5 -5
- package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/serialization/resources/collections/resources/items/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/serialization/resources/orders/types/index.d.ts +0 -1
- package/serialization/resources/orders/types/index.js +0 -1
- package/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/serialization/resources/webhooks/client/index.js +0 -14
- package/serialization/types/AccessGroup.d.ts +1 -1
- package/serialization/types/AccessGroup.js +1 -1
- package/serialization/types/Application.d.ts +2 -7
- package/serialization/types/Application.js +1 -6
- package/serialization/types/Authorization.d.ts +1 -1
- package/serialization/types/Authorization.js +1 -1
- package/serialization/types/CustomCodeBlock.d.ts +1 -1
- package/serialization/types/CustomCodeBlock.js +1 -3
- package/serialization/types/{Assets.d.ts → Domains.d.ts} +3 -3
- package/{dist/serialization/types/Assets.js → serialization/types/Domains.js} +4 -4
- package/serialization/types/DuplicateUserEmail.d.ts +1 -1
- package/serialization/types/DuplicateUserEmail.js +1 -1
- package/{dist/serialization/types/Fields.d.ts → serialization/types/Scripts.d.ts} +3 -3
- package/serialization/types/{Fields.js → Scripts.js} +2 -2
- package/serialization/types/UserLimitReached.d.ts +1 -1
- package/serialization/types/UserLimitReached.js +1 -1
- package/serialization/types/UsersNotEnabled.d.ts +1 -1
- package/serialization/types/UsersNotEnabled.js +1 -1
- package/serialization/types/index.d.ts +56 -74
- package/serialization/types/index.js +56 -74
- package/wrapper/WebflowClient.js +2 -2
- package/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
- package/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
- package/api/types/CollectionItemRemoved.d.ts +0 -9
- package/api/types/Fields.d.ts +0 -8
- package/api/types/FormSubmissionTrigger.d.ts +0 -10
- package/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
- package/api/types/InvalidScopes.d.ts +0 -10
- package/api/types/PageCreatedWebhook.d.ts +0 -12
- package/api/types/PageDeletedWebhook.d.ts +0 -12
- package/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
- package/api/types/PageMetadataUpdatedWebhook.js +0 -5
- package/api/types/PageSeoGraphData.d.ts +0 -11
- package/api/types/PageSeoGraphData.js +0 -5
- package/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
- package/api/types/PageSeoGraphDataOpenGraph.js +0 -5
- package/api/types/PageSeoGraphDataSeo.d.ts +0 -7
- package/api/types/PageSeoGraphDataSeo.js +0 -5
- package/api/types/PublishedItems.d.ts +0 -12
- package/api/types/PublishedItems.js +0 -5
- package/api/types/PublishedSite.d.ts +0 -7
- package/api/types/PublishedSite.js +0 -5
- package/api/types/RemovedItems.d.ts +0 -12
- package/api/types/RemovedItems.js +0 -5
- package/api/types/SitePublish.d.ts +0 -8
- package/api/types/SitePublish.js +0 -5
- package/api/types/SitePublishPayload.d.ts +0 -16
- package/api/types/SitePublishPayload.js +0 -5
- package/api/types/Sites.js +0 -5
- package/api/types/UserWebhookPayload.d.ts +0 -9
- package/api/types/UserWebhookPayload.js +0 -5
- package/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
- package/api/types/UserWebhookPayloadTriggerType.js +0 -11
- package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +0 -12
- package/dist/api/resources/orders/types/OrdersListRequestStatus.js +0 -14
- package/dist/api/types/Assets.js +0 -5
- package/dist/api/types/CollectionItemRemoved.d.ts +0 -9
- package/dist/api/types/CollectionItemRemoved.js +0 -5
- package/dist/api/types/Fields.d.ts +0 -8
- package/dist/api/types/Fields.js +0 -5
- package/dist/api/types/FormSubmissionTrigger.d.ts +0 -10
- package/dist/api/types/FormSubmissionTrigger.js +0 -5
- package/dist/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
- package/dist/api/types/FormSubmissionTriggerPayload.js +0 -5
- package/dist/api/types/InvalidScopes.d.ts +0 -10
- package/dist/api/types/InvalidScopes.js +0 -5
- package/dist/api/types/PageCreatedWebhook.d.ts +0 -12
- package/dist/api/types/PageCreatedWebhook.js +0 -5
- package/dist/api/types/PageDeletedWebhook.d.ts +0 -12
- package/dist/api/types/PageDeletedWebhook.js +0 -5
- package/dist/api/types/PageMetadataUpdatedWebhook.d.ts +0 -12
- package/dist/api/types/PageMetadataUpdatedWebhook.js +0 -5
- package/dist/api/types/PageSeoGraphData.d.ts +0 -11
- package/dist/api/types/PageSeoGraphData.js +0 -5
- package/dist/api/types/PageSeoGraphDataOpenGraph.d.ts +0 -7
- package/dist/api/types/PageSeoGraphDataOpenGraph.js +0 -5
- package/dist/api/types/PageSeoGraphDataSeo.d.ts +0 -7
- package/dist/api/types/PageSeoGraphDataSeo.js +0 -5
- package/dist/api/types/PublishedItems.d.ts +0 -12
- package/dist/api/types/PublishedItems.js +0 -5
- package/dist/api/types/PublishedSite.d.ts +0 -7
- package/dist/api/types/PublishedSite.js +0 -5
- package/dist/api/types/RemovedItems.d.ts +0 -12
- package/dist/api/types/RemovedItems.js +0 -5
- package/dist/api/types/SitePublish.d.ts +0 -8
- package/dist/api/types/SitePublish.js +0 -5
- package/dist/api/types/SitePublishPayload.d.ts +0 -16
- package/dist/api/types/SitePublishPayload.js +0 -5
- package/dist/api/types/Sites.js +0 -5
- package/dist/api/types/UserWebhookPayload.d.ts +0 -9
- package/dist/api/types/UserWebhookPayload.js +0 -5
- package/dist/api/types/UserWebhookPayloadTriggerType.d.ts +0 -12
- package/dist/api/types/UserWebhookPayloadTriggerType.js +0 -11
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
- package/dist/serialization/resources/webhooks/client/list.d.ts +0 -10
- package/dist/serialization/resources/webhooks/client/list.js +0 -40
- package/dist/serialization/types/CollectionItemRemoved.d.ts +0 -13
- package/dist/serialization/types/CollectionItemRemoved.js +0 -34
- package/dist/serialization/types/FormSubmissionTrigger.d.ts +0 -13
- package/dist/serialization/types/FormSubmissionTrigger.js +0 -43
- package/dist/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
- package/dist/serialization/types/FormSubmissionTriggerPayload.js +0 -37
- package/dist/serialization/types/InvalidScopes.d.ts +0 -16
- package/dist/serialization/types/InvalidScopes.js +0 -37
- package/dist/serialization/types/PageCreatedWebhook.d.ts +0 -15
- package/dist/serialization/types/PageCreatedWebhook.js +0 -36
- package/dist/serialization/types/PageDeletedWebhook.d.ts +0 -15
- package/dist/serialization/types/PageDeletedWebhook.js +0 -36
- package/dist/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
- package/dist/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
- package/dist/serialization/types/PageSeoGraphData.d.ts +0 -13
- package/dist/serialization/types/PageSeoGraphData.js +0 -43
- package/dist/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
- package/dist/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
- package/dist/serialization/types/PageSeoGraphDataSeo.js +0 -34
- package/dist/serialization/types/PublishedItems.d.ts +0 -13
- package/dist/serialization/types/PublishedItems.js +0 -34
- package/dist/serialization/types/PublishedSite.d.ts +0 -12
- package/dist/serialization/types/RemovedItems.d.ts +0 -13
- package/dist/serialization/types/RemovedItems.js +0 -34
- package/dist/serialization/types/SitePublish.d.ts +0 -12
- package/dist/serialization/types/SitePublish.js +0 -42
- package/dist/serialization/types/SitePublishPayload.d.ts +0 -15
- package/dist/serialization/types/SitePublishPayload.js +0 -36
- package/dist/serialization/types/Sites.d.ts +0 -12
- package/dist/serialization/types/Sites.js +0 -42
- package/dist/serialization/types/UserWebhookPayload.d.ts +0 -13
- package/dist/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
- package/dist/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
- package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +0 -10
- package/serialization/resources/orders/types/OrdersListRequestStatus.js +0 -31
- package/serialization/resources/webhooks/client/list.d.ts +0 -10
- package/serialization/resources/webhooks/client/list.js +0 -40
- package/serialization/types/CollectionItemRemoved.d.ts +0 -13
- package/serialization/types/CollectionItemRemoved.js +0 -34
- package/serialization/types/FormSubmissionTrigger.d.ts +0 -13
- package/serialization/types/FormSubmissionTrigger.js +0 -43
- package/serialization/types/FormSubmissionTriggerPayload.d.ts +0 -16
- package/serialization/types/FormSubmissionTriggerPayload.js +0 -37
- package/serialization/types/InvalidScopes.d.ts +0 -16
- package/serialization/types/InvalidScopes.js +0 -37
- package/serialization/types/PageCreatedWebhook.d.ts +0 -15
- package/serialization/types/PageCreatedWebhook.js +0 -36
- package/serialization/types/PageDeletedWebhook.d.ts +0 -15
- package/serialization/types/PageDeletedWebhook.js +0 -36
- package/serialization/types/PageMetadataUpdatedWebhook.d.ts +0 -15
- package/serialization/types/PageMetadataUpdatedWebhook.js +0 -36
- package/serialization/types/PageSeoGraphData.d.ts +0 -13
- package/serialization/types/PageSeoGraphData.js +0 -43
- package/serialization/types/PageSeoGraphDataOpenGraph.d.ts +0 -13
- package/serialization/types/PageSeoGraphDataOpenGraph.js +0 -34
- package/serialization/types/PageSeoGraphDataSeo.d.ts +0 -13
- package/serialization/types/PageSeoGraphDataSeo.js +0 -34
- package/serialization/types/PublishedItems.d.ts +0 -13
- package/serialization/types/PublishedItems.js +0 -34
- package/serialization/types/PublishedSite.d.ts +0 -12
- package/serialization/types/PublishedSite.js +0 -33
- package/serialization/types/RemovedItems.d.ts +0 -13
- package/serialization/types/RemovedItems.js +0 -34
- package/serialization/types/SitePublish.d.ts +0 -12
- package/serialization/types/SitePublish.js +0 -42
- package/serialization/types/SitePublishPayload.d.ts +0 -15
- package/serialization/types/SitePublishPayload.js +0 -36
- package/serialization/types/Sites.d.ts +0 -12
- package/serialization/types/Sites.js +0 -42
- package/serialization/types/UserWebhookPayload.d.ts +0 -13
- package/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
- package/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
- /package/api/{types/Assets.js → resources/collections/resources/items/client/requests/BulkCollectionItem.js} +0 -0
- /package/api/{types/CollectionItemRemoved.js → resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +0 -0
- /package/api/types/{Fields.js → Domains.js} +0 -0
- /package/api/types/{FormSubmissionTrigger.js → Scripts.js} +0 -0
- /package/{api/types/FormSubmissionTriggerPayload.js → dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js} +0 -0
- /package/{api/types/InvalidScopes.js → dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js} +0 -0
- /package/{api/types/PageCreatedWebhook.js → dist/api/types/Domains.js} +0 -0
- /package/{api/types/PageDeletedWebhook.js → dist/api/types/Scripts.js} +0 -0
|
@@ -72,7 +72,7 @@ class Sites {
|
|
|
72
72
|
Authorization: yield this._getAuthorizationHeader(),
|
|
73
73
|
"X-Fern-Language": "JavaScript",
|
|
74
74
|
"X-Fern-SDK-Name": "webflow-api",
|
|
75
|
-
"X-Fern-SDK-Version": "v2.
|
|
75
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -81,7 +81,7 @@ class Sites {
|
|
|
81
81
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
82
82
|
});
|
|
83
83
|
if (_response.ok) {
|
|
84
|
-
return yield serializers.
|
|
84
|
+
return yield serializers.Site.parseOrThrow(_response.body, {
|
|
85
85
|
unrecognizedObjectKeys: "passthrough",
|
|
86
86
|
allowUnrecognizedUnionMembers: true,
|
|
87
87
|
allowUnrecognizedEnumValues: true,
|
|
@@ -144,7 +144,7 @@ class Sites {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "webflow-api",
|
|
147
|
-
"X-Fern-SDK-Version": "v2.
|
|
147
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
148
148
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
149
149
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
150
150
|
},
|
|
@@ -216,7 +216,7 @@ class Sites {
|
|
|
216
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
217
|
"X-Fern-Language": "JavaScript",
|
|
218
218
|
"X-Fern-SDK-Name": "webflow-api",
|
|
219
|
-
"X-Fern-SDK-Version": "v2.
|
|
219
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
220
220
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
221
221
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
222
222
|
},
|
|
@@ -225,7 +225,7 @@ class Sites {
|
|
|
225
225
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
226
226
|
});
|
|
227
227
|
if (_response.ok) {
|
|
228
|
-
return yield serializers.
|
|
228
|
+
return yield serializers.Domains.parseOrThrow(_response.body, {
|
|
229
229
|
unrecognizedObjectKeys: "passthrough",
|
|
230
230
|
allowUnrecognizedUnionMembers: true,
|
|
231
231
|
allowUnrecognizedEnumValues: true,
|
|
@@ -290,7 +290,7 @@ class Sites {
|
|
|
290
290
|
Authorization: yield this._getAuthorizationHeader(),
|
|
291
291
|
"X-Fern-Language": "JavaScript",
|
|
292
292
|
"X-Fern-SDK-Name": "webflow-api",
|
|
293
|
-
"X-Fern-SDK-Version": "v2.
|
|
293
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
294
294
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
295
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
296
|
},
|
|
@@ -77,7 +77,7 @@ class ActivityLogs {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "webflow-api",
|
|
80
|
-
"X-Fern-SDK-Version": "v2.
|
|
80
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -18,7 +18,7 @@ export declare class Scripts {
|
|
|
18
18
|
protected readonly _options: Scripts.Options;
|
|
19
19
|
constructor(_options: Scripts.Options);
|
|
20
20
|
/**
|
|
21
|
-
* Get all registered scripts that have been applied to a specific Site. Required scope | `custom_code:read`
|
|
21
|
+
* Get all registered scripts that have been applied to a specific Site. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read`
|
|
22
22
|
* @throws {@link Webflow.BadRequestError}
|
|
23
23
|
* @throws {@link Webflow.UnauthorizedError}
|
|
24
24
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -30,7 +30,7 @@ export declare class Scripts {
|
|
|
30
30
|
*/
|
|
31
31
|
getCustomCode(siteId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
|
|
32
32
|
/**
|
|
33
|
-
* Add a registered script to a Site. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Required scope | `custom_code:write`
|
|
33
|
+
* Add a registered script to a Site. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
|
|
34
34
|
* @throws {@link Webflow.BadRequestError}
|
|
35
35
|
* @throws {@link Webflow.UnauthorizedError}
|
|
36
36
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -59,7 +59,7 @@ export declare class Scripts {
|
|
|
59
59
|
*/
|
|
60
60
|
upsertCustomCode(siteId: string, request: Webflow.ScriptApplyList, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
|
|
61
61
|
/**
|
|
62
|
-
* Delete the custom code block that an app created for a Site
|
|
62
|
+
* Delete the custom code block that an app created for a Site </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
|
|
63
63
|
* @throws {@link Webflow.BadRequestError}
|
|
64
64
|
* @throws {@link Webflow.UnauthorizedError}
|
|
65
65
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -71,7 +71,7 @@ export declare class Scripts {
|
|
|
71
71
|
*/
|
|
72
72
|
deleteCustomCode(siteId: string, requestOptions?: Scripts.RequestOptions): Promise<void>;
|
|
73
73
|
/**
|
|
74
|
-
* Get all instances of Custom Code applied to a Site or Pages. Required scope | `custom_code:read`
|
|
74
|
+
* Get all instances of Custom Code applied to a Site or Pages. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read`
|
|
75
75
|
* @throws {@link Webflow.BadRequestError}
|
|
76
76
|
* @throws {@link Webflow.UnauthorizedError}
|
|
77
77
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -50,7 +50,7 @@ class Scripts {
|
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Get all registered scripts that have been applied to a specific Site. Required scope | `custom_code:read`
|
|
53
|
+
* Get all registered scripts that have been applied to a specific Site. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read`
|
|
54
54
|
* @throws {@link Webflow.BadRequestError}
|
|
55
55
|
* @throws {@link Webflow.UnauthorizedError}
|
|
56
56
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -122,7 +122,7 @@ class Scripts {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
* Add a registered script to a Site. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Required scope | `custom_code:write`
|
|
125
|
+
* Add a registered script to a Site. </br></br> In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the `registered_scripts` endpoints, and then applied to a Site or Page using the appropriate `custom_code` endpoints. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
|
|
126
126
|
* @throws {@link Webflow.BadRequestError}
|
|
127
127
|
* @throws {@link Webflow.UnauthorizedError}
|
|
128
128
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -159,7 +159,7 @@ class Scripts {
|
|
|
159
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "webflow-api",
|
|
162
|
-
"X-Fern-SDK-Version": "v2.
|
|
162
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
163
163
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
164
164
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
165
165
|
},
|
|
@@ -212,7 +212,7 @@ class Scripts {
|
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* Delete the custom code block that an app created for a Site
|
|
215
|
+
* Delete the custom code block that an app created for a Site </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:write`
|
|
216
216
|
* @throws {@link Webflow.BadRequestError}
|
|
217
217
|
* @throws {@link Webflow.UnauthorizedError}
|
|
218
218
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -232,7 +232,7 @@ class Scripts {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "webflow-api",
|
|
235
|
-
"X-Fern-SDK-Version": "v2.
|
|
235
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -278,7 +278,7 @@ class Scripts {
|
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
|
-
* Get all instances of Custom Code applied to a Site or Pages. Required scope | `custom_code:read`
|
|
281
|
+
* Get all instances of Custom Code applied to a Site or Pages. </br></br> Access to this endpoint requires a bearer token from a Data Client App. Required scope | `custom_code:read`
|
|
282
282
|
* @throws {@link Webflow.BadRequestError}
|
|
283
283
|
* @throws {@link Webflow.UnauthorizedError}
|
|
284
284
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -306,7 +306,7 @@ class Scripts {
|
|
|
306
306
|
Authorization: yield this._getAuthorizationHeader(),
|
|
307
307
|
"X-Fern-Language": "JavaScript",
|
|
308
308
|
"X-Fern-SDK-Name": "webflow-api",
|
|
309
|
-
"X-Fern-SDK-Version": "v2.
|
|
309
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
310
310
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
311
311
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
312
312
|
},
|
|
@@ -27,7 +27,7 @@ export declare class Token {
|
|
|
27
27
|
*/
|
|
28
28
|
authorizedBy(requestOptions?: Token.RequestOptions): Promise<Webflow.AuthorizedUser>;
|
|
29
29
|
/**
|
|
30
|
-
* Information about the authorization token
|
|
30
|
+
* Information about the authorization token </br></br> Access to this endpoint requires a bearer token from a Data Client App.
|
|
31
31
|
* @throws {@link Webflow.UnauthorizedError}
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
@@ -67,7 +67,7 @@ class Token {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "webflow-api",
|
|
70
|
-
"X-Fern-SDK-Version": "v2.
|
|
70
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -113,7 +113,7 @@ class Token {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
* Information about the authorization token
|
|
116
|
+
* Information about the authorization token </br></br> Access to this endpoint requires a bearer token from a Data Client App.
|
|
117
117
|
* @throws {@link Webflow.UnauthorizedError}
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
@@ -129,7 +129,7 @@ class Token {
|
|
|
129
129
|
Authorization: yield this._getAuthorizationHeader(),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "webflow-api",
|
|
132
|
-
"X-Fern-SDK-Version": "v2.
|
|
132
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
133
133
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
134
134
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
135
135
|
},
|
|
@@ -82,7 +82,7 @@ class Users {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "webflow-api",
|
|
85
|
-
"X-Fern-SDK-Version": "v2.
|
|
85
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -158,7 +158,7 @@ class Users {
|
|
|
158
158
|
Authorization: yield this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "webflow-api",
|
|
161
|
-
"X-Fern-SDK-Version": "v2.
|
|
161
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
162
162
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
163
163
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
164
164
|
},
|
|
@@ -233,7 +233,7 @@ class Users {
|
|
|
233
233
|
Authorization: yield this._getAuthorizationHeader(),
|
|
234
234
|
"X-Fern-Language": "JavaScript",
|
|
235
235
|
"X-Fern-SDK-Name": "webflow-api",
|
|
236
|
-
"X-Fern-SDK-Version": "v2.
|
|
236
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
237
237
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
238
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
239
|
},
|
|
@@ -311,7 +311,7 @@ class Users {
|
|
|
311
311
|
Authorization: yield this._getAuthorizationHeader(),
|
|
312
312
|
"X-Fern-Language": "JavaScript",
|
|
313
313
|
"X-Fern-SDK-Name": "webflow-api",
|
|
314
|
-
"X-Fern-SDK-Version": "v2.
|
|
314
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
315
315
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
316
316
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
317
317
|
},
|
|
@@ -391,7 +391,7 @@ class Users {
|
|
|
391
391
|
Authorization: yield this._getAuthorizationHeader(),
|
|
392
392
|
"X-Fern-Language": "JavaScript",
|
|
393
393
|
"X-Fern-SDK-Name": "webflow-api",
|
|
394
|
-
"X-Fern-SDK-Version": "v2.
|
|
394
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
395
395
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
396
396
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
397
397
|
},
|
|
@@ -18,7 +18,7 @@ export declare class Webhooks {
|
|
|
18
18
|
protected readonly _options: Webhooks.Options;
|
|
19
19
|
constructor(_options: Webhooks.Options);
|
|
20
20
|
/**
|
|
21
|
-
* List all App-created Webhooks registered for a given site
|
|
21
|
+
* List all App-created Webhooks registered for a given site </br></br> Required scope | `sites:read`
|
|
22
22
|
* @throws {@link Webflow.BadRequestError}
|
|
23
23
|
* @throws {@link Webflow.UnauthorizedError}
|
|
24
24
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -28,9 +28,9 @@ export declare class Webhooks {
|
|
|
28
28
|
* @example
|
|
29
29
|
* await webflow.webhooks.list("site_id")
|
|
30
30
|
*/
|
|
31
|
-
list(siteId: string, requestOptions?: Webhooks.RequestOptions): Promise<Webflow.
|
|
31
|
+
list(siteId: string, requestOptions?: Webhooks.RequestOptions): Promise<Webflow.WebhookList>;
|
|
32
32
|
/**
|
|
33
|
-
* Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site.
|
|
33
|
+
* Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site. </br></br> Access to this endpoint requires a bearer token from a Data Client App. The only exceptions are for creating webhooks with `site_publish` or `form_submission` triggers, which can be done with Site Tokens </br> Required scope | `sites:write`
|
|
34
34
|
* @throws {@link Webflow.BadRequestError}
|
|
35
35
|
* @throws {@link Webflow.UnauthorizedError}
|
|
36
36
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -50,7 +50,7 @@ class Webhooks {
|
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* List all App-created Webhooks registered for a given site
|
|
53
|
+
* List all App-created Webhooks registered for a given site </br></br> Required scope | `sites:read`
|
|
54
54
|
* @throws {@link Webflow.BadRequestError}
|
|
55
55
|
* @throws {@link Webflow.UnauthorizedError}
|
|
56
56
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -70,7 +70,7 @@ class Webhooks {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -79,7 +79,7 @@ class Webhooks {
|
|
|
79
79
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
80
80
|
});
|
|
81
81
|
if (_response.ok) {
|
|
82
|
-
return yield serializers.
|
|
82
|
+
return yield serializers.WebhookList.parseOrThrow(_response.body, {
|
|
83
83
|
unrecognizedObjectKeys: "passthrough",
|
|
84
84
|
allowUnrecognizedUnionMembers: true,
|
|
85
85
|
allowUnrecognizedEnumValues: true,
|
|
@@ -122,7 +122,7 @@ class Webhooks {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
* Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site.
|
|
125
|
+
* Create a new Webhook, to be notified when Webflow resources change. Limit of 75 registrations per `triggerType`, per site. </br></br> Access to this endpoint requires a bearer token from a Data Client App. The only exceptions are for creating webhooks with `site_publish` or `form_submission` triggers, which can be done with Site Tokens </br> Required scope | `sites:write`
|
|
126
126
|
* @throws {@link Webflow.BadRequestError}
|
|
127
127
|
* @throws {@link Webflow.UnauthorizedError}
|
|
128
128
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -145,7 +145,7 @@ class Webhooks {
|
|
|
145
145
|
Authorization: yield this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "webflow-api",
|
|
148
|
-
"X-Fern-SDK-Version": "v2.
|
|
148
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
151
151
|
},
|
|
@@ -218,7 +218,7 @@ class Webhooks {
|
|
|
218
218
|
Authorization: yield this._getAuthorizationHeader(),
|
|
219
219
|
"X-Fern-Language": "JavaScript",
|
|
220
220
|
"X-Fern-SDK-Name": "webflow-api",
|
|
221
|
-
"X-Fern-SDK-Version": "v2.
|
|
221
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
222
222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
223
223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
224
224
|
},
|
|
@@ -290,7 +290,7 @@ class Webhooks {
|
|
|
290
290
|
Authorization: yield this._getAuthorizationHeader(),
|
|
291
291
|
"X-Fern-Language": "JavaScript",
|
|
292
292
|
"X-Fern-SDK-Name": "webflow-api",
|
|
293
|
-
"X-Fern-SDK-Version": "v2.
|
|
293
|
+
"X-Fern-SDK-Version": "v2.2.0",
|
|
294
294
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
295
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
296
|
},
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
5
|
-
/** Unique identifier for the Application */
|
|
6
|
-
id?: string;
|
|
7
|
-
/** Application description provided by the developer */
|
|
8
|
-
description?: string;
|
|
9
|
-
/** Application homepage URL provided by the developer */
|
|
10
|
-
homepage?: string;
|
|
11
|
-
/** Application name provided by the developer */
|
|
12
|
-
displayName?: string;
|
|
13
|
-
}
|
|
4
|
+
export declare type Application = unknown;
|
|
@@ -12,7 +12,7 @@ export interface CustomCodeBlock {
|
|
|
12
12
|
pageId?: string;
|
|
13
13
|
/** Whether the Custom Code script is applied at the Site-level or Page-level */
|
|
14
14
|
type?: Webflow.CustomCodeBlockType;
|
|
15
|
-
scripts?: Webflow.
|
|
15
|
+
scripts?: Webflow.Scripts;
|
|
16
16
|
/** The date the Block was created */
|
|
17
17
|
createdOn?: Date;
|
|
18
18
|
/** The date the Block was most recently updated */
|
package/api/types/index.d.ts
CHANGED
|
@@ -1,64 +1,59 @@
|
|
|
1
1
|
export * from "./OauthScope";
|
|
2
2
|
export * from "./AuthorizedUser";
|
|
3
|
+
export * from "./Application";
|
|
3
4
|
export * from "./AuthorizationAuthorizationAuthorizedTo";
|
|
4
5
|
export * from "./AuthorizationAuthorization";
|
|
5
6
|
export * from "./Authorization";
|
|
7
|
+
export * from "./Domain";
|
|
8
|
+
export * from "./Site";
|
|
9
|
+
export * from "./Domains";
|
|
10
|
+
export * from "./InvalidDomain";
|
|
11
|
+
export * from "./NoDomains";
|
|
12
|
+
export * from "./SiteActivityLogItemResourceOperation";
|
|
13
|
+
export * from "./SiteActivityLogItemUser";
|
|
14
|
+
export * from "./SiteActivityLogItem";
|
|
6
15
|
export * from "./Pagination";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./ScriptApplyLocation";
|
|
13
|
-
export * from "./ScriptApply";
|
|
14
|
-
export * from "./ListCustomCodeBlocks";
|
|
15
|
-
export * from "./CustomCodeBlockType";
|
|
16
|
-
export * from "./CustomCodeBlock";
|
|
17
|
-
export * from "./PageList";
|
|
18
|
-
export * from "./PageSeo";
|
|
19
|
-
export * from "./PageOpenGraph";
|
|
20
|
-
export * from "./Page";
|
|
21
|
-
export * from "./PageCreatedWebhook";
|
|
22
|
-
export * from "./PageMetadataUpdatedWebhook";
|
|
23
|
-
export * from "./PageDeletedWebhook";
|
|
24
|
-
export * from "./PageSeoGraphDataSeo";
|
|
25
|
-
export * from "./PageSeoGraphDataOpenGraph";
|
|
26
|
-
export * from "./PageSeoGraphData";
|
|
27
|
-
export * from "./Dom";
|
|
28
|
-
export * from "./NodeType";
|
|
29
|
-
export * from "./Node";
|
|
30
|
-
export * from "./TextNode";
|
|
31
|
-
export * from "./ImageNode";
|
|
32
|
-
export * from "./CollectionList";
|
|
16
|
+
export * from "./SiteActivityLogResponse";
|
|
17
|
+
export * from "./ErrorDetailsItem";
|
|
18
|
+
export * from "./Error_";
|
|
19
|
+
export * from "./MissingScopes";
|
|
20
|
+
export * from "./NotEnterprisePlanSite";
|
|
33
21
|
export * from "./CollectionListArrayItem";
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./Fields";
|
|
22
|
+
export * from "./CollectionList";
|
|
36
23
|
export * from "./FieldType";
|
|
37
24
|
export * from "./Field";
|
|
25
|
+
export * from "./Collection";
|
|
38
26
|
export * from "./CollectionItemFieldData";
|
|
39
27
|
export * from "./CollectionItem";
|
|
40
28
|
export * from "./CollectionItemListPagination";
|
|
41
29
|
export * from "./CollectionItemList";
|
|
42
|
-
export * from "./
|
|
43
|
-
export * from "./
|
|
44
|
-
export * from "./
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
48
|
-
export * from "./
|
|
49
|
-
export * from "./
|
|
50
|
-
export * from "./
|
|
51
|
-
export * from "./
|
|
52
|
-
export * from "./
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
30
|
+
export * from "./PageSeo";
|
|
31
|
+
export * from "./PageOpenGraph";
|
|
32
|
+
export * from "./Page";
|
|
33
|
+
export * from "./PageList";
|
|
34
|
+
export * from "./TextNode";
|
|
35
|
+
export * from "./ImageNode";
|
|
36
|
+
export * from "./NodeType";
|
|
37
|
+
export * from "./Node";
|
|
38
|
+
export * from "./Dom";
|
|
39
|
+
export * from "./ScriptApplyLocation";
|
|
40
|
+
export * from "./ScriptApply";
|
|
41
|
+
export * from "./ScriptApplyList";
|
|
42
|
+
export * from "./CustomCodeResponse";
|
|
43
|
+
export * from "./RegisteredScriptList";
|
|
44
|
+
export * from "./Scripts";
|
|
45
|
+
export * from "./CustomCodeBlockType";
|
|
46
|
+
export * from "./CustomCodeBlock";
|
|
47
|
+
export * from "./ListCustomCodeBlocks";
|
|
57
48
|
export * from "./AssetVariant";
|
|
49
|
+
export * from "./Asset";
|
|
58
50
|
export * from "./AssetUploadUploadDetails";
|
|
59
51
|
export * from "./AssetUpload";
|
|
60
52
|
export * from "./AssetFolder";
|
|
61
53
|
export * from "./AssetFolderList";
|
|
54
|
+
export * from "./TriggerType";
|
|
55
|
+
export * from "./Webhook";
|
|
56
|
+
export * from "./WebhookList";
|
|
62
57
|
export * from "./FormFieldValueType";
|
|
63
58
|
export * from "./FormFieldValue";
|
|
64
59
|
export * from "./FormField";
|
|
@@ -67,33 +62,25 @@ export * from "./Form";
|
|
|
67
62
|
export * from "./FormList";
|
|
68
63
|
export * from "./FormSubmission";
|
|
69
64
|
export * from "./FormSubmissionList";
|
|
70
|
-
export * from "./
|
|
71
|
-
export * from "./
|
|
72
|
-
export * from "./Application";
|
|
73
|
-
export * from "./PublishedSite";
|
|
74
|
-
export * from "./PublishedItems";
|
|
75
|
-
export * from "./RemovedItems";
|
|
65
|
+
export * from "./UserDataData";
|
|
66
|
+
export * from "./UserData";
|
|
76
67
|
export * from "./UserStatus";
|
|
77
68
|
export * from "./UserAccessGroupsItemType";
|
|
78
69
|
export * from "./UserAccessGroupsItem";
|
|
79
70
|
export * from "./User";
|
|
80
|
-
export * from "./UserDataData";
|
|
81
|
-
export * from "./UserData";
|
|
82
71
|
export * from "./UserList";
|
|
83
|
-
export * from "./UserWebhookPayloadTriggerType";
|
|
84
|
-
export * from "./UserWebhookPayload";
|
|
85
|
-
export * from "./AccessGroup";
|
|
86
|
-
export * from "./AccessGroupList";
|
|
87
|
-
export * from "./ErrorDetailsItem";
|
|
88
72
|
export * from "./UsersNotEnabled";
|
|
89
73
|
export * from "./DuplicateUserEmail";
|
|
90
74
|
export * from "./UserLimitReached";
|
|
91
|
-
export * from "./
|
|
92
|
-
export * from "./
|
|
75
|
+
export * from "./AccessGroup";
|
|
76
|
+
export * from "./AccessGroupList";
|
|
77
|
+
export * from "./SkuPropertyListEnumItem";
|
|
78
|
+
export * from "./SkuPropertyList";
|
|
93
79
|
export * from "./ProductFieldDataTaxCategory";
|
|
94
80
|
export * from "./ProductFieldDataEcProductType";
|
|
95
81
|
export * from "./ProductFieldData";
|
|
96
82
|
export * from "./Product";
|
|
83
|
+
export * from "./SkuValueList";
|
|
97
84
|
export * from "./SkuFieldDataPrice";
|
|
98
85
|
export * from "./SkuFieldDataCompareAtPrice";
|
|
99
86
|
export * from "./SkuFieldDataEcSkuBillingMethod";
|
|
@@ -103,19 +90,7 @@ export * from "./SkuFieldData";
|
|
|
103
90
|
export * from "./Sku";
|
|
104
91
|
export * from "./ProductAndSkUs";
|
|
105
92
|
export * from "./ProductAndSkUsList";
|
|
106
|
-
export * from "./
|
|
107
|
-
export * from "./SkuPropertyList";
|
|
108
|
-
export * from "./SkuValueList";
|
|
109
|
-
export * from "./OrderStatus";
|
|
110
|
-
export * from "./OrderDisputeLastStatus";
|
|
111
|
-
export * from "./OrderCustomerInfo";
|
|
112
|
-
export * from "./OrderMetadata";
|
|
113
|
-
export * from "./OrderTotalsExtrasItemType";
|
|
114
|
-
export * from "./OrderTotalsExtrasItem";
|
|
115
|
-
export * from "./OrderTotals";
|
|
116
|
-
export * from "./OrderDownloadFilesItem";
|
|
117
|
-
export * from "./Order";
|
|
118
|
-
export * from "./OrderList";
|
|
93
|
+
export * from "./PublishStatus";
|
|
119
94
|
export * from "./OrderPrice";
|
|
120
95
|
export * from "./OrderAddressType";
|
|
121
96
|
export * from "./OrderAddressJapanType";
|
|
@@ -129,9 +104,16 @@ export * from "./StripeCardBrand";
|
|
|
129
104
|
export * from "./StripeCardExpires";
|
|
130
105
|
export * from "./StripeCard";
|
|
131
106
|
export * from "./PaypalDetails";
|
|
107
|
+
export * from "./OrderStatus";
|
|
108
|
+
export * from "./OrderDisputeLastStatus";
|
|
109
|
+
export * from "./OrderCustomerInfo";
|
|
110
|
+
export * from "./OrderMetadata";
|
|
111
|
+
export * from "./OrderTotalsExtrasItemType";
|
|
112
|
+
export * from "./OrderTotalsExtrasItem";
|
|
113
|
+
export * from "./OrderTotals";
|
|
114
|
+
export * from "./OrderDownloadFilesItem";
|
|
115
|
+
export * from "./Order";
|
|
116
|
+
export * from "./OrderList";
|
|
132
117
|
export * from "./InventoryItemInventoryType";
|
|
133
118
|
export * from "./InventoryItem";
|
|
134
119
|
export * from "./EcommerceSettings";
|
|
135
|
-
export * from "./Error_";
|
|
136
|
-
export * from "./InvalidDomain";
|
|
137
|
-
export * from "./NoDomains";
|