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,157 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as Webflow from "../../../../../index";
7
+ export declare namespace Forms {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ accessToken?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
15
+ }
16
+ interface RequestOptions {
17
+ /** The maximum time to wait for a response in seconds. */
18
+ timeoutInSeconds?: number;
19
+ /** The number of times to retry the request. Defaults to 2. */
20
+ maxRetries?: number;
21
+ /** A hook to abort the request. */
22
+ abortSignal?: AbortSignal;
23
+ /** Additional headers to include in the request. */
24
+ headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
25
+ }
26
+ }
27
+ export declare class Forms {
28
+ protected readonly _options: Forms.Options;
29
+ constructor(_options?: Forms.Options);
30
+ /**
31
+ * List all form submissions for a given site with the ability to filter submissions by a centralized `elementId`.
32
+ *
33
+ * Add `elementId` when you want to filter form submissions to a specific form in a site. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list) (displayed as `formElementId` in the response).
34
+ *
35
+ * <Note title="Forms in components">
36
+ * When a form is used in a Webflow component definition, each instance of the component will yield a unique form. Adding the `elementId` in this request ensures this API response includes all submissions from that core form, wherever that form is used in instantiated components.
37
+ * </Note>
38
+ *
39
+ * Use the [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) to list form submissions for a given form ID.
40
+ *
41
+ * Required scope | `forms:read`
42
+ *
43
+ * @param {string} siteId - Unique identifier for a Site
44
+ * @param {Webflow.sites.FormsListSubmissionsBySiteRequest} request
45
+ * @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
46
+ *
47
+ * @throws {@link Webflow.BadRequestError}
48
+ * @throws {@link Webflow.UnauthorizedError}
49
+ * @throws {@link Webflow.ForbiddenError}
50
+ * @throws {@link Webflow.NotFoundError}
51
+ * @throws {@link Webflow.TooManyRequestsError}
52
+ * @throws {@link Webflow.InternalServerError}
53
+ *
54
+ * @example
55
+ * await client.sites.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
56
+ * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
57
+ * offset: 1,
58
+ * limit: 1
59
+ * })
60
+ */
61
+ listSubmissionsBySite(siteId: string, request?: Webflow.sites.FormsListSubmissionsBySiteRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
62
+ private __listSubmissionsBySite;
63
+ /**
64
+ * List form submissions for a given form ID within a specific site.
65
+ *
66
+ * Use the [List Form Submissions by Site endpoint](/data/reference/forms/form-submissions/list-submissions-by-site) to list form submissions for a given site with the ability to filter by a `formElementId`.
67
+ *
68
+ * Required scope | `forms:read`
69
+ *
70
+ * @param {string} siteId - Unique identifier for a Site
71
+ * @param {string} formId - Unique identifier for a Form
72
+ * @param {Webflow.sites.FormsListSubmissionsRequest} request
73
+ * @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Webflow.BadRequestError}
76
+ * @throws {@link Webflow.UnauthorizedError}
77
+ * @throws {@link Webflow.ForbiddenError}
78
+ * @throws {@link Webflow.NotFoundError}
79
+ * @throws {@link Webflow.TooManyRequestsError}
80
+ * @throws {@link Webflow.InternalServerError}
81
+ *
82
+ * @example
83
+ * await client.sites.forms.listSubmissions("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
84
+ * offset: 1,
85
+ * limit: 1
86
+ * })
87
+ */
88
+ listSubmissions(siteId: string, formId: string, request?: Webflow.sites.FormsListSubmissionsRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
89
+ private __listSubmissions;
90
+ /**
91
+ * Get information about a form submission within a specific site.
92
+ *
93
+ * Required scope | `forms:read`
94
+ *
95
+ * @param {string} siteId - Unique identifier for a Site
96
+ * @param {string} formSubmissionId - Unique identifier for a Form Submission
97
+ * @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
98
+ *
99
+ * @throws {@link Webflow.BadRequestError}
100
+ * @throws {@link Webflow.UnauthorizedError}
101
+ * @throws {@link Webflow.ForbiddenError}
102
+ * @throws {@link Webflow.NotFoundError}
103
+ * @throws {@link Webflow.TooManyRequestsError}
104
+ * @throws {@link Webflow.InternalServerError}
105
+ *
106
+ * @example
107
+ * await client.sites.forms.getSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
108
+ */
109
+ getSubmission(siteId: string, formSubmissionId: string, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmission>;
110
+ private __getSubmission;
111
+ /**
112
+ * Delete a form submission within a specific site.
113
+ *
114
+ * Required scope | `forms:write`
115
+ *
116
+ * @param {string} siteId - Unique identifier for a Site
117
+ * @param {string} formSubmissionId - Unique identifier for a Form Submission
118
+ * @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
119
+ *
120
+ * @throws {@link Webflow.BadRequestError}
121
+ * @throws {@link Webflow.UnauthorizedError}
122
+ * @throws {@link Webflow.ForbiddenError}
123
+ * @throws {@link Webflow.NotFoundError}
124
+ * @throws {@link Webflow.ConflictError}
125
+ * @throws {@link Webflow.TooManyRequestsError}
126
+ * @throws {@link Webflow.InternalServerError}
127
+ *
128
+ * @example
129
+ * await client.sites.forms.deleteSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
130
+ */
131
+ deleteSubmission(siteId: string, formSubmissionId: string, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<void>;
132
+ private __deleteSubmission;
133
+ /**
134
+ * Update hidden fields on a form submission within a specific site.
135
+ *
136
+ * Required scope | `forms:write`
137
+ *
138
+ * @param {string} siteId - Unique identifier for a Site
139
+ * @param {string} formSubmissionId - Unique identifier for a Form Submission
140
+ * @param {Webflow.sites.FormsUpdateSubmissionRequest} request
141
+ * @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
142
+ *
143
+ * @throws {@link Webflow.BadRequestError}
144
+ * @throws {@link Webflow.UnauthorizedError}
145
+ * @throws {@link Webflow.ForbiddenError}
146
+ * @throws {@link Webflow.NotFoundError}
147
+ * @throws {@link Webflow.ConflictError}
148
+ * @throws {@link Webflow.TooManyRequestsError}
149
+ * @throws {@link Webflow.InternalServerError}
150
+ *
151
+ * @example
152
+ * await client.sites.forms.updateSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
153
+ */
154
+ updateSubmission(siteId: string, formSubmissionId: string, request?: Webflow.sites.FormsUpdateSubmissionRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmission>;
155
+ private __updateSubmission;
156
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
157
+ }