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
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.OrdersListRequestStatus = void 0;
|
|
7
|
-
exports.OrdersListRequestStatus = {
|
|
8
|
-
Pending: "pending",
|
|
9
|
-
Refunded: "refunded",
|
|
10
|
-
DisputeLost: "dispute-lost",
|
|
11
|
-
Fulfilled: "fulfilled",
|
|
12
|
-
Disputed: "disputed",
|
|
13
|
-
Unfulfilled: "unfulfilled",
|
|
14
|
-
};
|
package/api/types/Fields.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Webflow from "..";
|
|
5
|
-
export interface FormSubmissionTrigger {
|
|
6
|
-
/** The type of event that triggered the request */
|
|
7
|
-
triggerType?: string;
|
|
8
|
-
/** The payload of data sent from Webflow */
|
|
9
|
-
payload?: Webflow.FormSubmissionTriggerPayload;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The payload of data sent from Webflow
|
|
6
|
-
*/
|
|
7
|
-
export interface FormSubmissionTriggerPayload {
|
|
8
|
-
/** The name of the form */
|
|
9
|
-
name?: string;
|
|
10
|
-
/** The id of the site that the form was submitted from */
|
|
11
|
-
siteId?: string;
|
|
12
|
-
/** The data submitted in the form */
|
|
13
|
-
data?: Record<string, unknown>;
|
|
14
|
-
/** The timestamp the form was submitted */
|
|
15
|
-
submittedAt?: string;
|
|
16
|
-
/** The id of the form submission */
|
|
17
|
-
formId?: string;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page is created
|
|
6
|
-
*/
|
|
7
|
-
export interface PageCreatedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
createdAt?: Date;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page is deleted
|
|
6
|
-
*/
|
|
7
|
-
export interface PageDeletedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
deletedAt?: Date;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page's metadata is updated
|
|
6
|
-
*/
|
|
7
|
-
export interface PageMetadataUpdatedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
lastUpdated?: Date;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Webflow from "..";
|
|
5
|
-
/**
|
|
6
|
-
* The SEO and/or OpenGraph information to include in the page's details
|
|
7
|
-
*/
|
|
8
|
-
export interface PageSeoGraphData {
|
|
9
|
-
seo?: Webflow.PageSeoGraphDataSeo;
|
|
10
|
-
openGraph?: Webflow.PageSeoGraphDataOpenGraph;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A list of items published
|
|
6
|
-
*/
|
|
7
|
-
export interface PublishedItems {
|
|
8
|
-
/** Array of published item ids */
|
|
9
|
-
publishedItemIds?: string[];
|
|
10
|
-
/** Array of errors */
|
|
11
|
-
errors?: string[];
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A list of items removed
|
|
6
|
-
*/
|
|
7
|
-
export interface RemovedItems {
|
|
8
|
-
/** Array of deleted item ids */
|
|
9
|
-
deletedItemIds?: string[];
|
|
10
|
-
/** Array of errors */
|
|
11
|
-
errors?: string[];
|
|
12
|
-
}
|
package/api/types/SitePublish.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The payload of data sent from Webflow
|
|
6
|
-
*/
|
|
7
|
-
export interface SitePublishPayload {
|
|
8
|
-
/** The site id that was published */
|
|
9
|
-
site?: string;
|
|
10
|
-
/** The timestamp of the publish event */
|
|
11
|
-
publishTime?: Date;
|
|
12
|
-
/** The domains that were published */
|
|
13
|
-
domains?: string[];
|
|
14
|
-
/** The name and id of the user who published the site */
|
|
15
|
-
publishedBy?: Record<string, unknown>;
|
|
16
|
-
}
|
package/api/types/Sites.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Webflow from "..";
|
|
5
|
-
export interface UserWebhookPayload {
|
|
6
|
-
/** The type of event that triggered the request */
|
|
7
|
-
triggerType?: Webflow.UserWebhookPayloadTriggerType;
|
|
8
|
-
payload?: Webflow.User;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The type of event that triggered the request
|
|
6
|
-
*/
|
|
7
|
-
export declare type UserWebhookPayloadTriggerType = "user_account_added" | "user_account_updated" | "user_account_deleted";
|
|
8
|
-
export declare const UserWebhookPayloadTriggerType: {
|
|
9
|
-
readonly UserAccountAdded: "user_account_added";
|
|
10
|
-
readonly UserAccountUpdated: "user_account_updated";
|
|
11
|
-
readonly UserAccountDeleted: "user_account_deleted";
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.UserWebhookPayloadTriggerType = void 0;
|
|
7
|
-
exports.UserWebhookPayloadTriggerType = {
|
|
8
|
-
UserAccountAdded: "user_account_added",
|
|
9
|
-
UserAccountUpdated: "user_account_updated",
|
|
10
|
-
UserAccountDeleted: "user_account_deleted",
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type OrdersListRequestStatus = "pending" | "refunded" | "dispute-lost" | "fulfilled" | "disputed" | "unfulfilled";
|
|
5
|
-
export declare const OrdersListRequestStatus: {
|
|
6
|
-
readonly Pending: "pending";
|
|
7
|
-
readonly Refunded: "refunded";
|
|
8
|
-
readonly DisputeLost: "dispute-lost";
|
|
9
|
-
readonly Fulfilled: "fulfilled";
|
|
10
|
-
readonly Disputed: "disputed";
|
|
11
|
-
readonly Unfulfilled: "unfulfilled";
|
|
12
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.OrdersListRequestStatus = void 0;
|
|
7
|
-
exports.OrdersListRequestStatus = {
|
|
8
|
-
Pending: "pending",
|
|
9
|
-
Refunded: "refunded",
|
|
10
|
-
DisputeLost: "dispute-lost",
|
|
11
|
-
Fulfilled: "fulfilled",
|
|
12
|
-
Disputed: "disputed",
|
|
13
|
-
Unfulfilled: "unfulfilled",
|
|
14
|
-
};
|
package/dist/api/types/Assets.js
DELETED
package/dist/api/types/Fields.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Webflow from "..";
|
|
5
|
-
export interface FormSubmissionTrigger {
|
|
6
|
-
/** The type of event that triggered the request */
|
|
7
|
-
triggerType?: string;
|
|
8
|
-
/** The payload of data sent from Webflow */
|
|
9
|
-
payload?: Webflow.FormSubmissionTriggerPayload;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The payload of data sent from Webflow
|
|
6
|
-
*/
|
|
7
|
-
export interface FormSubmissionTriggerPayload {
|
|
8
|
-
/** The name of the form */
|
|
9
|
-
name?: string;
|
|
10
|
-
/** The id of the site that the form was submitted from */
|
|
11
|
-
siteId?: string;
|
|
12
|
-
/** The data submitted in the form */
|
|
13
|
-
data?: Record<string, unknown>;
|
|
14
|
-
/** The timestamp the form was submitted */
|
|
15
|
-
submittedAt?: string;
|
|
16
|
-
/** The id of the form submission */
|
|
17
|
-
formId?: string;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page is created
|
|
6
|
-
*/
|
|
7
|
-
export interface PageCreatedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
createdAt?: Date;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page is deleted
|
|
6
|
-
*/
|
|
7
|
-
export interface PageDeletedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
deletedAt?: Date;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The Webhook payload for when a Page's metadata is updated
|
|
6
|
-
*/
|
|
7
|
-
export interface PageMetadataUpdatedWebhook {
|
|
8
|
-
siteId?: string;
|
|
9
|
-
pageId?: string;
|
|
10
|
-
pageTitle?: string;
|
|
11
|
-
lastUpdated?: Date;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Webflow from "..";
|
|
5
|
-
/**
|
|
6
|
-
* The SEO and/or OpenGraph information to include in the page's details
|
|
7
|
-
*/
|
|
8
|
-
export interface PageSeoGraphData {
|
|
9
|
-
seo?: Webflow.PageSeoGraphDataSeo;
|
|
10
|
-
openGraph?: Webflow.PageSeoGraphDataOpenGraph;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* A list of items published
|
|
6
|
-
*/
|
|
7
|
-
export interface PublishedItems {
|
|
8
|
-
/** Array of published item ids */
|
|
9
|
-
publishedItemIds?: string[];
|
|
10
|
-
/** Array of errors */
|
|
11
|
-
errors?: string[];
|
|
12
|
-
}
|