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.
Files changed (194) hide show
  1. package/.mock/definition/__package__.yml +20 -20
  2. package/.mock/definition/accessGroups.yml +12 -5
  3. package/.mock/definition/assets.yml +7 -4
  4. package/.mock/definition/collections/items.yml +14 -16
  5. package/.mock/definition/collections.yml +3 -0
  6. package/.mock/definition/comments.yml +1 -0
  7. package/.mock/definition/components.yml +16 -12
  8. package/.mock/definition/forms.yml +15 -88
  9. package/.mock/definition/items.yml +1 -0
  10. package/.mock/definition/orders.yml +82 -4
  11. package/.mock/definition/pages.yml +17 -8
  12. package/.mock/definition/products.yml +4 -4
  13. package/.mock/definition/scripts.yml +5 -1
  14. package/.mock/definition/sites/activityLogs.yml +8 -4
  15. package/.mock/definition/sites/comments.yml +14 -12
  16. package/.mock/definition/sites/forms.yml +316 -0
  17. package/.mock/definition/sites/scripts.yml +5 -4
  18. package/.mock/definition/sites.yml +24 -0
  19. package/.mock/definition/users.yml +66 -14
  20. package/.mock/definition/webhooks.yml +4 -0
  21. package/.mock/definition/workspaces/auditLogs.yml +4 -4
  22. package/.mock/fern.config.json +1 -1
  23. package/Client.js +2 -2
  24. package/LICENSE +21 -0
  25. package/api/resources/accessGroups/client/Client.d.ts +4 -2
  26. package/api/resources/accessGroups/client/Client.js +4 -2
  27. package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
  28. package/api/resources/assets/client/Client.d.ts +2 -2
  29. package/api/resources/assets/client/Client.js +2 -2
  30. package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  31. package/api/resources/collections/resources/items/client/Client.d.ts +10 -12
  32. package/api/resources/collections/resources/items/client/Client.js +10 -12
  33. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  34. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  35. package/api/resources/components/client/Client.d.ts +6 -6
  36. package/api/resources/components/client/Client.js +6 -6
  37. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  38. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  39. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  40. package/api/resources/forms/client/Client.d.ts +4 -31
  41. package/api/resources/forms/client/Client.js +4 -131
  42. package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  43. package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  44. package/api/resources/forms/client/requests/index.d.ts +0 -1
  45. package/api/resources/orders/client/Client.d.ts +2 -2
  46. package/api/resources/orders/client/Client.js +2 -2
  47. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  48. package/api/resources/pages/client/Client.d.ts +4 -4
  49. package/api/resources/pages/client/Client.js +4 -4
  50. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  51. package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  52. package/api/resources/products/client/Client.d.ts +2 -2
  53. package/api/resources/products/client/Client.js +2 -2
  54. package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  55. package/api/resources/sites/client/Client.d.ts +3 -0
  56. package/api/resources/sites/client/Client.js +5 -0
  57. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
  58. package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  59. package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  60. package/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
  61. package/api/resources/sites/resources/comments/client/Client.js +6 -6
  62. package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  63. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  64. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  65. package/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
  66. package/api/resources/sites/resources/forms/client/Client.js +662 -0
  67. package/api/resources/sites/resources/forms/client/index.d.ts +2 -0
  68. package/api/resources/sites/resources/forms/client/index.js +17 -0
  69. package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  70. package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
  71. package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
  72. package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
  73. package/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
  74. package/api/resources/sites/resources/forms/client/requests/index.js +2 -0
  75. package/api/resources/sites/resources/forms/index.d.ts +1 -0
  76. package/api/resources/sites/resources/forms/index.js +17 -0
  77. package/api/resources/sites/resources/index.d.ts +2 -0
  78. package/api/resources/sites/resources/index.js +3 -1
  79. package/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
  80. package/api/resources/sites/resources/scripts/client/Client.js +2 -2
  81. package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  82. package/api/resources/users/client/Client.d.ts +12 -2
  83. package/api/resources/users/client/Client.js +12 -2
  84. package/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
  85. package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
  86. package/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
  87. package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  88. package/dist/Client.js +2 -2
  89. package/dist/api/resources/accessGroups/client/Client.d.ts +4 -2
  90. package/dist/api/resources/accessGroups/client/Client.js +4 -2
  91. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
  92. package/dist/api/resources/assets/client/Client.d.ts +2 -2
  93. package/dist/api/resources/assets/client/Client.js +2 -2
  94. package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  95. package/dist/api/resources/collections/resources/items/client/Client.d.ts +10 -12
  96. package/dist/api/resources/collections/resources/items/client/Client.js +10 -12
  97. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  98. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  99. package/dist/api/resources/components/client/Client.d.ts +6 -6
  100. package/dist/api/resources/components/client/Client.js +6 -6
  101. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  102. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  103. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  104. package/dist/api/resources/forms/client/Client.d.ts +4 -31
  105. package/dist/api/resources/forms/client/Client.js +4 -131
  106. package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  107. package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  108. package/dist/api/resources/forms/client/requests/index.d.ts +0 -1
  109. package/dist/api/resources/orders/client/Client.d.ts +2 -2
  110. package/dist/api/resources/orders/client/Client.js +2 -2
  111. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  112. package/dist/api/resources/pages/client/Client.d.ts +4 -4
  113. package/dist/api/resources/pages/client/Client.js +4 -4
  114. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  115. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  116. package/dist/api/resources/products/client/Client.d.ts +2 -2
  117. package/dist/api/resources/products/client/Client.js +2 -2
  118. package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  119. package/dist/api/resources/sites/client/Client.d.ts +3 -0
  120. package/dist/api/resources/sites/client/Client.js +5 -0
  121. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
  122. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  123. package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  124. package/dist/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
  125. package/dist/api/resources/sites/resources/comments/client/Client.js +6 -6
  126. package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  127. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  128. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  129. package/dist/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
  130. package/dist/api/resources/sites/resources/forms/client/Client.js +662 -0
  131. package/dist/api/resources/sites/resources/forms/client/index.d.ts +2 -0
  132. package/dist/api/resources/sites/resources/forms/client/index.js +17 -0
  133. package/dist/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  134. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
  135. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
  136. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js +5 -0
  137. package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
  138. package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
  139. package/dist/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
  140. package/dist/api/resources/sites/resources/forms/client/requests/index.js +2 -0
  141. package/dist/api/resources/sites/resources/forms/index.d.ts +1 -0
  142. package/dist/api/resources/sites/resources/forms/index.js +17 -0
  143. package/dist/api/resources/sites/resources/index.d.ts +2 -0
  144. package/dist/api/resources/sites/resources/index.js +3 -1
  145. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
  146. package/dist/api/resources/sites/resources/scripts/client/Client.js +2 -2
  147. package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  148. package/dist/api/resources/users/client/Client.d.ts +12 -2
  149. package/dist/api/resources/users/client/Client.js +12 -2
  150. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
  151. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
  152. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
  153. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  154. package/dist/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
  155. package/dist/serialization/resources/sites/resources/forms/client/index.js +17 -0
  156. package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
  157. package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
  158. package/dist/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
  159. package/dist/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
  160. package/dist/serialization/resources/sites/resources/forms/index.d.ts +1 -0
  161. package/dist/serialization/resources/sites/resources/forms/index.js +17 -0
  162. package/dist/serialization/resources/sites/resources/index.d.ts +2 -0
  163. package/dist/serialization/resources/sites/resources/index.js +3 -1
  164. package/dist/version.d.ts +1 -1
  165. package/dist/version.js +1 -1
  166. package/dist/wrapper/FormsClient.d.ts +37 -0
  167. package/dist/wrapper/FormsClient.js +193 -0
  168. package/dist/wrapper/ItemsClient.js +18 -14
  169. package/dist/wrapper/PagesClient.js +6 -5
  170. package/dist/wrapper/WebflowClient.d.ts +3 -0
  171. package/dist/wrapper/WebflowClient.js +6 -5
  172. package/jest.config.mjs +26 -5
  173. package/package.json +3 -2
  174. package/reference.md +458 -125
  175. package/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
  176. package/serialization/resources/sites/resources/forms/client/index.js +17 -0
  177. package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
  178. package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
  179. package/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
  180. package/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
  181. package/serialization/resources/sites/resources/forms/index.d.ts +1 -0
  182. package/serialization/resources/sites/resources/forms/index.js +17 -0
  183. package/serialization/resources/sites/resources/index.d.ts +2 -0
  184. package/serialization/resources/sites/resources/index.js +3 -1
  185. package/version.d.ts +1 -1
  186. package/version.js +1 -1
  187. package/wrapper/FormsClient.d.ts +37 -0
  188. package/wrapper/FormsClient.js +193 -0
  189. package/wrapper/ItemsClient.js +18 -14
  190. package/wrapper/PagesClient.js +6 -5
  191. package/wrapper/WebflowClient.d.ts +3 -0
  192. package/wrapper/WebflowClient.js +6 -5
  193. /package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.js +0 -0
  194. /package/{dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js → api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
@@ -0,0 +1,316 @@
1
+ imports:
2
+ root: ../__package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ list-submissions-by-site:
8
+ path: /sites/{site_id}/form_submissions
9
+ method: GET
10
+ auth:
11
+ - OAuth2:
12
+ - forms:read
13
+ docs: >
14
+ List all form submissions for a given site with the ability to filter
15
+ submissions by a centralized `elementId`.
16
+
17
+
18
+ Add `elementId` when you want to filter form submissions to a specific
19
+ form in a site. You can get the `elementId` from the [List forms
20
+ endpoint](/data/reference/forms/forms/list) (displayed as
21
+ `formElementId` in the response).
22
+
23
+
24
+ <Note title="Forms in components">
25
+
26
+ When a form is used in a Webflow component definition, each instance of
27
+ the component will yield a unique form. Adding the `elementId` in this
28
+ request ensures this API response includes all submissions from that
29
+ core form, wherever that form is used in instantiated components.
30
+
31
+ </Note>
32
+
33
+
34
+ Use the [List Form Submissions
35
+ endpoint](/data/reference/forms/form-submissions/list-submissions) to
36
+ list form submissions for a given form ID.
37
+
38
+
39
+ Required scope | `forms:read`
40
+ source:
41
+ openapi: ../../../openapi/referenced-specs/v2.yml
42
+ path-parameters:
43
+ site_id:
44
+ type: string
45
+ docs: Unique identifier for a Site
46
+ display-name: List Form Submissions by Site
47
+ request:
48
+ name: FormsListSubmissionsBySiteRequest
49
+ query-parameters:
50
+ elementId:
51
+ type: optional<string>
52
+ docs: Identifier for an element
53
+ offset:
54
+ type: optional<integer>
55
+ docs: >-
56
+ Offset used for pagination if the results have more than limit
57
+ records
58
+ limit:
59
+ type: optional<integer>
60
+ docs: 'Maximum number of records to be returned (max limit: 100)'
61
+ response:
62
+ docs: Request was successful
63
+ type: root.FormSubmissionList
64
+ status-code: 200
65
+ errors:
66
+ - root.BadRequestError
67
+ - root.UnauthorizedError
68
+ - root.ForbiddenError
69
+ - root.NotFoundError
70
+ - root.TooManyRequestsError
71
+ - root.InternalServerError
72
+ examples:
73
+ - path-parameters:
74
+ site_id: 580e63e98c9a982ac9b8b741
75
+ query-parameters:
76
+ elementId: 18259716-3e5a-646a-5f41-5dc4b9405aa0
77
+ offset: 1
78
+ limit: 1
79
+ response:
80
+ body:
81
+ formSubmissions:
82
+ - id: 6321ca84df3949bfc6752327
83
+ displayName: Sample Form
84
+ siteId: 62749158efef318abc8d5a0f
85
+ workspaceId: 62749158efef318abc8d5a0f
86
+ dateSubmitted: '2022-09-14T12:35:16Z'
87
+ formResponse:
88
+ First Name: Arthur
89
+ Last Name: Dent
90
+ - id: 660d64fabf6e0a0d4edab981
91
+ displayName: Sample Form
92
+ siteId: 62749158efef318abc8d5a0f
93
+ workspaceId: 62749158efef318abc8d5a0f
94
+ dateSubmitted: '2022-09-14T12:35:16Z'
95
+ formResponse:
96
+ First Name: Ford
97
+ Last Name: Prefect
98
+ pagination:
99
+ limit: 25
100
+ offset: 0
101
+ total: 2
102
+ list-submissions:
103
+ path: /sites/{site_id}/forms/{form_id}/submissions
104
+ method: GET
105
+ auth:
106
+ - OAuth2:
107
+ - forms:read
108
+ docs: >
109
+ List form submissions for a given form ID within a specific site.
110
+
111
+
112
+ Use the [List Form Submissions by Site
113
+ endpoint](/data/reference/forms/form-submissions/list-submissions-by-site)
114
+ to list form submissions for a given site with the ability to filter by
115
+ a `formElementId`.
116
+
117
+
118
+ Required scope | `forms:read`
119
+ source:
120
+ openapi: ../../../openapi/referenced-specs/v2.yml
121
+ path-parameters:
122
+ site_id:
123
+ type: string
124
+ docs: Unique identifier for a Site
125
+ form_id:
126
+ type: string
127
+ docs: Unique identifier for a Form
128
+ display-name: List Form Submissions
129
+ request:
130
+ name: FormsListSubmissionsRequest
131
+ query-parameters:
132
+ offset:
133
+ type: optional<integer>
134
+ docs: >-
135
+ Offset used for pagination if the results have more than limit
136
+ records
137
+ limit:
138
+ type: optional<integer>
139
+ docs: 'Maximum number of records to be returned (max limit: 100)'
140
+ response:
141
+ docs: Request was successful
142
+ type: root.FormSubmissionList
143
+ status-code: 200
144
+ errors:
145
+ - root.BadRequestError
146
+ - root.UnauthorizedError
147
+ - root.ForbiddenError
148
+ - root.NotFoundError
149
+ - root.TooManyRequestsError
150
+ - root.InternalServerError
151
+ examples:
152
+ - path-parameters:
153
+ site_id: 580e63e98c9a982ac9b8b741
154
+ form_id: 580e63e98c9a982ac9b8b741
155
+ query-parameters:
156
+ offset: 1
157
+ limit: 1
158
+ response:
159
+ body:
160
+ formSubmissions:
161
+ - id: 6321ca84df3949bfc6752327
162
+ displayName: Sample Form
163
+ siteId: 62749158efef318abc8d5a0f
164
+ workspaceId: 62749158efef318abc8d5a0f
165
+ dateSubmitted: '2022-09-14T12:35:16Z'
166
+ formResponse:
167
+ First Name: Arthur
168
+ Last Name: Dent
169
+ - id: 660d64fabf6e0a0d4edab981
170
+ displayName: Sample Form
171
+ siteId: 62749158efef318abc8d5a0f
172
+ workspaceId: 62749158efef318abc8d5a0f
173
+ dateSubmitted: '2022-09-14T12:35:16Z'
174
+ formResponse:
175
+ First Name: Ford
176
+ Last Name: Prefect
177
+ pagination:
178
+ limit: 25
179
+ offset: 0
180
+ total: 2
181
+ get-submission:
182
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
183
+ method: GET
184
+ auth:
185
+ - OAuth2:
186
+ - forms:read
187
+ docs: |
188
+ Get information about a form submission within a specific site.
189
+
190
+ Required scope | `forms:read`
191
+ source:
192
+ openapi: ../../../openapi/referenced-specs/v2.yml
193
+ path-parameters:
194
+ site_id:
195
+ type: string
196
+ docs: Unique identifier for a Site
197
+ form_submission_id:
198
+ type: string
199
+ docs: Unique identifier for a Form Submission
200
+ display-name: Get Form Submission by Site
201
+ response:
202
+ docs: Request was successful
203
+ type: root.FormSubmission
204
+ status-code: 200
205
+ errors:
206
+ - root.BadRequestError
207
+ - root.UnauthorizedError
208
+ - root.ForbiddenError
209
+ - root.NotFoundError
210
+ - root.TooManyRequestsError
211
+ - root.InternalServerError
212
+ examples:
213
+ - path-parameters:
214
+ site_id: 580e63e98c9a982ac9b8b741
215
+ form_submission_id: 580e63e98c9a982ac9b8b741
216
+ response:
217
+ body:
218
+ id: 6321ca84df3949bfc6752327
219
+ displayName: Sample Form
220
+ siteId: 62749158efef318abc8d5a0f
221
+ workspaceId: 62749158efef318abc8d5a0f
222
+ dateSubmitted: '2022-09-14T12:35:16Z'
223
+ formResponse:
224
+ First Name: Arthur
225
+ Last Name: Dent
226
+ delete-submission:
227
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
228
+ method: DELETE
229
+ auth:
230
+ - OAuth2:
231
+ - forms:write
232
+ docs: |
233
+ Delete a form submission within a specific site.
234
+
235
+ Required scope | `forms:write`
236
+ source:
237
+ openapi: ../../../openapi/referenced-specs/v2.yml
238
+ path-parameters:
239
+ site_id:
240
+ type: string
241
+ docs: Unique identifier for a Site
242
+ form_submission_id:
243
+ type: string
244
+ docs: Unique identifier for a Form Submission
245
+ display-name: Delete Form Submission by Site
246
+ errors:
247
+ - root.BadRequestError
248
+ - root.UnauthorizedError
249
+ - root.ForbiddenError
250
+ - root.NotFoundError
251
+ - root.ConflictError
252
+ - root.TooManyRequestsError
253
+ - root.InternalServerError
254
+ examples:
255
+ - path-parameters:
256
+ site_id: 580e63e98c9a982ac9b8b741
257
+ form_submission_id: 580e63e98c9a982ac9b8b741
258
+ update-submission:
259
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
260
+ method: PATCH
261
+ auth:
262
+ - OAuth2:
263
+ - forms:write
264
+ docs: |
265
+ Update hidden fields on a form submission within a specific site.
266
+
267
+ Required scope | `forms:write`
268
+ source:
269
+ openapi: ../../../openapi/referenced-specs/v2.yml
270
+ path-parameters:
271
+ site_id:
272
+ type: string
273
+ docs: Unique identifier for a Site
274
+ form_submission_id:
275
+ type: string
276
+ docs: Unique identifier for a Form Submission
277
+ display-name: Modify Form Submission by Site
278
+ request:
279
+ name: FormsUpdateSubmissionRequest
280
+ body:
281
+ properties:
282
+ formSubmissionData:
283
+ type: optional<map<string, unknown>>
284
+ docs: >-
285
+ An existing **hidden field** defined on the form schema, and the
286
+ corresponding value to set
287
+ content-type: application/json
288
+ response:
289
+ docs: Request was successful
290
+ type: root.FormSubmission
291
+ status-code: 200
292
+ errors:
293
+ - root.BadRequestError
294
+ - root.UnauthorizedError
295
+ - root.ForbiddenError
296
+ - root.NotFoundError
297
+ - root.ConflictError
298
+ - root.TooManyRequestsError
299
+ - root.InternalServerError
300
+ examples:
301
+ - path-parameters:
302
+ site_id: 580e63e98c9a982ac9b8b741
303
+ form_submission_id: 580e63e98c9a982ac9b8b741
304
+ request: {}
305
+ response:
306
+ body:
307
+ id: 6321ca84df3949bfc6752327
308
+ displayName: Sample Form
309
+ siteId: 62749158efef318abc8d5a0f
310
+ workspaceId: 62749158efef318abc8d5a0f
311
+ dateSubmitted: '2022-09-14T12:35:16Z'
312
+ formResponse:
313
+ First Name: Arthur
314
+ Last Name: Dent
315
+ source:
316
+ openapi: ../../../openapi/referenced-specs/v2.yml
@@ -189,12 +189,12 @@ service:
189
189
  name: ScriptsListCustomCodeBlocksRequest
190
190
  query-parameters:
191
191
  offset:
192
- type: optional<double>
192
+ type: optional<integer>
193
193
  docs: >-
194
194
  Offset used for pagination if the results have more than limit
195
195
  records
196
196
  limit:
197
- type: optional<double>
197
+ type: optional<integer>
198
198
  docs: 'Maximum number of records to be returned (max limit: 100)'
199
199
  response:
200
200
  docs: Request was successful
@@ -210,12 +210,13 @@ service:
210
210
  - path-parameters:
211
211
  site_id: 580e63e98c9a982ac9b8b741
212
212
  query-parameters:
213
- offset: 1.1
214
- limit: 1.1
213
+ offset: 1
214
+ limit: 1
215
215
  response:
216
216
  body:
217
217
  blocks:
218
218
  - siteId: 6258612d1ee792848f805dcf
219
+ pageId: pageId
219
220
  type: site
220
221
  scripts:
221
222
  - id: chartjs
@@ -64,12 +64,34 @@ service:
64
64
  createdOn: '2024-10-15T20:24:38Z'
65
65
  displayName: The Hitchiker's Guide
66
66
  shortName: hitchikers-guide
67
+ lastPublished: '2016-10-24T19:43:17Z'
67
68
  lastUpdated: '2024-10-15T20:24:38Z'
69
+ previewUrl: >-
70
+ https://dev-assets.website-files.com/580e63e98c9a982ac9b8b741/201610241243.png
71
+ timeZone: America/Los_Angeles
68
72
  parentFolderId: 670ece123598db72d9648be1
69
73
  customDomains:
70
74
  - id: 589a331aa51e760df7ccb89d
71
75
  url: test-api-domain.com
72
76
  lastPublished: '2022-12-07T16:51:37Z'
77
+ locales:
78
+ primary:
79
+ id: 653fd9af6a07fc9cfd7a5e57
80
+ cmsLocaleId: 653ad57de882f528b32e810e
81
+ enabled: false
82
+ displayName: English (United States)
83
+ displayImageId: displayImageId
84
+ redirect: true
85
+ subdirectory: ''
86
+ tag: en-US
87
+ secondary:
88
+ - id: 653fd9af6a07fc9cfd7a5e57
89
+ cmsLocaleId: 653ad57de882f528b32e810e
90
+ enabled: false
91
+ displayName: English (United States)
92
+ redirect: true
93
+ subdirectory: ''
94
+ tag: en-US
73
95
  dataCollectionEnabled: true
74
96
  dataCollectionType: always
75
97
  list:
@@ -148,6 +170,7 @@ service:
148
170
  previewUrl: >-
149
171
  https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png
150
172
  timeZone: DeepSpace/Depression
173
+ parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
151
174
  customDomains:
152
175
  - id: 589a331aa51e760df7ccb89f
153
176
  url: marvin.blog
@@ -181,6 +204,7 @@ service:
181
204
  previewUrl: >-
182
205
  https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png
183
206
  timeZone: Vogsphere/PoetryHall
207
+ parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
184
208
  customDomains:
185
209
  - id: 589a331aa51e760df7ccb8a0
186
210
  url: vogonpoetry.galaxy
@@ -183,9 +183,15 @@ service:
183
183
  auth:
184
184
  - OAuth2:
185
185
  - users:read
186
- docs: |
186
+ docs: >
187
+ <Warning>As of **January 29, 2026**, User Accounts functionality has
188
+ been disabled on all Webflow sites. This endpoint is no longer
189
+ available.</Warning>
190
+
191
+
187
192
  Get a list of users for a site
188
193
 
194
+
189
195
  Required scope | `users:read`
190
196
  source:
191
197
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -198,12 +204,12 @@ service:
198
204
  name: UsersListRequest
199
205
  query-parameters:
200
206
  offset:
201
- type: optional<double>
207
+ type: optional<integer>
202
208
  docs: >-
203
209
  Offset used for pagination if the results have more than limit
204
210
  records
205
211
  limit:
206
- type: optional<double>
212
+ type: optional<integer>
207
213
  docs: 'Maximum number of records to be returned (max limit: 100)'
208
214
  sort:
209
215
  type: optional<UsersListRequestSort>
@@ -217,6 +223,7 @@ service:
217
223
  docs: Request was successful
218
224
  type: root.UserList
219
225
  status-code: 200
226
+ availability: deprecated
220
227
  errors:
221
228
  - root.BadRequestError
222
229
  - root.UnauthorizedError
@@ -228,8 +235,8 @@ service:
228
235
  - path-parameters:
229
236
  site_id: 580e63e98c9a982ac9b8b741
230
237
  query-parameters:
231
- offset: 1.1
232
- limit: 1.1
238
+ offset: 1
239
+ limit: 1
233
240
  sort: CreatedOn
234
241
  response:
235
242
  body:
@@ -294,9 +301,15 @@ service:
294
301
  auth:
295
302
  - OAuth2:
296
303
  - users:read
297
- docs: |
304
+ docs: >
305
+ <Warning>As of **January 29, 2026**, User Accounts functionality has
306
+ been disabled on all Webflow sites. This endpoint is no longer
307
+ available.</Warning>
308
+
309
+
298
310
  Get a User by ID
299
311
 
312
+
300
313
  Required scope | `users:read`
301
314
  source:
302
315
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -312,6 +325,7 @@ service:
312
325
  docs: Request was successful
313
326
  type: root.User
314
327
  status-code: 200
328
+ availability: deprecated
315
329
  errors:
316
330
  - root.BadRequestError
317
331
  - root.UnauthorizedError
@@ -348,9 +362,15 @@ service:
348
362
  auth:
349
363
  - OAuth2:
350
364
  - users:write
351
- docs: |
365
+ docs: >
366
+ <Warning>As of **January 29, 2026**, User Accounts functionality has
367
+ been disabled on all Webflow sites. This endpoint is no longer
368
+ available.</Warning>
369
+
370
+
352
371
  Delete a User by ID
353
372
 
373
+
354
374
  Required scope | `users:write`
355
375
  source:
356
376
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -362,6 +382,7 @@ service:
362
382
  type: string
363
383
  docs: Unique identifier for a User
364
384
  display-name: Delete User
385
+ availability: deprecated
365
386
  errors:
366
387
  - root.BadRequestError
367
388
  - root.UnauthorizedError
@@ -379,12 +400,18 @@ service:
379
400
  auth:
380
401
  - OAuth2:
381
402
  - users:write
382
- docs: |
383
- Update a User by ID
403
+ docs: >
404
+ <Warning>As of **January 29, 2026**, User Accounts functionality has
405
+ been disabled on all Webflow sites. This endpoint is no longer
406
+ available.</Warning>
407
+
408
+
409
+ Update a User by ID
384
410
 
385
411
  Required scope | `users:write`
386
412
 
387
413
  <Note class="notice">The <code>email</code> and <code>password</code>
414
+
388
415
  fields cannot be updated using this endpoint</Note>
389
416
  source:
390
417
  openapi: ../../../openapi/referenced-specs/v2.yml
@@ -403,6 +430,7 @@ service:
403
430
  docs: Request was successful
404
431
  type: root.User
405
432
  status-code: 200
433
+ availability: deprecated
406
434
  errors:
407
435
  - root.BadRequestError
408
436
  - root.UnauthorizedError
@@ -451,11 +479,16 @@ service:
451
479
  - OAuth2:
452
480
  - users:write
453
481
  docs: >
454
- Create and invite a user with an email address.
482
+ <Warning>As of **January 29, 2026**, User Accounts functionality has
483
+ been disabled on all Webflow sites. This endpoint is no longer
484
+ available.</Warning>
485
+
486
+
487
+ Create and invite a user with an email address.
455
488
 
456
489
 
457
490
  The user will be sent and invite via email, which they will need to
458
- accept in order to join paid any paid access group.
491
+ accept in order to join paid any paid access group.
459
492
 
460
493
 
461
494
  Required scope | `users:write`
@@ -486,6 +519,7 @@ service:
486
519
  docs: Request was successful
487
520
  type: root.User
488
521
  status-code: 200
522
+ availability: deprecated
489
523
  errors:
490
524
  - root.BadRequestError
491
525
  - root.UnauthorizedError
@@ -545,7 +579,13 @@ webhooks:
545
579
  accessGroups:
546
580
  - slug: webflowers
547
581
  type: admin
548
- docs: Information about a new user account
582
+ docs: >
583
+ <Warning>As of **January 29, 2026**, User Accounts functionality has been
584
+ disabled on all Webflow sites. This webhook is no longer
585
+ available.</Warning>
586
+
587
+
588
+ Information about a new user account
549
589
  user_account_updated:
550
590
  audiences: []
551
591
  method: POST
@@ -568,7 +608,13 @@ webhooks:
568
608
  accessGroups:
569
609
  - slug: webflowers
570
610
  type: admin
571
- docs: Information about an updated user account
611
+ docs: >
612
+ <Warning>As of **January 29, 2026**, User Accounts functionality has been
613
+ disabled on all Webflow sites. This webhook is no longer
614
+ available.</Warning>
615
+
616
+
617
+ Information about an updated user account
572
618
  user_account_deleted:
573
619
  audiences: []
574
620
  method: POST
@@ -591,4 +637,10 @@ webhooks:
591
637
  accessGroups:
592
638
  - slug: webflowers
593
639
  type: admin
594
- docs: Information about a deleted user account
640
+ docs: >
641
+ <Warning>As of **January 29, 2026**, User Accounts functionality has been
642
+ disabled on all Webflow sites. This webhook is no longer
643
+ available.</Warning>
644
+
645
+
646
+ Information about a deleted user account
@@ -117,6 +117,8 @@ service:
117
117
  url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
118
118
  workspaceId: 4f4e46fd476ea8c507000001
119
119
  siteId: 562ac0395358780a1f5e6fbd
120
+ filter:
121
+ name: My Form
120
122
  lastTriggered: '2023-02-08T23:59:28Z'
121
123
  createdOn: '2022-11-08T23:59:28Z'
122
124
  get:
@@ -153,6 +155,8 @@ service:
153
155
  url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
154
156
  workspaceId: 4f4e46fd476ea8c507000001
155
157
  siteId: 562ac0395358780a1f5e6fbd
158
+ filter:
159
+ name: My Form
156
160
  lastTriggered: '2023-02-08T23:59:28Z'
157
161
  createdOn: '2022-11-08T23:59:28Z'
158
162
  delete:
@@ -48,10 +48,10 @@ service:
48
48
  name: AuditLogsGetWorkspaceAuditLogsRequest
49
49
  query-parameters:
50
50
  limit:
51
- type: optional<double>
51
+ type: optional<integer>
52
52
  docs: 'Maximum number of records to be returned (max limit: 100)'
53
53
  offset:
54
- type: optional<double>
54
+ type: optional<integer>
55
55
  docs: >-
56
56
  Offset used for pagination if the results have more than limit
57
57
  records
@@ -81,8 +81,8 @@ service:
81
81
  - path-parameters:
82
82
  workspace_id_or_slug: hitchhikers-workspace
83
83
  query-parameters:
84
- limit: 1.1
85
- offset: 1.1
84
+ limit: 1
85
+ offset: 1
86
86
  sortOrder: asc
87
87
  eventType: user_access
88
88
  from: '2025-06-22T16:00:31Z'
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "organization" : "webflow",
3
- "version" : "0.101.3"
3
+ "version" : "0.110.1"
4
4
  }
package/Client.js CHANGED
@@ -60,8 +60,8 @@ class WebflowClient {
60
60
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "webflow-api",
63
- "X-Fern-SDK-Version": "3.2.1",
64
- "User-Agent": "webflow-api/3.2.1",
63
+ "X-Fern-SDK-Version": "3.2.2",
64
+ "User-Agent": "webflow-api/3.2.2",
65
65
  "X-Fern-Runtime": core.RUNTIME.type,
66
66
  "X-Fern-Runtime-Version": core.RUNTIME.version,
67
67
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Webflow.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -28,6 +28,8 @@ export declare class AccessGroups {
28
28
  protected readonly _options: AccessGroups.Options;
29
29
  constructor(_options?: AccessGroups.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 access groups for a site
32
34
  *
33
35
  * Required scope | `users:read`
@@ -45,8 +47,8 @@ export declare class AccessGroups {
45
47
  *
46
48
  * @example
47
49
  * await client.accessGroups.list("580e63e98c9a982ac9b8b741", {
48
- * offset: 1.1,
49
- * limit: 1.1,
50
+ * offset: 1,
51
+ * limit: 1,
50
52
  * sort: "CreatedOn"
51
53
  * })
52
54
  */