webflow-api 3.2.1 → 3.2.2
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/.mock/definition/__package__.yml +20 -20
- package/.mock/definition/accessGroups.yml +12 -5
- package/.mock/definition/assets.yml +7 -4
- package/.mock/definition/collections/items.yml +14 -16
- package/.mock/definition/collections.yml +3 -0
- package/.mock/definition/comments.yml +1 -0
- package/.mock/definition/components.yml +16 -12
- package/.mock/definition/forms.yml +15 -88
- package/.mock/definition/items.yml +1 -0
- package/.mock/definition/orders.yml +82 -4
- package/.mock/definition/pages.yml +17 -8
- package/.mock/definition/products.yml +4 -4
- package/.mock/definition/scripts.yml +5 -1
- package/.mock/definition/sites/activityLogs.yml +8 -4
- package/.mock/definition/sites/comments.yml +14 -12
- package/.mock/definition/sites/forms.yml +316 -0
- package/.mock/definition/sites/scripts.yml +5 -4
- package/.mock/definition/sites.yml +24 -0
- package/.mock/definition/users.yml +66 -14
- package/.mock/definition/webhooks.yml +4 -0
- package/.mock/definition/workspaces/auditLogs.yml +4 -4
- package/.mock/fern.config.json +1 -1
- package/Client.js +2 -2
- package/LICENSE +21 -0
- package/api/resources/accessGroups/client/Client.d.ts +4 -2
- package/api/resources/accessGroups/client/Client.js +4 -2
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
- package/api/resources/assets/client/Client.d.ts +2 -2
- package/api/resources/assets/client/Client.js +2 -2
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +10 -12
- package/api/resources/collections/resources/items/client/Client.js +10 -12
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/components/client/Client.d.ts +6 -6
- package/api/resources/components/client/Client.js +6 -6
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/api/resources/forms/client/Client.d.ts +4 -31
- package/api/resources/forms/client/Client.js +4 -131
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/index.d.ts +0 -1
- package/api/resources/orders/client/Client.d.ts +2 -2
- package/api/resources/orders/client/Client.js +2 -2
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/api/resources/pages/client/Client.d.ts +4 -4
- package/api/resources/pages/client/Client.js +4 -4
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/api/resources/products/client/Client.d.ts +2 -2
- package/api/resources/products/client/Client.js +2 -2
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/api/resources/sites/client/Client.d.ts +3 -0
- package/api/resources/sites/client/Client.js +5 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
- package/api/resources/sites/resources/comments/client/Client.js +6 -6
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
- package/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/api/resources/sites/resources/forms/client/index.js +17 -0
- package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
- package/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/api/resources/sites/resources/forms/index.js +17 -0
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/scripts/client/Client.js +2 -2
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/api/resources/users/client/Client.d.ts +12 -2
- package/api/resources/users/client/Client.js +12 -2
- package/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/Client.js +2 -2
- package/dist/api/resources/accessGroups/client/Client.d.ts +4 -2
- package/dist/api/resources/accessGroups/client/Client.js +4 -2
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
- package/dist/api/resources/assets/client/Client.d.ts +2 -2
- package/dist/api/resources/assets/client/Client.js +2 -2
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +10 -12
- package/dist/api/resources/collections/resources/items/client/Client.js +10 -12
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/components/client/Client.d.ts +6 -6
- package/dist/api/resources/components/client/Client.js +6 -6
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/Client.d.ts +4 -31
- package/dist/api/resources/forms/client/Client.js +4 -131
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/index.d.ts +0 -1
- package/dist/api/resources/orders/client/Client.d.ts +2 -2
- package/dist/api/resources/orders/client/Client.js +2 -2
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/Client.d.ts +4 -4
- package/dist/api/resources/pages/client/Client.js +4 -4
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/dist/api/resources/products/client/Client.d.ts +2 -2
- package/dist/api/resources/products/client/Client.js +2 -2
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.d.ts +3 -0
- package/dist/api/resources/sites/client/Client.js +5 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
- package/dist/api/resources/sites/resources/comments/client/Client.js +6 -6
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
- package/dist/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/dist/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/forms/index.js +17 -0
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/dist/api/resources/users/client/Client.d.ts +12 -2
- package/dist/api/resources/users/client/Client.js +12 -2
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/dist/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/index.js +17 -0
- package/dist/serialization/resources/sites/resources/index.d.ts +2 -0
- package/dist/serialization/resources/sites/resources/index.js +3 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/FormsClient.d.ts +37 -0
- package/dist/wrapper/FormsClient.js +193 -0
- package/dist/wrapper/ItemsClient.js +18 -14
- package/dist/wrapper/PagesClient.js +6 -5
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +6 -5
- package/jest.config.mjs +26 -5
- package/package.json +3 -2
- package/reference.md +458 -125
- package/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/index.js +17 -0
- package/serialization/resources/sites/resources/index.d.ts +2 -0
- package/serialization/resources/sites/resources/index.js +3 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/FormsClient.d.ts +37 -0
- package/wrapper/FormsClient.js +193 -0
- package/wrapper/ItemsClient.js +18 -14
- package/wrapper/PagesClient.js +6 -5
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +6 -5
- /package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.js +0 -0
- /package/{dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js → api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* offset: 1,
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface FormsListSubmissionsRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Offset used for pagination if the results have more than limit records
|
|
14
|
+
*/
|
|
15
|
+
offset?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
}
|
package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface FormsUpdateSubmissionRequest {
|
|
9
|
+
/** An existing **hidden field** defined on the form schema, and the corresponding value to set */
|
|
10
|
+
formSubmissionData?: Record<string, unknown>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -7,7 +7,9 @@ export * as plans from "./plans";
|
|
|
7
7
|
export * as robotsTxt from "./robotsTxt";
|
|
8
8
|
export * as activityLogs from "./activityLogs";
|
|
9
9
|
export * as scripts from "./scripts";
|
|
10
|
+
export * as forms from "./forms";
|
|
10
11
|
export * from "./wellKnown/client/requests";
|
|
11
12
|
export * from "./activityLogs/client/requests";
|
|
12
13
|
export * from "./comments/client/requests";
|
|
13
14
|
export * from "./scripts/client/requests";
|
|
15
|
+
export * from "./forms/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.scripts = exports.activityLogs = exports.robotsTxt = exports.plans = exports.redirects = exports.comments = exports.wellKnown = void 0;
|
|
39
|
+
exports.forms = exports.scripts = exports.activityLogs = exports.robotsTxt = exports.plans = exports.redirects = exports.comments = exports.wellKnown = void 0;
|
|
40
40
|
exports.wellKnown = __importStar(require("./wellKnown"));
|
|
41
41
|
__exportStar(require("./wellKnown/types"), exports);
|
|
42
42
|
exports.comments = __importStar(require("./comments"));
|
|
@@ -46,7 +46,9 @@ exports.plans = __importStar(require("./plans"));
|
|
|
46
46
|
exports.robotsTxt = __importStar(require("./robotsTxt"));
|
|
47
47
|
exports.activityLogs = __importStar(require("./activityLogs"));
|
|
48
48
|
exports.scripts = __importStar(require("./scripts"));
|
|
49
|
+
exports.forms = __importStar(require("./forms"));
|
|
49
50
|
__exportStar(require("./wellKnown/client/requests"), exports);
|
|
50
51
|
__exportStar(require("./activityLogs/client/requests"), exports);
|
|
51
52
|
__exportStar(require("./comments/client/requests"), exports);
|
|
52
53
|
__exportStar(require("./scripts/client/requests"), exports);
|
|
54
|
+
__exportStar(require("./forms/client/requests"), exports);
|
|
@@ -133,8 +133,8 @@ export declare class Scripts {
|
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
135
|
* await client.sites.scripts.listCustomCodeBlocks("580e63e98c9a982ac9b8b741", {
|
|
136
|
-
* offset: 1
|
|
137
|
-
* limit: 1
|
|
136
|
+
* offset: 1,
|
|
137
|
+
* limit: 1
|
|
138
138
|
* })
|
|
139
139
|
*/
|
|
140
140
|
listCustomCodeBlocks(siteId: string, request?: Webflow.sites.ScriptsListCustomCodeBlocksRequest, requestOptions?: Scripts.RequestOptions): core.HttpResponsePromise<Webflow.ListCustomCodeBlocks>;
|
|
@@ -422,8 +422,8 @@ class Scripts {
|
|
|
422
422
|
*
|
|
423
423
|
* @example
|
|
424
424
|
* await client.sites.scripts.listCustomCodeBlocks("580e63e98c9a982ac9b8b741", {
|
|
425
|
-
* offset: 1
|
|
426
|
-
* limit: 1
|
|
425
|
+
* offset: 1,
|
|
426
|
+
* limit: 1
|
|
427
427
|
* })
|
|
428
428
|
*/
|
|
429
429
|
listCustomCodeBlocks(siteId, request = {}, requestOptions) {
|
|
@@ -28,6 +28,8 @@ export declare class Users {
|
|
|
28
28
|
protected readonly _options: Users.Options;
|
|
29
29
|
constructor(_options?: Users.Options);
|
|
30
30
|
/**
|
|
31
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
32
|
+
*
|
|
31
33
|
* Get a list of users for a site
|
|
32
34
|
*
|
|
33
35
|
* Required scope | `users:read`
|
|
@@ -45,14 +47,16 @@ export declare class Users {
|
|
|
45
47
|
*
|
|
46
48
|
* @example
|
|
47
49
|
* await client.users.list("580e63e98c9a982ac9b8b741", {
|
|
48
|
-
* offset: 1
|
|
49
|
-
* limit: 1
|
|
50
|
+
* offset: 1,
|
|
51
|
+
* limit: 1,
|
|
50
52
|
* sort: "CreatedOn"
|
|
51
53
|
* })
|
|
52
54
|
*/
|
|
53
55
|
list(siteId: string, request?: Webflow.UsersListRequest, requestOptions?: Users.RequestOptions): core.HttpResponsePromise<Webflow.UserList>;
|
|
54
56
|
private __list;
|
|
55
57
|
/**
|
|
58
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
59
|
+
*
|
|
56
60
|
* Get a User by ID
|
|
57
61
|
*
|
|
58
62
|
* Required scope | `users:read`
|
|
@@ -74,6 +78,8 @@ export declare class Users {
|
|
|
74
78
|
get(siteId: string, userId: string, requestOptions?: Users.RequestOptions): core.HttpResponsePromise<Webflow.User>;
|
|
75
79
|
private __get;
|
|
76
80
|
/**
|
|
81
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
82
|
+
*
|
|
77
83
|
* Delete a User by ID
|
|
78
84
|
*
|
|
79
85
|
* Required scope | `users:write`
|
|
@@ -95,6 +101,8 @@ export declare class Users {
|
|
|
95
101
|
delete(siteId: string, userId: string, requestOptions?: Users.RequestOptions): core.HttpResponsePromise<void>;
|
|
96
102
|
private __delete;
|
|
97
103
|
/**
|
|
104
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
105
|
+
*
|
|
98
106
|
* Update a User by ID
|
|
99
107
|
*
|
|
100
108
|
* Required scope | `users:write`
|
|
@@ -132,6 +140,8 @@ export declare class Users {
|
|
|
132
140
|
update(siteId: string, userId: string, request: Webflow.User, requestOptions?: Users.RequestOptions): core.HttpResponsePromise<Webflow.User>;
|
|
133
141
|
private __update;
|
|
134
142
|
/**
|
|
143
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
144
|
+
*
|
|
135
145
|
* Create and invite a user with an email address.
|
|
136
146
|
*
|
|
137
147
|
* The user will be sent and invite via email, which they will need to accept in order to join paid any paid access group.
|
|
@@ -61,6 +61,8 @@ class Users {
|
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
65
|
+
*
|
|
64
66
|
* Get a list of users for a site
|
|
65
67
|
*
|
|
66
68
|
* Required scope | `users:read`
|
|
@@ -78,8 +80,8 @@ class Users {
|
|
|
78
80
|
*
|
|
79
81
|
* @example
|
|
80
82
|
* await client.users.list("580e63e98c9a982ac9b8b741", {
|
|
81
|
-
* offset: 1
|
|
82
|
-
* limit: 1
|
|
83
|
+
* offset: 1,
|
|
84
|
+
* limit: 1,
|
|
83
85
|
* sort: "CreatedOn"
|
|
84
86
|
* })
|
|
85
87
|
*/
|
|
@@ -190,6 +192,8 @@ class Users {
|
|
|
190
192
|
});
|
|
191
193
|
}
|
|
192
194
|
/**
|
|
195
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
196
|
+
*
|
|
193
197
|
* Get a User by ID
|
|
194
198
|
*
|
|
195
199
|
* Required scope | `users:read`
|
|
@@ -299,6 +303,8 @@ class Users {
|
|
|
299
303
|
});
|
|
300
304
|
}
|
|
301
305
|
/**
|
|
306
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
307
|
+
*
|
|
302
308
|
* Delete a User by ID
|
|
303
309
|
*
|
|
304
310
|
* Required scope | `users:write`
|
|
@@ -399,6 +405,8 @@ class Users {
|
|
|
399
405
|
});
|
|
400
406
|
}
|
|
401
407
|
/**
|
|
408
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
409
|
+
*
|
|
402
410
|
* Update a User by ID
|
|
403
411
|
*
|
|
404
412
|
* Required scope | `users:write`
|
|
@@ -531,6 +539,8 @@ class Users {
|
|
|
531
539
|
});
|
|
532
540
|
}
|
|
533
541
|
/**
|
|
542
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
543
|
+
*
|
|
534
544
|
* Create and invite a user with an email address.
|
|
535
545
|
*
|
|
536
546
|
* The user will be sent and invite via email, which they will need to accept in order to join paid any paid access group.
|
|
@@ -46,8 +46,8 @@ export declare class AuditLogs {
|
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* await client.workspaces.auditLogs.getWorkspaceAuditLogs("hitchhikers-workspace", {
|
|
49
|
-
* limit: 1
|
|
50
|
-
* offset: 1
|
|
49
|
+
* limit: 1,
|
|
50
|
+
* offset: 1,
|
|
51
51
|
* sortOrder: "asc",
|
|
52
52
|
* eventType: "user_access",
|
|
53
53
|
* from: new Date("2025-06-22T16:00:31.000Z"),
|
|
@@ -79,8 +79,8 @@ class AuditLogs {
|
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* await client.workspaces.auditLogs.getWorkspaceAuditLogs("hitchhikers-workspace", {
|
|
82
|
-
* limit: 1
|
|
83
|
-
* offset: 1
|
|
82
|
+
* limit: 1,
|
|
83
|
+
* offset: 1,
|
|
84
84
|
* sortOrder: "asc",
|
|
85
85
|
* eventType: "user_access",
|
|
86
86
|
* from: new Date("2025-06-22T16:00:31.000Z"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as Webflow from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
export declare const FormsUpdateSubmissionRequest: core.serialization.Schema<serializers.sites.FormsUpdateSubmissionRequest.Raw, Webflow.sites.FormsUpdateSubmissionRequest>;
|
|
8
|
+
export declare namespace FormsUpdateSubmissionRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
formSubmissionData?: Record<string, unknown> | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FormsUpdateSubmissionRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
exports.FormsUpdateSubmissionRequest = core.serialization.object({
|
|
42
|
+
formSubmissionData: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormsUpdateSubmissionRequest } from "./FormsUpdateSubmissionRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormsUpdateSubmissionRequest = void 0;
|
|
4
|
+
var FormsUpdateSubmissionRequest_1 = require("./FormsUpdateSubmissionRequest");
|
|
5
|
+
Object.defineProperty(exports, "FormsUpdateSubmissionRequest", { enumerable: true, get: function () { return FormsUpdateSubmissionRequest_1.FormsUpdateSubmissionRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -36,9 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.comments = exports.wellKnown = void 0;
|
|
39
|
+
exports.forms = exports.comments = exports.wellKnown = void 0;
|
|
40
40
|
exports.wellKnown = __importStar(require("./wellKnown"));
|
|
41
41
|
__exportStar(require("./wellKnown/types"), exports);
|
|
42
42
|
exports.comments = __importStar(require("./comments"));
|
|
43
43
|
__exportStar(require("./comments/types"), exports);
|
|
44
44
|
__exportStar(require("./wellKnown/client/requests"), exports);
|
|
45
|
+
exports.forms = __importStar(require("./forms"));
|
|
46
|
+
__exportStar(require("./forms/client/requests"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.2.
|
|
1
|
+
export declare const SDK_VERSION = "3.2.2";
|
package/dist/version.js
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Forms } from "../api/resources/forms/client/Client";
|
|
2
|
+
import * as core from "../core";
|
|
3
|
+
import * as Webflow from "../api";
|
|
4
|
+
declare module "../api/resources/forms/client/Client" {
|
|
5
|
+
namespace Forms { }
|
|
6
|
+
}
|
|
7
|
+
export declare class Client extends Forms {
|
|
8
|
+
protected readonly _options: Forms.Options;
|
|
9
|
+
constructor(_options: Forms.Options);
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use `client.sites.forms.listSubmissionsBySite` instead.
|
|
12
|
+
*
|
|
13
|
+
* List form submissions for a given site. This endpoint differs from the existing [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) by accepting `siteId` as a path parameter and `elementId` as a query parameter. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list).
|
|
14
|
+
*
|
|
15
|
+
* Required scope | `forms:read`
|
|
16
|
+
*
|
|
17
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
18
|
+
* @param {Webflow.FormsListSubmissionsBySiteRequest} request
|
|
19
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
|
+
*
|
|
21
|
+
* @throws {@link Webflow.BadRequestError}
|
|
22
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
23
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
24
|
+
* @throws {@link Webflow.NotFoundError}
|
|
25
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
26
|
+
* @throws {@link Webflow.InternalServerError}
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
|
|
30
|
+
* elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
|
|
31
|
+
* offset: 1.1,
|
|
32
|
+
* limit: 1.1
|
|
33
|
+
* })
|
|
34
|
+
*/
|
|
35
|
+
listSubmissionsBySite(siteId: string, request?: Webflow.sites.FormsListSubmissionsBySiteRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
|
|
36
|
+
private __listSubmissionsBySite;
|
|
37
|
+
}
|