webflow-api 2.1.2 → 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 +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/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 +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/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/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/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/FormSubmissionTriggerPayload.js +0 -5
- 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/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/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.d.ts +0 -12
- 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/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/UserWebhookPayload.js +0 -43
- 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/UserWebhookPayload.js +0 -43
- package/serialization/types/UserWebhookPayloadTriggerType.d.ts +0 -10
- package/serialization/types/UserWebhookPayloadTriggerType.js +0 -31
- /package/api/types/{Assets.js → Domains.js} +0 -0
- /package/api/types/{CollectionItemRemoved.js → Scripts.js} +0 -0
- /package/{api/types/Fields.js → dist/api/types/Domains.js} +0 -0
- /package/{api/types/FormSubmissionTrigger.js → dist/api/types/Scripts.js} +0 -0
|
@@ -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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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": "2.
|
|
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";
|
package/api/types/index.js
CHANGED
|
@@ -16,65 +16,60 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./OauthScope"), exports);
|
|
18
18
|
__exportStar(require("./AuthorizedUser"), exports);
|
|
19
|
+
__exportStar(require("./Application"), exports);
|
|
19
20
|
__exportStar(require("./AuthorizationAuthorizationAuthorizedTo"), exports);
|
|
20
21
|
__exportStar(require("./AuthorizationAuthorization"), exports);
|
|
21
22
|
__exportStar(require("./Authorization"), exports);
|
|
23
|
+
__exportStar(require("./Domain"), exports);
|
|
24
|
+
__exportStar(require("./Site"), exports);
|
|
25
|
+
__exportStar(require("./Domains"), exports);
|
|
26
|
+
__exportStar(require("./InvalidDomain"), exports);
|
|
27
|
+
__exportStar(require("./NoDomains"), exports);
|
|
28
|
+
__exportStar(require("./SiteActivityLogItemResourceOperation"), exports);
|
|
29
|
+
__exportStar(require("./SiteActivityLogItemUser"), exports);
|
|
30
|
+
__exportStar(require("./SiteActivityLogItem"), exports);
|
|
22
31
|
__exportStar(require("./Pagination"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./
|
|
28
|
-
__exportStar(require("./ScriptApplyLocation"), exports);
|
|
29
|
-
__exportStar(require("./ScriptApply"), exports);
|
|
30
|
-
__exportStar(require("./ListCustomCodeBlocks"), exports);
|
|
31
|
-
__exportStar(require("./CustomCodeBlockType"), exports);
|
|
32
|
-
__exportStar(require("./CustomCodeBlock"), exports);
|
|
33
|
-
__exportStar(require("./PageList"), exports);
|
|
34
|
-
__exportStar(require("./PageSeo"), exports);
|
|
35
|
-
__exportStar(require("./PageOpenGraph"), exports);
|
|
36
|
-
__exportStar(require("./Page"), exports);
|
|
37
|
-
__exportStar(require("./PageCreatedWebhook"), exports);
|
|
38
|
-
__exportStar(require("./PageMetadataUpdatedWebhook"), exports);
|
|
39
|
-
__exportStar(require("./PageDeletedWebhook"), exports);
|
|
40
|
-
__exportStar(require("./PageSeoGraphDataSeo"), exports);
|
|
41
|
-
__exportStar(require("./PageSeoGraphDataOpenGraph"), exports);
|
|
42
|
-
__exportStar(require("./PageSeoGraphData"), exports);
|
|
43
|
-
__exportStar(require("./Dom"), exports);
|
|
44
|
-
__exportStar(require("./NodeType"), exports);
|
|
45
|
-
__exportStar(require("./Node"), exports);
|
|
46
|
-
__exportStar(require("./TextNode"), exports);
|
|
47
|
-
__exportStar(require("./ImageNode"), exports);
|
|
48
|
-
__exportStar(require("./CollectionList"), exports);
|
|
32
|
+
__exportStar(require("./SiteActivityLogResponse"), exports);
|
|
33
|
+
__exportStar(require("./ErrorDetailsItem"), exports);
|
|
34
|
+
__exportStar(require("./Error_"), exports);
|
|
35
|
+
__exportStar(require("./MissingScopes"), exports);
|
|
36
|
+
__exportStar(require("./NotEnterprisePlanSite"), exports);
|
|
49
37
|
__exportStar(require("./CollectionListArrayItem"), exports);
|
|
50
|
-
__exportStar(require("./
|
|
51
|
-
__exportStar(require("./Fields"), exports);
|
|
38
|
+
__exportStar(require("./CollectionList"), exports);
|
|
52
39
|
__exportStar(require("./FieldType"), exports);
|
|
53
40
|
__exportStar(require("./Field"), exports);
|
|
41
|
+
__exportStar(require("./Collection"), exports);
|
|
54
42
|
__exportStar(require("./CollectionItemFieldData"), exports);
|
|
55
43
|
__exportStar(require("./CollectionItem"), exports);
|
|
56
44
|
__exportStar(require("./CollectionItemListPagination"), exports);
|
|
57
45
|
__exportStar(require("./CollectionItemList"), exports);
|
|
58
|
-
__exportStar(require("./
|
|
59
|
-
__exportStar(require("./
|
|
60
|
-
__exportStar(require("./
|
|
61
|
-
__exportStar(require("./
|
|
62
|
-
__exportStar(require("./
|
|
63
|
-
__exportStar(require("./
|
|
64
|
-
__exportStar(require("./
|
|
65
|
-
__exportStar(require("./
|
|
66
|
-
__exportStar(require("./
|
|
67
|
-
__exportStar(require("./
|
|
68
|
-
__exportStar(require("./
|
|
69
|
-
__exportStar(require("./
|
|
70
|
-
__exportStar(require("./
|
|
71
|
-
__exportStar(require("./
|
|
72
|
-
__exportStar(require("./
|
|
46
|
+
__exportStar(require("./PageSeo"), exports);
|
|
47
|
+
__exportStar(require("./PageOpenGraph"), exports);
|
|
48
|
+
__exportStar(require("./Page"), exports);
|
|
49
|
+
__exportStar(require("./PageList"), exports);
|
|
50
|
+
__exportStar(require("./TextNode"), exports);
|
|
51
|
+
__exportStar(require("./ImageNode"), exports);
|
|
52
|
+
__exportStar(require("./NodeType"), exports);
|
|
53
|
+
__exportStar(require("./Node"), exports);
|
|
54
|
+
__exportStar(require("./Dom"), exports);
|
|
55
|
+
__exportStar(require("./ScriptApplyLocation"), exports);
|
|
56
|
+
__exportStar(require("./ScriptApply"), exports);
|
|
57
|
+
__exportStar(require("./ScriptApplyList"), exports);
|
|
58
|
+
__exportStar(require("./CustomCodeResponse"), exports);
|
|
59
|
+
__exportStar(require("./RegisteredScriptList"), exports);
|
|
60
|
+
__exportStar(require("./Scripts"), exports);
|
|
61
|
+
__exportStar(require("./CustomCodeBlockType"), exports);
|
|
62
|
+
__exportStar(require("./CustomCodeBlock"), exports);
|
|
63
|
+
__exportStar(require("./ListCustomCodeBlocks"), exports);
|
|
73
64
|
__exportStar(require("./AssetVariant"), exports);
|
|
65
|
+
__exportStar(require("./Asset"), exports);
|
|
74
66
|
__exportStar(require("./AssetUploadUploadDetails"), exports);
|
|
75
67
|
__exportStar(require("./AssetUpload"), exports);
|
|
76
68
|
__exportStar(require("./AssetFolder"), exports);
|
|
77
69
|
__exportStar(require("./AssetFolderList"), exports);
|
|
70
|
+
__exportStar(require("./TriggerType"), exports);
|
|
71
|
+
__exportStar(require("./Webhook"), exports);
|
|
72
|
+
__exportStar(require("./WebhookList"), exports);
|
|
78
73
|
__exportStar(require("./FormFieldValueType"), exports);
|
|
79
74
|
__exportStar(require("./FormFieldValue"), exports);
|
|
80
75
|
__exportStar(require("./FormField"), exports);
|
|
@@ -83,33 +78,25 @@ __exportStar(require("./Form"), exports);
|
|
|
83
78
|
__exportStar(require("./FormList"), exports);
|
|
84
79
|
__exportStar(require("./FormSubmission"), exports);
|
|
85
80
|
__exportStar(require("./FormSubmissionList"), exports);
|
|
86
|
-
__exportStar(require("./
|
|
87
|
-
__exportStar(require("./
|
|
88
|
-
__exportStar(require("./Application"), exports);
|
|
89
|
-
__exportStar(require("./PublishedSite"), exports);
|
|
90
|
-
__exportStar(require("./PublishedItems"), exports);
|
|
91
|
-
__exportStar(require("./RemovedItems"), exports);
|
|
81
|
+
__exportStar(require("./UserDataData"), exports);
|
|
82
|
+
__exportStar(require("./UserData"), exports);
|
|
92
83
|
__exportStar(require("./UserStatus"), exports);
|
|
93
84
|
__exportStar(require("./UserAccessGroupsItemType"), exports);
|
|
94
85
|
__exportStar(require("./UserAccessGroupsItem"), exports);
|
|
95
86
|
__exportStar(require("./User"), exports);
|
|
96
|
-
__exportStar(require("./UserDataData"), exports);
|
|
97
|
-
__exportStar(require("./UserData"), exports);
|
|
98
87
|
__exportStar(require("./UserList"), exports);
|
|
99
|
-
__exportStar(require("./UserWebhookPayloadTriggerType"), exports);
|
|
100
|
-
__exportStar(require("./UserWebhookPayload"), exports);
|
|
101
|
-
__exportStar(require("./AccessGroup"), exports);
|
|
102
|
-
__exportStar(require("./AccessGroupList"), exports);
|
|
103
|
-
__exportStar(require("./ErrorDetailsItem"), exports);
|
|
104
88
|
__exportStar(require("./UsersNotEnabled"), exports);
|
|
105
89
|
__exportStar(require("./DuplicateUserEmail"), exports);
|
|
106
90
|
__exportStar(require("./UserLimitReached"), exports);
|
|
107
|
-
__exportStar(require("./
|
|
108
|
-
__exportStar(require("./
|
|
91
|
+
__exportStar(require("./AccessGroup"), exports);
|
|
92
|
+
__exportStar(require("./AccessGroupList"), exports);
|
|
93
|
+
__exportStar(require("./SkuPropertyListEnumItem"), exports);
|
|
94
|
+
__exportStar(require("./SkuPropertyList"), exports);
|
|
109
95
|
__exportStar(require("./ProductFieldDataTaxCategory"), exports);
|
|
110
96
|
__exportStar(require("./ProductFieldDataEcProductType"), exports);
|
|
111
97
|
__exportStar(require("./ProductFieldData"), exports);
|
|
112
98
|
__exportStar(require("./Product"), exports);
|
|
99
|
+
__exportStar(require("./SkuValueList"), exports);
|
|
113
100
|
__exportStar(require("./SkuFieldDataPrice"), exports);
|
|
114
101
|
__exportStar(require("./SkuFieldDataCompareAtPrice"), exports);
|
|
115
102
|
__exportStar(require("./SkuFieldDataEcSkuBillingMethod"), exports);
|
|
@@ -119,19 +106,7 @@ __exportStar(require("./SkuFieldData"), exports);
|
|
|
119
106
|
__exportStar(require("./Sku"), exports);
|
|
120
107
|
__exportStar(require("./ProductAndSkUs"), exports);
|
|
121
108
|
__exportStar(require("./ProductAndSkUsList"), exports);
|
|
122
|
-
__exportStar(require("./
|
|
123
|
-
__exportStar(require("./SkuPropertyList"), exports);
|
|
124
|
-
__exportStar(require("./SkuValueList"), exports);
|
|
125
|
-
__exportStar(require("./OrderStatus"), exports);
|
|
126
|
-
__exportStar(require("./OrderDisputeLastStatus"), exports);
|
|
127
|
-
__exportStar(require("./OrderCustomerInfo"), exports);
|
|
128
|
-
__exportStar(require("./OrderMetadata"), exports);
|
|
129
|
-
__exportStar(require("./OrderTotalsExtrasItemType"), exports);
|
|
130
|
-
__exportStar(require("./OrderTotalsExtrasItem"), exports);
|
|
131
|
-
__exportStar(require("./OrderTotals"), exports);
|
|
132
|
-
__exportStar(require("./OrderDownloadFilesItem"), exports);
|
|
133
|
-
__exportStar(require("./Order"), exports);
|
|
134
|
-
__exportStar(require("./OrderList"), exports);
|
|
109
|
+
__exportStar(require("./PublishStatus"), exports);
|
|
135
110
|
__exportStar(require("./OrderPrice"), exports);
|
|
136
111
|
__exportStar(require("./OrderAddressType"), exports);
|
|
137
112
|
__exportStar(require("./OrderAddressJapanType"), exports);
|
|
@@ -145,9 +120,16 @@ __exportStar(require("./StripeCardBrand"), exports);
|
|
|
145
120
|
__exportStar(require("./StripeCardExpires"), exports);
|
|
146
121
|
__exportStar(require("./StripeCard"), exports);
|
|
147
122
|
__exportStar(require("./PaypalDetails"), exports);
|
|
123
|
+
__exportStar(require("./OrderStatus"), exports);
|
|
124
|
+
__exportStar(require("./OrderDisputeLastStatus"), exports);
|
|
125
|
+
__exportStar(require("./OrderCustomerInfo"), exports);
|
|
126
|
+
__exportStar(require("./OrderMetadata"), exports);
|
|
127
|
+
__exportStar(require("./OrderTotalsExtrasItemType"), exports);
|
|
128
|
+
__exportStar(require("./OrderTotalsExtrasItem"), exports);
|
|
129
|
+
__exportStar(require("./OrderTotals"), exports);
|
|
130
|
+
__exportStar(require("./OrderDownloadFilesItem"), exports);
|
|
131
|
+
__exportStar(require("./Order"), exports);
|
|
132
|
+
__exportStar(require("./OrderList"), exports);
|
|
148
133
|
__exportStar(require("./InventoryItemInventoryType"), exports);
|
|
149
134
|
__exportStar(require("./InventoryItem"), exports);
|
|
150
135
|
__exportStar(require("./EcommerceSettings"), exports);
|
|
151
|
-
__exportStar(require("./Error_"), exports);
|
|
152
|
-
__exportStar(require("./InvalidDomain"), exports);
|
|
153
|
-
__exportStar(require("./NoDomains"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import { Sites } from "./api/resources/sites/client/Client";
|
|
|
8
8
|
import { Collections } from "./api/resources/collections/client/Client";
|
|
9
9
|
import { Pages } from "./api/resources/pages/client/Client";
|
|
10
10
|
import { Scripts } from "./api/resources/scripts/client/Client";
|
|
11
|
-
import { Webhooks } from "./api/resources/webhooks/client/Client";
|
|
12
11
|
import { Assets } from "./api/resources/assets/client/Client";
|
|
12
|
+
import { Webhooks } from "./api/resources/webhooks/client/Client";
|
|
13
13
|
import { Forms } from "./api/resources/forms/client/Client";
|
|
14
14
|
import { Users } from "./api/resources/users/client/Client";
|
|
15
15
|
import { AccessGroups } from "./api/resources/accessGroups/client/Client";
|
|
@@ -40,10 +40,10 @@ export declare class WebflowClient {
|
|
|
40
40
|
get pages(): Pages;
|
|
41
41
|
protected _scripts: Scripts | undefined;
|
|
42
42
|
get scripts(): Scripts;
|
|
43
|
-
protected _webhooks: Webhooks | undefined;
|
|
44
|
-
get webhooks(): Webhooks;
|
|
45
43
|
protected _assets: Assets | undefined;
|
|
46
44
|
get assets(): Assets;
|
|
45
|
+
protected _webhooks: Webhooks | undefined;
|
|
46
|
+
get webhooks(): Webhooks;
|
|
47
47
|
protected _forms: Forms | undefined;
|
|
48
48
|
get forms(): Forms;
|
|
49
49
|
protected _users: Users | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -9,8 +9,8 @@ const Client_2 = require("./api/resources/sites/client/Client");
|
|
|
9
9
|
const Client_3 = require("./api/resources/collections/client/Client");
|
|
10
10
|
const Client_4 = require("./api/resources/pages/client/Client");
|
|
11
11
|
const Client_5 = require("./api/resources/scripts/client/Client");
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
12
|
+
const Client_6 = require("./api/resources/assets/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/webhooks/client/Client");
|
|
14
14
|
const Client_8 = require("./api/resources/forms/client/Client");
|
|
15
15
|
const Client_9 = require("./api/resources/users/client/Client");
|
|
16
16
|
const Client_10 = require("./api/resources/accessGroups/client/Client");
|
|
@@ -42,13 +42,13 @@ class WebflowClient {
|
|
|
42
42
|
var _a;
|
|
43
43
|
return ((_a = this._scripts) !== null && _a !== void 0 ? _a : (this._scripts = new Client_5.Scripts(this._options)));
|
|
44
44
|
}
|
|
45
|
-
get
|
|
45
|
+
get assets() {
|
|
46
46
|
var _a;
|
|
47
|
-
return ((_a = this.
|
|
47
|
+
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_6.Assets(this._options)));
|
|
48
48
|
}
|
|
49
|
-
get
|
|
49
|
+
get webhooks() {
|
|
50
50
|
var _a;
|
|
51
|
-
return ((_a = this.
|
|
51
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_7.Webhooks(this._options)));
|
|
52
52
|
}
|
|
53
53
|
get forms() {
|
|
54
54
|
var _a;
|