webflow-api 2.1.2 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +2 -2
- package/api/resources/assets/client/Client.js +10 -10
- 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 +32 -24
- package/api/resources/collections/resources/items/client/Client.js +42 -34
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +1 -1
- 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/Assets.d.ts +3 -0
- package/api/types/Authorization.d.ts +1 -1
- package/api/types/CustomCodeBlock.d.ts +1 -1
- package/api/types/{Fields.d.ts → Domains.d.ts} +3 -4
- package/api/types/DuplicateUserEmail.d.ts +2 -1
- package/api/types/OauthScope.d.ts +46 -22
- package/api/types/OauthScope.js +12 -6
- package/api/types/{Sites.d.ts → 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 +57 -74
- package/api/types/index.js +57 -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 +2 -2
- package/dist/api/resources/assets/client/Client.js +10 -10
- 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 +32 -24
- package/dist/api/resources/collections/resources/items/client/Client.js +42 -34
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +1 -1
- 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/Assets.d.ts +3 -0
- package/dist/api/types/Authorization.d.ts +1 -1
- package/dist/api/types/CustomCodeBlock.d.ts +1 -1
- package/dist/api/types/{Fields.d.ts → Domains.d.ts} +3 -4
- package/dist/api/types/DuplicateUserEmail.d.ts +2 -1
- package/dist/api/types/OauthScope.d.ts +46 -22
- package/dist/api/types/OauthScope.js +12 -6
- package/dist/api/types/{Sites.d.ts → 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 +57 -74
- package/dist/api/types/index.js +57 -74
- package/dist/serialization/resources/assets/client/index.d.ts +0 -1
- package/dist/serialization/resources/assets/client/index.js +0 -14
- package/dist/serialization/resources/index.d.ts +3 -3
- package/dist/serialization/resources/index.js +4 -4
- 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/{PublishedSite.d.ts → Domains.d.ts} +3 -3
- package/dist/serialization/types/{SitePublish.js → Domains.js} +5 -3
- package/dist/serialization/types/DuplicateUserEmail.d.ts +1 -1
- package/dist/serialization/types/DuplicateUserEmail.js +1 -1
- package/dist/serialization/types/OauthScope.d.ts +1 -1
- package/dist/serialization/types/OauthScope.js +12 -6
- package/dist/serialization/types/{Fields.d.ts → Scripts.d.ts} +3 -3
- package/{serialization/types/Fields.js → dist/serialization/types/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 +57 -74
- package/dist/serialization/types/index.js +57 -74
- package/dist/wrapper/WebflowClient.js +2 -2
- package/package.json +1 -1
- package/serialization/resources/assets/client/index.d.ts +0 -1
- package/serialization/resources/assets/client/index.js +0 -14
- package/serialization/resources/index.d.ts +3 -3
- package/serialization/resources/index.js +4 -4
- 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/{Sites.d.ts → Domains.d.ts} +3 -3
- package/serialization/types/{SitePublish.js → Domains.js} +5 -3
- package/serialization/types/DuplicateUserEmail.d.ts +1 -1
- package/serialization/types/DuplicateUserEmail.js +1 -1
- package/serialization/types/OauthScope.d.ts +1 -1
- package/serialization/types/OauthScope.js +12 -6
- package/serialization/types/{Fields.d.ts → Scripts.d.ts} +3 -3
- package/{dist/serialization/types/Fields.js → serialization/types/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 +57 -74
- package/serialization/types/index.js +57 -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/FormSubmissionTrigger.d.ts +0 -10
- package/api/types/FormSubmissionTriggerPayload.d.ts +0 -18
- package/api/types/InvalidScopes.d.ts +0 -10
- package/api/types/InvalidScopes.js +0 -5
- package/api/types/PageCreatedWebhook.d.ts +0 -12
- package/api/types/PageCreatedWebhook.js +0 -5
- package/api/types/PageDeletedWebhook.d.ts +0 -12
- package/api/types/PageDeletedWebhook.js +0 -5
- 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/CollectionItemRemoved.d.ts +0 -9
- package/dist/api/types/CollectionItemRemoved.js +0 -5
- 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/assets/client/list.d.ts +0 -10
- package/dist/serialization/resources/assets/client/list.js +0 -40
- 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/PageSeoGraphDataOpenGraph.js +0 -34
- 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.js +0 -33
- 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/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/UserWebhookPayload.js +0 -43
- package/dist/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
- package/dist/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
- package/serialization/resources/assets/client/list.d.ts +0 -10
- package/serialization/resources/assets/client/list.js +0 -40
- 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/SitePublishPayload.d.ts +0 -15
- package/serialization/types/SitePublishPayload.js +0 -36
- package/serialization/types/Sites.js +0 -42
- package/serialization/types/UserWebhookPayload.d.ts +0 -13
- package/serialization/types/UserWebhookPayload.js +0 -43
- package/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
- package/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
- /package/api/types/{CollectionItemRemoved.js → Domains.js} +0 -0
- /package/api/types/{Fields.js → Scripts.js} +0 -0
- /package/{api/types/FormSubmissionTrigger.js → dist/api/types/Domains.js} +0 -0
- /package/{api/types/FormSubmissionTriggerPayload.js → dist/api/types/Scripts.js} +0 -0
|
@@ -74,7 +74,7 @@ class Inventory {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "webflow-api",
|
|
77
|
-
"X-Fern-SDK-Version": "2.1
|
|
77
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -158,7 +158,7 @@ class Inventory {
|
|
|
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": "2.1
|
|
161
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
162
162
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
163
163
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
164
164
|
},
|
|
@@ -85,7 +85,7 @@ class Orders {
|
|
|
85
85
|
Authorization: yield this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "webflow-api",
|
|
88
|
-
"X-Fern-SDK-Version": "2.1
|
|
88
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -166,7 +166,7 @@ class Orders {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "webflow-api",
|
|
169
|
-
"X-Fern-SDK-Version": "2.1
|
|
169
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -251,7 +251,7 @@ class Orders {
|
|
|
251
251
|
Authorization: yield this._getAuthorizationHeader(),
|
|
252
252
|
"X-Fern-Language": "JavaScript",
|
|
253
253
|
"X-Fern-SDK-Name": "webflow-api",
|
|
254
|
-
"X-Fern-SDK-Version": "2.1
|
|
254
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
255
255
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
256
256
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
257
257
|
},
|
|
@@ -332,7 +332,7 @@ class Orders {
|
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
|
333
333
|
"X-Fern-Language": "JavaScript",
|
|
334
334
|
"X-Fern-SDK-Name": "webflow-api",
|
|
335
|
-
"X-Fern-SDK-Version": "2.1
|
|
335
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
336
336
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
337
337
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
338
338
|
},
|
|
@@ -415,7 +415,7 @@ class Orders {
|
|
|
415
415
|
Authorization: yield this._getAuthorizationHeader(),
|
|
416
416
|
"X-Fern-Language": "JavaScript",
|
|
417
417
|
"X-Fern-SDK-Name": "webflow-api",
|
|
418
|
-
"X-Fern-SDK-Version": "2.1
|
|
418
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
419
419
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
420
420
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
421
421
|
},
|
|
@@ -496,7 +496,7 @@ class Orders {
|
|
|
496
496
|
Authorization: yield this._getAuthorizationHeader(),
|
|
497
497
|
"X-Fern-Language": "JavaScript",
|
|
498
498
|
"X-Fern-SDK-Name": "webflow-api",
|
|
499
|
-
"X-Fern-SDK-Version": "2.1
|
|
499
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
500
500
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
501
501
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
502
502
|
},
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Webflow from "../../../..";
|
|
5
4
|
/**
|
|
6
5
|
* @example
|
|
7
6
|
* {}
|
|
@@ -10,7 +9,7 @@ export interface OrdersListRequest {
|
|
|
10
9
|
/**
|
|
11
10
|
* Filter the orders by status
|
|
12
11
|
*/
|
|
13
|
-
status?:
|
|
12
|
+
status?: string;
|
|
14
13
|
/**
|
|
15
14
|
* Offset used for pagination if the results have more than limit records
|
|
16
15
|
*/
|
|
@@ -14,5 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./OrdersListRequestStatus"), exports);
|
|
18
17
|
__exportStar(require("./OrdersRefundRequestReason"), exports);
|
|
@@ -93,7 +93,7 @@ class Pages {
|
|
|
93
93
|
Authorization: yield this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "webflow-api",
|
|
96
|
-
"X-Fern-SDK-Version": "2.1
|
|
96
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
97
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
99
|
},
|
|
@@ -171,7 +171,7 @@ class Pages {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "webflow-api",
|
|
174
|
-
"X-Fern-SDK-Version": "2.1
|
|
174
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -274,7 +274,7 @@ class Pages {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "webflow-api",
|
|
277
|
-
"X-Fern-SDK-Version": "2.1
|
|
277
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -354,7 +354,7 @@ class Pages {
|
|
|
354
354
|
Authorization: yield this._getAuthorizationHeader(),
|
|
355
355
|
"X-Fern-Language": "JavaScript",
|
|
356
356
|
"X-Fern-SDK-Name": "webflow-api",
|
|
357
|
-
"X-Fern-SDK-Version": "2.1
|
|
357
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
358
358
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
359
359
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
360
360
|
},
|
|
@@ -439,7 +439,7 @@ class Pages {
|
|
|
439
439
|
Authorization: yield this._getAuthorizationHeader(),
|
|
440
440
|
"X-Fern-Language": "JavaScript",
|
|
441
441
|
"X-Fern-SDK-Name": "webflow-api",
|
|
442
|
-
"X-Fern-SDK-Version": "2.1
|
|
442
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
443
443
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
444
444
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
445
445
|
},
|
|
@@ -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 Page. </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:read`
|
|
21
|
+
* Get all registered scripts that have been applied to a specific Page. </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: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(pageId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
|
|
32
32
|
/**
|
|
33
|
-
* Add a registered script to a Page. </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 Page. </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(pageId: string, request: Webflow.ScriptApplyList, requestOptions?: Scripts.RequestOptions): Promise<Webflow.ScriptApplyList>;
|
|
61
61
|
/**
|
|
62
|
-
* Delete the custom code block that an app has created for a page </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`
|
|
62
|
+
* Delete the custom code block that an app has created for a page </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`
|
|
63
63
|
* @throws {@link Webflow.BadRequestError}
|
|
64
64
|
* @throws {@link Webflow.UnauthorizedError}
|
|
65
65
|
* @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 Page. </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:read`
|
|
53
|
+
* Get all registered scripts that have been applied to a specific Page. </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: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": "2.1
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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 Page. </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 Page. </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": "2.1
|
|
162
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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 has created for a page </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`
|
|
215
|
+
* Delete the custom code block that an app has created for a page </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`
|
|
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": "2.1
|
|
235
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -82,7 +82,7 @@ class Products {
|
|
|
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": "2.1
|
|
85
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -169,7 +169,7 @@ class Products {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "webflow-api",
|
|
172
|
-
"X-Fern-SDK-Version": "2.1
|
|
172
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -250,7 +250,7 @@ class Products {
|
|
|
250
250
|
Authorization: yield this._getAuthorizationHeader(),
|
|
251
251
|
"X-Fern-Language": "JavaScript",
|
|
252
252
|
"X-Fern-SDK-Name": "webflow-api",
|
|
253
|
-
"X-Fern-SDK-Version": "2.1
|
|
253
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -344,8 +344,8 @@ class Products {
|
|
|
344
344
|
* slug: "crimson-red"
|
|
345
345
|
* }, {
|
|
346
346
|
* id: "forrest-green",
|
|
347
|
-
* name: "
|
|
348
|
-
* slug: "
|
|
347
|
+
* name: "name",
|
|
348
|
+
* slug: "slug"
|
|
349
349
|
* }, {
|
|
350
350
|
* id: "id",
|
|
351
351
|
* name: "name",
|
|
@@ -374,7 +374,7 @@ class Products {
|
|
|
374
374
|
Authorization: yield this._getAuthorizationHeader(),
|
|
375
375
|
"X-Fern-Language": "JavaScript",
|
|
376
376
|
"X-Fern-SDK-Name": "webflow-api",
|
|
377
|
-
"X-Fern-SDK-Version": "2.1
|
|
377
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
378
378
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
379
379
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
380
380
|
},
|
|
@@ -473,7 +473,7 @@ class Products {
|
|
|
473
473
|
Authorization: yield this._getAuthorizationHeader(),
|
|
474
474
|
"X-Fern-Language": "JavaScript",
|
|
475
475
|
"X-Fern-SDK-Name": "webflow-api",
|
|
476
|
-
"X-Fern-SDK-Version": "2.1
|
|
476
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
477
477
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
478
478
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
479
479
|
},
|
|
@@ -570,7 +570,7 @@ class Products {
|
|
|
570
570
|
Authorization: yield this._getAuthorizationHeader(),
|
|
571
571
|
"X-Fern-Language": "JavaScript",
|
|
572
572
|
"X-Fern-SDK-Name": "webflow-api",
|
|
573
|
-
"X-Fern-SDK-Version": "2.1
|
|
573
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
574
574
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
575
575
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
576
576
|
},
|
|
@@ -18,7 +18,7 @@ export declare class Scripts {
|
|
|
18
18
|
protected readonly _options: Scripts.Options;
|
|
19
19
|
constructor(_options: Scripts.Options);
|
|
20
20
|
/**
|
|
21
|
-
* List of scripts registered 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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:read`
|
|
21
|
+
* List of scripts registered 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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> 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
|
list(siteId: string, requestOptions?: Scripts.RequestOptions): Promise<Webflow.RegisteredScriptList>;
|
|
32
32
|
/**
|
|
33
|
-
* Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:write`
|
|
33
|
+
* Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> Required scope | `custom_code:write`
|
|
34
34
|
* @throws {@link Webflow.BadRequestError}
|
|
35
35
|
* @throws {@link Webflow.UnauthorizedError}
|
|
36
36
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -47,7 +47,7 @@ export declare class Scripts {
|
|
|
47
47
|
*/
|
|
48
48
|
registerHosted(siteId: string, request: Webflow.CustomCodeHostedRequest, requestOptions?: Scripts.RequestOptions): Promise<Webflow.CustomCodeResponse>;
|
|
49
49
|
/**
|
|
50
|
-
* Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
|
|
50
|
+
* Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
|
|
51
51
|
* @throws {@link Webflow.BadRequestError}
|
|
52
52
|
* @throws {@link Webflow.UnauthorizedError}
|
|
53
53
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -50,7 +50,7 @@ class Scripts {
|
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* List of scripts registered 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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:read`
|
|
53
|
+
* List of scripts registered 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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> 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": "2.1
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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 script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. </br></br> Required scope | `custom_code:write`
|
|
125
|
+
* Add a script to a Site's Custom Code registry. </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. Additionally, Scripts can be remotely hosted, or registered as inline snippets. Access to this endpoint requires a bearer token from a Data Client App. </br></br> Required scope | `custom_code:write`
|
|
126
126
|
* @throws {@link Webflow.BadRequestError}
|
|
127
127
|
* @throws {@link Webflow.UnauthorizedError}
|
|
128
128
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -147,7 +147,7 @@ class Scripts {
|
|
|
147
147
|
Authorization: yield this._getAuthorizationHeader(),
|
|
148
148
|
"X-Fern-Language": "JavaScript",
|
|
149
149
|
"X-Fern-SDK-Name": "webflow-api",
|
|
150
|
-
"X-Fern-SDK-Version": "2.1
|
|
150
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -200,7 +200,7 @@ class Scripts {
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
* Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
|
|
203
|
+
* Add a script to a Site's Custom Code registry. Inline scripts can be between 1 and 2000 characters. </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`
|
|
204
204
|
* @throws {@link Webflow.BadRequestError}
|
|
205
205
|
* @throws {@link Webflow.UnauthorizedError}
|
|
206
206
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -224,7 +224,7 @@ class Scripts {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "webflow-api",
|
|
227
|
-
"X-Fern-SDK-Version": "2.1
|
|
227
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
228
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
229
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
230
230
|
},
|
|
@@ -30,7 +30,7 @@ export declare class Sites {
|
|
|
30
30
|
* @example
|
|
31
31
|
* await webflow.sites.list()
|
|
32
32
|
*/
|
|
33
|
-
list(requestOptions?: Sites.RequestOptions): Promise<Webflow.
|
|
33
|
+
list(requestOptions?: Sites.RequestOptions): Promise<Webflow.Site>;
|
|
34
34
|
/**
|
|
35
35
|
* Get a site by site id </br></br> Required scope | `sites:read`
|
|
36
36
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -54,7 +54,7 @@ export declare class Sites {
|
|
|
54
54
|
* @example
|
|
55
55
|
* await webflow.sites.getCustomDomain("site_id")
|
|
56
56
|
*/
|
|
57
|
-
getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise<Webflow.
|
|
57
|
+
getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise<Webflow.Domains>;
|
|
58
58
|
/**
|
|
59
59
|
* Publish a site to one more more domains. </br></br> Required scope | `sites:write`
|
|
60
60
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -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": "2.1
|
|
75
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
147
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
219
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
293
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
80
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
162
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
235
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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": "2.1
|
|
309
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
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
|